PR rtl-optimization/26087
[official-gcc.git] / libstdc++-v3 / configure
blobc0ac50f470d2697a2882d6313da6a2e3d83e0282
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.
8203 echo "$as_me:$LINENO: checking for ld version" >&5
8204 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8206 ldver=`$LD --version 2>/dev/null | head -1 | \
8207 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8209 glibcxx_gnu_ld_version=`echo $ldver | \
8210 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8211 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8212 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8214 # Set --gc-sections.
8215 glibcxx_gcsections_min_ld=21602
8216 if test x"$with_gnu_ld" = x"yes" &&
8217 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8219 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
8220 # NB: This flag only works reliably after 2.16.1. Configure tests
8221 # for this are difficult, so hard wire a value that should work.
8223 # All these tests are for C++, but run with the "C" compiler driver.
8224 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8225 ac_test_CFLAGS="${CFLAGS+set}"
8226 ac_save_CFLAGS="$CFLAGS"
8227 CFLAGS='-x c++ -Wl,--gc-sections'
8229 # Check for -Wl,--gc-sections
8230 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8231 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8232 if test x$gcc_no_link = xyes; then
8233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8235 { (exit 1); exit 1; }; }
8237 cat >conftest.$ac_ext <<_ACEOF
8238 /* confdefs.h. */
8239 _ACEOF
8240 cat confdefs.h >>conftest.$ac_ext
8241 cat >>conftest.$ac_ext <<_ACEOF
8242 /* end confdefs.h. */
8243 int one(void) { return 1; }
8244 int two(void) { return 2; }
8247 main ()
8249 two();
8251 return 0;
8253 _ACEOF
8254 rm -f conftest.$ac_objext conftest$ac_exeext
8255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8256 (eval $ac_link) 2>conftest.er1
8257 ac_status=$?
8258 grep -v '^ *+' conftest.er1 >conftest.err
8259 rm -f conftest.er1
8260 cat conftest.err >&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); } &&
8263 { ac_try='test -z "$ac_c_werror_flag"
8264 || test ! -s conftest.err'
8265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8266 (eval $ac_try) 2>&5
8267 ac_status=$?
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); }; } &&
8270 { ac_try='test -s conftest$ac_exeext'
8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272 (eval $ac_try) 2>&5
8273 ac_status=$?
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); }; }; then
8276 ac_gcsections=yes
8277 else
8278 echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.$ac_ext >&5
8281 ac_gcsections=no
8283 rm -f conftest.err conftest.$ac_objext \
8284 conftest$ac_exeext conftest.$ac_ext
8285 if test "$ac_gcsections" = "yes"; then
8286 rm -f conftest.c
8287 touch conftest.c
8288 if $CC -c conftest.c; then
8289 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8290 grep "Warning: gc-sections option ignored" > /dev/null; then
8291 ac_gcsections=no
8294 rm -f conftest.c conftest.o conftest
8296 if test "$ac_gcsections" = "yes"; then
8297 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8299 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8300 echo "${ECHO_T}$ac_gcsections" >&6
8302 if test "$ac_test_CFLAGS" = set; then
8303 CFLAGS="$ac_save_CFLAGS"
8304 else
8305 # this is the suspicious part
8306 CFLAGS=''
8310 # Set -z,relro.
8311 # Note this is only for shared objects.
8312 ac_ld_relro=no
8313 if test x"$with_gnu_ld" = x"yes"; then
8314 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8315 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8316 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8317 if test -n "$cxx_z_relo"; then
8318 OPT_LDFLAGS="-Wl,-z,relro"
8319 ac_ld_relro=yes
8321 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8322 echo "${ECHO_T}$ac_ld_relro" >&6
8325 # Set linker optimization flags.
8326 if test x"$with_gnu_ld" = x"yes"; then
8327 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8334 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8335 ac_save_CXXFLAGS="$CXXFLAGS"
8336 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8338 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8339 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8340 if test "${ac_cv_lib_m_sin+set}" = set; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 else
8343 ac_check_lib_save_LIBS=$LIBS
8344 LIBS="-lm $LIBS"
8345 if test x$gcc_no_link = xyes; then
8346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8348 { (exit 1); exit 1; }; }
8350 cat >conftest.$ac_ext <<_ACEOF
8351 /* confdefs.h. */
8352 _ACEOF
8353 cat confdefs.h >>conftest.$ac_ext
8354 cat >>conftest.$ac_ext <<_ACEOF
8355 /* end confdefs.h. */
8357 /* Override any gcc2 internal prototype to avoid an error. */
8358 #ifdef __cplusplus
8359 extern "C"
8360 #endif
8361 /* We use char because int might match the return type of a gcc2
8362 builtin and then its argument prototype would still apply. */
8363 char sin ();
8365 main ()
8367 sin ();
8369 return 0;
8371 _ACEOF
8372 rm -f conftest.$ac_objext conftest$ac_exeext
8373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8374 (eval $ac_link) 2>conftest.er1
8375 ac_status=$?
8376 grep -v '^ *+' conftest.er1 >conftest.err
8377 rm -f conftest.er1
8378 cat conftest.err >&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); } &&
8381 { ac_try='test -z "$ac_c_werror_flag"
8382 || test ! -s conftest.err'
8383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8384 (eval $ac_try) 2>&5
8385 ac_status=$?
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); }; } &&
8388 { ac_try='test -s conftest$ac_exeext'
8389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8390 (eval $ac_try) 2>&5
8391 ac_status=$?
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); }; }; then
8394 ac_cv_lib_m_sin=yes
8395 else
8396 echo "$as_me: failed program was:" >&5
8397 sed 's/^/| /' conftest.$ac_ext >&5
8399 ac_cv_lib_m_sin=no
8401 rm -f conftest.err conftest.$ac_objext \
8402 conftest$ac_exeext conftest.$ac_ext
8403 LIBS=$ac_check_lib_save_LIBS
8405 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8406 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8407 if test $ac_cv_lib_m_sin = yes; then
8408 libm="-lm"
8411 ac_save_LIBS="$LIBS"
8412 LIBS="$LIBS $libm"
8416 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8417 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8418 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8419 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8421 else
8425 ac_ext=cc
8426 ac_cpp='$CXXCPP $CPPFLAGS'
8427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8431 cat >conftest.$ac_ext <<_ACEOF
8432 /* confdefs.h. */
8433 _ACEOF
8434 cat confdefs.h >>conftest.$ac_ext
8435 cat >>conftest.$ac_ext <<_ACEOF
8436 /* end confdefs.h. */
8437 #include <math.h>
8438 #ifdef HAVE_IEEEFP_H
8439 #include <ieeefp.h>
8440 #endif
8443 main ()
8445 isinf(0);
8447 return 0;
8449 _ACEOF
8450 rm -f conftest.$ac_objext
8451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8452 (eval $ac_compile) 2>conftest.er1
8453 ac_status=$?
8454 grep -v '^ *+' conftest.er1 >conftest.err
8455 rm -f conftest.er1
8456 cat conftest.err >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); } &&
8459 { ac_try='test -z "$ac_cxx_werror_flag"
8460 || test ! -s conftest.err'
8461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8462 (eval $ac_try) 2>&5
8463 ac_status=$?
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); }; } &&
8466 { ac_try='test -s conftest.$ac_objext'
8467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8468 (eval $ac_try) 2>&5
8469 ac_status=$?
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); }; }; then
8472 glibcxx_cv_func_isinf_use=yes
8473 else
8474 echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.$ac_ext >&5
8477 glibcxx_cv_func_isinf_use=no
8479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8480 ac_ext=c
8481 ac_cpp='$CPP $CPPFLAGS'
8482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8491 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8493 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8495 for ac_func in isinf
8497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8498 echo "$as_me:$LINENO: checking for $ac_func" >&5
8499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8500 if eval "test \"\${$as_ac_var+set}\" = set"; then
8501 echo $ECHO_N "(cached) $ECHO_C" >&6
8502 else
8503 if test x$gcc_no_link = xyes; then
8504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8506 { (exit 1); exit 1; }; }
8508 cat >conftest.$ac_ext <<_ACEOF
8509 /* confdefs.h. */
8510 _ACEOF
8511 cat confdefs.h >>conftest.$ac_ext
8512 cat >>conftest.$ac_ext <<_ACEOF
8513 /* end confdefs.h. */
8514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8516 #define $ac_func innocuous_$ac_func
8518 /* System header to define __stub macros and hopefully few prototypes,
8519 which can conflict with char $ac_func (); below.
8520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8521 <limits.h> exists even on freestanding compilers. */
8523 #ifdef __STDC__
8524 # include <limits.h>
8525 #else
8526 # include <assert.h>
8527 #endif
8529 #undef $ac_func
8531 /* Override any gcc2 internal prototype to avoid an error. */
8532 #ifdef __cplusplus
8533 extern "C"
8535 #endif
8536 /* We use char because int might match the return type of a gcc2
8537 builtin and then its argument prototype would still apply. */
8538 char $ac_func ();
8539 /* The GNU C library defines this for functions which it implements
8540 to always fail with ENOSYS. Some functions are actually named
8541 something starting with __ and the normal name is an alias. */
8542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8543 choke me
8544 #else
8545 char (*f) () = $ac_func;
8546 #endif
8547 #ifdef __cplusplus
8549 #endif
8552 main ()
8554 return f != $ac_func;
8556 return 0;
8558 _ACEOF
8559 rm -f conftest.$ac_objext conftest$ac_exeext
8560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8561 (eval $ac_link) 2>conftest.er1
8562 ac_status=$?
8563 grep -v '^ *+' conftest.er1 >conftest.err
8564 rm -f conftest.er1
8565 cat conftest.err >&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); } &&
8568 { ac_try='test -z "$ac_c_werror_flag"
8569 || test ! -s conftest.err'
8570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8571 (eval $ac_try) 2>&5
8572 ac_status=$?
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); }; } &&
8575 { ac_try='test -s conftest$ac_exeext'
8576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8577 (eval $ac_try) 2>&5
8578 ac_status=$?
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 (exit $ac_status); }; }; then
8581 eval "$as_ac_var=yes"
8582 else
8583 echo "$as_me: failed program was:" >&5
8584 sed 's/^/| /' conftest.$ac_ext >&5
8586 eval "$as_ac_var=no"
8588 rm -f conftest.err conftest.$ac_objext \
8589 conftest$ac_exeext conftest.$ac_ext
8591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8593 if test `eval echo '${'$as_ac_var'}'` = yes; then
8594 cat >>confdefs.h <<_ACEOF
8595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8596 _ACEOF
8599 done
8601 else
8603 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8604 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8605 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8606 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8607 echo $ECHO_N "(cached) $ECHO_C" >&6
8608 else
8612 ac_ext=cc
8613 ac_cpp='$CXXCPP $CPPFLAGS'
8614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8618 cat >conftest.$ac_ext <<_ACEOF
8619 /* confdefs.h. */
8620 _ACEOF
8621 cat confdefs.h >>conftest.$ac_ext
8622 cat >>conftest.$ac_ext <<_ACEOF
8623 /* end confdefs.h. */
8624 #include <math.h>
8625 #ifdef HAVE_IEEEFP_H
8626 #include <ieeefp.h>
8627 #endif
8630 main ()
8632 _isinf(0);
8634 return 0;
8636 _ACEOF
8637 rm -f conftest.$ac_objext
8638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8639 (eval $ac_compile) 2>conftest.er1
8640 ac_status=$?
8641 grep -v '^ *+' conftest.er1 >conftest.err
8642 rm -f conftest.er1
8643 cat conftest.err >&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); } &&
8646 { ac_try='test -z "$ac_cxx_werror_flag"
8647 || test ! -s conftest.err'
8648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8649 (eval $ac_try) 2>&5
8650 ac_status=$?
8651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652 (exit $ac_status); }; } &&
8653 { ac_try='test -s conftest.$ac_objext'
8654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8655 (eval $ac_try) 2>&5
8656 ac_status=$?
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); }; }; then
8659 glibcxx_cv_func__isinf_use=yes
8660 else
8661 echo "$as_me: failed program was:" >&5
8662 sed 's/^/| /' conftest.$ac_ext >&5
8664 glibcxx_cv_func__isinf_use=no
8666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8667 ac_ext=c
8668 ac_cpp='$CPP $CPPFLAGS'
8669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8677 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8678 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8680 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8682 for ac_func in _isinf
8684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8685 echo "$as_me:$LINENO: checking for $ac_func" >&5
8686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8687 if eval "test \"\${$as_ac_var+set}\" = set"; then
8688 echo $ECHO_N "(cached) $ECHO_C" >&6
8689 else
8690 if test x$gcc_no_link = xyes; then
8691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8693 { (exit 1); exit 1; }; }
8695 cat >conftest.$ac_ext <<_ACEOF
8696 /* confdefs.h. */
8697 _ACEOF
8698 cat confdefs.h >>conftest.$ac_ext
8699 cat >>conftest.$ac_ext <<_ACEOF
8700 /* end confdefs.h. */
8701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8703 #define $ac_func innocuous_$ac_func
8705 /* System header to define __stub macros and hopefully few prototypes,
8706 which can conflict with char $ac_func (); below.
8707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8708 <limits.h> exists even on freestanding compilers. */
8710 #ifdef __STDC__
8711 # include <limits.h>
8712 #else
8713 # include <assert.h>
8714 #endif
8716 #undef $ac_func
8718 /* Override any gcc2 internal prototype to avoid an error. */
8719 #ifdef __cplusplus
8720 extern "C"
8722 #endif
8723 /* We use char because int might match the return type of a gcc2
8724 builtin and then its argument prototype would still apply. */
8725 char $ac_func ();
8726 /* The GNU C library defines this for functions which it implements
8727 to always fail with ENOSYS. Some functions are actually named
8728 something starting with __ and the normal name is an alias. */
8729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8730 choke me
8731 #else
8732 char (*f) () = $ac_func;
8733 #endif
8734 #ifdef __cplusplus
8736 #endif
8739 main ()
8741 return f != $ac_func;
8743 return 0;
8745 _ACEOF
8746 rm -f conftest.$ac_objext conftest$ac_exeext
8747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8748 (eval $ac_link) 2>conftest.er1
8749 ac_status=$?
8750 grep -v '^ *+' conftest.er1 >conftest.err
8751 rm -f conftest.er1
8752 cat conftest.err >&5
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); } &&
8755 { ac_try='test -z "$ac_c_werror_flag"
8756 || test ! -s conftest.err'
8757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8758 (eval $ac_try) 2>&5
8759 ac_status=$?
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); }; } &&
8762 { ac_try='test -s conftest$ac_exeext'
8763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8764 (eval $ac_try) 2>&5
8765 ac_status=$?
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 (exit $ac_status); }; }; then
8768 eval "$as_ac_var=yes"
8769 else
8770 echo "$as_me: failed program was:" >&5
8771 sed 's/^/| /' conftest.$ac_ext >&5
8773 eval "$as_ac_var=no"
8775 rm -f conftest.err conftest.$ac_objext \
8776 conftest$ac_exeext conftest.$ac_ext
8778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8780 if test `eval echo '${'$as_ac_var'}'` = yes; then
8781 cat >>confdefs.h <<_ACEOF
8782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8783 _ACEOF
8786 done
8796 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8797 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8798 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8799 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8800 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 else
8805 ac_ext=cc
8806 ac_cpp='$CXXCPP $CPPFLAGS'
8807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8811 cat >conftest.$ac_ext <<_ACEOF
8812 /* confdefs.h. */
8813 _ACEOF
8814 cat confdefs.h >>conftest.$ac_ext
8815 cat >>conftest.$ac_ext <<_ACEOF
8816 /* end confdefs.h. */
8817 #include <math.h>
8818 #ifdef HAVE_IEEEFP_H
8819 #include <ieeefp.h>
8820 #endif
8823 main ()
8825 isnan(0);
8827 return 0;
8829 _ACEOF
8830 rm -f conftest.$ac_objext
8831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8832 (eval $ac_compile) 2>conftest.er1
8833 ac_status=$?
8834 grep -v '^ *+' conftest.er1 >conftest.err
8835 rm -f conftest.er1
8836 cat conftest.err >&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); } &&
8839 { ac_try='test -z "$ac_cxx_werror_flag"
8840 || test ! -s conftest.err'
8841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8842 (eval $ac_try) 2>&5
8843 ac_status=$?
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); }; } &&
8846 { ac_try='test -s conftest.$ac_objext'
8847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8848 (eval $ac_try) 2>&5
8849 ac_status=$?
8850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 (exit $ac_status); }; }; then
8852 glibcxx_cv_func_isnan_use=yes
8853 else
8854 echo "$as_me: failed program was:" >&5
8855 sed 's/^/| /' conftest.$ac_ext >&5
8857 glibcxx_cv_func_isnan_use=no
8859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8860 ac_ext=c
8861 ac_cpp='$CPP $CPPFLAGS'
8862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8871 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8873 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8875 for ac_func in isnan
8877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8878 echo "$as_me:$LINENO: checking for $ac_func" >&5
8879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8880 if eval "test \"\${$as_ac_var+set}\" = set"; then
8881 echo $ECHO_N "(cached) $ECHO_C" >&6
8882 else
8883 if test x$gcc_no_link = xyes; then
8884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8886 { (exit 1); exit 1; }; }
8888 cat >conftest.$ac_ext <<_ACEOF
8889 /* confdefs.h. */
8890 _ACEOF
8891 cat confdefs.h >>conftest.$ac_ext
8892 cat >>conftest.$ac_ext <<_ACEOF
8893 /* end confdefs.h. */
8894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8896 #define $ac_func innocuous_$ac_func
8898 /* System header to define __stub macros and hopefully few prototypes,
8899 which can conflict with char $ac_func (); below.
8900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8901 <limits.h> exists even on freestanding compilers. */
8903 #ifdef __STDC__
8904 # include <limits.h>
8905 #else
8906 # include <assert.h>
8907 #endif
8909 #undef $ac_func
8911 /* Override any gcc2 internal prototype to avoid an error. */
8912 #ifdef __cplusplus
8913 extern "C"
8915 #endif
8916 /* We use char because int might match the return type of a gcc2
8917 builtin and then its argument prototype would still apply. */
8918 char $ac_func ();
8919 /* The GNU C library defines this for functions which it implements
8920 to always fail with ENOSYS. Some functions are actually named
8921 something starting with __ and the normal name is an alias. */
8922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8923 choke me
8924 #else
8925 char (*f) () = $ac_func;
8926 #endif
8927 #ifdef __cplusplus
8929 #endif
8932 main ()
8934 return f != $ac_func;
8936 return 0;
8938 _ACEOF
8939 rm -f conftest.$ac_objext conftest$ac_exeext
8940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8941 (eval $ac_link) 2>conftest.er1
8942 ac_status=$?
8943 grep -v '^ *+' conftest.er1 >conftest.err
8944 rm -f conftest.er1
8945 cat conftest.err >&5
8946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 (exit $ac_status); } &&
8948 { ac_try='test -z "$ac_c_werror_flag"
8949 || test ! -s conftest.err'
8950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8951 (eval $ac_try) 2>&5
8952 ac_status=$?
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 (exit $ac_status); }; } &&
8955 { ac_try='test -s conftest$ac_exeext'
8956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8957 (eval $ac_try) 2>&5
8958 ac_status=$?
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); }; }; then
8961 eval "$as_ac_var=yes"
8962 else
8963 echo "$as_me: failed program was:" >&5
8964 sed 's/^/| /' conftest.$ac_ext >&5
8966 eval "$as_ac_var=no"
8968 rm -f conftest.err conftest.$ac_objext \
8969 conftest$ac_exeext conftest.$ac_ext
8971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8973 if test `eval echo '${'$as_ac_var'}'` = yes; then
8974 cat >>confdefs.h <<_ACEOF
8975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8976 _ACEOF
8979 done
8981 else
8983 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8984 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8985 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8986 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8987 echo $ECHO_N "(cached) $ECHO_C" >&6
8988 else
8992 ac_ext=cc
8993 ac_cpp='$CXXCPP $CPPFLAGS'
8994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8998 cat >conftest.$ac_ext <<_ACEOF
8999 /* confdefs.h. */
9000 _ACEOF
9001 cat confdefs.h >>conftest.$ac_ext
9002 cat >>conftest.$ac_ext <<_ACEOF
9003 /* end confdefs.h. */
9004 #include <math.h>
9005 #ifdef HAVE_IEEEFP_H
9006 #include <ieeefp.h>
9007 #endif
9010 main ()
9012 _isnan(0);
9014 return 0;
9016 _ACEOF
9017 rm -f conftest.$ac_objext
9018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9019 (eval $ac_compile) 2>conftest.er1
9020 ac_status=$?
9021 grep -v '^ *+' conftest.er1 >conftest.err
9022 rm -f conftest.er1
9023 cat conftest.err >&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); } &&
9026 { ac_try='test -z "$ac_cxx_werror_flag"
9027 || test ! -s conftest.err'
9028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9029 (eval $ac_try) 2>&5
9030 ac_status=$?
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); }; } &&
9033 { ac_try='test -s conftest.$ac_objext'
9034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9035 (eval $ac_try) 2>&5
9036 ac_status=$?
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 (exit $ac_status); }; }; then
9039 glibcxx_cv_func__isnan_use=yes
9040 else
9041 echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.$ac_ext >&5
9044 glibcxx_cv_func__isnan_use=no
9046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9047 ac_ext=c
9048 ac_cpp='$CPP $CPPFLAGS'
9049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9057 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9058 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9060 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9062 for ac_func in _isnan
9064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9065 echo "$as_me:$LINENO: checking for $ac_func" >&5
9066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9067 if eval "test \"\${$as_ac_var+set}\" = set"; then
9068 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 else
9070 if test x$gcc_no_link = xyes; then
9071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9073 { (exit 1); exit 1; }; }
9075 cat >conftest.$ac_ext <<_ACEOF
9076 /* confdefs.h. */
9077 _ACEOF
9078 cat confdefs.h >>conftest.$ac_ext
9079 cat >>conftest.$ac_ext <<_ACEOF
9080 /* end confdefs.h. */
9081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9083 #define $ac_func innocuous_$ac_func
9085 /* System header to define __stub macros and hopefully few prototypes,
9086 which can conflict with char $ac_func (); below.
9087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9088 <limits.h> exists even on freestanding compilers. */
9090 #ifdef __STDC__
9091 # include <limits.h>
9092 #else
9093 # include <assert.h>
9094 #endif
9096 #undef $ac_func
9098 /* Override any gcc2 internal prototype to avoid an error. */
9099 #ifdef __cplusplus
9100 extern "C"
9102 #endif
9103 /* We use char because int might match the return type of a gcc2
9104 builtin and then its argument prototype would still apply. */
9105 char $ac_func ();
9106 /* The GNU C library defines this for functions which it implements
9107 to always fail with ENOSYS. Some functions are actually named
9108 something starting with __ and the normal name is an alias. */
9109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9110 choke me
9111 #else
9112 char (*f) () = $ac_func;
9113 #endif
9114 #ifdef __cplusplus
9116 #endif
9119 main ()
9121 return f != $ac_func;
9123 return 0;
9125 _ACEOF
9126 rm -f conftest.$ac_objext conftest$ac_exeext
9127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9128 (eval $ac_link) 2>conftest.er1
9129 ac_status=$?
9130 grep -v '^ *+' conftest.er1 >conftest.err
9131 rm -f conftest.er1
9132 cat conftest.err >&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); } &&
9135 { ac_try='test -z "$ac_c_werror_flag"
9136 || test ! -s conftest.err'
9137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138 (eval $ac_try) 2>&5
9139 ac_status=$?
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); }; } &&
9142 { ac_try='test -s conftest$ac_exeext'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9144 (eval $ac_try) 2>&5
9145 ac_status=$?
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; }; then
9148 eval "$as_ac_var=yes"
9149 else
9150 echo "$as_me: failed program was:" >&5
9151 sed 's/^/| /' conftest.$ac_ext >&5
9153 eval "$as_ac_var=no"
9155 rm -f conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9160 if test `eval echo '${'$as_ac_var'}'` = yes; then
9161 cat >>confdefs.h <<_ACEOF
9162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9163 _ACEOF
9166 done
9176 echo "$as_me:$LINENO: checking for finite declaration" >&5
9177 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9178 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9179 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 else
9185 ac_ext=cc
9186 ac_cpp='$CXXCPP $CPPFLAGS'
9187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9191 cat >conftest.$ac_ext <<_ACEOF
9192 /* confdefs.h. */
9193 _ACEOF
9194 cat confdefs.h >>conftest.$ac_ext
9195 cat >>conftest.$ac_ext <<_ACEOF
9196 /* end confdefs.h. */
9197 #include <math.h>
9198 #ifdef HAVE_IEEEFP_H
9199 #include <ieeefp.h>
9200 #endif
9203 main ()
9205 finite(0);
9207 return 0;
9209 _ACEOF
9210 rm -f conftest.$ac_objext
9211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9212 (eval $ac_compile) 2>conftest.er1
9213 ac_status=$?
9214 grep -v '^ *+' conftest.er1 >conftest.err
9215 rm -f conftest.er1
9216 cat conftest.err >&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); } &&
9219 { ac_try='test -z "$ac_cxx_werror_flag"
9220 || test ! -s conftest.err'
9221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9222 (eval $ac_try) 2>&5
9223 ac_status=$?
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); }; } &&
9226 { ac_try='test -s conftest.$ac_objext'
9227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9228 (eval $ac_try) 2>&5
9229 ac_status=$?
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); }; }; then
9232 glibcxx_cv_func_finite_use=yes
9233 else
9234 echo "$as_me: failed program was:" >&5
9235 sed 's/^/| /' conftest.$ac_ext >&5
9237 glibcxx_cv_func_finite_use=no
9239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9240 ac_ext=c
9241 ac_cpp='$CPP $CPPFLAGS'
9242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9250 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9251 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9253 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9255 for ac_func in finite
9257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9258 echo "$as_me:$LINENO: checking for $ac_func" >&5
9259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9260 if eval "test \"\${$as_ac_var+set}\" = set"; then
9261 echo $ECHO_N "(cached) $ECHO_C" >&6
9262 else
9263 if test x$gcc_no_link = xyes; then
9264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9266 { (exit 1); exit 1; }; }
9268 cat >conftest.$ac_ext <<_ACEOF
9269 /* confdefs.h. */
9270 _ACEOF
9271 cat confdefs.h >>conftest.$ac_ext
9272 cat >>conftest.$ac_ext <<_ACEOF
9273 /* end confdefs.h. */
9274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9276 #define $ac_func innocuous_$ac_func
9278 /* System header to define __stub macros and hopefully few prototypes,
9279 which can conflict with char $ac_func (); below.
9280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9281 <limits.h> exists even on freestanding compilers. */
9283 #ifdef __STDC__
9284 # include <limits.h>
9285 #else
9286 # include <assert.h>
9287 #endif
9289 #undef $ac_func
9291 /* Override any gcc2 internal prototype to avoid an error. */
9292 #ifdef __cplusplus
9293 extern "C"
9295 #endif
9296 /* We use char because int might match the return type of a gcc2
9297 builtin and then its argument prototype would still apply. */
9298 char $ac_func ();
9299 /* The GNU C library defines this for functions which it implements
9300 to always fail with ENOSYS. Some functions are actually named
9301 something starting with __ and the normal name is an alias. */
9302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9303 choke me
9304 #else
9305 char (*f) () = $ac_func;
9306 #endif
9307 #ifdef __cplusplus
9309 #endif
9312 main ()
9314 return f != $ac_func;
9316 return 0;
9318 _ACEOF
9319 rm -f conftest.$ac_objext conftest$ac_exeext
9320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9321 (eval $ac_link) 2>conftest.er1
9322 ac_status=$?
9323 grep -v '^ *+' conftest.er1 >conftest.err
9324 rm -f conftest.er1
9325 cat conftest.err >&5
9326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327 (exit $ac_status); } &&
9328 { ac_try='test -z "$ac_c_werror_flag"
9329 || test ! -s conftest.err'
9330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9331 (eval $ac_try) 2>&5
9332 ac_status=$?
9333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9334 (exit $ac_status); }; } &&
9335 { ac_try='test -s conftest$ac_exeext'
9336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9337 (eval $ac_try) 2>&5
9338 ac_status=$?
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); }; }; then
9341 eval "$as_ac_var=yes"
9342 else
9343 echo "$as_me: failed program was:" >&5
9344 sed 's/^/| /' conftest.$ac_ext >&5
9346 eval "$as_ac_var=no"
9348 rm -f conftest.err conftest.$ac_objext \
9349 conftest$ac_exeext conftest.$ac_ext
9351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9353 if test `eval echo '${'$as_ac_var'}'` = yes; then
9354 cat >>confdefs.h <<_ACEOF
9355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9356 _ACEOF
9359 done
9361 else
9363 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9364 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9365 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9366 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9367 echo $ECHO_N "(cached) $ECHO_C" >&6
9368 else
9372 ac_ext=cc
9373 ac_cpp='$CXXCPP $CPPFLAGS'
9374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9378 cat >conftest.$ac_ext <<_ACEOF
9379 /* confdefs.h. */
9380 _ACEOF
9381 cat confdefs.h >>conftest.$ac_ext
9382 cat >>conftest.$ac_ext <<_ACEOF
9383 /* end confdefs.h. */
9384 #include <math.h>
9385 #ifdef HAVE_IEEEFP_H
9386 #include <ieeefp.h>
9387 #endif
9390 main ()
9392 _finite(0);
9394 return 0;
9396 _ACEOF
9397 rm -f conftest.$ac_objext
9398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9399 (eval $ac_compile) 2>conftest.er1
9400 ac_status=$?
9401 grep -v '^ *+' conftest.er1 >conftest.err
9402 rm -f conftest.er1
9403 cat conftest.err >&5
9404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405 (exit $ac_status); } &&
9406 { ac_try='test -z "$ac_cxx_werror_flag"
9407 || test ! -s conftest.err'
9408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9409 (eval $ac_try) 2>&5
9410 ac_status=$?
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); }; } &&
9413 { ac_try='test -s conftest.$ac_objext'
9414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9415 (eval $ac_try) 2>&5
9416 ac_status=$?
9417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9418 (exit $ac_status); }; }; then
9419 glibcxx_cv_func__finite_use=yes
9420 else
9421 echo "$as_me: failed program was:" >&5
9422 sed 's/^/| /' conftest.$ac_ext >&5
9424 glibcxx_cv_func__finite_use=no
9426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9427 ac_ext=c
9428 ac_cpp='$CPP $CPPFLAGS'
9429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9437 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9438 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9440 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9442 for ac_func in _finite
9444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9445 echo "$as_me:$LINENO: checking for $ac_func" >&5
9446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9447 if eval "test \"\${$as_ac_var+set}\" = set"; then
9448 echo $ECHO_N "(cached) $ECHO_C" >&6
9449 else
9450 if test x$gcc_no_link = xyes; then
9451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9453 { (exit 1); exit 1; }; }
9455 cat >conftest.$ac_ext <<_ACEOF
9456 /* confdefs.h. */
9457 _ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9463 #define $ac_func innocuous_$ac_func
9465 /* System header to define __stub macros and hopefully few prototypes,
9466 which can conflict with char $ac_func (); below.
9467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9468 <limits.h> exists even on freestanding compilers. */
9470 #ifdef __STDC__
9471 # include <limits.h>
9472 #else
9473 # include <assert.h>
9474 #endif
9476 #undef $ac_func
9478 /* Override any gcc2 internal prototype to avoid an error. */
9479 #ifdef __cplusplus
9480 extern "C"
9482 #endif
9483 /* We use char because int might match the return type of a gcc2
9484 builtin and then its argument prototype would still apply. */
9485 char $ac_func ();
9486 /* The GNU C library defines this for functions which it implements
9487 to always fail with ENOSYS. Some functions are actually named
9488 something starting with __ and the normal name is an alias. */
9489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9490 choke me
9491 #else
9492 char (*f) () = $ac_func;
9493 #endif
9494 #ifdef __cplusplus
9496 #endif
9499 main ()
9501 return f != $ac_func;
9503 return 0;
9505 _ACEOF
9506 rm -f conftest.$ac_objext conftest$ac_exeext
9507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9508 (eval $ac_link) 2>conftest.er1
9509 ac_status=$?
9510 grep -v '^ *+' conftest.er1 >conftest.err
9511 rm -f conftest.er1
9512 cat conftest.err >&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); } &&
9515 { ac_try='test -z "$ac_c_werror_flag"
9516 || test ! -s conftest.err'
9517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9518 (eval $ac_try) 2>&5
9519 ac_status=$?
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); }; } &&
9522 { ac_try='test -s conftest$ac_exeext'
9523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9524 (eval $ac_try) 2>&5
9525 ac_status=$?
9526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527 (exit $ac_status); }; }; then
9528 eval "$as_ac_var=yes"
9529 else
9530 echo "$as_me: failed program was:" >&5
9531 sed 's/^/| /' conftest.$ac_ext >&5
9533 eval "$as_ac_var=no"
9535 rm -f conftest.err conftest.$ac_objext \
9536 conftest$ac_exeext conftest.$ac_ext
9538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9540 if test `eval echo '${'$as_ac_var'}'` = yes; then
9541 cat >>confdefs.h <<_ACEOF
9542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9543 _ACEOF
9546 done
9556 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9557 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9558 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9559 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9560 echo $ECHO_N "(cached) $ECHO_C" >&6
9561 else
9565 ac_ext=cc
9566 ac_cpp='$CXXCPP $CPPFLAGS'
9567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9571 cat >conftest.$ac_ext <<_ACEOF
9572 /* confdefs.h. */
9573 _ACEOF
9574 cat confdefs.h >>conftest.$ac_ext
9575 cat >>conftest.$ac_ext <<_ACEOF
9576 /* end confdefs.h. */
9577 #include <math.h>
9579 main ()
9581 copysign(0, 0);
9583 return 0;
9585 _ACEOF
9586 rm -f conftest.$ac_objext
9587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9588 (eval $ac_compile) 2>conftest.er1
9589 ac_status=$?
9590 grep -v '^ *+' conftest.er1 >conftest.err
9591 rm -f conftest.er1
9592 cat conftest.err >&5
9593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594 (exit $ac_status); } &&
9595 { ac_try='test -z "$ac_cxx_werror_flag"
9596 || test ! -s conftest.err'
9597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9598 (eval $ac_try) 2>&5
9599 ac_status=$?
9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601 (exit $ac_status); }; } &&
9602 { ac_try='test -s conftest.$ac_objext'
9603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9604 (eval $ac_try) 2>&5
9605 ac_status=$?
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 (exit $ac_status); }; }; then
9608 glibcxx_cv_func_copysign_use=yes
9609 else
9610 echo "$as_me: failed program was:" >&5
9611 sed 's/^/| /' conftest.$ac_ext >&5
9613 glibcxx_cv_func_copysign_use=no
9615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9616 ac_ext=c
9617 ac_cpp='$CPP $CPPFLAGS'
9618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9626 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9627 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9629 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9631 for ac_func in copysign
9633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9634 echo "$as_me:$LINENO: checking for $ac_func" >&5
9635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9636 if eval "test \"\${$as_ac_var+set}\" = set"; then
9637 echo $ECHO_N "(cached) $ECHO_C" >&6
9638 else
9639 if test x$gcc_no_link = xyes; then
9640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9642 { (exit 1); exit 1; }; }
9644 cat >conftest.$ac_ext <<_ACEOF
9645 /* confdefs.h. */
9646 _ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h. */
9650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9652 #define $ac_func innocuous_$ac_func
9654 /* System header to define __stub macros and hopefully few prototypes,
9655 which can conflict with char $ac_func (); below.
9656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9657 <limits.h> exists even on freestanding compilers. */
9659 #ifdef __STDC__
9660 # include <limits.h>
9661 #else
9662 # include <assert.h>
9663 #endif
9665 #undef $ac_func
9667 /* Override any gcc2 internal prototype to avoid an error. */
9668 #ifdef __cplusplus
9669 extern "C"
9671 #endif
9672 /* We use char because int might match the return type of a gcc2
9673 builtin and then its argument prototype would still apply. */
9674 char $ac_func ();
9675 /* The GNU C library defines this for functions which it implements
9676 to always fail with ENOSYS. Some functions are actually named
9677 something starting with __ and the normal name is an alias. */
9678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9679 choke me
9680 #else
9681 char (*f) () = $ac_func;
9682 #endif
9683 #ifdef __cplusplus
9685 #endif
9688 main ()
9690 return f != $ac_func;
9692 return 0;
9694 _ACEOF
9695 rm -f conftest.$ac_objext conftest$ac_exeext
9696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9697 (eval $ac_link) 2>conftest.er1
9698 ac_status=$?
9699 grep -v '^ *+' conftest.er1 >conftest.err
9700 rm -f conftest.er1
9701 cat conftest.err >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); } &&
9704 { ac_try='test -z "$ac_c_werror_flag"
9705 || test ! -s conftest.err'
9706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9707 (eval $ac_try) 2>&5
9708 ac_status=$?
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); }; } &&
9711 { ac_try='test -s conftest$ac_exeext'
9712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9713 (eval $ac_try) 2>&5
9714 ac_status=$?
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); }; }; then
9717 eval "$as_ac_var=yes"
9718 else
9719 echo "$as_me: failed program was:" >&5
9720 sed 's/^/| /' conftest.$ac_ext >&5
9722 eval "$as_ac_var=no"
9724 rm -f conftest.err conftest.$ac_objext \
9725 conftest$ac_exeext conftest.$ac_ext
9727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9729 if test `eval echo '${'$as_ac_var'}'` = yes; then
9730 cat >>confdefs.h <<_ACEOF
9731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9732 _ACEOF
9735 done
9737 else
9739 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9740 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9741 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9742 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 else
9748 ac_ext=cc
9749 ac_cpp='$CXXCPP $CPPFLAGS'
9750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9754 cat >conftest.$ac_ext <<_ACEOF
9755 /* confdefs.h. */
9756 _ACEOF
9757 cat confdefs.h >>conftest.$ac_ext
9758 cat >>conftest.$ac_ext <<_ACEOF
9759 /* end confdefs.h. */
9760 #include <math.h>
9762 main ()
9764 _copysign(0, 0);
9766 return 0;
9768 _ACEOF
9769 rm -f conftest.$ac_objext
9770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9771 (eval $ac_compile) 2>conftest.er1
9772 ac_status=$?
9773 grep -v '^ *+' conftest.er1 >conftest.err
9774 rm -f conftest.er1
9775 cat conftest.err >&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); } &&
9778 { ac_try='test -z "$ac_cxx_werror_flag"
9779 || test ! -s conftest.err'
9780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9781 (eval $ac_try) 2>&5
9782 ac_status=$?
9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); }; } &&
9785 { ac_try='test -s conftest.$ac_objext'
9786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9787 (eval $ac_try) 2>&5
9788 ac_status=$?
9789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790 (exit $ac_status); }; }; then
9791 glibcxx_cv_func__copysign_use=yes
9792 else
9793 echo "$as_me: failed program was:" >&5
9794 sed 's/^/| /' conftest.$ac_ext >&5
9796 glibcxx_cv_func__copysign_use=no
9798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9799 ac_ext=c
9800 ac_cpp='$CPP $CPPFLAGS'
9801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9809 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9810 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9812 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9814 for ac_func in _copysign
9816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9817 echo "$as_me:$LINENO: checking for $ac_func" >&5
9818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9819 if eval "test \"\${$as_ac_var+set}\" = set"; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9821 else
9822 if test x$gcc_no_link = xyes; then
9823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9825 { (exit 1); exit 1; }; }
9827 cat >conftest.$ac_ext <<_ACEOF
9828 /* confdefs.h. */
9829 _ACEOF
9830 cat confdefs.h >>conftest.$ac_ext
9831 cat >>conftest.$ac_ext <<_ACEOF
9832 /* end confdefs.h. */
9833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9835 #define $ac_func innocuous_$ac_func
9837 /* System header to define __stub macros and hopefully few prototypes,
9838 which can conflict with char $ac_func (); below.
9839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9840 <limits.h> exists even on freestanding compilers. */
9842 #ifdef __STDC__
9843 # include <limits.h>
9844 #else
9845 # include <assert.h>
9846 #endif
9848 #undef $ac_func
9850 /* Override any gcc2 internal prototype to avoid an error. */
9851 #ifdef __cplusplus
9852 extern "C"
9854 #endif
9855 /* We use char because int might match the return type of a gcc2
9856 builtin and then its argument prototype would still apply. */
9857 char $ac_func ();
9858 /* The GNU C library defines this for functions which it implements
9859 to always fail with ENOSYS. Some functions are actually named
9860 something starting with __ and the normal name is an alias. */
9861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9862 choke me
9863 #else
9864 char (*f) () = $ac_func;
9865 #endif
9866 #ifdef __cplusplus
9868 #endif
9871 main ()
9873 return f != $ac_func;
9875 return 0;
9877 _ACEOF
9878 rm -f conftest.$ac_objext conftest$ac_exeext
9879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9880 (eval $ac_link) 2>conftest.er1
9881 ac_status=$?
9882 grep -v '^ *+' conftest.er1 >conftest.err
9883 rm -f conftest.er1
9884 cat conftest.err >&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); } &&
9887 { ac_try='test -z "$ac_c_werror_flag"
9888 || test ! -s conftest.err'
9889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9890 (eval $ac_try) 2>&5
9891 ac_status=$?
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); }; } &&
9894 { ac_try='test -s conftest$ac_exeext'
9895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9896 (eval $ac_try) 2>&5
9897 ac_status=$?
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); }; }; then
9900 eval "$as_ac_var=yes"
9901 else
9902 echo "$as_me: failed program was:" >&5
9903 sed 's/^/| /' conftest.$ac_ext >&5
9905 eval "$as_ac_var=no"
9907 rm -f conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9912 if test `eval echo '${'$as_ac_var'}'` = yes; then
9913 cat >>confdefs.h <<_ACEOF
9914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9915 _ACEOF
9918 done
9928 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9929 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9930 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9931 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9932 echo $ECHO_N "(cached) $ECHO_C" >&6
9933 else
9937 ac_ext=cc
9938 ac_cpp='$CXXCPP $CPPFLAGS'
9939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9943 cat >conftest.$ac_ext <<_ACEOF
9944 /* confdefs.h. */
9945 _ACEOF
9946 cat confdefs.h >>conftest.$ac_ext
9947 cat >>conftest.$ac_ext <<_ACEOF
9948 /* end confdefs.h. */
9949 #include <math.h>
9951 main ()
9953 sincos(0, 0, 0);
9955 return 0;
9957 _ACEOF
9958 rm -f conftest.$ac_objext
9959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9960 (eval $ac_compile) 2>conftest.er1
9961 ac_status=$?
9962 grep -v '^ *+' conftest.er1 >conftest.err
9963 rm -f conftest.er1
9964 cat conftest.err >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); } &&
9967 { ac_try='test -z "$ac_cxx_werror_flag"
9968 || test ! -s conftest.err'
9969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9970 (eval $ac_try) 2>&5
9971 ac_status=$?
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); }; } &&
9974 { ac_try='test -s conftest.$ac_objext'
9975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976 (eval $ac_try) 2>&5
9977 ac_status=$?
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); }; }; then
9980 glibcxx_cv_func_sincos_use=yes
9981 else
9982 echo "$as_me: failed program was:" >&5
9983 sed 's/^/| /' conftest.$ac_ext >&5
9985 glibcxx_cv_func_sincos_use=no
9987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9988 ac_ext=c
9989 ac_cpp='$CPP $CPPFLAGS'
9990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9998 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9999 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10001 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10003 for ac_func in sincos
10005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10006 echo "$as_me:$LINENO: checking for $ac_func" >&5
10007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10008 if eval "test \"\${$as_ac_var+set}\" = set"; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 else
10011 if test x$gcc_no_link = xyes; then
10012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10014 { (exit 1); exit 1; }; }
10016 cat >conftest.$ac_ext <<_ACEOF
10017 /* confdefs.h. */
10018 _ACEOF
10019 cat confdefs.h >>conftest.$ac_ext
10020 cat >>conftest.$ac_ext <<_ACEOF
10021 /* end confdefs.h. */
10022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10024 #define $ac_func innocuous_$ac_func
10026 /* System header to define __stub macros and hopefully few prototypes,
10027 which can conflict with char $ac_func (); below.
10028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10029 <limits.h> exists even on freestanding compilers. */
10031 #ifdef __STDC__
10032 # include <limits.h>
10033 #else
10034 # include <assert.h>
10035 #endif
10037 #undef $ac_func
10039 /* Override any gcc2 internal prototype to avoid an error. */
10040 #ifdef __cplusplus
10041 extern "C"
10043 #endif
10044 /* We use char because int might match the return type of a gcc2
10045 builtin and then its argument prototype would still apply. */
10046 char $ac_func ();
10047 /* The GNU C library defines this for functions which it implements
10048 to always fail with ENOSYS. Some functions are actually named
10049 something starting with __ and the normal name is an alias. */
10050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10051 choke me
10052 #else
10053 char (*f) () = $ac_func;
10054 #endif
10055 #ifdef __cplusplus
10057 #endif
10060 main ()
10062 return f != $ac_func;
10064 return 0;
10066 _ACEOF
10067 rm -f conftest.$ac_objext conftest$ac_exeext
10068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10069 (eval $ac_link) 2>conftest.er1
10070 ac_status=$?
10071 grep -v '^ *+' conftest.er1 >conftest.err
10072 rm -f conftest.er1
10073 cat conftest.err >&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } &&
10076 { ac_try='test -z "$ac_c_werror_flag"
10077 || test ! -s conftest.err'
10078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10079 (eval $ac_try) 2>&5
10080 ac_status=$?
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); }; } &&
10083 { ac_try='test -s conftest$ac_exeext'
10084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085 (eval $ac_try) 2>&5
10086 ac_status=$?
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); }; }; then
10089 eval "$as_ac_var=yes"
10090 else
10091 echo "$as_me: failed program was:" >&5
10092 sed 's/^/| /' conftest.$ac_ext >&5
10094 eval "$as_ac_var=no"
10096 rm -f conftest.err conftest.$ac_objext \
10097 conftest$ac_exeext conftest.$ac_ext
10099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10101 if test `eval echo '${'$as_ac_var'}'` = yes; then
10102 cat >>confdefs.h <<_ACEOF
10103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10104 _ACEOF
10107 done
10109 else
10111 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10112 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10113 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10114 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10115 echo $ECHO_N "(cached) $ECHO_C" >&6
10116 else
10120 ac_ext=cc
10121 ac_cpp='$CXXCPP $CPPFLAGS'
10122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10126 cat >conftest.$ac_ext <<_ACEOF
10127 /* confdefs.h. */
10128 _ACEOF
10129 cat confdefs.h >>conftest.$ac_ext
10130 cat >>conftest.$ac_ext <<_ACEOF
10131 /* end confdefs.h. */
10132 #include <math.h>
10134 main ()
10136 _sincos(0, 0, 0);
10138 return 0;
10140 _ACEOF
10141 rm -f conftest.$ac_objext
10142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10143 (eval $ac_compile) 2>conftest.er1
10144 ac_status=$?
10145 grep -v '^ *+' conftest.er1 >conftest.err
10146 rm -f conftest.er1
10147 cat conftest.err >&5
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); } &&
10150 { ac_try='test -z "$ac_cxx_werror_flag"
10151 || test ! -s conftest.err'
10152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10153 (eval $ac_try) 2>&5
10154 ac_status=$?
10155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 (exit $ac_status); }; } &&
10157 { ac_try='test -s conftest.$ac_objext'
10158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10159 (eval $ac_try) 2>&5
10160 ac_status=$?
10161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10162 (exit $ac_status); }; }; then
10163 glibcxx_cv_func__sincos_use=yes
10164 else
10165 echo "$as_me: failed program was:" >&5
10166 sed 's/^/| /' conftest.$ac_ext >&5
10168 glibcxx_cv_func__sincos_use=no
10170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10171 ac_ext=c
10172 ac_cpp='$CPP $CPPFLAGS'
10173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10181 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10182 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10184 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10186 for ac_func in _sincos
10188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10189 echo "$as_me:$LINENO: checking for $ac_func" >&5
10190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10191 if eval "test \"\${$as_ac_var+set}\" = set"; then
10192 echo $ECHO_N "(cached) $ECHO_C" >&6
10193 else
10194 if test x$gcc_no_link = xyes; then
10195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10197 { (exit 1); exit 1; }; }
10199 cat >conftest.$ac_ext <<_ACEOF
10200 /* confdefs.h. */
10201 _ACEOF
10202 cat confdefs.h >>conftest.$ac_ext
10203 cat >>conftest.$ac_ext <<_ACEOF
10204 /* end confdefs.h. */
10205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10207 #define $ac_func innocuous_$ac_func
10209 /* System header to define __stub macros and hopefully few prototypes,
10210 which can conflict with char $ac_func (); below.
10211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10212 <limits.h> exists even on freestanding compilers. */
10214 #ifdef __STDC__
10215 # include <limits.h>
10216 #else
10217 # include <assert.h>
10218 #endif
10220 #undef $ac_func
10222 /* Override any gcc2 internal prototype to avoid an error. */
10223 #ifdef __cplusplus
10224 extern "C"
10226 #endif
10227 /* We use char because int might match the return type of a gcc2
10228 builtin and then its argument prototype would still apply. */
10229 char $ac_func ();
10230 /* The GNU C library defines this for functions which it implements
10231 to always fail with ENOSYS. Some functions are actually named
10232 something starting with __ and the normal name is an alias. */
10233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10234 choke me
10235 #else
10236 char (*f) () = $ac_func;
10237 #endif
10238 #ifdef __cplusplus
10240 #endif
10243 main ()
10245 return f != $ac_func;
10247 return 0;
10249 _ACEOF
10250 rm -f conftest.$ac_objext conftest$ac_exeext
10251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10252 (eval $ac_link) 2>conftest.er1
10253 ac_status=$?
10254 grep -v '^ *+' conftest.er1 >conftest.err
10255 rm -f conftest.er1
10256 cat conftest.err >&5
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); } &&
10259 { ac_try='test -z "$ac_c_werror_flag"
10260 || test ! -s conftest.err'
10261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10262 (eval $ac_try) 2>&5
10263 ac_status=$?
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); }; } &&
10266 { ac_try='test -s conftest$ac_exeext'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10269 ac_status=$?
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; }; then
10272 eval "$as_ac_var=yes"
10273 else
10274 echo "$as_me: failed program was:" >&5
10275 sed 's/^/| /' conftest.$ac_ext >&5
10277 eval "$as_ac_var=no"
10279 rm -f conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10284 if test `eval echo '${'$as_ac_var'}'` = yes; then
10285 cat >>confdefs.h <<_ACEOF
10286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10287 _ACEOF
10290 done
10300 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10301 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10302 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10303 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 else
10309 ac_ext=cc
10310 ac_cpp='$CXXCPP $CPPFLAGS'
10311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10315 cat >conftest.$ac_ext <<_ACEOF
10316 /* confdefs.h. */
10317 _ACEOF
10318 cat confdefs.h >>conftest.$ac_ext
10319 cat >>conftest.$ac_ext <<_ACEOF
10320 /* end confdefs.h. */
10321 #include <math.h>
10322 #ifdef HAVE_IEEEFP_H
10323 #include <ieeefp.h>
10324 #endif
10327 main ()
10329 fpclass(0);
10331 return 0;
10333 _ACEOF
10334 rm -f conftest.$ac_objext
10335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10336 (eval $ac_compile) 2>conftest.er1
10337 ac_status=$?
10338 grep -v '^ *+' conftest.er1 >conftest.err
10339 rm -f conftest.er1
10340 cat conftest.err >&5
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); } &&
10343 { ac_try='test -z "$ac_cxx_werror_flag"
10344 || test ! -s conftest.err'
10345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10346 (eval $ac_try) 2>&5
10347 ac_status=$?
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); }; } &&
10350 { ac_try='test -s conftest.$ac_objext'
10351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10352 (eval $ac_try) 2>&5
10353 ac_status=$?
10354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); }; }; then
10356 glibcxx_cv_func_fpclass_use=yes
10357 else
10358 echo "$as_me: failed program was:" >&5
10359 sed 's/^/| /' conftest.$ac_ext >&5
10361 glibcxx_cv_func_fpclass_use=no
10363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10364 ac_ext=c
10365 ac_cpp='$CPP $CPPFLAGS'
10366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10375 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10377 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10379 for ac_func in fpclass
10381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10382 echo "$as_me:$LINENO: checking for $ac_func" >&5
10383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10384 if eval "test \"\${$as_ac_var+set}\" = set"; then
10385 echo $ECHO_N "(cached) $ECHO_C" >&6
10386 else
10387 if test x$gcc_no_link = xyes; then
10388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10390 { (exit 1); exit 1; }; }
10392 cat >conftest.$ac_ext <<_ACEOF
10393 /* confdefs.h. */
10394 _ACEOF
10395 cat confdefs.h >>conftest.$ac_ext
10396 cat >>conftest.$ac_ext <<_ACEOF
10397 /* end confdefs.h. */
10398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10400 #define $ac_func innocuous_$ac_func
10402 /* System header to define __stub macros and hopefully few prototypes,
10403 which can conflict with char $ac_func (); below.
10404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10405 <limits.h> exists even on freestanding compilers. */
10407 #ifdef __STDC__
10408 # include <limits.h>
10409 #else
10410 # include <assert.h>
10411 #endif
10413 #undef $ac_func
10415 /* Override any gcc2 internal prototype to avoid an error. */
10416 #ifdef __cplusplus
10417 extern "C"
10419 #endif
10420 /* We use char because int might match the return type of a gcc2
10421 builtin and then its argument prototype would still apply. */
10422 char $ac_func ();
10423 /* The GNU C library defines this for functions which it implements
10424 to always fail with ENOSYS. Some functions are actually named
10425 something starting with __ and the normal name is an alias. */
10426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10427 choke me
10428 #else
10429 char (*f) () = $ac_func;
10430 #endif
10431 #ifdef __cplusplus
10433 #endif
10436 main ()
10438 return f != $ac_func;
10440 return 0;
10442 _ACEOF
10443 rm -f conftest.$ac_objext conftest$ac_exeext
10444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10445 (eval $ac_link) 2>conftest.er1
10446 ac_status=$?
10447 grep -v '^ *+' conftest.er1 >conftest.err
10448 rm -f conftest.er1
10449 cat conftest.err >&5
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); } &&
10452 { ac_try='test -z "$ac_c_werror_flag"
10453 || test ! -s conftest.err'
10454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10455 (eval $ac_try) 2>&5
10456 ac_status=$?
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); }; } &&
10459 { ac_try='test -s conftest$ac_exeext'
10460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10461 (eval $ac_try) 2>&5
10462 ac_status=$?
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); }; }; then
10465 eval "$as_ac_var=yes"
10466 else
10467 echo "$as_me: failed program was:" >&5
10468 sed 's/^/| /' conftest.$ac_ext >&5
10470 eval "$as_ac_var=no"
10472 rm -f conftest.err conftest.$ac_objext \
10473 conftest$ac_exeext conftest.$ac_ext
10475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10477 if test `eval echo '${'$as_ac_var'}'` = yes; then
10478 cat >>confdefs.h <<_ACEOF
10479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10480 _ACEOF
10483 done
10485 else
10487 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10488 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10489 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10490 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10491 echo $ECHO_N "(cached) $ECHO_C" >&6
10492 else
10496 ac_ext=cc
10497 ac_cpp='$CXXCPP $CPPFLAGS'
10498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10502 cat >conftest.$ac_ext <<_ACEOF
10503 /* confdefs.h. */
10504 _ACEOF
10505 cat confdefs.h >>conftest.$ac_ext
10506 cat >>conftest.$ac_ext <<_ACEOF
10507 /* end confdefs.h. */
10508 #include <math.h>
10509 #ifdef HAVE_IEEEFP_H
10510 #include <ieeefp.h>
10511 #endif
10514 main ()
10516 _fpclass(0);
10518 return 0;
10520 _ACEOF
10521 rm -f conftest.$ac_objext
10522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10523 (eval $ac_compile) 2>conftest.er1
10524 ac_status=$?
10525 grep -v '^ *+' conftest.er1 >conftest.err
10526 rm -f conftest.er1
10527 cat conftest.err >&5
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); } &&
10530 { ac_try='test -z "$ac_cxx_werror_flag"
10531 || test ! -s conftest.err'
10532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10533 (eval $ac_try) 2>&5
10534 ac_status=$?
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); }; } &&
10537 { ac_try='test -s conftest.$ac_objext'
10538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539 (eval $ac_try) 2>&5
10540 ac_status=$?
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); }; }; then
10543 glibcxx_cv_func__fpclass_use=yes
10544 else
10545 echo "$as_me: failed program was:" >&5
10546 sed 's/^/| /' conftest.$ac_ext >&5
10548 glibcxx_cv_func__fpclass_use=no
10550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10551 ac_ext=c
10552 ac_cpp='$CPP $CPPFLAGS'
10553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10561 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10562 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10564 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10566 for ac_func in _fpclass
10568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10569 echo "$as_me:$LINENO: checking for $ac_func" >&5
10570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10571 if eval "test \"\${$as_ac_var+set}\" = set"; then
10572 echo $ECHO_N "(cached) $ECHO_C" >&6
10573 else
10574 if test x$gcc_no_link = xyes; then
10575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10577 { (exit 1); exit 1; }; }
10579 cat >conftest.$ac_ext <<_ACEOF
10580 /* confdefs.h. */
10581 _ACEOF
10582 cat confdefs.h >>conftest.$ac_ext
10583 cat >>conftest.$ac_ext <<_ACEOF
10584 /* end confdefs.h. */
10585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10587 #define $ac_func innocuous_$ac_func
10589 /* System header to define __stub macros and hopefully few prototypes,
10590 which can conflict with char $ac_func (); below.
10591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10592 <limits.h> exists even on freestanding compilers. */
10594 #ifdef __STDC__
10595 # include <limits.h>
10596 #else
10597 # include <assert.h>
10598 #endif
10600 #undef $ac_func
10602 /* Override any gcc2 internal prototype to avoid an error. */
10603 #ifdef __cplusplus
10604 extern "C"
10606 #endif
10607 /* We use char because int might match the return type of a gcc2
10608 builtin and then its argument prototype would still apply. */
10609 char $ac_func ();
10610 /* The GNU C library defines this for functions which it implements
10611 to always fail with ENOSYS. Some functions are actually named
10612 something starting with __ and the normal name is an alias. */
10613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10614 choke me
10615 #else
10616 char (*f) () = $ac_func;
10617 #endif
10618 #ifdef __cplusplus
10620 #endif
10623 main ()
10625 return f != $ac_func;
10627 return 0;
10629 _ACEOF
10630 rm -f conftest.$ac_objext conftest$ac_exeext
10631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10632 (eval $ac_link) 2>conftest.er1
10633 ac_status=$?
10634 grep -v '^ *+' conftest.er1 >conftest.err
10635 rm -f conftest.er1
10636 cat conftest.err >&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } &&
10639 { ac_try='test -z "$ac_c_werror_flag"
10640 || test ! -s conftest.err'
10641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10642 (eval $ac_try) 2>&5
10643 ac_status=$?
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); }; } &&
10646 { ac_try='test -s conftest$ac_exeext'
10647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10648 (eval $ac_try) 2>&5
10649 ac_status=$?
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); }; }; then
10652 eval "$as_ac_var=yes"
10653 else
10654 echo "$as_me: failed program was:" >&5
10655 sed 's/^/| /' conftest.$ac_ext >&5
10657 eval "$as_ac_var=no"
10659 rm -f conftest.err conftest.$ac_objext \
10660 conftest$ac_exeext conftest.$ac_ext
10662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10664 if test `eval echo '${'$as_ac_var'}'` = yes; then
10665 cat >>confdefs.h <<_ACEOF
10666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10667 _ACEOF
10670 done
10680 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10681 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10682 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10683 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10684 echo $ECHO_N "(cached) $ECHO_C" >&6
10685 else
10689 ac_ext=cc
10690 ac_cpp='$CXXCPP $CPPFLAGS'
10691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10695 cat >conftest.$ac_ext <<_ACEOF
10696 /* confdefs.h. */
10697 _ACEOF
10698 cat confdefs.h >>conftest.$ac_ext
10699 cat >>conftest.$ac_ext <<_ACEOF
10700 /* end confdefs.h. */
10701 #include <math.h>
10702 #ifdef HAVE_IEEEFP_H
10703 #include <ieeefp.h>
10704 #endif
10707 main ()
10709 qfpclass(0);
10711 return 0;
10713 _ACEOF
10714 rm -f conftest.$ac_objext
10715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10716 (eval $ac_compile) 2>conftest.er1
10717 ac_status=$?
10718 grep -v '^ *+' conftest.er1 >conftest.err
10719 rm -f conftest.er1
10720 cat conftest.err >&5
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); } &&
10723 { ac_try='test -z "$ac_cxx_werror_flag"
10724 || test ! -s conftest.err'
10725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10726 (eval $ac_try) 2>&5
10727 ac_status=$?
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729 (exit $ac_status); }; } &&
10730 { ac_try='test -s conftest.$ac_objext'
10731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10732 (eval $ac_try) 2>&5
10733 ac_status=$?
10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735 (exit $ac_status); }; }; then
10736 glibcxx_cv_func_qfpclass_use=yes
10737 else
10738 echo "$as_me: failed program was:" >&5
10739 sed 's/^/| /' conftest.$ac_ext >&5
10741 glibcxx_cv_func_qfpclass_use=no
10743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10744 ac_ext=c
10745 ac_cpp='$CPP $CPPFLAGS'
10746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10755 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10757 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10759 for ac_func in qfpclass
10761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10762 echo "$as_me:$LINENO: checking for $ac_func" >&5
10763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10764 if eval "test \"\${$as_ac_var+set}\" = set"; then
10765 echo $ECHO_N "(cached) $ECHO_C" >&6
10766 else
10767 if test x$gcc_no_link = xyes; then
10768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10770 { (exit 1); exit 1; }; }
10772 cat >conftest.$ac_ext <<_ACEOF
10773 /* confdefs.h. */
10774 _ACEOF
10775 cat confdefs.h >>conftest.$ac_ext
10776 cat >>conftest.$ac_ext <<_ACEOF
10777 /* end confdefs.h. */
10778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10780 #define $ac_func innocuous_$ac_func
10782 /* System header to define __stub macros and hopefully few prototypes,
10783 which can conflict with char $ac_func (); below.
10784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10785 <limits.h> exists even on freestanding compilers. */
10787 #ifdef __STDC__
10788 # include <limits.h>
10789 #else
10790 # include <assert.h>
10791 #endif
10793 #undef $ac_func
10795 /* Override any gcc2 internal prototype to avoid an error. */
10796 #ifdef __cplusplus
10797 extern "C"
10799 #endif
10800 /* We use char because int might match the return type of a gcc2
10801 builtin and then its argument prototype would still apply. */
10802 char $ac_func ();
10803 /* The GNU C library defines this for functions which it implements
10804 to always fail with ENOSYS. Some functions are actually named
10805 something starting with __ and the normal name is an alias. */
10806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10807 choke me
10808 #else
10809 char (*f) () = $ac_func;
10810 #endif
10811 #ifdef __cplusplus
10813 #endif
10816 main ()
10818 return f != $ac_func;
10820 return 0;
10822 _ACEOF
10823 rm -f conftest.$ac_objext conftest$ac_exeext
10824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10825 (eval $ac_link) 2>conftest.er1
10826 ac_status=$?
10827 grep -v '^ *+' conftest.er1 >conftest.err
10828 rm -f conftest.er1
10829 cat conftest.err >&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); } &&
10832 { ac_try='test -z "$ac_c_werror_flag"
10833 || test ! -s conftest.err'
10834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10835 (eval $ac_try) 2>&5
10836 ac_status=$?
10837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10838 (exit $ac_status); }; } &&
10839 { ac_try='test -s conftest$ac_exeext'
10840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10841 (eval $ac_try) 2>&5
10842 ac_status=$?
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); }; }; then
10845 eval "$as_ac_var=yes"
10846 else
10847 echo "$as_me: failed program was:" >&5
10848 sed 's/^/| /' conftest.$ac_ext >&5
10850 eval "$as_ac_var=no"
10852 rm -f conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10857 if test `eval echo '${'$as_ac_var'}'` = yes; then
10858 cat >>confdefs.h <<_ACEOF
10859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10860 _ACEOF
10863 done
10865 else
10867 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10868 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10869 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10870 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 else
10876 ac_ext=cc
10877 ac_cpp='$CXXCPP $CPPFLAGS'
10878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10882 cat >conftest.$ac_ext <<_ACEOF
10883 /* confdefs.h. */
10884 _ACEOF
10885 cat confdefs.h >>conftest.$ac_ext
10886 cat >>conftest.$ac_ext <<_ACEOF
10887 /* end confdefs.h. */
10888 #include <math.h>
10889 #ifdef HAVE_IEEEFP_H
10890 #include <ieeefp.h>
10891 #endif
10894 main ()
10896 _qfpclass(0);
10898 return 0;
10900 _ACEOF
10901 rm -f conftest.$ac_objext
10902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10903 (eval $ac_compile) 2>conftest.er1
10904 ac_status=$?
10905 grep -v '^ *+' conftest.er1 >conftest.err
10906 rm -f conftest.er1
10907 cat conftest.err >&5
10908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10909 (exit $ac_status); } &&
10910 { ac_try='test -z "$ac_cxx_werror_flag"
10911 || test ! -s conftest.err'
10912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10913 (eval $ac_try) 2>&5
10914 ac_status=$?
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); }; } &&
10917 { ac_try='test -s conftest.$ac_objext'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5
10920 ac_status=$?
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; }; then
10923 glibcxx_cv_func__qfpclass_use=yes
10924 else
10925 echo "$as_me: failed program was:" >&5
10926 sed 's/^/| /' conftest.$ac_ext >&5
10928 glibcxx_cv_func__qfpclass_use=no
10930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10931 ac_ext=c
10932 ac_cpp='$CPP $CPPFLAGS'
10933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10941 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10942 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10944 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10946 for ac_func in _qfpclass
10948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10949 echo "$as_me:$LINENO: checking for $ac_func" >&5
10950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10951 if eval "test \"\${$as_ac_var+set}\" = set"; then
10952 echo $ECHO_N "(cached) $ECHO_C" >&6
10953 else
10954 if test x$gcc_no_link = xyes; then
10955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10957 { (exit 1); exit 1; }; }
10959 cat >conftest.$ac_ext <<_ACEOF
10960 /* confdefs.h. */
10961 _ACEOF
10962 cat confdefs.h >>conftest.$ac_ext
10963 cat >>conftest.$ac_ext <<_ACEOF
10964 /* end confdefs.h. */
10965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10967 #define $ac_func innocuous_$ac_func
10969 /* System header to define __stub macros and hopefully few prototypes,
10970 which can conflict with char $ac_func (); below.
10971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10972 <limits.h> exists even on freestanding compilers. */
10974 #ifdef __STDC__
10975 # include <limits.h>
10976 #else
10977 # include <assert.h>
10978 #endif
10980 #undef $ac_func
10982 /* Override any gcc2 internal prototype to avoid an error. */
10983 #ifdef __cplusplus
10984 extern "C"
10986 #endif
10987 /* We use char because int might match the return type of a gcc2
10988 builtin and then its argument prototype would still apply. */
10989 char $ac_func ();
10990 /* The GNU C library defines this for functions which it implements
10991 to always fail with ENOSYS. Some functions are actually named
10992 something starting with __ and the normal name is an alias. */
10993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10994 choke me
10995 #else
10996 char (*f) () = $ac_func;
10997 #endif
10998 #ifdef __cplusplus
11000 #endif
11003 main ()
11005 return f != $ac_func;
11007 return 0;
11009 _ACEOF
11010 rm -f conftest.$ac_objext conftest$ac_exeext
11011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11012 (eval $ac_link) 2>conftest.er1
11013 ac_status=$?
11014 grep -v '^ *+' conftest.er1 >conftest.err
11015 rm -f conftest.er1
11016 cat conftest.err >&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); } &&
11019 { ac_try='test -z "$ac_c_werror_flag"
11020 || test ! -s conftest.err'
11021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11022 (eval $ac_try) 2>&5
11023 ac_status=$?
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); }; } &&
11026 { ac_try='test -s conftest$ac_exeext'
11027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11028 (eval $ac_try) 2>&5
11029 ac_status=$?
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); }; }; then
11032 eval "$as_ac_var=yes"
11033 else
11034 echo "$as_me: failed program was:" >&5
11035 sed 's/^/| /' conftest.$ac_ext >&5
11037 eval "$as_ac_var=no"
11039 rm -f conftest.err conftest.$ac_objext \
11040 conftest$ac_exeext conftest.$ac_ext
11042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11044 if test `eval echo '${'$as_ac_var'}'` = yes; then
11045 cat >>confdefs.h <<_ACEOF
11046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11047 _ACEOF
11050 done
11060 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11061 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11062 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11063 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11064 echo $ECHO_N "(cached) $ECHO_C" >&6
11065 else
11069 ac_ext=cc
11070 ac_cpp='$CXXCPP $CPPFLAGS'
11071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11075 cat >conftest.$ac_ext <<_ACEOF
11076 /* confdefs.h. */
11077 _ACEOF
11078 cat confdefs.h >>conftest.$ac_ext
11079 cat >>conftest.$ac_ext <<_ACEOF
11080 /* end confdefs.h. */
11081 #include <math.h>
11083 main ()
11085 hypot(0, 0);
11087 return 0;
11089 _ACEOF
11090 rm -f conftest.$ac_objext
11091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11092 (eval $ac_compile) 2>conftest.er1
11093 ac_status=$?
11094 grep -v '^ *+' conftest.er1 >conftest.err
11095 rm -f conftest.er1
11096 cat conftest.err >&5
11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); } &&
11099 { ac_try='test -z "$ac_cxx_werror_flag"
11100 || test ! -s conftest.err'
11101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11102 (eval $ac_try) 2>&5
11103 ac_status=$?
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; } &&
11106 { ac_try='test -s conftest.$ac_objext'
11107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11108 (eval $ac_try) 2>&5
11109 ac_status=$?
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); }; }; then
11112 glibcxx_cv_func_hypot_use=yes
11113 else
11114 echo "$as_me: failed program was:" >&5
11115 sed 's/^/| /' conftest.$ac_ext >&5
11117 glibcxx_cv_func_hypot_use=no
11119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11120 ac_ext=c
11121 ac_cpp='$CPP $CPPFLAGS'
11122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11131 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11133 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11135 for ac_func in hypot
11137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11138 echo "$as_me:$LINENO: checking for $ac_func" >&5
11139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11140 if eval "test \"\${$as_ac_var+set}\" = set"; then
11141 echo $ECHO_N "(cached) $ECHO_C" >&6
11142 else
11143 if test x$gcc_no_link = xyes; then
11144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11146 { (exit 1); exit 1; }; }
11148 cat >conftest.$ac_ext <<_ACEOF
11149 /* confdefs.h. */
11150 _ACEOF
11151 cat confdefs.h >>conftest.$ac_ext
11152 cat >>conftest.$ac_ext <<_ACEOF
11153 /* end confdefs.h. */
11154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11156 #define $ac_func innocuous_$ac_func
11158 /* System header to define __stub macros and hopefully few prototypes,
11159 which can conflict with char $ac_func (); below.
11160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11161 <limits.h> exists even on freestanding compilers. */
11163 #ifdef __STDC__
11164 # include <limits.h>
11165 #else
11166 # include <assert.h>
11167 #endif
11169 #undef $ac_func
11171 /* Override any gcc2 internal prototype to avoid an error. */
11172 #ifdef __cplusplus
11173 extern "C"
11175 #endif
11176 /* We use char because int might match the return type of a gcc2
11177 builtin and then its argument prototype would still apply. */
11178 char $ac_func ();
11179 /* The GNU C library defines this for functions which it implements
11180 to always fail with ENOSYS. Some functions are actually named
11181 something starting with __ and the normal name is an alias. */
11182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11183 choke me
11184 #else
11185 char (*f) () = $ac_func;
11186 #endif
11187 #ifdef __cplusplus
11189 #endif
11192 main ()
11194 return f != $ac_func;
11196 return 0;
11198 _ACEOF
11199 rm -f conftest.$ac_objext conftest$ac_exeext
11200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11201 (eval $ac_link) 2>conftest.er1
11202 ac_status=$?
11203 grep -v '^ *+' conftest.er1 >conftest.err
11204 rm -f conftest.er1
11205 cat conftest.err >&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } &&
11208 { ac_try='test -z "$ac_c_werror_flag"
11209 || test ! -s conftest.err'
11210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11211 (eval $ac_try) 2>&5
11212 ac_status=$?
11213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214 (exit $ac_status); }; } &&
11215 { ac_try='test -s conftest$ac_exeext'
11216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11217 (eval $ac_try) 2>&5
11218 ac_status=$?
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); }; }; then
11221 eval "$as_ac_var=yes"
11222 else
11223 echo "$as_me: failed program was:" >&5
11224 sed 's/^/| /' conftest.$ac_ext >&5
11226 eval "$as_ac_var=no"
11228 rm -f conftest.err conftest.$ac_objext \
11229 conftest$ac_exeext conftest.$ac_ext
11231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11233 if test `eval echo '${'$as_ac_var'}'` = yes; then
11234 cat >>confdefs.h <<_ACEOF
11235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11236 _ACEOF
11239 done
11241 else
11243 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11244 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11245 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11246 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11247 echo $ECHO_N "(cached) $ECHO_C" >&6
11248 else
11252 ac_ext=cc
11253 ac_cpp='$CXXCPP $CPPFLAGS'
11254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11258 cat >conftest.$ac_ext <<_ACEOF
11259 /* confdefs.h. */
11260 _ACEOF
11261 cat confdefs.h >>conftest.$ac_ext
11262 cat >>conftest.$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11264 #include <math.h>
11266 main ()
11268 _hypot(0, 0);
11270 return 0;
11272 _ACEOF
11273 rm -f conftest.$ac_objext
11274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11275 (eval $ac_compile) 2>conftest.er1
11276 ac_status=$?
11277 grep -v '^ *+' conftest.er1 >conftest.err
11278 rm -f conftest.er1
11279 cat conftest.err >&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); } &&
11282 { ac_try='test -z "$ac_cxx_werror_flag"
11283 || test ! -s conftest.err'
11284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285 (eval $ac_try) 2>&5
11286 ac_status=$?
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }; } &&
11289 { ac_try='test -s conftest.$ac_objext'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11292 ac_status=$?
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; }; then
11295 glibcxx_cv_func__hypot_use=yes
11296 else
11297 echo "$as_me: failed program was:" >&5
11298 sed 's/^/| /' conftest.$ac_ext >&5
11300 glibcxx_cv_func__hypot_use=no
11302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11303 ac_ext=c
11304 ac_cpp='$CPP $CPPFLAGS'
11305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11313 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11314 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11316 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11318 for ac_func in _hypot
11320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11321 echo "$as_me:$LINENO: checking for $ac_func" >&5
11322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11323 if eval "test \"\${$as_ac_var+set}\" = set"; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 else
11326 if test x$gcc_no_link = xyes; then
11327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11329 { (exit 1); exit 1; }; }
11331 cat >conftest.$ac_ext <<_ACEOF
11332 /* confdefs.h. */
11333 _ACEOF
11334 cat confdefs.h >>conftest.$ac_ext
11335 cat >>conftest.$ac_ext <<_ACEOF
11336 /* end confdefs.h. */
11337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11339 #define $ac_func innocuous_$ac_func
11341 /* System header to define __stub macros and hopefully few prototypes,
11342 which can conflict with char $ac_func (); below.
11343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11344 <limits.h> exists even on freestanding compilers. */
11346 #ifdef __STDC__
11347 # include <limits.h>
11348 #else
11349 # include <assert.h>
11350 #endif
11352 #undef $ac_func
11354 /* Override any gcc2 internal prototype to avoid an error. */
11355 #ifdef __cplusplus
11356 extern "C"
11358 #endif
11359 /* We use char because int might match the return type of a gcc2
11360 builtin and then its argument prototype would still apply. */
11361 char $ac_func ();
11362 /* The GNU C library defines this for functions which it implements
11363 to always fail with ENOSYS. Some functions are actually named
11364 something starting with __ and the normal name is an alias. */
11365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11366 choke me
11367 #else
11368 char (*f) () = $ac_func;
11369 #endif
11370 #ifdef __cplusplus
11372 #endif
11375 main ()
11377 return f != $ac_func;
11379 return 0;
11381 _ACEOF
11382 rm -f conftest.$ac_objext conftest$ac_exeext
11383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11384 (eval $ac_link) 2>conftest.er1
11385 ac_status=$?
11386 grep -v '^ *+' conftest.er1 >conftest.err
11387 rm -f conftest.er1
11388 cat conftest.err >&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); } &&
11391 { ac_try='test -z "$ac_c_werror_flag"
11392 || test ! -s conftest.err'
11393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11394 (eval $ac_try) 2>&5
11395 ac_status=$?
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); }; } &&
11398 { ac_try='test -s conftest$ac_exeext'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11401 ac_status=$?
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; }; then
11404 eval "$as_ac_var=yes"
11405 else
11406 echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.$ac_ext >&5
11409 eval "$as_ac_var=no"
11411 rm -f conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11416 if test `eval echo '${'$as_ac_var'}'` = yes; then
11417 cat >>confdefs.h <<_ACEOF
11418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11419 _ACEOF
11422 done
11432 echo "$as_me:$LINENO: checking for float trig functions" >&5
11433 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11434 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11435 echo $ECHO_N "(cached) $ECHO_C" >&6
11436 else
11440 ac_ext=cc
11441 ac_cpp='$CXXCPP $CPPFLAGS'
11442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11446 cat >conftest.$ac_ext <<_ACEOF
11447 /* confdefs.h. */
11448 _ACEOF
11449 cat confdefs.h >>conftest.$ac_ext
11450 cat >>conftest.$ac_ext <<_ACEOF
11451 /* end confdefs.h. */
11452 #include <math.h>
11454 main ()
11456 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11458 return 0;
11460 _ACEOF
11461 rm -f conftest.$ac_objext
11462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11463 (eval $ac_compile) 2>conftest.er1
11464 ac_status=$?
11465 grep -v '^ *+' conftest.er1 >conftest.err
11466 rm -f conftest.er1
11467 cat conftest.err >&5
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); } &&
11470 { ac_try='test -z "$ac_cxx_werror_flag"
11471 || test ! -s conftest.err'
11472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11473 (eval $ac_try) 2>&5
11474 ac_status=$?
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); }; } &&
11477 { ac_try='test -s conftest.$ac_objext'
11478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11479 (eval $ac_try) 2>&5
11480 ac_status=$?
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); }; }; then
11483 glibcxx_cv_func_float_trig_use=yes
11484 else
11485 echo "$as_me: failed program was:" >&5
11486 sed 's/^/| /' conftest.$ac_ext >&5
11488 glibcxx_cv_func_float_trig_use=no
11490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11491 ac_ext=c
11492 ac_cpp='$CPP $CPPFLAGS'
11493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11500 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11501 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11511 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11514 echo "$as_me:$LINENO: checking for $ac_func" >&5
11515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11516 if eval "test \"\${$as_ac_var+set}\" = set"; then
11517 echo $ECHO_N "(cached) $ECHO_C" >&6
11518 else
11519 if test x$gcc_no_link = xyes; then
11520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11522 { (exit 1); exit 1; }; }
11524 cat >conftest.$ac_ext <<_ACEOF
11525 /* confdefs.h. */
11526 _ACEOF
11527 cat confdefs.h >>conftest.$ac_ext
11528 cat >>conftest.$ac_ext <<_ACEOF
11529 /* end confdefs.h. */
11530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11532 #define $ac_func innocuous_$ac_func
11534 /* System header to define __stub macros and hopefully few prototypes,
11535 which can conflict with char $ac_func (); below.
11536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11537 <limits.h> exists even on freestanding compilers. */
11539 #ifdef __STDC__
11540 # include <limits.h>
11541 #else
11542 # include <assert.h>
11543 #endif
11545 #undef $ac_func
11547 /* Override any gcc2 internal prototype to avoid an error. */
11548 #ifdef __cplusplus
11549 extern "C"
11551 #endif
11552 /* We use char because int might match the return type of a gcc2
11553 builtin and then its argument prototype would still apply. */
11554 char $ac_func ();
11555 /* The GNU C library defines this for functions which it implements
11556 to always fail with ENOSYS. Some functions are actually named
11557 something starting with __ and the normal name is an alias. */
11558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11559 choke me
11560 #else
11561 char (*f) () = $ac_func;
11562 #endif
11563 #ifdef __cplusplus
11565 #endif
11568 main ()
11570 return f != $ac_func;
11572 return 0;
11574 _ACEOF
11575 rm -f conftest.$ac_objext conftest$ac_exeext
11576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11577 (eval $ac_link) 2>conftest.er1
11578 ac_status=$?
11579 grep -v '^ *+' conftest.er1 >conftest.err
11580 rm -f conftest.er1
11581 cat conftest.err >&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); } &&
11584 { ac_try='test -z "$ac_c_werror_flag"
11585 || test ! -s conftest.err'
11586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11587 (eval $ac_try) 2>&5
11588 ac_status=$?
11589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11590 (exit $ac_status); }; } &&
11591 { ac_try='test -s conftest$ac_exeext'
11592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11593 (eval $ac_try) 2>&5
11594 ac_status=$?
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; }; then
11597 eval "$as_ac_var=yes"
11598 else
11599 echo "$as_me: failed program was:" >&5
11600 sed 's/^/| /' conftest.$ac_ext >&5
11602 eval "$as_ac_var=no"
11604 rm -f conftest.err conftest.$ac_objext \
11605 conftest$ac_exeext conftest.$ac_ext
11607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11609 if test `eval echo '${'$as_ac_var'}'` = yes; then
11610 cat >>confdefs.h <<_ACEOF
11611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11612 _ACEOF
11615 done
11617 else
11618 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11619 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11620 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11621 echo $ECHO_N "(cached) $ECHO_C" >&6
11622 else
11626 ac_ext=cc
11627 ac_cpp='$CXXCPP $CPPFLAGS'
11628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11632 cat >conftest.$ac_ext <<_ACEOF
11633 /* confdefs.h. */
11634 _ACEOF
11635 cat confdefs.h >>conftest.$ac_ext
11636 cat >>conftest.$ac_ext <<_ACEOF
11637 /* end confdefs.h. */
11638 #include <math.h>
11640 main ()
11642 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11644 return 0;
11646 _ACEOF
11647 rm -f conftest.$ac_objext
11648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11649 (eval $ac_compile) 2>conftest.er1
11650 ac_status=$?
11651 grep -v '^ *+' conftest.er1 >conftest.err
11652 rm -f conftest.er1
11653 cat conftest.err >&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } &&
11656 { ac_try='test -z "$ac_cxx_werror_flag"
11657 || test ! -s conftest.err'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11660 ac_status=$?
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; } &&
11663 { ac_try='test -s conftest.$ac_objext'
11664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665 (eval $ac_try) 2>&5
11666 ac_status=$?
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); }; }; then
11669 glibcxx_cv_func__float_trig_use=yes
11670 else
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.$ac_ext >&5
11674 glibcxx_cv_func__float_trig_use=no
11676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11677 ac_ext=c
11678 ac_cpp='$CPP $CPPFLAGS'
11679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11685 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11686 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11687 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11697 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11700 echo "$as_me:$LINENO: checking for $ac_func" >&5
11701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11702 if eval "test \"\${$as_ac_var+set}\" = set"; then
11703 echo $ECHO_N "(cached) $ECHO_C" >&6
11704 else
11705 if test x$gcc_no_link = xyes; then
11706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11708 { (exit 1); exit 1; }; }
11710 cat >conftest.$ac_ext <<_ACEOF
11711 /* confdefs.h. */
11712 _ACEOF
11713 cat confdefs.h >>conftest.$ac_ext
11714 cat >>conftest.$ac_ext <<_ACEOF
11715 /* end confdefs.h. */
11716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11718 #define $ac_func innocuous_$ac_func
11720 /* System header to define __stub macros and hopefully few prototypes,
11721 which can conflict with char $ac_func (); below.
11722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11723 <limits.h> exists even on freestanding compilers. */
11725 #ifdef __STDC__
11726 # include <limits.h>
11727 #else
11728 # include <assert.h>
11729 #endif
11731 #undef $ac_func
11733 /* Override any gcc2 internal prototype to avoid an error. */
11734 #ifdef __cplusplus
11735 extern "C"
11737 #endif
11738 /* We use char because int might match the return type of a gcc2
11739 builtin and then its argument prototype would still apply. */
11740 char $ac_func ();
11741 /* The GNU C library defines this for functions which it implements
11742 to always fail with ENOSYS. Some functions are actually named
11743 something starting with __ and the normal name is an alias. */
11744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11745 choke me
11746 #else
11747 char (*f) () = $ac_func;
11748 #endif
11749 #ifdef __cplusplus
11751 #endif
11754 main ()
11756 return f != $ac_func;
11758 return 0;
11760 _ACEOF
11761 rm -f conftest.$ac_objext conftest$ac_exeext
11762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11763 (eval $ac_link) 2>conftest.er1
11764 ac_status=$?
11765 grep -v '^ *+' conftest.er1 >conftest.err
11766 rm -f conftest.er1
11767 cat conftest.err >&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } &&
11770 { ac_try='test -z "$ac_c_werror_flag"
11771 || test ! -s conftest.err'
11772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11773 (eval $ac_try) 2>&5
11774 ac_status=$?
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; } &&
11777 { ac_try='test -s conftest$ac_exeext'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11780 ac_status=$?
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; }; then
11783 eval "$as_ac_var=yes"
11784 else
11785 echo "$as_me: failed program was:" >&5
11786 sed 's/^/| /' conftest.$ac_ext >&5
11788 eval "$as_ac_var=no"
11790 rm -f conftest.err conftest.$ac_objext \
11791 conftest$ac_exeext conftest.$ac_ext
11793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11795 if test `eval echo '${'$as_ac_var'}'` = yes; then
11796 cat >>confdefs.h <<_ACEOF
11797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11798 _ACEOF
11801 done
11819 echo "$as_me:$LINENO: checking for float round functions" >&5
11820 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11821 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11823 else
11827 ac_ext=cc
11828 ac_cpp='$CXXCPP $CPPFLAGS'
11829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11833 cat >conftest.$ac_ext <<_ACEOF
11834 /* confdefs.h. */
11835 _ACEOF
11836 cat confdefs.h >>conftest.$ac_ext
11837 cat >>conftest.$ac_ext <<_ACEOF
11838 /* end confdefs.h. */
11839 #include <math.h>
11841 main ()
11843 ceilf (0); floorf (0);
11845 return 0;
11847 _ACEOF
11848 rm -f conftest.$ac_objext
11849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11850 (eval $ac_compile) 2>conftest.er1
11851 ac_status=$?
11852 grep -v '^ *+' conftest.er1 >conftest.err
11853 rm -f conftest.er1
11854 cat conftest.err >&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); } &&
11857 { ac_try='test -z "$ac_cxx_werror_flag"
11858 || test ! -s conftest.err'
11859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11860 (eval $ac_try) 2>&5
11861 ac_status=$?
11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 (exit $ac_status); }; } &&
11864 { ac_try='test -s conftest.$ac_objext'
11865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11866 (eval $ac_try) 2>&5
11867 ac_status=$?
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); }; }; then
11870 glibcxx_cv_func_float_round_use=yes
11871 else
11872 echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.$ac_ext >&5
11875 glibcxx_cv_func_float_round_use=no
11877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11878 ac_ext=c
11879 ac_cpp='$CPP $CPPFLAGS'
11880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11886 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11887 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11888 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11891 for ac_func in ceilf floorf
11893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11894 echo "$as_me:$LINENO: checking for $ac_func" >&5
11895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11896 if eval "test \"\${$as_ac_var+set}\" = set"; then
11897 echo $ECHO_N "(cached) $ECHO_C" >&6
11898 else
11899 if test x$gcc_no_link = xyes; then
11900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11902 { (exit 1); exit 1; }; }
11904 cat >conftest.$ac_ext <<_ACEOF
11905 /* confdefs.h. */
11906 _ACEOF
11907 cat confdefs.h >>conftest.$ac_ext
11908 cat >>conftest.$ac_ext <<_ACEOF
11909 /* end confdefs.h. */
11910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11912 #define $ac_func innocuous_$ac_func
11914 /* System header to define __stub macros and hopefully few prototypes,
11915 which can conflict with char $ac_func (); below.
11916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11917 <limits.h> exists even on freestanding compilers. */
11919 #ifdef __STDC__
11920 # include <limits.h>
11921 #else
11922 # include <assert.h>
11923 #endif
11925 #undef $ac_func
11927 /* Override any gcc2 internal prototype to avoid an error. */
11928 #ifdef __cplusplus
11929 extern "C"
11931 #endif
11932 /* We use char because int might match the return type of a gcc2
11933 builtin and then its argument prototype would still apply. */
11934 char $ac_func ();
11935 /* The GNU C library defines this for functions which it implements
11936 to always fail with ENOSYS. Some functions are actually named
11937 something starting with __ and the normal name is an alias. */
11938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11939 choke me
11940 #else
11941 char (*f) () = $ac_func;
11942 #endif
11943 #ifdef __cplusplus
11945 #endif
11948 main ()
11950 return f != $ac_func;
11952 return 0;
11954 _ACEOF
11955 rm -f conftest.$ac_objext conftest$ac_exeext
11956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11957 (eval $ac_link) 2>conftest.er1
11958 ac_status=$?
11959 grep -v '^ *+' conftest.er1 >conftest.err
11960 rm -f conftest.er1
11961 cat conftest.err >&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } &&
11964 { ac_try='test -z "$ac_c_werror_flag"
11965 || test ! -s conftest.err'
11966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11968 ac_status=$?
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; } &&
11971 { ac_try='test -s conftest$ac_exeext'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11974 ac_status=$?
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; }; then
11977 eval "$as_ac_var=yes"
11978 else
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.$ac_ext >&5
11982 eval "$as_ac_var=no"
11984 rm -f conftest.err conftest.$ac_objext \
11985 conftest$ac_exeext conftest.$ac_ext
11987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11989 if test `eval echo '${'$as_ac_var'}'` = yes; then
11990 cat >>confdefs.h <<_ACEOF
11991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11992 _ACEOF
11995 done
11997 else
11998 echo "$as_me:$LINENO: checking for _float round functions" >&5
11999 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12000 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12001 echo $ECHO_N "(cached) $ECHO_C" >&6
12002 else
12006 ac_ext=cc
12007 ac_cpp='$CXXCPP $CPPFLAGS'
12008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12012 cat >conftest.$ac_ext <<_ACEOF
12013 /* confdefs.h. */
12014 _ACEOF
12015 cat confdefs.h >>conftest.$ac_ext
12016 cat >>conftest.$ac_ext <<_ACEOF
12017 /* end confdefs.h. */
12018 #include <math.h>
12020 main ()
12022 _ceilf (0); _floorf (0);
12024 return 0;
12026 _ACEOF
12027 rm -f conftest.$ac_objext
12028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12029 (eval $ac_compile) 2>conftest.er1
12030 ac_status=$?
12031 grep -v '^ *+' conftest.er1 >conftest.err
12032 rm -f conftest.er1
12033 cat conftest.err >&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); } &&
12036 { ac_try='test -z "$ac_cxx_werror_flag"
12037 || test ! -s conftest.err'
12038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12039 (eval $ac_try) 2>&5
12040 ac_status=$?
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); }; } &&
12043 { ac_try='test -s conftest.$ac_objext'
12044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12045 (eval $ac_try) 2>&5
12046 ac_status=$?
12047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048 (exit $ac_status); }; }; then
12049 glibcxx_cv_func__float_round_use=yes
12050 else
12051 echo "$as_me: failed program was:" >&5
12052 sed 's/^/| /' conftest.$ac_ext >&5
12054 glibcxx_cv_func__float_round_use=no
12056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12057 ac_ext=c
12058 ac_cpp='$CPP $CPPFLAGS'
12059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12065 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12066 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12067 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12070 for ac_func in _ceilf _floorf
12072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12073 echo "$as_me:$LINENO: checking for $ac_func" >&5
12074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12075 if eval "test \"\${$as_ac_var+set}\" = set"; then
12076 echo $ECHO_N "(cached) $ECHO_C" >&6
12077 else
12078 if test x$gcc_no_link = xyes; then
12079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12081 { (exit 1); exit 1; }; }
12083 cat >conftest.$ac_ext <<_ACEOF
12084 /* confdefs.h. */
12085 _ACEOF
12086 cat confdefs.h >>conftest.$ac_ext
12087 cat >>conftest.$ac_ext <<_ACEOF
12088 /* end confdefs.h. */
12089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12091 #define $ac_func innocuous_$ac_func
12093 /* System header to define __stub macros and hopefully few prototypes,
12094 which can conflict with char $ac_func (); below.
12095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12096 <limits.h> exists even on freestanding compilers. */
12098 #ifdef __STDC__
12099 # include <limits.h>
12100 #else
12101 # include <assert.h>
12102 #endif
12104 #undef $ac_func
12106 /* Override any gcc2 internal prototype to avoid an error. */
12107 #ifdef __cplusplus
12108 extern "C"
12110 #endif
12111 /* We use char because int might match the return type of a gcc2
12112 builtin and then its argument prototype would still apply. */
12113 char $ac_func ();
12114 /* The GNU C library defines this for functions which it implements
12115 to always fail with ENOSYS. Some functions are actually named
12116 something starting with __ and the normal name is an alias. */
12117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12118 choke me
12119 #else
12120 char (*f) () = $ac_func;
12121 #endif
12122 #ifdef __cplusplus
12124 #endif
12127 main ()
12129 return f != $ac_func;
12131 return 0;
12133 _ACEOF
12134 rm -f conftest.$ac_objext conftest$ac_exeext
12135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12136 (eval $ac_link) 2>conftest.er1
12137 ac_status=$?
12138 grep -v '^ *+' conftest.er1 >conftest.err
12139 rm -f conftest.er1
12140 cat conftest.err >&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); } &&
12143 { ac_try='test -z "$ac_c_werror_flag"
12144 || test ! -s conftest.err'
12145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5
12147 ac_status=$?
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); }; } &&
12150 { ac_try='test -s conftest$ac_exeext'
12151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12152 (eval $ac_try) 2>&5
12153 ac_status=$?
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); }; }; then
12156 eval "$as_ac_var=yes"
12157 else
12158 echo "$as_me: failed program was:" >&5
12159 sed 's/^/| /' conftest.$ac_ext >&5
12161 eval "$as_ac_var=no"
12163 rm -f conftest.err conftest.$ac_objext \
12164 conftest$ac_exeext conftest.$ac_ext
12166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12168 if test `eval echo '${'$as_ac_var'}'` = yes; then
12169 cat >>confdefs.h <<_ACEOF
12170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12171 _ACEOF
12174 done
12186 echo "$as_me:$LINENO: checking for expf declaration" >&5
12187 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12188 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12189 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 else
12195 ac_ext=cc
12196 ac_cpp='$CXXCPP $CPPFLAGS'
12197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12201 cat >conftest.$ac_ext <<_ACEOF
12202 /* confdefs.h. */
12203 _ACEOF
12204 cat confdefs.h >>conftest.$ac_ext
12205 cat >>conftest.$ac_ext <<_ACEOF
12206 /* end confdefs.h. */
12207 #include <math.h>
12208 #ifdef HAVE_IEEEFP_H
12209 #include <ieeefp.h>
12210 #endif
12213 main ()
12215 expf(0);
12217 return 0;
12219 _ACEOF
12220 rm -f conftest.$ac_objext
12221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12222 (eval $ac_compile) 2>conftest.er1
12223 ac_status=$?
12224 grep -v '^ *+' conftest.er1 >conftest.err
12225 rm -f conftest.er1
12226 cat conftest.err >&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } &&
12229 { ac_try='test -z "$ac_cxx_werror_flag"
12230 || test ! -s conftest.err'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12233 ac_status=$?
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; } &&
12236 { ac_try='test -s conftest.$ac_objext'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12239 ac_status=$?
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; }; then
12242 glibcxx_cv_func_expf_use=yes
12243 else
12244 echo "$as_me: failed program was:" >&5
12245 sed 's/^/| /' conftest.$ac_ext >&5
12247 glibcxx_cv_func_expf_use=no
12249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12250 ac_ext=c
12251 ac_cpp='$CPP $CPPFLAGS'
12252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12261 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12263 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12265 for ac_func in expf
12267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12268 echo "$as_me:$LINENO: checking for $ac_func" >&5
12269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12270 if eval "test \"\${$as_ac_var+set}\" = set"; then
12271 echo $ECHO_N "(cached) $ECHO_C" >&6
12272 else
12273 if test x$gcc_no_link = xyes; then
12274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12276 { (exit 1); exit 1; }; }
12278 cat >conftest.$ac_ext <<_ACEOF
12279 /* confdefs.h. */
12280 _ACEOF
12281 cat confdefs.h >>conftest.$ac_ext
12282 cat >>conftest.$ac_ext <<_ACEOF
12283 /* end confdefs.h. */
12284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12286 #define $ac_func innocuous_$ac_func
12288 /* System header to define __stub macros and hopefully few prototypes,
12289 which can conflict with char $ac_func (); below.
12290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12291 <limits.h> exists even on freestanding compilers. */
12293 #ifdef __STDC__
12294 # include <limits.h>
12295 #else
12296 # include <assert.h>
12297 #endif
12299 #undef $ac_func
12301 /* Override any gcc2 internal prototype to avoid an error. */
12302 #ifdef __cplusplus
12303 extern "C"
12305 #endif
12306 /* We use char because int might match the return type of a gcc2
12307 builtin and then its argument prototype would still apply. */
12308 char $ac_func ();
12309 /* The GNU C library defines this for functions which it implements
12310 to always fail with ENOSYS. Some functions are actually named
12311 something starting with __ and the normal name is an alias. */
12312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12313 choke me
12314 #else
12315 char (*f) () = $ac_func;
12316 #endif
12317 #ifdef __cplusplus
12319 #endif
12322 main ()
12324 return f != $ac_func;
12326 return 0;
12328 _ACEOF
12329 rm -f conftest.$ac_objext conftest$ac_exeext
12330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12331 (eval $ac_link) 2>conftest.er1
12332 ac_status=$?
12333 grep -v '^ *+' conftest.er1 >conftest.err
12334 rm -f conftest.er1
12335 cat conftest.err >&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } &&
12338 { ac_try='test -z "$ac_c_werror_flag"
12339 || test ! -s conftest.err'
12340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12341 (eval $ac_try) 2>&5
12342 ac_status=$?
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); }; } &&
12345 { ac_try='test -s conftest$ac_exeext'
12346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12347 (eval $ac_try) 2>&5
12348 ac_status=$?
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); }; }; then
12351 eval "$as_ac_var=yes"
12352 else
12353 echo "$as_me: failed program was:" >&5
12354 sed 's/^/| /' conftest.$ac_ext >&5
12356 eval "$as_ac_var=no"
12358 rm -f conftest.err conftest.$ac_objext \
12359 conftest$ac_exeext conftest.$ac_ext
12361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12363 if test `eval echo '${'$as_ac_var'}'` = yes; then
12364 cat >>confdefs.h <<_ACEOF
12365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12366 _ACEOF
12369 done
12371 else
12373 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12374 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12375 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12376 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12377 echo $ECHO_N "(cached) $ECHO_C" >&6
12378 else
12382 ac_ext=cc
12383 ac_cpp='$CXXCPP $CPPFLAGS'
12384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12388 cat >conftest.$ac_ext <<_ACEOF
12389 /* confdefs.h. */
12390 _ACEOF
12391 cat confdefs.h >>conftest.$ac_ext
12392 cat >>conftest.$ac_ext <<_ACEOF
12393 /* end confdefs.h. */
12394 #include <math.h>
12395 #ifdef HAVE_IEEEFP_H
12396 #include <ieeefp.h>
12397 #endif
12400 main ()
12402 _expf(0);
12404 return 0;
12406 _ACEOF
12407 rm -f conftest.$ac_objext
12408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12409 (eval $ac_compile) 2>conftest.er1
12410 ac_status=$?
12411 grep -v '^ *+' conftest.er1 >conftest.err
12412 rm -f conftest.er1
12413 cat conftest.err >&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } &&
12416 { ac_try='test -z "$ac_cxx_werror_flag"
12417 || test ! -s conftest.err'
12418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12419 (eval $ac_try) 2>&5
12420 ac_status=$?
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); }; } &&
12423 { ac_try='test -s conftest.$ac_objext'
12424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425 (eval $ac_try) 2>&5
12426 ac_status=$?
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }; }; then
12429 glibcxx_cv_func__expf_use=yes
12430 else
12431 echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.$ac_ext >&5
12434 glibcxx_cv_func__expf_use=no
12436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12437 ac_ext=c
12438 ac_cpp='$CPP $CPPFLAGS'
12439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12447 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12448 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12450 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12452 for ac_func in _expf
12454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12455 echo "$as_me:$LINENO: checking for $ac_func" >&5
12456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12457 if eval "test \"\${$as_ac_var+set}\" = set"; then
12458 echo $ECHO_N "(cached) $ECHO_C" >&6
12459 else
12460 if test x$gcc_no_link = xyes; then
12461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12463 { (exit 1); exit 1; }; }
12465 cat >conftest.$ac_ext <<_ACEOF
12466 /* confdefs.h. */
12467 _ACEOF
12468 cat confdefs.h >>conftest.$ac_ext
12469 cat >>conftest.$ac_ext <<_ACEOF
12470 /* end confdefs.h. */
12471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12473 #define $ac_func innocuous_$ac_func
12475 /* System header to define __stub macros and hopefully few prototypes,
12476 which can conflict with char $ac_func (); below.
12477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12478 <limits.h> exists even on freestanding compilers. */
12480 #ifdef __STDC__
12481 # include <limits.h>
12482 #else
12483 # include <assert.h>
12484 #endif
12486 #undef $ac_func
12488 /* Override any gcc2 internal prototype to avoid an error. */
12489 #ifdef __cplusplus
12490 extern "C"
12492 #endif
12493 /* We use char because int might match the return type of a gcc2
12494 builtin and then its argument prototype would still apply. */
12495 char $ac_func ();
12496 /* The GNU C library defines this for functions which it implements
12497 to always fail with ENOSYS. Some functions are actually named
12498 something starting with __ and the normal name is an alias. */
12499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12500 choke me
12501 #else
12502 char (*f) () = $ac_func;
12503 #endif
12504 #ifdef __cplusplus
12506 #endif
12509 main ()
12511 return f != $ac_func;
12513 return 0;
12515 _ACEOF
12516 rm -f conftest.$ac_objext conftest$ac_exeext
12517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12518 (eval $ac_link) 2>conftest.er1
12519 ac_status=$?
12520 grep -v '^ *+' conftest.er1 >conftest.err
12521 rm -f conftest.er1
12522 cat conftest.err >&5
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); } &&
12525 { ac_try='test -z "$ac_c_werror_flag"
12526 || test ! -s conftest.err'
12527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528 (eval $ac_try) 2>&5
12529 ac_status=$?
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; } &&
12532 { ac_try='test -s conftest$ac_exeext'
12533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12534 (eval $ac_try) 2>&5
12535 ac_status=$?
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); }; }; then
12538 eval "$as_ac_var=yes"
12539 else
12540 echo "$as_me: failed program was:" >&5
12541 sed 's/^/| /' conftest.$ac_ext >&5
12543 eval "$as_ac_var=no"
12545 rm -f conftest.err conftest.$ac_objext \
12546 conftest$ac_exeext conftest.$ac_ext
12548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12550 if test `eval echo '${'$as_ac_var'}'` = yes; then
12551 cat >>confdefs.h <<_ACEOF
12552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12553 _ACEOF
12556 done
12566 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12567 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12568 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12569 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12570 echo $ECHO_N "(cached) $ECHO_C" >&6
12571 else
12575 ac_ext=cc
12576 ac_cpp='$CXXCPP $CPPFLAGS'
12577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12581 cat >conftest.$ac_ext <<_ACEOF
12582 /* confdefs.h. */
12583 _ACEOF
12584 cat confdefs.h >>conftest.$ac_ext
12585 cat >>conftest.$ac_ext <<_ACEOF
12586 /* end confdefs.h. */
12587 #include <math.h>
12588 #ifdef HAVE_IEEEFP_H
12589 #include <ieeefp.h>
12590 #endif
12593 main ()
12595 isnanf(0);
12597 return 0;
12599 _ACEOF
12600 rm -f conftest.$ac_objext
12601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12602 (eval $ac_compile) 2>conftest.er1
12603 ac_status=$?
12604 grep -v '^ *+' conftest.er1 >conftest.err
12605 rm -f conftest.er1
12606 cat conftest.err >&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); } &&
12609 { ac_try='test -z "$ac_cxx_werror_flag"
12610 || test ! -s conftest.err'
12611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12612 (eval $ac_try) 2>&5
12613 ac_status=$?
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); }; } &&
12616 { ac_try='test -s conftest.$ac_objext'
12617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618 (eval $ac_try) 2>&5
12619 ac_status=$?
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; }; then
12622 glibcxx_cv_func_isnanf_use=yes
12623 else
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12627 glibcxx_cv_func_isnanf_use=no
12629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12630 ac_ext=c
12631 ac_cpp='$CPP $CPPFLAGS'
12632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12640 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12641 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12643 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12645 for ac_func in isnanf
12647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12648 echo "$as_me:$LINENO: checking for $ac_func" >&5
12649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12650 if eval "test \"\${$as_ac_var+set}\" = set"; then
12651 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 else
12653 if test x$gcc_no_link = xyes; then
12654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12656 { (exit 1); exit 1; }; }
12658 cat >conftest.$ac_ext <<_ACEOF
12659 /* confdefs.h. */
12660 _ACEOF
12661 cat confdefs.h >>conftest.$ac_ext
12662 cat >>conftest.$ac_ext <<_ACEOF
12663 /* end confdefs.h. */
12664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12666 #define $ac_func innocuous_$ac_func
12668 /* System header to define __stub macros and hopefully few prototypes,
12669 which can conflict with char $ac_func (); below.
12670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12671 <limits.h> exists even on freestanding compilers. */
12673 #ifdef __STDC__
12674 # include <limits.h>
12675 #else
12676 # include <assert.h>
12677 #endif
12679 #undef $ac_func
12681 /* Override any gcc2 internal prototype to avoid an error. */
12682 #ifdef __cplusplus
12683 extern "C"
12685 #endif
12686 /* We use char because int might match the return type of a gcc2
12687 builtin and then its argument prototype would still apply. */
12688 char $ac_func ();
12689 /* The GNU C library defines this for functions which it implements
12690 to always fail with ENOSYS. Some functions are actually named
12691 something starting with __ and the normal name is an alias. */
12692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12693 choke me
12694 #else
12695 char (*f) () = $ac_func;
12696 #endif
12697 #ifdef __cplusplus
12699 #endif
12702 main ()
12704 return f != $ac_func;
12706 return 0;
12708 _ACEOF
12709 rm -f conftest.$ac_objext conftest$ac_exeext
12710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12711 (eval $ac_link) 2>conftest.er1
12712 ac_status=$?
12713 grep -v '^ *+' conftest.er1 >conftest.err
12714 rm -f conftest.er1
12715 cat conftest.err >&5
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); } &&
12718 { ac_try='test -z "$ac_c_werror_flag"
12719 || test ! -s conftest.err'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12722 ac_status=$?
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; } &&
12725 { ac_try='test -s conftest$ac_exeext'
12726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727 (eval $ac_try) 2>&5
12728 ac_status=$?
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }; }; then
12731 eval "$as_ac_var=yes"
12732 else
12733 echo "$as_me: failed program was:" >&5
12734 sed 's/^/| /' conftest.$ac_ext >&5
12736 eval "$as_ac_var=no"
12738 rm -f conftest.err conftest.$ac_objext \
12739 conftest$ac_exeext conftest.$ac_ext
12741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12743 if test `eval echo '${'$as_ac_var'}'` = yes; then
12744 cat >>confdefs.h <<_ACEOF
12745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12746 _ACEOF
12749 done
12751 else
12753 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12754 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12755 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12756 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12757 echo $ECHO_N "(cached) $ECHO_C" >&6
12758 else
12762 ac_ext=cc
12763 ac_cpp='$CXXCPP $CPPFLAGS'
12764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12768 cat >conftest.$ac_ext <<_ACEOF
12769 /* confdefs.h. */
12770 _ACEOF
12771 cat confdefs.h >>conftest.$ac_ext
12772 cat >>conftest.$ac_ext <<_ACEOF
12773 /* end confdefs.h. */
12774 #include <math.h>
12775 #ifdef HAVE_IEEEFP_H
12776 #include <ieeefp.h>
12777 #endif
12780 main ()
12782 _isnanf(0);
12784 return 0;
12786 _ACEOF
12787 rm -f conftest.$ac_objext
12788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12789 (eval $ac_compile) 2>conftest.er1
12790 ac_status=$?
12791 grep -v '^ *+' conftest.er1 >conftest.err
12792 rm -f conftest.er1
12793 cat conftest.err >&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); } &&
12796 { ac_try='test -z "$ac_cxx_werror_flag"
12797 || test ! -s conftest.err'
12798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12799 (eval $ac_try) 2>&5
12800 ac_status=$?
12801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802 (exit $ac_status); }; } &&
12803 { ac_try='test -s conftest.$ac_objext'
12804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12805 (eval $ac_try) 2>&5
12806 ac_status=$?
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); }; }; then
12809 glibcxx_cv_func__isnanf_use=yes
12810 else
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.$ac_ext >&5
12814 glibcxx_cv_func__isnanf_use=no
12816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12817 ac_ext=c
12818 ac_cpp='$CPP $CPPFLAGS'
12819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12827 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12828 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12830 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12832 for ac_func in _isnanf
12834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12835 echo "$as_me:$LINENO: checking for $ac_func" >&5
12836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12837 if eval "test \"\${$as_ac_var+set}\" = set"; then
12838 echo $ECHO_N "(cached) $ECHO_C" >&6
12839 else
12840 if test x$gcc_no_link = xyes; then
12841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12843 { (exit 1); exit 1; }; }
12845 cat >conftest.$ac_ext <<_ACEOF
12846 /* confdefs.h. */
12847 _ACEOF
12848 cat confdefs.h >>conftest.$ac_ext
12849 cat >>conftest.$ac_ext <<_ACEOF
12850 /* end confdefs.h. */
12851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12853 #define $ac_func innocuous_$ac_func
12855 /* System header to define __stub macros and hopefully few prototypes,
12856 which can conflict with char $ac_func (); below.
12857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12858 <limits.h> exists even on freestanding compilers. */
12860 #ifdef __STDC__
12861 # include <limits.h>
12862 #else
12863 # include <assert.h>
12864 #endif
12866 #undef $ac_func
12868 /* Override any gcc2 internal prototype to avoid an error. */
12869 #ifdef __cplusplus
12870 extern "C"
12872 #endif
12873 /* We use char because int might match the return type of a gcc2
12874 builtin and then its argument prototype would still apply. */
12875 char $ac_func ();
12876 /* The GNU C library defines this for functions which it implements
12877 to always fail with ENOSYS. Some functions are actually named
12878 something starting with __ and the normal name is an alias. */
12879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12880 choke me
12881 #else
12882 char (*f) () = $ac_func;
12883 #endif
12884 #ifdef __cplusplus
12886 #endif
12889 main ()
12891 return f != $ac_func;
12893 return 0;
12895 _ACEOF
12896 rm -f conftest.$ac_objext conftest$ac_exeext
12897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12898 (eval $ac_link) 2>conftest.er1
12899 ac_status=$?
12900 grep -v '^ *+' conftest.er1 >conftest.err
12901 rm -f conftest.er1
12902 cat conftest.err >&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } &&
12905 { ac_try='test -z "$ac_c_werror_flag"
12906 || test ! -s conftest.err'
12907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12908 (eval $ac_try) 2>&5
12909 ac_status=$?
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; } &&
12912 { ac_try='test -s conftest$ac_exeext'
12913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12914 (eval $ac_try) 2>&5
12915 ac_status=$?
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }; }; then
12918 eval "$as_ac_var=yes"
12919 else
12920 echo "$as_me: failed program was:" >&5
12921 sed 's/^/| /' conftest.$ac_ext >&5
12923 eval "$as_ac_var=no"
12925 rm -f conftest.err conftest.$ac_objext \
12926 conftest$ac_exeext conftest.$ac_ext
12928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12930 if test `eval echo '${'$as_ac_var'}'` = yes; then
12931 cat >>confdefs.h <<_ACEOF
12932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12933 _ACEOF
12936 done
12946 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12947 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12948 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12949 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12950 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 else
12955 ac_ext=cc
12956 ac_cpp='$CXXCPP $CPPFLAGS'
12957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12961 cat >conftest.$ac_ext <<_ACEOF
12962 /* confdefs.h. */
12963 _ACEOF
12964 cat confdefs.h >>conftest.$ac_ext
12965 cat >>conftest.$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12967 #include <math.h>
12968 #ifdef HAVE_IEEEFP_H
12969 #include <ieeefp.h>
12970 #endif
12973 main ()
12975 isinff(0);
12977 return 0;
12979 _ACEOF
12980 rm -f conftest.$ac_objext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12982 (eval $ac_compile) 2>conftest.er1
12983 ac_status=$?
12984 grep -v '^ *+' conftest.er1 >conftest.err
12985 rm -f conftest.er1
12986 cat conftest.err >&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try='test -z "$ac_cxx_werror_flag"
12990 || test ! -s conftest.err'
12991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12992 (eval $ac_try) 2>&5
12993 ac_status=$?
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); }; } &&
12996 { ac_try='test -s conftest.$ac_objext'
12997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998 (eval $ac_try) 2>&5
12999 ac_status=$?
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); }; }; then
13002 glibcxx_cv_func_isinff_use=yes
13003 else
13004 echo "$as_me: failed program was:" >&5
13005 sed 's/^/| /' conftest.$ac_ext >&5
13007 glibcxx_cv_func_isinff_use=no
13009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13010 ac_ext=c
13011 ac_cpp='$CPP $CPPFLAGS'
13012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13020 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13021 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13023 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13025 for ac_func in isinff
13027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13028 echo "$as_me:$LINENO: checking for $ac_func" >&5
13029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13030 if eval "test \"\${$as_ac_var+set}\" = set"; then
13031 echo $ECHO_N "(cached) $ECHO_C" >&6
13032 else
13033 if test x$gcc_no_link = xyes; then
13034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13036 { (exit 1); exit 1; }; }
13038 cat >conftest.$ac_ext <<_ACEOF
13039 /* confdefs.h. */
13040 _ACEOF
13041 cat confdefs.h >>conftest.$ac_ext
13042 cat >>conftest.$ac_ext <<_ACEOF
13043 /* end confdefs.h. */
13044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13046 #define $ac_func innocuous_$ac_func
13048 /* System header to define __stub macros and hopefully few prototypes,
13049 which can conflict with char $ac_func (); below.
13050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13051 <limits.h> exists even on freestanding compilers. */
13053 #ifdef __STDC__
13054 # include <limits.h>
13055 #else
13056 # include <assert.h>
13057 #endif
13059 #undef $ac_func
13061 /* Override any gcc2 internal prototype to avoid an error. */
13062 #ifdef __cplusplus
13063 extern "C"
13065 #endif
13066 /* We use char because int might match the return type of a gcc2
13067 builtin and then its argument prototype would still apply. */
13068 char $ac_func ();
13069 /* The GNU C library defines this for functions which it implements
13070 to always fail with ENOSYS. Some functions are actually named
13071 something starting with __ and the normal name is an alias. */
13072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13073 choke me
13074 #else
13075 char (*f) () = $ac_func;
13076 #endif
13077 #ifdef __cplusplus
13079 #endif
13082 main ()
13084 return f != $ac_func;
13086 return 0;
13088 _ACEOF
13089 rm -f conftest.$ac_objext conftest$ac_exeext
13090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13091 (eval $ac_link) 2>conftest.er1
13092 ac_status=$?
13093 grep -v '^ *+' conftest.er1 >conftest.err
13094 rm -f conftest.er1
13095 cat conftest.err >&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); } &&
13098 { ac_try='test -z "$ac_c_werror_flag"
13099 || test ! -s conftest.err'
13100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13101 (eval $ac_try) 2>&5
13102 ac_status=$?
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); }; } &&
13105 { ac_try='test -s conftest$ac_exeext'
13106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13107 (eval $ac_try) 2>&5
13108 ac_status=$?
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); }; }; then
13111 eval "$as_ac_var=yes"
13112 else
13113 echo "$as_me: failed program was:" >&5
13114 sed 's/^/| /' conftest.$ac_ext >&5
13116 eval "$as_ac_var=no"
13118 rm -f conftest.err conftest.$ac_objext \
13119 conftest$ac_exeext conftest.$ac_ext
13121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13123 if test `eval echo '${'$as_ac_var'}'` = yes; then
13124 cat >>confdefs.h <<_ACEOF
13125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13126 _ACEOF
13129 done
13131 else
13133 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13134 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13135 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13136 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13137 echo $ECHO_N "(cached) $ECHO_C" >&6
13138 else
13142 ac_ext=cc
13143 ac_cpp='$CXXCPP $CPPFLAGS'
13144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13148 cat >conftest.$ac_ext <<_ACEOF
13149 /* confdefs.h. */
13150 _ACEOF
13151 cat confdefs.h >>conftest.$ac_ext
13152 cat >>conftest.$ac_ext <<_ACEOF
13153 /* end confdefs.h. */
13154 #include <math.h>
13155 #ifdef HAVE_IEEEFP_H
13156 #include <ieeefp.h>
13157 #endif
13160 main ()
13162 _isinff(0);
13164 return 0;
13166 _ACEOF
13167 rm -f conftest.$ac_objext
13168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13169 (eval $ac_compile) 2>conftest.er1
13170 ac_status=$?
13171 grep -v '^ *+' conftest.er1 >conftest.err
13172 rm -f conftest.er1
13173 cat conftest.err >&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); } &&
13176 { ac_try='test -z "$ac_cxx_werror_flag"
13177 || test ! -s conftest.err'
13178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13179 (eval $ac_try) 2>&5
13180 ac_status=$?
13181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); }; } &&
13183 { ac_try='test -s conftest.$ac_objext'
13184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13185 (eval $ac_try) 2>&5
13186 ac_status=$?
13187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); }; }; then
13189 glibcxx_cv_func__isinff_use=yes
13190 else
13191 echo "$as_me: failed program was:" >&5
13192 sed 's/^/| /' conftest.$ac_ext >&5
13194 glibcxx_cv_func__isinff_use=no
13196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13197 ac_ext=c
13198 ac_cpp='$CPP $CPPFLAGS'
13199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13207 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13208 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13210 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13212 for ac_func in _isinff
13214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13215 echo "$as_me:$LINENO: checking for $ac_func" >&5
13216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13217 if eval "test \"\${$as_ac_var+set}\" = set"; then
13218 echo $ECHO_N "(cached) $ECHO_C" >&6
13219 else
13220 if test x$gcc_no_link = xyes; then
13221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13223 { (exit 1); exit 1; }; }
13225 cat >conftest.$ac_ext <<_ACEOF
13226 /* confdefs.h. */
13227 _ACEOF
13228 cat confdefs.h >>conftest.$ac_ext
13229 cat >>conftest.$ac_ext <<_ACEOF
13230 /* end confdefs.h. */
13231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13233 #define $ac_func innocuous_$ac_func
13235 /* System header to define __stub macros and hopefully few prototypes,
13236 which can conflict with char $ac_func (); below.
13237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13238 <limits.h> exists even on freestanding compilers. */
13240 #ifdef __STDC__
13241 # include <limits.h>
13242 #else
13243 # include <assert.h>
13244 #endif
13246 #undef $ac_func
13248 /* Override any gcc2 internal prototype to avoid an error. */
13249 #ifdef __cplusplus
13250 extern "C"
13252 #endif
13253 /* We use char because int might match the return type of a gcc2
13254 builtin and then its argument prototype would still apply. */
13255 char $ac_func ();
13256 /* The GNU C library defines this for functions which it implements
13257 to always fail with ENOSYS. Some functions are actually named
13258 something starting with __ and the normal name is an alias. */
13259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13260 choke me
13261 #else
13262 char (*f) () = $ac_func;
13263 #endif
13264 #ifdef __cplusplus
13266 #endif
13269 main ()
13271 return f != $ac_func;
13273 return 0;
13275 _ACEOF
13276 rm -f conftest.$ac_objext conftest$ac_exeext
13277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13278 (eval $ac_link) 2>conftest.er1
13279 ac_status=$?
13280 grep -v '^ *+' conftest.er1 >conftest.err
13281 rm -f conftest.er1
13282 cat conftest.err >&5
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); } &&
13285 { ac_try='test -z "$ac_c_werror_flag"
13286 || test ! -s conftest.err'
13287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13288 (eval $ac_try) 2>&5
13289 ac_status=$?
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); }; } &&
13292 { ac_try='test -s conftest$ac_exeext'
13293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13294 (eval $ac_try) 2>&5
13295 ac_status=$?
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); }; }; then
13298 eval "$as_ac_var=yes"
13299 else
13300 echo "$as_me: failed program was:" >&5
13301 sed 's/^/| /' conftest.$ac_ext >&5
13303 eval "$as_ac_var=no"
13305 rm -f conftest.err conftest.$ac_objext \
13306 conftest$ac_exeext conftest.$ac_ext
13308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13310 if test `eval echo '${'$as_ac_var'}'` = yes; then
13311 cat >>confdefs.h <<_ACEOF
13312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13313 _ACEOF
13316 done
13326 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13327 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13328 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13329 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13330 echo $ECHO_N "(cached) $ECHO_C" >&6
13331 else
13335 ac_ext=cc
13336 ac_cpp='$CXXCPP $CPPFLAGS'
13337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13341 cat >conftest.$ac_ext <<_ACEOF
13342 /* confdefs.h. */
13343 _ACEOF
13344 cat confdefs.h >>conftest.$ac_ext
13345 cat >>conftest.$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13347 #include <math.h>
13349 main ()
13351 atan2f(0, 0);
13353 return 0;
13355 _ACEOF
13356 rm -f conftest.$ac_objext
13357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13358 (eval $ac_compile) 2>conftest.er1
13359 ac_status=$?
13360 grep -v '^ *+' conftest.er1 >conftest.err
13361 rm -f conftest.er1
13362 cat conftest.err >&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } &&
13365 { ac_try='test -z "$ac_cxx_werror_flag"
13366 || test ! -s conftest.err'
13367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13368 (eval $ac_try) 2>&5
13369 ac_status=$?
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); }; } &&
13372 { ac_try='test -s conftest.$ac_objext'
13373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 (eval $ac_try) 2>&5
13375 ac_status=$?
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; }; then
13378 glibcxx_cv_func_atan2f_use=yes
13379 else
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.$ac_ext >&5
13383 glibcxx_cv_func_atan2f_use=no
13385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13386 ac_ext=c
13387 ac_cpp='$CPP $CPPFLAGS'
13388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13396 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13397 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13399 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13401 for ac_func in atan2f
13403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13404 echo "$as_me:$LINENO: checking for $ac_func" >&5
13405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13406 if eval "test \"\${$as_ac_var+set}\" = set"; then
13407 echo $ECHO_N "(cached) $ECHO_C" >&6
13408 else
13409 if test x$gcc_no_link = xyes; then
13410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13412 { (exit 1); exit 1; }; }
13414 cat >conftest.$ac_ext <<_ACEOF
13415 /* confdefs.h. */
13416 _ACEOF
13417 cat confdefs.h >>conftest.$ac_ext
13418 cat >>conftest.$ac_ext <<_ACEOF
13419 /* end confdefs.h. */
13420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13422 #define $ac_func innocuous_$ac_func
13424 /* System header to define __stub macros and hopefully few prototypes,
13425 which can conflict with char $ac_func (); below.
13426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13427 <limits.h> exists even on freestanding compilers. */
13429 #ifdef __STDC__
13430 # include <limits.h>
13431 #else
13432 # include <assert.h>
13433 #endif
13435 #undef $ac_func
13437 /* Override any gcc2 internal prototype to avoid an error. */
13438 #ifdef __cplusplus
13439 extern "C"
13441 #endif
13442 /* We use char because int might match the return type of a gcc2
13443 builtin and then its argument prototype would still apply. */
13444 char $ac_func ();
13445 /* The GNU C library defines this for functions which it implements
13446 to always fail with ENOSYS. Some functions are actually named
13447 something starting with __ and the normal name is an alias. */
13448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13449 choke me
13450 #else
13451 char (*f) () = $ac_func;
13452 #endif
13453 #ifdef __cplusplus
13455 #endif
13458 main ()
13460 return f != $ac_func;
13462 return 0;
13464 _ACEOF
13465 rm -f conftest.$ac_objext conftest$ac_exeext
13466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13467 (eval $ac_link) 2>conftest.er1
13468 ac_status=$?
13469 grep -v '^ *+' conftest.er1 >conftest.err
13470 rm -f conftest.er1
13471 cat conftest.err >&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); } &&
13474 { ac_try='test -z "$ac_c_werror_flag"
13475 || test ! -s conftest.err'
13476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13477 (eval $ac_try) 2>&5
13478 ac_status=$?
13479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480 (exit $ac_status); }; } &&
13481 { ac_try='test -s conftest$ac_exeext'
13482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13483 (eval $ac_try) 2>&5
13484 ac_status=$?
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); }; }; then
13487 eval "$as_ac_var=yes"
13488 else
13489 echo "$as_me: failed program was:" >&5
13490 sed 's/^/| /' conftest.$ac_ext >&5
13492 eval "$as_ac_var=no"
13494 rm -f conftest.err conftest.$ac_objext \
13495 conftest$ac_exeext conftest.$ac_ext
13497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13499 if test `eval echo '${'$as_ac_var'}'` = yes; then
13500 cat >>confdefs.h <<_ACEOF
13501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13502 _ACEOF
13505 done
13507 else
13509 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13510 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13511 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13512 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13513 echo $ECHO_N "(cached) $ECHO_C" >&6
13514 else
13518 ac_ext=cc
13519 ac_cpp='$CXXCPP $CPPFLAGS'
13520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13524 cat >conftest.$ac_ext <<_ACEOF
13525 /* confdefs.h. */
13526 _ACEOF
13527 cat confdefs.h >>conftest.$ac_ext
13528 cat >>conftest.$ac_ext <<_ACEOF
13529 /* end confdefs.h. */
13530 #include <math.h>
13532 main ()
13534 _atan2f(0, 0);
13536 return 0;
13538 _ACEOF
13539 rm -f conftest.$ac_objext
13540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13541 (eval $ac_compile) 2>conftest.er1
13542 ac_status=$?
13543 grep -v '^ *+' conftest.er1 >conftest.err
13544 rm -f conftest.er1
13545 cat conftest.err >&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } &&
13548 { ac_try='test -z "$ac_cxx_werror_flag"
13549 || test ! -s conftest.err'
13550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13551 (eval $ac_try) 2>&5
13552 ac_status=$?
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); }; } &&
13555 { ac_try='test -s conftest.$ac_objext'
13556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13557 (eval $ac_try) 2>&5
13558 ac_status=$?
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); }; }; then
13561 glibcxx_cv_func__atan2f_use=yes
13562 else
13563 echo "$as_me: failed program was:" >&5
13564 sed 's/^/| /' conftest.$ac_ext >&5
13566 glibcxx_cv_func__atan2f_use=no
13568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13569 ac_ext=c
13570 ac_cpp='$CPP $CPPFLAGS'
13571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13579 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13580 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13582 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13584 for ac_func in _atan2f
13586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13587 echo "$as_me:$LINENO: checking for $ac_func" >&5
13588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13589 if eval "test \"\${$as_ac_var+set}\" = set"; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 else
13592 if test x$gcc_no_link = xyes; then
13593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13595 { (exit 1); exit 1; }; }
13597 cat >conftest.$ac_ext <<_ACEOF
13598 /* confdefs.h. */
13599 _ACEOF
13600 cat confdefs.h >>conftest.$ac_ext
13601 cat >>conftest.$ac_ext <<_ACEOF
13602 /* end confdefs.h. */
13603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13605 #define $ac_func innocuous_$ac_func
13607 /* System header to define __stub macros and hopefully few prototypes,
13608 which can conflict with char $ac_func (); below.
13609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13610 <limits.h> exists even on freestanding compilers. */
13612 #ifdef __STDC__
13613 # include <limits.h>
13614 #else
13615 # include <assert.h>
13616 #endif
13618 #undef $ac_func
13620 /* Override any gcc2 internal prototype to avoid an error. */
13621 #ifdef __cplusplus
13622 extern "C"
13624 #endif
13625 /* We use char because int might match the return type of a gcc2
13626 builtin and then its argument prototype would still apply. */
13627 char $ac_func ();
13628 /* The GNU C library defines this for functions which it implements
13629 to always fail with ENOSYS. Some functions are actually named
13630 something starting with __ and the normal name is an alias. */
13631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13632 choke me
13633 #else
13634 char (*f) () = $ac_func;
13635 #endif
13636 #ifdef __cplusplus
13638 #endif
13641 main ()
13643 return f != $ac_func;
13645 return 0;
13647 _ACEOF
13648 rm -f conftest.$ac_objext conftest$ac_exeext
13649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13650 (eval $ac_link) 2>conftest.er1
13651 ac_status=$?
13652 grep -v '^ *+' conftest.er1 >conftest.err
13653 rm -f conftest.er1
13654 cat conftest.err >&5
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); } &&
13657 { ac_try='test -z "$ac_c_werror_flag"
13658 || test ! -s conftest.err'
13659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13660 (eval $ac_try) 2>&5
13661 ac_status=$?
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); }; } &&
13664 { ac_try='test -s conftest$ac_exeext'
13665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13666 (eval $ac_try) 2>&5
13667 ac_status=$?
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); }; }; then
13670 eval "$as_ac_var=yes"
13671 else
13672 echo "$as_me: failed program was:" >&5
13673 sed 's/^/| /' conftest.$ac_ext >&5
13675 eval "$as_ac_var=no"
13677 rm -f conftest.err conftest.$ac_objext \
13678 conftest$ac_exeext conftest.$ac_ext
13680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13682 if test `eval echo '${'$as_ac_var'}'` = yes; then
13683 cat >>confdefs.h <<_ACEOF
13684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13685 _ACEOF
13688 done
13698 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13699 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13700 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13701 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13702 echo $ECHO_N "(cached) $ECHO_C" >&6
13703 else
13707 ac_ext=cc
13708 ac_cpp='$CXXCPP $CPPFLAGS'
13709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13713 cat >conftest.$ac_ext <<_ACEOF
13714 /* confdefs.h. */
13715 _ACEOF
13716 cat confdefs.h >>conftest.$ac_ext
13717 cat >>conftest.$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13719 #include <math.h>
13720 #ifdef HAVE_IEEEFP_H
13721 #include <ieeefp.h>
13722 #endif
13725 main ()
13727 fabsf(0);
13729 return 0;
13731 _ACEOF
13732 rm -f conftest.$ac_objext
13733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13734 (eval $ac_compile) 2>conftest.er1
13735 ac_status=$?
13736 grep -v '^ *+' conftest.er1 >conftest.err
13737 rm -f conftest.er1
13738 cat conftest.err >&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); } &&
13741 { ac_try='test -z "$ac_cxx_werror_flag"
13742 || test ! -s conftest.err'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13745 ac_status=$?
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; } &&
13748 { ac_try='test -s conftest.$ac_objext'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13751 ac_status=$?
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; }; then
13754 glibcxx_cv_func_fabsf_use=yes
13755 else
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13759 glibcxx_cv_func_fabsf_use=no
13761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13762 ac_ext=c
13763 ac_cpp='$CPP $CPPFLAGS'
13764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13772 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13773 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13775 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13777 for ac_func in fabsf
13779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13780 echo "$as_me:$LINENO: checking for $ac_func" >&5
13781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13782 if eval "test \"\${$as_ac_var+set}\" = set"; then
13783 echo $ECHO_N "(cached) $ECHO_C" >&6
13784 else
13785 if test x$gcc_no_link = xyes; then
13786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13788 { (exit 1); exit 1; }; }
13790 cat >conftest.$ac_ext <<_ACEOF
13791 /* confdefs.h. */
13792 _ACEOF
13793 cat confdefs.h >>conftest.$ac_ext
13794 cat >>conftest.$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13798 #define $ac_func innocuous_$ac_func
13800 /* System header to define __stub macros and hopefully few prototypes,
13801 which can conflict with char $ac_func (); below.
13802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13803 <limits.h> exists even on freestanding compilers. */
13805 #ifdef __STDC__
13806 # include <limits.h>
13807 #else
13808 # include <assert.h>
13809 #endif
13811 #undef $ac_func
13813 /* Override any gcc2 internal prototype to avoid an error. */
13814 #ifdef __cplusplus
13815 extern "C"
13817 #endif
13818 /* We use char because int might match the return type of a gcc2
13819 builtin and then its argument prototype would still apply. */
13820 char $ac_func ();
13821 /* The GNU C library defines this for functions which it implements
13822 to always fail with ENOSYS. Some functions are actually named
13823 something starting with __ and the normal name is an alias. */
13824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13825 choke me
13826 #else
13827 char (*f) () = $ac_func;
13828 #endif
13829 #ifdef __cplusplus
13831 #endif
13834 main ()
13836 return f != $ac_func;
13838 return 0;
13840 _ACEOF
13841 rm -f conftest.$ac_objext conftest$ac_exeext
13842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13843 (eval $ac_link) 2>conftest.er1
13844 ac_status=$?
13845 grep -v '^ *+' conftest.er1 >conftest.err
13846 rm -f conftest.er1
13847 cat conftest.err >&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } &&
13850 { ac_try='test -z "$ac_c_werror_flag"
13851 || test ! -s conftest.err'
13852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13853 (eval $ac_try) 2>&5
13854 ac_status=$?
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); }; } &&
13857 { ac_try='test -s conftest$ac_exeext'
13858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13859 (eval $ac_try) 2>&5
13860 ac_status=$?
13861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862 (exit $ac_status); }; }; then
13863 eval "$as_ac_var=yes"
13864 else
13865 echo "$as_me: failed program was:" >&5
13866 sed 's/^/| /' conftest.$ac_ext >&5
13868 eval "$as_ac_var=no"
13870 rm -f conftest.err conftest.$ac_objext \
13871 conftest$ac_exeext conftest.$ac_ext
13873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13875 if test `eval echo '${'$as_ac_var'}'` = yes; then
13876 cat >>confdefs.h <<_ACEOF
13877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13878 _ACEOF
13881 done
13883 else
13885 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13886 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13887 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13888 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13889 echo $ECHO_N "(cached) $ECHO_C" >&6
13890 else
13894 ac_ext=cc
13895 ac_cpp='$CXXCPP $CPPFLAGS'
13896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13900 cat >conftest.$ac_ext <<_ACEOF
13901 /* confdefs.h. */
13902 _ACEOF
13903 cat confdefs.h >>conftest.$ac_ext
13904 cat >>conftest.$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13906 #include <math.h>
13907 #ifdef HAVE_IEEEFP_H
13908 #include <ieeefp.h>
13909 #endif
13912 main ()
13914 _fabsf(0);
13916 return 0;
13918 _ACEOF
13919 rm -f conftest.$ac_objext
13920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13921 (eval $ac_compile) 2>conftest.er1
13922 ac_status=$?
13923 grep -v '^ *+' conftest.er1 >conftest.err
13924 rm -f conftest.er1
13925 cat conftest.err >&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } &&
13928 { ac_try='test -z "$ac_cxx_werror_flag"
13929 || test ! -s conftest.err'
13930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13931 (eval $ac_try) 2>&5
13932 ac_status=$?
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); }; } &&
13935 { ac_try='test -s conftest.$ac_objext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13938 ac_status=$?
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 glibcxx_cv_func__fabsf_use=yes
13942 else
13943 echo "$as_me: failed program was:" >&5
13944 sed 's/^/| /' conftest.$ac_ext >&5
13946 glibcxx_cv_func__fabsf_use=no
13948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13949 ac_ext=c
13950 ac_cpp='$CPP $CPPFLAGS'
13951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13959 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13960 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13962 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13964 for ac_func in _fabsf
13966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13967 echo "$as_me:$LINENO: checking for $ac_func" >&5
13968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13969 if eval "test \"\${$as_ac_var+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13971 else
13972 if test x$gcc_no_link = xyes; then
13973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13975 { (exit 1); exit 1; }; }
13977 cat >conftest.$ac_ext <<_ACEOF
13978 /* confdefs.h. */
13979 _ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13985 #define $ac_func innocuous_$ac_func
13987 /* System header to define __stub macros and hopefully few prototypes,
13988 which can conflict with char $ac_func (); below.
13989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13990 <limits.h> exists even on freestanding compilers. */
13992 #ifdef __STDC__
13993 # include <limits.h>
13994 #else
13995 # include <assert.h>
13996 #endif
13998 #undef $ac_func
14000 /* Override any gcc2 internal prototype to avoid an error. */
14001 #ifdef __cplusplus
14002 extern "C"
14004 #endif
14005 /* We use char because int might match the return type of a gcc2
14006 builtin and then its argument prototype would still apply. */
14007 char $ac_func ();
14008 /* The GNU C library defines this for functions which it implements
14009 to always fail with ENOSYS. Some functions are actually named
14010 something starting with __ and the normal name is an alias. */
14011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14012 choke me
14013 #else
14014 char (*f) () = $ac_func;
14015 #endif
14016 #ifdef __cplusplus
14018 #endif
14021 main ()
14023 return f != $ac_func;
14025 return 0;
14027 _ACEOF
14028 rm -f conftest.$ac_objext conftest$ac_exeext
14029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14030 (eval $ac_link) 2>conftest.er1
14031 ac_status=$?
14032 grep -v '^ *+' conftest.er1 >conftest.err
14033 rm -f conftest.er1
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } &&
14037 { ac_try='test -z "$ac_c_werror_flag"
14038 || test ! -s conftest.err'
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 (eval $ac_try) 2>&5
14041 ac_status=$?
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; } &&
14044 { ac_try='test -s conftest$ac_exeext'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14047 ac_status=$?
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; }; then
14050 eval "$as_ac_var=yes"
14051 else
14052 echo "$as_me: failed program was:" >&5
14053 sed 's/^/| /' conftest.$ac_ext >&5
14055 eval "$as_ac_var=no"
14057 rm -f conftest.err conftest.$ac_objext \
14058 conftest$ac_exeext conftest.$ac_ext
14060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14062 if test `eval echo '${'$as_ac_var'}'` = yes; then
14063 cat >>confdefs.h <<_ACEOF
14064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14065 _ACEOF
14068 done
14078 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14079 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14080 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14081 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14082 echo $ECHO_N "(cached) $ECHO_C" >&6
14083 else
14087 ac_ext=cc
14088 ac_cpp='$CXXCPP $CPPFLAGS'
14089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14093 cat >conftest.$ac_ext <<_ACEOF
14094 /* confdefs.h. */
14095 _ACEOF
14096 cat confdefs.h >>conftest.$ac_ext
14097 cat >>conftest.$ac_ext <<_ACEOF
14098 /* end confdefs.h. */
14099 #include <math.h>
14101 main ()
14103 fmodf(0, 0);
14105 return 0;
14107 _ACEOF
14108 rm -f conftest.$ac_objext
14109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14110 (eval $ac_compile) 2>conftest.er1
14111 ac_status=$?
14112 grep -v '^ *+' conftest.er1 >conftest.err
14113 rm -f conftest.er1
14114 cat conftest.err >&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } &&
14117 { ac_try='test -z "$ac_cxx_werror_flag"
14118 || test ! -s conftest.err'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14121 ac_status=$?
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; } &&
14124 { ac_try='test -s conftest.$ac_objext'
14125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126 (eval $ac_try) 2>&5
14127 ac_status=$?
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); }; }; then
14130 glibcxx_cv_func_fmodf_use=yes
14131 else
14132 echo "$as_me: failed program was:" >&5
14133 sed 's/^/| /' conftest.$ac_ext >&5
14135 glibcxx_cv_func_fmodf_use=no
14137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14138 ac_ext=c
14139 ac_cpp='$CPP $CPPFLAGS'
14140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14148 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14149 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14151 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14153 for ac_func in fmodf
14155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14156 echo "$as_me:$LINENO: checking for $ac_func" >&5
14157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14158 if eval "test \"\${$as_ac_var+set}\" = set"; then
14159 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 else
14161 if test x$gcc_no_link = xyes; then
14162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14164 { (exit 1); exit 1; }; }
14166 cat >conftest.$ac_ext <<_ACEOF
14167 /* confdefs.h. */
14168 _ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14174 #define $ac_func innocuous_$ac_func
14176 /* System header to define __stub macros and hopefully few prototypes,
14177 which can conflict with char $ac_func (); below.
14178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14179 <limits.h> exists even on freestanding compilers. */
14181 #ifdef __STDC__
14182 # include <limits.h>
14183 #else
14184 # include <assert.h>
14185 #endif
14187 #undef $ac_func
14189 /* Override any gcc2 internal prototype to avoid an error. */
14190 #ifdef __cplusplus
14191 extern "C"
14193 #endif
14194 /* We use char because int might match the return type of a gcc2
14195 builtin and then its argument prototype would still apply. */
14196 char $ac_func ();
14197 /* The GNU C library defines this for functions which it implements
14198 to always fail with ENOSYS. Some functions are actually named
14199 something starting with __ and the normal name is an alias. */
14200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14201 choke me
14202 #else
14203 char (*f) () = $ac_func;
14204 #endif
14205 #ifdef __cplusplus
14207 #endif
14210 main ()
14212 return f != $ac_func;
14214 return 0;
14216 _ACEOF
14217 rm -f conftest.$ac_objext conftest$ac_exeext
14218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14219 (eval $ac_link) 2>conftest.er1
14220 ac_status=$?
14221 grep -v '^ *+' conftest.er1 >conftest.err
14222 rm -f conftest.er1
14223 cat conftest.err >&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); } &&
14226 { ac_try='test -z "$ac_c_werror_flag"
14227 || test ! -s conftest.err'
14228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14229 (eval $ac_try) 2>&5
14230 ac_status=$?
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); }; } &&
14233 { ac_try='test -s conftest$ac_exeext'
14234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14235 (eval $ac_try) 2>&5
14236 ac_status=$?
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); }; }; then
14239 eval "$as_ac_var=yes"
14240 else
14241 echo "$as_me: failed program was:" >&5
14242 sed 's/^/| /' conftest.$ac_ext >&5
14244 eval "$as_ac_var=no"
14246 rm -f conftest.err conftest.$ac_objext \
14247 conftest$ac_exeext conftest.$ac_ext
14249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14251 if test `eval echo '${'$as_ac_var'}'` = yes; then
14252 cat >>confdefs.h <<_ACEOF
14253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14254 _ACEOF
14257 done
14259 else
14261 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14262 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14263 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14264 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14266 else
14270 ac_ext=cc
14271 ac_cpp='$CXXCPP $CPPFLAGS'
14272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14276 cat >conftest.$ac_ext <<_ACEOF
14277 /* confdefs.h. */
14278 _ACEOF
14279 cat confdefs.h >>conftest.$ac_ext
14280 cat >>conftest.$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14282 #include <math.h>
14284 main ()
14286 _fmodf(0, 0);
14288 return 0;
14290 _ACEOF
14291 rm -f conftest.$ac_objext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14293 (eval $ac_compile) 2>conftest.er1
14294 ac_status=$?
14295 grep -v '^ *+' conftest.er1 >conftest.err
14296 rm -f conftest.er1
14297 cat conftest.err >&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } &&
14300 { ac_try='test -z "$ac_cxx_werror_flag"
14301 || test ! -s conftest.err'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14304 ac_status=$?
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; } &&
14307 { ac_try='test -s conftest.$ac_objext'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14310 ac_status=$?
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; }; then
14313 glibcxx_cv_func__fmodf_use=yes
14314 else
14315 echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.$ac_ext >&5
14318 glibcxx_cv_func__fmodf_use=no
14320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14321 ac_ext=c
14322 ac_cpp='$CPP $CPPFLAGS'
14323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14331 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14332 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14334 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14336 for ac_func in _fmodf
14338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14339 echo "$as_me:$LINENO: checking for $ac_func" >&5
14340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14341 if eval "test \"\${$as_ac_var+set}\" = set"; then
14342 echo $ECHO_N "(cached) $ECHO_C" >&6
14343 else
14344 if test x$gcc_no_link = xyes; then
14345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14347 { (exit 1); exit 1; }; }
14349 cat >conftest.$ac_ext <<_ACEOF
14350 /* confdefs.h. */
14351 _ACEOF
14352 cat confdefs.h >>conftest.$ac_ext
14353 cat >>conftest.$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14357 #define $ac_func innocuous_$ac_func
14359 /* System header to define __stub macros and hopefully few prototypes,
14360 which can conflict with char $ac_func (); below.
14361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14362 <limits.h> exists even on freestanding compilers. */
14364 #ifdef __STDC__
14365 # include <limits.h>
14366 #else
14367 # include <assert.h>
14368 #endif
14370 #undef $ac_func
14372 /* Override any gcc2 internal prototype to avoid an error. */
14373 #ifdef __cplusplus
14374 extern "C"
14376 #endif
14377 /* We use char because int might match the return type of a gcc2
14378 builtin and then its argument prototype would still apply. */
14379 char $ac_func ();
14380 /* The GNU C library defines this for functions which it implements
14381 to always fail with ENOSYS. Some functions are actually named
14382 something starting with __ and the normal name is an alias. */
14383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14384 choke me
14385 #else
14386 char (*f) () = $ac_func;
14387 #endif
14388 #ifdef __cplusplus
14390 #endif
14393 main ()
14395 return f != $ac_func;
14397 return 0;
14399 _ACEOF
14400 rm -f conftest.$ac_objext conftest$ac_exeext
14401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14402 (eval $ac_link) 2>conftest.er1
14403 ac_status=$?
14404 grep -v '^ *+' conftest.er1 >conftest.err
14405 rm -f conftest.er1
14406 cat conftest.err >&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); } &&
14409 { ac_try='test -z "$ac_c_werror_flag"
14410 || test ! -s conftest.err'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14413 ac_status=$?
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; } &&
14416 { ac_try='test -s conftest$ac_exeext'
14417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14418 (eval $ac_try) 2>&5
14419 ac_status=$?
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }; }; then
14422 eval "$as_ac_var=yes"
14423 else
14424 echo "$as_me: failed program was:" >&5
14425 sed 's/^/| /' conftest.$ac_ext >&5
14427 eval "$as_ac_var=no"
14429 rm -f conftest.err conftest.$ac_objext \
14430 conftest$ac_exeext conftest.$ac_ext
14432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14434 if test `eval echo '${'$as_ac_var'}'` = yes; then
14435 cat >>confdefs.h <<_ACEOF
14436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14437 _ACEOF
14440 done
14450 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14451 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14452 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14453 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14455 else
14459 ac_ext=cc
14460 ac_cpp='$CXXCPP $CPPFLAGS'
14461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14465 cat >conftest.$ac_ext <<_ACEOF
14466 /* confdefs.h. */
14467 _ACEOF
14468 cat confdefs.h >>conftest.$ac_ext
14469 cat >>conftest.$ac_ext <<_ACEOF
14470 /* end confdefs.h. */
14471 #include <math.h>
14473 main ()
14475 frexpf(0, 0);
14477 return 0;
14479 _ACEOF
14480 rm -f conftest.$ac_objext
14481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14482 (eval $ac_compile) 2>conftest.er1
14483 ac_status=$?
14484 grep -v '^ *+' conftest.er1 >conftest.err
14485 rm -f conftest.er1
14486 cat conftest.err >&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); } &&
14489 { ac_try='test -z "$ac_cxx_werror_flag"
14490 || test ! -s conftest.err'
14491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14492 (eval $ac_try) 2>&5
14493 ac_status=$?
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); }; } &&
14496 { ac_try='test -s conftest.$ac_objext'
14497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14498 (eval $ac_try) 2>&5
14499 ac_status=$?
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); }; }; then
14502 glibcxx_cv_func_frexpf_use=yes
14503 else
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.$ac_ext >&5
14507 glibcxx_cv_func_frexpf_use=no
14509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14510 ac_ext=c
14511 ac_cpp='$CPP $CPPFLAGS'
14512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14520 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14521 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14523 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14525 for ac_func in frexpf
14527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14528 echo "$as_me:$LINENO: checking for $ac_func" >&5
14529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14530 if eval "test \"\${$as_ac_var+set}\" = set"; then
14531 echo $ECHO_N "(cached) $ECHO_C" >&6
14532 else
14533 if test x$gcc_no_link = xyes; then
14534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14536 { (exit 1); exit 1; }; }
14538 cat >conftest.$ac_ext <<_ACEOF
14539 /* confdefs.h. */
14540 _ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14546 #define $ac_func innocuous_$ac_func
14548 /* System header to define __stub macros and hopefully few prototypes,
14549 which can conflict with char $ac_func (); below.
14550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14551 <limits.h> exists even on freestanding compilers. */
14553 #ifdef __STDC__
14554 # include <limits.h>
14555 #else
14556 # include <assert.h>
14557 #endif
14559 #undef $ac_func
14561 /* Override any gcc2 internal prototype to avoid an error. */
14562 #ifdef __cplusplus
14563 extern "C"
14565 #endif
14566 /* We use char because int might match the return type of a gcc2
14567 builtin and then its argument prototype would still apply. */
14568 char $ac_func ();
14569 /* The GNU C library defines this for functions which it implements
14570 to always fail with ENOSYS. Some functions are actually named
14571 something starting with __ and the normal name is an alias. */
14572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14573 choke me
14574 #else
14575 char (*f) () = $ac_func;
14576 #endif
14577 #ifdef __cplusplus
14579 #endif
14582 main ()
14584 return f != $ac_func;
14586 return 0;
14588 _ACEOF
14589 rm -f conftest.$ac_objext conftest$ac_exeext
14590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14591 (eval $ac_link) 2>conftest.er1
14592 ac_status=$?
14593 grep -v '^ *+' conftest.er1 >conftest.err
14594 rm -f conftest.er1
14595 cat conftest.err >&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } &&
14598 { ac_try='test -z "$ac_c_werror_flag"
14599 || test ! -s conftest.err'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14602 ac_status=$?
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; } &&
14605 { ac_try='test -s conftest$ac_exeext'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14608 ac_status=$?
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14611 eval "$as_ac_var=yes"
14612 else
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14616 eval "$as_ac_var=no"
14618 rm -f conftest.err conftest.$ac_objext \
14619 conftest$ac_exeext conftest.$ac_ext
14621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14623 if test `eval echo '${'$as_ac_var'}'` = yes; then
14624 cat >>confdefs.h <<_ACEOF
14625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14626 _ACEOF
14629 done
14631 else
14633 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14634 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14635 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14636 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14637 echo $ECHO_N "(cached) $ECHO_C" >&6
14638 else
14642 ac_ext=cc
14643 ac_cpp='$CXXCPP $CPPFLAGS'
14644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14648 cat >conftest.$ac_ext <<_ACEOF
14649 /* confdefs.h. */
14650 _ACEOF
14651 cat confdefs.h >>conftest.$ac_ext
14652 cat >>conftest.$ac_ext <<_ACEOF
14653 /* end confdefs.h. */
14654 #include <math.h>
14656 main ()
14658 _frexpf(0, 0);
14660 return 0;
14662 _ACEOF
14663 rm -f conftest.$ac_objext
14664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14665 (eval $ac_compile) 2>conftest.er1
14666 ac_status=$?
14667 grep -v '^ *+' conftest.er1 >conftest.err
14668 rm -f conftest.er1
14669 cat conftest.err >&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } &&
14672 { ac_try='test -z "$ac_cxx_werror_flag"
14673 || test ! -s conftest.err'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14676 ac_status=$?
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; } &&
14679 { ac_try='test -s conftest.$ac_objext'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14682 ac_status=$?
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; }; then
14685 glibcxx_cv_func__frexpf_use=yes
14686 else
14687 echo "$as_me: failed program was:" >&5
14688 sed 's/^/| /' conftest.$ac_ext >&5
14690 glibcxx_cv_func__frexpf_use=no
14692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14693 ac_ext=c
14694 ac_cpp='$CPP $CPPFLAGS'
14695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14703 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14704 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14706 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14708 for ac_func in _frexpf
14710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14711 echo "$as_me:$LINENO: checking for $ac_func" >&5
14712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14713 if eval "test \"\${$as_ac_var+set}\" = set"; then
14714 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 else
14716 if test x$gcc_no_link = xyes; then
14717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14719 { (exit 1); exit 1; }; }
14721 cat >conftest.$ac_ext <<_ACEOF
14722 /* confdefs.h. */
14723 _ACEOF
14724 cat confdefs.h >>conftest.$ac_ext
14725 cat >>conftest.$ac_ext <<_ACEOF
14726 /* end confdefs.h. */
14727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14729 #define $ac_func innocuous_$ac_func
14731 /* System header to define __stub macros and hopefully few prototypes,
14732 which can conflict with char $ac_func (); below.
14733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14734 <limits.h> exists even on freestanding compilers. */
14736 #ifdef __STDC__
14737 # include <limits.h>
14738 #else
14739 # include <assert.h>
14740 #endif
14742 #undef $ac_func
14744 /* Override any gcc2 internal prototype to avoid an error. */
14745 #ifdef __cplusplus
14746 extern "C"
14748 #endif
14749 /* We use char because int might match the return type of a gcc2
14750 builtin and then its argument prototype would still apply. */
14751 char $ac_func ();
14752 /* The GNU C library defines this for functions which it implements
14753 to always fail with ENOSYS. Some functions are actually named
14754 something starting with __ and the normal name is an alias. */
14755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14756 choke me
14757 #else
14758 char (*f) () = $ac_func;
14759 #endif
14760 #ifdef __cplusplus
14762 #endif
14765 main ()
14767 return f != $ac_func;
14769 return 0;
14771 _ACEOF
14772 rm -f conftest.$ac_objext conftest$ac_exeext
14773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14774 (eval $ac_link) 2>conftest.er1
14775 ac_status=$?
14776 grep -v '^ *+' conftest.er1 >conftest.err
14777 rm -f conftest.er1
14778 cat conftest.err >&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } &&
14781 { ac_try='test -z "$ac_c_werror_flag"
14782 || test ! -s conftest.err'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14785 ac_status=$?
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; } &&
14788 { ac_try='test -s conftest$ac_exeext'
14789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14790 (eval $ac_try) 2>&5
14791 ac_status=$?
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); }; }; then
14794 eval "$as_ac_var=yes"
14795 else
14796 echo "$as_me: failed program was:" >&5
14797 sed 's/^/| /' conftest.$ac_ext >&5
14799 eval "$as_ac_var=no"
14801 rm -f conftest.err conftest.$ac_objext \
14802 conftest$ac_exeext conftest.$ac_ext
14804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14806 if test `eval echo '${'$as_ac_var'}'` = yes; then
14807 cat >>confdefs.h <<_ACEOF
14808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14809 _ACEOF
14812 done
14822 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14823 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14824 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14825 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14826 echo $ECHO_N "(cached) $ECHO_C" >&6
14827 else
14831 ac_ext=cc
14832 ac_cpp='$CXXCPP $CPPFLAGS'
14833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14837 cat >conftest.$ac_ext <<_ACEOF
14838 /* confdefs.h. */
14839 _ACEOF
14840 cat confdefs.h >>conftest.$ac_ext
14841 cat >>conftest.$ac_ext <<_ACEOF
14842 /* end confdefs.h. */
14843 #include <math.h>
14845 main ()
14847 hypotf(0, 0);
14849 return 0;
14851 _ACEOF
14852 rm -f conftest.$ac_objext
14853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14854 (eval $ac_compile) 2>conftest.er1
14855 ac_status=$?
14856 grep -v '^ *+' conftest.er1 >conftest.err
14857 rm -f conftest.er1
14858 cat conftest.err >&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); } &&
14861 { ac_try='test -z "$ac_cxx_werror_flag"
14862 || test ! -s conftest.err'
14863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864 (eval $ac_try) 2>&5
14865 ac_status=$?
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); }; } &&
14868 { ac_try='test -s conftest.$ac_objext'
14869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14871 ac_status=$?
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; }; then
14874 glibcxx_cv_func_hypotf_use=yes
14875 else
14876 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.$ac_ext >&5
14879 glibcxx_cv_func_hypotf_use=no
14881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14882 ac_ext=c
14883 ac_cpp='$CPP $CPPFLAGS'
14884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14892 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14893 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14895 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14897 for ac_func in hypotf
14899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14900 echo "$as_me:$LINENO: checking for $ac_func" >&5
14901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14902 if eval "test \"\${$as_ac_var+set}\" = set"; then
14903 echo $ECHO_N "(cached) $ECHO_C" >&6
14904 else
14905 if test x$gcc_no_link = xyes; then
14906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14908 { (exit 1); exit 1; }; }
14910 cat >conftest.$ac_ext <<_ACEOF
14911 /* confdefs.h. */
14912 _ACEOF
14913 cat confdefs.h >>conftest.$ac_ext
14914 cat >>conftest.$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14918 #define $ac_func innocuous_$ac_func
14920 /* System header to define __stub macros and hopefully few prototypes,
14921 which can conflict with char $ac_func (); below.
14922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14923 <limits.h> exists even on freestanding compilers. */
14925 #ifdef __STDC__
14926 # include <limits.h>
14927 #else
14928 # include <assert.h>
14929 #endif
14931 #undef $ac_func
14933 /* Override any gcc2 internal prototype to avoid an error. */
14934 #ifdef __cplusplus
14935 extern "C"
14937 #endif
14938 /* We use char because int might match the return type of a gcc2
14939 builtin and then its argument prototype would still apply. */
14940 char $ac_func ();
14941 /* The GNU C library defines this for functions which it implements
14942 to always fail with ENOSYS. Some functions are actually named
14943 something starting with __ and the normal name is an alias. */
14944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14945 choke me
14946 #else
14947 char (*f) () = $ac_func;
14948 #endif
14949 #ifdef __cplusplus
14951 #endif
14954 main ()
14956 return f != $ac_func;
14958 return 0;
14960 _ACEOF
14961 rm -f conftest.$ac_objext conftest$ac_exeext
14962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14963 (eval $ac_link) 2>conftest.er1
14964 ac_status=$?
14965 grep -v '^ *+' conftest.er1 >conftest.err
14966 rm -f conftest.er1
14967 cat conftest.err >&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } &&
14970 { ac_try='test -z "$ac_c_werror_flag"
14971 || test ! -s conftest.err'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14974 ac_status=$?
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; } &&
14977 { ac_try='test -s conftest$ac_exeext'
14978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14979 (eval $ac_try) 2>&5
14980 ac_status=$?
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); }; }; then
14983 eval "$as_ac_var=yes"
14984 else
14985 echo "$as_me: failed program was:" >&5
14986 sed 's/^/| /' conftest.$ac_ext >&5
14988 eval "$as_ac_var=no"
14990 rm -f conftest.err conftest.$ac_objext \
14991 conftest$ac_exeext conftest.$ac_ext
14993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14995 if test `eval echo '${'$as_ac_var'}'` = yes; then
14996 cat >>confdefs.h <<_ACEOF
14997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14998 _ACEOF
15001 done
15003 else
15005 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15006 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15007 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15008 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15009 echo $ECHO_N "(cached) $ECHO_C" >&6
15010 else
15014 ac_ext=cc
15015 ac_cpp='$CXXCPP $CPPFLAGS'
15016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15020 cat >conftest.$ac_ext <<_ACEOF
15021 /* confdefs.h. */
15022 _ACEOF
15023 cat confdefs.h >>conftest.$ac_ext
15024 cat >>conftest.$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15026 #include <math.h>
15028 main ()
15030 _hypotf(0, 0);
15032 return 0;
15034 _ACEOF
15035 rm -f conftest.$ac_objext
15036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15037 (eval $ac_compile) 2>conftest.er1
15038 ac_status=$?
15039 grep -v '^ *+' conftest.er1 >conftest.err
15040 rm -f conftest.er1
15041 cat conftest.err >&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); } &&
15044 { ac_try='test -z "$ac_cxx_werror_flag"
15045 || test ! -s conftest.err'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15048 ac_status=$?
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; } &&
15051 { ac_try='test -s conftest.$ac_objext'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15054 ac_status=$?
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; }; then
15057 glibcxx_cv_func__hypotf_use=yes
15058 else
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.$ac_ext >&5
15062 glibcxx_cv_func__hypotf_use=no
15064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15065 ac_ext=c
15066 ac_cpp='$CPP $CPPFLAGS'
15067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15075 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15076 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15078 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15080 for ac_func in _hypotf
15082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15083 echo "$as_me:$LINENO: checking for $ac_func" >&5
15084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15085 if eval "test \"\${$as_ac_var+set}\" = set"; then
15086 echo $ECHO_N "(cached) $ECHO_C" >&6
15087 else
15088 if test x$gcc_no_link = xyes; then
15089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15091 { (exit 1); exit 1; }; }
15093 cat >conftest.$ac_ext <<_ACEOF
15094 /* confdefs.h. */
15095 _ACEOF
15096 cat confdefs.h >>conftest.$ac_ext
15097 cat >>conftest.$ac_ext <<_ACEOF
15098 /* end confdefs.h. */
15099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15101 #define $ac_func innocuous_$ac_func
15103 /* System header to define __stub macros and hopefully few prototypes,
15104 which can conflict with char $ac_func (); below.
15105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15106 <limits.h> exists even on freestanding compilers. */
15108 #ifdef __STDC__
15109 # include <limits.h>
15110 #else
15111 # include <assert.h>
15112 #endif
15114 #undef $ac_func
15116 /* Override any gcc2 internal prototype to avoid an error. */
15117 #ifdef __cplusplus
15118 extern "C"
15120 #endif
15121 /* We use char because int might match the return type of a gcc2
15122 builtin and then its argument prototype would still apply. */
15123 char $ac_func ();
15124 /* The GNU C library defines this for functions which it implements
15125 to always fail with ENOSYS. Some functions are actually named
15126 something starting with __ and the normal name is an alias. */
15127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15128 choke me
15129 #else
15130 char (*f) () = $ac_func;
15131 #endif
15132 #ifdef __cplusplus
15134 #endif
15137 main ()
15139 return f != $ac_func;
15141 return 0;
15143 _ACEOF
15144 rm -f conftest.$ac_objext conftest$ac_exeext
15145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15146 (eval $ac_link) 2>conftest.er1
15147 ac_status=$?
15148 grep -v '^ *+' conftest.er1 >conftest.err
15149 rm -f conftest.er1
15150 cat conftest.err >&5
15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152 (exit $ac_status); } &&
15153 { ac_try='test -z "$ac_c_werror_flag"
15154 || test ! -s conftest.err'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15157 ac_status=$?
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; } &&
15160 { ac_try='test -s conftest$ac_exeext'
15161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15162 (eval $ac_try) 2>&5
15163 ac_status=$?
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); }; }; then
15166 eval "$as_ac_var=yes"
15167 else
15168 echo "$as_me: failed program was:" >&5
15169 sed 's/^/| /' conftest.$ac_ext >&5
15171 eval "$as_ac_var=no"
15173 rm -f conftest.err conftest.$ac_objext \
15174 conftest$ac_exeext conftest.$ac_ext
15176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15178 if test `eval echo '${'$as_ac_var'}'` = yes; then
15179 cat >>confdefs.h <<_ACEOF
15180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15181 _ACEOF
15184 done
15194 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15195 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15196 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15197 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15198 echo $ECHO_N "(cached) $ECHO_C" >&6
15199 else
15203 ac_ext=cc
15204 ac_cpp='$CXXCPP $CPPFLAGS'
15205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15209 cat >conftest.$ac_ext <<_ACEOF
15210 /* confdefs.h. */
15211 _ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215 #include <math.h>
15217 main ()
15219 ldexpf(0, 0);
15221 return 0;
15223 _ACEOF
15224 rm -f conftest.$ac_objext
15225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15226 (eval $ac_compile) 2>conftest.er1
15227 ac_status=$?
15228 grep -v '^ *+' conftest.er1 >conftest.err
15229 rm -f conftest.er1
15230 cat conftest.err >&5
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); } &&
15233 { ac_try='test -z "$ac_cxx_werror_flag"
15234 || test ! -s conftest.err'
15235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15236 (eval $ac_try) 2>&5
15237 ac_status=$?
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); }; } &&
15240 { ac_try='test -s conftest.$ac_objext'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15243 ac_status=$?
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; }; then
15246 glibcxx_cv_func_ldexpf_use=yes
15247 else
15248 echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.$ac_ext >&5
15251 glibcxx_cv_func_ldexpf_use=no
15253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15254 ac_ext=c
15255 ac_cpp='$CPP $CPPFLAGS'
15256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15264 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15265 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15267 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15269 for ac_func in ldexpf
15271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15272 echo "$as_me:$LINENO: checking for $ac_func" >&5
15273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15274 if eval "test \"\${$as_ac_var+set}\" = set"; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15276 else
15277 if test x$gcc_no_link = xyes; then
15278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15280 { (exit 1); exit 1; }; }
15282 cat >conftest.$ac_ext <<_ACEOF
15283 /* confdefs.h. */
15284 _ACEOF
15285 cat confdefs.h >>conftest.$ac_ext
15286 cat >>conftest.$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15290 #define $ac_func innocuous_$ac_func
15292 /* System header to define __stub macros and hopefully few prototypes,
15293 which can conflict with char $ac_func (); below.
15294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15295 <limits.h> exists even on freestanding compilers. */
15297 #ifdef __STDC__
15298 # include <limits.h>
15299 #else
15300 # include <assert.h>
15301 #endif
15303 #undef $ac_func
15305 /* Override any gcc2 internal prototype to avoid an error. */
15306 #ifdef __cplusplus
15307 extern "C"
15309 #endif
15310 /* We use char because int might match the return type of a gcc2
15311 builtin and then its argument prototype would still apply. */
15312 char $ac_func ();
15313 /* The GNU C library defines this for functions which it implements
15314 to always fail with ENOSYS. Some functions are actually named
15315 something starting with __ and the normal name is an alias. */
15316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15317 choke me
15318 #else
15319 char (*f) () = $ac_func;
15320 #endif
15321 #ifdef __cplusplus
15323 #endif
15326 main ()
15328 return f != $ac_func;
15330 return 0;
15332 _ACEOF
15333 rm -f conftest.$ac_objext conftest$ac_exeext
15334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15335 (eval $ac_link) 2>conftest.er1
15336 ac_status=$?
15337 grep -v '^ *+' conftest.er1 >conftest.err
15338 rm -f conftest.er1
15339 cat conftest.err >&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); } &&
15342 { ac_try='test -z "$ac_c_werror_flag"
15343 || test ! -s conftest.err'
15344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15345 (eval $ac_try) 2>&5
15346 ac_status=$?
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); }; } &&
15349 { ac_try='test -s conftest$ac_exeext'
15350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15351 (eval $ac_try) 2>&5
15352 ac_status=$?
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); }; }; then
15355 eval "$as_ac_var=yes"
15356 else
15357 echo "$as_me: failed program was:" >&5
15358 sed 's/^/| /' conftest.$ac_ext >&5
15360 eval "$as_ac_var=no"
15362 rm -f conftest.err conftest.$ac_objext \
15363 conftest$ac_exeext conftest.$ac_ext
15365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15367 if test `eval echo '${'$as_ac_var'}'` = yes; then
15368 cat >>confdefs.h <<_ACEOF
15369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15370 _ACEOF
15373 done
15375 else
15377 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15378 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15379 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15380 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15381 echo $ECHO_N "(cached) $ECHO_C" >&6
15382 else
15386 ac_ext=cc
15387 ac_cpp='$CXXCPP $CPPFLAGS'
15388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15392 cat >conftest.$ac_ext <<_ACEOF
15393 /* confdefs.h. */
15394 _ACEOF
15395 cat confdefs.h >>conftest.$ac_ext
15396 cat >>conftest.$ac_ext <<_ACEOF
15397 /* end confdefs.h. */
15398 #include <math.h>
15400 main ()
15402 _ldexpf(0, 0);
15404 return 0;
15406 _ACEOF
15407 rm -f conftest.$ac_objext
15408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15409 (eval $ac_compile) 2>conftest.er1
15410 ac_status=$?
15411 grep -v '^ *+' conftest.er1 >conftest.err
15412 rm -f conftest.er1
15413 cat conftest.err >&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); } &&
15416 { ac_try='test -z "$ac_cxx_werror_flag"
15417 || test ! -s conftest.err'
15418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15419 (eval $ac_try) 2>&5
15420 ac_status=$?
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); }; } &&
15423 { ac_try='test -s conftest.$ac_objext'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15426 ac_status=$?
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; }; then
15429 glibcxx_cv_func__ldexpf_use=yes
15430 else
15431 echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15434 glibcxx_cv_func__ldexpf_use=no
15436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15437 ac_ext=c
15438 ac_cpp='$CPP $CPPFLAGS'
15439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15447 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15448 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15450 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15452 for ac_func in _ldexpf
15454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15455 echo "$as_me:$LINENO: checking for $ac_func" >&5
15456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15457 if eval "test \"\${$as_ac_var+set}\" = set"; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460 if test x$gcc_no_link = xyes; then
15461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15463 { (exit 1); exit 1; }; }
15465 cat >conftest.$ac_ext <<_ACEOF
15466 /* confdefs.h. */
15467 _ACEOF
15468 cat confdefs.h >>conftest.$ac_ext
15469 cat >>conftest.$ac_ext <<_ACEOF
15470 /* end confdefs.h. */
15471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15473 #define $ac_func innocuous_$ac_func
15475 /* System header to define __stub macros and hopefully few prototypes,
15476 which can conflict with char $ac_func (); below.
15477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15478 <limits.h> exists even on freestanding compilers. */
15480 #ifdef __STDC__
15481 # include <limits.h>
15482 #else
15483 # include <assert.h>
15484 #endif
15486 #undef $ac_func
15488 /* Override any gcc2 internal prototype to avoid an error. */
15489 #ifdef __cplusplus
15490 extern "C"
15492 #endif
15493 /* We use char because int might match the return type of a gcc2
15494 builtin and then its argument prototype would still apply. */
15495 char $ac_func ();
15496 /* The GNU C library defines this for functions which it implements
15497 to always fail with ENOSYS. Some functions are actually named
15498 something starting with __ and the normal name is an alias. */
15499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15500 choke me
15501 #else
15502 char (*f) () = $ac_func;
15503 #endif
15504 #ifdef __cplusplus
15506 #endif
15509 main ()
15511 return f != $ac_func;
15513 return 0;
15515 _ACEOF
15516 rm -f conftest.$ac_objext conftest$ac_exeext
15517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15518 (eval $ac_link) 2>conftest.er1
15519 ac_status=$?
15520 grep -v '^ *+' conftest.er1 >conftest.err
15521 rm -f conftest.er1
15522 cat conftest.err >&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); } &&
15525 { ac_try='test -z "$ac_c_werror_flag"
15526 || test ! -s conftest.err'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15529 ac_status=$?
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; } &&
15532 { ac_try='test -s conftest$ac_exeext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 eval "$as_ac_var=yes"
15539 else
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15543 eval "$as_ac_var=no"
15545 rm -f conftest.err conftest.$ac_objext \
15546 conftest$ac_exeext conftest.$ac_ext
15548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15550 if test `eval echo '${'$as_ac_var'}'` = yes; then
15551 cat >>confdefs.h <<_ACEOF
15552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15553 _ACEOF
15556 done
15566 echo "$as_me:$LINENO: checking for logf declaration" >&5
15567 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15568 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15569 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 else
15575 ac_ext=cc
15576 ac_cpp='$CXXCPP $CPPFLAGS'
15577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15581 cat >conftest.$ac_ext <<_ACEOF
15582 /* confdefs.h. */
15583 _ACEOF
15584 cat confdefs.h >>conftest.$ac_ext
15585 cat >>conftest.$ac_ext <<_ACEOF
15586 /* end confdefs.h. */
15587 #include <math.h>
15588 #ifdef HAVE_IEEEFP_H
15589 #include <ieeefp.h>
15590 #endif
15593 main ()
15595 logf(0);
15597 return 0;
15599 _ACEOF
15600 rm -f conftest.$ac_objext
15601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15602 (eval $ac_compile) 2>conftest.er1
15603 ac_status=$?
15604 grep -v '^ *+' conftest.er1 >conftest.err
15605 rm -f conftest.er1
15606 cat conftest.err >&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); } &&
15609 { ac_try='test -z "$ac_cxx_werror_flag"
15610 || test ! -s conftest.err'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; } &&
15616 { ac_try='test -s conftest.$ac_objext'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15619 ac_status=$?
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; }; then
15622 glibcxx_cv_func_logf_use=yes
15623 else
15624 echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.$ac_ext >&5
15627 glibcxx_cv_func_logf_use=no
15629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15630 ac_ext=c
15631 ac_cpp='$CPP $CPPFLAGS'
15632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15640 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15641 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15643 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15645 for ac_func in logf
15647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15648 echo "$as_me:$LINENO: checking for $ac_func" >&5
15649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15650 if eval "test \"\${$as_ac_var+set}\" = set"; then
15651 echo $ECHO_N "(cached) $ECHO_C" >&6
15652 else
15653 if test x$gcc_no_link = xyes; then
15654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15656 { (exit 1); exit 1; }; }
15658 cat >conftest.$ac_ext <<_ACEOF
15659 /* confdefs.h. */
15660 _ACEOF
15661 cat confdefs.h >>conftest.$ac_ext
15662 cat >>conftest.$ac_ext <<_ACEOF
15663 /* end confdefs.h. */
15664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15666 #define $ac_func innocuous_$ac_func
15668 /* System header to define __stub macros and hopefully few prototypes,
15669 which can conflict with char $ac_func (); below.
15670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15671 <limits.h> exists even on freestanding compilers. */
15673 #ifdef __STDC__
15674 # include <limits.h>
15675 #else
15676 # include <assert.h>
15677 #endif
15679 #undef $ac_func
15681 /* Override any gcc2 internal prototype to avoid an error. */
15682 #ifdef __cplusplus
15683 extern "C"
15685 #endif
15686 /* We use char because int might match the return type of a gcc2
15687 builtin and then its argument prototype would still apply. */
15688 char $ac_func ();
15689 /* The GNU C library defines this for functions which it implements
15690 to always fail with ENOSYS. Some functions are actually named
15691 something starting with __ and the normal name is an alias. */
15692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15693 choke me
15694 #else
15695 char (*f) () = $ac_func;
15696 #endif
15697 #ifdef __cplusplus
15699 #endif
15702 main ()
15704 return f != $ac_func;
15706 return 0;
15708 _ACEOF
15709 rm -f conftest.$ac_objext conftest$ac_exeext
15710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15711 (eval $ac_link) 2>conftest.er1
15712 ac_status=$?
15713 grep -v '^ *+' conftest.er1 >conftest.err
15714 rm -f conftest.er1
15715 cat conftest.err >&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); } &&
15718 { ac_try='test -z "$ac_c_werror_flag"
15719 || test ! -s conftest.err'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15722 ac_status=$?
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; } &&
15725 { ac_try='test -s conftest$ac_exeext'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15728 ac_status=$?
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; }; then
15731 eval "$as_ac_var=yes"
15732 else
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15736 eval "$as_ac_var=no"
15738 rm -f conftest.err conftest.$ac_objext \
15739 conftest$ac_exeext conftest.$ac_ext
15741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15743 if test `eval echo '${'$as_ac_var'}'` = yes; then
15744 cat >>confdefs.h <<_ACEOF
15745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15746 _ACEOF
15749 done
15751 else
15753 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15754 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15755 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15756 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15757 echo $ECHO_N "(cached) $ECHO_C" >&6
15758 else
15762 ac_ext=cc
15763 ac_cpp='$CXXCPP $CPPFLAGS'
15764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15768 cat >conftest.$ac_ext <<_ACEOF
15769 /* confdefs.h. */
15770 _ACEOF
15771 cat confdefs.h >>conftest.$ac_ext
15772 cat >>conftest.$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774 #include <math.h>
15775 #ifdef HAVE_IEEEFP_H
15776 #include <ieeefp.h>
15777 #endif
15780 main ()
15782 _logf(0);
15784 return 0;
15786 _ACEOF
15787 rm -f conftest.$ac_objext
15788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15789 (eval $ac_compile) 2>conftest.er1
15790 ac_status=$?
15791 grep -v '^ *+' conftest.er1 >conftest.err
15792 rm -f conftest.er1
15793 cat conftest.err >&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); } &&
15796 { ac_try='test -z "$ac_cxx_werror_flag"
15797 || test ! -s conftest.err'
15798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15799 (eval $ac_try) 2>&5
15800 ac_status=$?
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; } &&
15803 { ac_try='test -s conftest.$ac_objext'
15804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15805 (eval $ac_try) 2>&5
15806 ac_status=$?
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); }; }; then
15809 glibcxx_cv_func__logf_use=yes
15810 else
15811 echo "$as_me: failed program was:" >&5
15812 sed 's/^/| /' conftest.$ac_ext >&5
15814 glibcxx_cv_func__logf_use=no
15816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15817 ac_ext=c
15818 ac_cpp='$CPP $CPPFLAGS'
15819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15827 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15828 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15830 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15832 for ac_func in _logf
15834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15835 echo "$as_me:$LINENO: checking for $ac_func" >&5
15836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15837 if eval "test \"\${$as_ac_var+set}\" = set"; then
15838 echo $ECHO_N "(cached) $ECHO_C" >&6
15839 else
15840 if test x$gcc_no_link = xyes; then
15841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15843 { (exit 1); exit 1; }; }
15845 cat >conftest.$ac_ext <<_ACEOF
15846 /* confdefs.h. */
15847 _ACEOF
15848 cat confdefs.h >>conftest.$ac_ext
15849 cat >>conftest.$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15853 #define $ac_func innocuous_$ac_func
15855 /* System header to define __stub macros and hopefully few prototypes,
15856 which can conflict with char $ac_func (); below.
15857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15858 <limits.h> exists even on freestanding compilers. */
15860 #ifdef __STDC__
15861 # include <limits.h>
15862 #else
15863 # include <assert.h>
15864 #endif
15866 #undef $ac_func
15868 /* Override any gcc2 internal prototype to avoid an error. */
15869 #ifdef __cplusplus
15870 extern "C"
15872 #endif
15873 /* We use char because int might match the return type of a gcc2
15874 builtin and then its argument prototype would still apply. */
15875 char $ac_func ();
15876 /* The GNU C library defines this for functions which it implements
15877 to always fail with ENOSYS. Some functions are actually named
15878 something starting with __ and the normal name is an alias. */
15879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15880 choke me
15881 #else
15882 char (*f) () = $ac_func;
15883 #endif
15884 #ifdef __cplusplus
15886 #endif
15889 main ()
15891 return f != $ac_func;
15893 return 0;
15895 _ACEOF
15896 rm -f conftest.$ac_objext conftest$ac_exeext
15897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15898 (eval $ac_link) 2>conftest.er1
15899 ac_status=$?
15900 grep -v '^ *+' conftest.er1 >conftest.err
15901 rm -f conftest.er1
15902 cat conftest.err >&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } &&
15905 { ac_try='test -z "$ac_c_werror_flag"
15906 || test ! -s conftest.err'
15907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908 (eval $ac_try) 2>&5
15909 ac_status=$?
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; } &&
15912 { ac_try='test -s conftest$ac_exeext'
15913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15914 (eval $ac_try) 2>&5
15915 ac_status=$?
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); }; }; then
15918 eval "$as_ac_var=yes"
15919 else
15920 echo "$as_me: failed program was:" >&5
15921 sed 's/^/| /' conftest.$ac_ext >&5
15923 eval "$as_ac_var=no"
15925 rm -f conftest.err conftest.$ac_objext \
15926 conftest$ac_exeext conftest.$ac_ext
15928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15930 if test `eval echo '${'$as_ac_var'}'` = yes; then
15931 cat >>confdefs.h <<_ACEOF
15932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15933 _ACEOF
15936 done
15946 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15947 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15948 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15949 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15951 else
15955 ac_ext=cc
15956 ac_cpp='$CXXCPP $CPPFLAGS'
15957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15961 cat >conftest.$ac_ext <<_ACEOF
15962 /* confdefs.h. */
15963 _ACEOF
15964 cat confdefs.h >>conftest.$ac_ext
15965 cat >>conftest.$ac_ext <<_ACEOF
15966 /* end confdefs.h. */
15967 #include <math.h>
15968 #ifdef HAVE_IEEEFP_H
15969 #include <ieeefp.h>
15970 #endif
15973 main ()
15975 log10f(0);
15977 return 0;
15979 _ACEOF
15980 rm -f conftest.$ac_objext
15981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15982 (eval $ac_compile) 2>conftest.er1
15983 ac_status=$?
15984 grep -v '^ *+' conftest.er1 >conftest.err
15985 rm -f conftest.er1
15986 cat conftest.err >&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } &&
15989 { ac_try='test -z "$ac_cxx_werror_flag"
15990 || test ! -s conftest.err'
15991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992 (eval $ac_try) 2>&5
15993 ac_status=$?
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); }; } &&
15996 { ac_try='test -s conftest.$ac_objext'
15997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998 (eval $ac_try) 2>&5
15999 ac_status=$?
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); }; }; then
16002 glibcxx_cv_func_log10f_use=yes
16003 else
16004 echo "$as_me: failed program was:" >&5
16005 sed 's/^/| /' conftest.$ac_ext >&5
16007 glibcxx_cv_func_log10f_use=no
16009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16010 ac_ext=c
16011 ac_cpp='$CPP $CPPFLAGS'
16012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16020 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16021 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16023 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16025 for ac_func in log10f
16027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16028 echo "$as_me:$LINENO: checking for $ac_func" >&5
16029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16030 if eval "test \"\${$as_ac_var+set}\" = set"; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16032 else
16033 if test x$gcc_no_link = xyes; then
16034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16036 { (exit 1); exit 1; }; }
16038 cat >conftest.$ac_ext <<_ACEOF
16039 /* confdefs.h. */
16040 _ACEOF
16041 cat confdefs.h >>conftest.$ac_ext
16042 cat >>conftest.$ac_ext <<_ACEOF
16043 /* end confdefs.h. */
16044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16046 #define $ac_func innocuous_$ac_func
16048 /* System header to define __stub macros and hopefully few prototypes,
16049 which can conflict with char $ac_func (); below.
16050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16051 <limits.h> exists even on freestanding compilers. */
16053 #ifdef __STDC__
16054 # include <limits.h>
16055 #else
16056 # include <assert.h>
16057 #endif
16059 #undef $ac_func
16061 /* Override any gcc2 internal prototype to avoid an error. */
16062 #ifdef __cplusplus
16063 extern "C"
16065 #endif
16066 /* We use char because int might match the return type of a gcc2
16067 builtin and then its argument prototype would still apply. */
16068 char $ac_func ();
16069 /* The GNU C library defines this for functions which it implements
16070 to always fail with ENOSYS. Some functions are actually named
16071 something starting with __ and the normal name is an alias. */
16072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16073 choke me
16074 #else
16075 char (*f) () = $ac_func;
16076 #endif
16077 #ifdef __cplusplus
16079 #endif
16082 main ()
16084 return f != $ac_func;
16086 return 0;
16088 _ACEOF
16089 rm -f conftest.$ac_objext conftest$ac_exeext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16091 (eval $ac_link) 2>conftest.er1
16092 ac_status=$?
16093 grep -v '^ *+' conftest.er1 >conftest.err
16094 rm -f conftest.er1
16095 cat conftest.err >&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try='test -z "$ac_c_werror_flag"
16099 || test ! -s conftest.err'
16100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16101 (eval $ac_try) 2>&5
16102 ac_status=$?
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); }; } &&
16105 { ac_try='test -s conftest$ac_exeext'
16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16108 ac_status=$?
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; }; then
16111 eval "$as_ac_var=yes"
16112 else
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.$ac_ext >&5
16116 eval "$as_ac_var=no"
16118 rm -f conftest.err conftest.$ac_objext \
16119 conftest$ac_exeext conftest.$ac_ext
16121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16123 if test `eval echo '${'$as_ac_var'}'` = yes; then
16124 cat >>confdefs.h <<_ACEOF
16125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16126 _ACEOF
16129 done
16131 else
16133 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16134 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16135 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16136 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16137 echo $ECHO_N "(cached) $ECHO_C" >&6
16138 else
16142 ac_ext=cc
16143 ac_cpp='$CXXCPP $CPPFLAGS'
16144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16148 cat >conftest.$ac_ext <<_ACEOF
16149 /* confdefs.h. */
16150 _ACEOF
16151 cat confdefs.h >>conftest.$ac_ext
16152 cat >>conftest.$ac_ext <<_ACEOF
16153 /* end confdefs.h. */
16154 #include <math.h>
16155 #ifdef HAVE_IEEEFP_H
16156 #include <ieeefp.h>
16157 #endif
16160 main ()
16162 _log10f(0);
16164 return 0;
16166 _ACEOF
16167 rm -f conftest.$ac_objext
16168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16169 (eval $ac_compile) 2>conftest.er1
16170 ac_status=$?
16171 grep -v '^ *+' conftest.er1 >conftest.err
16172 rm -f conftest.er1
16173 cat conftest.err >&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } &&
16176 { ac_try='test -z "$ac_cxx_werror_flag"
16177 || test ! -s conftest.err'
16178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179 (eval $ac_try) 2>&5
16180 ac_status=$?
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); }; } &&
16183 { ac_try='test -s conftest.$ac_objext'
16184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185 (eval $ac_try) 2>&5
16186 ac_status=$?
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); }; }; then
16189 glibcxx_cv_func__log10f_use=yes
16190 else
16191 echo "$as_me: failed program was:" >&5
16192 sed 's/^/| /' conftest.$ac_ext >&5
16194 glibcxx_cv_func__log10f_use=no
16196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16197 ac_ext=c
16198 ac_cpp='$CPP $CPPFLAGS'
16199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16207 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16208 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16210 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16212 for ac_func in _log10f
16214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16215 echo "$as_me:$LINENO: checking for $ac_func" >&5
16216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16217 if eval "test \"\${$as_ac_var+set}\" = set"; then
16218 echo $ECHO_N "(cached) $ECHO_C" >&6
16219 else
16220 if test x$gcc_no_link = xyes; then
16221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16223 { (exit 1); exit 1; }; }
16225 cat >conftest.$ac_ext <<_ACEOF
16226 /* confdefs.h. */
16227 _ACEOF
16228 cat confdefs.h >>conftest.$ac_ext
16229 cat >>conftest.$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16233 #define $ac_func innocuous_$ac_func
16235 /* System header to define __stub macros and hopefully few prototypes,
16236 which can conflict with char $ac_func (); below.
16237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16238 <limits.h> exists even on freestanding compilers. */
16240 #ifdef __STDC__
16241 # include <limits.h>
16242 #else
16243 # include <assert.h>
16244 #endif
16246 #undef $ac_func
16248 /* Override any gcc2 internal prototype to avoid an error. */
16249 #ifdef __cplusplus
16250 extern "C"
16252 #endif
16253 /* We use char because int might match the return type of a gcc2
16254 builtin and then its argument prototype would still apply. */
16255 char $ac_func ();
16256 /* The GNU C library defines this for functions which it implements
16257 to always fail with ENOSYS. Some functions are actually named
16258 something starting with __ and the normal name is an alias. */
16259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16260 choke me
16261 #else
16262 char (*f) () = $ac_func;
16263 #endif
16264 #ifdef __cplusplus
16266 #endif
16269 main ()
16271 return f != $ac_func;
16273 return 0;
16275 _ACEOF
16276 rm -f conftest.$ac_objext conftest$ac_exeext
16277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16278 (eval $ac_link) 2>conftest.er1
16279 ac_status=$?
16280 grep -v '^ *+' conftest.er1 >conftest.err
16281 rm -f conftest.er1
16282 cat conftest.err >&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } &&
16285 { ac_try='test -z "$ac_c_werror_flag"
16286 || test ! -s conftest.err'
16287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16288 (eval $ac_try) 2>&5
16289 ac_status=$?
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); }; } &&
16292 { ac_try='test -s conftest$ac_exeext'
16293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16294 (eval $ac_try) 2>&5
16295 ac_status=$?
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); }; }; then
16298 eval "$as_ac_var=yes"
16299 else
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16303 eval "$as_ac_var=no"
16305 rm -f conftest.err conftest.$ac_objext \
16306 conftest$ac_exeext conftest.$ac_ext
16308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16310 if test `eval echo '${'$as_ac_var'}'` = yes; then
16311 cat >>confdefs.h <<_ACEOF
16312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16313 _ACEOF
16316 done
16326 echo "$as_me:$LINENO: checking for modff declaration" >&5
16327 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16328 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16329 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 else
16335 ac_ext=cc
16336 ac_cpp='$CXXCPP $CPPFLAGS'
16337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16341 cat >conftest.$ac_ext <<_ACEOF
16342 /* confdefs.h. */
16343 _ACEOF
16344 cat confdefs.h >>conftest.$ac_ext
16345 cat >>conftest.$ac_ext <<_ACEOF
16346 /* end confdefs.h. */
16347 #include <math.h>
16349 main ()
16351 modff(0, 0);
16353 return 0;
16355 _ACEOF
16356 rm -f conftest.$ac_objext
16357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16358 (eval $ac_compile) 2>conftest.er1
16359 ac_status=$?
16360 grep -v '^ *+' conftest.er1 >conftest.err
16361 rm -f conftest.er1
16362 cat conftest.err >&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } &&
16365 { ac_try='test -z "$ac_cxx_werror_flag"
16366 || test ! -s conftest.err'
16367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368 (eval $ac_try) 2>&5
16369 ac_status=$?
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; } &&
16372 { ac_try='test -s conftest.$ac_objext'
16373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16374 (eval $ac_try) 2>&5
16375 ac_status=$?
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); }; }; then
16378 glibcxx_cv_func_modff_use=yes
16379 else
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.$ac_ext >&5
16383 glibcxx_cv_func_modff_use=no
16385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16386 ac_ext=c
16387 ac_cpp='$CPP $CPPFLAGS'
16388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16396 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16397 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16399 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16401 for ac_func in modff
16403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16404 echo "$as_me:$LINENO: checking for $ac_func" >&5
16405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16406 if eval "test \"\${$as_ac_var+set}\" = set"; then
16407 echo $ECHO_N "(cached) $ECHO_C" >&6
16408 else
16409 if test x$gcc_no_link = xyes; then
16410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16412 { (exit 1); exit 1; }; }
16414 cat >conftest.$ac_ext <<_ACEOF
16415 /* confdefs.h. */
16416 _ACEOF
16417 cat confdefs.h >>conftest.$ac_ext
16418 cat >>conftest.$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16422 #define $ac_func innocuous_$ac_func
16424 /* System header to define __stub macros and hopefully few prototypes,
16425 which can conflict with char $ac_func (); below.
16426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16427 <limits.h> exists even on freestanding compilers. */
16429 #ifdef __STDC__
16430 # include <limits.h>
16431 #else
16432 # include <assert.h>
16433 #endif
16435 #undef $ac_func
16437 /* Override any gcc2 internal prototype to avoid an error. */
16438 #ifdef __cplusplus
16439 extern "C"
16441 #endif
16442 /* We use char because int might match the return type of a gcc2
16443 builtin and then its argument prototype would still apply. */
16444 char $ac_func ();
16445 /* The GNU C library defines this for functions which it implements
16446 to always fail with ENOSYS. Some functions are actually named
16447 something starting with __ and the normal name is an alias. */
16448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16449 choke me
16450 #else
16451 char (*f) () = $ac_func;
16452 #endif
16453 #ifdef __cplusplus
16455 #endif
16458 main ()
16460 return f != $ac_func;
16462 return 0;
16464 _ACEOF
16465 rm -f conftest.$ac_objext conftest$ac_exeext
16466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16467 (eval $ac_link) 2>conftest.er1
16468 ac_status=$?
16469 grep -v '^ *+' conftest.er1 >conftest.err
16470 rm -f conftest.er1
16471 cat conftest.err >&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); } &&
16474 { ac_try='test -z "$ac_c_werror_flag"
16475 || test ! -s conftest.err'
16476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16477 (eval $ac_try) 2>&5
16478 ac_status=$?
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); }; } &&
16481 { ac_try='test -s conftest$ac_exeext'
16482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16483 (eval $ac_try) 2>&5
16484 ac_status=$?
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); }; }; then
16487 eval "$as_ac_var=yes"
16488 else
16489 echo "$as_me: failed program was:" >&5
16490 sed 's/^/| /' conftest.$ac_ext >&5
16492 eval "$as_ac_var=no"
16494 rm -f conftest.err conftest.$ac_objext \
16495 conftest$ac_exeext conftest.$ac_ext
16497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16499 if test `eval echo '${'$as_ac_var'}'` = yes; then
16500 cat >>confdefs.h <<_ACEOF
16501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16502 _ACEOF
16505 done
16507 else
16509 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16510 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16511 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16512 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16513 echo $ECHO_N "(cached) $ECHO_C" >&6
16514 else
16518 ac_ext=cc
16519 ac_cpp='$CXXCPP $CPPFLAGS'
16520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16524 cat >conftest.$ac_ext <<_ACEOF
16525 /* confdefs.h. */
16526 _ACEOF
16527 cat confdefs.h >>conftest.$ac_ext
16528 cat >>conftest.$ac_ext <<_ACEOF
16529 /* end confdefs.h. */
16530 #include <math.h>
16532 main ()
16534 _modff(0, 0);
16536 return 0;
16538 _ACEOF
16539 rm -f conftest.$ac_objext
16540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16541 (eval $ac_compile) 2>conftest.er1
16542 ac_status=$?
16543 grep -v '^ *+' conftest.er1 >conftest.err
16544 rm -f conftest.er1
16545 cat conftest.err >&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try='test -z "$ac_cxx_werror_flag"
16549 || test ! -s conftest.err'
16550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16551 (eval $ac_try) 2>&5
16552 ac_status=$?
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); }; } &&
16555 { ac_try='test -s conftest.$ac_objext'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16558 ac_status=$?
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; }; then
16561 glibcxx_cv_func__modff_use=yes
16562 else
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.$ac_ext >&5
16566 glibcxx_cv_func__modff_use=no
16568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16569 ac_ext=c
16570 ac_cpp='$CPP $CPPFLAGS'
16571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16579 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16580 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16582 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16584 for ac_func in _modff
16586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16587 echo "$as_me:$LINENO: checking for $ac_func" >&5
16588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16589 if eval "test \"\${$as_ac_var+set}\" = set"; then
16590 echo $ECHO_N "(cached) $ECHO_C" >&6
16591 else
16592 if test x$gcc_no_link = xyes; then
16593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16595 { (exit 1); exit 1; }; }
16597 cat >conftest.$ac_ext <<_ACEOF
16598 /* confdefs.h. */
16599 _ACEOF
16600 cat confdefs.h >>conftest.$ac_ext
16601 cat >>conftest.$ac_ext <<_ACEOF
16602 /* end confdefs.h. */
16603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16605 #define $ac_func innocuous_$ac_func
16607 /* System header to define __stub macros and hopefully few prototypes,
16608 which can conflict with char $ac_func (); below.
16609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16610 <limits.h> exists even on freestanding compilers. */
16612 #ifdef __STDC__
16613 # include <limits.h>
16614 #else
16615 # include <assert.h>
16616 #endif
16618 #undef $ac_func
16620 /* Override any gcc2 internal prototype to avoid an error. */
16621 #ifdef __cplusplus
16622 extern "C"
16624 #endif
16625 /* We use char because int might match the return type of a gcc2
16626 builtin and then its argument prototype would still apply. */
16627 char $ac_func ();
16628 /* The GNU C library defines this for functions which it implements
16629 to always fail with ENOSYS. Some functions are actually named
16630 something starting with __ and the normal name is an alias. */
16631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16632 choke me
16633 #else
16634 char (*f) () = $ac_func;
16635 #endif
16636 #ifdef __cplusplus
16638 #endif
16641 main ()
16643 return f != $ac_func;
16645 return 0;
16647 _ACEOF
16648 rm -f conftest.$ac_objext conftest$ac_exeext
16649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16650 (eval $ac_link) 2>conftest.er1
16651 ac_status=$?
16652 grep -v '^ *+' conftest.er1 >conftest.err
16653 rm -f conftest.er1
16654 cat conftest.err >&5
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); } &&
16657 { ac_try='test -z "$ac_c_werror_flag"
16658 || test ! -s conftest.err'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16661 ac_status=$?
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; } &&
16664 { ac_try='test -s conftest$ac_exeext'
16665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666 (eval $ac_try) 2>&5
16667 ac_status=$?
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; }; then
16670 eval "$as_ac_var=yes"
16671 else
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.$ac_ext >&5
16675 eval "$as_ac_var=no"
16677 rm -f conftest.err conftest.$ac_objext \
16678 conftest$ac_exeext conftest.$ac_ext
16680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16682 if test `eval echo '${'$as_ac_var'}'` = yes; then
16683 cat >>confdefs.h <<_ACEOF
16684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16685 _ACEOF
16688 done
16698 echo "$as_me:$LINENO: checking for modf declaration" >&5
16699 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16700 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16701 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16702 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 else
16707 ac_ext=cc
16708 ac_cpp='$CXXCPP $CPPFLAGS'
16709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16713 cat >conftest.$ac_ext <<_ACEOF
16714 /* confdefs.h. */
16715 _ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16719 #include <math.h>
16721 main ()
16723 modf(0, 0);
16725 return 0;
16727 _ACEOF
16728 rm -f conftest.$ac_objext
16729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16730 (eval $ac_compile) 2>conftest.er1
16731 ac_status=$?
16732 grep -v '^ *+' conftest.er1 >conftest.err
16733 rm -f conftest.er1
16734 cat conftest.err >&5
16735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); } &&
16737 { ac_try='test -z "$ac_cxx_werror_flag"
16738 || test ! -s conftest.err'
16739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740 (eval $ac_try) 2>&5
16741 ac_status=$?
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; } &&
16744 { ac_try='test -s conftest.$ac_objext'
16745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16746 (eval $ac_try) 2>&5
16747 ac_status=$?
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); }; }; then
16750 glibcxx_cv_func_modf_use=yes
16751 else
16752 echo "$as_me: failed program was:" >&5
16753 sed 's/^/| /' conftest.$ac_ext >&5
16755 glibcxx_cv_func_modf_use=no
16757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16758 ac_ext=c
16759 ac_cpp='$CPP $CPPFLAGS'
16760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16768 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16769 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16771 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16773 for ac_func in modf
16775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16776 echo "$as_me:$LINENO: checking for $ac_func" >&5
16777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16778 if eval "test \"\${$as_ac_var+set}\" = set"; then
16779 echo $ECHO_N "(cached) $ECHO_C" >&6
16780 else
16781 if test x$gcc_no_link = xyes; then
16782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16784 { (exit 1); exit 1; }; }
16786 cat >conftest.$ac_ext <<_ACEOF
16787 /* confdefs.h. */
16788 _ACEOF
16789 cat confdefs.h >>conftest.$ac_ext
16790 cat >>conftest.$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16794 #define $ac_func innocuous_$ac_func
16796 /* System header to define __stub macros and hopefully few prototypes,
16797 which can conflict with char $ac_func (); below.
16798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16799 <limits.h> exists even on freestanding compilers. */
16801 #ifdef __STDC__
16802 # include <limits.h>
16803 #else
16804 # include <assert.h>
16805 #endif
16807 #undef $ac_func
16809 /* Override any gcc2 internal prototype to avoid an error. */
16810 #ifdef __cplusplus
16811 extern "C"
16813 #endif
16814 /* We use char because int might match the return type of a gcc2
16815 builtin and then its argument prototype would still apply. */
16816 char $ac_func ();
16817 /* The GNU C library defines this for functions which it implements
16818 to always fail with ENOSYS. Some functions are actually named
16819 something starting with __ and the normal name is an alias. */
16820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16821 choke me
16822 #else
16823 char (*f) () = $ac_func;
16824 #endif
16825 #ifdef __cplusplus
16827 #endif
16830 main ()
16832 return f != $ac_func;
16834 return 0;
16836 _ACEOF
16837 rm -f conftest.$ac_objext conftest$ac_exeext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16839 (eval $ac_link) 2>conftest.er1
16840 ac_status=$?
16841 grep -v '^ *+' conftest.er1 >conftest.err
16842 rm -f conftest.er1
16843 cat conftest.err >&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try='test -z "$ac_c_werror_flag"
16847 || test ! -s conftest.err'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16850 ac_status=$?
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; } &&
16853 { ac_try='test -s conftest$ac_exeext'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16856 ac_status=$?
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; }; then
16859 eval "$as_ac_var=yes"
16860 else
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16864 eval "$as_ac_var=no"
16866 rm -f conftest.err conftest.$ac_objext \
16867 conftest$ac_exeext conftest.$ac_ext
16869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16871 if test `eval echo '${'$as_ac_var'}'` = yes; then
16872 cat >>confdefs.h <<_ACEOF
16873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16874 _ACEOF
16877 done
16879 else
16881 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16882 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16883 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16884 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 else
16890 ac_ext=cc
16891 ac_cpp='$CXXCPP $CPPFLAGS'
16892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16896 cat >conftest.$ac_ext <<_ACEOF
16897 /* confdefs.h. */
16898 _ACEOF
16899 cat confdefs.h >>conftest.$ac_ext
16900 cat >>conftest.$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16902 #include <math.h>
16904 main ()
16906 _modf(0, 0);
16908 return 0;
16910 _ACEOF
16911 rm -f conftest.$ac_objext
16912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16913 (eval $ac_compile) 2>conftest.er1
16914 ac_status=$?
16915 grep -v '^ *+' conftest.er1 >conftest.err
16916 rm -f conftest.er1
16917 cat conftest.err >&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } &&
16920 { ac_try='test -z "$ac_cxx_werror_flag"
16921 || test ! -s conftest.err'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16924 ac_status=$?
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try='test -s conftest.$ac_objext'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16930 ac_status=$?
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; }; then
16933 glibcxx_cv_func__modf_use=yes
16934 else
16935 echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.$ac_ext >&5
16938 glibcxx_cv_func__modf_use=no
16940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16941 ac_ext=c
16942 ac_cpp='$CPP $CPPFLAGS'
16943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16951 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16952 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16954 if test x$glibcxx_cv_func__modf_use = x"yes"; then
16956 for ac_func in _modf
16958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16959 echo "$as_me:$LINENO: checking for $ac_func" >&5
16960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16961 if eval "test \"\${$as_ac_var+set}\" = set"; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 else
16964 if test x$gcc_no_link = xyes; then
16965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16967 { (exit 1); exit 1; }; }
16969 cat >conftest.$ac_ext <<_ACEOF
16970 /* confdefs.h. */
16971 _ACEOF
16972 cat confdefs.h >>conftest.$ac_ext
16973 cat >>conftest.$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16977 #define $ac_func innocuous_$ac_func
16979 /* System header to define __stub macros and hopefully few prototypes,
16980 which can conflict with char $ac_func (); below.
16981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16982 <limits.h> exists even on freestanding compilers. */
16984 #ifdef __STDC__
16985 # include <limits.h>
16986 #else
16987 # include <assert.h>
16988 #endif
16990 #undef $ac_func
16992 /* Override any gcc2 internal prototype to avoid an error. */
16993 #ifdef __cplusplus
16994 extern "C"
16996 #endif
16997 /* We use char because int might match the return type of a gcc2
16998 builtin and then its argument prototype would still apply. */
16999 char $ac_func ();
17000 /* The GNU C library defines this for functions which it implements
17001 to always fail with ENOSYS. Some functions are actually named
17002 something starting with __ and the normal name is an alias. */
17003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17004 choke me
17005 #else
17006 char (*f) () = $ac_func;
17007 #endif
17008 #ifdef __cplusplus
17010 #endif
17013 main ()
17015 return f != $ac_func;
17017 return 0;
17019 _ACEOF
17020 rm -f conftest.$ac_objext conftest$ac_exeext
17021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17022 (eval $ac_link) 2>conftest.er1
17023 ac_status=$?
17024 grep -v '^ *+' conftest.er1 >conftest.err
17025 rm -f conftest.er1
17026 cat conftest.err >&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } &&
17029 { ac_try='test -z "$ac_c_werror_flag"
17030 || test ! -s conftest.err'
17031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17032 (eval $ac_try) 2>&5
17033 ac_status=$?
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; } &&
17036 { ac_try='test -s conftest$ac_exeext'
17037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17038 (eval $ac_try) 2>&5
17039 ac_status=$?
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; }; then
17042 eval "$as_ac_var=yes"
17043 else
17044 echo "$as_me: failed program was:" >&5
17045 sed 's/^/| /' conftest.$ac_ext >&5
17047 eval "$as_ac_var=no"
17049 rm -f conftest.err conftest.$ac_objext \
17050 conftest$ac_exeext conftest.$ac_ext
17052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17054 if test `eval echo '${'$as_ac_var'}'` = yes; then
17055 cat >>confdefs.h <<_ACEOF
17056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17057 _ACEOF
17060 done
17070 echo "$as_me:$LINENO: checking for powf declaration" >&5
17071 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17072 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17073 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17074 echo $ECHO_N "(cached) $ECHO_C" >&6
17075 else
17079 ac_ext=cc
17080 ac_cpp='$CXXCPP $CPPFLAGS'
17081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17085 cat >conftest.$ac_ext <<_ACEOF
17086 /* confdefs.h. */
17087 _ACEOF
17088 cat confdefs.h >>conftest.$ac_ext
17089 cat >>conftest.$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17091 #include <math.h>
17093 main ()
17095 powf(0, 0);
17097 return 0;
17099 _ACEOF
17100 rm -f conftest.$ac_objext
17101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17102 (eval $ac_compile) 2>conftest.er1
17103 ac_status=$?
17104 grep -v '^ *+' conftest.er1 >conftest.err
17105 rm -f conftest.er1
17106 cat conftest.err >&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); } &&
17109 { ac_try='test -z "$ac_cxx_werror_flag"
17110 || test ! -s conftest.err'
17111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17112 (eval $ac_try) 2>&5
17113 ac_status=$?
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; } &&
17116 { ac_try='test -s conftest.$ac_objext'
17117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17118 (eval $ac_try) 2>&5
17119 ac_status=$?
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; }; then
17122 glibcxx_cv_func_powf_use=yes
17123 else
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17127 glibcxx_cv_func_powf_use=no
17129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17130 ac_ext=c
17131 ac_cpp='$CPP $CPPFLAGS'
17132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17140 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17141 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17143 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17145 for ac_func in powf
17147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17148 echo "$as_me:$LINENO: checking for $ac_func" >&5
17149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17150 if eval "test \"\${$as_ac_var+set}\" = set"; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 else
17153 if test x$gcc_no_link = xyes; then
17154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17156 { (exit 1); exit 1; }; }
17158 cat >conftest.$ac_ext <<_ACEOF
17159 /* confdefs.h. */
17160 _ACEOF
17161 cat confdefs.h >>conftest.$ac_ext
17162 cat >>conftest.$ac_ext <<_ACEOF
17163 /* end confdefs.h. */
17164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17166 #define $ac_func innocuous_$ac_func
17168 /* System header to define __stub macros and hopefully few prototypes,
17169 which can conflict with char $ac_func (); below.
17170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17171 <limits.h> exists even on freestanding compilers. */
17173 #ifdef __STDC__
17174 # include <limits.h>
17175 #else
17176 # include <assert.h>
17177 #endif
17179 #undef $ac_func
17181 /* Override any gcc2 internal prototype to avoid an error. */
17182 #ifdef __cplusplus
17183 extern "C"
17185 #endif
17186 /* We use char because int might match the return type of a gcc2
17187 builtin and then its argument prototype would still apply. */
17188 char $ac_func ();
17189 /* The GNU C library defines this for functions which it implements
17190 to always fail with ENOSYS. Some functions are actually named
17191 something starting with __ and the normal name is an alias. */
17192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17193 choke me
17194 #else
17195 char (*f) () = $ac_func;
17196 #endif
17197 #ifdef __cplusplus
17199 #endif
17202 main ()
17204 return f != $ac_func;
17206 return 0;
17208 _ACEOF
17209 rm -f conftest.$ac_objext conftest$ac_exeext
17210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17211 (eval $ac_link) 2>conftest.er1
17212 ac_status=$?
17213 grep -v '^ *+' conftest.er1 >conftest.err
17214 rm -f conftest.er1
17215 cat conftest.err >&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); } &&
17218 { ac_try='test -z "$ac_c_werror_flag"
17219 || test ! -s conftest.err'
17220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221 (eval $ac_try) 2>&5
17222 ac_status=$?
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; } &&
17225 { ac_try='test -s conftest$ac_exeext'
17226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17227 (eval $ac_try) 2>&5
17228 ac_status=$?
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); }; }; then
17231 eval "$as_ac_var=yes"
17232 else
17233 echo "$as_me: failed program was:" >&5
17234 sed 's/^/| /' conftest.$ac_ext >&5
17236 eval "$as_ac_var=no"
17238 rm -f conftest.err conftest.$ac_objext \
17239 conftest$ac_exeext conftest.$ac_ext
17241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17243 if test `eval echo '${'$as_ac_var'}'` = yes; then
17244 cat >>confdefs.h <<_ACEOF
17245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17246 _ACEOF
17249 done
17251 else
17253 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17254 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17255 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17256 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17257 echo $ECHO_N "(cached) $ECHO_C" >&6
17258 else
17262 ac_ext=cc
17263 ac_cpp='$CXXCPP $CPPFLAGS'
17264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17268 cat >conftest.$ac_ext <<_ACEOF
17269 /* confdefs.h. */
17270 _ACEOF
17271 cat confdefs.h >>conftest.$ac_ext
17272 cat >>conftest.$ac_ext <<_ACEOF
17273 /* end confdefs.h. */
17274 #include <math.h>
17276 main ()
17278 _powf(0, 0);
17280 return 0;
17282 _ACEOF
17283 rm -f conftest.$ac_objext
17284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17285 (eval $ac_compile) 2>conftest.er1
17286 ac_status=$?
17287 grep -v '^ *+' conftest.er1 >conftest.err
17288 rm -f conftest.er1
17289 cat conftest.err >&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); } &&
17292 { ac_try='test -z "$ac_cxx_werror_flag"
17293 || test ! -s conftest.err'
17294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17295 (eval $ac_try) 2>&5
17296 ac_status=$?
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); }; } &&
17299 { ac_try='test -s conftest.$ac_objext'
17300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301 (eval $ac_try) 2>&5
17302 ac_status=$?
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); }; }; then
17305 glibcxx_cv_func__powf_use=yes
17306 else
17307 echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.$ac_ext >&5
17310 glibcxx_cv_func__powf_use=no
17312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17313 ac_ext=c
17314 ac_cpp='$CPP $CPPFLAGS'
17315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17323 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17324 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17326 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17328 for ac_func in _powf
17330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17331 echo "$as_me:$LINENO: checking for $ac_func" >&5
17332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17333 if eval "test \"\${$as_ac_var+set}\" = set"; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17335 else
17336 if test x$gcc_no_link = xyes; then
17337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17339 { (exit 1); exit 1; }; }
17341 cat >conftest.$ac_ext <<_ACEOF
17342 /* confdefs.h. */
17343 _ACEOF
17344 cat confdefs.h >>conftest.$ac_ext
17345 cat >>conftest.$ac_ext <<_ACEOF
17346 /* end confdefs.h. */
17347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17349 #define $ac_func innocuous_$ac_func
17351 /* System header to define __stub macros and hopefully few prototypes,
17352 which can conflict with char $ac_func (); below.
17353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17354 <limits.h> exists even on freestanding compilers. */
17356 #ifdef __STDC__
17357 # include <limits.h>
17358 #else
17359 # include <assert.h>
17360 #endif
17362 #undef $ac_func
17364 /* Override any gcc2 internal prototype to avoid an error. */
17365 #ifdef __cplusplus
17366 extern "C"
17368 #endif
17369 /* We use char because int might match the return type of a gcc2
17370 builtin and then its argument prototype would still apply. */
17371 char $ac_func ();
17372 /* The GNU C library defines this for functions which it implements
17373 to always fail with ENOSYS. Some functions are actually named
17374 something starting with __ and the normal name is an alias. */
17375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17376 choke me
17377 #else
17378 char (*f) () = $ac_func;
17379 #endif
17380 #ifdef __cplusplus
17382 #endif
17385 main ()
17387 return f != $ac_func;
17389 return 0;
17391 _ACEOF
17392 rm -f conftest.$ac_objext conftest$ac_exeext
17393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17394 (eval $ac_link) 2>conftest.er1
17395 ac_status=$?
17396 grep -v '^ *+' conftest.er1 >conftest.err
17397 rm -f conftest.er1
17398 cat conftest.err >&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); } &&
17401 { ac_try='test -z "$ac_c_werror_flag"
17402 || test ! -s conftest.err'
17403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404 (eval $ac_try) 2>&5
17405 ac_status=$?
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; } &&
17408 { ac_try='test -s conftest$ac_exeext'
17409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17410 (eval $ac_try) 2>&5
17411 ac_status=$?
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); }; }; then
17414 eval "$as_ac_var=yes"
17415 else
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17419 eval "$as_ac_var=no"
17421 rm -f conftest.err conftest.$ac_objext \
17422 conftest$ac_exeext conftest.$ac_ext
17424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17426 if test `eval echo '${'$as_ac_var'}'` = yes; then
17427 cat >>confdefs.h <<_ACEOF
17428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17429 _ACEOF
17432 done
17442 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17443 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17444 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17445 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17446 echo $ECHO_N "(cached) $ECHO_C" >&6
17447 else
17451 ac_ext=cc
17452 ac_cpp='$CXXCPP $CPPFLAGS'
17453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17457 cat >conftest.$ac_ext <<_ACEOF
17458 /* confdefs.h. */
17459 _ACEOF
17460 cat confdefs.h >>conftest.$ac_ext
17461 cat >>conftest.$ac_ext <<_ACEOF
17462 /* end confdefs.h. */
17463 #include <math.h>
17464 #ifdef HAVE_IEEEFP_H
17465 #include <ieeefp.h>
17466 #endif
17469 main ()
17471 sqrtf(0);
17473 return 0;
17475 _ACEOF
17476 rm -f conftest.$ac_objext
17477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17478 (eval $ac_compile) 2>conftest.er1
17479 ac_status=$?
17480 grep -v '^ *+' conftest.er1 >conftest.err
17481 rm -f conftest.er1
17482 cat conftest.err >&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); } &&
17485 { ac_try='test -z "$ac_cxx_werror_flag"
17486 || test ! -s conftest.err'
17487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17488 (eval $ac_try) 2>&5
17489 ac_status=$?
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); }; } &&
17492 { ac_try='test -s conftest.$ac_objext'
17493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17494 (eval $ac_try) 2>&5
17495 ac_status=$?
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); }; }; then
17498 glibcxx_cv_func_sqrtf_use=yes
17499 else
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.$ac_ext >&5
17503 glibcxx_cv_func_sqrtf_use=no
17505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17506 ac_ext=c
17507 ac_cpp='$CPP $CPPFLAGS'
17508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17516 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17517 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17519 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17521 for ac_func in sqrtf
17523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17524 echo "$as_me:$LINENO: checking for $ac_func" >&5
17525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17526 if eval "test \"\${$as_ac_var+set}\" = set"; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 else
17529 if test x$gcc_no_link = xyes; then
17530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17532 { (exit 1); exit 1; }; }
17534 cat >conftest.$ac_ext <<_ACEOF
17535 /* confdefs.h. */
17536 _ACEOF
17537 cat confdefs.h >>conftest.$ac_ext
17538 cat >>conftest.$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17542 #define $ac_func innocuous_$ac_func
17544 /* System header to define __stub macros and hopefully few prototypes,
17545 which can conflict with char $ac_func (); below.
17546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17547 <limits.h> exists even on freestanding compilers. */
17549 #ifdef __STDC__
17550 # include <limits.h>
17551 #else
17552 # include <assert.h>
17553 #endif
17555 #undef $ac_func
17557 /* Override any gcc2 internal prototype to avoid an error. */
17558 #ifdef __cplusplus
17559 extern "C"
17561 #endif
17562 /* We use char because int might match the return type of a gcc2
17563 builtin and then its argument prototype would still apply. */
17564 char $ac_func ();
17565 /* The GNU C library defines this for functions which it implements
17566 to always fail with ENOSYS. Some functions are actually named
17567 something starting with __ and the normal name is an alias. */
17568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17569 choke me
17570 #else
17571 char (*f) () = $ac_func;
17572 #endif
17573 #ifdef __cplusplus
17575 #endif
17578 main ()
17580 return f != $ac_func;
17582 return 0;
17584 _ACEOF
17585 rm -f conftest.$ac_objext conftest$ac_exeext
17586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17587 (eval $ac_link) 2>conftest.er1
17588 ac_status=$?
17589 grep -v '^ *+' conftest.er1 >conftest.err
17590 rm -f conftest.er1
17591 cat conftest.err >&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); } &&
17594 { ac_try='test -z "$ac_c_werror_flag"
17595 || test ! -s conftest.err'
17596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597 (eval $ac_try) 2>&5
17598 ac_status=$?
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); }; } &&
17601 { ac_try='test -s conftest$ac_exeext'
17602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17603 (eval $ac_try) 2>&5
17604 ac_status=$?
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); }; }; then
17607 eval "$as_ac_var=yes"
17608 else
17609 echo "$as_me: failed program was:" >&5
17610 sed 's/^/| /' conftest.$ac_ext >&5
17612 eval "$as_ac_var=no"
17614 rm -f conftest.err conftest.$ac_objext \
17615 conftest$ac_exeext conftest.$ac_ext
17617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17619 if test `eval echo '${'$as_ac_var'}'` = yes; then
17620 cat >>confdefs.h <<_ACEOF
17621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17622 _ACEOF
17625 done
17627 else
17629 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17630 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17631 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17632 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17633 echo $ECHO_N "(cached) $ECHO_C" >&6
17634 else
17638 ac_ext=cc
17639 ac_cpp='$CXXCPP $CPPFLAGS'
17640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17644 cat >conftest.$ac_ext <<_ACEOF
17645 /* confdefs.h. */
17646 _ACEOF
17647 cat confdefs.h >>conftest.$ac_ext
17648 cat >>conftest.$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17650 #include <math.h>
17651 #ifdef HAVE_IEEEFP_H
17652 #include <ieeefp.h>
17653 #endif
17656 main ()
17658 _sqrtf(0);
17660 return 0;
17662 _ACEOF
17663 rm -f conftest.$ac_objext
17664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17665 (eval $ac_compile) 2>conftest.er1
17666 ac_status=$?
17667 grep -v '^ *+' conftest.er1 >conftest.err
17668 rm -f conftest.er1
17669 cat conftest.err >&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); } &&
17672 { ac_try='test -z "$ac_cxx_werror_flag"
17673 || test ! -s conftest.err'
17674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675 (eval $ac_try) 2>&5
17676 ac_status=$?
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; } &&
17679 { ac_try='test -s conftest.$ac_objext'
17680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17681 (eval $ac_try) 2>&5
17682 ac_status=$?
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); }; }; then
17685 glibcxx_cv_func__sqrtf_use=yes
17686 else
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.$ac_ext >&5
17690 glibcxx_cv_func__sqrtf_use=no
17692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17693 ac_ext=c
17694 ac_cpp='$CPP $CPPFLAGS'
17695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17703 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17704 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17706 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17708 for ac_func in _sqrtf
17710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17711 echo "$as_me:$LINENO: checking for $ac_func" >&5
17712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17713 if eval "test \"\${$as_ac_var+set}\" = set"; then
17714 echo $ECHO_N "(cached) $ECHO_C" >&6
17715 else
17716 if test x$gcc_no_link = xyes; then
17717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17719 { (exit 1); exit 1; }; }
17721 cat >conftest.$ac_ext <<_ACEOF
17722 /* confdefs.h. */
17723 _ACEOF
17724 cat confdefs.h >>conftest.$ac_ext
17725 cat >>conftest.$ac_ext <<_ACEOF
17726 /* end confdefs.h. */
17727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17729 #define $ac_func innocuous_$ac_func
17731 /* System header to define __stub macros and hopefully few prototypes,
17732 which can conflict with char $ac_func (); below.
17733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17734 <limits.h> exists even on freestanding compilers. */
17736 #ifdef __STDC__
17737 # include <limits.h>
17738 #else
17739 # include <assert.h>
17740 #endif
17742 #undef $ac_func
17744 /* Override any gcc2 internal prototype to avoid an error. */
17745 #ifdef __cplusplus
17746 extern "C"
17748 #endif
17749 /* We use char because int might match the return type of a gcc2
17750 builtin and then its argument prototype would still apply. */
17751 char $ac_func ();
17752 /* The GNU C library defines this for functions which it implements
17753 to always fail with ENOSYS. Some functions are actually named
17754 something starting with __ and the normal name is an alias. */
17755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17756 choke me
17757 #else
17758 char (*f) () = $ac_func;
17759 #endif
17760 #ifdef __cplusplus
17762 #endif
17765 main ()
17767 return f != $ac_func;
17769 return 0;
17771 _ACEOF
17772 rm -f conftest.$ac_objext conftest$ac_exeext
17773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17774 (eval $ac_link) 2>conftest.er1
17775 ac_status=$?
17776 grep -v '^ *+' conftest.er1 >conftest.err
17777 rm -f conftest.er1
17778 cat conftest.err >&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } &&
17781 { ac_try='test -z "$ac_c_werror_flag"
17782 || test ! -s conftest.err'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17785 ac_status=$?
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; } &&
17788 { ac_try='test -s conftest$ac_exeext'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17791 ac_status=$?
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; }; then
17794 eval "$as_ac_var=yes"
17795 else
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.$ac_ext >&5
17799 eval "$as_ac_var=no"
17801 rm -f conftest.err conftest.$ac_objext \
17802 conftest$ac_exeext conftest.$ac_ext
17804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17806 if test `eval echo '${'$as_ac_var'}'` = yes; then
17807 cat >>confdefs.h <<_ACEOF
17808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17809 _ACEOF
17812 done
17822 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17823 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17824 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17825 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17826 echo $ECHO_N "(cached) $ECHO_C" >&6
17827 else
17831 ac_ext=cc
17832 ac_cpp='$CXXCPP $CPPFLAGS'
17833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17837 cat >conftest.$ac_ext <<_ACEOF
17838 /* confdefs.h. */
17839 _ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843 #include <math.h>
17845 main ()
17847 sincosf(0, 0, 0);
17849 return 0;
17851 _ACEOF
17852 rm -f conftest.$ac_objext
17853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17854 (eval $ac_compile) 2>conftest.er1
17855 ac_status=$?
17856 grep -v '^ *+' conftest.er1 >conftest.err
17857 rm -f conftest.er1
17858 cat conftest.err >&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } &&
17861 { ac_try='test -z "$ac_cxx_werror_flag"
17862 || test ! -s conftest.err'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17865 ac_status=$?
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; } &&
17868 { ac_try='test -s conftest.$ac_objext'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17871 ac_status=$?
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; }; then
17874 glibcxx_cv_func_sincosf_use=yes
17875 else
17876 echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.$ac_ext >&5
17879 glibcxx_cv_func_sincosf_use=no
17881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17882 ac_ext=c
17883 ac_cpp='$CPP $CPPFLAGS'
17884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17892 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17893 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17895 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17897 for ac_func in sincosf
17899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17900 echo "$as_me:$LINENO: checking for $ac_func" >&5
17901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17902 if eval "test \"\${$as_ac_var+set}\" = set"; then
17903 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 else
17905 if test x$gcc_no_link = xyes; then
17906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17908 { (exit 1); exit 1; }; }
17910 cat >conftest.$ac_ext <<_ACEOF
17911 /* confdefs.h. */
17912 _ACEOF
17913 cat confdefs.h >>conftest.$ac_ext
17914 cat >>conftest.$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17918 #define $ac_func innocuous_$ac_func
17920 /* System header to define __stub macros and hopefully few prototypes,
17921 which can conflict with char $ac_func (); below.
17922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17923 <limits.h> exists even on freestanding compilers. */
17925 #ifdef __STDC__
17926 # include <limits.h>
17927 #else
17928 # include <assert.h>
17929 #endif
17931 #undef $ac_func
17933 /* Override any gcc2 internal prototype to avoid an error. */
17934 #ifdef __cplusplus
17935 extern "C"
17937 #endif
17938 /* We use char because int might match the return type of a gcc2
17939 builtin and then its argument prototype would still apply. */
17940 char $ac_func ();
17941 /* The GNU C library defines this for functions which it implements
17942 to always fail with ENOSYS. Some functions are actually named
17943 something starting with __ and the normal name is an alias. */
17944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17945 choke me
17946 #else
17947 char (*f) () = $ac_func;
17948 #endif
17949 #ifdef __cplusplus
17951 #endif
17954 main ()
17956 return f != $ac_func;
17958 return 0;
17960 _ACEOF
17961 rm -f conftest.$ac_objext conftest$ac_exeext
17962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17963 (eval $ac_link) 2>conftest.er1
17964 ac_status=$?
17965 grep -v '^ *+' conftest.er1 >conftest.err
17966 rm -f conftest.er1
17967 cat conftest.err >&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); } &&
17970 { ac_try='test -z "$ac_c_werror_flag"
17971 || test ! -s conftest.err'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17974 ac_status=$?
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; } &&
17977 { ac_try='test -s conftest$ac_exeext'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17980 ac_status=$?
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; }; then
17983 eval "$as_ac_var=yes"
17984 else
17985 echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.$ac_ext >&5
17988 eval "$as_ac_var=no"
17990 rm -f conftest.err conftest.$ac_objext \
17991 conftest$ac_exeext conftest.$ac_ext
17993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17995 if test `eval echo '${'$as_ac_var'}'` = yes; then
17996 cat >>confdefs.h <<_ACEOF
17997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17998 _ACEOF
18001 done
18003 else
18005 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18006 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18007 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18008 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18009 echo $ECHO_N "(cached) $ECHO_C" >&6
18010 else
18014 ac_ext=cc
18015 ac_cpp='$CXXCPP $CPPFLAGS'
18016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18020 cat >conftest.$ac_ext <<_ACEOF
18021 /* confdefs.h. */
18022 _ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18026 #include <math.h>
18028 main ()
18030 _sincosf(0, 0, 0);
18032 return 0;
18034 _ACEOF
18035 rm -f conftest.$ac_objext
18036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18037 (eval $ac_compile) 2>conftest.er1
18038 ac_status=$?
18039 grep -v '^ *+' conftest.er1 >conftest.err
18040 rm -f conftest.er1
18041 cat conftest.err >&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } &&
18044 { ac_try='test -z "$ac_cxx_werror_flag"
18045 || test ! -s conftest.err'
18046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18047 (eval $ac_try) 2>&5
18048 ac_status=$?
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); }; } &&
18051 { ac_try='test -s conftest.$ac_objext'
18052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18053 (eval $ac_try) 2>&5
18054 ac_status=$?
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); }; }; then
18057 glibcxx_cv_func__sincosf_use=yes
18058 else
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.$ac_ext >&5
18062 glibcxx_cv_func__sincosf_use=no
18064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18065 ac_ext=c
18066 ac_cpp='$CPP $CPPFLAGS'
18067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18075 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18076 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18078 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18080 for ac_func in _sincosf
18082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18083 echo "$as_me:$LINENO: checking for $ac_func" >&5
18084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18085 if eval "test \"\${$as_ac_var+set}\" = set"; then
18086 echo $ECHO_N "(cached) $ECHO_C" >&6
18087 else
18088 if test x$gcc_no_link = xyes; then
18089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18091 { (exit 1); exit 1; }; }
18093 cat >conftest.$ac_ext <<_ACEOF
18094 /* confdefs.h. */
18095 _ACEOF
18096 cat confdefs.h >>conftest.$ac_ext
18097 cat >>conftest.$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18101 #define $ac_func innocuous_$ac_func
18103 /* System header to define __stub macros and hopefully few prototypes,
18104 which can conflict with char $ac_func (); below.
18105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18106 <limits.h> exists even on freestanding compilers. */
18108 #ifdef __STDC__
18109 # include <limits.h>
18110 #else
18111 # include <assert.h>
18112 #endif
18114 #undef $ac_func
18116 /* Override any gcc2 internal prototype to avoid an error. */
18117 #ifdef __cplusplus
18118 extern "C"
18120 #endif
18121 /* We use char because int might match the return type of a gcc2
18122 builtin and then its argument prototype would still apply. */
18123 char $ac_func ();
18124 /* The GNU C library defines this for functions which it implements
18125 to always fail with ENOSYS. Some functions are actually named
18126 something starting with __ and the normal name is an alias. */
18127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18128 choke me
18129 #else
18130 char (*f) () = $ac_func;
18131 #endif
18132 #ifdef __cplusplus
18134 #endif
18137 main ()
18139 return f != $ac_func;
18141 return 0;
18143 _ACEOF
18144 rm -f conftest.$ac_objext conftest$ac_exeext
18145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18146 (eval $ac_link) 2>conftest.er1
18147 ac_status=$?
18148 grep -v '^ *+' conftest.er1 >conftest.err
18149 rm -f conftest.er1
18150 cat conftest.err >&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } &&
18153 { ac_try='test -z "$ac_c_werror_flag"
18154 || test ! -s conftest.err'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18157 ac_status=$?
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; } &&
18160 { ac_try='test -s conftest$ac_exeext'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18163 ac_status=$?
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; }; then
18166 eval "$as_ac_var=yes"
18167 else
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18171 eval "$as_ac_var=no"
18173 rm -f conftest.err conftest.$ac_objext \
18174 conftest$ac_exeext conftest.$ac_ext
18176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18178 if test `eval echo '${'$as_ac_var'}'` = yes; then
18179 cat >>confdefs.h <<_ACEOF
18180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18181 _ACEOF
18184 done
18194 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18195 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18196 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18197 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18198 echo $ECHO_N "(cached) $ECHO_C" >&6
18199 else
18203 ac_ext=cc
18204 ac_cpp='$CXXCPP $CPPFLAGS'
18205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18209 cat >conftest.$ac_ext <<_ACEOF
18210 /* confdefs.h. */
18211 _ACEOF
18212 cat confdefs.h >>conftest.$ac_ext
18213 cat >>conftest.$ac_ext <<_ACEOF
18214 /* end confdefs.h. */
18215 #include <math.h>
18216 #ifdef HAVE_IEEEFP_H
18217 #include <ieeefp.h>
18218 #endif
18221 main ()
18223 finitef(0);
18225 return 0;
18227 _ACEOF
18228 rm -f conftest.$ac_objext
18229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18230 (eval $ac_compile) 2>conftest.er1
18231 ac_status=$?
18232 grep -v '^ *+' conftest.er1 >conftest.err
18233 rm -f conftest.er1
18234 cat conftest.err >&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); } &&
18237 { ac_try='test -z "$ac_cxx_werror_flag"
18238 || test ! -s conftest.err'
18239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18240 (eval $ac_try) 2>&5
18241 ac_status=$?
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); }; } &&
18244 { ac_try='test -s conftest.$ac_objext'
18245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246 (eval $ac_try) 2>&5
18247 ac_status=$?
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); }; }; then
18250 glibcxx_cv_func_finitef_use=yes
18251 else
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.$ac_ext >&5
18255 glibcxx_cv_func_finitef_use=no
18257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18258 ac_ext=c
18259 ac_cpp='$CPP $CPPFLAGS'
18260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18268 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18269 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18271 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18273 for ac_func in finitef
18275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18276 echo "$as_me:$LINENO: checking for $ac_func" >&5
18277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18278 if eval "test \"\${$as_ac_var+set}\" = set"; then
18279 echo $ECHO_N "(cached) $ECHO_C" >&6
18280 else
18281 if test x$gcc_no_link = xyes; then
18282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18284 { (exit 1); exit 1; }; }
18286 cat >conftest.$ac_ext <<_ACEOF
18287 /* confdefs.h. */
18288 _ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18294 #define $ac_func innocuous_$ac_func
18296 /* System header to define __stub macros and hopefully few prototypes,
18297 which can conflict with char $ac_func (); below.
18298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18299 <limits.h> exists even on freestanding compilers. */
18301 #ifdef __STDC__
18302 # include <limits.h>
18303 #else
18304 # include <assert.h>
18305 #endif
18307 #undef $ac_func
18309 /* Override any gcc2 internal prototype to avoid an error. */
18310 #ifdef __cplusplus
18311 extern "C"
18313 #endif
18314 /* We use char because int might match the return type of a gcc2
18315 builtin and then its argument prototype would still apply. */
18316 char $ac_func ();
18317 /* The GNU C library defines this for functions which it implements
18318 to always fail with ENOSYS. Some functions are actually named
18319 something starting with __ and the normal name is an alias. */
18320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18321 choke me
18322 #else
18323 char (*f) () = $ac_func;
18324 #endif
18325 #ifdef __cplusplus
18327 #endif
18330 main ()
18332 return f != $ac_func;
18334 return 0;
18336 _ACEOF
18337 rm -f conftest.$ac_objext conftest$ac_exeext
18338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18339 (eval $ac_link) 2>conftest.er1
18340 ac_status=$?
18341 grep -v '^ *+' conftest.er1 >conftest.err
18342 rm -f conftest.er1
18343 cat conftest.err >&5
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); } &&
18346 { ac_try='test -z "$ac_c_werror_flag"
18347 || test ! -s conftest.err'
18348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18349 (eval $ac_try) 2>&5
18350 ac_status=$?
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); }; } &&
18353 { ac_try='test -s conftest$ac_exeext'
18354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18355 (eval $ac_try) 2>&5
18356 ac_status=$?
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); }; }; then
18359 eval "$as_ac_var=yes"
18360 else
18361 echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.$ac_ext >&5
18364 eval "$as_ac_var=no"
18366 rm -f conftest.err conftest.$ac_objext \
18367 conftest$ac_exeext conftest.$ac_ext
18369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18371 if test `eval echo '${'$as_ac_var'}'` = yes; then
18372 cat >>confdefs.h <<_ACEOF
18373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18374 _ACEOF
18377 done
18379 else
18381 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18382 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18383 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18384 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18386 else
18390 ac_ext=cc
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18396 cat >conftest.$ac_ext <<_ACEOF
18397 /* confdefs.h. */
18398 _ACEOF
18399 cat confdefs.h >>conftest.$ac_ext
18400 cat >>conftest.$ac_ext <<_ACEOF
18401 /* end confdefs.h. */
18402 #include <math.h>
18403 #ifdef HAVE_IEEEFP_H
18404 #include <ieeefp.h>
18405 #endif
18408 main ()
18410 _finitef(0);
18412 return 0;
18414 _ACEOF
18415 rm -f conftest.$ac_objext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18417 (eval $ac_compile) 2>conftest.er1
18418 ac_status=$?
18419 grep -v '^ *+' conftest.er1 >conftest.err
18420 rm -f conftest.er1
18421 cat conftest.err >&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try='test -z "$ac_cxx_werror_flag"
18425 || test ! -s conftest.err'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18428 ac_status=$?
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; } &&
18431 { ac_try='test -s conftest.$ac_objext'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18434 ac_status=$?
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; }; then
18437 glibcxx_cv_func__finitef_use=yes
18438 else
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.$ac_ext >&5
18442 glibcxx_cv_func__finitef_use=no
18444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18445 ac_ext=c
18446 ac_cpp='$CPP $CPPFLAGS'
18447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18455 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18456 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18458 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18460 for ac_func in _finitef
18462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18463 echo "$as_me:$LINENO: checking for $ac_func" >&5
18464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18465 if eval "test \"\${$as_ac_var+set}\" = set"; then
18466 echo $ECHO_N "(cached) $ECHO_C" >&6
18467 else
18468 if test x$gcc_no_link = xyes; then
18469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18471 { (exit 1); exit 1; }; }
18473 cat >conftest.$ac_ext <<_ACEOF
18474 /* confdefs.h. */
18475 _ACEOF
18476 cat confdefs.h >>conftest.$ac_ext
18477 cat >>conftest.$ac_ext <<_ACEOF
18478 /* end confdefs.h. */
18479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18481 #define $ac_func innocuous_$ac_func
18483 /* System header to define __stub macros and hopefully few prototypes,
18484 which can conflict with char $ac_func (); below.
18485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18486 <limits.h> exists even on freestanding compilers. */
18488 #ifdef __STDC__
18489 # include <limits.h>
18490 #else
18491 # include <assert.h>
18492 #endif
18494 #undef $ac_func
18496 /* Override any gcc2 internal prototype to avoid an error. */
18497 #ifdef __cplusplus
18498 extern "C"
18500 #endif
18501 /* We use char because int might match the return type of a gcc2
18502 builtin and then its argument prototype would still apply. */
18503 char $ac_func ();
18504 /* The GNU C library defines this for functions which it implements
18505 to always fail with ENOSYS. Some functions are actually named
18506 something starting with __ and the normal name is an alias. */
18507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18508 choke me
18509 #else
18510 char (*f) () = $ac_func;
18511 #endif
18512 #ifdef __cplusplus
18514 #endif
18517 main ()
18519 return f != $ac_func;
18521 return 0;
18523 _ACEOF
18524 rm -f conftest.$ac_objext conftest$ac_exeext
18525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18526 (eval $ac_link) 2>conftest.er1
18527 ac_status=$?
18528 grep -v '^ *+' conftest.er1 >conftest.err
18529 rm -f conftest.er1
18530 cat conftest.err >&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } &&
18533 { ac_try='test -z "$ac_c_werror_flag"
18534 || test ! -s conftest.err'
18535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18536 (eval $ac_try) 2>&5
18537 ac_status=$?
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); }; } &&
18540 { ac_try='test -s conftest$ac_exeext'
18541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18542 (eval $ac_try) 2>&5
18543 ac_status=$?
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); }; }; then
18546 eval "$as_ac_var=yes"
18547 else
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18551 eval "$as_ac_var=no"
18553 rm -f conftest.err conftest.$ac_objext \
18554 conftest$ac_exeext conftest.$ac_ext
18556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18558 if test `eval echo '${'$as_ac_var'}'` = yes; then
18559 cat >>confdefs.h <<_ACEOF
18560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18561 _ACEOF
18564 done
18574 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18575 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18576 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18577 echo $ECHO_N "(cached) $ECHO_C" >&6
18578 else
18582 ac_ext=cc
18583 ac_cpp='$CXXCPP $CPPFLAGS'
18584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18588 cat >conftest.$ac_ext <<_ACEOF
18589 /* confdefs.h. */
18590 _ACEOF
18591 cat confdefs.h >>conftest.$ac_ext
18592 cat >>conftest.$ac_ext <<_ACEOF
18593 /* end confdefs.h. */
18594 #include <math.h>
18596 main ()
18598 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18600 return 0;
18602 _ACEOF
18603 rm -f conftest.$ac_objext
18604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18605 (eval $ac_compile) 2>conftest.er1
18606 ac_status=$?
18607 grep -v '^ *+' conftest.er1 >conftest.err
18608 rm -f conftest.er1
18609 cat conftest.err >&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } &&
18612 { ac_try='test -z "$ac_cxx_werror_flag"
18613 || test ! -s conftest.err'
18614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18615 (eval $ac_try) 2>&5
18616 ac_status=$?
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); }; } &&
18619 { ac_try='test -s conftest.$ac_objext'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18622 ac_status=$?
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; }; then
18625 glibcxx_cv_func_long_double_trig_use=yes
18626 else
18627 echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.$ac_ext >&5
18630 glibcxx_cv_func_long_double_trig_use=no
18632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18633 ac_ext=c
18634 ac_cpp='$CPP $CPPFLAGS'
18635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18642 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18643 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18653 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18656 echo "$as_me:$LINENO: checking for $ac_func" >&5
18657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18658 if eval "test \"\${$as_ac_var+set}\" = set"; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 if test x$gcc_no_link = xyes; then
18662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18664 { (exit 1); exit 1; }; }
18666 cat >conftest.$ac_ext <<_ACEOF
18667 /* confdefs.h. */
18668 _ACEOF
18669 cat confdefs.h >>conftest.$ac_ext
18670 cat >>conftest.$ac_ext <<_ACEOF
18671 /* end confdefs.h. */
18672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18674 #define $ac_func innocuous_$ac_func
18676 /* System header to define __stub macros and hopefully few prototypes,
18677 which can conflict with char $ac_func (); below.
18678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18679 <limits.h> exists even on freestanding compilers. */
18681 #ifdef __STDC__
18682 # include <limits.h>
18683 #else
18684 # include <assert.h>
18685 #endif
18687 #undef $ac_func
18689 /* Override any gcc2 internal prototype to avoid an error. */
18690 #ifdef __cplusplus
18691 extern "C"
18693 #endif
18694 /* We use char because int might match the return type of a gcc2
18695 builtin and then its argument prototype would still apply. */
18696 char $ac_func ();
18697 /* The GNU C library defines this for functions which it implements
18698 to always fail with ENOSYS. Some functions are actually named
18699 something starting with __ and the normal name is an alias. */
18700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18701 choke me
18702 #else
18703 char (*f) () = $ac_func;
18704 #endif
18705 #ifdef __cplusplus
18707 #endif
18710 main ()
18712 return f != $ac_func;
18714 return 0;
18716 _ACEOF
18717 rm -f conftest.$ac_objext conftest$ac_exeext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18719 (eval $ac_link) 2>conftest.er1
18720 ac_status=$?
18721 grep -v '^ *+' conftest.er1 >conftest.err
18722 rm -f conftest.er1
18723 cat conftest.err >&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try='test -z "$ac_c_werror_flag"
18727 || test ! -s conftest.err'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; } &&
18733 { ac_try='test -s conftest$ac_exeext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18736 ac_status=$?
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18739 eval "$as_ac_var=yes"
18740 else
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18744 eval "$as_ac_var=no"
18746 rm -f conftest.err conftest.$ac_objext \
18747 conftest$ac_exeext conftest.$ac_ext
18749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18751 if test `eval echo '${'$as_ac_var'}'` = yes; then
18752 cat >>confdefs.h <<_ACEOF
18753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18754 _ACEOF
18757 done
18759 else
18760 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18761 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18762 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18763 echo $ECHO_N "(cached) $ECHO_C" >&6
18764 else
18768 ac_ext=cc
18769 ac_cpp='$CXXCPP $CPPFLAGS'
18770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18774 cat >conftest.$ac_ext <<_ACEOF
18775 /* confdefs.h. */
18776 _ACEOF
18777 cat confdefs.h >>conftest.$ac_ext
18778 cat >>conftest.$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18780 #include <math.h>
18782 main ()
18784 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18786 return 0;
18788 _ACEOF
18789 rm -f conftest.$ac_objext
18790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18791 (eval $ac_compile) 2>conftest.er1
18792 ac_status=$?
18793 grep -v '^ *+' conftest.er1 >conftest.err
18794 rm -f conftest.er1
18795 cat conftest.err >&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); } &&
18798 { ac_try='test -z "$ac_cxx_werror_flag"
18799 || test ! -s conftest.err'
18800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801 (eval $ac_try) 2>&5
18802 ac_status=$?
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); }; } &&
18805 { ac_try='test -s conftest.$ac_objext'
18806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807 (eval $ac_try) 2>&5
18808 ac_status=$?
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); }; }; then
18811 glibcxx_cv_func__long_double_trig_use=yes
18812 else
18813 echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.$ac_ext >&5
18816 glibcxx_cv_func__long_double_trig_use=no
18818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18819 ac_ext=c
18820 ac_cpp='$CPP $CPPFLAGS'
18821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18827 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18828 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18829 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18839 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18842 echo "$as_me:$LINENO: checking for $ac_func" >&5
18843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18844 if eval "test \"\${$as_ac_var+set}\" = set"; then
18845 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 else
18847 if test x$gcc_no_link = xyes; then
18848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18850 { (exit 1); exit 1; }; }
18852 cat >conftest.$ac_ext <<_ACEOF
18853 /* confdefs.h. */
18854 _ACEOF
18855 cat confdefs.h >>conftest.$ac_ext
18856 cat >>conftest.$ac_ext <<_ACEOF
18857 /* end confdefs.h. */
18858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18860 #define $ac_func innocuous_$ac_func
18862 /* System header to define __stub macros and hopefully few prototypes,
18863 which can conflict with char $ac_func (); below.
18864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18865 <limits.h> exists even on freestanding compilers. */
18867 #ifdef __STDC__
18868 # include <limits.h>
18869 #else
18870 # include <assert.h>
18871 #endif
18873 #undef $ac_func
18875 /* Override any gcc2 internal prototype to avoid an error. */
18876 #ifdef __cplusplus
18877 extern "C"
18879 #endif
18880 /* We use char because int might match the return type of a gcc2
18881 builtin and then its argument prototype would still apply. */
18882 char $ac_func ();
18883 /* The GNU C library defines this for functions which it implements
18884 to always fail with ENOSYS. Some functions are actually named
18885 something starting with __ and the normal name is an alias. */
18886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18887 choke me
18888 #else
18889 char (*f) () = $ac_func;
18890 #endif
18891 #ifdef __cplusplus
18893 #endif
18896 main ()
18898 return f != $ac_func;
18900 return 0;
18902 _ACEOF
18903 rm -f conftest.$ac_objext conftest$ac_exeext
18904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18905 (eval $ac_link) 2>conftest.er1
18906 ac_status=$?
18907 grep -v '^ *+' conftest.er1 >conftest.err
18908 rm -f conftest.er1
18909 cat conftest.err >&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); } &&
18912 { ac_try='test -z "$ac_c_werror_flag"
18913 || test ! -s conftest.err'
18914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915 (eval $ac_try) 2>&5
18916 ac_status=$?
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); }; } &&
18919 { ac_try='test -s conftest$ac_exeext'
18920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18921 (eval $ac_try) 2>&5
18922 ac_status=$?
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); }; }; then
18925 eval "$as_ac_var=yes"
18926 else
18927 echo "$as_me: failed program was:" >&5
18928 sed 's/^/| /' conftest.$ac_ext >&5
18930 eval "$as_ac_var=no"
18932 rm -f conftest.err conftest.$ac_objext \
18933 conftest$ac_exeext conftest.$ac_ext
18935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18937 if test `eval echo '${'$as_ac_var'}'` = yes; then
18938 cat >>confdefs.h <<_ACEOF
18939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18940 _ACEOF
18943 done
18961 echo "$as_me:$LINENO: checking for long double round functions" >&5
18962 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18963 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18964 echo $ECHO_N "(cached) $ECHO_C" >&6
18965 else
18969 ac_ext=cc
18970 ac_cpp='$CXXCPP $CPPFLAGS'
18971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18975 cat >conftest.$ac_ext <<_ACEOF
18976 /* confdefs.h. */
18977 _ACEOF
18978 cat confdefs.h >>conftest.$ac_ext
18979 cat >>conftest.$ac_ext <<_ACEOF
18980 /* end confdefs.h. */
18981 #include <math.h>
18983 main ()
18985 ceill (0); floorl (0);
18987 return 0;
18989 _ACEOF
18990 rm -f conftest.$ac_objext
18991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18992 (eval $ac_compile) 2>conftest.er1
18993 ac_status=$?
18994 grep -v '^ *+' conftest.er1 >conftest.err
18995 rm -f conftest.er1
18996 cat conftest.err >&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); } &&
18999 { ac_try='test -z "$ac_cxx_werror_flag"
19000 || test ! -s conftest.err'
19001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19002 (eval $ac_try) 2>&5
19003 ac_status=$?
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; } &&
19006 { ac_try='test -s conftest.$ac_objext'
19007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19008 (eval $ac_try) 2>&5
19009 ac_status=$?
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }; }; then
19012 glibcxx_cv_func_long_double_round_use=yes
19013 else
19014 echo "$as_me: failed program was:" >&5
19015 sed 's/^/| /' conftest.$ac_ext >&5
19017 glibcxx_cv_func_long_double_round_use=no
19019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19020 ac_ext=c
19021 ac_cpp='$CPP $CPPFLAGS'
19022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19028 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19029 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19030 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19033 for ac_func in ceill floorl
19035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19036 echo "$as_me:$LINENO: checking for $ac_func" >&5
19037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19038 if eval "test \"\${$as_ac_var+set}\" = set"; then
19039 echo $ECHO_N "(cached) $ECHO_C" >&6
19040 else
19041 if test x$gcc_no_link = xyes; then
19042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19044 { (exit 1); exit 1; }; }
19046 cat >conftest.$ac_ext <<_ACEOF
19047 /* confdefs.h. */
19048 _ACEOF
19049 cat confdefs.h >>conftest.$ac_ext
19050 cat >>conftest.$ac_ext <<_ACEOF
19051 /* end confdefs.h. */
19052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19054 #define $ac_func innocuous_$ac_func
19056 /* System header to define __stub macros and hopefully few prototypes,
19057 which can conflict with char $ac_func (); below.
19058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19059 <limits.h> exists even on freestanding compilers. */
19061 #ifdef __STDC__
19062 # include <limits.h>
19063 #else
19064 # include <assert.h>
19065 #endif
19067 #undef $ac_func
19069 /* Override any gcc2 internal prototype to avoid an error. */
19070 #ifdef __cplusplus
19071 extern "C"
19073 #endif
19074 /* We use char because int might match the return type of a gcc2
19075 builtin and then its argument prototype would still apply. */
19076 char $ac_func ();
19077 /* The GNU C library defines this for functions which it implements
19078 to always fail with ENOSYS. Some functions are actually named
19079 something starting with __ and the normal name is an alias. */
19080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19081 choke me
19082 #else
19083 char (*f) () = $ac_func;
19084 #endif
19085 #ifdef __cplusplus
19087 #endif
19090 main ()
19092 return f != $ac_func;
19094 return 0;
19096 _ACEOF
19097 rm -f conftest.$ac_objext conftest$ac_exeext
19098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19099 (eval $ac_link) 2>conftest.er1
19100 ac_status=$?
19101 grep -v '^ *+' conftest.er1 >conftest.err
19102 rm -f conftest.er1
19103 cat conftest.err >&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } &&
19106 { ac_try='test -z "$ac_c_werror_flag"
19107 || test ! -s conftest.err'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19110 ac_status=$?
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; } &&
19113 { ac_try='test -s conftest$ac_exeext'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19116 ac_status=$?
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; }; then
19119 eval "$as_ac_var=yes"
19120 else
19121 echo "$as_me: failed program was:" >&5
19122 sed 's/^/| /' conftest.$ac_ext >&5
19124 eval "$as_ac_var=no"
19126 rm -f conftest.err conftest.$ac_objext \
19127 conftest$ac_exeext conftest.$ac_ext
19129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19131 if test `eval echo '${'$as_ac_var'}'` = yes; then
19132 cat >>confdefs.h <<_ACEOF
19133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19134 _ACEOF
19137 done
19139 else
19140 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19141 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19142 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 else
19148 ac_ext=cc
19149 ac_cpp='$CXXCPP $CPPFLAGS'
19150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19154 cat >conftest.$ac_ext <<_ACEOF
19155 /* confdefs.h. */
19156 _ACEOF
19157 cat confdefs.h >>conftest.$ac_ext
19158 cat >>conftest.$ac_ext <<_ACEOF
19159 /* end confdefs.h. */
19160 #include <math.h>
19162 main ()
19164 _ceill (0); _floorl (0);
19166 return 0;
19168 _ACEOF
19169 rm -f conftest.$ac_objext
19170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19171 (eval $ac_compile) 2>conftest.er1
19172 ac_status=$?
19173 grep -v '^ *+' conftest.er1 >conftest.err
19174 rm -f conftest.er1
19175 cat conftest.err >&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); } &&
19178 { ac_try='test -z "$ac_cxx_werror_flag"
19179 || test ! -s conftest.err'
19180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181 (eval $ac_try) 2>&5
19182 ac_status=$?
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); }; } &&
19185 { ac_try='test -s conftest.$ac_objext'
19186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 (eval $ac_try) 2>&5
19188 ac_status=$?
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); }; }; then
19191 glibcxx_cv_func__long_double_round_use=yes
19192 else
19193 echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.$ac_ext >&5
19196 glibcxx_cv_func__long_double_round_use=no
19198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19199 ac_ext=c
19200 ac_cpp='$CPP $CPPFLAGS'
19201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19207 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19208 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19209 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19212 for ac_func in _ceill _floorl
19214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19215 echo "$as_me:$LINENO: checking for $ac_func" >&5
19216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19217 if eval "test \"\${$as_ac_var+set}\" = set"; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19219 else
19220 if test x$gcc_no_link = xyes; then
19221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19223 { (exit 1); exit 1; }; }
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19233 #define $ac_func innocuous_$ac_func
19235 /* System header to define __stub macros and hopefully few prototypes,
19236 which can conflict with char $ac_func (); below.
19237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19238 <limits.h> exists even on freestanding compilers. */
19240 #ifdef __STDC__
19241 # include <limits.h>
19242 #else
19243 # include <assert.h>
19244 #endif
19246 #undef $ac_func
19248 /* Override any gcc2 internal prototype to avoid an error. */
19249 #ifdef __cplusplus
19250 extern "C"
19252 #endif
19253 /* We use char because int might match the return type of a gcc2
19254 builtin and then its argument prototype would still apply. */
19255 char $ac_func ();
19256 /* The GNU C library defines this for functions which it implements
19257 to always fail with ENOSYS. Some functions are actually named
19258 something starting with __ and the normal name is an alias. */
19259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19260 choke me
19261 #else
19262 char (*f) () = $ac_func;
19263 #endif
19264 #ifdef __cplusplus
19266 #endif
19269 main ()
19271 return f != $ac_func;
19273 return 0;
19275 _ACEOF
19276 rm -f conftest.$ac_objext conftest$ac_exeext
19277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19278 (eval $ac_link) 2>conftest.er1
19279 ac_status=$?
19280 grep -v '^ *+' conftest.er1 >conftest.err
19281 rm -f conftest.er1
19282 cat conftest.err >&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); } &&
19285 { ac_try='test -z "$ac_c_werror_flag"
19286 || test ! -s conftest.err'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19289 ac_status=$?
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; } &&
19292 { ac_try='test -s conftest$ac_exeext'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19295 ac_status=$?
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; }; then
19298 eval "$as_ac_var=yes"
19299 else
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19303 eval "$as_ac_var=no"
19305 rm -f conftest.err conftest.$ac_objext \
19306 conftest$ac_exeext conftest.$ac_ext
19308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19310 if test `eval echo '${'$as_ac_var'}'` = yes; then
19311 cat >>confdefs.h <<_ACEOF
19312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19313 _ACEOF
19316 done
19328 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19329 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19330 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19331 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 else
19337 ac_ext=cc
19338 ac_cpp='$CXXCPP $CPPFLAGS'
19339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19343 cat >conftest.$ac_ext <<_ACEOF
19344 /* confdefs.h. */
19345 _ACEOF
19346 cat confdefs.h >>conftest.$ac_ext
19347 cat >>conftest.$ac_ext <<_ACEOF
19348 /* end confdefs.h. */
19349 #include <math.h>
19350 #ifdef HAVE_IEEEFP_H
19351 #include <ieeefp.h>
19352 #endif
19355 main ()
19357 isnanl(0);
19359 return 0;
19361 _ACEOF
19362 rm -f conftest.$ac_objext
19363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19364 (eval $ac_compile) 2>conftest.er1
19365 ac_status=$?
19366 grep -v '^ *+' conftest.er1 >conftest.err
19367 rm -f conftest.er1
19368 cat conftest.err >&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); } &&
19371 { ac_try='test -z "$ac_cxx_werror_flag"
19372 || test ! -s conftest.err'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19375 ac_status=$?
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; } &&
19378 { ac_try='test -s conftest.$ac_objext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19381 ac_status=$?
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19384 glibcxx_cv_func_isnanl_use=yes
19385 else
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19389 glibcxx_cv_func_isnanl_use=no
19391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19392 ac_ext=c
19393 ac_cpp='$CPP $CPPFLAGS'
19394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19403 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19405 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19407 for ac_func in isnanl
19409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19410 echo "$as_me:$LINENO: checking for $ac_func" >&5
19411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19412 if eval "test \"\${$as_ac_var+set}\" = set"; then
19413 echo $ECHO_N "(cached) $ECHO_C" >&6
19414 else
19415 if test x$gcc_no_link = xyes; then
19416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19418 { (exit 1); exit 1; }; }
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19428 #define $ac_func innocuous_$ac_func
19430 /* System header to define __stub macros and hopefully few prototypes,
19431 which can conflict with char $ac_func (); below.
19432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19433 <limits.h> exists even on freestanding compilers. */
19435 #ifdef __STDC__
19436 # include <limits.h>
19437 #else
19438 # include <assert.h>
19439 #endif
19441 #undef $ac_func
19443 /* Override any gcc2 internal prototype to avoid an error. */
19444 #ifdef __cplusplus
19445 extern "C"
19447 #endif
19448 /* We use char because int might match the return type of a gcc2
19449 builtin and then its argument prototype would still apply. */
19450 char $ac_func ();
19451 /* The GNU C library defines this for functions which it implements
19452 to always fail with ENOSYS. Some functions are actually named
19453 something starting with __ and the normal name is an alias. */
19454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19455 choke me
19456 #else
19457 char (*f) () = $ac_func;
19458 #endif
19459 #ifdef __cplusplus
19461 #endif
19464 main ()
19466 return f != $ac_func;
19468 return 0;
19470 _ACEOF
19471 rm -f conftest.$ac_objext conftest$ac_exeext
19472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19473 (eval $ac_link) 2>conftest.er1
19474 ac_status=$?
19475 grep -v '^ *+' conftest.er1 >conftest.err
19476 rm -f conftest.er1
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try='test -z "$ac_c_werror_flag"
19481 || test ! -s conftest.err'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19484 ac_status=$?
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; } &&
19487 { ac_try='test -s conftest$ac_exeext'
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19490 ac_status=$?
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; }; then
19493 eval "$as_ac_var=yes"
19494 else
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.$ac_ext >&5
19498 eval "$as_ac_var=no"
19500 rm -f conftest.err conftest.$ac_objext \
19501 conftest$ac_exeext conftest.$ac_ext
19503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19505 if test `eval echo '${'$as_ac_var'}'` = yes; then
19506 cat >>confdefs.h <<_ACEOF
19507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19508 _ACEOF
19511 done
19513 else
19515 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19516 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19517 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19518 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19519 echo $ECHO_N "(cached) $ECHO_C" >&6
19520 else
19524 ac_ext=cc
19525 ac_cpp='$CXXCPP $CPPFLAGS'
19526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19530 cat >conftest.$ac_ext <<_ACEOF
19531 /* confdefs.h. */
19532 _ACEOF
19533 cat confdefs.h >>conftest.$ac_ext
19534 cat >>conftest.$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 #include <math.h>
19537 #ifdef HAVE_IEEEFP_H
19538 #include <ieeefp.h>
19539 #endif
19542 main ()
19544 _isnanl(0);
19546 return 0;
19548 _ACEOF
19549 rm -f conftest.$ac_objext
19550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19551 (eval $ac_compile) 2>conftest.er1
19552 ac_status=$?
19553 grep -v '^ *+' conftest.er1 >conftest.err
19554 rm -f conftest.er1
19555 cat conftest.err >&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); } &&
19558 { ac_try='test -z "$ac_cxx_werror_flag"
19559 || test ! -s conftest.err'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19562 ac_status=$?
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; } &&
19565 { ac_try='test -s conftest.$ac_objext'
19566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567 (eval $ac_try) 2>&5
19568 ac_status=$?
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); }; }; then
19571 glibcxx_cv_func__isnanl_use=yes
19572 else
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19576 glibcxx_cv_func__isnanl_use=no
19578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19579 ac_ext=c
19580 ac_cpp='$CPP $CPPFLAGS'
19581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19589 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19590 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19592 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19594 for ac_func in _isnanl
19596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19597 echo "$as_me:$LINENO: checking for $ac_func" >&5
19598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19599 if eval "test \"\${$as_ac_var+set}\" = set"; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 else
19602 if test x$gcc_no_link = xyes; then
19603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19605 { (exit 1); exit 1; }; }
19607 cat >conftest.$ac_ext <<_ACEOF
19608 /* confdefs.h. */
19609 _ACEOF
19610 cat confdefs.h >>conftest.$ac_ext
19611 cat >>conftest.$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19615 #define $ac_func innocuous_$ac_func
19617 /* System header to define __stub macros and hopefully few prototypes,
19618 which can conflict with char $ac_func (); below.
19619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19620 <limits.h> exists even on freestanding compilers. */
19622 #ifdef __STDC__
19623 # include <limits.h>
19624 #else
19625 # include <assert.h>
19626 #endif
19628 #undef $ac_func
19630 /* Override any gcc2 internal prototype to avoid an error. */
19631 #ifdef __cplusplus
19632 extern "C"
19634 #endif
19635 /* We use char because int might match the return type of a gcc2
19636 builtin and then its argument prototype would still apply. */
19637 char $ac_func ();
19638 /* The GNU C library defines this for functions which it implements
19639 to always fail with ENOSYS. Some functions are actually named
19640 something starting with __ and the normal name is an alias. */
19641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19642 choke me
19643 #else
19644 char (*f) () = $ac_func;
19645 #endif
19646 #ifdef __cplusplus
19648 #endif
19651 main ()
19653 return f != $ac_func;
19655 return 0;
19657 _ACEOF
19658 rm -f conftest.$ac_objext conftest$ac_exeext
19659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19660 (eval $ac_link) 2>conftest.er1
19661 ac_status=$?
19662 grep -v '^ *+' conftest.er1 >conftest.err
19663 rm -f conftest.er1
19664 cat conftest.err >&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } &&
19667 { ac_try='test -z "$ac_c_werror_flag"
19668 || test ! -s conftest.err'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19671 ac_status=$?
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; } &&
19674 { ac_try='test -s conftest$ac_exeext'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19677 ac_status=$?
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19680 eval "$as_ac_var=yes"
19681 else
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.$ac_ext >&5
19685 eval "$as_ac_var=no"
19687 rm -f conftest.err conftest.$ac_objext \
19688 conftest$ac_exeext conftest.$ac_ext
19690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19692 if test `eval echo '${'$as_ac_var'}'` = yes; then
19693 cat >>confdefs.h <<_ACEOF
19694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19695 _ACEOF
19698 done
19708 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19709 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19710 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19711 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19712 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 else
19717 ac_ext=cc
19718 ac_cpp='$CXXCPP $CPPFLAGS'
19719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19723 cat >conftest.$ac_ext <<_ACEOF
19724 /* confdefs.h. */
19725 _ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 #include <math.h>
19730 #ifdef HAVE_IEEEFP_H
19731 #include <ieeefp.h>
19732 #endif
19735 main ()
19737 isinfl(0);
19739 return 0;
19741 _ACEOF
19742 rm -f conftest.$ac_objext
19743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19744 (eval $ac_compile) 2>conftest.er1
19745 ac_status=$?
19746 grep -v '^ *+' conftest.er1 >conftest.err
19747 rm -f conftest.er1
19748 cat conftest.err >&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); } &&
19751 { ac_try='test -z "$ac_cxx_werror_flag"
19752 || test ! -s conftest.err'
19753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19754 (eval $ac_try) 2>&5
19755 ac_status=$?
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); }; } &&
19758 { ac_try='test -s conftest.$ac_objext'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19761 ac_status=$?
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; }; then
19764 glibcxx_cv_func_isinfl_use=yes
19765 else
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19769 glibcxx_cv_func_isinfl_use=no
19771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19772 ac_ext=c
19773 ac_cpp='$CPP $CPPFLAGS'
19774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19782 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19783 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19785 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19787 for ac_func in isinfl
19789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19790 echo "$as_me:$LINENO: checking for $ac_func" >&5
19791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19792 if eval "test \"\${$as_ac_var+set}\" = set"; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else
19795 if test x$gcc_no_link = xyes; then
19796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19798 { (exit 1); exit 1; }; }
19800 cat >conftest.$ac_ext <<_ACEOF
19801 /* confdefs.h. */
19802 _ACEOF
19803 cat confdefs.h >>conftest.$ac_ext
19804 cat >>conftest.$ac_ext <<_ACEOF
19805 /* end confdefs.h. */
19806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19808 #define $ac_func innocuous_$ac_func
19810 /* System header to define __stub macros and hopefully few prototypes,
19811 which can conflict with char $ac_func (); below.
19812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19813 <limits.h> exists even on freestanding compilers. */
19815 #ifdef __STDC__
19816 # include <limits.h>
19817 #else
19818 # include <assert.h>
19819 #endif
19821 #undef $ac_func
19823 /* Override any gcc2 internal prototype to avoid an error. */
19824 #ifdef __cplusplus
19825 extern "C"
19827 #endif
19828 /* We use char because int might match the return type of a gcc2
19829 builtin and then its argument prototype would still apply. */
19830 char $ac_func ();
19831 /* The GNU C library defines this for functions which it implements
19832 to always fail with ENOSYS. Some functions are actually named
19833 something starting with __ and the normal name is an alias. */
19834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19835 choke me
19836 #else
19837 char (*f) () = $ac_func;
19838 #endif
19839 #ifdef __cplusplus
19841 #endif
19844 main ()
19846 return f != $ac_func;
19848 return 0;
19850 _ACEOF
19851 rm -f conftest.$ac_objext conftest$ac_exeext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19853 (eval $ac_link) 2>conftest.er1
19854 ac_status=$?
19855 grep -v '^ *+' conftest.er1 >conftest.err
19856 rm -f conftest.er1
19857 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try='test -z "$ac_c_werror_flag"
19861 || test ! -s conftest.err'
19862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863 (eval $ac_try) 2>&5
19864 ac_status=$?
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; } &&
19867 { ac_try='test -s conftest$ac_exeext'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19870 ac_status=$?
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; }; then
19873 eval "$as_ac_var=yes"
19874 else
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19878 eval "$as_ac_var=no"
19880 rm -f conftest.err conftest.$ac_objext \
19881 conftest$ac_exeext conftest.$ac_ext
19883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19885 if test `eval echo '${'$as_ac_var'}'` = yes; then
19886 cat >>confdefs.h <<_ACEOF
19887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19888 _ACEOF
19891 done
19893 else
19895 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19896 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19897 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19898 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19899 echo $ECHO_N "(cached) $ECHO_C" >&6
19900 else
19904 ac_ext=cc
19905 ac_cpp='$CXXCPP $CPPFLAGS'
19906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19910 cat >conftest.$ac_ext <<_ACEOF
19911 /* confdefs.h. */
19912 _ACEOF
19913 cat confdefs.h >>conftest.$ac_ext
19914 cat >>conftest.$ac_ext <<_ACEOF
19915 /* end confdefs.h. */
19916 #include <math.h>
19917 #ifdef HAVE_IEEEFP_H
19918 #include <ieeefp.h>
19919 #endif
19922 main ()
19924 _isinfl(0);
19926 return 0;
19928 _ACEOF
19929 rm -f conftest.$ac_objext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19931 (eval $ac_compile) 2>conftest.er1
19932 ac_status=$?
19933 grep -v '^ *+' conftest.er1 >conftest.err
19934 rm -f conftest.er1
19935 cat conftest.err >&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try='test -z "$ac_cxx_werror_flag"
19939 || test ! -s conftest.err'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19942 ac_status=$?
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try='test -s conftest.$ac_objext'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19948 ac_status=$?
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19951 glibcxx_cv_func__isinfl_use=yes
19952 else
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19956 glibcxx_cv_func__isinfl_use=no
19958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19959 ac_ext=c
19960 ac_cpp='$CPP $CPPFLAGS'
19961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19969 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19970 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19972 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19974 for ac_func in _isinfl
19976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19977 echo "$as_me:$LINENO: checking for $ac_func" >&5
19978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19979 if eval "test \"\${$as_ac_var+set}\" = set"; then
19980 echo $ECHO_N "(cached) $ECHO_C" >&6
19981 else
19982 if test x$gcc_no_link = xyes; then
19983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19985 { (exit 1); exit 1; }; }
19987 cat >conftest.$ac_ext <<_ACEOF
19988 /* confdefs.h. */
19989 _ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19995 #define $ac_func innocuous_$ac_func
19997 /* System header to define __stub macros and hopefully few prototypes,
19998 which can conflict with char $ac_func (); below.
19999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20000 <limits.h> exists even on freestanding compilers. */
20002 #ifdef __STDC__
20003 # include <limits.h>
20004 #else
20005 # include <assert.h>
20006 #endif
20008 #undef $ac_func
20010 /* Override any gcc2 internal prototype to avoid an error. */
20011 #ifdef __cplusplus
20012 extern "C"
20014 #endif
20015 /* We use char because int might match the return type of a gcc2
20016 builtin and then its argument prototype would still apply. */
20017 char $ac_func ();
20018 /* The GNU C library defines this for functions which it implements
20019 to always fail with ENOSYS. Some functions are actually named
20020 something starting with __ and the normal name is an alias. */
20021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20022 choke me
20023 #else
20024 char (*f) () = $ac_func;
20025 #endif
20026 #ifdef __cplusplus
20028 #endif
20031 main ()
20033 return f != $ac_func;
20035 return 0;
20037 _ACEOF
20038 rm -f conftest.$ac_objext conftest$ac_exeext
20039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20040 (eval $ac_link) 2>conftest.er1
20041 ac_status=$?
20042 grep -v '^ *+' conftest.er1 >conftest.err
20043 rm -f conftest.er1
20044 cat conftest.err >&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); } &&
20047 { ac_try='test -z "$ac_c_werror_flag"
20048 || test ! -s conftest.err'
20049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 (eval $ac_try) 2>&5
20051 ac_status=$?
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; } &&
20054 { ac_try='test -s conftest$ac_exeext'
20055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20056 (eval $ac_try) 2>&5
20057 ac_status=$?
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); }; }; then
20060 eval "$as_ac_var=yes"
20061 else
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20065 eval "$as_ac_var=no"
20067 rm -f conftest.err conftest.$ac_objext \
20068 conftest$ac_exeext conftest.$ac_ext
20070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20072 if test `eval echo '${'$as_ac_var'}'` = yes; then
20073 cat >>confdefs.h <<_ACEOF
20074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20075 _ACEOF
20078 done
20088 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20089 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20090 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20091 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20092 echo $ECHO_N "(cached) $ECHO_C" >&6
20093 else
20097 ac_ext=cc
20098 ac_cpp='$CXXCPP $CPPFLAGS'
20099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20103 cat >conftest.$ac_ext <<_ACEOF
20104 /* confdefs.h. */
20105 _ACEOF
20106 cat confdefs.h >>conftest.$ac_ext
20107 cat >>conftest.$ac_ext <<_ACEOF
20108 /* end confdefs.h. */
20109 #include <math.h>
20111 main ()
20113 copysignl(0, 0);
20115 return 0;
20117 _ACEOF
20118 rm -f conftest.$ac_objext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20120 (eval $ac_compile) 2>conftest.er1
20121 ac_status=$?
20122 grep -v '^ *+' conftest.er1 >conftest.err
20123 rm -f conftest.er1
20124 cat conftest.err >&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } &&
20127 { ac_try='test -z "$ac_cxx_werror_flag"
20128 || test ! -s conftest.err'
20129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130 (eval $ac_try) 2>&5
20131 ac_status=$?
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); }; } &&
20134 { ac_try='test -s conftest.$ac_objext'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20137 ac_status=$?
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; }; then
20140 glibcxx_cv_func_copysignl_use=yes
20141 else
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20145 glibcxx_cv_func_copysignl_use=no
20147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20148 ac_ext=c
20149 ac_cpp='$CPP $CPPFLAGS'
20150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20158 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20159 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20161 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20163 for ac_func in copysignl
20165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20166 echo "$as_me:$LINENO: checking for $ac_func" >&5
20167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20168 if eval "test \"\${$as_ac_var+set}\" = set"; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20170 else
20171 if test x$gcc_no_link = xyes; then
20172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20174 { (exit 1); exit 1; }; }
20176 cat >conftest.$ac_ext <<_ACEOF
20177 /* confdefs.h. */
20178 _ACEOF
20179 cat confdefs.h >>conftest.$ac_ext
20180 cat >>conftest.$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20184 #define $ac_func innocuous_$ac_func
20186 /* System header to define __stub macros and hopefully few prototypes,
20187 which can conflict with char $ac_func (); below.
20188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20189 <limits.h> exists even on freestanding compilers. */
20191 #ifdef __STDC__
20192 # include <limits.h>
20193 #else
20194 # include <assert.h>
20195 #endif
20197 #undef $ac_func
20199 /* Override any gcc2 internal prototype to avoid an error. */
20200 #ifdef __cplusplus
20201 extern "C"
20203 #endif
20204 /* We use char because int might match the return type of a gcc2
20205 builtin and then its argument prototype would still apply. */
20206 char $ac_func ();
20207 /* The GNU C library defines this for functions which it implements
20208 to always fail with ENOSYS. Some functions are actually named
20209 something starting with __ and the normal name is an alias. */
20210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20211 choke me
20212 #else
20213 char (*f) () = $ac_func;
20214 #endif
20215 #ifdef __cplusplus
20217 #endif
20220 main ()
20222 return f != $ac_func;
20224 return 0;
20226 _ACEOF
20227 rm -f conftest.$ac_objext conftest$ac_exeext
20228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20229 (eval $ac_link) 2>conftest.er1
20230 ac_status=$?
20231 grep -v '^ *+' conftest.er1 >conftest.err
20232 rm -f conftest.er1
20233 cat conftest.err >&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); } &&
20236 { ac_try='test -z "$ac_c_werror_flag"
20237 || test ! -s conftest.err'
20238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20239 (eval $ac_try) 2>&5
20240 ac_status=$?
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); }; } &&
20243 { ac_try='test -s conftest$ac_exeext'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20246 ac_status=$?
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; }; then
20249 eval "$as_ac_var=yes"
20250 else
20251 echo "$as_me: failed program was:" >&5
20252 sed 's/^/| /' conftest.$ac_ext >&5
20254 eval "$as_ac_var=no"
20256 rm -f conftest.err conftest.$ac_objext \
20257 conftest$ac_exeext conftest.$ac_ext
20259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20261 if test `eval echo '${'$as_ac_var'}'` = yes; then
20262 cat >>confdefs.h <<_ACEOF
20263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20264 _ACEOF
20267 done
20269 else
20271 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20272 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20273 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20274 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20275 echo $ECHO_N "(cached) $ECHO_C" >&6
20276 else
20280 ac_ext=cc
20281 ac_cpp='$CXXCPP $CPPFLAGS'
20282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20286 cat >conftest.$ac_ext <<_ACEOF
20287 /* confdefs.h. */
20288 _ACEOF
20289 cat confdefs.h >>conftest.$ac_ext
20290 cat >>conftest.$ac_ext <<_ACEOF
20291 /* end confdefs.h. */
20292 #include <math.h>
20294 main ()
20296 _copysignl(0, 0);
20298 return 0;
20300 _ACEOF
20301 rm -f conftest.$ac_objext
20302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20303 (eval $ac_compile) 2>conftest.er1
20304 ac_status=$?
20305 grep -v '^ *+' conftest.er1 >conftest.err
20306 rm -f conftest.er1
20307 cat conftest.err >&5
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); } &&
20310 { ac_try='test -z "$ac_cxx_werror_flag"
20311 || test ! -s conftest.err'
20312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20313 (eval $ac_try) 2>&5
20314 ac_status=$?
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); }; } &&
20317 { ac_try='test -s conftest.$ac_objext'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20320 ac_status=$?
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; }; then
20323 glibcxx_cv_func__copysignl_use=yes
20324 else
20325 echo "$as_me: failed program was:" >&5
20326 sed 's/^/| /' conftest.$ac_ext >&5
20328 glibcxx_cv_func__copysignl_use=no
20330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20331 ac_ext=c
20332 ac_cpp='$CPP $CPPFLAGS'
20333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20341 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20342 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20344 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20346 for ac_func in _copysignl
20348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20349 echo "$as_me:$LINENO: checking for $ac_func" >&5
20350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20351 if eval "test \"\${$as_ac_var+set}\" = set"; then
20352 echo $ECHO_N "(cached) $ECHO_C" >&6
20353 else
20354 if test x$gcc_no_link = xyes; then
20355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20357 { (exit 1); exit 1; }; }
20359 cat >conftest.$ac_ext <<_ACEOF
20360 /* confdefs.h. */
20361 _ACEOF
20362 cat confdefs.h >>conftest.$ac_ext
20363 cat >>conftest.$ac_ext <<_ACEOF
20364 /* end confdefs.h. */
20365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20367 #define $ac_func innocuous_$ac_func
20369 /* System header to define __stub macros and hopefully few prototypes,
20370 which can conflict with char $ac_func (); below.
20371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20372 <limits.h> exists even on freestanding compilers. */
20374 #ifdef __STDC__
20375 # include <limits.h>
20376 #else
20377 # include <assert.h>
20378 #endif
20380 #undef $ac_func
20382 /* Override any gcc2 internal prototype to avoid an error. */
20383 #ifdef __cplusplus
20384 extern "C"
20386 #endif
20387 /* We use char because int might match the return type of a gcc2
20388 builtin and then its argument prototype would still apply. */
20389 char $ac_func ();
20390 /* The GNU C library defines this for functions which it implements
20391 to always fail with ENOSYS. Some functions are actually named
20392 something starting with __ and the normal name is an alias. */
20393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20394 choke me
20395 #else
20396 char (*f) () = $ac_func;
20397 #endif
20398 #ifdef __cplusplus
20400 #endif
20403 main ()
20405 return f != $ac_func;
20407 return 0;
20409 _ACEOF
20410 rm -f conftest.$ac_objext conftest$ac_exeext
20411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20412 (eval $ac_link) 2>conftest.er1
20413 ac_status=$?
20414 grep -v '^ *+' conftest.er1 >conftest.err
20415 rm -f conftest.er1
20416 cat conftest.err >&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); } &&
20419 { ac_try='test -z "$ac_c_werror_flag"
20420 || test ! -s conftest.err'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20423 ac_status=$?
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; } &&
20426 { ac_try='test -s conftest$ac_exeext'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20429 ac_status=$?
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; }; then
20432 eval "$as_ac_var=yes"
20433 else
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20437 eval "$as_ac_var=no"
20439 rm -f conftest.err conftest.$ac_objext \
20440 conftest$ac_exeext conftest.$ac_ext
20442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20444 if test `eval echo '${'$as_ac_var'}'` = yes; then
20445 cat >>confdefs.h <<_ACEOF
20446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20447 _ACEOF
20450 done
20460 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20461 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20462 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20463 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20464 echo $ECHO_N "(cached) $ECHO_C" >&6
20465 else
20469 ac_ext=cc
20470 ac_cpp='$CXXCPP $CPPFLAGS'
20471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20475 cat >conftest.$ac_ext <<_ACEOF
20476 /* confdefs.h. */
20477 _ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 #include <math.h>
20483 main ()
20485 atan2l(0, 0);
20487 return 0;
20489 _ACEOF
20490 rm -f conftest.$ac_objext
20491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20492 (eval $ac_compile) 2>conftest.er1
20493 ac_status=$?
20494 grep -v '^ *+' conftest.er1 >conftest.err
20495 rm -f conftest.er1
20496 cat conftest.err >&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); } &&
20499 { ac_try='test -z "$ac_cxx_werror_flag"
20500 || test ! -s conftest.err'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20503 ac_status=$?
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; } &&
20506 { ac_try='test -s conftest.$ac_objext'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20509 ac_status=$?
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; }; then
20512 glibcxx_cv_func_atan2l_use=yes
20513 else
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20517 glibcxx_cv_func_atan2l_use=no
20519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20520 ac_ext=c
20521 ac_cpp='$CPP $CPPFLAGS'
20522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20530 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20531 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20533 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20535 for ac_func in atan2l
20537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20538 echo "$as_me:$LINENO: checking for $ac_func" >&5
20539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20540 if eval "test \"\${$as_ac_var+set}\" = set"; then
20541 echo $ECHO_N "(cached) $ECHO_C" >&6
20542 else
20543 if test x$gcc_no_link = xyes; then
20544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20546 { (exit 1); exit 1; }; }
20548 cat >conftest.$ac_ext <<_ACEOF
20549 /* confdefs.h. */
20550 _ACEOF
20551 cat confdefs.h >>conftest.$ac_ext
20552 cat >>conftest.$ac_ext <<_ACEOF
20553 /* end confdefs.h. */
20554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20556 #define $ac_func innocuous_$ac_func
20558 /* System header to define __stub macros and hopefully few prototypes,
20559 which can conflict with char $ac_func (); below.
20560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20561 <limits.h> exists even on freestanding compilers. */
20563 #ifdef __STDC__
20564 # include <limits.h>
20565 #else
20566 # include <assert.h>
20567 #endif
20569 #undef $ac_func
20571 /* Override any gcc2 internal prototype to avoid an error. */
20572 #ifdef __cplusplus
20573 extern "C"
20575 #endif
20576 /* We use char because int might match the return type of a gcc2
20577 builtin and then its argument prototype would still apply. */
20578 char $ac_func ();
20579 /* The GNU C library defines this for functions which it implements
20580 to always fail with ENOSYS. Some functions are actually named
20581 something starting with __ and the normal name is an alias. */
20582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20583 choke me
20584 #else
20585 char (*f) () = $ac_func;
20586 #endif
20587 #ifdef __cplusplus
20589 #endif
20592 main ()
20594 return f != $ac_func;
20596 return 0;
20598 _ACEOF
20599 rm -f conftest.$ac_objext conftest$ac_exeext
20600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20601 (eval $ac_link) 2>conftest.er1
20602 ac_status=$?
20603 grep -v '^ *+' conftest.er1 >conftest.err
20604 rm -f conftest.er1
20605 cat conftest.err >&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } &&
20608 { ac_try='test -z "$ac_c_werror_flag"
20609 || test ! -s conftest.err'
20610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611 (eval $ac_try) 2>&5
20612 ac_status=$?
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); }; } &&
20615 { ac_try='test -s conftest$ac_exeext'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20618 ac_status=$?
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; }; then
20621 eval "$as_ac_var=yes"
20622 else
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.$ac_ext >&5
20626 eval "$as_ac_var=no"
20628 rm -f conftest.err conftest.$ac_objext \
20629 conftest$ac_exeext conftest.$ac_ext
20631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20633 if test `eval echo '${'$as_ac_var'}'` = yes; then
20634 cat >>confdefs.h <<_ACEOF
20635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20636 _ACEOF
20639 done
20641 else
20643 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20644 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20645 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20646 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20647 echo $ECHO_N "(cached) $ECHO_C" >&6
20648 else
20652 ac_ext=cc
20653 ac_cpp='$CXXCPP $CPPFLAGS'
20654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20658 cat >conftest.$ac_ext <<_ACEOF
20659 /* confdefs.h. */
20660 _ACEOF
20661 cat confdefs.h >>conftest.$ac_ext
20662 cat >>conftest.$ac_ext <<_ACEOF
20663 /* end confdefs.h. */
20664 #include <math.h>
20666 main ()
20668 _atan2l(0, 0);
20670 return 0;
20672 _ACEOF
20673 rm -f conftest.$ac_objext
20674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20675 (eval $ac_compile) 2>conftest.er1
20676 ac_status=$?
20677 grep -v '^ *+' conftest.er1 >conftest.err
20678 rm -f conftest.er1
20679 cat conftest.err >&5
20680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); } &&
20682 { ac_try='test -z "$ac_cxx_werror_flag"
20683 || test ! -s conftest.err'
20684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20685 (eval $ac_try) 2>&5
20686 ac_status=$?
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); }; } &&
20689 { ac_try='test -s conftest.$ac_objext'
20690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20691 (eval $ac_try) 2>&5
20692 ac_status=$?
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }; }; then
20695 glibcxx_cv_func__atan2l_use=yes
20696 else
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.$ac_ext >&5
20700 glibcxx_cv_func__atan2l_use=no
20702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20703 ac_ext=c
20704 ac_cpp='$CPP $CPPFLAGS'
20705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20714 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20716 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20718 for ac_func in _atan2l
20720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20721 echo "$as_me:$LINENO: checking for $ac_func" >&5
20722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20723 if eval "test \"\${$as_ac_var+set}\" = set"; then
20724 echo $ECHO_N "(cached) $ECHO_C" >&6
20725 else
20726 if test x$gcc_no_link = xyes; then
20727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20729 { (exit 1); exit 1; }; }
20731 cat >conftest.$ac_ext <<_ACEOF
20732 /* confdefs.h. */
20733 _ACEOF
20734 cat confdefs.h >>conftest.$ac_ext
20735 cat >>conftest.$ac_ext <<_ACEOF
20736 /* end confdefs.h. */
20737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20739 #define $ac_func innocuous_$ac_func
20741 /* System header to define __stub macros and hopefully few prototypes,
20742 which can conflict with char $ac_func (); below.
20743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20744 <limits.h> exists even on freestanding compilers. */
20746 #ifdef __STDC__
20747 # include <limits.h>
20748 #else
20749 # include <assert.h>
20750 #endif
20752 #undef $ac_func
20754 /* Override any gcc2 internal prototype to avoid an error. */
20755 #ifdef __cplusplus
20756 extern "C"
20758 #endif
20759 /* We use char because int might match the return type of a gcc2
20760 builtin and then its argument prototype would still apply. */
20761 char $ac_func ();
20762 /* The GNU C library defines this for functions which it implements
20763 to always fail with ENOSYS. Some functions are actually named
20764 something starting with __ and the normal name is an alias. */
20765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20766 choke me
20767 #else
20768 char (*f) () = $ac_func;
20769 #endif
20770 #ifdef __cplusplus
20772 #endif
20775 main ()
20777 return f != $ac_func;
20779 return 0;
20781 _ACEOF
20782 rm -f conftest.$ac_objext conftest$ac_exeext
20783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20784 (eval $ac_link) 2>conftest.er1
20785 ac_status=$?
20786 grep -v '^ *+' conftest.er1 >conftest.err
20787 rm -f conftest.er1
20788 cat conftest.err >&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); } &&
20791 { ac_try='test -z "$ac_c_werror_flag"
20792 || test ! -s conftest.err'
20793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20794 (eval $ac_try) 2>&5
20795 ac_status=$?
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; } &&
20798 { ac_try='test -s conftest$ac_exeext'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20801 ac_status=$?
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; }; then
20804 eval "$as_ac_var=yes"
20805 else
20806 echo "$as_me: failed program was:" >&5
20807 sed 's/^/| /' conftest.$ac_ext >&5
20809 eval "$as_ac_var=no"
20811 rm -f conftest.err conftest.$ac_objext \
20812 conftest$ac_exeext conftest.$ac_ext
20814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20816 if test `eval echo '${'$as_ac_var'}'` = yes; then
20817 cat >>confdefs.h <<_ACEOF
20818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20819 _ACEOF
20822 done
20832 echo "$as_me:$LINENO: checking for expl declaration" >&5
20833 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20834 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20835 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20836 echo $ECHO_N "(cached) $ECHO_C" >&6
20837 else
20841 ac_ext=cc
20842 ac_cpp='$CXXCPP $CPPFLAGS'
20843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20847 cat >conftest.$ac_ext <<_ACEOF
20848 /* confdefs.h. */
20849 _ACEOF
20850 cat confdefs.h >>conftest.$ac_ext
20851 cat >>conftest.$ac_ext <<_ACEOF
20852 /* end confdefs.h. */
20853 #include <math.h>
20854 #ifdef HAVE_IEEEFP_H
20855 #include <ieeefp.h>
20856 #endif
20859 main ()
20861 expl(0);
20863 return 0;
20865 _ACEOF
20866 rm -f conftest.$ac_objext
20867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20868 (eval $ac_compile) 2>conftest.er1
20869 ac_status=$?
20870 grep -v '^ *+' conftest.er1 >conftest.err
20871 rm -f conftest.er1
20872 cat conftest.err >&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); } &&
20875 { ac_try='test -z "$ac_cxx_werror_flag"
20876 || test ! -s conftest.err'
20877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20878 (eval $ac_try) 2>&5
20879 ac_status=$?
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); }; } &&
20882 { ac_try='test -s conftest.$ac_objext'
20883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20884 (eval $ac_try) 2>&5
20885 ac_status=$?
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); }; }; then
20888 glibcxx_cv_func_expl_use=yes
20889 else
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.$ac_ext >&5
20893 glibcxx_cv_func_expl_use=no
20895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20896 ac_ext=c
20897 ac_cpp='$CPP $CPPFLAGS'
20898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20906 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20907 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20909 if test x$glibcxx_cv_func_expl_use = x"yes"; then
20911 for ac_func in expl
20913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20914 echo "$as_me:$LINENO: checking for $ac_func" >&5
20915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20916 if eval "test \"\${$as_ac_var+set}\" = set"; then
20917 echo $ECHO_N "(cached) $ECHO_C" >&6
20918 else
20919 if test x$gcc_no_link = xyes; then
20920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20922 { (exit 1); exit 1; }; }
20924 cat >conftest.$ac_ext <<_ACEOF
20925 /* confdefs.h. */
20926 _ACEOF
20927 cat confdefs.h >>conftest.$ac_ext
20928 cat >>conftest.$ac_ext <<_ACEOF
20929 /* end confdefs.h. */
20930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20932 #define $ac_func innocuous_$ac_func
20934 /* System header to define __stub macros and hopefully few prototypes,
20935 which can conflict with char $ac_func (); below.
20936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20937 <limits.h> exists even on freestanding compilers. */
20939 #ifdef __STDC__
20940 # include <limits.h>
20941 #else
20942 # include <assert.h>
20943 #endif
20945 #undef $ac_func
20947 /* Override any gcc2 internal prototype to avoid an error. */
20948 #ifdef __cplusplus
20949 extern "C"
20951 #endif
20952 /* We use char because int might match the return type of a gcc2
20953 builtin and then its argument prototype would still apply. */
20954 char $ac_func ();
20955 /* The GNU C library defines this for functions which it implements
20956 to always fail with ENOSYS. Some functions are actually named
20957 something starting with __ and the normal name is an alias. */
20958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20959 choke me
20960 #else
20961 char (*f) () = $ac_func;
20962 #endif
20963 #ifdef __cplusplus
20965 #endif
20968 main ()
20970 return f != $ac_func;
20972 return 0;
20974 _ACEOF
20975 rm -f conftest.$ac_objext conftest$ac_exeext
20976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20977 (eval $ac_link) 2>conftest.er1
20978 ac_status=$?
20979 grep -v '^ *+' conftest.er1 >conftest.err
20980 rm -f conftest.er1
20981 cat conftest.err >&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } &&
20984 { ac_try='test -z "$ac_c_werror_flag"
20985 || test ! -s conftest.err'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20988 ac_status=$?
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; } &&
20991 { ac_try='test -s conftest$ac_exeext'
20992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993 (eval $ac_try) 2>&5
20994 ac_status=$?
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; }; then
20997 eval "$as_ac_var=yes"
20998 else
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21002 eval "$as_ac_var=no"
21004 rm -f conftest.err conftest.$ac_objext \
21005 conftest$ac_exeext conftest.$ac_ext
21007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21009 if test `eval echo '${'$as_ac_var'}'` = yes; then
21010 cat >>confdefs.h <<_ACEOF
21011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21012 _ACEOF
21015 done
21017 else
21019 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21020 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21021 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21022 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21023 echo $ECHO_N "(cached) $ECHO_C" >&6
21024 else
21028 ac_ext=cc
21029 ac_cpp='$CXXCPP $CPPFLAGS'
21030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21034 cat >conftest.$ac_ext <<_ACEOF
21035 /* confdefs.h. */
21036 _ACEOF
21037 cat confdefs.h >>conftest.$ac_ext
21038 cat >>conftest.$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 #include <math.h>
21041 #ifdef HAVE_IEEEFP_H
21042 #include <ieeefp.h>
21043 #endif
21046 main ()
21048 _expl(0);
21050 return 0;
21052 _ACEOF
21053 rm -f conftest.$ac_objext
21054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21055 (eval $ac_compile) 2>conftest.er1
21056 ac_status=$?
21057 grep -v '^ *+' conftest.er1 >conftest.err
21058 rm -f conftest.er1
21059 cat conftest.err >&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } &&
21062 { ac_try='test -z "$ac_cxx_werror_flag"
21063 || test ! -s conftest.err'
21064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21065 (eval $ac_try) 2>&5
21066 ac_status=$?
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); }; } &&
21069 { ac_try='test -s conftest.$ac_objext'
21070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21071 (eval $ac_try) 2>&5
21072 ac_status=$?
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); }; }; then
21075 glibcxx_cv_func__expl_use=yes
21076 else
21077 echo "$as_me: failed program was:" >&5
21078 sed 's/^/| /' conftest.$ac_ext >&5
21080 glibcxx_cv_func__expl_use=no
21082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21083 ac_ext=c
21084 ac_cpp='$CPP $CPPFLAGS'
21085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21093 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21094 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21096 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21098 for ac_func in _expl
21100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21101 echo "$as_me:$LINENO: checking for $ac_func" >&5
21102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21103 if eval "test \"\${$as_ac_var+set}\" = set"; then
21104 echo $ECHO_N "(cached) $ECHO_C" >&6
21105 else
21106 if test x$gcc_no_link = xyes; then
21107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21109 { (exit 1); exit 1; }; }
21111 cat >conftest.$ac_ext <<_ACEOF
21112 /* confdefs.h. */
21113 _ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21119 #define $ac_func innocuous_$ac_func
21121 /* System header to define __stub macros and hopefully few prototypes,
21122 which can conflict with char $ac_func (); below.
21123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21124 <limits.h> exists even on freestanding compilers. */
21126 #ifdef __STDC__
21127 # include <limits.h>
21128 #else
21129 # include <assert.h>
21130 #endif
21132 #undef $ac_func
21134 /* Override any gcc2 internal prototype to avoid an error. */
21135 #ifdef __cplusplus
21136 extern "C"
21138 #endif
21139 /* We use char because int might match the return type of a gcc2
21140 builtin and then its argument prototype would still apply. */
21141 char $ac_func ();
21142 /* The GNU C library defines this for functions which it implements
21143 to always fail with ENOSYS. Some functions are actually named
21144 something starting with __ and the normal name is an alias. */
21145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21146 choke me
21147 #else
21148 char (*f) () = $ac_func;
21149 #endif
21150 #ifdef __cplusplus
21152 #endif
21155 main ()
21157 return f != $ac_func;
21159 return 0;
21161 _ACEOF
21162 rm -f conftest.$ac_objext conftest$ac_exeext
21163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21164 (eval $ac_link) 2>conftest.er1
21165 ac_status=$?
21166 grep -v '^ *+' conftest.er1 >conftest.err
21167 rm -f conftest.er1
21168 cat conftest.err >&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); } &&
21171 { ac_try='test -z "$ac_c_werror_flag"
21172 || test ! -s conftest.err'
21173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21174 (eval $ac_try) 2>&5
21175 ac_status=$?
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; } &&
21178 { ac_try='test -s conftest$ac_exeext'
21179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21180 (eval $ac_try) 2>&5
21181 ac_status=$?
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); }; }; then
21184 eval "$as_ac_var=yes"
21185 else
21186 echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.$ac_ext >&5
21189 eval "$as_ac_var=no"
21191 rm -f conftest.err conftest.$ac_objext \
21192 conftest$ac_exeext conftest.$ac_ext
21194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21196 if test `eval echo '${'$as_ac_var'}'` = yes; then
21197 cat >>confdefs.h <<_ACEOF
21198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21199 _ACEOF
21202 done
21212 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21213 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21214 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21215 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21216 echo $ECHO_N "(cached) $ECHO_C" >&6
21217 else
21221 ac_ext=cc
21222 ac_cpp='$CXXCPP $CPPFLAGS'
21223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21227 cat >conftest.$ac_ext <<_ACEOF
21228 /* confdefs.h. */
21229 _ACEOF
21230 cat confdefs.h >>conftest.$ac_ext
21231 cat >>conftest.$ac_ext <<_ACEOF
21232 /* end confdefs.h. */
21233 #include <math.h>
21234 #ifdef HAVE_IEEEFP_H
21235 #include <ieeefp.h>
21236 #endif
21239 main ()
21241 fabsl(0);
21243 return 0;
21245 _ACEOF
21246 rm -f conftest.$ac_objext
21247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21248 (eval $ac_compile) 2>conftest.er1
21249 ac_status=$?
21250 grep -v '^ *+' conftest.er1 >conftest.err
21251 rm -f conftest.er1
21252 cat conftest.err >&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); } &&
21255 { ac_try='test -z "$ac_cxx_werror_flag"
21256 || test ! -s conftest.err'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21259 ac_status=$?
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; } &&
21262 { ac_try='test -s conftest.$ac_objext'
21263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21264 (eval $ac_try) 2>&5
21265 ac_status=$?
21266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267 (exit $ac_status); }; }; then
21268 glibcxx_cv_func_fabsl_use=yes
21269 else
21270 echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.$ac_ext >&5
21273 glibcxx_cv_func_fabsl_use=no
21275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21276 ac_ext=c
21277 ac_cpp='$CPP $CPPFLAGS'
21278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21286 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21287 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21289 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21291 for ac_func in fabsl
21293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21294 echo "$as_me:$LINENO: checking for $ac_func" >&5
21295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21296 if eval "test \"\${$as_ac_var+set}\" = set"; then
21297 echo $ECHO_N "(cached) $ECHO_C" >&6
21298 else
21299 if test x$gcc_no_link = xyes; then
21300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21302 { (exit 1); exit 1; }; }
21304 cat >conftest.$ac_ext <<_ACEOF
21305 /* confdefs.h. */
21306 _ACEOF
21307 cat confdefs.h >>conftest.$ac_ext
21308 cat >>conftest.$ac_ext <<_ACEOF
21309 /* end confdefs.h. */
21310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21312 #define $ac_func innocuous_$ac_func
21314 /* System header to define __stub macros and hopefully few prototypes,
21315 which can conflict with char $ac_func (); below.
21316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21317 <limits.h> exists even on freestanding compilers. */
21319 #ifdef __STDC__
21320 # include <limits.h>
21321 #else
21322 # include <assert.h>
21323 #endif
21325 #undef $ac_func
21327 /* Override any gcc2 internal prototype to avoid an error. */
21328 #ifdef __cplusplus
21329 extern "C"
21331 #endif
21332 /* We use char because int might match the return type of a gcc2
21333 builtin and then its argument prototype would still apply. */
21334 char $ac_func ();
21335 /* The GNU C library defines this for functions which it implements
21336 to always fail with ENOSYS. Some functions are actually named
21337 something starting with __ and the normal name is an alias. */
21338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21339 choke me
21340 #else
21341 char (*f) () = $ac_func;
21342 #endif
21343 #ifdef __cplusplus
21345 #endif
21348 main ()
21350 return f != $ac_func;
21352 return 0;
21354 _ACEOF
21355 rm -f conftest.$ac_objext conftest$ac_exeext
21356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21357 (eval $ac_link) 2>conftest.er1
21358 ac_status=$?
21359 grep -v '^ *+' conftest.er1 >conftest.err
21360 rm -f conftest.er1
21361 cat conftest.err >&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } &&
21364 { ac_try='test -z "$ac_c_werror_flag"
21365 || test ! -s conftest.err'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21368 ac_status=$?
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; } &&
21371 { ac_try='test -s conftest$ac_exeext'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21374 ac_status=$?
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; }; then
21377 eval "$as_ac_var=yes"
21378 else
21379 echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.$ac_ext >&5
21382 eval "$as_ac_var=no"
21384 rm -f conftest.err conftest.$ac_objext \
21385 conftest$ac_exeext conftest.$ac_ext
21387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21389 if test `eval echo '${'$as_ac_var'}'` = yes; then
21390 cat >>confdefs.h <<_ACEOF
21391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21392 _ACEOF
21395 done
21397 else
21399 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21400 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21401 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21402 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21403 echo $ECHO_N "(cached) $ECHO_C" >&6
21404 else
21408 ac_ext=cc
21409 ac_cpp='$CXXCPP $CPPFLAGS'
21410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21414 cat >conftest.$ac_ext <<_ACEOF
21415 /* confdefs.h. */
21416 _ACEOF
21417 cat confdefs.h >>conftest.$ac_ext
21418 cat >>conftest.$ac_ext <<_ACEOF
21419 /* end confdefs.h. */
21420 #include <math.h>
21421 #ifdef HAVE_IEEEFP_H
21422 #include <ieeefp.h>
21423 #endif
21426 main ()
21428 _fabsl(0);
21430 return 0;
21432 _ACEOF
21433 rm -f conftest.$ac_objext
21434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21435 (eval $ac_compile) 2>conftest.er1
21436 ac_status=$?
21437 grep -v '^ *+' conftest.er1 >conftest.err
21438 rm -f conftest.er1
21439 cat conftest.err >&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); } &&
21442 { ac_try='test -z "$ac_cxx_werror_flag"
21443 || test ! -s conftest.err'
21444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445 (eval $ac_try) 2>&5
21446 ac_status=$?
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); }; } &&
21449 { ac_try='test -s conftest.$ac_objext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21452 ac_status=$?
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 glibcxx_cv_func__fabsl_use=yes
21456 else
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.$ac_ext >&5
21460 glibcxx_cv_func__fabsl_use=no
21462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21463 ac_ext=c
21464 ac_cpp='$CPP $CPPFLAGS'
21465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21473 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21474 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21476 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21478 for ac_func in _fabsl
21480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21481 echo "$as_me:$LINENO: checking for $ac_func" >&5
21482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21483 if eval "test \"\${$as_ac_var+set}\" = set"; then
21484 echo $ECHO_N "(cached) $ECHO_C" >&6
21485 else
21486 if test x$gcc_no_link = xyes; then
21487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21489 { (exit 1); exit 1; }; }
21491 cat >conftest.$ac_ext <<_ACEOF
21492 /* confdefs.h. */
21493 _ACEOF
21494 cat confdefs.h >>conftest.$ac_ext
21495 cat >>conftest.$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21499 #define $ac_func innocuous_$ac_func
21501 /* System header to define __stub macros and hopefully few prototypes,
21502 which can conflict with char $ac_func (); below.
21503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21504 <limits.h> exists even on freestanding compilers. */
21506 #ifdef __STDC__
21507 # include <limits.h>
21508 #else
21509 # include <assert.h>
21510 #endif
21512 #undef $ac_func
21514 /* Override any gcc2 internal prototype to avoid an error. */
21515 #ifdef __cplusplus
21516 extern "C"
21518 #endif
21519 /* We use char because int might match the return type of a gcc2
21520 builtin and then its argument prototype would still apply. */
21521 char $ac_func ();
21522 /* The GNU C library defines this for functions which it implements
21523 to always fail with ENOSYS. Some functions are actually named
21524 something starting with __ and the normal name is an alias. */
21525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21526 choke me
21527 #else
21528 char (*f) () = $ac_func;
21529 #endif
21530 #ifdef __cplusplus
21532 #endif
21535 main ()
21537 return f != $ac_func;
21539 return 0;
21541 _ACEOF
21542 rm -f conftest.$ac_objext conftest$ac_exeext
21543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21544 (eval $ac_link) 2>conftest.er1
21545 ac_status=$?
21546 grep -v '^ *+' conftest.er1 >conftest.err
21547 rm -f conftest.er1
21548 cat conftest.err >&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } &&
21551 { ac_try='test -z "$ac_c_werror_flag"
21552 || test ! -s conftest.err'
21553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21554 (eval $ac_try) 2>&5
21555 ac_status=$?
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); }; } &&
21558 { ac_try='test -s conftest$ac_exeext'
21559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560 (eval $ac_try) 2>&5
21561 ac_status=$?
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); }; }; then
21564 eval "$as_ac_var=yes"
21565 else
21566 echo "$as_me: failed program was:" >&5
21567 sed 's/^/| /' conftest.$ac_ext >&5
21569 eval "$as_ac_var=no"
21571 rm -f conftest.err conftest.$ac_objext \
21572 conftest$ac_exeext conftest.$ac_ext
21574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21576 if test `eval echo '${'$as_ac_var'}'` = yes; then
21577 cat >>confdefs.h <<_ACEOF
21578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21579 _ACEOF
21582 done
21592 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21593 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21594 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21595 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21596 echo $ECHO_N "(cached) $ECHO_C" >&6
21597 else
21601 ac_ext=cc
21602 ac_cpp='$CXXCPP $CPPFLAGS'
21603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21607 cat >conftest.$ac_ext <<_ACEOF
21608 /* confdefs.h. */
21609 _ACEOF
21610 cat confdefs.h >>conftest.$ac_ext
21611 cat >>conftest.$ac_ext <<_ACEOF
21612 /* end confdefs.h. */
21613 #include <math.h>
21615 main ()
21617 fmodl(0, 0);
21619 return 0;
21621 _ACEOF
21622 rm -f conftest.$ac_objext
21623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21624 (eval $ac_compile) 2>conftest.er1
21625 ac_status=$?
21626 grep -v '^ *+' conftest.er1 >conftest.err
21627 rm -f conftest.er1
21628 cat conftest.err >&5
21629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630 (exit $ac_status); } &&
21631 { ac_try='test -z "$ac_cxx_werror_flag"
21632 || test ! -s conftest.err'
21633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21634 (eval $ac_try) 2>&5
21635 ac_status=$?
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); }; } &&
21638 { ac_try='test -s conftest.$ac_objext'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21641 ac_status=$?
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; }; then
21644 glibcxx_cv_func_fmodl_use=yes
21645 else
21646 echo "$as_me: failed program was:" >&5
21647 sed 's/^/| /' conftest.$ac_ext >&5
21649 glibcxx_cv_func_fmodl_use=no
21651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21652 ac_ext=c
21653 ac_cpp='$CPP $CPPFLAGS'
21654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21662 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21663 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21665 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21667 for ac_func in fmodl
21669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21670 echo "$as_me:$LINENO: checking for $ac_func" >&5
21671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21672 if eval "test \"\${$as_ac_var+set}\" = set"; then
21673 echo $ECHO_N "(cached) $ECHO_C" >&6
21674 else
21675 if test x$gcc_no_link = xyes; then
21676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21678 { (exit 1); exit 1; }; }
21680 cat >conftest.$ac_ext <<_ACEOF
21681 /* confdefs.h. */
21682 _ACEOF
21683 cat confdefs.h >>conftest.$ac_ext
21684 cat >>conftest.$ac_ext <<_ACEOF
21685 /* end confdefs.h. */
21686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21688 #define $ac_func innocuous_$ac_func
21690 /* System header to define __stub macros and hopefully few prototypes,
21691 which can conflict with char $ac_func (); below.
21692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21693 <limits.h> exists even on freestanding compilers. */
21695 #ifdef __STDC__
21696 # include <limits.h>
21697 #else
21698 # include <assert.h>
21699 #endif
21701 #undef $ac_func
21703 /* Override any gcc2 internal prototype to avoid an error. */
21704 #ifdef __cplusplus
21705 extern "C"
21707 #endif
21708 /* We use char because int might match the return type of a gcc2
21709 builtin and then its argument prototype would still apply. */
21710 char $ac_func ();
21711 /* The GNU C library defines this for functions which it implements
21712 to always fail with ENOSYS. Some functions are actually named
21713 something starting with __ and the normal name is an alias. */
21714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21715 choke me
21716 #else
21717 char (*f) () = $ac_func;
21718 #endif
21719 #ifdef __cplusplus
21721 #endif
21724 main ()
21726 return f != $ac_func;
21728 return 0;
21730 _ACEOF
21731 rm -f conftest.$ac_objext conftest$ac_exeext
21732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21733 (eval $ac_link) 2>conftest.er1
21734 ac_status=$?
21735 grep -v '^ *+' conftest.er1 >conftest.err
21736 rm -f conftest.er1
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } &&
21740 { ac_try='test -z "$ac_c_werror_flag"
21741 || test ! -s conftest.err'
21742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21743 (eval $ac_try) 2>&5
21744 ac_status=$?
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); }; } &&
21747 { ac_try='test -s conftest$ac_exeext'
21748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21749 (eval $ac_try) 2>&5
21750 ac_status=$?
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); }; }; then
21753 eval "$as_ac_var=yes"
21754 else
21755 echo "$as_me: failed program was:" >&5
21756 sed 's/^/| /' conftest.$ac_ext >&5
21758 eval "$as_ac_var=no"
21760 rm -f conftest.err conftest.$ac_objext \
21761 conftest$ac_exeext conftest.$ac_ext
21763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21765 if test `eval echo '${'$as_ac_var'}'` = yes; then
21766 cat >>confdefs.h <<_ACEOF
21767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21768 _ACEOF
21771 done
21773 else
21775 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21776 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21777 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21778 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21779 echo $ECHO_N "(cached) $ECHO_C" >&6
21780 else
21784 ac_ext=cc
21785 ac_cpp='$CXXCPP $CPPFLAGS'
21786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21790 cat >conftest.$ac_ext <<_ACEOF
21791 /* confdefs.h. */
21792 _ACEOF
21793 cat confdefs.h >>conftest.$ac_ext
21794 cat >>conftest.$ac_ext <<_ACEOF
21795 /* end confdefs.h. */
21796 #include <math.h>
21798 main ()
21800 _fmodl(0, 0);
21802 return 0;
21804 _ACEOF
21805 rm -f conftest.$ac_objext
21806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21807 (eval $ac_compile) 2>conftest.er1
21808 ac_status=$?
21809 grep -v '^ *+' conftest.er1 >conftest.err
21810 rm -f conftest.er1
21811 cat conftest.err >&5
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); } &&
21814 { ac_try='test -z "$ac_cxx_werror_flag"
21815 || test ! -s conftest.err'
21816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21817 (eval $ac_try) 2>&5
21818 ac_status=$?
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); }; } &&
21821 { ac_try='test -s conftest.$ac_objext'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21824 ac_status=$?
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; }; then
21827 glibcxx_cv_func__fmodl_use=yes
21828 else
21829 echo "$as_me: failed program was:" >&5
21830 sed 's/^/| /' conftest.$ac_ext >&5
21832 glibcxx_cv_func__fmodl_use=no
21834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21835 ac_ext=c
21836 ac_cpp='$CPP $CPPFLAGS'
21837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21845 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21846 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21848 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21850 for ac_func in _fmodl
21852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21853 echo "$as_me:$LINENO: checking for $ac_func" >&5
21854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21855 if eval "test \"\${$as_ac_var+set}\" = set"; then
21856 echo $ECHO_N "(cached) $ECHO_C" >&6
21857 else
21858 if test x$gcc_no_link = xyes; then
21859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21861 { (exit 1); exit 1; }; }
21863 cat >conftest.$ac_ext <<_ACEOF
21864 /* confdefs.h. */
21865 _ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21871 #define $ac_func innocuous_$ac_func
21873 /* System header to define __stub macros and hopefully few prototypes,
21874 which can conflict with char $ac_func (); below.
21875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21876 <limits.h> exists even on freestanding compilers. */
21878 #ifdef __STDC__
21879 # include <limits.h>
21880 #else
21881 # include <assert.h>
21882 #endif
21884 #undef $ac_func
21886 /* Override any gcc2 internal prototype to avoid an error. */
21887 #ifdef __cplusplus
21888 extern "C"
21890 #endif
21891 /* We use char because int might match the return type of a gcc2
21892 builtin and then its argument prototype would still apply. */
21893 char $ac_func ();
21894 /* The GNU C library defines this for functions which it implements
21895 to always fail with ENOSYS. Some functions are actually named
21896 something starting with __ and the normal name is an alias. */
21897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21898 choke me
21899 #else
21900 char (*f) () = $ac_func;
21901 #endif
21902 #ifdef __cplusplus
21904 #endif
21907 main ()
21909 return f != $ac_func;
21911 return 0;
21913 _ACEOF
21914 rm -f conftest.$ac_objext conftest$ac_exeext
21915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21916 (eval $ac_link) 2>conftest.er1
21917 ac_status=$?
21918 grep -v '^ *+' conftest.er1 >conftest.err
21919 rm -f conftest.er1
21920 cat conftest.err >&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } &&
21923 { ac_try='test -z "$ac_c_werror_flag"
21924 || test ! -s conftest.err'
21925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21926 (eval $ac_try) 2>&5
21927 ac_status=$?
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); }; } &&
21930 { ac_try='test -s conftest$ac_exeext'
21931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21932 (eval $ac_try) 2>&5
21933 ac_status=$?
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); }; }; then
21936 eval "$as_ac_var=yes"
21937 else
21938 echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21941 eval "$as_ac_var=no"
21943 rm -f conftest.err conftest.$ac_objext \
21944 conftest$ac_exeext conftest.$ac_ext
21946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21948 if test `eval echo '${'$as_ac_var'}'` = yes; then
21949 cat >>confdefs.h <<_ACEOF
21950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21951 _ACEOF
21954 done
21964 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21965 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21966 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21967 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21968 echo $ECHO_N "(cached) $ECHO_C" >&6
21969 else
21973 ac_ext=cc
21974 ac_cpp='$CXXCPP $CPPFLAGS'
21975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21979 cat >conftest.$ac_ext <<_ACEOF
21980 /* confdefs.h. */
21981 _ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21985 #include <math.h>
21987 main ()
21989 frexpl(0, 0);
21991 return 0;
21993 _ACEOF
21994 rm -f conftest.$ac_objext
21995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21996 (eval $ac_compile) 2>conftest.er1
21997 ac_status=$?
21998 grep -v '^ *+' conftest.er1 >conftest.err
21999 rm -f conftest.er1
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } &&
22003 { ac_try='test -z "$ac_cxx_werror_flag"
22004 || test ! -s conftest.err'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22007 ac_status=$?
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; } &&
22010 { ac_try='test -s conftest.$ac_objext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22013 ac_status=$?
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22016 glibcxx_cv_func_frexpl_use=yes
22017 else
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.$ac_ext >&5
22021 glibcxx_cv_func_frexpl_use=no
22023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22024 ac_ext=c
22025 ac_cpp='$CPP $CPPFLAGS'
22026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22034 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22035 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22037 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22039 for ac_func in frexpl
22041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22042 echo "$as_me:$LINENO: checking for $ac_func" >&5
22043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22044 if eval "test \"\${$as_ac_var+set}\" = set"; then
22045 echo $ECHO_N "(cached) $ECHO_C" >&6
22046 else
22047 if test x$gcc_no_link = xyes; then
22048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22050 { (exit 1); exit 1; }; }
22052 cat >conftest.$ac_ext <<_ACEOF
22053 /* confdefs.h. */
22054 _ACEOF
22055 cat confdefs.h >>conftest.$ac_ext
22056 cat >>conftest.$ac_ext <<_ACEOF
22057 /* end confdefs.h. */
22058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22060 #define $ac_func innocuous_$ac_func
22062 /* System header to define __stub macros and hopefully few prototypes,
22063 which can conflict with char $ac_func (); below.
22064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22065 <limits.h> exists even on freestanding compilers. */
22067 #ifdef __STDC__
22068 # include <limits.h>
22069 #else
22070 # include <assert.h>
22071 #endif
22073 #undef $ac_func
22075 /* Override any gcc2 internal prototype to avoid an error. */
22076 #ifdef __cplusplus
22077 extern "C"
22079 #endif
22080 /* We use char because int might match the return type of a gcc2
22081 builtin and then its argument prototype would still apply. */
22082 char $ac_func ();
22083 /* The GNU C library defines this for functions which it implements
22084 to always fail with ENOSYS. Some functions are actually named
22085 something starting with __ and the normal name is an alias. */
22086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22087 choke me
22088 #else
22089 char (*f) () = $ac_func;
22090 #endif
22091 #ifdef __cplusplus
22093 #endif
22096 main ()
22098 return f != $ac_func;
22100 return 0;
22102 _ACEOF
22103 rm -f conftest.$ac_objext conftest$ac_exeext
22104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22105 (eval $ac_link) 2>conftest.er1
22106 ac_status=$?
22107 grep -v '^ *+' conftest.er1 >conftest.err
22108 rm -f conftest.er1
22109 cat conftest.err >&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } &&
22112 { ac_try='test -z "$ac_c_werror_flag"
22113 || test ! -s conftest.err'
22114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22115 (eval $ac_try) 2>&5
22116 ac_status=$?
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); }; } &&
22119 { ac_try='test -s conftest$ac_exeext'
22120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121 (eval $ac_try) 2>&5
22122 ac_status=$?
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; }; then
22125 eval "$as_ac_var=yes"
22126 else
22127 echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.$ac_ext >&5
22130 eval "$as_ac_var=no"
22132 rm -f conftest.err conftest.$ac_objext \
22133 conftest$ac_exeext conftest.$ac_ext
22135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22137 if test `eval echo '${'$as_ac_var'}'` = yes; then
22138 cat >>confdefs.h <<_ACEOF
22139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22140 _ACEOF
22143 done
22145 else
22147 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22148 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22149 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22150 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22151 echo $ECHO_N "(cached) $ECHO_C" >&6
22152 else
22156 ac_ext=cc
22157 ac_cpp='$CXXCPP $CPPFLAGS'
22158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22162 cat >conftest.$ac_ext <<_ACEOF
22163 /* confdefs.h. */
22164 _ACEOF
22165 cat confdefs.h >>conftest.$ac_ext
22166 cat >>conftest.$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22168 #include <math.h>
22170 main ()
22172 _frexpl(0, 0);
22174 return 0;
22176 _ACEOF
22177 rm -f conftest.$ac_objext
22178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22179 (eval $ac_compile) 2>conftest.er1
22180 ac_status=$?
22181 grep -v '^ *+' conftest.er1 >conftest.err
22182 rm -f conftest.er1
22183 cat conftest.err >&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); } &&
22186 { ac_try='test -z "$ac_cxx_werror_flag"
22187 || test ! -s conftest.err'
22188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22189 (eval $ac_try) 2>&5
22190 ac_status=$?
22191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192 (exit $ac_status); }; } &&
22193 { ac_try='test -s conftest.$ac_objext'
22194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22195 (eval $ac_try) 2>&5
22196 ac_status=$?
22197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198 (exit $ac_status); }; }; then
22199 glibcxx_cv_func__frexpl_use=yes
22200 else
22201 echo "$as_me: failed program was:" >&5
22202 sed 's/^/| /' conftest.$ac_ext >&5
22204 glibcxx_cv_func__frexpl_use=no
22206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22207 ac_ext=c
22208 ac_cpp='$CPP $CPPFLAGS'
22209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22217 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22218 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22220 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22222 for ac_func in _frexpl
22224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22225 echo "$as_me:$LINENO: checking for $ac_func" >&5
22226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22227 if eval "test \"\${$as_ac_var+set}\" = set"; then
22228 echo $ECHO_N "(cached) $ECHO_C" >&6
22229 else
22230 if test x$gcc_no_link = xyes; then
22231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22233 { (exit 1); exit 1; }; }
22235 cat >conftest.$ac_ext <<_ACEOF
22236 /* confdefs.h. */
22237 _ACEOF
22238 cat confdefs.h >>conftest.$ac_ext
22239 cat >>conftest.$ac_ext <<_ACEOF
22240 /* end confdefs.h. */
22241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22243 #define $ac_func innocuous_$ac_func
22245 /* System header to define __stub macros and hopefully few prototypes,
22246 which can conflict with char $ac_func (); below.
22247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22248 <limits.h> exists even on freestanding compilers. */
22250 #ifdef __STDC__
22251 # include <limits.h>
22252 #else
22253 # include <assert.h>
22254 #endif
22256 #undef $ac_func
22258 /* Override any gcc2 internal prototype to avoid an error. */
22259 #ifdef __cplusplus
22260 extern "C"
22262 #endif
22263 /* We use char because int might match the return type of a gcc2
22264 builtin and then its argument prototype would still apply. */
22265 char $ac_func ();
22266 /* The GNU C library defines this for functions which it implements
22267 to always fail with ENOSYS. Some functions are actually named
22268 something starting with __ and the normal name is an alias. */
22269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22270 choke me
22271 #else
22272 char (*f) () = $ac_func;
22273 #endif
22274 #ifdef __cplusplus
22276 #endif
22279 main ()
22281 return f != $ac_func;
22283 return 0;
22285 _ACEOF
22286 rm -f conftest.$ac_objext conftest$ac_exeext
22287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22288 (eval $ac_link) 2>conftest.er1
22289 ac_status=$?
22290 grep -v '^ *+' conftest.er1 >conftest.err
22291 rm -f conftest.er1
22292 cat conftest.err >&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); } &&
22295 { ac_try='test -z "$ac_c_werror_flag"
22296 || test ! -s conftest.err'
22297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22298 (eval $ac_try) 2>&5
22299 ac_status=$?
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); }; } &&
22302 { ac_try='test -s conftest$ac_exeext'
22303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22304 (eval $ac_try) 2>&5
22305 ac_status=$?
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); }; }; then
22308 eval "$as_ac_var=yes"
22309 else
22310 echo "$as_me: failed program was:" >&5
22311 sed 's/^/| /' conftest.$ac_ext >&5
22313 eval "$as_ac_var=no"
22315 rm -f conftest.err conftest.$ac_objext \
22316 conftest$ac_exeext conftest.$ac_ext
22318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22320 if test `eval echo '${'$as_ac_var'}'` = yes; then
22321 cat >>confdefs.h <<_ACEOF
22322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22323 _ACEOF
22326 done
22336 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22337 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22338 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22339 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22340 echo $ECHO_N "(cached) $ECHO_C" >&6
22341 else
22345 ac_ext=cc
22346 ac_cpp='$CXXCPP $CPPFLAGS'
22347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22351 cat >conftest.$ac_ext <<_ACEOF
22352 /* confdefs.h. */
22353 _ACEOF
22354 cat confdefs.h >>conftest.$ac_ext
22355 cat >>conftest.$ac_ext <<_ACEOF
22356 /* end confdefs.h. */
22357 #include <math.h>
22359 main ()
22361 hypotl(0, 0);
22363 return 0;
22365 _ACEOF
22366 rm -f conftest.$ac_objext
22367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22368 (eval $ac_compile) 2>conftest.er1
22369 ac_status=$?
22370 grep -v '^ *+' conftest.er1 >conftest.err
22371 rm -f conftest.er1
22372 cat conftest.err >&5
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); } &&
22375 { ac_try='test -z "$ac_cxx_werror_flag"
22376 || test ! -s conftest.err'
22377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22378 (eval $ac_try) 2>&5
22379 ac_status=$?
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); }; } &&
22382 { ac_try='test -s conftest.$ac_objext'
22383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22384 (eval $ac_try) 2>&5
22385 ac_status=$?
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; }; then
22388 glibcxx_cv_func_hypotl_use=yes
22389 else
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.$ac_ext >&5
22393 glibcxx_cv_func_hypotl_use=no
22395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22396 ac_ext=c
22397 ac_cpp='$CPP $CPPFLAGS'
22398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22406 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22407 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22409 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22411 for ac_func in hypotl
22413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22414 echo "$as_me:$LINENO: checking for $ac_func" >&5
22415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22416 if eval "test \"\${$as_ac_var+set}\" = set"; then
22417 echo $ECHO_N "(cached) $ECHO_C" >&6
22418 else
22419 if test x$gcc_no_link = xyes; then
22420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22422 { (exit 1); exit 1; }; }
22424 cat >conftest.$ac_ext <<_ACEOF
22425 /* confdefs.h. */
22426 _ACEOF
22427 cat confdefs.h >>conftest.$ac_ext
22428 cat >>conftest.$ac_ext <<_ACEOF
22429 /* end confdefs.h. */
22430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22432 #define $ac_func innocuous_$ac_func
22434 /* System header to define __stub macros and hopefully few prototypes,
22435 which can conflict with char $ac_func (); below.
22436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22437 <limits.h> exists even on freestanding compilers. */
22439 #ifdef __STDC__
22440 # include <limits.h>
22441 #else
22442 # include <assert.h>
22443 #endif
22445 #undef $ac_func
22447 /* Override any gcc2 internal prototype to avoid an error. */
22448 #ifdef __cplusplus
22449 extern "C"
22451 #endif
22452 /* We use char because int might match the return type of a gcc2
22453 builtin and then its argument prototype would still apply. */
22454 char $ac_func ();
22455 /* The GNU C library defines this for functions which it implements
22456 to always fail with ENOSYS. Some functions are actually named
22457 something starting with __ and the normal name is an alias. */
22458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22459 choke me
22460 #else
22461 char (*f) () = $ac_func;
22462 #endif
22463 #ifdef __cplusplus
22465 #endif
22468 main ()
22470 return f != $ac_func;
22472 return 0;
22474 _ACEOF
22475 rm -f conftest.$ac_objext conftest$ac_exeext
22476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22477 (eval $ac_link) 2>conftest.er1
22478 ac_status=$?
22479 grep -v '^ *+' conftest.er1 >conftest.err
22480 rm -f conftest.er1
22481 cat conftest.err >&5
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); } &&
22484 { ac_try='test -z "$ac_c_werror_flag"
22485 || test ! -s conftest.err'
22486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22487 (eval $ac_try) 2>&5
22488 ac_status=$?
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); }; } &&
22491 { ac_try='test -s conftest$ac_exeext'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22494 ac_status=$?
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; }; then
22497 eval "$as_ac_var=yes"
22498 else
22499 echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.$ac_ext >&5
22502 eval "$as_ac_var=no"
22504 rm -f conftest.err conftest.$ac_objext \
22505 conftest$ac_exeext conftest.$ac_ext
22507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22509 if test `eval echo '${'$as_ac_var'}'` = yes; then
22510 cat >>confdefs.h <<_ACEOF
22511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22512 _ACEOF
22515 done
22517 else
22519 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22520 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22521 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22522 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22523 echo $ECHO_N "(cached) $ECHO_C" >&6
22524 else
22528 ac_ext=cc
22529 ac_cpp='$CXXCPP $CPPFLAGS'
22530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22534 cat >conftest.$ac_ext <<_ACEOF
22535 /* confdefs.h. */
22536 _ACEOF
22537 cat confdefs.h >>conftest.$ac_ext
22538 cat >>conftest.$ac_ext <<_ACEOF
22539 /* end confdefs.h. */
22540 #include <math.h>
22542 main ()
22544 _hypotl(0, 0);
22546 return 0;
22548 _ACEOF
22549 rm -f conftest.$ac_objext
22550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22551 (eval $ac_compile) 2>conftest.er1
22552 ac_status=$?
22553 grep -v '^ *+' conftest.er1 >conftest.err
22554 rm -f conftest.er1
22555 cat conftest.err >&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try='test -z "$ac_cxx_werror_flag"
22559 || test ! -s conftest.err'
22560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22561 (eval $ac_try) 2>&5
22562 ac_status=$?
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); }; } &&
22565 { ac_try='test -s conftest.$ac_objext'
22566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22567 (eval $ac_try) 2>&5
22568 ac_status=$?
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }; }; then
22571 glibcxx_cv_func__hypotl_use=yes
22572 else
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.$ac_ext >&5
22576 glibcxx_cv_func__hypotl_use=no
22578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22579 ac_ext=c
22580 ac_cpp='$CPP $CPPFLAGS'
22581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22589 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22590 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22592 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22594 for ac_func in _hypotl
22596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22597 echo "$as_me:$LINENO: checking for $ac_func" >&5
22598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22599 if eval "test \"\${$as_ac_var+set}\" = set"; then
22600 echo $ECHO_N "(cached) $ECHO_C" >&6
22601 else
22602 if test x$gcc_no_link = xyes; then
22603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22605 { (exit 1); exit 1; }; }
22607 cat >conftest.$ac_ext <<_ACEOF
22608 /* confdefs.h. */
22609 _ACEOF
22610 cat confdefs.h >>conftest.$ac_ext
22611 cat >>conftest.$ac_ext <<_ACEOF
22612 /* end confdefs.h. */
22613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22615 #define $ac_func innocuous_$ac_func
22617 /* System header to define __stub macros and hopefully few prototypes,
22618 which can conflict with char $ac_func (); below.
22619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22620 <limits.h> exists even on freestanding compilers. */
22622 #ifdef __STDC__
22623 # include <limits.h>
22624 #else
22625 # include <assert.h>
22626 #endif
22628 #undef $ac_func
22630 /* Override any gcc2 internal prototype to avoid an error. */
22631 #ifdef __cplusplus
22632 extern "C"
22634 #endif
22635 /* We use char because int might match the return type of a gcc2
22636 builtin and then its argument prototype would still apply. */
22637 char $ac_func ();
22638 /* The GNU C library defines this for functions which it implements
22639 to always fail with ENOSYS. Some functions are actually named
22640 something starting with __ and the normal name is an alias. */
22641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22642 choke me
22643 #else
22644 char (*f) () = $ac_func;
22645 #endif
22646 #ifdef __cplusplus
22648 #endif
22651 main ()
22653 return f != $ac_func;
22655 return 0;
22657 _ACEOF
22658 rm -f conftest.$ac_objext conftest$ac_exeext
22659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22660 (eval $ac_link) 2>conftest.er1
22661 ac_status=$?
22662 grep -v '^ *+' conftest.er1 >conftest.err
22663 rm -f conftest.er1
22664 cat conftest.err >&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); } &&
22667 { ac_try='test -z "$ac_c_werror_flag"
22668 || test ! -s conftest.err'
22669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22670 (eval $ac_try) 2>&5
22671 ac_status=$?
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); }; } &&
22674 { ac_try='test -s conftest$ac_exeext'
22675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22676 (eval $ac_try) 2>&5
22677 ac_status=$?
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); }; }; then
22680 eval "$as_ac_var=yes"
22681 else
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.$ac_ext >&5
22685 eval "$as_ac_var=no"
22687 rm -f conftest.err conftest.$ac_objext \
22688 conftest$ac_exeext conftest.$ac_ext
22690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22692 if test `eval echo '${'$as_ac_var'}'` = yes; then
22693 cat >>confdefs.h <<_ACEOF
22694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22695 _ACEOF
22698 done
22708 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22709 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22710 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22711 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22712 echo $ECHO_N "(cached) $ECHO_C" >&6
22713 else
22717 ac_ext=cc
22718 ac_cpp='$CXXCPP $CPPFLAGS'
22719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22723 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h. */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729 #include <math.h>
22731 main ()
22733 ldexpl(0, 0);
22735 return 0;
22737 _ACEOF
22738 rm -f conftest.$ac_objext
22739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22740 (eval $ac_compile) 2>conftest.er1
22741 ac_status=$?
22742 grep -v '^ *+' conftest.er1 >conftest.err
22743 rm -f conftest.er1
22744 cat conftest.err >&5
22745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 (exit $ac_status); } &&
22747 { ac_try='test -z "$ac_cxx_werror_flag"
22748 || test ! -s conftest.err'
22749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22750 (eval $ac_try) 2>&5
22751 ac_status=$?
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); }; } &&
22754 { ac_try='test -s conftest.$ac_objext'
22755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22756 (eval $ac_try) 2>&5
22757 ac_status=$?
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); }; }; then
22760 glibcxx_cv_func_ldexpl_use=yes
22761 else
22762 echo "$as_me: failed program was:" >&5
22763 sed 's/^/| /' conftest.$ac_ext >&5
22765 glibcxx_cv_func_ldexpl_use=no
22767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22768 ac_ext=c
22769 ac_cpp='$CPP $CPPFLAGS'
22770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22779 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22781 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22783 for ac_func in ldexpl
22785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22786 echo "$as_me:$LINENO: checking for $ac_func" >&5
22787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22788 if eval "test \"\${$as_ac_var+set}\" = set"; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 else
22791 if test x$gcc_no_link = xyes; then
22792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22794 { (exit 1); exit 1; }; }
22796 cat >conftest.$ac_ext <<_ACEOF
22797 /* confdefs.h. */
22798 _ACEOF
22799 cat confdefs.h >>conftest.$ac_ext
22800 cat >>conftest.$ac_ext <<_ACEOF
22801 /* end confdefs.h. */
22802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22804 #define $ac_func innocuous_$ac_func
22806 /* System header to define __stub macros and hopefully few prototypes,
22807 which can conflict with char $ac_func (); below.
22808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22809 <limits.h> exists even on freestanding compilers. */
22811 #ifdef __STDC__
22812 # include <limits.h>
22813 #else
22814 # include <assert.h>
22815 #endif
22817 #undef $ac_func
22819 /* Override any gcc2 internal prototype to avoid an error. */
22820 #ifdef __cplusplus
22821 extern "C"
22823 #endif
22824 /* We use char because int might match the return type of a gcc2
22825 builtin and then its argument prototype would still apply. */
22826 char $ac_func ();
22827 /* The GNU C library defines this for functions which it implements
22828 to always fail with ENOSYS. Some functions are actually named
22829 something starting with __ and the normal name is an alias. */
22830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22831 choke me
22832 #else
22833 char (*f) () = $ac_func;
22834 #endif
22835 #ifdef __cplusplus
22837 #endif
22840 main ()
22842 return f != $ac_func;
22844 return 0;
22846 _ACEOF
22847 rm -f conftest.$ac_objext conftest$ac_exeext
22848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22849 (eval $ac_link) 2>conftest.er1
22850 ac_status=$?
22851 grep -v '^ *+' conftest.er1 >conftest.err
22852 rm -f conftest.er1
22853 cat conftest.err >&5
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); } &&
22856 { ac_try='test -z "$ac_c_werror_flag"
22857 || test ! -s conftest.err'
22858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22859 (eval $ac_try) 2>&5
22860 ac_status=$?
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); }; } &&
22863 { ac_try='test -s conftest$ac_exeext'
22864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22865 (eval $ac_try) 2>&5
22866 ac_status=$?
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); }; }; then
22869 eval "$as_ac_var=yes"
22870 else
22871 echo "$as_me: failed program was:" >&5
22872 sed 's/^/| /' conftest.$ac_ext >&5
22874 eval "$as_ac_var=no"
22876 rm -f conftest.err conftest.$ac_objext \
22877 conftest$ac_exeext conftest.$ac_ext
22879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22881 if test `eval echo '${'$as_ac_var'}'` = yes; then
22882 cat >>confdefs.h <<_ACEOF
22883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22884 _ACEOF
22887 done
22889 else
22891 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22892 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22893 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22894 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22895 echo $ECHO_N "(cached) $ECHO_C" >&6
22896 else
22900 ac_ext=cc
22901 ac_cpp='$CXXCPP $CPPFLAGS'
22902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22906 cat >conftest.$ac_ext <<_ACEOF
22907 /* confdefs.h. */
22908 _ACEOF
22909 cat confdefs.h >>conftest.$ac_ext
22910 cat >>conftest.$ac_ext <<_ACEOF
22911 /* end confdefs.h. */
22912 #include <math.h>
22914 main ()
22916 _ldexpl(0, 0);
22918 return 0;
22920 _ACEOF
22921 rm -f conftest.$ac_objext
22922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22923 (eval $ac_compile) 2>conftest.er1
22924 ac_status=$?
22925 grep -v '^ *+' conftest.er1 >conftest.err
22926 rm -f conftest.er1
22927 cat conftest.err >&5
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); } &&
22930 { ac_try='test -z "$ac_cxx_werror_flag"
22931 || test ! -s conftest.err'
22932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22933 (eval $ac_try) 2>&5
22934 ac_status=$?
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); }; } &&
22937 { ac_try='test -s conftest.$ac_objext'
22938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22939 (eval $ac_try) 2>&5
22940 ac_status=$?
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; }; then
22943 glibcxx_cv_func__ldexpl_use=yes
22944 else
22945 echo "$as_me: failed program was:" >&5
22946 sed 's/^/| /' conftest.$ac_ext >&5
22948 glibcxx_cv_func__ldexpl_use=no
22950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22951 ac_ext=c
22952 ac_cpp='$CPP $CPPFLAGS'
22953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22962 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22964 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22966 for ac_func in _ldexpl
22968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22969 echo "$as_me:$LINENO: checking for $ac_func" >&5
22970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22971 if eval "test \"\${$as_ac_var+set}\" = set"; then
22972 echo $ECHO_N "(cached) $ECHO_C" >&6
22973 else
22974 if test x$gcc_no_link = xyes; then
22975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22977 { (exit 1); exit 1; }; }
22979 cat >conftest.$ac_ext <<_ACEOF
22980 /* confdefs.h. */
22981 _ACEOF
22982 cat confdefs.h >>conftest.$ac_ext
22983 cat >>conftest.$ac_ext <<_ACEOF
22984 /* end confdefs.h. */
22985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22987 #define $ac_func innocuous_$ac_func
22989 /* System header to define __stub macros and hopefully few prototypes,
22990 which can conflict with char $ac_func (); below.
22991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22992 <limits.h> exists even on freestanding compilers. */
22994 #ifdef __STDC__
22995 # include <limits.h>
22996 #else
22997 # include <assert.h>
22998 #endif
23000 #undef $ac_func
23002 /* Override any gcc2 internal prototype to avoid an error. */
23003 #ifdef __cplusplus
23004 extern "C"
23006 #endif
23007 /* We use char because int might match the return type of a gcc2
23008 builtin and then its argument prototype would still apply. */
23009 char $ac_func ();
23010 /* The GNU C library defines this for functions which it implements
23011 to always fail with ENOSYS. Some functions are actually named
23012 something starting with __ and the normal name is an alias. */
23013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23014 choke me
23015 #else
23016 char (*f) () = $ac_func;
23017 #endif
23018 #ifdef __cplusplus
23020 #endif
23023 main ()
23025 return f != $ac_func;
23027 return 0;
23029 _ACEOF
23030 rm -f conftest.$ac_objext conftest$ac_exeext
23031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23032 (eval $ac_link) 2>conftest.er1
23033 ac_status=$?
23034 grep -v '^ *+' conftest.er1 >conftest.err
23035 rm -f conftest.er1
23036 cat conftest.err >&5
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); } &&
23039 { ac_try='test -z "$ac_c_werror_flag"
23040 || test ! -s conftest.err'
23041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23042 (eval $ac_try) 2>&5
23043 ac_status=$?
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); }; } &&
23046 { ac_try='test -s conftest$ac_exeext'
23047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23048 (eval $ac_try) 2>&5
23049 ac_status=$?
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); }; }; then
23052 eval "$as_ac_var=yes"
23053 else
23054 echo "$as_me: failed program was:" >&5
23055 sed 's/^/| /' conftest.$ac_ext >&5
23057 eval "$as_ac_var=no"
23059 rm -f conftest.err conftest.$ac_objext \
23060 conftest$ac_exeext conftest.$ac_ext
23062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23064 if test `eval echo '${'$as_ac_var'}'` = yes; then
23065 cat >>confdefs.h <<_ACEOF
23066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23067 _ACEOF
23070 done
23080 echo "$as_me:$LINENO: checking for logl declaration" >&5
23081 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23082 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23083 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23089 ac_ext=cc
23090 ac_cpp='$CXXCPP $CPPFLAGS'
23091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23095 cat >conftest.$ac_ext <<_ACEOF
23096 /* confdefs.h. */
23097 _ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23101 #include <math.h>
23102 #ifdef HAVE_IEEEFP_H
23103 #include <ieeefp.h>
23104 #endif
23107 main ()
23109 logl(0);
23111 return 0;
23113 _ACEOF
23114 rm -f conftest.$ac_objext
23115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23116 (eval $ac_compile) 2>conftest.er1
23117 ac_status=$?
23118 grep -v '^ *+' conftest.er1 >conftest.err
23119 rm -f conftest.er1
23120 cat conftest.err >&5
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); } &&
23123 { ac_try='test -z "$ac_cxx_werror_flag"
23124 || test ! -s conftest.err'
23125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23126 (eval $ac_try) 2>&5
23127 ac_status=$?
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; } &&
23130 { ac_try='test -s conftest.$ac_objext'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23133 ac_status=$?
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; }; then
23136 glibcxx_cv_func_logl_use=yes
23137 else
23138 echo "$as_me: failed program was:" >&5
23139 sed 's/^/| /' conftest.$ac_ext >&5
23141 glibcxx_cv_func_logl_use=no
23143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23144 ac_ext=c
23145 ac_cpp='$CPP $CPPFLAGS'
23146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23154 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23155 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23157 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23159 for ac_func in logl
23161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23162 echo "$as_me:$LINENO: checking for $ac_func" >&5
23163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23164 if eval "test \"\${$as_ac_var+set}\" = set"; then
23165 echo $ECHO_N "(cached) $ECHO_C" >&6
23166 else
23167 if test x$gcc_no_link = xyes; then
23168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23170 { (exit 1); exit 1; }; }
23172 cat >conftest.$ac_ext <<_ACEOF
23173 /* confdefs.h. */
23174 _ACEOF
23175 cat confdefs.h >>conftest.$ac_ext
23176 cat >>conftest.$ac_ext <<_ACEOF
23177 /* end confdefs.h. */
23178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23180 #define $ac_func innocuous_$ac_func
23182 /* System header to define __stub macros and hopefully few prototypes,
23183 which can conflict with char $ac_func (); below.
23184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23185 <limits.h> exists even on freestanding compilers. */
23187 #ifdef __STDC__
23188 # include <limits.h>
23189 #else
23190 # include <assert.h>
23191 #endif
23193 #undef $ac_func
23195 /* Override any gcc2 internal prototype to avoid an error. */
23196 #ifdef __cplusplus
23197 extern "C"
23199 #endif
23200 /* We use char because int might match the return type of a gcc2
23201 builtin and then its argument prototype would still apply. */
23202 char $ac_func ();
23203 /* The GNU C library defines this for functions which it implements
23204 to always fail with ENOSYS. Some functions are actually named
23205 something starting with __ and the normal name is an alias. */
23206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23207 choke me
23208 #else
23209 char (*f) () = $ac_func;
23210 #endif
23211 #ifdef __cplusplus
23213 #endif
23216 main ()
23218 return f != $ac_func;
23220 return 0;
23222 _ACEOF
23223 rm -f conftest.$ac_objext conftest$ac_exeext
23224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23225 (eval $ac_link) 2>conftest.er1
23226 ac_status=$?
23227 grep -v '^ *+' conftest.er1 >conftest.err
23228 rm -f conftest.er1
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } &&
23232 { ac_try='test -z "$ac_c_werror_flag"
23233 || test ! -s conftest.err'
23234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23235 (eval $ac_try) 2>&5
23236 ac_status=$?
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); }; } &&
23239 { ac_try='test -s conftest$ac_exeext'
23240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23241 (eval $ac_try) 2>&5
23242 ac_status=$?
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); }; }; then
23245 eval "$as_ac_var=yes"
23246 else
23247 echo "$as_me: failed program was:" >&5
23248 sed 's/^/| /' conftest.$ac_ext >&5
23250 eval "$as_ac_var=no"
23252 rm -f conftest.err conftest.$ac_objext \
23253 conftest$ac_exeext conftest.$ac_ext
23255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23257 if test `eval echo '${'$as_ac_var'}'` = yes; then
23258 cat >>confdefs.h <<_ACEOF
23259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23260 _ACEOF
23263 done
23265 else
23267 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23268 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23269 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23270 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23271 echo $ECHO_N "(cached) $ECHO_C" >&6
23272 else
23276 ac_ext=cc
23277 ac_cpp='$CXXCPP $CPPFLAGS'
23278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23282 cat >conftest.$ac_ext <<_ACEOF
23283 /* confdefs.h. */
23284 _ACEOF
23285 cat confdefs.h >>conftest.$ac_ext
23286 cat >>conftest.$ac_ext <<_ACEOF
23287 /* end confdefs.h. */
23288 #include <math.h>
23289 #ifdef HAVE_IEEEFP_H
23290 #include <ieeefp.h>
23291 #endif
23294 main ()
23296 _logl(0);
23298 return 0;
23300 _ACEOF
23301 rm -f conftest.$ac_objext
23302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23303 (eval $ac_compile) 2>conftest.er1
23304 ac_status=$?
23305 grep -v '^ *+' conftest.er1 >conftest.err
23306 rm -f conftest.er1
23307 cat conftest.err >&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); } &&
23310 { ac_try='test -z "$ac_cxx_werror_flag"
23311 || test ! -s conftest.err'
23312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23313 (eval $ac_try) 2>&5
23314 ac_status=$?
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); }; } &&
23317 { ac_try='test -s conftest.$ac_objext'
23318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23319 (eval $ac_try) 2>&5
23320 ac_status=$?
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); }; }; then
23323 glibcxx_cv_func__logl_use=yes
23324 else
23325 echo "$as_me: failed program was:" >&5
23326 sed 's/^/| /' conftest.$ac_ext >&5
23328 glibcxx_cv_func__logl_use=no
23330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23331 ac_ext=c
23332 ac_cpp='$CPP $CPPFLAGS'
23333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23341 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23342 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23344 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23346 for ac_func in _logl
23348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23349 echo "$as_me:$LINENO: checking for $ac_func" >&5
23350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23351 if eval "test \"\${$as_ac_var+set}\" = set"; then
23352 echo $ECHO_N "(cached) $ECHO_C" >&6
23353 else
23354 if test x$gcc_no_link = xyes; then
23355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23357 { (exit 1); exit 1; }; }
23359 cat >conftest.$ac_ext <<_ACEOF
23360 /* confdefs.h. */
23361 _ACEOF
23362 cat confdefs.h >>conftest.$ac_ext
23363 cat >>conftest.$ac_ext <<_ACEOF
23364 /* end confdefs.h. */
23365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23367 #define $ac_func innocuous_$ac_func
23369 /* System header to define __stub macros and hopefully few prototypes,
23370 which can conflict with char $ac_func (); below.
23371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23372 <limits.h> exists even on freestanding compilers. */
23374 #ifdef __STDC__
23375 # include <limits.h>
23376 #else
23377 # include <assert.h>
23378 #endif
23380 #undef $ac_func
23382 /* Override any gcc2 internal prototype to avoid an error. */
23383 #ifdef __cplusplus
23384 extern "C"
23386 #endif
23387 /* We use char because int might match the return type of a gcc2
23388 builtin and then its argument prototype would still apply. */
23389 char $ac_func ();
23390 /* The GNU C library defines this for functions which it implements
23391 to always fail with ENOSYS. Some functions are actually named
23392 something starting with __ and the normal name is an alias. */
23393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23394 choke me
23395 #else
23396 char (*f) () = $ac_func;
23397 #endif
23398 #ifdef __cplusplus
23400 #endif
23403 main ()
23405 return f != $ac_func;
23407 return 0;
23409 _ACEOF
23410 rm -f conftest.$ac_objext conftest$ac_exeext
23411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23412 (eval $ac_link) 2>conftest.er1
23413 ac_status=$?
23414 grep -v '^ *+' conftest.er1 >conftest.err
23415 rm -f conftest.er1
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } &&
23419 { ac_try='test -z "$ac_c_werror_flag"
23420 || test ! -s conftest.err'
23421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23422 (eval $ac_try) 2>&5
23423 ac_status=$?
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); }; } &&
23426 { ac_try='test -s conftest$ac_exeext'
23427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23428 (eval $ac_try) 2>&5
23429 ac_status=$?
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); }; }; then
23432 eval "$as_ac_var=yes"
23433 else
23434 echo "$as_me: failed program was:" >&5
23435 sed 's/^/| /' conftest.$ac_ext >&5
23437 eval "$as_ac_var=no"
23439 rm -f conftest.err conftest.$ac_objext \
23440 conftest$ac_exeext conftest.$ac_ext
23442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23444 if test `eval echo '${'$as_ac_var'}'` = yes; then
23445 cat >>confdefs.h <<_ACEOF
23446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23447 _ACEOF
23450 done
23460 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23461 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23462 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23463 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23464 echo $ECHO_N "(cached) $ECHO_C" >&6
23465 else
23469 ac_ext=cc
23470 ac_cpp='$CXXCPP $CPPFLAGS'
23471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23475 cat >conftest.$ac_ext <<_ACEOF
23476 /* confdefs.h. */
23477 _ACEOF
23478 cat confdefs.h >>conftest.$ac_ext
23479 cat >>conftest.$ac_ext <<_ACEOF
23480 /* end confdefs.h. */
23481 #include <math.h>
23482 #ifdef HAVE_IEEEFP_H
23483 #include <ieeefp.h>
23484 #endif
23487 main ()
23489 log10l(0);
23491 return 0;
23493 _ACEOF
23494 rm -f conftest.$ac_objext
23495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23496 (eval $ac_compile) 2>conftest.er1
23497 ac_status=$?
23498 grep -v '^ *+' conftest.er1 >conftest.err
23499 rm -f conftest.er1
23500 cat conftest.err >&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); } &&
23503 { ac_try='test -z "$ac_cxx_werror_flag"
23504 || test ! -s conftest.err'
23505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23506 (eval $ac_try) 2>&5
23507 ac_status=$?
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); }; } &&
23510 { ac_try='test -s conftest.$ac_objext'
23511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23512 (eval $ac_try) 2>&5
23513 ac_status=$?
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); }; }; then
23516 glibcxx_cv_func_log10l_use=yes
23517 else
23518 echo "$as_me: failed program was:" >&5
23519 sed 's/^/| /' conftest.$ac_ext >&5
23521 glibcxx_cv_func_log10l_use=no
23523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23524 ac_ext=c
23525 ac_cpp='$CPP $CPPFLAGS'
23526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23534 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23535 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23537 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23539 for ac_func in log10l
23541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23542 echo "$as_me:$LINENO: checking for $ac_func" >&5
23543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23544 if eval "test \"\${$as_ac_var+set}\" = set"; then
23545 echo $ECHO_N "(cached) $ECHO_C" >&6
23546 else
23547 if test x$gcc_no_link = xyes; then
23548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23550 { (exit 1); exit 1; }; }
23552 cat >conftest.$ac_ext <<_ACEOF
23553 /* confdefs.h. */
23554 _ACEOF
23555 cat confdefs.h >>conftest.$ac_ext
23556 cat >>conftest.$ac_ext <<_ACEOF
23557 /* end confdefs.h. */
23558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23560 #define $ac_func innocuous_$ac_func
23562 /* System header to define __stub macros and hopefully few prototypes,
23563 which can conflict with char $ac_func (); below.
23564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23565 <limits.h> exists even on freestanding compilers. */
23567 #ifdef __STDC__
23568 # include <limits.h>
23569 #else
23570 # include <assert.h>
23571 #endif
23573 #undef $ac_func
23575 /* Override any gcc2 internal prototype to avoid an error. */
23576 #ifdef __cplusplus
23577 extern "C"
23579 #endif
23580 /* We use char because int might match the return type of a gcc2
23581 builtin and then its argument prototype would still apply. */
23582 char $ac_func ();
23583 /* The GNU C library defines this for functions which it implements
23584 to always fail with ENOSYS. Some functions are actually named
23585 something starting with __ and the normal name is an alias. */
23586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23587 choke me
23588 #else
23589 char (*f) () = $ac_func;
23590 #endif
23591 #ifdef __cplusplus
23593 #endif
23596 main ()
23598 return f != $ac_func;
23600 return 0;
23602 _ACEOF
23603 rm -f conftest.$ac_objext conftest$ac_exeext
23604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23605 (eval $ac_link) 2>conftest.er1
23606 ac_status=$?
23607 grep -v '^ *+' conftest.er1 >conftest.err
23608 rm -f conftest.er1
23609 cat conftest.err >&5
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); } &&
23612 { ac_try='test -z "$ac_c_werror_flag"
23613 || test ! -s conftest.err'
23614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23615 (eval $ac_try) 2>&5
23616 ac_status=$?
23617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618 (exit $ac_status); }; } &&
23619 { ac_try='test -s conftest$ac_exeext'
23620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23621 (eval $ac_try) 2>&5
23622 ac_status=$?
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); }; }; then
23625 eval "$as_ac_var=yes"
23626 else
23627 echo "$as_me: failed program was:" >&5
23628 sed 's/^/| /' conftest.$ac_ext >&5
23630 eval "$as_ac_var=no"
23632 rm -f conftest.err conftest.$ac_objext \
23633 conftest$ac_exeext conftest.$ac_ext
23635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23637 if test `eval echo '${'$as_ac_var'}'` = yes; then
23638 cat >>confdefs.h <<_ACEOF
23639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23640 _ACEOF
23643 done
23645 else
23647 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23648 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23649 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23650 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23651 echo $ECHO_N "(cached) $ECHO_C" >&6
23652 else
23656 ac_ext=cc
23657 ac_cpp='$CXXCPP $CPPFLAGS'
23658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23662 cat >conftest.$ac_ext <<_ACEOF
23663 /* confdefs.h. */
23664 _ACEOF
23665 cat confdefs.h >>conftest.$ac_ext
23666 cat >>conftest.$ac_ext <<_ACEOF
23667 /* end confdefs.h. */
23668 #include <math.h>
23669 #ifdef HAVE_IEEEFP_H
23670 #include <ieeefp.h>
23671 #endif
23674 main ()
23676 _log10l(0);
23678 return 0;
23680 _ACEOF
23681 rm -f conftest.$ac_objext
23682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23683 (eval $ac_compile) 2>conftest.er1
23684 ac_status=$?
23685 grep -v '^ *+' conftest.er1 >conftest.err
23686 rm -f conftest.er1
23687 cat conftest.err >&5
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); } &&
23690 { ac_try='test -z "$ac_cxx_werror_flag"
23691 || test ! -s conftest.err'
23692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23693 (eval $ac_try) 2>&5
23694 ac_status=$?
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); }; } &&
23697 { ac_try='test -s conftest.$ac_objext'
23698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699 (eval $ac_try) 2>&5
23700 ac_status=$?
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; }; then
23703 glibcxx_cv_func__log10l_use=yes
23704 else
23705 echo "$as_me: failed program was:" >&5
23706 sed 's/^/| /' conftest.$ac_ext >&5
23708 glibcxx_cv_func__log10l_use=no
23710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23711 ac_ext=c
23712 ac_cpp='$CPP $CPPFLAGS'
23713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23721 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23722 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23724 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23726 for ac_func in _log10l
23728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23729 echo "$as_me:$LINENO: checking for $ac_func" >&5
23730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23731 if eval "test \"\${$as_ac_var+set}\" = set"; then
23732 echo $ECHO_N "(cached) $ECHO_C" >&6
23733 else
23734 if test x$gcc_no_link = xyes; then
23735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23737 { (exit 1); exit 1; }; }
23739 cat >conftest.$ac_ext <<_ACEOF
23740 /* confdefs.h. */
23741 _ACEOF
23742 cat confdefs.h >>conftest.$ac_ext
23743 cat >>conftest.$ac_ext <<_ACEOF
23744 /* end confdefs.h. */
23745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23747 #define $ac_func innocuous_$ac_func
23749 /* System header to define __stub macros and hopefully few prototypes,
23750 which can conflict with char $ac_func (); below.
23751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23752 <limits.h> exists even on freestanding compilers. */
23754 #ifdef __STDC__
23755 # include <limits.h>
23756 #else
23757 # include <assert.h>
23758 #endif
23760 #undef $ac_func
23762 /* Override any gcc2 internal prototype to avoid an error. */
23763 #ifdef __cplusplus
23764 extern "C"
23766 #endif
23767 /* We use char because int might match the return type of a gcc2
23768 builtin and then its argument prototype would still apply. */
23769 char $ac_func ();
23770 /* The GNU C library defines this for functions which it implements
23771 to always fail with ENOSYS. Some functions are actually named
23772 something starting with __ and the normal name is an alias. */
23773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23774 choke me
23775 #else
23776 char (*f) () = $ac_func;
23777 #endif
23778 #ifdef __cplusplus
23780 #endif
23783 main ()
23785 return f != $ac_func;
23787 return 0;
23789 _ACEOF
23790 rm -f conftest.$ac_objext conftest$ac_exeext
23791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23792 (eval $ac_link) 2>conftest.er1
23793 ac_status=$?
23794 grep -v '^ *+' conftest.er1 >conftest.err
23795 rm -f conftest.er1
23796 cat conftest.err >&5
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); } &&
23799 { ac_try='test -z "$ac_c_werror_flag"
23800 || test ! -s conftest.err'
23801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23802 (eval $ac_try) 2>&5
23803 ac_status=$?
23804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); }; } &&
23806 { ac_try='test -s conftest$ac_exeext'
23807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23808 (eval $ac_try) 2>&5
23809 ac_status=$?
23810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23811 (exit $ac_status); }; }; then
23812 eval "$as_ac_var=yes"
23813 else
23814 echo "$as_me: failed program was:" >&5
23815 sed 's/^/| /' conftest.$ac_ext >&5
23817 eval "$as_ac_var=no"
23819 rm -f conftest.err conftest.$ac_objext \
23820 conftest$ac_exeext conftest.$ac_ext
23822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23824 if test `eval echo '${'$as_ac_var'}'` = yes; then
23825 cat >>confdefs.h <<_ACEOF
23826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23827 _ACEOF
23830 done
23840 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23841 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23842 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23843 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23844 echo $ECHO_N "(cached) $ECHO_C" >&6
23845 else
23849 ac_ext=cc
23850 ac_cpp='$CXXCPP $CPPFLAGS'
23851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23855 cat >conftest.$ac_ext <<_ACEOF
23856 /* confdefs.h. */
23857 _ACEOF
23858 cat confdefs.h >>conftest.$ac_ext
23859 cat >>conftest.$ac_ext <<_ACEOF
23860 /* end confdefs.h. */
23861 #include <math.h>
23863 main ()
23865 modfl(0, 0);
23867 return 0;
23869 _ACEOF
23870 rm -f conftest.$ac_objext
23871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23872 (eval $ac_compile) 2>conftest.er1
23873 ac_status=$?
23874 grep -v '^ *+' conftest.er1 >conftest.err
23875 rm -f conftest.er1
23876 cat conftest.err >&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } &&
23879 { ac_try='test -z "$ac_cxx_werror_flag"
23880 || test ! -s conftest.err'
23881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23882 (eval $ac_try) 2>&5
23883 ac_status=$?
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); }; } &&
23886 { ac_try='test -s conftest.$ac_objext'
23887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888 (eval $ac_try) 2>&5
23889 ac_status=$?
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; }; then
23892 glibcxx_cv_func_modfl_use=yes
23893 else
23894 echo "$as_me: failed program was:" >&5
23895 sed 's/^/| /' conftest.$ac_ext >&5
23897 glibcxx_cv_func_modfl_use=no
23899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23900 ac_ext=c
23901 ac_cpp='$CPP $CPPFLAGS'
23902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23910 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23911 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23913 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23915 for ac_func in modfl
23917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23918 echo "$as_me:$LINENO: checking for $ac_func" >&5
23919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23920 if eval "test \"\${$as_ac_var+set}\" = set"; then
23921 echo $ECHO_N "(cached) $ECHO_C" >&6
23922 else
23923 if test x$gcc_no_link = xyes; then
23924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23926 { (exit 1); exit 1; }; }
23928 cat >conftest.$ac_ext <<_ACEOF
23929 /* confdefs.h. */
23930 _ACEOF
23931 cat confdefs.h >>conftest.$ac_ext
23932 cat >>conftest.$ac_ext <<_ACEOF
23933 /* end confdefs.h. */
23934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23936 #define $ac_func innocuous_$ac_func
23938 /* System header to define __stub macros and hopefully few prototypes,
23939 which can conflict with char $ac_func (); below.
23940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23941 <limits.h> exists even on freestanding compilers. */
23943 #ifdef __STDC__
23944 # include <limits.h>
23945 #else
23946 # include <assert.h>
23947 #endif
23949 #undef $ac_func
23951 /* Override any gcc2 internal prototype to avoid an error. */
23952 #ifdef __cplusplus
23953 extern "C"
23955 #endif
23956 /* We use char because int might match the return type of a gcc2
23957 builtin and then its argument prototype would still apply. */
23958 char $ac_func ();
23959 /* The GNU C library defines this for functions which it implements
23960 to always fail with ENOSYS. Some functions are actually named
23961 something starting with __ and the normal name is an alias. */
23962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23963 choke me
23964 #else
23965 char (*f) () = $ac_func;
23966 #endif
23967 #ifdef __cplusplus
23969 #endif
23972 main ()
23974 return f != $ac_func;
23976 return 0;
23978 _ACEOF
23979 rm -f conftest.$ac_objext conftest$ac_exeext
23980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23981 (eval $ac_link) 2>conftest.er1
23982 ac_status=$?
23983 grep -v '^ *+' conftest.er1 >conftest.err
23984 rm -f conftest.er1
23985 cat conftest.err >&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); } &&
23988 { ac_try='test -z "$ac_c_werror_flag"
23989 || test ! -s conftest.err'
23990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23991 (eval $ac_try) 2>&5
23992 ac_status=$?
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); }; } &&
23995 { ac_try='test -s conftest$ac_exeext'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23998 ac_status=$?
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; }; then
24001 eval "$as_ac_var=yes"
24002 else
24003 echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.$ac_ext >&5
24006 eval "$as_ac_var=no"
24008 rm -f conftest.err conftest.$ac_objext \
24009 conftest$ac_exeext conftest.$ac_ext
24011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24013 if test `eval echo '${'$as_ac_var'}'` = yes; then
24014 cat >>confdefs.h <<_ACEOF
24015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24016 _ACEOF
24019 done
24021 else
24023 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24024 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24025 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24026 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24027 echo $ECHO_N "(cached) $ECHO_C" >&6
24028 else
24032 ac_ext=cc
24033 ac_cpp='$CXXCPP $CPPFLAGS'
24034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24038 cat >conftest.$ac_ext <<_ACEOF
24039 /* confdefs.h. */
24040 _ACEOF
24041 cat confdefs.h >>conftest.$ac_ext
24042 cat >>conftest.$ac_ext <<_ACEOF
24043 /* end confdefs.h. */
24044 #include <math.h>
24046 main ()
24048 _modfl(0, 0);
24050 return 0;
24052 _ACEOF
24053 rm -f conftest.$ac_objext
24054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24055 (eval $ac_compile) 2>conftest.er1
24056 ac_status=$?
24057 grep -v '^ *+' conftest.er1 >conftest.err
24058 rm -f conftest.er1
24059 cat conftest.err >&5
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); } &&
24062 { ac_try='test -z "$ac_cxx_werror_flag"
24063 || test ! -s conftest.err'
24064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24065 (eval $ac_try) 2>&5
24066 ac_status=$?
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); }; } &&
24069 { ac_try='test -s conftest.$ac_objext'
24070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24071 (eval $ac_try) 2>&5
24072 ac_status=$?
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); }; }; then
24075 glibcxx_cv_func__modfl_use=yes
24076 else
24077 echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.$ac_ext >&5
24080 glibcxx_cv_func__modfl_use=no
24082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24083 ac_ext=c
24084 ac_cpp='$CPP $CPPFLAGS'
24085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24093 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24094 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24096 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24098 for ac_func in _modfl
24100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24101 echo "$as_me:$LINENO: checking for $ac_func" >&5
24102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24103 if eval "test \"\${$as_ac_var+set}\" = set"; then
24104 echo $ECHO_N "(cached) $ECHO_C" >&6
24105 else
24106 if test x$gcc_no_link = xyes; then
24107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24109 { (exit 1); exit 1; }; }
24111 cat >conftest.$ac_ext <<_ACEOF
24112 /* confdefs.h. */
24113 _ACEOF
24114 cat confdefs.h >>conftest.$ac_ext
24115 cat >>conftest.$ac_ext <<_ACEOF
24116 /* end confdefs.h. */
24117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24119 #define $ac_func innocuous_$ac_func
24121 /* System header to define __stub macros and hopefully few prototypes,
24122 which can conflict with char $ac_func (); below.
24123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24124 <limits.h> exists even on freestanding compilers. */
24126 #ifdef __STDC__
24127 # include <limits.h>
24128 #else
24129 # include <assert.h>
24130 #endif
24132 #undef $ac_func
24134 /* Override any gcc2 internal prototype to avoid an error. */
24135 #ifdef __cplusplus
24136 extern "C"
24138 #endif
24139 /* We use char because int might match the return type of a gcc2
24140 builtin and then its argument prototype would still apply. */
24141 char $ac_func ();
24142 /* The GNU C library defines this for functions which it implements
24143 to always fail with ENOSYS. Some functions are actually named
24144 something starting with __ and the normal name is an alias. */
24145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24146 choke me
24147 #else
24148 char (*f) () = $ac_func;
24149 #endif
24150 #ifdef __cplusplus
24152 #endif
24155 main ()
24157 return f != $ac_func;
24159 return 0;
24161 _ACEOF
24162 rm -f conftest.$ac_objext conftest$ac_exeext
24163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24164 (eval $ac_link) 2>conftest.er1
24165 ac_status=$?
24166 grep -v '^ *+' conftest.er1 >conftest.err
24167 rm -f conftest.er1
24168 cat conftest.err >&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); } &&
24171 { ac_try='test -z "$ac_c_werror_flag"
24172 || test ! -s conftest.err'
24173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24174 (eval $ac_try) 2>&5
24175 ac_status=$?
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); }; } &&
24178 { ac_try='test -s conftest$ac_exeext'
24179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180 (eval $ac_try) 2>&5
24181 ac_status=$?
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); }; }; then
24184 eval "$as_ac_var=yes"
24185 else
24186 echo "$as_me: failed program was:" >&5
24187 sed 's/^/| /' conftest.$ac_ext >&5
24189 eval "$as_ac_var=no"
24191 rm -f conftest.err conftest.$ac_objext \
24192 conftest$ac_exeext conftest.$ac_ext
24194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24196 if test `eval echo '${'$as_ac_var'}'` = yes; then
24197 cat >>confdefs.h <<_ACEOF
24198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24199 _ACEOF
24202 done
24212 echo "$as_me:$LINENO: checking for powl declaration" >&5
24213 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24214 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24215 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24216 echo $ECHO_N "(cached) $ECHO_C" >&6
24217 else
24221 ac_ext=cc
24222 ac_cpp='$CXXCPP $CPPFLAGS'
24223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24227 cat >conftest.$ac_ext <<_ACEOF
24228 /* confdefs.h. */
24229 _ACEOF
24230 cat confdefs.h >>conftest.$ac_ext
24231 cat >>conftest.$ac_ext <<_ACEOF
24232 /* end confdefs.h. */
24233 #include <math.h>
24235 main ()
24237 powl(0, 0);
24239 return 0;
24241 _ACEOF
24242 rm -f conftest.$ac_objext
24243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24244 (eval $ac_compile) 2>conftest.er1
24245 ac_status=$?
24246 grep -v '^ *+' conftest.er1 >conftest.err
24247 rm -f conftest.er1
24248 cat conftest.err >&5
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); } &&
24251 { ac_try='test -z "$ac_cxx_werror_flag"
24252 || test ! -s conftest.err'
24253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24254 (eval $ac_try) 2>&5
24255 ac_status=$?
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); }; } &&
24258 { ac_try='test -s conftest.$ac_objext'
24259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24260 (eval $ac_try) 2>&5
24261 ac_status=$?
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); }; }; then
24264 glibcxx_cv_func_powl_use=yes
24265 else
24266 echo "$as_me: failed program was:" >&5
24267 sed 's/^/| /' conftest.$ac_ext >&5
24269 glibcxx_cv_func_powl_use=no
24271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24272 ac_ext=c
24273 ac_cpp='$CPP $CPPFLAGS'
24274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24282 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24283 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24285 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24287 for ac_func in powl
24289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24290 echo "$as_me:$LINENO: checking for $ac_func" >&5
24291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24292 if eval "test \"\${$as_ac_var+set}\" = set"; then
24293 echo $ECHO_N "(cached) $ECHO_C" >&6
24294 else
24295 if test x$gcc_no_link = xyes; then
24296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24298 { (exit 1); exit 1; }; }
24300 cat >conftest.$ac_ext <<_ACEOF
24301 /* confdefs.h. */
24302 _ACEOF
24303 cat confdefs.h >>conftest.$ac_ext
24304 cat >>conftest.$ac_ext <<_ACEOF
24305 /* end confdefs.h. */
24306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24308 #define $ac_func innocuous_$ac_func
24310 /* System header to define __stub macros and hopefully few prototypes,
24311 which can conflict with char $ac_func (); below.
24312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24313 <limits.h> exists even on freestanding compilers. */
24315 #ifdef __STDC__
24316 # include <limits.h>
24317 #else
24318 # include <assert.h>
24319 #endif
24321 #undef $ac_func
24323 /* Override any gcc2 internal prototype to avoid an error. */
24324 #ifdef __cplusplus
24325 extern "C"
24327 #endif
24328 /* We use char because int might match the return type of a gcc2
24329 builtin and then its argument prototype would still apply. */
24330 char $ac_func ();
24331 /* The GNU C library defines this for functions which it implements
24332 to always fail with ENOSYS. Some functions are actually named
24333 something starting with __ and the normal name is an alias. */
24334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24335 choke me
24336 #else
24337 char (*f) () = $ac_func;
24338 #endif
24339 #ifdef __cplusplus
24341 #endif
24344 main ()
24346 return f != $ac_func;
24348 return 0;
24350 _ACEOF
24351 rm -f conftest.$ac_objext conftest$ac_exeext
24352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24353 (eval $ac_link) 2>conftest.er1
24354 ac_status=$?
24355 grep -v '^ *+' conftest.er1 >conftest.err
24356 rm -f conftest.er1
24357 cat conftest.err >&5
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); } &&
24360 { ac_try='test -z "$ac_c_werror_flag"
24361 || test ! -s conftest.err'
24362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24363 (eval $ac_try) 2>&5
24364 ac_status=$?
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); }; } &&
24367 { ac_try='test -s conftest$ac_exeext'
24368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369 (eval $ac_try) 2>&5
24370 ac_status=$?
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); }; }; then
24373 eval "$as_ac_var=yes"
24374 else
24375 echo "$as_me: failed program was:" >&5
24376 sed 's/^/| /' conftest.$ac_ext >&5
24378 eval "$as_ac_var=no"
24380 rm -f conftest.err conftest.$ac_objext \
24381 conftest$ac_exeext conftest.$ac_ext
24383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24385 if test `eval echo '${'$as_ac_var'}'` = yes; then
24386 cat >>confdefs.h <<_ACEOF
24387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24388 _ACEOF
24391 done
24393 else
24395 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24396 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24397 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24398 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24399 echo $ECHO_N "(cached) $ECHO_C" >&6
24400 else
24404 ac_ext=cc
24405 ac_cpp='$CXXCPP $CPPFLAGS'
24406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24410 cat >conftest.$ac_ext <<_ACEOF
24411 /* confdefs.h. */
24412 _ACEOF
24413 cat confdefs.h >>conftest.$ac_ext
24414 cat >>conftest.$ac_ext <<_ACEOF
24415 /* end confdefs.h. */
24416 #include <math.h>
24418 main ()
24420 _powl(0, 0);
24422 return 0;
24424 _ACEOF
24425 rm -f conftest.$ac_objext
24426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24427 (eval $ac_compile) 2>conftest.er1
24428 ac_status=$?
24429 grep -v '^ *+' conftest.er1 >conftest.err
24430 rm -f conftest.er1
24431 cat conftest.err >&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); } &&
24434 { ac_try='test -z "$ac_cxx_werror_flag"
24435 || test ! -s conftest.err'
24436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24437 (eval $ac_try) 2>&5
24438 ac_status=$?
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); }; } &&
24441 { ac_try='test -s conftest.$ac_objext'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24444 ac_status=$?
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; }; then
24447 glibcxx_cv_func__powl_use=yes
24448 else
24449 echo "$as_me: failed program was:" >&5
24450 sed 's/^/| /' conftest.$ac_ext >&5
24452 glibcxx_cv_func__powl_use=no
24454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24455 ac_ext=c
24456 ac_cpp='$CPP $CPPFLAGS'
24457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24465 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24466 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24468 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24470 for ac_func in _powl
24472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24473 echo "$as_me:$LINENO: checking for $ac_func" >&5
24474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24475 if eval "test \"\${$as_ac_var+set}\" = set"; then
24476 echo $ECHO_N "(cached) $ECHO_C" >&6
24477 else
24478 if test x$gcc_no_link = xyes; then
24479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24481 { (exit 1); exit 1; }; }
24483 cat >conftest.$ac_ext <<_ACEOF
24484 /* confdefs.h. */
24485 _ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24491 #define $ac_func innocuous_$ac_func
24493 /* System header to define __stub macros and hopefully few prototypes,
24494 which can conflict with char $ac_func (); below.
24495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24496 <limits.h> exists even on freestanding compilers. */
24498 #ifdef __STDC__
24499 # include <limits.h>
24500 #else
24501 # include <assert.h>
24502 #endif
24504 #undef $ac_func
24506 /* Override any gcc2 internal prototype to avoid an error. */
24507 #ifdef __cplusplus
24508 extern "C"
24510 #endif
24511 /* We use char because int might match the return type of a gcc2
24512 builtin and then its argument prototype would still apply. */
24513 char $ac_func ();
24514 /* The GNU C library defines this for functions which it implements
24515 to always fail with ENOSYS. Some functions are actually named
24516 something starting with __ and the normal name is an alias. */
24517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24518 choke me
24519 #else
24520 char (*f) () = $ac_func;
24521 #endif
24522 #ifdef __cplusplus
24524 #endif
24527 main ()
24529 return f != $ac_func;
24531 return 0;
24533 _ACEOF
24534 rm -f conftest.$ac_objext conftest$ac_exeext
24535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24536 (eval $ac_link) 2>conftest.er1
24537 ac_status=$?
24538 grep -v '^ *+' conftest.er1 >conftest.err
24539 rm -f conftest.er1
24540 cat conftest.err >&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); } &&
24543 { ac_try='test -z "$ac_c_werror_flag"
24544 || test ! -s conftest.err'
24545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24546 (eval $ac_try) 2>&5
24547 ac_status=$?
24548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549 (exit $ac_status); }; } &&
24550 { ac_try='test -s conftest$ac_exeext'
24551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24552 (eval $ac_try) 2>&5
24553 ac_status=$?
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); }; }; then
24556 eval "$as_ac_var=yes"
24557 else
24558 echo "$as_me: failed program was:" >&5
24559 sed 's/^/| /' conftest.$ac_ext >&5
24561 eval "$as_ac_var=no"
24563 rm -f conftest.err conftest.$ac_objext \
24564 conftest$ac_exeext conftest.$ac_ext
24566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24568 if test `eval echo '${'$as_ac_var'}'` = yes; then
24569 cat >>confdefs.h <<_ACEOF
24570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24571 _ACEOF
24574 done
24584 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24585 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24586 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24587 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24588 echo $ECHO_N "(cached) $ECHO_C" >&6
24589 else
24593 ac_ext=cc
24594 ac_cpp='$CXXCPP $CPPFLAGS'
24595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24599 cat >conftest.$ac_ext <<_ACEOF
24600 /* confdefs.h. */
24601 _ACEOF
24602 cat confdefs.h >>conftest.$ac_ext
24603 cat >>conftest.$ac_ext <<_ACEOF
24604 /* end confdefs.h. */
24605 #include <math.h>
24606 #ifdef HAVE_IEEEFP_H
24607 #include <ieeefp.h>
24608 #endif
24611 main ()
24613 sqrtl(0);
24615 return 0;
24617 _ACEOF
24618 rm -f conftest.$ac_objext
24619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24620 (eval $ac_compile) 2>conftest.er1
24621 ac_status=$?
24622 grep -v '^ *+' conftest.er1 >conftest.err
24623 rm -f conftest.er1
24624 cat conftest.err >&5
24625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626 (exit $ac_status); } &&
24627 { ac_try='test -z "$ac_cxx_werror_flag"
24628 || test ! -s conftest.err'
24629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24630 (eval $ac_try) 2>&5
24631 ac_status=$?
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); }; } &&
24634 { ac_try='test -s conftest.$ac_objext'
24635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24636 (eval $ac_try) 2>&5
24637 ac_status=$?
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); }; }; then
24640 glibcxx_cv_func_sqrtl_use=yes
24641 else
24642 echo "$as_me: failed program was:" >&5
24643 sed 's/^/| /' conftest.$ac_ext >&5
24645 glibcxx_cv_func_sqrtl_use=no
24647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24648 ac_ext=c
24649 ac_cpp='$CPP $CPPFLAGS'
24650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24658 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24659 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24661 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24663 for ac_func in sqrtl
24665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24666 echo "$as_me:$LINENO: checking for $ac_func" >&5
24667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24668 if eval "test \"\${$as_ac_var+set}\" = set"; then
24669 echo $ECHO_N "(cached) $ECHO_C" >&6
24670 else
24671 if test x$gcc_no_link = xyes; then
24672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24674 { (exit 1); exit 1; }; }
24676 cat >conftest.$ac_ext <<_ACEOF
24677 /* confdefs.h. */
24678 _ACEOF
24679 cat confdefs.h >>conftest.$ac_ext
24680 cat >>conftest.$ac_ext <<_ACEOF
24681 /* end confdefs.h. */
24682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24684 #define $ac_func innocuous_$ac_func
24686 /* System header to define __stub macros and hopefully few prototypes,
24687 which can conflict with char $ac_func (); below.
24688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24689 <limits.h> exists even on freestanding compilers. */
24691 #ifdef __STDC__
24692 # include <limits.h>
24693 #else
24694 # include <assert.h>
24695 #endif
24697 #undef $ac_func
24699 /* Override any gcc2 internal prototype to avoid an error. */
24700 #ifdef __cplusplus
24701 extern "C"
24703 #endif
24704 /* We use char because int might match the return type of a gcc2
24705 builtin and then its argument prototype would still apply. */
24706 char $ac_func ();
24707 /* The GNU C library defines this for functions which it implements
24708 to always fail with ENOSYS. Some functions are actually named
24709 something starting with __ and the normal name is an alias. */
24710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24711 choke me
24712 #else
24713 char (*f) () = $ac_func;
24714 #endif
24715 #ifdef __cplusplus
24717 #endif
24720 main ()
24722 return f != $ac_func;
24724 return 0;
24726 _ACEOF
24727 rm -f conftest.$ac_objext conftest$ac_exeext
24728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24729 (eval $ac_link) 2>conftest.er1
24730 ac_status=$?
24731 grep -v '^ *+' conftest.er1 >conftest.err
24732 rm -f conftest.er1
24733 cat conftest.err >&5
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); } &&
24736 { ac_try='test -z "$ac_c_werror_flag"
24737 || test ! -s conftest.err'
24738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24739 (eval $ac_try) 2>&5
24740 ac_status=$?
24741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742 (exit $ac_status); }; } &&
24743 { ac_try='test -s conftest$ac_exeext'
24744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24745 (eval $ac_try) 2>&5
24746 ac_status=$?
24747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748 (exit $ac_status); }; }; then
24749 eval "$as_ac_var=yes"
24750 else
24751 echo "$as_me: failed program was:" >&5
24752 sed 's/^/| /' conftest.$ac_ext >&5
24754 eval "$as_ac_var=no"
24756 rm -f conftest.err conftest.$ac_objext \
24757 conftest$ac_exeext conftest.$ac_ext
24759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24761 if test `eval echo '${'$as_ac_var'}'` = yes; then
24762 cat >>confdefs.h <<_ACEOF
24763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24764 _ACEOF
24767 done
24769 else
24771 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24772 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24773 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24774 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24775 echo $ECHO_N "(cached) $ECHO_C" >&6
24776 else
24780 ac_ext=cc
24781 ac_cpp='$CXXCPP $CPPFLAGS'
24782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24786 cat >conftest.$ac_ext <<_ACEOF
24787 /* confdefs.h. */
24788 _ACEOF
24789 cat confdefs.h >>conftest.$ac_ext
24790 cat >>conftest.$ac_ext <<_ACEOF
24791 /* end confdefs.h. */
24792 #include <math.h>
24793 #ifdef HAVE_IEEEFP_H
24794 #include <ieeefp.h>
24795 #endif
24798 main ()
24800 _sqrtl(0);
24802 return 0;
24804 _ACEOF
24805 rm -f conftest.$ac_objext
24806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24807 (eval $ac_compile) 2>conftest.er1
24808 ac_status=$?
24809 grep -v '^ *+' conftest.er1 >conftest.err
24810 rm -f conftest.er1
24811 cat conftest.err >&5
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); } &&
24814 { ac_try='test -z "$ac_cxx_werror_flag"
24815 || test ! -s conftest.err'
24816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24817 (eval $ac_try) 2>&5
24818 ac_status=$?
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); }; } &&
24821 { ac_try='test -s conftest.$ac_objext'
24822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24823 (eval $ac_try) 2>&5
24824 ac_status=$?
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); }; }; then
24827 glibcxx_cv_func__sqrtl_use=yes
24828 else
24829 echo "$as_me: failed program was:" >&5
24830 sed 's/^/| /' conftest.$ac_ext >&5
24832 glibcxx_cv_func__sqrtl_use=no
24834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24835 ac_ext=c
24836 ac_cpp='$CPP $CPPFLAGS'
24837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24845 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24846 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24848 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24850 for ac_func in _sqrtl
24852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24853 echo "$as_me:$LINENO: checking for $ac_func" >&5
24854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24855 if eval "test \"\${$as_ac_var+set}\" = set"; then
24856 echo $ECHO_N "(cached) $ECHO_C" >&6
24857 else
24858 if test x$gcc_no_link = xyes; then
24859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24861 { (exit 1); exit 1; }; }
24863 cat >conftest.$ac_ext <<_ACEOF
24864 /* confdefs.h. */
24865 _ACEOF
24866 cat confdefs.h >>conftest.$ac_ext
24867 cat >>conftest.$ac_ext <<_ACEOF
24868 /* end confdefs.h. */
24869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24871 #define $ac_func innocuous_$ac_func
24873 /* System header to define __stub macros and hopefully few prototypes,
24874 which can conflict with char $ac_func (); below.
24875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24876 <limits.h> exists even on freestanding compilers. */
24878 #ifdef __STDC__
24879 # include <limits.h>
24880 #else
24881 # include <assert.h>
24882 #endif
24884 #undef $ac_func
24886 /* Override any gcc2 internal prototype to avoid an error. */
24887 #ifdef __cplusplus
24888 extern "C"
24890 #endif
24891 /* We use char because int might match the return type of a gcc2
24892 builtin and then its argument prototype would still apply. */
24893 char $ac_func ();
24894 /* The GNU C library defines this for functions which it implements
24895 to always fail with ENOSYS. Some functions are actually named
24896 something starting with __ and the normal name is an alias. */
24897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24898 choke me
24899 #else
24900 char (*f) () = $ac_func;
24901 #endif
24902 #ifdef __cplusplus
24904 #endif
24907 main ()
24909 return f != $ac_func;
24911 return 0;
24913 _ACEOF
24914 rm -f conftest.$ac_objext conftest$ac_exeext
24915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24916 (eval $ac_link) 2>conftest.er1
24917 ac_status=$?
24918 grep -v '^ *+' conftest.er1 >conftest.err
24919 rm -f conftest.er1
24920 cat conftest.err >&5
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); } &&
24923 { ac_try='test -z "$ac_c_werror_flag"
24924 || test ! -s conftest.err'
24925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24926 (eval $ac_try) 2>&5
24927 ac_status=$?
24928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24929 (exit $ac_status); }; } &&
24930 { ac_try='test -s conftest$ac_exeext'
24931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24932 (eval $ac_try) 2>&5
24933 ac_status=$?
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); }; }; then
24936 eval "$as_ac_var=yes"
24937 else
24938 echo "$as_me: failed program was:" >&5
24939 sed 's/^/| /' conftest.$ac_ext >&5
24941 eval "$as_ac_var=no"
24943 rm -f conftest.err conftest.$ac_objext \
24944 conftest$ac_exeext conftest.$ac_ext
24946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24948 if test `eval echo '${'$as_ac_var'}'` = yes; then
24949 cat >>confdefs.h <<_ACEOF
24950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24951 _ACEOF
24954 done
24964 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24965 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24966 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24967 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24968 echo $ECHO_N "(cached) $ECHO_C" >&6
24969 else
24973 ac_ext=cc
24974 ac_cpp='$CXXCPP $CPPFLAGS'
24975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24979 cat >conftest.$ac_ext <<_ACEOF
24980 /* confdefs.h. */
24981 _ACEOF
24982 cat confdefs.h >>conftest.$ac_ext
24983 cat >>conftest.$ac_ext <<_ACEOF
24984 /* end confdefs.h. */
24985 #include <math.h>
24987 main ()
24989 sincosl(0, 0, 0);
24991 return 0;
24993 _ACEOF
24994 rm -f conftest.$ac_objext
24995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24996 (eval $ac_compile) 2>conftest.er1
24997 ac_status=$?
24998 grep -v '^ *+' conftest.er1 >conftest.err
24999 rm -f conftest.er1
25000 cat conftest.err >&5
25001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); } &&
25003 { ac_try='test -z "$ac_cxx_werror_flag"
25004 || test ! -s conftest.err'
25005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25006 (eval $ac_try) 2>&5
25007 ac_status=$?
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); }; } &&
25010 { ac_try='test -s conftest.$ac_objext'
25011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25012 (eval $ac_try) 2>&5
25013 ac_status=$?
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); }; }; then
25016 glibcxx_cv_func_sincosl_use=yes
25017 else
25018 echo "$as_me: failed program was:" >&5
25019 sed 's/^/| /' conftest.$ac_ext >&5
25021 glibcxx_cv_func_sincosl_use=no
25023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25024 ac_ext=c
25025 ac_cpp='$CPP $CPPFLAGS'
25026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25034 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25035 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25037 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25039 for ac_func in sincosl
25041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25042 echo "$as_me:$LINENO: checking for $ac_func" >&5
25043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25044 if eval "test \"\${$as_ac_var+set}\" = set"; then
25045 echo $ECHO_N "(cached) $ECHO_C" >&6
25046 else
25047 if test x$gcc_no_link = xyes; then
25048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25050 { (exit 1); exit 1; }; }
25052 cat >conftest.$ac_ext <<_ACEOF
25053 /* confdefs.h. */
25054 _ACEOF
25055 cat confdefs.h >>conftest.$ac_ext
25056 cat >>conftest.$ac_ext <<_ACEOF
25057 /* end confdefs.h. */
25058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25060 #define $ac_func innocuous_$ac_func
25062 /* System header to define __stub macros and hopefully few prototypes,
25063 which can conflict with char $ac_func (); below.
25064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25065 <limits.h> exists even on freestanding compilers. */
25067 #ifdef __STDC__
25068 # include <limits.h>
25069 #else
25070 # include <assert.h>
25071 #endif
25073 #undef $ac_func
25075 /* Override any gcc2 internal prototype to avoid an error. */
25076 #ifdef __cplusplus
25077 extern "C"
25079 #endif
25080 /* We use char because int might match the return type of a gcc2
25081 builtin and then its argument prototype would still apply. */
25082 char $ac_func ();
25083 /* The GNU C library defines this for functions which it implements
25084 to always fail with ENOSYS. Some functions are actually named
25085 something starting with __ and the normal name is an alias. */
25086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25087 choke me
25088 #else
25089 char (*f) () = $ac_func;
25090 #endif
25091 #ifdef __cplusplus
25093 #endif
25096 main ()
25098 return f != $ac_func;
25100 return 0;
25102 _ACEOF
25103 rm -f conftest.$ac_objext conftest$ac_exeext
25104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25105 (eval $ac_link) 2>conftest.er1
25106 ac_status=$?
25107 grep -v '^ *+' conftest.er1 >conftest.err
25108 rm -f conftest.er1
25109 cat conftest.err >&5
25110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111 (exit $ac_status); } &&
25112 { ac_try='test -z "$ac_c_werror_flag"
25113 || test ! -s conftest.err'
25114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25115 (eval $ac_try) 2>&5
25116 ac_status=$?
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); }; } &&
25119 { ac_try='test -s conftest$ac_exeext'
25120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25121 (eval $ac_try) 2>&5
25122 ac_status=$?
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); }; }; then
25125 eval "$as_ac_var=yes"
25126 else
25127 echo "$as_me: failed program was:" >&5
25128 sed 's/^/| /' conftest.$ac_ext >&5
25130 eval "$as_ac_var=no"
25132 rm -f conftest.err conftest.$ac_objext \
25133 conftest$ac_exeext conftest.$ac_ext
25135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25137 if test `eval echo '${'$as_ac_var'}'` = yes; then
25138 cat >>confdefs.h <<_ACEOF
25139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25140 _ACEOF
25143 done
25145 else
25147 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25148 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25149 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25150 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25151 echo $ECHO_N "(cached) $ECHO_C" >&6
25152 else
25156 ac_ext=cc
25157 ac_cpp='$CXXCPP $CPPFLAGS'
25158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25162 cat >conftest.$ac_ext <<_ACEOF
25163 /* confdefs.h. */
25164 _ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25168 #include <math.h>
25170 main ()
25172 _sincosl(0, 0, 0);
25174 return 0;
25176 _ACEOF
25177 rm -f conftest.$ac_objext
25178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25179 (eval $ac_compile) 2>conftest.er1
25180 ac_status=$?
25181 grep -v '^ *+' conftest.er1 >conftest.err
25182 rm -f conftest.er1
25183 cat conftest.err >&5
25184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185 (exit $ac_status); } &&
25186 { ac_try='test -z "$ac_cxx_werror_flag"
25187 || test ! -s conftest.err'
25188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25189 (eval $ac_try) 2>&5
25190 ac_status=$?
25191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192 (exit $ac_status); }; } &&
25193 { ac_try='test -s conftest.$ac_objext'
25194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195 (eval $ac_try) 2>&5
25196 ac_status=$?
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); }; }; then
25199 glibcxx_cv_func__sincosl_use=yes
25200 else
25201 echo "$as_me: failed program was:" >&5
25202 sed 's/^/| /' conftest.$ac_ext >&5
25204 glibcxx_cv_func__sincosl_use=no
25206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25207 ac_ext=c
25208 ac_cpp='$CPP $CPPFLAGS'
25209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25217 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25218 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25220 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25222 for ac_func in _sincosl
25224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25225 echo "$as_me:$LINENO: checking for $ac_func" >&5
25226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25227 if eval "test \"\${$as_ac_var+set}\" = set"; then
25228 echo $ECHO_N "(cached) $ECHO_C" >&6
25229 else
25230 if test x$gcc_no_link = xyes; then
25231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25233 { (exit 1); exit 1; }; }
25235 cat >conftest.$ac_ext <<_ACEOF
25236 /* confdefs.h. */
25237 _ACEOF
25238 cat confdefs.h >>conftest.$ac_ext
25239 cat >>conftest.$ac_ext <<_ACEOF
25240 /* end confdefs.h. */
25241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25243 #define $ac_func innocuous_$ac_func
25245 /* System header to define __stub macros and hopefully few prototypes,
25246 which can conflict with char $ac_func (); below.
25247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25248 <limits.h> exists even on freestanding compilers. */
25250 #ifdef __STDC__
25251 # include <limits.h>
25252 #else
25253 # include <assert.h>
25254 #endif
25256 #undef $ac_func
25258 /* Override any gcc2 internal prototype to avoid an error. */
25259 #ifdef __cplusplus
25260 extern "C"
25262 #endif
25263 /* We use char because int might match the return type of a gcc2
25264 builtin and then its argument prototype would still apply. */
25265 char $ac_func ();
25266 /* The GNU C library defines this for functions which it implements
25267 to always fail with ENOSYS. Some functions are actually named
25268 something starting with __ and the normal name is an alias. */
25269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25270 choke me
25271 #else
25272 char (*f) () = $ac_func;
25273 #endif
25274 #ifdef __cplusplus
25276 #endif
25279 main ()
25281 return f != $ac_func;
25283 return 0;
25285 _ACEOF
25286 rm -f conftest.$ac_objext conftest$ac_exeext
25287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25288 (eval $ac_link) 2>conftest.er1
25289 ac_status=$?
25290 grep -v '^ *+' conftest.er1 >conftest.err
25291 rm -f conftest.er1
25292 cat conftest.err >&5
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); } &&
25295 { ac_try='test -z "$ac_c_werror_flag"
25296 || test ! -s conftest.err'
25297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25298 (eval $ac_try) 2>&5
25299 ac_status=$?
25300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25301 (exit $ac_status); }; } &&
25302 { ac_try='test -s conftest$ac_exeext'
25303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25304 (eval $ac_try) 2>&5
25305 ac_status=$?
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); }; }; then
25308 eval "$as_ac_var=yes"
25309 else
25310 echo "$as_me: failed program was:" >&5
25311 sed 's/^/| /' conftest.$ac_ext >&5
25313 eval "$as_ac_var=no"
25315 rm -f conftest.err conftest.$ac_objext \
25316 conftest$ac_exeext conftest.$ac_ext
25318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25320 if test `eval echo '${'$as_ac_var'}'` = yes; then
25321 cat >>confdefs.h <<_ACEOF
25322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25323 _ACEOF
25326 done
25336 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25337 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25338 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25339 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25340 echo $ECHO_N "(cached) $ECHO_C" >&6
25341 else
25345 ac_ext=cc
25346 ac_cpp='$CXXCPP $CPPFLAGS'
25347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25351 cat >conftest.$ac_ext <<_ACEOF
25352 /* confdefs.h. */
25353 _ACEOF
25354 cat confdefs.h >>conftest.$ac_ext
25355 cat >>conftest.$ac_ext <<_ACEOF
25356 /* end confdefs.h. */
25357 #include <math.h>
25358 #ifdef HAVE_IEEEFP_H
25359 #include <ieeefp.h>
25360 #endif
25363 main ()
25365 finitel(0);
25367 return 0;
25369 _ACEOF
25370 rm -f conftest.$ac_objext
25371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25372 (eval $ac_compile) 2>conftest.er1
25373 ac_status=$?
25374 grep -v '^ *+' conftest.er1 >conftest.err
25375 rm -f conftest.er1
25376 cat conftest.err >&5
25377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25378 (exit $ac_status); } &&
25379 { ac_try='test -z "$ac_cxx_werror_flag"
25380 || test ! -s conftest.err'
25381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25382 (eval $ac_try) 2>&5
25383 ac_status=$?
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); }; } &&
25386 { ac_try='test -s conftest.$ac_objext'
25387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25388 (eval $ac_try) 2>&5
25389 ac_status=$?
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); }; }; then
25392 glibcxx_cv_func_finitel_use=yes
25393 else
25394 echo "$as_me: failed program was:" >&5
25395 sed 's/^/| /' conftest.$ac_ext >&5
25397 glibcxx_cv_func_finitel_use=no
25399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25400 ac_ext=c
25401 ac_cpp='$CPP $CPPFLAGS'
25402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25410 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25411 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25413 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25415 for ac_func in finitel
25417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25418 echo "$as_me:$LINENO: checking for $ac_func" >&5
25419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25420 if eval "test \"\${$as_ac_var+set}\" = set"; then
25421 echo $ECHO_N "(cached) $ECHO_C" >&6
25422 else
25423 if test x$gcc_no_link = xyes; then
25424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25426 { (exit 1); exit 1; }; }
25428 cat >conftest.$ac_ext <<_ACEOF
25429 /* confdefs.h. */
25430 _ACEOF
25431 cat confdefs.h >>conftest.$ac_ext
25432 cat >>conftest.$ac_ext <<_ACEOF
25433 /* end confdefs.h. */
25434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25436 #define $ac_func innocuous_$ac_func
25438 /* System header to define __stub macros and hopefully few prototypes,
25439 which can conflict with char $ac_func (); below.
25440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25441 <limits.h> exists even on freestanding compilers. */
25443 #ifdef __STDC__
25444 # include <limits.h>
25445 #else
25446 # include <assert.h>
25447 #endif
25449 #undef $ac_func
25451 /* Override any gcc2 internal prototype to avoid an error. */
25452 #ifdef __cplusplus
25453 extern "C"
25455 #endif
25456 /* We use char because int might match the return type of a gcc2
25457 builtin and then its argument prototype would still apply. */
25458 char $ac_func ();
25459 /* The GNU C library defines this for functions which it implements
25460 to always fail with ENOSYS. Some functions are actually named
25461 something starting with __ and the normal name is an alias. */
25462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25463 choke me
25464 #else
25465 char (*f) () = $ac_func;
25466 #endif
25467 #ifdef __cplusplus
25469 #endif
25472 main ()
25474 return f != $ac_func;
25476 return 0;
25478 _ACEOF
25479 rm -f conftest.$ac_objext conftest$ac_exeext
25480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25481 (eval $ac_link) 2>conftest.er1
25482 ac_status=$?
25483 grep -v '^ *+' conftest.er1 >conftest.err
25484 rm -f conftest.er1
25485 cat conftest.err >&5
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); } &&
25488 { ac_try='test -z "$ac_c_werror_flag"
25489 || test ! -s conftest.err'
25490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25491 (eval $ac_try) 2>&5
25492 ac_status=$?
25493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25494 (exit $ac_status); }; } &&
25495 { ac_try='test -s conftest$ac_exeext'
25496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25497 (eval $ac_try) 2>&5
25498 ac_status=$?
25499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25500 (exit $ac_status); }; }; then
25501 eval "$as_ac_var=yes"
25502 else
25503 echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25506 eval "$as_ac_var=no"
25508 rm -f conftest.err conftest.$ac_objext \
25509 conftest$ac_exeext conftest.$ac_ext
25511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25513 if test `eval echo '${'$as_ac_var'}'` = yes; then
25514 cat >>confdefs.h <<_ACEOF
25515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25516 _ACEOF
25519 done
25521 else
25523 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25524 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25525 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25526 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25527 echo $ECHO_N "(cached) $ECHO_C" >&6
25528 else
25532 ac_ext=cc
25533 ac_cpp='$CXXCPP $CPPFLAGS'
25534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25538 cat >conftest.$ac_ext <<_ACEOF
25539 /* confdefs.h. */
25540 _ACEOF
25541 cat confdefs.h >>conftest.$ac_ext
25542 cat >>conftest.$ac_ext <<_ACEOF
25543 /* end confdefs.h. */
25544 #include <math.h>
25545 #ifdef HAVE_IEEEFP_H
25546 #include <ieeefp.h>
25547 #endif
25550 main ()
25552 _finitel(0);
25554 return 0;
25556 _ACEOF
25557 rm -f conftest.$ac_objext
25558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25559 (eval $ac_compile) 2>conftest.er1
25560 ac_status=$?
25561 grep -v '^ *+' conftest.er1 >conftest.err
25562 rm -f conftest.er1
25563 cat conftest.err >&5
25564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25565 (exit $ac_status); } &&
25566 { ac_try='test -z "$ac_cxx_werror_flag"
25567 || test ! -s conftest.err'
25568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25569 (eval $ac_try) 2>&5
25570 ac_status=$?
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); }; } &&
25573 { ac_try='test -s conftest.$ac_objext'
25574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25575 (eval $ac_try) 2>&5
25576 ac_status=$?
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); }; }; then
25579 glibcxx_cv_func__finitel_use=yes
25580 else
25581 echo "$as_me: failed program was:" >&5
25582 sed 's/^/| /' conftest.$ac_ext >&5
25584 glibcxx_cv_func__finitel_use=no
25586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25587 ac_ext=c
25588 ac_cpp='$CPP $CPPFLAGS'
25589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25597 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25598 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25600 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25602 for ac_func in _finitel
25604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25605 echo "$as_me:$LINENO: checking for $ac_func" >&5
25606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25607 if eval "test \"\${$as_ac_var+set}\" = set"; then
25608 echo $ECHO_N "(cached) $ECHO_C" >&6
25609 else
25610 if test x$gcc_no_link = xyes; then
25611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25613 { (exit 1); exit 1; }; }
25615 cat >conftest.$ac_ext <<_ACEOF
25616 /* confdefs.h. */
25617 _ACEOF
25618 cat confdefs.h >>conftest.$ac_ext
25619 cat >>conftest.$ac_ext <<_ACEOF
25620 /* end confdefs.h. */
25621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25623 #define $ac_func innocuous_$ac_func
25625 /* System header to define __stub macros and hopefully few prototypes,
25626 which can conflict with char $ac_func (); below.
25627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25628 <limits.h> exists even on freestanding compilers. */
25630 #ifdef __STDC__
25631 # include <limits.h>
25632 #else
25633 # include <assert.h>
25634 #endif
25636 #undef $ac_func
25638 /* Override any gcc2 internal prototype to avoid an error. */
25639 #ifdef __cplusplus
25640 extern "C"
25642 #endif
25643 /* We use char because int might match the return type of a gcc2
25644 builtin and then its argument prototype would still apply. */
25645 char $ac_func ();
25646 /* The GNU C library defines this for functions which it implements
25647 to always fail with ENOSYS. Some functions are actually named
25648 something starting with __ and the normal name is an alias. */
25649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25650 choke me
25651 #else
25652 char (*f) () = $ac_func;
25653 #endif
25654 #ifdef __cplusplus
25656 #endif
25659 main ()
25661 return f != $ac_func;
25663 return 0;
25665 _ACEOF
25666 rm -f conftest.$ac_objext conftest$ac_exeext
25667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25668 (eval $ac_link) 2>conftest.er1
25669 ac_status=$?
25670 grep -v '^ *+' conftest.er1 >conftest.err
25671 rm -f conftest.er1
25672 cat conftest.err >&5
25673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674 (exit $ac_status); } &&
25675 { ac_try='test -z "$ac_c_werror_flag"
25676 || test ! -s conftest.err'
25677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25678 (eval $ac_try) 2>&5
25679 ac_status=$?
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); }; } &&
25682 { ac_try='test -s conftest$ac_exeext'
25683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25684 (eval $ac_try) 2>&5
25685 ac_status=$?
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); }; }; then
25688 eval "$as_ac_var=yes"
25689 else
25690 echo "$as_me: failed program was:" >&5
25691 sed 's/^/| /' conftest.$ac_ext >&5
25693 eval "$as_ac_var=no"
25695 rm -f conftest.err conftest.$ac_objext \
25696 conftest$ac_exeext conftest.$ac_ext
25698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25700 if test `eval echo '${'$as_ac_var'}'` = yes; then
25701 cat >>confdefs.h <<_ACEOF
25702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25703 _ACEOF
25706 done
25715 LIBS="$ac_save_LIBS"
25716 CXXFLAGS="$ac_save_CXXFLAGS"
25720 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25721 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25722 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25723 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25724 echo $ECHO_N "(cached) $ECHO_C" >&6
25725 else
25729 ac_ext=cc
25730 ac_cpp='$CXXCPP $CPPFLAGS'
25731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25735 cat >conftest.$ac_ext <<_ACEOF
25736 /* confdefs.h. */
25737 _ACEOF
25738 cat confdefs.h >>conftest.$ac_ext
25739 cat >>conftest.$ac_ext <<_ACEOF
25740 /* end confdefs.h. */
25741 #include <math.h>
25743 main ()
25745 __builtin_abs(0);
25747 return 0;
25749 _ACEOF
25750 rm -f conftest.$ac_objext
25751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25752 (eval $ac_compile) 2>conftest.er1
25753 ac_status=$?
25754 grep -v '^ *+' conftest.er1 >conftest.err
25755 rm -f conftest.er1
25756 cat conftest.err >&5
25757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758 (exit $ac_status); } &&
25759 { ac_try='test -z "$ac_cxx_werror_flag"
25760 || test ! -s conftest.err'
25761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762 (eval $ac_try) 2>&5
25763 ac_status=$?
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); }; } &&
25766 { ac_try='test -s conftest.$ac_objext'
25767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25768 (eval $ac_try) 2>&5
25769 ac_status=$?
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); }; }; then
25772 glibcxx_cv_func___builtin_abs_use=yes
25773 else
25774 echo "$as_me: failed program was:" >&5
25775 sed 's/^/| /' conftest.$ac_ext >&5
25777 glibcxx_cv_func___builtin_abs_use=no
25779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25780 ac_ext=c
25781 ac_cpp='$CPP $CPPFLAGS'
25782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25790 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25791 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25792 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25793 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25794 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25795 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25796 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25797 echo $ECHO_N "(cached) $ECHO_C" >&6
25798 else
25800 if test x$gcc_no_link = xyes; then
25801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25803 { (exit 1); exit 1; }; }
25805 cat >conftest.$ac_ext <<_ACEOF
25806 /* confdefs.h. */
25807 _ACEOF
25808 cat confdefs.h >>conftest.$ac_ext
25809 cat >>conftest.$ac_ext <<_ACEOF
25810 /* end confdefs.h. */
25811 #include <math.h>
25813 main ()
25815 __builtin_abs(0);
25817 return 0;
25819 _ACEOF
25820 rm -f conftest.$ac_objext conftest$ac_exeext
25821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25822 (eval $ac_link) 2>conftest.er1
25823 ac_status=$?
25824 grep -v '^ *+' conftest.er1 >conftest.err
25825 rm -f conftest.er1
25826 cat conftest.err >&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } &&
25829 { ac_try='test -z "$ac_c_werror_flag"
25830 || test ! -s conftest.err'
25831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25832 (eval $ac_try) 2>&5
25833 ac_status=$?
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); }; } &&
25836 { ac_try='test -s conftest$ac_exeext'
25837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25838 (eval $ac_try) 2>&5
25839 ac_status=$?
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); }; }; then
25842 glibcxx_cv_func___builtin_abs_link=yes
25843 else
25844 echo "$as_me: failed program was:" >&5
25845 sed 's/^/| /' conftest.$ac_ext >&5
25847 glibcxx_cv_func___builtin_abs_link=no
25849 rm -f conftest.err conftest.$ac_objext \
25850 conftest$ac_exeext conftest.$ac_ext
25855 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25856 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25858 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25860 cat >>confdefs.h <<\_ACEOF
25861 #define HAVE___BUILTIN_ABS 1
25862 _ACEOF
25869 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25870 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25871 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25872 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25873 echo $ECHO_N "(cached) $ECHO_C" >&6
25874 else
25878 ac_ext=cc
25879 ac_cpp='$CXXCPP $CPPFLAGS'
25880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25884 cat >conftest.$ac_ext <<_ACEOF
25885 /* confdefs.h. */
25886 _ACEOF
25887 cat confdefs.h >>conftest.$ac_ext
25888 cat >>conftest.$ac_ext <<_ACEOF
25889 /* end confdefs.h. */
25890 #include <math.h>
25892 main ()
25894 __builtin_fabsf(0);
25896 return 0;
25898 _ACEOF
25899 rm -f conftest.$ac_objext
25900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25901 (eval $ac_compile) 2>conftest.er1
25902 ac_status=$?
25903 grep -v '^ *+' conftest.er1 >conftest.err
25904 rm -f conftest.er1
25905 cat conftest.err >&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); } &&
25908 { ac_try='test -z "$ac_cxx_werror_flag"
25909 || test ! -s conftest.err'
25910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25911 (eval $ac_try) 2>&5
25912 ac_status=$?
25913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914 (exit $ac_status); }; } &&
25915 { ac_try='test -s conftest.$ac_objext'
25916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25917 (eval $ac_try) 2>&5
25918 ac_status=$?
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); }; }; then
25921 glibcxx_cv_func___builtin_fabsf_use=yes
25922 else
25923 echo "$as_me: failed program was:" >&5
25924 sed 's/^/| /' conftest.$ac_ext >&5
25926 glibcxx_cv_func___builtin_fabsf_use=no
25928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25929 ac_ext=c
25930 ac_cpp='$CPP $CPPFLAGS'
25931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25939 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25940 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25941 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25942 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25943 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25944 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25945 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25946 echo $ECHO_N "(cached) $ECHO_C" >&6
25947 else
25949 if test x$gcc_no_link = xyes; then
25950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25952 { (exit 1); exit 1; }; }
25954 cat >conftest.$ac_ext <<_ACEOF
25955 /* confdefs.h. */
25956 _ACEOF
25957 cat confdefs.h >>conftest.$ac_ext
25958 cat >>conftest.$ac_ext <<_ACEOF
25959 /* end confdefs.h. */
25960 #include <math.h>
25962 main ()
25964 __builtin_fabsf(0);
25966 return 0;
25968 _ACEOF
25969 rm -f conftest.$ac_objext conftest$ac_exeext
25970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25971 (eval $ac_link) 2>conftest.er1
25972 ac_status=$?
25973 grep -v '^ *+' conftest.er1 >conftest.err
25974 rm -f conftest.er1
25975 cat conftest.err >&5
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); } &&
25978 { ac_try='test -z "$ac_c_werror_flag"
25979 || test ! -s conftest.err'
25980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25981 (eval $ac_try) 2>&5
25982 ac_status=$?
25983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25984 (exit $ac_status); }; } &&
25985 { ac_try='test -s conftest$ac_exeext'
25986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25987 (eval $ac_try) 2>&5
25988 ac_status=$?
25989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25990 (exit $ac_status); }; }; then
25991 glibcxx_cv_func___builtin_fabsf_link=yes
25992 else
25993 echo "$as_me: failed program was:" >&5
25994 sed 's/^/| /' conftest.$ac_ext >&5
25996 glibcxx_cv_func___builtin_fabsf_link=no
25998 rm -f conftest.err conftest.$ac_objext \
25999 conftest$ac_exeext conftest.$ac_ext
26004 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26005 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26007 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26009 cat >>confdefs.h <<\_ACEOF
26010 #define HAVE___BUILTIN_FABSF 1
26011 _ACEOF
26018 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26019 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26020 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26021 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26022 echo $ECHO_N "(cached) $ECHO_C" >&6
26023 else
26027 ac_ext=cc
26028 ac_cpp='$CXXCPP $CPPFLAGS'
26029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26033 cat >conftest.$ac_ext <<_ACEOF
26034 /* confdefs.h. */
26035 _ACEOF
26036 cat confdefs.h >>conftest.$ac_ext
26037 cat >>conftest.$ac_ext <<_ACEOF
26038 /* end confdefs.h. */
26039 #include <math.h>
26041 main ()
26043 __builtin_fabs(0);
26045 return 0;
26047 _ACEOF
26048 rm -f conftest.$ac_objext
26049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26050 (eval $ac_compile) 2>conftest.er1
26051 ac_status=$?
26052 grep -v '^ *+' conftest.er1 >conftest.err
26053 rm -f conftest.er1
26054 cat conftest.err >&5
26055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056 (exit $ac_status); } &&
26057 { ac_try='test -z "$ac_cxx_werror_flag"
26058 || test ! -s conftest.err'
26059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26060 (eval $ac_try) 2>&5
26061 ac_status=$?
26062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26063 (exit $ac_status); }; } &&
26064 { ac_try='test -s conftest.$ac_objext'
26065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26066 (eval $ac_try) 2>&5
26067 ac_status=$?
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); }; }; then
26070 glibcxx_cv_func___builtin_fabs_use=yes
26071 else
26072 echo "$as_me: failed program was:" >&5
26073 sed 's/^/| /' conftest.$ac_ext >&5
26075 glibcxx_cv_func___builtin_fabs_use=no
26077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26078 ac_ext=c
26079 ac_cpp='$CPP $CPPFLAGS'
26080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26088 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26089 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26090 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26091 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26092 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26093 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26094 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26095 echo $ECHO_N "(cached) $ECHO_C" >&6
26096 else
26098 if test x$gcc_no_link = xyes; then
26099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26101 { (exit 1); exit 1; }; }
26103 cat >conftest.$ac_ext <<_ACEOF
26104 /* confdefs.h. */
26105 _ACEOF
26106 cat confdefs.h >>conftest.$ac_ext
26107 cat >>conftest.$ac_ext <<_ACEOF
26108 /* end confdefs.h. */
26109 #include <math.h>
26111 main ()
26113 __builtin_fabs(0);
26115 return 0;
26117 _ACEOF
26118 rm -f conftest.$ac_objext conftest$ac_exeext
26119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26120 (eval $ac_link) 2>conftest.er1
26121 ac_status=$?
26122 grep -v '^ *+' conftest.er1 >conftest.err
26123 rm -f conftest.er1
26124 cat conftest.err >&5
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); } &&
26127 { ac_try='test -z "$ac_c_werror_flag"
26128 || test ! -s conftest.err'
26129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26130 (eval $ac_try) 2>&5
26131 ac_status=$?
26132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133 (exit $ac_status); }; } &&
26134 { ac_try='test -s conftest$ac_exeext'
26135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26136 (eval $ac_try) 2>&5
26137 ac_status=$?
26138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26139 (exit $ac_status); }; }; then
26140 glibcxx_cv_func___builtin_fabs_link=yes
26141 else
26142 echo "$as_me: failed program was:" >&5
26143 sed 's/^/| /' conftest.$ac_ext >&5
26145 glibcxx_cv_func___builtin_fabs_link=no
26147 rm -f conftest.err conftest.$ac_objext \
26148 conftest$ac_exeext conftest.$ac_ext
26153 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26154 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26156 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26158 cat >>confdefs.h <<\_ACEOF
26159 #define HAVE___BUILTIN_FABS 1
26160 _ACEOF
26167 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26168 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26169 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26170 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26171 echo $ECHO_N "(cached) $ECHO_C" >&6
26172 else
26176 ac_ext=cc
26177 ac_cpp='$CXXCPP $CPPFLAGS'
26178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26182 cat >conftest.$ac_ext <<_ACEOF
26183 /* confdefs.h. */
26184 _ACEOF
26185 cat confdefs.h >>conftest.$ac_ext
26186 cat >>conftest.$ac_ext <<_ACEOF
26187 /* end confdefs.h. */
26188 #include <math.h>
26190 main ()
26192 __builtin_fabsl(0);
26194 return 0;
26196 _ACEOF
26197 rm -f conftest.$ac_objext
26198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26199 (eval $ac_compile) 2>conftest.er1
26200 ac_status=$?
26201 grep -v '^ *+' conftest.er1 >conftest.err
26202 rm -f conftest.er1
26203 cat conftest.err >&5
26204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205 (exit $ac_status); } &&
26206 { ac_try='test -z "$ac_cxx_werror_flag"
26207 || test ! -s conftest.err'
26208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209 (eval $ac_try) 2>&5
26210 ac_status=$?
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; } &&
26213 { ac_try='test -s conftest.$ac_objext'
26214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215 (eval $ac_try) 2>&5
26216 ac_status=$?
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; }; then
26219 glibcxx_cv_func___builtin_fabsl_use=yes
26220 else
26221 echo "$as_me: failed program was:" >&5
26222 sed 's/^/| /' conftest.$ac_ext >&5
26224 glibcxx_cv_func___builtin_fabsl_use=no
26226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26227 ac_ext=c
26228 ac_cpp='$CPP $CPPFLAGS'
26229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26237 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26238 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26239 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26240 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26241 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26242 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26243 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26244 echo $ECHO_N "(cached) $ECHO_C" >&6
26245 else
26247 if test x$gcc_no_link = xyes; then
26248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26250 { (exit 1); exit 1; }; }
26252 cat >conftest.$ac_ext <<_ACEOF
26253 /* confdefs.h. */
26254 _ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h. */
26258 #include <math.h>
26260 main ()
26262 __builtin_fabsl(0);
26264 return 0;
26266 _ACEOF
26267 rm -f conftest.$ac_objext conftest$ac_exeext
26268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26269 (eval $ac_link) 2>conftest.er1
26270 ac_status=$?
26271 grep -v '^ *+' conftest.er1 >conftest.err
26272 rm -f conftest.er1
26273 cat conftest.err >&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); } &&
26276 { ac_try='test -z "$ac_c_werror_flag"
26277 || test ! -s conftest.err'
26278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26279 (eval $ac_try) 2>&5
26280 ac_status=$?
26281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282 (exit $ac_status); }; } &&
26283 { ac_try='test -s conftest$ac_exeext'
26284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26285 (eval $ac_try) 2>&5
26286 ac_status=$?
26287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288 (exit $ac_status); }; }; then
26289 glibcxx_cv_func___builtin_fabsl_link=yes
26290 else
26291 echo "$as_me: failed program was:" >&5
26292 sed 's/^/| /' conftest.$ac_ext >&5
26294 glibcxx_cv_func___builtin_fabsl_link=no
26296 rm -f conftest.err conftest.$ac_objext \
26297 conftest$ac_exeext conftest.$ac_ext
26302 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26303 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26305 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26307 cat >>confdefs.h <<\_ACEOF
26308 #define HAVE___BUILTIN_FABSL 1
26309 _ACEOF
26316 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26317 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26318 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26319 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26320 echo $ECHO_N "(cached) $ECHO_C" >&6
26321 else
26325 ac_ext=cc
26326 ac_cpp='$CXXCPP $CPPFLAGS'
26327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26331 cat >conftest.$ac_ext <<_ACEOF
26332 /* confdefs.h. */
26333 _ACEOF
26334 cat confdefs.h >>conftest.$ac_ext
26335 cat >>conftest.$ac_ext <<_ACEOF
26336 /* end confdefs.h. */
26337 #include <math.h>
26339 main ()
26341 __builtin_labs(0);
26343 return 0;
26345 _ACEOF
26346 rm -f conftest.$ac_objext
26347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26348 (eval $ac_compile) 2>conftest.er1
26349 ac_status=$?
26350 grep -v '^ *+' conftest.er1 >conftest.err
26351 rm -f conftest.er1
26352 cat conftest.err >&5
26353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354 (exit $ac_status); } &&
26355 { ac_try='test -z "$ac_cxx_werror_flag"
26356 || test ! -s conftest.err'
26357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358 (eval $ac_try) 2>&5
26359 ac_status=$?
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); }; } &&
26362 { ac_try='test -s conftest.$ac_objext'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26365 ac_status=$?
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; }; then
26368 glibcxx_cv_func___builtin_labs_use=yes
26369 else
26370 echo "$as_me: failed program was:" >&5
26371 sed 's/^/| /' conftest.$ac_ext >&5
26373 glibcxx_cv_func___builtin_labs_use=no
26375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26376 ac_ext=c
26377 ac_cpp='$CPP $CPPFLAGS'
26378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26386 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26387 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26388 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26389 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26390 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26391 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26392 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26394 else
26396 if test x$gcc_no_link = xyes; then
26397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26399 { (exit 1); exit 1; }; }
26401 cat >conftest.$ac_ext <<_ACEOF
26402 /* confdefs.h. */
26403 _ACEOF
26404 cat confdefs.h >>conftest.$ac_ext
26405 cat >>conftest.$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26407 #include <math.h>
26409 main ()
26411 __builtin_labs(0);
26413 return 0;
26415 _ACEOF
26416 rm -f conftest.$ac_objext conftest$ac_exeext
26417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26418 (eval $ac_link) 2>conftest.er1
26419 ac_status=$?
26420 grep -v '^ *+' conftest.er1 >conftest.err
26421 rm -f conftest.er1
26422 cat conftest.err >&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); } &&
26425 { ac_try='test -z "$ac_c_werror_flag"
26426 || test ! -s conftest.err'
26427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26428 (eval $ac_try) 2>&5
26429 ac_status=$?
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); }; } &&
26432 { ac_try='test -s conftest$ac_exeext'
26433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26434 (eval $ac_try) 2>&5
26435 ac_status=$?
26436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26437 (exit $ac_status); }; }; then
26438 glibcxx_cv_func___builtin_labs_link=yes
26439 else
26440 echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.$ac_ext >&5
26443 glibcxx_cv_func___builtin_labs_link=no
26445 rm -f conftest.err conftest.$ac_objext \
26446 conftest$ac_exeext conftest.$ac_ext
26451 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26452 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26454 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26456 cat >>confdefs.h <<\_ACEOF
26457 #define HAVE___BUILTIN_LABS 1
26458 _ACEOF
26466 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26467 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26468 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26469 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26470 echo $ECHO_N "(cached) $ECHO_C" >&6
26471 else
26475 ac_ext=cc
26476 ac_cpp='$CXXCPP $CPPFLAGS'
26477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26481 cat >conftest.$ac_ext <<_ACEOF
26482 /* confdefs.h. */
26483 _ACEOF
26484 cat confdefs.h >>conftest.$ac_ext
26485 cat >>conftest.$ac_ext <<_ACEOF
26486 /* end confdefs.h. */
26487 #include <math.h>
26489 main ()
26491 __builtin_sqrtf(0);
26493 return 0;
26495 _ACEOF
26496 rm -f conftest.$ac_objext
26497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26498 (eval $ac_compile) 2>conftest.er1
26499 ac_status=$?
26500 grep -v '^ *+' conftest.er1 >conftest.err
26501 rm -f conftest.er1
26502 cat conftest.err >&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } &&
26505 { ac_try='test -z "$ac_cxx_werror_flag"
26506 || test ! -s conftest.err'
26507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26508 (eval $ac_try) 2>&5
26509 ac_status=$?
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); }; } &&
26512 { ac_try='test -s conftest.$ac_objext'
26513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514 (eval $ac_try) 2>&5
26515 ac_status=$?
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; }; then
26518 glibcxx_cv_func___builtin_sqrtf_use=yes
26519 else
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26523 glibcxx_cv_func___builtin_sqrtf_use=no
26525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26526 ac_ext=c
26527 ac_cpp='$CPP $CPPFLAGS'
26528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26536 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26537 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26538 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26539 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26540 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26541 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26542 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26543 echo $ECHO_N "(cached) $ECHO_C" >&6
26544 else
26546 if test x$gcc_no_link = xyes; then
26547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26549 { (exit 1); exit 1; }; }
26551 cat >conftest.$ac_ext <<_ACEOF
26552 /* confdefs.h. */
26553 _ACEOF
26554 cat confdefs.h >>conftest.$ac_ext
26555 cat >>conftest.$ac_ext <<_ACEOF
26556 /* end confdefs.h. */
26557 #include <math.h>
26559 main ()
26561 __builtin_sqrtf(0);
26563 return 0;
26565 _ACEOF
26566 rm -f conftest.$ac_objext conftest$ac_exeext
26567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26568 (eval $ac_link) 2>conftest.er1
26569 ac_status=$?
26570 grep -v '^ *+' conftest.er1 >conftest.err
26571 rm -f conftest.er1
26572 cat conftest.err >&5
26573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26574 (exit $ac_status); } &&
26575 { ac_try='test -z "$ac_c_werror_flag"
26576 || test ! -s conftest.err'
26577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26578 (eval $ac_try) 2>&5
26579 ac_status=$?
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); }; } &&
26582 { ac_try='test -s conftest$ac_exeext'
26583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26584 (eval $ac_try) 2>&5
26585 ac_status=$?
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); }; }; then
26588 glibcxx_cv_func___builtin_sqrtf_link=yes
26589 else
26590 echo "$as_me: failed program was:" >&5
26591 sed 's/^/| /' conftest.$ac_ext >&5
26593 glibcxx_cv_func___builtin_sqrtf_link=no
26595 rm -f conftest.err conftest.$ac_objext \
26596 conftest$ac_exeext conftest.$ac_ext
26601 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26602 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26604 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26606 cat >>confdefs.h <<\_ACEOF
26607 #define HAVE___BUILTIN_SQRTF 1
26608 _ACEOF
26615 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26616 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26617 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26618 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26619 echo $ECHO_N "(cached) $ECHO_C" >&6
26620 else
26624 ac_ext=cc
26625 ac_cpp='$CXXCPP $CPPFLAGS'
26626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26630 cat >conftest.$ac_ext <<_ACEOF
26631 /* confdefs.h. */
26632 _ACEOF
26633 cat confdefs.h >>conftest.$ac_ext
26634 cat >>conftest.$ac_ext <<_ACEOF
26635 /* end confdefs.h. */
26636 #include <math.h>
26638 main ()
26640 __builtin_sqrt(0);
26642 return 0;
26644 _ACEOF
26645 rm -f conftest.$ac_objext
26646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26647 (eval $ac_compile) 2>conftest.er1
26648 ac_status=$?
26649 grep -v '^ *+' conftest.er1 >conftest.err
26650 rm -f conftest.er1
26651 cat conftest.err >&5
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); } &&
26654 { ac_try='test -z "$ac_cxx_werror_flag"
26655 || test ! -s conftest.err'
26656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26657 (eval $ac_try) 2>&5
26658 ac_status=$?
26659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660 (exit $ac_status); }; } &&
26661 { ac_try='test -s conftest.$ac_objext'
26662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26663 (eval $ac_try) 2>&5
26664 ac_status=$?
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); }; }; then
26667 glibcxx_cv_func___builtin_sqrt_use=yes
26668 else
26669 echo "$as_me: failed program was:" >&5
26670 sed 's/^/| /' conftest.$ac_ext >&5
26672 glibcxx_cv_func___builtin_sqrt_use=no
26674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26675 ac_ext=c
26676 ac_cpp='$CPP $CPPFLAGS'
26677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26685 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26686 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26687 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26688 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26689 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26690 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26691 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26692 echo $ECHO_N "(cached) $ECHO_C" >&6
26693 else
26695 if test x$gcc_no_link = xyes; then
26696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26698 { (exit 1); exit 1; }; }
26700 cat >conftest.$ac_ext <<_ACEOF
26701 /* confdefs.h. */
26702 _ACEOF
26703 cat confdefs.h >>conftest.$ac_ext
26704 cat >>conftest.$ac_ext <<_ACEOF
26705 /* end confdefs.h. */
26706 #include <math.h>
26708 main ()
26710 __builtin_sqrt(0);
26712 return 0;
26714 _ACEOF
26715 rm -f conftest.$ac_objext conftest$ac_exeext
26716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26717 (eval $ac_link) 2>conftest.er1
26718 ac_status=$?
26719 grep -v '^ *+' conftest.er1 >conftest.err
26720 rm -f conftest.er1
26721 cat conftest.err >&5
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); } &&
26724 { ac_try='test -z "$ac_c_werror_flag"
26725 || test ! -s conftest.err'
26726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26727 (eval $ac_try) 2>&5
26728 ac_status=$?
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); }; } &&
26731 { ac_try='test -s conftest$ac_exeext'
26732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26733 (eval $ac_try) 2>&5
26734 ac_status=$?
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); }; }; then
26737 glibcxx_cv_func___builtin_sqrt_link=yes
26738 else
26739 echo "$as_me: failed program was:" >&5
26740 sed 's/^/| /' conftest.$ac_ext >&5
26742 glibcxx_cv_func___builtin_sqrt_link=no
26744 rm -f conftest.err conftest.$ac_objext \
26745 conftest$ac_exeext conftest.$ac_ext
26750 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26751 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26753 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26755 cat >>confdefs.h <<\_ACEOF
26756 #define HAVE___BUILTIN_SQRT 1
26757 _ACEOF
26764 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26765 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26766 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26767 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26768 echo $ECHO_N "(cached) $ECHO_C" >&6
26769 else
26773 ac_ext=cc
26774 ac_cpp='$CXXCPP $CPPFLAGS'
26775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26779 cat >conftest.$ac_ext <<_ACEOF
26780 /* confdefs.h. */
26781 _ACEOF
26782 cat confdefs.h >>conftest.$ac_ext
26783 cat >>conftest.$ac_ext <<_ACEOF
26784 /* end confdefs.h. */
26785 #include <math.h>
26787 main ()
26789 __builtin_sqrtl(0);
26791 return 0;
26793 _ACEOF
26794 rm -f conftest.$ac_objext
26795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26796 (eval $ac_compile) 2>conftest.er1
26797 ac_status=$?
26798 grep -v '^ *+' conftest.er1 >conftest.err
26799 rm -f conftest.er1
26800 cat conftest.err >&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); } &&
26803 { ac_try='test -z "$ac_cxx_werror_flag"
26804 || test ! -s conftest.err'
26805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26806 (eval $ac_try) 2>&5
26807 ac_status=$?
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); }; } &&
26810 { ac_try='test -s conftest.$ac_objext'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26813 ac_status=$?
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; }; then
26816 glibcxx_cv_func___builtin_sqrtl_use=yes
26817 else
26818 echo "$as_me: failed program was:" >&5
26819 sed 's/^/| /' conftest.$ac_ext >&5
26821 glibcxx_cv_func___builtin_sqrtl_use=no
26823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26824 ac_ext=c
26825 ac_cpp='$CPP $CPPFLAGS'
26826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26834 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26835 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26836 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26837 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26838 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26839 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26840 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26841 echo $ECHO_N "(cached) $ECHO_C" >&6
26842 else
26844 if test x$gcc_no_link = xyes; then
26845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26847 { (exit 1); exit 1; }; }
26849 cat >conftest.$ac_ext <<_ACEOF
26850 /* confdefs.h. */
26851 _ACEOF
26852 cat confdefs.h >>conftest.$ac_ext
26853 cat >>conftest.$ac_ext <<_ACEOF
26854 /* end confdefs.h. */
26855 #include <math.h>
26857 main ()
26859 __builtin_sqrtl(0);
26861 return 0;
26863 _ACEOF
26864 rm -f conftest.$ac_objext conftest$ac_exeext
26865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26866 (eval $ac_link) 2>conftest.er1
26867 ac_status=$?
26868 grep -v '^ *+' conftest.er1 >conftest.err
26869 rm -f conftest.er1
26870 cat conftest.err >&5
26871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872 (exit $ac_status); } &&
26873 { ac_try='test -z "$ac_c_werror_flag"
26874 || test ! -s conftest.err'
26875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26876 (eval $ac_try) 2>&5
26877 ac_status=$?
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); }; } &&
26880 { ac_try='test -s conftest$ac_exeext'
26881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26882 (eval $ac_try) 2>&5
26883 ac_status=$?
26884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885 (exit $ac_status); }; }; then
26886 glibcxx_cv_func___builtin_sqrtl_link=yes
26887 else
26888 echo "$as_me: failed program was:" >&5
26889 sed 's/^/| /' conftest.$ac_ext >&5
26891 glibcxx_cv_func___builtin_sqrtl_link=no
26893 rm -f conftest.err conftest.$ac_objext \
26894 conftest$ac_exeext conftest.$ac_ext
26899 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26900 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26902 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26904 cat >>confdefs.h <<\_ACEOF
26905 #define HAVE___BUILTIN_SQRTL 1
26906 _ACEOF
26914 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26915 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26916 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26917 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26918 echo $ECHO_N "(cached) $ECHO_C" >&6
26919 else
26923 ac_ext=cc
26924 ac_cpp='$CXXCPP $CPPFLAGS'
26925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26929 cat >conftest.$ac_ext <<_ACEOF
26930 /* confdefs.h. */
26931 _ACEOF
26932 cat confdefs.h >>conftest.$ac_ext
26933 cat >>conftest.$ac_ext <<_ACEOF
26934 /* end confdefs.h. */
26935 #include <math.h>
26937 main ()
26939 __builtin_sinf(0);
26941 return 0;
26943 _ACEOF
26944 rm -f conftest.$ac_objext
26945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26946 (eval $ac_compile) 2>conftest.er1
26947 ac_status=$?
26948 grep -v '^ *+' conftest.er1 >conftest.err
26949 rm -f conftest.er1
26950 cat conftest.err >&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); } &&
26953 { ac_try='test -z "$ac_cxx_werror_flag"
26954 || test ! -s conftest.err'
26955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26956 (eval $ac_try) 2>&5
26957 ac_status=$?
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); }; } &&
26960 { ac_try='test -s conftest.$ac_objext'
26961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26962 (eval $ac_try) 2>&5
26963 ac_status=$?
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); }; }; then
26966 glibcxx_cv_func___builtin_sinf_use=yes
26967 else
26968 echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.$ac_ext >&5
26971 glibcxx_cv_func___builtin_sinf_use=no
26973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26974 ac_ext=c
26975 ac_cpp='$CPP $CPPFLAGS'
26976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26984 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26985 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26986 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26987 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26988 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26989 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26990 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26991 echo $ECHO_N "(cached) $ECHO_C" >&6
26992 else
26994 if test x$gcc_no_link = xyes; then
26995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26997 { (exit 1); exit 1; }; }
26999 cat >conftest.$ac_ext <<_ACEOF
27000 /* confdefs.h. */
27001 _ACEOF
27002 cat confdefs.h >>conftest.$ac_ext
27003 cat >>conftest.$ac_ext <<_ACEOF
27004 /* end confdefs.h. */
27005 #include <math.h>
27007 main ()
27009 __builtin_sinf(0);
27011 return 0;
27013 _ACEOF
27014 rm -f conftest.$ac_objext conftest$ac_exeext
27015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27016 (eval $ac_link) 2>conftest.er1
27017 ac_status=$?
27018 grep -v '^ *+' conftest.er1 >conftest.err
27019 rm -f conftest.er1
27020 cat conftest.err >&5
27021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022 (exit $ac_status); } &&
27023 { ac_try='test -z "$ac_c_werror_flag"
27024 || test ! -s conftest.err'
27025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27026 (eval $ac_try) 2>&5
27027 ac_status=$?
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); }; } &&
27030 { ac_try='test -s conftest$ac_exeext'
27031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27032 (eval $ac_try) 2>&5
27033 ac_status=$?
27034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035 (exit $ac_status); }; }; then
27036 glibcxx_cv_func___builtin_sinf_link=yes
27037 else
27038 echo "$as_me: failed program was:" >&5
27039 sed 's/^/| /' conftest.$ac_ext >&5
27041 glibcxx_cv_func___builtin_sinf_link=no
27043 rm -f conftest.err conftest.$ac_objext \
27044 conftest$ac_exeext conftest.$ac_ext
27049 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27050 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27052 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27054 cat >>confdefs.h <<\_ACEOF
27055 #define HAVE___BUILTIN_SINF 1
27056 _ACEOF
27063 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27064 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27065 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27066 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27067 echo $ECHO_N "(cached) $ECHO_C" >&6
27068 else
27072 ac_ext=cc
27073 ac_cpp='$CXXCPP $CPPFLAGS'
27074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27078 cat >conftest.$ac_ext <<_ACEOF
27079 /* confdefs.h. */
27080 _ACEOF
27081 cat confdefs.h >>conftest.$ac_ext
27082 cat >>conftest.$ac_ext <<_ACEOF
27083 /* end confdefs.h. */
27084 #include <math.h>
27086 main ()
27088 __builtin_sin(0);
27090 return 0;
27092 _ACEOF
27093 rm -f conftest.$ac_objext
27094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27095 (eval $ac_compile) 2>conftest.er1
27096 ac_status=$?
27097 grep -v '^ *+' conftest.er1 >conftest.err
27098 rm -f conftest.er1
27099 cat conftest.err >&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } &&
27102 { ac_try='test -z "$ac_cxx_werror_flag"
27103 || test ! -s conftest.err'
27104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27105 (eval $ac_try) 2>&5
27106 ac_status=$?
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); }; } &&
27109 { ac_try='test -s conftest.$ac_objext'
27110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27111 (eval $ac_try) 2>&5
27112 ac_status=$?
27113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114 (exit $ac_status); }; }; then
27115 glibcxx_cv_func___builtin_sin_use=yes
27116 else
27117 echo "$as_me: failed program was:" >&5
27118 sed 's/^/| /' conftest.$ac_ext >&5
27120 glibcxx_cv_func___builtin_sin_use=no
27122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27123 ac_ext=c
27124 ac_cpp='$CPP $CPPFLAGS'
27125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27133 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27134 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27135 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27136 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27137 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27138 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27139 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27140 echo $ECHO_N "(cached) $ECHO_C" >&6
27141 else
27143 if test x$gcc_no_link = xyes; then
27144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27146 { (exit 1); exit 1; }; }
27148 cat >conftest.$ac_ext <<_ACEOF
27149 /* confdefs.h. */
27150 _ACEOF
27151 cat confdefs.h >>conftest.$ac_ext
27152 cat >>conftest.$ac_ext <<_ACEOF
27153 /* end confdefs.h. */
27154 #include <math.h>
27156 main ()
27158 __builtin_sin(0);
27160 return 0;
27162 _ACEOF
27163 rm -f conftest.$ac_objext conftest$ac_exeext
27164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27165 (eval $ac_link) 2>conftest.er1
27166 ac_status=$?
27167 grep -v '^ *+' conftest.er1 >conftest.err
27168 rm -f conftest.er1
27169 cat conftest.err >&5
27170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27171 (exit $ac_status); } &&
27172 { ac_try='test -z "$ac_c_werror_flag"
27173 || test ! -s conftest.err'
27174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27175 (eval $ac_try) 2>&5
27176 ac_status=$?
27177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178 (exit $ac_status); }; } &&
27179 { ac_try='test -s conftest$ac_exeext'
27180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27181 (eval $ac_try) 2>&5
27182 ac_status=$?
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); }; }; then
27185 glibcxx_cv_func___builtin_sin_link=yes
27186 else
27187 echo "$as_me: failed program was:" >&5
27188 sed 's/^/| /' conftest.$ac_ext >&5
27190 glibcxx_cv_func___builtin_sin_link=no
27192 rm -f conftest.err conftest.$ac_objext \
27193 conftest$ac_exeext conftest.$ac_ext
27198 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27199 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27201 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27203 cat >>confdefs.h <<\_ACEOF
27204 #define HAVE___BUILTIN_SIN 1
27205 _ACEOF
27212 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27213 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27214 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27215 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27216 echo $ECHO_N "(cached) $ECHO_C" >&6
27217 else
27221 ac_ext=cc
27222 ac_cpp='$CXXCPP $CPPFLAGS'
27223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27227 cat >conftest.$ac_ext <<_ACEOF
27228 /* confdefs.h. */
27229 _ACEOF
27230 cat confdefs.h >>conftest.$ac_ext
27231 cat >>conftest.$ac_ext <<_ACEOF
27232 /* end confdefs.h. */
27233 #include <math.h>
27235 main ()
27237 __builtin_sinl(0);
27239 return 0;
27241 _ACEOF
27242 rm -f conftest.$ac_objext
27243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27244 (eval $ac_compile) 2>conftest.er1
27245 ac_status=$?
27246 grep -v '^ *+' conftest.er1 >conftest.err
27247 rm -f conftest.er1
27248 cat conftest.err >&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } &&
27251 { ac_try='test -z "$ac_cxx_werror_flag"
27252 || test ! -s conftest.err'
27253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27254 (eval $ac_try) 2>&5
27255 ac_status=$?
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); }; } &&
27258 { ac_try='test -s conftest.$ac_objext'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27261 ac_status=$?
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; }; then
27264 glibcxx_cv_func___builtin_sinl_use=yes
27265 else
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27269 glibcxx_cv_func___builtin_sinl_use=no
27271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27272 ac_ext=c
27273 ac_cpp='$CPP $CPPFLAGS'
27274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27282 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27283 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27284 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27285 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27286 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27287 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27288 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27289 echo $ECHO_N "(cached) $ECHO_C" >&6
27290 else
27292 if test x$gcc_no_link = xyes; then
27293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27295 { (exit 1); exit 1; }; }
27297 cat >conftest.$ac_ext <<_ACEOF
27298 /* confdefs.h. */
27299 _ACEOF
27300 cat confdefs.h >>conftest.$ac_ext
27301 cat >>conftest.$ac_ext <<_ACEOF
27302 /* end confdefs.h. */
27303 #include <math.h>
27305 main ()
27307 __builtin_sinl(0);
27309 return 0;
27311 _ACEOF
27312 rm -f conftest.$ac_objext conftest$ac_exeext
27313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27314 (eval $ac_link) 2>conftest.er1
27315 ac_status=$?
27316 grep -v '^ *+' conftest.er1 >conftest.err
27317 rm -f conftest.er1
27318 cat conftest.err >&5
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); } &&
27321 { ac_try='test -z "$ac_c_werror_flag"
27322 || test ! -s conftest.err'
27323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27324 (eval $ac_try) 2>&5
27325 ac_status=$?
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); }; } &&
27328 { ac_try='test -s conftest$ac_exeext'
27329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27330 (eval $ac_try) 2>&5
27331 ac_status=$?
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); }; }; then
27334 glibcxx_cv_func___builtin_sinl_link=yes
27335 else
27336 echo "$as_me: failed program was:" >&5
27337 sed 's/^/| /' conftest.$ac_ext >&5
27339 glibcxx_cv_func___builtin_sinl_link=no
27341 rm -f conftest.err conftest.$ac_objext \
27342 conftest$ac_exeext conftest.$ac_ext
27347 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27348 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27350 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27352 cat >>confdefs.h <<\_ACEOF
27353 #define HAVE___BUILTIN_SINL 1
27354 _ACEOF
27362 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27363 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27364 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27365 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27366 echo $ECHO_N "(cached) $ECHO_C" >&6
27367 else
27371 ac_ext=cc
27372 ac_cpp='$CXXCPP $CPPFLAGS'
27373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27377 cat >conftest.$ac_ext <<_ACEOF
27378 /* confdefs.h. */
27379 _ACEOF
27380 cat confdefs.h >>conftest.$ac_ext
27381 cat >>conftest.$ac_ext <<_ACEOF
27382 /* end confdefs.h. */
27383 #include <math.h>
27385 main ()
27387 __builtin_cosf(0);
27389 return 0;
27391 _ACEOF
27392 rm -f conftest.$ac_objext
27393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27394 (eval $ac_compile) 2>conftest.er1
27395 ac_status=$?
27396 grep -v '^ *+' conftest.er1 >conftest.err
27397 rm -f conftest.er1
27398 cat conftest.err >&5
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); } &&
27401 { ac_try='test -z "$ac_cxx_werror_flag"
27402 || test ! -s conftest.err'
27403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27404 (eval $ac_try) 2>&5
27405 ac_status=$?
27406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27407 (exit $ac_status); }; } &&
27408 { ac_try='test -s conftest.$ac_objext'
27409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27410 (eval $ac_try) 2>&5
27411 ac_status=$?
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); }; }; then
27414 glibcxx_cv_func___builtin_cosf_use=yes
27415 else
27416 echo "$as_me: failed program was:" >&5
27417 sed 's/^/| /' conftest.$ac_ext >&5
27419 glibcxx_cv_func___builtin_cosf_use=no
27421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27422 ac_ext=c
27423 ac_cpp='$CPP $CPPFLAGS'
27424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27432 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27433 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27434 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27435 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27436 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27437 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27438 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27439 echo $ECHO_N "(cached) $ECHO_C" >&6
27440 else
27442 if test x$gcc_no_link = xyes; then
27443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27445 { (exit 1); exit 1; }; }
27447 cat >conftest.$ac_ext <<_ACEOF
27448 /* confdefs.h. */
27449 _ACEOF
27450 cat confdefs.h >>conftest.$ac_ext
27451 cat >>conftest.$ac_ext <<_ACEOF
27452 /* end confdefs.h. */
27453 #include <math.h>
27455 main ()
27457 __builtin_cosf(0);
27459 return 0;
27461 _ACEOF
27462 rm -f conftest.$ac_objext conftest$ac_exeext
27463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27464 (eval $ac_link) 2>conftest.er1
27465 ac_status=$?
27466 grep -v '^ *+' conftest.er1 >conftest.err
27467 rm -f conftest.er1
27468 cat conftest.err >&5
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); } &&
27471 { ac_try='test -z "$ac_c_werror_flag"
27472 || test ! -s conftest.err'
27473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27474 (eval $ac_try) 2>&5
27475 ac_status=$?
27476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477 (exit $ac_status); }; } &&
27478 { ac_try='test -s conftest$ac_exeext'
27479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27480 (eval $ac_try) 2>&5
27481 ac_status=$?
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); }; }; then
27484 glibcxx_cv_func___builtin_cosf_link=yes
27485 else
27486 echo "$as_me: failed program was:" >&5
27487 sed 's/^/| /' conftest.$ac_ext >&5
27489 glibcxx_cv_func___builtin_cosf_link=no
27491 rm -f conftest.err conftest.$ac_objext \
27492 conftest$ac_exeext conftest.$ac_ext
27497 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27498 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27500 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27502 cat >>confdefs.h <<\_ACEOF
27503 #define HAVE___BUILTIN_COSF 1
27504 _ACEOF
27511 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27512 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27513 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27514 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27515 echo $ECHO_N "(cached) $ECHO_C" >&6
27516 else
27520 ac_ext=cc
27521 ac_cpp='$CXXCPP $CPPFLAGS'
27522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27526 cat >conftest.$ac_ext <<_ACEOF
27527 /* confdefs.h. */
27528 _ACEOF
27529 cat confdefs.h >>conftest.$ac_ext
27530 cat >>conftest.$ac_ext <<_ACEOF
27531 /* end confdefs.h. */
27532 #include <math.h>
27534 main ()
27536 __builtin_cos(0);
27538 return 0;
27540 _ACEOF
27541 rm -f conftest.$ac_objext
27542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27543 (eval $ac_compile) 2>conftest.er1
27544 ac_status=$?
27545 grep -v '^ *+' conftest.er1 >conftest.err
27546 rm -f conftest.er1
27547 cat conftest.err >&5
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); } &&
27550 { ac_try='test -z "$ac_cxx_werror_flag"
27551 || test ! -s conftest.err'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27554 ac_status=$?
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; } &&
27557 { ac_try='test -s conftest.$ac_objext'
27558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27559 (eval $ac_try) 2>&5
27560 ac_status=$?
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); }; }; then
27563 glibcxx_cv_func___builtin_cos_use=yes
27564 else
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.$ac_ext >&5
27568 glibcxx_cv_func___builtin_cos_use=no
27570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27571 ac_ext=c
27572 ac_cpp='$CPP $CPPFLAGS'
27573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27581 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27582 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27583 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27584 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27585 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27586 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27587 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6
27589 else
27591 if test x$gcc_no_link = xyes; then
27592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27594 { (exit 1); exit 1; }; }
27596 cat >conftest.$ac_ext <<_ACEOF
27597 /* confdefs.h. */
27598 _ACEOF
27599 cat confdefs.h >>conftest.$ac_ext
27600 cat >>conftest.$ac_ext <<_ACEOF
27601 /* end confdefs.h. */
27602 #include <math.h>
27604 main ()
27606 __builtin_cos(0);
27608 return 0;
27610 _ACEOF
27611 rm -f conftest.$ac_objext conftest$ac_exeext
27612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27613 (eval $ac_link) 2>conftest.er1
27614 ac_status=$?
27615 grep -v '^ *+' conftest.er1 >conftest.err
27616 rm -f conftest.er1
27617 cat conftest.err >&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); } &&
27620 { ac_try='test -z "$ac_c_werror_flag"
27621 || test ! -s conftest.err'
27622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27623 (eval $ac_try) 2>&5
27624 ac_status=$?
27625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27626 (exit $ac_status); }; } &&
27627 { ac_try='test -s conftest$ac_exeext'
27628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27629 (eval $ac_try) 2>&5
27630 ac_status=$?
27631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632 (exit $ac_status); }; }; then
27633 glibcxx_cv_func___builtin_cos_link=yes
27634 else
27635 echo "$as_me: failed program was:" >&5
27636 sed 's/^/| /' conftest.$ac_ext >&5
27638 glibcxx_cv_func___builtin_cos_link=no
27640 rm -f conftest.err conftest.$ac_objext \
27641 conftest$ac_exeext conftest.$ac_ext
27646 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27647 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27649 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27651 cat >>confdefs.h <<\_ACEOF
27652 #define HAVE___BUILTIN_COS 1
27653 _ACEOF
27660 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27661 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27662 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27663 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27664 echo $ECHO_N "(cached) $ECHO_C" >&6
27665 else
27669 ac_ext=cc
27670 ac_cpp='$CXXCPP $CPPFLAGS'
27671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27675 cat >conftest.$ac_ext <<_ACEOF
27676 /* confdefs.h. */
27677 _ACEOF
27678 cat confdefs.h >>conftest.$ac_ext
27679 cat >>conftest.$ac_ext <<_ACEOF
27680 /* end confdefs.h. */
27681 #include <math.h>
27683 main ()
27685 __builtin_cosl(0);
27687 return 0;
27689 _ACEOF
27690 rm -f conftest.$ac_objext
27691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27692 (eval $ac_compile) 2>conftest.er1
27693 ac_status=$?
27694 grep -v '^ *+' conftest.er1 >conftest.err
27695 rm -f conftest.er1
27696 cat conftest.err >&5
27697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27698 (exit $ac_status); } &&
27699 { ac_try='test -z "$ac_cxx_werror_flag"
27700 || test ! -s conftest.err'
27701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27702 (eval $ac_try) 2>&5
27703 ac_status=$?
27704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705 (exit $ac_status); }; } &&
27706 { ac_try='test -s conftest.$ac_objext'
27707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27708 (eval $ac_try) 2>&5
27709 ac_status=$?
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); }; }; then
27712 glibcxx_cv_func___builtin_cosl_use=yes
27713 else
27714 echo "$as_me: failed program was:" >&5
27715 sed 's/^/| /' conftest.$ac_ext >&5
27717 glibcxx_cv_func___builtin_cosl_use=no
27719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27720 ac_ext=c
27721 ac_cpp='$CPP $CPPFLAGS'
27722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27730 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27731 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27732 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27733 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27734 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27735 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27736 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27737 echo $ECHO_N "(cached) $ECHO_C" >&6
27738 else
27740 if test x$gcc_no_link = xyes; then
27741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27743 { (exit 1); exit 1; }; }
27745 cat >conftest.$ac_ext <<_ACEOF
27746 /* confdefs.h. */
27747 _ACEOF
27748 cat confdefs.h >>conftest.$ac_ext
27749 cat >>conftest.$ac_ext <<_ACEOF
27750 /* end confdefs.h. */
27751 #include <math.h>
27753 main ()
27755 __builtin_cosl(0);
27757 return 0;
27759 _ACEOF
27760 rm -f conftest.$ac_objext conftest$ac_exeext
27761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27762 (eval $ac_link) 2>conftest.er1
27763 ac_status=$?
27764 grep -v '^ *+' conftest.er1 >conftest.err
27765 rm -f conftest.er1
27766 cat conftest.err >&5
27767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27768 (exit $ac_status); } &&
27769 { ac_try='test -z "$ac_c_werror_flag"
27770 || test ! -s conftest.err'
27771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27772 (eval $ac_try) 2>&5
27773 ac_status=$?
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); }; } &&
27776 { ac_try='test -s conftest$ac_exeext'
27777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778 (eval $ac_try) 2>&5
27779 ac_status=$?
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); }; }; then
27782 glibcxx_cv_func___builtin_cosl_link=yes
27783 else
27784 echo "$as_me: failed program was:" >&5
27785 sed 's/^/| /' conftest.$ac_ext >&5
27787 glibcxx_cv_func___builtin_cosl_link=no
27789 rm -f conftest.err conftest.$ac_objext \
27790 conftest$ac_exeext conftest.$ac_ext
27795 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27796 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27798 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27800 cat >>confdefs.h <<\_ACEOF
27801 #define HAVE___BUILTIN_COSL 1
27802 _ACEOF
27811 echo "$as_me:$LINENO: checking for main in -lm" >&5
27812 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27813 if test "${ac_cv_lib_m_main+set}" = set; then
27814 echo $ECHO_N "(cached) $ECHO_C" >&6
27815 else
27816 ac_check_lib_save_LIBS=$LIBS
27817 LIBS="-lm $LIBS"
27818 if test x$gcc_no_link = xyes; then
27819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27821 { (exit 1); exit 1; }; }
27823 cat >conftest.$ac_ext <<_ACEOF
27824 /* confdefs.h. */
27825 _ACEOF
27826 cat confdefs.h >>conftest.$ac_ext
27827 cat >>conftest.$ac_ext <<_ACEOF
27828 /* end confdefs.h. */
27832 main ()
27834 main ();
27836 return 0;
27838 _ACEOF
27839 rm -f conftest.$ac_objext conftest$ac_exeext
27840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27841 (eval $ac_link) 2>conftest.er1
27842 ac_status=$?
27843 grep -v '^ *+' conftest.er1 >conftest.err
27844 rm -f conftest.er1
27845 cat conftest.err >&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); } &&
27848 { ac_try='test -z "$ac_c_werror_flag"
27849 || test ! -s conftest.err'
27850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27851 (eval $ac_try) 2>&5
27852 ac_status=$?
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); }; } &&
27855 { ac_try='test -s conftest$ac_exeext'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27858 ac_status=$?
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; }; then
27861 ac_cv_lib_m_main=yes
27862 else
27863 echo "$as_me: failed program was:" >&5
27864 sed 's/^/| /' conftest.$ac_ext >&5
27866 ac_cv_lib_m_main=no
27868 rm -f conftest.err conftest.$ac_objext \
27869 conftest$ac_exeext conftest.$ac_ext
27870 LIBS=$ac_check_lib_save_LIBS
27872 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27873 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27874 if test $ac_cv_lib_m_main = yes; then
27875 cat >>confdefs.h <<_ACEOF
27876 #define HAVE_LIBM 1
27877 _ACEOF
27879 LIBS="-lm $LIBS"
27884 for ac_func in copysignf
27886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27887 echo "$as_me:$LINENO: checking for $ac_func" >&5
27888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27889 if eval "test \"\${$as_ac_var+set}\" = set"; then
27890 echo $ECHO_N "(cached) $ECHO_C" >&6
27891 else
27892 if test x$gcc_no_link = xyes; then
27893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27895 { (exit 1); exit 1; }; }
27897 cat >conftest.$ac_ext <<_ACEOF
27898 /* confdefs.h. */
27899 _ACEOF
27900 cat confdefs.h >>conftest.$ac_ext
27901 cat >>conftest.$ac_ext <<_ACEOF
27902 /* end confdefs.h. */
27903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27905 #define $ac_func innocuous_$ac_func
27907 /* System header to define __stub macros and hopefully few prototypes,
27908 which can conflict with char $ac_func (); below.
27909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27910 <limits.h> exists even on freestanding compilers. */
27912 #ifdef __STDC__
27913 # include <limits.h>
27914 #else
27915 # include <assert.h>
27916 #endif
27918 #undef $ac_func
27920 /* Override any gcc2 internal prototype to avoid an error. */
27921 #ifdef __cplusplus
27922 extern "C"
27924 #endif
27925 /* We use char because int might match the return type of a gcc2
27926 builtin and then its argument prototype would still apply. */
27927 char $ac_func ();
27928 /* The GNU C library defines this for functions which it implements
27929 to always fail with ENOSYS. Some functions are actually named
27930 something starting with __ and the normal name is an alias. */
27931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27932 choke me
27933 #else
27934 char (*f) () = $ac_func;
27935 #endif
27936 #ifdef __cplusplus
27938 #endif
27941 main ()
27943 return f != $ac_func;
27945 return 0;
27947 _ACEOF
27948 rm -f conftest.$ac_objext conftest$ac_exeext
27949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27950 (eval $ac_link) 2>conftest.er1
27951 ac_status=$?
27952 grep -v '^ *+' conftest.er1 >conftest.err
27953 rm -f conftest.er1
27954 cat conftest.err >&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } &&
27957 { ac_try='test -z "$ac_c_werror_flag"
27958 || test ! -s conftest.err'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27961 ac_status=$?
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; } &&
27964 { ac_try='test -s conftest$ac_exeext'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27967 ac_status=$?
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; }; then
27970 eval "$as_ac_var=yes"
27971 else
27972 echo "$as_me: failed program was:" >&5
27973 sed 's/^/| /' conftest.$ac_ext >&5
27975 eval "$as_ac_var=no"
27977 rm -f conftest.err conftest.$ac_objext \
27978 conftest$ac_exeext conftest.$ac_ext
27980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27982 if test `eval echo '${'$as_ac_var'}'` = yes; then
27983 cat >>confdefs.h <<_ACEOF
27984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27985 _ACEOF
27987 else
27988 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27990 done
27994 for ac_func in __signbit
27996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27997 echo "$as_me:$LINENO: checking for $ac_func" >&5
27998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27999 if eval "test \"\${$as_ac_var+set}\" = set"; then
28000 echo $ECHO_N "(cached) $ECHO_C" >&6
28001 else
28002 if test x$gcc_no_link = xyes; then
28003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28005 { (exit 1); exit 1; }; }
28007 cat >conftest.$ac_ext <<_ACEOF
28008 /* confdefs.h. */
28009 _ACEOF
28010 cat confdefs.h >>conftest.$ac_ext
28011 cat >>conftest.$ac_ext <<_ACEOF
28012 /* end confdefs.h. */
28013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28015 #define $ac_func innocuous_$ac_func
28017 /* System header to define __stub macros and hopefully few prototypes,
28018 which can conflict with char $ac_func (); below.
28019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28020 <limits.h> exists even on freestanding compilers. */
28022 #ifdef __STDC__
28023 # include <limits.h>
28024 #else
28025 # include <assert.h>
28026 #endif
28028 #undef $ac_func
28030 /* Override any gcc2 internal prototype to avoid an error. */
28031 #ifdef __cplusplus
28032 extern "C"
28034 #endif
28035 /* We use char because int might match the return type of a gcc2
28036 builtin and then its argument prototype would still apply. */
28037 char $ac_func ();
28038 /* The GNU C library defines this for functions which it implements
28039 to always fail with ENOSYS. Some functions are actually named
28040 something starting with __ and the normal name is an alias. */
28041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28042 choke me
28043 #else
28044 char (*f) () = $ac_func;
28045 #endif
28046 #ifdef __cplusplus
28048 #endif
28051 main ()
28053 return f != $ac_func;
28055 return 0;
28057 _ACEOF
28058 rm -f conftest.$ac_objext conftest$ac_exeext
28059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28060 (eval $ac_link) 2>conftest.er1
28061 ac_status=$?
28062 grep -v '^ *+' conftest.er1 >conftest.err
28063 rm -f conftest.er1
28064 cat conftest.err >&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); } &&
28067 { ac_try='test -z "$ac_c_werror_flag"
28068 || test ! -s conftest.err'
28069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28070 (eval $ac_try) 2>&5
28071 ac_status=$?
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); }; } &&
28074 { ac_try='test -s conftest$ac_exeext'
28075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28076 (eval $ac_try) 2>&5
28077 ac_status=$?
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); }; }; then
28080 eval "$as_ac_var=yes"
28081 else
28082 echo "$as_me: failed program was:" >&5
28083 sed 's/^/| /' conftest.$ac_ext >&5
28085 eval "$as_ac_var=no"
28087 rm -f conftest.err conftest.$ac_objext \
28088 conftest$ac_exeext conftest.$ac_ext
28090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28092 if test `eval echo '${'$as_ac_var'}'` = yes; then
28093 cat >>confdefs.h <<_ACEOF
28094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28095 _ACEOF
28097 else
28098 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28100 done
28104 for ac_func in __signbitf
28106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28107 echo "$as_me:$LINENO: checking for $ac_func" >&5
28108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28109 if eval "test \"\${$as_ac_var+set}\" = set"; then
28110 echo $ECHO_N "(cached) $ECHO_C" >&6
28111 else
28112 if test x$gcc_no_link = xyes; then
28113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28115 { (exit 1); exit 1; }; }
28117 cat >conftest.$ac_ext <<_ACEOF
28118 /* confdefs.h. */
28119 _ACEOF
28120 cat confdefs.h >>conftest.$ac_ext
28121 cat >>conftest.$ac_ext <<_ACEOF
28122 /* end confdefs.h. */
28123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28125 #define $ac_func innocuous_$ac_func
28127 /* System header to define __stub macros and hopefully few prototypes,
28128 which can conflict with char $ac_func (); below.
28129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28130 <limits.h> exists even on freestanding compilers. */
28132 #ifdef __STDC__
28133 # include <limits.h>
28134 #else
28135 # include <assert.h>
28136 #endif
28138 #undef $ac_func
28140 /* Override any gcc2 internal prototype to avoid an error. */
28141 #ifdef __cplusplus
28142 extern "C"
28144 #endif
28145 /* We use char because int might match the return type of a gcc2
28146 builtin and then its argument prototype would still apply. */
28147 char $ac_func ();
28148 /* The GNU C library defines this for functions which it implements
28149 to always fail with ENOSYS. Some functions are actually named
28150 something starting with __ and the normal name is an alias. */
28151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28152 choke me
28153 #else
28154 char (*f) () = $ac_func;
28155 #endif
28156 #ifdef __cplusplus
28158 #endif
28161 main ()
28163 return f != $ac_func;
28165 return 0;
28167 _ACEOF
28168 rm -f conftest.$ac_objext conftest$ac_exeext
28169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28170 (eval $ac_link) 2>conftest.er1
28171 ac_status=$?
28172 grep -v '^ *+' conftest.er1 >conftest.err
28173 rm -f conftest.er1
28174 cat conftest.err >&5
28175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28176 (exit $ac_status); } &&
28177 { ac_try='test -z "$ac_c_werror_flag"
28178 || test ! -s conftest.err'
28179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28180 (eval $ac_try) 2>&5
28181 ac_status=$?
28182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28183 (exit $ac_status); }; } &&
28184 { ac_try='test -s conftest$ac_exeext'
28185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28186 (eval $ac_try) 2>&5
28187 ac_status=$?
28188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28189 (exit $ac_status); }; }; then
28190 eval "$as_ac_var=yes"
28191 else
28192 echo "$as_me: failed program was:" >&5
28193 sed 's/^/| /' conftest.$ac_ext >&5
28195 eval "$as_ac_var=no"
28197 rm -f conftest.err conftest.$ac_objext \
28198 conftest$ac_exeext conftest.$ac_ext
28200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28202 if test `eval echo '${'$as_ac_var'}'` = yes; then
28203 cat >>confdefs.h <<_ACEOF
28204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28205 _ACEOF
28207 else
28208 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28210 done
28213 if test x$ac_cv_func_copysignl = x"yes"; then
28215 for ac_func in __signbitl
28217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28218 echo "$as_me:$LINENO: checking for $ac_func" >&5
28219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28220 if eval "test \"\${$as_ac_var+set}\" = set"; then
28221 echo $ECHO_N "(cached) $ECHO_C" >&6
28222 else
28223 if test x$gcc_no_link = xyes; then
28224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28226 { (exit 1); exit 1; }; }
28228 cat >conftest.$ac_ext <<_ACEOF
28229 /* confdefs.h. */
28230 _ACEOF
28231 cat confdefs.h >>conftest.$ac_ext
28232 cat >>conftest.$ac_ext <<_ACEOF
28233 /* end confdefs.h. */
28234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28236 #define $ac_func innocuous_$ac_func
28238 /* System header to define __stub macros and hopefully few prototypes,
28239 which can conflict with char $ac_func (); below.
28240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28241 <limits.h> exists even on freestanding compilers. */
28243 #ifdef __STDC__
28244 # include <limits.h>
28245 #else
28246 # include <assert.h>
28247 #endif
28249 #undef $ac_func
28251 /* Override any gcc2 internal prototype to avoid an error. */
28252 #ifdef __cplusplus
28253 extern "C"
28255 #endif
28256 /* We use char because int might match the return type of a gcc2
28257 builtin and then its argument prototype would still apply. */
28258 char $ac_func ();
28259 /* The GNU C library defines this for functions which it implements
28260 to always fail with ENOSYS. Some functions are actually named
28261 something starting with __ and the normal name is an alias. */
28262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28263 choke me
28264 #else
28265 char (*f) () = $ac_func;
28266 #endif
28267 #ifdef __cplusplus
28269 #endif
28272 main ()
28274 return f != $ac_func;
28276 return 0;
28278 _ACEOF
28279 rm -f conftest.$ac_objext conftest$ac_exeext
28280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28281 (eval $ac_link) 2>conftest.er1
28282 ac_status=$?
28283 grep -v '^ *+' conftest.er1 >conftest.err
28284 rm -f conftest.er1
28285 cat conftest.err >&5
28286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287 (exit $ac_status); } &&
28288 { ac_try='test -z "$ac_c_werror_flag"
28289 || test ! -s conftest.err'
28290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28291 (eval $ac_try) 2>&5
28292 ac_status=$?
28293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294 (exit $ac_status); }; } &&
28295 { ac_try='test -s conftest$ac_exeext'
28296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28297 (eval $ac_try) 2>&5
28298 ac_status=$?
28299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300 (exit $ac_status); }; }; then
28301 eval "$as_ac_var=yes"
28302 else
28303 echo "$as_me: failed program was:" >&5
28304 sed 's/^/| /' conftest.$ac_ext >&5
28306 eval "$as_ac_var=no"
28308 rm -f conftest.err conftest.$ac_objext \
28309 conftest$ac_exeext conftest.$ac_ext
28311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28313 if test `eval echo '${'$as_ac_var'}'` = yes; then
28314 cat >>confdefs.h <<_ACEOF
28315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28316 _ACEOF
28318 else
28319 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28321 done
28325 # Used in libmath/Makefile.am.
28326 if test -n "$LIBMATHOBJS"; then
28327 need_libmath=yes
28333 enable_iconv=no
28334 # Only continue checking if the ISO C99 headers exist and support is on.
28335 if test x"$enable_wchar_t" = xyes; then
28337 # Use iconv for wchar_t to char conversions. As such, check for
28338 # X/Open Portability Guide, version 2 features (XPG2).
28339 if test "${ac_cv_header_iconv_h+set}" = set; then
28340 echo "$as_me:$LINENO: checking for iconv.h" >&5
28341 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28342 if test "${ac_cv_header_iconv_h+set}" = set; then
28343 echo $ECHO_N "(cached) $ECHO_C" >&6
28345 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28346 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28347 else
28348 # Is the header compilable?
28349 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28350 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28351 cat >conftest.$ac_ext <<_ACEOF
28352 /* confdefs.h. */
28353 _ACEOF
28354 cat confdefs.h >>conftest.$ac_ext
28355 cat >>conftest.$ac_ext <<_ACEOF
28356 /* end confdefs.h. */
28357 $ac_includes_default
28358 #include <iconv.h>
28359 _ACEOF
28360 rm -f conftest.$ac_objext
28361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28362 (eval $ac_compile) 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); } &&
28369 { ac_try='test -z "$ac_c_werror_flag"
28370 || test ! -s conftest.err'
28371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28372 (eval $ac_try) 2>&5
28373 ac_status=$?
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); }; } &&
28376 { ac_try='test -s conftest.$ac_objext'
28377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378 (eval $ac_try) 2>&5
28379 ac_status=$?
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); }; }; then
28382 ac_header_compiler=yes
28383 else
28384 echo "$as_me: failed program was:" >&5
28385 sed 's/^/| /' conftest.$ac_ext >&5
28387 ac_header_compiler=no
28389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28391 echo "${ECHO_T}$ac_header_compiler" >&6
28393 # Is the header present?
28394 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28395 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28396 cat >conftest.$ac_ext <<_ACEOF
28397 /* confdefs.h. */
28398 _ACEOF
28399 cat confdefs.h >>conftest.$ac_ext
28400 cat >>conftest.$ac_ext <<_ACEOF
28401 /* end confdefs.h. */
28402 #include <iconv.h>
28403 _ACEOF
28404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28406 ac_status=$?
28407 grep -v '^ *+' conftest.er1 >conftest.err
28408 rm -f conftest.er1
28409 cat conftest.err >&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); } >/dev/null; then
28412 if test -s conftest.err; then
28413 ac_cpp_err=$ac_c_preproc_warn_flag
28414 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28415 else
28416 ac_cpp_err=
28418 else
28419 ac_cpp_err=yes
28421 if test -z "$ac_cpp_err"; then
28422 ac_header_preproc=yes
28423 else
28424 echo "$as_me: failed program was:" >&5
28425 sed 's/^/| /' conftest.$ac_ext >&5
28427 ac_header_preproc=no
28429 rm -f conftest.err conftest.$ac_ext
28430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28431 echo "${ECHO_T}$ac_header_preproc" >&6
28433 # So? What about this header?
28434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28435 yes:no: )
28436 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28437 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28438 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28439 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28440 ac_header_preproc=yes
28442 no:yes:* )
28443 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28444 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28445 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28446 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28447 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28448 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28449 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28450 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28451 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28452 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28453 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28454 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28456 cat <<\_ASBOX
28457 ## ----------------------------------------- ##
28458 ## Report this to the package-unused lists. ##
28459 ## ----------------------------------------- ##
28460 _ASBOX
28462 sed "s/^/$as_me: WARNING: /" >&2
28464 esac
28465 echo "$as_me:$LINENO: checking for iconv.h" >&5
28466 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28467 if test "${ac_cv_header_iconv_h+set}" = set; then
28468 echo $ECHO_N "(cached) $ECHO_C" >&6
28469 else
28470 ac_cv_header_iconv_h=$ac_header_preproc
28472 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28473 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28476 if test $ac_cv_header_iconv_h = yes; then
28477 ac_has_iconv_h=yes
28478 else
28479 ac_has_iconv_h=no
28483 if test "${ac_cv_header_langinfo_h+set}" = set; then
28484 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28485 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28486 if test "${ac_cv_header_langinfo_h+set}" = set; then
28487 echo $ECHO_N "(cached) $ECHO_C" >&6
28489 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28490 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28491 else
28492 # Is the header compilable?
28493 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28494 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28495 cat >conftest.$ac_ext <<_ACEOF
28496 /* confdefs.h. */
28497 _ACEOF
28498 cat confdefs.h >>conftest.$ac_ext
28499 cat >>conftest.$ac_ext <<_ACEOF
28500 /* end confdefs.h. */
28501 $ac_includes_default
28502 #include <langinfo.h>
28503 _ACEOF
28504 rm -f conftest.$ac_objext
28505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28506 (eval $ac_compile) 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); } &&
28513 { ac_try='test -z "$ac_c_werror_flag"
28514 || test ! -s conftest.err'
28515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28516 (eval $ac_try) 2>&5
28517 ac_status=$?
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); }; } &&
28520 { ac_try='test -s conftest.$ac_objext'
28521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28522 (eval $ac_try) 2>&5
28523 ac_status=$?
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); }; }; then
28526 ac_header_compiler=yes
28527 else
28528 echo "$as_me: failed program was:" >&5
28529 sed 's/^/| /' conftest.$ac_ext >&5
28531 ac_header_compiler=no
28533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28535 echo "${ECHO_T}$ac_header_compiler" >&6
28537 # Is the header present?
28538 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28539 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28540 cat >conftest.$ac_ext <<_ACEOF
28541 /* confdefs.h. */
28542 _ACEOF
28543 cat confdefs.h >>conftest.$ac_ext
28544 cat >>conftest.$ac_ext <<_ACEOF
28545 /* end confdefs.h. */
28546 #include <langinfo.h>
28547 _ACEOF
28548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28550 ac_status=$?
28551 grep -v '^ *+' conftest.er1 >conftest.err
28552 rm -f conftest.er1
28553 cat conftest.err >&5
28554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555 (exit $ac_status); } >/dev/null; then
28556 if test -s conftest.err; then
28557 ac_cpp_err=$ac_c_preproc_warn_flag
28558 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28559 else
28560 ac_cpp_err=
28562 else
28563 ac_cpp_err=yes
28565 if test -z "$ac_cpp_err"; then
28566 ac_header_preproc=yes
28567 else
28568 echo "$as_me: failed program was:" >&5
28569 sed 's/^/| /' conftest.$ac_ext >&5
28571 ac_header_preproc=no
28573 rm -f conftest.err conftest.$ac_ext
28574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28575 echo "${ECHO_T}$ac_header_preproc" >&6
28577 # So? What about this header?
28578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28579 yes:no: )
28580 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28581 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28582 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28583 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28584 ac_header_preproc=yes
28586 no:yes:* )
28587 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28588 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28589 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28590 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28591 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28592 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28593 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28594 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28595 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28596 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28597 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28598 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28600 cat <<\_ASBOX
28601 ## ----------------------------------------- ##
28602 ## Report this to the package-unused lists. ##
28603 ## ----------------------------------------- ##
28604 _ASBOX
28606 sed "s/^/$as_me: WARNING: /" >&2
28608 esac
28609 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28610 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28611 if test "${ac_cv_header_langinfo_h+set}" = set; then
28612 echo $ECHO_N "(cached) $ECHO_C" >&6
28613 else
28614 ac_cv_header_langinfo_h=$ac_header_preproc
28616 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28617 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28620 if test $ac_cv_header_langinfo_h = yes; then
28621 ac_has_langinfo_h=yes
28622 else
28623 ac_has_langinfo_h=no
28628 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28629 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28630 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28631 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28632 echo $ECHO_N "(cached) $ECHO_C" >&6
28633 else
28634 ac_check_lib_save_LIBS=$LIBS
28635 LIBS="-liconv $LIBS"
28636 if test x$gcc_no_link = xyes; then
28637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28639 { (exit 1); exit 1; }; }
28641 cat >conftest.$ac_ext <<_ACEOF
28642 /* confdefs.h. */
28643 _ACEOF
28644 cat confdefs.h >>conftest.$ac_ext
28645 cat >>conftest.$ac_ext <<_ACEOF
28646 /* end confdefs.h. */
28648 /* Override any gcc2 internal prototype to avoid an error. */
28649 #ifdef __cplusplus
28650 extern "C"
28651 #endif
28652 /* We use char because int might match the return type of a gcc2
28653 builtin and then its argument prototype would still apply. */
28654 char iconv ();
28656 main ()
28658 iconv ();
28660 return 0;
28662 _ACEOF
28663 rm -f conftest.$ac_objext conftest$ac_exeext
28664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28665 (eval $ac_link) 2>conftest.er1
28666 ac_status=$?
28667 grep -v '^ *+' conftest.er1 >conftest.err
28668 rm -f conftest.er1
28669 cat conftest.err >&5
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); } &&
28672 { ac_try='test -z "$ac_c_werror_flag"
28673 || test ! -s conftest.err'
28674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28675 (eval $ac_try) 2>&5
28676 ac_status=$?
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); }; } &&
28679 { ac_try='test -s conftest$ac_exeext'
28680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28681 (eval $ac_try) 2>&5
28682 ac_status=$?
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); }; }; then
28685 ac_cv_lib_iconv_iconv=yes
28686 else
28687 echo "$as_me: failed program was:" >&5
28688 sed 's/^/| /' conftest.$ac_ext >&5
28690 ac_cv_lib_iconv_iconv=no
28692 rm -f conftest.err conftest.$ac_objext \
28693 conftest$ac_exeext conftest.$ac_ext
28694 LIBS=$ac_check_lib_save_LIBS
28696 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28697 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28698 if test $ac_cv_lib_iconv_iconv = yes; then
28699 LIBICONV="-liconv"
28702 ac_save_LIBS="$LIBS"
28703 LIBS="$LIBS $LIBICONV"
28710 for ac_func in iconv_open iconv_close iconv nl_langinfo
28712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28713 echo "$as_me:$LINENO: checking for $ac_func" >&5
28714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28715 if eval "test \"\${$as_ac_var+set}\" = set"; then
28716 echo $ECHO_N "(cached) $ECHO_C" >&6
28717 else
28718 if test x$gcc_no_link = xyes; then
28719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28721 { (exit 1); exit 1; }; }
28723 cat >conftest.$ac_ext <<_ACEOF
28724 /* confdefs.h. */
28725 _ACEOF
28726 cat confdefs.h >>conftest.$ac_ext
28727 cat >>conftest.$ac_ext <<_ACEOF
28728 /* end confdefs.h. */
28729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28731 #define $ac_func innocuous_$ac_func
28733 /* System header to define __stub macros and hopefully few prototypes,
28734 which can conflict with char $ac_func (); below.
28735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28736 <limits.h> exists even on freestanding compilers. */
28738 #ifdef __STDC__
28739 # include <limits.h>
28740 #else
28741 # include <assert.h>
28742 #endif
28744 #undef $ac_func
28746 /* Override any gcc2 internal prototype to avoid an error. */
28747 #ifdef __cplusplus
28748 extern "C"
28750 #endif
28751 /* We use char because int might match the return type of a gcc2
28752 builtin and then its argument prototype would still apply. */
28753 char $ac_func ();
28754 /* The GNU C library defines this for functions which it implements
28755 to always fail with ENOSYS. Some functions are actually named
28756 something starting with __ and the normal name is an alias. */
28757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28758 choke me
28759 #else
28760 char (*f) () = $ac_func;
28761 #endif
28762 #ifdef __cplusplus
28764 #endif
28767 main ()
28769 return f != $ac_func;
28771 return 0;
28773 _ACEOF
28774 rm -f conftest.$ac_objext conftest$ac_exeext
28775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28776 (eval $ac_link) 2>conftest.er1
28777 ac_status=$?
28778 grep -v '^ *+' conftest.er1 >conftest.err
28779 rm -f conftest.er1
28780 cat conftest.err >&5
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); } &&
28783 { ac_try='test -z "$ac_c_werror_flag"
28784 || test ! -s conftest.err'
28785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28786 (eval $ac_try) 2>&5
28787 ac_status=$?
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); }; } &&
28790 { ac_try='test -s conftest$ac_exeext'
28791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28792 (eval $ac_try) 2>&5
28793 ac_status=$?
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); }; }; then
28796 eval "$as_ac_var=yes"
28797 else
28798 echo "$as_me: failed program was:" >&5
28799 sed 's/^/| /' conftest.$ac_ext >&5
28801 eval "$as_ac_var=no"
28803 rm -f conftest.err conftest.$ac_objext \
28804 conftest$ac_exeext conftest.$ac_ext
28806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28808 if test `eval echo '${'$as_ac_var'}'` = yes; then
28809 cat >>confdefs.h <<_ACEOF
28810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28811 _ACEOF
28812 ac_XPG2funcs=yes
28813 else
28814 ac_XPG2funcs=no
28816 done
28819 LIBS="$ac_save_LIBS"
28821 if test x"$ac_has_iconv_h" = xyes &&
28822 test x"$ac_has_langinfo_h" = xyes &&
28823 test x"$ac_XPG2funcs" = xyes;
28824 then
28826 cat >>confdefs.h <<\_ACEOF
28827 #define _GLIBCXX_USE_ICONV 1
28828 _ACEOF
28830 enable_iconv=yes
28833 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28834 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28835 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28836 echo "${ECHO_T}$enable_iconv" >&6
28839 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28840 ac_save_CXXFLAGS="$CXXFLAGS"
28841 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28844 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28845 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28846 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28847 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28848 echo $ECHO_N "(cached) $ECHO_C" >&6
28849 else
28853 ac_ext=cc
28854 ac_cpp='$CXXCPP $CPPFLAGS'
28855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28859 cat >conftest.$ac_ext <<_ACEOF
28860 /* confdefs.h. */
28861 _ACEOF
28862 cat confdefs.h >>conftest.$ac_ext
28863 cat >>conftest.$ac_ext <<_ACEOF
28864 /* end confdefs.h. */
28865 #include <stdlib.h>
28867 main ()
28869 strtold(0, 0);
28871 return 0;
28873 _ACEOF
28874 rm -f conftest.$ac_objext
28875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28876 (eval $ac_compile) 2>conftest.er1
28877 ac_status=$?
28878 grep -v '^ *+' conftest.er1 >conftest.err
28879 rm -f conftest.er1
28880 cat conftest.err >&5
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); } &&
28883 { ac_try='test -z "$ac_cxx_werror_flag"
28884 || test ! -s conftest.err'
28885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28886 (eval $ac_try) 2>&5
28887 ac_status=$?
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); }; } &&
28890 { ac_try='test -s conftest.$ac_objext'
28891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28892 (eval $ac_try) 2>&5
28893 ac_status=$?
28894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895 (exit $ac_status); }; }; then
28896 glibcxx_cv_func_strtold_use=yes
28897 else
28898 echo "$as_me: failed program was:" >&5
28899 sed 's/^/| /' conftest.$ac_ext >&5
28901 glibcxx_cv_func_strtold_use=no
28903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28904 ac_ext=c
28905 ac_cpp='$CPP $CPPFLAGS'
28906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28914 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28915 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28916 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28918 for ac_func in strtold
28920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28921 echo "$as_me:$LINENO: checking for $ac_func" >&5
28922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28923 if eval "test \"\${$as_ac_var+set}\" = set"; then
28924 echo $ECHO_N "(cached) $ECHO_C" >&6
28925 else
28926 if test x$gcc_no_link = xyes; then
28927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28929 { (exit 1); exit 1; }; }
28931 cat >conftest.$ac_ext <<_ACEOF
28932 /* confdefs.h. */
28933 _ACEOF
28934 cat confdefs.h >>conftest.$ac_ext
28935 cat >>conftest.$ac_ext <<_ACEOF
28936 /* end confdefs.h. */
28937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28939 #define $ac_func innocuous_$ac_func
28941 /* System header to define __stub macros and hopefully few prototypes,
28942 which can conflict with char $ac_func (); below.
28943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28944 <limits.h> exists even on freestanding compilers. */
28946 #ifdef __STDC__
28947 # include <limits.h>
28948 #else
28949 # include <assert.h>
28950 #endif
28952 #undef $ac_func
28954 /* Override any gcc2 internal prototype to avoid an error. */
28955 #ifdef __cplusplus
28956 extern "C"
28958 #endif
28959 /* We use char because int might match the return type of a gcc2
28960 builtin and then its argument prototype would still apply. */
28961 char $ac_func ();
28962 /* The GNU C library defines this for functions which it implements
28963 to always fail with ENOSYS. Some functions are actually named
28964 something starting with __ and the normal name is an alias. */
28965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28966 choke me
28967 #else
28968 char (*f) () = $ac_func;
28969 #endif
28970 #ifdef __cplusplus
28972 #endif
28975 main ()
28977 return f != $ac_func;
28979 return 0;
28981 _ACEOF
28982 rm -f conftest.$ac_objext conftest$ac_exeext
28983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28984 (eval $ac_link) 2>conftest.er1
28985 ac_status=$?
28986 grep -v '^ *+' conftest.er1 >conftest.err
28987 rm -f conftest.er1
28988 cat conftest.err >&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); } &&
28991 { ac_try='test -z "$ac_c_werror_flag"
28992 || test ! -s conftest.err'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28995 ac_status=$?
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; } &&
28998 { ac_try='test -s conftest$ac_exeext'
28999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29000 (eval $ac_try) 2>&5
29001 ac_status=$?
29002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003 (exit $ac_status); }; }; then
29004 eval "$as_ac_var=yes"
29005 else
29006 echo "$as_me: failed program was:" >&5
29007 sed 's/^/| /' conftest.$ac_ext >&5
29009 eval "$as_ac_var=no"
29011 rm -f conftest.err conftest.$ac_objext \
29012 conftest$ac_exeext conftest.$ac_ext
29014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29016 if test `eval echo '${'$as_ac_var'}'` = yes; then
29017 cat >>confdefs.h <<_ACEOF
29018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29019 _ACEOF
29022 done
29030 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29031 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29032 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29033 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29034 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 else
29039 ac_ext=cc
29040 ac_cpp='$CXXCPP $CPPFLAGS'
29041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29045 cat >conftest.$ac_ext <<_ACEOF
29046 /* confdefs.h. */
29047 _ACEOF
29048 cat confdefs.h >>conftest.$ac_ext
29049 cat >>conftest.$ac_ext <<_ACEOF
29050 /* end confdefs.h. */
29051 #include <stdlib.h>
29053 main ()
29055 strtof(0, 0);
29057 return 0;
29059 _ACEOF
29060 rm -f conftest.$ac_objext
29061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29062 (eval $ac_compile) 2>conftest.er1
29063 ac_status=$?
29064 grep -v '^ *+' conftest.er1 >conftest.err
29065 rm -f conftest.er1
29066 cat conftest.err >&5
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } &&
29069 { ac_try='test -z "$ac_cxx_werror_flag"
29070 || test ! -s conftest.err'
29071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29072 (eval $ac_try) 2>&5
29073 ac_status=$?
29074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075 (exit $ac_status); }; } &&
29076 { ac_try='test -s conftest.$ac_objext'
29077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29078 (eval $ac_try) 2>&5
29079 ac_status=$?
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); }; }; then
29082 glibcxx_cv_func_strtof_use=yes
29083 else
29084 echo "$as_me: failed program was:" >&5
29085 sed 's/^/| /' conftest.$ac_ext >&5
29087 glibcxx_cv_func_strtof_use=no
29089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29090 ac_ext=c
29091 ac_cpp='$CPP $CPPFLAGS'
29092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29100 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29101 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29102 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29104 for ac_func in strtof
29106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29107 echo "$as_me:$LINENO: checking for $ac_func" >&5
29108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29109 if eval "test \"\${$as_ac_var+set}\" = set"; then
29110 echo $ECHO_N "(cached) $ECHO_C" >&6
29111 else
29112 if test x$gcc_no_link = xyes; then
29113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29115 { (exit 1); exit 1; }; }
29117 cat >conftest.$ac_ext <<_ACEOF
29118 /* confdefs.h. */
29119 _ACEOF
29120 cat confdefs.h >>conftest.$ac_ext
29121 cat >>conftest.$ac_ext <<_ACEOF
29122 /* end confdefs.h. */
29123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29125 #define $ac_func innocuous_$ac_func
29127 /* System header to define __stub macros and hopefully few prototypes,
29128 which can conflict with char $ac_func (); below.
29129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29130 <limits.h> exists even on freestanding compilers. */
29132 #ifdef __STDC__
29133 # include <limits.h>
29134 #else
29135 # include <assert.h>
29136 #endif
29138 #undef $ac_func
29140 /* Override any gcc2 internal prototype to avoid an error. */
29141 #ifdef __cplusplus
29142 extern "C"
29144 #endif
29145 /* We use char because int might match the return type of a gcc2
29146 builtin and then its argument prototype would still apply. */
29147 char $ac_func ();
29148 /* The GNU C library defines this for functions which it implements
29149 to always fail with ENOSYS. Some functions are actually named
29150 something starting with __ and the normal name is an alias. */
29151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29152 choke me
29153 #else
29154 char (*f) () = $ac_func;
29155 #endif
29156 #ifdef __cplusplus
29158 #endif
29161 main ()
29163 return f != $ac_func;
29165 return 0;
29167 _ACEOF
29168 rm -f conftest.$ac_objext conftest$ac_exeext
29169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29170 (eval $ac_link) 2>conftest.er1
29171 ac_status=$?
29172 grep -v '^ *+' conftest.er1 >conftest.err
29173 rm -f conftest.er1
29174 cat conftest.err >&5
29175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176 (exit $ac_status); } &&
29177 { ac_try='test -z "$ac_c_werror_flag"
29178 || test ! -s conftest.err'
29179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29180 (eval $ac_try) 2>&5
29181 ac_status=$?
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); }; } &&
29184 { ac_try='test -s conftest$ac_exeext'
29185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29186 (eval $ac_try) 2>&5
29187 ac_status=$?
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); }; }; then
29190 eval "$as_ac_var=yes"
29191 else
29192 echo "$as_me: failed program was:" >&5
29193 sed 's/^/| /' conftest.$ac_ext >&5
29195 eval "$as_ac_var=no"
29197 rm -f conftest.err conftest.$ac_objext \
29198 conftest$ac_exeext conftest.$ac_ext
29200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29202 if test `eval echo '${'$as_ac_var'}'` = yes; then
29203 cat >>confdefs.h <<_ACEOF
29204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29205 _ACEOF
29208 done
29216 CXXFLAGS="$ac_save_CXXFLAGS"
29219 # For showmanyc_helper().
29222 for ac_header in sys/ioctl.h sys/filio.h
29224 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29226 echo "$as_me:$LINENO: checking for $ac_header" >&5
29227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29229 echo $ECHO_N "(cached) $ECHO_C" >&6
29231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29233 else
29234 # Is the header compilable?
29235 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29237 cat >conftest.$ac_ext <<_ACEOF
29238 /* confdefs.h. */
29239 _ACEOF
29240 cat confdefs.h >>conftest.$ac_ext
29241 cat >>conftest.$ac_ext <<_ACEOF
29242 /* end confdefs.h. */
29243 $ac_includes_default
29244 #include <$ac_header>
29245 _ACEOF
29246 rm -f conftest.$ac_objext
29247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29248 (eval $ac_compile) 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); } &&
29255 { ac_try='test -z "$ac_c_werror_flag"
29256 || test ! -s conftest.err'
29257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29258 (eval $ac_try) 2>&5
29259 ac_status=$?
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); }; } &&
29262 { ac_try='test -s conftest.$ac_objext'
29263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29264 (eval $ac_try) 2>&5
29265 ac_status=$?
29266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267 (exit $ac_status); }; }; then
29268 ac_header_compiler=yes
29269 else
29270 echo "$as_me: failed program was:" >&5
29271 sed 's/^/| /' conftest.$ac_ext >&5
29273 ac_header_compiler=no
29275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29277 echo "${ECHO_T}$ac_header_compiler" >&6
29279 # Is the header present?
29280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29282 cat >conftest.$ac_ext <<_ACEOF
29283 /* confdefs.h. */
29284 _ACEOF
29285 cat confdefs.h >>conftest.$ac_ext
29286 cat >>conftest.$ac_ext <<_ACEOF
29287 /* end confdefs.h. */
29288 #include <$ac_header>
29289 _ACEOF
29290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29292 ac_status=$?
29293 grep -v '^ *+' conftest.er1 >conftest.err
29294 rm -f conftest.er1
29295 cat conftest.err >&5
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); } >/dev/null; then
29298 if test -s conftest.err; then
29299 ac_cpp_err=$ac_c_preproc_warn_flag
29300 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29301 else
29302 ac_cpp_err=
29304 else
29305 ac_cpp_err=yes
29307 if test -z "$ac_cpp_err"; then
29308 ac_header_preproc=yes
29309 else
29310 echo "$as_me: failed program was:" >&5
29311 sed 's/^/| /' conftest.$ac_ext >&5
29313 ac_header_preproc=no
29315 rm -f conftest.err conftest.$ac_ext
29316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29317 echo "${ECHO_T}$ac_header_preproc" >&6
29319 # So? What about this header?
29320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29321 yes:no: )
29322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29326 ac_header_preproc=yes
29328 no:yes:* )
29329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29342 cat <<\_ASBOX
29343 ## ----------------------------------------- ##
29344 ## Report this to the package-unused lists. ##
29345 ## ----------------------------------------- ##
29346 _ASBOX
29348 sed "s/^/$as_me: WARNING: /" >&2
29350 esac
29351 echo "$as_me:$LINENO: checking for $ac_header" >&5
29352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29354 echo $ECHO_N "(cached) $ECHO_C" >&6
29355 else
29356 eval "$as_ac_Header=\$ac_header_preproc"
29358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29363 cat >>confdefs.h <<_ACEOF
29364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29365 _ACEOF
29369 done
29372 echo "$as_me:$LINENO: checking for poll" >&5
29373 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29374 if test "${glibcxx_cv_POLL+set}" = set; then
29375 echo $ECHO_N "(cached) $ECHO_C" >&6
29376 else
29378 if test x$gcc_no_link = xyes; then
29379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29381 { (exit 1); exit 1; }; }
29383 cat >conftest.$ac_ext <<_ACEOF
29384 /* confdefs.h. */
29385 _ACEOF
29386 cat confdefs.h >>conftest.$ac_ext
29387 cat >>conftest.$ac_ext <<_ACEOF
29388 /* end confdefs.h. */
29389 #include <poll.h>
29391 main ()
29393 struct pollfd pfd[1];
29394 pfd[0].events = POLLIN;
29395 poll(pfd, 1, 0);
29397 return 0;
29399 _ACEOF
29400 rm -f conftest.$ac_objext conftest$ac_exeext
29401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29402 (eval $ac_link) 2>conftest.er1
29403 ac_status=$?
29404 grep -v '^ *+' conftest.er1 >conftest.err
29405 rm -f conftest.er1
29406 cat conftest.err >&5
29407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29408 (exit $ac_status); } &&
29409 { ac_try='test -z "$ac_c_werror_flag"
29410 || test ! -s conftest.err'
29411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29412 (eval $ac_try) 2>&5
29413 ac_status=$?
29414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); }; } &&
29416 { ac_try='test -s conftest$ac_exeext'
29417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29418 (eval $ac_try) 2>&5
29419 ac_status=$?
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); }; }; then
29422 glibcxx_cv_POLL=yes
29423 else
29424 echo "$as_me: failed program was:" >&5
29425 sed 's/^/| /' conftest.$ac_ext >&5
29427 glibcxx_cv_POLL=no
29429 rm -f conftest.err conftest.$ac_objext \
29430 conftest$ac_exeext conftest.$ac_ext
29434 if test $glibcxx_cv_POLL = yes; then
29436 cat >>confdefs.h <<\_ACEOF
29437 #define HAVE_POLL 1
29438 _ACEOF
29441 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29442 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29445 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29446 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29447 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29448 echo $ECHO_N "(cached) $ECHO_C" >&6
29449 else
29451 if test x$gcc_no_link = xyes; then
29452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29454 { (exit 1); exit 1; }; }
29456 cat >conftest.$ac_ext <<_ACEOF
29457 /* confdefs.h. */
29458 _ACEOF
29459 cat confdefs.h >>conftest.$ac_ext
29460 cat >>conftest.$ac_ext <<_ACEOF
29461 /* end confdefs.h. */
29462 #include <sys/stat.h>
29464 main ()
29466 struct stat buffer;
29467 fstat(0, &buffer);
29468 S_ISREG(buffer.st_mode);
29470 return 0;
29472 _ACEOF
29473 rm -f conftest.$ac_objext conftest$ac_exeext
29474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29475 (eval $ac_link) 2>conftest.er1
29476 ac_status=$?
29477 grep -v '^ *+' conftest.er1 >conftest.err
29478 rm -f conftest.er1
29479 cat conftest.err >&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); } &&
29482 { ac_try='test -z "$ac_c_werror_flag"
29483 || test ! -s conftest.err'
29484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29485 (eval $ac_try) 2>&5
29486 ac_status=$?
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); }; } &&
29489 { ac_try='test -s conftest$ac_exeext'
29490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29491 (eval $ac_try) 2>&5
29492 ac_status=$?
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); }; }; then
29495 glibcxx_cv_S_ISREG=yes
29496 else
29497 echo "$as_me: failed program was:" >&5
29498 sed 's/^/| /' conftest.$ac_ext >&5
29500 glibcxx_cv_S_ISREG=no
29502 rm -f conftest.err conftest.$ac_objext \
29503 conftest$ac_exeext conftest.$ac_ext
29507 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29508 echo $ECHO_N "(cached) $ECHO_C" >&6
29509 else
29511 if test x$gcc_no_link = xyes; then
29512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29514 { (exit 1); exit 1; }; }
29516 cat >conftest.$ac_ext <<_ACEOF
29517 /* confdefs.h. */
29518 _ACEOF
29519 cat confdefs.h >>conftest.$ac_ext
29520 cat >>conftest.$ac_ext <<_ACEOF
29521 /* end confdefs.h. */
29522 #include <sys/stat.h>
29524 main ()
29526 struct stat buffer;
29527 fstat(0, &buffer);
29528 S_IFREG & buffer.st_mode;
29530 return 0;
29532 _ACEOF
29533 rm -f conftest.$ac_objext conftest$ac_exeext
29534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29535 (eval $ac_link) 2>conftest.er1
29536 ac_status=$?
29537 grep -v '^ *+' conftest.er1 >conftest.err
29538 rm -f conftest.er1
29539 cat conftest.err >&5
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); } &&
29542 { ac_try='test -z "$ac_c_werror_flag"
29543 || test ! -s conftest.err'
29544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29545 (eval $ac_try) 2>&5
29546 ac_status=$?
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); }; } &&
29549 { ac_try='test -s conftest$ac_exeext'
29550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29551 (eval $ac_try) 2>&5
29552 ac_status=$?
29553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29554 (exit $ac_status); }; }; then
29555 glibcxx_cv_S_IFREG=yes
29556 else
29557 echo "$as_me: failed program was:" >&5
29558 sed 's/^/| /' conftest.$ac_ext >&5
29560 glibcxx_cv_S_IFREG=no
29562 rm -f conftest.err conftest.$ac_objext \
29563 conftest$ac_exeext conftest.$ac_ext
29567 res=no
29568 if test $glibcxx_cv_S_ISREG = yes; then
29570 cat >>confdefs.h <<\_ACEOF
29571 #define HAVE_S_ISREG 1
29572 _ACEOF
29574 res=S_ISREG
29575 elif test $glibcxx_cv_S_IFREG = yes; then
29577 cat >>confdefs.h <<\_ACEOF
29578 #define HAVE_S_IFREG 1
29579 _ACEOF
29581 res=S_IFREG
29583 echo "$as_me:$LINENO: result: $res" >&5
29584 echo "${ECHO_T}$res" >&6
29587 # For xsputn_2().
29589 for ac_header in sys/uio.h
29591 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29593 echo "$as_me:$LINENO: checking for $ac_header" >&5
29594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29596 echo $ECHO_N "(cached) $ECHO_C" >&6
29598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29600 else
29601 # Is the header compilable?
29602 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29603 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29604 cat >conftest.$ac_ext <<_ACEOF
29605 /* confdefs.h. */
29606 _ACEOF
29607 cat confdefs.h >>conftest.$ac_ext
29608 cat >>conftest.$ac_ext <<_ACEOF
29609 /* end confdefs.h. */
29610 $ac_includes_default
29611 #include <$ac_header>
29612 _ACEOF
29613 rm -f conftest.$ac_objext
29614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29615 (eval $ac_compile) 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); } &&
29622 { ac_try='test -z "$ac_c_werror_flag"
29623 || test ! -s conftest.err'
29624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29625 (eval $ac_try) 2>&5
29626 ac_status=$?
29627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628 (exit $ac_status); }; } &&
29629 { ac_try='test -s conftest.$ac_objext'
29630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29631 (eval $ac_try) 2>&5
29632 ac_status=$?
29633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634 (exit $ac_status); }; }; then
29635 ac_header_compiler=yes
29636 else
29637 echo "$as_me: failed program was:" >&5
29638 sed 's/^/| /' conftest.$ac_ext >&5
29640 ac_header_compiler=no
29642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29643 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29644 echo "${ECHO_T}$ac_header_compiler" >&6
29646 # Is the header present?
29647 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29648 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29649 cat >conftest.$ac_ext <<_ACEOF
29650 /* confdefs.h. */
29651 _ACEOF
29652 cat confdefs.h >>conftest.$ac_ext
29653 cat >>conftest.$ac_ext <<_ACEOF
29654 /* end confdefs.h. */
29655 #include <$ac_header>
29656 _ACEOF
29657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29658 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29659 ac_status=$?
29660 grep -v '^ *+' conftest.er1 >conftest.err
29661 rm -f conftest.er1
29662 cat conftest.err >&5
29663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664 (exit $ac_status); } >/dev/null; then
29665 if test -s conftest.err; then
29666 ac_cpp_err=$ac_c_preproc_warn_flag
29667 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29668 else
29669 ac_cpp_err=
29671 else
29672 ac_cpp_err=yes
29674 if test -z "$ac_cpp_err"; then
29675 ac_header_preproc=yes
29676 else
29677 echo "$as_me: failed program was:" >&5
29678 sed 's/^/| /' conftest.$ac_ext >&5
29680 ac_header_preproc=no
29682 rm -f conftest.err conftest.$ac_ext
29683 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29684 echo "${ECHO_T}$ac_header_preproc" >&6
29686 # So? What about this header?
29687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29688 yes:no: )
29689 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29692 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29693 ac_header_preproc=yes
29695 no:yes:* )
29696 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29697 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29698 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29699 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29700 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29701 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29702 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29703 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29706 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29707 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29709 cat <<\_ASBOX
29710 ## ----------------------------------------- ##
29711 ## Report this to the package-unused lists. ##
29712 ## ----------------------------------------- ##
29713 _ASBOX
29715 sed "s/^/$as_me: WARNING: /" >&2
29717 esac
29718 echo "$as_me:$LINENO: checking for $ac_header" >&5
29719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29721 echo $ECHO_N "(cached) $ECHO_C" >&6
29722 else
29723 eval "$as_ac_Header=\$ac_header_preproc"
29725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29730 cat >>confdefs.h <<_ACEOF
29731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29732 _ACEOF
29736 done
29739 echo "$as_me:$LINENO: checking for writev" >&5
29740 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29741 if test "${glibcxx_cv_WRITEV+set}" = set; then
29742 echo $ECHO_N "(cached) $ECHO_C" >&6
29743 else
29745 if test x$gcc_no_link = xyes; then
29746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29748 { (exit 1); exit 1; }; }
29750 cat >conftest.$ac_ext <<_ACEOF
29751 /* confdefs.h. */
29752 _ACEOF
29753 cat confdefs.h >>conftest.$ac_ext
29754 cat >>conftest.$ac_ext <<_ACEOF
29755 /* end confdefs.h. */
29756 #include <sys/uio.h>
29758 main ()
29760 struct iovec iov[2];
29761 writev(0, iov, 0);
29763 return 0;
29765 _ACEOF
29766 rm -f conftest.$ac_objext conftest$ac_exeext
29767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29768 (eval $ac_link) 2>conftest.er1
29769 ac_status=$?
29770 grep -v '^ *+' conftest.er1 >conftest.err
29771 rm -f conftest.er1
29772 cat conftest.err >&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); } &&
29775 { ac_try='test -z "$ac_c_werror_flag"
29776 || test ! -s conftest.err'
29777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29778 (eval $ac_try) 2>&5
29779 ac_status=$?
29780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781 (exit $ac_status); }; } &&
29782 { ac_try='test -s conftest$ac_exeext'
29783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29784 (eval $ac_try) 2>&5
29785 ac_status=$?
29786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787 (exit $ac_status); }; }; then
29788 glibcxx_cv_WRITEV=yes
29789 else
29790 echo "$as_me: failed program was:" >&5
29791 sed 's/^/| /' conftest.$ac_ext >&5
29793 glibcxx_cv_WRITEV=no
29795 rm -f conftest.err conftest.$ac_objext \
29796 conftest$ac_exeext conftest.$ac_ext
29800 if test $glibcxx_cv_WRITEV = yes; then
29802 cat >>confdefs.h <<\_ACEOF
29803 #define HAVE_WRITEV 1
29804 _ACEOF
29807 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29808 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29811 # For the __streamoff_base_type typedef.
29813 echo "$as_me:$LINENO: checking for int64_t" >&5
29814 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29815 if test "${glibcxx_cv_INT64_T+set}" = set; then
29816 echo $ECHO_N "(cached) $ECHO_C" >&6
29817 else
29819 cat >conftest.$ac_ext <<_ACEOF
29820 /* confdefs.h. */
29821 _ACEOF
29822 cat confdefs.h >>conftest.$ac_ext
29823 cat >>conftest.$ac_ext <<_ACEOF
29824 /* end confdefs.h. */
29825 #include <stdint.h>
29827 main ()
29829 int64_t var;
29831 return 0;
29833 _ACEOF
29834 rm -f conftest.$ac_objext
29835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29836 (eval $ac_compile) 2>conftest.er1
29837 ac_status=$?
29838 grep -v '^ *+' conftest.er1 >conftest.err
29839 rm -f conftest.er1
29840 cat conftest.err >&5
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); } &&
29843 { ac_try='test -z "$ac_c_werror_flag"
29844 || test ! -s conftest.err'
29845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846 (eval $ac_try) 2>&5
29847 ac_status=$?
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); }; } &&
29850 { ac_try='test -s conftest.$ac_objext'
29851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29852 (eval $ac_try) 2>&5
29853 ac_status=$?
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); }; }; then
29856 glibcxx_cv_INT64_T=yes
29857 else
29858 echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.$ac_ext >&5
29861 glibcxx_cv_INT64_T=no
29863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29867 if test $glibcxx_cv_INT64_T = yes; then
29869 cat >>confdefs.h <<\_ACEOF
29870 #define HAVE_INT64_T 1
29871 _ACEOF
29874 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29875 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29878 # For LFS support.
29882 ac_ext=cc
29883 ac_cpp='$CXXCPP $CPPFLAGS'
29884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29888 ac_save_CXXFLAGS="$CXXFLAGS"
29889 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29890 echo "$as_me:$LINENO: checking for LFS support" >&5
29891 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29892 if test "${glibcxx_cv_LFS+set}" = set; then
29893 echo $ECHO_N "(cached) $ECHO_C" >&6
29894 else
29896 if test x$gcc_no_link = xyes; then
29897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29899 { (exit 1); exit 1; }; }
29901 cat >conftest.$ac_ext <<_ACEOF
29902 /* confdefs.h. */
29903 _ACEOF
29904 cat confdefs.h >>conftest.$ac_ext
29905 cat >>conftest.$ac_ext <<_ACEOF
29906 /* end confdefs.h. */
29907 #include <unistd.h>
29908 #include <stdio.h>
29909 #include <sys/stat.h>
29912 main ()
29914 FILE* fp;
29915 fopen64("t", "w");
29916 fseeko64(fp, 0, SEEK_CUR);
29917 ftello64(fp);
29918 lseek64(1, 0, SEEK_CUR);
29919 struct stat64 buf;
29920 fstat64(1, &buf);
29922 return 0;
29924 _ACEOF
29925 rm -f conftest.$ac_objext conftest$ac_exeext
29926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29927 (eval $ac_link) 2>conftest.er1
29928 ac_status=$?
29929 grep -v '^ *+' conftest.er1 >conftest.err
29930 rm -f conftest.er1
29931 cat conftest.err >&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); } &&
29934 { ac_try='test -z "$ac_cxx_werror_flag"
29935 || test ! -s conftest.err'
29936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29937 (eval $ac_try) 2>&5
29938 ac_status=$?
29939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29940 (exit $ac_status); }; } &&
29941 { ac_try='test -s conftest$ac_exeext'
29942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29943 (eval $ac_try) 2>&5
29944 ac_status=$?
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); }; }; then
29947 glibcxx_cv_LFS=yes
29948 else
29949 echo "$as_me: failed program was:" >&5
29950 sed 's/^/| /' conftest.$ac_ext >&5
29952 glibcxx_cv_LFS=no
29954 rm -f conftest.err conftest.$ac_objext \
29955 conftest$ac_exeext conftest.$ac_ext
29959 if test $glibcxx_cv_LFS = yes; then
29961 cat >>confdefs.h <<\_ACEOF
29962 #define _GLIBCXX_USE_LFS 1
29963 _ACEOF
29966 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29967 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29968 CXXFLAGS="$ac_save_CXXFLAGS"
29969 ac_ext=c
29970 ac_cpp='$CPP $CPPFLAGS'
29971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29977 # For C99 support to TR1.
29982 ac_ext=cc
29983 ac_cpp='$CXXCPP $CPPFLAGS'
29984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29989 # Check for the existence of <complex.h> complex math functions used
29990 # by tr1/complex.
29992 for ac_header in complex.h
29994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29996 echo "$as_me:$LINENO: checking for $ac_header" >&5
29997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29999 echo $ECHO_N "(cached) $ECHO_C" >&6
30001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30003 else
30004 # Is the header compilable?
30005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30007 cat >conftest.$ac_ext <<_ACEOF
30008 /* confdefs.h. */
30009 _ACEOF
30010 cat confdefs.h >>conftest.$ac_ext
30011 cat >>conftest.$ac_ext <<_ACEOF
30012 /* end confdefs.h. */
30013 $ac_includes_default
30014 #include <$ac_header>
30015 _ACEOF
30016 rm -f conftest.$ac_objext
30017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30018 (eval $ac_compile) 2>conftest.er1
30019 ac_status=$?
30020 grep -v '^ *+' conftest.er1 >conftest.err
30021 rm -f conftest.er1
30022 cat conftest.err >&5
30023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024 (exit $ac_status); } &&
30025 { ac_try='test -z "$ac_cxx_werror_flag"
30026 || test ! -s conftest.err'
30027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30028 (eval $ac_try) 2>&5
30029 ac_status=$?
30030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031 (exit $ac_status); }; } &&
30032 { ac_try='test -s conftest.$ac_objext'
30033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30034 (eval $ac_try) 2>&5
30035 ac_status=$?
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); }; }; then
30038 ac_header_compiler=yes
30039 else
30040 echo "$as_me: failed program was:" >&5
30041 sed 's/^/| /' conftest.$ac_ext >&5
30043 ac_header_compiler=no
30045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30047 echo "${ECHO_T}$ac_header_compiler" >&6
30049 # Is the header present?
30050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30052 cat >conftest.$ac_ext <<_ACEOF
30053 /* confdefs.h. */
30054 _ACEOF
30055 cat confdefs.h >>conftest.$ac_ext
30056 cat >>conftest.$ac_ext <<_ACEOF
30057 /* end confdefs.h. */
30058 #include <$ac_header>
30059 _ACEOF
30060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30062 ac_status=$?
30063 grep -v '^ *+' conftest.er1 >conftest.err
30064 rm -f conftest.er1
30065 cat conftest.err >&5
30066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067 (exit $ac_status); } >/dev/null; then
30068 if test -s conftest.err; then
30069 ac_cpp_err=$ac_cxx_preproc_warn_flag
30070 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30071 else
30072 ac_cpp_err=
30074 else
30075 ac_cpp_err=yes
30077 if test -z "$ac_cpp_err"; then
30078 ac_header_preproc=yes
30079 else
30080 echo "$as_me: failed program was:" >&5
30081 sed 's/^/| /' conftest.$ac_ext >&5
30083 ac_header_preproc=no
30085 rm -f conftest.err conftest.$ac_ext
30086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30087 echo "${ECHO_T}$ac_header_preproc" >&6
30089 # So? What about this header?
30090 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30091 yes:no: )
30092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30095 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30096 ac_header_preproc=yes
30098 no:yes:* )
30099 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30101 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30102 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30103 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30104 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30105 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30106 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30109 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30110 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30112 cat <<\_ASBOX
30113 ## ----------------------------------------- ##
30114 ## Report this to the package-unused lists. ##
30115 ## ----------------------------------------- ##
30116 _ASBOX
30118 sed "s/^/$as_me: WARNING: /" >&2
30120 esac
30121 echo "$as_me:$LINENO: checking for $ac_header" >&5
30122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30124 echo $ECHO_N "(cached) $ECHO_C" >&6
30125 else
30126 eval "$as_ac_Header=\$ac_header_preproc"
30128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30133 cat >>confdefs.h <<_ACEOF
30134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30135 _ACEOF
30136 ac_has_complex_h=yes
30137 else
30138 ac_has_complex_h=no
30141 done
30143 ac_c99_complex_tr1=no;
30144 if test x"$ac_has_complex_h" = x"yes"; then
30145 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30146 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30147 cat >conftest.$ac_ext <<_ACEOF
30148 /* confdefs.h. */
30149 _ACEOF
30150 cat confdefs.h >>conftest.$ac_ext
30151 cat >>conftest.$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 #include <complex.h>
30155 main ()
30157 typedef __complex__ float float_type; float_type tmpf;
30158 cacosf(tmpf);
30159 casinf(tmpf);
30160 catanf(tmpf);
30161 cacoshf(tmpf);
30162 casinhf(tmpf);
30163 catanhf(tmpf);
30164 typedef __complex__ double double_type; double_type tmpd;
30165 cacos(tmpd);
30166 casin(tmpd);
30167 catan(tmpd);
30168 cacosh(tmpd);
30169 casinh(tmpd);
30170 catanh(tmpd);
30171 typedef __complex__ long double ld_type; ld_type tmpld;
30172 cacosl(tmpld);
30173 casinl(tmpld);
30174 catanl(tmpld);
30175 cacoshl(tmpld);
30176 casinhl(tmpld);
30177 catanhl(tmpld);
30180 return 0;
30182 _ACEOF
30183 rm -f conftest.$ac_objext
30184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30185 (eval $ac_compile) 2>conftest.er1
30186 ac_status=$?
30187 grep -v '^ *+' conftest.er1 >conftest.err
30188 rm -f conftest.er1
30189 cat conftest.err >&5
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); } &&
30192 { ac_try='test -z "$ac_cxx_werror_flag"
30193 || test ! -s conftest.err'
30194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195 (eval $ac_try) 2>&5
30196 ac_status=$?
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); }; } &&
30199 { ac_try='test -s conftest.$ac_objext'
30200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30201 (eval $ac_try) 2>&5
30202 ac_status=$?
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); }; }; then
30205 ac_c99_complex_tr1=yes
30206 else
30207 echo "$as_me: failed program was:" >&5
30208 sed 's/^/| /' conftest.$ac_ext >&5
30210 ac_c99_complex_tr1=no
30212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30214 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30215 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30216 if test x"$ac_c99_complex_tr1" = x"yes"; then
30218 cat >>confdefs.h <<\_ACEOF
30219 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30220 _ACEOF
30224 # Check for the existence of <ctype.h> functions.
30225 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30226 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30227 if test "${ac_c99_ctype_tr1+set}" = set; then
30228 echo $ECHO_N "(cached) $ECHO_C" >&6
30229 else
30231 cat >conftest.$ac_ext <<_ACEOF
30232 /* confdefs.h. */
30233 _ACEOF
30234 cat confdefs.h >>conftest.$ac_ext
30235 cat >>conftest.$ac_ext <<_ACEOF
30236 /* end confdefs.h. */
30237 #include <ctype.h>
30239 main ()
30241 int ch;
30242 int ret;
30243 ret = isblank(ch);
30246 return 0;
30248 _ACEOF
30249 rm -f conftest.$ac_objext
30250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30251 (eval $ac_compile) 2>conftest.er1
30252 ac_status=$?
30253 grep -v '^ *+' conftest.er1 >conftest.err
30254 rm -f conftest.er1
30255 cat conftest.err >&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); } &&
30258 { ac_try='test -z "$ac_cxx_werror_flag"
30259 || test ! -s conftest.err'
30260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30261 (eval $ac_try) 2>&5
30262 ac_status=$?
30263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264 (exit $ac_status); }; } &&
30265 { ac_try='test -s conftest.$ac_objext'
30266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30267 (eval $ac_try) 2>&5
30268 ac_status=$?
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); }; }; then
30271 ac_c99_ctype_tr1=yes
30272 else
30273 echo "$as_me: failed program was:" >&5
30274 sed 's/^/| /' conftest.$ac_ext >&5
30276 ac_c99_ctype_tr1=no
30278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30282 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30283 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30284 if test x"$ac_c99_ctype_tr1" = x"yes"; then
30286 cat >>confdefs.h <<\_ACEOF
30287 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30288 _ACEOF
30292 # Check for the existence of <fenv.h> functions.
30294 for ac_header in fenv.h
30296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30298 echo "$as_me:$LINENO: checking for $ac_header" >&5
30299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30301 echo $ECHO_N "(cached) $ECHO_C" >&6
30303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30305 else
30306 # Is the header compilable?
30307 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30308 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30309 cat >conftest.$ac_ext <<_ACEOF
30310 /* confdefs.h. */
30311 _ACEOF
30312 cat confdefs.h >>conftest.$ac_ext
30313 cat >>conftest.$ac_ext <<_ACEOF
30314 /* end confdefs.h. */
30315 $ac_includes_default
30316 #include <$ac_header>
30317 _ACEOF
30318 rm -f conftest.$ac_objext
30319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30320 (eval $ac_compile) 2>conftest.er1
30321 ac_status=$?
30322 grep -v '^ *+' conftest.er1 >conftest.err
30323 rm -f conftest.er1
30324 cat conftest.err >&5
30325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326 (exit $ac_status); } &&
30327 { ac_try='test -z "$ac_cxx_werror_flag"
30328 || test ! -s conftest.err'
30329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30330 (eval $ac_try) 2>&5
30331 ac_status=$?
30332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30333 (exit $ac_status); }; } &&
30334 { ac_try='test -s conftest.$ac_objext'
30335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30336 (eval $ac_try) 2>&5
30337 ac_status=$?
30338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30339 (exit $ac_status); }; }; then
30340 ac_header_compiler=yes
30341 else
30342 echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.$ac_ext >&5
30345 ac_header_compiler=no
30347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30349 echo "${ECHO_T}$ac_header_compiler" >&6
30351 # Is the header present?
30352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30354 cat >conftest.$ac_ext <<_ACEOF
30355 /* confdefs.h. */
30356 _ACEOF
30357 cat confdefs.h >>conftest.$ac_ext
30358 cat >>conftest.$ac_ext <<_ACEOF
30359 /* end confdefs.h. */
30360 #include <$ac_header>
30361 _ACEOF
30362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30363 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30364 ac_status=$?
30365 grep -v '^ *+' conftest.er1 >conftest.err
30366 rm -f conftest.er1
30367 cat conftest.err >&5
30368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369 (exit $ac_status); } >/dev/null; then
30370 if test -s conftest.err; then
30371 ac_cpp_err=$ac_cxx_preproc_warn_flag
30372 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30373 else
30374 ac_cpp_err=
30376 else
30377 ac_cpp_err=yes
30379 if test -z "$ac_cpp_err"; then
30380 ac_header_preproc=yes
30381 else
30382 echo "$as_me: failed program was:" >&5
30383 sed 's/^/| /' conftest.$ac_ext >&5
30385 ac_header_preproc=no
30387 rm -f conftest.err conftest.$ac_ext
30388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30389 echo "${ECHO_T}$ac_header_preproc" >&6
30391 # So? What about this header?
30392 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30393 yes:no: )
30394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30397 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30398 ac_header_preproc=yes
30400 no:yes:* )
30401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30405 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30407 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30408 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30411 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30414 cat <<\_ASBOX
30415 ## ----------------------------------------- ##
30416 ## Report this to the package-unused lists. ##
30417 ## ----------------------------------------- ##
30418 _ASBOX
30420 sed "s/^/$as_me: WARNING: /" >&2
30422 esac
30423 echo "$as_me:$LINENO: checking for $ac_header" >&5
30424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30426 echo $ECHO_N "(cached) $ECHO_C" >&6
30427 else
30428 eval "$as_ac_Header=\$ac_header_preproc"
30430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30435 cat >>confdefs.h <<_ACEOF
30436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30437 _ACEOF
30438 ac_has_fenv_h=yes
30439 else
30440 ac_has_fenv_h=no
30443 done
30445 ac_c99_fenv_tr1=no;
30446 if test x"$ac_has_fenv_h" = x"yes"; then
30447 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30448 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30449 cat >conftest.$ac_ext <<_ACEOF
30450 /* confdefs.h. */
30451 _ACEOF
30452 cat confdefs.h >>conftest.$ac_ext
30453 cat >>conftest.$ac_ext <<_ACEOF
30454 /* end confdefs.h. */
30455 #include <fenv.h>
30457 main ()
30459 int except, mode;
30460 fexcept_t* pflag;
30461 fenv_t* penv;
30462 int ret;
30463 ret = feclearexcept(except);
30464 ret = fegetexceptflag(pflag, except);
30465 ret = feraiseexcept(except);
30466 ret = fesetexceptflag(pflag, except);
30467 ret = fetestexcept(except);
30468 ret = fegetround();
30469 ret = fesetround(mode);
30470 ret = fegetenv(penv);
30471 ret = feholdexcept(penv);
30472 ret = fesetenv(penv);
30473 ret = feupdateenv(penv);
30476 return 0;
30478 _ACEOF
30479 rm -f conftest.$ac_objext
30480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30481 (eval $ac_compile) 2>conftest.er1
30482 ac_status=$?
30483 grep -v '^ *+' conftest.er1 >conftest.err
30484 rm -f conftest.er1
30485 cat conftest.err >&5
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); } &&
30488 { ac_try='test -z "$ac_cxx_werror_flag"
30489 || test ! -s conftest.err'
30490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30491 (eval $ac_try) 2>&5
30492 ac_status=$?
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); }; } &&
30495 { ac_try='test -s conftest.$ac_objext'
30496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30497 (eval $ac_try) 2>&5
30498 ac_status=$?
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); }; }; then
30501 ac_c99_fenv_tr1=yes
30502 else
30503 echo "$as_me: failed program was:" >&5
30504 sed 's/^/| /' conftest.$ac_ext >&5
30506 ac_c99_fenv_tr1=no
30508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30510 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30511 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30512 if test x"$ac_c99_fenv_tr1" = x"yes"; then
30514 cat >>confdefs.h <<\_ACEOF
30515 #define _GLIBCXX_USE_C99_FENV_TR1 1
30516 _ACEOF
30520 # Check for the existence of <stdint.h> types.
30521 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30522 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30523 if test "${ac_c99_stdint_tr1+set}" = set; then
30524 echo $ECHO_N "(cached) $ECHO_C" >&6
30525 else
30527 cat >conftest.$ac_ext <<_ACEOF
30528 /* confdefs.h. */
30529 _ACEOF
30530 cat confdefs.h >>conftest.$ac_ext
30531 cat >>conftest.$ac_ext <<_ACEOF
30532 /* end confdefs.h. */
30533 #include <stdint.h>
30535 main ()
30537 typedef int8_t my_int8_t;
30538 typedef int16_t my_int16_t;
30539 typedef int32_t my_int32_t;
30540 typedef int64_t my_int64_t;
30541 typedef int_fast8_t my_int_fast8_t;
30542 typedef int_fast16_t my_int_fast16_t;
30543 typedef int_fast32_t my_int_fast32_t;
30544 typedef int_fast64_t my_int_fast64_t;
30545 typedef int_least8_t my_int_least8_t;
30546 typedef int_least16_t my_int_least16_t;
30547 typedef int_least32_t my_int_least32_t;
30548 typedef int_least64_t my_int_least64_t;
30549 typedef intmax_t my_intmax_t;
30550 typedef intptr_t my_intptr_t;
30551 typedef uint8_t my_uint8_t;
30552 typedef uint16_t my_uint16_t;
30553 typedef uint32_t my_uint32_t;
30554 typedef uint64_t my_uint64_t;
30555 typedef uint_fast8_t my_uint_fast8_t;
30556 typedef uint_fast16_t my_uint_fast16_t;
30557 typedef uint_fast32_t my_uint_fast32_t;
30558 typedef uint_fast64_t my_uint_fast64_t;
30559 typedef uint_least8_t my_uint_least8_t;
30560 typedef uint_least16_t my_uint_least16_t;
30561 typedef uint_least32_t my_uint_least32_t;
30562 typedef uint_least64_t my_uint_least64_t;
30563 typedef uintmax_t my_uintmax_t;
30564 typedef uintptr_t my_uintptr_t;
30567 return 0;
30569 _ACEOF
30570 rm -f conftest.$ac_objext
30571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30572 (eval $ac_compile) 2>conftest.er1
30573 ac_status=$?
30574 grep -v '^ *+' conftest.er1 >conftest.err
30575 rm -f conftest.er1
30576 cat conftest.err >&5
30577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578 (exit $ac_status); } &&
30579 { ac_try='test -z "$ac_cxx_werror_flag"
30580 || test ! -s conftest.err'
30581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30582 (eval $ac_try) 2>&5
30583 ac_status=$?
30584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30585 (exit $ac_status); }; } &&
30586 { ac_try='test -s conftest.$ac_objext'
30587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30588 (eval $ac_try) 2>&5
30589 ac_status=$?
30590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30591 (exit $ac_status); }; }; then
30592 ac_c99_stdint_tr1=yes
30593 else
30594 echo "$as_me: failed program was:" >&5
30595 sed 's/^/| /' conftest.$ac_ext >&5
30597 ac_c99_stdint_tr1=no
30599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30603 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30604 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30605 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30607 cat >>confdefs.h <<\_ACEOF
30608 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30609 _ACEOF
30613 # Check for the existence of <inttypes.h> functions (NB: doesn't make
30614 # sense if the previous check fails, per C99, 7.8/1).
30615 ac_c99_inttypes_tr1=no;
30616 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30617 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30618 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30619 cat >conftest.$ac_ext <<_ACEOF
30620 /* confdefs.h. */
30621 _ACEOF
30622 cat confdefs.h >>conftest.$ac_ext
30623 cat >>conftest.$ac_ext <<_ACEOF
30624 /* end confdefs.h. */
30625 #include <inttypes.h>
30627 main ()
30629 intmax_t i, numer, denom, base;
30630 const char* s;
30631 char** endptr;
30632 intmax_t ret = imaxabs(i);
30633 imaxdiv_t dret = imaxdiv(numer, denom);
30634 ret = strtoimax(s, endptr, base);
30635 uintmax_t uret = strtoumax(s, endptr, base);
30638 return 0;
30640 _ACEOF
30641 rm -f conftest.$ac_objext
30642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30643 (eval $ac_compile) 2>conftest.er1
30644 ac_status=$?
30645 grep -v '^ *+' conftest.er1 >conftest.err
30646 rm -f conftest.er1
30647 cat conftest.err >&5
30648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30649 (exit $ac_status); } &&
30650 { ac_try='test -z "$ac_cxx_werror_flag"
30651 || test ! -s conftest.err'
30652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30653 (eval $ac_try) 2>&5
30654 ac_status=$?
30655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656 (exit $ac_status); }; } &&
30657 { ac_try='test -s conftest.$ac_objext'
30658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30659 (eval $ac_try) 2>&5
30660 ac_status=$?
30661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662 (exit $ac_status); }; }; then
30663 ac_c99_inttypes_tr1=yes
30664 else
30665 echo "$as_me: failed program was:" >&5
30666 sed 's/^/| /' conftest.$ac_ext >&5
30668 ac_c99_inttypes_tr1=no
30670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30672 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
30673 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
30674 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
30676 cat >>confdefs.h <<\_ACEOF
30677 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
30678 _ACEOF
30682 ac_ext=c
30683 ac_cpp='$CPP $CPPFLAGS'
30684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30690 # For TLS support.
30692 # Check whether --enable-tls or --disable-tls was given.
30693 if test "${enable_tls+set}" = set; then
30694 enableval="$enable_tls"
30696 case "$enableval" in
30697 yes|no) ;;
30698 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
30699 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
30700 { (exit 1); exit 1; }; } ;;
30701 esac
30703 else
30704 enable_tls=yes
30707 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
30708 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
30709 if test "${have_tls+set}" = set; then
30710 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 else
30713 if test "$cross_compiling" = yes; then
30714 cat >conftest.$ac_ext <<_ACEOF
30715 __thread int foo;
30716 _ACEOF
30717 rm -f conftest.$ac_objext
30718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30719 (eval $ac_compile) 2>conftest.er1
30720 ac_status=$?
30721 grep -v '^ *+' conftest.er1 >conftest.err
30722 rm -f conftest.er1
30723 cat conftest.err >&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); } &&
30726 { ac_try='test -z "$ac_c_werror_flag"
30727 || test ! -s conftest.err'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30730 ac_status=$?
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; } &&
30733 { ac_try='test -s conftest.$ac_objext'
30734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30735 (eval $ac_try) 2>&5
30736 ac_status=$?
30737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30738 (exit $ac_status); }; }; then
30739 have_tls=yes
30740 else
30741 echo "$as_me: failed program was:" >&5
30742 sed 's/^/| /' conftest.$ac_ext >&5
30744 have_tls=no
30746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30748 else
30749 cat >conftest.$ac_ext <<_ACEOF
30750 __thread int a; int b; int main() { return a = b; }
30751 _ACEOF
30752 rm -f conftest$ac_exeext
30753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30754 (eval $ac_link) 2>&5
30755 ac_status=$?
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30759 (eval $ac_try) 2>&5
30760 ac_status=$?
30761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762 (exit $ac_status); }; }; then
30763 save_LDFLAGS="$LDFLAGS"
30764 LDFLAGS="-static $LDFLAGS"
30765 if test "$cross_compiling" = yes; then
30766 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30767 See \`config.log' for more details." >&5
30768 echo "$as_me: error: cannot run test program while cross compiling
30769 See \`config.log' for more details." >&2;}
30770 { (exit 1); exit 1; }; }
30771 else
30772 cat >conftest.$ac_ext <<_ACEOF
30773 __thread int a; int b; int main() { return a = b; }
30774 _ACEOF
30775 rm -f conftest$ac_exeext
30776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30777 (eval $ac_link) 2>&5
30778 ac_status=$?
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30782 (eval $ac_try) 2>&5
30783 ac_status=$?
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); }; }; then
30786 have_tls=yes
30787 else
30788 echo "$as_me: program exited with status $ac_status" >&5
30789 echo "$as_me: failed program was:" >&5
30790 sed 's/^/| /' conftest.$ac_ext >&5
30792 ( exit $ac_status )
30793 have_tls=no
30795 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30797 LDFLAGS="$save_LDFLAGS"
30798 else
30799 echo "$as_me: program exited with status $ac_status" >&5
30800 echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.$ac_ext >&5
30803 ( exit $ac_status )
30804 have_tls=no
30806 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30809 echo "$as_me:$LINENO: result: $have_tls" >&5
30810 echo "${ECHO_T}$have_tls" >&6
30811 if test "$enable_tls $have_tls" = "yes yes"; then
30813 cat >>confdefs.h <<\_ACEOF
30814 #define HAVE_TLS 1
30815 _ACEOF
30820 if test "${ac_cv_header_locale_h+set}" = set; then
30821 echo "$as_me:$LINENO: checking for locale.h" >&5
30822 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30823 if test "${ac_cv_header_locale_h+set}" = set; then
30824 echo $ECHO_N "(cached) $ECHO_C" >&6
30826 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30827 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30828 else
30829 # Is the header compilable?
30830 echo "$as_me:$LINENO: checking locale.h usability" >&5
30831 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30832 cat >conftest.$ac_ext <<_ACEOF
30833 /* confdefs.h. */
30834 _ACEOF
30835 cat confdefs.h >>conftest.$ac_ext
30836 cat >>conftest.$ac_ext <<_ACEOF
30837 /* end confdefs.h. */
30838 $ac_includes_default
30839 #include <locale.h>
30840 _ACEOF
30841 rm -f conftest.$ac_objext
30842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30843 (eval $ac_compile) 2>conftest.er1
30844 ac_status=$?
30845 grep -v '^ *+' conftest.er1 >conftest.err
30846 rm -f conftest.er1
30847 cat conftest.err >&5
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); } &&
30850 { ac_try='test -z "$ac_c_werror_flag"
30851 || test ! -s conftest.err'
30852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30853 (eval $ac_try) 2>&5
30854 ac_status=$?
30855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30856 (exit $ac_status); }; } &&
30857 { ac_try='test -s conftest.$ac_objext'
30858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30859 (eval $ac_try) 2>&5
30860 ac_status=$?
30861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30862 (exit $ac_status); }; }; then
30863 ac_header_compiler=yes
30864 else
30865 echo "$as_me: failed program was:" >&5
30866 sed 's/^/| /' conftest.$ac_ext >&5
30868 ac_header_compiler=no
30870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30871 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30872 echo "${ECHO_T}$ac_header_compiler" >&6
30874 # Is the header present?
30875 echo "$as_me:$LINENO: checking locale.h presence" >&5
30876 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30877 cat >conftest.$ac_ext <<_ACEOF
30878 /* confdefs.h. */
30879 _ACEOF
30880 cat confdefs.h >>conftest.$ac_ext
30881 cat >>conftest.$ac_ext <<_ACEOF
30882 /* end confdefs.h. */
30883 #include <locale.h>
30884 _ACEOF
30885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30886 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30887 ac_status=$?
30888 grep -v '^ *+' conftest.er1 >conftest.err
30889 rm -f conftest.er1
30890 cat conftest.err >&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } >/dev/null; then
30893 if test -s conftest.err; then
30894 ac_cpp_err=$ac_c_preproc_warn_flag
30895 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30896 else
30897 ac_cpp_err=
30899 else
30900 ac_cpp_err=yes
30902 if test -z "$ac_cpp_err"; then
30903 ac_header_preproc=yes
30904 else
30905 echo "$as_me: failed program was:" >&5
30906 sed 's/^/| /' conftest.$ac_ext >&5
30908 ac_header_preproc=no
30910 rm -f conftest.err conftest.$ac_ext
30911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30912 echo "${ECHO_T}$ac_header_preproc" >&6
30914 # So? What about this header?
30915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30916 yes:no: )
30917 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30918 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30919 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30920 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30921 ac_header_preproc=yes
30923 no:yes:* )
30924 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30925 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30926 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30927 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30928 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30929 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30930 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30931 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30932 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30933 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30934 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30935 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30937 cat <<\_ASBOX
30938 ## ----------------------------------------- ##
30939 ## Report this to the package-unused lists. ##
30940 ## ----------------------------------------- ##
30941 _ASBOX
30943 sed "s/^/$as_me: WARNING: /" >&2
30945 esac
30946 echo "$as_me:$LINENO: checking for locale.h" >&5
30947 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30948 if test "${ac_cv_header_locale_h+set}" = set; then
30949 echo $ECHO_N "(cached) $ECHO_C" >&6
30950 else
30951 ac_cv_header_locale_h=$ac_header_preproc
30953 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30954 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30957 if test $ac_cv_header_locale_h = yes; then
30959 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30960 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30961 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30962 echo $ECHO_N "(cached) $ECHO_C" >&6
30963 else
30964 if test x$gcc_no_link = xyes; then
30965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30967 { (exit 1); exit 1; }; }
30969 cat >conftest.$ac_ext <<_ACEOF
30970 /* confdefs.h. */
30971 _ACEOF
30972 cat confdefs.h >>conftest.$ac_ext
30973 cat >>conftest.$ac_ext <<_ACEOF
30974 /* end confdefs.h. */
30975 #include <locale.h>
30977 main ()
30979 return LC_MESSAGES
30981 return 0;
30983 _ACEOF
30984 rm -f conftest.$ac_objext conftest$ac_exeext
30985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30986 (eval $ac_link) 2>conftest.er1
30987 ac_status=$?
30988 grep -v '^ *+' conftest.er1 >conftest.err
30989 rm -f conftest.er1
30990 cat conftest.err >&5
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); } &&
30993 { ac_try='test -z "$ac_c_werror_flag"
30994 || test ! -s conftest.err'
30995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30996 (eval $ac_try) 2>&5
30997 ac_status=$?
30998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999 (exit $ac_status); }; } &&
31000 { ac_try='test -s conftest$ac_exeext'
31001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31002 (eval $ac_try) 2>&5
31003 ac_status=$?
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); }; }; then
31006 ac_cv_val_LC_MESSAGES=yes
31007 else
31008 echo "$as_me: failed program was:" >&5
31009 sed 's/^/| /' conftest.$ac_ext >&5
31011 ac_cv_val_LC_MESSAGES=no
31013 rm -f conftest.err conftest.$ac_objext \
31014 conftest$ac_exeext conftest.$ac_ext
31016 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31017 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31018 if test $ac_cv_val_LC_MESSAGES = yes; then
31020 cat >>confdefs.h <<\_ACEOF
31021 #define HAVE_LC_MESSAGES 1
31022 _ACEOF
31031 cat >conftest.$ac_ext <<_ACEOF
31032 /* confdefs.h. */
31033 _ACEOF
31034 cat confdefs.h >>conftest.$ac_ext
31035 cat >>conftest.$ac_ext <<_ACEOF
31036 /* end confdefs.h. */
31037 #include <setjmp.h>
31039 main ()
31041 sigjmp_buf env;
31042 while (! sigsetjmp (env, 1))
31043 siglongjmp (env, 1);
31046 return 0;
31048 _ACEOF
31049 rm -f conftest.$ac_objext
31050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31051 (eval $ac_compile) 2>conftest.er1
31052 ac_status=$?
31053 grep -v '^ *+' conftest.er1 >conftest.err
31054 rm -f conftest.er1
31055 cat conftest.err >&5
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); } &&
31058 { ac_try='test -z "$ac_c_werror_flag"
31059 || test ! -s conftest.err'
31060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31061 (eval $ac_try) 2>&5
31062 ac_status=$?
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); }; } &&
31065 { ac_try='test -s conftest.$ac_objext'
31066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31067 (eval $ac_try) 2>&5
31068 ac_status=$?
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); }; }; then
31072 cat >>confdefs.h <<\_ACEOF
31073 #define HAVE_SIGSETJMP 1
31074 _ACEOF
31076 else
31077 echo "$as_me: failed program was:" >&5
31078 sed 's/^/| /' conftest.$ac_ext >&5
31081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31083 if test x$gcc_no_link = xyes; then
31084 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31085 ac_cv_func_mmap_fixed_mapped=no
31088 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31091 for ac_header in stdlib.h unistd.h
31093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31095 echo "$as_me:$LINENO: checking for $ac_header" >&5
31096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31098 echo $ECHO_N "(cached) $ECHO_C" >&6
31100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31102 else
31103 # Is the header compilable?
31104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31106 cat >conftest.$ac_ext <<_ACEOF
31107 /* confdefs.h. */
31108 _ACEOF
31109 cat confdefs.h >>conftest.$ac_ext
31110 cat >>conftest.$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31112 $ac_includes_default
31113 #include <$ac_header>
31114 _ACEOF
31115 rm -f conftest.$ac_objext
31116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31117 (eval $ac_compile) 2>conftest.er1
31118 ac_status=$?
31119 grep -v '^ *+' conftest.er1 >conftest.err
31120 rm -f conftest.er1
31121 cat conftest.err >&5
31122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31123 (exit $ac_status); } &&
31124 { ac_try='test -z "$ac_c_werror_flag"
31125 || test ! -s conftest.err'
31126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31127 (eval $ac_try) 2>&5
31128 ac_status=$?
31129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31130 (exit $ac_status); }; } &&
31131 { ac_try='test -s conftest.$ac_objext'
31132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31133 (eval $ac_try) 2>&5
31134 ac_status=$?
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); }; }; then
31137 ac_header_compiler=yes
31138 else
31139 echo "$as_me: failed program was:" >&5
31140 sed 's/^/| /' conftest.$ac_ext >&5
31142 ac_header_compiler=no
31144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31146 echo "${ECHO_T}$ac_header_compiler" >&6
31148 # Is the header present?
31149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31151 cat >conftest.$ac_ext <<_ACEOF
31152 /* confdefs.h. */
31153 _ACEOF
31154 cat confdefs.h >>conftest.$ac_ext
31155 cat >>conftest.$ac_ext <<_ACEOF
31156 /* end confdefs.h. */
31157 #include <$ac_header>
31158 _ACEOF
31159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31160 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31161 ac_status=$?
31162 grep -v '^ *+' conftest.er1 >conftest.err
31163 rm -f conftest.er1
31164 cat conftest.err >&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } >/dev/null; then
31167 if test -s conftest.err; then
31168 ac_cpp_err=$ac_c_preproc_warn_flag
31169 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31170 else
31171 ac_cpp_err=
31173 else
31174 ac_cpp_err=yes
31176 if test -z "$ac_cpp_err"; then
31177 ac_header_preproc=yes
31178 else
31179 echo "$as_me: failed program was:" >&5
31180 sed 's/^/| /' conftest.$ac_ext >&5
31182 ac_header_preproc=no
31184 rm -f conftest.err conftest.$ac_ext
31185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31186 echo "${ECHO_T}$ac_header_preproc" >&6
31188 # So? What about this header?
31189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31190 yes:no: )
31191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31195 ac_header_preproc=yes
31197 no:yes:* )
31198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31202 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31204 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31205 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31208 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31211 cat <<\_ASBOX
31212 ## ----------------------------------------- ##
31213 ## Report this to the package-unused lists. ##
31214 ## ----------------------------------------- ##
31215 _ASBOX
31217 sed "s/^/$as_me: WARNING: /" >&2
31219 esac
31220 echo "$as_me:$LINENO: checking for $ac_header" >&5
31221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31223 echo $ECHO_N "(cached) $ECHO_C" >&6
31224 else
31225 eval "$as_ac_Header=\$ac_header_preproc"
31227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31232 cat >>confdefs.h <<_ACEOF
31233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31234 _ACEOF
31238 done
31241 for ac_func in getpagesize
31243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31244 echo "$as_me:$LINENO: checking for $ac_func" >&5
31245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31246 if eval "test \"\${$as_ac_var+set}\" = set"; then
31247 echo $ECHO_N "(cached) $ECHO_C" >&6
31248 else
31249 if test x$gcc_no_link = xyes; then
31250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31252 { (exit 1); exit 1; }; }
31254 cat >conftest.$ac_ext <<_ACEOF
31255 /* confdefs.h. */
31256 _ACEOF
31257 cat confdefs.h >>conftest.$ac_ext
31258 cat >>conftest.$ac_ext <<_ACEOF
31259 /* end confdefs.h. */
31260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31262 #define $ac_func innocuous_$ac_func
31264 /* System header to define __stub macros and hopefully few prototypes,
31265 which can conflict with char $ac_func (); below.
31266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31267 <limits.h> exists even on freestanding compilers. */
31269 #ifdef __STDC__
31270 # include <limits.h>
31271 #else
31272 # include <assert.h>
31273 #endif
31275 #undef $ac_func
31277 /* Override any gcc2 internal prototype to avoid an error. */
31278 #ifdef __cplusplus
31279 extern "C"
31281 #endif
31282 /* We use char because int might match the return type of a gcc2
31283 builtin and then its argument prototype would still apply. */
31284 char $ac_func ();
31285 /* The GNU C library defines this for functions which it implements
31286 to always fail with ENOSYS. Some functions are actually named
31287 something starting with __ and the normal name is an alias. */
31288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31289 choke me
31290 #else
31291 char (*f) () = $ac_func;
31292 #endif
31293 #ifdef __cplusplus
31295 #endif
31298 main ()
31300 return f != $ac_func;
31302 return 0;
31304 _ACEOF
31305 rm -f conftest.$ac_objext conftest$ac_exeext
31306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31307 (eval $ac_link) 2>conftest.er1
31308 ac_status=$?
31309 grep -v '^ *+' conftest.er1 >conftest.err
31310 rm -f conftest.er1
31311 cat conftest.err >&5
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); } &&
31314 { ac_try='test -z "$ac_c_werror_flag"
31315 || test ! -s conftest.err'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31318 ac_status=$?
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; } &&
31321 { ac_try='test -s conftest$ac_exeext'
31322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31323 (eval $ac_try) 2>&5
31324 ac_status=$?
31325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31326 (exit $ac_status); }; }; then
31327 eval "$as_ac_var=yes"
31328 else
31329 echo "$as_me: failed program was:" >&5
31330 sed 's/^/| /' conftest.$ac_ext >&5
31332 eval "$as_ac_var=no"
31334 rm -f conftest.err conftest.$ac_objext \
31335 conftest$ac_exeext conftest.$ac_ext
31337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31339 if test `eval echo '${'$as_ac_var'}'` = yes; then
31340 cat >>confdefs.h <<_ACEOF
31341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31342 _ACEOF
31345 done
31347 echo "$as_me:$LINENO: checking for working mmap" >&5
31348 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
31349 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
31350 echo $ECHO_N "(cached) $ECHO_C" >&6
31351 else
31352 if test "$cross_compiling" = yes; then
31353 ac_cv_func_mmap_fixed_mapped=no
31354 else
31355 cat >conftest.$ac_ext <<_ACEOF
31356 /* confdefs.h. */
31357 _ACEOF
31358 cat confdefs.h >>conftest.$ac_ext
31359 cat >>conftest.$ac_ext <<_ACEOF
31360 /* end confdefs.h. */
31361 $ac_includes_default
31362 /* malloc might have been renamed as rpl_malloc. */
31363 #undef malloc
31365 /* Thanks to Mike Haertel and Jim Avera for this test.
31366 Here is a matrix of mmap possibilities:
31367 mmap private not fixed
31368 mmap private fixed at somewhere currently unmapped
31369 mmap private fixed at somewhere already mapped
31370 mmap shared not fixed
31371 mmap shared fixed at somewhere currently unmapped
31372 mmap shared fixed at somewhere already mapped
31373 For private mappings, we should verify that changes cannot be read()
31374 back from the file, nor mmap's back from the file at a different
31375 address. (There have been systems where private was not correctly
31376 implemented like the infamous i386 svr4.0, and systems where the
31377 VM page cache was not coherent with the file system buffer cache
31378 like early versions of FreeBSD and possibly contemporary NetBSD.)
31379 For shared mappings, we should conversely verify that changes get
31380 propagated back to all the places they're supposed to be.
31382 Grep wants private fixed already mapped.
31383 The main things grep needs to know about mmap are:
31384 * does it exist and is it safe to write into the mmap'd area
31385 * how to use it (BSD variants) */
31387 #include <fcntl.h>
31388 #include <sys/mman.h>
31390 #if !STDC_HEADERS && !HAVE_STDLIB_H
31391 char *malloc ();
31392 #endif
31394 /* This mess was copied from the GNU getpagesize.h. */
31395 #if !HAVE_GETPAGESIZE
31396 /* Assume that all systems that can run configure have sys/param.h. */
31397 # if !HAVE_SYS_PARAM_H
31398 # define HAVE_SYS_PARAM_H 1
31399 # endif
31401 # ifdef _SC_PAGESIZE
31402 # define getpagesize() sysconf(_SC_PAGESIZE)
31403 # else /* no _SC_PAGESIZE */
31404 # if HAVE_SYS_PARAM_H
31405 # include <sys/param.h>
31406 # ifdef EXEC_PAGESIZE
31407 # define getpagesize() EXEC_PAGESIZE
31408 # else /* no EXEC_PAGESIZE */
31409 # ifdef NBPG
31410 # define getpagesize() NBPG * CLSIZE
31411 # ifndef CLSIZE
31412 # define CLSIZE 1
31413 # endif /* no CLSIZE */
31414 # else /* no NBPG */
31415 # ifdef NBPC
31416 # define getpagesize() NBPC
31417 # else /* no NBPC */
31418 # ifdef PAGESIZE
31419 # define getpagesize() PAGESIZE
31420 # endif /* PAGESIZE */
31421 # endif /* no NBPC */
31422 # endif /* no NBPG */
31423 # endif /* no EXEC_PAGESIZE */
31424 # else /* no HAVE_SYS_PARAM_H */
31425 # define getpagesize() 8192 /* punt totally */
31426 # endif /* no HAVE_SYS_PARAM_H */
31427 # endif /* no _SC_PAGESIZE */
31429 #endif /* no HAVE_GETPAGESIZE */
31432 main ()
31434 char *data, *data2, *data3;
31435 int i, pagesize;
31436 int fd;
31438 pagesize = getpagesize ();
31440 /* First, make a file with some known garbage in it. */
31441 data = (char *) malloc (pagesize);
31442 if (!data)
31443 exit (1);
31444 for (i = 0; i < pagesize; ++i)
31445 *(data + i) = rand ();
31446 umask (0);
31447 fd = creat ("conftest.mmap", 0600);
31448 if (fd < 0)
31449 exit (1);
31450 if (write (fd, data, pagesize) != pagesize)
31451 exit (1);
31452 close (fd);
31454 /* Next, try to mmap the file at a fixed address which already has
31455 something else allocated at it. If we can, also make sure that
31456 we see the same garbage. */
31457 fd = open ("conftest.mmap", O_RDWR);
31458 if (fd < 0)
31459 exit (1);
31460 data2 = (char *) malloc (2 * pagesize);
31461 if (!data2)
31462 exit (1);
31463 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
31464 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
31465 MAP_PRIVATE | MAP_FIXED, fd, 0L))
31466 exit (1);
31467 for (i = 0; i < pagesize; ++i)
31468 if (*(data + i) != *(data2 + i))
31469 exit (1);
31471 /* Finally, make sure that changes to the mapped area do not
31472 percolate back to the file as seen by read(). (This is a bug on
31473 some variants of i386 svr4.0.) */
31474 for (i = 0; i < pagesize; ++i)
31475 *(data2 + i) = *(data2 + i) + 1;
31476 data3 = (char *) malloc (pagesize);
31477 if (!data3)
31478 exit (1);
31479 if (read (fd, data3, pagesize) != pagesize)
31480 exit (1);
31481 for (i = 0; i < pagesize; ++i)
31482 if (*(data + i) != *(data3 + i))
31483 exit (1);
31484 close (fd);
31485 exit (0);
31487 _ACEOF
31488 rm -f conftest$ac_exeext
31489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31490 (eval $ac_link) 2>&5
31491 ac_status=$?
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31495 (eval $ac_try) 2>&5
31496 ac_status=$?
31497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31498 (exit $ac_status); }; }; then
31499 ac_cv_func_mmap_fixed_mapped=yes
31500 else
31501 echo "$as_me: program exited with status $ac_status" >&5
31502 echo "$as_me: failed program was:" >&5
31503 sed 's/^/| /' conftest.$ac_ext >&5
31505 ( exit $ac_status )
31506 ac_cv_func_mmap_fixed_mapped=no
31508 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31511 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
31512 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31513 if test $ac_cv_func_mmap_fixed_mapped = yes; then
31515 cat >>confdefs.h <<\_ACEOF
31516 #define HAVE_MMAP 1
31517 _ACEOF
31520 rm -f conftest.mmap
31524 else
31526 # This lets us hard-code the functionality we know we'll have in the cross
31527 # target environment. "Let" is a sugar-coated word placed on an especially
31528 # dull and tedious hack, actually.
31530 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
31531 # that involve linking, can't be used:
31532 # "cannot open sim-crt0.o"
31533 # "cannot open crt0.o"
31534 # etc. All this is because there currently exists no unified, consistent
31535 # way for top level CC information to be passed down to target directories:
31536 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
31537 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
31538 # crosses can be removed.
31540 # If Canadian cross, then don't pick up tools from the build directory.
31541 # Used only in GLIBCXX_EXPORT_INCLUDES.
31542 if test -n "$with_cross_host" &&
31543 test x"$build_alias" != x"$with_cross_host" &&
31544 test x"$build" != x"$target";
31545 then
31546 CANADIAN=yes
31547 else
31548 CANADIAN=no
31551 # Construct crosses by hand, eliminating bits that need ld...
31552 # GLIBCXX_CHECK_COMPILER_FEATURES
31553 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
31554 # GLIBCXX_CHECK_MATH_SUPPORT
31556 # First, test for "known" system libraries. We may be using newlib even
31557 # on a hosted environment.
31558 if test "x${with_newlib}" = "xyes"; then
31559 os_include_dir="os/newlib"
31560 cat >>confdefs.h <<\_ACEOF
31561 #define HAVE_HYPOT 1
31562 _ACEOF
31565 # GLIBCXX_CHECK_STDLIB_SUPPORT
31566 cat >>confdefs.h <<\_ACEOF
31567 #define HAVE_STRTOF 1
31568 _ACEOF
31570 # AC_FUNC_MMAP
31571 cat >>confdefs.h <<\_ACEOF
31572 #define HAVE_MMAP 1
31573 _ACEOF
31576 cat >>confdefs.h <<\_ACEOF
31577 #define HAVE_ACOSF 1
31578 _ACEOF
31580 cat >>confdefs.h <<\_ACEOF
31581 #define HAVE_ASINF 1
31582 _ACEOF
31584 cat >>confdefs.h <<\_ACEOF
31585 #define HAVE_ATAN2F 1
31586 _ACEOF
31588 cat >>confdefs.h <<\_ACEOF
31589 #define HAVE_ATANF 1
31590 _ACEOF
31592 cat >>confdefs.h <<\_ACEOF
31593 #define HAVE_CEILF 1
31594 _ACEOF
31596 cat >>confdefs.h <<\_ACEOF
31597 #define HAVE_COPYSIGN 1
31598 _ACEOF
31600 cat >>confdefs.h <<\_ACEOF
31601 #define HAVE_COPYSIGNF 1
31602 _ACEOF
31604 cat >>confdefs.h <<\_ACEOF
31605 #define HAVE_COSF 1
31606 _ACEOF
31608 cat >>confdefs.h <<\_ACEOF
31609 #define HAVE_COSHF 1
31610 _ACEOF
31612 cat >>confdefs.h <<\_ACEOF
31613 #define HAVE_EXPF 1
31614 _ACEOF
31616 cat >>confdefs.h <<\_ACEOF
31617 #define HAVE_FABSF 1
31618 _ACEOF
31620 cat >>confdefs.h <<\_ACEOF
31621 #define HAVE_FLOORF 1
31622 _ACEOF
31624 cat >>confdefs.h <<\_ACEOF
31625 #define HAVE_FMODF 1
31626 _ACEOF
31628 cat >>confdefs.h <<\_ACEOF
31629 #define HAVE_FREXPF 1
31630 _ACEOF
31632 cat >>confdefs.h <<\_ACEOF
31633 #define HAVE_LDEXPF 1
31634 _ACEOF
31636 cat >>confdefs.h <<\_ACEOF
31637 #define HAVE_LOG10F 1
31638 _ACEOF
31640 cat >>confdefs.h <<\_ACEOF
31641 #define HAVE_LOGF 1
31642 _ACEOF
31644 cat >>confdefs.h <<\_ACEOF
31645 #define HAVE_MODFF 1
31646 _ACEOF
31648 cat >>confdefs.h <<\_ACEOF
31649 #define HAVE_POWF 1
31650 _ACEOF
31652 cat >>confdefs.h <<\_ACEOF
31653 #define HAVE_SINF 1
31654 _ACEOF
31656 cat >>confdefs.h <<\_ACEOF
31657 #define HAVE_SINHF 1
31658 _ACEOF
31660 cat >>confdefs.h <<\_ACEOF
31661 #define HAVE_SQRTF 1
31662 _ACEOF
31664 cat >>confdefs.h <<\_ACEOF
31665 #define HAVE_TANF 1
31666 _ACEOF
31668 cat >>confdefs.h <<\_ACEOF
31669 #define HAVE_TANHF 1
31670 _ACEOF
31673 cat >>confdefs.h <<\_ACEOF
31674 #define HAVE_S_ISREG 1
31675 _ACEOF
31677 cat >>confdefs.h <<\_ACEOF
31678 #define HAVE_S_IFREG 1
31679 _ACEOF
31681 else
31683 # Base decisions on target environment.
31684 case "${host}" in
31685 arm*-*-symbianelf*)
31686 # This is a freestanding configuration; there is nothing to do here.
31689 *-darwin*)
31690 # Darwin versions vary, but the linker should work in a cross environment,
31691 # so we just check for all the features here.
31692 # Check for available headers.
31706 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31707 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31708 sys/types.h
31710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31712 echo "$as_me:$LINENO: checking for $ac_header" >&5
31713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31715 echo $ECHO_N "(cached) $ECHO_C" >&6
31717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31719 else
31720 # Is the header compilable?
31721 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31722 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31723 cat >conftest.$ac_ext <<_ACEOF
31724 /* confdefs.h. */
31725 _ACEOF
31726 cat confdefs.h >>conftest.$ac_ext
31727 cat >>conftest.$ac_ext <<_ACEOF
31728 /* end confdefs.h. */
31729 $ac_includes_default
31730 #include <$ac_header>
31731 _ACEOF
31732 rm -f conftest.$ac_objext
31733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31734 (eval $ac_compile) 2>conftest.er1
31735 ac_status=$?
31736 grep -v '^ *+' conftest.er1 >conftest.err
31737 rm -f conftest.er1
31738 cat conftest.err >&5
31739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31740 (exit $ac_status); } &&
31741 { ac_try='test -z "$ac_c_werror_flag"
31742 || test ! -s conftest.err'
31743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31744 (eval $ac_try) 2>&5
31745 ac_status=$?
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); }; } &&
31748 { ac_try='test -s conftest.$ac_objext'
31749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31750 (eval $ac_try) 2>&5
31751 ac_status=$?
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); }; }; then
31754 ac_header_compiler=yes
31755 else
31756 echo "$as_me: failed program was:" >&5
31757 sed 's/^/| /' conftest.$ac_ext >&5
31759 ac_header_compiler=no
31761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31763 echo "${ECHO_T}$ac_header_compiler" >&6
31765 # Is the header present?
31766 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31767 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31768 cat >conftest.$ac_ext <<_ACEOF
31769 /* confdefs.h. */
31770 _ACEOF
31771 cat confdefs.h >>conftest.$ac_ext
31772 cat >>conftest.$ac_ext <<_ACEOF
31773 /* end confdefs.h. */
31774 #include <$ac_header>
31775 _ACEOF
31776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31778 ac_status=$?
31779 grep -v '^ *+' conftest.er1 >conftest.err
31780 rm -f conftest.er1
31781 cat conftest.err >&5
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); } >/dev/null; then
31784 if test -s conftest.err; then
31785 ac_cpp_err=$ac_c_preproc_warn_flag
31786 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31787 else
31788 ac_cpp_err=
31790 else
31791 ac_cpp_err=yes
31793 if test -z "$ac_cpp_err"; then
31794 ac_header_preproc=yes
31795 else
31796 echo "$as_me: failed program was:" >&5
31797 sed 's/^/| /' conftest.$ac_ext >&5
31799 ac_header_preproc=no
31801 rm -f conftest.err conftest.$ac_ext
31802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31803 echo "${ECHO_T}$ac_header_preproc" >&6
31805 # So? What about this header?
31806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31807 yes:no: )
31808 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31809 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31811 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31812 ac_header_preproc=yes
31814 no:yes:* )
31815 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31816 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31817 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31818 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31819 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31820 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31821 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31822 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31825 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31826 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31828 cat <<\_ASBOX
31829 ## ----------------------------------------- ##
31830 ## Report this to the package-unused lists. ##
31831 ## ----------------------------------------- ##
31832 _ASBOX
31834 sed "s/^/$as_me: WARNING: /" >&2
31836 esac
31837 echo "$as_me:$LINENO: checking for $ac_header" >&5
31838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31840 echo $ECHO_N "(cached) $ECHO_C" >&6
31841 else
31842 eval "$as_ac_Header=\$ac_header_preproc"
31844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31849 cat >>confdefs.h <<_ACEOF
31850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31851 _ACEOF
31855 done
31859 # All these tests are for C++; save the language and the compiler flags.
31860 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31861 # found in GLIBCXX_CONFIGURE.
31864 ac_ext=cc
31865 ac_cpp='$CXXCPP $CPPFLAGS'
31866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31870 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31871 ac_save_CXXFLAGS="$CXXFLAGS"
31873 # Check for maintainer-mode bits.
31874 if test x"$USE_MAINTAINER_MODE" = xno; then
31875 WERROR=''
31876 else
31877 WERROR='-Werror'
31880 # Check for -ffunction-sections -fdata-sections
31881 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31882 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31883 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31884 cat >conftest.$ac_ext <<_ACEOF
31885 /* confdefs.h. */
31886 _ACEOF
31887 cat confdefs.h >>conftest.$ac_ext
31888 cat >>conftest.$ac_ext <<_ACEOF
31889 /* end confdefs.h. */
31892 main ()
31894 int foo;
31896 return 0;
31898 _ACEOF
31899 rm -f conftest.$ac_objext
31900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31901 (eval $ac_compile) 2>conftest.er1
31902 ac_status=$?
31903 grep -v '^ *+' conftest.er1 >conftest.err
31904 rm -f conftest.er1
31905 cat conftest.err >&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); } &&
31908 { ac_try='test -z "$ac_cxx_werror_flag"
31909 || test ! -s conftest.err'
31910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31911 (eval $ac_try) 2>&5
31912 ac_status=$?
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); }; } &&
31915 { ac_try='test -s conftest.$ac_objext'
31916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31917 (eval $ac_try) 2>&5
31918 ac_status=$?
31919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920 (exit $ac_status); }; }; then
31921 ac_fdsections=yes
31922 else
31923 echo "$as_me: failed program was:" >&5
31924 sed 's/^/| /' conftest.$ac_ext >&5
31926 ac_fdsections=no
31928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31929 if test "$ac_test_CXXFLAGS" = set; then
31930 CXXFLAGS="$ac_save_CXXFLAGS"
31931 else
31932 # this is the suspicious part
31933 CXXFLAGS=''
31935 if test x"$ac_fdsections" = x"yes"; then
31936 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31938 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31939 echo "${ECHO_T}$ac_fdsections" >&6
31941 ac_ext=c
31942 ac_cpp='$CPP $CPPFLAGS'
31943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31950 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31952 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31953 ac_save_CXXFLAGS="$CXXFLAGS"
31954 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31956 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31957 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31958 if test "${ac_cv_lib_m_sin+set}" = set; then
31959 echo $ECHO_N "(cached) $ECHO_C" >&6
31960 else
31961 ac_check_lib_save_LIBS=$LIBS
31962 LIBS="-lm $LIBS"
31963 if test x$gcc_no_link = xyes; then
31964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31966 { (exit 1); exit 1; }; }
31968 cat >conftest.$ac_ext <<_ACEOF
31969 /* confdefs.h. */
31970 _ACEOF
31971 cat confdefs.h >>conftest.$ac_ext
31972 cat >>conftest.$ac_ext <<_ACEOF
31973 /* end confdefs.h. */
31975 /* Override any gcc2 internal prototype to avoid an error. */
31976 #ifdef __cplusplus
31977 extern "C"
31978 #endif
31979 /* We use char because int might match the return type of a gcc2
31980 builtin and then its argument prototype would still apply. */
31981 char sin ();
31983 main ()
31985 sin ();
31987 return 0;
31989 _ACEOF
31990 rm -f conftest.$ac_objext conftest$ac_exeext
31991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31992 (eval $ac_link) 2>conftest.er1
31993 ac_status=$?
31994 grep -v '^ *+' conftest.er1 >conftest.err
31995 rm -f conftest.er1
31996 cat conftest.err >&5
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); } &&
31999 { ac_try='test -z "$ac_c_werror_flag"
32000 || test ! -s conftest.err'
32001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32002 (eval $ac_try) 2>&5
32003 ac_status=$?
32004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32005 (exit $ac_status); }; } &&
32006 { ac_try='test -s conftest$ac_exeext'
32007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32008 (eval $ac_try) 2>&5
32009 ac_status=$?
32010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011 (exit $ac_status); }; }; then
32012 ac_cv_lib_m_sin=yes
32013 else
32014 echo "$as_me: failed program was:" >&5
32015 sed 's/^/| /' conftest.$ac_ext >&5
32017 ac_cv_lib_m_sin=no
32019 rm -f conftest.err conftest.$ac_objext \
32020 conftest$ac_exeext conftest.$ac_ext
32021 LIBS=$ac_check_lib_save_LIBS
32023 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32024 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32025 if test $ac_cv_lib_m_sin = yes; then
32026 libm="-lm"
32029 ac_save_LIBS="$LIBS"
32030 LIBS="$LIBS $libm"
32034 echo "$as_me:$LINENO: checking for isinf declaration" >&5
32035 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32036 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32037 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32038 echo $ECHO_N "(cached) $ECHO_C" >&6
32039 else
32043 ac_ext=cc
32044 ac_cpp='$CXXCPP $CPPFLAGS'
32045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32049 cat >conftest.$ac_ext <<_ACEOF
32050 /* confdefs.h. */
32051 _ACEOF
32052 cat confdefs.h >>conftest.$ac_ext
32053 cat >>conftest.$ac_ext <<_ACEOF
32054 /* end confdefs.h. */
32055 #include <math.h>
32056 #ifdef HAVE_IEEEFP_H
32057 #include <ieeefp.h>
32058 #endif
32061 main ()
32063 isinf(0);
32065 return 0;
32067 _ACEOF
32068 rm -f conftest.$ac_objext
32069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32070 (eval $ac_compile) 2>conftest.er1
32071 ac_status=$?
32072 grep -v '^ *+' conftest.er1 >conftest.err
32073 rm -f conftest.er1
32074 cat conftest.err >&5
32075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32076 (exit $ac_status); } &&
32077 { ac_try='test -z "$ac_cxx_werror_flag"
32078 || test ! -s conftest.err'
32079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32080 (eval $ac_try) 2>&5
32081 ac_status=$?
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); }; } &&
32084 { ac_try='test -s conftest.$ac_objext'
32085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32086 (eval $ac_try) 2>&5
32087 ac_status=$?
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); }; }; then
32090 glibcxx_cv_func_isinf_use=yes
32091 else
32092 echo "$as_me: failed program was:" >&5
32093 sed 's/^/| /' conftest.$ac_ext >&5
32095 glibcxx_cv_func_isinf_use=no
32097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32098 ac_ext=c
32099 ac_cpp='$CPP $CPPFLAGS'
32100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32108 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
32109 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
32111 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32113 for ac_func in isinf
32115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32116 echo "$as_me:$LINENO: checking for $ac_func" >&5
32117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32118 if eval "test \"\${$as_ac_var+set}\" = set"; then
32119 echo $ECHO_N "(cached) $ECHO_C" >&6
32120 else
32121 if test x$gcc_no_link = xyes; then
32122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32124 { (exit 1); exit 1; }; }
32126 cat >conftest.$ac_ext <<_ACEOF
32127 /* confdefs.h. */
32128 _ACEOF
32129 cat confdefs.h >>conftest.$ac_ext
32130 cat >>conftest.$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32134 #define $ac_func innocuous_$ac_func
32136 /* System header to define __stub macros and hopefully few prototypes,
32137 which can conflict with char $ac_func (); below.
32138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32139 <limits.h> exists even on freestanding compilers. */
32141 #ifdef __STDC__
32142 # include <limits.h>
32143 #else
32144 # include <assert.h>
32145 #endif
32147 #undef $ac_func
32149 /* Override any gcc2 internal prototype to avoid an error. */
32150 #ifdef __cplusplus
32151 extern "C"
32153 #endif
32154 /* We use char because int might match the return type of a gcc2
32155 builtin and then its argument prototype would still apply. */
32156 char $ac_func ();
32157 /* The GNU C library defines this for functions which it implements
32158 to always fail with ENOSYS. Some functions are actually named
32159 something starting with __ and the normal name is an alias. */
32160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32161 choke me
32162 #else
32163 char (*f) () = $ac_func;
32164 #endif
32165 #ifdef __cplusplus
32167 #endif
32170 main ()
32172 return f != $ac_func;
32174 return 0;
32176 _ACEOF
32177 rm -f conftest.$ac_objext conftest$ac_exeext
32178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32179 (eval $ac_link) 2>conftest.er1
32180 ac_status=$?
32181 grep -v '^ *+' conftest.er1 >conftest.err
32182 rm -f conftest.er1
32183 cat conftest.err >&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); } &&
32186 { ac_try='test -z "$ac_c_werror_flag"
32187 || test ! -s conftest.err'
32188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32189 (eval $ac_try) 2>&5
32190 ac_status=$?
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); }; } &&
32193 { ac_try='test -s conftest$ac_exeext'
32194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32195 (eval $ac_try) 2>&5
32196 ac_status=$?
32197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198 (exit $ac_status); }; }; then
32199 eval "$as_ac_var=yes"
32200 else
32201 echo "$as_me: failed program was:" >&5
32202 sed 's/^/| /' conftest.$ac_ext >&5
32204 eval "$as_ac_var=no"
32206 rm -f conftest.err conftest.$ac_objext \
32207 conftest$ac_exeext conftest.$ac_ext
32209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32211 if test `eval echo '${'$as_ac_var'}'` = yes; then
32212 cat >>confdefs.h <<_ACEOF
32213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32214 _ACEOF
32217 done
32219 else
32221 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
32222 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
32223 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32224 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
32225 echo $ECHO_N "(cached) $ECHO_C" >&6
32226 else
32230 ac_ext=cc
32231 ac_cpp='$CXXCPP $CPPFLAGS'
32232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32236 cat >conftest.$ac_ext <<_ACEOF
32237 /* confdefs.h. */
32238 _ACEOF
32239 cat confdefs.h >>conftest.$ac_ext
32240 cat >>conftest.$ac_ext <<_ACEOF
32241 /* end confdefs.h. */
32242 #include <math.h>
32243 #ifdef HAVE_IEEEFP_H
32244 #include <ieeefp.h>
32245 #endif
32248 main ()
32250 _isinf(0);
32252 return 0;
32254 _ACEOF
32255 rm -f conftest.$ac_objext
32256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32257 (eval $ac_compile) 2>conftest.er1
32258 ac_status=$?
32259 grep -v '^ *+' conftest.er1 >conftest.err
32260 rm -f conftest.er1
32261 cat conftest.err >&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); } &&
32264 { ac_try='test -z "$ac_cxx_werror_flag"
32265 || test ! -s conftest.err'
32266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32267 (eval $ac_try) 2>&5
32268 ac_status=$?
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); }; } &&
32271 { ac_try='test -s conftest.$ac_objext'
32272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32273 (eval $ac_try) 2>&5
32274 ac_status=$?
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); }; }; then
32277 glibcxx_cv_func__isinf_use=yes
32278 else
32279 echo "$as_me: failed program was:" >&5
32280 sed 's/^/| /' conftest.$ac_ext >&5
32282 glibcxx_cv_func__isinf_use=no
32284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32285 ac_ext=c
32286 ac_cpp='$CPP $CPPFLAGS'
32287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32295 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
32296 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
32298 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32300 for ac_func in _isinf
32302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32303 echo "$as_me:$LINENO: checking for $ac_func" >&5
32304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32305 if eval "test \"\${$as_ac_var+set}\" = set"; then
32306 echo $ECHO_N "(cached) $ECHO_C" >&6
32307 else
32308 if test x$gcc_no_link = xyes; then
32309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32311 { (exit 1); exit 1; }; }
32313 cat >conftest.$ac_ext <<_ACEOF
32314 /* confdefs.h. */
32315 _ACEOF
32316 cat confdefs.h >>conftest.$ac_ext
32317 cat >>conftest.$ac_ext <<_ACEOF
32318 /* end confdefs.h. */
32319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32321 #define $ac_func innocuous_$ac_func
32323 /* System header to define __stub macros and hopefully few prototypes,
32324 which can conflict with char $ac_func (); below.
32325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32326 <limits.h> exists even on freestanding compilers. */
32328 #ifdef __STDC__
32329 # include <limits.h>
32330 #else
32331 # include <assert.h>
32332 #endif
32334 #undef $ac_func
32336 /* Override any gcc2 internal prototype to avoid an error. */
32337 #ifdef __cplusplus
32338 extern "C"
32340 #endif
32341 /* We use char because int might match the return type of a gcc2
32342 builtin and then its argument prototype would still apply. */
32343 char $ac_func ();
32344 /* The GNU C library defines this for functions which it implements
32345 to always fail with ENOSYS. Some functions are actually named
32346 something starting with __ and the normal name is an alias. */
32347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32348 choke me
32349 #else
32350 char (*f) () = $ac_func;
32351 #endif
32352 #ifdef __cplusplus
32354 #endif
32357 main ()
32359 return f != $ac_func;
32361 return 0;
32363 _ACEOF
32364 rm -f conftest.$ac_objext conftest$ac_exeext
32365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32366 (eval $ac_link) 2>conftest.er1
32367 ac_status=$?
32368 grep -v '^ *+' conftest.er1 >conftest.err
32369 rm -f conftest.er1
32370 cat conftest.err >&5
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); } &&
32373 { ac_try='test -z "$ac_c_werror_flag"
32374 || test ! -s conftest.err'
32375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32376 (eval $ac_try) 2>&5
32377 ac_status=$?
32378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379 (exit $ac_status); }; } &&
32380 { ac_try='test -s conftest$ac_exeext'
32381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32382 (eval $ac_try) 2>&5
32383 ac_status=$?
32384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32385 (exit $ac_status); }; }; then
32386 eval "$as_ac_var=yes"
32387 else
32388 echo "$as_me: failed program was:" >&5
32389 sed 's/^/| /' conftest.$ac_ext >&5
32391 eval "$as_ac_var=no"
32393 rm -f conftest.err conftest.$ac_objext \
32394 conftest$ac_exeext conftest.$ac_ext
32396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32398 if test `eval echo '${'$as_ac_var'}'` = yes; then
32399 cat >>confdefs.h <<_ACEOF
32400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32401 _ACEOF
32404 done
32414 echo "$as_me:$LINENO: checking for isnan declaration" >&5
32415 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
32416 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32417 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
32418 echo $ECHO_N "(cached) $ECHO_C" >&6
32419 else
32423 ac_ext=cc
32424 ac_cpp='$CXXCPP $CPPFLAGS'
32425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32429 cat >conftest.$ac_ext <<_ACEOF
32430 /* confdefs.h. */
32431 _ACEOF
32432 cat confdefs.h >>conftest.$ac_ext
32433 cat >>conftest.$ac_ext <<_ACEOF
32434 /* end confdefs.h. */
32435 #include <math.h>
32436 #ifdef HAVE_IEEEFP_H
32437 #include <ieeefp.h>
32438 #endif
32441 main ()
32443 isnan(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_isnan_use=yes
32471 else
32472 echo "$as_me: failed program was:" >&5
32473 sed 's/^/| /' conftest.$ac_ext >&5
32475 glibcxx_cv_func_isnan_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_isnan_use" >&5
32489 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
32491 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32493 for ac_func in isnan
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 _isnan declaration" >&5
32602 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32603 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32604 if test "${glibcxx_cv_func__isnan_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>
32623 #ifdef HAVE_IEEEFP_H
32624 #include <ieeefp.h>
32625 #endif
32628 main ()
32630 _isnan(0);
32632 return 0;
32634 _ACEOF
32635 rm -f conftest.$ac_objext
32636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32637 (eval $ac_compile) 2>conftest.er1
32638 ac_status=$?
32639 grep -v '^ *+' conftest.er1 >conftest.err
32640 rm -f conftest.er1
32641 cat conftest.err >&5
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); } &&
32644 { ac_try='test -z "$ac_cxx_werror_flag"
32645 || test ! -s conftest.err'
32646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32647 (eval $ac_try) 2>&5
32648 ac_status=$?
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); }; } &&
32651 { ac_try='test -s conftest.$ac_objext'
32652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32653 (eval $ac_try) 2>&5
32654 ac_status=$?
32655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32656 (exit $ac_status); }; }; then
32657 glibcxx_cv_func__isnan_use=yes
32658 else
32659 echo "$as_me: failed program was:" >&5
32660 sed 's/^/| /' conftest.$ac_ext >&5
32662 glibcxx_cv_func__isnan_use=no
32664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32665 ac_ext=c
32666 ac_cpp='$CPP $CPPFLAGS'
32667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32675 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32676 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32678 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32680 for ac_func in _isnan
32682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32683 echo "$as_me:$LINENO: checking for $ac_func" >&5
32684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32685 if eval "test \"\${$as_ac_var+set}\" = set"; then
32686 echo $ECHO_N "(cached) $ECHO_C" >&6
32687 else
32688 if test x$gcc_no_link = xyes; then
32689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32691 { (exit 1); exit 1; }; }
32693 cat >conftest.$ac_ext <<_ACEOF
32694 /* confdefs.h. */
32695 _ACEOF
32696 cat confdefs.h >>conftest.$ac_ext
32697 cat >>conftest.$ac_ext <<_ACEOF
32698 /* end confdefs.h. */
32699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32701 #define $ac_func innocuous_$ac_func
32703 /* System header to define __stub macros and hopefully few prototypes,
32704 which can conflict with char $ac_func (); below.
32705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32706 <limits.h> exists even on freestanding compilers. */
32708 #ifdef __STDC__
32709 # include <limits.h>
32710 #else
32711 # include <assert.h>
32712 #endif
32714 #undef $ac_func
32716 /* Override any gcc2 internal prototype to avoid an error. */
32717 #ifdef __cplusplus
32718 extern "C"
32720 #endif
32721 /* We use char because int might match the return type of a gcc2
32722 builtin and then its argument prototype would still apply. */
32723 char $ac_func ();
32724 /* The GNU C library defines this for functions which it implements
32725 to always fail with ENOSYS. Some functions are actually named
32726 something starting with __ and the normal name is an alias. */
32727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32728 choke me
32729 #else
32730 char (*f) () = $ac_func;
32731 #endif
32732 #ifdef __cplusplus
32734 #endif
32737 main ()
32739 return f != $ac_func;
32741 return 0;
32743 _ACEOF
32744 rm -f conftest.$ac_objext conftest$ac_exeext
32745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32746 (eval $ac_link) 2>conftest.er1
32747 ac_status=$?
32748 grep -v '^ *+' conftest.er1 >conftest.err
32749 rm -f conftest.er1
32750 cat conftest.err >&5
32751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752 (exit $ac_status); } &&
32753 { ac_try='test -z "$ac_c_werror_flag"
32754 || test ! -s conftest.err'
32755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32756 (eval $ac_try) 2>&5
32757 ac_status=$?
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); }; } &&
32760 { ac_try='test -s conftest$ac_exeext'
32761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32762 (eval $ac_try) 2>&5
32763 ac_status=$?
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); }; }; then
32766 eval "$as_ac_var=yes"
32767 else
32768 echo "$as_me: failed program was:" >&5
32769 sed 's/^/| /' conftest.$ac_ext >&5
32771 eval "$as_ac_var=no"
32773 rm -f conftest.err conftest.$ac_objext \
32774 conftest$ac_exeext conftest.$ac_ext
32776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32778 if test `eval echo '${'$as_ac_var'}'` = yes; then
32779 cat >>confdefs.h <<_ACEOF
32780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32781 _ACEOF
32784 done
32794 echo "$as_me:$LINENO: checking for finite declaration" >&5
32795 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32796 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32797 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32798 echo $ECHO_N "(cached) $ECHO_C" >&6
32799 else
32803 ac_ext=cc
32804 ac_cpp='$CXXCPP $CPPFLAGS'
32805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32809 cat >conftest.$ac_ext <<_ACEOF
32810 /* confdefs.h. */
32811 _ACEOF
32812 cat confdefs.h >>conftest.$ac_ext
32813 cat >>conftest.$ac_ext <<_ACEOF
32814 /* end confdefs.h. */
32815 #include <math.h>
32816 #ifdef HAVE_IEEEFP_H
32817 #include <ieeefp.h>
32818 #endif
32821 main ()
32823 finite(0);
32825 return 0;
32827 _ACEOF
32828 rm -f conftest.$ac_objext
32829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32830 (eval $ac_compile) 2>conftest.er1
32831 ac_status=$?
32832 grep -v '^ *+' conftest.er1 >conftest.err
32833 rm -f conftest.er1
32834 cat conftest.err >&5
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); } &&
32837 { ac_try='test -z "$ac_cxx_werror_flag"
32838 || test ! -s conftest.err'
32839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32840 (eval $ac_try) 2>&5
32841 ac_status=$?
32842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32843 (exit $ac_status); }; } &&
32844 { ac_try='test -s conftest.$ac_objext'
32845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32846 (eval $ac_try) 2>&5
32847 ac_status=$?
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); }; }; then
32850 glibcxx_cv_func_finite_use=yes
32851 else
32852 echo "$as_me: failed program was:" >&5
32853 sed 's/^/| /' conftest.$ac_ext >&5
32855 glibcxx_cv_func_finite_use=no
32857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32858 ac_ext=c
32859 ac_cpp='$CPP $CPPFLAGS'
32860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32868 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32869 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32871 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32873 for ac_func in finite
32875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32876 echo "$as_me:$LINENO: checking for $ac_func" >&5
32877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32878 if eval "test \"\${$as_ac_var+set}\" = set"; then
32879 echo $ECHO_N "(cached) $ECHO_C" >&6
32880 else
32881 if test x$gcc_no_link = xyes; then
32882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32884 { (exit 1); exit 1; }; }
32886 cat >conftest.$ac_ext <<_ACEOF
32887 /* confdefs.h. */
32888 _ACEOF
32889 cat confdefs.h >>conftest.$ac_ext
32890 cat >>conftest.$ac_ext <<_ACEOF
32891 /* end confdefs.h. */
32892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32894 #define $ac_func innocuous_$ac_func
32896 /* System header to define __stub macros and hopefully few prototypes,
32897 which can conflict with char $ac_func (); below.
32898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32899 <limits.h> exists even on freestanding compilers. */
32901 #ifdef __STDC__
32902 # include <limits.h>
32903 #else
32904 # include <assert.h>
32905 #endif
32907 #undef $ac_func
32909 /* Override any gcc2 internal prototype to avoid an error. */
32910 #ifdef __cplusplus
32911 extern "C"
32913 #endif
32914 /* We use char because int might match the return type of a gcc2
32915 builtin and then its argument prototype would still apply. */
32916 char $ac_func ();
32917 /* The GNU C library defines this for functions which it implements
32918 to always fail with ENOSYS. Some functions are actually named
32919 something starting with __ and the normal name is an alias. */
32920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32921 choke me
32922 #else
32923 char (*f) () = $ac_func;
32924 #endif
32925 #ifdef __cplusplus
32927 #endif
32930 main ()
32932 return f != $ac_func;
32934 return 0;
32936 _ACEOF
32937 rm -f conftest.$ac_objext conftest$ac_exeext
32938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32939 (eval $ac_link) 2>conftest.er1
32940 ac_status=$?
32941 grep -v '^ *+' conftest.er1 >conftest.err
32942 rm -f conftest.er1
32943 cat conftest.err >&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); } &&
32946 { ac_try='test -z "$ac_c_werror_flag"
32947 || test ! -s conftest.err'
32948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32949 (eval $ac_try) 2>&5
32950 ac_status=$?
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); }; } &&
32953 { ac_try='test -s conftest$ac_exeext'
32954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32955 (eval $ac_try) 2>&5
32956 ac_status=$?
32957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32958 (exit $ac_status); }; }; then
32959 eval "$as_ac_var=yes"
32960 else
32961 echo "$as_me: failed program was:" >&5
32962 sed 's/^/| /' conftest.$ac_ext >&5
32964 eval "$as_ac_var=no"
32966 rm -f conftest.err conftest.$ac_objext \
32967 conftest$ac_exeext conftest.$ac_ext
32969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32971 if test `eval echo '${'$as_ac_var'}'` = yes; then
32972 cat >>confdefs.h <<_ACEOF
32973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32974 _ACEOF
32977 done
32979 else
32981 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32982 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32983 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32984 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32985 echo $ECHO_N "(cached) $ECHO_C" >&6
32986 else
32990 ac_ext=cc
32991 ac_cpp='$CXXCPP $CPPFLAGS'
32992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32996 cat >conftest.$ac_ext <<_ACEOF
32997 /* confdefs.h. */
32998 _ACEOF
32999 cat confdefs.h >>conftest.$ac_ext
33000 cat >>conftest.$ac_ext <<_ACEOF
33001 /* end confdefs.h. */
33002 #include <math.h>
33003 #ifdef HAVE_IEEEFP_H
33004 #include <ieeefp.h>
33005 #endif
33008 main ()
33010 _finite(0);
33012 return 0;
33014 _ACEOF
33015 rm -f conftest.$ac_objext
33016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33017 (eval $ac_compile) 2>conftest.er1
33018 ac_status=$?
33019 grep -v '^ *+' conftest.er1 >conftest.err
33020 rm -f conftest.er1
33021 cat conftest.err >&5
33022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33023 (exit $ac_status); } &&
33024 { ac_try='test -z "$ac_cxx_werror_flag"
33025 || test ! -s conftest.err'
33026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33027 (eval $ac_try) 2>&5
33028 ac_status=$?
33029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); }; } &&
33031 { ac_try='test -s conftest.$ac_objext'
33032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33033 (eval $ac_try) 2>&5
33034 ac_status=$?
33035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33036 (exit $ac_status); }; }; then
33037 glibcxx_cv_func__finite_use=yes
33038 else
33039 echo "$as_me: failed program was:" >&5
33040 sed 's/^/| /' conftest.$ac_ext >&5
33042 glibcxx_cv_func__finite_use=no
33044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33045 ac_ext=c
33046 ac_cpp='$CPP $CPPFLAGS'
33047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33056 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33058 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33060 for ac_func in _finite
33062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33063 echo "$as_me:$LINENO: checking for $ac_func" >&5
33064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33065 if eval "test \"\${$as_ac_var+set}\" = set"; then
33066 echo $ECHO_N "(cached) $ECHO_C" >&6
33067 else
33068 if test x$gcc_no_link = xyes; then
33069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33071 { (exit 1); exit 1; }; }
33073 cat >conftest.$ac_ext <<_ACEOF
33074 /* confdefs.h. */
33075 _ACEOF
33076 cat confdefs.h >>conftest.$ac_ext
33077 cat >>conftest.$ac_ext <<_ACEOF
33078 /* end confdefs.h. */
33079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33081 #define $ac_func innocuous_$ac_func
33083 /* System header to define __stub macros and hopefully few prototypes,
33084 which can conflict with char $ac_func (); below.
33085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33086 <limits.h> exists even on freestanding compilers. */
33088 #ifdef __STDC__
33089 # include <limits.h>
33090 #else
33091 # include <assert.h>
33092 #endif
33094 #undef $ac_func
33096 /* Override any gcc2 internal prototype to avoid an error. */
33097 #ifdef __cplusplus
33098 extern "C"
33100 #endif
33101 /* We use char because int might match the return type of a gcc2
33102 builtin and then its argument prototype would still apply. */
33103 char $ac_func ();
33104 /* The GNU C library defines this for functions which it implements
33105 to always fail with ENOSYS. Some functions are actually named
33106 something starting with __ and the normal name is an alias. */
33107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33108 choke me
33109 #else
33110 char (*f) () = $ac_func;
33111 #endif
33112 #ifdef __cplusplus
33114 #endif
33117 main ()
33119 return f != $ac_func;
33121 return 0;
33123 _ACEOF
33124 rm -f conftest.$ac_objext conftest$ac_exeext
33125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33126 (eval $ac_link) 2>conftest.er1
33127 ac_status=$?
33128 grep -v '^ *+' conftest.er1 >conftest.err
33129 rm -f conftest.er1
33130 cat conftest.err >&5
33131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); } &&
33133 { ac_try='test -z "$ac_c_werror_flag"
33134 || test ! -s conftest.err'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33137 ac_status=$?
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; } &&
33140 { ac_try='test -s conftest$ac_exeext'
33141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33142 (eval $ac_try) 2>&5
33143 ac_status=$?
33144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145 (exit $ac_status); }; }; then
33146 eval "$as_ac_var=yes"
33147 else
33148 echo "$as_me: failed program was:" >&5
33149 sed 's/^/| /' conftest.$ac_ext >&5
33151 eval "$as_ac_var=no"
33153 rm -f conftest.err conftest.$ac_objext \
33154 conftest$ac_exeext conftest.$ac_ext
33156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33158 if test `eval echo '${'$as_ac_var'}'` = yes; then
33159 cat >>confdefs.h <<_ACEOF
33160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33161 _ACEOF
33164 done
33174 echo "$as_me:$LINENO: checking for copysign declaration" >&5
33175 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
33176 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
33177 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
33178 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 else
33183 ac_ext=cc
33184 ac_cpp='$CXXCPP $CPPFLAGS'
33185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33189 cat >conftest.$ac_ext <<_ACEOF
33190 /* confdefs.h. */
33191 _ACEOF
33192 cat confdefs.h >>conftest.$ac_ext
33193 cat >>conftest.$ac_ext <<_ACEOF
33194 /* end confdefs.h. */
33195 #include <math.h>
33197 main ()
33199 copysign(0, 0);
33201 return 0;
33203 _ACEOF
33204 rm -f conftest.$ac_objext
33205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33206 (eval $ac_compile) 2>conftest.er1
33207 ac_status=$?
33208 grep -v '^ *+' conftest.er1 >conftest.err
33209 rm -f conftest.er1
33210 cat conftest.err >&5
33211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33212 (exit $ac_status); } &&
33213 { ac_try='test -z "$ac_cxx_werror_flag"
33214 || test ! -s conftest.err'
33215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33216 (eval $ac_try) 2>&5
33217 ac_status=$?
33218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33219 (exit $ac_status); }; } &&
33220 { ac_try='test -s conftest.$ac_objext'
33221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33222 (eval $ac_try) 2>&5
33223 ac_status=$?
33224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33225 (exit $ac_status); }; }; then
33226 glibcxx_cv_func_copysign_use=yes
33227 else
33228 echo "$as_me: failed program was:" >&5
33229 sed 's/^/| /' conftest.$ac_ext >&5
33231 glibcxx_cv_func_copysign_use=no
33233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33234 ac_ext=c
33235 ac_cpp='$CPP $CPPFLAGS'
33236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
33245 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
33247 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
33249 for ac_func in copysign
33251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33252 echo "$as_me:$LINENO: checking for $ac_func" >&5
33253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33254 if eval "test \"\${$as_ac_var+set}\" = set"; then
33255 echo $ECHO_N "(cached) $ECHO_C" >&6
33256 else
33257 if test x$gcc_no_link = xyes; then
33258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33260 { (exit 1); exit 1; }; }
33262 cat >conftest.$ac_ext <<_ACEOF
33263 /* confdefs.h. */
33264 _ACEOF
33265 cat confdefs.h >>conftest.$ac_ext
33266 cat >>conftest.$ac_ext <<_ACEOF
33267 /* end confdefs.h. */
33268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33270 #define $ac_func innocuous_$ac_func
33272 /* System header to define __stub macros and hopefully few prototypes,
33273 which can conflict with char $ac_func (); below.
33274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33275 <limits.h> exists even on freestanding compilers. */
33277 #ifdef __STDC__
33278 # include <limits.h>
33279 #else
33280 # include <assert.h>
33281 #endif
33283 #undef $ac_func
33285 /* Override any gcc2 internal prototype to avoid an error. */
33286 #ifdef __cplusplus
33287 extern "C"
33289 #endif
33290 /* We use char because int might match the return type of a gcc2
33291 builtin and then its argument prototype would still apply. */
33292 char $ac_func ();
33293 /* The GNU C library defines this for functions which it implements
33294 to always fail with ENOSYS. Some functions are actually named
33295 something starting with __ and the normal name is an alias. */
33296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33297 choke me
33298 #else
33299 char (*f) () = $ac_func;
33300 #endif
33301 #ifdef __cplusplus
33303 #endif
33306 main ()
33308 return f != $ac_func;
33310 return 0;
33312 _ACEOF
33313 rm -f conftest.$ac_objext conftest$ac_exeext
33314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33315 (eval $ac_link) 2>conftest.er1
33316 ac_status=$?
33317 grep -v '^ *+' conftest.er1 >conftest.err
33318 rm -f conftest.er1
33319 cat conftest.err >&5
33320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33321 (exit $ac_status); } &&
33322 { ac_try='test -z "$ac_c_werror_flag"
33323 || test ! -s conftest.err'
33324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33325 (eval $ac_try) 2>&5
33326 ac_status=$?
33327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33328 (exit $ac_status); }; } &&
33329 { ac_try='test -s conftest$ac_exeext'
33330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33331 (eval $ac_try) 2>&5
33332 ac_status=$?
33333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33334 (exit $ac_status); }; }; then
33335 eval "$as_ac_var=yes"
33336 else
33337 echo "$as_me: failed program was:" >&5
33338 sed 's/^/| /' conftest.$ac_ext >&5
33340 eval "$as_ac_var=no"
33342 rm -f conftest.err conftest.$ac_objext \
33343 conftest$ac_exeext conftest.$ac_ext
33345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33347 if test `eval echo '${'$as_ac_var'}'` = yes; then
33348 cat >>confdefs.h <<_ACEOF
33349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33350 _ACEOF
33353 done
33355 else
33357 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
33358 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
33359 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
33360 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
33361 echo $ECHO_N "(cached) $ECHO_C" >&6
33362 else
33366 ac_ext=cc
33367 ac_cpp='$CXXCPP $CPPFLAGS'
33368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33372 cat >conftest.$ac_ext <<_ACEOF
33373 /* confdefs.h. */
33374 _ACEOF
33375 cat confdefs.h >>conftest.$ac_ext
33376 cat >>conftest.$ac_ext <<_ACEOF
33377 /* end confdefs.h. */
33378 #include <math.h>
33380 main ()
33382 _copysign(0, 0);
33384 return 0;
33386 _ACEOF
33387 rm -f conftest.$ac_objext
33388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33389 (eval $ac_compile) 2>conftest.er1
33390 ac_status=$?
33391 grep -v '^ *+' conftest.er1 >conftest.err
33392 rm -f conftest.er1
33393 cat conftest.err >&5
33394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33395 (exit $ac_status); } &&
33396 { ac_try='test -z "$ac_cxx_werror_flag"
33397 || test ! -s conftest.err'
33398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33399 (eval $ac_try) 2>&5
33400 ac_status=$?
33401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33402 (exit $ac_status); }; } &&
33403 { ac_try='test -s conftest.$ac_objext'
33404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33405 (eval $ac_try) 2>&5
33406 ac_status=$?
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); }; }; then
33409 glibcxx_cv_func__copysign_use=yes
33410 else
33411 echo "$as_me: failed program was:" >&5
33412 sed 's/^/| /' conftest.$ac_ext >&5
33414 glibcxx_cv_func__copysign_use=no
33416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33417 ac_ext=c
33418 ac_cpp='$CPP $CPPFLAGS'
33419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33427 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
33428 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
33430 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
33432 for ac_func in _copysign
33434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33435 echo "$as_me:$LINENO: checking for $ac_func" >&5
33436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33437 if eval "test \"\${$as_ac_var+set}\" = set"; then
33438 echo $ECHO_N "(cached) $ECHO_C" >&6
33439 else
33440 if test x$gcc_no_link = xyes; then
33441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33443 { (exit 1); exit 1; }; }
33445 cat >conftest.$ac_ext <<_ACEOF
33446 /* confdefs.h. */
33447 _ACEOF
33448 cat confdefs.h >>conftest.$ac_ext
33449 cat >>conftest.$ac_ext <<_ACEOF
33450 /* end confdefs.h. */
33451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33453 #define $ac_func innocuous_$ac_func
33455 /* System header to define __stub macros and hopefully few prototypes,
33456 which can conflict with char $ac_func (); below.
33457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33458 <limits.h> exists even on freestanding compilers. */
33460 #ifdef __STDC__
33461 # include <limits.h>
33462 #else
33463 # include <assert.h>
33464 #endif
33466 #undef $ac_func
33468 /* Override any gcc2 internal prototype to avoid an error. */
33469 #ifdef __cplusplus
33470 extern "C"
33472 #endif
33473 /* We use char because int might match the return type of a gcc2
33474 builtin and then its argument prototype would still apply. */
33475 char $ac_func ();
33476 /* The GNU C library defines this for functions which it implements
33477 to always fail with ENOSYS. Some functions are actually named
33478 something starting with __ and the normal name is an alias. */
33479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33480 choke me
33481 #else
33482 char (*f) () = $ac_func;
33483 #endif
33484 #ifdef __cplusplus
33486 #endif
33489 main ()
33491 return f != $ac_func;
33493 return 0;
33495 _ACEOF
33496 rm -f conftest.$ac_objext conftest$ac_exeext
33497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33498 (eval $ac_link) 2>conftest.er1
33499 ac_status=$?
33500 grep -v '^ *+' conftest.er1 >conftest.err
33501 rm -f conftest.er1
33502 cat conftest.err >&5
33503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33504 (exit $ac_status); } &&
33505 { ac_try='test -z "$ac_c_werror_flag"
33506 || test ! -s conftest.err'
33507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33508 (eval $ac_try) 2>&5
33509 ac_status=$?
33510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33511 (exit $ac_status); }; } &&
33512 { ac_try='test -s conftest$ac_exeext'
33513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33514 (eval $ac_try) 2>&5
33515 ac_status=$?
33516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33517 (exit $ac_status); }; }; then
33518 eval "$as_ac_var=yes"
33519 else
33520 echo "$as_me: failed program was:" >&5
33521 sed 's/^/| /' conftest.$ac_ext >&5
33523 eval "$as_ac_var=no"
33525 rm -f conftest.err conftest.$ac_objext \
33526 conftest$ac_exeext conftest.$ac_ext
33528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33530 if test `eval echo '${'$as_ac_var'}'` = yes; then
33531 cat >>confdefs.h <<_ACEOF
33532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33533 _ACEOF
33536 done
33546 echo "$as_me:$LINENO: checking for sincos declaration" >&5
33547 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
33548 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33549 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
33550 echo $ECHO_N "(cached) $ECHO_C" >&6
33551 else
33555 ac_ext=cc
33556 ac_cpp='$CXXCPP $CPPFLAGS'
33557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33561 cat >conftest.$ac_ext <<_ACEOF
33562 /* confdefs.h. */
33563 _ACEOF
33564 cat confdefs.h >>conftest.$ac_ext
33565 cat >>conftest.$ac_ext <<_ACEOF
33566 /* end confdefs.h. */
33567 #include <math.h>
33569 main ()
33571 sincos(0, 0, 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_sincos_use=yes
33599 else
33600 echo "$as_me: failed program was:" >&5
33601 sed 's/^/| /' conftest.$ac_ext >&5
33603 glibcxx_cv_func_sincos_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_sincos_use" >&5
33617 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33619 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33621 for ac_func in sincos
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 _sincos declaration" >&5
33730 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33731 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33732 if test "${glibcxx_cv_func__sincos_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>
33752 main ()
33754 _sincos(0, 0, 0);
33756 return 0;
33758 _ACEOF
33759 rm -f conftest.$ac_objext
33760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33761 (eval $ac_compile) 2>conftest.er1
33762 ac_status=$?
33763 grep -v '^ *+' conftest.er1 >conftest.err
33764 rm -f conftest.er1
33765 cat conftest.err >&5
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); } &&
33768 { ac_try='test -z "$ac_cxx_werror_flag"
33769 || test ! -s conftest.err'
33770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33771 (eval $ac_try) 2>&5
33772 ac_status=$?
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); }; } &&
33775 { ac_try='test -s conftest.$ac_objext'
33776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33777 (eval $ac_try) 2>&5
33778 ac_status=$?
33779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33780 (exit $ac_status); }; }; then
33781 glibcxx_cv_func__sincos_use=yes
33782 else
33783 echo "$as_me: failed program was:" >&5
33784 sed 's/^/| /' conftest.$ac_ext >&5
33786 glibcxx_cv_func__sincos_use=no
33788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33789 ac_ext=c
33790 ac_cpp='$CPP $CPPFLAGS'
33791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33799 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33800 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33802 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33804 for ac_func in _sincos
33806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33807 echo "$as_me:$LINENO: checking for $ac_func" >&5
33808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33809 if eval "test \"\${$as_ac_var+set}\" = set"; then
33810 echo $ECHO_N "(cached) $ECHO_C" >&6
33811 else
33812 if test x$gcc_no_link = xyes; then
33813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33815 { (exit 1); exit 1; }; }
33817 cat >conftest.$ac_ext <<_ACEOF
33818 /* confdefs.h. */
33819 _ACEOF
33820 cat confdefs.h >>conftest.$ac_ext
33821 cat >>conftest.$ac_ext <<_ACEOF
33822 /* end confdefs.h. */
33823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33825 #define $ac_func innocuous_$ac_func
33827 /* System header to define __stub macros and hopefully few prototypes,
33828 which can conflict with char $ac_func (); below.
33829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33830 <limits.h> exists even on freestanding compilers. */
33832 #ifdef __STDC__
33833 # include <limits.h>
33834 #else
33835 # include <assert.h>
33836 #endif
33838 #undef $ac_func
33840 /* Override any gcc2 internal prototype to avoid an error. */
33841 #ifdef __cplusplus
33842 extern "C"
33844 #endif
33845 /* We use char because int might match the return type of a gcc2
33846 builtin and then its argument prototype would still apply. */
33847 char $ac_func ();
33848 /* The GNU C library defines this for functions which it implements
33849 to always fail with ENOSYS. Some functions are actually named
33850 something starting with __ and the normal name is an alias. */
33851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33852 choke me
33853 #else
33854 char (*f) () = $ac_func;
33855 #endif
33856 #ifdef __cplusplus
33858 #endif
33861 main ()
33863 return f != $ac_func;
33865 return 0;
33867 _ACEOF
33868 rm -f conftest.$ac_objext conftest$ac_exeext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33870 (eval $ac_link) 2>conftest.er1
33871 ac_status=$?
33872 grep -v '^ *+' conftest.er1 >conftest.err
33873 rm -f conftest.er1
33874 cat conftest.err >&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } &&
33877 { ac_try='test -z "$ac_c_werror_flag"
33878 || test ! -s conftest.err'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33881 ac_status=$?
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; } &&
33884 { ac_try='test -s conftest$ac_exeext'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33887 ac_status=$?
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 eval "$as_ac_var=yes"
33891 else
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.$ac_ext >&5
33895 eval "$as_ac_var=no"
33897 rm -f conftest.err conftest.$ac_objext \
33898 conftest$ac_exeext conftest.$ac_ext
33900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33902 if test `eval echo '${'$as_ac_var'}'` = yes; then
33903 cat >>confdefs.h <<_ACEOF
33904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33905 _ACEOF
33908 done
33918 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33919 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33920 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33921 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33922 echo $ECHO_N "(cached) $ECHO_C" >&6
33923 else
33927 ac_ext=cc
33928 ac_cpp='$CXXCPP $CPPFLAGS'
33929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33933 cat >conftest.$ac_ext <<_ACEOF
33934 /* confdefs.h. */
33935 _ACEOF
33936 cat confdefs.h >>conftest.$ac_ext
33937 cat >>conftest.$ac_ext <<_ACEOF
33938 /* end confdefs.h. */
33939 #include <math.h>
33940 #ifdef HAVE_IEEEFP_H
33941 #include <ieeefp.h>
33942 #endif
33945 main ()
33947 fpclass(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_fpclass_use=yes
33975 else
33976 echo "$as_me: failed program was:" >&5
33977 sed 's/^/| /' conftest.$ac_ext >&5
33979 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
33993 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33995 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33997 for ac_func in fpclass
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 _fpclass declaration" >&5
34106 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
34107 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34108 if test "${glibcxx_cv_func__fpclass_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>
34127 #ifdef HAVE_IEEEFP_H
34128 #include <ieeefp.h>
34129 #endif
34132 main ()
34134 _fpclass(0);
34136 return 0;
34138 _ACEOF
34139 rm -f conftest.$ac_objext
34140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34141 (eval $ac_compile) 2>conftest.er1
34142 ac_status=$?
34143 grep -v '^ *+' conftest.er1 >conftest.err
34144 rm -f conftest.er1
34145 cat conftest.err >&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } &&
34148 { ac_try='test -z "$ac_cxx_werror_flag"
34149 || test ! -s conftest.err'
34150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34151 (eval $ac_try) 2>&5
34152 ac_status=$?
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); }; } &&
34155 { ac_try='test -s conftest.$ac_objext'
34156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34157 (eval $ac_try) 2>&5
34158 ac_status=$?
34159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34160 (exit $ac_status); }; }; then
34161 glibcxx_cv_func__fpclass_use=yes
34162 else
34163 echo "$as_me: failed program was:" >&5
34164 sed 's/^/| /' conftest.$ac_ext >&5
34166 glibcxx_cv_func__fpclass_use=no
34168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34169 ac_ext=c
34170 ac_cpp='$CPP $CPPFLAGS'
34171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34179 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
34180 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
34182 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34184 for ac_func in _fpclass
34186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34187 echo "$as_me:$LINENO: checking for $ac_func" >&5
34188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34189 if eval "test \"\${$as_ac_var+set}\" = set"; then
34190 echo $ECHO_N "(cached) $ECHO_C" >&6
34191 else
34192 if test x$gcc_no_link = xyes; then
34193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34195 { (exit 1); exit 1; }; }
34197 cat >conftest.$ac_ext <<_ACEOF
34198 /* confdefs.h. */
34199 _ACEOF
34200 cat confdefs.h >>conftest.$ac_ext
34201 cat >>conftest.$ac_ext <<_ACEOF
34202 /* end confdefs.h. */
34203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34205 #define $ac_func innocuous_$ac_func
34207 /* System header to define __stub macros and hopefully few prototypes,
34208 which can conflict with char $ac_func (); below.
34209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34210 <limits.h> exists even on freestanding compilers. */
34212 #ifdef __STDC__
34213 # include <limits.h>
34214 #else
34215 # include <assert.h>
34216 #endif
34218 #undef $ac_func
34220 /* Override any gcc2 internal prototype to avoid an error. */
34221 #ifdef __cplusplus
34222 extern "C"
34224 #endif
34225 /* We use char because int might match the return type of a gcc2
34226 builtin and then its argument prototype would still apply. */
34227 char $ac_func ();
34228 /* The GNU C library defines this for functions which it implements
34229 to always fail with ENOSYS. Some functions are actually named
34230 something starting with __ and the normal name is an alias. */
34231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34232 choke me
34233 #else
34234 char (*f) () = $ac_func;
34235 #endif
34236 #ifdef __cplusplus
34238 #endif
34241 main ()
34243 return f != $ac_func;
34245 return 0;
34247 _ACEOF
34248 rm -f conftest.$ac_objext conftest$ac_exeext
34249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34250 (eval $ac_link) 2>conftest.er1
34251 ac_status=$?
34252 grep -v '^ *+' conftest.er1 >conftest.err
34253 rm -f conftest.er1
34254 cat conftest.err >&5
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); } &&
34257 { ac_try='test -z "$ac_c_werror_flag"
34258 || test ! -s conftest.err'
34259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34260 (eval $ac_try) 2>&5
34261 ac_status=$?
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); }; } &&
34264 { ac_try='test -s conftest$ac_exeext'
34265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34266 (eval $ac_try) 2>&5
34267 ac_status=$?
34268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269 (exit $ac_status); }; }; then
34270 eval "$as_ac_var=yes"
34271 else
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34275 eval "$as_ac_var=no"
34277 rm -f conftest.err conftest.$ac_objext \
34278 conftest$ac_exeext conftest.$ac_ext
34280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34282 if test `eval echo '${'$as_ac_var'}'` = yes; then
34283 cat >>confdefs.h <<_ACEOF
34284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34285 _ACEOF
34288 done
34298 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
34299 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
34300 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34301 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
34302 echo $ECHO_N "(cached) $ECHO_C" >&6
34303 else
34307 ac_ext=cc
34308 ac_cpp='$CXXCPP $CPPFLAGS'
34309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34313 cat >conftest.$ac_ext <<_ACEOF
34314 /* confdefs.h. */
34315 _ACEOF
34316 cat confdefs.h >>conftest.$ac_ext
34317 cat >>conftest.$ac_ext <<_ACEOF
34318 /* end confdefs.h. */
34319 #include <math.h>
34320 #ifdef HAVE_IEEEFP_H
34321 #include <ieeefp.h>
34322 #endif
34325 main ()
34327 qfpclass(0);
34329 return 0;
34331 _ACEOF
34332 rm -f conftest.$ac_objext
34333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34334 (eval $ac_compile) 2>conftest.er1
34335 ac_status=$?
34336 grep -v '^ *+' conftest.er1 >conftest.err
34337 rm -f conftest.er1
34338 cat conftest.err >&5
34339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34340 (exit $ac_status); } &&
34341 { ac_try='test -z "$ac_cxx_werror_flag"
34342 || test ! -s conftest.err'
34343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34344 (eval $ac_try) 2>&5
34345 ac_status=$?
34346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34347 (exit $ac_status); }; } &&
34348 { ac_try='test -s conftest.$ac_objext'
34349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34350 (eval $ac_try) 2>&5
34351 ac_status=$?
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); }; }; then
34354 glibcxx_cv_func_qfpclass_use=yes
34355 else
34356 echo "$as_me: failed program was:" >&5
34357 sed 's/^/| /' conftest.$ac_ext >&5
34359 glibcxx_cv_func_qfpclass_use=no
34361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34362 ac_ext=c
34363 ac_cpp='$CPP $CPPFLAGS'
34364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
34373 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
34375 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34377 for ac_func in qfpclass
34379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34380 echo "$as_me:$LINENO: checking for $ac_func" >&5
34381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34382 if eval "test \"\${$as_ac_var+set}\" = set"; then
34383 echo $ECHO_N "(cached) $ECHO_C" >&6
34384 else
34385 if test x$gcc_no_link = xyes; then
34386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34388 { (exit 1); exit 1; }; }
34390 cat >conftest.$ac_ext <<_ACEOF
34391 /* confdefs.h. */
34392 _ACEOF
34393 cat confdefs.h >>conftest.$ac_ext
34394 cat >>conftest.$ac_ext <<_ACEOF
34395 /* end confdefs.h. */
34396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34398 #define $ac_func innocuous_$ac_func
34400 /* System header to define __stub macros and hopefully few prototypes,
34401 which can conflict with char $ac_func (); below.
34402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34403 <limits.h> exists even on freestanding compilers. */
34405 #ifdef __STDC__
34406 # include <limits.h>
34407 #else
34408 # include <assert.h>
34409 #endif
34411 #undef $ac_func
34413 /* Override any gcc2 internal prototype to avoid an error. */
34414 #ifdef __cplusplus
34415 extern "C"
34417 #endif
34418 /* We use char because int might match the return type of a gcc2
34419 builtin and then its argument prototype would still apply. */
34420 char $ac_func ();
34421 /* The GNU C library defines this for functions which it implements
34422 to always fail with ENOSYS. Some functions are actually named
34423 something starting with __ and the normal name is an alias. */
34424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34425 choke me
34426 #else
34427 char (*f) () = $ac_func;
34428 #endif
34429 #ifdef __cplusplus
34431 #endif
34434 main ()
34436 return f != $ac_func;
34438 return 0;
34440 _ACEOF
34441 rm -f conftest.$ac_objext conftest$ac_exeext
34442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34443 (eval $ac_link) 2>conftest.er1
34444 ac_status=$?
34445 grep -v '^ *+' conftest.er1 >conftest.err
34446 rm -f conftest.er1
34447 cat conftest.err >&5
34448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34449 (exit $ac_status); } &&
34450 { ac_try='test -z "$ac_c_werror_flag"
34451 || test ! -s conftest.err'
34452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34453 (eval $ac_try) 2>&5
34454 ac_status=$?
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); }; } &&
34457 { ac_try='test -s conftest$ac_exeext'
34458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459 (eval $ac_try) 2>&5
34460 ac_status=$?
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); }; }; then
34463 eval "$as_ac_var=yes"
34464 else
34465 echo "$as_me: failed program was:" >&5
34466 sed 's/^/| /' conftest.$ac_ext >&5
34468 eval "$as_ac_var=no"
34470 rm -f conftest.err conftest.$ac_objext \
34471 conftest$ac_exeext conftest.$ac_ext
34473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34475 if test `eval echo '${'$as_ac_var'}'` = yes; then
34476 cat >>confdefs.h <<_ACEOF
34477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34478 _ACEOF
34481 done
34483 else
34485 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
34486 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
34487 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34488 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
34489 echo $ECHO_N "(cached) $ECHO_C" >&6
34490 else
34494 ac_ext=cc
34495 ac_cpp='$CXXCPP $CPPFLAGS'
34496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34500 cat >conftest.$ac_ext <<_ACEOF
34501 /* confdefs.h. */
34502 _ACEOF
34503 cat confdefs.h >>conftest.$ac_ext
34504 cat >>conftest.$ac_ext <<_ACEOF
34505 /* end confdefs.h. */
34506 #include <math.h>
34507 #ifdef HAVE_IEEEFP_H
34508 #include <ieeefp.h>
34509 #endif
34512 main ()
34514 _qfpclass(0);
34516 return 0;
34518 _ACEOF
34519 rm -f conftest.$ac_objext
34520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34521 (eval $ac_compile) 2>conftest.er1
34522 ac_status=$?
34523 grep -v '^ *+' conftest.er1 >conftest.err
34524 rm -f conftest.er1
34525 cat conftest.err >&5
34526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); } &&
34528 { ac_try='test -z "$ac_cxx_werror_flag"
34529 || test ! -s conftest.err'
34530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34531 (eval $ac_try) 2>&5
34532 ac_status=$?
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); }; } &&
34535 { ac_try='test -s conftest.$ac_objext'
34536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34537 (eval $ac_try) 2>&5
34538 ac_status=$?
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); }; }; then
34541 glibcxx_cv_func__qfpclass_use=yes
34542 else
34543 echo "$as_me: failed program was:" >&5
34544 sed 's/^/| /' conftest.$ac_ext >&5
34546 glibcxx_cv_func__qfpclass_use=no
34548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34549 ac_ext=c
34550 ac_cpp='$CPP $CPPFLAGS'
34551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34559 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
34560 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
34562 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34564 for ac_func in _qfpclass
34566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34567 echo "$as_me:$LINENO: checking for $ac_func" >&5
34568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34569 if eval "test \"\${$as_ac_var+set}\" = set"; then
34570 echo $ECHO_N "(cached) $ECHO_C" >&6
34571 else
34572 if test x$gcc_no_link = xyes; then
34573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34575 { (exit 1); exit 1; }; }
34577 cat >conftest.$ac_ext <<_ACEOF
34578 /* confdefs.h. */
34579 _ACEOF
34580 cat confdefs.h >>conftest.$ac_ext
34581 cat >>conftest.$ac_ext <<_ACEOF
34582 /* end confdefs.h. */
34583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34585 #define $ac_func innocuous_$ac_func
34587 /* System header to define __stub macros and hopefully few prototypes,
34588 which can conflict with char $ac_func (); below.
34589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34590 <limits.h> exists even on freestanding compilers. */
34592 #ifdef __STDC__
34593 # include <limits.h>
34594 #else
34595 # include <assert.h>
34596 #endif
34598 #undef $ac_func
34600 /* Override any gcc2 internal prototype to avoid an error. */
34601 #ifdef __cplusplus
34602 extern "C"
34604 #endif
34605 /* We use char because int might match the return type of a gcc2
34606 builtin and then its argument prototype would still apply. */
34607 char $ac_func ();
34608 /* The GNU C library defines this for functions which it implements
34609 to always fail with ENOSYS. Some functions are actually named
34610 something starting with __ and the normal name is an alias. */
34611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34612 choke me
34613 #else
34614 char (*f) () = $ac_func;
34615 #endif
34616 #ifdef __cplusplus
34618 #endif
34621 main ()
34623 return f != $ac_func;
34625 return 0;
34627 _ACEOF
34628 rm -f conftest.$ac_objext conftest$ac_exeext
34629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34630 (eval $ac_link) 2>conftest.er1
34631 ac_status=$?
34632 grep -v '^ *+' conftest.er1 >conftest.err
34633 rm -f conftest.er1
34634 cat conftest.err >&5
34635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34636 (exit $ac_status); } &&
34637 { ac_try='test -z "$ac_c_werror_flag"
34638 || test ! -s conftest.err'
34639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34640 (eval $ac_try) 2>&5
34641 ac_status=$?
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); }; } &&
34644 { ac_try='test -s conftest$ac_exeext'
34645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34646 (eval $ac_try) 2>&5
34647 ac_status=$?
34648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34649 (exit $ac_status); }; }; then
34650 eval "$as_ac_var=yes"
34651 else
34652 echo "$as_me: failed program was:" >&5
34653 sed 's/^/| /' conftest.$ac_ext >&5
34655 eval "$as_ac_var=no"
34657 rm -f conftest.err conftest.$ac_objext \
34658 conftest$ac_exeext conftest.$ac_ext
34660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34662 if test `eval echo '${'$as_ac_var'}'` = yes; then
34663 cat >>confdefs.h <<_ACEOF
34664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34665 _ACEOF
34668 done
34678 echo "$as_me:$LINENO: checking for hypot declaration" >&5
34679 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34680 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34681 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34682 echo $ECHO_N "(cached) $ECHO_C" >&6
34683 else
34687 ac_ext=cc
34688 ac_cpp='$CXXCPP $CPPFLAGS'
34689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34693 cat >conftest.$ac_ext <<_ACEOF
34694 /* confdefs.h. */
34695 _ACEOF
34696 cat confdefs.h >>conftest.$ac_ext
34697 cat >>conftest.$ac_ext <<_ACEOF
34698 /* end confdefs.h. */
34699 #include <math.h>
34701 main ()
34703 hypot(0, 0);
34705 return 0;
34707 _ACEOF
34708 rm -f conftest.$ac_objext
34709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34710 (eval $ac_compile) 2>conftest.er1
34711 ac_status=$?
34712 grep -v '^ *+' conftest.er1 >conftest.err
34713 rm -f conftest.er1
34714 cat conftest.err >&5
34715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716 (exit $ac_status); } &&
34717 { ac_try='test -z "$ac_cxx_werror_flag"
34718 || test ! -s conftest.err'
34719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34720 (eval $ac_try) 2>&5
34721 ac_status=$?
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); }; } &&
34724 { ac_try='test -s conftest.$ac_objext'
34725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34726 (eval $ac_try) 2>&5
34727 ac_status=$?
34728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34729 (exit $ac_status); }; }; then
34730 glibcxx_cv_func_hypot_use=yes
34731 else
34732 echo "$as_me: failed program was:" >&5
34733 sed 's/^/| /' conftest.$ac_ext >&5
34735 glibcxx_cv_func_hypot_use=no
34737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34738 ac_ext=c
34739 ac_cpp='$CPP $CPPFLAGS'
34740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34749 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34751 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34753 for ac_func in hypot
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
34861 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34862 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34863 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34864 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34865 echo $ECHO_N "(cached) $ECHO_C" >&6
34866 else
34870 ac_ext=cc
34871 ac_cpp='$CXXCPP $CPPFLAGS'
34872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34876 cat >conftest.$ac_ext <<_ACEOF
34877 /* confdefs.h. */
34878 _ACEOF
34879 cat confdefs.h >>conftest.$ac_ext
34880 cat >>conftest.$ac_ext <<_ACEOF
34881 /* end confdefs.h. */
34882 #include <math.h>
34884 main ()
34886 _hypot(0, 0);
34888 return 0;
34890 _ACEOF
34891 rm -f conftest.$ac_objext
34892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34893 (eval $ac_compile) 2>conftest.er1
34894 ac_status=$?
34895 grep -v '^ *+' conftest.er1 >conftest.err
34896 rm -f conftest.er1
34897 cat conftest.err >&5
34898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34899 (exit $ac_status); } &&
34900 { ac_try='test -z "$ac_cxx_werror_flag"
34901 || test ! -s conftest.err'
34902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34903 (eval $ac_try) 2>&5
34904 ac_status=$?
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); }; } &&
34907 { ac_try='test -s conftest.$ac_objext'
34908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34909 (eval $ac_try) 2>&5
34910 ac_status=$?
34911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34912 (exit $ac_status); }; }; then
34913 glibcxx_cv_func__hypot_use=yes
34914 else
34915 echo "$as_me: failed program was:" >&5
34916 sed 's/^/| /' conftest.$ac_ext >&5
34918 glibcxx_cv_func__hypot_use=no
34920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34921 ac_ext=c
34922 ac_cpp='$CPP $CPPFLAGS'
34923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34931 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34932 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34934 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34936 for ac_func in _hypot
34938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34939 echo "$as_me:$LINENO: checking for $ac_func" >&5
34940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34941 if eval "test \"\${$as_ac_var+set}\" = set"; then
34942 echo $ECHO_N "(cached) $ECHO_C" >&6
34943 else
34944 if test x$gcc_no_link = xyes; then
34945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34947 { (exit 1); exit 1; }; }
34949 cat >conftest.$ac_ext <<_ACEOF
34950 /* confdefs.h. */
34951 _ACEOF
34952 cat confdefs.h >>conftest.$ac_ext
34953 cat >>conftest.$ac_ext <<_ACEOF
34954 /* end confdefs.h. */
34955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34957 #define $ac_func innocuous_$ac_func
34959 /* System header to define __stub macros and hopefully few prototypes,
34960 which can conflict with char $ac_func (); below.
34961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34962 <limits.h> exists even on freestanding compilers. */
34964 #ifdef __STDC__
34965 # include <limits.h>
34966 #else
34967 # include <assert.h>
34968 #endif
34970 #undef $ac_func
34972 /* Override any gcc2 internal prototype to avoid an error. */
34973 #ifdef __cplusplus
34974 extern "C"
34976 #endif
34977 /* We use char because int might match the return type of a gcc2
34978 builtin and then its argument prototype would still apply. */
34979 char $ac_func ();
34980 /* The GNU C library defines this for functions which it implements
34981 to always fail with ENOSYS. Some functions are actually named
34982 something starting with __ and the normal name is an alias. */
34983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34984 choke me
34985 #else
34986 char (*f) () = $ac_func;
34987 #endif
34988 #ifdef __cplusplus
34990 #endif
34993 main ()
34995 return f != $ac_func;
34997 return 0;
34999 _ACEOF
35000 rm -f conftest.$ac_objext conftest$ac_exeext
35001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35002 (eval $ac_link) 2>conftest.er1
35003 ac_status=$?
35004 grep -v '^ *+' conftest.er1 >conftest.err
35005 rm -f conftest.er1
35006 cat conftest.err >&5
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); } &&
35009 { ac_try='test -z "$ac_c_werror_flag"
35010 || test ! -s conftest.err'
35011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35012 (eval $ac_try) 2>&5
35013 ac_status=$?
35014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35015 (exit $ac_status); }; } &&
35016 { ac_try='test -s conftest$ac_exeext'
35017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35018 (eval $ac_try) 2>&5
35019 ac_status=$?
35020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35021 (exit $ac_status); }; }; then
35022 eval "$as_ac_var=yes"
35023 else
35024 echo "$as_me: failed program was:" >&5
35025 sed 's/^/| /' conftest.$ac_ext >&5
35027 eval "$as_ac_var=no"
35029 rm -f conftest.err conftest.$ac_objext \
35030 conftest$ac_exeext conftest.$ac_ext
35032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35034 if test `eval echo '${'$as_ac_var'}'` = yes; then
35035 cat >>confdefs.h <<_ACEOF
35036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35037 _ACEOF
35040 done
35050 echo "$as_me:$LINENO: checking for float trig functions" >&5
35051 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35052 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35053 echo $ECHO_N "(cached) $ECHO_C" >&6
35054 else
35058 ac_ext=cc
35059 ac_cpp='$CXXCPP $CPPFLAGS'
35060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35064 cat >conftest.$ac_ext <<_ACEOF
35065 /* confdefs.h. */
35066 _ACEOF
35067 cat confdefs.h >>conftest.$ac_ext
35068 cat >>conftest.$ac_ext <<_ACEOF
35069 /* end confdefs.h. */
35070 #include <math.h>
35072 main ()
35074 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35076 return 0;
35078 _ACEOF
35079 rm -f conftest.$ac_objext
35080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35081 (eval $ac_compile) 2>conftest.er1
35082 ac_status=$?
35083 grep -v '^ *+' conftest.er1 >conftest.err
35084 rm -f conftest.er1
35085 cat conftest.err >&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); } &&
35088 { ac_try='test -z "$ac_cxx_werror_flag"
35089 || test ! -s conftest.err'
35090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091 (eval $ac_try) 2>&5
35092 ac_status=$?
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; } &&
35095 { ac_try='test -s conftest.$ac_objext'
35096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35097 (eval $ac_try) 2>&5
35098 ac_status=$?
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); }; }; then
35101 glibcxx_cv_func_float_trig_use=yes
35102 else
35103 echo "$as_me: failed program was:" >&5
35104 sed 's/^/| /' conftest.$ac_ext >&5
35106 glibcxx_cv_func_float_trig_use=no
35108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35109 ac_ext=c
35110 ac_cpp='$CPP $CPPFLAGS'
35111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35117 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
35118 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
35119 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35129 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35132 echo "$as_me:$LINENO: checking for $ac_func" >&5
35133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35134 if eval "test \"\${$as_ac_var+set}\" = set"; then
35135 echo $ECHO_N "(cached) $ECHO_C" >&6
35136 else
35137 if test x$gcc_no_link = xyes; then
35138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35140 { (exit 1); exit 1; }; }
35142 cat >conftest.$ac_ext <<_ACEOF
35143 /* confdefs.h. */
35144 _ACEOF
35145 cat confdefs.h >>conftest.$ac_ext
35146 cat >>conftest.$ac_ext <<_ACEOF
35147 /* end confdefs.h. */
35148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35150 #define $ac_func innocuous_$ac_func
35152 /* System header to define __stub macros and hopefully few prototypes,
35153 which can conflict with char $ac_func (); below.
35154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35155 <limits.h> exists even on freestanding compilers. */
35157 #ifdef __STDC__
35158 # include <limits.h>
35159 #else
35160 # include <assert.h>
35161 #endif
35163 #undef $ac_func
35165 /* Override any gcc2 internal prototype to avoid an error. */
35166 #ifdef __cplusplus
35167 extern "C"
35169 #endif
35170 /* We use char because int might match the return type of a gcc2
35171 builtin and then its argument prototype would still apply. */
35172 char $ac_func ();
35173 /* The GNU C library defines this for functions which it implements
35174 to always fail with ENOSYS. Some functions are actually named
35175 something starting with __ and the normal name is an alias. */
35176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35177 choke me
35178 #else
35179 char (*f) () = $ac_func;
35180 #endif
35181 #ifdef __cplusplus
35183 #endif
35186 main ()
35188 return f != $ac_func;
35190 return 0;
35192 _ACEOF
35193 rm -f conftest.$ac_objext conftest$ac_exeext
35194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35195 (eval $ac_link) 2>conftest.er1
35196 ac_status=$?
35197 grep -v '^ *+' conftest.er1 >conftest.err
35198 rm -f conftest.er1
35199 cat conftest.err >&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); } &&
35202 { ac_try='test -z "$ac_c_werror_flag"
35203 || test ! -s conftest.err'
35204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35205 (eval $ac_try) 2>&5
35206 ac_status=$?
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); }; } &&
35209 { ac_try='test -s conftest$ac_exeext'
35210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35211 (eval $ac_try) 2>&5
35212 ac_status=$?
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); }; }; then
35215 eval "$as_ac_var=yes"
35216 else
35217 echo "$as_me: failed program was:" >&5
35218 sed 's/^/| /' conftest.$ac_ext >&5
35220 eval "$as_ac_var=no"
35222 rm -f conftest.err conftest.$ac_objext \
35223 conftest$ac_exeext conftest.$ac_ext
35225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35227 if test `eval echo '${'$as_ac_var'}'` = yes; then
35228 cat >>confdefs.h <<_ACEOF
35229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35230 _ACEOF
35233 done
35235 else
35236 echo "$as_me:$LINENO: checking for _float trig functions" >&5
35237 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
35238 if test "${glibcxx_cv_func__float_trig_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>
35258 main ()
35260 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35262 return 0;
35264 _ACEOF
35265 rm -f conftest.$ac_objext
35266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35267 (eval $ac_compile) 2>conftest.er1
35268 ac_status=$?
35269 grep -v '^ *+' conftest.er1 >conftest.err
35270 rm -f conftest.er1
35271 cat conftest.err >&5
35272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273 (exit $ac_status); } &&
35274 { ac_try='test -z "$ac_cxx_werror_flag"
35275 || test ! -s conftest.err'
35276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35277 (eval $ac_try) 2>&5
35278 ac_status=$?
35279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35280 (exit $ac_status); }; } &&
35281 { ac_try='test -s conftest.$ac_objext'
35282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35283 (eval $ac_try) 2>&5
35284 ac_status=$?
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); }; }; then
35287 glibcxx_cv_func__float_trig_use=yes
35288 else
35289 echo "$as_me: failed program was:" >&5
35290 sed 's/^/| /' conftest.$ac_ext >&5
35292 glibcxx_cv_func__float_trig_use=no
35294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35295 ac_ext=c
35296 ac_cpp='$CPP $CPPFLAGS'
35297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
35304 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
35305 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35315 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35318 echo "$as_me:$LINENO: checking for $ac_func" >&5
35319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35320 if eval "test \"\${$as_ac_var+set}\" = set"; then
35321 echo $ECHO_N "(cached) $ECHO_C" >&6
35322 else
35323 if test x$gcc_no_link = xyes; then
35324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35326 { (exit 1); exit 1; }; }
35328 cat >conftest.$ac_ext <<_ACEOF
35329 /* confdefs.h. */
35330 _ACEOF
35331 cat confdefs.h >>conftest.$ac_ext
35332 cat >>conftest.$ac_ext <<_ACEOF
35333 /* end confdefs.h. */
35334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35336 #define $ac_func innocuous_$ac_func
35338 /* System header to define __stub macros and hopefully few prototypes,
35339 which can conflict with char $ac_func (); below.
35340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35341 <limits.h> exists even on freestanding compilers. */
35343 #ifdef __STDC__
35344 # include <limits.h>
35345 #else
35346 # include <assert.h>
35347 #endif
35349 #undef $ac_func
35351 /* Override any gcc2 internal prototype to avoid an error. */
35352 #ifdef __cplusplus
35353 extern "C"
35355 #endif
35356 /* We use char because int might match the return type of a gcc2
35357 builtin and then its argument prototype would still apply. */
35358 char $ac_func ();
35359 /* The GNU C library defines this for functions which it implements
35360 to always fail with ENOSYS. Some functions are actually named
35361 something starting with __ and the normal name is an alias. */
35362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35363 choke me
35364 #else
35365 char (*f) () = $ac_func;
35366 #endif
35367 #ifdef __cplusplus
35369 #endif
35372 main ()
35374 return f != $ac_func;
35376 return 0;
35378 _ACEOF
35379 rm -f conftest.$ac_objext conftest$ac_exeext
35380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35381 (eval $ac_link) 2>conftest.er1
35382 ac_status=$?
35383 grep -v '^ *+' conftest.er1 >conftest.err
35384 rm -f conftest.er1
35385 cat conftest.err >&5
35386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35387 (exit $ac_status); } &&
35388 { ac_try='test -z "$ac_c_werror_flag"
35389 || test ! -s conftest.err'
35390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35391 (eval $ac_try) 2>&5
35392 ac_status=$?
35393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35394 (exit $ac_status); }; } &&
35395 { ac_try='test -s conftest$ac_exeext'
35396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35397 (eval $ac_try) 2>&5
35398 ac_status=$?
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); }; }; then
35401 eval "$as_ac_var=yes"
35402 else
35403 echo "$as_me: failed program was:" >&5
35404 sed 's/^/| /' conftest.$ac_ext >&5
35406 eval "$as_ac_var=no"
35408 rm -f conftest.err conftest.$ac_objext \
35409 conftest$ac_exeext conftest.$ac_ext
35411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35413 if test `eval echo '${'$as_ac_var'}'` = yes; then
35414 cat >>confdefs.h <<_ACEOF
35415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35416 _ACEOF
35419 done
35437 echo "$as_me:$LINENO: checking for float round functions" >&5
35438 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
35439 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
35440 echo $ECHO_N "(cached) $ECHO_C" >&6
35441 else
35445 ac_ext=cc
35446 ac_cpp='$CXXCPP $CPPFLAGS'
35447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35451 cat >conftest.$ac_ext <<_ACEOF
35452 /* confdefs.h. */
35453 _ACEOF
35454 cat confdefs.h >>conftest.$ac_ext
35455 cat >>conftest.$ac_ext <<_ACEOF
35456 /* end confdefs.h. */
35457 #include <math.h>
35459 main ()
35461 ceilf (0); floorf (0);
35463 return 0;
35465 _ACEOF
35466 rm -f conftest.$ac_objext
35467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35468 (eval $ac_compile) 2>conftest.er1
35469 ac_status=$?
35470 grep -v '^ *+' conftest.er1 >conftest.err
35471 rm -f conftest.er1
35472 cat conftest.err >&5
35473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35474 (exit $ac_status); } &&
35475 { ac_try='test -z "$ac_cxx_werror_flag"
35476 || test ! -s conftest.err'
35477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35478 (eval $ac_try) 2>&5
35479 ac_status=$?
35480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35481 (exit $ac_status); }; } &&
35482 { ac_try='test -s conftest.$ac_objext'
35483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35484 (eval $ac_try) 2>&5
35485 ac_status=$?
35486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487 (exit $ac_status); }; }; then
35488 glibcxx_cv_func_float_round_use=yes
35489 else
35490 echo "$as_me: failed program was:" >&5
35491 sed 's/^/| /' conftest.$ac_ext >&5
35493 glibcxx_cv_func_float_round_use=no
35495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35496 ac_ext=c
35497 ac_cpp='$CPP $CPPFLAGS'
35498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
35505 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
35506 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35509 for ac_func in ceilf floorf
35511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35512 echo "$as_me:$LINENO: checking for $ac_func" >&5
35513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35514 if eval "test \"\${$as_ac_var+set}\" = set"; then
35515 echo $ECHO_N "(cached) $ECHO_C" >&6
35516 else
35517 if test x$gcc_no_link = xyes; then
35518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35520 { (exit 1); exit 1; }; }
35522 cat >conftest.$ac_ext <<_ACEOF
35523 /* confdefs.h. */
35524 _ACEOF
35525 cat confdefs.h >>conftest.$ac_ext
35526 cat >>conftest.$ac_ext <<_ACEOF
35527 /* end confdefs.h. */
35528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35530 #define $ac_func innocuous_$ac_func
35532 /* System header to define __stub macros and hopefully few prototypes,
35533 which can conflict with char $ac_func (); below.
35534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35535 <limits.h> exists even on freestanding compilers. */
35537 #ifdef __STDC__
35538 # include <limits.h>
35539 #else
35540 # include <assert.h>
35541 #endif
35543 #undef $ac_func
35545 /* Override any gcc2 internal prototype to avoid an error. */
35546 #ifdef __cplusplus
35547 extern "C"
35549 #endif
35550 /* We use char because int might match the return type of a gcc2
35551 builtin and then its argument prototype would still apply. */
35552 char $ac_func ();
35553 /* The GNU C library defines this for functions which it implements
35554 to always fail with ENOSYS. Some functions are actually named
35555 something starting with __ and the normal name is an alias. */
35556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35557 choke me
35558 #else
35559 char (*f) () = $ac_func;
35560 #endif
35561 #ifdef __cplusplus
35563 #endif
35566 main ()
35568 return f != $ac_func;
35570 return 0;
35572 _ACEOF
35573 rm -f conftest.$ac_objext conftest$ac_exeext
35574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35575 (eval $ac_link) 2>conftest.er1
35576 ac_status=$?
35577 grep -v '^ *+' conftest.er1 >conftest.err
35578 rm -f conftest.er1
35579 cat conftest.err >&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); } &&
35582 { ac_try='test -z "$ac_c_werror_flag"
35583 || test ! -s conftest.err'
35584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35585 (eval $ac_try) 2>&5
35586 ac_status=$?
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); }; } &&
35589 { ac_try='test -s conftest$ac_exeext'
35590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35591 (eval $ac_try) 2>&5
35592 ac_status=$?
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); }; }; then
35595 eval "$as_ac_var=yes"
35596 else
35597 echo "$as_me: failed program was:" >&5
35598 sed 's/^/| /' conftest.$ac_ext >&5
35600 eval "$as_ac_var=no"
35602 rm -f conftest.err conftest.$ac_objext \
35603 conftest$ac_exeext conftest.$ac_ext
35605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35607 if test `eval echo '${'$as_ac_var'}'` = yes; then
35608 cat >>confdefs.h <<_ACEOF
35609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35610 _ACEOF
35613 done
35615 else
35616 echo "$as_me:$LINENO: checking for _float round functions" >&5
35617 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
35618 if test "${glibcxx_cv_func__float_round_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>
35638 main ()
35640 _ceilf (0); _floorf (0);
35642 return 0;
35644 _ACEOF
35645 rm -f conftest.$ac_objext
35646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35647 (eval $ac_compile) 2>conftest.er1
35648 ac_status=$?
35649 grep -v '^ *+' conftest.er1 >conftest.err
35650 rm -f conftest.er1
35651 cat conftest.err >&5
35652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35653 (exit $ac_status); } &&
35654 { ac_try='test -z "$ac_cxx_werror_flag"
35655 || test ! -s conftest.err'
35656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35657 (eval $ac_try) 2>&5
35658 ac_status=$?
35659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35660 (exit $ac_status); }; } &&
35661 { ac_try='test -s conftest.$ac_objext'
35662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35663 (eval $ac_try) 2>&5
35664 ac_status=$?
35665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35666 (exit $ac_status); }; }; then
35667 glibcxx_cv_func__float_round_use=yes
35668 else
35669 echo "$as_me: failed program was:" >&5
35670 sed 's/^/| /' conftest.$ac_ext >&5
35672 glibcxx_cv_func__float_round_use=no
35674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35675 ac_ext=c
35676 ac_cpp='$CPP $CPPFLAGS'
35677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35683 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
35684 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
35685 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35688 for ac_func in _ceilf _floorf
35690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35691 echo "$as_me:$LINENO: checking for $ac_func" >&5
35692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35693 if eval "test \"\${$as_ac_var+set}\" = set"; then
35694 echo $ECHO_N "(cached) $ECHO_C" >&6
35695 else
35696 if test x$gcc_no_link = xyes; then
35697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35699 { (exit 1); exit 1; }; }
35701 cat >conftest.$ac_ext <<_ACEOF
35702 /* confdefs.h. */
35703 _ACEOF
35704 cat confdefs.h >>conftest.$ac_ext
35705 cat >>conftest.$ac_ext <<_ACEOF
35706 /* end confdefs.h. */
35707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35709 #define $ac_func innocuous_$ac_func
35711 /* System header to define __stub macros and hopefully few prototypes,
35712 which can conflict with char $ac_func (); below.
35713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35714 <limits.h> exists even on freestanding compilers. */
35716 #ifdef __STDC__
35717 # include <limits.h>
35718 #else
35719 # include <assert.h>
35720 #endif
35722 #undef $ac_func
35724 /* Override any gcc2 internal prototype to avoid an error. */
35725 #ifdef __cplusplus
35726 extern "C"
35728 #endif
35729 /* We use char because int might match the return type of a gcc2
35730 builtin and then its argument prototype would still apply. */
35731 char $ac_func ();
35732 /* The GNU C library defines this for functions which it implements
35733 to always fail with ENOSYS. Some functions are actually named
35734 something starting with __ and the normal name is an alias. */
35735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35736 choke me
35737 #else
35738 char (*f) () = $ac_func;
35739 #endif
35740 #ifdef __cplusplus
35742 #endif
35745 main ()
35747 return f != $ac_func;
35749 return 0;
35751 _ACEOF
35752 rm -f conftest.$ac_objext conftest$ac_exeext
35753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35754 (eval $ac_link) 2>conftest.er1
35755 ac_status=$?
35756 grep -v '^ *+' conftest.er1 >conftest.err
35757 rm -f conftest.er1
35758 cat conftest.err >&5
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); } &&
35761 { ac_try='test -z "$ac_c_werror_flag"
35762 || test ! -s conftest.err'
35763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35764 (eval $ac_try) 2>&5
35765 ac_status=$?
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); }; } &&
35768 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
35774 eval "$as_ac_var=yes"
35775 else
35776 echo "$as_me: failed program was:" >&5
35777 sed 's/^/| /' conftest.$ac_ext >&5
35779 eval "$as_ac_var=no"
35781 rm -f conftest.err conftest.$ac_objext \
35782 conftest$ac_exeext conftest.$ac_ext
35784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35786 if test `eval echo '${'$as_ac_var'}'` = yes; then
35787 cat >>confdefs.h <<_ACEOF
35788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35789 _ACEOF
35792 done
35804 echo "$as_me:$LINENO: checking for expf declaration" >&5
35805 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
35806 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35807 if test "${glibcxx_cv_func_expf_use+set}" = set; then
35808 echo $ECHO_N "(cached) $ECHO_C" >&6
35809 else
35813 ac_ext=cc
35814 ac_cpp='$CXXCPP $CPPFLAGS'
35815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35819 cat >conftest.$ac_ext <<_ACEOF
35820 /* confdefs.h. */
35821 _ACEOF
35822 cat confdefs.h >>conftest.$ac_ext
35823 cat >>conftest.$ac_ext <<_ACEOF
35824 /* end confdefs.h. */
35825 #include <math.h>
35826 #ifdef HAVE_IEEEFP_H
35827 #include <ieeefp.h>
35828 #endif
35831 main ()
35833 expf(0);
35835 return 0;
35837 _ACEOF
35838 rm -f conftest.$ac_objext
35839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35840 (eval $ac_compile) 2>conftest.er1
35841 ac_status=$?
35842 grep -v '^ *+' conftest.er1 >conftest.err
35843 rm -f conftest.er1
35844 cat conftest.err >&5
35845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35846 (exit $ac_status); } &&
35847 { ac_try='test -z "$ac_cxx_werror_flag"
35848 || test ! -s conftest.err'
35849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35850 (eval $ac_try) 2>&5
35851 ac_status=$?
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); }; } &&
35854 { ac_try='test -s conftest.$ac_objext'
35855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856 (eval $ac_try) 2>&5
35857 ac_status=$?
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); }; }; then
35860 glibcxx_cv_func_expf_use=yes
35861 else
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35865 glibcxx_cv_func_expf_use=no
35867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35868 ac_ext=c
35869 ac_cpp='$CPP $CPPFLAGS'
35870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35878 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
35879 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
35881 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35883 for ac_func in expf
35885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35886 echo "$as_me:$LINENO: checking for $ac_func" >&5
35887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35888 if eval "test \"\${$as_ac_var+set}\" = set"; then
35889 echo $ECHO_N "(cached) $ECHO_C" >&6
35890 else
35891 if test x$gcc_no_link = xyes; then
35892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35894 { (exit 1); exit 1; }; }
35896 cat >conftest.$ac_ext <<_ACEOF
35897 /* confdefs.h. */
35898 _ACEOF
35899 cat confdefs.h >>conftest.$ac_ext
35900 cat >>conftest.$ac_ext <<_ACEOF
35901 /* end confdefs.h. */
35902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35904 #define $ac_func innocuous_$ac_func
35906 /* System header to define __stub macros and hopefully few prototypes,
35907 which can conflict with char $ac_func (); below.
35908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35909 <limits.h> exists even on freestanding compilers. */
35911 #ifdef __STDC__
35912 # include <limits.h>
35913 #else
35914 # include <assert.h>
35915 #endif
35917 #undef $ac_func
35919 /* Override any gcc2 internal prototype to avoid an error. */
35920 #ifdef __cplusplus
35921 extern "C"
35923 #endif
35924 /* We use char because int might match the return type of a gcc2
35925 builtin and then its argument prototype would still apply. */
35926 char $ac_func ();
35927 /* The GNU C library defines this for functions which it implements
35928 to always fail with ENOSYS. Some functions are actually named
35929 something starting with __ and the normal name is an alias. */
35930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35931 choke me
35932 #else
35933 char (*f) () = $ac_func;
35934 #endif
35935 #ifdef __cplusplus
35937 #endif
35940 main ()
35942 return f != $ac_func;
35944 return 0;
35946 _ACEOF
35947 rm -f conftest.$ac_objext conftest$ac_exeext
35948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35949 (eval $ac_link) 2>conftest.er1
35950 ac_status=$?
35951 grep -v '^ *+' conftest.er1 >conftest.err
35952 rm -f conftest.er1
35953 cat conftest.err >&5
35954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35955 (exit $ac_status); } &&
35956 { ac_try='test -z "$ac_c_werror_flag"
35957 || test ! -s conftest.err'
35958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35959 (eval $ac_try) 2>&5
35960 ac_status=$?
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); }; } &&
35963 { ac_try='test -s conftest$ac_exeext'
35964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35965 (eval $ac_try) 2>&5
35966 ac_status=$?
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); }; }; then
35969 eval "$as_ac_var=yes"
35970 else
35971 echo "$as_me: failed program was:" >&5
35972 sed 's/^/| /' conftest.$ac_ext >&5
35974 eval "$as_ac_var=no"
35976 rm -f conftest.err conftest.$ac_objext \
35977 conftest$ac_exeext conftest.$ac_ext
35979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35981 if test `eval echo '${'$as_ac_var'}'` = yes; then
35982 cat >>confdefs.h <<_ACEOF
35983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35984 _ACEOF
35987 done
35989 else
35991 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35992 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35993 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35994 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35995 echo $ECHO_N "(cached) $ECHO_C" >&6
35996 else
36000 ac_ext=cc
36001 ac_cpp='$CXXCPP $CPPFLAGS'
36002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36006 cat >conftest.$ac_ext <<_ACEOF
36007 /* confdefs.h. */
36008 _ACEOF
36009 cat confdefs.h >>conftest.$ac_ext
36010 cat >>conftest.$ac_ext <<_ACEOF
36011 /* end confdefs.h. */
36012 #include <math.h>
36013 #ifdef HAVE_IEEEFP_H
36014 #include <ieeefp.h>
36015 #endif
36018 main ()
36020 _expf(0);
36022 return 0;
36024 _ACEOF
36025 rm -f conftest.$ac_objext
36026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36027 (eval $ac_compile) 2>conftest.er1
36028 ac_status=$?
36029 grep -v '^ *+' conftest.er1 >conftest.err
36030 rm -f conftest.er1
36031 cat conftest.err >&5
36032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36033 (exit $ac_status); } &&
36034 { ac_try='test -z "$ac_cxx_werror_flag"
36035 || test ! -s conftest.err'
36036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36037 (eval $ac_try) 2>&5
36038 ac_status=$?
36039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36040 (exit $ac_status); }; } &&
36041 { ac_try='test -s conftest.$ac_objext'
36042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36043 (eval $ac_try) 2>&5
36044 ac_status=$?
36045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36046 (exit $ac_status); }; }; then
36047 glibcxx_cv_func__expf_use=yes
36048 else
36049 echo "$as_me: failed program was:" >&5
36050 sed 's/^/| /' conftest.$ac_ext >&5
36052 glibcxx_cv_func__expf_use=no
36054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36055 ac_ext=c
36056 ac_cpp='$CPP $CPPFLAGS'
36057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36065 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36066 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36068 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36070 for ac_func in _expf
36072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36073 echo "$as_me:$LINENO: checking for $ac_func" >&5
36074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36075 if eval "test \"\${$as_ac_var+set}\" = set"; then
36076 echo $ECHO_N "(cached) $ECHO_C" >&6
36077 else
36078 if test x$gcc_no_link = xyes; then
36079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36081 { (exit 1); exit 1; }; }
36083 cat >conftest.$ac_ext <<_ACEOF
36084 /* confdefs.h. */
36085 _ACEOF
36086 cat confdefs.h >>conftest.$ac_ext
36087 cat >>conftest.$ac_ext <<_ACEOF
36088 /* end confdefs.h. */
36089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36091 #define $ac_func innocuous_$ac_func
36093 /* System header to define __stub macros and hopefully few prototypes,
36094 which can conflict with char $ac_func (); below.
36095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36096 <limits.h> exists even on freestanding compilers. */
36098 #ifdef __STDC__
36099 # include <limits.h>
36100 #else
36101 # include <assert.h>
36102 #endif
36104 #undef $ac_func
36106 /* Override any gcc2 internal prototype to avoid an error. */
36107 #ifdef __cplusplus
36108 extern "C"
36110 #endif
36111 /* We use char because int might match the return type of a gcc2
36112 builtin and then its argument prototype would still apply. */
36113 char $ac_func ();
36114 /* The GNU C library defines this for functions which it implements
36115 to always fail with ENOSYS. Some functions are actually named
36116 something starting with __ and the normal name is an alias. */
36117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36118 choke me
36119 #else
36120 char (*f) () = $ac_func;
36121 #endif
36122 #ifdef __cplusplus
36124 #endif
36127 main ()
36129 return f != $ac_func;
36131 return 0;
36133 _ACEOF
36134 rm -f conftest.$ac_objext conftest$ac_exeext
36135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36136 (eval $ac_link) 2>conftest.er1
36137 ac_status=$?
36138 grep -v '^ *+' conftest.er1 >conftest.err
36139 rm -f conftest.er1
36140 cat conftest.err >&5
36141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142 (exit $ac_status); } &&
36143 { ac_try='test -z "$ac_c_werror_flag"
36144 || test ! -s conftest.err'
36145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36146 (eval $ac_try) 2>&5
36147 ac_status=$?
36148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36149 (exit $ac_status); }; } &&
36150 { ac_try='test -s conftest$ac_exeext'
36151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36152 (eval $ac_try) 2>&5
36153 ac_status=$?
36154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36155 (exit $ac_status); }; }; then
36156 eval "$as_ac_var=yes"
36157 else
36158 echo "$as_me: failed program was:" >&5
36159 sed 's/^/| /' conftest.$ac_ext >&5
36161 eval "$as_ac_var=no"
36163 rm -f conftest.err conftest.$ac_objext \
36164 conftest$ac_exeext conftest.$ac_ext
36166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36168 if test `eval echo '${'$as_ac_var'}'` = yes; then
36169 cat >>confdefs.h <<_ACEOF
36170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36171 _ACEOF
36174 done
36184 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36185 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36186 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36187 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36188 echo $ECHO_N "(cached) $ECHO_C" >&6
36189 else
36193 ac_ext=cc
36194 ac_cpp='$CXXCPP $CPPFLAGS'
36195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36199 cat >conftest.$ac_ext <<_ACEOF
36200 /* confdefs.h. */
36201 _ACEOF
36202 cat confdefs.h >>conftest.$ac_ext
36203 cat >>conftest.$ac_ext <<_ACEOF
36204 /* end confdefs.h. */
36205 #include <math.h>
36206 #ifdef HAVE_IEEEFP_H
36207 #include <ieeefp.h>
36208 #endif
36211 main ()
36213 isnanf(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_isnanf_use=yes
36241 else
36242 echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.$ac_ext >&5
36245 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
36259 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
36261 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36263 for ac_func in isnanf
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 _isnanf declaration" >&5
36372 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
36373 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36374 if test "${glibcxx_cv_func__isnanf_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>
36393 #ifdef HAVE_IEEEFP_H
36394 #include <ieeefp.h>
36395 #endif
36398 main ()
36400 _isnanf(0);
36402 return 0;
36404 _ACEOF
36405 rm -f conftest.$ac_objext
36406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36407 (eval $ac_compile) 2>conftest.er1
36408 ac_status=$?
36409 grep -v '^ *+' conftest.er1 >conftest.err
36410 rm -f conftest.er1
36411 cat conftest.err >&5
36412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36413 (exit $ac_status); } &&
36414 { ac_try='test -z "$ac_cxx_werror_flag"
36415 || test ! -s conftest.err'
36416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36417 (eval $ac_try) 2>&5
36418 ac_status=$?
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); }; } &&
36421 { ac_try='test -s conftest.$ac_objext'
36422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36423 (eval $ac_try) 2>&5
36424 ac_status=$?
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); }; }; then
36427 glibcxx_cv_func__isnanf_use=yes
36428 else
36429 echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.$ac_ext >&5
36432 glibcxx_cv_func__isnanf_use=no
36434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36435 ac_ext=c
36436 ac_cpp='$CPP $CPPFLAGS'
36437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36445 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
36446 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
36448 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36450 for ac_func in _isnanf
36452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36453 echo "$as_me:$LINENO: checking for $ac_func" >&5
36454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36455 if eval "test \"\${$as_ac_var+set}\" = set"; then
36456 echo $ECHO_N "(cached) $ECHO_C" >&6
36457 else
36458 if test x$gcc_no_link = xyes; then
36459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36461 { (exit 1); exit 1; }; }
36463 cat >conftest.$ac_ext <<_ACEOF
36464 /* confdefs.h. */
36465 _ACEOF
36466 cat confdefs.h >>conftest.$ac_ext
36467 cat >>conftest.$ac_ext <<_ACEOF
36468 /* end confdefs.h. */
36469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36471 #define $ac_func innocuous_$ac_func
36473 /* System header to define __stub macros and hopefully few prototypes,
36474 which can conflict with char $ac_func (); below.
36475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36476 <limits.h> exists even on freestanding compilers. */
36478 #ifdef __STDC__
36479 # include <limits.h>
36480 #else
36481 # include <assert.h>
36482 #endif
36484 #undef $ac_func
36486 /* Override any gcc2 internal prototype to avoid an error. */
36487 #ifdef __cplusplus
36488 extern "C"
36490 #endif
36491 /* We use char because int might match the return type of a gcc2
36492 builtin and then its argument prototype would still apply. */
36493 char $ac_func ();
36494 /* The GNU C library defines this for functions which it implements
36495 to always fail with ENOSYS. Some functions are actually named
36496 something starting with __ and the normal name is an alias. */
36497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36498 choke me
36499 #else
36500 char (*f) () = $ac_func;
36501 #endif
36502 #ifdef __cplusplus
36504 #endif
36507 main ()
36509 return f != $ac_func;
36511 return 0;
36513 _ACEOF
36514 rm -f conftest.$ac_objext conftest$ac_exeext
36515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36516 (eval $ac_link) 2>conftest.er1
36517 ac_status=$?
36518 grep -v '^ *+' conftest.er1 >conftest.err
36519 rm -f conftest.er1
36520 cat conftest.err >&5
36521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36522 (exit $ac_status); } &&
36523 { ac_try='test -z "$ac_c_werror_flag"
36524 || test ! -s conftest.err'
36525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36526 (eval $ac_try) 2>&5
36527 ac_status=$?
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); }; } &&
36530 { ac_try='test -s conftest$ac_exeext'
36531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36532 (eval $ac_try) 2>&5
36533 ac_status=$?
36534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36535 (exit $ac_status); }; }; then
36536 eval "$as_ac_var=yes"
36537 else
36538 echo "$as_me: failed program was:" >&5
36539 sed 's/^/| /' conftest.$ac_ext >&5
36541 eval "$as_ac_var=no"
36543 rm -f conftest.err conftest.$ac_objext \
36544 conftest$ac_exeext conftest.$ac_ext
36546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36548 if test `eval echo '${'$as_ac_var'}'` = yes; then
36549 cat >>confdefs.h <<_ACEOF
36550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36551 _ACEOF
36554 done
36564 echo "$as_me:$LINENO: checking for isinff declaration" >&5
36565 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
36566 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36567 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
36568 echo $ECHO_N "(cached) $ECHO_C" >&6
36569 else
36573 ac_ext=cc
36574 ac_cpp='$CXXCPP $CPPFLAGS'
36575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36579 cat >conftest.$ac_ext <<_ACEOF
36580 /* confdefs.h. */
36581 _ACEOF
36582 cat confdefs.h >>conftest.$ac_ext
36583 cat >>conftest.$ac_ext <<_ACEOF
36584 /* end confdefs.h. */
36585 #include <math.h>
36586 #ifdef HAVE_IEEEFP_H
36587 #include <ieeefp.h>
36588 #endif
36591 main ()
36593 isinff(0);
36595 return 0;
36597 _ACEOF
36598 rm -f conftest.$ac_objext
36599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36600 (eval $ac_compile) 2>conftest.er1
36601 ac_status=$?
36602 grep -v '^ *+' conftest.er1 >conftest.err
36603 rm -f conftest.er1
36604 cat conftest.err >&5
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); } &&
36607 { ac_try='test -z "$ac_cxx_werror_flag"
36608 || test ! -s conftest.err'
36609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36610 (eval $ac_try) 2>&5
36611 ac_status=$?
36612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613 (exit $ac_status); }; } &&
36614 { ac_try='test -s conftest.$ac_objext'
36615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36616 (eval $ac_try) 2>&5
36617 ac_status=$?
36618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619 (exit $ac_status); }; }; then
36620 glibcxx_cv_func_isinff_use=yes
36621 else
36622 echo "$as_me: failed program was:" >&5
36623 sed 's/^/| /' conftest.$ac_ext >&5
36625 glibcxx_cv_func_isinff_use=no
36627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36628 ac_ext=c
36629 ac_cpp='$CPP $CPPFLAGS'
36630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36638 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
36639 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
36641 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36643 for ac_func in isinff
36645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36646 echo "$as_me:$LINENO: checking for $ac_func" >&5
36647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36648 if eval "test \"\${$as_ac_var+set}\" = set"; then
36649 echo $ECHO_N "(cached) $ECHO_C" >&6
36650 else
36651 if test x$gcc_no_link = xyes; then
36652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36654 { (exit 1); exit 1; }; }
36656 cat >conftest.$ac_ext <<_ACEOF
36657 /* confdefs.h. */
36658 _ACEOF
36659 cat confdefs.h >>conftest.$ac_ext
36660 cat >>conftest.$ac_ext <<_ACEOF
36661 /* end confdefs.h. */
36662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36664 #define $ac_func innocuous_$ac_func
36666 /* System header to define __stub macros and hopefully few prototypes,
36667 which can conflict with char $ac_func (); below.
36668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36669 <limits.h> exists even on freestanding compilers. */
36671 #ifdef __STDC__
36672 # include <limits.h>
36673 #else
36674 # include <assert.h>
36675 #endif
36677 #undef $ac_func
36679 /* Override any gcc2 internal prototype to avoid an error. */
36680 #ifdef __cplusplus
36681 extern "C"
36683 #endif
36684 /* We use char because int might match the return type of a gcc2
36685 builtin and then its argument prototype would still apply. */
36686 char $ac_func ();
36687 /* The GNU C library defines this for functions which it implements
36688 to always fail with ENOSYS. Some functions are actually named
36689 something starting with __ and the normal name is an alias. */
36690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36691 choke me
36692 #else
36693 char (*f) () = $ac_func;
36694 #endif
36695 #ifdef __cplusplus
36697 #endif
36700 main ()
36702 return f != $ac_func;
36704 return 0;
36706 _ACEOF
36707 rm -f conftest.$ac_objext conftest$ac_exeext
36708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36709 (eval $ac_link) 2>conftest.er1
36710 ac_status=$?
36711 grep -v '^ *+' conftest.er1 >conftest.err
36712 rm -f conftest.er1
36713 cat conftest.err >&5
36714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 (exit $ac_status); } &&
36716 { ac_try='test -z "$ac_c_werror_flag"
36717 || test ! -s conftest.err'
36718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36719 (eval $ac_try) 2>&5
36720 ac_status=$?
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); }; } &&
36723 { ac_try='test -s conftest$ac_exeext'
36724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36725 (eval $ac_try) 2>&5
36726 ac_status=$?
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); }; }; then
36729 eval "$as_ac_var=yes"
36730 else
36731 echo "$as_me: failed program was:" >&5
36732 sed 's/^/| /' conftest.$ac_ext >&5
36734 eval "$as_ac_var=no"
36736 rm -f conftest.err conftest.$ac_objext \
36737 conftest$ac_exeext conftest.$ac_ext
36739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36741 if test `eval echo '${'$as_ac_var'}'` = yes; then
36742 cat >>confdefs.h <<_ACEOF
36743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36744 _ACEOF
36747 done
36749 else
36751 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
36752 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
36753 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36754 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
36755 echo $ECHO_N "(cached) $ECHO_C" >&6
36756 else
36760 ac_ext=cc
36761 ac_cpp='$CXXCPP $CPPFLAGS'
36762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36766 cat >conftest.$ac_ext <<_ACEOF
36767 /* confdefs.h. */
36768 _ACEOF
36769 cat confdefs.h >>conftest.$ac_ext
36770 cat >>conftest.$ac_ext <<_ACEOF
36771 /* end confdefs.h. */
36772 #include <math.h>
36773 #ifdef HAVE_IEEEFP_H
36774 #include <ieeefp.h>
36775 #endif
36778 main ()
36780 _isinff(0);
36782 return 0;
36784 _ACEOF
36785 rm -f conftest.$ac_objext
36786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36787 (eval $ac_compile) 2>conftest.er1
36788 ac_status=$?
36789 grep -v '^ *+' conftest.er1 >conftest.err
36790 rm -f conftest.er1
36791 cat conftest.err >&5
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); } &&
36794 { ac_try='test -z "$ac_cxx_werror_flag"
36795 || test ! -s conftest.err'
36796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36797 (eval $ac_try) 2>&5
36798 ac_status=$?
36799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36800 (exit $ac_status); }; } &&
36801 { ac_try='test -s conftest.$ac_objext'
36802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36803 (eval $ac_try) 2>&5
36804 ac_status=$?
36805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36806 (exit $ac_status); }; }; then
36807 glibcxx_cv_func__isinff_use=yes
36808 else
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.$ac_ext >&5
36812 glibcxx_cv_func__isinff_use=no
36814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36815 ac_ext=c
36816 ac_cpp='$CPP $CPPFLAGS'
36817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36825 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
36826 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
36828 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36830 for ac_func in _isinff
36832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36833 echo "$as_me:$LINENO: checking for $ac_func" >&5
36834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36835 if eval "test \"\${$as_ac_var+set}\" = set"; then
36836 echo $ECHO_N "(cached) $ECHO_C" >&6
36837 else
36838 if test x$gcc_no_link = xyes; then
36839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36841 { (exit 1); exit 1; }; }
36843 cat >conftest.$ac_ext <<_ACEOF
36844 /* confdefs.h. */
36845 _ACEOF
36846 cat confdefs.h >>conftest.$ac_ext
36847 cat >>conftest.$ac_ext <<_ACEOF
36848 /* end confdefs.h. */
36849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36851 #define $ac_func innocuous_$ac_func
36853 /* System header to define __stub macros and hopefully few prototypes,
36854 which can conflict with char $ac_func (); below.
36855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36856 <limits.h> exists even on freestanding compilers. */
36858 #ifdef __STDC__
36859 # include <limits.h>
36860 #else
36861 # include <assert.h>
36862 #endif
36864 #undef $ac_func
36866 /* Override any gcc2 internal prototype to avoid an error. */
36867 #ifdef __cplusplus
36868 extern "C"
36870 #endif
36871 /* We use char because int might match the return type of a gcc2
36872 builtin and then its argument prototype would still apply. */
36873 char $ac_func ();
36874 /* The GNU C library defines this for functions which it implements
36875 to always fail with ENOSYS. Some functions are actually named
36876 something starting with __ and the normal name is an alias. */
36877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36878 choke me
36879 #else
36880 char (*f) () = $ac_func;
36881 #endif
36882 #ifdef __cplusplus
36884 #endif
36887 main ()
36889 return f != $ac_func;
36891 return 0;
36893 _ACEOF
36894 rm -f conftest.$ac_objext conftest$ac_exeext
36895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36896 (eval $ac_link) 2>conftest.er1
36897 ac_status=$?
36898 grep -v '^ *+' conftest.er1 >conftest.err
36899 rm -f conftest.er1
36900 cat conftest.err >&5
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); } &&
36903 { ac_try='test -z "$ac_c_werror_flag"
36904 || test ! -s conftest.err'
36905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36906 (eval $ac_try) 2>&5
36907 ac_status=$?
36908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36909 (exit $ac_status); }; } &&
36910 { ac_try='test -s conftest$ac_exeext'
36911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36912 (eval $ac_try) 2>&5
36913 ac_status=$?
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); }; }; then
36916 eval "$as_ac_var=yes"
36917 else
36918 echo "$as_me: failed program was:" >&5
36919 sed 's/^/| /' conftest.$ac_ext >&5
36921 eval "$as_ac_var=no"
36923 rm -f conftest.err conftest.$ac_objext \
36924 conftest$ac_exeext conftest.$ac_ext
36926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36928 if test `eval echo '${'$as_ac_var'}'` = yes; then
36929 cat >>confdefs.h <<_ACEOF
36930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36931 _ACEOF
36934 done
36944 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36945 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36946 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36947 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36948 echo $ECHO_N "(cached) $ECHO_C" >&6
36949 else
36953 ac_ext=cc
36954 ac_cpp='$CXXCPP $CPPFLAGS'
36955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36959 cat >conftest.$ac_ext <<_ACEOF
36960 /* confdefs.h. */
36961 _ACEOF
36962 cat confdefs.h >>conftest.$ac_ext
36963 cat >>conftest.$ac_ext <<_ACEOF
36964 /* end confdefs.h. */
36965 #include <math.h>
36967 main ()
36969 atan2f(0, 0);
36971 return 0;
36973 _ACEOF
36974 rm -f conftest.$ac_objext
36975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36976 (eval $ac_compile) 2>conftest.er1
36977 ac_status=$?
36978 grep -v '^ *+' conftest.er1 >conftest.err
36979 rm -f conftest.er1
36980 cat conftest.err >&5
36981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36982 (exit $ac_status); } &&
36983 { ac_try='test -z "$ac_cxx_werror_flag"
36984 || test ! -s conftest.err'
36985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36986 (eval $ac_try) 2>&5
36987 ac_status=$?
36988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36989 (exit $ac_status); }; } &&
36990 { ac_try='test -s conftest.$ac_objext'
36991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36992 (eval $ac_try) 2>&5
36993 ac_status=$?
36994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36995 (exit $ac_status); }; }; then
36996 glibcxx_cv_func_atan2f_use=yes
36997 else
36998 echo "$as_me: failed program was:" >&5
36999 sed 's/^/| /' conftest.$ac_ext >&5
37001 glibcxx_cv_func_atan2f_use=no
37003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37004 ac_ext=c
37005 ac_cpp='$CPP $CPPFLAGS'
37006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37014 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37015 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37017 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37019 for ac_func in atan2f
37021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37022 echo "$as_me:$LINENO: checking for $ac_func" >&5
37023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37024 if eval "test \"\${$as_ac_var+set}\" = set"; then
37025 echo $ECHO_N "(cached) $ECHO_C" >&6
37026 else
37027 if test x$gcc_no_link = xyes; then
37028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37030 { (exit 1); exit 1; }; }
37032 cat >conftest.$ac_ext <<_ACEOF
37033 /* confdefs.h. */
37034 _ACEOF
37035 cat confdefs.h >>conftest.$ac_ext
37036 cat >>conftest.$ac_ext <<_ACEOF
37037 /* end confdefs.h. */
37038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37040 #define $ac_func innocuous_$ac_func
37042 /* System header to define __stub macros and hopefully few prototypes,
37043 which can conflict with char $ac_func (); below.
37044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37045 <limits.h> exists even on freestanding compilers. */
37047 #ifdef __STDC__
37048 # include <limits.h>
37049 #else
37050 # include <assert.h>
37051 #endif
37053 #undef $ac_func
37055 /* Override any gcc2 internal prototype to avoid an error. */
37056 #ifdef __cplusplus
37057 extern "C"
37059 #endif
37060 /* We use char because int might match the return type of a gcc2
37061 builtin and then its argument prototype would still apply. */
37062 char $ac_func ();
37063 /* The GNU C library defines this for functions which it implements
37064 to always fail with ENOSYS. Some functions are actually named
37065 something starting with __ and the normal name is an alias. */
37066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37067 choke me
37068 #else
37069 char (*f) () = $ac_func;
37070 #endif
37071 #ifdef __cplusplus
37073 #endif
37076 main ()
37078 return f != $ac_func;
37080 return 0;
37082 _ACEOF
37083 rm -f conftest.$ac_objext conftest$ac_exeext
37084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37085 (eval $ac_link) 2>conftest.er1
37086 ac_status=$?
37087 grep -v '^ *+' conftest.er1 >conftest.err
37088 rm -f conftest.er1
37089 cat conftest.err >&5
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); } &&
37092 { ac_try='test -z "$ac_c_werror_flag"
37093 || test ! -s conftest.err'
37094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37095 (eval $ac_try) 2>&5
37096 ac_status=$?
37097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098 (exit $ac_status); }; } &&
37099 { ac_try='test -s conftest$ac_exeext'
37100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37101 (eval $ac_try) 2>&5
37102 ac_status=$?
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); }; }; then
37105 eval "$as_ac_var=yes"
37106 else
37107 echo "$as_me: failed program was:" >&5
37108 sed 's/^/| /' conftest.$ac_ext >&5
37110 eval "$as_ac_var=no"
37112 rm -f conftest.err conftest.$ac_objext \
37113 conftest$ac_exeext conftest.$ac_ext
37115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37117 if test `eval echo '${'$as_ac_var'}'` = yes; then
37118 cat >>confdefs.h <<_ACEOF
37119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37120 _ACEOF
37123 done
37125 else
37127 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37128 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37129 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37130 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37131 echo $ECHO_N "(cached) $ECHO_C" >&6
37132 else
37136 ac_ext=cc
37137 ac_cpp='$CXXCPP $CPPFLAGS'
37138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37142 cat >conftest.$ac_ext <<_ACEOF
37143 /* confdefs.h. */
37144 _ACEOF
37145 cat confdefs.h >>conftest.$ac_ext
37146 cat >>conftest.$ac_ext <<_ACEOF
37147 /* end confdefs.h. */
37148 #include <math.h>
37150 main ()
37152 _atan2f(0, 0);
37154 return 0;
37156 _ACEOF
37157 rm -f conftest.$ac_objext
37158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37159 (eval $ac_compile) 2>conftest.er1
37160 ac_status=$?
37161 grep -v '^ *+' conftest.er1 >conftest.err
37162 rm -f conftest.er1
37163 cat conftest.err >&5
37164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165 (exit $ac_status); } &&
37166 { ac_try='test -z "$ac_cxx_werror_flag"
37167 || test ! -s conftest.err'
37168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37169 (eval $ac_try) 2>&5
37170 ac_status=$?
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); }; } &&
37173 { ac_try='test -s conftest.$ac_objext'
37174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37175 (eval $ac_try) 2>&5
37176 ac_status=$?
37177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37178 (exit $ac_status); }; }; then
37179 glibcxx_cv_func__atan2f_use=yes
37180 else
37181 echo "$as_me: failed program was:" >&5
37182 sed 's/^/| /' conftest.$ac_ext >&5
37184 glibcxx_cv_func__atan2f_use=no
37186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37187 ac_ext=c
37188 ac_cpp='$CPP $CPPFLAGS'
37189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37197 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37198 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37200 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37202 for ac_func in _atan2f
37204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37205 echo "$as_me:$LINENO: checking for $ac_func" >&5
37206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37207 if eval "test \"\${$as_ac_var+set}\" = set"; then
37208 echo $ECHO_N "(cached) $ECHO_C" >&6
37209 else
37210 if test x$gcc_no_link = xyes; then
37211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37213 { (exit 1); exit 1; }; }
37215 cat >conftest.$ac_ext <<_ACEOF
37216 /* confdefs.h. */
37217 _ACEOF
37218 cat confdefs.h >>conftest.$ac_ext
37219 cat >>conftest.$ac_ext <<_ACEOF
37220 /* end confdefs.h. */
37221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37223 #define $ac_func innocuous_$ac_func
37225 /* System header to define __stub macros and hopefully few prototypes,
37226 which can conflict with char $ac_func (); below.
37227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37228 <limits.h> exists even on freestanding compilers. */
37230 #ifdef __STDC__
37231 # include <limits.h>
37232 #else
37233 # include <assert.h>
37234 #endif
37236 #undef $ac_func
37238 /* Override any gcc2 internal prototype to avoid an error. */
37239 #ifdef __cplusplus
37240 extern "C"
37242 #endif
37243 /* We use char because int might match the return type of a gcc2
37244 builtin and then its argument prototype would still apply. */
37245 char $ac_func ();
37246 /* The GNU C library defines this for functions which it implements
37247 to always fail with ENOSYS. Some functions are actually named
37248 something starting with __ and the normal name is an alias. */
37249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37250 choke me
37251 #else
37252 char (*f) () = $ac_func;
37253 #endif
37254 #ifdef __cplusplus
37256 #endif
37259 main ()
37261 return f != $ac_func;
37263 return 0;
37265 _ACEOF
37266 rm -f conftest.$ac_objext conftest$ac_exeext
37267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37268 (eval $ac_link) 2>conftest.er1
37269 ac_status=$?
37270 grep -v '^ *+' conftest.er1 >conftest.err
37271 rm -f conftest.er1
37272 cat conftest.err >&5
37273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274 (exit $ac_status); } &&
37275 { ac_try='test -z "$ac_c_werror_flag"
37276 || test ! -s conftest.err'
37277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37278 (eval $ac_try) 2>&5
37279 ac_status=$?
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); }; } &&
37282 { ac_try='test -s conftest$ac_exeext'
37283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37284 (eval $ac_try) 2>&5
37285 ac_status=$?
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); }; }; then
37288 eval "$as_ac_var=yes"
37289 else
37290 echo "$as_me: failed program was:" >&5
37291 sed 's/^/| /' conftest.$ac_ext >&5
37293 eval "$as_ac_var=no"
37295 rm -f conftest.err conftest.$ac_objext \
37296 conftest$ac_exeext conftest.$ac_ext
37298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37300 if test `eval echo '${'$as_ac_var'}'` = yes; then
37301 cat >>confdefs.h <<_ACEOF
37302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37303 _ACEOF
37306 done
37316 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
37317 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
37318 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37319 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
37320 echo $ECHO_N "(cached) $ECHO_C" >&6
37321 else
37325 ac_ext=cc
37326 ac_cpp='$CXXCPP $CPPFLAGS'
37327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37331 cat >conftest.$ac_ext <<_ACEOF
37332 /* confdefs.h. */
37333 _ACEOF
37334 cat confdefs.h >>conftest.$ac_ext
37335 cat >>conftest.$ac_ext <<_ACEOF
37336 /* end confdefs.h. */
37337 #include <math.h>
37338 #ifdef HAVE_IEEEFP_H
37339 #include <ieeefp.h>
37340 #endif
37343 main ()
37345 fabsf(0);
37347 return 0;
37349 _ACEOF
37350 rm -f conftest.$ac_objext
37351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37352 (eval $ac_compile) 2>conftest.er1
37353 ac_status=$?
37354 grep -v '^ *+' conftest.er1 >conftest.err
37355 rm -f conftest.er1
37356 cat conftest.err >&5
37357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37358 (exit $ac_status); } &&
37359 { ac_try='test -z "$ac_cxx_werror_flag"
37360 || test ! -s conftest.err'
37361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37362 (eval $ac_try) 2>&5
37363 ac_status=$?
37364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365 (exit $ac_status); }; } &&
37366 { ac_try='test -s conftest.$ac_objext'
37367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37368 (eval $ac_try) 2>&5
37369 ac_status=$?
37370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37371 (exit $ac_status); }; }; then
37372 glibcxx_cv_func_fabsf_use=yes
37373 else
37374 echo "$as_me: failed program was:" >&5
37375 sed 's/^/| /' conftest.$ac_ext >&5
37377 glibcxx_cv_func_fabsf_use=no
37379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37380 ac_ext=c
37381 ac_cpp='$CPP $CPPFLAGS'
37382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37390 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
37391 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
37393 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37395 for ac_func in fabsf
37397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37398 echo "$as_me:$LINENO: checking for $ac_func" >&5
37399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37400 if eval "test \"\${$as_ac_var+set}\" = set"; then
37401 echo $ECHO_N "(cached) $ECHO_C" >&6
37402 else
37403 if test x$gcc_no_link = xyes; then
37404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37406 { (exit 1); exit 1; }; }
37408 cat >conftest.$ac_ext <<_ACEOF
37409 /* confdefs.h. */
37410 _ACEOF
37411 cat confdefs.h >>conftest.$ac_ext
37412 cat >>conftest.$ac_ext <<_ACEOF
37413 /* end confdefs.h. */
37414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37416 #define $ac_func innocuous_$ac_func
37418 /* System header to define __stub macros and hopefully few prototypes,
37419 which can conflict with char $ac_func (); below.
37420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37421 <limits.h> exists even on freestanding compilers. */
37423 #ifdef __STDC__
37424 # include <limits.h>
37425 #else
37426 # include <assert.h>
37427 #endif
37429 #undef $ac_func
37431 /* Override any gcc2 internal prototype to avoid an error. */
37432 #ifdef __cplusplus
37433 extern "C"
37435 #endif
37436 /* We use char because int might match the return type of a gcc2
37437 builtin and then its argument prototype would still apply. */
37438 char $ac_func ();
37439 /* The GNU C library defines this for functions which it implements
37440 to always fail with ENOSYS. Some functions are actually named
37441 something starting with __ and the normal name is an alias. */
37442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37443 choke me
37444 #else
37445 char (*f) () = $ac_func;
37446 #endif
37447 #ifdef __cplusplus
37449 #endif
37452 main ()
37454 return f != $ac_func;
37456 return 0;
37458 _ACEOF
37459 rm -f conftest.$ac_objext conftest$ac_exeext
37460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37461 (eval $ac_link) 2>conftest.er1
37462 ac_status=$?
37463 grep -v '^ *+' conftest.er1 >conftest.err
37464 rm -f conftest.er1
37465 cat conftest.err >&5
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); } &&
37468 { ac_try='test -z "$ac_c_werror_flag"
37469 || test ! -s conftest.err'
37470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37471 (eval $ac_try) 2>&5
37472 ac_status=$?
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); }; } &&
37475 { ac_try='test -s conftest$ac_exeext'
37476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37477 (eval $ac_try) 2>&5
37478 ac_status=$?
37479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37480 (exit $ac_status); }; }; then
37481 eval "$as_ac_var=yes"
37482 else
37483 echo "$as_me: failed program was:" >&5
37484 sed 's/^/| /' conftest.$ac_ext >&5
37486 eval "$as_ac_var=no"
37488 rm -f conftest.err conftest.$ac_objext \
37489 conftest$ac_exeext conftest.$ac_ext
37491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37493 if test `eval echo '${'$as_ac_var'}'` = yes; then
37494 cat >>confdefs.h <<_ACEOF
37495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37496 _ACEOF
37499 done
37501 else
37503 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
37504 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
37505 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37506 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
37507 echo $ECHO_N "(cached) $ECHO_C" >&6
37508 else
37512 ac_ext=cc
37513 ac_cpp='$CXXCPP $CPPFLAGS'
37514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37518 cat >conftest.$ac_ext <<_ACEOF
37519 /* confdefs.h. */
37520 _ACEOF
37521 cat confdefs.h >>conftest.$ac_ext
37522 cat >>conftest.$ac_ext <<_ACEOF
37523 /* end confdefs.h. */
37524 #include <math.h>
37525 #ifdef HAVE_IEEEFP_H
37526 #include <ieeefp.h>
37527 #endif
37530 main ()
37532 _fabsf(0);
37534 return 0;
37536 _ACEOF
37537 rm -f conftest.$ac_objext
37538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37539 (eval $ac_compile) 2>conftest.er1
37540 ac_status=$?
37541 grep -v '^ *+' conftest.er1 >conftest.err
37542 rm -f conftest.er1
37543 cat conftest.err >&5
37544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37545 (exit $ac_status); } &&
37546 { ac_try='test -z "$ac_cxx_werror_flag"
37547 || test ! -s conftest.err'
37548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37549 (eval $ac_try) 2>&5
37550 ac_status=$?
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); }; } &&
37553 { ac_try='test -s conftest.$ac_objext'
37554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37555 (eval $ac_try) 2>&5
37556 ac_status=$?
37557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558 (exit $ac_status); }; }; then
37559 glibcxx_cv_func__fabsf_use=yes
37560 else
37561 echo "$as_me: failed program was:" >&5
37562 sed 's/^/| /' conftest.$ac_ext >&5
37564 glibcxx_cv_func__fabsf_use=no
37566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37567 ac_ext=c
37568 ac_cpp='$CPP $CPPFLAGS'
37569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37577 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
37578 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
37580 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37582 for ac_func in _fabsf
37584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37585 echo "$as_me:$LINENO: checking for $ac_func" >&5
37586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37587 if eval "test \"\${$as_ac_var+set}\" = set"; then
37588 echo $ECHO_N "(cached) $ECHO_C" >&6
37589 else
37590 if test x$gcc_no_link = xyes; then
37591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37593 { (exit 1); exit 1; }; }
37595 cat >conftest.$ac_ext <<_ACEOF
37596 /* confdefs.h. */
37597 _ACEOF
37598 cat confdefs.h >>conftest.$ac_ext
37599 cat >>conftest.$ac_ext <<_ACEOF
37600 /* end confdefs.h. */
37601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37603 #define $ac_func innocuous_$ac_func
37605 /* System header to define __stub macros and hopefully few prototypes,
37606 which can conflict with char $ac_func (); below.
37607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37608 <limits.h> exists even on freestanding compilers. */
37610 #ifdef __STDC__
37611 # include <limits.h>
37612 #else
37613 # include <assert.h>
37614 #endif
37616 #undef $ac_func
37618 /* Override any gcc2 internal prototype to avoid an error. */
37619 #ifdef __cplusplus
37620 extern "C"
37622 #endif
37623 /* We use char because int might match the return type of a gcc2
37624 builtin and then its argument prototype would still apply. */
37625 char $ac_func ();
37626 /* The GNU C library defines this for functions which it implements
37627 to always fail with ENOSYS. Some functions are actually named
37628 something starting with __ and the normal name is an alias. */
37629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37630 choke me
37631 #else
37632 char (*f) () = $ac_func;
37633 #endif
37634 #ifdef __cplusplus
37636 #endif
37639 main ()
37641 return f != $ac_func;
37643 return 0;
37645 _ACEOF
37646 rm -f conftest.$ac_objext conftest$ac_exeext
37647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37648 (eval $ac_link) 2>conftest.er1
37649 ac_status=$?
37650 grep -v '^ *+' conftest.er1 >conftest.err
37651 rm -f conftest.er1
37652 cat conftest.err >&5
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); } &&
37655 { ac_try='test -z "$ac_c_werror_flag"
37656 || test ! -s conftest.err'
37657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37658 (eval $ac_try) 2>&5
37659 ac_status=$?
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); }; } &&
37662 { ac_try='test -s conftest$ac_exeext'
37663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37664 (eval $ac_try) 2>&5
37665 ac_status=$?
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); }; }; then
37668 eval "$as_ac_var=yes"
37669 else
37670 echo "$as_me: failed program was:" >&5
37671 sed 's/^/| /' conftest.$ac_ext >&5
37673 eval "$as_ac_var=no"
37675 rm -f conftest.err conftest.$ac_objext \
37676 conftest$ac_exeext conftest.$ac_ext
37678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37680 if test `eval echo '${'$as_ac_var'}'` = yes; then
37681 cat >>confdefs.h <<_ACEOF
37682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37683 _ACEOF
37686 done
37696 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
37697 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
37698 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37699 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
37700 echo $ECHO_N "(cached) $ECHO_C" >&6
37701 else
37705 ac_ext=cc
37706 ac_cpp='$CXXCPP $CPPFLAGS'
37707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37711 cat >conftest.$ac_ext <<_ACEOF
37712 /* confdefs.h. */
37713 _ACEOF
37714 cat confdefs.h >>conftest.$ac_ext
37715 cat >>conftest.$ac_ext <<_ACEOF
37716 /* end confdefs.h. */
37717 #include <math.h>
37719 main ()
37721 fmodf(0, 0);
37723 return 0;
37725 _ACEOF
37726 rm -f conftest.$ac_objext
37727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37728 (eval $ac_compile) 2>conftest.er1
37729 ac_status=$?
37730 grep -v '^ *+' conftest.er1 >conftest.err
37731 rm -f conftest.er1
37732 cat conftest.err >&5
37733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37734 (exit $ac_status); } &&
37735 { ac_try='test -z "$ac_cxx_werror_flag"
37736 || test ! -s conftest.err'
37737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37738 (eval $ac_try) 2>&5
37739 ac_status=$?
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); }; } &&
37742 { ac_try='test -s conftest.$ac_objext'
37743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37744 (eval $ac_try) 2>&5
37745 ac_status=$?
37746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37747 (exit $ac_status); }; }; then
37748 glibcxx_cv_func_fmodf_use=yes
37749 else
37750 echo "$as_me: failed program was:" >&5
37751 sed 's/^/| /' conftest.$ac_ext >&5
37753 glibcxx_cv_func_fmodf_use=no
37755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37756 ac_ext=c
37757 ac_cpp='$CPP $CPPFLAGS'
37758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37766 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
37767 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
37769 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37771 for ac_func in fmodf
37773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37774 echo "$as_me:$LINENO: checking for $ac_func" >&5
37775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37776 if eval "test \"\${$as_ac_var+set}\" = set"; then
37777 echo $ECHO_N "(cached) $ECHO_C" >&6
37778 else
37779 if test x$gcc_no_link = xyes; then
37780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37782 { (exit 1); exit 1; }; }
37784 cat >conftest.$ac_ext <<_ACEOF
37785 /* confdefs.h. */
37786 _ACEOF
37787 cat confdefs.h >>conftest.$ac_ext
37788 cat >>conftest.$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37792 #define $ac_func innocuous_$ac_func
37794 /* System header to define __stub macros and hopefully few prototypes,
37795 which can conflict with char $ac_func (); below.
37796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37797 <limits.h> exists even on freestanding compilers. */
37799 #ifdef __STDC__
37800 # include <limits.h>
37801 #else
37802 # include <assert.h>
37803 #endif
37805 #undef $ac_func
37807 /* Override any gcc2 internal prototype to avoid an error. */
37808 #ifdef __cplusplus
37809 extern "C"
37811 #endif
37812 /* We use char because int might match the return type of a gcc2
37813 builtin and then its argument prototype would still apply. */
37814 char $ac_func ();
37815 /* The GNU C library defines this for functions which it implements
37816 to always fail with ENOSYS. Some functions are actually named
37817 something starting with __ and the normal name is an alias. */
37818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37819 choke me
37820 #else
37821 char (*f) () = $ac_func;
37822 #endif
37823 #ifdef __cplusplus
37825 #endif
37828 main ()
37830 return f != $ac_func;
37832 return 0;
37834 _ACEOF
37835 rm -f conftest.$ac_objext conftest$ac_exeext
37836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37837 (eval $ac_link) 2>conftest.er1
37838 ac_status=$?
37839 grep -v '^ *+' conftest.er1 >conftest.err
37840 rm -f conftest.er1
37841 cat conftest.err >&5
37842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37843 (exit $ac_status); } &&
37844 { ac_try='test -z "$ac_c_werror_flag"
37845 || test ! -s conftest.err'
37846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37847 (eval $ac_try) 2>&5
37848 ac_status=$?
37849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 (exit $ac_status); }; } &&
37851 { ac_try='test -s conftest$ac_exeext'
37852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37853 (eval $ac_try) 2>&5
37854 ac_status=$?
37855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37856 (exit $ac_status); }; }; then
37857 eval "$as_ac_var=yes"
37858 else
37859 echo "$as_me: failed program was:" >&5
37860 sed 's/^/| /' conftest.$ac_ext >&5
37862 eval "$as_ac_var=no"
37864 rm -f conftest.err conftest.$ac_objext \
37865 conftest$ac_exeext conftest.$ac_ext
37867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37869 if test `eval echo '${'$as_ac_var'}'` = yes; then
37870 cat >>confdefs.h <<_ACEOF
37871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37872 _ACEOF
37875 done
37877 else
37879 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
37880 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
37881 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37882 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
37883 echo $ECHO_N "(cached) $ECHO_C" >&6
37884 else
37888 ac_ext=cc
37889 ac_cpp='$CXXCPP $CPPFLAGS'
37890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37894 cat >conftest.$ac_ext <<_ACEOF
37895 /* confdefs.h. */
37896 _ACEOF
37897 cat confdefs.h >>conftest.$ac_ext
37898 cat >>conftest.$ac_ext <<_ACEOF
37899 /* end confdefs.h. */
37900 #include <math.h>
37902 main ()
37904 _fmodf(0, 0);
37906 return 0;
37908 _ACEOF
37909 rm -f conftest.$ac_objext
37910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37911 (eval $ac_compile) 2>conftest.er1
37912 ac_status=$?
37913 grep -v '^ *+' conftest.er1 >conftest.err
37914 rm -f conftest.er1
37915 cat conftest.err >&5
37916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37917 (exit $ac_status); } &&
37918 { ac_try='test -z "$ac_cxx_werror_flag"
37919 || test ! -s conftest.err'
37920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37921 (eval $ac_try) 2>&5
37922 ac_status=$?
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); }; } &&
37925 { ac_try='test -s conftest.$ac_objext'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37928 ac_status=$?
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; }; then
37931 glibcxx_cv_func__fmodf_use=yes
37932 else
37933 echo "$as_me: failed program was:" >&5
37934 sed 's/^/| /' conftest.$ac_ext >&5
37936 glibcxx_cv_func__fmodf_use=no
37938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37939 ac_ext=c
37940 ac_cpp='$CPP $CPPFLAGS'
37941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37949 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37950 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37952 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37954 for ac_func in _fmodf
37956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37957 echo "$as_me:$LINENO: checking for $ac_func" >&5
37958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37959 if eval "test \"\${$as_ac_var+set}\" = set"; then
37960 echo $ECHO_N "(cached) $ECHO_C" >&6
37961 else
37962 if test x$gcc_no_link = xyes; then
37963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37965 { (exit 1); exit 1; }; }
37967 cat >conftest.$ac_ext <<_ACEOF
37968 /* confdefs.h. */
37969 _ACEOF
37970 cat confdefs.h >>conftest.$ac_ext
37971 cat >>conftest.$ac_ext <<_ACEOF
37972 /* end confdefs.h. */
37973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37975 #define $ac_func innocuous_$ac_func
37977 /* System header to define __stub macros and hopefully few prototypes,
37978 which can conflict with char $ac_func (); below.
37979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37980 <limits.h> exists even on freestanding compilers. */
37982 #ifdef __STDC__
37983 # include <limits.h>
37984 #else
37985 # include <assert.h>
37986 #endif
37988 #undef $ac_func
37990 /* Override any gcc2 internal prototype to avoid an error. */
37991 #ifdef __cplusplus
37992 extern "C"
37994 #endif
37995 /* We use char because int might match the return type of a gcc2
37996 builtin and then its argument prototype would still apply. */
37997 char $ac_func ();
37998 /* The GNU C library defines this for functions which it implements
37999 to always fail with ENOSYS. Some functions are actually named
38000 something starting with __ and the normal name is an alias. */
38001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38002 choke me
38003 #else
38004 char (*f) () = $ac_func;
38005 #endif
38006 #ifdef __cplusplus
38008 #endif
38011 main ()
38013 return f != $ac_func;
38015 return 0;
38017 _ACEOF
38018 rm -f conftest.$ac_objext conftest$ac_exeext
38019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38020 (eval $ac_link) 2>conftest.er1
38021 ac_status=$?
38022 grep -v '^ *+' conftest.er1 >conftest.err
38023 rm -f conftest.er1
38024 cat conftest.err >&5
38025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38026 (exit $ac_status); } &&
38027 { ac_try='test -z "$ac_c_werror_flag"
38028 || test ! -s conftest.err'
38029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38030 (eval $ac_try) 2>&5
38031 ac_status=$?
38032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38033 (exit $ac_status); }; } &&
38034 { ac_try='test -s conftest$ac_exeext'
38035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38036 (eval $ac_try) 2>&5
38037 ac_status=$?
38038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38039 (exit $ac_status); }; }; then
38040 eval "$as_ac_var=yes"
38041 else
38042 echo "$as_me: failed program was:" >&5
38043 sed 's/^/| /' conftest.$ac_ext >&5
38045 eval "$as_ac_var=no"
38047 rm -f conftest.err conftest.$ac_objext \
38048 conftest$ac_exeext conftest.$ac_ext
38050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38052 if test `eval echo '${'$as_ac_var'}'` = yes; then
38053 cat >>confdefs.h <<_ACEOF
38054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38055 _ACEOF
38058 done
38068 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38069 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38070 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38071 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38072 echo $ECHO_N "(cached) $ECHO_C" >&6
38073 else
38077 ac_ext=cc
38078 ac_cpp='$CXXCPP $CPPFLAGS'
38079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38083 cat >conftest.$ac_ext <<_ACEOF
38084 /* confdefs.h. */
38085 _ACEOF
38086 cat confdefs.h >>conftest.$ac_ext
38087 cat >>conftest.$ac_ext <<_ACEOF
38088 /* end confdefs.h. */
38089 #include <math.h>
38091 main ()
38093 frexpf(0, 0);
38095 return 0;
38097 _ACEOF
38098 rm -f conftest.$ac_objext
38099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38100 (eval $ac_compile) 2>conftest.er1
38101 ac_status=$?
38102 grep -v '^ *+' conftest.er1 >conftest.err
38103 rm -f conftest.er1
38104 cat conftest.err >&5
38105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106 (exit $ac_status); } &&
38107 { ac_try='test -z "$ac_cxx_werror_flag"
38108 || test ! -s conftest.err'
38109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38110 (eval $ac_try) 2>&5
38111 ac_status=$?
38112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38113 (exit $ac_status); }; } &&
38114 { ac_try='test -s conftest.$ac_objext'
38115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38116 (eval $ac_try) 2>&5
38117 ac_status=$?
38118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38119 (exit $ac_status); }; }; then
38120 glibcxx_cv_func_frexpf_use=yes
38121 else
38122 echo "$as_me: failed program was:" >&5
38123 sed 's/^/| /' conftest.$ac_ext >&5
38125 glibcxx_cv_func_frexpf_use=no
38127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38128 ac_ext=c
38129 ac_cpp='$CPP $CPPFLAGS'
38130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38139 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38141 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38143 for ac_func in frexpf
38145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38146 echo "$as_me:$LINENO: checking for $ac_func" >&5
38147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38148 if eval "test \"\${$as_ac_var+set}\" = set"; then
38149 echo $ECHO_N "(cached) $ECHO_C" >&6
38150 else
38151 if test x$gcc_no_link = xyes; then
38152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38154 { (exit 1); exit 1; }; }
38156 cat >conftest.$ac_ext <<_ACEOF
38157 /* confdefs.h. */
38158 _ACEOF
38159 cat confdefs.h >>conftest.$ac_ext
38160 cat >>conftest.$ac_ext <<_ACEOF
38161 /* end confdefs.h. */
38162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38164 #define $ac_func innocuous_$ac_func
38166 /* System header to define __stub macros and hopefully few prototypes,
38167 which can conflict with char $ac_func (); below.
38168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38169 <limits.h> exists even on freestanding compilers. */
38171 #ifdef __STDC__
38172 # include <limits.h>
38173 #else
38174 # include <assert.h>
38175 #endif
38177 #undef $ac_func
38179 /* Override any gcc2 internal prototype to avoid an error. */
38180 #ifdef __cplusplus
38181 extern "C"
38183 #endif
38184 /* We use char because int might match the return type of a gcc2
38185 builtin and then its argument prototype would still apply. */
38186 char $ac_func ();
38187 /* The GNU C library defines this for functions which it implements
38188 to always fail with ENOSYS. Some functions are actually named
38189 something starting with __ and the normal name is an alias. */
38190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38191 choke me
38192 #else
38193 char (*f) () = $ac_func;
38194 #endif
38195 #ifdef __cplusplus
38197 #endif
38200 main ()
38202 return f != $ac_func;
38204 return 0;
38206 _ACEOF
38207 rm -f conftest.$ac_objext conftest$ac_exeext
38208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38209 (eval $ac_link) 2>conftest.er1
38210 ac_status=$?
38211 grep -v '^ *+' conftest.er1 >conftest.err
38212 rm -f conftest.er1
38213 cat conftest.err >&5
38214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215 (exit $ac_status); } &&
38216 { ac_try='test -z "$ac_c_werror_flag"
38217 || test ! -s conftest.err'
38218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38219 (eval $ac_try) 2>&5
38220 ac_status=$?
38221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38222 (exit $ac_status); }; } &&
38223 { ac_try='test -s conftest$ac_exeext'
38224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38225 (eval $ac_try) 2>&5
38226 ac_status=$?
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); }; }; then
38229 eval "$as_ac_var=yes"
38230 else
38231 echo "$as_me: failed program was:" >&5
38232 sed 's/^/| /' conftest.$ac_ext >&5
38234 eval "$as_ac_var=no"
38236 rm -f conftest.err conftest.$ac_objext \
38237 conftest$ac_exeext conftest.$ac_ext
38239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38241 if test `eval echo '${'$as_ac_var'}'` = yes; then
38242 cat >>confdefs.h <<_ACEOF
38243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38244 _ACEOF
38247 done
38249 else
38251 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
38252 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
38253 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38254 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
38255 echo $ECHO_N "(cached) $ECHO_C" >&6
38256 else
38260 ac_ext=cc
38261 ac_cpp='$CXXCPP $CPPFLAGS'
38262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38266 cat >conftest.$ac_ext <<_ACEOF
38267 /* confdefs.h. */
38268 _ACEOF
38269 cat confdefs.h >>conftest.$ac_ext
38270 cat >>conftest.$ac_ext <<_ACEOF
38271 /* end confdefs.h. */
38272 #include <math.h>
38274 main ()
38276 _frexpf(0, 0);
38278 return 0;
38280 _ACEOF
38281 rm -f conftest.$ac_objext
38282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38283 (eval $ac_compile) 2>conftest.er1
38284 ac_status=$?
38285 grep -v '^ *+' conftest.er1 >conftest.err
38286 rm -f conftest.er1
38287 cat conftest.err >&5
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); } &&
38290 { ac_try='test -z "$ac_cxx_werror_flag"
38291 || test ! -s conftest.err'
38292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38293 (eval $ac_try) 2>&5
38294 ac_status=$?
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); }; } &&
38297 { ac_try='test -s conftest.$ac_objext'
38298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38299 (eval $ac_try) 2>&5
38300 ac_status=$?
38301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302 (exit $ac_status); }; }; then
38303 glibcxx_cv_func__frexpf_use=yes
38304 else
38305 echo "$as_me: failed program was:" >&5
38306 sed 's/^/| /' conftest.$ac_ext >&5
38308 glibcxx_cv_func__frexpf_use=no
38310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38311 ac_ext=c
38312 ac_cpp='$CPP $CPPFLAGS'
38313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38321 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
38322 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
38324 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38326 for ac_func in _frexpf
38328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38329 echo "$as_me:$LINENO: checking for $ac_func" >&5
38330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38331 if eval "test \"\${$as_ac_var+set}\" = set"; then
38332 echo $ECHO_N "(cached) $ECHO_C" >&6
38333 else
38334 if test x$gcc_no_link = xyes; then
38335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38337 { (exit 1); exit 1; }; }
38339 cat >conftest.$ac_ext <<_ACEOF
38340 /* confdefs.h. */
38341 _ACEOF
38342 cat confdefs.h >>conftest.$ac_ext
38343 cat >>conftest.$ac_ext <<_ACEOF
38344 /* end confdefs.h. */
38345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38347 #define $ac_func innocuous_$ac_func
38349 /* System header to define __stub macros and hopefully few prototypes,
38350 which can conflict with char $ac_func (); below.
38351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38352 <limits.h> exists even on freestanding compilers. */
38354 #ifdef __STDC__
38355 # include <limits.h>
38356 #else
38357 # include <assert.h>
38358 #endif
38360 #undef $ac_func
38362 /* Override any gcc2 internal prototype to avoid an error. */
38363 #ifdef __cplusplus
38364 extern "C"
38366 #endif
38367 /* We use char because int might match the return type of a gcc2
38368 builtin and then its argument prototype would still apply. */
38369 char $ac_func ();
38370 /* The GNU C library defines this for functions which it implements
38371 to always fail with ENOSYS. Some functions are actually named
38372 something starting with __ and the normal name is an alias. */
38373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38374 choke me
38375 #else
38376 char (*f) () = $ac_func;
38377 #endif
38378 #ifdef __cplusplus
38380 #endif
38383 main ()
38385 return f != $ac_func;
38387 return 0;
38389 _ACEOF
38390 rm -f conftest.$ac_objext conftest$ac_exeext
38391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38392 (eval $ac_link) 2>conftest.er1
38393 ac_status=$?
38394 grep -v '^ *+' conftest.er1 >conftest.err
38395 rm -f conftest.er1
38396 cat conftest.err >&5
38397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398 (exit $ac_status); } &&
38399 { ac_try='test -z "$ac_c_werror_flag"
38400 || test ! -s conftest.err'
38401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38402 (eval $ac_try) 2>&5
38403 ac_status=$?
38404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38405 (exit $ac_status); }; } &&
38406 { ac_try='test -s conftest$ac_exeext'
38407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38408 (eval $ac_try) 2>&5
38409 ac_status=$?
38410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38411 (exit $ac_status); }; }; then
38412 eval "$as_ac_var=yes"
38413 else
38414 echo "$as_me: failed program was:" >&5
38415 sed 's/^/| /' conftest.$ac_ext >&5
38417 eval "$as_ac_var=no"
38419 rm -f conftest.err conftest.$ac_objext \
38420 conftest$ac_exeext conftest.$ac_ext
38422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38424 if test `eval echo '${'$as_ac_var'}'` = yes; then
38425 cat >>confdefs.h <<_ACEOF
38426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38427 _ACEOF
38430 done
38440 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
38441 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
38442 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38443 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
38444 echo $ECHO_N "(cached) $ECHO_C" >&6
38445 else
38449 ac_ext=cc
38450 ac_cpp='$CXXCPP $CPPFLAGS'
38451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38455 cat >conftest.$ac_ext <<_ACEOF
38456 /* confdefs.h. */
38457 _ACEOF
38458 cat confdefs.h >>conftest.$ac_ext
38459 cat >>conftest.$ac_ext <<_ACEOF
38460 /* end confdefs.h. */
38461 #include <math.h>
38463 main ()
38465 hypotf(0, 0);
38467 return 0;
38469 _ACEOF
38470 rm -f conftest.$ac_objext
38471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38472 (eval $ac_compile) 2>conftest.er1
38473 ac_status=$?
38474 grep -v '^ *+' conftest.er1 >conftest.err
38475 rm -f conftest.er1
38476 cat conftest.err >&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } &&
38479 { ac_try='test -z "$ac_cxx_werror_flag"
38480 || test ! -s conftest.err'
38481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38482 (eval $ac_try) 2>&5
38483 ac_status=$?
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); }; } &&
38486 { ac_try='test -s conftest.$ac_objext'
38487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38488 (eval $ac_try) 2>&5
38489 ac_status=$?
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); }; }; then
38492 glibcxx_cv_func_hypotf_use=yes
38493 else
38494 echo "$as_me: failed program was:" >&5
38495 sed 's/^/| /' conftest.$ac_ext >&5
38497 glibcxx_cv_func_hypotf_use=no
38499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38500 ac_ext=c
38501 ac_cpp='$CPP $CPPFLAGS'
38502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
38511 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
38513 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
38515 for ac_func in hypotf
38517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38518 echo "$as_me:$LINENO: checking for $ac_func" >&5
38519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38520 if eval "test \"\${$as_ac_var+set}\" = set"; then
38521 echo $ECHO_N "(cached) $ECHO_C" >&6
38522 else
38523 if test x$gcc_no_link = xyes; then
38524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38526 { (exit 1); exit 1; }; }
38528 cat >conftest.$ac_ext <<_ACEOF
38529 /* confdefs.h. */
38530 _ACEOF
38531 cat confdefs.h >>conftest.$ac_ext
38532 cat >>conftest.$ac_ext <<_ACEOF
38533 /* end confdefs.h. */
38534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38536 #define $ac_func innocuous_$ac_func
38538 /* System header to define __stub macros and hopefully few prototypes,
38539 which can conflict with char $ac_func (); below.
38540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38541 <limits.h> exists even on freestanding compilers. */
38543 #ifdef __STDC__
38544 # include <limits.h>
38545 #else
38546 # include <assert.h>
38547 #endif
38549 #undef $ac_func
38551 /* Override any gcc2 internal prototype to avoid an error. */
38552 #ifdef __cplusplus
38553 extern "C"
38555 #endif
38556 /* We use char because int might match the return type of a gcc2
38557 builtin and then its argument prototype would still apply. */
38558 char $ac_func ();
38559 /* The GNU C library defines this for functions which it implements
38560 to always fail with ENOSYS. Some functions are actually named
38561 something starting with __ and the normal name is an alias. */
38562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38563 choke me
38564 #else
38565 char (*f) () = $ac_func;
38566 #endif
38567 #ifdef __cplusplus
38569 #endif
38572 main ()
38574 return f != $ac_func;
38576 return 0;
38578 _ACEOF
38579 rm -f conftest.$ac_objext conftest$ac_exeext
38580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38581 (eval $ac_link) 2>conftest.er1
38582 ac_status=$?
38583 grep -v '^ *+' conftest.er1 >conftest.err
38584 rm -f conftest.er1
38585 cat conftest.err >&5
38586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38587 (exit $ac_status); } &&
38588 { ac_try='test -z "$ac_c_werror_flag"
38589 || test ! -s conftest.err'
38590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38591 (eval $ac_try) 2>&5
38592 ac_status=$?
38593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594 (exit $ac_status); }; } &&
38595 { ac_try='test -s conftest$ac_exeext'
38596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38597 (eval $ac_try) 2>&5
38598 ac_status=$?
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); }; }; then
38601 eval "$as_ac_var=yes"
38602 else
38603 echo "$as_me: failed program was:" >&5
38604 sed 's/^/| /' conftest.$ac_ext >&5
38606 eval "$as_ac_var=no"
38608 rm -f conftest.err conftest.$ac_objext \
38609 conftest$ac_exeext conftest.$ac_ext
38611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38613 if test `eval echo '${'$as_ac_var'}'` = yes; then
38614 cat >>confdefs.h <<_ACEOF
38615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38616 _ACEOF
38619 done
38621 else
38623 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
38624 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
38625 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
38626 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
38627 echo $ECHO_N "(cached) $ECHO_C" >&6
38628 else
38632 ac_ext=cc
38633 ac_cpp='$CXXCPP $CPPFLAGS'
38634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38638 cat >conftest.$ac_ext <<_ACEOF
38639 /* confdefs.h. */
38640 _ACEOF
38641 cat confdefs.h >>conftest.$ac_ext
38642 cat >>conftest.$ac_ext <<_ACEOF
38643 /* end confdefs.h. */
38644 #include <math.h>
38646 main ()
38648 _hypotf(0, 0);
38650 return 0;
38652 _ACEOF
38653 rm -f conftest.$ac_objext
38654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38655 (eval $ac_compile) 2>conftest.er1
38656 ac_status=$?
38657 grep -v '^ *+' conftest.er1 >conftest.err
38658 rm -f conftest.er1
38659 cat conftest.err >&5
38660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38661 (exit $ac_status); } &&
38662 { ac_try='test -z "$ac_cxx_werror_flag"
38663 || test ! -s conftest.err'
38664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38665 (eval $ac_try) 2>&5
38666 ac_status=$?
38667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668 (exit $ac_status); }; } &&
38669 { ac_try='test -s conftest.$ac_objext'
38670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38671 (eval $ac_try) 2>&5
38672 ac_status=$?
38673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38674 (exit $ac_status); }; }; then
38675 glibcxx_cv_func__hypotf_use=yes
38676 else
38677 echo "$as_me: failed program was:" >&5
38678 sed 's/^/| /' conftest.$ac_ext >&5
38680 glibcxx_cv_func__hypotf_use=no
38682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38683 ac_ext=c
38684 ac_cpp='$CPP $CPPFLAGS'
38685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
38694 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
38696 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
38698 for ac_func in _hypotf
38700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38701 echo "$as_me:$LINENO: checking for $ac_func" >&5
38702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38703 if eval "test \"\${$as_ac_var+set}\" = set"; then
38704 echo $ECHO_N "(cached) $ECHO_C" >&6
38705 else
38706 if test x$gcc_no_link = xyes; then
38707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38709 { (exit 1); exit 1; }; }
38711 cat >conftest.$ac_ext <<_ACEOF
38712 /* confdefs.h. */
38713 _ACEOF
38714 cat confdefs.h >>conftest.$ac_ext
38715 cat >>conftest.$ac_ext <<_ACEOF
38716 /* end confdefs.h. */
38717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38719 #define $ac_func innocuous_$ac_func
38721 /* System header to define __stub macros and hopefully few prototypes,
38722 which can conflict with char $ac_func (); below.
38723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38724 <limits.h> exists even on freestanding compilers. */
38726 #ifdef __STDC__
38727 # include <limits.h>
38728 #else
38729 # include <assert.h>
38730 #endif
38732 #undef $ac_func
38734 /* Override any gcc2 internal prototype to avoid an error. */
38735 #ifdef __cplusplus
38736 extern "C"
38738 #endif
38739 /* We use char because int might match the return type of a gcc2
38740 builtin and then its argument prototype would still apply. */
38741 char $ac_func ();
38742 /* The GNU C library defines this for functions which it implements
38743 to always fail with ENOSYS. Some functions are actually named
38744 something starting with __ and the normal name is an alias. */
38745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38746 choke me
38747 #else
38748 char (*f) () = $ac_func;
38749 #endif
38750 #ifdef __cplusplus
38752 #endif
38755 main ()
38757 return f != $ac_func;
38759 return 0;
38761 _ACEOF
38762 rm -f conftest.$ac_objext conftest$ac_exeext
38763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38764 (eval $ac_link) 2>conftest.er1
38765 ac_status=$?
38766 grep -v '^ *+' conftest.er1 >conftest.err
38767 rm -f conftest.er1
38768 cat conftest.err >&5
38769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38770 (exit $ac_status); } &&
38771 { ac_try='test -z "$ac_c_werror_flag"
38772 || test ! -s conftest.err'
38773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38774 (eval $ac_try) 2>&5
38775 ac_status=$?
38776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38777 (exit $ac_status); }; } &&
38778 { ac_try='test -s conftest$ac_exeext'
38779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38780 (eval $ac_try) 2>&5
38781 ac_status=$?
38782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38783 (exit $ac_status); }; }; then
38784 eval "$as_ac_var=yes"
38785 else
38786 echo "$as_me: failed program was:" >&5
38787 sed 's/^/| /' conftest.$ac_ext >&5
38789 eval "$as_ac_var=no"
38791 rm -f conftest.err conftest.$ac_objext \
38792 conftest$ac_exeext conftest.$ac_ext
38794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38796 if test `eval echo '${'$as_ac_var'}'` = yes; then
38797 cat >>confdefs.h <<_ACEOF
38798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38799 _ACEOF
38802 done
38812 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
38813 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
38814 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38815 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
38816 echo $ECHO_N "(cached) $ECHO_C" >&6
38817 else
38821 ac_ext=cc
38822 ac_cpp='$CXXCPP $CPPFLAGS'
38823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38827 cat >conftest.$ac_ext <<_ACEOF
38828 /* confdefs.h. */
38829 _ACEOF
38830 cat confdefs.h >>conftest.$ac_ext
38831 cat >>conftest.$ac_ext <<_ACEOF
38832 /* end confdefs.h. */
38833 #include <math.h>
38835 main ()
38837 ldexpf(0, 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_ldexpf_use=yes
38865 else
38866 echo "$as_me: failed program was:" >&5
38867 sed 's/^/| /' conftest.$ac_ext >&5
38869 glibcxx_cv_func_ldexpf_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_ldexpf_use" >&5
38883 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
38885 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38887 for ac_func in ldexpf
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 _ldexpf declaration" >&5
38996 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38997 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38998 if test "${glibcxx_cv_func__ldexpf_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>
39018 main ()
39020 _ldexpf(0, 0);
39022 return 0;
39024 _ACEOF
39025 rm -f conftest.$ac_objext
39026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39027 (eval $ac_compile) 2>conftest.er1
39028 ac_status=$?
39029 grep -v '^ *+' conftest.er1 >conftest.err
39030 rm -f conftest.er1
39031 cat conftest.err >&5
39032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39033 (exit $ac_status); } &&
39034 { ac_try='test -z "$ac_cxx_werror_flag"
39035 || test ! -s conftest.err'
39036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39037 (eval $ac_try) 2>&5
39038 ac_status=$?
39039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040 (exit $ac_status); }; } &&
39041 { ac_try='test -s conftest.$ac_objext'
39042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39043 (eval $ac_try) 2>&5
39044 ac_status=$?
39045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39046 (exit $ac_status); }; }; then
39047 glibcxx_cv_func__ldexpf_use=yes
39048 else
39049 echo "$as_me: failed program was:" >&5
39050 sed 's/^/| /' conftest.$ac_ext >&5
39052 glibcxx_cv_func__ldexpf_use=no
39054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39055 ac_ext=c
39056 ac_cpp='$CPP $CPPFLAGS'
39057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39065 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39066 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39068 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39070 for ac_func in _ldexpf
39072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39073 echo "$as_me:$LINENO: checking for $ac_func" >&5
39074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39075 if eval "test \"\${$as_ac_var+set}\" = set"; then
39076 echo $ECHO_N "(cached) $ECHO_C" >&6
39077 else
39078 if test x$gcc_no_link = xyes; then
39079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39081 { (exit 1); exit 1; }; }
39083 cat >conftest.$ac_ext <<_ACEOF
39084 /* confdefs.h. */
39085 _ACEOF
39086 cat confdefs.h >>conftest.$ac_ext
39087 cat >>conftest.$ac_ext <<_ACEOF
39088 /* end confdefs.h. */
39089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39091 #define $ac_func innocuous_$ac_func
39093 /* System header to define __stub macros and hopefully few prototypes,
39094 which can conflict with char $ac_func (); below.
39095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39096 <limits.h> exists even on freestanding compilers. */
39098 #ifdef __STDC__
39099 # include <limits.h>
39100 #else
39101 # include <assert.h>
39102 #endif
39104 #undef $ac_func
39106 /* Override any gcc2 internal prototype to avoid an error. */
39107 #ifdef __cplusplus
39108 extern "C"
39110 #endif
39111 /* We use char because int might match the return type of a gcc2
39112 builtin and then its argument prototype would still apply. */
39113 char $ac_func ();
39114 /* The GNU C library defines this for functions which it implements
39115 to always fail with ENOSYS. Some functions are actually named
39116 something starting with __ and the normal name is an alias. */
39117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39118 choke me
39119 #else
39120 char (*f) () = $ac_func;
39121 #endif
39122 #ifdef __cplusplus
39124 #endif
39127 main ()
39129 return f != $ac_func;
39131 return 0;
39133 _ACEOF
39134 rm -f conftest.$ac_objext conftest$ac_exeext
39135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39136 (eval $ac_link) 2>conftest.er1
39137 ac_status=$?
39138 grep -v '^ *+' conftest.er1 >conftest.err
39139 rm -f conftest.er1
39140 cat conftest.err >&5
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); } &&
39143 { ac_try='test -z "$ac_c_werror_flag"
39144 || test ! -s conftest.err'
39145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39146 (eval $ac_try) 2>&5
39147 ac_status=$?
39148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39149 (exit $ac_status); }; } &&
39150 { ac_try='test -s conftest$ac_exeext'
39151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39152 (eval $ac_try) 2>&5
39153 ac_status=$?
39154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39155 (exit $ac_status); }; }; then
39156 eval "$as_ac_var=yes"
39157 else
39158 echo "$as_me: failed program was:" >&5
39159 sed 's/^/| /' conftest.$ac_ext >&5
39161 eval "$as_ac_var=no"
39163 rm -f conftest.err conftest.$ac_objext \
39164 conftest$ac_exeext conftest.$ac_ext
39166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39168 if test `eval echo '${'$as_ac_var'}'` = yes; then
39169 cat >>confdefs.h <<_ACEOF
39170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39171 _ACEOF
39174 done
39184 echo "$as_me:$LINENO: checking for logf declaration" >&5
39185 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39186 if test x${glibcxx_cv_func_logf_use+set} != xset; then
39187 if test "${glibcxx_cv_func_logf_use+set}" = set; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39189 else
39193 ac_ext=cc
39194 ac_cpp='$CXXCPP $CPPFLAGS'
39195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39199 cat >conftest.$ac_ext <<_ACEOF
39200 /* confdefs.h. */
39201 _ACEOF
39202 cat confdefs.h >>conftest.$ac_ext
39203 cat >>conftest.$ac_ext <<_ACEOF
39204 /* end confdefs.h. */
39205 #include <math.h>
39206 #ifdef HAVE_IEEEFP_H
39207 #include <ieeefp.h>
39208 #endif
39211 main ()
39213 logf(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_logf_use=yes
39241 else
39242 echo "$as_me: failed program was:" >&5
39243 sed 's/^/| /' conftest.$ac_ext >&5
39245 glibcxx_cv_func_logf_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_logf_use" >&5
39259 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
39261 if test x$glibcxx_cv_func_logf_use = x"yes"; then
39263 for ac_func in logf
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 _logf declaration" >&5
39372 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
39373 if test x${glibcxx_cv_func__logf_use+set} != xset; then
39374 if test "${glibcxx_cv_func__logf_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>
39393 #ifdef HAVE_IEEEFP_H
39394 #include <ieeefp.h>
39395 #endif
39398 main ()
39400 _logf(0);
39402 return 0;
39404 _ACEOF
39405 rm -f conftest.$ac_objext
39406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39407 (eval $ac_compile) 2>conftest.er1
39408 ac_status=$?
39409 grep -v '^ *+' conftest.er1 >conftest.err
39410 rm -f conftest.er1
39411 cat conftest.err >&5
39412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39413 (exit $ac_status); } &&
39414 { ac_try='test -z "$ac_cxx_werror_flag"
39415 || test ! -s conftest.err'
39416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39417 (eval $ac_try) 2>&5
39418 ac_status=$?
39419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39420 (exit $ac_status); }; } &&
39421 { ac_try='test -s conftest.$ac_objext'
39422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39423 (eval $ac_try) 2>&5
39424 ac_status=$?
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); }; }; then
39427 glibcxx_cv_func__logf_use=yes
39428 else
39429 echo "$as_me: failed program was:" >&5
39430 sed 's/^/| /' conftest.$ac_ext >&5
39432 glibcxx_cv_func__logf_use=no
39434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39435 ac_ext=c
39436 ac_cpp='$CPP $CPPFLAGS'
39437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39445 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
39446 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
39448 if test x$glibcxx_cv_func__logf_use = x"yes"; then
39450 for ac_func in _logf
39452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39453 echo "$as_me:$LINENO: checking for $ac_func" >&5
39454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39455 if eval "test \"\${$as_ac_var+set}\" = set"; then
39456 echo $ECHO_N "(cached) $ECHO_C" >&6
39457 else
39458 if test x$gcc_no_link = xyes; then
39459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39461 { (exit 1); exit 1; }; }
39463 cat >conftest.$ac_ext <<_ACEOF
39464 /* confdefs.h. */
39465 _ACEOF
39466 cat confdefs.h >>conftest.$ac_ext
39467 cat >>conftest.$ac_ext <<_ACEOF
39468 /* end confdefs.h. */
39469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39471 #define $ac_func innocuous_$ac_func
39473 /* System header to define __stub macros and hopefully few prototypes,
39474 which can conflict with char $ac_func (); below.
39475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39476 <limits.h> exists even on freestanding compilers. */
39478 #ifdef __STDC__
39479 # include <limits.h>
39480 #else
39481 # include <assert.h>
39482 #endif
39484 #undef $ac_func
39486 /* Override any gcc2 internal prototype to avoid an error. */
39487 #ifdef __cplusplus
39488 extern "C"
39490 #endif
39491 /* We use char because int might match the return type of a gcc2
39492 builtin and then its argument prototype would still apply. */
39493 char $ac_func ();
39494 /* The GNU C library defines this for functions which it implements
39495 to always fail with ENOSYS. Some functions are actually named
39496 something starting with __ and the normal name is an alias. */
39497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39498 choke me
39499 #else
39500 char (*f) () = $ac_func;
39501 #endif
39502 #ifdef __cplusplus
39504 #endif
39507 main ()
39509 return f != $ac_func;
39511 return 0;
39513 _ACEOF
39514 rm -f conftest.$ac_objext conftest$ac_exeext
39515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39516 (eval $ac_link) 2>conftest.er1
39517 ac_status=$?
39518 grep -v '^ *+' conftest.er1 >conftest.err
39519 rm -f conftest.er1
39520 cat conftest.err >&5
39521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39522 (exit $ac_status); } &&
39523 { ac_try='test -z "$ac_c_werror_flag"
39524 || test ! -s conftest.err'
39525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39526 (eval $ac_try) 2>&5
39527 ac_status=$?
39528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39529 (exit $ac_status); }; } &&
39530 { ac_try='test -s conftest$ac_exeext'
39531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39532 (eval $ac_try) 2>&5
39533 ac_status=$?
39534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39535 (exit $ac_status); }; }; then
39536 eval "$as_ac_var=yes"
39537 else
39538 echo "$as_me: failed program was:" >&5
39539 sed 's/^/| /' conftest.$ac_ext >&5
39541 eval "$as_ac_var=no"
39543 rm -f conftest.err conftest.$ac_objext \
39544 conftest$ac_exeext conftest.$ac_ext
39546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39548 if test `eval echo '${'$as_ac_var'}'` = yes; then
39549 cat >>confdefs.h <<_ACEOF
39550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39551 _ACEOF
39554 done
39564 echo "$as_me:$LINENO: checking for log10f declaration" >&5
39565 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
39566 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
39567 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
39568 echo $ECHO_N "(cached) $ECHO_C" >&6
39569 else
39573 ac_ext=cc
39574 ac_cpp='$CXXCPP $CPPFLAGS'
39575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39579 cat >conftest.$ac_ext <<_ACEOF
39580 /* confdefs.h. */
39581 _ACEOF
39582 cat confdefs.h >>conftest.$ac_ext
39583 cat >>conftest.$ac_ext <<_ACEOF
39584 /* end confdefs.h. */
39585 #include <math.h>
39586 #ifdef HAVE_IEEEFP_H
39587 #include <ieeefp.h>
39588 #endif
39591 main ()
39593 log10f(0);
39595 return 0;
39597 _ACEOF
39598 rm -f conftest.$ac_objext
39599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39600 (eval $ac_compile) 2>conftest.er1
39601 ac_status=$?
39602 grep -v '^ *+' conftest.er1 >conftest.err
39603 rm -f conftest.er1
39604 cat conftest.err >&5
39605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39606 (exit $ac_status); } &&
39607 { ac_try='test -z "$ac_cxx_werror_flag"
39608 || test ! -s conftest.err'
39609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39610 (eval $ac_try) 2>&5
39611 ac_status=$?
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); }; } &&
39614 { ac_try='test -s conftest.$ac_objext'
39615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39616 (eval $ac_try) 2>&5
39617 ac_status=$?
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); }; }; then
39620 glibcxx_cv_func_log10f_use=yes
39621 else
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.$ac_ext >&5
39625 glibcxx_cv_func_log10f_use=no
39627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39628 ac_ext=c
39629 ac_cpp='$CPP $CPPFLAGS'
39630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39638 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
39639 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
39641 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
39643 for ac_func in log10f
39645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39646 echo "$as_me:$LINENO: checking for $ac_func" >&5
39647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39648 if eval "test \"\${$as_ac_var+set}\" = set"; then
39649 echo $ECHO_N "(cached) $ECHO_C" >&6
39650 else
39651 if test x$gcc_no_link = xyes; then
39652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39654 { (exit 1); exit 1; }; }
39656 cat >conftest.$ac_ext <<_ACEOF
39657 /* confdefs.h. */
39658 _ACEOF
39659 cat confdefs.h >>conftest.$ac_ext
39660 cat >>conftest.$ac_ext <<_ACEOF
39661 /* end confdefs.h. */
39662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39664 #define $ac_func innocuous_$ac_func
39666 /* System header to define __stub macros and hopefully few prototypes,
39667 which can conflict with char $ac_func (); below.
39668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39669 <limits.h> exists even on freestanding compilers. */
39671 #ifdef __STDC__
39672 # include <limits.h>
39673 #else
39674 # include <assert.h>
39675 #endif
39677 #undef $ac_func
39679 /* Override any gcc2 internal prototype to avoid an error. */
39680 #ifdef __cplusplus
39681 extern "C"
39683 #endif
39684 /* We use char because int might match the return type of a gcc2
39685 builtin and then its argument prototype would still apply. */
39686 char $ac_func ();
39687 /* The GNU C library defines this for functions which it implements
39688 to always fail with ENOSYS. Some functions are actually named
39689 something starting with __ and the normal name is an alias. */
39690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39691 choke me
39692 #else
39693 char (*f) () = $ac_func;
39694 #endif
39695 #ifdef __cplusplus
39697 #endif
39700 main ()
39702 return f != $ac_func;
39704 return 0;
39706 _ACEOF
39707 rm -f conftest.$ac_objext conftest$ac_exeext
39708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39709 (eval $ac_link) 2>conftest.er1
39710 ac_status=$?
39711 grep -v '^ *+' conftest.er1 >conftest.err
39712 rm -f conftest.er1
39713 cat conftest.err >&5
39714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39715 (exit $ac_status); } &&
39716 { ac_try='test -z "$ac_c_werror_flag"
39717 || test ! -s conftest.err'
39718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39719 (eval $ac_try) 2>&5
39720 ac_status=$?
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); }; } &&
39723 { ac_try='test -s conftest$ac_exeext'
39724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39725 (eval $ac_try) 2>&5
39726 ac_status=$?
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); }; }; then
39729 eval "$as_ac_var=yes"
39730 else
39731 echo "$as_me: failed program was:" >&5
39732 sed 's/^/| /' conftest.$ac_ext >&5
39734 eval "$as_ac_var=no"
39736 rm -f conftest.err conftest.$ac_objext \
39737 conftest$ac_exeext conftest.$ac_ext
39739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39741 if test `eval echo '${'$as_ac_var'}'` = yes; then
39742 cat >>confdefs.h <<_ACEOF
39743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39744 _ACEOF
39747 done
39749 else
39751 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
39752 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
39753 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
39754 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
39755 echo $ECHO_N "(cached) $ECHO_C" >&6
39756 else
39760 ac_ext=cc
39761 ac_cpp='$CXXCPP $CPPFLAGS'
39762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39766 cat >conftest.$ac_ext <<_ACEOF
39767 /* confdefs.h. */
39768 _ACEOF
39769 cat confdefs.h >>conftest.$ac_ext
39770 cat >>conftest.$ac_ext <<_ACEOF
39771 /* end confdefs.h. */
39772 #include <math.h>
39773 #ifdef HAVE_IEEEFP_H
39774 #include <ieeefp.h>
39775 #endif
39778 main ()
39780 _log10f(0);
39782 return 0;
39784 _ACEOF
39785 rm -f conftest.$ac_objext
39786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39787 (eval $ac_compile) 2>conftest.er1
39788 ac_status=$?
39789 grep -v '^ *+' conftest.er1 >conftest.err
39790 rm -f conftest.er1
39791 cat conftest.err >&5
39792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39793 (exit $ac_status); } &&
39794 { ac_try='test -z "$ac_cxx_werror_flag"
39795 || test ! -s conftest.err'
39796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39797 (eval $ac_try) 2>&5
39798 ac_status=$?
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); }; } &&
39801 { ac_try='test -s conftest.$ac_objext'
39802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39803 (eval $ac_try) 2>&5
39804 ac_status=$?
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); }; }; then
39807 glibcxx_cv_func__log10f_use=yes
39808 else
39809 echo "$as_me: failed program was:" >&5
39810 sed 's/^/| /' conftest.$ac_ext >&5
39812 glibcxx_cv_func__log10f_use=no
39814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39815 ac_ext=c
39816 ac_cpp='$CPP $CPPFLAGS'
39817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39825 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
39826 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
39828 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
39830 for ac_func in _log10f
39832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39833 echo "$as_me:$LINENO: checking for $ac_func" >&5
39834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39835 if eval "test \"\${$as_ac_var+set}\" = set"; then
39836 echo $ECHO_N "(cached) $ECHO_C" >&6
39837 else
39838 if test x$gcc_no_link = xyes; then
39839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39841 { (exit 1); exit 1; }; }
39843 cat >conftest.$ac_ext <<_ACEOF
39844 /* confdefs.h. */
39845 _ACEOF
39846 cat confdefs.h >>conftest.$ac_ext
39847 cat >>conftest.$ac_ext <<_ACEOF
39848 /* end confdefs.h. */
39849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39851 #define $ac_func innocuous_$ac_func
39853 /* System header to define __stub macros and hopefully few prototypes,
39854 which can conflict with char $ac_func (); below.
39855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39856 <limits.h> exists even on freestanding compilers. */
39858 #ifdef __STDC__
39859 # include <limits.h>
39860 #else
39861 # include <assert.h>
39862 #endif
39864 #undef $ac_func
39866 /* Override any gcc2 internal prototype to avoid an error. */
39867 #ifdef __cplusplus
39868 extern "C"
39870 #endif
39871 /* We use char because int might match the return type of a gcc2
39872 builtin and then its argument prototype would still apply. */
39873 char $ac_func ();
39874 /* The GNU C library defines this for functions which it implements
39875 to always fail with ENOSYS. Some functions are actually named
39876 something starting with __ and the normal name is an alias. */
39877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39878 choke me
39879 #else
39880 char (*f) () = $ac_func;
39881 #endif
39882 #ifdef __cplusplus
39884 #endif
39887 main ()
39889 return f != $ac_func;
39891 return 0;
39893 _ACEOF
39894 rm -f conftest.$ac_objext conftest$ac_exeext
39895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39896 (eval $ac_link) 2>conftest.er1
39897 ac_status=$?
39898 grep -v '^ *+' conftest.er1 >conftest.err
39899 rm -f conftest.er1
39900 cat conftest.err >&5
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); } &&
39903 { ac_try='test -z "$ac_c_werror_flag"
39904 || test ! -s conftest.err'
39905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906 (eval $ac_try) 2>&5
39907 ac_status=$?
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); }; } &&
39910 { ac_try='test -s conftest$ac_exeext'
39911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39912 (eval $ac_try) 2>&5
39913 ac_status=$?
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); }; }; then
39916 eval "$as_ac_var=yes"
39917 else
39918 echo "$as_me: failed program was:" >&5
39919 sed 's/^/| /' conftest.$ac_ext >&5
39921 eval "$as_ac_var=no"
39923 rm -f conftest.err conftest.$ac_objext \
39924 conftest$ac_exeext conftest.$ac_ext
39926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39928 if test `eval echo '${'$as_ac_var'}'` = yes; then
39929 cat >>confdefs.h <<_ACEOF
39930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39931 _ACEOF
39934 done
39944 echo "$as_me:$LINENO: checking for modff declaration" >&5
39945 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39946 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39947 if test "${glibcxx_cv_func_modff_use+set}" = set; then
39948 echo $ECHO_N "(cached) $ECHO_C" >&6
39949 else
39953 ac_ext=cc
39954 ac_cpp='$CXXCPP $CPPFLAGS'
39955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39959 cat >conftest.$ac_ext <<_ACEOF
39960 /* confdefs.h. */
39961 _ACEOF
39962 cat confdefs.h >>conftest.$ac_ext
39963 cat >>conftest.$ac_ext <<_ACEOF
39964 /* end confdefs.h. */
39965 #include <math.h>
39967 main ()
39969 modff(0, 0);
39971 return 0;
39973 _ACEOF
39974 rm -f conftest.$ac_objext
39975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39976 (eval $ac_compile) 2>conftest.er1
39977 ac_status=$?
39978 grep -v '^ *+' conftest.er1 >conftest.err
39979 rm -f conftest.er1
39980 cat conftest.err >&5
39981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39982 (exit $ac_status); } &&
39983 { ac_try='test -z "$ac_cxx_werror_flag"
39984 || test ! -s conftest.err'
39985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39986 (eval $ac_try) 2>&5
39987 ac_status=$?
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); }; } &&
39990 { ac_try='test -s conftest.$ac_objext'
39991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39992 (eval $ac_try) 2>&5
39993 ac_status=$?
39994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39995 (exit $ac_status); }; }; then
39996 glibcxx_cv_func_modff_use=yes
39997 else
39998 echo "$as_me: failed program was:" >&5
39999 sed 's/^/| /' conftest.$ac_ext >&5
40001 glibcxx_cv_func_modff_use=no
40003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40004 ac_ext=c
40005 ac_cpp='$CPP $CPPFLAGS'
40006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40014 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40015 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40017 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40019 for ac_func in modff
40021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40022 echo "$as_me:$LINENO: checking for $ac_func" >&5
40023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40024 if eval "test \"\${$as_ac_var+set}\" = set"; then
40025 echo $ECHO_N "(cached) $ECHO_C" >&6
40026 else
40027 if test x$gcc_no_link = xyes; then
40028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40030 { (exit 1); exit 1; }; }
40032 cat >conftest.$ac_ext <<_ACEOF
40033 /* confdefs.h. */
40034 _ACEOF
40035 cat confdefs.h >>conftest.$ac_ext
40036 cat >>conftest.$ac_ext <<_ACEOF
40037 /* end confdefs.h. */
40038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40040 #define $ac_func innocuous_$ac_func
40042 /* System header to define __stub macros and hopefully few prototypes,
40043 which can conflict with char $ac_func (); below.
40044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40045 <limits.h> exists even on freestanding compilers. */
40047 #ifdef __STDC__
40048 # include <limits.h>
40049 #else
40050 # include <assert.h>
40051 #endif
40053 #undef $ac_func
40055 /* Override any gcc2 internal prototype to avoid an error. */
40056 #ifdef __cplusplus
40057 extern "C"
40059 #endif
40060 /* We use char because int might match the return type of a gcc2
40061 builtin and then its argument prototype would still apply. */
40062 char $ac_func ();
40063 /* The GNU C library defines this for functions which it implements
40064 to always fail with ENOSYS. Some functions are actually named
40065 something starting with __ and the normal name is an alias. */
40066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40067 choke me
40068 #else
40069 char (*f) () = $ac_func;
40070 #endif
40071 #ifdef __cplusplus
40073 #endif
40076 main ()
40078 return f != $ac_func;
40080 return 0;
40082 _ACEOF
40083 rm -f conftest.$ac_objext conftest$ac_exeext
40084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40085 (eval $ac_link) 2>conftest.er1
40086 ac_status=$?
40087 grep -v '^ *+' conftest.er1 >conftest.err
40088 rm -f conftest.er1
40089 cat conftest.err >&5
40090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40091 (exit $ac_status); } &&
40092 { ac_try='test -z "$ac_c_werror_flag"
40093 || test ! -s conftest.err'
40094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40095 (eval $ac_try) 2>&5
40096 ac_status=$?
40097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40098 (exit $ac_status); }; } &&
40099 { ac_try='test -s conftest$ac_exeext'
40100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40101 (eval $ac_try) 2>&5
40102 ac_status=$?
40103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40104 (exit $ac_status); }; }; then
40105 eval "$as_ac_var=yes"
40106 else
40107 echo "$as_me: failed program was:" >&5
40108 sed 's/^/| /' conftest.$ac_ext >&5
40110 eval "$as_ac_var=no"
40112 rm -f conftest.err conftest.$ac_objext \
40113 conftest$ac_exeext conftest.$ac_ext
40115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40117 if test `eval echo '${'$as_ac_var'}'` = yes; then
40118 cat >>confdefs.h <<_ACEOF
40119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40120 _ACEOF
40123 done
40125 else
40127 echo "$as_me:$LINENO: checking for _modff declaration" >&5
40128 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40129 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40130 if test "${glibcxx_cv_func__modff_use+set}" = set; then
40131 echo $ECHO_N "(cached) $ECHO_C" >&6
40132 else
40136 ac_ext=cc
40137 ac_cpp='$CXXCPP $CPPFLAGS'
40138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40142 cat >conftest.$ac_ext <<_ACEOF
40143 /* confdefs.h. */
40144 _ACEOF
40145 cat confdefs.h >>conftest.$ac_ext
40146 cat >>conftest.$ac_ext <<_ACEOF
40147 /* end confdefs.h. */
40148 #include <math.h>
40150 main ()
40152 _modff(0, 0);
40154 return 0;
40156 _ACEOF
40157 rm -f conftest.$ac_objext
40158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40159 (eval $ac_compile) 2>conftest.er1
40160 ac_status=$?
40161 grep -v '^ *+' conftest.er1 >conftest.err
40162 rm -f conftest.er1
40163 cat conftest.err >&5
40164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40165 (exit $ac_status); } &&
40166 { ac_try='test -z "$ac_cxx_werror_flag"
40167 || test ! -s conftest.err'
40168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40169 (eval $ac_try) 2>&5
40170 ac_status=$?
40171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40172 (exit $ac_status); }; } &&
40173 { ac_try='test -s conftest.$ac_objext'
40174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40175 (eval $ac_try) 2>&5
40176 ac_status=$?
40177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178 (exit $ac_status); }; }; then
40179 glibcxx_cv_func__modff_use=yes
40180 else
40181 echo "$as_me: failed program was:" >&5
40182 sed 's/^/| /' conftest.$ac_ext >&5
40184 glibcxx_cv_func__modff_use=no
40186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40187 ac_ext=c
40188 ac_cpp='$CPP $CPPFLAGS'
40189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40197 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40198 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40200 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40202 for ac_func in _modff
40204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40205 echo "$as_me:$LINENO: checking for $ac_func" >&5
40206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40207 if eval "test \"\${$as_ac_var+set}\" = set"; then
40208 echo $ECHO_N "(cached) $ECHO_C" >&6
40209 else
40210 if test x$gcc_no_link = xyes; then
40211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40213 { (exit 1); exit 1; }; }
40215 cat >conftest.$ac_ext <<_ACEOF
40216 /* confdefs.h. */
40217 _ACEOF
40218 cat confdefs.h >>conftest.$ac_ext
40219 cat >>conftest.$ac_ext <<_ACEOF
40220 /* end confdefs.h. */
40221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40223 #define $ac_func innocuous_$ac_func
40225 /* System header to define __stub macros and hopefully few prototypes,
40226 which can conflict with char $ac_func (); below.
40227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40228 <limits.h> exists even on freestanding compilers. */
40230 #ifdef __STDC__
40231 # include <limits.h>
40232 #else
40233 # include <assert.h>
40234 #endif
40236 #undef $ac_func
40238 /* Override any gcc2 internal prototype to avoid an error. */
40239 #ifdef __cplusplus
40240 extern "C"
40242 #endif
40243 /* We use char because int might match the return type of a gcc2
40244 builtin and then its argument prototype would still apply. */
40245 char $ac_func ();
40246 /* The GNU C library defines this for functions which it implements
40247 to always fail with ENOSYS. Some functions are actually named
40248 something starting with __ and the normal name is an alias. */
40249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40250 choke me
40251 #else
40252 char (*f) () = $ac_func;
40253 #endif
40254 #ifdef __cplusplus
40256 #endif
40259 main ()
40261 return f != $ac_func;
40263 return 0;
40265 _ACEOF
40266 rm -f conftest.$ac_objext conftest$ac_exeext
40267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40268 (eval $ac_link) 2>conftest.er1
40269 ac_status=$?
40270 grep -v '^ *+' conftest.er1 >conftest.err
40271 rm -f conftest.er1
40272 cat conftest.err >&5
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); } &&
40275 { ac_try='test -z "$ac_c_werror_flag"
40276 || test ! -s conftest.err'
40277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40278 (eval $ac_try) 2>&5
40279 ac_status=$?
40280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40281 (exit $ac_status); }; } &&
40282 { ac_try='test -s conftest$ac_exeext'
40283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40284 (eval $ac_try) 2>&5
40285 ac_status=$?
40286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287 (exit $ac_status); }; }; then
40288 eval "$as_ac_var=yes"
40289 else
40290 echo "$as_me: failed program was:" >&5
40291 sed 's/^/| /' conftest.$ac_ext >&5
40293 eval "$as_ac_var=no"
40295 rm -f conftest.err conftest.$ac_objext \
40296 conftest$ac_exeext conftest.$ac_ext
40298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40300 if test `eval echo '${'$as_ac_var'}'` = yes; then
40301 cat >>confdefs.h <<_ACEOF
40302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40303 _ACEOF
40306 done
40316 echo "$as_me:$LINENO: checking for modf declaration" >&5
40317 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
40318 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40319 if test "${glibcxx_cv_func_modf_use+set}" = set; then
40320 echo $ECHO_N "(cached) $ECHO_C" >&6
40321 else
40325 ac_ext=cc
40326 ac_cpp='$CXXCPP $CPPFLAGS'
40327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40331 cat >conftest.$ac_ext <<_ACEOF
40332 /* confdefs.h. */
40333 _ACEOF
40334 cat confdefs.h >>conftest.$ac_ext
40335 cat >>conftest.$ac_ext <<_ACEOF
40336 /* end confdefs.h. */
40337 #include <math.h>
40339 main ()
40341 modf(0, 0);
40343 return 0;
40345 _ACEOF
40346 rm -f conftest.$ac_objext
40347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40348 (eval $ac_compile) 2>conftest.er1
40349 ac_status=$?
40350 grep -v '^ *+' conftest.er1 >conftest.err
40351 rm -f conftest.er1
40352 cat conftest.err >&5
40353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40354 (exit $ac_status); } &&
40355 { ac_try='test -z "$ac_cxx_werror_flag"
40356 || test ! -s conftest.err'
40357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40358 (eval $ac_try) 2>&5
40359 ac_status=$?
40360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40361 (exit $ac_status); }; } &&
40362 { ac_try='test -s conftest.$ac_objext'
40363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40364 (eval $ac_try) 2>&5
40365 ac_status=$?
40366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40367 (exit $ac_status); }; }; then
40368 glibcxx_cv_func_modf_use=yes
40369 else
40370 echo "$as_me: failed program was:" >&5
40371 sed 's/^/| /' conftest.$ac_ext >&5
40373 glibcxx_cv_func_modf_use=no
40375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40376 ac_ext=c
40377 ac_cpp='$CPP $CPPFLAGS'
40378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40386 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
40387 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
40389 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40391 for ac_func in modf
40393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40394 echo "$as_me:$LINENO: checking for $ac_func" >&5
40395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40396 if eval "test \"\${$as_ac_var+set}\" = set"; then
40397 echo $ECHO_N "(cached) $ECHO_C" >&6
40398 else
40399 if test x$gcc_no_link = xyes; then
40400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40402 { (exit 1); exit 1; }; }
40404 cat >conftest.$ac_ext <<_ACEOF
40405 /* confdefs.h. */
40406 _ACEOF
40407 cat confdefs.h >>conftest.$ac_ext
40408 cat >>conftest.$ac_ext <<_ACEOF
40409 /* end confdefs.h. */
40410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40412 #define $ac_func innocuous_$ac_func
40414 /* System header to define __stub macros and hopefully few prototypes,
40415 which can conflict with char $ac_func (); below.
40416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40417 <limits.h> exists even on freestanding compilers. */
40419 #ifdef __STDC__
40420 # include <limits.h>
40421 #else
40422 # include <assert.h>
40423 #endif
40425 #undef $ac_func
40427 /* Override any gcc2 internal prototype to avoid an error. */
40428 #ifdef __cplusplus
40429 extern "C"
40431 #endif
40432 /* We use char because int might match the return type of a gcc2
40433 builtin and then its argument prototype would still apply. */
40434 char $ac_func ();
40435 /* The GNU C library defines this for functions which it implements
40436 to always fail with ENOSYS. Some functions are actually named
40437 something starting with __ and the normal name is an alias. */
40438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40439 choke me
40440 #else
40441 char (*f) () = $ac_func;
40442 #endif
40443 #ifdef __cplusplus
40445 #endif
40448 main ()
40450 return f != $ac_func;
40452 return 0;
40454 _ACEOF
40455 rm -f conftest.$ac_objext conftest$ac_exeext
40456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40457 (eval $ac_link) 2>conftest.er1
40458 ac_status=$?
40459 grep -v '^ *+' conftest.er1 >conftest.err
40460 rm -f conftest.er1
40461 cat conftest.err >&5
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); } &&
40464 { ac_try='test -z "$ac_c_werror_flag"
40465 || test ! -s conftest.err'
40466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40467 (eval $ac_try) 2>&5
40468 ac_status=$?
40469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40470 (exit $ac_status); }; } &&
40471 { ac_try='test -s conftest$ac_exeext'
40472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40473 (eval $ac_try) 2>&5
40474 ac_status=$?
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); }; }; then
40477 eval "$as_ac_var=yes"
40478 else
40479 echo "$as_me: failed program was:" >&5
40480 sed 's/^/| /' conftest.$ac_ext >&5
40482 eval "$as_ac_var=no"
40484 rm -f conftest.err conftest.$ac_objext \
40485 conftest$ac_exeext conftest.$ac_ext
40487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40489 if test `eval echo '${'$as_ac_var'}'` = yes; then
40490 cat >>confdefs.h <<_ACEOF
40491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40492 _ACEOF
40495 done
40497 else
40499 echo "$as_me:$LINENO: checking for _modf declaration" >&5
40500 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
40501 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40502 if test "${glibcxx_cv_func__modf_use+set}" = set; then
40503 echo $ECHO_N "(cached) $ECHO_C" >&6
40504 else
40508 ac_ext=cc
40509 ac_cpp='$CXXCPP $CPPFLAGS'
40510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40514 cat >conftest.$ac_ext <<_ACEOF
40515 /* confdefs.h. */
40516 _ACEOF
40517 cat confdefs.h >>conftest.$ac_ext
40518 cat >>conftest.$ac_ext <<_ACEOF
40519 /* end confdefs.h. */
40520 #include <math.h>
40522 main ()
40524 _modf(0, 0);
40526 return 0;
40528 _ACEOF
40529 rm -f conftest.$ac_objext
40530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40531 (eval $ac_compile) 2>conftest.er1
40532 ac_status=$?
40533 grep -v '^ *+' conftest.er1 >conftest.err
40534 rm -f conftest.er1
40535 cat conftest.err >&5
40536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40537 (exit $ac_status); } &&
40538 { ac_try='test -z "$ac_cxx_werror_flag"
40539 || test ! -s conftest.err'
40540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40541 (eval $ac_try) 2>&5
40542 ac_status=$?
40543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40544 (exit $ac_status); }; } &&
40545 { ac_try='test -s conftest.$ac_objext'
40546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40547 (eval $ac_try) 2>&5
40548 ac_status=$?
40549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40550 (exit $ac_status); }; }; then
40551 glibcxx_cv_func__modf_use=yes
40552 else
40553 echo "$as_me: failed program was:" >&5
40554 sed 's/^/| /' conftest.$ac_ext >&5
40556 glibcxx_cv_func__modf_use=no
40558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40559 ac_ext=c
40560 ac_cpp='$CPP $CPPFLAGS'
40561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40569 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
40570 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
40572 if test x$glibcxx_cv_func__modf_use = x"yes"; then
40574 for ac_func in _modf
40576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40577 echo "$as_me:$LINENO: checking for $ac_func" >&5
40578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40579 if eval "test \"\${$as_ac_var+set}\" = set"; then
40580 echo $ECHO_N "(cached) $ECHO_C" >&6
40581 else
40582 if test x$gcc_no_link = xyes; then
40583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40585 { (exit 1); exit 1; }; }
40587 cat >conftest.$ac_ext <<_ACEOF
40588 /* confdefs.h. */
40589 _ACEOF
40590 cat confdefs.h >>conftest.$ac_ext
40591 cat >>conftest.$ac_ext <<_ACEOF
40592 /* end confdefs.h. */
40593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40595 #define $ac_func innocuous_$ac_func
40597 /* System header to define __stub macros and hopefully few prototypes,
40598 which can conflict with char $ac_func (); below.
40599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40600 <limits.h> exists even on freestanding compilers. */
40602 #ifdef __STDC__
40603 # include <limits.h>
40604 #else
40605 # include <assert.h>
40606 #endif
40608 #undef $ac_func
40610 /* Override any gcc2 internal prototype to avoid an error. */
40611 #ifdef __cplusplus
40612 extern "C"
40614 #endif
40615 /* We use char because int might match the return type of a gcc2
40616 builtin and then its argument prototype would still apply. */
40617 char $ac_func ();
40618 /* The GNU C library defines this for functions which it implements
40619 to always fail with ENOSYS. Some functions are actually named
40620 something starting with __ and the normal name is an alias. */
40621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40622 choke me
40623 #else
40624 char (*f) () = $ac_func;
40625 #endif
40626 #ifdef __cplusplus
40628 #endif
40631 main ()
40633 return f != $ac_func;
40635 return 0;
40637 _ACEOF
40638 rm -f conftest.$ac_objext conftest$ac_exeext
40639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40640 (eval $ac_link) 2>conftest.er1
40641 ac_status=$?
40642 grep -v '^ *+' conftest.er1 >conftest.err
40643 rm -f conftest.er1
40644 cat conftest.err >&5
40645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40646 (exit $ac_status); } &&
40647 { ac_try='test -z "$ac_c_werror_flag"
40648 || test ! -s conftest.err'
40649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40650 (eval $ac_try) 2>&5
40651 ac_status=$?
40652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653 (exit $ac_status); }; } &&
40654 { ac_try='test -s conftest$ac_exeext'
40655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40656 (eval $ac_try) 2>&5
40657 ac_status=$?
40658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40659 (exit $ac_status); }; }; then
40660 eval "$as_ac_var=yes"
40661 else
40662 echo "$as_me: failed program was:" >&5
40663 sed 's/^/| /' conftest.$ac_ext >&5
40665 eval "$as_ac_var=no"
40667 rm -f conftest.err conftest.$ac_objext \
40668 conftest$ac_exeext conftest.$ac_ext
40670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40672 if test `eval echo '${'$as_ac_var'}'` = yes; then
40673 cat >>confdefs.h <<_ACEOF
40674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40675 _ACEOF
40678 done
40688 echo "$as_me:$LINENO: checking for powf declaration" >&5
40689 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
40690 if test x${glibcxx_cv_func_powf_use+set} != xset; then
40691 if test "${glibcxx_cv_func_powf_use+set}" = set; then
40692 echo $ECHO_N "(cached) $ECHO_C" >&6
40693 else
40697 ac_ext=cc
40698 ac_cpp='$CXXCPP $CPPFLAGS'
40699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40703 cat >conftest.$ac_ext <<_ACEOF
40704 /* confdefs.h. */
40705 _ACEOF
40706 cat confdefs.h >>conftest.$ac_ext
40707 cat >>conftest.$ac_ext <<_ACEOF
40708 /* end confdefs.h. */
40709 #include <math.h>
40711 main ()
40713 powf(0, 0);
40715 return 0;
40717 _ACEOF
40718 rm -f conftest.$ac_objext
40719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40720 (eval $ac_compile) 2>conftest.er1
40721 ac_status=$?
40722 grep -v '^ *+' conftest.er1 >conftest.err
40723 rm -f conftest.er1
40724 cat conftest.err >&5
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); } &&
40727 { ac_try='test -z "$ac_cxx_werror_flag"
40728 || test ! -s conftest.err'
40729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40730 (eval $ac_try) 2>&5
40731 ac_status=$?
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); }; } &&
40734 { ac_try='test -s conftest.$ac_objext'
40735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40736 (eval $ac_try) 2>&5
40737 ac_status=$?
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); }; }; then
40740 glibcxx_cv_func_powf_use=yes
40741 else
40742 echo "$as_me: failed program was:" >&5
40743 sed 's/^/| /' conftest.$ac_ext >&5
40745 glibcxx_cv_func_powf_use=no
40747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40748 ac_ext=c
40749 ac_cpp='$CPP $CPPFLAGS'
40750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40758 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
40759 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
40761 if test x$glibcxx_cv_func_powf_use = x"yes"; then
40763 for ac_func in powf
40765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40766 echo "$as_me:$LINENO: checking for $ac_func" >&5
40767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40768 if eval "test \"\${$as_ac_var+set}\" = set"; then
40769 echo $ECHO_N "(cached) $ECHO_C" >&6
40770 else
40771 if test x$gcc_no_link = xyes; then
40772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40774 { (exit 1); exit 1; }; }
40776 cat >conftest.$ac_ext <<_ACEOF
40777 /* confdefs.h. */
40778 _ACEOF
40779 cat confdefs.h >>conftest.$ac_ext
40780 cat >>conftest.$ac_ext <<_ACEOF
40781 /* end confdefs.h. */
40782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40784 #define $ac_func innocuous_$ac_func
40786 /* System header to define __stub macros and hopefully few prototypes,
40787 which can conflict with char $ac_func (); below.
40788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40789 <limits.h> exists even on freestanding compilers. */
40791 #ifdef __STDC__
40792 # include <limits.h>
40793 #else
40794 # include <assert.h>
40795 #endif
40797 #undef $ac_func
40799 /* Override any gcc2 internal prototype to avoid an error. */
40800 #ifdef __cplusplus
40801 extern "C"
40803 #endif
40804 /* We use char because int might match the return type of a gcc2
40805 builtin and then its argument prototype would still apply. */
40806 char $ac_func ();
40807 /* The GNU C library defines this for functions which it implements
40808 to always fail with ENOSYS. Some functions are actually named
40809 something starting with __ and the normal name is an alias. */
40810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40811 choke me
40812 #else
40813 char (*f) () = $ac_func;
40814 #endif
40815 #ifdef __cplusplus
40817 #endif
40820 main ()
40822 return f != $ac_func;
40824 return 0;
40826 _ACEOF
40827 rm -f conftest.$ac_objext conftest$ac_exeext
40828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40829 (eval $ac_link) 2>conftest.er1
40830 ac_status=$?
40831 grep -v '^ *+' conftest.er1 >conftest.err
40832 rm -f conftest.er1
40833 cat conftest.err >&5
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); } &&
40836 { ac_try='test -z "$ac_c_werror_flag"
40837 || test ! -s conftest.err'
40838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40839 (eval $ac_try) 2>&5
40840 ac_status=$?
40841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40842 (exit $ac_status); }; } &&
40843 { ac_try='test -s conftest$ac_exeext'
40844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40845 (eval $ac_try) 2>&5
40846 ac_status=$?
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); }; }; then
40849 eval "$as_ac_var=yes"
40850 else
40851 echo "$as_me: failed program was:" >&5
40852 sed 's/^/| /' conftest.$ac_ext >&5
40854 eval "$as_ac_var=no"
40856 rm -f conftest.err conftest.$ac_objext \
40857 conftest$ac_exeext conftest.$ac_ext
40859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40861 if test `eval echo '${'$as_ac_var'}'` = yes; then
40862 cat >>confdefs.h <<_ACEOF
40863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40864 _ACEOF
40867 done
40869 else
40871 echo "$as_me:$LINENO: checking for _powf declaration" >&5
40872 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
40873 if test x${glibcxx_cv_func__powf_use+set} != xset; then
40874 if test "${glibcxx_cv_func__powf_use+set}" = set; then
40875 echo $ECHO_N "(cached) $ECHO_C" >&6
40876 else
40880 ac_ext=cc
40881 ac_cpp='$CXXCPP $CPPFLAGS'
40882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40886 cat >conftest.$ac_ext <<_ACEOF
40887 /* confdefs.h. */
40888 _ACEOF
40889 cat confdefs.h >>conftest.$ac_ext
40890 cat >>conftest.$ac_ext <<_ACEOF
40891 /* end confdefs.h. */
40892 #include <math.h>
40894 main ()
40896 _powf(0, 0);
40898 return 0;
40900 _ACEOF
40901 rm -f conftest.$ac_objext
40902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40903 (eval $ac_compile) 2>conftest.er1
40904 ac_status=$?
40905 grep -v '^ *+' conftest.er1 >conftest.err
40906 rm -f conftest.er1
40907 cat conftest.err >&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } &&
40910 { ac_try='test -z "$ac_cxx_werror_flag"
40911 || test ! -s conftest.err'
40912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40913 (eval $ac_try) 2>&5
40914 ac_status=$?
40915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40916 (exit $ac_status); }; } &&
40917 { ac_try='test -s conftest.$ac_objext'
40918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40919 (eval $ac_try) 2>&5
40920 ac_status=$?
40921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40922 (exit $ac_status); }; }; then
40923 glibcxx_cv_func__powf_use=yes
40924 else
40925 echo "$as_me: failed program was:" >&5
40926 sed 's/^/| /' conftest.$ac_ext >&5
40928 glibcxx_cv_func__powf_use=no
40930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40931 ac_ext=c
40932 ac_cpp='$CPP $CPPFLAGS'
40933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40941 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40942 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40944 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40946 for ac_func in _powf
40948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40949 echo "$as_me:$LINENO: checking for $ac_func" >&5
40950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40951 if eval "test \"\${$as_ac_var+set}\" = set"; then
40952 echo $ECHO_N "(cached) $ECHO_C" >&6
40953 else
40954 if test x$gcc_no_link = xyes; then
40955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40957 { (exit 1); exit 1; }; }
40959 cat >conftest.$ac_ext <<_ACEOF
40960 /* confdefs.h. */
40961 _ACEOF
40962 cat confdefs.h >>conftest.$ac_ext
40963 cat >>conftest.$ac_ext <<_ACEOF
40964 /* end confdefs.h. */
40965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40967 #define $ac_func innocuous_$ac_func
40969 /* System header to define __stub macros and hopefully few prototypes,
40970 which can conflict with char $ac_func (); below.
40971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40972 <limits.h> exists even on freestanding compilers. */
40974 #ifdef __STDC__
40975 # include <limits.h>
40976 #else
40977 # include <assert.h>
40978 #endif
40980 #undef $ac_func
40982 /* Override any gcc2 internal prototype to avoid an error. */
40983 #ifdef __cplusplus
40984 extern "C"
40986 #endif
40987 /* We use char because int might match the return type of a gcc2
40988 builtin and then its argument prototype would still apply. */
40989 char $ac_func ();
40990 /* The GNU C library defines this for functions which it implements
40991 to always fail with ENOSYS. Some functions are actually named
40992 something starting with __ and the normal name is an alias. */
40993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40994 choke me
40995 #else
40996 char (*f) () = $ac_func;
40997 #endif
40998 #ifdef __cplusplus
41000 #endif
41003 main ()
41005 return f != $ac_func;
41007 return 0;
41009 _ACEOF
41010 rm -f conftest.$ac_objext conftest$ac_exeext
41011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41012 (eval $ac_link) 2>conftest.er1
41013 ac_status=$?
41014 grep -v '^ *+' conftest.er1 >conftest.err
41015 rm -f conftest.er1
41016 cat conftest.err >&5
41017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41018 (exit $ac_status); } &&
41019 { ac_try='test -z "$ac_c_werror_flag"
41020 || test ! -s conftest.err'
41021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41022 (eval $ac_try) 2>&5
41023 ac_status=$?
41024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41025 (exit $ac_status); }; } &&
41026 { ac_try='test -s conftest$ac_exeext'
41027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41028 (eval $ac_try) 2>&5
41029 ac_status=$?
41030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41031 (exit $ac_status); }; }; then
41032 eval "$as_ac_var=yes"
41033 else
41034 echo "$as_me: failed program was:" >&5
41035 sed 's/^/| /' conftest.$ac_ext >&5
41037 eval "$as_ac_var=no"
41039 rm -f conftest.err conftest.$ac_objext \
41040 conftest$ac_exeext conftest.$ac_ext
41042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41044 if test `eval echo '${'$as_ac_var'}'` = yes; then
41045 cat >>confdefs.h <<_ACEOF
41046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41047 _ACEOF
41050 done
41060 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41061 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41062 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41063 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41064 echo $ECHO_N "(cached) $ECHO_C" >&6
41065 else
41069 ac_ext=cc
41070 ac_cpp='$CXXCPP $CPPFLAGS'
41071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41075 cat >conftest.$ac_ext <<_ACEOF
41076 /* confdefs.h. */
41077 _ACEOF
41078 cat confdefs.h >>conftest.$ac_ext
41079 cat >>conftest.$ac_ext <<_ACEOF
41080 /* end confdefs.h. */
41081 #include <math.h>
41082 #ifdef HAVE_IEEEFP_H
41083 #include <ieeefp.h>
41084 #endif
41087 main ()
41089 sqrtf(0);
41091 return 0;
41093 _ACEOF
41094 rm -f conftest.$ac_objext
41095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41096 (eval $ac_compile) 2>conftest.er1
41097 ac_status=$?
41098 grep -v '^ *+' conftest.er1 >conftest.err
41099 rm -f conftest.er1
41100 cat conftest.err >&5
41101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41102 (exit $ac_status); } &&
41103 { ac_try='test -z "$ac_cxx_werror_flag"
41104 || test ! -s conftest.err'
41105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41106 (eval $ac_try) 2>&5
41107 ac_status=$?
41108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41109 (exit $ac_status); }; } &&
41110 { ac_try='test -s conftest.$ac_objext'
41111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41112 (eval $ac_try) 2>&5
41113 ac_status=$?
41114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115 (exit $ac_status); }; }; then
41116 glibcxx_cv_func_sqrtf_use=yes
41117 else
41118 echo "$as_me: failed program was:" >&5
41119 sed 's/^/| /' conftest.$ac_ext >&5
41121 glibcxx_cv_func_sqrtf_use=no
41123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41124 ac_ext=c
41125 ac_cpp='$CPP $CPPFLAGS'
41126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41134 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41135 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41137 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41139 for ac_func in sqrtf
41141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41142 echo "$as_me:$LINENO: checking for $ac_func" >&5
41143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41144 if eval "test \"\${$as_ac_var+set}\" = set"; then
41145 echo $ECHO_N "(cached) $ECHO_C" >&6
41146 else
41147 if test x$gcc_no_link = xyes; then
41148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41150 { (exit 1); exit 1; }; }
41152 cat >conftest.$ac_ext <<_ACEOF
41153 /* confdefs.h. */
41154 _ACEOF
41155 cat confdefs.h >>conftest.$ac_ext
41156 cat >>conftest.$ac_ext <<_ACEOF
41157 /* end confdefs.h. */
41158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41160 #define $ac_func innocuous_$ac_func
41162 /* System header to define __stub macros and hopefully few prototypes,
41163 which can conflict with char $ac_func (); below.
41164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41165 <limits.h> exists even on freestanding compilers. */
41167 #ifdef __STDC__
41168 # include <limits.h>
41169 #else
41170 # include <assert.h>
41171 #endif
41173 #undef $ac_func
41175 /* Override any gcc2 internal prototype to avoid an error. */
41176 #ifdef __cplusplus
41177 extern "C"
41179 #endif
41180 /* We use char because int might match the return type of a gcc2
41181 builtin and then its argument prototype would still apply. */
41182 char $ac_func ();
41183 /* The GNU C library defines this for functions which it implements
41184 to always fail with ENOSYS. Some functions are actually named
41185 something starting with __ and the normal name is an alias. */
41186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41187 choke me
41188 #else
41189 char (*f) () = $ac_func;
41190 #endif
41191 #ifdef __cplusplus
41193 #endif
41196 main ()
41198 return f != $ac_func;
41200 return 0;
41202 _ACEOF
41203 rm -f conftest.$ac_objext conftest$ac_exeext
41204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41205 (eval $ac_link) 2>conftest.er1
41206 ac_status=$?
41207 grep -v '^ *+' conftest.er1 >conftest.err
41208 rm -f conftest.er1
41209 cat conftest.err >&5
41210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41211 (exit $ac_status); } &&
41212 { ac_try='test -z "$ac_c_werror_flag"
41213 || test ! -s conftest.err'
41214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41215 (eval $ac_try) 2>&5
41216 ac_status=$?
41217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41218 (exit $ac_status); }; } &&
41219 { ac_try='test -s conftest$ac_exeext'
41220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41221 (eval $ac_try) 2>&5
41222 ac_status=$?
41223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41224 (exit $ac_status); }; }; then
41225 eval "$as_ac_var=yes"
41226 else
41227 echo "$as_me: failed program was:" >&5
41228 sed 's/^/| /' conftest.$ac_ext >&5
41230 eval "$as_ac_var=no"
41232 rm -f conftest.err conftest.$ac_objext \
41233 conftest$ac_exeext conftest.$ac_ext
41235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41237 if test `eval echo '${'$as_ac_var'}'` = yes; then
41238 cat >>confdefs.h <<_ACEOF
41239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41240 _ACEOF
41243 done
41245 else
41247 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
41248 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
41249 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41250 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
41251 echo $ECHO_N "(cached) $ECHO_C" >&6
41252 else
41256 ac_ext=cc
41257 ac_cpp='$CXXCPP $CPPFLAGS'
41258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41262 cat >conftest.$ac_ext <<_ACEOF
41263 /* confdefs.h. */
41264 _ACEOF
41265 cat confdefs.h >>conftest.$ac_ext
41266 cat >>conftest.$ac_ext <<_ACEOF
41267 /* end confdefs.h. */
41268 #include <math.h>
41269 #ifdef HAVE_IEEEFP_H
41270 #include <ieeefp.h>
41271 #endif
41274 main ()
41276 _sqrtf(0);
41278 return 0;
41280 _ACEOF
41281 rm -f conftest.$ac_objext
41282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41283 (eval $ac_compile) 2>conftest.er1
41284 ac_status=$?
41285 grep -v '^ *+' conftest.er1 >conftest.err
41286 rm -f conftest.er1
41287 cat conftest.err >&5
41288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41289 (exit $ac_status); } &&
41290 { ac_try='test -z "$ac_cxx_werror_flag"
41291 || test ! -s conftest.err'
41292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41293 (eval $ac_try) 2>&5
41294 ac_status=$?
41295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41296 (exit $ac_status); }; } &&
41297 { ac_try='test -s conftest.$ac_objext'
41298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41299 (eval $ac_try) 2>&5
41300 ac_status=$?
41301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41302 (exit $ac_status); }; }; then
41303 glibcxx_cv_func__sqrtf_use=yes
41304 else
41305 echo "$as_me: failed program was:" >&5
41306 sed 's/^/| /' conftest.$ac_ext >&5
41308 glibcxx_cv_func__sqrtf_use=no
41310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41311 ac_ext=c
41312 ac_cpp='$CPP $CPPFLAGS'
41313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41321 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
41322 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
41324 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41326 for ac_func in _sqrtf
41328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41329 echo "$as_me:$LINENO: checking for $ac_func" >&5
41330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41331 if eval "test \"\${$as_ac_var+set}\" = set"; then
41332 echo $ECHO_N "(cached) $ECHO_C" >&6
41333 else
41334 if test x$gcc_no_link = xyes; then
41335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41337 { (exit 1); exit 1; }; }
41339 cat >conftest.$ac_ext <<_ACEOF
41340 /* confdefs.h. */
41341 _ACEOF
41342 cat confdefs.h >>conftest.$ac_ext
41343 cat >>conftest.$ac_ext <<_ACEOF
41344 /* end confdefs.h. */
41345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41347 #define $ac_func innocuous_$ac_func
41349 /* System header to define __stub macros and hopefully few prototypes,
41350 which can conflict with char $ac_func (); below.
41351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41352 <limits.h> exists even on freestanding compilers. */
41354 #ifdef __STDC__
41355 # include <limits.h>
41356 #else
41357 # include <assert.h>
41358 #endif
41360 #undef $ac_func
41362 /* Override any gcc2 internal prototype to avoid an error. */
41363 #ifdef __cplusplus
41364 extern "C"
41366 #endif
41367 /* We use char because int might match the return type of a gcc2
41368 builtin and then its argument prototype would still apply. */
41369 char $ac_func ();
41370 /* The GNU C library defines this for functions which it implements
41371 to always fail with ENOSYS. Some functions are actually named
41372 something starting with __ and the normal name is an alias. */
41373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41374 choke me
41375 #else
41376 char (*f) () = $ac_func;
41377 #endif
41378 #ifdef __cplusplus
41380 #endif
41383 main ()
41385 return f != $ac_func;
41387 return 0;
41389 _ACEOF
41390 rm -f conftest.$ac_objext conftest$ac_exeext
41391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41392 (eval $ac_link) 2>conftest.er1
41393 ac_status=$?
41394 grep -v '^ *+' conftest.er1 >conftest.err
41395 rm -f conftest.er1
41396 cat conftest.err >&5
41397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41398 (exit $ac_status); } &&
41399 { ac_try='test -z "$ac_c_werror_flag"
41400 || test ! -s conftest.err'
41401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41402 (eval $ac_try) 2>&5
41403 ac_status=$?
41404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405 (exit $ac_status); }; } &&
41406 { ac_try='test -s conftest$ac_exeext'
41407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41408 (eval $ac_try) 2>&5
41409 ac_status=$?
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); }; }; then
41412 eval "$as_ac_var=yes"
41413 else
41414 echo "$as_me: failed program was:" >&5
41415 sed 's/^/| /' conftest.$ac_ext >&5
41417 eval "$as_ac_var=no"
41419 rm -f conftest.err conftest.$ac_objext \
41420 conftest$ac_exeext conftest.$ac_ext
41422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41424 if test `eval echo '${'$as_ac_var'}'` = yes; then
41425 cat >>confdefs.h <<_ACEOF
41426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41427 _ACEOF
41430 done
41440 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
41441 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
41442 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41443 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
41444 echo $ECHO_N "(cached) $ECHO_C" >&6
41445 else
41449 ac_ext=cc
41450 ac_cpp='$CXXCPP $CPPFLAGS'
41451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41455 cat >conftest.$ac_ext <<_ACEOF
41456 /* confdefs.h. */
41457 _ACEOF
41458 cat confdefs.h >>conftest.$ac_ext
41459 cat >>conftest.$ac_ext <<_ACEOF
41460 /* end confdefs.h. */
41461 #include <math.h>
41463 main ()
41465 sincosf(0, 0, 0);
41467 return 0;
41469 _ACEOF
41470 rm -f conftest.$ac_objext
41471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41472 (eval $ac_compile) 2>conftest.er1
41473 ac_status=$?
41474 grep -v '^ *+' conftest.er1 >conftest.err
41475 rm -f conftest.er1
41476 cat conftest.err >&5
41477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41478 (exit $ac_status); } &&
41479 { ac_try='test -z "$ac_cxx_werror_flag"
41480 || test ! -s conftest.err'
41481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41482 (eval $ac_try) 2>&5
41483 ac_status=$?
41484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41485 (exit $ac_status); }; } &&
41486 { ac_try='test -s conftest.$ac_objext'
41487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41488 (eval $ac_try) 2>&5
41489 ac_status=$?
41490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41491 (exit $ac_status); }; }; then
41492 glibcxx_cv_func_sincosf_use=yes
41493 else
41494 echo "$as_me: failed program was:" >&5
41495 sed 's/^/| /' conftest.$ac_ext >&5
41497 glibcxx_cv_func_sincosf_use=no
41499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41500 ac_ext=c
41501 ac_cpp='$CPP $CPPFLAGS'
41502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
41511 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
41513 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41515 for ac_func in sincosf
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
41623 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
41624 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
41625 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41626 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
41627 echo $ECHO_N "(cached) $ECHO_C" >&6
41628 else
41632 ac_ext=cc
41633 ac_cpp='$CXXCPP $CPPFLAGS'
41634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41638 cat >conftest.$ac_ext <<_ACEOF
41639 /* confdefs.h. */
41640 _ACEOF
41641 cat confdefs.h >>conftest.$ac_ext
41642 cat >>conftest.$ac_ext <<_ACEOF
41643 /* end confdefs.h. */
41644 #include <math.h>
41646 main ()
41648 _sincosf(0, 0, 0);
41650 return 0;
41652 _ACEOF
41653 rm -f conftest.$ac_objext
41654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41655 (eval $ac_compile) 2>conftest.er1
41656 ac_status=$?
41657 grep -v '^ *+' conftest.er1 >conftest.err
41658 rm -f conftest.er1
41659 cat conftest.err >&5
41660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41661 (exit $ac_status); } &&
41662 { ac_try='test -z "$ac_cxx_werror_flag"
41663 || test ! -s conftest.err'
41664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41665 (eval $ac_try) 2>&5
41666 ac_status=$?
41667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41668 (exit $ac_status); }; } &&
41669 { ac_try='test -s conftest.$ac_objext'
41670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41671 (eval $ac_try) 2>&5
41672 ac_status=$?
41673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41674 (exit $ac_status); }; }; then
41675 glibcxx_cv_func__sincosf_use=yes
41676 else
41677 echo "$as_me: failed program was:" >&5
41678 sed 's/^/| /' conftest.$ac_ext >&5
41680 glibcxx_cv_func__sincosf_use=no
41682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41683 ac_ext=c
41684 ac_cpp='$CPP $CPPFLAGS'
41685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
41694 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
41696 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41698 for ac_func in _sincosf
41700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41701 echo "$as_me:$LINENO: checking for $ac_func" >&5
41702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41703 if eval "test \"\${$as_ac_var+set}\" = set"; then
41704 echo $ECHO_N "(cached) $ECHO_C" >&6
41705 else
41706 if test x$gcc_no_link = xyes; then
41707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41709 { (exit 1); exit 1; }; }
41711 cat >conftest.$ac_ext <<_ACEOF
41712 /* confdefs.h. */
41713 _ACEOF
41714 cat confdefs.h >>conftest.$ac_ext
41715 cat >>conftest.$ac_ext <<_ACEOF
41716 /* end confdefs.h. */
41717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41719 #define $ac_func innocuous_$ac_func
41721 /* System header to define __stub macros and hopefully few prototypes,
41722 which can conflict with char $ac_func (); below.
41723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41724 <limits.h> exists even on freestanding compilers. */
41726 #ifdef __STDC__
41727 # include <limits.h>
41728 #else
41729 # include <assert.h>
41730 #endif
41732 #undef $ac_func
41734 /* Override any gcc2 internal prototype to avoid an error. */
41735 #ifdef __cplusplus
41736 extern "C"
41738 #endif
41739 /* We use char because int might match the return type of a gcc2
41740 builtin and then its argument prototype would still apply. */
41741 char $ac_func ();
41742 /* The GNU C library defines this for functions which it implements
41743 to always fail with ENOSYS. Some functions are actually named
41744 something starting with __ and the normal name is an alias. */
41745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41746 choke me
41747 #else
41748 char (*f) () = $ac_func;
41749 #endif
41750 #ifdef __cplusplus
41752 #endif
41755 main ()
41757 return f != $ac_func;
41759 return 0;
41761 _ACEOF
41762 rm -f conftest.$ac_objext conftest$ac_exeext
41763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41764 (eval $ac_link) 2>conftest.er1
41765 ac_status=$?
41766 grep -v '^ *+' conftest.er1 >conftest.err
41767 rm -f conftest.er1
41768 cat conftest.err >&5
41769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41770 (exit $ac_status); } &&
41771 { ac_try='test -z "$ac_c_werror_flag"
41772 || test ! -s conftest.err'
41773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41774 (eval $ac_try) 2>&5
41775 ac_status=$?
41776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41777 (exit $ac_status); }; } &&
41778 { ac_try='test -s conftest$ac_exeext'
41779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41780 (eval $ac_try) 2>&5
41781 ac_status=$?
41782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41783 (exit $ac_status); }; }; then
41784 eval "$as_ac_var=yes"
41785 else
41786 echo "$as_me: failed program was:" >&5
41787 sed 's/^/| /' conftest.$ac_ext >&5
41789 eval "$as_ac_var=no"
41791 rm -f conftest.err conftest.$ac_objext \
41792 conftest$ac_exeext conftest.$ac_ext
41794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41796 if test `eval echo '${'$as_ac_var'}'` = yes; then
41797 cat >>confdefs.h <<_ACEOF
41798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41799 _ACEOF
41802 done
41812 echo "$as_me:$LINENO: checking for finitef declaration" >&5
41813 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
41814 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41815 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
41816 echo $ECHO_N "(cached) $ECHO_C" >&6
41817 else
41821 ac_ext=cc
41822 ac_cpp='$CXXCPP $CPPFLAGS'
41823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41827 cat >conftest.$ac_ext <<_ACEOF
41828 /* confdefs.h. */
41829 _ACEOF
41830 cat confdefs.h >>conftest.$ac_ext
41831 cat >>conftest.$ac_ext <<_ACEOF
41832 /* end confdefs.h. */
41833 #include <math.h>
41834 #ifdef HAVE_IEEEFP_H
41835 #include <ieeefp.h>
41836 #endif
41839 main ()
41841 finitef(0);
41843 return 0;
41845 _ACEOF
41846 rm -f conftest.$ac_objext
41847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41848 (eval $ac_compile) 2>conftest.er1
41849 ac_status=$?
41850 grep -v '^ *+' conftest.er1 >conftest.err
41851 rm -f conftest.er1
41852 cat conftest.err >&5
41853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41854 (exit $ac_status); } &&
41855 { ac_try='test -z "$ac_cxx_werror_flag"
41856 || test ! -s conftest.err'
41857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41858 (eval $ac_try) 2>&5
41859 ac_status=$?
41860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861 (exit $ac_status); }; } &&
41862 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
41868 glibcxx_cv_func_finitef_use=yes
41869 else
41870 echo "$as_me: failed program was:" >&5
41871 sed 's/^/| /' conftest.$ac_ext >&5
41873 glibcxx_cv_func_finitef_use=no
41875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41876 ac_ext=c
41877 ac_cpp='$CPP $CPPFLAGS'
41878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41886 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
41887 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
41889 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41891 for ac_func in finitef
41893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41894 echo "$as_me:$LINENO: checking for $ac_func" >&5
41895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41896 if eval "test \"\${$as_ac_var+set}\" = set"; then
41897 echo $ECHO_N "(cached) $ECHO_C" >&6
41898 else
41899 if test x$gcc_no_link = xyes; then
41900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41902 { (exit 1); exit 1; }; }
41904 cat >conftest.$ac_ext <<_ACEOF
41905 /* confdefs.h. */
41906 _ACEOF
41907 cat confdefs.h >>conftest.$ac_ext
41908 cat >>conftest.$ac_ext <<_ACEOF
41909 /* end confdefs.h. */
41910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41912 #define $ac_func innocuous_$ac_func
41914 /* System header to define __stub macros and hopefully few prototypes,
41915 which can conflict with char $ac_func (); below.
41916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41917 <limits.h> exists even on freestanding compilers. */
41919 #ifdef __STDC__
41920 # include <limits.h>
41921 #else
41922 # include <assert.h>
41923 #endif
41925 #undef $ac_func
41927 /* Override any gcc2 internal prototype to avoid an error. */
41928 #ifdef __cplusplus
41929 extern "C"
41931 #endif
41932 /* We use char because int might match the return type of a gcc2
41933 builtin and then its argument prototype would still apply. */
41934 char $ac_func ();
41935 /* The GNU C library defines this for functions which it implements
41936 to always fail with ENOSYS. Some functions are actually named
41937 something starting with __ and the normal name is an alias. */
41938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41939 choke me
41940 #else
41941 char (*f) () = $ac_func;
41942 #endif
41943 #ifdef __cplusplus
41945 #endif
41948 main ()
41950 return f != $ac_func;
41952 return 0;
41954 _ACEOF
41955 rm -f conftest.$ac_objext conftest$ac_exeext
41956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41957 (eval $ac_link) 2>conftest.er1
41958 ac_status=$?
41959 grep -v '^ *+' conftest.er1 >conftest.err
41960 rm -f conftest.er1
41961 cat conftest.err >&5
41962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41963 (exit $ac_status); } &&
41964 { ac_try='test -z "$ac_c_werror_flag"
41965 || test ! -s conftest.err'
41966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41967 (eval $ac_try) 2>&5
41968 ac_status=$?
41969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970 (exit $ac_status); }; } &&
41971 { ac_try='test -s conftest$ac_exeext'
41972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41973 (eval $ac_try) 2>&5
41974 ac_status=$?
41975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41976 (exit $ac_status); }; }; then
41977 eval "$as_ac_var=yes"
41978 else
41979 echo "$as_me: failed program was:" >&5
41980 sed 's/^/| /' conftest.$ac_ext >&5
41982 eval "$as_ac_var=no"
41984 rm -f conftest.err conftest.$ac_objext \
41985 conftest$ac_exeext conftest.$ac_ext
41987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41989 if test `eval echo '${'$as_ac_var'}'` = yes; then
41990 cat >>confdefs.h <<_ACEOF
41991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41992 _ACEOF
41995 done
41997 else
41999 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42000 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42001 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42002 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42003 echo $ECHO_N "(cached) $ECHO_C" >&6
42004 else
42008 ac_ext=cc
42009 ac_cpp='$CXXCPP $CPPFLAGS'
42010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42014 cat >conftest.$ac_ext <<_ACEOF
42015 /* confdefs.h. */
42016 _ACEOF
42017 cat confdefs.h >>conftest.$ac_ext
42018 cat >>conftest.$ac_ext <<_ACEOF
42019 /* end confdefs.h. */
42020 #include <math.h>
42021 #ifdef HAVE_IEEEFP_H
42022 #include <ieeefp.h>
42023 #endif
42026 main ()
42028 _finitef(0);
42030 return 0;
42032 _ACEOF
42033 rm -f conftest.$ac_objext
42034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42035 (eval $ac_compile) 2>conftest.er1
42036 ac_status=$?
42037 grep -v '^ *+' conftest.er1 >conftest.err
42038 rm -f conftest.er1
42039 cat conftest.err >&5
42040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42041 (exit $ac_status); } &&
42042 { ac_try='test -z "$ac_cxx_werror_flag"
42043 || test ! -s conftest.err'
42044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42045 (eval $ac_try) 2>&5
42046 ac_status=$?
42047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048 (exit $ac_status); }; } &&
42049 { ac_try='test -s conftest.$ac_objext'
42050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42051 (eval $ac_try) 2>&5
42052 ac_status=$?
42053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42054 (exit $ac_status); }; }; then
42055 glibcxx_cv_func__finitef_use=yes
42056 else
42057 echo "$as_me: failed program was:" >&5
42058 sed 's/^/| /' conftest.$ac_ext >&5
42060 glibcxx_cv_func__finitef_use=no
42062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42063 ac_ext=c
42064 ac_cpp='$CPP $CPPFLAGS'
42065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42074 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42076 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42078 for ac_func in _finitef
42080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42081 echo "$as_me:$LINENO: checking for $ac_func" >&5
42082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42083 if eval "test \"\${$as_ac_var+set}\" = set"; then
42084 echo $ECHO_N "(cached) $ECHO_C" >&6
42085 else
42086 if test x$gcc_no_link = xyes; then
42087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42089 { (exit 1); exit 1; }; }
42091 cat >conftest.$ac_ext <<_ACEOF
42092 /* confdefs.h. */
42093 _ACEOF
42094 cat confdefs.h >>conftest.$ac_ext
42095 cat >>conftest.$ac_ext <<_ACEOF
42096 /* end confdefs.h. */
42097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42099 #define $ac_func innocuous_$ac_func
42101 /* System header to define __stub macros and hopefully few prototypes,
42102 which can conflict with char $ac_func (); below.
42103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42104 <limits.h> exists even on freestanding compilers. */
42106 #ifdef __STDC__
42107 # include <limits.h>
42108 #else
42109 # include <assert.h>
42110 #endif
42112 #undef $ac_func
42114 /* Override any gcc2 internal prototype to avoid an error. */
42115 #ifdef __cplusplus
42116 extern "C"
42118 #endif
42119 /* We use char because int might match the return type of a gcc2
42120 builtin and then its argument prototype would still apply. */
42121 char $ac_func ();
42122 /* The GNU C library defines this for functions which it implements
42123 to always fail with ENOSYS. Some functions are actually named
42124 something starting with __ and the normal name is an alias. */
42125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42126 choke me
42127 #else
42128 char (*f) () = $ac_func;
42129 #endif
42130 #ifdef __cplusplus
42132 #endif
42135 main ()
42137 return f != $ac_func;
42139 return 0;
42141 _ACEOF
42142 rm -f conftest.$ac_objext conftest$ac_exeext
42143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42144 (eval $ac_link) 2>conftest.er1
42145 ac_status=$?
42146 grep -v '^ *+' conftest.er1 >conftest.err
42147 rm -f conftest.er1
42148 cat conftest.err >&5
42149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150 (exit $ac_status); } &&
42151 { ac_try='test -z "$ac_c_werror_flag"
42152 || test ! -s conftest.err'
42153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42154 (eval $ac_try) 2>&5
42155 ac_status=$?
42156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42157 (exit $ac_status); }; } &&
42158 { ac_try='test -s conftest$ac_exeext'
42159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42160 (eval $ac_try) 2>&5
42161 ac_status=$?
42162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42163 (exit $ac_status); }; }; then
42164 eval "$as_ac_var=yes"
42165 else
42166 echo "$as_me: failed program was:" >&5
42167 sed 's/^/| /' conftest.$ac_ext >&5
42169 eval "$as_ac_var=no"
42171 rm -f conftest.err conftest.$ac_objext \
42172 conftest$ac_exeext conftest.$ac_ext
42174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42176 if test `eval echo '${'$as_ac_var'}'` = yes; then
42177 cat >>confdefs.h <<_ACEOF
42178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42179 _ACEOF
42182 done
42192 echo "$as_me:$LINENO: checking for long double trig functions" >&5
42193 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42194 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42195 echo $ECHO_N "(cached) $ECHO_C" >&6
42196 else
42200 ac_ext=cc
42201 ac_cpp='$CXXCPP $CPPFLAGS'
42202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42206 cat >conftest.$ac_ext <<_ACEOF
42207 /* confdefs.h. */
42208 _ACEOF
42209 cat confdefs.h >>conftest.$ac_ext
42210 cat >>conftest.$ac_ext <<_ACEOF
42211 /* end confdefs.h. */
42212 #include <math.h>
42214 main ()
42216 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42218 return 0;
42220 _ACEOF
42221 rm -f conftest.$ac_objext
42222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42223 (eval $ac_compile) 2>conftest.er1
42224 ac_status=$?
42225 grep -v '^ *+' conftest.er1 >conftest.err
42226 rm -f conftest.er1
42227 cat conftest.err >&5
42228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42229 (exit $ac_status); } &&
42230 { ac_try='test -z "$ac_cxx_werror_flag"
42231 || test ! -s conftest.err'
42232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42233 (eval $ac_try) 2>&5
42234 ac_status=$?
42235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42236 (exit $ac_status); }; } &&
42237 { ac_try='test -s conftest.$ac_objext'
42238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42239 (eval $ac_try) 2>&5
42240 ac_status=$?
42241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42242 (exit $ac_status); }; }; then
42243 glibcxx_cv_func_long_double_trig_use=yes
42244 else
42245 echo "$as_me: failed program was:" >&5
42246 sed 's/^/| /' conftest.$ac_ext >&5
42248 glibcxx_cv_func_long_double_trig_use=no
42250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42251 ac_ext=c
42252 ac_cpp='$CPP $CPPFLAGS'
42253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42259 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
42260 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
42261 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42271 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42274 echo "$as_me:$LINENO: checking for $ac_func" >&5
42275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42276 if eval "test \"\${$as_ac_var+set}\" = set"; then
42277 echo $ECHO_N "(cached) $ECHO_C" >&6
42278 else
42279 if test x$gcc_no_link = xyes; then
42280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42282 { (exit 1); exit 1; }; }
42284 cat >conftest.$ac_ext <<_ACEOF
42285 /* confdefs.h. */
42286 _ACEOF
42287 cat confdefs.h >>conftest.$ac_ext
42288 cat >>conftest.$ac_ext <<_ACEOF
42289 /* end confdefs.h. */
42290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42292 #define $ac_func innocuous_$ac_func
42294 /* System header to define __stub macros and hopefully few prototypes,
42295 which can conflict with char $ac_func (); below.
42296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42297 <limits.h> exists even on freestanding compilers. */
42299 #ifdef __STDC__
42300 # include <limits.h>
42301 #else
42302 # include <assert.h>
42303 #endif
42305 #undef $ac_func
42307 /* Override any gcc2 internal prototype to avoid an error. */
42308 #ifdef __cplusplus
42309 extern "C"
42311 #endif
42312 /* We use char because int might match the return type of a gcc2
42313 builtin and then its argument prototype would still apply. */
42314 char $ac_func ();
42315 /* The GNU C library defines this for functions which it implements
42316 to always fail with ENOSYS. Some functions are actually named
42317 something starting with __ and the normal name is an alias. */
42318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42319 choke me
42320 #else
42321 char (*f) () = $ac_func;
42322 #endif
42323 #ifdef __cplusplus
42325 #endif
42328 main ()
42330 return f != $ac_func;
42332 return 0;
42334 _ACEOF
42335 rm -f conftest.$ac_objext conftest$ac_exeext
42336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42337 (eval $ac_link) 2>conftest.er1
42338 ac_status=$?
42339 grep -v '^ *+' conftest.er1 >conftest.err
42340 rm -f conftest.er1
42341 cat conftest.err >&5
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); } &&
42344 { ac_try='test -z "$ac_c_werror_flag"
42345 || test ! -s conftest.err'
42346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42347 (eval $ac_try) 2>&5
42348 ac_status=$?
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); }; } &&
42351 { ac_try='test -s conftest$ac_exeext'
42352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42353 (eval $ac_try) 2>&5
42354 ac_status=$?
42355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42356 (exit $ac_status); }; }; then
42357 eval "$as_ac_var=yes"
42358 else
42359 echo "$as_me: failed program was:" >&5
42360 sed 's/^/| /' conftest.$ac_ext >&5
42362 eval "$as_ac_var=no"
42364 rm -f conftest.err conftest.$ac_objext \
42365 conftest$ac_exeext conftest.$ac_ext
42367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42369 if test `eval echo '${'$as_ac_var'}'` = yes; then
42370 cat >>confdefs.h <<_ACEOF
42371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42372 _ACEOF
42375 done
42377 else
42378 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
42379 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
42380 if test "${glibcxx_cv_func__long_double_trig_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>
42400 main ()
42402 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42404 return 0;
42406 _ACEOF
42407 rm -f conftest.$ac_objext
42408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42409 (eval $ac_compile) 2>conftest.er1
42410 ac_status=$?
42411 grep -v '^ *+' conftest.er1 >conftest.err
42412 rm -f conftest.er1
42413 cat conftest.err >&5
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); } &&
42416 { ac_try='test -z "$ac_cxx_werror_flag"
42417 || test ! -s conftest.err'
42418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42419 (eval $ac_try) 2>&5
42420 ac_status=$?
42421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42422 (exit $ac_status); }; } &&
42423 { ac_try='test -s conftest.$ac_objext'
42424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42425 (eval $ac_try) 2>&5
42426 ac_status=$?
42427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42428 (exit $ac_status); }; }; then
42429 glibcxx_cv_func__long_double_trig_use=yes
42430 else
42431 echo "$as_me: failed program was:" >&5
42432 sed 's/^/| /' conftest.$ac_ext >&5
42434 glibcxx_cv_func__long_double_trig_use=no
42436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42437 ac_ext=c
42438 ac_cpp='$CPP $CPPFLAGS'
42439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42445 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
42446 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
42447 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42457 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42460 echo "$as_me:$LINENO: checking for $ac_func" >&5
42461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42462 if eval "test \"\${$as_ac_var+set}\" = set"; then
42463 echo $ECHO_N "(cached) $ECHO_C" >&6
42464 else
42465 if test x$gcc_no_link = xyes; then
42466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42468 { (exit 1); exit 1; }; }
42470 cat >conftest.$ac_ext <<_ACEOF
42471 /* confdefs.h. */
42472 _ACEOF
42473 cat confdefs.h >>conftest.$ac_ext
42474 cat >>conftest.$ac_ext <<_ACEOF
42475 /* end confdefs.h. */
42476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42478 #define $ac_func innocuous_$ac_func
42480 /* System header to define __stub macros and hopefully few prototypes,
42481 which can conflict with char $ac_func (); below.
42482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42483 <limits.h> exists even on freestanding compilers. */
42485 #ifdef __STDC__
42486 # include <limits.h>
42487 #else
42488 # include <assert.h>
42489 #endif
42491 #undef $ac_func
42493 /* Override any gcc2 internal prototype to avoid an error. */
42494 #ifdef __cplusplus
42495 extern "C"
42497 #endif
42498 /* We use char because int might match the return type of a gcc2
42499 builtin and then its argument prototype would still apply. */
42500 char $ac_func ();
42501 /* The GNU C library defines this for functions which it implements
42502 to always fail with ENOSYS. Some functions are actually named
42503 something starting with __ and the normal name is an alias. */
42504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42505 choke me
42506 #else
42507 char (*f) () = $ac_func;
42508 #endif
42509 #ifdef __cplusplus
42511 #endif
42514 main ()
42516 return f != $ac_func;
42518 return 0;
42520 _ACEOF
42521 rm -f conftest.$ac_objext conftest$ac_exeext
42522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42523 (eval $ac_link) 2>conftest.er1
42524 ac_status=$?
42525 grep -v '^ *+' conftest.er1 >conftest.err
42526 rm -f conftest.er1
42527 cat conftest.err >&5
42528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42529 (exit $ac_status); } &&
42530 { ac_try='test -z "$ac_c_werror_flag"
42531 || test ! -s conftest.err'
42532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42533 (eval $ac_try) 2>&5
42534 ac_status=$?
42535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42536 (exit $ac_status); }; } &&
42537 { ac_try='test -s conftest$ac_exeext'
42538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42539 (eval $ac_try) 2>&5
42540 ac_status=$?
42541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42542 (exit $ac_status); }; }; then
42543 eval "$as_ac_var=yes"
42544 else
42545 echo "$as_me: failed program was:" >&5
42546 sed 's/^/| /' conftest.$ac_ext >&5
42548 eval "$as_ac_var=no"
42550 rm -f conftest.err conftest.$ac_objext \
42551 conftest$ac_exeext conftest.$ac_ext
42553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42555 if test `eval echo '${'$as_ac_var'}'` = yes; then
42556 cat >>confdefs.h <<_ACEOF
42557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42558 _ACEOF
42561 done
42579 echo "$as_me:$LINENO: checking for long double round functions" >&5
42580 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
42581 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
42582 echo $ECHO_N "(cached) $ECHO_C" >&6
42583 else
42587 ac_ext=cc
42588 ac_cpp='$CXXCPP $CPPFLAGS'
42589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42593 cat >conftest.$ac_ext <<_ACEOF
42594 /* confdefs.h. */
42595 _ACEOF
42596 cat confdefs.h >>conftest.$ac_ext
42597 cat >>conftest.$ac_ext <<_ACEOF
42598 /* end confdefs.h. */
42599 #include <math.h>
42601 main ()
42603 ceill (0); floorl (0);
42605 return 0;
42607 _ACEOF
42608 rm -f conftest.$ac_objext
42609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42610 (eval $ac_compile) 2>conftest.er1
42611 ac_status=$?
42612 grep -v '^ *+' conftest.er1 >conftest.err
42613 rm -f conftest.er1
42614 cat conftest.err >&5
42615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42616 (exit $ac_status); } &&
42617 { ac_try='test -z "$ac_cxx_werror_flag"
42618 || test ! -s conftest.err'
42619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42620 (eval $ac_try) 2>&5
42621 ac_status=$?
42622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42623 (exit $ac_status); }; } &&
42624 { ac_try='test -s conftest.$ac_objext'
42625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42626 (eval $ac_try) 2>&5
42627 ac_status=$?
42628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42629 (exit $ac_status); }; }; then
42630 glibcxx_cv_func_long_double_round_use=yes
42631 else
42632 echo "$as_me: failed program was:" >&5
42633 sed 's/^/| /' conftest.$ac_ext >&5
42635 glibcxx_cv_func_long_double_round_use=no
42637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42638 ac_ext=c
42639 ac_cpp='$CPP $CPPFLAGS'
42640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
42647 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
42648 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42651 for ac_func in ceill floorl
42653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42654 echo "$as_me:$LINENO: checking for $ac_func" >&5
42655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42656 if eval "test \"\${$as_ac_var+set}\" = set"; then
42657 echo $ECHO_N "(cached) $ECHO_C" >&6
42658 else
42659 if test x$gcc_no_link = xyes; then
42660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42662 { (exit 1); exit 1; }; }
42664 cat >conftest.$ac_ext <<_ACEOF
42665 /* confdefs.h. */
42666 _ACEOF
42667 cat confdefs.h >>conftest.$ac_ext
42668 cat >>conftest.$ac_ext <<_ACEOF
42669 /* end confdefs.h. */
42670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42672 #define $ac_func innocuous_$ac_func
42674 /* System header to define __stub macros and hopefully few prototypes,
42675 which can conflict with char $ac_func (); below.
42676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42677 <limits.h> exists even on freestanding compilers. */
42679 #ifdef __STDC__
42680 # include <limits.h>
42681 #else
42682 # include <assert.h>
42683 #endif
42685 #undef $ac_func
42687 /* Override any gcc2 internal prototype to avoid an error. */
42688 #ifdef __cplusplus
42689 extern "C"
42691 #endif
42692 /* We use char because int might match the return type of a gcc2
42693 builtin and then its argument prototype would still apply. */
42694 char $ac_func ();
42695 /* The GNU C library defines this for functions which it implements
42696 to always fail with ENOSYS. Some functions are actually named
42697 something starting with __ and the normal name is an alias. */
42698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42699 choke me
42700 #else
42701 char (*f) () = $ac_func;
42702 #endif
42703 #ifdef __cplusplus
42705 #endif
42708 main ()
42710 return f != $ac_func;
42712 return 0;
42714 _ACEOF
42715 rm -f conftest.$ac_objext conftest$ac_exeext
42716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42717 (eval $ac_link) 2>conftest.er1
42718 ac_status=$?
42719 grep -v '^ *+' conftest.er1 >conftest.err
42720 rm -f conftest.er1
42721 cat conftest.err >&5
42722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42723 (exit $ac_status); } &&
42724 { ac_try='test -z "$ac_c_werror_flag"
42725 || test ! -s conftest.err'
42726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42727 (eval $ac_try) 2>&5
42728 ac_status=$?
42729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42730 (exit $ac_status); }; } &&
42731 { ac_try='test -s conftest$ac_exeext'
42732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42733 (eval $ac_try) 2>&5
42734 ac_status=$?
42735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42736 (exit $ac_status); }; }; then
42737 eval "$as_ac_var=yes"
42738 else
42739 echo "$as_me: failed program was:" >&5
42740 sed 's/^/| /' conftest.$ac_ext >&5
42742 eval "$as_ac_var=no"
42744 rm -f conftest.err conftest.$ac_objext \
42745 conftest$ac_exeext conftest.$ac_ext
42747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42749 if test `eval echo '${'$as_ac_var'}'` = yes; then
42750 cat >>confdefs.h <<_ACEOF
42751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42752 _ACEOF
42755 done
42757 else
42758 echo "$as_me:$LINENO: checking for _long double round functions" >&5
42759 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42760 if test "${glibcxx_cv_func__long_double_round_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>
42780 main ()
42782 _ceill (0); _floorl (0);
42784 return 0;
42786 _ACEOF
42787 rm -f conftest.$ac_objext
42788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42789 (eval $ac_compile) 2>conftest.er1
42790 ac_status=$?
42791 grep -v '^ *+' conftest.er1 >conftest.err
42792 rm -f conftest.er1
42793 cat conftest.err >&5
42794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42795 (exit $ac_status); } &&
42796 { ac_try='test -z "$ac_cxx_werror_flag"
42797 || test ! -s conftest.err'
42798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42799 (eval $ac_try) 2>&5
42800 ac_status=$?
42801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42802 (exit $ac_status); }; } &&
42803 { ac_try='test -s conftest.$ac_objext'
42804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42805 (eval $ac_try) 2>&5
42806 ac_status=$?
42807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42808 (exit $ac_status); }; }; then
42809 glibcxx_cv_func__long_double_round_use=yes
42810 else
42811 echo "$as_me: failed program was:" >&5
42812 sed 's/^/| /' conftest.$ac_ext >&5
42814 glibcxx_cv_func__long_double_round_use=no
42816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42817 ac_ext=c
42818 ac_cpp='$CPP $CPPFLAGS'
42819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42825 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42826 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42827 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42830 for ac_func in _ceill _floorl
42832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42833 echo "$as_me:$LINENO: checking for $ac_func" >&5
42834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42835 if eval "test \"\${$as_ac_var+set}\" = set"; then
42836 echo $ECHO_N "(cached) $ECHO_C" >&6
42837 else
42838 if test x$gcc_no_link = xyes; then
42839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42841 { (exit 1); exit 1; }; }
42843 cat >conftest.$ac_ext <<_ACEOF
42844 /* confdefs.h. */
42845 _ACEOF
42846 cat confdefs.h >>conftest.$ac_ext
42847 cat >>conftest.$ac_ext <<_ACEOF
42848 /* end confdefs.h. */
42849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42851 #define $ac_func innocuous_$ac_func
42853 /* System header to define __stub macros and hopefully few prototypes,
42854 which can conflict with char $ac_func (); below.
42855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42856 <limits.h> exists even on freestanding compilers. */
42858 #ifdef __STDC__
42859 # include <limits.h>
42860 #else
42861 # include <assert.h>
42862 #endif
42864 #undef $ac_func
42866 /* Override any gcc2 internal prototype to avoid an error. */
42867 #ifdef __cplusplus
42868 extern "C"
42870 #endif
42871 /* We use char because int might match the return type of a gcc2
42872 builtin and then its argument prototype would still apply. */
42873 char $ac_func ();
42874 /* The GNU C library defines this for functions which it implements
42875 to always fail with ENOSYS. Some functions are actually named
42876 something starting with __ and the normal name is an alias. */
42877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42878 choke me
42879 #else
42880 char (*f) () = $ac_func;
42881 #endif
42882 #ifdef __cplusplus
42884 #endif
42887 main ()
42889 return f != $ac_func;
42891 return 0;
42893 _ACEOF
42894 rm -f conftest.$ac_objext conftest$ac_exeext
42895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42896 (eval $ac_link) 2>conftest.er1
42897 ac_status=$?
42898 grep -v '^ *+' conftest.er1 >conftest.err
42899 rm -f conftest.er1
42900 cat conftest.err >&5
42901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42902 (exit $ac_status); } &&
42903 { ac_try='test -z "$ac_c_werror_flag"
42904 || test ! -s conftest.err'
42905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42906 (eval $ac_try) 2>&5
42907 ac_status=$?
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); }; } &&
42910 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
42916 eval "$as_ac_var=yes"
42917 else
42918 echo "$as_me: failed program was:" >&5
42919 sed 's/^/| /' conftest.$ac_ext >&5
42921 eval "$as_ac_var=no"
42923 rm -f conftest.err conftest.$ac_objext \
42924 conftest$ac_exeext conftest.$ac_ext
42926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42928 if test `eval echo '${'$as_ac_var'}'` = yes; then
42929 cat >>confdefs.h <<_ACEOF
42930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42931 _ACEOF
42934 done
42946 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42947 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42948 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42949 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42950 echo $ECHO_N "(cached) $ECHO_C" >&6
42951 else
42955 ac_ext=cc
42956 ac_cpp='$CXXCPP $CPPFLAGS'
42957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42961 cat >conftest.$ac_ext <<_ACEOF
42962 /* confdefs.h. */
42963 _ACEOF
42964 cat confdefs.h >>conftest.$ac_ext
42965 cat >>conftest.$ac_ext <<_ACEOF
42966 /* end confdefs.h. */
42967 #include <math.h>
42968 #ifdef HAVE_IEEEFP_H
42969 #include <ieeefp.h>
42970 #endif
42973 main ()
42975 isnanl(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_isnanl_use=yes
43003 else
43004 echo "$as_me: failed program was:" >&5
43005 sed 's/^/| /' conftest.$ac_ext >&5
43007 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
43021 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43023 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43025 for ac_func in isnanl
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 _isnanl declaration" >&5
43134 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43135 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43136 if test "${glibcxx_cv_func__isnanl_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>
43155 #ifdef HAVE_IEEEFP_H
43156 #include <ieeefp.h>
43157 #endif
43160 main ()
43162 _isnanl(0);
43164 return 0;
43166 _ACEOF
43167 rm -f conftest.$ac_objext
43168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43169 (eval $ac_compile) 2>conftest.er1
43170 ac_status=$?
43171 grep -v '^ *+' conftest.er1 >conftest.err
43172 rm -f conftest.er1
43173 cat conftest.err >&5
43174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43175 (exit $ac_status); } &&
43176 { ac_try='test -z "$ac_cxx_werror_flag"
43177 || test ! -s conftest.err'
43178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43179 (eval $ac_try) 2>&5
43180 ac_status=$?
43181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43182 (exit $ac_status); }; } &&
43183 { ac_try='test -s conftest.$ac_objext'
43184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43185 (eval $ac_try) 2>&5
43186 ac_status=$?
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); }; }; then
43189 glibcxx_cv_func__isnanl_use=yes
43190 else
43191 echo "$as_me: failed program was:" >&5
43192 sed 's/^/| /' conftest.$ac_ext >&5
43194 glibcxx_cv_func__isnanl_use=no
43196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43197 ac_ext=c
43198 ac_cpp='$CPP $CPPFLAGS'
43199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43207 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43208 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43210 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43212 for ac_func in _isnanl
43214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43215 echo "$as_me:$LINENO: checking for $ac_func" >&5
43216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43217 if eval "test \"\${$as_ac_var+set}\" = set"; then
43218 echo $ECHO_N "(cached) $ECHO_C" >&6
43219 else
43220 if test x$gcc_no_link = xyes; then
43221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43223 { (exit 1); exit 1; }; }
43225 cat >conftest.$ac_ext <<_ACEOF
43226 /* confdefs.h. */
43227 _ACEOF
43228 cat confdefs.h >>conftest.$ac_ext
43229 cat >>conftest.$ac_ext <<_ACEOF
43230 /* end confdefs.h. */
43231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43233 #define $ac_func innocuous_$ac_func
43235 /* System header to define __stub macros and hopefully few prototypes,
43236 which can conflict with char $ac_func (); below.
43237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43238 <limits.h> exists even on freestanding compilers. */
43240 #ifdef __STDC__
43241 # include <limits.h>
43242 #else
43243 # include <assert.h>
43244 #endif
43246 #undef $ac_func
43248 /* Override any gcc2 internal prototype to avoid an error. */
43249 #ifdef __cplusplus
43250 extern "C"
43252 #endif
43253 /* We use char because int might match the return type of a gcc2
43254 builtin and then its argument prototype would still apply. */
43255 char $ac_func ();
43256 /* The GNU C library defines this for functions which it implements
43257 to always fail with ENOSYS. Some functions are actually named
43258 something starting with __ and the normal name is an alias. */
43259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43260 choke me
43261 #else
43262 char (*f) () = $ac_func;
43263 #endif
43264 #ifdef __cplusplus
43266 #endif
43269 main ()
43271 return f != $ac_func;
43273 return 0;
43275 _ACEOF
43276 rm -f conftest.$ac_objext conftest$ac_exeext
43277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43278 (eval $ac_link) 2>conftest.er1
43279 ac_status=$?
43280 grep -v '^ *+' conftest.er1 >conftest.err
43281 rm -f conftest.er1
43282 cat conftest.err >&5
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); } &&
43285 { ac_try='test -z "$ac_c_werror_flag"
43286 || test ! -s conftest.err'
43287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43288 (eval $ac_try) 2>&5
43289 ac_status=$?
43290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291 (exit $ac_status); }; } &&
43292 { ac_try='test -s conftest$ac_exeext'
43293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43294 (eval $ac_try) 2>&5
43295 ac_status=$?
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); }; }; then
43298 eval "$as_ac_var=yes"
43299 else
43300 echo "$as_me: failed program was:" >&5
43301 sed 's/^/| /' conftest.$ac_ext >&5
43303 eval "$as_ac_var=no"
43305 rm -f conftest.err conftest.$ac_objext \
43306 conftest$ac_exeext conftest.$ac_ext
43308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43310 if test `eval echo '${'$as_ac_var'}'` = yes; then
43311 cat >>confdefs.h <<_ACEOF
43312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43313 _ACEOF
43316 done
43326 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
43327 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
43328 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43329 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
43330 echo $ECHO_N "(cached) $ECHO_C" >&6
43331 else
43335 ac_ext=cc
43336 ac_cpp='$CXXCPP $CPPFLAGS'
43337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43341 cat >conftest.$ac_ext <<_ACEOF
43342 /* confdefs.h. */
43343 _ACEOF
43344 cat confdefs.h >>conftest.$ac_ext
43345 cat >>conftest.$ac_ext <<_ACEOF
43346 /* end confdefs.h. */
43347 #include <math.h>
43348 #ifdef HAVE_IEEEFP_H
43349 #include <ieeefp.h>
43350 #endif
43353 main ()
43355 isinfl(0);
43357 return 0;
43359 _ACEOF
43360 rm -f conftest.$ac_objext
43361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43362 (eval $ac_compile) 2>conftest.er1
43363 ac_status=$?
43364 grep -v '^ *+' conftest.er1 >conftest.err
43365 rm -f conftest.er1
43366 cat conftest.err >&5
43367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43368 (exit $ac_status); } &&
43369 { ac_try='test -z "$ac_cxx_werror_flag"
43370 || test ! -s conftest.err'
43371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43372 (eval $ac_try) 2>&5
43373 ac_status=$?
43374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375 (exit $ac_status); }; } &&
43376 { ac_try='test -s conftest.$ac_objext'
43377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43378 (eval $ac_try) 2>&5
43379 ac_status=$?
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); }; }; then
43382 glibcxx_cv_func_isinfl_use=yes
43383 else
43384 echo "$as_me: failed program was:" >&5
43385 sed 's/^/| /' conftest.$ac_ext >&5
43387 glibcxx_cv_func_isinfl_use=no
43389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43390 ac_ext=c
43391 ac_cpp='$CPP $CPPFLAGS'
43392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
43401 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
43403 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43405 for ac_func in isinfl
43407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43408 echo "$as_me:$LINENO: checking for $ac_func" >&5
43409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43410 if eval "test \"\${$as_ac_var+set}\" = set"; then
43411 echo $ECHO_N "(cached) $ECHO_C" >&6
43412 else
43413 if test x$gcc_no_link = xyes; then
43414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43416 { (exit 1); exit 1; }; }
43418 cat >conftest.$ac_ext <<_ACEOF
43419 /* confdefs.h. */
43420 _ACEOF
43421 cat confdefs.h >>conftest.$ac_ext
43422 cat >>conftest.$ac_ext <<_ACEOF
43423 /* end confdefs.h. */
43424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43426 #define $ac_func innocuous_$ac_func
43428 /* System header to define __stub macros and hopefully few prototypes,
43429 which can conflict with char $ac_func (); below.
43430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43431 <limits.h> exists even on freestanding compilers. */
43433 #ifdef __STDC__
43434 # include <limits.h>
43435 #else
43436 # include <assert.h>
43437 #endif
43439 #undef $ac_func
43441 /* Override any gcc2 internal prototype to avoid an error. */
43442 #ifdef __cplusplus
43443 extern "C"
43445 #endif
43446 /* We use char because int might match the return type of a gcc2
43447 builtin and then its argument prototype would still apply. */
43448 char $ac_func ();
43449 /* The GNU C library defines this for functions which it implements
43450 to always fail with ENOSYS. Some functions are actually named
43451 something starting with __ and the normal name is an alias. */
43452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43453 choke me
43454 #else
43455 char (*f) () = $ac_func;
43456 #endif
43457 #ifdef __cplusplus
43459 #endif
43462 main ()
43464 return f != $ac_func;
43466 return 0;
43468 _ACEOF
43469 rm -f conftest.$ac_objext conftest$ac_exeext
43470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43471 (eval $ac_link) 2>conftest.er1
43472 ac_status=$?
43473 grep -v '^ *+' conftest.er1 >conftest.err
43474 rm -f conftest.er1
43475 cat conftest.err >&5
43476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43477 (exit $ac_status); } &&
43478 { ac_try='test -z "$ac_c_werror_flag"
43479 || test ! -s conftest.err'
43480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43481 (eval $ac_try) 2>&5
43482 ac_status=$?
43483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43484 (exit $ac_status); }; } &&
43485 { ac_try='test -s conftest$ac_exeext'
43486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43487 (eval $ac_try) 2>&5
43488 ac_status=$?
43489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43490 (exit $ac_status); }; }; then
43491 eval "$as_ac_var=yes"
43492 else
43493 echo "$as_me: failed program was:" >&5
43494 sed 's/^/| /' conftest.$ac_ext >&5
43496 eval "$as_ac_var=no"
43498 rm -f conftest.err conftest.$ac_objext \
43499 conftest$ac_exeext conftest.$ac_ext
43501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43503 if test `eval echo '${'$as_ac_var'}'` = yes; then
43504 cat >>confdefs.h <<_ACEOF
43505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43506 _ACEOF
43509 done
43511 else
43513 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
43514 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
43515 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43516 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
43517 echo $ECHO_N "(cached) $ECHO_C" >&6
43518 else
43522 ac_ext=cc
43523 ac_cpp='$CXXCPP $CPPFLAGS'
43524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43528 cat >conftest.$ac_ext <<_ACEOF
43529 /* confdefs.h. */
43530 _ACEOF
43531 cat confdefs.h >>conftest.$ac_ext
43532 cat >>conftest.$ac_ext <<_ACEOF
43533 /* end confdefs.h. */
43534 #include <math.h>
43535 #ifdef HAVE_IEEEFP_H
43536 #include <ieeefp.h>
43537 #endif
43540 main ()
43542 _isinfl(0);
43544 return 0;
43546 _ACEOF
43547 rm -f conftest.$ac_objext
43548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43549 (eval $ac_compile) 2>conftest.er1
43550 ac_status=$?
43551 grep -v '^ *+' conftest.er1 >conftest.err
43552 rm -f conftest.er1
43553 cat conftest.err >&5
43554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43555 (exit $ac_status); } &&
43556 { ac_try='test -z "$ac_cxx_werror_flag"
43557 || test ! -s conftest.err'
43558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43559 (eval $ac_try) 2>&5
43560 ac_status=$?
43561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43562 (exit $ac_status); }; } &&
43563 { ac_try='test -s conftest.$ac_objext'
43564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43565 (eval $ac_try) 2>&5
43566 ac_status=$?
43567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43568 (exit $ac_status); }; }; then
43569 glibcxx_cv_func__isinfl_use=yes
43570 else
43571 echo "$as_me: failed program was:" >&5
43572 sed 's/^/| /' conftest.$ac_ext >&5
43574 glibcxx_cv_func__isinfl_use=no
43576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43577 ac_ext=c
43578 ac_cpp='$CPP $CPPFLAGS'
43579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
43588 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
43590 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43592 for ac_func in _isinfl
43594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43595 echo "$as_me:$LINENO: checking for $ac_func" >&5
43596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43597 if eval "test \"\${$as_ac_var+set}\" = set"; then
43598 echo $ECHO_N "(cached) $ECHO_C" >&6
43599 else
43600 if test x$gcc_no_link = xyes; then
43601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43603 { (exit 1); exit 1; }; }
43605 cat >conftest.$ac_ext <<_ACEOF
43606 /* confdefs.h. */
43607 _ACEOF
43608 cat confdefs.h >>conftest.$ac_ext
43609 cat >>conftest.$ac_ext <<_ACEOF
43610 /* end confdefs.h. */
43611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43613 #define $ac_func innocuous_$ac_func
43615 /* System header to define __stub macros and hopefully few prototypes,
43616 which can conflict with char $ac_func (); below.
43617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43618 <limits.h> exists even on freestanding compilers. */
43620 #ifdef __STDC__
43621 # include <limits.h>
43622 #else
43623 # include <assert.h>
43624 #endif
43626 #undef $ac_func
43628 /* Override any gcc2 internal prototype to avoid an error. */
43629 #ifdef __cplusplus
43630 extern "C"
43632 #endif
43633 /* We use char because int might match the return type of a gcc2
43634 builtin and then its argument prototype would still apply. */
43635 char $ac_func ();
43636 /* The GNU C library defines this for functions which it implements
43637 to always fail with ENOSYS. Some functions are actually named
43638 something starting with __ and the normal name is an alias. */
43639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43640 choke me
43641 #else
43642 char (*f) () = $ac_func;
43643 #endif
43644 #ifdef __cplusplus
43646 #endif
43649 main ()
43651 return f != $ac_func;
43653 return 0;
43655 _ACEOF
43656 rm -f conftest.$ac_objext conftest$ac_exeext
43657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43658 (eval $ac_link) 2>conftest.er1
43659 ac_status=$?
43660 grep -v '^ *+' conftest.er1 >conftest.err
43661 rm -f conftest.er1
43662 cat conftest.err >&5
43663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43664 (exit $ac_status); } &&
43665 { ac_try='test -z "$ac_c_werror_flag"
43666 || test ! -s conftest.err'
43667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43668 (eval $ac_try) 2>&5
43669 ac_status=$?
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); }; } &&
43672 { ac_try='test -s conftest$ac_exeext'
43673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43674 (eval $ac_try) 2>&5
43675 ac_status=$?
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); }; }; then
43678 eval "$as_ac_var=yes"
43679 else
43680 echo "$as_me: failed program was:" >&5
43681 sed 's/^/| /' conftest.$ac_ext >&5
43683 eval "$as_ac_var=no"
43685 rm -f conftest.err conftest.$ac_objext \
43686 conftest$ac_exeext conftest.$ac_ext
43688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43690 if test `eval echo '${'$as_ac_var'}'` = yes; then
43691 cat >>confdefs.h <<_ACEOF
43692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43693 _ACEOF
43696 done
43706 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
43707 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
43708 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
43709 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
43710 echo $ECHO_N "(cached) $ECHO_C" >&6
43711 else
43715 ac_ext=cc
43716 ac_cpp='$CXXCPP $CPPFLAGS'
43717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43721 cat >conftest.$ac_ext <<_ACEOF
43722 /* confdefs.h. */
43723 _ACEOF
43724 cat confdefs.h >>conftest.$ac_ext
43725 cat >>conftest.$ac_ext <<_ACEOF
43726 /* end confdefs.h. */
43727 #include <math.h>
43729 main ()
43731 copysignl(0, 0);
43733 return 0;
43735 _ACEOF
43736 rm -f conftest.$ac_objext
43737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43738 (eval $ac_compile) 2>conftest.er1
43739 ac_status=$?
43740 grep -v '^ *+' conftest.er1 >conftest.err
43741 rm -f conftest.er1
43742 cat conftest.err >&5
43743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43744 (exit $ac_status); } &&
43745 { ac_try='test -z "$ac_cxx_werror_flag"
43746 || test ! -s conftest.err'
43747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43748 (eval $ac_try) 2>&5
43749 ac_status=$?
43750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43751 (exit $ac_status); }; } &&
43752 { ac_try='test -s conftest.$ac_objext'
43753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43754 (eval $ac_try) 2>&5
43755 ac_status=$?
43756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43757 (exit $ac_status); }; }; then
43758 glibcxx_cv_func_copysignl_use=yes
43759 else
43760 echo "$as_me: failed program was:" >&5
43761 sed 's/^/| /' conftest.$ac_ext >&5
43763 glibcxx_cv_func_copysignl_use=no
43765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43766 ac_ext=c
43767 ac_cpp='$CPP $CPPFLAGS'
43768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43776 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
43777 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
43779 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
43781 for ac_func in copysignl
43783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43784 echo "$as_me:$LINENO: checking for $ac_func" >&5
43785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43786 if eval "test \"\${$as_ac_var+set}\" = set"; then
43787 echo $ECHO_N "(cached) $ECHO_C" >&6
43788 else
43789 if test x$gcc_no_link = xyes; then
43790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43792 { (exit 1); exit 1; }; }
43794 cat >conftest.$ac_ext <<_ACEOF
43795 /* confdefs.h. */
43796 _ACEOF
43797 cat confdefs.h >>conftest.$ac_ext
43798 cat >>conftest.$ac_ext <<_ACEOF
43799 /* end confdefs.h. */
43800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43802 #define $ac_func innocuous_$ac_func
43804 /* System header to define __stub macros and hopefully few prototypes,
43805 which can conflict with char $ac_func (); below.
43806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43807 <limits.h> exists even on freestanding compilers. */
43809 #ifdef __STDC__
43810 # include <limits.h>
43811 #else
43812 # include <assert.h>
43813 #endif
43815 #undef $ac_func
43817 /* Override any gcc2 internal prototype to avoid an error. */
43818 #ifdef __cplusplus
43819 extern "C"
43821 #endif
43822 /* We use char because int might match the return type of a gcc2
43823 builtin and then its argument prototype would still apply. */
43824 char $ac_func ();
43825 /* The GNU C library defines this for functions which it implements
43826 to always fail with ENOSYS. Some functions are actually named
43827 something starting with __ and the normal name is an alias. */
43828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43829 choke me
43830 #else
43831 char (*f) () = $ac_func;
43832 #endif
43833 #ifdef __cplusplus
43835 #endif
43838 main ()
43840 return f != $ac_func;
43842 return 0;
43844 _ACEOF
43845 rm -f conftest.$ac_objext conftest$ac_exeext
43846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43847 (eval $ac_link) 2>conftest.er1
43848 ac_status=$?
43849 grep -v '^ *+' conftest.er1 >conftest.err
43850 rm -f conftest.er1
43851 cat conftest.err >&5
43852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43853 (exit $ac_status); } &&
43854 { ac_try='test -z "$ac_c_werror_flag"
43855 || test ! -s conftest.err'
43856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43857 (eval $ac_try) 2>&5
43858 ac_status=$?
43859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860 (exit $ac_status); }; } &&
43861 { ac_try='test -s conftest$ac_exeext'
43862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43863 (eval $ac_try) 2>&5
43864 ac_status=$?
43865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43866 (exit $ac_status); }; }; then
43867 eval "$as_ac_var=yes"
43868 else
43869 echo "$as_me: failed program was:" >&5
43870 sed 's/^/| /' conftest.$ac_ext >&5
43872 eval "$as_ac_var=no"
43874 rm -f conftest.err conftest.$ac_objext \
43875 conftest$ac_exeext conftest.$ac_ext
43877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43879 if test `eval echo '${'$as_ac_var'}'` = yes; then
43880 cat >>confdefs.h <<_ACEOF
43881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43882 _ACEOF
43885 done
43887 else
43889 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
43890 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
43891 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
43892 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
43893 echo $ECHO_N "(cached) $ECHO_C" >&6
43894 else
43898 ac_ext=cc
43899 ac_cpp='$CXXCPP $CPPFLAGS'
43900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43904 cat >conftest.$ac_ext <<_ACEOF
43905 /* confdefs.h. */
43906 _ACEOF
43907 cat confdefs.h >>conftest.$ac_ext
43908 cat >>conftest.$ac_ext <<_ACEOF
43909 /* end confdefs.h. */
43910 #include <math.h>
43912 main ()
43914 _copysignl(0, 0);
43916 return 0;
43918 _ACEOF
43919 rm -f conftest.$ac_objext
43920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43921 (eval $ac_compile) 2>conftest.er1
43922 ac_status=$?
43923 grep -v '^ *+' conftest.er1 >conftest.err
43924 rm -f conftest.er1
43925 cat conftest.err >&5
43926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43927 (exit $ac_status); } &&
43928 { ac_try='test -z "$ac_cxx_werror_flag"
43929 || test ! -s conftest.err'
43930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43931 (eval $ac_try) 2>&5
43932 ac_status=$?
43933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934 (exit $ac_status); }; } &&
43935 { ac_try='test -s conftest.$ac_objext'
43936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43937 (eval $ac_try) 2>&5
43938 ac_status=$?
43939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43940 (exit $ac_status); }; }; then
43941 glibcxx_cv_func__copysignl_use=yes
43942 else
43943 echo "$as_me: failed program was:" >&5
43944 sed 's/^/| /' conftest.$ac_ext >&5
43946 glibcxx_cv_func__copysignl_use=no
43948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43949 ac_ext=c
43950 ac_cpp='$CPP $CPPFLAGS'
43951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43959 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43960 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43962 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43964 for ac_func in _copysignl
43966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43967 echo "$as_me:$LINENO: checking for $ac_func" >&5
43968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43969 if eval "test \"\${$as_ac_var+set}\" = set"; then
43970 echo $ECHO_N "(cached) $ECHO_C" >&6
43971 else
43972 if test x$gcc_no_link = xyes; then
43973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43975 { (exit 1); exit 1; }; }
43977 cat >conftest.$ac_ext <<_ACEOF
43978 /* confdefs.h. */
43979 _ACEOF
43980 cat confdefs.h >>conftest.$ac_ext
43981 cat >>conftest.$ac_ext <<_ACEOF
43982 /* end confdefs.h. */
43983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43985 #define $ac_func innocuous_$ac_func
43987 /* System header to define __stub macros and hopefully few prototypes,
43988 which can conflict with char $ac_func (); below.
43989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43990 <limits.h> exists even on freestanding compilers. */
43992 #ifdef __STDC__
43993 # include <limits.h>
43994 #else
43995 # include <assert.h>
43996 #endif
43998 #undef $ac_func
44000 /* Override any gcc2 internal prototype to avoid an error. */
44001 #ifdef __cplusplus
44002 extern "C"
44004 #endif
44005 /* We use char because int might match the return type of a gcc2
44006 builtin and then its argument prototype would still apply. */
44007 char $ac_func ();
44008 /* The GNU C library defines this for functions which it implements
44009 to always fail with ENOSYS. Some functions are actually named
44010 something starting with __ and the normal name is an alias. */
44011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44012 choke me
44013 #else
44014 char (*f) () = $ac_func;
44015 #endif
44016 #ifdef __cplusplus
44018 #endif
44021 main ()
44023 return f != $ac_func;
44025 return 0;
44027 _ACEOF
44028 rm -f conftest.$ac_objext conftest$ac_exeext
44029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44030 (eval $ac_link) 2>conftest.er1
44031 ac_status=$?
44032 grep -v '^ *+' conftest.er1 >conftest.err
44033 rm -f conftest.er1
44034 cat conftest.err >&5
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); } &&
44037 { ac_try='test -z "$ac_c_werror_flag"
44038 || test ! -s conftest.err'
44039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44040 (eval $ac_try) 2>&5
44041 ac_status=$?
44042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44043 (exit $ac_status); }; } &&
44044 { ac_try='test -s conftest$ac_exeext'
44045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44046 (eval $ac_try) 2>&5
44047 ac_status=$?
44048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44049 (exit $ac_status); }; }; then
44050 eval "$as_ac_var=yes"
44051 else
44052 echo "$as_me: failed program was:" >&5
44053 sed 's/^/| /' conftest.$ac_ext >&5
44055 eval "$as_ac_var=no"
44057 rm -f conftest.err conftest.$ac_objext \
44058 conftest$ac_exeext conftest.$ac_ext
44060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44062 if test `eval echo '${'$as_ac_var'}'` = yes; then
44063 cat >>confdefs.h <<_ACEOF
44064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44065 _ACEOF
44068 done
44078 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44079 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44080 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44081 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44082 echo $ECHO_N "(cached) $ECHO_C" >&6
44083 else
44087 ac_ext=cc
44088 ac_cpp='$CXXCPP $CPPFLAGS'
44089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44093 cat >conftest.$ac_ext <<_ACEOF
44094 /* confdefs.h. */
44095 _ACEOF
44096 cat confdefs.h >>conftest.$ac_ext
44097 cat >>conftest.$ac_ext <<_ACEOF
44098 /* end confdefs.h. */
44099 #include <math.h>
44101 main ()
44103 atan2l(0, 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_atan2l_use=yes
44131 else
44132 echo "$as_me: failed program was:" >&5
44133 sed 's/^/| /' conftest.$ac_ext >&5
44135 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
44149 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44151 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44153 for ac_func in atan2l
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 _atan2l declaration" >&5
44262 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
44263 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44264 if test "${glibcxx_cv_func__atan2l_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>
44284 main ()
44286 _atan2l(0, 0);
44288 return 0;
44290 _ACEOF
44291 rm -f conftest.$ac_objext
44292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44293 (eval $ac_compile) 2>conftest.er1
44294 ac_status=$?
44295 grep -v '^ *+' conftest.er1 >conftest.err
44296 rm -f conftest.er1
44297 cat conftest.err >&5
44298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44299 (exit $ac_status); } &&
44300 { ac_try='test -z "$ac_cxx_werror_flag"
44301 || test ! -s conftest.err'
44302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44303 (eval $ac_try) 2>&5
44304 ac_status=$?
44305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44306 (exit $ac_status); }; } &&
44307 { ac_try='test -s conftest.$ac_objext'
44308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44309 (eval $ac_try) 2>&5
44310 ac_status=$?
44311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44312 (exit $ac_status); }; }; then
44313 glibcxx_cv_func__atan2l_use=yes
44314 else
44315 echo "$as_me: failed program was:" >&5
44316 sed 's/^/| /' conftest.$ac_ext >&5
44318 glibcxx_cv_func__atan2l_use=no
44320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44321 ac_ext=c
44322 ac_cpp='$CPP $CPPFLAGS'
44323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44331 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
44332 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
44334 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44336 for ac_func in _atan2l
44338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44339 echo "$as_me:$LINENO: checking for $ac_func" >&5
44340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44341 if eval "test \"\${$as_ac_var+set}\" = set"; then
44342 echo $ECHO_N "(cached) $ECHO_C" >&6
44343 else
44344 if test x$gcc_no_link = xyes; then
44345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44347 { (exit 1); exit 1; }; }
44349 cat >conftest.$ac_ext <<_ACEOF
44350 /* confdefs.h. */
44351 _ACEOF
44352 cat confdefs.h >>conftest.$ac_ext
44353 cat >>conftest.$ac_ext <<_ACEOF
44354 /* end confdefs.h. */
44355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44357 #define $ac_func innocuous_$ac_func
44359 /* System header to define __stub macros and hopefully few prototypes,
44360 which can conflict with char $ac_func (); below.
44361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44362 <limits.h> exists even on freestanding compilers. */
44364 #ifdef __STDC__
44365 # include <limits.h>
44366 #else
44367 # include <assert.h>
44368 #endif
44370 #undef $ac_func
44372 /* Override any gcc2 internal prototype to avoid an error. */
44373 #ifdef __cplusplus
44374 extern "C"
44376 #endif
44377 /* We use char because int might match the return type of a gcc2
44378 builtin and then its argument prototype would still apply. */
44379 char $ac_func ();
44380 /* The GNU C library defines this for functions which it implements
44381 to always fail with ENOSYS. Some functions are actually named
44382 something starting with __ and the normal name is an alias. */
44383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44384 choke me
44385 #else
44386 char (*f) () = $ac_func;
44387 #endif
44388 #ifdef __cplusplus
44390 #endif
44393 main ()
44395 return f != $ac_func;
44397 return 0;
44399 _ACEOF
44400 rm -f conftest.$ac_objext conftest$ac_exeext
44401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44402 (eval $ac_link) 2>conftest.er1
44403 ac_status=$?
44404 grep -v '^ *+' conftest.er1 >conftest.err
44405 rm -f conftest.er1
44406 cat conftest.err >&5
44407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44408 (exit $ac_status); } &&
44409 { ac_try='test -z "$ac_c_werror_flag"
44410 || test ! -s conftest.err'
44411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44412 (eval $ac_try) 2>&5
44413 ac_status=$?
44414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44415 (exit $ac_status); }; } &&
44416 { ac_try='test -s conftest$ac_exeext'
44417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44418 (eval $ac_try) 2>&5
44419 ac_status=$?
44420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44421 (exit $ac_status); }; }; then
44422 eval "$as_ac_var=yes"
44423 else
44424 echo "$as_me: failed program was:" >&5
44425 sed 's/^/| /' conftest.$ac_ext >&5
44427 eval "$as_ac_var=no"
44429 rm -f conftest.err conftest.$ac_objext \
44430 conftest$ac_exeext conftest.$ac_ext
44432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44434 if test `eval echo '${'$as_ac_var'}'` = yes; then
44435 cat >>confdefs.h <<_ACEOF
44436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44437 _ACEOF
44440 done
44450 echo "$as_me:$LINENO: checking for expl declaration" >&5
44451 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
44452 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44453 if test "${glibcxx_cv_func_expl_use+set}" = set; then
44454 echo $ECHO_N "(cached) $ECHO_C" >&6
44455 else
44459 ac_ext=cc
44460 ac_cpp='$CXXCPP $CPPFLAGS'
44461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44465 cat >conftest.$ac_ext <<_ACEOF
44466 /* confdefs.h. */
44467 _ACEOF
44468 cat confdefs.h >>conftest.$ac_ext
44469 cat >>conftest.$ac_ext <<_ACEOF
44470 /* end confdefs.h. */
44471 #include <math.h>
44472 #ifdef HAVE_IEEEFP_H
44473 #include <ieeefp.h>
44474 #endif
44477 main ()
44479 expl(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_expl_use=yes
44507 else
44508 echo "$as_me: failed program was:" >&5
44509 sed 's/^/| /' conftest.$ac_ext >&5
44511 glibcxx_cv_func_expl_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_expl_use" >&5
44525 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
44527 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44529 for ac_func in expl
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 _expl declaration" >&5
44638 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
44639 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44640 if test "${glibcxx_cv_func__expl_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>
44659 #ifdef HAVE_IEEEFP_H
44660 #include <ieeefp.h>
44661 #endif
44664 main ()
44666 _expl(0);
44668 return 0;
44670 _ACEOF
44671 rm -f conftest.$ac_objext
44672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44673 (eval $ac_compile) 2>conftest.er1
44674 ac_status=$?
44675 grep -v '^ *+' conftest.er1 >conftest.err
44676 rm -f conftest.er1
44677 cat conftest.err >&5
44678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44679 (exit $ac_status); } &&
44680 { ac_try='test -z "$ac_cxx_werror_flag"
44681 || test ! -s conftest.err'
44682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44683 (eval $ac_try) 2>&5
44684 ac_status=$?
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); }; } &&
44687 { ac_try='test -s conftest.$ac_objext'
44688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44689 (eval $ac_try) 2>&5
44690 ac_status=$?
44691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44692 (exit $ac_status); }; }; then
44693 glibcxx_cv_func__expl_use=yes
44694 else
44695 echo "$as_me: failed program was:" >&5
44696 sed 's/^/| /' conftest.$ac_ext >&5
44698 glibcxx_cv_func__expl_use=no
44700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44701 ac_ext=c
44702 ac_cpp='$CPP $CPPFLAGS'
44703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44711 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
44712 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
44714 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44716 for ac_func in _expl
44718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44719 echo "$as_me:$LINENO: checking for $ac_func" >&5
44720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44721 if eval "test \"\${$as_ac_var+set}\" = set"; then
44722 echo $ECHO_N "(cached) $ECHO_C" >&6
44723 else
44724 if test x$gcc_no_link = xyes; then
44725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44727 { (exit 1); exit 1; }; }
44729 cat >conftest.$ac_ext <<_ACEOF
44730 /* confdefs.h. */
44731 _ACEOF
44732 cat confdefs.h >>conftest.$ac_ext
44733 cat >>conftest.$ac_ext <<_ACEOF
44734 /* end confdefs.h. */
44735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44737 #define $ac_func innocuous_$ac_func
44739 /* System header to define __stub macros and hopefully few prototypes,
44740 which can conflict with char $ac_func (); below.
44741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44742 <limits.h> exists even on freestanding compilers. */
44744 #ifdef __STDC__
44745 # include <limits.h>
44746 #else
44747 # include <assert.h>
44748 #endif
44750 #undef $ac_func
44752 /* Override any gcc2 internal prototype to avoid an error. */
44753 #ifdef __cplusplus
44754 extern "C"
44756 #endif
44757 /* We use char because int might match the return type of a gcc2
44758 builtin and then its argument prototype would still apply. */
44759 char $ac_func ();
44760 /* The GNU C library defines this for functions which it implements
44761 to always fail with ENOSYS. Some functions are actually named
44762 something starting with __ and the normal name is an alias. */
44763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44764 choke me
44765 #else
44766 char (*f) () = $ac_func;
44767 #endif
44768 #ifdef __cplusplus
44770 #endif
44773 main ()
44775 return f != $ac_func;
44777 return 0;
44779 _ACEOF
44780 rm -f conftest.$ac_objext conftest$ac_exeext
44781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44782 (eval $ac_link) 2>conftest.er1
44783 ac_status=$?
44784 grep -v '^ *+' conftest.er1 >conftest.err
44785 rm -f conftest.er1
44786 cat conftest.err >&5
44787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44788 (exit $ac_status); } &&
44789 { ac_try='test -z "$ac_c_werror_flag"
44790 || test ! -s conftest.err'
44791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44792 (eval $ac_try) 2>&5
44793 ac_status=$?
44794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44795 (exit $ac_status); }; } &&
44796 { ac_try='test -s conftest$ac_exeext'
44797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44798 (eval $ac_try) 2>&5
44799 ac_status=$?
44800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44801 (exit $ac_status); }; }; then
44802 eval "$as_ac_var=yes"
44803 else
44804 echo "$as_me: failed program was:" >&5
44805 sed 's/^/| /' conftest.$ac_ext >&5
44807 eval "$as_ac_var=no"
44809 rm -f conftest.err conftest.$ac_objext \
44810 conftest$ac_exeext conftest.$ac_ext
44812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44814 if test `eval echo '${'$as_ac_var'}'` = yes; then
44815 cat >>confdefs.h <<_ACEOF
44816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44817 _ACEOF
44820 done
44830 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
44831 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
44832 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44833 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
44834 echo $ECHO_N "(cached) $ECHO_C" >&6
44835 else
44839 ac_ext=cc
44840 ac_cpp='$CXXCPP $CPPFLAGS'
44841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44845 cat >conftest.$ac_ext <<_ACEOF
44846 /* confdefs.h. */
44847 _ACEOF
44848 cat confdefs.h >>conftest.$ac_ext
44849 cat >>conftest.$ac_ext <<_ACEOF
44850 /* end confdefs.h. */
44851 #include <math.h>
44852 #ifdef HAVE_IEEEFP_H
44853 #include <ieeefp.h>
44854 #endif
44857 main ()
44859 fabsl(0);
44861 return 0;
44863 _ACEOF
44864 rm -f conftest.$ac_objext
44865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44866 (eval $ac_compile) 2>conftest.er1
44867 ac_status=$?
44868 grep -v '^ *+' conftest.er1 >conftest.err
44869 rm -f conftest.er1
44870 cat conftest.err >&5
44871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44872 (exit $ac_status); } &&
44873 { ac_try='test -z "$ac_cxx_werror_flag"
44874 || test ! -s conftest.err'
44875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44876 (eval $ac_try) 2>&5
44877 ac_status=$?
44878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44879 (exit $ac_status); }; } &&
44880 { ac_try='test -s conftest.$ac_objext'
44881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44882 (eval $ac_try) 2>&5
44883 ac_status=$?
44884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44885 (exit $ac_status); }; }; then
44886 glibcxx_cv_func_fabsl_use=yes
44887 else
44888 echo "$as_me: failed program was:" >&5
44889 sed 's/^/| /' conftest.$ac_ext >&5
44891 glibcxx_cv_func_fabsl_use=no
44893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44894 ac_ext=c
44895 ac_cpp='$CPP $CPPFLAGS'
44896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
44905 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
44907 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44909 for ac_func in fabsl
44911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44912 echo "$as_me:$LINENO: checking for $ac_func" >&5
44913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44914 if eval "test \"\${$as_ac_var+set}\" = set"; then
44915 echo $ECHO_N "(cached) $ECHO_C" >&6
44916 else
44917 if test x$gcc_no_link = xyes; then
44918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44920 { (exit 1); exit 1; }; }
44922 cat >conftest.$ac_ext <<_ACEOF
44923 /* confdefs.h. */
44924 _ACEOF
44925 cat confdefs.h >>conftest.$ac_ext
44926 cat >>conftest.$ac_ext <<_ACEOF
44927 /* end confdefs.h. */
44928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44930 #define $ac_func innocuous_$ac_func
44932 /* System header to define __stub macros and hopefully few prototypes,
44933 which can conflict with char $ac_func (); below.
44934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44935 <limits.h> exists even on freestanding compilers. */
44937 #ifdef __STDC__
44938 # include <limits.h>
44939 #else
44940 # include <assert.h>
44941 #endif
44943 #undef $ac_func
44945 /* Override any gcc2 internal prototype to avoid an error. */
44946 #ifdef __cplusplus
44947 extern "C"
44949 #endif
44950 /* We use char because int might match the return type of a gcc2
44951 builtin and then its argument prototype would still apply. */
44952 char $ac_func ();
44953 /* The GNU C library defines this for functions which it implements
44954 to always fail with ENOSYS. Some functions are actually named
44955 something starting with __ and the normal name is an alias. */
44956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44957 choke me
44958 #else
44959 char (*f) () = $ac_func;
44960 #endif
44961 #ifdef __cplusplus
44963 #endif
44966 main ()
44968 return f != $ac_func;
44970 return 0;
44972 _ACEOF
44973 rm -f conftest.$ac_objext conftest$ac_exeext
44974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44975 (eval $ac_link) 2>conftest.er1
44976 ac_status=$?
44977 grep -v '^ *+' conftest.er1 >conftest.err
44978 rm -f conftest.er1
44979 cat conftest.err >&5
44980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44981 (exit $ac_status); } &&
44982 { ac_try='test -z "$ac_c_werror_flag"
44983 || test ! -s conftest.err'
44984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44985 (eval $ac_try) 2>&5
44986 ac_status=$?
44987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44988 (exit $ac_status); }; } &&
44989 { ac_try='test -s conftest$ac_exeext'
44990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44991 (eval $ac_try) 2>&5
44992 ac_status=$?
44993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44994 (exit $ac_status); }; }; then
44995 eval "$as_ac_var=yes"
44996 else
44997 echo "$as_me: failed program was:" >&5
44998 sed 's/^/| /' conftest.$ac_ext >&5
45000 eval "$as_ac_var=no"
45002 rm -f conftest.err conftest.$ac_objext \
45003 conftest$ac_exeext conftest.$ac_ext
45005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45007 if test `eval echo '${'$as_ac_var'}'` = yes; then
45008 cat >>confdefs.h <<_ACEOF
45009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45010 _ACEOF
45013 done
45015 else
45017 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45018 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45019 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45020 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45021 echo $ECHO_N "(cached) $ECHO_C" >&6
45022 else
45026 ac_ext=cc
45027 ac_cpp='$CXXCPP $CPPFLAGS'
45028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45032 cat >conftest.$ac_ext <<_ACEOF
45033 /* confdefs.h. */
45034 _ACEOF
45035 cat confdefs.h >>conftest.$ac_ext
45036 cat >>conftest.$ac_ext <<_ACEOF
45037 /* end confdefs.h. */
45038 #include <math.h>
45039 #ifdef HAVE_IEEEFP_H
45040 #include <ieeefp.h>
45041 #endif
45044 main ()
45046 _fabsl(0);
45048 return 0;
45050 _ACEOF
45051 rm -f conftest.$ac_objext
45052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45053 (eval $ac_compile) 2>conftest.er1
45054 ac_status=$?
45055 grep -v '^ *+' conftest.er1 >conftest.err
45056 rm -f conftest.er1
45057 cat conftest.err >&5
45058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45059 (exit $ac_status); } &&
45060 { ac_try='test -z "$ac_cxx_werror_flag"
45061 || test ! -s conftest.err'
45062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45063 (eval $ac_try) 2>&5
45064 ac_status=$?
45065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45066 (exit $ac_status); }; } &&
45067 { ac_try='test -s conftest.$ac_objext'
45068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45069 (eval $ac_try) 2>&5
45070 ac_status=$?
45071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45072 (exit $ac_status); }; }; then
45073 glibcxx_cv_func__fabsl_use=yes
45074 else
45075 echo "$as_me: failed program was:" >&5
45076 sed 's/^/| /' conftest.$ac_ext >&5
45078 glibcxx_cv_func__fabsl_use=no
45080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45081 ac_ext=c
45082 ac_cpp='$CPP $CPPFLAGS'
45083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45091 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45092 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45094 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45096 for ac_func in _fabsl
45098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45099 echo "$as_me:$LINENO: checking for $ac_func" >&5
45100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45101 if eval "test \"\${$as_ac_var+set}\" = set"; then
45102 echo $ECHO_N "(cached) $ECHO_C" >&6
45103 else
45104 if test x$gcc_no_link = xyes; then
45105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45107 { (exit 1); exit 1; }; }
45109 cat >conftest.$ac_ext <<_ACEOF
45110 /* confdefs.h. */
45111 _ACEOF
45112 cat confdefs.h >>conftest.$ac_ext
45113 cat >>conftest.$ac_ext <<_ACEOF
45114 /* end confdefs.h. */
45115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45117 #define $ac_func innocuous_$ac_func
45119 /* System header to define __stub macros and hopefully few prototypes,
45120 which can conflict with char $ac_func (); below.
45121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45122 <limits.h> exists even on freestanding compilers. */
45124 #ifdef __STDC__
45125 # include <limits.h>
45126 #else
45127 # include <assert.h>
45128 #endif
45130 #undef $ac_func
45132 /* Override any gcc2 internal prototype to avoid an error. */
45133 #ifdef __cplusplus
45134 extern "C"
45136 #endif
45137 /* We use char because int might match the return type of a gcc2
45138 builtin and then its argument prototype would still apply. */
45139 char $ac_func ();
45140 /* The GNU C library defines this for functions which it implements
45141 to always fail with ENOSYS. Some functions are actually named
45142 something starting with __ and the normal name is an alias. */
45143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45144 choke me
45145 #else
45146 char (*f) () = $ac_func;
45147 #endif
45148 #ifdef __cplusplus
45150 #endif
45153 main ()
45155 return f != $ac_func;
45157 return 0;
45159 _ACEOF
45160 rm -f conftest.$ac_objext conftest$ac_exeext
45161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45162 (eval $ac_link) 2>conftest.er1
45163 ac_status=$?
45164 grep -v '^ *+' conftest.er1 >conftest.err
45165 rm -f conftest.er1
45166 cat conftest.err >&5
45167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45168 (exit $ac_status); } &&
45169 { ac_try='test -z "$ac_c_werror_flag"
45170 || test ! -s conftest.err'
45171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45172 (eval $ac_try) 2>&5
45173 ac_status=$?
45174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45175 (exit $ac_status); }; } &&
45176 { ac_try='test -s conftest$ac_exeext'
45177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45178 (eval $ac_try) 2>&5
45179 ac_status=$?
45180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45181 (exit $ac_status); }; }; then
45182 eval "$as_ac_var=yes"
45183 else
45184 echo "$as_me: failed program was:" >&5
45185 sed 's/^/| /' conftest.$ac_ext >&5
45187 eval "$as_ac_var=no"
45189 rm -f conftest.err conftest.$ac_objext \
45190 conftest$ac_exeext conftest.$ac_ext
45192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45194 if test `eval echo '${'$as_ac_var'}'` = yes; then
45195 cat >>confdefs.h <<_ACEOF
45196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45197 _ACEOF
45200 done
45210 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45211 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45212 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45213 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45214 echo $ECHO_N "(cached) $ECHO_C" >&6
45215 else
45219 ac_ext=cc
45220 ac_cpp='$CXXCPP $CPPFLAGS'
45221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45225 cat >conftest.$ac_ext <<_ACEOF
45226 /* confdefs.h. */
45227 _ACEOF
45228 cat confdefs.h >>conftest.$ac_ext
45229 cat >>conftest.$ac_ext <<_ACEOF
45230 /* end confdefs.h. */
45231 #include <math.h>
45233 main ()
45235 fmodl(0, 0);
45237 return 0;
45239 _ACEOF
45240 rm -f conftest.$ac_objext
45241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45242 (eval $ac_compile) 2>conftest.er1
45243 ac_status=$?
45244 grep -v '^ *+' conftest.er1 >conftest.err
45245 rm -f conftest.er1
45246 cat conftest.err >&5
45247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45248 (exit $ac_status); } &&
45249 { ac_try='test -z "$ac_cxx_werror_flag"
45250 || test ! -s conftest.err'
45251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45252 (eval $ac_try) 2>&5
45253 ac_status=$?
45254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45255 (exit $ac_status); }; } &&
45256 { ac_try='test -s conftest.$ac_objext'
45257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45258 (eval $ac_try) 2>&5
45259 ac_status=$?
45260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45261 (exit $ac_status); }; }; then
45262 glibcxx_cv_func_fmodl_use=yes
45263 else
45264 echo "$as_me: failed program was:" >&5
45265 sed 's/^/| /' conftest.$ac_ext >&5
45267 glibcxx_cv_func_fmodl_use=no
45269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45270 ac_ext=c
45271 ac_cpp='$CPP $CPPFLAGS'
45272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
45281 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
45283 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45285 for ac_func in fmodl
45287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45288 echo "$as_me:$LINENO: checking for $ac_func" >&5
45289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45290 if eval "test \"\${$as_ac_var+set}\" = set"; then
45291 echo $ECHO_N "(cached) $ECHO_C" >&6
45292 else
45293 if test x$gcc_no_link = xyes; then
45294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45296 { (exit 1); exit 1; }; }
45298 cat >conftest.$ac_ext <<_ACEOF
45299 /* confdefs.h. */
45300 _ACEOF
45301 cat confdefs.h >>conftest.$ac_ext
45302 cat >>conftest.$ac_ext <<_ACEOF
45303 /* end confdefs.h. */
45304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45306 #define $ac_func innocuous_$ac_func
45308 /* System header to define __stub macros and hopefully few prototypes,
45309 which can conflict with char $ac_func (); below.
45310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45311 <limits.h> exists even on freestanding compilers. */
45313 #ifdef __STDC__
45314 # include <limits.h>
45315 #else
45316 # include <assert.h>
45317 #endif
45319 #undef $ac_func
45321 /* Override any gcc2 internal prototype to avoid an error. */
45322 #ifdef __cplusplus
45323 extern "C"
45325 #endif
45326 /* We use char because int might match the return type of a gcc2
45327 builtin and then its argument prototype would still apply. */
45328 char $ac_func ();
45329 /* The GNU C library defines this for functions which it implements
45330 to always fail with ENOSYS. Some functions are actually named
45331 something starting with __ and the normal name is an alias. */
45332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45333 choke me
45334 #else
45335 char (*f) () = $ac_func;
45336 #endif
45337 #ifdef __cplusplus
45339 #endif
45342 main ()
45344 return f != $ac_func;
45346 return 0;
45348 _ACEOF
45349 rm -f conftest.$ac_objext conftest$ac_exeext
45350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45351 (eval $ac_link) 2>conftest.er1
45352 ac_status=$?
45353 grep -v '^ *+' conftest.er1 >conftest.err
45354 rm -f conftest.er1
45355 cat conftest.err >&5
45356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45357 (exit $ac_status); } &&
45358 { ac_try='test -z "$ac_c_werror_flag"
45359 || test ! -s conftest.err'
45360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45361 (eval $ac_try) 2>&5
45362 ac_status=$?
45363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45364 (exit $ac_status); }; } &&
45365 { ac_try='test -s conftest$ac_exeext'
45366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45367 (eval $ac_try) 2>&5
45368 ac_status=$?
45369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45370 (exit $ac_status); }; }; then
45371 eval "$as_ac_var=yes"
45372 else
45373 echo "$as_me: failed program was:" >&5
45374 sed 's/^/| /' conftest.$ac_ext >&5
45376 eval "$as_ac_var=no"
45378 rm -f conftest.err conftest.$ac_objext \
45379 conftest$ac_exeext conftest.$ac_ext
45381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45383 if test `eval echo '${'$as_ac_var'}'` = yes; then
45384 cat >>confdefs.h <<_ACEOF
45385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45386 _ACEOF
45389 done
45391 else
45393 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
45394 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
45395 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45396 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
45397 echo $ECHO_N "(cached) $ECHO_C" >&6
45398 else
45402 ac_ext=cc
45403 ac_cpp='$CXXCPP $CPPFLAGS'
45404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45408 cat >conftest.$ac_ext <<_ACEOF
45409 /* confdefs.h. */
45410 _ACEOF
45411 cat confdefs.h >>conftest.$ac_ext
45412 cat >>conftest.$ac_ext <<_ACEOF
45413 /* end confdefs.h. */
45414 #include <math.h>
45416 main ()
45418 _fmodl(0, 0);
45420 return 0;
45422 _ACEOF
45423 rm -f conftest.$ac_objext
45424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45425 (eval $ac_compile) 2>conftest.er1
45426 ac_status=$?
45427 grep -v '^ *+' conftest.er1 >conftest.err
45428 rm -f conftest.er1
45429 cat conftest.err >&5
45430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45431 (exit $ac_status); } &&
45432 { ac_try='test -z "$ac_cxx_werror_flag"
45433 || test ! -s conftest.err'
45434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45435 (eval $ac_try) 2>&5
45436 ac_status=$?
45437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438 (exit $ac_status); }; } &&
45439 { ac_try='test -s conftest.$ac_objext'
45440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45441 (eval $ac_try) 2>&5
45442 ac_status=$?
45443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45444 (exit $ac_status); }; }; then
45445 glibcxx_cv_func__fmodl_use=yes
45446 else
45447 echo "$as_me: failed program was:" >&5
45448 sed 's/^/| /' conftest.$ac_ext >&5
45450 glibcxx_cv_func__fmodl_use=no
45452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45453 ac_ext=c
45454 ac_cpp='$CPP $CPPFLAGS'
45455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45463 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
45464 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
45466 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45468 for ac_func in _fmodl
45470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45471 echo "$as_me:$LINENO: checking for $ac_func" >&5
45472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45473 if eval "test \"\${$as_ac_var+set}\" = set"; then
45474 echo $ECHO_N "(cached) $ECHO_C" >&6
45475 else
45476 if test x$gcc_no_link = xyes; then
45477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45479 { (exit 1); exit 1; }; }
45481 cat >conftest.$ac_ext <<_ACEOF
45482 /* confdefs.h. */
45483 _ACEOF
45484 cat confdefs.h >>conftest.$ac_ext
45485 cat >>conftest.$ac_ext <<_ACEOF
45486 /* end confdefs.h. */
45487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45489 #define $ac_func innocuous_$ac_func
45491 /* System header to define __stub macros and hopefully few prototypes,
45492 which can conflict with char $ac_func (); below.
45493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45494 <limits.h> exists even on freestanding compilers. */
45496 #ifdef __STDC__
45497 # include <limits.h>
45498 #else
45499 # include <assert.h>
45500 #endif
45502 #undef $ac_func
45504 /* Override any gcc2 internal prototype to avoid an error. */
45505 #ifdef __cplusplus
45506 extern "C"
45508 #endif
45509 /* We use char because int might match the return type of a gcc2
45510 builtin and then its argument prototype would still apply. */
45511 char $ac_func ();
45512 /* The GNU C library defines this for functions which it implements
45513 to always fail with ENOSYS. Some functions are actually named
45514 something starting with __ and the normal name is an alias. */
45515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45516 choke me
45517 #else
45518 char (*f) () = $ac_func;
45519 #endif
45520 #ifdef __cplusplus
45522 #endif
45525 main ()
45527 return f != $ac_func;
45529 return 0;
45531 _ACEOF
45532 rm -f conftest.$ac_objext conftest$ac_exeext
45533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45534 (eval $ac_link) 2>conftest.er1
45535 ac_status=$?
45536 grep -v '^ *+' conftest.er1 >conftest.err
45537 rm -f conftest.er1
45538 cat conftest.err >&5
45539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45540 (exit $ac_status); } &&
45541 { ac_try='test -z "$ac_c_werror_flag"
45542 || test ! -s conftest.err'
45543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45544 (eval $ac_try) 2>&5
45545 ac_status=$?
45546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45547 (exit $ac_status); }; } &&
45548 { ac_try='test -s conftest$ac_exeext'
45549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45550 (eval $ac_try) 2>&5
45551 ac_status=$?
45552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45553 (exit $ac_status); }; }; then
45554 eval "$as_ac_var=yes"
45555 else
45556 echo "$as_me: failed program was:" >&5
45557 sed 's/^/| /' conftest.$ac_ext >&5
45559 eval "$as_ac_var=no"
45561 rm -f conftest.err conftest.$ac_objext \
45562 conftest$ac_exeext conftest.$ac_ext
45564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45566 if test `eval echo '${'$as_ac_var'}'` = yes; then
45567 cat >>confdefs.h <<_ACEOF
45568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45569 _ACEOF
45572 done
45582 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
45583 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
45584 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45585 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
45586 echo $ECHO_N "(cached) $ECHO_C" >&6
45587 else
45591 ac_ext=cc
45592 ac_cpp='$CXXCPP $CPPFLAGS'
45593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45597 cat >conftest.$ac_ext <<_ACEOF
45598 /* confdefs.h. */
45599 _ACEOF
45600 cat confdefs.h >>conftest.$ac_ext
45601 cat >>conftest.$ac_ext <<_ACEOF
45602 /* end confdefs.h. */
45603 #include <math.h>
45605 main ()
45607 frexpl(0, 0);
45609 return 0;
45611 _ACEOF
45612 rm -f conftest.$ac_objext
45613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45614 (eval $ac_compile) 2>conftest.er1
45615 ac_status=$?
45616 grep -v '^ *+' conftest.er1 >conftest.err
45617 rm -f conftest.er1
45618 cat conftest.err >&5
45619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45620 (exit $ac_status); } &&
45621 { ac_try='test -z "$ac_cxx_werror_flag"
45622 || test ! -s conftest.err'
45623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45624 (eval $ac_try) 2>&5
45625 ac_status=$?
45626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45627 (exit $ac_status); }; } &&
45628 { ac_try='test -s conftest.$ac_objext'
45629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45630 (eval $ac_try) 2>&5
45631 ac_status=$?
45632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45633 (exit $ac_status); }; }; then
45634 glibcxx_cv_func_frexpl_use=yes
45635 else
45636 echo "$as_me: failed program was:" >&5
45637 sed 's/^/| /' conftest.$ac_ext >&5
45639 glibcxx_cv_func_frexpl_use=no
45641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45642 ac_ext=c
45643 ac_cpp='$CPP $CPPFLAGS'
45644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45652 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
45653 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
45655 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45657 for ac_func in frexpl
45659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45660 echo "$as_me:$LINENO: checking for $ac_func" >&5
45661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45662 if eval "test \"\${$as_ac_var+set}\" = set"; then
45663 echo $ECHO_N "(cached) $ECHO_C" >&6
45664 else
45665 if test x$gcc_no_link = xyes; then
45666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45668 { (exit 1); exit 1; }; }
45670 cat >conftest.$ac_ext <<_ACEOF
45671 /* confdefs.h. */
45672 _ACEOF
45673 cat confdefs.h >>conftest.$ac_ext
45674 cat >>conftest.$ac_ext <<_ACEOF
45675 /* end confdefs.h. */
45676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45678 #define $ac_func innocuous_$ac_func
45680 /* System header to define __stub macros and hopefully few prototypes,
45681 which can conflict with char $ac_func (); below.
45682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45683 <limits.h> exists even on freestanding compilers. */
45685 #ifdef __STDC__
45686 # include <limits.h>
45687 #else
45688 # include <assert.h>
45689 #endif
45691 #undef $ac_func
45693 /* Override any gcc2 internal prototype to avoid an error. */
45694 #ifdef __cplusplus
45695 extern "C"
45697 #endif
45698 /* We use char because int might match the return type of a gcc2
45699 builtin and then its argument prototype would still apply. */
45700 char $ac_func ();
45701 /* The GNU C library defines this for functions which it implements
45702 to always fail with ENOSYS. Some functions are actually named
45703 something starting with __ and the normal name is an alias. */
45704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45705 choke me
45706 #else
45707 char (*f) () = $ac_func;
45708 #endif
45709 #ifdef __cplusplus
45711 #endif
45714 main ()
45716 return f != $ac_func;
45718 return 0;
45720 _ACEOF
45721 rm -f conftest.$ac_objext conftest$ac_exeext
45722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45723 (eval $ac_link) 2>conftest.er1
45724 ac_status=$?
45725 grep -v '^ *+' conftest.er1 >conftest.err
45726 rm -f conftest.er1
45727 cat conftest.err >&5
45728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45729 (exit $ac_status); } &&
45730 { ac_try='test -z "$ac_c_werror_flag"
45731 || test ! -s conftest.err'
45732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45733 (eval $ac_try) 2>&5
45734 ac_status=$?
45735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45736 (exit $ac_status); }; } &&
45737 { ac_try='test -s conftest$ac_exeext'
45738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45739 (eval $ac_try) 2>&5
45740 ac_status=$?
45741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45742 (exit $ac_status); }; }; then
45743 eval "$as_ac_var=yes"
45744 else
45745 echo "$as_me: failed program was:" >&5
45746 sed 's/^/| /' conftest.$ac_ext >&5
45748 eval "$as_ac_var=no"
45750 rm -f conftest.err conftest.$ac_objext \
45751 conftest$ac_exeext conftest.$ac_ext
45753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45755 if test `eval echo '${'$as_ac_var'}'` = yes; then
45756 cat >>confdefs.h <<_ACEOF
45757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45758 _ACEOF
45761 done
45763 else
45765 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
45766 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
45767 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45768 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
45769 echo $ECHO_N "(cached) $ECHO_C" >&6
45770 else
45774 ac_ext=cc
45775 ac_cpp='$CXXCPP $CPPFLAGS'
45776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45780 cat >conftest.$ac_ext <<_ACEOF
45781 /* confdefs.h. */
45782 _ACEOF
45783 cat confdefs.h >>conftest.$ac_ext
45784 cat >>conftest.$ac_ext <<_ACEOF
45785 /* end confdefs.h. */
45786 #include <math.h>
45788 main ()
45790 _frexpl(0, 0);
45792 return 0;
45794 _ACEOF
45795 rm -f conftest.$ac_objext
45796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45797 (eval $ac_compile) 2>conftest.er1
45798 ac_status=$?
45799 grep -v '^ *+' conftest.er1 >conftest.err
45800 rm -f conftest.er1
45801 cat conftest.err >&5
45802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45803 (exit $ac_status); } &&
45804 { ac_try='test -z "$ac_cxx_werror_flag"
45805 || test ! -s conftest.err'
45806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45807 (eval $ac_try) 2>&5
45808 ac_status=$?
45809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45810 (exit $ac_status); }; } &&
45811 { ac_try='test -s conftest.$ac_objext'
45812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45813 (eval $ac_try) 2>&5
45814 ac_status=$?
45815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816 (exit $ac_status); }; }; then
45817 glibcxx_cv_func__frexpl_use=yes
45818 else
45819 echo "$as_me: failed program was:" >&5
45820 sed 's/^/| /' conftest.$ac_ext >&5
45822 glibcxx_cv_func__frexpl_use=no
45824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45825 ac_ext=c
45826 ac_cpp='$CPP $CPPFLAGS'
45827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45835 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
45836 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
45838 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45840 for ac_func in _frexpl
45842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45843 echo "$as_me:$LINENO: checking for $ac_func" >&5
45844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45845 if eval "test \"\${$as_ac_var+set}\" = set"; then
45846 echo $ECHO_N "(cached) $ECHO_C" >&6
45847 else
45848 if test x$gcc_no_link = xyes; then
45849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45851 { (exit 1); exit 1; }; }
45853 cat >conftest.$ac_ext <<_ACEOF
45854 /* confdefs.h. */
45855 _ACEOF
45856 cat confdefs.h >>conftest.$ac_ext
45857 cat >>conftest.$ac_ext <<_ACEOF
45858 /* end confdefs.h. */
45859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45861 #define $ac_func innocuous_$ac_func
45863 /* System header to define __stub macros and hopefully few prototypes,
45864 which can conflict with char $ac_func (); below.
45865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45866 <limits.h> exists even on freestanding compilers. */
45868 #ifdef __STDC__
45869 # include <limits.h>
45870 #else
45871 # include <assert.h>
45872 #endif
45874 #undef $ac_func
45876 /* Override any gcc2 internal prototype to avoid an error. */
45877 #ifdef __cplusplus
45878 extern "C"
45880 #endif
45881 /* We use char because int might match the return type of a gcc2
45882 builtin and then its argument prototype would still apply. */
45883 char $ac_func ();
45884 /* The GNU C library defines this for functions which it implements
45885 to always fail with ENOSYS. Some functions are actually named
45886 something starting with __ and the normal name is an alias. */
45887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45888 choke me
45889 #else
45890 char (*f) () = $ac_func;
45891 #endif
45892 #ifdef __cplusplus
45894 #endif
45897 main ()
45899 return f != $ac_func;
45901 return 0;
45903 _ACEOF
45904 rm -f conftest.$ac_objext conftest$ac_exeext
45905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45906 (eval $ac_link) 2>conftest.er1
45907 ac_status=$?
45908 grep -v '^ *+' conftest.er1 >conftest.err
45909 rm -f conftest.er1
45910 cat conftest.err >&5
45911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45912 (exit $ac_status); } &&
45913 { ac_try='test -z "$ac_c_werror_flag"
45914 || test ! -s conftest.err'
45915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45916 (eval $ac_try) 2>&5
45917 ac_status=$?
45918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45919 (exit $ac_status); }; } &&
45920 { ac_try='test -s conftest$ac_exeext'
45921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45922 (eval $ac_try) 2>&5
45923 ac_status=$?
45924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45925 (exit $ac_status); }; }; then
45926 eval "$as_ac_var=yes"
45927 else
45928 echo "$as_me: failed program was:" >&5
45929 sed 's/^/| /' conftest.$ac_ext >&5
45931 eval "$as_ac_var=no"
45933 rm -f conftest.err conftest.$ac_objext \
45934 conftest$ac_exeext conftest.$ac_ext
45936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45938 if test `eval echo '${'$as_ac_var'}'` = yes; then
45939 cat >>confdefs.h <<_ACEOF
45940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45941 _ACEOF
45944 done
45954 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45955 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45956 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45957 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45958 echo $ECHO_N "(cached) $ECHO_C" >&6
45959 else
45963 ac_ext=cc
45964 ac_cpp='$CXXCPP $CPPFLAGS'
45965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45969 cat >conftest.$ac_ext <<_ACEOF
45970 /* confdefs.h. */
45971 _ACEOF
45972 cat confdefs.h >>conftest.$ac_ext
45973 cat >>conftest.$ac_ext <<_ACEOF
45974 /* end confdefs.h. */
45975 #include <math.h>
45977 main ()
45979 hypotl(0, 0);
45981 return 0;
45983 _ACEOF
45984 rm -f conftest.$ac_objext
45985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45986 (eval $ac_compile) 2>conftest.er1
45987 ac_status=$?
45988 grep -v '^ *+' conftest.er1 >conftest.err
45989 rm -f conftest.er1
45990 cat conftest.err >&5
45991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45992 (exit $ac_status); } &&
45993 { ac_try='test -z "$ac_cxx_werror_flag"
45994 || test ! -s conftest.err'
45995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45996 (eval $ac_try) 2>&5
45997 ac_status=$?
45998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45999 (exit $ac_status); }; } &&
46000 { ac_try='test -s conftest.$ac_objext'
46001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46002 (eval $ac_try) 2>&5
46003 ac_status=$?
46004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46005 (exit $ac_status); }; }; then
46006 glibcxx_cv_func_hypotl_use=yes
46007 else
46008 echo "$as_me: failed program was:" >&5
46009 sed 's/^/| /' conftest.$ac_ext >&5
46011 glibcxx_cv_func_hypotl_use=no
46013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46014 ac_ext=c
46015 ac_cpp='$CPP $CPPFLAGS'
46016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46024 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46025 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46027 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46029 for ac_func in hypotl
46031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46032 echo "$as_me:$LINENO: checking for $ac_func" >&5
46033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46034 if eval "test \"\${$as_ac_var+set}\" = set"; then
46035 echo $ECHO_N "(cached) $ECHO_C" >&6
46036 else
46037 if test x$gcc_no_link = xyes; then
46038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46040 { (exit 1); exit 1; }; }
46042 cat >conftest.$ac_ext <<_ACEOF
46043 /* confdefs.h. */
46044 _ACEOF
46045 cat confdefs.h >>conftest.$ac_ext
46046 cat >>conftest.$ac_ext <<_ACEOF
46047 /* end confdefs.h. */
46048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46050 #define $ac_func innocuous_$ac_func
46052 /* System header to define __stub macros and hopefully few prototypes,
46053 which can conflict with char $ac_func (); below.
46054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46055 <limits.h> exists even on freestanding compilers. */
46057 #ifdef __STDC__
46058 # include <limits.h>
46059 #else
46060 # include <assert.h>
46061 #endif
46063 #undef $ac_func
46065 /* Override any gcc2 internal prototype to avoid an error. */
46066 #ifdef __cplusplus
46067 extern "C"
46069 #endif
46070 /* We use char because int might match the return type of a gcc2
46071 builtin and then its argument prototype would still apply. */
46072 char $ac_func ();
46073 /* The GNU C library defines this for functions which it implements
46074 to always fail with ENOSYS. Some functions are actually named
46075 something starting with __ and the normal name is an alias. */
46076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46077 choke me
46078 #else
46079 char (*f) () = $ac_func;
46080 #endif
46081 #ifdef __cplusplus
46083 #endif
46086 main ()
46088 return f != $ac_func;
46090 return 0;
46092 _ACEOF
46093 rm -f conftest.$ac_objext conftest$ac_exeext
46094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46095 (eval $ac_link) 2>conftest.er1
46096 ac_status=$?
46097 grep -v '^ *+' conftest.er1 >conftest.err
46098 rm -f conftest.er1
46099 cat conftest.err >&5
46100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46101 (exit $ac_status); } &&
46102 { ac_try='test -z "$ac_c_werror_flag"
46103 || test ! -s conftest.err'
46104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46105 (eval $ac_try) 2>&5
46106 ac_status=$?
46107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46108 (exit $ac_status); }; } &&
46109 { ac_try='test -s conftest$ac_exeext'
46110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46111 (eval $ac_try) 2>&5
46112 ac_status=$?
46113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46114 (exit $ac_status); }; }; then
46115 eval "$as_ac_var=yes"
46116 else
46117 echo "$as_me: failed program was:" >&5
46118 sed 's/^/| /' conftest.$ac_ext >&5
46120 eval "$as_ac_var=no"
46122 rm -f conftest.err conftest.$ac_objext \
46123 conftest$ac_exeext conftest.$ac_ext
46125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46127 if test `eval echo '${'$as_ac_var'}'` = yes; then
46128 cat >>confdefs.h <<_ACEOF
46129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46130 _ACEOF
46133 done
46135 else
46137 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46138 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46139 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46140 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46141 echo $ECHO_N "(cached) $ECHO_C" >&6
46142 else
46146 ac_ext=cc
46147 ac_cpp='$CXXCPP $CPPFLAGS'
46148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46152 cat >conftest.$ac_ext <<_ACEOF
46153 /* confdefs.h. */
46154 _ACEOF
46155 cat confdefs.h >>conftest.$ac_ext
46156 cat >>conftest.$ac_ext <<_ACEOF
46157 /* end confdefs.h. */
46158 #include <math.h>
46160 main ()
46162 _hypotl(0, 0);
46164 return 0;
46166 _ACEOF
46167 rm -f conftest.$ac_objext
46168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46169 (eval $ac_compile) 2>conftest.er1
46170 ac_status=$?
46171 grep -v '^ *+' conftest.er1 >conftest.err
46172 rm -f conftest.er1
46173 cat conftest.err >&5
46174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46175 (exit $ac_status); } &&
46176 { ac_try='test -z "$ac_cxx_werror_flag"
46177 || test ! -s conftest.err'
46178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46179 (eval $ac_try) 2>&5
46180 ac_status=$?
46181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46182 (exit $ac_status); }; } &&
46183 { ac_try='test -s conftest.$ac_objext'
46184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46185 (eval $ac_try) 2>&5
46186 ac_status=$?
46187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46188 (exit $ac_status); }; }; then
46189 glibcxx_cv_func__hypotl_use=yes
46190 else
46191 echo "$as_me: failed program was:" >&5
46192 sed 's/^/| /' conftest.$ac_ext >&5
46194 glibcxx_cv_func__hypotl_use=no
46196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46197 ac_ext=c
46198 ac_cpp='$CPP $CPPFLAGS'
46199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46207 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46208 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46210 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46212 for ac_func in _hypotl
46214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46215 echo "$as_me:$LINENO: checking for $ac_func" >&5
46216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46217 if eval "test \"\${$as_ac_var+set}\" = set"; then
46218 echo $ECHO_N "(cached) $ECHO_C" >&6
46219 else
46220 if test x$gcc_no_link = xyes; then
46221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46223 { (exit 1); exit 1; }; }
46225 cat >conftest.$ac_ext <<_ACEOF
46226 /* confdefs.h. */
46227 _ACEOF
46228 cat confdefs.h >>conftest.$ac_ext
46229 cat >>conftest.$ac_ext <<_ACEOF
46230 /* end confdefs.h. */
46231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46233 #define $ac_func innocuous_$ac_func
46235 /* System header to define __stub macros and hopefully few prototypes,
46236 which can conflict with char $ac_func (); below.
46237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46238 <limits.h> exists even on freestanding compilers. */
46240 #ifdef __STDC__
46241 # include <limits.h>
46242 #else
46243 # include <assert.h>
46244 #endif
46246 #undef $ac_func
46248 /* Override any gcc2 internal prototype to avoid an error. */
46249 #ifdef __cplusplus
46250 extern "C"
46252 #endif
46253 /* We use char because int might match the return type of a gcc2
46254 builtin and then its argument prototype would still apply. */
46255 char $ac_func ();
46256 /* The GNU C library defines this for functions which it implements
46257 to always fail with ENOSYS. Some functions are actually named
46258 something starting with __ and the normal name is an alias. */
46259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46260 choke me
46261 #else
46262 char (*f) () = $ac_func;
46263 #endif
46264 #ifdef __cplusplus
46266 #endif
46269 main ()
46271 return f != $ac_func;
46273 return 0;
46275 _ACEOF
46276 rm -f conftest.$ac_objext conftest$ac_exeext
46277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46278 (eval $ac_link) 2>conftest.er1
46279 ac_status=$?
46280 grep -v '^ *+' conftest.er1 >conftest.err
46281 rm -f conftest.er1
46282 cat conftest.err >&5
46283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46284 (exit $ac_status); } &&
46285 { ac_try='test -z "$ac_c_werror_flag"
46286 || test ! -s conftest.err'
46287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46288 (eval $ac_try) 2>&5
46289 ac_status=$?
46290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46291 (exit $ac_status); }; } &&
46292 { ac_try='test -s conftest$ac_exeext'
46293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46294 (eval $ac_try) 2>&5
46295 ac_status=$?
46296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46297 (exit $ac_status); }; }; then
46298 eval "$as_ac_var=yes"
46299 else
46300 echo "$as_me: failed program was:" >&5
46301 sed 's/^/| /' conftest.$ac_ext >&5
46303 eval "$as_ac_var=no"
46305 rm -f conftest.err conftest.$ac_objext \
46306 conftest$ac_exeext conftest.$ac_ext
46308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46310 if test `eval echo '${'$as_ac_var'}'` = yes; then
46311 cat >>confdefs.h <<_ACEOF
46312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46313 _ACEOF
46316 done
46326 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
46327 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
46328 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46329 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
46330 echo $ECHO_N "(cached) $ECHO_C" >&6
46331 else
46335 ac_ext=cc
46336 ac_cpp='$CXXCPP $CPPFLAGS'
46337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46341 cat >conftest.$ac_ext <<_ACEOF
46342 /* confdefs.h. */
46343 _ACEOF
46344 cat confdefs.h >>conftest.$ac_ext
46345 cat >>conftest.$ac_ext <<_ACEOF
46346 /* end confdefs.h. */
46347 #include <math.h>
46349 main ()
46351 ldexpl(0, 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_ldexpl_use=yes
46379 else
46380 echo "$as_me: failed program was:" >&5
46381 sed 's/^/| /' conftest.$ac_ext >&5
46383 glibcxx_cv_func_ldexpl_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_ldexpl_use" >&5
46397 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
46399 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46401 for ac_func in ldexpl
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 _ldexpl declaration" >&5
46510 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
46511 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46512 if test "${glibcxx_cv_func__ldexpl_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>
46532 main ()
46534 _ldexpl(0, 0);
46536 return 0;
46538 _ACEOF
46539 rm -f conftest.$ac_objext
46540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46541 (eval $ac_compile) 2>conftest.er1
46542 ac_status=$?
46543 grep -v '^ *+' conftest.er1 >conftest.err
46544 rm -f conftest.er1
46545 cat conftest.err >&5
46546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46547 (exit $ac_status); } &&
46548 { ac_try='test -z "$ac_cxx_werror_flag"
46549 || test ! -s conftest.err'
46550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46551 (eval $ac_try) 2>&5
46552 ac_status=$?
46553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46554 (exit $ac_status); }; } &&
46555 { ac_try='test -s conftest.$ac_objext'
46556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46557 (eval $ac_try) 2>&5
46558 ac_status=$?
46559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46560 (exit $ac_status); }; }; then
46561 glibcxx_cv_func__ldexpl_use=yes
46562 else
46563 echo "$as_me: failed program was:" >&5
46564 sed 's/^/| /' conftest.$ac_ext >&5
46566 glibcxx_cv_func__ldexpl_use=no
46568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46569 ac_ext=c
46570 ac_cpp='$CPP $CPPFLAGS'
46571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46579 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
46580 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
46582 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46584 for ac_func in _ldexpl
46586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46587 echo "$as_me:$LINENO: checking for $ac_func" >&5
46588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46589 if eval "test \"\${$as_ac_var+set}\" = set"; then
46590 echo $ECHO_N "(cached) $ECHO_C" >&6
46591 else
46592 if test x$gcc_no_link = xyes; then
46593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46595 { (exit 1); exit 1; }; }
46597 cat >conftest.$ac_ext <<_ACEOF
46598 /* confdefs.h. */
46599 _ACEOF
46600 cat confdefs.h >>conftest.$ac_ext
46601 cat >>conftest.$ac_ext <<_ACEOF
46602 /* end confdefs.h. */
46603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46605 #define $ac_func innocuous_$ac_func
46607 /* System header to define __stub macros and hopefully few prototypes,
46608 which can conflict with char $ac_func (); below.
46609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46610 <limits.h> exists even on freestanding compilers. */
46612 #ifdef __STDC__
46613 # include <limits.h>
46614 #else
46615 # include <assert.h>
46616 #endif
46618 #undef $ac_func
46620 /* Override any gcc2 internal prototype to avoid an error. */
46621 #ifdef __cplusplus
46622 extern "C"
46624 #endif
46625 /* We use char because int might match the return type of a gcc2
46626 builtin and then its argument prototype would still apply. */
46627 char $ac_func ();
46628 /* The GNU C library defines this for functions which it implements
46629 to always fail with ENOSYS. Some functions are actually named
46630 something starting with __ and the normal name is an alias. */
46631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46632 choke me
46633 #else
46634 char (*f) () = $ac_func;
46635 #endif
46636 #ifdef __cplusplus
46638 #endif
46641 main ()
46643 return f != $ac_func;
46645 return 0;
46647 _ACEOF
46648 rm -f conftest.$ac_objext conftest$ac_exeext
46649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46650 (eval $ac_link) 2>conftest.er1
46651 ac_status=$?
46652 grep -v '^ *+' conftest.er1 >conftest.err
46653 rm -f conftest.er1
46654 cat conftest.err >&5
46655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46656 (exit $ac_status); } &&
46657 { ac_try='test -z "$ac_c_werror_flag"
46658 || test ! -s conftest.err'
46659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46660 (eval $ac_try) 2>&5
46661 ac_status=$?
46662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46663 (exit $ac_status); }; } &&
46664 { ac_try='test -s conftest$ac_exeext'
46665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46666 (eval $ac_try) 2>&5
46667 ac_status=$?
46668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46669 (exit $ac_status); }; }; then
46670 eval "$as_ac_var=yes"
46671 else
46672 echo "$as_me: failed program was:" >&5
46673 sed 's/^/| /' conftest.$ac_ext >&5
46675 eval "$as_ac_var=no"
46677 rm -f conftest.err conftest.$ac_objext \
46678 conftest$ac_exeext conftest.$ac_ext
46680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46682 if test `eval echo '${'$as_ac_var'}'` = yes; then
46683 cat >>confdefs.h <<_ACEOF
46684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46685 _ACEOF
46688 done
46698 echo "$as_me:$LINENO: checking for logl declaration" >&5
46699 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
46700 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46701 if test "${glibcxx_cv_func_logl_use+set}" = set; then
46702 echo $ECHO_N "(cached) $ECHO_C" >&6
46703 else
46707 ac_ext=cc
46708 ac_cpp='$CXXCPP $CPPFLAGS'
46709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46713 cat >conftest.$ac_ext <<_ACEOF
46714 /* confdefs.h. */
46715 _ACEOF
46716 cat confdefs.h >>conftest.$ac_ext
46717 cat >>conftest.$ac_ext <<_ACEOF
46718 /* end confdefs.h. */
46719 #include <math.h>
46720 #ifdef HAVE_IEEEFP_H
46721 #include <ieeefp.h>
46722 #endif
46725 main ()
46727 logl(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_logl_use=yes
46755 else
46756 echo "$as_me: failed program was:" >&5
46757 sed 's/^/| /' conftest.$ac_ext >&5
46759 glibcxx_cv_func_logl_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_logl_use" >&5
46773 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
46775 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46777 for ac_func in logl
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 _logl declaration" >&5
46886 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
46887 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46888 if test "${glibcxx_cv_func__logl_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>
46907 #ifdef HAVE_IEEEFP_H
46908 #include <ieeefp.h>
46909 #endif
46912 main ()
46914 _logl(0);
46916 return 0;
46918 _ACEOF
46919 rm -f conftest.$ac_objext
46920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46921 (eval $ac_compile) 2>conftest.er1
46922 ac_status=$?
46923 grep -v '^ *+' conftest.er1 >conftest.err
46924 rm -f conftest.er1
46925 cat conftest.err >&5
46926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46927 (exit $ac_status); } &&
46928 { ac_try='test -z "$ac_cxx_werror_flag"
46929 || test ! -s conftest.err'
46930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46931 (eval $ac_try) 2>&5
46932 ac_status=$?
46933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46934 (exit $ac_status); }; } &&
46935 { ac_try='test -s conftest.$ac_objext'
46936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46937 (eval $ac_try) 2>&5
46938 ac_status=$?
46939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46940 (exit $ac_status); }; }; then
46941 glibcxx_cv_func__logl_use=yes
46942 else
46943 echo "$as_me: failed program was:" >&5
46944 sed 's/^/| /' conftest.$ac_ext >&5
46946 glibcxx_cv_func__logl_use=no
46948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46949 ac_ext=c
46950 ac_cpp='$CPP $CPPFLAGS'
46951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46959 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46960 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46962 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46964 for ac_func in _logl
46966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46967 echo "$as_me:$LINENO: checking for $ac_func" >&5
46968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46969 if eval "test \"\${$as_ac_var+set}\" = set"; then
46970 echo $ECHO_N "(cached) $ECHO_C" >&6
46971 else
46972 if test x$gcc_no_link = xyes; then
46973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46975 { (exit 1); exit 1; }; }
46977 cat >conftest.$ac_ext <<_ACEOF
46978 /* confdefs.h. */
46979 _ACEOF
46980 cat confdefs.h >>conftest.$ac_ext
46981 cat >>conftest.$ac_ext <<_ACEOF
46982 /* end confdefs.h. */
46983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46985 #define $ac_func innocuous_$ac_func
46987 /* System header to define __stub macros and hopefully few prototypes,
46988 which can conflict with char $ac_func (); below.
46989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46990 <limits.h> exists even on freestanding compilers. */
46992 #ifdef __STDC__
46993 # include <limits.h>
46994 #else
46995 # include <assert.h>
46996 #endif
46998 #undef $ac_func
47000 /* Override any gcc2 internal prototype to avoid an error. */
47001 #ifdef __cplusplus
47002 extern "C"
47004 #endif
47005 /* We use char because int might match the return type of a gcc2
47006 builtin and then its argument prototype would still apply. */
47007 char $ac_func ();
47008 /* The GNU C library defines this for functions which it implements
47009 to always fail with ENOSYS. Some functions are actually named
47010 something starting with __ and the normal name is an alias. */
47011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47012 choke me
47013 #else
47014 char (*f) () = $ac_func;
47015 #endif
47016 #ifdef __cplusplus
47018 #endif
47021 main ()
47023 return f != $ac_func;
47025 return 0;
47027 _ACEOF
47028 rm -f conftest.$ac_objext conftest$ac_exeext
47029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47030 (eval $ac_link) 2>conftest.er1
47031 ac_status=$?
47032 grep -v '^ *+' conftest.er1 >conftest.err
47033 rm -f conftest.er1
47034 cat conftest.err >&5
47035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47036 (exit $ac_status); } &&
47037 { ac_try='test -z "$ac_c_werror_flag"
47038 || test ! -s conftest.err'
47039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47040 (eval $ac_try) 2>&5
47041 ac_status=$?
47042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47043 (exit $ac_status); }; } &&
47044 { ac_try='test -s conftest$ac_exeext'
47045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47046 (eval $ac_try) 2>&5
47047 ac_status=$?
47048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47049 (exit $ac_status); }; }; then
47050 eval "$as_ac_var=yes"
47051 else
47052 echo "$as_me: failed program was:" >&5
47053 sed 's/^/| /' conftest.$ac_ext >&5
47055 eval "$as_ac_var=no"
47057 rm -f conftest.err conftest.$ac_objext \
47058 conftest$ac_exeext conftest.$ac_ext
47060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47062 if test `eval echo '${'$as_ac_var'}'` = yes; then
47063 cat >>confdefs.h <<_ACEOF
47064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47065 _ACEOF
47068 done
47078 echo "$as_me:$LINENO: checking for log10l declaration" >&5
47079 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47080 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47081 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47082 echo $ECHO_N "(cached) $ECHO_C" >&6
47083 else
47087 ac_ext=cc
47088 ac_cpp='$CXXCPP $CPPFLAGS'
47089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47093 cat >conftest.$ac_ext <<_ACEOF
47094 /* confdefs.h. */
47095 _ACEOF
47096 cat confdefs.h >>conftest.$ac_ext
47097 cat >>conftest.$ac_ext <<_ACEOF
47098 /* end confdefs.h. */
47099 #include <math.h>
47100 #ifdef HAVE_IEEEFP_H
47101 #include <ieeefp.h>
47102 #endif
47105 main ()
47107 log10l(0);
47109 return 0;
47111 _ACEOF
47112 rm -f conftest.$ac_objext
47113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47114 (eval $ac_compile) 2>conftest.er1
47115 ac_status=$?
47116 grep -v '^ *+' conftest.er1 >conftest.err
47117 rm -f conftest.er1
47118 cat conftest.err >&5
47119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47120 (exit $ac_status); } &&
47121 { ac_try='test -z "$ac_cxx_werror_flag"
47122 || test ! -s conftest.err'
47123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47124 (eval $ac_try) 2>&5
47125 ac_status=$?
47126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47127 (exit $ac_status); }; } &&
47128 { ac_try='test -s conftest.$ac_objext'
47129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47130 (eval $ac_try) 2>&5
47131 ac_status=$?
47132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47133 (exit $ac_status); }; }; then
47134 glibcxx_cv_func_log10l_use=yes
47135 else
47136 echo "$as_me: failed program was:" >&5
47137 sed 's/^/| /' conftest.$ac_ext >&5
47139 glibcxx_cv_func_log10l_use=no
47141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47142 ac_ext=c
47143 ac_cpp='$CPP $CPPFLAGS'
47144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47152 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47153 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47155 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47157 for ac_func in log10l
47159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47160 echo "$as_me:$LINENO: checking for $ac_func" >&5
47161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47162 if eval "test \"\${$as_ac_var+set}\" = set"; then
47163 echo $ECHO_N "(cached) $ECHO_C" >&6
47164 else
47165 if test x$gcc_no_link = xyes; then
47166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47168 { (exit 1); exit 1; }; }
47170 cat >conftest.$ac_ext <<_ACEOF
47171 /* confdefs.h. */
47172 _ACEOF
47173 cat confdefs.h >>conftest.$ac_ext
47174 cat >>conftest.$ac_ext <<_ACEOF
47175 /* end confdefs.h. */
47176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47178 #define $ac_func innocuous_$ac_func
47180 /* System header to define __stub macros and hopefully few prototypes,
47181 which can conflict with char $ac_func (); below.
47182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47183 <limits.h> exists even on freestanding compilers. */
47185 #ifdef __STDC__
47186 # include <limits.h>
47187 #else
47188 # include <assert.h>
47189 #endif
47191 #undef $ac_func
47193 /* Override any gcc2 internal prototype to avoid an error. */
47194 #ifdef __cplusplus
47195 extern "C"
47197 #endif
47198 /* We use char because int might match the return type of a gcc2
47199 builtin and then its argument prototype would still apply. */
47200 char $ac_func ();
47201 /* The GNU C library defines this for functions which it implements
47202 to always fail with ENOSYS. Some functions are actually named
47203 something starting with __ and the normal name is an alias. */
47204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47205 choke me
47206 #else
47207 char (*f) () = $ac_func;
47208 #endif
47209 #ifdef __cplusplus
47211 #endif
47214 main ()
47216 return f != $ac_func;
47218 return 0;
47220 _ACEOF
47221 rm -f conftest.$ac_objext conftest$ac_exeext
47222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47223 (eval $ac_link) 2>conftest.er1
47224 ac_status=$?
47225 grep -v '^ *+' conftest.er1 >conftest.err
47226 rm -f conftest.er1
47227 cat conftest.err >&5
47228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47229 (exit $ac_status); } &&
47230 { ac_try='test -z "$ac_c_werror_flag"
47231 || test ! -s conftest.err'
47232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47233 (eval $ac_try) 2>&5
47234 ac_status=$?
47235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47236 (exit $ac_status); }; } &&
47237 { ac_try='test -s conftest$ac_exeext'
47238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47239 (eval $ac_try) 2>&5
47240 ac_status=$?
47241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47242 (exit $ac_status); }; }; then
47243 eval "$as_ac_var=yes"
47244 else
47245 echo "$as_me: failed program was:" >&5
47246 sed 's/^/| /' conftest.$ac_ext >&5
47248 eval "$as_ac_var=no"
47250 rm -f conftest.err conftest.$ac_objext \
47251 conftest$ac_exeext conftest.$ac_ext
47253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47255 if test `eval echo '${'$as_ac_var'}'` = yes; then
47256 cat >>confdefs.h <<_ACEOF
47257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47258 _ACEOF
47261 done
47263 else
47265 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
47266 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
47267 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
47268 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
47269 echo $ECHO_N "(cached) $ECHO_C" >&6
47270 else
47274 ac_ext=cc
47275 ac_cpp='$CXXCPP $CPPFLAGS'
47276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47280 cat >conftest.$ac_ext <<_ACEOF
47281 /* confdefs.h. */
47282 _ACEOF
47283 cat confdefs.h >>conftest.$ac_ext
47284 cat >>conftest.$ac_ext <<_ACEOF
47285 /* end confdefs.h. */
47286 #include <math.h>
47287 #ifdef HAVE_IEEEFP_H
47288 #include <ieeefp.h>
47289 #endif
47292 main ()
47294 _log10l(0);
47296 return 0;
47298 _ACEOF
47299 rm -f conftest.$ac_objext
47300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47301 (eval $ac_compile) 2>conftest.er1
47302 ac_status=$?
47303 grep -v '^ *+' conftest.er1 >conftest.err
47304 rm -f conftest.er1
47305 cat conftest.err >&5
47306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47307 (exit $ac_status); } &&
47308 { ac_try='test -z "$ac_cxx_werror_flag"
47309 || test ! -s conftest.err'
47310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47311 (eval $ac_try) 2>&5
47312 ac_status=$?
47313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47314 (exit $ac_status); }; } &&
47315 { ac_try='test -s conftest.$ac_objext'
47316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47317 (eval $ac_try) 2>&5
47318 ac_status=$?
47319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47320 (exit $ac_status); }; }; then
47321 glibcxx_cv_func__log10l_use=yes
47322 else
47323 echo "$as_me: failed program was:" >&5
47324 sed 's/^/| /' conftest.$ac_ext >&5
47326 glibcxx_cv_func__log10l_use=no
47328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47329 ac_ext=c
47330 ac_cpp='$CPP $CPPFLAGS'
47331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47339 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
47340 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
47342 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
47344 for ac_func in _log10l
47346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47347 echo "$as_me:$LINENO: checking for $ac_func" >&5
47348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47349 if eval "test \"\${$as_ac_var+set}\" = set"; then
47350 echo $ECHO_N "(cached) $ECHO_C" >&6
47351 else
47352 if test x$gcc_no_link = xyes; then
47353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47355 { (exit 1); exit 1; }; }
47357 cat >conftest.$ac_ext <<_ACEOF
47358 /* confdefs.h. */
47359 _ACEOF
47360 cat confdefs.h >>conftest.$ac_ext
47361 cat >>conftest.$ac_ext <<_ACEOF
47362 /* end confdefs.h. */
47363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47365 #define $ac_func innocuous_$ac_func
47367 /* System header to define __stub macros and hopefully few prototypes,
47368 which can conflict with char $ac_func (); below.
47369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47370 <limits.h> exists even on freestanding compilers. */
47372 #ifdef __STDC__
47373 # include <limits.h>
47374 #else
47375 # include <assert.h>
47376 #endif
47378 #undef $ac_func
47380 /* Override any gcc2 internal prototype to avoid an error. */
47381 #ifdef __cplusplus
47382 extern "C"
47384 #endif
47385 /* We use char because int might match the return type of a gcc2
47386 builtin and then its argument prototype would still apply. */
47387 char $ac_func ();
47388 /* The GNU C library defines this for functions which it implements
47389 to always fail with ENOSYS. Some functions are actually named
47390 something starting with __ and the normal name is an alias. */
47391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47392 choke me
47393 #else
47394 char (*f) () = $ac_func;
47395 #endif
47396 #ifdef __cplusplus
47398 #endif
47401 main ()
47403 return f != $ac_func;
47405 return 0;
47407 _ACEOF
47408 rm -f conftest.$ac_objext conftest$ac_exeext
47409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47410 (eval $ac_link) 2>conftest.er1
47411 ac_status=$?
47412 grep -v '^ *+' conftest.er1 >conftest.err
47413 rm -f conftest.er1
47414 cat conftest.err >&5
47415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47416 (exit $ac_status); } &&
47417 { ac_try='test -z "$ac_c_werror_flag"
47418 || test ! -s conftest.err'
47419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47420 (eval $ac_try) 2>&5
47421 ac_status=$?
47422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47423 (exit $ac_status); }; } &&
47424 { ac_try='test -s conftest$ac_exeext'
47425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47426 (eval $ac_try) 2>&5
47427 ac_status=$?
47428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47429 (exit $ac_status); }; }; then
47430 eval "$as_ac_var=yes"
47431 else
47432 echo "$as_me: failed program was:" >&5
47433 sed 's/^/| /' conftest.$ac_ext >&5
47435 eval "$as_ac_var=no"
47437 rm -f conftest.err conftest.$ac_objext \
47438 conftest$ac_exeext conftest.$ac_ext
47440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47442 if test `eval echo '${'$as_ac_var'}'` = yes; then
47443 cat >>confdefs.h <<_ACEOF
47444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47445 _ACEOF
47448 done
47458 echo "$as_me:$LINENO: checking for modfl declaration" >&5
47459 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
47460 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
47461 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
47462 echo $ECHO_N "(cached) $ECHO_C" >&6
47463 else
47467 ac_ext=cc
47468 ac_cpp='$CXXCPP $CPPFLAGS'
47469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47473 cat >conftest.$ac_ext <<_ACEOF
47474 /* confdefs.h. */
47475 _ACEOF
47476 cat confdefs.h >>conftest.$ac_ext
47477 cat >>conftest.$ac_ext <<_ACEOF
47478 /* end confdefs.h. */
47479 #include <math.h>
47481 main ()
47483 modfl(0, 0);
47485 return 0;
47487 _ACEOF
47488 rm -f conftest.$ac_objext
47489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47490 (eval $ac_compile) 2>conftest.er1
47491 ac_status=$?
47492 grep -v '^ *+' conftest.er1 >conftest.err
47493 rm -f conftest.er1
47494 cat conftest.err >&5
47495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47496 (exit $ac_status); } &&
47497 { ac_try='test -z "$ac_cxx_werror_flag"
47498 || test ! -s conftest.err'
47499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47500 (eval $ac_try) 2>&5
47501 ac_status=$?
47502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47503 (exit $ac_status); }; } &&
47504 { ac_try='test -s conftest.$ac_objext'
47505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47506 (eval $ac_try) 2>&5
47507 ac_status=$?
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); }; }; then
47510 glibcxx_cv_func_modfl_use=yes
47511 else
47512 echo "$as_me: failed program was:" >&5
47513 sed 's/^/| /' conftest.$ac_ext >&5
47515 glibcxx_cv_func_modfl_use=no
47517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47518 ac_ext=c
47519 ac_cpp='$CPP $CPPFLAGS'
47520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
47529 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
47531 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
47533 for ac_func in modfl
47535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47536 echo "$as_me:$LINENO: checking for $ac_func" >&5
47537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47538 if eval "test \"\${$as_ac_var+set}\" = set"; then
47539 echo $ECHO_N "(cached) $ECHO_C" >&6
47540 else
47541 if test x$gcc_no_link = xyes; then
47542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47544 { (exit 1); exit 1; }; }
47546 cat >conftest.$ac_ext <<_ACEOF
47547 /* confdefs.h. */
47548 _ACEOF
47549 cat confdefs.h >>conftest.$ac_ext
47550 cat >>conftest.$ac_ext <<_ACEOF
47551 /* end confdefs.h. */
47552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47554 #define $ac_func innocuous_$ac_func
47556 /* System header to define __stub macros and hopefully few prototypes,
47557 which can conflict with char $ac_func (); below.
47558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47559 <limits.h> exists even on freestanding compilers. */
47561 #ifdef __STDC__
47562 # include <limits.h>
47563 #else
47564 # include <assert.h>
47565 #endif
47567 #undef $ac_func
47569 /* Override any gcc2 internal prototype to avoid an error. */
47570 #ifdef __cplusplus
47571 extern "C"
47573 #endif
47574 /* We use char because int might match the return type of a gcc2
47575 builtin and then its argument prototype would still apply. */
47576 char $ac_func ();
47577 /* The GNU C library defines this for functions which it implements
47578 to always fail with ENOSYS. Some functions are actually named
47579 something starting with __ and the normal name is an alias. */
47580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47581 choke me
47582 #else
47583 char (*f) () = $ac_func;
47584 #endif
47585 #ifdef __cplusplus
47587 #endif
47590 main ()
47592 return f != $ac_func;
47594 return 0;
47596 _ACEOF
47597 rm -f conftest.$ac_objext conftest$ac_exeext
47598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47599 (eval $ac_link) 2>conftest.er1
47600 ac_status=$?
47601 grep -v '^ *+' conftest.er1 >conftest.err
47602 rm -f conftest.er1
47603 cat conftest.err >&5
47604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47605 (exit $ac_status); } &&
47606 { ac_try='test -z "$ac_c_werror_flag"
47607 || test ! -s conftest.err'
47608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47609 (eval $ac_try) 2>&5
47610 ac_status=$?
47611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47612 (exit $ac_status); }; } &&
47613 { ac_try='test -s conftest$ac_exeext'
47614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47615 (eval $ac_try) 2>&5
47616 ac_status=$?
47617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47618 (exit $ac_status); }; }; then
47619 eval "$as_ac_var=yes"
47620 else
47621 echo "$as_me: failed program was:" >&5
47622 sed 's/^/| /' conftest.$ac_ext >&5
47624 eval "$as_ac_var=no"
47626 rm -f conftest.err conftest.$ac_objext \
47627 conftest$ac_exeext conftest.$ac_ext
47629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47631 if test `eval echo '${'$as_ac_var'}'` = yes; then
47632 cat >>confdefs.h <<_ACEOF
47633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47634 _ACEOF
47637 done
47639 else
47641 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
47642 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
47643 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
47644 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
47645 echo $ECHO_N "(cached) $ECHO_C" >&6
47646 else
47650 ac_ext=cc
47651 ac_cpp='$CXXCPP $CPPFLAGS'
47652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47656 cat >conftest.$ac_ext <<_ACEOF
47657 /* confdefs.h. */
47658 _ACEOF
47659 cat confdefs.h >>conftest.$ac_ext
47660 cat >>conftest.$ac_ext <<_ACEOF
47661 /* end confdefs.h. */
47662 #include <math.h>
47664 main ()
47666 _modfl(0, 0);
47668 return 0;
47670 _ACEOF
47671 rm -f conftest.$ac_objext
47672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47673 (eval $ac_compile) 2>conftest.er1
47674 ac_status=$?
47675 grep -v '^ *+' conftest.er1 >conftest.err
47676 rm -f conftest.er1
47677 cat conftest.err >&5
47678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47679 (exit $ac_status); } &&
47680 { ac_try='test -z "$ac_cxx_werror_flag"
47681 || test ! -s conftest.err'
47682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47683 (eval $ac_try) 2>&5
47684 ac_status=$?
47685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47686 (exit $ac_status); }; } &&
47687 { ac_try='test -s conftest.$ac_objext'
47688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47689 (eval $ac_try) 2>&5
47690 ac_status=$?
47691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47692 (exit $ac_status); }; }; then
47693 glibcxx_cv_func__modfl_use=yes
47694 else
47695 echo "$as_me: failed program was:" >&5
47696 sed 's/^/| /' conftest.$ac_ext >&5
47698 glibcxx_cv_func__modfl_use=no
47700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47701 ac_ext=c
47702 ac_cpp='$CPP $CPPFLAGS'
47703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47711 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
47712 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
47714 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
47716 for ac_func in _modfl
47718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47719 echo "$as_me:$LINENO: checking for $ac_func" >&5
47720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47721 if eval "test \"\${$as_ac_var+set}\" = set"; then
47722 echo $ECHO_N "(cached) $ECHO_C" >&6
47723 else
47724 if test x$gcc_no_link = xyes; then
47725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47727 { (exit 1); exit 1; }; }
47729 cat >conftest.$ac_ext <<_ACEOF
47730 /* confdefs.h. */
47731 _ACEOF
47732 cat confdefs.h >>conftest.$ac_ext
47733 cat >>conftest.$ac_ext <<_ACEOF
47734 /* end confdefs.h. */
47735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47737 #define $ac_func innocuous_$ac_func
47739 /* System header to define __stub macros and hopefully few prototypes,
47740 which can conflict with char $ac_func (); below.
47741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47742 <limits.h> exists even on freestanding compilers. */
47744 #ifdef __STDC__
47745 # include <limits.h>
47746 #else
47747 # include <assert.h>
47748 #endif
47750 #undef $ac_func
47752 /* Override any gcc2 internal prototype to avoid an error. */
47753 #ifdef __cplusplus
47754 extern "C"
47756 #endif
47757 /* We use char because int might match the return type of a gcc2
47758 builtin and then its argument prototype would still apply. */
47759 char $ac_func ();
47760 /* The GNU C library defines this for functions which it implements
47761 to always fail with ENOSYS. Some functions are actually named
47762 something starting with __ and the normal name is an alias. */
47763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47764 choke me
47765 #else
47766 char (*f) () = $ac_func;
47767 #endif
47768 #ifdef __cplusplus
47770 #endif
47773 main ()
47775 return f != $ac_func;
47777 return 0;
47779 _ACEOF
47780 rm -f conftest.$ac_objext conftest$ac_exeext
47781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47782 (eval $ac_link) 2>conftest.er1
47783 ac_status=$?
47784 grep -v '^ *+' conftest.er1 >conftest.err
47785 rm -f conftest.er1
47786 cat conftest.err >&5
47787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47788 (exit $ac_status); } &&
47789 { ac_try='test -z "$ac_c_werror_flag"
47790 || test ! -s conftest.err'
47791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47792 (eval $ac_try) 2>&5
47793 ac_status=$?
47794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47795 (exit $ac_status); }; } &&
47796 { ac_try='test -s conftest$ac_exeext'
47797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47798 (eval $ac_try) 2>&5
47799 ac_status=$?
47800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47801 (exit $ac_status); }; }; then
47802 eval "$as_ac_var=yes"
47803 else
47804 echo "$as_me: failed program was:" >&5
47805 sed 's/^/| /' conftest.$ac_ext >&5
47807 eval "$as_ac_var=no"
47809 rm -f conftest.err conftest.$ac_objext \
47810 conftest$ac_exeext conftest.$ac_ext
47812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47814 if test `eval echo '${'$as_ac_var'}'` = yes; then
47815 cat >>confdefs.h <<_ACEOF
47816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47817 _ACEOF
47820 done
47830 echo "$as_me:$LINENO: checking for powl declaration" >&5
47831 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
47832 if test x${glibcxx_cv_func_powl_use+set} != xset; then
47833 if test "${glibcxx_cv_func_powl_use+set}" = set; then
47834 echo $ECHO_N "(cached) $ECHO_C" >&6
47835 else
47839 ac_ext=cc
47840 ac_cpp='$CXXCPP $CPPFLAGS'
47841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47845 cat >conftest.$ac_ext <<_ACEOF
47846 /* confdefs.h. */
47847 _ACEOF
47848 cat confdefs.h >>conftest.$ac_ext
47849 cat >>conftest.$ac_ext <<_ACEOF
47850 /* end confdefs.h. */
47851 #include <math.h>
47853 main ()
47855 powl(0, 0);
47857 return 0;
47859 _ACEOF
47860 rm -f conftest.$ac_objext
47861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47862 (eval $ac_compile) 2>conftest.er1
47863 ac_status=$?
47864 grep -v '^ *+' conftest.er1 >conftest.err
47865 rm -f conftest.er1
47866 cat conftest.err >&5
47867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47868 (exit $ac_status); } &&
47869 { ac_try='test -z "$ac_cxx_werror_flag"
47870 || test ! -s conftest.err'
47871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47872 (eval $ac_try) 2>&5
47873 ac_status=$?
47874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47875 (exit $ac_status); }; } &&
47876 { ac_try='test -s conftest.$ac_objext'
47877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47878 (eval $ac_try) 2>&5
47879 ac_status=$?
47880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47881 (exit $ac_status); }; }; then
47882 glibcxx_cv_func_powl_use=yes
47883 else
47884 echo "$as_me: failed program was:" >&5
47885 sed 's/^/| /' conftest.$ac_ext >&5
47887 glibcxx_cv_func_powl_use=no
47889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47890 ac_ext=c
47891 ac_cpp='$CPP $CPPFLAGS'
47892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
47901 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
47903 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47905 for ac_func in powl
47907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47908 echo "$as_me:$LINENO: checking for $ac_func" >&5
47909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47910 if eval "test \"\${$as_ac_var+set}\" = set"; then
47911 echo $ECHO_N "(cached) $ECHO_C" >&6
47912 else
47913 if test x$gcc_no_link = xyes; then
47914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47916 { (exit 1); exit 1; }; }
47918 cat >conftest.$ac_ext <<_ACEOF
47919 /* confdefs.h. */
47920 _ACEOF
47921 cat confdefs.h >>conftest.$ac_ext
47922 cat >>conftest.$ac_ext <<_ACEOF
47923 /* end confdefs.h. */
47924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47926 #define $ac_func innocuous_$ac_func
47928 /* System header to define __stub macros and hopefully few prototypes,
47929 which can conflict with char $ac_func (); below.
47930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47931 <limits.h> exists even on freestanding compilers. */
47933 #ifdef __STDC__
47934 # include <limits.h>
47935 #else
47936 # include <assert.h>
47937 #endif
47939 #undef $ac_func
47941 /* Override any gcc2 internal prototype to avoid an error. */
47942 #ifdef __cplusplus
47943 extern "C"
47945 #endif
47946 /* We use char because int might match the return type of a gcc2
47947 builtin and then its argument prototype would still apply. */
47948 char $ac_func ();
47949 /* The GNU C library defines this for functions which it implements
47950 to always fail with ENOSYS. Some functions are actually named
47951 something starting with __ and the normal name is an alias. */
47952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47953 choke me
47954 #else
47955 char (*f) () = $ac_func;
47956 #endif
47957 #ifdef __cplusplus
47959 #endif
47962 main ()
47964 return f != $ac_func;
47966 return 0;
47968 _ACEOF
47969 rm -f conftest.$ac_objext conftest$ac_exeext
47970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47971 (eval $ac_link) 2>conftest.er1
47972 ac_status=$?
47973 grep -v '^ *+' conftest.er1 >conftest.err
47974 rm -f conftest.er1
47975 cat conftest.err >&5
47976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47977 (exit $ac_status); } &&
47978 { ac_try='test -z "$ac_c_werror_flag"
47979 || test ! -s conftest.err'
47980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47981 (eval $ac_try) 2>&5
47982 ac_status=$?
47983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47984 (exit $ac_status); }; } &&
47985 { ac_try='test -s conftest$ac_exeext'
47986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47987 (eval $ac_try) 2>&5
47988 ac_status=$?
47989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47990 (exit $ac_status); }; }; then
47991 eval "$as_ac_var=yes"
47992 else
47993 echo "$as_me: failed program was:" >&5
47994 sed 's/^/| /' conftest.$ac_ext >&5
47996 eval "$as_ac_var=no"
47998 rm -f conftest.err conftest.$ac_objext \
47999 conftest$ac_exeext conftest.$ac_ext
48001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48003 if test `eval echo '${'$as_ac_var'}'` = yes; then
48004 cat >>confdefs.h <<_ACEOF
48005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48006 _ACEOF
48009 done
48011 else
48013 echo "$as_me:$LINENO: checking for _powl declaration" >&5
48014 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48015 if test x${glibcxx_cv_func__powl_use+set} != xset; then
48016 if test "${glibcxx_cv_func__powl_use+set}" = set; then
48017 echo $ECHO_N "(cached) $ECHO_C" >&6
48018 else
48022 ac_ext=cc
48023 ac_cpp='$CXXCPP $CPPFLAGS'
48024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48028 cat >conftest.$ac_ext <<_ACEOF
48029 /* confdefs.h. */
48030 _ACEOF
48031 cat confdefs.h >>conftest.$ac_ext
48032 cat >>conftest.$ac_ext <<_ACEOF
48033 /* end confdefs.h. */
48034 #include <math.h>
48036 main ()
48038 _powl(0, 0);
48040 return 0;
48042 _ACEOF
48043 rm -f conftest.$ac_objext
48044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48045 (eval $ac_compile) 2>conftest.er1
48046 ac_status=$?
48047 grep -v '^ *+' conftest.er1 >conftest.err
48048 rm -f conftest.er1
48049 cat conftest.err >&5
48050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48051 (exit $ac_status); } &&
48052 { ac_try='test -z "$ac_cxx_werror_flag"
48053 || test ! -s conftest.err'
48054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48055 (eval $ac_try) 2>&5
48056 ac_status=$?
48057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48058 (exit $ac_status); }; } &&
48059 { ac_try='test -s conftest.$ac_objext'
48060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48061 (eval $ac_try) 2>&5
48062 ac_status=$?
48063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48064 (exit $ac_status); }; }; then
48065 glibcxx_cv_func__powl_use=yes
48066 else
48067 echo "$as_me: failed program was:" >&5
48068 sed 's/^/| /' conftest.$ac_ext >&5
48070 glibcxx_cv_func__powl_use=no
48072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48073 ac_ext=c
48074 ac_cpp='$CPP $CPPFLAGS'
48075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48083 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48084 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48086 if test x$glibcxx_cv_func__powl_use = x"yes"; then
48088 for ac_func in _powl
48090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48091 echo "$as_me:$LINENO: checking for $ac_func" >&5
48092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48093 if eval "test \"\${$as_ac_var+set}\" = set"; then
48094 echo $ECHO_N "(cached) $ECHO_C" >&6
48095 else
48096 if test x$gcc_no_link = xyes; then
48097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48099 { (exit 1); exit 1; }; }
48101 cat >conftest.$ac_ext <<_ACEOF
48102 /* confdefs.h. */
48103 _ACEOF
48104 cat confdefs.h >>conftest.$ac_ext
48105 cat >>conftest.$ac_ext <<_ACEOF
48106 /* end confdefs.h. */
48107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48109 #define $ac_func innocuous_$ac_func
48111 /* System header to define __stub macros and hopefully few prototypes,
48112 which can conflict with char $ac_func (); below.
48113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48114 <limits.h> exists even on freestanding compilers. */
48116 #ifdef __STDC__
48117 # include <limits.h>
48118 #else
48119 # include <assert.h>
48120 #endif
48122 #undef $ac_func
48124 /* Override any gcc2 internal prototype to avoid an error. */
48125 #ifdef __cplusplus
48126 extern "C"
48128 #endif
48129 /* We use char because int might match the return type of a gcc2
48130 builtin and then its argument prototype would still apply. */
48131 char $ac_func ();
48132 /* The GNU C library defines this for functions which it implements
48133 to always fail with ENOSYS. Some functions are actually named
48134 something starting with __ and the normal name is an alias. */
48135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48136 choke me
48137 #else
48138 char (*f) () = $ac_func;
48139 #endif
48140 #ifdef __cplusplus
48142 #endif
48145 main ()
48147 return f != $ac_func;
48149 return 0;
48151 _ACEOF
48152 rm -f conftest.$ac_objext conftest$ac_exeext
48153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48154 (eval $ac_link) 2>conftest.er1
48155 ac_status=$?
48156 grep -v '^ *+' conftest.er1 >conftest.err
48157 rm -f conftest.er1
48158 cat conftest.err >&5
48159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48160 (exit $ac_status); } &&
48161 { ac_try='test -z "$ac_c_werror_flag"
48162 || test ! -s conftest.err'
48163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48164 (eval $ac_try) 2>&5
48165 ac_status=$?
48166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48167 (exit $ac_status); }; } &&
48168 { ac_try='test -s conftest$ac_exeext'
48169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48170 (eval $ac_try) 2>&5
48171 ac_status=$?
48172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48173 (exit $ac_status); }; }; then
48174 eval "$as_ac_var=yes"
48175 else
48176 echo "$as_me: failed program was:" >&5
48177 sed 's/^/| /' conftest.$ac_ext >&5
48179 eval "$as_ac_var=no"
48181 rm -f conftest.err conftest.$ac_objext \
48182 conftest$ac_exeext conftest.$ac_ext
48184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48186 if test `eval echo '${'$as_ac_var'}'` = yes; then
48187 cat >>confdefs.h <<_ACEOF
48188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48189 _ACEOF
48192 done
48202 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48203 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48204 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48205 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48206 echo $ECHO_N "(cached) $ECHO_C" >&6
48207 else
48211 ac_ext=cc
48212 ac_cpp='$CXXCPP $CPPFLAGS'
48213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48217 cat >conftest.$ac_ext <<_ACEOF
48218 /* confdefs.h. */
48219 _ACEOF
48220 cat confdefs.h >>conftest.$ac_ext
48221 cat >>conftest.$ac_ext <<_ACEOF
48222 /* end confdefs.h. */
48223 #include <math.h>
48224 #ifdef HAVE_IEEEFP_H
48225 #include <ieeefp.h>
48226 #endif
48229 main ()
48231 sqrtl(0);
48233 return 0;
48235 _ACEOF
48236 rm -f conftest.$ac_objext
48237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48238 (eval $ac_compile) 2>conftest.er1
48239 ac_status=$?
48240 grep -v '^ *+' conftest.er1 >conftest.err
48241 rm -f conftest.er1
48242 cat conftest.err >&5
48243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48244 (exit $ac_status); } &&
48245 { ac_try='test -z "$ac_cxx_werror_flag"
48246 || test ! -s conftest.err'
48247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48248 (eval $ac_try) 2>&5
48249 ac_status=$?
48250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48251 (exit $ac_status); }; } &&
48252 { ac_try='test -s conftest.$ac_objext'
48253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48254 (eval $ac_try) 2>&5
48255 ac_status=$?
48256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48257 (exit $ac_status); }; }; then
48258 glibcxx_cv_func_sqrtl_use=yes
48259 else
48260 echo "$as_me: failed program was:" >&5
48261 sed 's/^/| /' conftest.$ac_ext >&5
48263 glibcxx_cv_func_sqrtl_use=no
48265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48266 ac_ext=c
48267 ac_cpp='$CPP $CPPFLAGS'
48268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48276 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
48277 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
48279 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48281 for ac_func in sqrtl
48283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48284 echo "$as_me:$LINENO: checking for $ac_func" >&5
48285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48286 if eval "test \"\${$as_ac_var+set}\" = set"; then
48287 echo $ECHO_N "(cached) $ECHO_C" >&6
48288 else
48289 if test x$gcc_no_link = xyes; then
48290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48292 { (exit 1); exit 1; }; }
48294 cat >conftest.$ac_ext <<_ACEOF
48295 /* confdefs.h. */
48296 _ACEOF
48297 cat confdefs.h >>conftest.$ac_ext
48298 cat >>conftest.$ac_ext <<_ACEOF
48299 /* end confdefs.h. */
48300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48302 #define $ac_func innocuous_$ac_func
48304 /* System header to define __stub macros and hopefully few prototypes,
48305 which can conflict with char $ac_func (); below.
48306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48307 <limits.h> exists even on freestanding compilers. */
48309 #ifdef __STDC__
48310 # include <limits.h>
48311 #else
48312 # include <assert.h>
48313 #endif
48315 #undef $ac_func
48317 /* Override any gcc2 internal prototype to avoid an error. */
48318 #ifdef __cplusplus
48319 extern "C"
48321 #endif
48322 /* We use char because int might match the return type of a gcc2
48323 builtin and then its argument prototype would still apply. */
48324 char $ac_func ();
48325 /* The GNU C library defines this for functions which it implements
48326 to always fail with ENOSYS. Some functions are actually named
48327 something starting with __ and the normal name is an alias. */
48328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48329 choke me
48330 #else
48331 char (*f) () = $ac_func;
48332 #endif
48333 #ifdef __cplusplus
48335 #endif
48338 main ()
48340 return f != $ac_func;
48342 return 0;
48344 _ACEOF
48345 rm -f conftest.$ac_objext conftest$ac_exeext
48346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48347 (eval $ac_link) 2>conftest.er1
48348 ac_status=$?
48349 grep -v '^ *+' conftest.er1 >conftest.err
48350 rm -f conftest.er1
48351 cat conftest.err >&5
48352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48353 (exit $ac_status); } &&
48354 { ac_try='test -z "$ac_c_werror_flag"
48355 || test ! -s conftest.err'
48356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48357 (eval $ac_try) 2>&5
48358 ac_status=$?
48359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48360 (exit $ac_status); }; } &&
48361 { ac_try='test -s conftest$ac_exeext'
48362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48363 (eval $ac_try) 2>&5
48364 ac_status=$?
48365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48366 (exit $ac_status); }; }; then
48367 eval "$as_ac_var=yes"
48368 else
48369 echo "$as_me: failed program was:" >&5
48370 sed 's/^/| /' conftest.$ac_ext >&5
48372 eval "$as_ac_var=no"
48374 rm -f conftest.err conftest.$ac_objext \
48375 conftest$ac_exeext conftest.$ac_ext
48377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48379 if test `eval echo '${'$as_ac_var'}'` = yes; then
48380 cat >>confdefs.h <<_ACEOF
48381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48382 _ACEOF
48385 done
48387 else
48389 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
48390 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
48391 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48392 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
48393 echo $ECHO_N "(cached) $ECHO_C" >&6
48394 else
48398 ac_ext=cc
48399 ac_cpp='$CXXCPP $CPPFLAGS'
48400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48404 cat >conftest.$ac_ext <<_ACEOF
48405 /* confdefs.h. */
48406 _ACEOF
48407 cat confdefs.h >>conftest.$ac_ext
48408 cat >>conftest.$ac_ext <<_ACEOF
48409 /* end confdefs.h. */
48410 #include <math.h>
48411 #ifdef HAVE_IEEEFP_H
48412 #include <ieeefp.h>
48413 #endif
48416 main ()
48418 _sqrtl(0);
48420 return 0;
48422 _ACEOF
48423 rm -f conftest.$ac_objext
48424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48425 (eval $ac_compile) 2>conftest.er1
48426 ac_status=$?
48427 grep -v '^ *+' conftest.er1 >conftest.err
48428 rm -f conftest.er1
48429 cat conftest.err >&5
48430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48431 (exit $ac_status); } &&
48432 { ac_try='test -z "$ac_cxx_werror_flag"
48433 || test ! -s conftest.err'
48434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48435 (eval $ac_try) 2>&5
48436 ac_status=$?
48437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48438 (exit $ac_status); }; } &&
48439 { ac_try='test -s conftest.$ac_objext'
48440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48441 (eval $ac_try) 2>&5
48442 ac_status=$?
48443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48444 (exit $ac_status); }; }; then
48445 glibcxx_cv_func__sqrtl_use=yes
48446 else
48447 echo "$as_me: failed program was:" >&5
48448 sed 's/^/| /' conftest.$ac_ext >&5
48450 glibcxx_cv_func__sqrtl_use=no
48452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48453 ac_ext=c
48454 ac_cpp='$CPP $CPPFLAGS'
48455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48463 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
48464 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
48466 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
48468 for ac_func in _sqrtl
48470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48471 echo "$as_me:$LINENO: checking for $ac_func" >&5
48472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48473 if eval "test \"\${$as_ac_var+set}\" = set"; then
48474 echo $ECHO_N "(cached) $ECHO_C" >&6
48475 else
48476 if test x$gcc_no_link = xyes; then
48477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48479 { (exit 1); exit 1; }; }
48481 cat >conftest.$ac_ext <<_ACEOF
48482 /* confdefs.h. */
48483 _ACEOF
48484 cat confdefs.h >>conftest.$ac_ext
48485 cat >>conftest.$ac_ext <<_ACEOF
48486 /* end confdefs.h. */
48487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48489 #define $ac_func innocuous_$ac_func
48491 /* System header to define __stub macros and hopefully few prototypes,
48492 which can conflict with char $ac_func (); below.
48493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48494 <limits.h> exists even on freestanding compilers. */
48496 #ifdef __STDC__
48497 # include <limits.h>
48498 #else
48499 # include <assert.h>
48500 #endif
48502 #undef $ac_func
48504 /* Override any gcc2 internal prototype to avoid an error. */
48505 #ifdef __cplusplus
48506 extern "C"
48508 #endif
48509 /* We use char because int might match the return type of a gcc2
48510 builtin and then its argument prototype would still apply. */
48511 char $ac_func ();
48512 /* The GNU C library defines this for functions which it implements
48513 to always fail with ENOSYS. Some functions are actually named
48514 something starting with __ and the normal name is an alias. */
48515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48516 choke me
48517 #else
48518 char (*f) () = $ac_func;
48519 #endif
48520 #ifdef __cplusplus
48522 #endif
48525 main ()
48527 return f != $ac_func;
48529 return 0;
48531 _ACEOF
48532 rm -f conftest.$ac_objext conftest$ac_exeext
48533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48534 (eval $ac_link) 2>conftest.er1
48535 ac_status=$?
48536 grep -v '^ *+' conftest.er1 >conftest.err
48537 rm -f conftest.er1
48538 cat conftest.err >&5
48539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48540 (exit $ac_status); } &&
48541 { ac_try='test -z "$ac_c_werror_flag"
48542 || test ! -s conftest.err'
48543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48544 (eval $ac_try) 2>&5
48545 ac_status=$?
48546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48547 (exit $ac_status); }; } &&
48548 { ac_try='test -s conftest$ac_exeext'
48549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48550 (eval $ac_try) 2>&5
48551 ac_status=$?
48552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48553 (exit $ac_status); }; }; then
48554 eval "$as_ac_var=yes"
48555 else
48556 echo "$as_me: failed program was:" >&5
48557 sed 's/^/| /' conftest.$ac_ext >&5
48559 eval "$as_ac_var=no"
48561 rm -f conftest.err conftest.$ac_objext \
48562 conftest$ac_exeext conftest.$ac_ext
48564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48566 if test `eval echo '${'$as_ac_var'}'` = yes; then
48567 cat >>confdefs.h <<_ACEOF
48568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48569 _ACEOF
48572 done
48582 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
48583 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
48584 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
48585 if test "${glibcxx_cv_func_sincosl_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 sincosl(0, 0, 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_sincosl_use=yes
48635 else
48636 echo "$as_me: failed program was:" >&5
48637 sed 's/^/| /' conftest.$ac_ext >&5
48639 glibcxx_cv_func_sincosl_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_sincosl_use" >&5
48653 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
48655 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
48657 for ac_func in sincosl
48659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48660 echo "$as_me:$LINENO: checking for $ac_func" >&5
48661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48662 if eval "test \"\${$as_ac_var+set}\" = set"; then
48663 echo $ECHO_N "(cached) $ECHO_C" >&6
48664 else
48665 if test x$gcc_no_link = xyes; then
48666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48668 { (exit 1); exit 1; }; }
48670 cat >conftest.$ac_ext <<_ACEOF
48671 /* confdefs.h. */
48672 _ACEOF
48673 cat confdefs.h >>conftest.$ac_ext
48674 cat >>conftest.$ac_ext <<_ACEOF
48675 /* end confdefs.h. */
48676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48678 #define $ac_func innocuous_$ac_func
48680 /* System header to define __stub macros and hopefully few prototypes,
48681 which can conflict with char $ac_func (); below.
48682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48683 <limits.h> exists even on freestanding compilers. */
48685 #ifdef __STDC__
48686 # include <limits.h>
48687 #else
48688 # include <assert.h>
48689 #endif
48691 #undef $ac_func
48693 /* Override any gcc2 internal prototype to avoid an error. */
48694 #ifdef __cplusplus
48695 extern "C"
48697 #endif
48698 /* We use char because int might match the return type of a gcc2
48699 builtin and then its argument prototype would still apply. */
48700 char $ac_func ();
48701 /* The GNU C library defines this for functions which it implements
48702 to always fail with ENOSYS. Some functions are actually named
48703 something starting with __ and the normal name is an alias. */
48704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48705 choke me
48706 #else
48707 char (*f) () = $ac_func;
48708 #endif
48709 #ifdef __cplusplus
48711 #endif
48714 main ()
48716 return f != $ac_func;
48718 return 0;
48720 _ACEOF
48721 rm -f conftest.$ac_objext conftest$ac_exeext
48722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48723 (eval $ac_link) 2>conftest.er1
48724 ac_status=$?
48725 grep -v '^ *+' conftest.er1 >conftest.err
48726 rm -f conftest.er1
48727 cat conftest.err >&5
48728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48729 (exit $ac_status); } &&
48730 { ac_try='test -z "$ac_c_werror_flag"
48731 || test ! -s conftest.err'
48732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48733 (eval $ac_try) 2>&5
48734 ac_status=$?
48735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48736 (exit $ac_status); }; } &&
48737 { ac_try='test -s conftest$ac_exeext'
48738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48739 (eval $ac_try) 2>&5
48740 ac_status=$?
48741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48742 (exit $ac_status); }; }; then
48743 eval "$as_ac_var=yes"
48744 else
48745 echo "$as_me: failed program was:" >&5
48746 sed 's/^/| /' conftest.$ac_ext >&5
48748 eval "$as_ac_var=no"
48750 rm -f conftest.err conftest.$ac_objext \
48751 conftest$ac_exeext conftest.$ac_ext
48753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48755 if test `eval echo '${'$as_ac_var'}'` = yes; then
48756 cat >>confdefs.h <<_ACEOF
48757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48758 _ACEOF
48761 done
48763 else
48765 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
48766 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
48767 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48768 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
48769 echo $ECHO_N "(cached) $ECHO_C" >&6
48770 else
48774 ac_ext=cc
48775 ac_cpp='$CXXCPP $CPPFLAGS'
48776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48780 cat >conftest.$ac_ext <<_ACEOF
48781 /* confdefs.h. */
48782 _ACEOF
48783 cat confdefs.h >>conftest.$ac_ext
48784 cat >>conftest.$ac_ext <<_ACEOF
48785 /* end confdefs.h. */
48786 #include <math.h>
48788 main ()
48790 _sincosl(0, 0, 0);
48792 return 0;
48794 _ACEOF
48795 rm -f conftest.$ac_objext
48796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48797 (eval $ac_compile) 2>conftest.er1
48798 ac_status=$?
48799 grep -v '^ *+' conftest.er1 >conftest.err
48800 rm -f conftest.er1
48801 cat conftest.err >&5
48802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48803 (exit $ac_status); } &&
48804 { ac_try='test -z "$ac_cxx_werror_flag"
48805 || test ! -s conftest.err'
48806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48807 (eval $ac_try) 2>&5
48808 ac_status=$?
48809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48810 (exit $ac_status); }; } &&
48811 { ac_try='test -s conftest.$ac_objext'
48812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48813 (eval $ac_try) 2>&5
48814 ac_status=$?
48815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48816 (exit $ac_status); }; }; then
48817 glibcxx_cv_func__sincosl_use=yes
48818 else
48819 echo "$as_me: failed program was:" >&5
48820 sed 's/^/| /' conftest.$ac_ext >&5
48822 glibcxx_cv_func__sincosl_use=no
48824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48825 ac_ext=c
48826 ac_cpp='$CPP $CPPFLAGS'
48827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48835 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
48836 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
48838 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48840 for ac_func in _sincosl
48842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48843 echo "$as_me:$LINENO: checking for $ac_func" >&5
48844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48845 if eval "test \"\${$as_ac_var+set}\" = set"; then
48846 echo $ECHO_N "(cached) $ECHO_C" >&6
48847 else
48848 if test x$gcc_no_link = xyes; then
48849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48851 { (exit 1); exit 1; }; }
48853 cat >conftest.$ac_ext <<_ACEOF
48854 /* confdefs.h. */
48855 _ACEOF
48856 cat confdefs.h >>conftest.$ac_ext
48857 cat >>conftest.$ac_ext <<_ACEOF
48858 /* end confdefs.h. */
48859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48861 #define $ac_func innocuous_$ac_func
48863 /* System header to define __stub macros and hopefully few prototypes,
48864 which can conflict with char $ac_func (); below.
48865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48866 <limits.h> exists even on freestanding compilers. */
48868 #ifdef __STDC__
48869 # include <limits.h>
48870 #else
48871 # include <assert.h>
48872 #endif
48874 #undef $ac_func
48876 /* Override any gcc2 internal prototype to avoid an error. */
48877 #ifdef __cplusplus
48878 extern "C"
48880 #endif
48881 /* We use char because int might match the return type of a gcc2
48882 builtin and then its argument prototype would still apply. */
48883 char $ac_func ();
48884 /* The GNU C library defines this for functions which it implements
48885 to always fail with ENOSYS. Some functions are actually named
48886 something starting with __ and the normal name is an alias. */
48887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48888 choke me
48889 #else
48890 char (*f) () = $ac_func;
48891 #endif
48892 #ifdef __cplusplus
48894 #endif
48897 main ()
48899 return f != $ac_func;
48901 return 0;
48903 _ACEOF
48904 rm -f conftest.$ac_objext conftest$ac_exeext
48905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48906 (eval $ac_link) 2>conftest.er1
48907 ac_status=$?
48908 grep -v '^ *+' conftest.er1 >conftest.err
48909 rm -f conftest.er1
48910 cat conftest.err >&5
48911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48912 (exit $ac_status); } &&
48913 { ac_try='test -z "$ac_c_werror_flag"
48914 || test ! -s conftest.err'
48915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48916 (eval $ac_try) 2>&5
48917 ac_status=$?
48918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48919 (exit $ac_status); }; } &&
48920 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
48926 eval "$as_ac_var=yes"
48927 else
48928 echo "$as_me: failed program was:" >&5
48929 sed 's/^/| /' conftest.$ac_ext >&5
48931 eval "$as_ac_var=no"
48933 rm -f conftest.err conftest.$ac_objext \
48934 conftest$ac_exeext conftest.$ac_ext
48936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48938 if test `eval echo '${'$as_ac_var'}'` = yes; then
48939 cat >>confdefs.h <<_ACEOF
48940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48941 _ACEOF
48944 done
48954 echo "$as_me:$LINENO: checking for finitel declaration" >&5
48955 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48956 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48957 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48958 echo $ECHO_N "(cached) $ECHO_C" >&6
48959 else
48963 ac_ext=cc
48964 ac_cpp='$CXXCPP $CPPFLAGS'
48965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48969 cat >conftest.$ac_ext <<_ACEOF
48970 /* confdefs.h. */
48971 _ACEOF
48972 cat confdefs.h >>conftest.$ac_ext
48973 cat >>conftest.$ac_ext <<_ACEOF
48974 /* end confdefs.h. */
48975 #include <math.h>
48976 #ifdef HAVE_IEEEFP_H
48977 #include <ieeefp.h>
48978 #endif
48981 main ()
48983 finitel(0);
48985 return 0;
48987 _ACEOF
48988 rm -f conftest.$ac_objext
48989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48990 (eval $ac_compile) 2>conftest.er1
48991 ac_status=$?
48992 grep -v '^ *+' conftest.er1 >conftest.err
48993 rm -f conftest.er1
48994 cat conftest.err >&5
48995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48996 (exit $ac_status); } &&
48997 { ac_try='test -z "$ac_cxx_werror_flag"
48998 || test ! -s conftest.err'
48999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49000 (eval $ac_try) 2>&5
49001 ac_status=$?
49002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49003 (exit $ac_status); }; } &&
49004 { ac_try='test -s conftest.$ac_objext'
49005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49006 (eval $ac_try) 2>&5
49007 ac_status=$?
49008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49009 (exit $ac_status); }; }; then
49010 glibcxx_cv_func_finitel_use=yes
49011 else
49012 echo "$as_me: failed program was:" >&5
49013 sed 's/^/| /' conftest.$ac_ext >&5
49015 glibcxx_cv_func_finitel_use=no
49017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49018 ac_ext=c
49019 ac_cpp='$CPP $CPPFLAGS'
49020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49028 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49029 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49031 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49033 for ac_func in finitel
49035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49036 echo "$as_me:$LINENO: checking for $ac_func" >&5
49037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49038 if eval "test \"\${$as_ac_var+set}\" = set"; then
49039 echo $ECHO_N "(cached) $ECHO_C" >&6
49040 else
49041 if test x$gcc_no_link = xyes; then
49042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49044 { (exit 1); exit 1; }; }
49046 cat >conftest.$ac_ext <<_ACEOF
49047 /* confdefs.h. */
49048 _ACEOF
49049 cat confdefs.h >>conftest.$ac_ext
49050 cat >>conftest.$ac_ext <<_ACEOF
49051 /* end confdefs.h. */
49052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49054 #define $ac_func innocuous_$ac_func
49056 /* System header to define __stub macros and hopefully few prototypes,
49057 which can conflict with char $ac_func (); below.
49058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49059 <limits.h> exists even on freestanding compilers. */
49061 #ifdef __STDC__
49062 # include <limits.h>
49063 #else
49064 # include <assert.h>
49065 #endif
49067 #undef $ac_func
49069 /* Override any gcc2 internal prototype to avoid an error. */
49070 #ifdef __cplusplus
49071 extern "C"
49073 #endif
49074 /* We use char because int might match the return type of a gcc2
49075 builtin and then its argument prototype would still apply. */
49076 char $ac_func ();
49077 /* The GNU C library defines this for functions which it implements
49078 to always fail with ENOSYS. Some functions are actually named
49079 something starting with __ and the normal name is an alias. */
49080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49081 choke me
49082 #else
49083 char (*f) () = $ac_func;
49084 #endif
49085 #ifdef __cplusplus
49087 #endif
49090 main ()
49092 return f != $ac_func;
49094 return 0;
49096 _ACEOF
49097 rm -f conftest.$ac_objext conftest$ac_exeext
49098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49099 (eval $ac_link) 2>conftest.er1
49100 ac_status=$?
49101 grep -v '^ *+' conftest.er1 >conftest.err
49102 rm -f conftest.er1
49103 cat conftest.err >&5
49104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49105 (exit $ac_status); } &&
49106 { ac_try='test -z "$ac_c_werror_flag"
49107 || test ! -s conftest.err'
49108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49109 (eval $ac_try) 2>&5
49110 ac_status=$?
49111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49112 (exit $ac_status); }; } &&
49113 { ac_try='test -s conftest$ac_exeext'
49114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49115 (eval $ac_try) 2>&5
49116 ac_status=$?
49117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49118 (exit $ac_status); }; }; then
49119 eval "$as_ac_var=yes"
49120 else
49121 echo "$as_me: failed program was:" >&5
49122 sed 's/^/| /' conftest.$ac_ext >&5
49124 eval "$as_ac_var=no"
49126 rm -f conftest.err conftest.$ac_objext \
49127 conftest$ac_exeext conftest.$ac_ext
49129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49131 if test `eval echo '${'$as_ac_var'}'` = yes; then
49132 cat >>confdefs.h <<_ACEOF
49133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49134 _ACEOF
49137 done
49139 else
49141 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49142 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49143 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49144 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49145 echo $ECHO_N "(cached) $ECHO_C" >&6
49146 else
49150 ac_ext=cc
49151 ac_cpp='$CXXCPP $CPPFLAGS'
49152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49156 cat >conftest.$ac_ext <<_ACEOF
49157 /* confdefs.h. */
49158 _ACEOF
49159 cat confdefs.h >>conftest.$ac_ext
49160 cat >>conftest.$ac_ext <<_ACEOF
49161 /* end confdefs.h. */
49162 #include <math.h>
49163 #ifdef HAVE_IEEEFP_H
49164 #include <ieeefp.h>
49165 #endif
49168 main ()
49170 _finitel(0);
49172 return 0;
49174 _ACEOF
49175 rm -f conftest.$ac_objext
49176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49177 (eval $ac_compile) 2>conftest.er1
49178 ac_status=$?
49179 grep -v '^ *+' conftest.er1 >conftest.err
49180 rm -f conftest.er1
49181 cat conftest.err >&5
49182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49183 (exit $ac_status); } &&
49184 { ac_try='test -z "$ac_cxx_werror_flag"
49185 || test ! -s conftest.err'
49186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49187 (eval $ac_try) 2>&5
49188 ac_status=$?
49189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49190 (exit $ac_status); }; } &&
49191 { ac_try='test -s conftest.$ac_objext'
49192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49193 (eval $ac_try) 2>&5
49194 ac_status=$?
49195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49196 (exit $ac_status); }; }; then
49197 glibcxx_cv_func__finitel_use=yes
49198 else
49199 echo "$as_me: failed program was:" >&5
49200 sed 's/^/| /' conftest.$ac_ext >&5
49202 glibcxx_cv_func__finitel_use=no
49204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49205 ac_ext=c
49206 ac_cpp='$CPP $CPPFLAGS'
49207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49215 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49216 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49218 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49220 for ac_func in _finitel
49222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49223 echo "$as_me:$LINENO: checking for $ac_func" >&5
49224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49225 if eval "test \"\${$as_ac_var+set}\" = set"; then
49226 echo $ECHO_N "(cached) $ECHO_C" >&6
49227 else
49228 if test x$gcc_no_link = xyes; then
49229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49231 { (exit 1); exit 1; }; }
49233 cat >conftest.$ac_ext <<_ACEOF
49234 /* confdefs.h. */
49235 _ACEOF
49236 cat confdefs.h >>conftest.$ac_ext
49237 cat >>conftest.$ac_ext <<_ACEOF
49238 /* end confdefs.h. */
49239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49241 #define $ac_func innocuous_$ac_func
49243 /* System header to define __stub macros and hopefully few prototypes,
49244 which can conflict with char $ac_func (); below.
49245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49246 <limits.h> exists even on freestanding compilers. */
49248 #ifdef __STDC__
49249 # include <limits.h>
49250 #else
49251 # include <assert.h>
49252 #endif
49254 #undef $ac_func
49256 /* Override any gcc2 internal prototype to avoid an error. */
49257 #ifdef __cplusplus
49258 extern "C"
49260 #endif
49261 /* We use char because int might match the return type of a gcc2
49262 builtin and then its argument prototype would still apply. */
49263 char $ac_func ();
49264 /* The GNU C library defines this for functions which it implements
49265 to always fail with ENOSYS. Some functions are actually named
49266 something starting with __ and the normal name is an alias. */
49267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49268 choke me
49269 #else
49270 char (*f) () = $ac_func;
49271 #endif
49272 #ifdef __cplusplus
49274 #endif
49277 main ()
49279 return f != $ac_func;
49281 return 0;
49283 _ACEOF
49284 rm -f conftest.$ac_objext conftest$ac_exeext
49285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49286 (eval $ac_link) 2>conftest.er1
49287 ac_status=$?
49288 grep -v '^ *+' conftest.er1 >conftest.err
49289 rm -f conftest.er1
49290 cat conftest.err >&5
49291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49292 (exit $ac_status); } &&
49293 { ac_try='test -z "$ac_c_werror_flag"
49294 || test ! -s conftest.err'
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); }; } &&
49300 { ac_try='test -s conftest$ac_exeext'
49301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49302 (eval $ac_try) 2>&5
49303 ac_status=$?
49304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49305 (exit $ac_status); }; }; then
49306 eval "$as_ac_var=yes"
49307 else
49308 echo "$as_me: failed program was:" >&5
49309 sed 's/^/| /' conftest.$ac_ext >&5
49311 eval "$as_ac_var=no"
49313 rm -f conftest.err conftest.$ac_objext \
49314 conftest$ac_exeext conftest.$ac_ext
49316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49318 if test `eval echo '${'$as_ac_var'}'` = yes; then
49319 cat >>confdefs.h <<_ACEOF
49320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49321 _ACEOF
49324 done
49333 LIBS="$ac_save_LIBS"
49334 CXXFLAGS="$ac_save_CXXFLAGS"
49338 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
49339 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
49340 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
49341 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
49342 echo $ECHO_N "(cached) $ECHO_C" >&6
49343 else
49347 ac_ext=cc
49348 ac_cpp='$CXXCPP $CPPFLAGS'
49349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49353 cat >conftest.$ac_ext <<_ACEOF
49354 /* confdefs.h. */
49355 _ACEOF
49356 cat confdefs.h >>conftest.$ac_ext
49357 cat >>conftest.$ac_ext <<_ACEOF
49358 /* end confdefs.h. */
49359 #include <math.h>
49361 main ()
49363 __builtin_abs(0);
49365 return 0;
49367 _ACEOF
49368 rm -f conftest.$ac_objext
49369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49370 (eval $ac_compile) 2>conftest.er1
49371 ac_status=$?
49372 grep -v '^ *+' conftest.er1 >conftest.err
49373 rm -f conftest.er1
49374 cat conftest.err >&5
49375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49376 (exit $ac_status); } &&
49377 { ac_try='test -z "$ac_cxx_werror_flag"
49378 || test ! -s conftest.err'
49379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49380 (eval $ac_try) 2>&5
49381 ac_status=$?
49382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49383 (exit $ac_status); }; } &&
49384 { ac_try='test -s conftest.$ac_objext'
49385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49386 (eval $ac_try) 2>&5
49387 ac_status=$?
49388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49389 (exit $ac_status); }; }; then
49390 glibcxx_cv_func___builtin_abs_use=yes
49391 else
49392 echo "$as_me: failed program was:" >&5
49393 sed 's/^/| /' conftest.$ac_ext >&5
49395 glibcxx_cv_func___builtin_abs_use=no
49397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49398 ac_ext=c
49399 ac_cpp='$CPP $CPPFLAGS'
49400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49408 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
49409 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
49410 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
49411 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
49412 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
49413 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
49414 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
49415 echo $ECHO_N "(cached) $ECHO_C" >&6
49416 else
49418 if test x$gcc_no_link = xyes; then
49419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49421 { (exit 1); exit 1; }; }
49423 cat >conftest.$ac_ext <<_ACEOF
49424 /* confdefs.h. */
49425 _ACEOF
49426 cat confdefs.h >>conftest.$ac_ext
49427 cat >>conftest.$ac_ext <<_ACEOF
49428 /* end confdefs.h. */
49429 #include <math.h>
49431 main ()
49433 __builtin_abs(0);
49435 return 0;
49437 _ACEOF
49438 rm -f conftest.$ac_objext conftest$ac_exeext
49439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49440 (eval $ac_link) 2>conftest.er1
49441 ac_status=$?
49442 grep -v '^ *+' conftest.er1 >conftest.err
49443 rm -f conftest.er1
49444 cat conftest.err >&5
49445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49446 (exit $ac_status); } &&
49447 { ac_try='test -z "$ac_c_werror_flag"
49448 || test ! -s conftest.err'
49449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49450 (eval $ac_try) 2>&5
49451 ac_status=$?
49452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49453 (exit $ac_status); }; } &&
49454 { ac_try='test -s conftest$ac_exeext'
49455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49456 (eval $ac_try) 2>&5
49457 ac_status=$?
49458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49459 (exit $ac_status); }; }; then
49460 glibcxx_cv_func___builtin_abs_link=yes
49461 else
49462 echo "$as_me: failed program was:" >&5
49463 sed 's/^/| /' conftest.$ac_ext >&5
49465 glibcxx_cv_func___builtin_abs_link=no
49467 rm -f conftest.err conftest.$ac_objext \
49468 conftest$ac_exeext conftest.$ac_ext
49473 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
49474 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
49476 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
49478 cat >>confdefs.h <<\_ACEOF
49479 #define HAVE___BUILTIN_ABS 1
49480 _ACEOF
49487 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
49488 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
49489 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
49490 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
49491 echo $ECHO_N "(cached) $ECHO_C" >&6
49492 else
49496 ac_ext=cc
49497 ac_cpp='$CXXCPP $CPPFLAGS'
49498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49502 cat >conftest.$ac_ext <<_ACEOF
49503 /* confdefs.h. */
49504 _ACEOF
49505 cat confdefs.h >>conftest.$ac_ext
49506 cat >>conftest.$ac_ext <<_ACEOF
49507 /* end confdefs.h. */
49508 #include <math.h>
49510 main ()
49512 __builtin_fabsf(0);
49514 return 0;
49516 _ACEOF
49517 rm -f conftest.$ac_objext
49518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49519 (eval $ac_compile) 2>conftest.er1
49520 ac_status=$?
49521 grep -v '^ *+' conftest.er1 >conftest.err
49522 rm -f conftest.er1
49523 cat conftest.err >&5
49524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49525 (exit $ac_status); } &&
49526 { ac_try='test -z "$ac_cxx_werror_flag"
49527 || test ! -s conftest.err'
49528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49529 (eval $ac_try) 2>&5
49530 ac_status=$?
49531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49532 (exit $ac_status); }; } &&
49533 { ac_try='test -s conftest.$ac_objext'
49534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49535 (eval $ac_try) 2>&5
49536 ac_status=$?
49537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49538 (exit $ac_status); }; }; then
49539 glibcxx_cv_func___builtin_fabsf_use=yes
49540 else
49541 echo "$as_me: failed program was:" >&5
49542 sed 's/^/| /' conftest.$ac_ext >&5
49544 glibcxx_cv_func___builtin_fabsf_use=no
49546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49547 ac_ext=c
49548 ac_cpp='$CPP $CPPFLAGS'
49549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49557 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
49558 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
49559 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
49560 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
49561 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
49562 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
49563 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
49564 echo $ECHO_N "(cached) $ECHO_C" >&6
49565 else
49567 if test x$gcc_no_link = xyes; then
49568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49570 { (exit 1); exit 1; }; }
49572 cat >conftest.$ac_ext <<_ACEOF
49573 /* confdefs.h. */
49574 _ACEOF
49575 cat confdefs.h >>conftest.$ac_ext
49576 cat >>conftest.$ac_ext <<_ACEOF
49577 /* end confdefs.h. */
49578 #include <math.h>
49580 main ()
49582 __builtin_fabsf(0);
49584 return 0;
49586 _ACEOF
49587 rm -f conftest.$ac_objext conftest$ac_exeext
49588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49589 (eval $ac_link) 2>conftest.er1
49590 ac_status=$?
49591 grep -v '^ *+' conftest.er1 >conftest.err
49592 rm -f conftest.er1
49593 cat conftest.err >&5
49594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49595 (exit $ac_status); } &&
49596 { ac_try='test -z "$ac_c_werror_flag"
49597 || test ! -s conftest.err'
49598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49599 (eval $ac_try) 2>&5
49600 ac_status=$?
49601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49602 (exit $ac_status); }; } &&
49603 { ac_try='test -s conftest$ac_exeext'
49604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49605 (eval $ac_try) 2>&5
49606 ac_status=$?
49607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49608 (exit $ac_status); }; }; then
49609 glibcxx_cv_func___builtin_fabsf_link=yes
49610 else
49611 echo "$as_me: failed program was:" >&5
49612 sed 's/^/| /' conftest.$ac_ext >&5
49614 glibcxx_cv_func___builtin_fabsf_link=no
49616 rm -f conftest.err conftest.$ac_objext \
49617 conftest$ac_exeext conftest.$ac_ext
49622 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
49623 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
49625 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
49627 cat >>confdefs.h <<\_ACEOF
49628 #define HAVE___BUILTIN_FABSF 1
49629 _ACEOF
49636 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
49637 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
49638 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
49639 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
49640 echo $ECHO_N "(cached) $ECHO_C" >&6
49641 else
49645 ac_ext=cc
49646 ac_cpp='$CXXCPP $CPPFLAGS'
49647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49651 cat >conftest.$ac_ext <<_ACEOF
49652 /* confdefs.h. */
49653 _ACEOF
49654 cat confdefs.h >>conftest.$ac_ext
49655 cat >>conftest.$ac_ext <<_ACEOF
49656 /* end confdefs.h. */
49657 #include <math.h>
49659 main ()
49661 __builtin_fabs(0);
49663 return 0;
49665 _ACEOF
49666 rm -f conftest.$ac_objext
49667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49668 (eval $ac_compile) 2>conftest.er1
49669 ac_status=$?
49670 grep -v '^ *+' conftest.er1 >conftest.err
49671 rm -f conftest.er1
49672 cat conftest.err >&5
49673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49674 (exit $ac_status); } &&
49675 { ac_try='test -z "$ac_cxx_werror_flag"
49676 || test ! -s conftest.err'
49677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49678 (eval $ac_try) 2>&5
49679 ac_status=$?
49680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49681 (exit $ac_status); }; } &&
49682 { ac_try='test -s conftest.$ac_objext'
49683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49684 (eval $ac_try) 2>&5
49685 ac_status=$?
49686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49687 (exit $ac_status); }; }; then
49688 glibcxx_cv_func___builtin_fabs_use=yes
49689 else
49690 echo "$as_me: failed program was:" >&5
49691 sed 's/^/| /' conftest.$ac_ext >&5
49693 glibcxx_cv_func___builtin_fabs_use=no
49695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49696 ac_ext=c
49697 ac_cpp='$CPP $CPPFLAGS'
49698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49706 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
49707 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
49708 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
49709 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
49710 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
49711 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
49712 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
49713 echo $ECHO_N "(cached) $ECHO_C" >&6
49714 else
49716 if test x$gcc_no_link = xyes; then
49717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49719 { (exit 1); exit 1; }; }
49721 cat >conftest.$ac_ext <<_ACEOF
49722 /* confdefs.h. */
49723 _ACEOF
49724 cat confdefs.h >>conftest.$ac_ext
49725 cat >>conftest.$ac_ext <<_ACEOF
49726 /* end confdefs.h. */
49727 #include <math.h>
49729 main ()
49731 __builtin_fabs(0);
49733 return 0;
49735 _ACEOF
49736 rm -f conftest.$ac_objext conftest$ac_exeext
49737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49738 (eval $ac_link) 2>conftest.er1
49739 ac_status=$?
49740 grep -v '^ *+' conftest.er1 >conftest.err
49741 rm -f conftest.er1
49742 cat conftest.err >&5
49743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49744 (exit $ac_status); } &&
49745 { ac_try='test -z "$ac_c_werror_flag"
49746 || test ! -s conftest.err'
49747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49748 (eval $ac_try) 2>&5
49749 ac_status=$?
49750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49751 (exit $ac_status); }; } &&
49752 { ac_try='test -s conftest$ac_exeext'
49753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49754 (eval $ac_try) 2>&5
49755 ac_status=$?
49756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49757 (exit $ac_status); }; }; then
49758 glibcxx_cv_func___builtin_fabs_link=yes
49759 else
49760 echo "$as_me: failed program was:" >&5
49761 sed 's/^/| /' conftest.$ac_ext >&5
49763 glibcxx_cv_func___builtin_fabs_link=no
49765 rm -f conftest.err conftest.$ac_objext \
49766 conftest$ac_exeext conftest.$ac_ext
49771 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
49772 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
49774 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
49776 cat >>confdefs.h <<\_ACEOF
49777 #define HAVE___BUILTIN_FABS 1
49778 _ACEOF
49785 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
49786 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
49787 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
49788 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
49789 echo $ECHO_N "(cached) $ECHO_C" >&6
49790 else
49794 ac_ext=cc
49795 ac_cpp='$CXXCPP $CPPFLAGS'
49796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49800 cat >conftest.$ac_ext <<_ACEOF
49801 /* confdefs.h. */
49802 _ACEOF
49803 cat confdefs.h >>conftest.$ac_ext
49804 cat >>conftest.$ac_ext <<_ACEOF
49805 /* end confdefs.h. */
49806 #include <math.h>
49808 main ()
49810 __builtin_fabsl(0);
49812 return 0;
49814 _ACEOF
49815 rm -f conftest.$ac_objext
49816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49817 (eval $ac_compile) 2>conftest.er1
49818 ac_status=$?
49819 grep -v '^ *+' conftest.er1 >conftest.err
49820 rm -f conftest.er1
49821 cat conftest.err >&5
49822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49823 (exit $ac_status); } &&
49824 { ac_try='test -z "$ac_cxx_werror_flag"
49825 || test ! -s conftest.err'
49826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49827 (eval $ac_try) 2>&5
49828 ac_status=$?
49829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49830 (exit $ac_status); }; } &&
49831 { ac_try='test -s conftest.$ac_objext'
49832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49833 (eval $ac_try) 2>&5
49834 ac_status=$?
49835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49836 (exit $ac_status); }; }; then
49837 glibcxx_cv_func___builtin_fabsl_use=yes
49838 else
49839 echo "$as_me: failed program was:" >&5
49840 sed 's/^/| /' conftest.$ac_ext >&5
49842 glibcxx_cv_func___builtin_fabsl_use=no
49844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49845 ac_ext=c
49846 ac_cpp='$CPP $CPPFLAGS'
49847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49855 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
49856 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
49857 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
49858 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
49859 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
49860 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
49861 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
49862 echo $ECHO_N "(cached) $ECHO_C" >&6
49863 else
49865 if test x$gcc_no_link = xyes; then
49866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49868 { (exit 1); exit 1; }; }
49870 cat >conftest.$ac_ext <<_ACEOF
49871 /* confdefs.h. */
49872 _ACEOF
49873 cat confdefs.h >>conftest.$ac_ext
49874 cat >>conftest.$ac_ext <<_ACEOF
49875 /* end confdefs.h. */
49876 #include <math.h>
49878 main ()
49880 __builtin_fabsl(0);
49882 return 0;
49884 _ACEOF
49885 rm -f conftest.$ac_objext conftest$ac_exeext
49886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49887 (eval $ac_link) 2>conftest.er1
49888 ac_status=$?
49889 grep -v '^ *+' conftest.er1 >conftest.err
49890 rm -f conftest.er1
49891 cat conftest.err >&5
49892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49893 (exit $ac_status); } &&
49894 { ac_try='test -z "$ac_c_werror_flag"
49895 || test ! -s conftest.err'
49896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49897 (eval $ac_try) 2>&5
49898 ac_status=$?
49899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49900 (exit $ac_status); }; } &&
49901 { ac_try='test -s conftest$ac_exeext'
49902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49903 (eval $ac_try) 2>&5
49904 ac_status=$?
49905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49906 (exit $ac_status); }; }; then
49907 glibcxx_cv_func___builtin_fabsl_link=yes
49908 else
49909 echo "$as_me: failed program was:" >&5
49910 sed 's/^/| /' conftest.$ac_ext >&5
49912 glibcxx_cv_func___builtin_fabsl_link=no
49914 rm -f conftest.err conftest.$ac_objext \
49915 conftest$ac_exeext conftest.$ac_ext
49920 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
49921 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
49923 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
49925 cat >>confdefs.h <<\_ACEOF
49926 #define HAVE___BUILTIN_FABSL 1
49927 _ACEOF
49934 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49935 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49936 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49937 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49938 echo $ECHO_N "(cached) $ECHO_C" >&6
49939 else
49943 ac_ext=cc
49944 ac_cpp='$CXXCPP $CPPFLAGS'
49945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49949 cat >conftest.$ac_ext <<_ACEOF
49950 /* confdefs.h. */
49951 _ACEOF
49952 cat confdefs.h >>conftest.$ac_ext
49953 cat >>conftest.$ac_ext <<_ACEOF
49954 /* end confdefs.h. */
49955 #include <math.h>
49957 main ()
49959 __builtin_labs(0);
49961 return 0;
49963 _ACEOF
49964 rm -f conftest.$ac_objext
49965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49966 (eval $ac_compile) 2>conftest.er1
49967 ac_status=$?
49968 grep -v '^ *+' conftest.er1 >conftest.err
49969 rm -f conftest.er1
49970 cat conftest.err >&5
49971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49972 (exit $ac_status); } &&
49973 { ac_try='test -z "$ac_cxx_werror_flag"
49974 || test ! -s conftest.err'
49975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49976 (eval $ac_try) 2>&5
49977 ac_status=$?
49978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49979 (exit $ac_status); }; } &&
49980 { ac_try='test -s conftest.$ac_objext'
49981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49982 (eval $ac_try) 2>&5
49983 ac_status=$?
49984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49985 (exit $ac_status); }; }; then
49986 glibcxx_cv_func___builtin_labs_use=yes
49987 else
49988 echo "$as_me: failed program was:" >&5
49989 sed 's/^/| /' conftest.$ac_ext >&5
49991 glibcxx_cv_func___builtin_labs_use=no
49993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49994 ac_ext=c
49995 ac_cpp='$CPP $CPPFLAGS'
49996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50004 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50005 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50006 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50007 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50008 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50009 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50010 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50011 echo $ECHO_N "(cached) $ECHO_C" >&6
50012 else
50014 if test x$gcc_no_link = xyes; then
50015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50017 { (exit 1); exit 1; }; }
50019 cat >conftest.$ac_ext <<_ACEOF
50020 /* confdefs.h. */
50021 _ACEOF
50022 cat confdefs.h >>conftest.$ac_ext
50023 cat >>conftest.$ac_ext <<_ACEOF
50024 /* end confdefs.h. */
50025 #include <math.h>
50027 main ()
50029 __builtin_labs(0);
50031 return 0;
50033 _ACEOF
50034 rm -f conftest.$ac_objext conftest$ac_exeext
50035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50036 (eval $ac_link) 2>conftest.er1
50037 ac_status=$?
50038 grep -v '^ *+' conftest.er1 >conftest.err
50039 rm -f conftest.er1
50040 cat conftest.err >&5
50041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50042 (exit $ac_status); } &&
50043 { ac_try='test -z "$ac_c_werror_flag"
50044 || test ! -s conftest.err'
50045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50046 (eval $ac_try) 2>&5
50047 ac_status=$?
50048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50049 (exit $ac_status); }; } &&
50050 { ac_try='test -s conftest$ac_exeext'
50051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50052 (eval $ac_try) 2>&5
50053 ac_status=$?
50054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50055 (exit $ac_status); }; }; then
50056 glibcxx_cv_func___builtin_labs_link=yes
50057 else
50058 echo "$as_me: failed program was:" >&5
50059 sed 's/^/| /' conftest.$ac_ext >&5
50061 glibcxx_cv_func___builtin_labs_link=no
50063 rm -f conftest.err conftest.$ac_objext \
50064 conftest$ac_exeext conftest.$ac_ext
50069 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50070 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50072 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50074 cat >>confdefs.h <<\_ACEOF
50075 #define HAVE___BUILTIN_LABS 1
50076 _ACEOF
50084 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50085 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50086 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50087 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50088 echo $ECHO_N "(cached) $ECHO_C" >&6
50089 else
50093 ac_ext=cc
50094 ac_cpp='$CXXCPP $CPPFLAGS'
50095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50099 cat >conftest.$ac_ext <<_ACEOF
50100 /* confdefs.h. */
50101 _ACEOF
50102 cat confdefs.h >>conftest.$ac_ext
50103 cat >>conftest.$ac_ext <<_ACEOF
50104 /* end confdefs.h. */
50105 #include <math.h>
50107 main ()
50109 __builtin_sqrtf(0);
50111 return 0;
50113 _ACEOF
50114 rm -f conftest.$ac_objext
50115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50116 (eval $ac_compile) 2>conftest.er1
50117 ac_status=$?
50118 grep -v '^ *+' conftest.er1 >conftest.err
50119 rm -f conftest.er1
50120 cat conftest.err >&5
50121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50122 (exit $ac_status); } &&
50123 { ac_try='test -z "$ac_cxx_werror_flag"
50124 || test ! -s conftest.err'
50125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50126 (eval $ac_try) 2>&5
50127 ac_status=$?
50128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50129 (exit $ac_status); }; } &&
50130 { ac_try='test -s conftest.$ac_objext'
50131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50132 (eval $ac_try) 2>&5
50133 ac_status=$?
50134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50135 (exit $ac_status); }; }; then
50136 glibcxx_cv_func___builtin_sqrtf_use=yes
50137 else
50138 echo "$as_me: failed program was:" >&5
50139 sed 's/^/| /' conftest.$ac_ext >&5
50141 glibcxx_cv_func___builtin_sqrtf_use=no
50143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50144 ac_ext=c
50145 ac_cpp='$CPP $CPPFLAGS'
50146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50154 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50155 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50156 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50157 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50158 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50159 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50160 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50161 echo $ECHO_N "(cached) $ECHO_C" >&6
50162 else
50164 if test x$gcc_no_link = xyes; then
50165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50167 { (exit 1); exit 1; }; }
50169 cat >conftest.$ac_ext <<_ACEOF
50170 /* confdefs.h. */
50171 _ACEOF
50172 cat confdefs.h >>conftest.$ac_ext
50173 cat >>conftest.$ac_ext <<_ACEOF
50174 /* end confdefs.h. */
50175 #include <math.h>
50177 main ()
50179 __builtin_sqrtf(0);
50181 return 0;
50183 _ACEOF
50184 rm -f conftest.$ac_objext conftest$ac_exeext
50185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50186 (eval $ac_link) 2>conftest.er1
50187 ac_status=$?
50188 grep -v '^ *+' conftest.er1 >conftest.err
50189 rm -f conftest.er1
50190 cat conftest.err >&5
50191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50192 (exit $ac_status); } &&
50193 { ac_try='test -z "$ac_c_werror_flag"
50194 || test ! -s conftest.err'
50195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50196 (eval $ac_try) 2>&5
50197 ac_status=$?
50198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50199 (exit $ac_status); }; } &&
50200 { ac_try='test -s conftest$ac_exeext'
50201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50202 (eval $ac_try) 2>&5
50203 ac_status=$?
50204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50205 (exit $ac_status); }; }; then
50206 glibcxx_cv_func___builtin_sqrtf_link=yes
50207 else
50208 echo "$as_me: failed program was:" >&5
50209 sed 's/^/| /' conftest.$ac_ext >&5
50211 glibcxx_cv_func___builtin_sqrtf_link=no
50213 rm -f conftest.err conftest.$ac_objext \
50214 conftest$ac_exeext conftest.$ac_ext
50219 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50220 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50222 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50224 cat >>confdefs.h <<\_ACEOF
50225 #define HAVE___BUILTIN_SQRTF 1
50226 _ACEOF
50233 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50234 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50235 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50236 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50237 echo $ECHO_N "(cached) $ECHO_C" >&6
50238 else
50242 ac_ext=cc
50243 ac_cpp='$CXXCPP $CPPFLAGS'
50244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50248 cat >conftest.$ac_ext <<_ACEOF
50249 /* confdefs.h. */
50250 _ACEOF
50251 cat confdefs.h >>conftest.$ac_ext
50252 cat >>conftest.$ac_ext <<_ACEOF
50253 /* end confdefs.h. */
50254 #include <math.h>
50256 main ()
50258 __builtin_sqrt(0);
50260 return 0;
50262 _ACEOF
50263 rm -f conftest.$ac_objext
50264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50265 (eval $ac_compile) 2>conftest.er1
50266 ac_status=$?
50267 grep -v '^ *+' conftest.er1 >conftest.err
50268 rm -f conftest.er1
50269 cat conftest.err >&5
50270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50271 (exit $ac_status); } &&
50272 { ac_try='test -z "$ac_cxx_werror_flag"
50273 || test ! -s conftest.err'
50274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50275 (eval $ac_try) 2>&5
50276 ac_status=$?
50277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50278 (exit $ac_status); }; } &&
50279 { ac_try='test -s conftest.$ac_objext'
50280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50281 (eval $ac_try) 2>&5
50282 ac_status=$?
50283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50284 (exit $ac_status); }; }; then
50285 glibcxx_cv_func___builtin_sqrt_use=yes
50286 else
50287 echo "$as_me: failed program was:" >&5
50288 sed 's/^/| /' conftest.$ac_ext >&5
50290 glibcxx_cv_func___builtin_sqrt_use=no
50292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50293 ac_ext=c
50294 ac_cpp='$CPP $CPPFLAGS'
50295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50303 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
50304 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
50305 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
50306 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
50307 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
50308 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
50309 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
50310 echo $ECHO_N "(cached) $ECHO_C" >&6
50311 else
50313 if test x$gcc_no_link = xyes; then
50314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50316 { (exit 1); exit 1; }; }
50318 cat >conftest.$ac_ext <<_ACEOF
50319 /* confdefs.h. */
50320 _ACEOF
50321 cat confdefs.h >>conftest.$ac_ext
50322 cat >>conftest.$ac_ext <<_ACEOF
50323 /* end confdefs.h. */
50324 #include <math.h>
50326 main ()
50328 __builtin_sqrt(0);
50330 return 0;
50332 _ACEOF
50333 rm -f conftest.$ac_objext conftest$ac_exeext
50334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50335 (eval $ac_link) 2>conftest.er1
50336 ac_status=$?
50337 grep -v '^ *+' conftest.er1 >conftest.err
50338 rm -f conftest.er1
50339 cat conftest.err >&5
50340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50341 (exit $ac_status); } &&
50342 { ac_try='test -z "$ac_c_werror_flag"
50343 || test ! -s conftest.err'
50344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50345 (eval $ac_try) 2>&5
50346 ac_status=$?
50347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50348 (exit $ac_status); }; } &&
50349 { ac_try='test -s conftest$ac_exeext'
50350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50351 (eval $ac_try) 2>&5
50352 ac_status=$?
50353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50354 (exit $ac_status); }; }; then
50355 glibcxx_cv_func___builtin_sqrt_link=yes
50356 else
50357 echo "$as_me: failed program was:" >&5
50358 sed 's/^/| /' conftest.$ac_ext >&5
50360 glibcxx_cv_func___builtin_sqrt_link=no
50362 rm -f conftest.err conftest.$ac_objext \
50363 conftest$ac_exeext conftest.$ac_ext
50368 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
50369 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
50371 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
50373 cat >>confdefs.h <<\_ACEOF
50374 #define HAVE___BUILTIN_SQRT 1
50375 _ACEOF
50382 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
50383 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
50384 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
50385 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
50386 echo $ECHO_N "(cached) $ECHO_C" >&6
50387 else
50391 ac_ext=cc
50392 ac_cpp='$CXXCPP $CPPFLAGS'
50393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50397 cat >conftest.$ac_ext <<_ACEOF
50398 /* confdefs.h. */
50399 _ACEOF
50400 cat confdefs.h >>conftest.$ac_ext
50401 cat >>conftest.$ac_ext <<_ACEOF
50402 /* end confdefs.h. */
50403 #include <math.h>
50405 main ()
50407 __builtin_sqrtl(0);
50409 return 0;
50411 _ACEOF
50412 rm -f conftest.$ac_objext
50413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50414 (eval $ac_compile) 2>conftest.er1
50415 ac_status=$?
50416 grep -v '^ *+' conftest.er1 >conftest.err
50417 rm -f conftest.er1
50418 cat conftest.err >&5
50419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50420 (exit $ac_status); } &&
50421 { ac_try='test -z "$ac_cxx_werror_flag"
50422 || test ! -s conftest.err'
50423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50424 (eval $ac_try) 2>&5
50425 ac_status=$?
50426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50427 (exit $ac_status); }; } &&
50428 { ac_try='test -s conftest.$ac_objext'
50429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50430 (eval $ac_try) 2>&5
50431 ac_status=$?
50432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50433 (exit $ac_status); }; }; then
50434 glibcxx_cv_func___builtin_sqrtl_use=yes
50435 else
50436 echo "$as_me: failed program was:" >&5
50437 sed 's/^/| /' conftest.$ac_ext >&5
50439 glibcxx_cv_func___builtin_sqrtl_use=no
50441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50442 ac_ext=c
50443 ac_cpp='$CPP $CPPFLAGS'
50444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50452 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
50453 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
50454 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
50455 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
50456 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
50457 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
50458 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
50459 echo $ECHO_N "(cached) $ECHO_C" >&6
50460 else
50462 if test x$gcc_no_link = xyes; then
50463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50465 { (exit 1); exit 1; }; }
50467 cat >conftest.$ac_ext <<_ACEOF
50468 /* confdefs.h. */
50469 _ACEOF
50470 cat confdefs.h >>conftest.$ac_ext
50471 cat >>conftest.$ac_ext <<_ACEOF
50472 /* end confdefs.h. */
50473 #include <math.h>
50475 main ()
50477 __builtin_sqrtl(0);
50479 return 0;
50481 _ACEOF
50482 rm -f conftest.$ac_objext conftest$ac_exeext
50483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50484 (eval $ac_link) 2>conftest.er1
50485 ac_status=$?
50486 grep -v '^ *+' conftest.er1 >conftest.err
50487 rm -f conftest.er1
50488 cat conftest.err >&5
50489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50490 (exit $ac_status); } &&
50491 { ac_try='test -z "$ac_c_werror_flag"
50492 || test ! -s conftest.err'
50493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50494 (eval $ac_try) 2>&5
50495 ac_status=$?
50496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50497 (exit $ac_status); }; } &&
50498 { ac_try='test -s conftest$ac_exeext'
50499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50500 (eval $ac_try) 2>&5
50501 ac_status=$?
50502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50503 (exit $ac_status); }; }; then
50504 glibcxx_cv_func___builtin_sqrtl_link=yes
50505 else
50506 echo "$as_me: failed program was:" >&5
50507 sed 's/^/| /' conftest.$ac_ext >&5
50509 glibcxx_cv_func___builtin_sqrtl_link=no
50511 rm -f conftest.err conftest.$ac_objext \
50512 conftest$ac_exeext conftest.$ac_ext
50517 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
50518 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
50520 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
50522 cat >>confdefs.h <<\_ACEOF
50523 #define HAVE___BUILTIN_SQRTL 1
50524 _ACEOF
50532 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
50533 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
50534 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
50535 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
50536 echo $ECHO_N "(cached) $ECHO_C" >&6
50537 else
50541 ac_ext=cc
50542 ac_cpp='$CXXCPP $CPPFLAGS'
50543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50547 cat >conftest.$ac_ext <<_ACEOF
50548 /* confdefs.h. */
50549 _ACEOF
50550 cat confdefs.h >>conftest.$ac_ext
50551 cat >>conftest.$ac_ext <<_ACEOF
50552 /* end confdefs.h. */
50553 #include <math.h>
50555 main ()
50557 __builtin_sinf(0);
50559 return 0;
50561 _ACEOF
50562 rm -f conftest.$ac_objext
50563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50564 (eval $ac_compile) 2>conftest.er1
50565 ac_status=$?
50566 grep -v '^ *+' conftest.er1 >conftest.err
50567 rm -f conftest.er1
50568 cat conftest.err >&5
50569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50570 (exit $ac_status); } &&
50571 { ac_try='test -z "$ac_cxx_werror_flag"
50572 || test ! -s conftest.err'
50573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50574 (eval $ac_try) 2>&5
50575 ac_status=$?
50576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50577 (exit $ac_status); }; } &&
50578 { ac_try='test -s conftest.$ac_objext'
50579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50580 (eval $ac_try) 2>&5
50581 ac_status=$?
50582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50583 (exit $ac_status); }; }; then
50584 glibcxx_cv_func___builtin_sinf_use=yes
50585 else
50586 echo "$as_me: failed program was:" >&5
50587 sed 's/^/| /' conftest.$ac_ext >&5
50589 glibcxx_cv_func___builtin_sinf_use=no
50591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50592 ac_ext=c
50593 ac_cpp='$CPP $CPPFLAGS'
50594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50602 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
50603 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
50604 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
50605 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
50606 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
50607 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
50608 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
50609 echo $ECHO_N "(cached) $ECHO_C" >&6
50610 else
50612 if test x$gcc_no_link = xyes; then
50613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50615 { (exit 1); exit 1; }; }
50617 cat >conftest.$ac_ext <<_ACEOF
50618 /* confdefs.h. */
50619 _ACEOF
50620 cat confdefs.h >>conftest.$ac_ext
50621 cat >>conftest.$ac_ext <<_ACEOF
50622 /* end confdefs.h. */
50623 #include <math.h>
50625 main ()
50627 __builtin_sinf(0);
50629 return 0;
50631 _ACEOF
50632 rm -f conftest.$ac_objext conftest$ac_exeext
50633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50634 (eval $ac_link) 2>conftest.er1
50635 ac_status=$?
50636 grep -v '^ *+' conftest.er1 >conftest.err
50637 rm -f conftest.er1
50638 cat conftest.err >&5
50639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50640 (exit $ac_status); } &&
50641 { ac_try='test -z "$ac_c_werror_flag"
50642 || test ! -s conftest.err'
50643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50644 (eval $ac_try) 2>&5
50645 ac_status=$?
50646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50647 (exit $ac_status); }; } &&
50648 { ac_try='test -s conftest$ac_exeext'
50649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50650 (eval $ac_try) 2>&5
50651 ac_status=$?
50652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50653 (exit $ac_status); }; }; then
50654 glibcxx_cv_func___builtin_sinf_link=yes
50655 else
50656 echo "$as_me: failed program was:" >&5
50657 sed 's/^/| /' conftest.$ac_ext >&5
50659 glibcxx_cv_func___builtin_sinf_link=no
50661 rm -f conftest.err conftest.$ac_objext \
50662 conftest$ac_exeext conftest.$ac_ext
50667 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
50668 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
50670 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
50672 cat >>confdefs.h <<\_ACEOF
50673 #define HAVE___BUILTIN_SINF 1
50674 _ACEOF
50681 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
50682 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
50683 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
50684 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
50685 echo $ECHO_N "(cached) $ECHO_C" >&6
50686 else
50690 ac_ext=cc
50691 ac_cpp='$CXXCPP $CPPFLAGS'
50692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50696 cat >conftest.$ac_ext <<_ACEOF
50697 /* confdefs.h. */
50698 _ACEOF
50699 cat confdefs.h >>conftest.$ac_ext
50700 cat >>conftest.$ac_ext <<_ACEOF
50701 /* end confdefs.h. */
50702 #include <math.h>
50704 main ()
50706 __builtin_sin(0);
50708 return 0;
50710 _ACEOF
50711 rm -f conftest.$ac_objext
50712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50713 (eval $ac_compile) 2>conftest.er1
50714 ac_status=$?
50715 grep -v '^ *+' conftest.er1 >conftest.err
50716 rm -f conftest.er1
50717 cat conftest.err >&5
50718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50719 (exit $ac_status); } &&
50720 { ac_try='test -z "$ac_cxx_werror_flag"
50721 || test ! -s conftest.err'
50722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50723 (eval $ac_try) 2>&5
50724 ac_status=$?
50725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50726 (exit $ac_status); }; } &&
50727 { ac_try='test -s conftest.$ac_objext'
50728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50729 (eval $ac_try) 2>&5
50730 ac_status=$?
50731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50732 (exit $ac_status); }; }; then
50733 glibcxx_cv_func___builtin_sin_use=yes
50734 else
50735 echo "$as_me: failed program was:" >&5
50736 sed 's/^/| /' conftest.$ac_ext >&5
50738 glibcxx_cv_func___builtin_sin_use=no
50740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50741 ac_ext=c
50742 ac_cpp='$CPP $CPPFLAGS'
50743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50751 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
50752 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
50753 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
50754 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
50755 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
50756 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
50757 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
50758 echo $ECHO_N "(cached) $ECHO_C" >&6
50759 else
50761 if test x$gcc_no_link = xyes; then
50762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50764 { (exit 1); exit 1; }; }
50766 cat >conftest.$ac_ext <<_ACEOF
50767 /* confdefs.h. */
50768 _ACEOF
50769 cat confdefs.h >>conftest.$ac_ext
50770 cat >>conftest.$ac_ext <<_ACEOF
50771 /* end confdefs.h. */
50772 #include <math.h>
50774 main ()
50776 __builtin_sin(0);
50778 return 0;
50780 _ACEOF
50781 rm -f conftest.$ac_objext conftest$ac_exeext
50782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50783 (eval $ac_link) 2>conftest.er1
50784 ac_status=$?
50785 grep -v '^ *+' conftest.er1 >conftest.err
50786 rm -f conftest.er1
50787 cat conftest.err >&5
50788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50789 (exit $ac_status); } &&
50790 { ac_try='test -z "$ac_c_werror_flag"
50791 || test ! -s conftest.err'
50792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50793 (eval $ac_try) 2>&5
50794 ac_status=$?
50795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50796 (exit $ac_status); }; } &&
50797 { ac_try='test -s conftest$ac_exeext'
50798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50799 (eval $ac_try) 2>&5
50800 ac_status=$?
50801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50802 (exit $ac_status); }; }; then
50803 glibcxx_cv_func___builtin_sin_link=yes
50804 else
50805 echo "$as_me: failed program was:" >&5
50806 sed 's/^/| /' conftest.$ac_ext >&5
50808 glibcxx_cv_func___builtin_sin_link=no
50810 rm -f conftest.err conftest.$ac_objext \
50811 conftest$ac_exeext conftest.$ac_ext
50816 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
50817 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
50819 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
50821 cat >>confdefs.h <<\_ACEOF
50822 #define HAVE___BUILTIN_SIN 1
50823 _ACEOF
50830 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
50831 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
50832 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
50833 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
50834 echo $ECHO_N "(cached) $ECHO_C" >&6
50835 else
50839 ac_ext=cc
50840 ac_cpp='$CXXCPP $CPPFLAGS'
50841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50845 cat >conftest.$ac_ext <<_ACEOF
50846 /* confdefs.h. */
50847 _ACEOF
50848 cat confdefs.h >>conftest.$ac_ext
50849 cat >>conftest.$ac_ext <<_ACEOF
50850 /* end confdefs.h. */
50851 #include <math.h>
50853 main ()
50855 __builtin_sinl(0);
50857 return 0;
50859 _ACEOF
50860 rm -f conftest.$ac_objext
50861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50862 (eval $ac_compile) 2>conftest.er1
50863 ac_status=$?
50864 grep -v '^ *+' conftest.er1 >conftest.err
50865 rm -f conftest.er1
50866 cat conftest.err >&5
50867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50868 (exit $ac_status); } &&
50869 { ac_try='test -z "$ac_cxx_werror_flag"
50870 || test ! -s conftest.err'
50871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50872 (eval $ac_try) 2>&5
50873 ac_status=$?
50874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50875 (exit $ac_status); }; } &&
50876 { ac_try='test -s conftest.$ac_objext'
50877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50878 (eval $ac_try) 2>&5
50879 ac_status=$?
50880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50881 (exit $ac_status); }; }; then
50882 glibcxx_cv_func___builtin_sinl_use=yes
50883 else
50884 echo "$as_me: failed program was:" >&5
50885 sed 's/^/| /' conftest.$ac_ext >&5
50887 glibcxx_cv_func___builtin_sinl_use=no
50889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50890 ac_ext=c
50891 ac_cpp='$CPP $CPPFLAGS'
50892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50900 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
50901 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
50902 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
50903 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
50904 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
50905 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
50906 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
50907 echo $ECHO_N "(cached) $ECHO_C" >&6
50908 else
50910 if test x$gcc_no_link = xyes; then
50911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50913 { (exit 1); exit 1; }; }
50915 cat >conftest.$ac_ext <<_ACEOF
50916 /* confdefs.h. */
50917 _ACEOF
50918 cat confdefs.h >>conftest.$ac_ext
50919 cat >>conftest.$ac_ext <<_ACEOF
50920 /* end confdefs.h. */
50921 #include <math.h>
50923 main ()
50925 __builtin_sinl(0);
50927 return 0;
50929 _ACEOF
50930 rm -f conftest.$ac_objext conftest$ac_exeext
50931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50932 (eval $ac_link) 2>conftest.er1
50933 ac_status=$?
50934 grep -v '^ *+' conftest.er1 >conftest.err
50935 rm -f conftest.er1
50936 cat conftest.err >&5
50937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50938 (exit $ac_status); } &&
50939 { ac_try='test -z "$ac_c_werror_flag"
50940 || test ! -s conftest.err'
50941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50942 (eval $ac_try) 2>&5
50943 ac_status=$?
50944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50945 (exit $ac_status); }; } &&
50946 { ac_try='test -s conftest$ac_exeext'
50947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50948 (eval $ac_try) 2>&5
50949 ac_status=$?
50950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50951 (exit $ac_status); }; }; then
50952 glibcxx_cv_func___builtin_sinl_link=yes
50953 else
50954 echo "$as_me: failed program was:" >&5
50955 sed 's/^/| /' conftest.$ac_ext >&5
50957 glibcxx_cv_func___builtin_sinl_link=no
50959 rm -f conftest.err conftest.$ac_objext \
50960 conftest$ac_exeext conftest.$ac_ext
50965 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50966 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50968 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50970 cat >>confdefs.h <<\_ACEOF
50971 #define HAVE___BUILTIN_SINL 1
50972 _ACEOF
50980 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50981 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50982 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50983 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50984 echo $ECHO_N "(cached) $ECHO_C" >&6
50985 else
50989 ac_ext=cc
50990 ac_cpp='$CXXCPP $CPPFLAGS'
50991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50995 cat >conftest.$ac_ext <<_ACEOF
50996 /* confdefs.h. */
50997 _ACEOF
50998 cat confdefs.h >>conftest.$ac_ext
50999 cat >>conftest.$ac_ext <<_ACEOF
51000 /* end confdefs.h. */
51001 #include <math.h>
51003 main ()
51005 __builtin_cosf(0);
51007 return 0;
51009 _ACEOF
51010 rm -f conftest.$ac_objext
51011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51012 (eval $ac_compile) 2>conftest.er1
51013 ac_status=$?
51014 grep -v '^ *+' conftest.er1 >conftest.err
51015 rm -f conftest.er1
51016 cat conftest.err >&5
51017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51018 (exit $ac_status); } &&
51019 { ac_try='test -z "$ac_cxx_werror_flag"
51020 || test ! -s conftest.err'
51021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51022 (eval $ac_try) 2>&5
51023 ac_status=$?
51024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51025 (exit $ac_status); }; } &&
51026 { ac_try='test -s conftest.$ac_objext'
51027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51028 (eval $ac_try) 2>&5
51029 ac_status=$?
51030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51031 (exit $ac_status); }; }; then
51032 glibcxx_cv_func___builtin_cosf_use=yes
51033 else
51034 echo "$as_me: failed program was:" >&5
51035 sed 's/^/| /' conftest.$ac_ext >&5
51037 glibcxx_cv_func___builtin_cosf_use=no
51039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51040 ac_ext=c
51041 ac_cpp='$CPP $CPPFLAGS'
51042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51050 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51051 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51052 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51053 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51054 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51055 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51056 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51057 echo $ECHO_N "(cached) $ECHO_C" >&6
51058 else
51060 if test x$gcc_no_link = xyes; then
51061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51063 { (exit 1); exit 1; }; }
51065 cat >conftest.$ac_ext <<_ACEOF
51066 /* confdefs.h. */
51067 _ACEOF
51068 cat confdefs.h >>conftest.$ac_ext
51069 cat >>conftest.$ac_ext <<_ACEOF
51070 /* end confdefs.h. */
51071 #include <math.h>
51073 main ()
51075 __builtin_cosf(0);
51077 return 0;
51079 _ACEOF
51080 rm -f conftest.$ac_objext conftest$ac_exeext
51081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51082 (eval $ac_link) 2>conftest.er1
51083 ac_status=$?
51084 grep -v '^ *+' conftest.er1 >conftest.err
51085 rm -f conftest.er1
51086 cat conftest.err >&5
51087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51088 (exit $ac_status); } &&
51089 { ac_try='test -z "$ac_c_werror_flag"
51090 || test ! -s conftest.err'
51091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51092 (eval $ac_try) 2>&5
51093 ac_status=$?
51094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51095 (exit $ac_status); }; } &&
51096 { ac_try='test -s conftest$ac_exeext'
51097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51098 (eval $ac_try) 2>&5
51099 ac_status=$?
51100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51101 (exit $ac_status); }; }; then
51102 glibcxx_cv_func___builtin_cosf_link=yes
51103 else
51104 echo "$as_me: failed program was:" >&5
51105 sed 's/^/| /' conftest.$ac_ext >&5
51107 glibcxx_cv_func___builtin_cosf_link=no
51109 rm -f conftest.err conftest.$ac_objext \
51110 conftest$ac_exeext conftest.$ac_ext
51115 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51116 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51118 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51120 cat >>confdefs.h <<\_ACEOF
51121 #define HAVE___BUILTIN_COSF 1
51122 _ACEOF
51129 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51130 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51131 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51132 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51133 echo $ECHO_N "(cached) $ECHO_C" >&6
51134 else
51138 ac_ext=cc
51139 ac_cpp='$CXXCPP $CPPFLAGS'
51140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51144 cat >conftest.$ac_ext <<_ACEOF
51145 /* confdefs.h. */
51146 _ACEOF
51147 cat confdefs.h >>conftest.$ac_ext
51148 cat >>conftest.$ac_ext <<_ACEOF
51149 /* end confdefs.h. */
51150 #include <math.h>
51152 main ()
51154 __builtin_cos(0);
51156 return 0;
51158 _ACEOF
51159 rm -f conftest.$ac_objext
51160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51161 (eval $ac_compile) 2>conftest.er1
51162 ac_status=$?
51163 grep -v '^ *+' conftest.er1 >conftest.err
51164 rm -f conftest.er1
51165 cat conftest.err >&5
51166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51167 (exit $ac_status); } &&
51168 { ac_try='test -z "$ac_cxx_werror_flag"
51169 || test ! -s conftest.err'
51170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51171 (eval $ac_try) 2>&5
51172 ac_status=$?
51173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51174 (exit $ac_status); }; } &&
51175 { ac_try='test -s conftest.$ac_objext'
51176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51177 (eval $ac_try) 2>&5
51178 ac_status=$?
51179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51180 (exit $ac_status); }; }; then
51181 glibcxx_cv_func___builtin_cos_use=yes
51182 else
51183 echo "$as_me: failed program was:" >&5
51184 sed 's/^/| /' conftest.$ac_ext >&5
51186 glibcxx_cv_func___builtin_cos_use=no
51188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51189 ac_ext=c
51190 ac_cpp='$CPP $CPPFLAGS'
51191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51199 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51200 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51201 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51202 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51203 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51204 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51205 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51206 echo $ECHO_N "(cached) $ECHO_C" >&6
51207 else
51209 if test x$gcc_no_link = xyes; then
51210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51212 { (exit 1); exit 1; }; }
51214 cat >conftest.$ac_ext <<_ACEOF
51215 /* confdefs.h. */
51216 _ACEOF
51217 cat confdefs.h >>conftest.$ac_ext
51218 cat >>conftest.$ac_ext <<_ACEOF
51219 /* end confdefs.h. */
51220 #include <math.h>
51222 main ()
51224 __builtin_cos(0);
51226 return 0;
51228 _ACEOF
51229 rm -f conftest.$ac_objext conftest$ac_exeext
51230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51231 (eval $ac_link) 2>conftest.er1
51232 ac_status=$?
51233 grep -v '^ *+' conftest.er1 >conftest.err
51234 rm -f conftest.er1
51235 cat conftest.err >&5
51236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51237 (exit $ac_status); } &&
51238 { ac_try='test -z "$ac_c_werror_flag"
51239 || test ! -s conftest.err'
51240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51241 (eval $ac_try) 2>&5
51242 ac_status=$?
51243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51244 (exit $ac_status); }; } &&
51245 { ac_try='test -s conftest$ac_exeext'
51246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51247 (eval $ac_try) 2>&5
51248 ac_status=$?
51249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51250 (exit $ac_status); }; }; then
51251 glibcxx_cv_func___builtin_cos_link=yes
51252 else
51253 echo "$as_me: failed program was:" >&5
51254 sed 's/^/| /' conftest.$ac_ext >&5
51256 glibcxx_cv_func___builtin_cos_link=no
51258 rm -f conftest.err conftest.$ac_objext \
51259 conftest$ac_exeext conftest.$ac_ext
51264 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
51265 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
51267 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
51269 cat >>confdefs.h <<\_ACEOF
51270 #define HAVE___BUILTIN_COS 1
51271 _ACEOF
51278 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
51279 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
51280 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
51281 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
51282 echo $ECHO_N "(cached) $ECHO_C" >&6
51283 else
51287 ac_ext=cc
51288 ac_cpp='$CXXCPP $CPPFLAGS'
51289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51293 cat >conftest.$ac_ext <<_ACEOF
51294 /* confdefs.h. */
51295 _ACEOF
51296 cat confdefs.h >>conftest.$ac_ext
51297 cat >>conftest.$ac_ext <<_ACEOF
51298 /* end confdefs.h. */
51299 #include <math.h>
51301 main ()
51303 __builtin_cosl(0);
51305 return 0;
51307 _ACEOF
51308 rm -f conftest.$ac_objext
51309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51310 (eval $ac_compile) 2>conftest.er1
51311 ac_status=$?
51312 grep -v '^ *+' conftest.er1 >conftest.err
51313 rm -f conftest.er1
51314 cat conftest.err >&5
51315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51316 (exit $ac_status); } &&
51317 { ac_try='test -z "$ac_cxx_werror_flag"
51318 || test ! -s conftest.err'
51319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51320 (eval $ac_try) 2>&5
51321 ac_status=$?
51322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51323 (exit $ac_status); }; } &&
51324 { ac_try='test -s conftest.$ac_objext'
51325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51326 (eval $ac_try) 2>&5
51327 ac_status=$?
51328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51329 (exit $ac_status); }; }; then
51330 glibcxx_cv_func___builtin_cosl_use=yes
51331 else
51332 echo "$as_me: failed program was:" >&5
51333 sed 's/^/| /' conftest.$ac_ext >&5
51335 glibcxx_cv_func___builtin_cosl_use=no
51337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51338 ac_ext=c
51339 ac_cpp='$CPP $CPPFLAGS'
51340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51348 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
51349 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
51350 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
51351 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
51352 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
51353 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
51354 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
51355 echo $ECHO_N "(cached) $ECHO_C" >&6
51356 else
51358 if test x$gcc_no_link = xyes; then
51359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51361 { (exit 1); exit 1; }; }
51363 cat >conftest.$ac_ext <<_ACEOF
51364 /* confdefs.h. */
51365 _ACEOF
51366 cat confdefs.h >>conftest.$ac_ext
51367 cat >>conftest.$ac_ext <<_ACEOF
51368 /* end confdefs.h. */
51369 #include <math.h>
51371 main ()
51373 __builtin_cosl(0);
51375 return 0;
51377 _ACEOF
51378 rm -f conftest.$ac_objext conftest$ac_exeext
51379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51380 (eval $ac_link) 2>conftest.er1
51381 ac_status=$?
51382 grep -v '^ *+' conftest.er1 >conftest.err
51383 rm -f conftest.er1
51384 cat conftest.err >&5
51385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51386 (exit $ac_status); } &&
51387 { ac_try='test -z "$ac_c_werror_flag"
51388 || test ! -s conftest.err'
51389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51390 (eval $ac_try) 2>&5
51391 ac_status=$?
51392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51393 (exit $ac_status); }; } &&
51394 { ac_try='test -s conftest$ac_exeext'
51395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51396 (eval $ac_try) 2>&5
51397 ac_status=$?
51398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51399 (exit $ac_status); }; }; then
51400 glibcxx_cv_func___builtin_cosl_link=yes
51401 else
51402 echo "$as_me: failed program was:" >&5
51403 sed 's/^/| /' conftest.$ac_ext >&5
51405 glibcxx_cv_func___builtin_cosl_link=no
51407 rm -f conftest.err conftest.$ac_objext \
51408 conftest$ac_exeext conftest.$ac_ext
51413 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
51414 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
51416 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
51418 cat >>confdefs.h <<\_ACEOF
51419 #define HAVE___BUILTIN_COSL 1
51420 _ACEOF
51429 echo "$as_me:$LINENO: checking for main in -lm" >&5
51430 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51431 if test "${ac_cv_lib_m_main+set}" = set; then
51432 echo $ECHO_N "(cached) $ECHO_C" >&6
51433 else
51434 ac_check_lib_save_LIBS=$LIBS
51435 LIBS="-lm $LIBS"
51436 if test x$gcc_no_link = xyes; then
51437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51439 { (exit 1); exit 1; }; }
51441 cat >conftest.$ac_ext <<_ACEOF
51442 /* confdefs.h. */
51443 _ACEOF
51444 cat confdefs.h >>conftest.$ac_ext
51445 cat >>conftest.$ac_ext <<_ACEOF
51446 /* end confdefs.h. */
51450 main ()
51452 main ();
51454 return 0;
51456 _ACEOF
51457 rm -f conftest.$ac_objext conftest$ac_exeext
51458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51459 (eval $ac_link) 2>conftest.er1
51460 ac_status=$?
51461 grep -v '^ *+' conftest.er1 >conftest.err
51462 rm -f conftest.er1
51463 cat conftest.err >&5
51464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51465 (exit $ac_status); } &&
51466 { ac_try='test -z "$ac_c_werror_flag"
51467 || test ! -s conftest.err'
51468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51469 (eval $ac_try) 2>&5
51470 ac_status=$?
51471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51472 (exit $ac_status); }; } &&
51473 { ac_try='test -s conftest$ac_exeext'
51474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51475 (eval $ac_try) 2>&5
51476 ac_status=$?
51477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51478 (exit $ac_status); }; }; then
51479 ac_cv_lib_m_main=yes
51480 else
51481 echo "$as_me: failed program was:" >&5
51482 sed 's/^/| /' conftest.$ac_ext >&5
51484 ac_cv_lib_m_main=no
51486 rm -f conftest.err conftest.$ac_objext \
51487 conftest$ac_exeext conftest.$ac_ext
51488 LIBS=$ac_check_lib_save_LIBS
51490 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51491 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51492 if test $ac_cv_lib_m_main = yes; then
51493 cat >>confdefs.h <<_ACEOF
51494 #define HAVE_LIBM 1
51495 _ACEOF
51497 LIBS="-lm $LIBS"
51502 for ac_func in copysignf
51504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51505 echo "$as_me:$LINENO: checking for $ac_func" >&5
51506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51507 if eval "test \"\${$as_ac_var+set}\" = set"; then
51508 echo $ECHO_N "(cached) $ECHO_C" >&6
51509 else
51510 if test x$gcc_no_link = xyes; then
51511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51513 { (exit 1); exit 1; }; }
51515 cat >conftest.$ac_ext <<_ACEOF
51516 /* confdefs.h. */
51517 _ACEOF
51518 cat confdefs.h >>conftest.$ac_ext
51519 cat >>conftest.$ac_ext <<_ACEOF
51520 /* end confdefs.h. */
51521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51523 #define $ac_func innocuous_$ac_func
51525 /* System header to define __stub macros and hopefully few prototypes,
51526 which can conflict with char $ac_func (); below.
51527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51528 <limits.h> exists even on freestanding compilers. */
51530 #ifdef __STDC__
51531 # include <limits.h>
51532 #else
51533 # include <assert.h>
51534 #endif
51536 #undef $ac_func
51538 /* Override any gcc2 internal prototype to avoid an error. */
51539 #ifdef __cplusplus
51540 extern "C"
51542 #endif
51543 /* We use char because int might match the return type of a gcc2
51544 builtin and then its argument prototype would still apply. */
51545 char $ac_func ();
51546 /* The GNU C library defines this for functions which it implements
51547 to always fail with ENOSYS. Some functions are actually named
51548 something starting with __ and the normal name is an alias. */
51549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51550 choke me
51551 #else
51552 char (*f) () = $ac_func;
51553 #endif
51554 #ifdef __cplusplus
51556 #endif
51559 main ()
51561 return f != $ac_func;
51563 return 0;
51565 _ACEOF
51566 rm -f conftest.$ac_objext conftest$ac_exeext
51567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51568 (eval $ac_link) 2>conftest.er1
51569 ac_status=$?
51570 grep -v '^ *+' conftest.er1 >conftest.err
51571 rm -f conftest.er1
51572 cat conftest.err >&5
51573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51574 (exit $ac_status); } &&
51575 { ac_try='test -z "$ac_c_werror_flag"
51576 || test ! -s conftest.err'
51577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51578 (eval $ac_try) 2>&5
51579 ac_status=$?
51580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51581 (exit $ac_status); }; } &&
51582 { ac_try='test -s conftest$ac_exeext'
51583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51584 (eval $ac_try) 2>&5
51585 ac_status=$?
51586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51587 (exit $ac_status); }; }; then
51588 eval "$as_ac_var=yes"
51589 else
51590 echo "$as_me: failed program was:" >&5
51591 sed 's/^/| /' conftest.$ac_ext >&5
51593 eval "$as_ac_var=no"
51595 rm -f conftest.err conftest.$ac_objext \
51596 conftest$ac_exeext conftest.$ac_ext
51598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51600 if test `eval echo '${'$as_ac_var'}'` = yes; then
51601 cat >>confdefs.h <<_ACEOF
51602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51603 _ACEOF
51605 else
51606 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
51608 done
51612 for ac_func in __signbit
51614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51615 echo "$as_me:$LINENO: checking for $ac_func" >&5
51616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51617 if eval "test \"\${$as_ac_var+set}\" = set"; then
51618 echo $ECHO_N "(cached) $ECHO_C" >&6
51619 else
51620 if test x$gcc_no_link = xyes; then
51621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51623 { (exit 1); exit 1; }; }
51625 cat >conftest.$ac_ext <<_ACEOF
51626 /* confdefs.h. */
51627 _ACEOF
51628 cat confdefs.h >>conftest.$ac_ext
51629 cat >>conftest.$ac_ext <<_ACEOF
51630 /* end confdefs.h. */
51631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51633 #define $ac_func innocuous_$ac_func
51635 /* System header to define __stub macros and hopefully few prototypes,
51636 which can conflict with char $ac_func (); below.
51637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51638 <limits.h> exists even on freestanding compilers. */
51640 #ifdef __STDC__
51641 # include <limits.h>
51642 #else
51643 # include <assert.h>
51644 #endif
51646 #undef $ac_func
51648 /* Override any gcc2 internal prototype to avoid an error. */
51649 #ifdef __cplusplus
51650 extern "C"
51652 #endif
51653 /* We use char because int might match the return type of a gcc2
51654 builtin and then its argument prototype would still apply. */
51655 char $ac_func ();
51656 /* The GNU C library defines this for functions which it implements
51657 to always fail with ENOSYS. Some functions are actually named
51658 something starting with __ and the normal name is an alias. */
51659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51660 choke me
51661 #else
51662 char (*f) () = $ac_func;
51663 #endif
51664 #ifdef __cplusplus
51666 #endif
51669 main ()
51671 return f != $ac_func;
51673 return 0;
51675 _ACEOF
51676 rm -f conftest.$ac_objext conftest$ac_exeext
51677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51678 (eval $ac_link) 2>conftest.er1
51679 ac_status=$?
51680 grep -v '^ *+' conftest.er1 >conftest.err
51681 rm -f conftest.er1
51682 cat conftest.err >&5
51683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51684 (exit $ac_status); } &&
51685 { ac_try='test -z "$ac_c_werror_flag"
51686 || test ! -s conftest.err'
51687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51688 (eval $ac_try) 2>&5
51689 ac_status=$?
51690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51691 (exit $ac_status); }; } &&
51692 { ac_try='test -s conftest$ac_exeext'
51693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51694 (eval $ac_try) 2>&5
51695 ac_status=$?
51696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51697 (exit $ac_status); }; }; then
51698 eval "$as_ac_var=yes"
51699 else
51700 echo "$as_me: failed program was:" >&5
51701 sed 's/^/| /' conftest.$ac_ext >&5
51703 eval "$as_ac_var=no"
51705 rm -f conftest.err conftest.$ac_objext \
51706 conftest$ac_exeext conftest.$ac_ext
51708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51710 if test `eval echo '${'$as_ac_var'}'` = yes; then
51711 cat >>confdefs.h <<_ACEOF
51712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51713 _ACEOF
51715 else
51716 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
51718 done
51722 for ac_func in __signbitf
51724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51725 echo "$as_me:$LINENO: checking for $ac_func" >&5
51726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51727 if eval "test \"\${$as_ac_var+set}\" = set"; then
51728 echo $ECHO_N "(cached) $ECHO_C" >&6
51729 else
51730 if test x$gcc_no_link = xyes; then
51731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51733 { (exit 1); exit 1; }; }
51735 cat >conftest.$ac_ext <<_ACEOF
51736 /* confdefs.h. */
51737 _ACEOF
51738 cat confdefs.h >>conftest.$ac_ext
51739 cat >>conftest.$ac_ext <<_ACEOF
51740 /* end confdefs.h. */
51741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51743 #define $ac_func innocuous_$ac_func
51745 /* System header to define __stub macros and hopefully few prototypes,
51746 which can conflict with char $ac_func (); below.
51747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51748 <limits.h> exists even on freestanding compilers. */
51750 #ifdef __STDC__
51751 # include <limits.h>
51752 #else
51753 # include <assert.h>
51754 #endif
51756 #undef $ac_func
51758 /* Override any gcc2 internal prototype to avoid an error. */
51759 #ifdef __cplusplus
51760 extern "C"
51762 #endif
51763 /* We use char because int might match the return type of a gcc2
51764 builtin and then its argument prototype would still apply. */
51765 char $ac_func ();
51766 /* The GNU C library defines this for functions which it implements
51767 to always fail with ENOSYS. Some functions are actually named
51768 something starting with __ and the normal name is an alias. */
51769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51770 choke me
51771 #else
51772 char (*f) () = $ac_func;
51773 #endif
51774 #ifdef __cplusplus
51776 #endif
51779 main ()
51781 return f != $ac_func;
51783 return 0;
51785 _ACEOF
51786 rm -f conftest.$ac_objext conftest$ac_exeext
51787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51788 (eval $ac_link) 2>conftest.er1
51789 ac_status=$?
51790 grep -v '^ *+' conftest.er1 >conftest.err
51791 rm -f conftest.er1
51792 cat conftest.err >&5
51793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51794 (exit $ac_status); } &&
51795 { ac_try='test -z "$ac_c_werror_flag"
51796 || test ! -s conftest.err'
51797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51798 (eval $ac_try) 2>&5
51799 ac_status=$?
51800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51801 (exit $ac_status); }; } &&
51802 { ac_try='test -s conftest$ac_exeext'
51803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51804 (eval $ac_try) 2>&5
51805 ac_status=$?
51806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51807 (exit $ac_status); }; }; then
51808 eval "$as_ac_var=yes"
51809 else
51810 echo "$as_me: failed program was:" >&5
51811 sed 's/^/| /' conftest.$ac_ext >&5
51813 eval "$as_ac_var=no"
51815 rm -f conftest.err conftest.$ac_objext \
51816 conftest$ac_exeext conftest.$ac_ext
51818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51820 if test `eval echo '${'$as_ac_var'}'` = yes; then
51821 cat >>confdefs.h <<_ACEOF
51822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51823 _ACEOF
51825 else
51826 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51828 done
51831 if test x$ac_cv_func_copysignl = x"yes"; then
51833 for ac_func in __signbitl
51835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51836 echo "$as_me:$LINENO: checking for $ac_func" >&5
51837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51838 if eval "test \"\${$as_ac_var+set}\" = set"; then
51839 echo $ECHO_N "(cached) $ECHO_C" >&6
51840 else
51841 if test x$gcc_no_link = xyes; then
51842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51844 { (exit 1); exit 1; }; }
51846 cat >conftest.$ac_ext <<_ACEOF
51847 /* confdefs.h. */
51848 _ACEOF
51849 cat confdefs.h >>conftest.$ac_ext
51850 cat >>conftest.$ac_ext <<_ACEOF
51851 /* end confdefs.h. */
51852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51854 #define $ac_func innocuous_$ac_func
51856 /* System header to define __stub macros and hopefully few prototypes,
51857 which can conflict with char $ac_func (); below.
51858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51859 <limits.h> exists even on freestanding compilers. */
51861 #ifdef __STDC__
51862 # include <limits.h>
51863 #else
51864 # include <assert.h>
51865 #endif
51867 #undef $ac_func
51869 /* Override any gcc2 internal prototype to avoid an error. */
51870 #ifdef __cplusplus
51871 extern "C"
51873 #endif
51874 /* We use char because int might match the return type of a gcc2
51875 builtin and then its argument prototype would still apply. */
51876 char $ac_func ();
51877 /* The GNU C library defines this for functions which it implements
51878 to always fail with ENOSYS. Some functions are actually named
51879 something starting with __ and the normal name is an alias. */
51880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51881 choke me
51882 #else
51883 char (*f) () = $ac_func;
51884 #endif
51885 #ifdef __cplusplus
51887 #endif
51890 main ()
51892 return f != $ac_func;
51894 return 0;
51896 _ACEOF
51897 rm -f conftest.$ac_objext conftest$ac_exeext
51898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51899 (eval $ac_link) 2>conftest.er1
51900 ac_status=$?
51901 grep -v '^ *+' conftest.er1 >conftest.err
51902 rm -f conftest.er1
51903 cat conftest.err >&5
51904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51905 (exit $ac_status); } &&
51906 { ac_try='test -z "$ac_c_werror_flag"
51907 || test ! -s conftest.err'
51908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51909 (eval $ac_try) 2>&5
51910 ac_status=$?
51911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51912 (exit $ac_status); }; } &&
51913 { ac_try='test -s conftest$ac_exeext'
51914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51915 (eval $ac_try) 2>&5
51916 ac_status=$?
51917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51918 (exit $ac_status); }; }; then
51919 eval "$as_ac_var=yes"
51920 else
51921 echo "$as_me: failed program was:" >&5
51922 sed 's/^/| /' conftest.$ac_ext >&5
51924 eval "$as_ac_var=no"
51926 rm -f conftest.err conftest.$ac_objext \
51927 conftest$ac_exeext conftest.$ac_ext
51929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51931 if test `eval echo '${'$as_ac_var'}'` = yes; then
51932 cat >>confdefs.h <<_ACEOF
51933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51934 _ACEOF
51936 else
51937 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51939 done
51943 # Used in libmath/Makefile.am.
51944 if test -n "$LIBMATHOBJS"; then
51945 need_libmath=yes
51951 enable_iconv=no
51952 # Only continue checking if the ISO C99 headers exist and support is on.
51953 if test x"$enable_wchar_t" = xyes; then
51955 # Use iconv for wchar_t to char conversions. As such, check for
51956 # X/Open Portability Guide, version 2 features (XPG2).
51957 if test "${ac_cv_header_iconv_h+set}" = set; then
51958 echo "$as_me:$LINENO: checking for iconv.h" >&5
51959 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51960 if test "${ac_cv_header_iconv_h+set}" = set; then
51961 echo $ECHO_N "(cached) $ECHO_C" >&6
51963 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51964 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51965 else
51966 # Is the header compilable?
51967 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51968 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51969 cat >conftest.$ac_ext <<_ACEOF
51970 /* confdefs.h. */
51971 _ACEOF
51972 cat confdefs.h >>conftest.$ac_ext
51973 cat >>conftest.$ac_ext <<_ACEOF
51974 /* end confdefs.h. */
51975 $ac_includes_default
51976 #include <iconv.h>
51977 _ACEOF
51978 rm -f conftest.$ac_objext
51979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51980 (eval $ac_compile) 2>conftest.er1
51981 ac_status=$?
51982 grep -v '^ *+' conftest.er1 >conftest.err
51983 rm -f conftest.er1
51984 cat conftest.err >&5
51985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51986 (exit $ac_status); } &&
51987 { ac_try='test -z "$ac_c_werror_flag"
51988 || test ! -s conftest.err'
51989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51990 (eval $ac_try) 2>&5
51991 ac_status=$?
51992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51993 (exit $ac_status); }; } &&
51994 { ac_try='test -s conftest.$ac_objext'
51995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51996 (eval $ac_try) 2>&5
51997 ac_status=$?
51998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51999 (exit $ac_status); }; }; then
52000 ac_header_compiler=yes
52001 else
52002 echo "$as_me: failed program was:" >&5
52003 sed 's/^/| /' conftest.$ac_ext >&5
52005 ac_header_compiler=no
52007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52009 echo "${ECHO_T}$ac_header_compiler" >&6
52011 # Is the header present?
52012 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52013 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52014 cat >conftest.$ac_ext <<_ACEOF
52015 /* confdefs.h. */
52016 _ACEOF
52017 cat confdefs.h >>conftest.$ac_ext
52018 cat >>conftest.$ac_ext <<_ACEOF
52019 /* end confdefs.h. */
52020 #include <iconv.h>
52021 _ACEOF
52022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52024 ac_status=$?
52025 grep -v '^ *+' conftest.er1 >conftest.err
52026 rm -f conftest.er1
52027 cat conftest.err >&5
52028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52029 (exit $ac_status); } >/dev/null; then
52030 if test -s conftest.err; then
52031 ac_cpp_err=$ac_c_preproc_warn_flag
52032 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52033 else
52034 ac_cpp_err=
52036 else
52037 ac_cpp_err=yes
52039 if test -z "$ac_cpp_err"; then
52040 ac_header_preproc=yes
52041 else
52042 echo "$as_me: failed program was:" >&5
52043 sed 's/^/| /' conftest.$ac_ext >&5
52045 ac_header_preproc=no
52047 rm -f conftest.err conftest.$ac_ext
52048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52049 echo "${ECHO_T}$ac_header_preproc" >&6
52051 # So? What about this header?
52052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52053 yes:no: )
52054 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52055 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52056 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52057 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52058 ac_header_preproc=yes
52060 no:yes:* )
52061 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52062 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52063 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52064 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52065 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52066 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52067 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
52068 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
52069 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52070 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52071 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52072 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52074 cat <<\_ASBOX
52075 ## ----------------------------------------- ##
52076 ## Report this to the package-unused lists. ##
52077 ## ----------------------------------------- ##
52078 _ASBOX
52080 sed "s/^/$as_me: WARNING: /" >&2
52082 esac
52083 echo "$as_me:$LINENO: checking for iconv.h" >&5
52084 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52085 if test "${ac_cv_header_iconv_h+set}" = set; then
52086 echo $ECHO_N "(cached) $ECHO_C" >&6
52087 else
52088 ac_cv_header_iconv_h=$ac_header_preproc
52090 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52091 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52094 if test $ac_cv_header_iconv_h = yes; then
52095 ac_has_iconv_h=yes
52096 else
52097 ac_has_iconv_h=no
52101 if test "${ac_cv_header_langinfo_h+set}" = set; then
52102 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52103 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52104 if test "${ac_cv_header_langinfo_h+set}" = set; then
52105 echo $ECHO_N "(cached) $ECHO_C" >&6
52107 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52108 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52109 else
52110 # Is the header compilable?
52111 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52112 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52113 cat >conftest.$ac_ext <<_ACEOF
52114 /* confdefs.h. */
52115 _ACEOF
52116 cat confdefs.h >>conftest.$ac_ext
52117 cat >>conftest.$ac_ext <<_ACEOF
52118 /* end confdefs.h. */
52119 $ac_includes_default
52120 #include <langinfo.h>
52121 _ACEOF
52122 rm -f conftest.$ac_objext
52123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52124 (eval $ac_compile) 2>conftest.er1
52125 ac_status=$?
52126 grep -v '^ *+' conftest.er1 >conftest.err
52127 rm -f conftest.er1
52128 cat conftest.err >&5
52129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52130 (exit $ac_status); } &&
52131 { ac_try='test -z "$ac_c_werror_flag"
52132 || test ! -s conftest.err'
52133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52134 (eval $ac_try) 2>&5
52135 ac_status=$?
52136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52137 (exit $ac_status); }; } &&
52138 { ac_try='test -s conftest.$ac_objext'
52139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52140 (eval $ac_try) 2>&5
52141 ac_status=$?
52142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52143 (exit $ac_status); }; }; then
52144 ac_header_compiler=yes
52145 else
52146 echo "$as_me: failed program was:" >&5
52147 sed 's/^/| /' conftest.$ac_ext >&5
52149 ac_header_compiler=no
52151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52153 echo "${ECHO_T}$ac_header_compiler" >&6
52155 # Is the header present?
52156 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52157 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52158 cat >conftest.$ac_ext <<_ACEOF
52159 /* confdefs.h. */
52160 _ACEOF
52161 cat confdefs.h >>conftest.$ac_ext
52162 cat >>conftest.$ac_ext <<_ACEOF
52163 /* end confdefs.h. */
52164 #include <langinfo.h>
52165 _ACEOF
52166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52168 ac_status=$?
52169 grep -v '^ *+' conftest.er1 >conftest.err
52170 rm -f conftest.er1
52171 cat conftest.err >&5
52172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52173 (exit $ac_status); } >/dev/null; then
52174 if test -s conftest.err; then
52175 ac_cpp_err=$ac_c_preproc_warn_flag
52176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52177 else
52178 ac_cpp_err=
52180 else
52181 ac_cpp_err=yes
52183 if test -z "$ac_cpp_err"; then
52184 ac_header_preproc=yes
52185 else
52186 echo "$as_me: failed program was:" >&5
52187 sed 's/^/| /' conftest.$ac_ext >&5
52189 ac_header_preproc=no
52191 rm -f conftest.err conftest.$ac_ext
52192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52193 echo "${ECHO_T}$ac_header_preproc" >&6
52195 # So? What about this header?
52196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52197 yes:no: )
52198 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52199 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52200 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52201 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52202 ac_header_preproc=yes
52204 no:yes:* )
52205 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52206 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52207 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52208 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52209 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52210 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52211 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
52212 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
52213 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52214 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52215 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52216 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52218 cat <<\_ASBOX
52219 ## ----------------------------------------- ##
52220 ## Report this to the package-unused lists. ##
52221 ## ----------------------------------------- ##
52222 _ASBOX
52224 sed "s/^/$as_me: WARNING: /" >&2
52226 esac
52227 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52228 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52229 if test "${ac_cv_header_langinfo_h+set}" = set; then
52230 echo $ECHO_N "(cached) $ECHO_C" >&6
52231 else
52232 ac_cv_header_langinfo_h=$ac_header_preproc
52234 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52235 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52238 if test $ac_cv_header_langinfo_h = yes; then
52239 ac_has_langinfo_h=yes
52240 else
52241 ac_has_langinfo_h=no
52246 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52247 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52248 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52249 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52250 echo $ECHO_N "(cached) $ECHO_C" >&6
52251 else
52252 ac_check_lib_save_LIBS=$LIBS
52253 LIBS="-liconv $LIBS"
52254 if test x$gcc_no_link = xyes; then
52255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52257 { (exit 1); exit 1; }; }
52259 cat >conftest.$ac_ext <<_ACEOF
52260 /* confdefs.h. */
52261 _ACEOF
52262 cat confdefs.h >>conftest.$ac_ext
52263 cat >>conftest.$ac_ext <<_ACEOF
52264 /* end confdefs.h. */
52266 /* Override any gcc2 internal prototype to avoid an error. */
52267 #ifdef __cplusplus
52268 extern "C"
52269 #endif
52270 /* We use char because int might match the return type of a gcc2
52271 builtin and then its argument prototype would still apply. */
52272 char iconv ();
52274 main ()
52276 iconv ();
52278 return 0;
52280 _ACEOF
52281 rm -f conftest.$ac_objext conftest$ac_exeext
52282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52283 (eval $ac_link) 2>conftest.er1
52284 ac_status=$?
52285 grep -v '^ *+' conftest.er1 >conftest.err
52286 rm -f conftest.er1
52287 cat conftest.err >&5
52288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52289 (exit $ac_status); } &&
52290 { ac_try='test -z "$ac_c_werror_flag"
52291 || test ! -s conftest.err'
52292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52293 (eval $ac_try) 2>&5
52294 ac_status=$?
52295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52296 (exit $ac_status); }; } &&
52297 { ac_try='test -s conftest$ac_exeext'
52298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52299 (eval $ac_try) 2>&5
52300 ac_status=$?
52301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52302 (exit $ac_status); }; }; then
52303 ac_cv_lib_iconv_iconv=yes
52304 else
52305 echo "$as_me: failed program was:" >&5
52306 sed 's/^/| /' conftest.$ac_ext >&5
52308 ac_cv_lib_iconv_iconv=no
52310 rm -f conftest.err conftest.$ac_objext \
52311 conftest$ac_exeext conftest.$ac_ext
52312 LIBS=$ac_check_lib_save_LIBS
52314 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52315 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52316 if test $ac_cv_lib_iconv_iconv = yes; then
52317 LIBICONV="-liconv"
52320 ac_save_LIBS="$LIBS"
52321 LIBS="$LIBS $LIBICONV"
52328 for ac_func in iconv_open iconv_close iconv nl_langinfo
52330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52331 echo "$as_me:$LINENO: checking for $ac_func" >&5
52332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52333 if eval "test \"\${$as_ac_var+set}\" = set"; then
52334 echo $ECHO_N "(cached) $ECHO_C" >&6
52335 else
52336 if test x$gcc_no_link = xyes; then
52337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52339 { (exit 1); exit 1; }; }
52341 cat >conftest.$ac_ext <<_ACEOF
52342 /* confdefs.h. */
52343 _ACEOF
52344 cat confdefs.h >>conftest.$ac_ext
52345 cat >>conftest.$ac_ext <<_ACEOF
52346 /* end confdefs.h. */
52347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52349 #define $ac_func innocuous_$ac_func
52351 /* System header to define __stub macros and hopefully few prototypes,
52352 which can conflict with char $ac_func (); below.
52353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52354 <limits.h> exists even on freestanding compilers. */
52356 #ifdef __STDC__
52357 # include <limits.h>
52358 #else
52359 # include <assert.h>
52360 #endif
52362 #undef $ac_func
52364 /* Override any gcc2 internal prototype to avoid an error. */
52365 #ifdef __cplusplus
52366 extern "C"
52368 #endif
52369 /* We use char because int might match the return type of a gcc2
52370 builtin and then its argument prototype would still apply. */
52371 char $ac_func ();
52372 /* The GNU C library defines this for functions which it implements
52373 to always fail with ENOSYS. Some functions are actually named
52374 something starting with __ and the normal name is an alias. */
52375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52376 choke me
52377 #else
52378 char (*f) () = $ac_func;
52379 #endif
52380 #ifdef __cplusplus
52382 #endif
52385 main ()
52387 return f != $ac_func;
52389 return 0;
52391 _ACEOF
52392 rm -f conftest.$ac_objext conftest$ac_exeext
52393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52394 (eval $ac_link) 2>conftest.er1
52395 ac_status=$?
52396 grep -v '^ *+' conftest.er1 >conftest.err
52397 rm -f conftest.er1
52398 cat conftest.err >&5
52399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52400 (exit $ac_status); } &&
52401 { ac_try='test -z "$ac_c_werror_flag"
52402 || test ! -s conftest.err'
52403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52404 (eval $ac_try) 2>&5
52405 ac_status=$?
52406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52407 (exit $ac_status); }; } &&
52408 { ac_try='test -s conftest$ac_exeext'
52409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52410 (eval $ac_try) 2>&5
52411 ac_status=$?
52412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52413 (exit $ac_status); }; }; then
52414 eval "$as_ac_var=yes"
52415 else
52416 echo "$as_me: failed program was:" >&5
52417 sed 's/^/| /' conftest.$ac_ext >&5
52419 eval "$as_ac_var=no"
52421 rm -f conftest.err conftest.$ac_objext \
52422 conftest$ac_exeext conftest.$ac_ext
52424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52426 if test `eval echo '${'$as_ac_var'}'` = yes; then
52427 cat >>confdefs.h <<_ACEOF
52428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52429 _ACEOF
52430 ac_XPG2funcs=yes
52431 else
52432 ac_XPG2funcs=no
52434 done
52437 LIBS="$ac_save_LIBS"
52439 if test x"$ac_has_iconv_h" = xyes &&
52440 test x"$ac_has_langinfo_h" = xyes &&
52441 test x"$ac_XPG2funcs" = xyes;
52442 then
52444 cat >>confdefs.h <<\_ACEOF
52445 #define _GLIBCXX_USE_ICONV 1
52446 _ACEOF
52448 enable_iconv=yes
52451 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
52452 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
52453 echo "$as_me:$LINENO: result: $enable_iconv" >&5
52454 echo "${ECHO_T}$enable_iconv" >&6
52457 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52458 ac_save_CXXFLAGS="$CXXFLAGS"
52459 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52462 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52463 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52464 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52465 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52466 echo $ECHO_N "(cached) $ECHO_C" >&6
52467 else
52471 ac_ext=cc
52472 ac_cpp='$CXXCPP $CPPFLAGS'
52473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52477 cat >conftest.$ac_ext <<_ACEOF
52478 /* confdefs.h. */
52479 _ACEOF
52480 cat confdefs.h >>conftest.$ac_ext
52481 cat >>conftest.$ac_ext <<_ACEOF
52482 /* end confdefs.h. */
52483 #include <stdlib.h>
52485 main ()
52487 strtold(0, 0);
52489 return 0;
52491 _ACEOF
52492 rm -f conftest.$ac_objext
52493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52494 (eval $ac_compile) 2>conftest.er1
52495 ac_status=$?
52496 grep -v '^ *+' conftest.er1 >conftest.err
52497 rm -f conftest.er1
52498 cat conftest.err >&5
52499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52500 (exit $ac_status); } &&
52501 { ac_try='test -z "$ac_cxx_werror_flag"
52502 || test ! -s conftest.err'
52503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52504 (eval $ac_try) 2>&5
52505 ac_status=$?
52506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52507 (exit $ac_status); }; } &&
52508 { ac_try='test -s conftest.$ac_objext'
52509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52510 (eval $ac_try) 2>&5
52511 ac_status=$?
52512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52513 (exit $ac_status); }; }; then
52514 glibcxx_cv_func_strtold_use=yes
52515 else
52516 echo "$as_me: failed program was:" >&5
52517 sed 's/^/| /' conftest.$ac_ext >&5
52519 glibcxx_cv_func_strtold_use=no
52521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52522 ac_ext=c
52523 ac_cpp='$CPP $CPPFLAGS'
52524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52532 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52533 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52534 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52536 for ac_func in strtold
52538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52539 echo "$as_me:$LINENO: checking for $ac_func" >&5
52540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52541 if eval "test \"\${$as_ac_var+set}\" = set"; then
52542 echo $ECHO_N "(cached) $ECHO_C" >&6
52543 else
52544 if test x$gcc_no_link = xyes; then
52545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52547 { (exit 1); exit 1; }; }
52549 cat >conftest.$ac_ext <<_ACEOF
52550 /* confdefs.h. */
52551 _ACEOF
52552 cat confdefs.h >>conftest.$ac_ext
52553 cat >>conftest.$ac_ext <<_ACEOF
52554 /* end confdefs.h. */
52555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52557 #define $ac_func innocuous_$ac_func
52559 /* System header to define __stub macros and hopefully few prototypes,
52560 which can conflict with char $ac_func (); below.
52561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52562 <limits.h> exists even on freestanding compilers. */
52564 #ifdef __STDC__
52565 # include <limits.h>
52566 #else
52567 # include <assert.h>
52568 #endif
52570 #undef $ac_func
52572 /* Override any gcc2 internal prototype to avoid an error. */
52573 #ifdef __cplusplus
52574 extern "C"
52576 #endif
52577 /* We use char because int might match the return type of a gcc2
52578 builtin and then its argument prototype would still apply. */
52579 char $ac_func ();
52580 /* The GNU C library defines this for functions which it implements
52581 to always fail with ENOSYS. Some functions are actually named
52582 something starting with __ and the normal name is an alias. */
52583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52584 choke me
52585 #else
52586 char (*f) () = $ac_func;
52587 #endif
52588 #ifdef __cplusplus
52590 #endif
52593 main ()
52595 return f != $ac_func;
52597 return 0;
52599 _ACEOF
52600 rm -f conftest.$ac_objext conftest$ac_exeext
52601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52602 (eval $ac_link) 2>conftest.er1
52603 ac_status=$?
52604 grep -v '^ *+' conftest.er1 >conftest.err
52605 rm -f conftest.er1
52606 cat conftest.err >&5
52607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52608 (exit $ac_status); } &&
52609 { ac_try='test -z "$ac_c_werror_flag"
52610 || test ! -s conftest.err'
52611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52612 (eval $ac_try) 2>&5
52613 ac_status=$?
52614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52615 (exit $ac_status); }; } &&
52616 { ac_try='test -s conftest$ac_exeext'
52617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52618 (eval $ac_try) 2>&5
52619 ac_status=$?
52620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52621 (exit $ac_status); }; }; then
52622 eval "$as_ac_var=yes"
52623 else
52624 echo "$as_me: failed program was:" >&5
52625 sed 's/^/| /' conftest.$ac_ext >&5
52627 eval "$as_ac_var=no"
52629 rm -f conftest.err conftest.$ac_objext \
52630 conftest$ac_exeext conftest.$ac_ext
52632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52634 if test `eval echo '${'$as_ac_var'}'` = yes; then
52635 cat >>confdefs.h <<_ACEOF
52636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52637 _ACEOF
52640 done
52648 echo "$as_me:$LINENO: checking for strtof declaration" >&5
52649 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52650 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52651 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52652 echo $ECHO_N "(cached) $ECHO_C" >&6
52653 else
52657 ac_ext=cc
52658 ac_cpp='$CXXCPP $CPPFLAGS'
52659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52663 cat >conftest.$ac_ext <<_ACEOF
52664 /* confdefs.h. */
52665 _ACEOF
52666 cat confdefs.h >>conftest.$ac_ext
52667 cat >>conftest.$ac_ext <<_ACEOF
52668 /* end confdefs.h. */
52669 #include <stdlib.h>
52671 main ()
52673 strtof(0, 0);
52675 return 0;
52677 _ACEOF
52678 rm -f conftest.$ac_objext
52679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52680 (eval $ac_compile) 2>conftest.er1
52681 ac_status=$?
52682 grep -v '^ *+' conftest.er1 >conftest.err
52683 rm -f conftest.er1
52684 cat conftest.err >&5
52685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52686 (exit $ac_status); } &&
52687 { ac_try='test -z "$ac_cxx_werror_flag"
52688 || test ! -s conftest.err'
52689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52690 (eval $ac_try) 2>&5
52691 ac_status=$?
52692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52693 (exit $ac_status); }; } &&
52694 { ac_try='test -s conftest.$ac_objext'
52695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52696 (eval $ac_try) 2>&5
52697 ac_status=$?
52698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52699 (exit $ac_status); }; }; then
52700 glibcxx_cv_func_strtof_use=yes
52701 else
52702 echo "$as_me: failed program was:" >&5
52703 sed 's/^/| /' conftest.$ac_ext >&5
52705 glibcxx_cv_func_strtof_use=no
52707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52708 ac_ext=c
52709 ac_cpp='$CPP $CPPFLAGS'
52710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52719 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52720 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52722 for ac_func in strtof
52724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52725 echo "$as_me:$LINENO: checking for $ac_func" >&5
52726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52727 if eval "test \"\${$as_ac_var+set}\" = set"; then
52728 echo $ECHO_N "(cached) $ECHO_C" >&6
52729 else
52730 if test x$gcc_no_link = xyes; then
52731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52733 { (exit 1); exit 1; }; }
52735 cat >conftest.$ac_ext <<_ACEOF
52736 /* confdefs.h. */
52737 _ACEOF
52738 cat confdefs.h >>conftest.$ac_ext
52739 cat >>conftest.$ac_ext <<_ACEOF
52740 /* end confdefs.h. */
52741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52743 #define $ac_func innocuous_$ac_func
52745 /* System header to define __stub macros and hopefully few prototypes,
52746 which can conflict with char $ac_func (); below.
52747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52748 <limits.h> exists even on freestanding compilers. */
52750 #ifdef __STDC__
52751 # include <limits.h>
52752 #else
52753 # include <assert.h>
52754 #endif
52756 #undef $ac_func
52758 /* Override any gcc2 internal prototype to avoid an error. */
52759 #ifdef __cplusplus
52760 extern "C"
52762 #endif
52763 /* We use char because int might match the return type of a gcc2
52764 builtin and then its argument prototype would still apply. */
52765 char $ac_func ();
52766 /* The GNU C library defines this for functions which it implements
52767 to always fail with ENOSYS. Some functions are actually named
52768 something starting with __ and the normal name is an alias. */
52769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52770 choke me
52771 #else
52772 char (*f) () = $ac_func;
52773 #endif
52774 #ifdef __cplusplus
52776 #endif
52779 main ()
52781 return f != $ac_func;
52783 return 0;
52785 _ACEOF
52786 rm -f conftest.$ac_objext conftest$ac_exeext
52787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52788 (eval $ac_link) 2>conftest.er1
52789 ac_status=$?
52790 grep -v '^ *+' conftest.er1 >conftest.err
52791 rm -f conftest.er1
52792 cat conftest.err >&5
52793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52794 (exit $ac_status); } &&
52795 { ac_try='test -z "$ac_c_werror_flag"
52796 || test ! -s conftest.err'
52797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52798 (eval $ac_try) 2>&5
52799 ac_status=$?
52800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52801 (exit $ac_status); }; } &&
52802 { ac_try='test -s conftest$ac_exeext'
52803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52804 (eval $ac_try) 2>&5
52805 ac_status=$?
52806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52807 (exit $ac_status); }; }; then
52808 eval "$as_ac_var=yes"
52809 else
52810 echo "$as_me: failed program was:" >&5
52811 sed 's/^/| /' conftest.$ac_ext >&5
52813 eval "$as_ac_var=no"
52815 rm -f conftest.err conftest.$ac_objext \
52816 conftest$ac_exeext conftest.$ac_ext
52818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52820 if test `eval echo '${'$as_ac_var'}'` = yes; then
52821 cat >>confdefs.h <<_ACEOF
52822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52823 _ACEOF
52826 done
52834 CXXFLAGS="$ac_save_CXXFLAGS"
52837 # For showmanyc_helper().
52840 for ac_header in sys/ioctl.h sys/filio.h
52842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52844 echo "$as_me:$LINENO: checking for $ac_header" >&5
52845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52847 echo $ECHO_N "(cached) $ECHO_C" >&6
52849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52851 else
52852 # Is the header compilable?
52853 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52855 cat >conftest.$ac_ext <<_ACEOF
52856 /* confdefs.h. */
52857 _ACEOF
52858 cat confdefs.h >>conftest.$ac_ext
52859 cat >>conftest.$ac_ext <<_ACEOF
52860 /* end confdefs.h. */
52861 $ac_includes_default
52862 #include <$ac_header>
52863 _ACEOF
52864 rm -f conftest.$ac_objext
52865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52866 (eval $ac_compile) 2>conftest.er1
52867 ac_status=$?
52868 grep -v '^ *+' conftest.er1 >conftest.err
52869 rm -f conftest.er1
52870 cat conftest.err >&5
52871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52872 (exit $ac_status); } &&
52873 { ac_try='test -z "$ac_c_werror_flag"
52874 || test ! -s conftest.err'
52875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52876 (eval $ac_try) 2>&5
52877 ac_status=$?
52878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52879 (exit $ac_status); }; } &&
52880 { ac_try='test -s conftest.$ac_objext'
52881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52882 (eval $ac_try) 2>&5
52883 ac_status=$?
52884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52885 (exit $ac_status); }; }; then
52886 ac_header_compiler=yes
52887 else
52888 echo "$as_me: failed program was:" >&5
52889 sed 's/^/| /' conftest.$ac_ext >&5
52891 ac_header_compiler=no
52893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52895 echo "${ECHO_T}$ac_header_compiler" >&6
52897 # Is the header present?
52898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52900 cat >conftest.$ac_ext <<_ACEOF
52901 /* confdefs.h. */
52902 _ACEOF
52903 cat confdefs.h >>conftest.$ac_ext
52904 cat >>conftest.$ac_ext <<_ACEOF
52905 /* end confdefs.h. */
52906 #include <$ac_header>
52907 _ACEOF
52908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52910 ac_status=$?
52911 grep -v '^ *+' conftest.er1 >conftest.err
52912 rm -f conftest.er1
52913 cat conftest.err >&5
52914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52915 (exit $ac_status); } >/dev/null; then
52916 if test -s conftest.err; then
52917 ac_cpp_err=$ac_c_preproc_warn_flag
52918 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52919 else
52920 ac_cpp_err=
52922 else
52923 ac_cpp_err=yes
52925 if test -z "$ac_cpp_err"; then
52926 ac_header_preproc=yes
52927 else
52928 echo "$as_me: failed program was:" >&5
52929 sed 's/^/| /' conftest.$ac_ext >&5
52931 ac_header_preproc=no
52933 rm -f conftest.err conftest.$ac_ext
52934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52935 echo "${ECHO_T}$ac_header_preproc" >&6
52937 # So? What about this header?
52938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52939 yes:no: )
52940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52944 ac_header_preproc=yes
52946 no:yes:* )
52947 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52949 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52950 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52951 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52953 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52954 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52957 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52960 cat <<\_ASBOX
52961 ## ----------------------------------------- ##
52962 ## Report this to the package-unused lists. ##
52963 ## ----------------------------------------- ##
52964 _ASBOX
52966 sed "s/^/$as_me: WARNING: /" >&2
52968 esac
52969 echo "$as_me:$LINENO: checking for $ac_header" >&5
52970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52972 echo $ECHO_N "(cached) $ECHO_C" >&6
52973 else
52974 eval "$as_ac_Header=\$ac_header_preproc"
52976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52981 cat >>confdefs.h <<_ACEOF
52982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52983 _ACEOF
52987 done
52990 echo "$as_me:$LINENO: checking for poll" >&5
52991 echo $ECHO_N "checking for poll... $ECHO_C" >&6
52992 if test "${glibcxx_cv_POLL+set}" = set; then
52993 echo $ECHO_N "(cached) $ECHO_C" >&6
52994 else
52996 if test x$gcc_no_link = xyes; then
52997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52999 { (exit 1); exit 1; }; }
53001 cat >conftest.$ac_ext <<_ACEOF
53002 /* confdefs.h. */
53003 _ACEOF
53004 cat confdefs.h >>conftest.$ac_ext
53005 cat >>conftest.$ac_ext <<_ACEOF
53006 /* end confdefs.h. */
53007 #include <poll.h>
53009 main ()
53011 struct pollfd pfd[1];
53012 pfd[0].events = POLLIN;
53013 poll(pfd, 1, 0);
53015 return 0;
53017 _ACEOF
53018 rm -f conftest.$ac_objext conftest$ac_exeext
53019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53020 (eval $ac_link) 2>conftest.er1
53021 ac_status=$?
53022 grep -v '^ *+' conftest.er1 >conftest.err
53023 rm -f conftest.er1
53024 cat conftest.err >&5
53025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53026 (exit $ac_status); } &&
53027 { ac_try='test -z "$ac_c_werror_flag"
53028 || test ! -s conftest.err'
53029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53030 (eval $ac_try) 2>&5
53031 ac_status=$?
53032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53033 (exit $ac_status); }; } &&
53034 { ac_try='test -s conftest$ac_exeext'
53035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53036 (eval $ac_try) 2>&5
53037 ac_status=$?
53038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53039 (exit $ac_status); }; }; then
53040 glibcxx_cv_POLL=yes
53041 else
53042 echo "$as_me: failed program was:" >&5
53043 sed 's/^/| /' conftest.$ac_ext >&5
53045 glibcxx_cv_POLL=no
53047 rm -f conftest.err conftest.$ac_objext \
53048 conftest$ac_exeext conftest.$ac_ext
53052 if test $glibcxx_cv_POLL = yes; then
53054 cat >>confdefs.h <<\_ACEOF
53055 #define HAVE_POLL 1
53056 _ACEOF
53059 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53060 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53063 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53064 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53065 if test "${glibcxx_cv_S_ISREG+set}" = set; then
53066 echo $ECHO_N "(cached) $ECHO_C" >&6
53067 else
53069 if test x$gcc_no_link = xyes; then
53070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53072 { (exit 1); exit 1; }; }
53074 cat >conftest.$ac_ext <<_ACEOF
53075 /* confdefs.h. */
53076 _ACEOF
53077 cat confdefs.h >>conftest.$ac_ext
53078 cat >>conftest.$ac_ext <<_ACEOF
53079 /* end confdefs.h. */
53080 #include <sys/stat.h>
53082 main ()
53084 struct stat buffer;
53085 fstat(0, &buffer);
53086 S_ISREG(buffer.st_mode);
53088 return 0;
53090 _ACEOF
53091 rm -f conftest.$ac_objext conftest$ac_exeext
53092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53093 (eval $ac_link) 2>conftest.er1
53094 ac_status=$?
53095 grep -v '^ *+' conftest.er1 >conftest.err
53096 rm -f conftest.er1
53097 cat conftest.err >&5
53098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53099 (exit $ac_status); } &&
53100 { ac_try='test -z "$ac_c_werror_flag"
53101 || test ! -s conftest.err'
53102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53103 (eval $ac_try) 2>&5
53104 ac_status=$?
53105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53106 (exit $ac_status); }; } &&
53107 { ac_try='test -s conftest$ac_exeext'
53108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53109 (eval $ac_try) 2>&5
53110 ac_status=$?
53111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53112 (exit $ac_status); }; }; then
53113 glibcxx_cv_S_ISREG=yes
53114 else
53115 echo "$as_me: failed program was:" >&5
53116 sed 's/^/| /' conftest.$ac_ext >&5
53118 glibcxx_cv_S_ISREG=no
53120 rm -f conftest.err conftest.$ac_objext \
53121 conftest$ac_exeext conftest.$ac_ext
53125 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53126 echo $ECHO_N "(cached) $ECHO_C" >&6
53127 else
53129 if test x$gcc_no_link = xyes; then
53130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53132 { (exit 1); exit 1; }; }
53134 cat >conftest.$ac_ext <<_ACEOF
53135 /* confdefs.h. */
53136 _ACEOF
53137 cat confdefs.h >>conftest.$ac_ext
53138 cat >>conftest.$ac_ext <<_ACEOF
53139 /* end confdefs.h. */
53140 #include <sys/stat.h>
53142 main ()
53144 struct stat buffer;
53145 fstat(0, &buffer);
53146 S_IFREG & buffer.st_mode;
53148 return 0;
53150 _ACEOF
53151 rm -f conftest.$ac_objext conftest$ac_exeext
53152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53153 (eval $ac_link) 2>conftest.er1
53154 ac_status=$?
53155 grep -v '^ *+' conftest.er1 >conftest.err
53156 rm -f conftest.er1
53157 cat conftest.err >&5
53158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53159 (exit $ac_status); } &&
53160 { ac_try='test -z "$ac_c_werror_flag"
53161 || test ! -s conftest.err'
53162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53163 (eval $ac_try) 2>&5
53164 ac_status=$?
53165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53166 (exit $ac_status); }; } &&
53167 { ac_try='test -s conftest$ac_exeext'
53168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53169 (eval $ac_try) 2>&5
53170 ac_status=$?
53171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53172 (exit $ac_status); }; }; then
53173 glibcxx_cv_S_IFREG=yes
53174 else
53175 echo "$as_me: failed program was:" >&5
53176 sed 's/^/| /' conftest.$ac_ext >&5
53178 glibcxx_cv_S_IFREG=no
53180 rm -f conftest.err conftest.$ac_objext \
53181 conftest$ac_exeext conftest.$ac_ext
53185 res=no
53186 if test $glibcxx_cv_S_ISREG = yes; then
53188 cat >>confdefs.h <<\_ACEOF
53189 #define HAVE_S_ISREG 1
53190 _ACEOF
53192 res=S_ISREG
53193 elif test $glibcxx_cv_S_IFREG = yes; then
53195 cat >>confdefs.h <<\_ACEOF
53196 #define HAVE_S_IFREG 1
53197 _ACEOF
53199 res=S_IFREG
53201 echo "$as_me:$LINENO: result: $res" >&5
53202 echo "${ECHO_T}$res" >&6
53205 # For xsputn_2().
53207 for ac_header in sys/uio.h
53209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53211 echo "$as_me:$LINENO: checking for $ac_header" >&5
53212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53214 echo $ECHO_N "(cached) $ECHO_C" >&6
53216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53218 else
53219 # Is the header compilable?
53220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53222 cat >conftest.$ac_ext <<_ACEOF
53223 /* confdefs.h. */
53224 _ACEOF
53225 cat confdefs.h >>conftest.$ac_ext
53226 cat >>conftest.$ac_ext <<_ACEOF
53227 /* end confdefs.h. */
53228 $ac_includes_default
53229 #include <$ac_header>
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_c_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 ac_header_compiler=yes
53254 else
53255 echo "$as_me: failed program was:" >&5
53256 sed 's/^/| /' conftest.$ac_ext >&5
53258 ac_header_compiler=no
53260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53261 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53262 echo "${ECHO_T}$ac_header_compiler" >&6
53264 # Is the header present?
53265 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53266 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53267 cat >conftest.$ac_ext <<_ACEOF
53268 /* confdefs.h. */
53269 _ACEOF
53270 cat confdefs.h >>conftest.$ac_ext
53271 cat >>conftest.$ac_ext <<_ACEOF
53272 /* end confdefs.h. */
53273 #include <$ac_header>
53274 _ACEOF
53275 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53276 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53277 ac_status=$?
53278 grep -v '^ *+' conftest.er1 >conftest.err
53279 rm -f conftest.er1
53280 cat conftest.err >&5
53281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53282 (exit $ac_status); } >/dev/null; then
53283 if test -s conftest.err; then
53284 ac_cpp_err=$ac_c_preproc_warn_flag
53285 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53286 else
53287 ac_cpp_err=
53289 else
53290 ac_cpp_err=yes
53292 if test -z "$ac_cpp_err"; then
53293 ac_header_preproc=yes
53294 else
53295 echo "$as_me: failed program was:" >&5
53296 sed 's/^/| /' conftest.$ac_ext >&5
53298 ac_header_preproc=no
53300 rm -f conftest.err conftest.$ac_ext
53301 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53302 echo "${ECHO_T}$ac_header_preproc" >&6
53304 # So? What about this header?
53305 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53306 yes:no: )
53307 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53308 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53310 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53311 ac_header_preproc=yes
53313 no:yes:* )
53314 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53315 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53316 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53317 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53318 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53319 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53320 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53321 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53324 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53325 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53327 cat <<\_ASBOX
53328 ## ----------------------------------------- ##
53329 ## Report this to the package-unused lists. ##
53330 ## ----------------------------------------- ##
53331 _ASBOX
53333 sed "s/^/$as_me: WARNING: /" >&2
53335 esac
53336 echo "$as_me:$LINENO: checking for $ac_header" >&5
53337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53339 echo $ECHO_N "(cached) $ECHO_C" >&6
53340 else
53341 eval "$as_ac_Header=\$ac_header_preproc"
53343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53348 cat >>confdefs.h <<_ACEOF
53349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53350 _ACEOF
53354 done
53357 echo "$as_me:$LINENO: checking for writev" >&5
53358 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53359 if test "${glibcxx_cv_WRITEV+set}" = set; then
53360 echo $ECHO_N "(cached) $ECHO_C" >&6
53361 else
53363 if test x$gcc_no_link = xyes; then
53364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53366 { (exit 1); exit 1; }; }
53368 cat >conftest.$ac_ext <<_ACEOF
53369 /* confdefs.h. */
53370 _ACEOF
53371 cat confdefs.h >>conftest.$ac_ext
53372 cat >>conftest.$ac_ext <<_ACEOF
53373 /* end confdefs.h. */
53374 #include <sys/uio.h>
53376 main ()
53378 struct iovec iov[2];
53379 writev(0, iov, 0);
53381 return 0;
53383 _ACEOF
53384 rm -f conftest.$ac_objext conftest$ac_exeext
53385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53386 (eval $ac_link) 2>conftest.er1
53387 ac_status=$?
53388 grep -v '^ *+' conftest.er1 >conftest.err
53389 rm -f conftest.er1
53390 cat conftest.err >&5
53391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53392 (exit $ac_status); } &&
53393 { ac_try='test -z "$ac_c_werror_flag"
53394 || test ! -s conftest.err'
53395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53396 (eval $ac_try) 2>&5
53397 ac_status=$?
53398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53399 (exit $ac_status); }; } &&
53400 { ac_try='test -s conftest$ac_exeext'
53401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53402 (eval $ac_try) 2>&5
53403 ac_status=$?
53404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53405 (exit $ac_status); }; }; then
53406 glibcxx_cv_WRITEV=yes
53407 else
53408 echo "$as_me: failed program was:" >&5
53409 sed 's/^/| /' conftest.$ac_ext >&5
53411 glibcxx_cv_WRITEV=no
53413 rm -f conftest.err conftest.$ac_objext \
53414 conftest$ac_exeext conftest.$ac_ext
53418 if test $glibcxx_cv_WRITEV = yes; then
53420 cat >>confdefs.h <<\_ACEOF
53421 #define HAVE_WRITEV 1
53422 _ACEOF
53425 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
53426 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
53429 cat >>confdefs.h <<\_ACEOF
53430 #define HAVE_LC_MESSAGES 1
53431 _ACEOF
53434 cat >conftest.$ac_ext <<_ACEOF
53435 /* confdefs.h. */
53436 _ACEOF
53437 cat confdefs.h >>conftest.$ac_ext
53438 cat >>conftest.$ac_ext <<_ACEOF
53439 /* end confdefs.h. */
53440 #include <setjmp.h>
53442 main ()
53444 sigjmp_buf env;
53445 while (! sigsetjmp (env, 1))
53446 siglongjmp (env, 1);
53449 return 0;
53451 _ACEOF
53452 rm -f conftest.$ac_objext
53453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53454 (eval $ac_compile) 2>conftest.er1
53455 ac_status=$?
53456 grep -v '^ *+' conftest.er1 >conftest.err
53457 rm -f conftest.er1
53458 cat conftest.err >&5
53459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53460 (exit $ac_status); } &&
53461 { ac_try='test -z "$ac_c_werror_flag"
53462 || test ! -s conftest.err'
53463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53464 (eval $ac_try) 2>&5
53465 ac_status=$?
53466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53467 (exit $ac_status); }; } &&
53468 { ac_try='test -s conftest.$ac_objext'
53469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53470 (eval $ac_try) 2>&5
53471 ac_status=$?
53472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53473 (exit $ac_status); }; }; then
53475 cat >>confdefs.h <<\_ACEOF
53476 #define HAVE_SIGSETJMP 1
53477 _ACEOF
53479 else
53480 echo "$as_me: failed program was:" >&5
53481 sed 's/^/| /' conftest.$ac_ext >&5
53484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53486 cat >>confdefs.h <<\_ACEOF
53487 #define HAVE_MMAP 1
53488 _ACEOF
53492 *djgpp)
53513 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53514 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53515 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53516 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53518 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53520 echo "$as_me:$LINENO: checking for $ac_header" >&5
53521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53523 echo $ECHO_N "(cached) $ECHO_C" >&6
53525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53527 else
53528 # Is the header compilable?
53529 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53530 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53531 cat >conftest.$ac_ext <<_ACEOF
53532 /* confdefs.h. */
53533 _ACEOF
53534 cat confdefs.h >>conftest.$ac_ext
53535 cat >>conftest.$ac_ext <<_ACEOF
53536 /* end confdefs.h. */
53537 $ac_includes_default
53538 #include <$ac_header>
53539 _ACEOF
53540 rm -f conftest.$ac_objext
53541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53542 (eval $ac_compile) 2>conftest.er1
53543 ac_status=$?
53544 grep -v '^ *+' conftest.er1 >conftest.err
53545 rm -f conftest.er1
53546 cat conftest.err >&5
53547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53548 (exit $ac_status); } &&
53549 { ac_try='test -z "$ac_c_werror_flag"
53550 || test ! -s conftest.err'
53551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53552 (eval $ac_try) 2>&5
53553 ac_status=$?
53554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53555 (exit $ac_status); }; } &&
53556 { ac_try='test -s conftest.$ac_objext'
53557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53558 (eval $ac_try) 2>&5
53559 ac_status=$?
53560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53561 (exit $ac_status); }; }; then
53562 ac_header_compiler=yes
53563 else
53564 echo "$as_me: failed program was:" >&5
53565 sed 's/^/| /' conftest.$ac_ext >&5
53567 ac_header_compiler=no
53569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53571 echo "${ECHO_T}$ac_header_compiler" >&6
53573 # Is the header present?
53574 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53575 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53576 cat >conftest.$ac_ext <<_ACEOF
53577 /* confdefs.h. */
53578 _ACEOF
53579 cat confdefs.h >>conftest.$ac_ext
53580 cat >>conftest.$ac_ext <<_ACEOF
53581 /* end confdefs.h. */
53582 #include <$ac_header>
53583 _ACEOF
53584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53586 ac_status=$?
53587 grep -v '^ *+' conftest.er1 >conftest.err
53588 rm -f conftest.er1
53589 cat conftest.err >&5
53590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53591 (exit $ac_status); } >/dev/null; then
53592 if test -s conftest.err; then
53593 ac_cpp_err=$ac_c_preproc_warn_flag
53594 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53595 else
53596 ac_cpp_err=
53598 else
53599 ac_cpp_err=yes
53601 if test -z "$ac_cpp_err"; then
53602 ac_header_preproc=yes
53603 else
53604 echo "$as_me: failed program was:" >&5
53605 sed 's/^/| /' conftest.$ac_ext >&5
53607 ac_header_preproc=no
53609 rm -f conftest.err conftest.$ac_ext
53610 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53611 echo "${ECHO_T}$ac_header_preproc" >&6
53613 # So? What about this header?
53614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53615 yes:no: )
53616 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53617 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53619 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53620 ac_header_preproc=yes
53622 no:yes:* )
53623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53627 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53628 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53629 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53630 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53633 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53634 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53636 cat <<\_ASBOX
53637 ## ----------------------------------------- ##
53638 ## Report this to the package-unused lists. ##
53639 ## ----------------------------------------- ##
53640 _ASBOX
53642 sed "s/^/$as_me: WARNING: /" >&2
53644 esac
53645 echo "$as_me:$LINENO: checking for $ac_header" >&5
53646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53648 echo $ECHO_N "(cached) $ECHO_C" >&6
53649 else
53650 eval "$as_ac_Header=\$ac_header_preproc"
53652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53657 cat >>confdefs.h <<_ACEOF
53658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53659 _ACEOF
53663 done
53666 # All these tests are for C++; save the language and the compiler flags.
53667 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53668 # found in GLIBCXX_CONFIGURE.
53671 ac_ext=cc
53672 ac_cpp='$CXXCPP $CPPFLAGS'
53673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53677 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53678 ac_save_CXXFLAGS="$CXXFLAGS"
53680 # Check for maintainer-mode bits.
53681 if test x"$USE_MAINTAINER_MODE" = xno; then
53682 WERROR=''
53683 else
53684 WERROR='-Werror'
53687 # Check for -ffunction-sections -fdata-sections
53688 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53689 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53690 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53691 cat >conftest.$ac_ext <<_ACEOF
53692 /* confdefs.h. */
53693 _ACEOF
53694 cat confdefs.h >>conftest.$ac_ext
53695 cat >>conftest.$ac_ext <<_ACEOF
53696 /* end confdefs.h. */
53699 main ()
53701 int foo;
53703 return 0;
53705 _ACEOF
53706 rm -f conftest.$ac_objext
53707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53708 (eval $ac_compile) 2>conftest.er1
53709 ac_status=$?
53710 grep -v '^ *+' conftest.er1 >conftest.err
53711 rm -f conftest.er1
53712 cat conftest.err >&5
53713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53714 (exit $ac_status); } &&
53715 { ac_try='test -z "$ac_cxx_werror_flag"
53716 || test ! -s conftest.err'
53717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53718 (eval $ac_try) 2>&5
53719 ac_status=$?
53720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53721 (exit $ac_status); }; } &&
53722 { ac_try='test -s conftest.$ac_objext'
53723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53724 (eval $ac_try) 2>&5
53725 ac_status=$?
53726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53727 (exit $ac_status); }; }; then
53728 ac_fdsections=yes
53729 else
53730 echo "$as_me: failed program was:" >&5
53731 sed 's/^/| /' conftest.$ac_ext >&5
53733 ac_fdsections=no
53735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53736 if test "$ac_test_CXXFLAGS" = set; then
53737 CXXFLAGS="$ac_save_CXXFLAGS"
53738 else
53739 # this is the suspicious part
53740 CXXFLAGS=''
53742 if test x"$ac_fdsections" = x"yes"; then
53743 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53745 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53746 echo "${ECHO_T}$ac_fdsections" >&6
53748 ac_ext=c
53749 ac_cpp='$CPP $CPPFLAGS'
53750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53758 # If we're not using GNU ld, then there's no point in even trying these
53759 # tests. Check for that first. We should have already tested for gld
53760 # by now (in libtool), but require it now just to be safe...
53761 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53762 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53766 # The name set by libtool depends on the version of libtool. Shame on us
53767 # for depending on an impl detail, but c'est la vie. Older versions used
53768 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53769 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53770 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53771 # set (hence we're using an older libtool), then set it.
53772 if test x${with_gnu_ld+set} != xset; then
53773 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53774 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53775 with_gnu_ld=no
53776 else
53777 with_gnu_ld=$ac_cv_prog_gnu_ld
53781 # Start by getting the version number. I think the libtool test already
53782 # does some of this, but throws away the result.
53783 echo "$as_me:$LINENO: checking for ld version" >&5
53784 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
53786 ldver=`$LD --version 2>/dev/null | head -1 | \
53787 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53789 glibcxx_gnu_ld_version=`echo $ldver | \
53790 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53791 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
53792 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
53794 # Set --gc-sections.
53795 glibcxx_gcsections_min_ld=21602
53796 if test x"$with_gnu_ld" = x"yes" &&
53797 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53799 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53800 # NB: This flag only works reliably after 2.16.1. Configure tests
53801 # for this are difficult, so hard wire a value that should work.
53803 # All these tests are for C++, but run with the "C" compiler driver.
53804 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
53805 ac_test_CFLAGS="${CFLAGS+set}"
53806 ac_save_CFLAGS="$CFLAGS"
53807 CFLAGS='-x c++ -Wl,--gc-sections'
53809 # Check for -Wl,--gc-sections
53810 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53811 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53812 if test x$gcc_no_link = xyes; then
53813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53815 { (exit 1); exit 1; }; }
53817 cat >conftest.$ac_ext <<_ACEOF
53818 /* confdefs.h. */
53819 _ACEOF
53820 cat confdefs.h >>conftest.$ac_ext
53821 cat >>conftest.$ac_ext <<_ACEOF
53822 /* end confdefs.h. */
53823 int one(void) { return 1; }
53824 int two(void) { return 2; }
53827 main ()
53829 two();
53831 return 0;
53833 _ACEOF
53834 rm -f conftest.$ac_objext conftest$ac_exeext
53835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53836 (eval $ac_link) 2>conftest.er1
53837 ac_status=$?
53838 grep -v '^ *+' conftest.er1 >conftest.err
53839 rm -f conftest.er1
53840 cat conftest.err >&5
53841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53842 (exit $ac_status); } &&
53843 { ac_try='test -z "$ac_c_werror_flag"
53844 || test ! -s conftest.err'
53845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53846 (eval $ac_try) 2>&5
53847 ac_status=$?
53848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53849 (exit $ac_status); }; } &&
53850 { ac_try='test -s conftest$ac_exeext'
53851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53852 (eval $ac_try) 2>&5
53853 ac_status=$?
53854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53855 (exit $ac_status); }; }; then
53856 ac_gcsections=yes
53857 else
53858 echo "$as_me: failed program was:" >&5
53859 sed 's/^/| /' conftest.$ac_ext >&5
53861 ac_gcsections=no
53863 rm -f conftest.err conftest.$ac_objext \
53864 conftest$ac_exeext conftest.$ac_ext
53865 if test "$ac_gcsections" = "yes"; then
53866 rm -f conftest.c
53867 touch conftest.c
53868 if $CC -c conftest.c; then
53869 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53870 grep "Warning: gc-sections option ignored" > /dev/null; then
53871 ac_gcsections=no
53874 rm -f conftest.c conftest.o conftest
53876 if test "$ac_gcsections" = "yes"; then
53877 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53879 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
53880 echo "${ECHO_T}$ac_gcsections" >&6
53882 if test "$ac_test_CFLAGS" = set; then
53883 CFLAGS="$ac_save_CFLAGS"
53884 else
53885 # this is the suspicious part
53886 CFLAGS=''
53890 # Set -z,relro.
53891 # Note this is only for shared objects.
53892 ac_ld_relro=no
53893 if test x"$with_gnu_ld" = x"yes"; then
53894 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
53895 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
53896 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53897 if test -n "$cxx_z_relo"; then
53898 OPT_LDFLAGS="-Wl,-z,relro"
53899 ac_ld_relro=yes
53901 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
53902 echo "${ECHO_T}$ac_ld_relro" >&6
53905 # Set linker optimization flags.
53906 if test x"$with_gnu_ld" = x"yes"; then
53907 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53914 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53915 ac_save_CXXFLAGS="$CXXFLAGS"
53916 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53918 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53919 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53920 if test "${ac_cv_lib_m_sin+set}" = set; then
53921 echo $ECHO_N "(cached) $ECHO_C" >&6
53922 else
53923 ac_check_lib_save_LIBS=$LIBS
53924 LIBS="-lm $LIBS"
53925 if test x$gcc_no_link = xyes; then
53926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53928 { (exit 1); exit 1; }; }
53930 cat >conftest.$ac_ext <<_ACEOF
53931 /* confdefs.h. */
53932 _ACEOF
53933 cat confdefs.h >>conftest.$ac_ext
53934 cat >>conftest.$ac_ext <<_ACEOF
53935 /* end confdefs.h. */
53937 /* Override any gcc2 internal prototype to avoid an error. */
53938 #ifdef __cplusplus
53939 extern "C"
53940 #endif
53941 /* We use char because int might match the return type of a gcc2
53942 builtin and then its argument prototype would still apply. */
53943 char sin ();
53945 main ()
53947 sin ();
53949 return 0;
53951 _ACEOF
53952 rm -f conftest.$ac_objext conftest$ac_exeext
53953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53954 (eval $ac_link) 2>conftest.er1
53955 ac_status=$?
53956 grep -v '^ *+' conftest.er1 >conftest.err
53957 rm -f conftest.er1
53958 cat conftest.err >&5
53959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53960 (exit $ac_status); } &&
53961 { ac_try='test -z "$ac_c_werror_flag"
53962 || test ! -s conftest.err'
53963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53964 (eval $ac_try) 2>&5
53965 ac_status=$?
53966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53967 (exit $ac_status); }; } &&
53968 { ac_try='test -s conftest$ac_exeext'
53969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53970 (eval $ac_try) 2>&5
53971 ac_status=$?
53972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53973 (exit $ac_status); }; }; then
53974 ac_cv_lib_m_sin=yes
53975 else
53976 echo "$as_me: failed program was:" >&5
53977 sed 's/^/| /' conftest.$ac_ext >&5
53979 ac_cv_lib_m_sin=no
53981 rm -f conftest.err conftest.$ac_objext \
53982 conftest$ac_exeext conftest.$ac_ext
53983 LIBS=$ac_check_lib_save_LIBS
53985 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53986 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53987 if test $ac_cv_lib_m_sin = yes; then
53988 libm="-lm"
53991 ac_save_LIBS="$LIBS"
53992 LIBS="$LIBS $libm"
53996 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53997 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53998 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53999 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54000 echo $ECHO_N "(cached) $ECHO_C" >&6
54001 else
54005 ac_ext=cc
54006 ac_cpp='$CXXCPP $CPPFLAGS'
54007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54011 cat >conftest.$ac_ext <<_ACEOF
54012 /* confdefs.h. */
54013 _ACEOF
54014 cat confdefs.h >>conftest.$ac_ext
54015 cat >>conftest.$ac_ext <<_ACEOF
54016 /* end confdefs.h. */
54017 #include <math.h>
54018 #ifdef HAVE_IEEEFP_H
54019 #include <ieeefp.h>
54020 #endif
54023 main ()
54025 isinf(0);
54027 return 0;
54029 _ACEOF
54030 rm -f conftest.$ac_objext
54031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54032 (eval $ac_compile) 2>conftest.er1
54033 ac_status=$?
54034 grep -v '^ *+' conftest.er1 >conftest.err
54035 rm -f conftest.er1
54036 cat conftest.err >&5
54037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54038 (exit $ac_status); } &&
54039 { ac_try='test -z "$ac_cxx_werror_flag"
54040 || test ! -s conftest.err'
54041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54042 (eval $ac_try) 2>&5
54043 ac_status=$?
54044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54045 (exit $ac_status); }; } &&
54046 { ac_try='test -s conftest.$ac_objext'
54047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54048 (eval $ac_try) 2>&5
54049 ac_status=$?
54050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54051 (exit $ac_status); }; }; then
54052 glibcxx_cv_func_isinf_use=yes
54053 else
54054 echo "$as_me: failed program was:" >&5
54055 sed 's/^/| /' conftest.$ac_ext >&5
54057 glibcxx_cv_func_isinf_use=no
54059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54060 ac_ext=c
54061 ac_cpp='$CPP $CPPFLAGS'
54062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54071 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54073 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54075 for ac_func in isinf
54077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54078 echo "$as_me:$LINENO: checking for $ac_func" >&5
54079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54080 if eval "test \"\${$as_ac_var+set}\" = set"; then
54081 echo $ECHO_N "(cached) $ECHO_C" >&6
54082 else
54083 if test x$gcc_no_link = xyes; then
54084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54086 { (exit 1); exit 1; }; }
54088 cat >conftest.$ac_ext <<_ACEOF
54089 /* confdefs.h. */
54090 _ACEOF
54091 cat confdefs.h >>conftest.$ac_ext
54092 cat >>conftest.$ac_ext <<_ACEOF
54093 /* end confdefs.h. */
54094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54096 #define $ac_func innocuous_$ac_func
54098 /* System header to define __stub macros and hopefully few prototypes,
54099 which can conflict with char $ac_func (); below.
54100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54101 <limits.h> exists even on freestanding compilers. */
54103 #ifdef __STDC__
54104 # include <limits.h>
54105 #else
54106 # include <assert.h>
54107 #endif
54109 #undef $ac_func
54111 /* Override any gcc2 internal prototype to avoid an error. */
54112 #ifdef __cplusplus
54113 extern "C"
54115 #endif
54116 /* We use char because int might match the return type of a gcc2
54117 builtin and then its argument prototype would still apply. */
54118 char $ac_func ();
54119 /* The GNU C library defines this for functions which it implements
54120 to always fail with ENOSYS. Some functions are actually named
54121 something starting with __ and the normal name is an alias. */
54122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54123 choke me
54124 #else
54125 char (*f) () = $ac_func;
54126 #endif
54127 #ifdef __cplusplus
54129 #endif
54132 main ()
54134 return f != $ac_func;
54136 return 0;
54138 _ACEOF
54139 rm -f conftest.$ac_objext conftest$ac_exeext
54140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54141 (eval $ac_link) 2>conftest.er1
54142 ac_status=$?
54143 grep -v '^ *+' conftest.er1 >conftest.err
54144 rm -f conftest.er1
54145 cat conftest.err >&5
54146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54147 (exit $ac_status); } &&
54148 { ac_try='test -z "$ac_c_werror_flag"
54149 || test ! -s conftest.err'
54150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54151 (eval $ac_try) 2>&5
54152 ac_status=$?
54153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54154 (exit $ac_status); }; } &&
54155 { ac_try='test -s conftest$ac_exeext'
54156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54157 (eval $ac_try) 2>&5
54158 ac_status=$?
54159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54160 (exit $ac_status); }; }; then
54161 eval "$as_ac_var=yes"
54162 else
54163 echo "$as_me: failed program was:" >&5
54164 sed 's/^/| /' conftest.$ac_ext >&5
54166 eval "$as_ac_var=no"
54168 rm -f conftest.err conftest.$ac_objext \
54169 conftest$ac_exeext conftest.$ac_ext
54171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54173 if test `eval echo '${'$as_ac_var'}'` = yes; then
54174 cat >>confdefs.h <<_ACEOF
54175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54176 _ACEOF
54179 done
54181 else
54183 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54184 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54185 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54186 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54187 echo $ECHO_N "(cached) $ECHO_C" >&6
54188 else
54192 ac_ext=cc
54193 ac_cpp='$CXXCPP $CPPFLAGS'
54194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54198 cat >conftest.$ac_ext <<_ACEOF
54199 /* confdefs.h. */
54200 _ACEOF
54201 cat confdefs.h >>conftest.$ac_ext
54202 cat >>conftest.$ac_ext <<_ACEOF
54203 /* end confdefs.h. */
54204 #include <math.h>
54205 #ifdef HAVE_IEEEFP_H
54206 #include <ieeefp.h>
54207 #endif
54210 main ()
54212 _isinf(0);
54214 return 0;
54216 _ACEOF
54217 rm -f conftest.$ac_objext
54218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54219 (eval $ac_compile) 2>conftest.er1
54220 ac_status=$?
54221 grep -v '^ *+' conftest.er1 >conftest.err
54222 rm -f conftest.er1
54223 cat conftest.err >&5
54224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54225 (exit $ac_status); } &&
54226 { ac_try='test -z "$ac_cxx_werror_flag"
54227 || test ! -s conftest.err'
54228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54229 (eval $ac_try) 2>&5
54230 ac_status=$?
54231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54232 (exit $ac_status); }; } &&
54233 { ac_try='test -s conftest.$ac_objext'
54234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54235 (eval $ac_try) 2>&5
54236 ac_status=$?
54237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54238 (exit $ac_status); }; }; then
54239 glibcxx_cv_func__isinf_use=yes
54240 else
54241 echo "$as_me: failed program was:" >&5
54242 sed 's/^/| /' conftest.$ac_ext >&5
54244 glibcxx_cv_func__isinf_use=no
54246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54247 ac_ext=c
54248 ac_cpp='$CPP $CPPFLAGS'
54249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54257 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54258 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54260 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54262 for ac_func in _isinf
54264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54265 echo "$as_me:$LINENO: checking for $ac_func" >&5
54266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54267 if eval "test \"\${$as_ac_var+set}\" = set"; then
54268 echo $ECHO_N "(cached) $ECHO_C" >&6
54269 else
54270 if test x$gcc_no_link = xyes; then
54271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54273 { (exit 1); exit 1; }; }
54275 cat >conftest.$ac_ext <<_ACEOF
54276 /* confdefs.h. */
54277 _ACEOF
54278 cat confdefs.h >>conftest.$ac_ext
54279 cat >>conftest.$ac_ext <<_ACEOF
54280 /* end confdefs.h. */
54281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54283 #define $ac_func innocuous_$ac_func
54285 /* System header to define __stub macros and hopefully few prototypes,
54286 which can conflict with char $ac_func (); below.
54287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54288 <limits.h> exists even on freestanding compilers. */
54290 #ifdef __STDC__
54291 # include <limits.h>
54292 #else
54293 # include <assert.h>
54294 #endif
54296 #undef $ac_func
54298 /* Override any gcc2 internal prototype to avoid an error. */
54299 #ifdef __cplusplus
54300 extern "C"
54302 #endif
54303 /* We use char because int might match the return type of a gcc2
54304 builtin and then its argument prototype would still apply. */
54305 char $ac_func ();
54306 /* The GNU C library defines this for functions which it implements
54307 to always fail with ENOSYS. Some functions are actually named
54308 something starting with __ and the normal name is an alias. */
54309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54310 choke me
54311 #else
54312 char (*f) () = $ac_func;
54313 #endif
54314 #ifdef __cplusplus
54316 #endif
54319 main ()
54321 return f != $ac_func;
54323 return 0;
54325 _ACEOF
54326 rm -f conftest.$ac_objext conftest$ac_exeext
54327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54328 (eval $ac_link) 2>conftest.er1
54329 ac_status=$?
54330 grep -v '^ *+' conftest.er1 >conftest.err
54331 rm -f conftest.er1
54332 cat conftest.err >&5
54333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54334 (exit $ac_status); } &&
54335 { ac_try='test -z "$ac_c_werror_flag"
54336 || test ! -s conftest.err'
54337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54338 (eval $ac_try) 2>&5
54339 ac_status=$?
54340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54341 (exit $ac_status); }; } &&
54342 { ac_try='test -s conftest$ac_exeext'
54343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54344 (eval $ac_try) 2>&5
54345 ac_status=$?
54346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54347 (exit $ac_status); }; }; then
54348 eval "$as_ac_var=yes"
54349 else
54350 echo "$as_me: failed program was:" >&5
54351 sed 's/^/| /' conftest.$ac_ext >&5
54353 eval "$as_ac_var=no"
54355 rm -f conftest.err conftest.$ac_objext \
54356 conftest$ac_exeext conftest.$ac_ext
54358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54360 if test `eval echo '${'$as_ac_var'}'` = yes; then
54361 cat >>confdefs.h <<_ACEOF
54362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54363 _ACEOF
54366 done
54376 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54377 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54378 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54379 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54380 echo $ECHO_N "(cached) $ECHO_C" >&6
54381 else
54385 ac_ext=cc
54386 ac_cpp='$CXXCPP $CPPFLAGS'
54387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54391 cat >conftest.$ac_ext <<_ACEOF
54392 /* confdefs.h. */
54393 _ACEOF
54394 cat confdefs.h >>conftest.$ac_ext
54395 cat >>conftest.$ac_ext <<_ACEOF
54396 /* end confdefs.h. */
54397 #include <math.h>
54398 #ifdef HAVE_IEEEFP_H
54399 #include <ieeefp.h>
54400 #endif
54403 main ()
54405 isnan(0);
54407 return 0;
54409 _ACEOF
54410 rm -f conftest.$ac_objext
54411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54412 (eval $ac_compile) 2>conftest.er1
54413 ac_status=$?
54414 grep -v '^ *+' conftest.er1 >conftest.err
54415 rm -f conftest.er1
54416 cat conftest.err >&5
54417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54418 (exit $ac_status); } &&
54419 { ac_try='test -z "$ac_cxx_werror_flag"
54420 || test ! -s conftest.err'
54421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54422 (eval $ac_try) 2>&5
54423 ac_status=$?
54424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54425 (exit $ac_status); }; } &&
54426 { ac_try='test -s conftest.$ac_objext'
54427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54428 (eval $ac_try) 2>&5
54429 ac_status=$?
54430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54431 (exit $ac_status); }; }; then
54432 glibcxx_cv_func_isnan_use=yes
54433 else
54434 echo "$as_me: failed program was:" >&5
54435 sed 's/^/| /' conftest.$ac_ext >&5
54437 glibcxx_cv_func_isnan_use=no
54439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54440 ac_ext=c
54441 ac_cpp='$CPP $CPPFLAGS'
54442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54450 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54451 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54453 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54455 for ac_func in isnan
54457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54458 echo "$as_me:$LINENO: checking for $ac_func" >&5
54459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54460 if eval "test \"\${$as_ac_var+set}\" = set"; then
54461 echo $ECHO_N "(cached) $ECHO_C" >&6
54462 else
54463 if test x$gcc_no_link = xyes; then
54464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54466 { (exit 1); exit 1; }; }
54468 cat >conftest.$ac_ext <<_ACEOF
54469 /* confdefs.h. */
54470 _ACEOF
54471 cat confdefs.h >>conftest.$ac_ext
54472 cat >>conftest.$ac_ext <<_ACEOF
54473 /* end confdefs.h. */
54474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54476 #define $ac_func innocuous_$ac_func
54478 /* System header to define __stub macros and hopefully few prototypes,
54479 which can conflict with char $ac_func (); below.
54480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54481 <limits.h> exists even on freestanding compilers. */
54483 #ifdef __STDC__
54484 # include <limits.h>
54485 #else
54486 # include <assert.h>
54487 #endif
54489 #undef $ac_func
54491 /* Override any gcc2 internal prototype to avoid an error. */
54492 #ifdef __cplusplus
54493 extern "C"
54495 #endif
54496 /* We use char because int might match the return type of a gcc2
54497 builtin and then its argument prototype would still apply. */
54498 char $ac_func ();
54499 /* The GNU C library defines this for functions which it implements
54500 to always fail with ENOSYS. Some functions are actually named
54501 something starting with __ and the normal name is an alias. */
54502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54503 choke me
54504 #else
54505 char (*f) () = $ac_func;
54506 #endif
54507 #ifdef __cplusplus
54509 #endif
54512 main ()
54514 return f != $ac_func;
54516 return 0;
54518 _ACEOF
54519 rm -f conftest.$ac_objext conftest$ac_exeext
54520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54521 (eval $ac_link) 2>conftest.er1
54522 ac_status=$?
54523 grep -v '^ *+' conftest.er1 >conftest.err
54524 rm -f conftest.er1
54525 cat conftest.err >&5
54526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54527 (exit $ac_status); } &&
54528 { ac_try='test -z "$ac_c_werror_flag"
54529 || test ! -s conftest.err'
54530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54531 (eval $ac_try) 2>&5
54532 ac_status=$?
54533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54534 (exit $ac_status); }; } &&
54535 { ac_try='test -s conftest$ac_exeext'
54536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54537 (eval $ac_try) 2>&5
54538 ac_status=$?
54539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54540 (exit $ac_status); }; }; then
54541 eval "$as_ac_var=yes"
54542 else
54543 echo "$as_me: failed program was:" >&5
54544 sed 's/^/| /' conftest.$ac_ext >&5
54546 eval "$as_ac_var=no"
54548 rm -f conftest.err conftest.$ac_objext \
54549 conftest$ac_exeext conftest.$ac_ext
54551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54553 if test `eval echo '${'$as_ac_var'}'` = yes; then
54554 cat >>confdefs.h <<_ACEOF
54555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54556 _ACEOF
54559 done
54561 else
54563 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54564 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54565 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54566 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54567 echo $ECHO_N "(cached) $ECHO_C" >&6
54568 else
54572 ac_ext=cc
54573 ac_cpp='$CXXCPP $CPPFLAGS'
54574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54578 cat >conftest.$ac_ext <<_ACEOF
54579 /* confdefs.h. */
54580 _ACEOF
54581 cat confdefs.h >>conftest.$ac_ext
54582 cat >>conftest.$ac_ext <<_ACEOF
54583 /* end confdefs.h. */
54584 #include <math.h>
54585 #ifdef HAVE_IEEEFP_H
54586 #include <ieeefp.h>
54587 #endif
54590 main ()
54592 _isnan(0);
54594 return 0;
54596 _ACEOF
54597 rm -f conftest.$ac_objext
54598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54599 (eval $ac_compile) 2>conftest.er1
54600 ac_status=$?
54601 grep -v '^ *+' conftest.er1 >conftest.err
54602 rm -f conftest.er1
54603 cat conftest.err >&5
54604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54605 (exit $ac_status); } &&
54606 { ac_try='test -z "$ac_cxx_werror_flag"
54607 || test ! -s conftest.err'
54608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54609 (eval $ac_try) 2>&5
54610 ac_status=$?
54611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54612 (exit $ac_status); }; } &&
54613 { ac_try='test -s conftest.$ac_objext'
54614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54615 (eval $ac_try) 2>&5
54616 ac_status=$?
54617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54618 (exit $ac_status); }; }; then
54619 glibcxx_cv_func__isnan_use=yes
54620 else
54621 echo "$as_me: failed program was:" >&5
54622 sed 's/^/| /' conftest.$ac_ext >&5
54624 glibcxx_cv_func__isnan_use=no
54626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54627 ac_ext=c
54628 ac_cpp='$CPP $CPPFLAGS'
54629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54637 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54638 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54640 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54642 for ac_func in _isnan
54644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54645 echo "$as_me:$LINENO: checking for $ac_func" >&5
54646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54647 if eval "test \"\${$as_ac_var+set}\" = set"; then
54648 echo $ECHO_N "(cached) $ECHO_C" >&6
54649 else
54650 if test x$gcc_no_link = xyes; then
54651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54653 { (exit 1); exit 1; }; }
54655 cat >conftest.$ac_ext <<_ACEOF
54656 /* confdefs.h. */
54657 _ACEOF
54658 cat confdefs.h >>conftest.$ac_ext
54659 cat >>conftest.$ac_ext <<_ACEOF
54660 /* end confdefs.h. */
54661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54663 #define $ac_func innocuous_$ac_func
54665 /* System header to define __stub macros and hopefully few prototypes,
54666 which can conflict with char $ac_func (); below.
54667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54668 <limits.h> exists even on freestanding compilers. */
54670 #ifdef __STDC__
54671 # include <limits.h>
54672 #else
54673 # include <assert.h>
54674 #endif
54676 #undef $ac_func
54678 /* Override any gcc2 internal prototype to avoid an error. */
54679 #ifdef __cplusplus
54680 extern "C"
54682 #endif
54683 /* We use char because int might match the return type of a gcc2
54684 builtin and then its argument prototype would still apply. */
54685 char $ac_func ();
54686 /* The GNU C library defines this for functions which it implements
54687 to always fail with ENOSYS. Some functions are actually named
54688 something starting with __ and the normal name is an alias. */
54689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54690 choke me
54691 #else
54692 char (*f) () = $ac_func;
54693 #endif
54694 #ifdef __cplusplus
54696 #endif
54699 main ()
54701 return f != $ac_func;
54703 return 0;
54705 _ACEOF
54706 rm -f conftest.$ac_objext conftest$ac_exeext
54707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54708 (eval $ac_link) 2>conftest.er1
54709 ac_status=$?
54710 grep -v '^ *+' conftest.er1 >conftest.err
54711 rm -f conftest.er1
54712 cat conftest.err >&5
54713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54714 (exit $ac_status); } &&
54715 { ac_try='test -z "$ac_c_werror_flag"
54716 || test ! -s conftest.err'
54717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54718 (eval $ac_try) 2>&5
54719 ac_status=$?
54720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54721 (exit $ac_status); }; } &&
54722 { ac_try='test -s conftest$ac_exeext'
54723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54724 (eval $ac_try) 2>&5
54725 ac_status=$?
54726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54727 (exit $ac_status); }; }; then
54728 eval "$as_ac_var=yes"
54729 else
54730 echo "$as_me: failed program was:" >&5
54731 sed 's/^/| /' conftest.$ac_ext >&5
54733 eval "$as_ac_var=no"
54735 rm -f conftest.err conftest.$ac_objext \
54736 conftest$ac_exeext conftest.$ac_ext
54738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54740 if test `eval echo '${'$as_ac_var'}'` = yes; then
54741 cat >>confdefs.h <<_ACEOF
54742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54743 _ACEOF
54746 done
54756 echo "$as_me:$LINENO: checking for finite declaration" >&5
54757 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54758 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54759 if test "${glibcxx_cv_func_finite_use+set}" = set; then
54760 echo $ECHO_N "(cached) $ECHO_C" >&6
54761 else
54765 ac_ext=cc
54766 ac_cpp='$CXXCPP $CPPFLAGS'
54767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54771 cat >conftest.$ac_ext <<_ACEOF
54772 /* confdefs.h. */
54773 _ACEOF
54774 cat confdefs.h >>conftest.$ac_ext
54775 cat >>conftest.$ac_ext <<_ACEOF
54776 /* end confdefs.h. */
54777 #include <math.h>
54778 #ifdef HAVE_IEEEFP_H
54779 #include <ieeefp.h>
54780 #endif
54783 main ()
54785 finite(0);
54787 return 0;
54789 _ACEOF
54790 rm -f conftest.$ac_objext
54791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54792 (eval $ac_compile) 2>conftest.er1
54793 ac_status=$?
54794 grep -v '^ *+' conftest.er1 >conftest.err
54795 rm -f conftest.er1
54796 cat conftest.err >&5
54797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54798 (exit $ac_status); } &&
54799 { ac_try='test -z "$ac_cxx_werror_flag"
54800 || test ! -s conftest.err'
54801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54802 (eval $ac_try) 2>&5
54803 ac_status=$?
54804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54805 (exit $ac_status); }; } &&
54806 { ac_try='test -s conftest.$ac_objext'
54807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54808 (eval $ac_try) 2>&5
54809 ac_status=$?
54810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54811 (exit $ac_status); }; }; then
54812 glibcxx_cv_func_finite_use=yes
54813 else
54814 echo "$as_me: failed program was:" >&5
54815 sed 's/^/| /' conftest.$ac_ext >&5
54817 glibcxx_cv_func_finite_use=no
54819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54820 ac_ext=c
54821 ac_cpp='$CPP $CPPFLAGS'
54822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54830 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54831 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54833 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54835 for ac_func in finite
54837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54838 echo "$as_me:$LINENO: checking for $ac_func" >&5
54839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54840 if eval "test \"\${$as_ac_var+set}\" = set"; then
54841 echo $ECHO_N "(cached) $ECHO_C" >&6
54842 else
54843 if test x$gcc_no_link = xyes; then
54844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54846 { (exit 1); exit 1; }; }
54848 cat >conftest.$ac_ext <<_ACEOF
54849 /* confdefs.h. */
54850 _ACEOF
54851 cat confdefs.h >>conftest.$ac_ext
54852 cat >>conftest.$ac_ext <<_ACEOF
54853 /* end confdefs.h. */
54854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54856 #define $ac_func innocuous_$ac_func
54858 /* System header to define __stub macros and hopefully few prototypes,
54859 which can conflict with char $ac_func (); below.
54860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54861 <limits.h> exists even on freestanding compilers. */
54863 #ifdef __STDC__
54864 # include <limits.h>
54865 #else
54866 # include <assert.h>
54867 #endif
54869 #undef $ac_func
54871 /* Override any gcc2 internal prototype to avoid an error. */
54872 #ifdef __cplusplus
54873 extern "C"
54875 #endif
54876 /* We use char because int might match the return type of a gcc2
54877 builtin and then its argument prototype would still apply. */
54878 char $ac_func ();
54879 /* The GNU C library defines this for functions which it implements
54880 to always fail with ENOSYS. Some functions are actually named
54881 something starting with __ and the normal name is an alias. */
54882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54883 choke me
54884 #else
54885 char (*f) () = $ac_func;
54886 #endif
54887 #ifdef __cplusplus
54889 #endif
54892 main ()
54894 return f != $ac_func;
54896 return 0;
54898 _ACEOF
54899 rm -f conftest.$ac_objext conftest$ac_exeext
54900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54901 (eval $ac_link) 2>conftest.er1
54902 ac_status=$?
54903 grep -v '^ *+' conftest.er1 >conftest.err
54904 rm -f conftest.er1
54905 cat conftest.err >&5
54906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54907 (exit $ac_status); } &&
54908 { ac_try='test -z "$ac_c_werror_flag"
54909 || test ! -s conftest.err'
54910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54911 (eval $ac_try) 2>&5
54912 ac_status=$?
54913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54914 (exit $ac_status); }; } &&
54915 { ac_try='test -s conftest$ac_exeext'
54916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54917 (eval $ac_try) 2>&5
54918 ac_status=$?
54919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54920 (exit $ac_status); }; }; then
54921 eval "$as_ac_var=yes"
54922 else
54923 echo "$as_me: failed program was:" >&5
54924 sed 's/^/| /' conftest.$ac_ext >&5
54926 eval "$as_ac_var=no"
54928 rm -f conftest.err conftest.$ac_objext \
54929 conftest$ac_exeext conftest.$ac_ext
54931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54933 if test `eval echo '${'$as_ac_var'}'` = yes; then
54934 cat >>confdefs.h <<_ACEOF
54935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54936 _ACEOF
54939 done
54941 else
54943 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54944 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54945 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54946 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54947 echo $ECHO_N "(cached) $ECHO_C" >&6
54948 else
54952 ac_ext=cc
54953 ac_cpp='$CXXCPP $CPPFLAGS'
54954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54958 cat >conftest.$ac_ext <<_ACEOF
54959 /* confdefs.h. */
54960 _ACEOF
54961 cat confdefs.h >>conftest.$ac_ext
54962 cat >>conftest.$ac_ext <<_ACEOF
54963 /* end confdefs.h. */
54964 #include <math.h>
54965 #ifdef HAVE_IEEEFP_H
54966 #include <ieeefp.h>
54967 #endif
54970 main ()
54972 _finite(0);
54974 return 0;
54976 _ACEOF
54977 rm -f conftest.$ac_objext
54978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54979 (eval $ac_compile) 2>conftest.er1
54980 ac_status=$?
54981 grep -v '^ *+' conftest.er1 >conftest.err
54982 rm -f conftest.er1
54983 cat conftest.err >&5
54984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54985 (exit $ac_status); } &&
54986 { ac_try='test -z "$ac_cxx_werror_flag"
54987 || test ! -s conftest.err'
54988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54989 (eval $ac_try) 2>&5
54990 ac_status=$?
54991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54992 (exit $ac_status); }; } &&
54993 { ac_try='test -s conftest.$ac_objext'
54994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54995 (eval $ac_try) 2>&5
54996 ac_status=$?
54997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54998 (exit $ac_status); }; }; then
54999 glibcxx_cv_func__finite_use=yes
55000 else
55001 echo "$as_me: failed program was:" >&5
55002 sed 's/^/| /' conftest.$ac_ext >&5
55004 glibcxx_cv_func__finite_use=no
55006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55007 ac_ext=c
55008 ac_cpp='$CPP $CPPFLAGS'
55009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55017 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55018 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55020 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55022 for ac_func in _finite
55024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55025 echo "$as_me:$LINENO: checking for $ac_func" >&5
55026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55027 if eval "test \"\${$as_ac_var+set}\" = set"; then
55028 echo $ECHO_N "(cached) $ECHO_C" >&6
55029 else
55030 if test x$gcc_no_link = xyes; then
55031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55033 { (exit 1); exit 1; }; }
55035 cat >conftest.$ac_ext <<_ACEOF
55036 /* confdefs.h. */
55037 _ACEOF
55038 cat confdefs.h >>conftest.$ac_ext
55039 cat >>conftest.$ac_ext <<_ACEOF
55040 /* end confdefs.h. */
55041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55043 #define $ac_func innocuous_$ac_func
55045 /* System header to define __stub macros and hopefully few prototypes,
55046 which can conflict with char $ac_func (); below.
55047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55048 <limits.h> exists even on freestanding compilers. */
55050 #ifdef __STDC__
55051 # include <limits.h>
55052 #else
55053 # include <assert.h>
55054 #endif
55056 #undef $ac_func
55058 /* Override any gcc2 internal prototype to avoid an error. */
55059 #ifdef __cplusplus
55060 extern "C"
55062 #endif
55063 /* We use char because int might match the return type of a gcc2
55064 builtin and then its argument prototype would still apply. */
55065 char $ac_func ();
55066 /* The GNU C library defines this for functions which it implements
55067 to always fail with ENOSYS. Some functions are actually named
55068 something starting with __ and the normal name is an alias. */
55069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55070 choke me
55071 #else
55072 char (*f) () = $ac_func;
55073 #endif
55074 #ifdef __cplusplus
55076 #endif
55079 main ()
55081 return f != $ac_func;
55083 return 0;
55085 _ACEOF
55086 rm -f conftest.$ac_objext conftest$ac_exeext
55087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55088 (eval $ac_link) 2>conftest.er1
55089 ac_status=$?
55090 grep -v '^ *+' conftest.er1 >conftest.err
55091 rm -f conftest.er1
55092 cat conftest.err >&5
55093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55094 (exit $ac_status); } &&
55095 { ac_try='test -z "$ac_c_werror_flag"
55096 || test ! -s conftest.err'
55097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55098 (eval $ac_try) 2>&5
55099 ac_status=$?
55100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55101 (exit $ac_status); }; } &&
55102 { ac_try='test -s conftest$ac_exeext'
55103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55104 (eval $ac_try) 2>&5
55105 ac_status=$?
55106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55107 (exit $ac_status); }; }; then
55108 eval "$as_ac_var=yes"
55109 else
55110 echo "$as_me: failed program was:" >&5
55111 sed 's/^/| /' conftest.$ac_ext >&5
55113 eval "$as_ac_var=no"
55115 rm -f conftest.err conftest.$ac_objext \
55116 conftest$ac_exeext conftest.$ac_ext
55118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55120 if test `eval echo '${'$as_ac_var'}'` = yes; then
55121 cat >>confdefs.h <<_ACEOF
55122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55123 _ACEOF
55126 done
55136 echo "$as_me:$LINENO: checking for copysign declaration" >&5
55137 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55138 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55139 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55140 echo $ECHO_N "(cached) $ECHO_C" >&6
55141 else
55145 ac_ext=cc
55146 ac_cpp='$CXXCPP $CPPFLAGS'
55147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55151 cat >conftest.$ac_ext <<_ACEOF
55152 /* confdefs.h. */
55153 _ACEOF
55154 cat confdefs.h >>conftest.$ac_ext
55155 cat >>conftest.$ac_ext <<_ACEOF
55156 /* end confdefs.h. */
55157 #include <math.h>
55159 main ()
55161 copysign(0, 0);
55163 return 0;
55165 _ACEOF
55166 rm -f conftest.$ac_objext
55167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55168 (eval $ac_compile) 2>conftest.er1
55169 ac_status=$?
55170 grep -v '^ *+' conftest.er1 >conftest.err
55171 rm -f conftest.er1
55172 cat conftest.err >&5
55173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55174 (exit $ac_status); } &&
55175 { ac_try='test -z "$ac_cxx_werror_flag"
55176 || test ! -s conftest.err'
55177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55178 (eval $ac_try) 2>&5
55179 ac_status=$?
55180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55181 (exit $ac_status); }; } &&
55182 { ac_try='test -s conftest.$ac_objext'
55183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55184 (eval $ac_try) 2>&5
55185 ac_status=$?
55186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55187 (exit $ac_status); }; }; then
55188 glibcxx_cv_func_copysign_use=yes
55189 else
55190 echo "$as_me: failed program was:" >&5
55191 sed 's/^/| /' conftest.$ac_ext >&5
55193 glibcxx_cv_func_copysign_use=no
55195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55196 ac_ext=c
55197 ac_cpp='$CPP $CPPFLAGS'
55198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55206 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55207 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55209 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55211 for ac_func in copysign
55213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55214 echo "$as_me:$LINENO: checking for $ac_func" >&5
55215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55216 if eval "test \"\${$as_ac_var+set}\" = set"; then
55217 echo $ECHO_N "(cached) $ECHO_C" >&6
55218 else
55219 if test x$gcc_no_link = xyes; then
55220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55222 { (exit 1); exit 1; }; }
55224 cat >conftest.$ac_ext <<_ACEOF
55225 /* confdefs.h. */
55226 _ACEOF
55227 cat confdefs.h >>conftest.$ac_ext
55228 cat >>conftest.$ac_ext <<_ACEOF
55229 /* end confdefs.h. */
55230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55232 #define $ac_func innocuous_$ac_func
55234 /* System header to define __stub macros and hopefully few prototypes,
55235 which can conflict with char $ac_func (); below.
55236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55237 <limits.h> exists even on freestanding compilers. */
55239 #ifdef __STDC__
55240 # include <limits.h>
55241 #else
55242 # include <assert.h>
55243 #endif
55245 #undef $ac_func
55247 /* Override any gcc2 internal prototype to avoid an error. */
55248 #ifdef __cplusplus
55249 extern "C"
55251 #endif
55252 /* We use char because int might match the return type of a gcc2
55253 builtin and then its argument prototype would still apply. */
55254 char $ac_func ();
55255 /* The GNU C library defines this for functions which it implements
55256 to always fail with ENOSYS. Some functions are actually named
55257 something starting with __ and the normal name is an alias. */
55258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55259 choke me
55260 #else
55261 char (*f) () = $ac_func;
55262 #endif
55263 #ifdef __cplusplus
55265 #endif
55268 main ()
55270 return f != $ac_func;
55272 return 0;
55274 _ACEOF
55275 rm -f conftest.$ac_objext conftest$ac_exeext
55276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55277 (eval $ac_link) 2>conftest.er1
55278 ac_status=$?
55279 grep -v '^ *+' conftest.er1 >conftest.err
55280 rm -f conftest.er1
55281 cat conftest.err >&5
55282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55283 (exit $ac_status); } &&
55284 { ac_try='test -z "$ac_c_werror_flag"
55285 || test ! -s conftest.err'
55286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55287 (eval $ac_try) 2>&5
55288 ac_status=$?
55289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55290 (exit $ac_status); }; } &&
55291 { ac_try='test -s conftest$ac_exeext'
55292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55293 (eval $ac_try) 2>&5
55294 ac_status=$?
55295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55296 (exit $ac_status); }; }; then
55297 eval "$as_ac_var=yes"
55298 else
55299 echo "$as_me: failed program was:" >&5
55300 sed 's/^/| /' conftest.$ac_ext >&5
55302 eval "$as_ac_var=no"
55304 rm -f conftest.err conftest.$ac_objext \
55305 conftest$ac_exeext conftest.$ac_ext
55307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55309 if test `eval echo '${'$as_ac_var'}'` = yes; then
55310 cat >>confdefs.h <<_ACEOF
55311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55312 _ACEOF
55315 done
55317 else
55319 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55320 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55321 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55322 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55323 echo $ECHO_N "(cached) $ECHO_C" >&6
55324 else
55328 ac_ext=cc
55329 ac_cpp='$CXXCPP $CPPFLAGS'
55330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55334 cat >conftest.$ac_ext <<_ACEOF
55335 /* confdefs.h. */
55336 _ACEOF
55337 cat confdefs.h >>conftest.$ac_ext
55338 cat >>conftest.$ac_ext <<_ACEOF
55339 /* end confdefs.h. */
55340 #include <math.h>
55342 main ()
55344 _copysign(0, 0);
55346 return 0;
55348 _ACEOF
55349 rm -f conftest.$ac_objext
55350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55351 (eval $ac_compile) 2>conftest.er1
55352 ac_status=$?
55353 grep -v '^ *+' conftest.er1 >conftest.err
55354 rm -f conftest.er1
55355 cat conftest.err >&5
55356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55357 (exit $ac_status); } &&
55358 { ac_try='test -z "$ac_cxx_werror_flag"
55359 || test ! -s conftest.err'
55360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55361 (eval $ac_try) 2>&5
55362 ac_status=$?
55363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55364 (exit $ac_status); }; } &&
55365 { ac_try='test -s conftest.$ac_objext'
55366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55367 (eval $ac_try) 2>&5
55368 ac_status=$?
55369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55370 (exit $ac_status); }; }; then
55371 glibcxx_cv_func__copysign_use=yes
55372 else
55373 echo "$as_me: failed program was:" >&5
55374 sed 's/^/| /' conftest.$ac_ext >&5
55376 glibcxx_cv_func__copysign_use=no
55378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55379 ac_ext=c
55380 ac_cpp='$CPP $CPPFLAGS'
55381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55389 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55390 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55392 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55394 for ac_func in _copysign
55396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55397 echo "$as_me:$LINENO: checking for $ac_func" >&5
55398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55399 if eval "test \"\${$as_ac_var+set}\" = set"; then
55400 echo $ECHO_N "(cached) $ECHO_C" >&6
55401 else
55402 if test x$gcc_no_link = xyes; then
55403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55405 { (exit 1); exit 1; }; }
55407 cat >conftest.$ac_ext <<_ACEOF
55408 /* confdefs.h. */
55409 _ACEOF
55410 cat confdefs.h >>conftest.$ac_ext
55411 cat >>conftest.$ac_ext <<_ACEOF
55412 /* end confdefs.h. */
55413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55415 #define $ac_func innocuous_$ac_func
55417 /* System header to define __stub macros and hopefully few prototypes,
55418 which can conflict with char $ac_func (); below.
55419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55420 <limits.h> exists even on freestanding compilers. */
55422 #ifdef __STDC__
55423 # include <limits.h>
55424 #else
55425 # include <assert.h>
55426 #endif
55428 #undef $ac_func
55430 /* Override any gcc2 internal prototype to avoid an error. */
55431 #ifdef __cplusplus
55432 extern "C"
55434 #endif
55435 /* We use char because int might match the return type of a gcc2
55436 builtin and then its argument prototype would still apply. */
55437 char $ac_func ();
55438 /* The GNU C library defines this for functions which it implements
55439 to always fail with ENOSYS. Some functions are actually named
55440 something starting with __ and the normal name is an alias. */
55441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55442 choke me
55443 #else
55444 char (*f) () = $ac_func;
55445 #endif
55446 #ifdef __cplusplus
55448 #endif
55451 main ()
55453 return f != $ac_func;
55455 return 0;
55457 _ACEOF
55458 rm -f conftest.$ac_objext conftest$ac_exeext
55459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55460 (eval $ac_link) 2>conftest.er1
55461 ac_status=$?
55462 grep -v '^ *+' conftest.er1 >conftest.err
55463 rm -f conftest.er1
55464 cat conftest.err >&5
55465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55466 (exit $ac_status); } &&
55467 { ac_try='test -z "$ac_c_werror_flag"
55468 || test ! -s conftest.err'
55469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55470 (eval $ac_try) 2>&5
55471 ac_status=$?
55472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55473 (exit $ac_status); }; } &&
55474 { ac_try='test -s conftest$ac_exeext'
55475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55476 (eval $ac_try) 2>&5
55477 ac_status=$?
55478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55479 (exit $ac_status); }; }; then
55480 eval "$as_ac_var=yes"
55481 else
55482 echo "$as_me: failed program was:" >&5
55483 sed 's/^/| /' conftest.$ac_ext >&5
55485 eval "$as_ac_var=no"
55487 rm -f conftest.err conftest.$ac_objext \
55488 conftest$ac_exeext conftest.$ac_ext
55490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55492 if test `eval echo '${'$as_ac_var'}'` = yes; then
55493 cat >>confdefs.h <<_ACEOF
55494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55495 _ACEOF
55498 done
55508 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55509 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55510 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55511 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55512 echo $ECHO_N "(cached) $ECHO_C" >&6
55513 else
55517 ac_ext=cc
55518 ac_cpp='$CXXCPP $CPPFLAGS'
55519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55523 cat >conftest.$ac_ext <<_ACEOF
55524 /* confdefs.h. */
55525 _ACEOF
55526 cat confdefs.h >>conftest.$ac_ext
55527 cat >>conftest.$ac_ext <<_ACEOF
55528 /* end confdefs.h. */
55529 #include <math.h>
55531 main ()
55533 sincos(0, 0, 0);
55535 return 0;
55537 _ACEOF
55538 rm -f conftest.$ac_objext
55539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55540 (eval $ac_compile) 2>conftest.er1
55541 ac_status=$?
55542 grep -v '^ *+' conftest.er1 >conftest.err
55543 rm -f conftest.er1
55544 cat conftest.err >&5
55545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55546 (exit $ac_status); } &&
55547 { ac_try='test -z "$ac_cxx_werror_flag"
55548 || test ! -s conftest.err'
55549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55550 (eval $ac_try) 2>&5
55551 ac_status=$?
55552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55553 (exit $ac_status); }; } &&
55554 { ac_try='test -s conftest.$ac_objext'
55555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55556 (eval $ac_try) 2>&5
55557 ac_status=$?
55558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55559 (exit $ac_status); }; }; then
55560 glibcxx_cv_func_sincos_use=yes
55561 else
55562 echo "$as_me: failed program was:" >&5
55563 sed 's/^/| /' conftest.$ac_ext >&5
55565 glibcxx_cv_func_sincos_use=no
55567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55568 ac_ext=c
55569 ac_cpp='$CPP $CPPFLAGS'
55570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55579 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55581 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55583 for ac_func in sincos
55585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55586 echo "$as_me:$LINENO: checking for $ac_func" >&5
55587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55588 if eval "test \"\${$as_ac_var+set}\" = set"; then
55589 echo $ECHO_N "(cached) $ECHO_C" >&6
55590 else
55591 if test x$gcc_no_link = xyes; then
55592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55594 { (exit 1); exit 1; }; }
55596 cat >conftest.$ac_ext <<_ACEOF
55597 /* confdefs.h. */
55598 _ACEOF
55599 cat confdefs.h >>conftest.$ac_ext
55600 cat >>conftest.$ac_ext <<_ACEOF
55601 /* end confdefs.h. */
55602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55604 #define $ac_func innocuous_$ac_func
55606 /* System header to define __stub macros and hopefully few prototypes,
55607 which can conflict with char $ac_func (); below.
55608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55609 <limits.h> exists even on freestanding compilers. */
55611 #ifdef __STDC__
55612 # include <limits.h>
55613 #else
55614 # include <assert.h>
55615 #endif
55617 #undef $ac_func
55619 /* Override any gcc2 internal prototype to avoid an error. */
55620 #ifdef __cplusplus
55621 extern "C"
55623 #endif
55624 /* We use char because int might match the return type of a gcc2
55625 builtin and then its argument prototype would still apply. */
55626 char $ac_func ();
55627 /* The GNU C library defines this for functions which it implements
55628 to always fail with ENOSYS. Some functions are actually named
55629 something starting with __ and the normal name is an alias. */
55630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55631 choke me
55632 #else
55633 char (*f) () = $ac_func;
55634 #endif
55635 #ifdef __cplusplus
55637 #endif
55640 main ()
55642 return f != $ac_func;
55644 return 0;
55646 _ACEOF
55647 rm -f conftest.$ac_objext conftest$ac_exeext
55648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55649 (eval $ac_link) 2>conftest.er1
55650 ac_status=$?
55651 grep -v '^ *+' conftest.er1 >conftest.err
55652 rm -f conftest.er1
55653 cat conftest.err >&5
55654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55655 (exit $ac_status); } &&
55656 { ac_try='test -z "$ac_c_werror_flag"
55657 || test ! -s conftest.err'
55658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55659 (eval $ac_try) 2>&5
55660 ac_status=$?
55661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55662 (exit $ac_status); }; } &&
55663 { ac_try='test -s conftest$ac_exeext'
55664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55665 (eval $ac_try) 2>&5
55666 ac_status=$?
55667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55668 (exit $ac_status); }; }; then
55669 eval "$as_ac_var=yes"
55670 else
55671 echo "$as_me: failed program was:" >&5
55672 sed 's/^/| /' conftest.$ac_ext >&5
55674 eval "$as_ac_var=no"
55676 rm -f conftest.err conftest.$ac_objext \
55677 conftest$ac_exeext conftest.$ac_ext
55679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55681 if test `eval echo '${'$as_ac_var'}'` = yes; then
55682 cat >>confdefs.h <<_ACEOF
55683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55684 _ACEOF
55687 done
55689 else
55691 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55692 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55693 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55694 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55695 echo $ECHO_N "(cached) $ECHO_C" >&6
55696 else
55700 ac_ext=cc
55701 ac_cpp='$CXXCPP $CPPFLAGS'
55702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55706 cat >conftest.$ac_ext <<_ACEOF
55707 /* confdefs.h. */
55708 _ACEOF
55709 cat confdefs.h >>conftest.$ac_ext
55710 cat >>conftest.$ac_ext <<_ACEOF
55711 /* end confdefs.h. */
55712 #include <math.h>
55714 main ()
55716 _sincos(0, 0, 0);
55718 return 0;
55720 _ACEOF
55721 rm -f conftest.$ac_objext
55722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55723 (eval $ac_compile) 2>conftest.er1
55724 ac_status=$?
55725 grep -v '^ *+' conftest.er1 >conftest.err
55726 rm -f conftest.er1
55727 cat conftest.err >&5
55728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55729 (exit $ac_status); } &&
55730 { ac_try='test -z "$ac_cxx_werror_flag"
55731 || test ! -s conftest.err'
55732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55733 (eval $ac_try) 2>&5
55734 ac_status=$?
55735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55736 (exit $ac_status); }; } &&
55737 { ac_try='test -s conftest.$ac_objext'
55738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55739 (eval $ac_try) 2>&5
55740 ac_status=$?
55741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55742 (exit $ac_status); }; }; then
55743 glibcxx_cv_func__sincos_use=yes
55744 else
55745 echo "$as_me: failed program was:" >&5
55746 sed 's/^/| /' conftest.$ac_ext >&5
55748 glibcxx_cv_func__sincos_use=no
55750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55751 ac_ext=c
55752 ac_cpp='$CPP $CPPFLAGS'
55753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55761 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55762 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55764 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55766 for ac_func in _sincos
55768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55769 echo "$as_me:$LINENO: checking for $ac_func" >&5
55770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55771 if eval "test \"\${$as_ac_var+set}\" = set"; then
55772 echo $ECHO_N "(cached) $ECHO_C" >&6
55773 else
55774 if test x$gcc_no_link = xyes; then
55775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55777 { (exit 1); exit 1; }; }
55779 cat >conftest.$ac_ext <<_ACEOF
55780 /* confdefs.h. */
55781 _ACEOF
55782 cat confdefs.h >>conftest.$ac_ext
55783 cat >>conftest.$ac_ext <<_ACEOF
55784 /* end confdefs.h. */
55785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55787 #define $ac_func innocuous_$ac_func
55789 /* System header to define __stub macros and hopefully few prototypes,
55790 which can conflict with char $ac_func (); below.
55791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55792 <limits.h> exists even on freestanding compilers. */
55794 #ifdef __STDC__
55795 # include <limits.h>
55796 #else
55797 # include <assert.h>
55798 #endif
55800 #undef $ac_func
55802 /* Override any gcc2 internal prototype to avoid an error. */
55803 #ifdef __cplusplus
55804 extern "C"
55806 #endif
55807 /* We use char because int might match the return type of a gcc2
55808 builtin and then its argument prototype would still apply. */
55809 char $ac_func ();
55810 /* The GNU C library defines this for functions which it implements
55811 to always fail with ENOSYS. Some functions are actually named
55812 something starting with __ and the normal name is an alias. */
55813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55814 choke me
55815 #else
55816 char (*f) () = $ac_func;
55817 #endif
55818 #ifdef __cplusplus
55820 #endif
55823 main ()
55825 return f != $ac_func;
55827 return 0;
55829 _ACEOF
55830 rm -f conftest.$ac_objext conftest$ac_exeext
55831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55832 (eval $ac_link) 2>conftest.er1
55833 ac_status=$?
55834 grep -v '^ *+' conftest.er1 >conftest.err
55835 rm -f conftest.er1
55836 cat conftest.err >&5
55837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55838 (exit $ac_status); } &&
55839 { ac_try='test -z "$ac_c_werror_flag"
55840 || test ! -s conftest.err'
55841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55842 (eval $ac_try) 2>&5
55843 ac_status=$?
55844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55845 (exit $ac_status); }; } &&
55846 { ac_try='test -s conftest$ac_exeext'
55847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55848 (eval $ac_try) 2>&5
55849 ac_status=$?
55850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55851 (exit $ac_status); }; }; then
55852 eval "$as_ac_var=yes"
55853 else
55854 echo "$as_me: failed program was:" >&5
55855 sed 's/^/| /' conftest.$ac_ext >&5
55857 eval "$as_ac_var=no"
55859 rm -f conftest.err conftest.$ac_objext \
55860 conftest$ac_exeext conftest.$ac_ext
55862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55864 if test `eval echo '${'$as_ac_var'}'` = yes; then
55865 cat >>confdefs.h <<_ACEOF
55866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55867 _ACEOF
55870 done
55880 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55881 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55882 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55883 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55884 echo $ECHO_N "(cached) $ECHO_C" >&6
55885 else
55889 ac_ext=cc
55890 ac_cpp='$CXXCPP $CPPFLAGS'
55891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55895 cat >conftest.$ac_ext <<_ACEOF
55896 /* confdefs.h. */
55897 _ACEOF
55898 cat confdefs.h >>conftest.$ac_ext
55899 cat >>conftest.$ac_ext <<_ACEOF
55900 /* end confdefs.h. */
55901 #include <math.h>
55902 #ifdef HAVE_IEEEFP_H
55903 #include <ieeefp.h>
55904 #endif
55907 main ()
55909 fpclass(0);
55911 return 0;
55913 _ACEOF
55914 rm -f conftest.$ac_objext
55915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55916 (eval $ac_compile) 2>conftest.er1
55917 ac_status=$?
55918 grep -v '^ *+' conftest.er1 >conftest.err
55919 rm -f conftest.er1
55920 cat conftest.err >&5
55921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55922 (exit $ac_status); } &&
55923 { ac_try='test -z "$ac_cxx_werror_flag"
55924 || test ! -s conftest.err'
55925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55926 (eval $ac_try) 2>&5
55927 ac_status=$?
55928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55929 (exit $ac_status); }; } &&
55930 { ac_try='test -s conftest.$ac_objext'
55931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55932 (eval $ac_try) 2>&5
55933 ac_status=$?
55934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55935 (exit $ac_status); }; }; then
55936 glibcxx_cv_func_fpclass_use=yes
55937 else
55938 echo "$as_me: failed program was:" >&5
55939 sed 's/^/| /' conftest.$ac_ext >&5
55941 glibcxx_cv_func_fpclass_use=no
55943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55944 ac_ext=c
55945 ac_cpp='$CPP $CPPFLAGS'
55946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55954 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55955 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55957 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55959 for ac_func in fpclass
55961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55962 echo "$as_me:$LINENO: checking for $ac_func" >&5
55963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55964 if eval "test \"\${$as_ac_var+set}\" = set"; then
55965 echo $ECHO_N "(cached) $ECHO_C" >&6
55966 else
55967 if test x$gcc_no_link = xyes; then
55968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55970 { (exit 1); exit 1; }; }
55972 cat >conftest.$ac_ext <<_ACEOF
55973 /* confdefs.h. */
55974 _ACEOF
55975 cat confdefs.h >>conftest.$ac_ext
55976 cat >>conftest.$ac_ext <<_ACEOF
55977 /* end confdefs.h. */
55978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55980 #define $ac_func innocuous_$ac_func
55982 /* System header to define __stub macros and hopefully few prototypes,
55983 which can conflict with char $ac_func (); below.
55984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55985 <limits.h> exists even on freestanding compilers. */
55987 #ifdef __STDC__
55988 # include <limits.h>
55989 #else
55990 # include <assert.h>
55991 #endif
55993 #undef $ac_func
55995 /* Override any gcc2 internal prototype to avoid an error. */
55996 #ifdef __cplusplus
55997 extern "C"
55999 #endif
56000 /* We use char because int might match the return type of a gcc2
56001 builtin and then its argument prototype would still apply. */
56002 char $ac_func ();
56003 /* The GNU C library defines this for functions which it implements
56004 to always fail with ENOSYS. Some functions are actually named
56005 something starting with __ and the normal name is an alias. */
56006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56007 choke me
56008 #else
56009 char (*f) () = $ac_func;
56010 #endif
56011 #ifdef __cplusplus
56013 #endif
56016 main ()
56018 return f != $ac_func;
56020 return 0;
56022 _ACEOF
56023 rm -f conftest.$ac_objext conftest$ac_exeext
56024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56025 (eval $ac_link) 2>conftest.er1
56026 ac_status=$?
56027 grep -v '^ *+' conftest.er1 >conftest.err
56028 rm -f conftest.er1
56029 cat conftest.err >&5
56030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56031 (exit $ac_status); } &&
56032 { ac_try='test -z "$ac_c_werror_flag"
56033 || test ! -s conftest.err'
56034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56035 (eval $ac_try) 2>&5
56036 ac_status=$?
56037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56038 (exit $ac_status); }; } &&
56039 { ac_try='test -s conftest$ac_exeext'
56040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56041 (eval $ac_try) 2>&5
56042 ac_status=$?
56043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56044 (exit $ac_status); }; }; then
56045 eval "$as_ac_var=yes"
56046 else
56047 echo "$as_me: failed program was:" >&5
56048 sed 's/^/| /' conftest.$ac_ext >&5
56050 eval "$as_ac_var=no"
56052 rm -f conftest.err conftest.$ac_objext \
56053 conftest$ac_exeext conftest.$ac_ext
56055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56057 if test `eval echo '${'$as_ac_var'}'` = yes; then
56058 cat >>confdefs.h <<_ACEOF
56059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56060 _ACEOF
56063 done
56065 else
56067 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56068 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56069 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56070 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56071 echo $ECHO_N "(cached) $ECHO_C" >&6
56072 else
56076 ac_ext=cc
56077 ac_cpp='$CXXCPP $CPPFLAGS'
56078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56082 cat >conftest.$ac_ext <<_ACEOF
56083 /* confdefs.h. */
56084 _ACEOF
56085 cat confdefs.h >>conftest.$ac_ext
56086 cat >>conftest.$ac_ext <<_ACEOF
56087 /* end confdefs.h. */
56088 #include <math.h>
56089 #ifdef HAVE_IEEEFP_H
56090 #include <ieeefp.h>
56091 #endif
56094 main ()
56096 _fpclass(0);
56098 return 0;
56100 _ACEOF
56101 rm -f conftest.$ac_objext
56102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56103 (eval $ac_compile) 2>conftest.er1
56104 ac_status=$?
56105 grep -v '^ *+' conftest.er1 >conftest.err
56106 rm -f conftest.er1
56107 cat conftest.err >&5
56108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56109 (exit $ac_status); } &&
56110 { ac_try='test -z "$ac_cxx_werror_flag"
56111 || test ! -s conftest.err'
56112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56113 (eval $ac_try) 2>&5
56114 ac_status=$?
56115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56116 (exit $ac_status); }; } &&
56117 { ac_try='test -s conftest.$ac_objext'
56118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56119 (eval $ac_try) 2>&5
56120 ac_status=$?
56121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56122 (exit $ac_status); }; }; then
56123 glibcxx_cv_func__fpclass_use=yes
56124 else
56125 echo "$as_me: failed program was:" >&5
56126 sed 's/^/| /' conftest.$ac_ext >&5
56128 glibcxx_cv_func__fpclass_use=no
56130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56131 ac_ext=c
56132 ac_cpp='$CPP $CPPFLAGS'
56133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56141 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56142 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56144 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56146 for ac_func in _fpclass
56148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56149 echo "$as_me:$LINENO: checking for $ac_func" >&5
56150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56151 if eval "test \"\${$as_ac_var+set}\" = set"; then
56152 echo $ECHO_N "(cached) $ECHO_C" >&6
56153 else
56154 if test x$gcc_no_link = xyes; then
56155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56157 { (exit 1); exit 1; }; }
56159 cat >conftest.$ac_ext <<_ACEOF
56160 /* confdefs.h. */
56161 _ACEOF
56162 cat confdefs.h >>conftest.$ac_ext
56163 cat >>conftest.$ac_ext <<_ACEOF
56164 /* end confdefs.h. */
56165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56167 #define $ac_func innocuous_$ac_func
56169 /* System header to define __stub macros and hopefully few prototypes,
56170 which can conflict with char $ac_func (); below.
56171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56172 <limits.h> exists even on freestanding compilers. */
56174 #ifdef __STDC__
56175 # include <limits.h>
56176 #else
56177 # include <assert.h>
56178 #endif
56180 #undef $ac_func
56182 /* Override any gcc2 internal prototype to avoid an error. */
56183 #ifdef __cplusplus
56184 extern "C"
56186 #endif
56187 /* We use char because int might match the return type of a gcc2
56188 builtin and then its argument prototype would still apply. */
56189 char $ac_func ();
56190 /* The GNU C library defines this for functions which it implements
56191 to always fail with ENOSYS. Some functions are actually named
56192 something starting with __ and the normal name is an alias. */
56193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56194 choke me
56195 #else
56196 char (*f) () = $ac_func;
56197 #endif
56198 #ifdef __cplusplus
56200 #endif
56203 main ()
56205 return f != $ac_func;
56207 return 0;
56209 _ACEOF
56210 rm -f conftest.$ac_objext conftest$ac_exeext
56211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56212 (eval $ac_link) 2>conftest.er1
56213 ac_status=$?
56214 grep -v '^ *+' conftest.er1 >conftest.err
56215 rm -f conftest.er1
56216 cat conftest.err >&5
56217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56218 (exit $ac_status); } &&
56219 { ac_try='test -z "$ac_c_werror_flag"
56220 || test ! -s conftest.err'
56221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56222 (eval $ac_try) 2>&5
56223 ac_status=$?
56224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56225 (exit $ac_status); }; } &&
56226 { ac_try='test -s conftest$ac_exeext'
56227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56228 (eval $ac_try) 2>&5
56229 ac_status=$?
56230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56231 (exit $ac_status); }; }; then
56232 eval "$as_ac_var=yes"
56233 else
56234 echo "$as_me: failed program was:" >&5
56235 sed 's/^/| /' conftest.$ac_ext >&5
56237 eval "$as_ac_var=no"
56239 rm -f conftest.err conftest.$ac_objext \
56240 conftest$ac_exeext conftest.$ac_ext
56242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56244 if test `eval echo '${'$as_ac_var'}'` = yes; then
56245 cat >>confdefs.h <<_ACEOF
56246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56247 _ACEOF
56250 done
56260 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56261 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56262 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56263 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56264 echo $ECHO_N "(cached) $ECHO_C" >&6
56265 else
56269 ac_ext=cc
56270 ac_cpp='$CXXCPP $CPPFLAGS'
56271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56275 cat >conftest.$ac_ext <<_ACEOF
56276 /* confdefs.h. */
56277 _ACEOF
56278 cat confdefs.h >>conftest.$ac_ext
56279 cat >>conftest.$ac_ext <<_ACEOF
56280 /* end confdefs.h. */
56281 #include <math.h>
56282 #ifdef HAVE_IEEEFP_H
56283 #include <ieeefp.h>
56284 #endif
56287 main ()
56289 qfpclass(0);
56291 return 0;
56293 _ACEOF
56294 rm -f conftest.$ac_objext
56295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56296 (eval $ac_compile) 2>conftest.er1
56297 ac_status=$?
56298 grep -v '^ *+' conftest.er1 >conftest.err
56299 rm -f conftest.er1
56300 cat conftest.err >&5
56301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56302 (exit $ac_status); } &&
56303 { ac_try='test -z "$ac_cxx_werror_flag"
56304 || test ! -s conftest.err'
56305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56306 (eval $ac_try) 2>&5
56307 ac_status=$?
56308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56309 (exit $ac_status); }; } &&
56310 { ac_try='test -s conftest.$ac_objext'
56311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56312 (eval $ac_try) 2>&5
56313 ac_status=$?
56314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56315 (exit $ac_status); }; }; then
56316 glibcxx_cv_func_qfpclass_use=yes
56317 else
56318 echo "$as_me: failed program was:" >&5
56319 sed 's/^/| /' conftest.$ac_ext >&5
56321 glibcxx_cv_func_qfpclass_use=no
56323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56324 ac_ext=c
56325 ac_cpp='$CPP $CPPFLAGS'
56326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56334 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56335 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56337 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56339 for ac_func in qfpclass
56341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56342 echo "$as_me:$LINENO: checking for $ac_func" >&5
56343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56344 if eval "test \"\${$as_ac_var+set}\" = set"; then
56345 echo $ECHO_N "(cached) $ECHO_C" >&6
56346 else
56347 if test x$gcc_no_link = xyes; then
56348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56350 { (exit 1); exit 1; }; }
56352 cat >conftest.$ac_ext <<_ACEOF
56353 /* confdefs.h. */
56354 _ACEOF
56355 cat confdefs.h >>conftest.$ac_ext
56356 cat >>conftest.$ac_ext <<_ACEOF
56357 /* end confdefs.h. */
56358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56360 #define $ac_func innocuous_$ac_func
56362 /* System header to define __stub macros and hopefully few prototypes,
56363 which can conflict with char $ac_func (); below.
56364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56365 <limits.h> exists even on freestanding compilers. */
56367 #ifdef __STDC__
56368 # include <limits.h>
56369 #else
56370 # include <assert.h>
56371 #endif
56373 #undef $ac_func
56375 /* Override any gcc2 internal prototype to avoid an error. */
56376 #ifdef __cplusplus
56377 extern "C"
56379 #endif
56380 /* We use char because int might match the return type of a gcc2
56381 builtin and then its argument prototype would still apply. */
56382 char $ac_func ();
56383 /* The GNU C library defines this for functions which it implements
56384 to always fail with ENOSYS. Some functions are actually named
56385 something starting with __ and the normal name is an alias. */
56386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56387 choke me
56388 #else
56389 char (*f) () = $ac_func;
56390 #endif
56391 #ifdef __cplusplus
56393 #endif
56396 main ()
56398 return f != $ac_func;
56400 return 0;
56402 _ACEOF
56403 rm -f conftest.$ac_objext conftest$ac_exeext
56404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56405 (eval $ac_link) 2>conftest.er1
56406 ac_status=$?
56407 grep -v '^ *+' conftest.er1 >conftest.err
56408 rm -f conftest.er1
56409 cat conftest.err >&5
56410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56411 (exit $ac_status); } &&
56412 { ac_try='test -z "$ac_c_werror_flag"
56413 || test ! -s conftest.err'
56414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56415 (eval $ac_try) 2>&5
56416 ac_status=$?
56417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56418 (exit $ac_status); }; } &&
56419 { ac_try='test -s conftest$ac_exeext'
56420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56421 (eval $ac_try) 2>&5
56422 ac_status=$?
56423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56424 (exit $ac_status); }; }; then
56425 eval "$as_ac_var=yes"
56426 else
56427 echo "$as_me: failed program was:" >&5
56428 sed 's/^/| /' conftest.$ac_ext >&5
56430 eval "$as_ac_var=no"
56432 rm -f conftest.err conftest.$ac_objext \
56433 conftest$ac_exeext conftest.$ac_ext
56435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56437 if test `eval echo '${'$as_ac_var'}'` = yes; then
56438 cat >>confdefs.h <<_ACEOF
56439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56440 _ACEOF
56443 done
56445 else
56447 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56448 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56449 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56450 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56451 echo $ECHO_N "(cached) $ECHO_C" >&6
56452 else
56456 ac_ext=cc
56457 ac_cpp='$CXXCPP $CPPFLAGS'
56458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56462 cat >conftest.$ac_ext <<_ACEOF
56463 /* confdefs.h. */
56464 _ACEOF
56465 cat confdefs.h >>conftest.$ac_ext
56466 cat >>conftest.$ac_ext <<_ACEOF
56467 /* end confdefs.h. */
56468 #include <math.h>
56469 #ifdef HAVE_IEEEFP_H
56470 #include <ieeefp.h>
56471 #endif
56474 main ()
56476 _qfpclass(0);
56478 return 0;
56480 _ACEOF
56481 rm -f conftest.$ac_objext
56482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56483 (eval $ac_compile) 2>conftest.er1
56484 ac_status=$?
56485 grep -v '^ *+' conftest.er1 >conftest.err
56486 rm -f conftest.er1
56487 cat conftest.err >&5
56488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56489 (exit $ac_status); } &&
56490 { ac_try='test -z "$ac_cxx_werror_flag"
56491 || test ! -s conftest.err'
56492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56493 (eval $ac_try) 2>&5
56494 ac_status=$?
56495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56496 (exit $ac_status); }; } &&
56497 { ac_try='test -s conftest.$ac_objext'
56498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56499 (eval $ac_try) 2>&5
56500 ac_status=$?
56501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56502 (exit $ac_status); }; }; then
56503 glibcxx_cv_func__qfpclass_use=yes
56504 else
56505 echo "$as_me: failed program was:" >&5
56506 sed 's/^/| /' conftest.$ac_ext >&5
56508 glibcxx_cv_func__qfpclass_use=no
56510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56511 ac_ext=c
56512 ac_cpp='$CPP $CPPFLAGS'
56513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56521 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56522 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56524 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56526 for ac_func in _qfpclass
56528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56529 echo "$as_me:$LINENO: checking for $ac_func" >&5
56530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56531 if eval "test \"\${$as_ac_var+set}\" = set"; then
56532 echo $ECHO_N "(cached) $ECHO_C" >&6
56533 else
56534 if test x$gcc_no_link = xyes; then
56535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56537 { (exit 1); exit 1; }; }
56539 cat >conftest.$ac_ext <<_ACEOF
56540 /* confdefs.h. */
56541 _ACEOF
56542 cat confdefs.h >>conftest.$ac_ext
56543 cat >>conftest.$ac_ext <<_ACEOF
56544 /* end confdefs.h. */
56545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56547 #define $ac_func innocuous_$ac_func
56549 /* System header to define __stub macros and hopefully few prototypes,
56550 which can conflict with char $ac_func (); below.
56551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56552 <limits.h> exists even on freestanding compilers. */
56554 #ifdef __STDC__
56555 # include <limits.h>
56556 #else
56557 # include <assert.h>
56558 #endif
56560 #undef $ac_func
56562 /* Override any gcc2 internal prototype to avoid an error. */
56563 #ifdef __cplusplus
56564 extern "C"
56566 #endif
56567 /* We use char because int might match the return type of a gcc2
56568 builtin and then its argument prototype would still apply. */
56569 char $ac_func ();
56570 /* The GNU C library defines this for functions which it implements
56571 to always fail with ENOSYS. Some functions are actually named
56572 something starting with __ and the normal name is an alias. */
56573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56574 choke me
56575 #else
56576 char (*f) () = $ac_func;
56577 #endif
56578 #ifdef __cplusplus
56580 #endif
56583 main ()
56585 return f != $ac_func;
56587 return 0;
56589 _ACEOF
56590 rm -f conftest.$ac_objext conftest$ac_exeext
56591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56592 (eval $ac_link) 2>conftest.er1
56593 ac_status=$?
56594 grep -v '^ *+' conftest.er1 >conftest.err
56595 rm -f conftest.er1
56596 cat conftest.err >&5
56597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56598 (exit $ac_status); } &&
56599 { ac_try='test -z "$ac_c_werror_flag"
56600 || test ! -s conftest.err'
56601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56602 (eval $ac_try) 2>&5
56603 ac_status=$?
56604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56605 (exit $ac_status); }; } &&
56606 { ac_try='test -s conftest$ac_exeext'
56607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56608 (eval $ac_try) 2>&5
56609 ac_status=$?
56610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56611 (exit $ac_status); }; }; then
56612 eval "$as_ac_var=yes"
56613 else
56614 echo "$as_me: failed program was:" >&5
56615 sed 's/^/| /' conftest.$ac_ext >&5
56617 eval "$as_ac_var=no"
56619 rm -f conftest.err conftest.$ac_objext \
56620 conftest$ac_exeext conftest.$ac_ext
56622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56624 if test `eval echo '${'$as_ac_var'}'` = yes; then
56625 cat >>confdefs.h <<_ACEOF
56626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56627 _ACEOF
56630 done
56640 echo "$as_me:$LINENO: checking for hypot declaration" >&5
56641 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56642 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56643 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56644 echo $ECHO_N "(cached) $ECHO_C" >&6
56645 else
56649 ac_ext=cc
56650 ac_cpp='$CXXCPP $CPPFLAGS'
56651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56655 cat >conftest.$ac_ext <<_ACEOF
56656 /* confdefs.h. */
56657 _ACEOF
56658 cat confdefs.h >>conftest.$ac_ext
56659 cat >>conftest.$ac_ext <<_ACEOF
56660 /* end confdefs.h. */
56661 #include <math.h>
56663 main ()
56665 hypot(0, 0);
56667 return 0;
56669 _ACEOF
56670 rm -f conftest.$ac_objext
56671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56672 (eval $ac_compile) 2>conftest.er1
56673 ac_status=$?
56674 grep -v '^ *+' conftest.er1 >conftest.err
56675 rm -f conftest.er1
56676 cat conftest.err >&5
56677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56678 (exit $ac_status); } &&
56679 { ac_try='test -z "$ac_cxx_werror_flag"
56680 || test ! -s conftest.err'
56681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56682 (eval $ac_try) 2>&5
56683 ac_status=$?
56684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56685 (exit $ac_status); }; } &&
56686 { ac_try='test -s conftest.$ac_objext'
56687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56688 (eval $ac_try) 2>&5
56689 ac_status=$?
56690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56691 (exit $ac_status); }; }; then
56692 glibcxx_cv_func_hypot_use=yes
56693 else
56694 echo "$as_me: failed program was:" >&5
56695 sed 's/^/| /' conftest.$ac_ext >&5
56697 glibcxx_cv_func_hypot_use=no
56699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56700 ac_ext=c
56701 ac_cpp='$CPP $CPPFLAGS'
56702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56710 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56711 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56713 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56715 for ac_func in hypot
56717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56718 echo "$as_me:$LINENO: checking for $ac_func" >&5
56719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56720 if eval "test \"\${$as_ac_var+set}\" = set"; then
56721 echo $ECHO_N "(cached) $ECHO_C" >&6
56722 else
56723 if test x$gcc_no_link = xyes; then
56724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56726 { (exit 1); exit 1; }; }
56728 cat >conftest.$ac_ext <<_ACEOF
56729 /* confdefs.h. */
56730 _ACEOF
56731 cat confdefs.h >>conftest.$ac_ext
56732 cat >>conftest.$ac_ext <<_ACEOF
56733 /* end confdefs.h. */
56734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56736 #define $ac_func innocuous_$ac_func
56738 /* System header to define __stub macros and hopefully few prototypes,
56739 which can conflict with char $ac_func (); below.
56740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56741 <limits.h> exists even on freestanding compilers. */
56743 #ifdef __STDC__
56744 # include <limits.h>
56745 #else
56746 # include <assert.h>
56747 #endif
56749 #undef $ac_func
56751 /* Override any gcc2 internal prototype to avoid an error. */
56752 #ifdef __cplusplus
56753 extern "C"
56755 #endif
56756 /* We use char because int might match the return type of a gcc2
56757 builtin and then its argument prototype would still apply. */
56758 char $ac_func ();
56759 /* The GNU C library defines this for functions which it implements
56760 to always fail with ENOSYS. Some functions are actually named
56761 something starting with __ and the normal name is an alias. */
56762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56763 choke me
56764 #else
56765 char (*f) () = $ac_func;
56766 #endif
56767 #ifdef __cplusplus
56769 #endif
56772 main ()
56774 return f != $ac_func;
56776 return 0;
56778 _ACEOF
56779 rm -f conftest.$ac_objext conftest$ac_exeext
56780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56781 (eval $ac_link) 2>conftest.er1
56782 ac_status=$?
56783 grep -v '^ *+' conftest.er1 >conftest.err
56784 rm -f conftest.er1
56785 cat conftest.err >&5
56786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56787 (exit $ac_status); } &&
56788 { ac_try='test -z "$ac_c_werror_flag"
56789 || test ! -s conftest.err'
56790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56791 (eval $ac_try) 2>&5
56792 ac_status=$?
56793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56794 (exit $ac_status); }; } &&
56795 { ac_try='test -s conftest$ac_exeext'
56796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56797 (eval $ac_try) 2>&5
56798 ac_status=$?
56799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56800 (exit $ac_status); }; }; then
56801 eval "$as_ac_var=yes"
56802 else
56803 echo "$as_me: failed program was:" >&5
56804 sed 's/^/| /' conftest.$ac_ext >&5
56806 eval "$as_ac_var=no"
56808 rm -f conftest.err conftest.$ac_objext \
56809 conftest$ac_exeext conftest.$ac_ext
56811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56813 if test `eval echo '${'$as_ac_var'}'` = yes; then
56814 cat >>confdefs.h <<_ACEOF
56815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56816 _ACEOF
56819 done
56821 else
56823 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56824 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56825 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56826 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56827 echo $ECHO_N "(cached) $ECHO_C" >&6
56828 else
56832 ac_ext=cc
56833 ac_cpp='$CXXCPP $CPPFLAGS'
56834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56838 cat >conftest.$ac_ext <<_ACEOF
56839 /* confdefs.h. */
56840 _ACEOF
56841 cat confdefs.h >>conftest.$ac_ext
56842 cat >>conftest.$ac_ext <<_ACEOF
56843 /* end confdefs.h. */
56844 #include <math.h>
56846 main ()
56848 _hypot(0, 0);
56850 return 0;
56852 _ACEOF
56853 rm -f conftest.$ac_objext
56854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56855 (eval $ac_compile) 2>conftest.er1
56856 ac_status=$?
56857 grep -v '^ *+' conftest.er1 >conftest.err
56858 rm -f conftest.er1
56859 cat conftest.err >&5
56860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56861 (exit $ac_status); } &&
56862 { ac_try='test -z "$ac_cxx_werror_flag"
56863 || test ! -s conftest.err'
56864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56865 (eval $ac_try) 2>&5
56866 ac_status=$?
56867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56868 (exit $ac_status); }; } &&
56869 { ac_try='test -s conftest.$ac_objext'
56870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56871 (eval $ac_try) 2>&5
56872 ac_status=$?
56873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56874 (exit $ac_status); }; }; then
56875 glibcxx_cv_func__hypot_use=yes
56876 else
56877 echo "$as_me: failed program was:" >&5
56878 sed 's/^/| /' conftest.$ac_ext >&5
56880 glibcxx_cv_func__hypot_use=no
56882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56883 ac_ext=c
56884 ac_cpp='$CPP $CPPFLAGS'
56885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56893 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56894 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56896 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56898 for ac_func in _hypot
56900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56901 echo "$as_me:$LINENO: checking for $ac_func" >&5
56902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56903 if eval "test \"\${$as_ac_var+set}\" = set"; then
56904 echo $ECHO_N "(cached) $ECHO_C" >&6
56905 else
56906 if test x$gcc_no_link = xyes; then
56907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56909 { (exit 1); exit 1; }; }
56911 cat >conftest.$ac_ext <<_ACEOF
56912 /* confdefs.h. */
56913 _ACEOF
56914 cat confdefs.h >>conftest.$ac_ext
56915 cat >>conftest.$ac_ext <<_ACEOF
56916 /* end confdefs.h. */
56917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56919 #define $ac_func innocuous_$ac_func
56921 /* System header to define __stub macros and hopefully few prototypes,
56922 which can conflict with char $ac_func (); below.
56923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56924 <limits.h> exists even on freestanding compilers. */
56926 #ifdef __STDC__
56927 # include <limits.h>
56928 #else
56929 # include <assert.h>
56930 #endif
56932 #undef $ac_func
56934 /* Override any gcc2 internal prototype to avoid an error. */
56935 #ifdef __cplusplus
56936 extern "C"
56938 #endif
56939 /* We use char because int might match the return type of a gcc2
56940 builtin and then its argument prototype would still apply. */
56941 char $ac_func ();
56942 /* The GNU C library defines this for functions which it implements
56943 to always fail with ENOSYS. Some functions are actually named
56944 something starting with __ and the normal name is an alias. */
56945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56946 choke me
56947 #else
56948 char (*f) () = $ac_func;
56949 #endif
56950 #ifdef __cplusplus
56952 #endif
56955 main ()
56957 return f != $ac_func;
56959 return 0;
56961 _ACEOF
56962 rm -f conftest.$ac_objext conftest$ac_exeext
56963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56964 (eval $ac_link) 2>conftest.er1
56965 ac_status=$?
56966 grep -v '^ *+' conftest.er1 >conftest.err
56967 rm -f conftest.er1
56968 cat conftest.err >&5
56969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56970 (exit $ac_status); } &&
56971 { ac_try='test -z "$ac_c_werror_flag"
56972 || test ! -s conftest.err'
56973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56974 (eval $ac_try) 2>&5
56975 ac_status=$?
56976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56977 (exit $ac_status); }; } &&
56978 { ac_try='test -s conftest$ac_exeext'
56979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56980 (eval $ac_try) 2>&5
56981 ac_status=$?
56982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56983 (exit $ac_status); }; }; then
56984 eval "$as_ac_var=yes"
56985 else
56986 echo "$as_me: failed program was:" >&5
56987 sed 's/^/| /' conftest.$ac_ext >&5
56989 eval "$as_ac_var=no"
56991 rm -f conftest.err conftest.$ac_objext \
56992 conftest$ac_exeext conftest.$ac_ext
56994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56996 if test `eval echo '${'$as_ac_var'}'` = yes; then
56997 cat >>confdefs.h <<_ACEOF
56998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56999 _ACEOF
57002 done
57012 echo "$as_me:$LINENO: checking for float trig functions" >&5
57013 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57014 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57015 echo $ECHO_N "(cached) $ECHO_C" >&6
57016 else
57020 ac_ext=cc
57021 ac_cpp='$CXXCPP $CPPFLAGS'
57022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57026 cat >conftest.$ac_ext <<_ACEOF
57027 /* confdefs.h. */
57028 _ACEOF
57029 cat confdefs.h >>conftest.$ac_ext
57030 cat >>conftest.$ac_ext <<_ACEOF
57031 /* end confdefs.h. */
57032 #include <math.h>
57034 main ()
57036 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57038 return 0;
57040 _ACEOF
57041 rm -f conftest.$ac_objext
57042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57043 (eval $ac_compile) 2>conftest.er1
57044 ac_status=$?
57045 grep -v '^ *+' conftest.er1 >conftest.err
57046 rm -f conftest.er1
57047 cat conftest.err >&5
57048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57049 (exit $ac_status); } &&
57050 { ac_try='test -z "$ac_cxx_werror_flag"
57051 || test ! -s conftest.err'
57052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57053 (eval $ac_try) 2>&5
57054 ac_status=$?
57055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57056 (exit $ac_status); }; } &&
57057 { ac_try='test -s conftest.$ac_objext'
57058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57059 (eval $ac_try) 2>&5
57060 ac_status=$?
57061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57062 (exit $ac_status); }; }; then
57063 glibcxx_cv_func_float_trig_use=yes
57064 else
57065 echo "$as_me: failed program was:" >&5
57066 sed 's/^/| /' conftest.$ac_ext >&5
57068 glibcxx_cv_func_float_trig_use=no
57070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57071 ac_ext=c
57072 ac_cpp='$CPP $CPPFLAGS'
57073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57079 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57080 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57081 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57091 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57094 echo "$as_me:$LINENO: checking for $ac_func" >&5
57095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57096 if eval "test \"\${$as_ac_var+set}\" = set"; then
57097 echo $ECHO_N "(cached) $ECHO_C" >&6
57098 else
57099 if test x$gcc_no_link = xyes; then
57100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57102 { (exit 1); exit 1; }; }
57104 cat >conftest.$ac_ext <<_ACEOF
57105 /* confdefs.h. */
57106 _ACEOF
57107 cat confdefs.h >>conftest.$ac_ext
57108 cat >>conftest.$ac_ext <<_ACEOF
57109 /* end confdefs.h. */
57110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57112 #define $ac_func innocuous_$ac_func
57114 /* System header to define __stub macros and hopefully few prototypes,
57115 which can conflict with char $ac_func (); below.
57116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57117 <limits.h> exists even on freestanding compilers. */
57119 #ifdef __STDC__
57120 # include <limits.h>
57121 #else
57122 # include <assert.h>
57123 #endif
57125 #undef $ac_func
57127 /* Override any gcc2 internal prototype to avoid an error. */
57128 #ifdef __cplusplus
57129 extern "C"
57131 #endif
57132 /* We use char because int might match the return type of a gcc2
57133 builtin and then its argument prototype would still apply. */
57134 char $ac_func ();
57135 /* The GNU C library defines this for functions which it implements
57136 to always fail with ENOSYS. Some functions are actually named
57137 something starting with __ and the normal name is an alias. */
57138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57139 choke me
57140 #else
57141 char (*f) () = $ac_func;
57142 #endif
57143 #ifdef __cplusplus
57145 #endif
57148 main ()
57150 return f != $ac_func;
57152 return 0;
57154 _ACEOF
57155 rm -f conftest.$ac_objext conftest$ac_exeext
57156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57157 (eval $ac_link) 2>conftest.er1
57158 ac_status=$?
57159 grep -v '^ *+' conftest.er1 >conftest.err
57160 rm -f conftest.er1
57161 cat conftest.err >&5
57162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57163 (exit $ac_status); } &&
57164 { ac_try='test -z "$ac_c_werror_flag"
57165 || test ! -s conftest.err'
57166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57167 (eval $ac_try) 2>&5
57168 ac_status=$?
57169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57170 (exit $ac_status); }; } &&
57171 { ac_try='test -s conftest$ac_exeext'
57172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57173 (eval $ac_try) 2>&5
57174 ac_status=$?
57175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57176 (exit $ac_status); }; }; then
57177 eval "$as_ac_var=yes"
57178 else
57179 echo "$as_me: failed program was:" >&5
57180 sed 's/^/| /' conftest.$ac_ext >&5
57182 eval "$as_ac_var=no"
57184 rm -f conftest.err conftest.$ac_objext \
57185 conftest$ac_exeext conftest.$ac_ext
57187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57189 if test `eval echo '${'$as_ac_var'}'` = yes; then
57190 cat >>confdefs.h <<_ACEOF
57191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57192 _ACEOF
57195 done
57197 else
57198 echo "$as_me:$LINENO: checking for _float trig functions" >&5
57199 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57200 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57201 echo $ECHO_N "(cached) $ECHO_C" >&6
57202 else
57206 ac_ext=cc
57207 ac_cpp='$CXXCPP $CPPFLAGS'
57208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57212 cat >conftest.$ac_ext <<_ACEOF
57213 /* confdefs.h. */
57214 _ACEOF
57215 cat confdefs.h >>conftest.$ac_ext
57216 cat >>conftest.$ac_ext <<_ACEOF
57217 /* end confdefs.h. */
57218 #include <math.h>
57220 main ()
57222 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57224 return 0;
57226 _ACEOF
57227 rm -f conftest.$ac_objext
57228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57229 (eval $ac_compile) 2>conftest.er1
57230 ac_status=$?
57231 grep -v '^ *+' conftest.er1 >conftest.err
57232 rm -f conftest.er1
57233 cat conftest.err >&5
57234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57235 (exit $ac_status); } &&
57236 { ac_try='test -z "$ac_cxx_werror_flag"
57237 || test ! -s conftest.err'
57238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57239 (eval $ac_try) 2>&5
57240 ac_status=$?
57241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57242 (exit $ac_status); }; } &&
57243 { ac_try='test -s conftest.$ac_objext'
57244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57245 (eval $ac_try) 2>&5
57246 ac_status=$?
57247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57248 (exit $ac_status); }; }; then
57249 glibcxx_cv_func__float_trig_use=yes
57250 else
57251 echo "$as_me: failed program was:" >&5
57252 sed 's/^/| /' conftest.$ac_ext >&5
57254 glibcxx_cv_func__float_trig_use=no
57256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57257 ac_ext=c
57258 ac_cpp='$CPP $CPPFLAGS'
57259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57265 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57266 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57267 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57277 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57280 echo "$as_me:$LINENO: checking for $ac_func" >&5
57281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57282 if eval "test \"\${$as_ac_var+set}\" = set"; then
57283 echo $ECHO_N "(cached) $ECHO_C" >&6
57284 else
57285 if test x$gcc_no_link = xyes; then
57286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57288 { (exit 1); exit 1; }; }
57290 cat >conftest.$ac_ext <<_ACEOF
57291 /* confdefs.h. */
57292 _ACEOF
57293 cat confdefs.h >>conftest.$ac_ext
57294 cat >>conftest.$ac_ext <<_ACEOF
57295 /* end confdefs.h. */
57296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57298 #define $ac_func innocuous_$ac_func
57300 /* System header to define __stub macros and hopefully few prototypes,
57301 which can conflict with char $ac_func (); below.
57302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57303 <limits.h> exists even on freestanding compilers. */
57305 #ifdef __STDC__
57306 # include <limits.h>
57307 #else
57308 # include <assert.h>
57309 #endif
57311 #undef $ac_func
57313 /* Override any gcc2 internal prototype to avoid an error. */
57314 #ifdef __cplusplus
57315 extern "C"
57317 #endif
57318 /* We use char because int might match the return type of a gcc2
57319 builtin and then its argument prototype would still apply. */
57320 char $ac_func ();
57321 /* The GNU C library defines this for functions which it implements
57322 to always fail with ENOSYS. Some functions are actually named
57323 something starting with __ and the normal name is an alias. */
57324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57325 choke me
57326 #else
57327 char (*f) () = $ac_func;
57328 #endif
57329 #ifdef __cplusplus
57331 #endif
57334 main ()
57336 return f != $ac_func;
57338 return 0;
57340 _ACEOF
57341 rm -f conftest.$ac_objext conftest$ac_exeext
57342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57343 (eval $ac_link) 2>conftest.er1
57344 ac_status=$?
57345 grep -v '^ *+' conftest.er1 >conftest.err
57346 rm -f conftest.er1
57347 cat conftest.err >&5
57348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57349 (exit $ac_status); } &&
57350 { ac_try='test -z "$ac_c_werror_flag"
57351 || test ! -s conftest.err'
57352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57353 (eval $ac_try) 2>&5
57354 ac_status=$?
57355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57356 (exit $ac_status); }; } &&
57357 { ac_try='test -s conftest$ac_exeext'
57358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57359 (eval $ac_try) 2>&5
57360 ac_status=$?
57361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57362 (exit $ac_status); }; }; then
57363 eval "$as_ac_var=yes"
57364 else
57365 echo "$as_me: failed program was:" >&5
57366 sed 's/^/| /' conftest.$ac_ext >&5
57368 eval "$as_ac_var=no"
57370 rm -f conftest.err conftest.$ac_objext \
57371 conftest$ac_exeext conftest.$ac_ext
57373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57375 if test `eval echo '${'$as_ac_var'}'` = yes; then
57376 cat >>confdefs.h <<_ACEOF
57377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57378 _ACEOF
57381 done
57399 echo "$as_me:$LINENO: checking for float round functions" >&5
57400 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
57401 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
57402 echo $ECHO_N "(cached) $ECHO_C" >&6
57403 else
57407 ac_ext=cc
57408 ac_cpp='$CXXCPP $CPPFLAGS'
57409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57413 cat >conftest.$ac_ext <<_ACEOF
57414 /* confdefs.h. */
57415 _ACEOF
57416 cat confdefs.h >>conftest.$ac_ext
57417 cat >>conftest.$ac_ext <<_ACEOF
57418 /* end confdefs.h. */
57419 #include <math.h>
57421 main ()
57423 ceilf (0); floorf (0);
57425 return 0;
57427 _ACEOF
57428 rm -f conftest.$ac_objext
57429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57430 (eval $ac_compile) 2>conftest.er1
57431 ac_status=$?
57432 grep -v '^ *+' conftest.er1 >conftest.err
57433 rm -f conftest.er1
57434 cat conftest.err >&5
57435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57436 (exit $ac_status); } &&
57437 { ac_try='test -z "$ac_cxx_werror_flag"
57438 || test ! -s conftest.err'
57439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57440 (eval $ac_try) 2>&5
57441 ac_status=$?
57442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57443 (exit $ac_status); }; } &&
57444 { ac_try='test -s conftest.$ac_objext'
57445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57446 (eval $ac_try) 2>&5
57447 ac_status=$?
57448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57449 (exit $ac_status); }; }; then
57450 glibcxx_cv_func_float_round_use=yes
57451 else
57452 echo "$as_me: failed program was:" >&5
57453 sed 's/^/| /' conftest.$ac_ext >&5
57455 glibcxx_cv_func_float_round_use=no
57457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57458 ac_ext=c
57459 ac_cpp='$CPP $CPPFLAGS'
57460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57466 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57467 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57468 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57471 for ac_func in ceilf floorf
57473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57474 echo "$as_me:$LINENO: checking for $ac_func" >&5
57475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57476 if eval "test \"\${$as_ac_var+set}\" = set"; then
57477 echo $ECHO_N "(cached) $ECHO_C" >&6
57478 else
57479 if test x$gcc_no_link = xyes; then
57480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57482 { (exit 1); exit 1; }; }
57484 cat >conftest.$ac_ext <<_ACEOF
57485 /* confdefs.h. */
57486 _ACEOF
57487 cat confdefs.h >>conftest.$ac_ext
57488 cat >>conftest.$ac_ext <<_ACEOF
57489 /* end confdefs.h. */
57490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57492 #define $ac_func innocuous_$ac_func
57494 /* System header to define __stub macros and hopefully few prototypes,
57495 which can conflict with char $ac_func (); below.
57496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57497 <limits.h> exists even on freestanding compilers. */
57499 #ifdef __STDC__
57500 # include <limits.h>
57501 #else
57502 # include <assert.h>
57503 #endif
57505 #undef $ac_func
57507 /* Override any gcc2 internal prototype to avoid an error. */
57508 #ifdef __cplusplus
57509 extern "C"
57511 #endif
57512 /* We use char because int might match the return type of a gcc2
57513 builtin and then its argument prototype would still apply. */
57514 char $ac_func ();
57515 /* The GNU C library defines this for functions which it implements
57516 to always fail with ENOSYS. Some functions are actually named
57517 something starting with __ and the normal name is an alias. */
57518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57519 choke me
57520 #else
57521 char (*f) () = $ac_func;
57522 #endif
57523 #ifdef __cplusplus
57525 #endif
57528 main ()
57530 return f != $ac_func;
57532 return 0;
57534 _ACEOF
57535 rm -f conftest.$ac_objext conftest$ac_exeext
57536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57537 (eval $ac_link) 2>conftest.er1
57538 ac_status=$?
57539 grep -v '^ *+' conftest.er1 >conftest.err
57540 rm -f conftest.er1
57541 cat conftest.err >&5
57542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57543 (exit $ac_status); } &&
57544 { ac_try='test -z "$ac_c_werror_flag"
57545 || test ! -s conftest.err'
57546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57547 (eval $ac_try) 2>&5
57548 ac_status=$?
57549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57550 (exit $ac_status); }; } &&
57551 { ac_try='test -s conftest$ac_exeext'
57552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57553 (eval $ac_try) 2>&5
57554 ac_status=$?
57555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57556 (exit $ac_status); }; }; then
57557 eval "$as_ac_var=yes"
57558 else
57559 echo "$as_me: failed program was:" >&5
57560 sed 's/^/| /' conftest.$ac_ext >&5
57562 eval "$as_ac_var=no"
57564 rm -f conftest.err conftest.$ac_objext \
57565 conftest$ac_exeext conftest.$ac_ext
57567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57569 if test `eval echo '${'$as_ac_var'}'` = yes; then
57570 cat >>confdefs.h <<_ACEOF
57571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57572 _ACEOF
57575 done
57577 else
57578 echo "$as_me:$LINENO: checking for _float round functions" >&5
57579 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
57580 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
57581 echo $ECHO_N "(cached) $ECHO_C" >&6
57582 else
57586 ac_ext=cc
57587 ac_cpp='$CXXCPP $CPPFLAGS'
57588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57592 cat >conftest.$ac_ext <<_ACEOF
57593 /* confdefs.h. */
57594 _ACEOF
57595 cat confdefs.h >>conftest.$ac_ext
57596 cat >>conftest.$ac_ext <<_ACEOF
57597 /* end confdefs.h. */
57598 #include <math.h>
57600 main ()
57602 _ceilf (0); _floorf (0);
57604 return 0;
57606 _ACEOF
57607 rm -f conftest.$ac_objext
57608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57609 (eval $ac_compile) 2>conftest.er1
57610 ac_status=$?
57611 grep -v '^ *+' conftest.er1 >conftest.err
57612 rm -f conftest.er1
57613 cat conftest.err >&5
57614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57615 (exit $ac_status); } &&
57616 { ac_try='test -z "$ac_cxx_werror_flag"
57617 || test ! -s conftest.err'
57618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57619 (eval $ac_try) 2>&5
57620 ac_status=$?
57621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57622 (exit $ac_status); }; } &&
57623 { ac_try='test -s conftest.$ac_objext'
57624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57625 (eval $ac_try) 2>&5
57626 ac_status=$?
57627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57628 (exit $ac_status); }; }; then
57629 glibcxx_cv_func__float_round_use=yes
57630 else
57631 echo "$as_me: failed program was:" >&5
57632 sed 's/^/| /' conftest.$ac_ext >&5
57634 glibcxx_cv_func__float_round_use=no
57636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57637 ac_ext=c
57638 ac_cpp='$CPP $CPPFLAGS'
57639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57645 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
57646 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
57647 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
57650 for ac_func in _ceilf _floorf
57652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57653 echo "$as_me:$LINENO: checking for $ac_func" >&5
57654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57655 if eval "test \"\${$as_ac_var+set}\" = set"; then
57656 echo $ECHO_N "(cached) $ECHO_C" >&6
57657 else
57658 if test x$gcc_no_link = xyes; then
57659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57661 { (exit 1); exit 1; }; }
57663 cat >conftest.$ac_ext <<_ACEOF
57664 /* confdefs.h. */
57665 _ACEOF
57666 cat confdefs.h >>conftest.$ac_ext
57667 cat >>conftest.$ac_ext <<_ACEOF
57668 /* end confdefs.h. */
57669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57671 #define $ac_func innocuous_$ac_func
57673 /* System header to define __stub macros and hopefully few prototypes,
57674 which can conflict with char $ac_func (); below.
57675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57676 <limits.h> exists even on freestanding compilers. */
57678 #ifdef __STDC__
57679 # include <limits.h>
57680 #else
57681 # include <assert.h>
57682 #endif
57684 #undef $ac_func
57686 /* Override any gcc2 internal prototype to avoid an error. */
57687 #ifdef __cplusplus
57688 extern "C"
57690 #endif
57691 /* We use char because int might match the return type of a gcc2
57692 builtin and then its argument prototype would still apply. */
57693 char $ac_func ();
57694 /* The GNU C library defines this for functions which it implements
57695 to always fail with ENOSYS. Some functions are actually named
57696 something starting with __ and the normal name is an alias. */
57697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57698 choke me
57699 #else
57700 char (*f) () = $ac_func;
57701 #endif
57702 #ifdef __cplusplus
57704 #endif
57707 main ()
57709 return f != $ac_func;
57711 return 0;
57713 _ACEOF
57714 rm -f conftest.$ac_objext conftest$ac_exeext
57715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57716 (eval $ac_link) 2>conftest.er1
57717 ac_status=$?
57718 grep -v '^ *+' conftest.er1 >conftest.err
57719 rm -f conftest.er1
57720 cat conftest.err >&5
57721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57722 (exit $ac_status); } &&
57723 { ac_try='test -z "$ac_c_werror_flag"
57724 || test ! -s conftest.err'
57725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57726 (eval $ac_try) 2>&5
57727 ac_status=$?
57728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57729 (exit $ac_status); }; } &&
57730 { ac_try='test -s conftest$ac_exeext'
57731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57732 (eval $ac_try) 2>&5
57733 ac_status=$?
57734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57735 (exit $ac_status); }; }; then
57736 eval "$as_ac_var=yes"
57737 else
57738 echo "$as_me: failed program was:" >&5
57739 sed 's/^/| /' conftest.$ac_ext >&5
57741 eval "$as_ac_var=no"
57743 rm -f conftest.err conftest.$ac_objext \
57744 conftest$ac_exeext conftest.$ac_ext
57746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57748 if test `eval echo '${'$as_ac_var'}'` = yes; then
57749 cat >>confdefs.h <<_ACEOF
57750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57751 _ACEOF
57754 done
57766 echo "$as_me:$LINENO: checking for expf declaration" >&5
57767 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57768 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57769 if test "${glibcxx_cv_func_expf_use+set}" = set; then
57770 echo $ECHO_N "(cached) $ECHO_C" >&6
57771 else
57775 ac_ext=cc
57776 ac_cpp='$CXXCPP $CPPFLAGS'
57777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57781 cat >conftest.$ac_ext <<_ACEOF
57782 /* confdefs.h. */
57783 _ACEOF
57784 cat confdefs.h >>conftest.$ac_ext
57785 cat >>conftest.$ac_ext <<_ACEOF
57786 /* end confdefs.h. */
57787 #include <math.h>
57788 #ifdef HAVE_IEEEFP_H
57789 #include <ieeefp.h>
57790 #endif
57793 main ()
57795 expf(0);
57797 return 0;
57799 _ACEOF
57800 rm -f conftest.$ac_objext
57801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57802 (eval $ac_compile) 2>conftest.er1
57803 ac_status=$?
57804 grep -v '^ *+' conftest.er1 >conftest.err
57805 rm -f conftest.er1
57806 cat conftest.err >&5
57807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57808 (exit $ac_status); } &&
57809 { ac_try='test -z "$ac_cxx_werror_flag"
57810 || test ! -s conftest.err'
57811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57812 (eval $ac_try) 2>&5
57813 ac_status=$?
57814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57815 (exit $ac_status); }; } &&
57816 { ac_try='test -s conftest.$ac_objext'
57817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57818 (eval $ac_try) 2>&5
57819 ac_status=$?
57820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57821 (exit $ac_status); }; }; then
57822 glibcxx_cv_func_expf_use=yes
57823 else
57824 echo "$as_me: failed program was:" >&5
57825 sed 's/^/| /' conftest.$ac_ext >&5
57827 glibcxx_cv_func_expf_use=no
57829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57830 ac_ext=c
57831 ac_cpp='$CPP $CPPFLAGS'
57832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57840 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57841 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57843 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57845 for ac_func in expf
57847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57848 echo "$as_me:$LINENO: checking for $ac_func" >&5
57849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57850 if eval "test \"\${$as_ac_var+set}\" = set"; then
57851 echo $ECHO_N "(cached) $ECHO_C" >&6
57852 else
57853 if test x$gcc_no_link = xyes; then
57854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57856 { (exit 1); exit 1; }; }
57858 cat >conftest.$ac_ext <<_ACEOF
57859 /* confdefs.h. */
57860 _ACEOF
57861 cat confdefs.h >>conftest.$ac_ext
57862 cat >>conftest.$ac_ext <<_ACEOF
57863 /* end confdefs.h. */
57864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57866 #define $ac_func innocuous_$ac_func
57868 /* System header to define __stub macros and hopefully few prototypes,
57869 which can conflict with char $ac_func (); below.
57870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57871 <limits.h> exists even on freestanding compilers. */
57873 #ifdef __STDC__
57874 # include <limits.h>
57875 #else
57876 # include <assert.h>
57877 #endif
57879 #undef $ac_func
57881 /* Override any gcc2 internal prototype to avoid an error. */
57882 #ifdef __cplusplus
57883 extern "C"
57885 #endif
57886 /* We use char because int might match the return type of a gcc2
57887 builtin and then its argument prototype would still apply. */
57888 char $ac_func ();
57889 /* The GNU C library defines this for functions which it implements
57890 to always fail with ENOSYS. Some functions are actually named
57891 something starting with __ and the normal name is an alias. */
57892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57893 choke me
57894 #else
57895 char (*f) () = $ac_func;
57896 #endif
57897 #ifdef __cplusplus
57899 #endif
57902 main ()
57904 return f != $ac_func;
57906 return 0;
57908 _ACEOF
57909 rm -f conftest.$ac_objext conftest$ac_exeext
57910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57911 (eval $ac_link) 2>conftest.er1
57912 ac_status=$?
57913 grep -v '^ *+' conftest.er1 >conftest.err
57914 rm -f conftest.er1
57915 cat conftest.err >&5
57916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57917 (exit $ac_status); } &&
57918 { ac_try='test -z "$ac_c_werror_flag"
57919 || test ! -s conftest.err'
57920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57921 (eval $ac_try) 2>&5
57922 ac_status=$?
57923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57924 (exit $ac_status); }; } &&
57925 { ac_try='test -s conftest$ac_exeext'
57926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57927 (eval $ac_try) 2>&5
57928 ac_status=$?
57929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57930 (exit $ac_status); }; }; then
57931 eval "$as_ac_var=yes"
57932 else
57933 echo "$as_me: failed program was:" >&5
57934 sed 's/^/| /' conftest.$ac_ext >&5
57936 eval "$as_ac_var=no"
57938 rm -f conftest.err conftest.$ac_objext \
57939 conftest$ac_exeext conftest.$ac_ext
57941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57943 if test `eval echo '${'$as_ac_var'}'` = yes; then
57944 cat >>confdefs.h <<_ACEOF
57945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57946 _ACEOF
57949 done
57951 else
57953 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57954 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57955 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57956 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57957 echo $ECHO_N "(cached) $ECHO_C" >&6
57958 else
57962 ac_ext=cc
57963 ac_cpp='$CXXCPP $CPPFLAGS'
57964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57968 cat >conftest.$ac_ext <<_ACEOF
57969 /* confdefs.h. */
57970 _ACEOF
57971 cat confdefs.h >>conftest.$ac_ext
57972 cat >>conftest.$ac_ext <<_ACEOF
57973 /* end confdefs.h. */
57974 #include <math.h>
57975 #ifdef HAVE_IEEEFP_H
57976 #include <ieeefp.h>
57977 #endif
57980 main ()
57982 _expf(0);
57984 return 0;
57986 _ACEOF
57987 rm -f conftest.$ac_objext
57988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57989 (eval $ac_compile) 2>conftest.er1
57990 ac_status=$?
57991 grep -v '^ *+' conftest.er1 >conftest.err
57992 rm -f conftest.er1
57993 cat conftest.err >&5
57994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57995 (exit $ac_status); } &&
57996 { ac_try='test -z "$ac_cxx_werror_flag"
57997 || test ! -s conftest.err'
57998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57999 (eval $ac_try) 2>&5
58000 ac_status=$?
58001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58002 (exit $ac_status); }; } &&
58003 { ac_try='test -s conftest.$ac_objext'
58004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58005 (eval $ac_try) 2>&5
58006 ac_status=$?
58007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58008 (exit $ac_status); }; }; then
58009 glibcxx_cv_func__expf_use=yes
58010 else
58011 echo "$as_me: failed program was:" >&5
58012 sed 's/^/| /' conftest.$ac_ext >&5
58014 glibcxx_cv_func__expf_use=no
58016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58017 ac_ext=c
58018 ac_cpp='$CPP $CPPFLAGS'
58019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58027 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58028 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58030 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58032 for ac_func in _expf
58034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58035 echo "$as_me:$LINENO: checking for $ac_func" >&5
58036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58037 if eval "test \"\${$as_ac_var+set}\" = set"; then
58038 echo $ECHO_N "(cached) $ECHO_C" >&6
58039 else
58040 if test x$gcc_no_link = xyes; then
58041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58043 { (exit 1); exit 1; }; }
58045 cat >conftest.$ac_ext <<_ACEOF
58046 /* confdefs.h. */
58047 _ACEOF
58048 cat confdefs.h >>conftest.$ac_ext
58049 cat >>conftest.$ac_ext <<_ACEOF
58050 /* end confdefs.h. */
58051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58053 #define $ac_func innocuous_$ac_func
58055 /* System header to define __stub macros and hopefully few prototypes,
58056 which can conflict with char $ac_func (); below.
58057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58058 <limits.h> exists even on freestanding compilers. */
58060 #ifdef __STDC__
58061 # include <limits.h>
58062 #else
58063 # include <assert.h>
58064 #endif
58066 #undef $ac_func
58068 /* Override any gcc2 internal prototype to avoid an error. */
58069 #ifdef __cplusplus
58070 extern "C"
58072 #endif
58073 /* We use char because int might match the return type of a gcc2
58074 builtin and then its argument prototype would still apply. */
58075 char $ac_func ();
58076 /* The GNU C library defines this for functions which it implements
58077 to always fail with ENOSYS. Some functions are actually named
58078 something starting with __ and the normal name is an alias. */
58079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58080 choke me
58081 #else
58082 char (*f) () = $ac_func;
58083 #endif
58084 #ifdef __cplusplus
58086 #endif
58089 main ()
58091 return f != $ac_func;
58093 return 0;
58095 _ACEOF
58096 rm -f conftest.$ac_objext conftest$ac_exeext
58097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58098 (eval $ac_link) 2>conftest.er1
58099 ac_status=$?
58100 grep -v '^ *+' conftest.er1 >conftest.err
58101 rm -f conftest.er1
58102 cat conftest.err >&5
58103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58104 (exit $ac_status); } &&
58105 { ac_try='test -z "$ac_c_werror_flag"
58106 || test ! -s conftest.err'
58107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58108 (eval $ac_try) 2>&5
58109 ac_status=$?
58110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58111 (exit $ac_status); }; } &&
58112 { ac_try='test -s conftest$ac_exeext'
58113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58114 (eval $ac_try) 2>&5
58115 ac_status=$?
58116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58117 (exit $ac_status); }; }; then
58118 eval "$as_ac_var=yes"
58119 else
58120 echo "$as_me: failed program was:" >&5
58121 sed 's/^/| /' conftest.$ac_ext >&5
58123 eval "$as_ac_var=no"
58125 rm -f conftest.err conftest.$ac_objext \
58126 conftest$ac_exeext conftest.$ac_ext
58128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58130 if test `eval echo '${'$as_ac_var'}'` = yes; then
58131 cat >>confdefs.h <<_ACEOF
58132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58133 _ACEOF
58136 done
58146 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58147 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58148 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58149 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58150 echo $ECHO_N "(cached) $ECHO_C" >&6
58151 else
58155 ac_ext=cc
58156 ac_cpp='$CXXCPP $CPPFLAGS'
58157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58161 cat >conftest.$ac_ext <<_ACEOF
58162 /* confdefs.h. */
58163 _ACEOF
58164 cat confdefs.h >>conftest.$ac_ext
58165 cat >>conftest.$ac_ext <<_ACEOF
58166 /* end confdefs.h. */
58167 #include <math.h>
58168 #ifdef HAVE_IEEEFP_H
58169 #include <ieeefp.h>
58170 #endif
58173 main ()
58175 isnanf(0);
58177 return 0;
58179 _ACEOF
58180 rm -f conftest.$ac_objext
58181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58182 (eval $ac_compile) 2>conftest.er1
58183 ac_status=$?
58184 grep -v '^ *+' conftest.er1 >conftest.err
58185 rm -f conftest.er1
58186 cat conftest.err >&5
58187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58188 (exit $ac_status); } &&
58189 { ac_try='test -z "$ac_cxx_werror_flag"
58190 || test ! -s conftest.err'
58191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58192 (eval $ac_try) 2>&5
58193 ac_status=$?
58194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58195 (exit $ac_status); }; } &&
58196 { ac_try='test -s conftest.$ac_objext'
58197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58198 (eval $ac_try) 2>&5
58199 ac_status=$?
58200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58201 (exit $ac_status); }; }; then
58202 glibcxx_cv_func_isnanf_use=yes
58203 else
58204 echo "$as_me: failed program was:" >&5
58205 sed 's/^/| /' conftest.$ac_ext >&5
58207 glibcxx_cv_func_isnanf_use=no
58209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58210 ac_ext=c
58211 ac_cpp='$CPP $CPPFLAGS'
58212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58220 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58221 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58223 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58225 for ac_func in isnanf
58227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58228 echo "$as_me:$LINENO: checking for $ac_func" >&5
58229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58230 if eval "test \"\${$as_ac_var+set}\" = set"; then
58231 echo $ECHO_N "(cached) $ECHO_C" >&6
58232 else
58233 if test x$gcc_no_link = xyes; then
58234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58236 { (exit 1); exit 1; }; }
58238 cat >conftest.$ac_ext <<_ACEOF
58239 /* confdefs.h. */
58240 _ACEOF
58241 cat confdefs.h >>conftest.$ac_ext
58242 cat >>conftest.$ac_ext <<_ACEOF
58243 /* end confdefs.h. */
58244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58246 #define $ac_func innocuous_$ac_func
58248 /* System header to define __stub macros and hopefully few prototypes,
58249 which can conflict with char $ac_func (); below.
58250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58251 <limits.h> exists even on freestanding compilers. */
58253 #ifdef __STDC__
58254 # include <limits.h>
58255 #else
58256 # include <assert.h>
58257 #endif
58259 #undef $ac_func
58261 /* Override any gcc2 internal prototype to avoid an error. */
58262 #ifdef __cplusplus
58263 extern "C"
58265 #endif
58266 /* We use char because int might match the return type of a gcc2
58267 builtin and then its argument prototype would still apply. */
58268 char $ac_func ();
58269 /* The GNU C library defines this for functions which it implements
58270 to always fail with ENOSYS. Some functions are actually named
58271 something starting with __ and the normal name is an alias. */
58272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58273 choke me
58274 #else
58275 char (*f) () = $ac_func;
58276 #endif
58277 #ifdef __cplusplus
58279 #endif
58282 main ()
58284 return f != $ac_func;
58286 return 0;
58288 _ACEOF
58289 rm -f conftest.$ac_objext conftest$ac_exeext
58290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58291 (eval $ac_link) 2>conftest.er1
58292 ac_status=$?
58293 grep -v '^ *+' conftest.er1 >conftest.err
58294 rm -f conftest.er1
58295 cat conftest.err >&5
58296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58297 (exit $ac_status); } &&
58298 { ac_try='test -z "$ac_c_werror_flag"
58299 || test ! -s conftest.err'
58300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58301 (eval $ac_try) 2>&5
58302 ac_status=$?
58303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58304 (exit $ac_status); }; } &&
58305 { ac_try='test -s conftest$ac_exeext'
58306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58307 (eval $ac_try) 2>&5
58308 ac_status=$?
58309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58310 (exit $ac_status); }; }; then
58311 eval "$as_ac_var=yes"
58312 else
58313 echo "$as_me: failed program was:" >&5
58314 sed 's/^/| /' conftest.$ac_ext >&5
58316 eval "$as_ac_var=no"
58318 rm -f conftest.err conftest.$ac_objext \
58319 conftest$ac_exeext conftest.$ac_ext
58321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58323 if test `eval echo '${'$as_ac_var'}'` = yes; then
58324 cat >>confdefs.h <<_ACEOF
58325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58326 _ACEOF
58329 done
58331 else
58333 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
58334 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
58335 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58336 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
58337 echo $ECHO_N "(cached) $ECHO_C" >&6
58338 else
58342 ac_ext=cc
58343 ac_cpp='$CXXCPP $CPPFLAGS'
58344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58348 cat >conftest.$ac_ext <<_ACEOF
58349 /* confdefs.h. */
58350 _ACEOF
58351 cat confdefs.h >>conftest.$ac_ext
58352 cat >>conftest.$ac_ext <<_ACEOF
58353 /* end confdefs.h. */
58354 #include <math.h>
58355 #ifdef HAVE_IEEEFP_H
58356 #include <ieeefp.h>
58357 #endif
58360 main ()
58362 _isnanf(0);
58364 return 0;
58366 _ACEOF
58367 rm -f conftest.$ac_objext
58368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58369 (eval $ac_compile) 2>conftest.er1
58370 ac_status=$?
58371 grep -v '^ *+' conftest.er1 >conftest.err
58372 rm -f conftest.er1
58373 cat conftest.err >&5
58374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58375 (exit $ac_status); } &&
58376 { ac_try='test -z "$ac_cxx_werror_flag"
58377 || test ! -s conftest.err'
58378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58379 (eval $ac_try) 2>&5
58380 ac_status=$?
58381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58382 (exit $ac_status); }; } &&
58383 { ac_try='test -s conftest.$ac_objext'
58384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58385 (eval $ac_try) 2>&5
58386 ac_status=$?
58387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58388 (exit $ac_status); }; }; then
58389 glibcxx_cv_func__isnanf_use=yes
58390 else
58391 echo "$as_me: failed program was:" >&5
58392 sed 's/^/| /' conftest.$ac_ext >&5
58394 glibcxx_cv_func__isnanf_use=no
58396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58397 ac_ext=c
58398 ac_cpp='$CPP $CPPFLAGS'
58399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58407 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
58408 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
58410 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58412 for ac_func in _isnanf
58414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58415 echo "$as_me:$LINENO: checking for $ac_func" >&5
58416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58417 if eval "test \"\${$as_ac_var+set}\" = set"; then
58418 echo $ECHO_N "(cached) $ECHO_C" >&6
58419 else
58420 if test x$gcc_no_link = xyes; then
58421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58423 { (exit 1); exit 1; }; }
58425 cat >conftest.$ac_ext <<_ACEOF
58426 /* confdefs.h. */
58427 _ACEOF
58428 cat confdefs.h >>conftest.$ac_ext
58429 cat >>conftest.$ac_ext <<_ACEOF
58430 /* end confdefs.h. */
58431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58433 #define $ac_func innocuous_$ac_func
58435 /* System header to define __stub macros and hopefully few prototypes,
58436 which can conflict with char $ac_func (); below.
58437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58438 <limits.h> exists even on freestanding compilers. */
58440 #ifdef __STDC__
58441 # include <limits.h>
58442 #else
58443 # include <assert.h>
58444 #endif
58446 #undef $ac_func
58448 /* Override any gcc2 internal prototype to avoid an error. */
58449 #ifdef __cplusplus
58450 extern "C"
58452 #endif
58453 /* We use char because int might match the return type of a gcc2
58454 builtin and then its argument prototype would still apply. */
58455 char $ac_func ();
58456 /* The GNU C library defines this for functions which it implements
58457 to always fail with ENOSYS. Some functions are actually named
58458 something starting with __ and the normal name is an alias. */
58459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58460 choke me
58461 #else
58462 char (*f) () = $ac_func;
58463 #endif
58464 #ifdef __cplusplus
58466 #endif
58469 main ()
58471 return f != $ac_func;
58473 return 0;
58475 _ACEOF
58476 rm -f conftest.$ac_objext conftest$ac_exeext
58477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58478 (eval $ac_link) 2>conftest.er1
58479 ac_status=$?
58480 grep -v '^ *+' conftest.er1 >conftest.err
58481 rm -f conftest.er1
58482 cat conftest.err >&5
58483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58484 (exit $ac_status); } &&
58485 { ac_try='test -z "$ac_c_werror_flag"
58486 || test ! -s conftest.err'
58487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58488 (eval $ac_try) 2>&5
58489 ac_status=$?
58490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58491 (exit $ac_status); }; } &&
58492 { ac_try='test -s conftest$ac_exeext'
58493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58494 (eval $ac_try) 2>&5
58495 ac_status=$?
58496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58497 (exit $ac_status); }; }; then
58498 eval "$as_ac_var=yes"
58499 else
58500 echo "$as_me: failed program was:" >&5
58501 sed 's/^/| /' conftest.$ac_ext >&5
58503 eval "$as_ac_var=no"
58505 rm -f conftest.err conftest.$ac_objext \
58506 conftest$ac_exeext conftest.$ac_ext
58508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58510 if test `eval echo '${'$as_ac_var'}'` = yes; then
58511 cat >>confdefs.h <<_ACEOF
58512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58513 _ACEOF
58516 done
58526 echo "$as_me:$LINENO: checking for isinff declaration" >&5
58527 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
58528 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58529 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
58530 echo $ECHO_N "(cached) $ECHO_C" >&6
58531 else
58535 ac_ext=cc
58536 ac_cpp='$CXXCPP $CPPFLAGS'
58537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58541 cat >conftest.$ac_ext <<_ACEOF
58542 /* confdefs.h. */
58543 _ACEOF
58544 cat confdefs.h >>conftest.$ac_ext
58545 cat >>conftest.$ac_ext <<_ACEOF
58546 /* end confdefs.h. */
58547 #include <math.h>
58548 #ifdef HAVE_IEEEFP_H
58549 #include <ieeefp.h>
58550 #endif
58553 main ()
58555 isinff(0);
58557 return 0;
58559 _ACEOF
58560 rm -f conftest.$ac_objext
58561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58562 (eval $ac_compile) 2>conftest.er1
58563 ac_status=$?
58564 grep -v '^ *+' conftest.er1 >conftest.err
58565 rm -f conftest.er1
58566 cat conftest.err >&5
58567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58568 (exit $ac_status); } &&
58569 { ac_try='test -z "$ac_cxx_werror_flag"
58570 || test ! -s conftest.err'
58571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58572 (eval $ac_try) 2>&5
58573 ac_status=$?
58574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58575 (exit $ac_status); }; } &&
58576 { ac_try='test -s conftest.$ac_objext'
58577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58578 (eval $ac_try) 2>&5
58579 ac_status=$?
58580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58581 (exit $ac_status); }; }; then
58582 glibcxx_cv_func_isinff_use=yes
58583 else
58584 echo "$as_me: failed program was:" >&5
58585 sed 's/^/| /' conftest.$ac_ext >&5
58587 glibcxx_cv_func_isinff_use=no
58589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58590 ac_ext=c
58591 ac_cpp='$CPP $CPPFLAGS'
58592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58600 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
58601 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
58603 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58605 for ac_func in isinff
58607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58608 echo "$as_me:$LINENO: checking for $ac_func" >&5
58609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58610 if eval "test \"\${$as_ac_var+set}\" = set"; then
58611 echo $ECHO_N "(cached) $ECHO_C" >&6
58612 else
58613 if test x$gcc_no_link = xyes; then
58614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58616 { (exit 1); exit 1; }; }
58618 cat >conftest.$ac_ext <<_ACEOF
58619 /* confdefs.h. */
58620 _ACEOF
58621 cat confdefs.h >>conftest.$ac_ext
58622 cat >>conftest.$ac_ext <<_ACEOF
58623 /* end confdefs.h. */
58624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58626 #define $ac_func innocuous_$ac_func
58628 /* System header to define __stub macros and hopefully few prototypes,
58629 which can conflict with char $ac_func (); below.
58630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58631 <limits.h> exists even on freestanding compilers. */
58633 #ifdef __STDC__
58634 # include <limits.h>
58635 #else
58636 # include <assert.h>
58637 #endif
58639 #undef $ac_func
58641 /* Override any gcc2 internal prototype to avoid an error. */
58642 #ifdef __cplusplus
58643 extern "C"
58645 #endif
58646 /* We use char because int might match the return type of a gcc2
58647 builtin and then its argument prototype would still apply. */
58648 char $ac_func ();
58649 /* The GNU C library defines this for functions which it implements
58650 to always fail with ENOSYS. Some functions are actually named
58651 something starting with __ and the normal name is an alias. */
58652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58653 choke me
58654 #else
58655 char (*f) () = $ac_func;
58656 #endif
58657 #ifdef __cplusplus
58659 #endif
58662 main ()
58664 return f != $ac_func;
58666 return 0;
58668 _ACEOF
58669 rm -f conftest.$ac_objext conftest$ac_exeext
58670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58671 (eval $ac_link) 2>conftest.er1
58672 ac_status=$?
58673 grep -v '^ *+' conftest.er1 >conftest.err
58674 rm -f conftest.er1
58675 cat conftest.err >&5
58676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58677 (exit $ac_status); } &&
58678 { ac_try='test -z "$ac_c_werror_flag"
58679 || test ! -s conftest.err'
58680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58681 (eval $ac_try) 2>&5
58682 ac_status=$?
58683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58684 (exit $ac_status); }; } &&
58685 { ac_try='test -s conftest$ac_exeext'
58686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58687 (eval $ac_try) 2>&5
58688 ac_status=$?
58689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58690 (exit $ac_status); }; }; then
58691 eval "$as_ac_var=yes"
58692 else
58693 echo "$as_me: failed program was:" >&5
58694 sed 's/^/| /' conftest.$ac_ext >&5
58696 eval "$as_ac_var=no"
58698 rm -f conftest.err conftest.$ac_objext \
58699 conftest$ac_exeext conftest.$ac_ext
58701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58703 if test `eval echo '${'$as_ac_var'}'` = yes; then
58704 cat >>confdefs.h <<_ACEOF
58705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58706 _ACEOF
58709 done
58711 else
58713 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
58714 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
58715 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58716 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
58717 echo $ECHO_N "(cached) $ECHO_C" >&6
58718 else
58722 ac_ext=cc
58723 ac_cpp='$CXXCPP $CPPFLAGS'
58724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58728 cat >conftest.$ac_ext <<_ACEOF
58729 /* confdefs.h. */
58730 _ACEOF
58731 cat confdefs.h >>conftest.$ac_ext
58732 cat >>conftest.$ac_ext <<_ACEOF
58733 /* end confdefs.h. */
58734 #include <math.h>
58735 #ifdef HAVE_IEEEFP_H
58736 #include <ieeefp.h>
58737 #endif
58740 main ()
58742 _isinff(0);
58744 return 0;
58746 _ACEOF
58747 rm -f conftest.$ac_objext
58748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58749 (eval $ac_compile) 2>conftest.er1
58750 ac_status=$?
58751 grep -v '^ *+' conftest.er1 >conftest.err
58752 rm -f conftest.er1
58753 cat conftest.err >&5
58754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58755 (exit $ac_status); } &&
58756 { ac_try='test -z "$ac_cxx_werror_flag"
58757 || test ! -s conftest.err'
58758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58759 (eval $ac_try) 2>&5
58760 ac_status=$?
58761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58762 (exit $ac_status); }; } &&
58763 { ac_try='test -s conftest.$ac_objext'
58764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58765 (eval $ac_try) 2>&5
58766 ac_status=$?
58767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58768 (exit $ac_status); }; }; then
58769 glibcxx_cv_func__isinff_use=yes
58770 else
58771 echo "$as_me: failed program was:" >&5
58772 sed 's/^/| /' conftest.$ac_ext >&5
58774 glibcxx_cv_func__isinff_use=no
58776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58777 ac_ext=c
58778 ac_cpp='$CPP $CPPFLAGS'
58779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58787 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58788 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58790 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58792 for ac_func in _isinff
58794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58795 echo "$as_me:$LINENO: checking for $ac_func" >&5
58796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58797 if eval "test \"\${$as_ac_var+set}\" = set"; then
58798 echo $ECHO_N "(cached) $ECHO_C" >&6
58799 else
58800 if test x$gcc_no_link = xyes; then
58801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58803 { (exit 1); exit 1; }; }
58805 cat >conftest.$ac_ext <<_ACEOF
58806 /* confdefs.h. */
58807 _ACEOF
58808 cat confdefs.h >>conftest.$ac_ext
58809 cat >>conftest.$ac_ext <<_ACEOF
58810 /* end confdefs.h. */
58811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58813 #define $ac_func innocuous_$ac_func
58815 /* System header to define __stub macros and hopefully few prototypes,
58816 which can conflict with char $ac_func (); below.
58817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58818 <limits.h> exists even on freestanding compilers. */
58820 #ifdef __STDC__
58821 # include <limits.h>
58822 #else
58823 # include <assert.h>
58824 #endif
58826 #undef $ac_func
58828 /* Override any gcc2 internal prototype to avoid an error. */
58829 #ifdef __cplusplus
58830 extern "C"
58832 #endif
58833 /* We use char because int might match the return type of a gcc2
58834 builtin and then its argument prototype would still apply. */
58835 char $ac_func ();
58836 /* The GNU C library defines this for functions which it implements
58837 to always fail with ENOSYS. Some functions are actually named
58838 something starting with __ and the normal name is an alias. */
58839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58840 choke me
58841 #else
58842 char (*f) () = $ac_func;
58843 #endif
58844 #ifdef __cplusplus
58846 #endif
58849 main ()
58851 return f != $ac_func;
58853 return 0;
58855 _ACEOF
58856 rm -f conftest.$ac_objext conftest$ac_exeext
58857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58858 (eval $ac_link) 2>conftest.er1
58859 ac_status=$?
58860 grep -v '^ *+' conftest.er1 >conftest.err
58861 rm -f conftest.er1
58862 cat conftest.err >&5
58863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58864 (exit $ac_status); } &&
58865 { ac_try='test -z "$ac_c_werror_flag"
58866 || test ! -s conftest.err'
58867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58868 (eval $ac_try) 2>&5
58869 ac_status=$?
58870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58871 (exit $ac_status); }; } &&
58872 { ac_try='test -s conftest$ac_exeext'
58873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58874 (eval $ac_try) 2>&5
58875 ac_status=$?
58876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58877 (exit $ac_status); }; }; then
58878 eval "$as_ac_var=yes"
58879 else
58880 echo "$as_me: failed program was:" >&5
58881 sed 's/^/| /' conftest.$ac_ext >&5
58883 eval "$as_ac_var=no"
58885 rm -f conftest.err conftest.$ac_objext \
58886 conftest$ac_exeext conftest.$ac_ext
58888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58890 if test `eval echo '${'$as_ac_var'}'` = yes; then
58891 cat >>confdefs.h <<_ACEOF
58892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58893 _ACEOF
58896 done
58906 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58907 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58908 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58909 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58910 echo $ECHO_N "(cached) $ECHO_C" >&6
58911 else
58915 ac_ext=cc
58916 ac_cpp='$CXXCPP $CPPFLAGS'
58917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58921 cat >conftest.$ac_ext <<_ACEOF
58922 /* confdefs.h. */
58923 _ACEOF
58924 cat confdefs.h >>conftest.$ac_ext
58925 cat >>conftest.$ac_ext <<_ACEOF
58926 /* end confdefs.h. */
58927 #include <math.h>
58929 main ()
58931 atan2f(0, 0);
58933 return 0;
58935 _ACEOF
58936 rm -f conftest.$ac_objext
58937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58938 (eval $ac_compile) 2>conftest.er1
58939 ac_status=$?
58940 grep -v '^ *+' conftest.er1 >conftest.err
58941 rm -f conftest.er1
58942 cat conftest.err >&5
58943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58944 (exit $ac_status); } &&
58945 { ac_try='test -z "$ac_cxx_werror_flag"
58946 || test ! -s conftest.err'
58947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58948 (eval $ac_try) 2>&5
58949 ac_status=$?
58950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58951 (exit $ac_status); }; } &&
58952 { ac_try='test -s conftest.$ac_objext'
58953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58954 (eval $ac_try) 2>&5
58955 ac_status=$?
58956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58957 (exit $ac_status); }; }; then
58958 glibcxx_cv_func_atan2f_use=yes
58959 else
58960 echo "$as_me: failed program was:" >&5
58961 sed 's/^/| /' conftest.$ac_ext >&5
58963 glibcxx_cv_func_atan2f_use=no
58965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58966 ac_ext=c
58967 ac_cpp='$CPP $CPPFLAGS'
58968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58976 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58977 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58979 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58981 for ac_func in atan2f
58983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58984 echo "$as_me:$LINENO: checking for $ac_func" >&5
58985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58986 if eval "test \"\${$as_ac_var+set}\" = set"; then
58987 echo $ECHO_N "(cached) $ECHO_C" >&6
58988 else
58989 if test x$gcc_no_link = xyes; then
58990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58992 { (exit 1); exit 1; }; }
58994 cat >conftest.$ac_ext <<_ACEOF
58995 /* confdefs.h. */
58996 _ACEOF
58997 cat confdefs.h >>conftest.$ac_ext
58998 cat >>conftest.$ac_ext <<_ACEOF
58999 /* end confdefs.h. */
59000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59002 #define $ac_func innocuous_$ac_func
59004 /* System header to define __stub macros and hopefully few prototypes,
59005 which can conflict with char $ac_func (); below.
59006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59007 <limits.h> exists even on freestanding compilers. */
59009 #ifdef __STDC__
59010 # include <limits.h>
59011 #else
59012 # include <assert.h>
59013 #endif
59015 #undef $ac_func
59017 /* Override any gcc2 internal prototype to avoid an error. */
59018 #ifdef __cplusplus
59019 extern "C"
59021 #endif
59022 /* We use char because int might match the return type of a gcc2
59023 builtin and then its argument prototype would still apply. */
59024 char $ac_func ();
59025 /* The GNU C library defines this for functions which it implements
59026 to always fail with ENOSYS. Some functions are actually named
59027 something starting with __ and the normal name is an alias. */
59028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59029 choke me
59030 #else
59031 char (*f) () = $ac_func;
59032 #endif
59033 #ifdef __cplusplus
59035 #endif
59038 main ()
59040 return f != $ac_func;
59042 return 0;
59044 _ACEOF
59045 rm -f conftest.$ac_objext conftest$ac_exeext
59046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59047 (eval $ac_link) 2>conftest.er1
59048 ac_status=$?
59049 grep -v '^ *+' conftest.er1 >conftest.err
59050 rm -f conftest.er1
59051 cat conftest.err >&5
59052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59053 (exit $ac_status); } &&
59054 { ac_try='test -z "$ac_c_werror_flag"
59055 || test ! -s conftest.err'
59056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59057 (eval $ac_try) 2>&5
59058 ac_status=$?
59059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59060 (exit $ac_status); }; } &&
59061 { ac_try='test -s conftest$ac_exeext'
59062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59063 (eval $ac_try) 2>&5
59064 ac_status=$?
59065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59066 (exit $ac_status); }; }; then
59067 eval "$as_ac_var=yes"
59068 else
59069 echo "$as_me: failed program was:" >&5
59070 sed 's/^/| /' conftest.$ac_ext >&5
59072 eval "$as_ac_var=no"
59074 rm -f conftest.err conftest.$ac_objext \
59075 conftest$ac_exeext conftest.$ac_ext
59077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59079 if test `eval echo '${'$as_ac_var'}'` = yes; then
59080 cat >>confdefs.h <<_ACEOF
59081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59082 _ACEOF
59085 done
59087 else
59089 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59090 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59091 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59092 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59093 echo $ECHO_N "(cached) $ECHO_C" >&6
59094 else
59098 ac_ext=cc
59099 ac_cpp='$CXXCPP $CPPFLAGS'
59100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59104 cat >conftest.$ac_ext <<_ACEOF
59105 /* confdefs.h. */
59106 _ACEOF
59107 cat confdefs.h >>conftest.$ac_ext
59108 cat >>conftest.$ac_ext <<_ACEOF
59109 /* end confdefs.h. */
59110 #include <math.h>
59112 main ()
59114 _atan2f(0, 0);
59116 return 0;
59118 _ACEOF
59119 rm -f conftest.$ac_objext
59120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59121 (eval $ac_compile) 2>conftest.er1
59122 ac_status=$?
59123 grep -v '^ *+' conftest.er1 >conftest.err
59124 rm -f conftest.er1
59125 cat conftest.err >&5
59126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59127 (exit $ac_status); } &&
59128 { ac_try='test -z "$ac_cxx_werror_flag"
59129 || test ! -s conftest.err'
59130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59131 (eval $ac_try) 2>&5
59132 ac_status=$?
59133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59134 (exit $ac_status); }; } &&
59135 { ac_try='test -s conftest.$ac_objext'
59136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59137 (eval $ac_try) 2>&5
59138 ac_status=$?
59139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59140 (exit $ac_status); }; }; then
59141 glibcxx_cv_func__atan2f_use=yes
59142 else
59143 echo "$as_me: failed program was:" >&5
59144 sed 's/^/| /' conftest.$ac_ext >&5
59146 glibcxx_cv_func__atan2f_use=no
59148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59149 ac_ext=c
59150 ac_cpp='$CPP $CPPFLAGS'
59151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59159 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59160 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59162 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59164 for ac_func in _atan2f
59166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59167 echo "$as_me:$LINENO: checking for $ac_func" >&5
59168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59169 if eval "test \"\${$as_ac_var+set}\" = set"; then
59170 echo $ECHO_N "(cached) $ECHO_C" >&6
59171 else
59172 if test x$gcc_no_link = xyes; then
59173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59175 { (exit 1); exit 1; }; }
59177 cat >conftest.$ac_ext <<_ACEOF
59178 /* confdefs.h. */
59179 _ACEOF
59180 cat confdefs.h >>conftest.$ac_ext
59181 cat >>conftest.$ac_ext <<_ACEOF
59182 /* end confdefs.h. */
59183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59185 #define $ac_func innocuous_$ac_func
59187 /* System header to define __stub macros and hopefully few prototypes,
59188 which can conflict with char $ac_func (); below.
59189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59190 <limits.h> exists even on freestanding compilers. */
59192 #ifdef __STDC__
59193 # include <limits.h>
59194 #else
59195 # include <assert.h>
59196 #endif
59198 #undef $ac_func
59200 /* Override any gcc2 internal prototype to avoid an error. */
59201 #ifdef __cplusplus
59202 extern "C"
59204 #endif
59205 /* We use char because int might match the return type of a gcc2
59206 builtin and then its argument prototype would still apply. */
59207 char $ac_func ();
59208 /* The GNU C library defines this for functions which it implements
59209 to always fail with ENOSYS. Some functions are actually named
59210 something starting with __ and the normal name is an alias. */
59211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59212 choke me
59213 #else
59214 char (*f) () = $ac_func;
59215 #endif
59216 #ifdef __cplusplus
59218 #endif
59221 main ()
59223 return f != $ac_func;
59225 return 0;
59227 _ACEOF
59228 rm -f conftest.$ac_objext conftest$ac_exeext
59229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59230 (eval $ac_link) 2>conftest.er1
59231 ac_status=$?
59232 grep -v '^ *+' conftest.er1 >conftest.err
59233 rm -f conftest.er1
59234 cat conftest.err >&5
59235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59236 (exit $ac_status); } &&
59237 { ac_try='test -z "$ac_c_werror_flag"
59238 || test ! -s conftest.err'
59239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59240 (eval $ac_try) 2>&5
59241 ac_status=$?
59242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59243 (exit $ac_status); }; } &&
59244 { ac_try='test -s conftest$ac_exeext'
59245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59246 (eval $ac_try) 2>&5
59247 ac_status=$?
59248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59249 (exit $ac_status); }; }; then
59250 eval "$as_ac_var=yes"
59251 else
59252 echo "$as_me: failed program was:" >&5
59253 sed 's/^/| /' conftest.$ac_ext >&5
59255 eval "$as_ac_var=no"
59257 rm -f conftest.err conftest.$ac_objext \
59258 conftest$ac_exeext conftest.$ac_ext
59260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59262 if test `eval echo '${'$as_ac_var'}'` = yes; then
59263 cat >>confdefs.h <<_ACEOF
59264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59265 _ACEOF
59268 done
59278 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59279 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59280 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59281 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59282 echo $ECHO_N "(cached) $ECHO_C" >&6
59283 else
59287 ac_ext=cc
59288 ac_cpp='$CXXCPP $CPPFLAGS'
59289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59293 cat >conftest.$ac_ext <<_ACEOF
59294 /* confdefs.h. */
59295 _ACEOF
59296 cat confdefs.h >>conftest.$ac_ext
59297 cat >>conftest.$ac_ext <<_ACEOF
59298 /* end confdefs.h. */
59299 #include <math.h>
59300 #ifdef HAVE_IEEEFP_H
59301 #include <ieeefp.h>
59302 #endif
59305 main ()
59307 fabsf(0);
59309 return 0;
59311 _ACEOF
59312 rm -f conftest.$ac_objext
59313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59314 (eval $ac_compile) 2>conftest.er1
59315 ac_status=$?
59316 grep -v '^ *+' conftest.er1 >conftest.err
59317 rm -f conftest.er1
59318 cat conftest.err >&5
59319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59320 (exit $ac_status); } &&
59321 { ac_try='test -z "$ac_cxx_werror_flag"
59322 || test ! -s conftest.err'
59323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59324 (eval $ac_try) 2>&5
59325 ac_status=$?
59326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59327 (exit $ac_status); }; } &&
59328 { ac_try='test -s conftest.$ac_objext'
59329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59330 (eval $ac_try) 2>&5
59331 ac_status=$?
59332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59333 (exit $ac_status); }; }; then
59334 glibcxx_cv_func_fabsf_use=yes
59335 else
59336 echo "$as_me: failed program was:" >&5
59337 sed 's/^/| /' conftest.$ac_ext >&5
59339 glibcxx_cv_func_fabsf_use=no
59341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59342 ac_ext=c
59343 ac_cpp='$CPP $CPPFLAGS'
59344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
59353 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
59355 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59357 for ac_func in fabsf
59359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59360 echo "$as_me:$LINENO: checking for $ac_func" >&5
59361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59362 if eval "test \"\${$as_ac_var+set}\" = set"; then
59363 echo $ECHO_N "(cached) $ECHO_C" >&6
59364 else
59365 if test x$gcc_no_link = xyes; then
59366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59368 { (exit 1); exit 1; }; }
59370 cat >conftest.$ac_ext <<_ACEOF
59371 /* confdefs.h. */
59372 _ACEOF
59373 cat confdefs.h >>conftest.$ac_ext
59374 cat >>conftest.$ac_ext <<_ACEOF
59375 /* end confdefs.h. */
59376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59378 #define $ac_func innocuous_$ac_func
59380 /* System header to define __stub macros and hopefully few prototypes,
59381 which can conflict with char $ac_func (); below.
59382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59383 <limits.h> exists even on freestanding compilers. */
59385 #ifdef __STDC__
59386 # include <limits.h>
59387 #else
59388 # include <assert.h>
59389 #endif
59391 #undef $ac_func
59393 /* Override any gcc2 internal prototype to avoid an error. */
59394 #ifdef __cplusplus
59395 extern "C"
59397 #endif
59398 /* We use char because int might match the return type of a gcc2
59399 builtin and then its argument prototype would still apply. */
59400 char $ac_func ();
59401 /* The GNU C library defines this for functions which it implements
59402 to always fail with ENOSYS. Some functions are actually named
59403 something starting with __ and the normal name is an alias. */
59404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59405 choke me
59406 #else
59407 char (*f) () = $ac_func;
59408 #endif
59409 #ifdef __cplusplus
59411 #endif
59414 main ()
59416 return f != $ac_func;
59418 return 0;
59420 _ACEOF
59421 rm -f conftest.$ac_objext conftest$ac_exeext
59422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59423 (eval $ac_link) 2>conftest.er1
59424 ac_status=$?
59425 grep -v '^ *+' conftest.er1 >conftest.err
59426 rm -f conftest.er1
59427 cat conftest.err >&5
59428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59429 (exit $ac_status); } &&
59430 { ac_try='test -z "$ac_c_werror_flag"
59431 || test ! -s conftest.err'
59432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59433 (eval $ac_try) 2>&5
59434 ac_status=$?
59435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59436 (exit $ac_status); }; } &&
59437 { ac_try='test -s conftest$ac_exeext'
59438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59439 (eval $ac_try) 2>&5
59440 ac_status=$?
59441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59442 (exit $ac_status); }; }; then
59443 eval "$as_ac_var=yes"
59444 else
59445 echo "$as_me: failed program was:" >&5
59446 sed 's/^/| /' conftest.$ac_ext >&5
59448 eval "$as_ac_var=no"
59450 rm -f conftest.err conftest.$ac_objext \
59451 conftest$ac_exeext conftest.$ac_ext
59453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59455 if test `eval echo '${'$as_ac_var'}'` = yes; then
59456 cat >>confdefs.h <<_ACEOF
59457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59458 _ACEOF
59461 done
59463 else
59465 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
59466 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
59467 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59468 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
59469 echo $ECHO_N "(cached) $ECHO_C" >&6
59470 else
59474 ac_ext=cc
59475 ac_cpp='$CXXCPP $CPPFLAGS'
59476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59480 cat >conftest.$ac_ext <<_ACEOF
59481 /* confdefs.h. */
59482 _ACEOF
59483 cat confdefs.h >>conftest.$ac_ext
59484 cat >>conftest.$ac_ext <<_ACEOF
59485 /* end confdefs.h. */
59486 #include <math.h>
59487 #ifdef HAVE_IEEEFP_H
59488 #include <ieeefp.h>
59489 #endif
59492 main ()
59494 _fabsf(0);
59496 return 0;
59498 _ACEOF
59499 rm -f conftest.$ac_objext
59500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59501 (eval $ac_compile) 2>conftest.er1
59502 ac_status=$?
59503 grep -v '^ *+' conftest.er1 >conftest.err
59504 rm -f conftest.er1
59505 cat conftest.err >&5
59506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59507 (exit $ac_status); } &&
59508 { ac_try='test -z "$ac_cxx_werror_flag"
59509 || test ! -s conftest.err'
59510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59511 (eval $ac_try) 2>&5
59512 ac_status=$?
59513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59514 (exit $ac_status); }; } &&
59515 { ac_try='test -s conftest.$ac_objext'
59516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59517 (eval $ac_try) 2>&5
59518 ac_status=$?
59519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59520 (exit $ac_status); }; }; then
59521 glibcxx_cv_func__fabsf_use=yes
59522 else
59523 echo "$as_me: failed program was:" >&5
59524 sed 's/^/| /' conftest.$ac_ext >&5
59526 glibcxx_cv_func__fabsf_use=no
59528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59529 ac_ext=c
59530 ac_cpp='$CPP $CPPFLAGS'
59531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
59540 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
59542 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59544 for ac_func in _fabsf
59546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59547 echo "$as_me:$LINENO: checking for $ac_func" >&5
59548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59549 if eval "test \"\${$as_ac_var+set}\" = set"; then
59550 echo $ECHO_N "(cached) $ECHO_C" >&6
59551 else
59552 if test x$gcc_no_link = xyes; then
59553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59555 { (exit 1); exit 1; }; }
59557 cat >conftest.$ac_ext <<_ACEOF
59558 /* confdefs.h. */
59559 _ACEOF
59560 cat confdefs.h >>conftest.$ac_ext
59561 cat >>conftest.$ac_ext <<_ACEOF
59562 /* end confdefs.h. */
59563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59565 #define $ac_func innocuous_$ac_func
59567 /* System header to define __stub macros and hopefully few prototypes,
59568 which can conflict with char $ac_func (); below.
59569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59570 <limits.h> exists even on freestanding compilers. */
59572 #ifdef __STDC__
59573 # include <limits.h>
59574 #else
59575 # include <assert.h>
59576 #endif
59578 #undef $ac_func
59580 /* Override any gcc2 internal prototype to avoid an error. */
59581 #ifdef __cplusplus
59582 extern "C"
59584 #endif
59585 /* We use char because int might match the return type of a gcc2
59586 builtin and then its argument prototype would still apply. */
59587 char $ac_func ();
59588 /* The GNU C library defines this for functions which it implements
59589 to always fail with ENOSYS. Some functions are actually named
59590 something starting with __ and the normal name is an alias. */
59591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59592 choke me
59593 #else
59594 char (*f) () = $ac_func;
59595 #endif
59596 #ifdef __cplusplus
59598 #endif
59601 main ()
59603 return f != $ac_func;
59605 return 0;
59607 _ACEOF
59608 rm -f conftest.$ac_objext conftest$ac_exeext
59609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59610 (eval $ac_link) 2>conftest.er1
59611 ac_status=$?
59612 grep -v '^ *+' conftest.er1 >conftest.err
59613 rm -f conftest.er1
59614 cat conftest.err >&5
59615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59616 (exit $ac_status); } &&
59617 { ac_try='test -z "$ac_c_werror_flag"
59618 || test ! -s conftest.err'
59619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59620 (eval $ac_try) 2>&5
59621 ac_status=$?
59622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59623 (exit $ac_status); }; } &&
59624 { ac_try='test -s conftest$ac_exeext'
59625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59626 (eval $ac_try) 2>&5
59627 ac_status=$?
59628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59629 (exit $ac_status); }; }; then
59630 eval "$as_ac_var=yes"
59631 else
59632 echo "$as_me: failed program was:" >&5
59633 sed 's/^/| /' conftest.$ac_ext >&5
59635 eval "$as_ac_var=no"
59637 rm -f conftest.err conftest.$ac_objext \
59638 conftest$ac_exeext conftest.$ac_ext
59640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59642 if test `eval echo '${'$as_ac_var'}'` = yes; then
59643 cat >>confdefs.h <<_ACEOF
59644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59645 _ACEOF
59648 done
59658 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
59659 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
59660 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59661 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
59662 echo $ECHO_N "(cached) $ECHO_C" >&6
59663 else
59667 ac_ext=cc
59668 ac_cpp='$CXXCPP $CPPFLAGS'
59669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59673 cat >conftest.$ac_ext <<_ACEOF
59674 /* confdefs.h. */
59675 _ACEOF
59676 cat confdefs.h >>conftest.$ac_ext
59677 cat >>conftest.$ac_ext <<_ACEOF
59678 /* end confdefs.h. */
59679 #include <math.h>
59681 main ()
59683 fmodf(0, 0);
59685 return 0;
59687 _ACEOF
59688 rm -f conftest.$ac_objext
59689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59690 (eval $ac_compile) 2>conftest.er1
59691 ac_status=$?
59692 grep -v '^ *+' conftest.er1 >conftest.err
59693 rm -f conftest.er1
59694 cat conftest.err >&5
59695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59696 (exit $ac_status); } &&
59697 { ac_try='test -z "$ac_cxx_werror_flag"
59698 || test ! -s conftest.err'
59699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59700 (eval $ac_try) 2>&5
59701 ac_status=$?
59702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59703 (exit $ac_status); }; } &&
59704 { ac_try='test -s conftest.$ac_objext'
59705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59706 (eval $ac_try) 2>&5
59707 ac_status=$?
59708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59709 (exit $ac_status); }; }; then
59710 glibcxx_cv_func_fmodf_use=yes
59711 else
59712 echo "$as_me: failed program was:" >&5
59713 sed 's/^/| /' conftest.$ac_ext >&5
59715 glibcxx_cv_func_fmodf_use=no
59717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59718 ac_ext=c
59719 ac_cpp='$CPP $CPPFLAGS'
59720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
59729 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
59731 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59733 for ac_func in fmodf
59735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59736 echo "$as_me:$LINENO: checking for $ac_func" >&5
59737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59738 if eval "test \"\${$as_ac_var+set}\" = set"; then
59739 echo $ECHO_N "(cached) $ECHO_C" >&6
59740 else
59741 if test x$gcc_no_link = xyes; then
59742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59744 { (exit 1); exit 1; }; }
59746 cat >conftest.$ac_ext <<_ACEOF
59747 /* confdefs.h. */
59748 _ACEOF
59749 cat confdefs.h >>conftest.$ac_ext
59750 cat >>conftest.$ac_ext <<_ACEOF
59751 /* end confdefs.h. */
59752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59754 #define $ac_func innocuous_$ac_func
59756 /* System header to define __stub macros and hopefully few prototypes,
59757 which can conflict with char $ac_func (); below.
59758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59759 <limits.h> exists even on freestanding compilers. */
59761 #ifdef __STDC__
59762 # include <limits.h>
59763 #else
59764 # include <assert.h>
59765 #endif
59767 #undef $ac_func
59769 /* Override any gcc2 internal prototype to avoid an error. */
59770 #ifdef __cplusplus
59771 extern "C"
59773 #endif
59774 /* We use char because int might match the return type of a gcc2
59775 builtin and then its argument prototype would still apply. */
59776 char $ac_func ();
59777 /* The GNU C library defines this for functions which it implements
59778 to always fail with ENOSYS. Some functions are actually named
59779 something starting with __ and the normal name is an alias. */
59780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59781 choke me
59782 #else
59783 char (*f) () = $ac_func;
59784 #endif
59785 #ifdef __cplusplus
59787 #endif
59790 main ()
59792 return f != $ac_func;
59794 return 0;
59796 _ACEOF
59797 rm -f conftest.$ac_objext conftest$ac_exeext
59798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59799 (eval $ac_link) 2>conftest.er1
59800 ac_status=$?
59801 grep -v '^ *+' conftest.er1 >conftest.err
59802 rm -f conftest.er1
59803 cat conftest.err >&5
59804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59805 (exit $ac_status); } &&
59806 { ac_try='test -z "$ac_c_werror_flag"
59807 || test ! -s conftest.err'
59808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59809 (eval $ac_try) 2>&5
59810 ac_status=$?
59811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59812 (exit $ac_status); }; } &&
59813 { ac_try='test -s conftest$ac_exeext'
59814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59815 (eval $ac_try) 2>&5
59816 ac_status=$?
59817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59818 (exit $ac_status); }; }; then
59819 eval "$as_ac_var=yes"
59820 else
59821 echo "$as_me: failed program was:" >&5
59822 sed 's/^/| /' conftest.$ac_ext >&5
59824 eval "$as_ac_var=no"
59826 rm -f conftest.err conftest.$ac_objext \
59827 conftest$ac_exeext conftest.$ac_ext
59829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59831 if test `eval echo '${'$as_ac_var'}'` = yes; then
59832 cat >>confdefs.h <<_ACEOF
59833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59834 _ACEOF
59837 done
59839 else
59841 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59842 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59843 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59844 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59845 echo $ECHO_N "(cached) $ECHO_C" >&6
59846 else
59850 ac_ext=cc
59851 ac_cpp='$CXXCPP $CPPFLAGS'
59852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59856 cat >conftest.$ac_ext <<_ACEOF
59857 /* confdefs.h. */
59858 _ACEOF
59859 cat confdefs.h >>conftest.$ac_ext
59860 cat >>conftest.$ac_ext <<_ACEOF
59861 /* end confdefs.h. */
59862 #include <math.h>
59864 main ()
59866 _fmodf(0, 0);
59868 return 0;
59870 _ACEOF
59871 rm -f conftest.$ac_objext
59872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59873 (eval $ac_compile) 2>conftest.er1
59874 ac_status=$?
59875 grep -v '^ *+' conftest.er1 >conftest.err
59876 rm -f conftest.er1
59877 cat conftest.err >&5
59878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59879 (exit $ac_status); } &&
59880 { ac_try='test -z "$ac_cxx_werror_flag"
59881 || test ! -s conftest.err'
59882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59883 (eval $ac_try) 2>&5
59884 ac_status=$?
59885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59886 (exit $ac_status); }; } &&
59887 { ac_try='test -s conftest.$ac_objext'
59888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59889 (eval $ac_try) 2>&5
59890 ac_status=$?
59891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59892 (exit $ac_status); }; }; then
59893 glibcxx_cv_func__fmodf_use=yes
59894 else
59895 echo "$as_me: failed program was:" >&5
59896 sed 's/^/| /' conftest.$ac_ext >&5
59898 glibcxx_cv_func__fmodf_use=no
59900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59901 ac_ext=c
59902 ac_cpp='$CPP $CPPFLAGS'
59903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59912 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59914 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59916 for ac_func in _fmodf
59918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59919 echo "$as_me:$LINENO: checking for $ac_func" >&5
59920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59921 if eval "test \"\${$as_ac_var+set}\" = set"; then
59922 echo $ECHO_N "(cached) $ECHO_C" >&6
59923 else
59924 if test x$gcc_no_link = xyes; then
59925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59927 { (exit 1); exit 1; }; }
59929 cat >conftest.$ac_ext <<_ACEOF
59930 /* confdefs.h. */
59931 _ACEOF
59932 cat confdefs.h >>conftest.$ac_ext
59933 cat >>conftest.$ac_ext <<_ACEOF
59934 /* end confdefs.h. */
59935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59937 #define $ac_func innocuous_$ac_func
59939 /* System header to define __stub macros and hopefully few prototypes,
59940 which can conflict with char $ac_func (); below.
59941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59942 <limits.h> exists even on freestanding compilers. */
59944 #ifdef __STDC__
59945 # include <limits.h>
59946 #else
59947 # include <assert.h>
59948 #endif
59950 #undef $ac_func
59952 /* Override any gcc2 internal prototype to avoid an error. */
59953 #ifdef __cplusplus
59954 extern "C"
59956 #endif
59957 /* We use char because int might match the return type of a gcc2
59958 builtin and then its argument prototype would still apply. */
59959 char $ac_func ();
59960 /* The GNU C library defines this for functions which it implements
59961 to always fail with ENOSYS. Some functions are actually named
59962 something starting with __ and the normal name is an alias. */
59963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59964 choke me
59965 #else
59966 char (*f) () = $ac_func;
59967 #endif
59968 #ifdef __cplusplus
59970 #endif
59973 main ()
59975 return f != $ac_func;
59977 return 0;
59979 _ACEOF
59980 rm -f conftest.$ac_objext conftest$ac_exeext
59981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59982 (eval $ac_link) 2>conftest.er1
59983 ac_status=$?
59984 grep -v '^ *+' conftest.er1 >conftest.err
59985 rm -f conftest.er1
59986 cat conftest.err >&5
59987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59988 (exit $ac_status); } &&
59989 { ac_try='test -z "$ac_c_werror_flag"
59990 || test ! -s conftest.err'
59991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59992 (eval $ac_try) 2>&5
59993 ac_status=$?
59994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59995 (exit $ac_status); }; } &&
59996 { ac_try='test -s conftest$ac_exeext'
59997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59998 (eval $ac_try) 2>&5
59999 ac_status=$?
60000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60001 (exit $ac_status); }; }; then
60002 eval "$as_ac_var=yes"
60003 else
60004 echo "$as_me: failed program was:" >&5
60005 sed 's/^/| /' conftest.$ac_ext >&5
60007 eval "$as_ac_var=no"
60009 rm -f conftest.err conftest.$ac_objext \
60010 conftest$ac_exeext conftest.$ac_ext
60012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60014 if test `eval echo '${'$as_ac_var'}'` = yes; then
60015 cat >>confdefs.h <<_ACEOF
60016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60017 _ACEOF
60020 done
60030 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60031 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60032 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60033 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60034 echo $ECHO_N "(cached) $ECHO_C" >&6
60035 else
60039 ac_ext=cc
60040 ac_cpp='$CXXCPP $CPPFLAGS'
60041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60045 cat >conftest.$ac_ext <<_ACEOF
60046 /* confdefs.h. */
60047 _ACEOF
60048 cat confdefs.h >>conftest.$ac_ext
60049 cat >>conftest.$ac_ext <<_ACEOF
60050 /* end confdefs.h. */
60051 #include <math.h>
60053 main ()
60055 frexpf(0, 0);
60057 return 0;
60059 _ACEOF
60060 rm -f conftest.$ac_objext
60061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60062 (eval $ac_compile) 2>conftest.er1
60063 ac_status=$?
60064 grep -v '^ *+' conftest.er1 >conftest.err
60065 rm -f conftest.er1
60066 cat conftest.err >&5
60067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60068 (exit $ac_status); } &&
60069 { ac_try='test -z "$ac_cxx_werror_flag"
60070 || test ! -s conftest.err'
60071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60072 (eval $ac_try) 2>&5
60073 ac_status=$?
60074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60075 (exit $ac_status); }; } &&
60076 { ac_try='test -s conftest.$ac_objext'
60077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60078 (eval $ac_try) 2>&5
60079 ac_status=$?
60080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60081 (exit $ac_status); }; }; then
60082 glibcxx_cv_func_frexpf_use=yes
60083 else
60084 echo "$as_me: failed program was:" >&5
60085 sed 's/^/| /' conftest.$ac_ext >&5
60087 glibcxx_cv_func_frexpf_use=no
60089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60090 ac_ext=c
60091 ac_cpp='$CPP $CPPFLAGS'
60092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60100 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60101 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60103 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60105 for ac_func in frexpf
60107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60108 echo "$as_me:$LINENO: checking for $ac_func" >&5
60109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60110 if eval "test \"\${$as_ac_var+set}\" = set"; then
60111 echo $ECHO_N "(cached) $ECHO_C" >&6
60112 else
60113 if test x$gcc_no_link = xyes; then
60114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60116 { (exit 1); exit 1; }; }
60118 cat >conftest.$ac_ext <<_ACEOF
60119 /* confdefs.h. */
60120 _ACEOF
60121 cat confdefs.h >>conftest.$ac_ext
60122 cat >>conftest.$ac_ext <<_ACEOF
60123 /* end confdefs.h. */
60124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60126 #define $ac_func innocuous_$ac_func
60128 /* System header to define __stub macros and hopefully few prototypes,
60129 which can conflict with char $ac_func (); below.
60130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60131 <limits.h> exists even on freestanding compilers. */
60133 #ifdef __STDC__
60134 # include <limits.h>
60135 #else
60136 # include <assert.h>
60137 #endif
60139 #undef $ac_func
60141 /* Override any gcc2 internal prototype to avoid an error. */
60142 #ifdef __cplusplus
60143 extern "C"
60145 #endif
60146 /* We use char because int might match the return type of a gcc2
60147 builtin and then its argument prototype would still apply. */
60148 char $ac_func ();
60149 /* The GNU C library defines this for functions which it implements
60150 to always fail with ENOSYS. Some functions are actually named
60151 something starting with __ and the normal name is an alias. */
60152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60153 choke me
60154 #else
60155 char (*f) () = $ac_func;
60156 #endif
60157 #ifdef __cplusplus
60159 #endif
60162 main ()
60164 return f != $ac_func;
60166 return 0;
60168 _ACEOF
60169 rm -f conftest.$ac_objext conftest$ac_exeext
60170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60171 (eval $ac_link) 2>conftest.er1
60172 ac_status=$?
60173 grep -v '^ *+' conftest.er1 >conftest.err
60174 rm -f conftest.er1
60175 cat conftest.err >&5
60176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60177 (exit $ac_status); } &&
60178 { ac_try='test -z "$ac_c_werror_flag"
60179 || test ! -s conftest.err'
60180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60181 (eval $ac_try) 2>&5
60182 ac_status=$?
60183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60184 (exit $ac_status); }; } &&
60185 { ac_try='test -s conftest$ac_exeext'
60186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60187 (eval $ac_try) 2>&5
60188 ac_status=$?
60189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60190 (exit $ac_status); }; }; then
60191 eval "$as_ac_var=yes"
60192 else
60193 echo "$as_me: failed program was:" >&5
60194 sed 's/^/| /' conftest.$ac_ext >&5
60196 eval "$as_ac_var=no"
60198 rm -f conftest.err conftest.$ac_objext \
60199 conftest$ac_exeext conftest.$ac_ext
60201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60203 if test `eval echo '${'$as_ac_var'}'` = yes; then
60204 cat >>confdefs.h <<_ACEOF
60205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60206 _ACEOF
60209 done
60211 else
60213 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60214 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60215 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60216 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60217 echo $ECHO_N "(cached) $ECHO_C" >&6
60218 else
60222 ac_ext=cc
60223 ac_cpp='$CXXCPP $CPPFLAGS'
60224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60228 cat >conftest.$ac_ext <<_ACEOF
60229 /* confdefs.h. */
60230 _ACEOF
60231 cat confdefs.h >>conftest.$ac_ext
60232 cat >>conftest.$ac_ext <<_ACEOF
60233 /* end confdefs.h. */
60234 #include <math.h>
60236 main ()
60238 _frexpf(0, 0);
60240 return 0;
60242 _ACEOF
60243 rm -f conftest.$ac_objext
60244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60245 (eval $ac_compile) 2>conftest.er1
60246 ac_status=$?
60247 grep -v '^ *+' conftest.er1 >conftest.err
60248 rm -f conftest.er1
60249 cat conftest.err >&5
60250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60251 (exit $ac_status); } &&
60252 { ac_try='test -z "$ac_cxx_werror_flag"
60253 || test ! -s conftest.err'
60254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60255 (eval $ac_try) 2>&5
60256 ac_status=$?
60257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60258 (exit $ac_status); }; } &&
60259 { ac_try='test -s conftest.$ac_objext'
60260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60261 (eval $ac_try) 2>&5
60262 ac_status=$?
60263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60264 (exit $ac_status); }; }; then
60265 glibcxx_cv_func__frexpf_use=yes
60266 else
60267 echo "$as_me: failed program was:" >&5
60268 sed 's/^/| /' conftest.$ac_ext >&5
60270 glibcxx_cv_func__frexpf_use=no
60272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60273 ac_ext=c
60274 ac_cpp='$CPP $CPPFLAGS'
60275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60283 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60284 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60286 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60288 for ac_func in _frexpf
60290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60291 echo "$as_me:$LINENO: checking for $ac_func" >&5
60292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60293 if eval "test \"\${$as_ac_var+set}\" = set"; then
60294 echo $ECHO_N "(cached) $ECHO_C" >&6
60295 else
60296 if test x$gcc_no_link = xyes; then
60297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60299 { (exit 1); exit 1; }; }
60301 cat >conftest.$ac_ext <<_ACEOF
60302 /* confdefs.h. */
60303 _ACEOF
60304 cat confdefs.h >>conftest.$ac_ext
60305 cat >>conftest.$ac_ext <<_ACEOF
60306 /* end confdefs.h. */
60307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60309 #define $ac_func innocuous_$ac_func
60311 /* System header to define __stub macros and hopefully few prototypes,
60312 which can conflict with char $ac_func (); below.
60313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60314 <limits.h> exists even on freestanding compilers. */
60316 #ifdef __STDC__
60317 # include <limits.h>
60318 #else
60319 # include <assert.h>
60320 #endif
60322 #undef $ac_func
60324 /* Override any gcc2 internal prototype to avoid an error. */
60325 #ifdef __cplusplus
60326 extern "C"
60328 #endif
60329 /* We use char because int might match the return type of a gcc2
60330 builtin and then its argument prototype would still apply. */
60331 char $ac_func ();
60332 /* The GNU C library defines this for functions which it implements
60333 to always fail with ENOSYS. Some functions are actually named
60334 something starting with __ and the normal name is an alias. */
60335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60336 choke me
60337 #else
60338 char (*f) () = $ac_func;
60339 #endif
60340 #ifdef __cplusplus
60342 #endif
60345 main ()
60347 return f != $ac_func;
60349 return 0;
60351 _ACEOF
60352 rm -f conftest.$ac_objext conftest$ac_exeext
60353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60354 (eval $ac_link) 2>conftest.er1
60355 ac_status=$?
60356 grep -v '^ *+' conftest.er1 >conftest.err
60357 rm -f conftest.er1
60358 cat conftest.err >&5
60359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60360 (exit $ac_status); } &&
60361 { ac_try='test -z "$ac_c_werror_flag"
60362 || test ! -s conftest.err'
60363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60364 (eval $ac_try) 2>&5
60365 ac_status=$?
60366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60367 (exit $ac_status); }; } &&
60368 { ac_try='test -s conftest$ac_exeext'
60369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60370 (eval $ac_try) 2>&5
60371 ac_status=$?
60372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60373 (exit $ac_status); }; }; then
60374 eval "$as_ac_var=yes"
60375 else
60376 echo "$as_me: failed program was:" >&5
60377 sed 's/^/| /' conftest.$ac_ext >&5
60379 eval "$as_ac_var=no"
60381 rm -f conftest.err conftest.$ac_objext \
60382 conftest$ac_exeext conftest.$ac_ext
60384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60386 if test `eval echo '${'$as_ac_var'}'` = yes; then
60387 cat >>confdefs.h <<_ACEOF
60388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60389 _ACEOF
60392 done
60402 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
60403 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
60404 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60405 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
60406 echo $ECHO_N "(cached) $ECHO_C" >&6
60407 else
60411 ac_ext=cc
60412 ac_cpp='$CXXCPP $CPPFLAGS'
60413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60417 cat >conftest.$ac_ext <<_ACEOF
60418 /* confdefs.h. */
60419 _ACEOF
60420 cat confdefs.h >>conftest.$ac_ext
60421 cat >>conftest.$ac_ext <<_ACEOF
60422 /* end confdefs.h. */
60423 #include <math.h>
60425 main ()
60427 hypotf(0, 0);
60429 return 0;
60431 _ACEOF
60432 rm -f conftest.$ac_objext
60433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60434 (eval $ac_compile) 2>conftest.er1
60435 ac_status=$?
60436 grep -v '^ *+' conftest.er1 >conftest.err
60437 rm -f conftest.er1
60438 cat conftest.err >&5
60439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60440 (exit $ac_status); } &&
60441 { ac_try='test -z "$ac_cxx_werror_flag"
60442 || test ! -s conftest.err'
60443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60444 (eval $ac_try) 2>&5
60445 ac_status=$?
60446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60447 (exit $ac_status); }; } &&
60448 { ac_try='test -s conftest.$ac_objext'
60449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60450 (eval $ac_try) 2>&5
60451 ac_status=$?
60452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60453 (exit $ac_status); }; }; then
60454 glibcxx_cv_func_hypotf_use=yes
60455 else
60456 echo "$as_me: failed program was:" >&5
60457 sed 's/^/| /' conftest.$ac_ext >&5
60459 glibcxx_cv_func_hypotf_use=no
60461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60462 ac_ext=c
60463 ac_cpp='$CPP $CPPFLAGS'
60464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60472 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
60473 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
60475 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60477 for ac_func in hypotf
60479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60480 echo "$as_me:$LINENO: checking for $ac_func" >&5
60481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60482 if eval "test \"\${$as_ac_var+set}\" = set"; then
60483 echo $ECHO_N "(cached) $ECHO_C" >&6
60484 else
60485 if test x$gcc_no_link = xyes; then
60486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60488 { (exit 1); exit 1; }; }
60490 cat >conftest.$ac_ext <<_ACEOF
60491 /* confdefs.h. */
60492 _ACEOF
60493 cat confdefs.h >>conftest.$ac_ext
60494 cat >>conftest.$ac_ext <<_ACEOF
60495 /* end confdefs.h. */
60496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60498 #define $ac_func innocuous_$ac_func
60500 /* System header to define __stub macros and hopefully few prototypes,
60501 which can conflict with char $ac_func (); below.
60502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60503 <limits.h> exists even on freestanding compilers. */
60505 #ifdef __STDC__
60506 # include <limits.h>
60507 #else
60508 # include <assert.h>
60509 #endif
60511 #undef $ac_func
60513 /* Override any gcc2 internal prototype to avoid an error. */
60514 #ifdef __cplusplus
60515 extern "C"
60517 #endif
60518 /* We use char because int might match the return type of a gcc2
60519 builtin and then its argument prototype would still apply. */
60520 char $ac_func ();
60521 /* The GNU C library defines this for functions which it implements
60522 to always fail with ENOSYS. Some functions are actually named
60523 something starting with __ and the normal name is an alias. */
60524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60525 choke me
60526 #else
60527 char (*f) () = $ac_func;
60528 #endif
60529 #ifdef __cplusplus
60531 #endif
60534 main ()
60536 return f != $ac_func;
60538 return 0;
60540 _ACEOF
60541 rm -f conftest.$ac_objext conftest$ac_exeext
60542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60543 (eval $ac_link) 2>conftest.er1
60544 ac_status=$?
60545 grep -v '^ *+' conftest.er1 >conftest.err
60546 rm -f conftest.er1
60547 cat conftest.err >&5
60548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60549 (exit $ac_status); } &&
60550 { ac_try='test -z "$ac_c_werror_flag"
60551 || test ! -s conftest.err'
60552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60553 (eval $ac_try) 2>&5
60554 ac_status=$?
60555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60556 (exit $ac_status); }; } &&
60557 { ac_try='test -s conftest$ac_exeext'
60558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60559 (eval $ac_try) 2>&5
60560 ac_status=$?
60561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60562 (exit $ac_status); }; }; then
60563 eval "$as_ac_var=yes"
60564 else
60565 echo "$as_me: failed program was:" >&5
60566 sed 's/^/| /' conftest.$ac_ext >&5
60568 eval "$as_ac_var=no"
60570 rm -f conftest.err conftest.$ac_objext \
60571 conftest$ac_exeext conftest.$ac_ext
60573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60575 if test `eval echo '${'$as_ac_var'}'` = yes; then
60576 cat >>confdefs.h <<_ACEOF
60577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60578 _ACEOF
60581 done
60583 else
60585 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
60586 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
60587 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60588 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
60589 echo $ECHO_N "(cached) $ECHO_C" >&6
60590 else
60594 ac_ext=cc
60595 ac_cpp='$CXXCPP $CPPFLAGS'
60596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60600 cat >conftest.$ac_ext <<_ACEOF
60601 /* confdefs.h. */
60602 _ACEOF
60603 cat confdefs.h >>conftest.$ac_ext
60604 cat >>conftest.$ac_ext <<_ACEOF
60605 /* end confdefs.h. */
60606 #include <math.h>
60608 main ()
60610 _hypotf(0, 0);
60612 return 0;
60614 _ACEOF
60615 rm -f conftest.$ac_objext
60616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60617 (eval $ac_compile) 2>conftest.er1
60618 ac_status=$?
60619 grep -v '^ *+' conftest.er1 >conftest.err
60620 rm -f conftest.er1
60621 cat conftest.err >&5
60622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60623 (exit $ac_status); } &&
60624 { ac_try='test -z "$ac_cxx_werror_flag"
60625 || test ! -s conftest.err'
60626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60627 (eval $ac_try) 2>&5
60628 ac_status=$?
60629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60630 (exit $ac_status); }; } &&
60631 { ac_try='test -s conftest.$ac_objext'
60632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60633 (eval $ac_try) 2>&5
60634 ac_status=$?
60635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60636 (exit $ac_status); }; }; then
60637 glibcxx_cv_func__hypotf_use=yes
60638 else
60639 echo "$as_me: failed program was:" >&5
60640 sed 's/^/| /' conftest.$ac_ext >&5
60642 glibcxx_cv_func__hypotf_use=no
60644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60645 ac_ext=c
60646 ac_cpp='$CPP $CPPFLAGS'
60647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60655 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
60656 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
60658 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60660 for ac_func in _hypotf
60662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60663 echo "$as_me:$LINENO: checking for $ac_func" >&5
60664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60665 if eval "test \"\${$as_ac_var+set}\" = set"; then
60666 echo $ECHO_N "(cached) $ECHO_C" >&6
60667 else
60668 if test x$gcc_no_link = xyes; then
60669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60671 { (exit 1); exit 1; }; }
60673 cat >conftest.$ac_ext <<_ACEOF
60674 /* confdefs.h. */
60675 _ACEOF
60676 cat confdefs.h >>conftest.$ac_ext
60677 cat >>conftest.$ac_ext <<_ACEOF
60678 /* end confdefs.h. */
60679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60681 #define $ac_func innocuous_$ac_func
60683 /* System header to define __stub macros and hopefully few prototypes,
60684 which can conflict with char $ac_func (); below.
60685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60686 <limits.h> exists even on freestanding compilers. */
60688 #ifdef __STDC__
60689 # include <limits.h>
60690 #else
60691 # include <assert.h>
60692 #endif
60694 #undef $ac_func
60696 /* Override any gcc2 internal prototype to avoid an error. */
60697 #ifdef __cplusplus
60698 extern "C"
60700 #endif
60701 /* We use char because int might match the return type of a gcc2
60702 builtin and then its argument prototype would still apply. */
60703 char $ac_func ();
60704 /* The GNU C library defines this for functions which it implements
60705 to always fail with ENOSYS. Some functions are actually named
60706 something starting with __ and the normal name is an alias. */
60707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60708 choke me
60709 #else
60710 char (*f) () = $ac_func;
60711 #endif
60712 #ifdef __cplusplus
60714 #endif
60717 main ()
60719 return f != $ac_func;
60721 return 0;
60723 _ACEOF
60724 rm -f conftest.$ac_objext conftest$ac_exeext
60725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60726 (eval $ac_link) 2>conftest.er1
60727 ac_status=$?
60728 grep -v '^ *+' conftest.er1 >conftest.err
60729 rm -f conftest.er1
60730 cat conftest.err >&5
60731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60732 (exit $ac_status); } &&
60733 { ac_try='test -z "$ac_c_werror_flag"
60734 || test ! -s conftest.err'
60735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60736 (eval $ac_try) 2>&5
60737 ac_status=$?
60738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60739 (exit $ac_status); }; } &&
60740 { ac_try='test -s conftest$ac_exeext'
60741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60742 (eval $ac_try) 2>&5
60743 ac_status=$?
60744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60745 (exit $ac_status); }; }; then
60746 eval "$as_ac_var=yes"
60747 else
60748 echo "$as_me: failed program was:" >&5
60749 sed 's/^/| /' conftest.$ac_ext >&5
60751 eval "$as_ac_var=no"
60753 rm -f conftest.err conftest.$ac_objext \
60754 conftest$ac_exeext conftest.$ac_ext
60756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60758 if test `eval echo '${'$as_ac_var'}'` = yes; then
60759 cat >>confdefs.h <<_ACEOF
60760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60761 _ACEOF
60764 done
60774 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60775 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60776 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60777 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60778 echo $ECHO_N "(cached) $ECHO_C" >&6
60779 else
60783 ac_ext=cc
60784 ac_cpp='$CXXCPP $CPPFLAGS'
60785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60789 cat >conftest.$ac_ext <<_ACEOF
60790 /* confdefs.h. */
60791 _ACEOF
60792 cat confdefs.h >>conftest.$ac_ext
60793 cat >>conftest.$ac_ext <<_ACEOF
60794 /* end confdefs.h. */
60795 #include <math.h>
60797 main ()
60799 ldexpf(0, 0);
60801 return 0;
60803 _ACEOF
60804 rm -f conftest.$ac_objext
60805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60806 (eval $ac_compile) 2>conftest.er1
60807 ac_status=$?
60808 grep -v '^ *+' conftest.er1 >conftest.err
60809 rm -f conftest.er1
60810 cat conftest.err >&5
60811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60812 (exit $ac_status); } &&
60813 { ac_try='test -z "$ac_cxx_werror_flag"
60814 || test ! -s conftest.err'
60815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60816 (eval $ac_try) 2>&5
60817 ac_status=$?
60818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60819 (exit $ac_status); }; } &&
60820 { ac_try='test -s conftest.$ac_objext'
60821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60822 (eval $ac_try) 2>&5
60823 ac_status=$?
60824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60825 (exit $ac_status); }; }; then
60826 glibcxx_cv_func_ldexpf_use=yes
60827 else
60828 echo "$as_me: failed program was:" >&5
60829 sed 's/^/| /' conftest.$ac_ext >&5
60831 glibcxx_cv_func_ldexpf_use=no
60833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60834 ac_ext=c
60835 ac_cpp='$CPP $CPPFLAGS'
60836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60844 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60845 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60847 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60849 for ac_func in ldexpf
60851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60852 echo "$as_me:$LINENO: checking for $ac_func" >&5
60853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60854 if eval "test \"\${$as_ac_var+set}\" = set"; then
60855 echo $ECHO_N "(cached) $ECHO_C" >&6
60856 else
60857 if test x$gcc_no_link = xyes; then
60858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60860 { (exit 1); exit 1; }; }
60862 cat >conftest.$ac_ext <<_ACEOF
60863 /* confdefs.h. */
60864 _ACEOF
60865 cat confdefs.h >>conftest.$ac_ext
60866 cat >>conftest.$ac_ext <<_ACEOF
60867 /* end confdefs.h. */
60868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60870 #define $ac_func innocuous_$ac_func
60872 /* System header to define __stub macros and hopefully few prototypes,
60873 which can conflict with char $ac_func (); below.
60874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60875 <limits.h> exists even on freestanding compilers. */
60877 #ifdef __STDC__
60878 # include <limits.h>
60879 #else
60880 # include <assert.h>
60881 #endif
60883 #undef $ac_func
60885 /* Override any gcc2 internal prototype to avoid an error. */
60886 #ifdef __cplusplus
60887 extern "C"
60889 #endif
60890 /* We use char because int might match the return type of a gcc2
60891 builtin and then its argument prototype would still apply. */
60892 char $ac_func ();
60893 /* The GNU C library defines this for functions which it implements
60894 to always fail with ENOSYS. Some functions are actually named
60895 something starting with __ and the normal name is an alias. */
60896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60897 choke me
60898 #else
60899 char (*f) () = $ac_func;
60900 #endif
60901 #ifdef __cplusplus
60903 #endif
60906 main ()
60908 return f != $ac_func;
60910 return 0;
60912 _ACEOF
60913 rm -f conftest.$ac_objext conftest$ac_exeext
60914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60915 (eval $ac_link) 2>conftest.er1
60916 ac_status=$?
60917 grep -v '^ *+' conftest.er1 >conftest.err
60918 rm -f conftest.er1
60919 cat conftest.err >&5
60920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60921 (exit $ac_status); } &&
60922 { ac_try='test -z "$ac_c_werror_flag"
60923 || test ! -s conftest.err'
60924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60925 (eval $ac_try) 2>&5
60926 ac_status=$?
60927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60928 (exit $ac_status); }; } &&
60929 { ac_try='test -s conftest$ac_exeext'
60930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60931 (eval $ac_try) 2>&5
60932 ac_status=$?
60933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60934 (exit $ac_status); }; }; then
60935 eval "$as_ac_var=yes"
60936 else
60937 echo "$as_me: failed program was:" >&5
60938 sed 's/^/| /' conftest.$ac_ext >&5
60940 eval "$as_ac_var=no"
60942 rm -f conftest.err conftest.$ac_objext \
60943 conftest$ac_exeext conftest.$ac_ext
60945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60947 if test `eval echo '${'$as_ac_var'}'` = yes; then
60948 cat >>confdefs.h <<_ACEOF
60949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60950 _ACEOF
60953 done
60955 else
60957 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60958 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60959 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60960 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60961 echo $ECHO_N "(cached) $ECHO_C" >&6
60962 else
60966 ac_ext=cc
60967 ac_cpp='$CXXCPP $CPPFLAGS'
60968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60972 cat >conftest.$ac_ext <<_ACEOF
60973 /* confdefs.h. */
60974 _ACEOF
60975 cat confdefs.h >>conftest.$ac_ext
60976 cat >>conftest.$ac_ext <<_ACEOF
60977 /* end confdefs.h. */
60978 #include <math.h>
60980 main ()
60982 _ldexpf(0, 0);
60984 return 0;
60986 _ACEOF
60987 rm -f conftest.$ac_objext
60988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60989 (eval $ac_compile) 2>conftest.er1
60990 ac_status=$?
60991 grep -v '^ *+' conftest.er1 >conftest.err
60992 rm -f conftest.er1
60993 cat conftest.err >&5
60994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60995 (exit $ac_status); } &&
60996 { ac_try='test -z "$ac_cxx_werror_flag"
60997 || test ! -s conftest.err'
60998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60999 (eval $ac_try) 2>&5
61000 ac_status=$?
61001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61002 (exit $ac_status); }; } &&
61003 { ac_try='test -s conftest.$ac_objext'
61004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61005 (eval $ac_try) 2>&5
61006 ac_status=$?
61007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61008 (exit $ac_status); }; }; then
61009 glibcxx_cv_func__ldexpf_use=yes
61010 else
61011 echo "$as_me: failed program was:" >&5
61012 sed 's/^/| /' conftest.$ac_ext >&5
61014 glibcxx_cv_func__ldexpf_use=no
61016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61017 ac_ext=c
61018 ac_cpp='$CPP $CPPFLAGS'
61019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61027 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61028 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61030 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61032 for ac_func in _ldexpf
61034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61035 echo "$as_me:$LINENO: checking for $ac_func" >&5
61036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61037 if eval "test \"\${$as_ac_var+set}\" = set"; then
61038 echo $ECHO_N "(cached) $ECHO_C" >&6
61039 else
61040 if test x$gcc_no_link = xyes; then
61041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61043 { (exit 1); exit 1; }; }
61045 cat >conftest.$ac_ext <<_ACEOF
61046 /* confdefs.h. */
61047 _ACEOF
61048 cat confdefs.h >>conftest.$ac_ext
61049 cat >>conftest.$ac_ext <<_ACEOF
61050 /* end confdefs.h. */
61051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61053 #define $ac_func innocuous_$ac_func
61055 /* System header to define __stub macros and hopefully few prototypes,
61056 which can conflict with char $ac_func (); below.
61057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61058 <limits.h> exists even on freestanding compilers. */
61060 #ifdef __STDC__
61061 # include <limits.h>
61062 #else
61063 # include <assert.h>
61064 #endif
61066 #undef $ac_func
61068 /* Override any gcc2 internal prototype to avoid an error. */
61069 #ifdef __cplusplus
61070 extern "C"
61072 #endif
61073 /* We use char because int might match the return type of a gcc2
61074 builtin and then its argument prototype would still apply. */
61075 char $ac_func ();
61076 /* The GNU C library defines this for functions which it implements
61077 to always fail with ENOSYS. Some functions are actually named
61078 something starting with __ and the normal name is an alias. */
61079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61080 choke me
61081 #else
61082 char (*f) () = $ac_func;
61083 #endif
61084 #ifdef __cplusplus
61086 #endif
61089 main ()
61091 return f != $ac_func;
61093 return 0;
61095 _ACEOF
61096 rm -f conftest.$ac_objext conftest$ac_exeext
61097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61098 (eval $ac_link) 2>conftest.er1
61099 ac_status=$?
61100 grep -v '^ *+' conftest.er1 >conftest.err
61101 rm -f conftest.er1
61102 cat conftest.err >&5
61103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61104 (exit $ac_status); } &&
61105 { ac_try='test -z "$ac_c_werror_flag"
61106 || test ! -s conftest.err'
61107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61108 (eval $ac_try) 2>&5
61109 ac_status=$?
61110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61111 (exit $ac_status); }; } &&
61112 { ac_try='test -s conftest$ac_exeext'
61113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61114 (eval $ac_try) 2>&5
61115 ac_status=$?
61116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61117 (exit $ac_status); }; }; then
61118 eval "$as_ac_var=yes"
61119 else
61120 echo "$as_me: failed program was:" >&5
61121 sed 's/^/| /' conftest.$ac_ext >&5
61123 eval "$as_ac_var=no"
61125 rm -f conftest.err conftest.$ac_objext \
61126 conftest$ac_exeext conftest.$ac_ext
61128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61130 if test `eval echo '${'$as_ac_var'}'` = yes; then
61131 cat >>confdefs.h <<_ACEOF
61132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61133 _ACEOF
61136 done
61146 echo "$as_me:$LINENO: checking for logf declaration" >&5
61147 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61148 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61149 if test "${glibcxx_cv_func_logf_use+set}" = set; then
61150 echo $ECHO_N "(cached) $ECHO_C" >&6
61151 else
61155 ac_ext=cc
61156 ac_cpp='$CXXCPP $CPPFLAGS'
61157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61161 cat >conftest.$ac_ext <<_ACEOF
61162 /* confdefs.h. */
61163 _ACEOF
61164 cat confdefs.h >>conftest.$ac_ext
61165 cat >>conftest.$ac_ext <<_ACEOF
61166 /* end confdefs.h. */
61167 #include <math.h>
61168 #ifdef HAVE_IEEEFP_H
61169 #include <ieeefp.h>
61170 #endif
61173 main ()
61175 logf(0);
61177 return 0;
61179 _ACEOF
61180 rm -f conftest.$ac_objext
61181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61182 (eval $ac_compile) 2>conftest.er1
61183 ac_status=$?
61184 grep -v '^ *+' conftest.er1 >conftest.err
61185 rm -f conftest.er1
61186 cat conftest.err >&5
61187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61188 (exit $ac_status); } &&
61189 { ac_try='test -z "$ac_cxx_werror_flag"
61190 || test ! -s conftest.err'
61191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61192 (eval $ac_try) 2>&5
61193 ac_status=$?
61194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61195 (exit $ac_status); }; } &&
61196 { ac_try='test -s conftest.$ac_objext'
61197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61198 (eval $ac_try) 2>&5
61199 ac_status=$?
61200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61201 (exit $ac_status); }; }; then
61202 glibcxx_cv_func_logf_use=yes
61203 else
61204 echo "$as_me: failed program was:" >&5
61205 sed 's/^/| /' conftest.$ac_ext >&5
61207 glibcxx_cv_func_logf_use=no
61209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61210 ac_ext=c
61211 ac_cpp='$CPP $CPPFLAGS'
61212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61220 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61221 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61223 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61225 for ac_func in logf
61227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61228 echo "$as_me:$LINENO: checking for $ac_func" >&5
61229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61230 if eval "test \"\${$as_ac_var+set}\" = set"; then
61231 echo $ECHO_N "(cached) $ECHO_C" >&6
61232 else
61233 if test x$gcc_no_link = xyes; then
61234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61236 { (exit 1); exit 1; }; }
61238 cat >conftest.$ac_ext <<_ACEOF
61239 /* confdefs.h. */
61240 _ACEOF
61241 cat confdefs.h >>conftest.$ac_ext
61242 cat >>conftest.$ac_ext <<_ACEOF
61243 /* end confdefs.h. */
61244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61246 #define $ac_func innocuous_$ac_func
61248 /* System header to define __stub macros and hopefully few prototypes,
61249 which can conflict with char $ac_func (); below.
61250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61251 <limits.h> exists even on freestanding compilers. */
61253 #ifdef __STDC__
61254 # include <limits.h>
61255 #else
61256 # include <assert.h>
61257 #endif
61259 #undef $ac_func
61261 /* Override any gcc2 internal prototype to avoid an error. */
61262 #ifdef __cplusplus
61263 extern "C"
61265 #endif
61266 /* We use char because int might match the return type of a gcc2
61267 builtin and then its argument prototype would still apply. */
61268 char $ac_func ();
61269 /* The GNU C library defines this for functions which it implements
61270 to always fail with ENOSYS. Some functions are actually named
61271 something starting with __ and the normal name is an alias. */
61272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61273 choke me
61274 #else
61275 char (*f) () = $ac_func;
61276 #endif
61277 #ifdef __cplusplus
61279 #endif
61282 main ()
61284 return f != $ac_func;
61286 return 0;
61288 _ACEOF
61289 rm -f conftest.$ac_objext conftest$ac_exeext
61290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61291 (eval $ac_link) 2>conftest.er1
61292 ac_status=$?
61293 grep -v '^ *+' conftest.er1 >conftest.err
61294 rm -f conftest.er1
61295 cat conftest.err >&5
61296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61297 (exit $ac_status); } &&
61298 { ac_try='test -z "$ac_c_werror_flag"
61299 || test ! -s conftest.err'
61300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61301 (eval $ac_try) 2>&5
61302 ac_status=$?
61303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61304 (exit $ac_status); }; } &&
61305 { ac_try='test -s conftest$ac_exeext'
61306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61307 (eval $ac_try) 2>&5
61308 ac_status=$?
61309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61310 (exit $ac_status); }; }; then
61311 eval "$as_ac_var=yes"
61312 else
61313 echo "$as_me: failed program was:" >&5
61314 sed 's/^/| /' conftest.$ac_ext >&5
61316 eval "$as_ac_var=no"
61318 rm -f conftest.err conftest.$ac_objext \
61319 conftest$ac_exeext conftest.$ac_ext
61321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61323 if test `eval echo '${'$as_ac_var'}'` = yes; then
61324 cat >>confdefs.h <<_ACEOF
61325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61326 _ACEOF
61329 done
61331 else
61333 echo "$as_me:$LINENO: checking for _logf declaration" >&5
61334 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
61335 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61336 if test "${glibcxx_cv_func__logf_use+set}" = set; then
61337 echo $ECHO_N "(cached) $ECHO_C" >&6
61338 else
61342 ac_ext=cc
61343 ac_cpp='$CXXCPP $CPPFLAGS'
61344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61348 cat >conftest.$ac_ext <<_ACEOF
61349 /* confdefs.h. */
61350 _ACEOF
61351 cat confdefs.h >>conftest.$ac_ext
61352 cat >>conftest.$ac_ext <<_ACEOF
61353 /* end confdefs.h. */
61354 #include <math.h>
61355 #ifdef HAVE_IEEEFP_H
61356 #include <ieeefp.h>
61357 #endif
61360 main ()
61362 _logf(0);
61364 return 0;
61366 _ACEOF
61367 rm -f conftest.$ac_objext
61368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61369 (eval $ac_compile) 2>conftest.er1
61370 ac_status=$?
61371 grep -v '^ *+' conftest.er1 >conftest.err
61372 rm -f conftest.er1
61373 cat conftest.err >&5
61374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61375 (exit $ac_status); } &&
61376 { ac_try='test -z "$ac_cxx_werror_flag"
61377 || test ! -s conftest.err'
61378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61379 (eval $ac_try) 2>&5
61380 ac_status=$?
61381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61382 (exit $ac_status); }; } &&
61383 { ac_try='test -s conftest.$ac_objext'
61384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61385 (eval $ac_try) 2>&5
61386 ac_status=$?
61387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61388 (exit $ac_status); }; }; then
61389 glibcxx_cv_func__logf_use=yes
61390 else
61391 echo "$as_me: failed program was:" >&5
61392 sed 's/^/| /' conftest.$ac_ext >&5
61394 glibcxx_cv_func__logf_use=no
61396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61397 ac_ext=c
61398 ac_cpp='$CPP $CPPFLAGS'
61399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61407 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
61408 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
61410 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61412 for ac_func in _logf
61414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61415 echo "$as_me:$LINENO: checking for $ac_func" >&5
61416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61417 if eval "test \"\${$as_ac_var+set}\" = set"; then
61418 echo $ECHO_N "(cached) $ECHO_C" >&6
61419 else
61420 if test x$gcc_no_link = xyes; then
61421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61423 { (exit 1); exit 1; }; }
61425 cat >conftest.$ac_ext <<_ACEOF
61426 /* confdefs.h. */
61427 _ACEOF
61428 cat confdefs.h >>conftest.$ac_ext
61429 cat >>conftest.$ac_ext <<_ACEOF
61430 /* end confdefs.h. */
61431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61433 #define $ac_func innocuous_$ac_func
61435 /* System header to define __stub macros and hopefully few prototypes,
61436 which can conflict with char $ac_func (); below.
61437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61438 <limits.h> exists even on freestanding compilers. */
61440 #ifdef __STDC__
61441 # include <limits.h>
61442 #else
61443 # include <assert.h>
61444 #endif
61446 #undef $ac_func
61448 /* Override any gcc2 internal prototype to avoid an error. */
61449 #ifdef __cplusplus
61450 extern "C"
61452 #endif
61453 /* We use char because int might match the return type of a gcc2
61454 builtin and then its argument prototype would still apply. */
61455 char $ac_func ();
61456 /* The GNU C library defines this for functions which it implements
61457 to always fail with ENOSYS. Some functions are actually named
61458 something starting with __ and the normal name is an alias. */
61459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61460 choke me
61461 #else
61462 char (*f) () = $ac_func;
61463 #endif
61464 #ifdef __cplusplus
61466 #endif
61469 main ()
61471 return f != $ac_func;
61473 return 0;
61475 _ACEOF
61476 rm -f conftest.$ac_objext conftest$ac_exeext
61477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61478 (eval $ac_link) 2>conftest.er1
61479 ac_status=$?
61480 grep -v '^ *+' conftest.er1 >conftest.err
61481 rm -f conftest.er1
61482 cat conftest.err >&5
61483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61484 (exit $ac_status); } &&
61485 { ac_try='test -z "$ac_c_werror_flag"
61486 || test ! -s conftest.err'
61487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61488 (eval $ac_try) 2>&5
61489 ac_status=$?
61490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61491 (exit $ac_status); }; } &&
61492 { ac_try='test -s conftest$ac_exeext'
61493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61494 (eval $ac_try) 2>&5
61495 ac_status=$?
61496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61497 (exit $ac_status); }; }; then
61498 eval "$as_ac_var=yes"
61499 else
61500 echo "$as_me: failed program was:" >&5
61501 sed 's/^/| /' conftest.$ac_ext >&5
61503 eval "$as_ac_var=no"
61505 rm -f conftest.err conftest.$ac_objext \
61506 conftest$ac_exeext conftest.$ac_ext
61508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61510 if test `eval echo '${'$as_ac_var'}'` = yes; then
61511 cat >>confdefs.h <<_ACEOF
61512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61513 _ACEOF
61516 done
61526 echo "$as_me:$LINENO: checking for log10f declaration" >&5
61527 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
61528 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61529 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
61530 echo $ECHO_N "(cached) $ECHO_C" >&6
61531 else
61535 ac_ext=cc
61536 ac_cpp='$CXXCPP $CPPFLAGS'
61537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61541 cat >conftest.$ac_ext <<_ACEOF
61542 /* confdefs.h. */
61543 _ACEOF
61544 cat confdefs.h >>conftest.$ac_ext
61545 cat >>conftest.$ac_ext <<_ACEOF
61546 /* end confdefs.h. */
61547 #include <math.h>
61548 #ifdef HAVE_IEEEFP_H
61549 #include <ieeefp.h>
61550 #endif
61553 main ()
61555 log10f(0);
61557 return 0;
61559 _ACEOF
61560 rm -f conftest.$ac_objext
61561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61562 (eval $ac_compile) 2>conftest.er1
61563 ac_status=$?
61564 grep -v '^ *+' conftest.er1 >conftest.err
61565 rm -f conftest.er1
61566 cat conftest.err >&5
61567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61568 (exit $ac_status); } &&
61569 { ac_try='test -z "$ac_cxx_werror_flag"
61570 || test ! -s conftest.err'
61571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61572 (eval $ac_try) 2>&5
61573 ac_status=$?
61574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61575 (exit $ac_status); }; } &&
61576 { ac_try='test -s conftest.$ac_objext'
61577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61578 (eval $ac_try) 2>&5
61579 ac_status=$?
61580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61581 (exit $ac_status); }; }; then
61582 glibcxx_cv_func_log10f_use=yes
61583 else
61584 echo "$as_me: failed program was:" >&5
61585 sed 's/^/| /' conftest.$ac_ext >&5
61587 glibcxx_cv_func_log10f_use=no
61589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61590 ac_ext=c
61591 ac_cpp='$CPP $CPPFLAGS'
61592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61600 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
61601 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
61603 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61605 for ac_func in log10f
61607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61608 echo "$as_me:$LINENO: checking for $ac_func" >&5
61609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61610 if eval "test \"\${$as_ac_var+set}\" = set"; then
61611 echo $ECHO_N "(cached) $ECHO_C" >&6
61612 else
61613 if test x$gcc_no_link = xyes; then
61614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61616 { (exit 1); exit 1; }; }
61618 cat >conftest.$ac_ext <<_ACEOF
61619 /* confdefs.h. */
61620 _ACEOF
61621 cat confdefs.h >>conftest.$ac_ext
61622 cat >>conftest.$ac_ext <<_ACEOF
61623 /* end confdefs.h. */
61624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61626 #define $ac_func innocuous_$ac_func
61628 /* System header to define __stub macros and hopefully few prototypes,
61629 which can conflict with char $ac_func (); below.
61630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61631 <limits.h> exists even on freestanding compilers. */
61633 #ifdef __STDC__
61634 # include <limits.h>
61635 #else
61636 # include <assert.h>
61637 #endif
61639 #undef $ac_func
61641 /* Override any gcc2 internal prototype to avoid an error. */
61642 #ifdef __cplusplus
61643 extern "C"
61645 #endif
61646 /* We use char because int might match the return type of a gcc2
61647 builtin and then its argument prototype would still apply. */
61648 char $ac_func ();
61649 /* The GNU C library defines this for functions which it implements
61650 to always fail with ENOSYS. Some functions are actually named
61651 something starting with __ and the normal name is an alias. */
61652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61653 choke me
61654 #else
61655 char (*f) () = $ac_func;
61656 #endif
61657 #ifdef __cplusplus
61659 #endif
61662 main ()
61664 return f != $ac_func;
61666 return 0;
61668 _ACEOF
61669 rm -f conftest.$ac_objext conftest$ac_exeext
61670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61671 (eval $ac_link) 2>conftest.er1
61672 ac_status=$?
61673 grep -v '^ *+' conftest.er1 >conftest.err
61674 rm -f conftest.er1
61675 cat conftest.err >&5
61676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61677 (exit $ac_status); } &&
61678 { ac_try='test -z "$ac_c_werror_flag"
61679 || test ! -s conftest.err'
61680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61681 (eval $ac_try) 2>&5
61682 ac_status=$?
61683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61684 (exit $ac_status); }; } &&
61685 { ac_try='test -s conftest$ac_exeext'
61686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61687 (eval $ac_try) 2>&5
61688 ac_status=$?
61689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61690 (exit $ac_status); }; }; then
61691 eval "$as_ac_var=yes"
61692 else
61693 echo "$as_me: failed program was:" >&5
61694 sed 's/^/| /' conftest.$ac_ext >&5
61696 eval "$as_ac_var=no"
61698 rm -f conftest.err conftest.$ac_objext \
61699 conftest$ac_exeext conftest.$ac_ext
61701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61703 if test `eval echo '${'$as_ac_var'}'` = yes; then
61704 cat >>confdefs.h <<_ACEOF
61705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61706 _ACEOF
61709 done
61711 else
61713 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
61714 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
61715 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61716 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
61717 echo $ECHO_N "(cached) $ECHO_C" >&6
61718 else
61722 ac_ext=cc
61723 ac_cpp='$CXXCPP $CPPFLAGS'
61724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61728 cat >conftest.$ac_ext <<_ACEOF
61729 /* confdefs.h. */
61730 _ACEOF
61731 cat confdefs.h >>conftest.$ac_ext
61732 cat >>conftest.$ac_ext <<_ACEOF
61733 /* end confdefs.h. */
61734 #include <math.h>
61735 #ifdef HAVE_IEEEFP_H
61736 #include <ieeefp.h>
61737 #endif
61740 main ()
61742 _log10f(0);
61744 return 0;
61746 _ACEOF
61747 rm -f conftest.$ac_objext
61748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61749 (eval $ac_compile) 2>conftest.er1
61750 ac_status=$?
61751 grep -v '^ *+' conftest.er1 >conftest.err
61752 rm -f conftest.er1
61753 cat conftest.err >&5
61754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61755 (exit $ac_status); } &&
61756 { ac_try='test -z "$ac_cxx_werror_flag"
61757 || test ! -s conftest.err'
61758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61759 (eval $ac_try) 2>&5
61760 ac_status=$?
61761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61762 (exit $ac_status); }; } &&
61763 { ac_try='test -s conftest.$ac_objext'
61764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61765 (eval $ac_try) 2>&5
61766 ac_status=$?
61767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61768 (exit $ac_status); }; }; then
61769 glibcxx_cv_func__log10f_use=yes
61770 else
61771 echo "$as_me: failed program was:" >&5
61772 sed 's/^/| /' conftest.$ac_ext >&5
61774 glibcxx_cv_func__log10f_use=no
61776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61777 ac_ext=c
61778 ac_cpp='$CPP $CPPFLAGS'
61779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61787 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61788 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61790 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61792 for ac_func in _log10f
61794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61795 echo "$as_me:$LINENO: checking for $ac_func" >&5
61796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61797 if eval "test \"\${$as_ac_var+set}\" = set"; then
61798 echo $ECHO_N "(cached) $ECHO_C" >&6
61799 else
61800 if test x$gcc_no_link = xyes; then
61801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61803 { (exit 1); exit 1; }; }
61805 cat >conftest.$ac_ext <<_ACEOF
61806 /* confdefs.h. */
61807 _ACEOF
61808 cat confdefs.h >>conftest.$ac_ext
61809 cat >>conftest.$ac_ext <<_ACEOF
61810 /* end confdefs.h. */
61811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61813 #define $ac_func innocuous_$ac_func
61815 /* System header to define __stub macros and hopefully few prototypes,
61816 which can conflict with char $ac_func (); below.
61817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61818 <limits.h> exists even on freestanding compilers. */
61820 #ifdef __STDC__
61821 # include <limits.h>
61822 #else
61823 # include <assert.h>
61824 #endif
61826 #undef $ac_func
61828 /* Override any gcc2 internal prototype to avoid an error. */
61829 #ifdef __cplusplus
61830 extern "C"
61832 #endif
61833 /* We use char because int might match the return type of a gcc2
61834 builtin and then its argument prototype would still apply. */
61835 char $ac_func ();
61836 /* The GNU C library defines this for functions which it implements
61837 to always fail with ENOSYS. Some functions are actually named
61838 something starting with __ and the normal name is an alias. */
61839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61840 choke me
61841 #else
61842 char (*f) () = $ac_func;
61843 #endif
61844 #ifdef __cplusplus
61846 #endif
61849 main ()
61851 return f != $ac_func;
61853 return 0;
61855 _ACEOF
61856 rm -f conftest.$ac_objext conftest$ac_exeext
61857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61858 (eval $ac_link) 2>conftest.er1
61859 ac_status=$?
61860 grep -v '^ *+' conftest.er1 >conftest.err
61861 rm -f conftest.er1
61862 cat conftest.err >&5
61863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61864 (exit $ac_status); } &&
61865 { ac_try='test -z "$ac_c_werror_flag"
61866 || test ! -s conftest.err'
61867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61868 (eval $ac_try) 2>&5
61869 ac_status=$?
61870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61871 (exit $ac_status); }; } &&
61872 { ac_try='test -s conftest$ac_exeext'
61873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61874 (eval $ac_try) 2>&5
61875 ac_status=$?
61876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61877 (exit $ac_status); }; }; then
61878 eval "$as_ac_var=yes"
61879 else
61880 echo "$as_me: failed program was:" >&5
61881 sed 's/^/| /' conftest.$ac_ext >&5
61883 eval "$as_ac_var=no"
61885 rm -f conftest.err conftest.$ac_objext \
61886 conftest$ac_exeext conftest.$ac_ext
61888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61890 if test `eval echo '${'$as_ac_var'}'` = yes; then
61891 cat >>confdefs.h <<_ACEOF
61892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61893 _ACEOF
61896 done
61906 echo "$as_me:$LINENO: checking for modff declaration" >&5
61907 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61908 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61909 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61910 echo $ECHO_N "(cached) $ECHO_C" >&6
61911 else
61915 ac_ext=cc
61916 ac_cpp='$CXXCPP $CPPFLAGS'
61917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61921 cat >conftest.$ac_ext <<_ACEOF
61922 /* confdefs.h. */
61923 _ACEOF
61924 cat confdefs.h >>conftest.$ac_ext
61925 cat >>conftest.$ac_ext <<_ACEOF
61926 /* end confdefs.h. */
61927 #include <math.h>
61929 main ()
61931 modff(0, 0);
61933 return 0;
61935 _ACEOF
61936 rm -f conftest.$ac_objext
61937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61938 (eval $ac_compile) 2>conftest.er1
61939 ac_status=$?
61940 grep -v '^ *+' conftest.er1 >conftest.err
61941 rm -f conftest.er1
61942 cat conftest.err >&5
61943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61944 (exit $ac_status); } &&
61945 { ac_try='test -z "$ac_cxx_werror_flag"
61946 || test ! -s conftest.err'
61947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61948 (eval $ac_try) 2>&5
61949 ac_status=$?
61950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61951 (exit $ac_status); }; } &&
61952 { ac_try='test -s conftest.$ac_objext'
61953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61954 (eval $ac_try) 2>&5
61955 ac_status=$?
61956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61957 (exit $ac_status); }; }; then
61958 glibcxx_cv_func_modff_use=yes
61959 else
61960 echo "$as_me: failed program was:" >&5
61961 sed 's/^/| /' conftest.$ac_ext >&5
61963 glibcxx_cv_func_modff_use=no
61965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61966 ac_ext=c
61967 ac_cpp='$CPP $CPPFLAGS'
61968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61976 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61977 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61979 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61981 for ac_func in modff
61983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61984 echo "$as_me:$LINENO: checking for $ac_func" >&5
61985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61986 if eval "test \"\${$as_ac_var+set}\" = set"; then
61987 echo $ECHO_N "(cached) $ECHO_C" >&6
61988 else
61989 if test x$gcc_no_link = xyes; then
61990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61992 { (exit 1); exit 1; }; }
61994 cat >conftest.$ac_ext <<_ACEOF
61995 /* confdefs.h. */
61996 _ACEOF
61997 cat confdefs.h >>conftest.$ac_ext
61998 cat >>conftest.$ac_ext <<_ACEOF
61999 /* end confdefs.h. */
62000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62002 #define $ac_func innocuous_$ac_func
62004 /* System header to define __stub macros and hopefully few prototypes,
62005 which can conflict with char $ac_func (); below.
62006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62007 <limits.h> exists even on freestanding compilers. */
62009 #ifdef __STDC__
62010 # include <limits.h>
62011 #else
62012 # include <assert.h>
62013 #endif
62015 #undef $ac_func
62017 /* Override any gcc2 internal prototype to avoid an error. */
62018 #ifdef __cplusplus
62019 extern "C"
62021 #endif
62022 /* We use char because int might match the return type of a gcc2
62023 builtin and then its argument prototype would still apply. */
62024 char $ac_func ();
62025 /* The GNU C library defines this for functions which it implements
62026 to always fail with ENOSYS. Some functions are actually named
62027 something starting with __ and the normal name is an alias. */
62028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62029 choke me
62030 #else
62031 char (*f) () = $ac_func;
62032 #endif
62033 #ifdef __cplusplus
62035 #endif
62038 main ()
62040 return f != $ac_func;
62042 return 0;
62044 _ACEOF
62045 rm -f conftest.$ac_objext conftest$ac_exeext
62046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62047 (eval $ac_link) 2>conftest.er1
62048 ac_status=$?
62049 grep -v '^ *+' conftest.er1 >conftest.err
62050 rm -f conftest.er1
62051 cat conftest.err >&5
62052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62053 (exit $ac_status); } &&
62054 { ac_try='test -z "$ac_c_werror_flag"
62055 || test ! -s conftest.err'
62056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62057 (eval $ac_try) 2>&5
62058 ac_status=$?
62059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62060 (exit $ac_status); }; } &&
62061 { ac_try='test -s conftest$ac_exeext'
62062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62063 (eval $ac_try) 2>&5
62064 ac_status=$?
62065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62066 (exit $ac_status); }; }; then
62067 eval "$as_ac_var=yes"
62068 else
62069 echo "$as_me: failed program was:" >&5
62070 sed 's/^/| /' conftest.$ac_ext >&5
62072 eval "$as_ac_var=no"
62074 rm -f conftest.err conftest.$ac_objext \
62075 conftest$ac_exeext conftest.$ac_ext
62077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62079 if test `eval echo '${'$as_ac_var'}'` = yes; then
62080 cat >>confdefs.h <<_ACEOF
62081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62082 _ACEOF
62085 done
62087 else
62089 echo "$as_me:$LINENO: checking for _modff declaration" >&5
62090 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62091 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62092 if test "${glibcxx_cv_func__modff_use+set}" = set; then
62093 echo $ECHO_N "(cached) $ECHO_C" >&6
62094 else
62098 ac_ext=cc
62099 ac_cpp='$CXXCPP $CPPFLAGS'
62100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62104 cat >conftest.$ac_ext <<_ACEOF
62105 /* confdefs.h. */
62106 _ACEOF
62107 cat confdefs.h >>conftest.$ac_ext
62108 cat >>conftest.$ac_ext <<_ACEOF
62109 /* end confdefs.h. */
62110 #include <math.h>
62112 main ()
62114 _modff(0, 0);
62116 return 0;
62118 _ACEOF
62119 rm -f conftest.$ac_objext
62120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62121 (eval $ac_compile) 2>conftest.er1
62122 ac_status=$?
62123 grep -v '^ *+' conftest.er1 >conftest.err
62124 rm -f conftest.er1
62125 cat conftest.err >&5
62126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62127 (exit $ac_status); } &&
62128 { ac_try='test -z "$ac_cxx_werror_flag"
62129 || test ! -s conftest.err'
62130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62131 (eval $ac_try) 2>&5
62132 ac_status=$?
62133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62134 (exit $ac_status); }; } &&
62135 { ac_try='test -s conftest.$ac_objext'
62136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62137 (eval $ac_try) 2>&5
62138 ac_status=$?
62139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62140 (exit $ac_status); }; }; then
62141 glibcxx_cv_func__modff_use=yes
62142 else
62143 echo "$as_me: failed program was:" >&5
62144 sed 's/^/| /' conftest.$ac_ext >&5
62146 glibcxx_cv_func__modff_use=no
62148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62149 ac_ext=c
62150 ac_cpp='$CPP $CPPFLAGS'
62151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62159 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62160 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62162 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62164 for ac_func in _modff
62166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62167 echo "$as_me:$LINENO: checking for $ac_func" >&5
62168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62169 if eval "test \"\${$as_ac_var+set}\" = set"; then
62170 echo $ECHO_N "(cached) $ECHO_C" >&6
62171 else
62172 if test x$gcc_no_link = xyes; then
62173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62175 { (exit 1); exit 1; }; }
62177 cat >conftest.$ac_ext <<_ACEOF
62178 /* confdefs.h. */
62179 _ACEOF
62180 cat confdefs.h >>conftest.$ac_ext
62181 cat >>conftest.$ac_ext <<_ACEOF
62182 /* end confdefs.h. */
62183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62185 #define $ac_func innocuous_$ac_func
62187 /* System header to define __stub macros and hopefully few prototypes,
62188 which can conflict with char $ac_func (); below.
62189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62190 <limits.h> exists even on freestanding compilers. */
62192 #ifdef __STDC__
62193 # include <limits.h>
62194 #else
62195 # include <assert.h>
62196 #endif
62198 #undef $ac_func
62200 /* Override any gcc2 internal prototype to avoid an error. */
62201 #ifdef __cplusplus
62202 extern "C"
62204 #endif
62205 /* We use char because int might match the return type of a gcc2
62206 builtin and then its argument prototype would still apply. */
62207 char $ac_func ();
62208 /* The GNU C library defines this for functions which it implements
62209 to always fail with ENOSYS. Some functions are actually named
62210 something starting with __ and the normal name is an alias. */
62211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62212 choke me
62213 #else
62214 char (*f) () = $ac_func;
62215 #endif
62216 #ifdef __cplusplus
62218 #endif
62221 main ()
62223 return f != $ac_func;
62225 return 0;
62227 _ACEOF
62228 rm -f conftest.$ac_objext conftest$ac_exeext
62229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62230 (eval $ac_link) 2>conftest.er1
62231 ac_status=$?
62232 grep -v '^ *+' conftest.er1 >conftest.err
62233 rm -f conftest.er1
62234 cat conftest.err >&5
62235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62236 (exit $ac_status); } &&
62237 { ac_try='test -z "$ac_c_werror_flag"
62238 || test ! -s conftest.err'
62239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62240 (eval $ac_try) 2>&5
62241 ac_status=$?
62242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62243 (exit $ac_status); }; } &&
62244 { ac_try='test -s conftest$ac_exeext'
62245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62246 (eval $ac_try) 2>&5
62247 ac_status=$?
62248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62249 (exit $ac_status); }; }; then
62250 eval "$as_ac_var=yes"
62251 else
62252 echo "$as_me: failed program was:" >&5
62253 sed 's/^/| /' conftest.$ac_ext >&5
62255 eval "$as_ac_var=no"
62257 rm -f conftest.err conftest.$ac_objext \
62258 conftest$ac_exeext conftest.$ac_ext
62260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62262 if test `eval echo '${'$as_ac_var'}'` = yes; then
62263 cat >>confdefs.h <<_ACEOF
62264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62265 _ACEOF
62268 done
62278 echo "$as_me:$LINENO: checking for modf declaration" >&5
62279 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62280 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62281 if test "${glibcxx_cv_func_modf_use+set}" = set; then
62282 echo $ECHO_N "(cached) $ECHO_C" >&6
62283 else
62287 ac_ext=cc
62288 ac_cpp='$CXXCPP $CPPFLAGS'
62289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62293 cat >conftest.$ac_ext <<_ACEOF
62294 /* confdefs.h. */
62295 _ACEOF
62296 cat confdefs.h >>conftest.$ac_ext
62297 cat >>conftest.$ac_ext <<_ACEOF
62298 /* end confdefs.h. */
62299 #include <math.h>
62301 main ()
62303 modf(0, 0);
62305 return 0;
62307 _ACEOF
62308 rm -f conftest.$ac_objext
62309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62310 (eval $ac_compile) 2>conftest.er1
62311 ac_status=$?
62312 grep -v '^ *+' conftest.er1 >conftest.err
62313 rm -f conftest.er1
62314 cat conftest.err >&5
62315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62316 (exit $ac_status); } &&
62317 { ac_try='test -z "$ac_cxx_werror_flag"
62318 || test ! -s conftest.err'
62319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62320 (eval $ac_try) 2>&5
62321 ac_status=$?
62322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62323 (exit $ac_status); }; } &&
62324 { ac_try='test -s conftest.$ac_objext'
62325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62326 (eval $ac_try) 2>&5
62327 ac_status=$?
62328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62329 (exit $ac_status); }; }; then
62330 glibcxx_cv_func_modf_use=yes
62331 else
62332 echo "$as_me: failed program was:" >&5
62333 sed 's/^/| /' conftest.$ac_ext >&5
62335 glibcxx_cv_func_modf_use=no
62337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62338 ac_ext=c
62339 ac_cpp='$CPP $CPPFLAGS'
62340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62348 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
62349 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
62351 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62353 for ac_func in modf
62355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62356 echo "$as_me:$LINENO: checking for $ac_func" >&5
62357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62358 if eval "test \"\${$as_ac_var+set}\" = set"; then
62359 echo $ECHO_N "(cached) $ECHO_C" >&6
62360 else
62361 if test x$gcc_no_link = xyes; then
62362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62364 { (exit 1); exit 1; }; }
62366 cat >conftest.$ac_ext <<_ACEOF
62367 /* confdefs.h. */
62368 _ACEOF
62369 cat confdefs.h >>conftest.$ac_ext
62370 cat >>conftest.$ac_ext <<_ACEOF
62371 /* end confdefs.h. */
62372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62374 #define $ac_func innocuous_$ac_func
62376 /* System header to define __stub macros and hopefully few prototypes,
62377 which can conflict with char $ac_func (); below.
62378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62379 <limits.h> exists even on freestanding compilers. */
62381 #ifdef __STDC__
62382 # include <limits.h>
62383 #else
62384 # include <assert.h>
62385 #endif
62387 #undef $ac_func
62389 /* Override any gcc2 internal prototype to avoid an error. */
62390 #ifdef __cplusplus
62391 extern "C"
62393 #endif
62394 /* We use char because int might match the return type of a gcc2
62395 builtin and then its argument prototype would still apply. */
62396 char $ac_func ();
62397 /* The GNU C library defines this for functions which it implements
62398 to always fail with ENOSYS. Some functions are actually named
62399 something starting with __ and the normal name is an alias. */
62400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62401 choke me
62402 #else
62403 char (*f) () = $ac_func;
62404 #endif
62405 #ifdef __cplusplus
62407 #endif
62410 main ()
62412 return f != $ac_func;
62414 return 0;
62416 _ACEOF
62417 rm -f conftest.$ac_objext conftest$ac_exeext
62418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62419 (eval $ac_link) 2>conftest.er1
62420 ac_status=$?
62421 grep -v '^ *+' conftest.er1 >conftest.err
62422 rm -f conftest.er1
62423 cat conftest.err >&5
62424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62425 (exit $ac_status); } &&
62426 { ac_try='test -z "$ac_c_werror_flag"
62427 || test ! -s conftest.err'
62428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62429 (eval $ac_try) 2>&5
62430 ac_status=$?
62431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62432 (exit $ac_status); }; } &&
62433 { ac_try='test -s conftest$ac_exeext'
62434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62435 (eval $ac_try) 2>&5
62436 ac_status=$?
62437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62438 (exit $ac_status); }; }; then
62439 eval "$as_ac_var=yes"
62440 else
62441 echo "$as_me: failed program was:" >&5
62442 sed 's/^/| /' conftest.$ac_ext >&5
62444 eval "$as_ac_var=no"
62446 rm -f conftest.err conftest.$ac_objext \
62447 conftest$ac_exeext conftest.$ac_ext
62449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62451 if test `eval echo '${'$as_ac_var'}'` = yes; then
62452 cat >>confdefs.h <<_ACEOF
62453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62454 _ACEOF
62457 done
62459 else
62461 echo "$as_me:$LINENO: checking for _modf declaration" >&5
62462 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
62463 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62464 if test "${glibcxx_cv_func__modf_use+set}" = set; then
62465 echo $ECHO_N "(cached) $ECHO_C" >&6
62466 else
62470 ac_ext=cc
62471 ac_cpp='$CXXCPP $CPPFLAGS'
62472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62476 cat >conftest.$ac_ext <<_ACEOF
62477 /* confdefs.h. */
62478 _ACEOF
62479 cat confdefs.h >>conftest.$ac_ext
62480 cat >>conftest.$ac_ext <<_ACEOF
62481 /* end confdefs.h. */
62482 #include <math.h>
62484 main ()
62486 _modf(0, 0);
62488 return 0;
62490 _ACEOF
62491 rm -f conftest.$ac_objext
62492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62493 (eval $ac_compile) 2>conftest.er1
62494 ac_status=$?
62495 grep -v '^ *+' conftest.er1 >conftest.err
62496 rm -f conftest.er1
62497 cat conftest.err >&5
62498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62499 (exit $ac_status); } &&
62500 { ac_try='test -z "$ac_cxx_werror_flag"
62501 || test ! -s conftest.err'
62502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62503 (eval $ac_try) 2>&5
62504 ac_status=$?
62505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62506 (exit $ac_status); }; } &&
62507 { ac_try='test -s conftest.$ac_objext'
62508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62509 (eval $ac_try) 2>&5
62510 ac_status=$?
62511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62512 (exit $ac_status); }; }; then
62513 glibcxx_cv_func__modf_use=yes
62514 else
62515 echo "$as_me: failed program was:" >&5
62516 sed 's/^/| /' conftest.$ac_ext >&5
62518 glibcxx_cv_func__modf_use=no
62520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62521 ac_ext=c
62522 ac_cpp='$CPP $CPPFLAGS'
62523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62531 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
62532 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
62534 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62536 for ac_func in _modf
62538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62539 echo "$as_me:$LINENO: checking for $ac_func" >&5
62540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62541 if eval "test \"\${$as_ac_var+set}\" = set"; then
62542 echo $ECHO_N "(cached) $ECHO_C" >&6
62543 else
62544 if test x$gcc_no_link = xyes; then
62545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62547 { (exit 1); exit 1; }; }
62549 cat >conftest.$ac_ext <<_ACEOF
62550 /* confdefs.h. */
62551 _ACEOF
62552 cat confdefs.h >>conftest.$ac_ext
62553 cat >>conftest.$ac_ext <<_ACEOF
62554 /* end confdefs.h. */
62555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62557 #define $ac_func innocuous_$ac_func
62559 /* System header to define __stub macros and hopefully few prototypes,
62560 which can conflict with char $ac_func (); below.
62561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62562 <limits.h> exists even on freestanding compilers. */
62564 #ifdef __STDC__
62565 # include <limits.h>
62566 #else
62567 # include <assert.h>
62568 #endif
62570 #undef $ac_func
62572 /* Override any gcc2 internal prototype to avoid an error. */
62573 #ifdef __cplusplus
62574 extern "C"
62576 #endif
62577 /* We use char because int might match the return type of a gcc2
62578 builtin and then its argument prototype would still apply. */
62579 char $ac_func ();
62580 /* The GNU C library defines this for functions which it implements
62581 to always fail with ENOSYS. Some functions are actually named
62582 something starting with __ and the normal name is an alias. */
62583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62584 choke me
62585 #else
62586 char (*f) () = $ac_func;
62587 #endif
62588 #ifdef __cplusplus
62590 #endif
62593 main ()
62595 return f != $ac_func;
62597 return 0;
62599 _ACEOF
62600 rm -f conftest.$ac_objext conftest$ac_exeext
62601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62602 (eval $ac_link) 2>conftest.er1
62603 ac_status=$?
62604 grep -v '^ *+' conftest.er1 >conftest.err
62605 rm -f conftest.er1
62606 cat conftest.err >&5
62607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62608 (exit $ac_status); } &&
62609 { ac_try='test -z "$ac_c_werror_flag"
62610 || test ! -s conftest.err'
62611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62612 (eval $ac_try) 2>&5
62613 ac_status=$?
62614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62615 (exit $ac_status); }; } &&
62616 { ac_try='test -s conftest$ac_exeext'
62617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62618 (eval $ac_try) 2>&5
62619 ac_status=$?
62620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62621 (exit $ac_status); }; }; then
62622 eval "$as_ac_var=yes"
62623 else
62624 echo "$as_me: failed program was:" >&5
62625 sed 's/^/| /' conftest.$ac_ext >&5
62627 eval "$as_ac_var=no"
62629 rm -f conftest.err conftest.$ac_objext \
62630 conftest$ac_exeext conftest.$ac_ext
62632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62634 if test `eval echo '${'$as_ac_var'}'` = yes; then
62635 cat >>confdefs.h <<_ACEOF
62636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62637 _ACEOF
62640 done
62650 echo "$as_me:$LINENO: checking for powf declaration" >&5
62651 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
62652 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62653 if test "${glibcxx_cv_func_powf_use+set}" = set; then
62654 echo $ECHO_N "(cached) $ECHO_C" >&6
62655 else
62659 ac_ext=cc
62660 ac_cpp='$CXXCPP $CPPFLAGS'
62661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62665 cat >conftest.$ac_ext <<_ACEOF
62666 /* confdefs.h. */
62667 _ACEOF
62668 cat confdefs.h >>conftest.$ac_ext
62669 cat >>conftest.$ac_ext <<_ACEOF
62670 /* end confdefs.h. */
62671 #include <math.h>
62673 main ()
62675 powf(0, 0);
62677 return 0;
62679 _ACEOF
62680 rm -f conftest.$ac_objext
62681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62682 (eval $ac_compile) 2>conftest.er1
62683 ac_status=$?
62684 grep -v '^ *+' conftest.er1 >conftest.err
62685 rm -f conftest.er1
62686 cat conftest.err >&5
62687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62688 (exit $ac_status); } &&
62689 { ac_try='test -z "$ac_cxx_werror_flag"
62690 || test ! -s conftest.err'
62691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62692 (eval $ac_try) 2>&5
62693 ac_status=$?
62694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62695 (exit $ac_status); }; } &&
62696 { ac_try='test -s conftest.$ac_objext'
62697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62698 (eval $ac_try) 2>&5
62699 ac_status=$?
62700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62701 (exit $ac_status); }; }; then
62702 glibcxx_cv_func_powf_use=yes
62703 else
62704 echo "$as_me: failed program was:" >&5
62705 sed 's/^/| /' conftest.$ac_ext >&5
62707 glibcxx_cv_func_powf_use=no
62709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62710 ac_ext=c
62711 ac_cpp='$CPP $CPPFLAGS'
62712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62720 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
62721 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
62723 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62725 for ac_func in powf
62727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62728 echo "$as_me:$LINENO: checking for $ac_func" >&5
62729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62730 if eval "test \"\${$as_ac_var+set}\" = set"; then
62731 echo $ECHO_N "(cached) $ECHO_C" >&6
62732 else
62733 if test x$gcc_no_link = xyes; then
62734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62736 { (exit 1); exit 1; }; }
62738 cat >conftest.$ac_ext <<_ACEOF
62739 /* confdefs.h. */
62740 _ACEOF
62741 cat confdefs.h >>conftest.$ac_ext
62742 cat >>conftest.$ac_ext <<_ACEOF
62743 /* end confdefs.h. */
62744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62746 #define $ac_func innocuous_$ac_func
62748 /* System header to define __stub macros and hopefully few prototypes,
62749 which can conflict with char $ac_func (); below.
62750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62751 <limits.h> exists even on freestanding compilers. */
62753 #ifdef __STDC__
62754 # include <limits.h>
62755 #else
62756 # include <assert.h>
62757 #endif
62759 #undef $ac_func
62761 /* Override any gcc2 internal prototype to avoid an error. */
62762 #ifdef __cplusplus
62763 extern "C"
62765 #endif
62766 /* We use char because int might match the return type of a gcc2
62767 builtin and then its argument prototype would still apply. */
62768 char $ac_func ();
62769 /* The GNU C library defines this for functions which it implements
62770 to always fail with ENOSYS. Some functions are actually named
62771 something starting with __ and the normal name is an alias. */
62772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62773 choke me
62774 #else
62775 char (*f) () = $ac_func;
62776 #endif
62777 #ifdef __cplusplus
62779 #endif
62782 main ()
62784 return f != $ac_func;
62786 return 0;
62788 _ACEOF
62789 rm -f conftest.$ac_objext conftest$ac_exeext
62790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62791 (eval $ac_link) 2>conftest.er1
62792 ac_status=$?
62793 grep -v '^ *+' conftest.er1 >conftest.err
62794 rm -f conftest.er1
62795 cat conftest.err >&5
62796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62797 (exit $ac_status); } &&
62798 { ac_try='test -z "$ac_c_werror_flag"
62799 || test ! -s conftest.err'
62800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62801 (eval $ac_try) 2>&5
62802 ac_status=$?
62803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62804 (exit $ac_status); }; } &&
62805 { ac_try='test -s conftest$ac_exeext'
62806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62807 (eval $ac_try) 2>&5
62808 ac_status=$?
62809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62810 (exit $ac_status); }; }; then
62811 eval "$as_ac_var=yes"
62812 else
62813 echo "$as_me: failed program was:" >&5
62814 sed 's/^/| /' conftest.$ac_ext >&5
62816 eval "$as_ac_var=no"
62818 rm -f conftest.err conftest.$ac_objext \
62819 conftest$ac_exeext conftest.$ac_ext
62821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62823 if test `eval echo '${'$as_ac_var'}'` = yes; then
62824 cat >>confdefs.h <<_ACEOF
62825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62826 _ACEOF
62829 done
62831 else
62833 echo "$as_me:$LINENO: checking for _powf declaration" >&5
62834 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
62835 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62836 if test "${glibcxx_cv_func__powf_use+set}" = set; then
62837 echo $ECHO_N "(cached) $ECHO_C" >&6
62838 else
62842 ac_ext=cc
62843 ac_cpp='$CXXCPP $CPPFLAGS'
62844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62848 cat >conftest.$ac_ext <<_ACEOF
62849 /* confdefs.h. */
62850 _ACEOF
62851 cat confdefs.h >>conftest.$ac_ext
62852 cat >>conftest.$ac_ext <<_ACEOF
62853 /* end confdefs.h. */
62854 #include <math.h>
62856 main ()
62858 _powf(0, 0);
62860 return 0;
62862 _ACEOF
62863 rm -f conftest.$ac_objext
62864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62865 (eval $ac_compile) 2>conftest.er1
62866 ac_status=$?
62867 grep -v '^ *+' conftest.er1 >conftest.err
62868 rm -f conftest.er1
62869 cat conftest.err >&5
62870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62871 (exit $ac_status); } &&
62872 { ac_try='test -z "$ac_cxx_werror_flag"
62873 || test ! -s conftest.err'
62874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62875 (eval $ac_try) 2>&5
62876 ac_status=$?
62877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62878 (exit $ac_status); }; } &&
62879 { ac_try='test -s conftest.$ac_objext'
62880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62881 (eval $ac_try) 2>&5
62882 ac_status=$?
62883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62884 (exit $ac_status); }; }; then
62885 glibcxx_cv_func__powf_use=yes
62886 else
62887 echo "$as_me: failed program was:" >&5
62888 sed 's/^/| /' conftest.$ac_ext >&5
62890 glibcxx_cv_func__powf_use=no
62892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62893 ac_ext=c
62894 ac_cpp='$CPP $CPPFLAGS'
62895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62903 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
62904 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
62906 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62908 for ac_func in _powf
62910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62911 echo "$as_me:$LINENO: checking for $ac_func" >&5
62912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62913 if eval "test \"\${$as_ac_var+set}\" = set"; then
62914 echo $ECHO_N "(cached) $ECHO_C" >&6
62915 else
62916 if test x$gcc_no_link = xyes; then
62917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62919 { (exit 1); exit 1; }; }
62921 cat >conftest.$ac_ext <<_ACEOF
62922 /* confdefs.h. */
62923 _ACEOF
62924 cat confdefs.h >>conftest.$ac_ext
62925 cat >>conftest.$ac_ext <<_ACEOF
62926 /* end confdefs.h. */
62927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62929 #define $ac_func innocuous_$ac_func
62931 /* System header to define __stub macros and hopefully few prototypes,
62932 which can conflict with char $ac_func (); below.
62933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62934 <limits.h> exists even on freestanding compilers. */
62936 #ifdef __STDC__
62937 # include <limits.h>
62938 #else
62939 # include <assert.h>
62940 #endif
62942 #undef $ac_func
62944 /* Override any gcc2 internal prototype to avoid an error. */
62945 #ifdef __cplusplus
62946 extern "C"
62948 #endif
62949 /* We use char because int might match the return type of a gcc2
62950 builtin and then its argument prototype would still apply. */
62951 char $ac_func ();
62952 /* The GNU C library defines this for functions which it implements
62953 to always fail with ENOSYS. Some functions are actually named
62954 something starting with __ and the normal name is an alias. */
62955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62956 choke me
62957 #else
62958 char (*f) () = $ac_func;
62959 #endif
62960 #ifdef __cplusplus
62962 #endif
62965 main ()
62967 return f != $ac_func;
62969 return 0;
62971 _ACEOF
62972 rm -f conftest.$ac_objext conftest$ac_exeext
62973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62974 (eval $ac_link) 2>conftest.er1
62975 ac_status=$?
62976 grep -v '^ *+' conftest.er1 >conftest.err
62977 rm -f conftest.er1
62978 cat conftest.err >&5
62979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62980 (exit $ac_status); } &&
62981 { ac_try='test -z "$ac_c_werror_flag"
62982 || test ! -s conftest.err'
62983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62984 (eval $ac_try) 2>&5
62985 ac_status=$?
62986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62987 (exit $ac_status); }; } &&
62988 { ac_try='test -s conftest$ac_exeext'
62989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62990 (eval $ac_try) 2>&5
62991 ac_status=$?
62992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62993 (exit $ac_status); }; }; then
62994 eval "$as_ac_var=yes"
62995 else
62996 echo "$as_me: failed program was:" >&5
62997 sed 's/^/| /' conftest.$ac_ext >&5
62999 eval "$as_ac_var=no"
63001 rm -f conftest.err conftest.$ac_objext \
63002 conftest$ac_exeext conftest.$ac_ext
63004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63006 if test `eval echo '${'$as_ac_var'}'` = yes; then
63007 cat >>confdefs.h <<_ACEOF
63008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63009 _ACEOF
63012 done
63022 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63023 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63024 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63025 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63026 echo $ECHO_N "(cached) $ECHO_C" >&6
63027 else
63031 ac_ext=cc
63032 ac_cpp='$CXXCPP $CPPFLAGS'
63033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63037 cat >conftest.$ac_ext <<_ACEOF
63038 /* confdefs.h. */
63039 _ACEOF
63040 cat confdefs.h >>conftest.$ac_ext
63041 cat >>conftest.$ac_ext <<_ACEOF
63042 /* end confdefs.h. */
63043 #include <math.h>
63044 #ifdef HAVE_IEEEFP_H
63045 #include <ieeefp.h>
63046 #endif
63049 main ()
63051 sqrtf(0);
63053 return 0;
63055 _ACEOF
63056 rm -f conftest.$ac_objext
63057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63058 (eval $ac_compile) 2>conftest.er1
63059 ac_status=$?
63060 grep -v '^ *+' conftest.er1 >conftest.err
63061 rm -f conftest.er1
63062 cat conftest.err >&5
63063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63064 (exit $ac_status); } &&
63065 { ac_try='test -z "$ac_cxx_werror_flag"
63066 || test ! -s conftest.err'
63067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63068 (eval $ac_try) 2>&5
63069 ac_status=$?
63070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63071 (exit $ac_status); }; } &&
63072 { ac_try='test -s conftest.$ac_objext'
63073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63074 (eval $ac_try) 2>&5
63075 ac_status=$?
63076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63077 (exit $ac_status); }; }; then
63078 glibcxx_cv_func_sqrtf_use=yes
63079 else
63080 echo "$as_me: failed program was:" >&5
63081 sed 's/^/| /' conftest.$ac_ext >&5
63083 glibcxx_cv_func_sqrtf_use=no
63085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63086 ac_ext=c
63087 ac_cpp='$CPP $CPPFLAGS'
63088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63096 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63097 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63099 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63101 for ac_func in sqrtf
63103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63104 echo "$as_me:$LINENO: checking for $ac_func" >&5
63105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63106 if eval "test \"\${$as_ac_var+set}\" = set"; then
63107 echo $ECHO_N "(cached) $ECHO_C" >&6
63108 else
63109 if test x$gcc_no_link = xyes; then
63110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63112 { (exit 1); exit 1; }; }
63114 cat >conftest.$ac_ext <<_ACEOF
63115 /* confdefs.h. */
63116 _ACEOF
63117 cat confdefs.h >>conftest.$ac_ext
63118 cat >>conftest.$ac_ext <<_ACEOF
63119 /* end confdefs.h. */
63120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63122 #define $ac_func innocuous_$ac_func
63124 /* System header to define __stub macros and hopefully few prototypes,
63125 which can conflict with char $ac_func (); below.
63126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63127 <limits.h> exists even on freestanding compilers. */
63129 #ifdef __STDC__
63130 # include <limits.h>
63131 #else
63132 # include <assert.h>
63133 #endif
63135 #undef $ac_func
63137 /* Override any gcc2 internal prototype to avoid an error. */
63138 #ifdef __cplusplus
63139 extern "C"
63141 #endif
63142 /* We use char because int might match the return type of a gcc2
63143 builtin and then its argument prototype would still apply. */
63144 char $ac_func ();
63145 /* The GNU C library defines this for functions which it implements
63146 to always fail with ENOSYS. Some functions are actually named
63147 something starting with __ and the normal name is an alias. */
63148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63149 choke me
63150 #else
63151 char (*f) () = $ac_func;
63152 #endif
63153 #ifdef __cplusplus
63155 #endif
63158 main ()
63160 return f != $ac_func;
63162 return 0;
63164 _ACEOF
63165 rm -f conftest.$ac_objext conftest$ac_exeext
63166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63167 (eval $ac_link) 2>conftest.er1
63168 ac_status=$?
63169 grep -v '^ *+' conftest.er1 >conftest.err
63170 rm -f conftest.er1
63171 cat conftest.err >&5
63172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63173 (exit $ac_status); } &&
63174 { ac_try='test -z "$ac_c_werror_flag"
63175 || test ! -s conftest.err'
63176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63177 (eval $ac_try) 2>&5
63178 ac_status=$?
63179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63180 (exit $ac_status); }; } &&
63181 { ac_try='test -s conftest$ac_exeext'
63182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63183 (eval $ac_try) 2>&5
63184 ac_status=$?
63185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63186 (exit $ac_status); }; }; then
63187 eval "$as_ac_var=yes"
63188 else
63189 echo "$as_me: failed program was:" >&5
63190 sed 's/^/| /' conftest.$ac_ext >&5
63192 eval "$as_ac_var=no"
63194 rm -f conftest.err conftest.$ac_objext \
63195 conftest$ac_exeext conftest.$ac_ext
63197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63199 if test `eval echo '${'$as_ac_var'}'` = yes; then
63200 cat >>confdefs.h <<_ACEOF
63201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63202 _ACEOF
63205 done
63207 else
63209 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63210 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63211 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63212 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63213 echo $ECHO_N "(cached) $ECHO_C" >&6
63214 else
63218 ac_ext=cc
63219 ac_cpp='$CXXCPP $CPPFLAGS'
63220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63224 cat >conftest.$ac_ext <<_ACEOF
63225 /* confdefs.h. */
63226 _ACEOF
63227 cat confdefs.h >>conftest.$ac_ext
63228 cat >>conftest.$ac_ext <<_ACEOF
63229 /* end confdefs.h. */
63230 #include <math.h>
63231 #ifdef HAVE_IEEEFP_H
63232 #include <ieeefp.h>
63233 #endif
63236 main ()
63238 _sqrtf(0);
63240 return 0;
63242 _ACEOF
63243 rm -f conftest.$ac_objext
63244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63245 (eval $ac_compile) 2>conftest.er1
63246 ac_status=$?
63247 grep -v '^ *+' conftest.er1 >conftest.err
63248 rm -f conftest.er1
63249 cat conftest.err >&5
63250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63251 (exit $ac_status); } &&
63252 { ac_try='test -z "$ac_cxx_werror_flag"
63253 || test ! -s conftest.err'
63254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63255 (eval $ac_try) 2>&5
63256 ac_status=$?
63257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63258 (exit $ac_status); }; } &&
63259 { ac_try='test -s conftest.$ac_objext'
63260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63261 (eval $ac_try) 2>&5
63262 ac_status=$?
63263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63264 (exit $ac_status); }; }; then
63265 glibcxx_cv_func__sqrtf_use=yes
63266 else
63267 echo "$as_me: failed program was:" >&5
63268 sed 's/^/| /' conftest.$ac_ext >&5
63270 glibcxx_cv_func__sqrtf_use=no
63272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63273 ac_ext=c
63274 ac_cpp='$CPP $CPPFLAGS'
63275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63283 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63284 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63286 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63288 for ac_func in _sqrtf
63290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63291 echo "$as_me:$LINENO: checking for $ac_func" >&5
63292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63293 if eval "test \"\${$as_ac_var+set}\" = set"; then
63294 echo $ECHO_N "(cached) $ECHO_C" >&6
63295 else
63296 if test x$gcc_no_link = xyes; then
63297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63299 { (exit 1); exit 1; }; }
63301 cat >conftest.$ac_ext <<_ACEOF
63302 /* confdefs.h. */
63303 _ACEOF
63304 cat confdefs.h >>conftest.$ac_ext
63305 cat >>conftest.$ac_ext <<_ACEOF
63306 /* end confdefs.h. */
63307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63309 #define $ac_func innocuous_$ac_func
63311 /* System header to define __stub macros and hopefully few prototypes,
63312 which can conflict with char $ac_func (); below.
63313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63314 <limits.h> exists even on freestanding compilers. */
63316 #ifdef __STDC__
63317 # include <limits.h>
63318 #else
63319 # include <assert.h>
63320 #endif
63322 #undef $ac_func
63324 /* Override any gcc2 internal prototype to avoid an error. */
63325 #ifdef __cplusplus
63326 extern "C"
63328 #endif
63329 /* We use char because int might match the return type of a gcc2
63330 builtin and then its argument prototype would still apply. */
63331 char $ac_func ();
63332 /* The GNU C library defines this for functions which it implements
63333 to always fail with ENOSYS. Some functions are actually named
63334 something starting with __ and the normal name is an alias. */
63335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63336 choke me
63337 #else
63338 char (*f) () = $ac_func;
63339 #endif
63340 #ifdef __cplusplus
63342 #endif
63345 main ()
63347 return f != $ac_func;
63349 return 0;
63351 _ACEOF
63352 rm -f conftest.$ac_objext conftest$ac_exeext
63353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63354 (eval $ac_link) 2>conftest.er1
63355 ac_status=$?
63356 grep -v '^ *+' conftest.er1 >conftest.err
63357 rm -f conftest.er1
63358 cat conftest.err >&5
63359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63360 (exit $ac_status); } &&
63361 { ac_try='test -z "$ac_c_werror_flag"
63362 || test ! -s conftest.err'
63363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63364 (eval $ac_try) 2>&5
63365 ac_status=$?
63366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63367 (exit $ac_status); }; } &&
63368 { ac_try='test -s conftest$ac_exeext'
63369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63370 (eval $ac_try) 2>&5
63371 ac_status=$?
63372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63373 (exit $ac_status); }; }; then
63374 eval "$as_ac_var=yes"
63375 else
63376 echo "$as_me: failed program was:" >&5
63377 sed 's/^/| /' conftest.$ac_ext >&5
63379 eval "$as_ac_var=no"
63381 rm -f conftest.err conftest.$ac_objext \
63382 conftest$ac_exeext conftest.$ac_ext
63384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63386 if test `eval echo '${'$as_ac_var'}'` = yes; then
63387 cat >>confdefs.h <<_ACEOF
63388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63389 _ACEOF
63392 done
63402 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
63403 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
63404 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63405 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
63406 echo $ECHO_N "(cached) $ECHO_C" >&6
63407 else
63411 ac_ext=cc
63412 ac_cpp='$CXXCPP $CPPFLAGS'
63413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63417 cat >conftest.$ac_ext <<_ACEOF
63418 /* confdefs.h. */
63419 _ACEOF
63420 cat confdefs.h >>conftest.$ac_ext
63421 cat >>conftest.$ac_ext <<_ACEOF
63422 /* end confdefs.h. */
63423 #include <math.h>
63425 main ()
63427 sincosf(0, 0, 0);
63429 return 0;
63431 _ACEOF
63432 rm -f conftest.$ac_objext
63433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63434 (eval $ac_compile) 2>conftest.er1
63435 ac_status=$?
63436 grep -v '^ *+' conftest.er1 >conftest.err
63437 rm -f conftest.er1
63438 cat conftest.err >&5
63439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63440 (exit $ac_status); } &&
63441 { ac_try='test -z "$ac_cxx_werror_flag"
63442 || test ! -s conftest.err'
63443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63444 (eval $ac_try) 2>&5
63445 ac_status=$?
63446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63447 (exit $ac_status); }; } &&
63448 { ac_try='test -s conftest.$ac_objext'
63449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63450 (eval $ac_try) 2>&5
63451 ac_status=$?
63452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63453 (exit $ac_status); }; }; then
63454 glibcxx_cv_func_sincosf_use=yes
63455 else
63456 echo "$as_me: failed program was:" >&5
63457 sed 's/^/| /' conftest.$ac_ext >&5
63459 glibcxx_cv_func_sincosf_use=no
63461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63462 ac_ext=c
63463 ac_cpp='$CPP $CPPFLAGS'
63464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63472 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
63473 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
63475 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63477 for ac_func in sincosf
63479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63480 echo "$as_me:$LINENO: checking for $ac_func" >&5
63481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63482 if eval "test \"\${$as_ac_var+set}\" = set"; then
63483 echo $ECHO_N "(cached) $ECHO_C" >&6
63484 else
63485 if test x$gcc_no_link = xyes; then
63486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63488 { (exit 1); exit 1; }; }
63490 cat >conftest.$ac_ext <<_ACEOF
63491 /* confdefs.h. */
63492 _ACEOF
63493 cat confdefs.h >>conftest.$ac_ext
63494 cat >>conftest.$ac_ext <<_ACEOF
63495 /* end confdefs.h. */
63496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63498 #define $ac_func innocuous_$ac_func
63500 /* System header to define __stub macros and hopefully few prototypes,
63501 which can conflict with char $ac_func (); below.
63502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63503 <limits.h> exists even on freestanding compilers. */
63505 #ifdef __STDC__
63506 # include <limits.h>
63507 #else
63508 # include <assert.h>
63509 #endif
63511 #undef $ac_func
63513 /* Override any gcc2 internal prototype to avoid an error. */
63514 #ifdef __cplusplus
63515 extern "C"
63517 #endif
63518 /* We use char because int might match the return type of a gcc2
63519 builtin and then its argument prototype would still apply. */
63520 char $ac_func ();
63521 /* The GNU C library defines this for functions which it implements
63522 to always fail with ENOSYS. Some functions are actually named
63523 something starting with __ and the normal name is an alias. */
63524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63525 choke me
63526 #else
63527 char (*f) () = $ac_func;
63528 #endif
63529 #ifdef __cplusplus
63531 #endif
63534 main ()
63536 return f != $ac_func;
63538 return 0;
63540 _ACEOF
63541 rm -f conftest.$ac_objext conftest$ac_exeext
63542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63543 (eval $ac_link) 2>conftest.er1
63544 ac_status=$?
63545 grep -v '^ *+' conftest.er1 >conftest.err
63546 rm -f conftest.er1
63547 cat conftest.err >&5
63548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63549 (exit $ac_status); } &&
63550 { ac_try='test -z "$ac_c_werror_flag"
63551 || test ! -s conftest.err'
63552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63553 (eval $ac_try) 2>&5
63554 ac_status=$?
63555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63556 (exit $ac_status); }; } &&
63557 { ac_try='test -s conftest$ac_exeext'
63558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63559 (eval $ac_try) 2>&5
63560 ac_status=$?
63561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63562 (exit $ac_status); }; }; then
63563 eval "$as_ac_var=yes"
63564 else
63565 echo "$as_me: failed program was:" >&5
63566 sed 's/^/| /' conftest.$ac_ext >&5
63568 eval "$as_ac_var=no"
63570 rm -f conftest.err conftest.$ac_objext \
63571 conftest$ac_exeext conftest.$ac_ext
63573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63575 if test `eval echo '${'$as_ac_var'}'` = yes; then
63576 cat >>confdefs.h <<_ACEOF
63577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63578 _ACEOF
63581 done
63583 else
63585 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
63586 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
63587 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63588 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
63589 echo $ECHO_N "(cached) $ECHO_C" >&6
63590 else
63594 ac_ext=cc
63595 ac_cpp='$CXXCPP $CPPFLAGS'
63596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63600 cat >conftest.$ac_ext <<_ACEOF
63601 /* confdefs.h. */
63602 _ACEOF
63603 cat confdefs.h >>conftest.$ac_ext
63604 cat >>conftest.$ac_ext <<_ACEOF
63605 /* end confdefs.h. */
63606 #include <math.h>
63608 main ()
63610 _sincosf(0, 0, 0);
63612 return 0;
63614 _ACEOF
63615 rm -f conftest.$ac_objext
63616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63617 (eval $ac_compile) 2>conftest.er1
63618 ac_status=$?
63619 grep -v '^ *+' conftest.er1 >conftest.err
63620 rm -f conftest.er1
63621 cat conftest.err >&5
63622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63623 (exit $ac_status); } &&
63624 { ac_try='test -z "$ac_cxx_werror_flag"
63625 || test ! -s conftest.err'
63626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63627 (eval $ac_try) 2>&5
63628 ac_status=$?
63629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63630 (exit $ac_status); }; } &&
63631 { ac_try='test -s conftest.$ac_objext'
63632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63633 (eval $ac_try) 2>&5
63634 ac_status=$?
63635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63636 (exit $ac_status); }; }; then
63637 glibcxx_cv_func__sincosf_use=yes
63638 else
63639 echo "$as_me: failed program was:" >&5
63640 sed 's/^/| /' conftest.$ac_ext >&5
63642 glibcxx_cv_func__sincosf_use=no
63644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63645 ac_ext=c
63646 ac_cpp='$CPP $CPPFLAGS'
63647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63655 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
63656 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
63658 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63660 for ac_func in _sincosf
63662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63663 echo "$as_me:$LINENO: checking for $ac_func" >&5
63664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63665 if eval "test \"\${$as_ac_var+set}\" = set"; then
63666 echo $ECHO_N "(cached) $ECHO_C" >&6
63667 else
63668 if test x$gcc_no_link = xyes; then
63669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63671 { (exit 1); exit 1; }; }
63673 cat >conftest.$ac_ext <<_ACEOF
63674 /* confdefs.h. */
63675 _ACEOF
63676 cat confdefs.h >>conftest.$ac_ext
63677 cat >>conftest.$ac_ext <<_ACEOF
63678 /* end confdefs.h. */
63679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63681 #define $ac_func innocuous_$ac_func
63683 /* System header to define __stub macros and hopefully few prototypes,
63684 which can conflict with char $ac_func (); below.
63685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63686 <limits.h> exists even on freestanding compilers. */
63688 #ifdef __STDC__
63689 # include <limits.h>
63690 #else
63691 # include <assert.h>
63692 #endif
63694 #undef $ac_func
63696 /* Override any gcc2 internal prototype to avoid an error. */
63697 #ifdef __cplusplus
63698 extern "C"
63700 #endif
63701 /* We use char because int might match the return type of a gcc2
63702 builtin and then its argument prototype would still apply. */
63703 char $ac_func ();
63704 /* The GNU C library defines this for functions which it implements
63705 to always fail with ENOSYS. Some functions are actually named
63706 something starting with __ and the normal name is an alias. */
63707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63708 choke me
63709 #else
63710 char (*f) () = $ac_func;
63711 #endif
63712 #ifdef __cplusplus
63714 #endif
63717 main ()
63719 return f != $ac_func;
63721 return 0;
63723 _ACEOF
63724 rm -f conftest.$ac_objext conftest$ac_exeext
63725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63726 (eval $ac_link) 2>conftest.er1
63727 ac_status=$?
63728 grep -v '^ *+' conftest.er1 >conftest.err
63729 rm -f conftest.er1
63730 cat conftest.err >&5
63731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63732 (exit $ac_status); } &&
63733 { ac_try='test -z "$ac_c_werror_flag"
63734 || test ! -s conftest.err'
63735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63736 (eval $ac_try) 2>&5
63737 ac_status=$?
63738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63739 (exit $ac_status); }; } &&
63740 { ac_try='test -s conftest$ac_exeext'
63741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63742 (eval $ac_try) 2>&5
63743 ac_status=$?
63744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63745 (exit $ac_status); }; }; then
63746 eval "$as_ac_var=yes"
63747 else
63748 echo "$as_me: failed program was:" >&5
63749 sed 's/^/| /' conftest.$ac_ext >&5
63751 eval "$as_ac_var=no"
63753 rm -f conftest.err conftest.$ac_objext \
63754 conftest$ac_exeext conftest.$ac_ext
63756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63758 if test `eval echo '${'$as_ac_var'}'` = yes; then
63759 cat >>confdefs.h <<_ACEOF
63760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63761 _ACEOF
63764 done
63774 echo "$as_me:$LINENO: checking for finitef declaration" >&5
63775 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
63776 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63777 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
63778 echo $ECHO_N "(cached) $ECHO_C" >&6
63779 else
63783 ac_ext=cc
63784 ac_cpp='$CXXCPP $CPPFLAGS'
63785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63789 cat >conftest.$ac_ext <<_ACEOF
63790 /* confdefs.h. */
63791 _ACEOF
63792 cat confdefs.h >>conftest.$ac_ext
63793 cat >>conftest.$ac_ext <<_ACEOF
63794 /* end confdefs.h. */
63795 #include <math.h>
63796 #ifdef HAVE_IEEEFP_H
63797 #include <ieeefp.h>
63798 #endif
63801 main ()
63803 finitef(0);
63805 return 0;
63807 _ACEOF
63808 rm -f conftest.$ac_objext
63809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63810 (eval $ac_compile) 2>conftest.er1
63811 ac_status=$?
63812 grep -v '^ *+' conftest.er1 >conftest.err
63813 rm -f conftest.er1
63814 cat conftest.err >&5
63815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63816 (exit $ac_status); } &&
63817 { ac_try='test -z "$ac_cxx_werror_flag"
63818 || test ! -s conftest.err'
63819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63820 (eval $ac_try) 2>&5
63821 ac_status=$?
63822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63823 (exit $ac_status); }; } &&
63824 { ac_try='test -s conftest.$ac_objext'
63825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63826 (eval $ac_try) 2>&5
63827 ac_status=$?
63828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63829 (exit $ac_status); }; }; then
63830 glibcxx_cv_func_finitef_use=yes
63831 else
63832 echo "$as_me: failed program was:" >&5
63833 sed 's/^/| /' conftest.$ac_ext >&5
63835 glibcxx_cv_func_finitef_use=no
63837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63838 ac_ext=c
63839 ac_cpp='$CPP $CPPFLAGS'
63840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63848 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
63849 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
63851 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63853 for ac_func in finitef
63855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63856 echo "$as_me:$LINENO: checking for $ac_func" >&5
63857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63858 if eval "test \"\${$as_ac_var+set}\" = set"; then
63859 echo $ECHO_N "(cached) $ECHO_C" >&6
63860 else
63861 if test x$gcc_no_link = xyes; then
63862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63864 { (exit 1); exit 1; }; }
63866 cat >conftest.$ac_ext <<_ACEOF
63867 /* confdefs.h. */
63868 _ACEOF
63869 cat confdefs.h >>conftest.$ac_ext
63870 cat >>conftest.$ac_ext <<_ACEOF
63871 /* end confdefs.h. */
63872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63874 #define $ac_func innocuous_$ac_func
63876 /* System header to define __stub macros and hopefully few prototypes,
63877 which can conflict with char $ac_func (); below.
63878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63879 <limits.h> exists even on freestanding compilers. */
63881 #ifdef __STDC__
63882 # include <limits.h>
63883 #else
63884 # include <assert.h>
63885 #endif
63887 #undef $ac_func
63889 /* Override any gcc2 internal prototype to avoid an error. */
63890 #ifdef __cplusplus
63891 extern "C"
63893 #endif
63894 /* We use char because int might match the return type of a gcc2
63895 builtin and then its argument prototype would still apply. */
63896 char $ac_func ();
63897 /* The GNU C library defines this for functions which it implements
63898 to always fail with ENOSYS. Some functions are actually named
63899 something starting with __ and the normal name is an alias. */
63900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63901 choke me
63902 #else
63903 char (*f) () = $ac_func;
63904 #endif
63905 #ifdef __cplusplus
63907 #endif
63910 main ()
63912 return f != $ac_func;
63914 return 0;
63916 _ACEOF
63917 rm -f conftest.$ac_objext conftest$ac_exeext
63918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63919 (eval $ac_link) 2>conftest.er1
63920 ac_status=$?
63921 grep -v '^ *+' conftest.er1 >conftest.err
63922 rm -f conftest.er1
63923 cat conftest.err >&5
63924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63925 (exit $ac_status); } &&
63926 { ac_try='test -z "$ac_c_werror_flag"
63927 || test ! -s conftest.err'
63928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63929 (eval $ac_try) 2>&5
63930 ac_status=$?
63931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63932 (exit $ac_status); }; } &&
63933 { ac_try='test -s conftest$ac_exeext'
63934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63935 (eval $ac_try) 2>&5
63936 ac_status=$?
63937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63938 (exit $ac_status); }; }; then
63939 eval "$as_ac_var=yes"
63940 else
63941 echo "$as_me: failed program was:" >&5
63942 sed 's/^/| /' conftest.$ac_ext >&5
63944 eval "$as_ac_var=no"
63946 rm -f conftest.err conftest.$ac_objext \
63947 conftest$ac_exeext conftest.$ac_ext
63949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63951 if test `eval echo '${'$as_ac_var'}'` = yes; then
63952 cat >>confdefs.h <<_ACEOF
63953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63954 _ACEOF
63957 done
63959 else
63961 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
63962 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
63963 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63964 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
63965 echo $ECHO_N "(cached) $ECHO_C" >&6
63966 else
63970 ac_ext=cc
63971 ac_cpp='$CXXCPP $CPPFLAGS'
63972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63976 cat >conftest.$ac_ext <<_ACEOF
63977 /* confdefs.h. */
63978 _ACEOF
63979 cat confdefs.h >>conftest.$ac_ext
63980 cat >>conftest.$ac_ext <<_ACEOF
63981 /* end confdefs.h. */
63982 #include <math.h>
63983 #ifdef HAVE_IEEEFP_H
63984 #include <ieeefp.h>
63985 #endif
63988 main ()
63990 _finitef(0);
63992 return 0;
63994 _ACEOF
63995 rm -f conftest.$ac_objext
63996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63997 (eval $ac_compile) 2>conftest.er1
63998 ac_status=$?
63999 grep -v '^ *+' conftest.er1 >conftest.err
64000 rm -f conftest.er1
64001 cat conftest.err >&5
64002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64003 (exit $ac_status); } &&
64004 { ac_try='test -z "$ac_cxx_werror_flag"
64005 || test ! -s conftest.err'
64006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64007 (eval $ac_try) 2>&5
64008 ac_status=$?
64009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64010 (exit $ac_status); }; } &&
64011 { ac_try='test -s conftest.$ac_objext'
64012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64013 (eval $ac_try) 2>&5
64014 ac_status=$?
64015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64016 (exit $ac_status); }; }; then
64017 glibcxx_cv_func__finitef_use=yes
64018 else
64019 echo "$as_me: failed program was:" >&5
64020 sed 's/^/| /' conftest.$ac_ext >&5
64022 glibcxx_cv_func__finitef_use=no
64024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64025 ac_ext=c
64026 ac_cpp='$CPP $CPPFLAGS'
64027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64035 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64036 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64038 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64040 for ac_func in _finitef
64042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64043 echo "$as_me:$LINENO: checking for $ac_func" >&5
64044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64045 if eval "test \"\${$as_ac_var+set}\" = set"; then
64046 echo $ECHO_N "(cached) $ECHO_C" >&6
64047 else
64048 if test x$gcc_no_link = xyes; then
64049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64051 { (exit 1); exit 1; }; }
64053 cat >conftest.$ac_ext <<_ACEOF
64054 /* confdefs.h. */
64055 _ACEOF
64056 cat confdefs.h >>conftest.$ac_ext
64057 cat >>conftest.$ac_ext <<_ACEOF
64058 /* end confdefs.h. */
64059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64061 #define $ac_func innocuous_$ac_func
64063 /* System header to define __stub macros and hopefully few prototypes,
64064 which can conflict with char $ac_func (); below.
64065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64066 <limits.h> exists even on freestanding compilers. */
64068 #ifdef __STDC__
64069 # include <limits.h>
64070 #else
64071 # include <assert.h>
64072 #endif
64074 #undef $ac_func
64076 /* Override any gcc2 internal prototype to avoid an error. */
64077 #ifdef __cplusplus
64078 extern "C"
64080 #endif
64081 /* We use char because int might match the return type of a gcc2
64082 builtin and then its argument prototype would still apply. */
64083 char $ac_func ();
64084 /* The GNU C library defines this for functions which it implements
64085 to always fail with ENOSYS. Some functions are actually named
64086 something starting with __ and the normal name is an alias. */
64087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64088 choke me
64089 #else
64090 char (*f) () = $ac_func;
64091 #endif
64092 #ifdef __cplusplus
64094 #endif
64097 main ()
64099 return f != $ac_func;
64101 return 0;
64103 _ACEOF
64104 rm -f conftest.$ac_objext conftest$ac_exeext
64105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64106 (eval $ac_link) 2>conftest.er1
64107 ac_status=$?
64108 grep -v '^ *+' conftest.er1 >conftest.err
64109 rm -f conftest.er1
64110 cat conftest.err >&5
64111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64112 (exit $ac_status); } &&
64113 { ac_try='test -z "$ac_c_werror_flag"
64114 || test ! -s conftest.err'
64115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64116 (eval $ac_try) 2>&5
64117 ac_status=$?
64118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64119 (exit $ac_status); }; } &&
64120 { ac_try='test -s conftest$ac_exeext'
64121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64122 (eval $ac_try) 2>&5
64123 ac_status=$?
64124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64125 (exit $ac_status); }; }; then
64126 eval "$as_ac_var=yes"
64127 else
64128 echo "$as_me: failed program was:" >&5
64129 sed 's/^/| /' conftest.$ac_ext >&5
64131 eval "$as_ac_var=no"
64133 rm -f conftest.err conftest.$ac_objext \
64134 conftest$ac_exeext conftest.$ac_ext
64136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64138 if test `eval echo '${'$as_ac_var'}'` = yes; then
64139 cat >>confdefs.h <<_ACEOF
64140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64141 _ACEOF
64144 done
64154 echo "$as_me:$LINENO: checking for long double trig functions" >&5
64155 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64156 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64157 echo $ECHO_N "(cached) $ECHO_C" >&6
64158 else
64162 ac_ext=cc
64163 ac_cpp='$CXXCPP $CPPFLAGS'
64164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64168 cat >conftest.$ac_ext <<_ACEOF
64169 /* confdefs.h. */
64170 _ACEOF
64171 cat confdefs.h >>conftest.$ac_ext
64172 cat >>conftest.$ac_ext <<_ACEOF
64173 /* end confdefs.h. */
64174 #include <math.h>
64176 main ()
64178 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64180 return 0;
64182 _ACEOF
64183 rm -f conftest.$ac_objext
64184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64185 (eval $ac_compile) 2>conftest.er1
64186 ac_status=$?
64187 grep -v '^ *+' conftest.er1 >conftest.err
64188 rm -f conftest.er1
64189 cat conftest.err >&5
64190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64191 (exit $ac_status); } &&
64192 { ac_try='test -z "$ac_cxx_werror_flag"
64193 || test ! -s conftest.err'
64194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64195 (eval $ac_try) 2>&5
64196 ac_status=$?
64197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64198 (exit $ac_status); }; } &&
64199 { ac_try='test -s conftest.$ac_objext'
64200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64201 (eval $ac_try) 2>&5
64202 ac_status=$?
64203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64204 (exit $ac_status); }; }; then
64205 glibcxx_cv_func_long_double_trig_use=yes
64206 else
64207 echo "$as_me: failed program was:" >&5
64208 sed 's/^/| /' conftest.$ac_ext >&5
64210 glibcxx_cv_func_long_double_trig_use=no
64212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64213 ac_ext=c
64214 ac_cpp='$CPP $CPPFLAGS'
64215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64222 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64223 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64233 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64236 echo "$as_me:$LINENO: checking for $ac_func" >&5
64237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64238 if eval "test \"\${$as_ac_var+set}\" = set"; then
64239 echo $ECHO_N "(cached) $ECHO_C" >&6
64240 else
64241 if test x$gcc_no_link = xyes; then
64242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64244 { (exit 1); exit 1; }; }
64246 cat >conftest.$ac_ext <<_ACEOF
64247 /* confdefs.h. */
64248 _ACEOF
64249 cat confdefs.h >>conftest.$ac_ext
64250 cat >>conftest.$ac_ext <<_ACEOF
64251 /* end confdefs.h. */
64252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64254 #define $ac_func innocuous_$ac_func
64256 /* System header to define __stub macros and hopefully few prototypes,
64257 which can conflict with char $ac_func (); below.
64258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64259 <limits.h> exists even on freestanding compilers. */
64261 #ifdef __STDC__
64262 # include <limits.h>
64263 #else
64264 # include <assert.h>
64265 #endif
64267 #undef $ac_func
64269 /* Override any gcc2 internal prototype to avoid an error. */
64270 #ifdef __cplusplus
64271 extern "C"
64273 #endif
64274 /* We use char because int might match the return type of a gcc2
64275 builtin and then its argument prototype would still apply. */
64276 char $ac_func ();
64277 /* The GNU C library defines this for functions which it implements
64278 to always fail with ENOSYS. Some functions are actually named
64279 something starting with __ and the normal name is an alias. */
64280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64281 choke me
64282 #else
64283 char (*f) () = $ac_func;
64284 #endif
64285 #ifdef __cplusplus
64287 #endif
64290 main ()
64292 return f != $ac_func;
64294 return 0;
64296 _ACEOF
64297 rm -f conftest.$ac_objext conftest$ac_exeext
64298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64299 (eval $ac_link) 2>conftest.er1
64300 ac_status=$?
64301 grep -v '^ *+' conftest.er1 >conftest.err
64302 rm -f conftest.er1
64303 cat conftest.err >&5
64304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64305 (exit $ac_status); } &&
64306 { ac_try='test -z "$ac_c_werror_flag"
64307 || test ! -s conftest.err'
64308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64309 (eval $ac_try) 2>&5
64310 ac_status=$?
64311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64312 (exit $ac_status); }; } &&
64313 { ac_try='test -s conftest$ac_exeext'
64314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64315 (eval $ac_try) 2>&5
64316 ac_status=$?
64317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64318 (exit $ac_status); }; }; then
64319 eval "$as_ac_var=yes"
64320 else
64321 echo "$as_me: failed program was:" >&5
64322 sed 's/^/| /' conftest.$ac_ext >&5
64324 eval "$as_ac_var=no"
64326 rm -f conftest.err conftest.$ac_objext \
64327 conftest$ac_exeext conftest.$ac_ext
64329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64331 if test `eval echo '${'$as_ac_var'}'` = yes; then
64332 cat >>confdefs.h <<_ACEOF
64333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64334 _ACEOF
64337 done
64339 else
64340 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
64341 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
64342 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
64343 echo $ECHO_N "(cached) $ECHO_C" >&6
64344 else
64348 ac_ext=cc
64349 ac_cpp='$CXXCPP $CPPFLAGS'
64350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64354 cat >conftest.$ac_ext <<_ACEOF
64355 /* confdefs.h. */
64356 _ACEOF
64357 cat confdefs.h >>conftest.$ac_ext
64358 cat >>conftest.$ac_ext <<_ACEOF
64359 /* end confdefs.h. */
64360 #include <math.h>
64362 main ()
64364 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64366 return 0;
64368 _ACEOF
64369 rm -f conftest.$ac_objext
64370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64371 (eval $ac_compile) 2>conftest.er1
64372 ac_status=$?
64373 grep -v '^ *+' conftest.er1 >conftest.err
64374 rm -f conftest.er1
64375 cat conftest.err >&5
64376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64377 (exit $ac_status); } &&
64378 { ac_try='test -z "$ac_cxx_werror_flag"
64379 || test ! -s conftest.err'
64380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64381 (eval $ac_try) 2>&5
64382 ac_status=$?
64383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64384 (exit $ac_status); }; } &&
64385 { ac_try='test -s conftest.$ac_objext'
64386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64387 (eval $ac_try) 2>&5
64388 ac_status=$?
64389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64390 (exit $ac_status); }; }; then
64391 glibcxx_cv_func__long_double_trig_use=yes
64392 else
64393 echo "$as_me: failed program was:" >&5
64394 sed 's/^/| /' conftest.$ac_ext >&5
64396 glibcxx_cv_func__long_double_trig_use=no
64398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64399 ac_ext=c
64400 ac_cpp='$CPP $CPPFLAGS'
64401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64407 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
64408 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
64409 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64419 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64422 echo "$as_me:$LINENO: checking for $ac_func" >&5
64423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64424 if eval "test \"\${$as_ac_var+set}\" = set"; then
64425 echo $ECHO_N "(cached) $ECHO_C" >&6
64426 else
64427 if test x$gcc_no_link = xyes; then
64428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64430 { (exit 1); exit 1; }; }
64432 cat >conftest.$ac_ext <<_ACEOF
64433 /* confdefs.h. */
64434 _ACEOF
64435 cat confdefs.h >>conftest.$ac_ext
64436 cat >>conftest.$ac_ext <<_ACEOF
64437 /* end confdefs.h. */
64438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64440 #define $ac_func innocuous_$ac_func
64442 /* System header to define __stub macros and hopefully few prototypes,
64443 which can conflict with char $ac_func (); below.
64444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64445 <limits.h> exists even on freestanding compilers. */
64447 #ifdef __STDC__
64448 # include <limits.h>
64449 #else
64450 # include <assert.h>
64451 #endif
64453 #undef $ac_func
64455 /* Override any gcc2 internal prototype to avoid an error. */
64456 #ifdef __cplusplus
64457 extern "C"
64459 #endif
64460 /* We use char because int might match the return type of a gcc2
64461 builtin and then its argument prototype would still apply. */
64462 char $ac_func ();
64463 /* The GNU C library defines this for functions which it implements
64464 to always fail with ENOSYS. Some functions are actually named
64465 something starting with __ and the normal name is an alias. */
64466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64467 choke me
64468 #else
64469 char (*f) () = $ac_func;
64470 #endif
64471 #ifdef __cplusplus
64473 #endif
64476 main ()
64478 return f != $ac_func;
64480 return 0;
64482 _ACEOF
64483 rm -f conftest.$ac_objext conftest$ac_exeext
64484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64485 (eval $ac_link) 2>conftest.er1
64486 ac_status=$?
64487 grep -v '^ *+' conftest.er1 >conftest.err
64488 rm -f conftest.er1
64489 cat conftest.err >&5
64490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64491 (exit $ac_status); } &&
64492 { ac_try='test -z "$ac_c_werror_flag"
64493 || test ! -s conftest.err'
64494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64495 (eval $ac_try) 2>&5
64496 ac_status=$?
64497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64498 (exit $ac_status); }; } &&
64499 { ac_try='test -s conftest$ac_exeext'
64500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64501 (eval $ac_try) 2>&5
64502 ac_status=$?
64503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64504 (exit $ac_status); }; }; then
64505 eval "$as_ac_var=yes"
64506 else
64507 echo "$as_me: failed program was:" >&5
64508 sed 's/^/| /' conftest.$ac_ext >&5
64510 eval "$as_ac_var=no"
64512 rm -f conftest.err conftest.$ac_objext \
64513 conftest$ac_exeext conftest.$ac_ext
64515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64517 if test `eval echo '${'$as_ac_var'}'` = yes; then
64518 cat >>confdefs.h <<_ACEOF
64519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64520 _ACEOF
64523 done
64541 echo "$as_me:$LINENO: checking for long double round functions" >&5
64542 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
64543 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
64544 echo $ECHO_N "(cached) $ECHO_C" >&6
64545 else
64549 ac_ext=cc
64550 ac_cpp='$CXXCPP $CPPFLAGS'
64551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64555 cat >conftest.$ac_ext <<_ACEOF
64556 /* confdefs.h. */
64557 _ACEOF
64558 cat confdefs.h >>conftest.$ac_ext
64559 cat >>conftest.$ac_ext <<_ACEOF
64560 /* end confdefs.h. */
64561 #include <math.h>
64563 main ()
64565 ceill (0); floorl (0);
64567 return 0;
64569 _ACEOF
64570 rm -f conftest.$ac_objext
64571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64572 (eval $ac_compile) 2>conftest.er1
64573 ac_status=$?
64574 grep -v '^ *+' conftest.er1 >conftest.err
64575 rm -f conftest.er1
64576 cat conftest.err >&5
64577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64578 (exit $ac_status); } &&
64579 { ac_try='test -z "$ac_cxx_werror_flag"
64580 || test ! -s conftest.err'
64581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64582 (eval $ac_try) 2>&5
64583 ac_status=$?
64584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64585 (exit $ac_status); }; } &&
64586 { ac_try='test -s conftest.$ac_objext'
64587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64588 (eval $ac_try) 2>&5
64589 ac_status=$?
64590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64591 (exit $ac_status); }; }; then
64592 glibcxx_cv_func_long_double_round_use=yes
64593 else
64594 echo "$as_me: failed program was:" >&5
64595 sed 's/^/| /' conftest.$ac_ext >&5
64597 glibcxx_cv_func_long_double_round_use=no
64599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64600 ac_ext=c
64601 ac_cpp='$CPP $CPPFLAGS'
64602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64608 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
64609 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
64610 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64613 for ac_func in ceill floorl
64615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64616 echo "$as_me:$LINENO: checking for $ac_func" >&5
64617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64618 if eval "test \"\${$as_ac_var+set}\" = set"; then
64619 echo $ECHO_N "(cached) $ECHO_C" >&6
64620 else
64621 if test x$gcc_no_link = xyes; then
64622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64624 { (exit 1); exit 1; }; }
64626 cat >conftest.$ac_ext <<_ACEOF
64627 /* confdefs.h. */
64628 _ACEOF
64629 cat confdefs.h >>conftest.$ac_ext
64630 cat >>conftest.$ac_ext <<_ACEOF
64631 /* end confdefs.h. */
64632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64634 #define $ac_func innocuous_$ac_func
64636 /* System header to define __stub macros and hopefully few prototypes,
64637 which can conflict with char $ac_func (); below.
64638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64639 <limits.h> exists even on freestanding compilers. */
64641 #ifdef __STDC__
64642 # include <limits.h>
64643 #else
64644 # include <assert.h>
64645 #endif
64647 #undef $ac_func
64649 /* Override any gcc2 internal prototype to avoid an error. */
64650 #ifdef __cplusplus
64651 extern "C"
64653 #endif
64654 /* We use char because int might match the return type of a gcc2
64655 builtin and then its argument prototype would still apply. */
64656 char $ac_func ();
64657 /* The GNU C library defines this for functions which it implements
64658 to always fail with ENOSYS. Some functions are actually named
64659 something starting with __ and the normal name is an alias. */
64660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64661 choke me
64662 #else
64663 char (*f) () = $ac_func;
64664 #endif
64665 #ifdef __cplusplus
64667 #endif
64670 main ()
64672 return f != $ac_func;
64674 return 0;
64676 _ACEOF
64677 rm -f conftest.$ac_objext conftest$ac_exeext
64678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64679 (eval $ac_link) 2>conftest.er1
64680 ac_status=$?
64681 grep -v '^ *+' conftest.er1 >conftest.err
64682 rm -f conftest.er1
64683 cat conftest.err >&5
64684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64685 (exit $ac_status); } &&
64686 { ac_try='test -z "$ac_c_werror_flag"
64687 || test ! -s conftest.err'
64688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64689 (eval $ac_try) 2>&5
64690 ac_status=$?
64691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64692 (exit $ac_status); }; } &&
64693 { ac_try='test -s conftest$ac_exeext'
64694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64695 (eval $ac_try) 2>&5
64696 ac_status=$?
64697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64698 (exit $ac_status); }; }; then
64699 eval "$as_ac_var=yes"
64700 else
64701 echo "$as_me: failed program was:" >&5
64702 sed 's/^/| /' conftest.$ac_ext >&5
64704 eval "$as_ac_var=no"
64706 rm -f conftest.err conftest.$ac_objext \
64707 conftest$ac_exeext conftest.$ac_ext
64709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64711 if test `eval echo '${'$as_ac_var'}'` = yes; then
64712 cat >>confdefs.h <<_ACEOF
64713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64714 _ACEOF
64717 done
64719 else
64720 echo "$as_me:$LINENO: checking for _long double round functions" >&5
64721 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
64722 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
64723 echo $ECHO_N "(cached) $ECHO_C" >&6
64724 else
64728 ac_ext=cc
64729 ac_cpp='$CXXCPP $CPPFLAGS'
64730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64734 cat >conftest.$ac_ext <<_ACEOF
64735 /* confdefs.h. */
64736 _ACEOF
64737 cat confdefs.h >>conftest.$ac_ext
64738 cat >>conftest.$ac_ext <<_ACEOF
64739 /* end confdefs.h. */
64740 #include <math.h>
64742 main ()
64744 _ceill (0); _floorl (0);
64746 return 0;
64748 _ACEOF
64749 rm -f conftest.$ac_objext
64750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64751 (eval $ac_compile) 2>conftest.er1
64752 ac_status=$?
64753 grep -v '^ *+' conftest.er1 >conftest.err
64754 rm -f conftest.er1
64755 cat conftest.err >&5
64756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64757 (exit $ac_status); } &&
64758 { ac_try='test -z "$ac_cxx_werror_flag"
64759 || test ! -s conftest.err'
64760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64761 (eval $ac_try) 2>&5
64762 ac_status=$?
64763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64764 (exit $ac_status); }; } &&
64765 { ac_try='test -s conftest.$ac_objext'
64766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64767 (eval $ac_try) 2>&5
64768 ac_status=$?
64769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64770 (exit $ac_status); }; }; then
64771 glibcxx_cv_func__long_double_round_use=yes
64772 else
64773 echo "$as_me: failed program was:" >&5
64774 sed 's/^/| /' conftest.$ac_ext >&5
64776 glibcxx_cv_func__long_double_round_use=no
64778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64779 ac_ext=c
64780 ac_cpp='$CPP $CPPFLAGS'
64781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64787 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
64788 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
64789 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64792 for ac_func in _ceill _floorl
64794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64795 echo "$as_me:$LINENO: checking for $ac_func" >&5
64796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64797 if eval "test \"\${$as_ac_var+set}\" = set"; then
64798 echo $ECHO_N "(cached) $ECHO_C" >&6
64799 else
64800 if test x$gcc_no_link = xyes; then
64801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64803 { (exit 1); exit 1; }; }
64805 cat >conftest.$ac_ext <<_ACEOF
64806 /* confdefs.h. */
64807 _ACEOF
64808 cat confdefs.h >>conftest.$ac_ext
64809 cat >>conftest.$ac_ext <<_ACEOF
64810 /* end confdefs.h. */
64811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64813 #define $ac_func innocuous_$ac_func
64815 /* System header to define __stub macros and hopefully few prototypes,
64816 which can conflict with char $ac_func (); below.
64817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64818 <limits.h> exists even on freestanding compilers. */
64820 #ifdef __STDC__
64821 # include <limits.h>
64822 #else
64823 # include <assert.h>
64824 #endif
64826 #undef $ac_func
64828 /* Override any gcc2 internal prototype to avoid an error. */
64829 #ifdef __cplusplus
64830 extern "C"
64832 #endif
64833 /* We use char because int might match the return type of a gcc2
64834 builtin and then its argument prototype would still apply. */
64835 char $ac_func ();
64836 /* The GNU C library defines this for functions which it implements
64837 to always fail with ENOSYS. Some functions are actually named
64838 something starting with __ and the normal name is an alias. */
64839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64840 choke me
64841 #else
64842 char (*f) () = $ac_func;
64843 #endif
64844 #ifdef __cplusplus
64846 #endif
64849 main ()
64851 return f != $ac_func;
64853 return 0;
64855 _ACEOF
64856 rm -f conftest.$ac_objext conftest$ac_exeext
64857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64858 (eval $ac_link) 2>conftest.er1
64859 ac_status=$?
64860 grep -v '^ *+' conftest.er1 >conftest.err
64861 rm -f conftest.er1
64862 cat conftest.err >&5
64863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64864 (exit $ac_status); } &&
64865 { ac_try='test -z "$ac_c_werror_flag"
64866 || test ! -s conftest.err'
64867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64868 (eval $ac_try) 2>&5
64869 ac_status=$?
64870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64871 (exit $ac_status); }; } &&
64872 { ac_try='test -s conftest$ac_exeext'
64873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64874 (eval $ac_try) 2>&5
64875 ac_status=$?
64876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64877 (exit $ac_status); }; }; then
64878 eval "$as_ac_var=yes"
64879 else
64880 echo "$as_me: failed program was:" >&5
64881 sed 's/^/| /' conftest.$ac_ext >&5
64883 eval "$as_ac_var=no"
64885 rm -f conftest.err conftest.$ac_objext \
64886 conftest$ac_exeext conftest.$ac_ext
64888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64890 if test `eval echo '${'$as_ac_var'}'` = yes; then
64891 cat >>confdefs.h <<_ACEOF
64892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64893 _ACEOF
64896 done
64908 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
64909 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
64910 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64911 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
64912 echo $ECHO_N "(cached) $ECHO_C" >&6
64913 else
64917 ac_ext=cc
64918 ac_cpp='$CXXCPP $CPPFLAGS'
64919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64923 cat >conftest.$ac_ext <<_ACEOF
64924 /* confdefs.h. */
64925 _ACEOF
64926 cat confdefs.h >>conftest.$ac_ext
64927 cat >>conftest.$ac_ext <<_ACEOF
64928 /* end confdefs.h. */
64929 #include <math.h>
64930 #ifdef HAVE_IEEEFP_H
64931 #include <ieeefp.h>
64932 #endif
64935 main ()
64937 isnanl(0);
64939 return 0;
64941 _ACEOF
64942 rm -f conftest.$ac_objext
64943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64944 (eval $ac_compile) 2>conftest.er1
64945 ac_status=$?
64946 grep -v '^ *+' conftest.er1 >conftest.err
64947 rm -f conftest.er1
64948 cat conftest.err >&5
64949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64950 (exit $ac_status); } &&
64951 { ac_try='test -z "$ac_cxx_werror_flag"
64952 || test ! -s conftest.err'
64953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64954 (eval $ac_try) 2>&5
64955 ac_status=$?
64956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64957 (exit $ac_status); }; } &&
64958 { ac_try='test -s conftest.$ac_objext'
64959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64960 (eval $ac_try) 2>&5
64961 ac_status=$?
64962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64963 (exit $ac_status); }; }; then
64964 glibcxx_cv_func_isnanl_use=yes
64965 else
64966 echo "$as_me: failed program was:" >&5
64967 sed 's/^/| /' conftest.$ac_ext >&5
64969 glibcxx_cv_func_isnanl_use=no
64971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64972 ac_ext=c
64973 ac_cpp='$CPP $CPPFLAGS'
64974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64982 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
64983 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
64985 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64987 for ac_func in isnanl
64989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64990 echo "$as_me:$LINENO: checking for $ac_func" >&5
64991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64992 if eval "test \"\${$as_ac_var+set}\" = set"; then
64993 echo $ECHO_N "(cached) $ECHO_C" >&6
64994 else
64995 if test x$gcc_no_link = xyes; then
64996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64998 { (exit 1); exit 1; }; }
65000 cat >conftest.$ac_ext <<_ACEOF
65001 /* confdefs.h. */
65002 _ACEOF
65003 cat confdefs.h >>conftest.$ac_ext
65004 cat >>conftest.$ac_ext <<_ACEOF
65005 /* end confdefs.h. */
65006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65008 #define $ac_func innocuous_$ac_func
65010 /* System header to define __stub macros and hopefully few prototypes,
65011 which can conflict with char $ac_func (); below.
65012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65013 <limits.h> exists even on freestanding compilers. */
65015 #ifdef __STDC__
65016 # include <limits.h>
65017 #else
65018 # include <assert.h>
65019 #endif
65021 #undef $ac_func
65023 /* Override any gcc2 internal prototype to avoid an error. */
65024 #ifdef __cplusplus
65025 extern "C"
65027 #endif
65028 /* We use char because int might match the return type of a gcc2
65029 builtin and then its argument prototype would still apply. */
65030 char $ac_func ();
65031 /* The GNU C library defines this for functions which it implements
65032 to always fail with ENOSYS. Some functions are actually named
65033 something starting with __ and the normal name is an alias. */
65034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65035 choke me
65036 #else
65037 char (*f) () = $ac_func;
65038 #endif
65039 #ifdef __cplusplus
65041 #endif
65044 main ()
65046 return f != $ac_func;
65048 return 0;
65050 _ACEOF
65051 rm -f conftest.$ac_objext conftest$ac_exeext
65052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65053 (eval $ac_link) 2>conftest.er1
65054 ac_status=$?
65055 grep -v '^ *+' conftest.er1 >conftest.err
65056 rm -f conftest.er1
65057 cat conftest.err >&5
65058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65059 (exit $ac_status); } &&
65060 { ac_try='test -z "$ac_c_werror_flag"
65061 || test ! -s conftest.err'
65062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65063 (eval $ac_try) 2>&5
65064 ac_status=$?
65065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65066 (exit $ac_status); }; } &&
65067 { ac_try='test -s conftest$ac_exeext'
65068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65069 (eval $ac_try) 2>&5
65070 ac_status=$?
65071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65072 (exit $ac_status); }; }; then
65073 eval "$as_ac_var=yes"
65074 else
65075 echo "$as_me: failed program was:" >&5
65076 sed 's/^/| /' conftest.$ac_ext >&5
65078 eval "$as_ac_var=no"
65080 rm -f conftest.err conftest.$ac_objext \
65081 conftest$ac_exeext conftest.$ac_ext
65083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65085 if test `eval echo '${'$as_ac_var'}'` = yes; then
65086 cat >>confdefs.h <<_ACEOF
65087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65088 _ACEOF
65091 done
65093 else
65095 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65096 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65097 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65098 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65099 echo $ECHO_N "(cached) $ECHO_C" >&6
65100 else
65104 ac_ext=cc
65105 ac_cpp='$CXXCPP $CPPFLAGS'
65106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65110 cat >conftest.$ac_ext <<_ACEOF
65111 /* confdefs.h. */
65112 _ACEOF
65113 cat confdefs.h >>conftest.$ac_ext
65114 cat >>conftest.$ac_ext <<_ACEOF
65115 /* end confdefs.h. */
65116 #include <math.h>
65117 #ifdef HAVE_IEEEFP_H
65118 #include <ieeefp.h>
65119 #endif
65122 main ()
65124 _isnanl(0);
65126 return 0;
65128 _ACEOF
65129 rm -f conftest.$ac_objext
65130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65131 (eval $ac_compile) 2>conftest.er1
65132 ac_status=$?
65133 grep -v '^ *+' conftest.er1 >conftest.err
65134 rm -f conftest.er1
65135 cat conftest.err >&5
65136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65137 (exit $ac_status); } &&
65138 { ac_try='test -z "$ac_cxx_werror_flag"
65139 || test ! -s conftest.err'
65140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65141 (eval $ac_try) 2>&5
65142 ac_status=$?
65143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65144 (exit $ac_status); }; } &&
65145 { ac_try='test -s conftest.$ac_objext'
65146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65147 (eval $ac_try) 2>&5
65148 ac_status=$?
65149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65150 (exit $ac_status); }; }; then
65151 glibcxx_cv_func__isnanl_use=yes
65152 else
65153 echo "$as_me: failed program was:" >&5
65154 sed 's/^/| /' conftest.$ac_ext >&5
65156 glibcxx_cv_func__isnanl_use=no
65158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65159 ac_ext=c
65160 ac_cpp='$CPP $CPPFLAGS'
65161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65169 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65170 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65172 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65174 for ac_func in _isnanl
65176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65177 echo "$as_me:$LINENO: checking for $ac_func" >&5
65178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65179 if eval "test \"\${$as_ac_var+set}\" = set"; then
65180 echo $ECHO_N "(cached) $ECHO_C" >&6
65181 else
65182 if test x$gcc_no_link = xyes; then
65183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65185 { (exit 1); exit 1; }; }
65187 cat >conftest.$ac_ext <<_ACEOF
65188 /* confdefs.h. */
65189 _ACEOF
65190 cat confdefs.h >>conftest.$ac_ext
65191 cat >>conftest.$ac_ext <<_ACEOF
65192 /* end confdefs.h. */
65193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65195 #define $ac_func innocuous_$ac_func
65197 /* System header to define __stub macros and hopefully few prototypes,
65198 which can conflict with char $ac_func (); below.
65199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65200 <limits.h> exists even on freestanding compilers. */
65202 #ifdef __STDC__
65203 # include <limits.h>
65204 #else
65205 # include <assert.h>
65206 #endif
65208 #undef $ac_func
65210 /* Override any gcc2 internal prototype to avoid an error. */
65211 #ifdef __cplusplus
65212 extern "C"
65214 #endif
65215 /* We use char because int might match the return type of a gcc2
65216 builtin and then its argument prototype would still apply. */
65217 char $ac_func ();
65218 /* The GNU C library defines this for functions which it implements
65219 to always fail with ENOSYS. Some functions are actually named
65220 something starting with __ and the normal name is an alias. */
65221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65222 choke me
65223 #else
65224 char (*f) () = $ac_func;
65225 #endif
65226 #ifdef __cplusplus
65228 #endif
65231 main ()
65233 return f != $ac_func;
65235 return 0;
65237 _ACEOF
65238 rm -f conftest.$ac_objext conftest$ac_exeext
65239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65240 (eval $ac_link) 2>conftest.er1
65241 ac_status=$?
65242 grep -v '^ *+' conftest.er1 >conftest.err
65243 rm -f conftest.er1
65244 cat conftest.err >&5
65245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65246 (exit $ac_status); } &&
65247 { ac_try='test -z "$ac_c_werror_flag"
65248 || test ! -s conftest.err'
65249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65250 (eval $ac_try) 2>&5
65251 ac_status=$?
65252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65253 (exit $ac_status); }; } &&
65254 { ac_try='test -s conftest$ac_exeext'
65255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65256 (eval $ac_try) 2>&5
65257 ac_status=$?
65258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65259 (exit $ac_status); }; }; then
65260 eval "$as_ac_var=yes"
65261 else
65262 echo "$as_me: failed program was:" >&5
65263 sed 's/^/| /' conftest.$ac_ext >&5
65265 eval "$as_ac_var=no"
65267 rm -f conftest.err conftest.$ac_objext \
65268 conftest$ac_exeext conftest.$ac_ext
65270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65272 if test `eval echo '${'$as_ac_var'}'` = yes; then
65273 cat >>confdefs.h <<_ACEOF
65274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65275 _ACEOF
65278 done
65288 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65289 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65290 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65291 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65292 echo $ECHO_N "(cached) $ECHO_C" >&6
65293 else
65297 ac_ext=cc
65298 ac_cpp='$CXXCPP $CPPFLAGS'
65299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65303 cat >conftest.$ac_ext <<_ACEOF
65304 /* confdefs.h. */
65305 _ACEOF
65306 cat confdefs.h >>conftest.$ac_ext
65307 cat >>conftest.$ac_ext <<_ACEOF
65308 /* end confdefs.h. */
65309 #include <math.h>
65310 #ifdef HAVE_IEEEFP_H
65311 #include <ieeefp.h>
65312 #endif
65315 main ()
65317 isinfl(0);
65319 return 0;
65321 _ACEOF
65322 rm -f conftest.$ac_objext
65323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65324 (eval $ac_compile) 2>conftest.er1
65325 ac_status=$?
65326 grep -v '^ *+' conftest.er1 >conftest.err
65327 rm -f conftest.er1
65328 cat conftest.err >&5
65329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65330 (exit $ac_status); } &&
65331 { ac_try='test -z "$ac_cxx_werror_flag"
65332 || test ! -s conftest.err'
65333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65334 (eval $ac_try) 2>&5
65335 ac_status=$?
65336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65337 (exit $ac_status); }; } &&
65338 { ac_try='test -s conftest.$ac_objext'
65339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65340 (eval $ac_try) 2>&5
65341 ac_status=$?
65342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65343 (exit $ac_status); }; }; then
65344 glibcxx_cv_func_isinfl_use=yes
65345 else
65346 echo "$as_me: failed program was:" >&5
65347 sed 's/^/| /' conftest.$ac_ext >&5
65349 glibcxx_cv_func_isinfl_use=no
65351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65352 ac_ext=c
65353 ac_cpp='$CPP $CPPFLAGS'
65354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65363 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65365 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65367 for ac_func in isinfl
65369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65370 echo "$as_me:$LINENO: checking for $ac_func" >&5
65371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65372 if eval "test \"\${$as_ac_var+set}\" = set"; then
65373 echo $ECHO_N "(cached) $ECHO_C" >&6
65374 else
65375 if test x$gcc_no_link = xyes; then
65376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65378 { (exit 1); exit 1; }; }
65380 cat >conftest.$ac_ext <<_ACEOF
65381 /* confdefs.h. */
65382 _ACEOF
65383 cat confdefs.h >>conftest.$ac_ext
65384 cat >>conftest.$ac_ext <<_ACEOF
65385 /* end confdefs.h. */
65386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65388 #define $ac_func innocuous_$ac_func
65390 /* System header to define __stub macros and hopefully few prototypes,
65391 which can conflict with char $ac_func (); below.
65392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65393 <limits.h> exists even on freestanding compilers. */
65395 #ifdef __STDC__
65396 # include <limits.h>
65397 #else
65398 # include <assert.h>
65399 #endif
65401 #undef $ac_func
65403 /* Override any gcc2 internal prototype to avoid an error. */
65404 #ifdef __cplusplus
65405 extern "C"
65407 #endif
65408 /* We use char because int might match the return type of a gcc2
65409 builtin and then its argument prototype would still apply. */
65410 char $ac_func ();
65411 /* The GNU C library defines this for functions which it implements
65412 to always fail with ENOSYS. Some functions are actually named
65413 something starting with __ and the normal name is an alias. */
65414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65415 choke me
65416 #else
65417 char (*f) () = $ac_func;
65418 #endif
65419 #ifdef __cplusplus
65421 #endif
65424 main ()
65426 return f != $ac_func;
65428 return 0;
65430 _ACEOF
65431 rm -f conftest.$ac_objext conftest$ac_exeext
65432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65433 (eval $ac_link) 2>conftest.er1
65434 ac_status=$?
65435 grep -v '^ *+' conftest.er1 >conftest.err
65436 rm -f conftest.er1
65437 cat conftest.err >&5
65438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65439 (exit $ac_status); } &&
65440 { ac_try='test -z "$ac_c_werror_flag"
65441 || test ! -s conftest.err'
65442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65443 (eval $ac_try) 2>&5
65444 ac_status=$?
65445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65446 (exit $ac_status); }; } &&
65447 { ac_try='test -s conftest$ac_exeext'
65448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65449 (eval $ac_try) 2>&5
65450 ac_status=$?
65451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65452 (exit $ac_status); }; }; then
65453 eval "$as_ac_var=yes"
65454 else
65455 echo "$as_me: failed program was:" >&5
65456 sed 's/^/| /' conftest.$ac_ext >&5
65458 eval "$as_ac_var=no"
65460 rm -f conftest.err conftest.$ac_objext \
65461 conftest$ac_exeext conftest.$ac_ext
65463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65465 if test `eval echo '${'$as_ac_var'}'` = yes; then
65466 cat >>confdefs.h <<_ACEOF
65467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65468 _ACEOF
65471 done
65473 else
65475 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65476 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65477 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65478 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65479 echo $ECHO_N "(cached) $ECHO_C" >&6
65480 else
65484 ac_ext=cc
65485 ac_cpp='$CXXCPP $CPPFLAGS'
65486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65490 cat >conftest.$ac_ext <<_ACEOF
65491 /* confdefs.h. */
65492 _ACEOF
65493 cat confdefs.h >>conftest.$ac_ext
65494 cat >>conftest.$ac_ext <<_ACEOF
65495 /* end confdefs.h. */
65496 #include <math.h>
65497 #ifdef HAVE_IEEEFP_H
65498 #include <ieeefp.h>
65499 #endif
65502 main ()
65504 _isinfl(0);
65506 return 0;
65508 _ACEOF
65509 rm -f conftest.$ac_objext
65510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65511 (eval $ac_compile) 2>conftest.er1
65512 ac_status=$?
65513 grep -v '^ *+' conftest.er1 >conftest.err
65514 rm -f conftest.er1
65515 cat conftest.err >&5
65516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65517 (exit $ac_status); } &&
65518 { ac_try='test -z "$ac_cxx_werror_flag"
65519 || test ! -s conftest.err'
65520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65521 (eval $ac_try) 2>&5
65522 ac_status=$?
65523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65524 (exit $ac_status); }; } &&
65525 { ac_try='test -s conftest.$ac_objext'
65526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65527 (eval $ac_try) 2>&5
65528 ac_status=$?
65529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65530 (exit $ac_status); }; }; then
65531 glibcxx_cv_func__isinfl_use=yes
65532 else
65533 echo "$as_me: failed program was:" >&5
65534 sed 's/^/| /' conftest.$ac_ext >&5
65536 glibcxx_cv_func__isinfl_use=no
65538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65539 ac_ext=c
65540 ac_cpp='$CPP $CPPFLAGS'
65541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65549 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
65550 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
65552 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65554 for ac_func in _isinfl
65556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65557 echo "$as_me:$LINENO: checking for $ac_func" >&5
65558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65559 if eval "test \"\${$as_ac_var+set}\" = set"; then
65560 echo $ECHO_N "(cached) $ECHO_C" >&6
65561 else
65562 if test x$gcc_no_link = xyes; then
65563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65565 { (exit 1); exit 1; }; }
65567 cat >conftest.$ac_ext <<_ACEOF
65568 /* confdefs.h. */
65569 _ACEOF
65570 cat confdefs.h >>conftest.$ac_ext
65571 cat >>conftest.$ac_ext <<_ACEOF
65572 /* end confdefs.h. */
65573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65575 #define $ac_func innocuous_$ac_func
65577 /* System header to define __stub macros and hopefully few prototypes,
65578 which can conflict with char $ac_func (); below.
65579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65580 <limits.h> exists even on freestanding compilers. */
65582 #ifdef __STDC__
65583 # include <limits.h>
65584 #else
65585 # include <assert.h>
65586 #endif
65588 #undef $ac_func
65590 /* Override any gcc2 internal prototype to avoid an error. */
65591 #ifdef __cplusplus
65592 extern "C"
65594 #endif
65595 /* We use char because int might match the return type of a gcc2
65596 builtin and then its argument prototype would still apply. */
65597 char $ac_func ();
65598 /* The GNU C library defines this for functions which it implements
65599 to always fail with ENOSYS. Some functions are actually named
65600 something starting with __ and the normal name is an alias. */
65601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65602 choke me
65603 #else
65604 char (*f) () = $ac_func;
65605 #endif
65606 #ifdef __cplusplus
65608 #endif
65611 main ()
65613 return f != $ac_func;
65615 return 0;
65617 _ACEOF
65618 rm -f conftest.$ac_objext conftest$ac_exeext
65619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65620 (eval $ac_link) 2>conftest.er1
65621 ac_status=$?
65622 grep -v '^ *+' conftest.er1 >conftest.err
65623 rm -f conftest.er1
65624 cat conftest.err >&5
65625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65626 (exit $ac_status); } &&
65627 { ac_try='test -z "$ac_c_werror_flag"
65628 || test ! -s conftest.err'
65629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65630 (eval $ac_try) 2>&5
65631 ac_status=$?
65632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65633 (exit $ac_status); }; } &&
65634 { ac_try='test -s conftest$ac_exeext'
65635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65636 (eval $ac_try) 2>&5
65637 ac_status=$?
65638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65639 (exit $ac_status); }; }; then
65640 eval "$as_ac_var=yes"
65641 else
65642 echo "$as_me: failed program was:" >&5
65643 sed 's/^/| /' conftest.$ac_ext >&5
65645 eval "$as_ac_var=no"
65647 rm -f conftest.err conftest.$ac_objext \
65648 conftest$ac_exeext conftest.$ac_ext
65650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65652 if test `eval echo '${'$as_ac_var'}'` = yes; then
65653 cat >>confdefs.h <<_ACEOF
65654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65655 _ACEOF
65658 done
65668 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
65669 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
65670 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
65671 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
65672 echo $ECHO_N "(cached) $ECHO_C" >&6
65673 else
65677 ac_ext=cc
65678 ac_cpp='$CXXCPP $CPPFLAGS'
65679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65683 cat >conftest.$ac_ext <<_ACEOF
65684 /* confdefs.h. */
65685 _ACEOF
65686 cat confdefs.h >>conftest.$ac_ext
65687 cat >>conftest.$ac_ext <<_ACEOF
65688 /* end confdefs.h. */
65689 #include <math.h>
65691 main ()
65693 copysignl(0, 0);
65695 return 0;
65697 _ACEOF
65698 rm -f conftest.$ac_objext
65699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65700 (eval $ac_compile) 2>conftest.er1
65701 ac_status=$?
65702 grep -v '^ *+' conftest.er1 >conftest.err
65703 rm -f conftest.er1
65704 cat conftest.err >&5
65705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65706 (exit $ac_status); } &&
65707 { ac_try='test -z "$ac_cxx_werror_flag"
65708 || test ! -s conftest.err'
65709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65710 (eval $ac_try) 2>&5
65711 ac_status=$?
65712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65713 (exit $ac_status); }; } &&
65714 { ac_try='test -s conftest.$ac_objext'
65715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65716 (eval $ac_try) 2>&5
65717 ac_status=$?
65718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65719 (exit $ac_status); }; }; then
65720 glibcxx_cv_func_copysignl_use=yes
65721 else
65722 echo "$as_me: failed program was:" >&5
65723 sed 's/^/| /' conftest.$ac_ext >&5
65725 glibcxx_cv_func_copysignl_use=no
65727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65728 ac_ext=c
65729 ac_cpp='$CPP $CPPFLAGS'
65730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65738 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
65739 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
65741 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
65743 for ac_func in copysignl
65745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65746 echo "$as_me:$LINENO: checking for $ac_func" >&5
65747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65748 if eval "test \"\${$as_ac_var+set}\" = set"; then
65749 echo $ECHO_N "(cached) $ECHO_C" >&6
65750 else
65751 if test x$gcc_no_link = xyes; then
65752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65754 { (exit 1); exit 1; }; }
65756 cat >conftest.$ac_ext <<_ACEOF
65757 /* confdefs.h. */
65758 _ACEOF
65759 cat confdefs.h >>conftest.$ac_ext
65760 cat >>conftest.$ac_ext <<_ACEOF
65761 /* end confdefs.h. */
65762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65764 #define $ac_func innocuous_$ac_func
65766 /* System header to define __stub macros and hopefully few prototypes,
65767 which can conflict with char $ac_func (); below.
65768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65769 <limits.h> exists even on freestanding compilers. */
65771 #ifdef __STDC__
65772 # include <limits.h>
65773 #else
65774 # include <assert.h>
65775 #endif
65777 #undef $ac_func
65779 /* Override any gcc2 internal prototype to avoid an error. */
65780 #ifdef __cplusplus
65781 extern "C"
65783 #endif
65784 /* We use char because int might match the return type of a gcc2
65785 builtin and then its argument prototype would still apply. */
65786 char $ac_func ();
65787 /* The GNU C library defines this for functions which it implements
65788 to always fail with ENOSYS. Some functions are actually named
65789 something starting with __ and the normal name is an alias. */
65790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65791 choke me
65792 #else
65793 char (*f) () = $ac_func;
65794 #endif
65795 #ifdef __cplusplus
65797 #endif
65800 main ()
65802 return f != $ac_func;
65804 return 0;
65806 _ACEOF
65807 rm -f conftest.$ac_objext conftest$ac_exeext
65808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65809 (eval $ac_link) 2>conftest.er1
65810 ac_status=$?
65811 grep -v '^ *+' conftest.er1 >conftest.err
65812 rm -f conftest.er1
65813 cat conftest.err >&5
65814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65815 (exit $ac_status); } &&
65816 { ac_try='test -z "$ac_c_werror_flag"
65817 || test ! -s conftest.err'
65818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65819 (eval $ac_try) 2>&5
65820 ac_status=$?
65821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65822 (exit $ac_status); }; } &&
65823 { ac_try='test -s conftest$ac_exeext'
65824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65825 (eval $ac_try) 2>&5
65826 ac_status=$?
65827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65828 (exit $ac_status); }; }; then
65829 eval "$as_ac_var=yes"
65830 else
65831 echo "$as_me: failed program was:" >&5
65832 sed 's/^/| /' conftest.$ac_ext >&5
65834 eval "$as_ac_var=no"
65836 rm -f conftest.err conftest.$ac_objext \
65837 conftest$ac_exeext conftest.$ac_ext
65839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65841 if test `eval echo '${'$as_ac_var'}'` = yes; then
65842 cat >>confdefs.h <<_ACEOF
65843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65844 _ACEOF
65847 done
65849 else
65851 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
65852 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
65853 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
65854 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
65855 echo $ECHO_N "(cached) $ECHO_C" >&6
65856 else
65860 ac_ext=cc
65861 ac_cpp='$CXXCPP $CPPFLAGS'
65862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65866 cat >conftest.$ac_ext <<_ACEOF
65867 /* confdefs.h. */
65868 _ACEOF
65869 cat confdefs.h >>conftest.$ac_ext
65870 cat >>conftest.$ac_ext <<_ACEOF
65871 /* end confdefs.h. */
65872 #include <math.h>
65874 main ()
65876 _copysignl(0, 0);
65878 return 0;
65880 _ACEOF
65881 rm -f conftest.$ac_objext
65882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65883 (eval $ac_compile) 2>conftest.er1
65884 ac_status=$?
65885 grep -v '^ *+' conftest.er1 >conftest.err
65886 rm -f conftest.er1
65887 cat conftest.err >&5
65888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65889 (exit $ac_status); } &&
65890 { ac_try='test -z "$ac_cxx_werror_flag"
65891 || test ! -s conftest.err'
65892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65893 (eval $ac_try) 2>&5
65894 ac_status=$?
65895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65896 (exit $ac_status); }; } &&
65897 { ac_try='test -s conftest.$ac_objext'
65898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65899 (eval $ac_try) 2>&5
65900 ac_status=$?
65901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65902 (exit $ac_status); }; }; then
65903 glibcxx_cv_func__copysignl_use=yes
65904 else
65905 echo "$as_me: failed program was:" >&5
65906 sed 's/^/| /' conftest.$ac_ext >&5
65908 glibcxx_cv_func__copysignl_use=no
65910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65911 ac_ext=c
65912 ac_cpp='$CPP $CPPFLAGS'
65913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65921 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
65922 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
65924 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
65926 for ac_func in _copysignl
65928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65929 echo "$as_me:$LINENO: checking for $ac_func" >&5
65930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65931 if eval "test \"\${$as_ac_var+set}\" = set"; then
65932 echo $ECHO_N "(cached) $ECHO_C" >&6
65933 else
65934 if test x$gcc_no_link = xyes; then
65935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65937 { (exit 1); exit 1; }; }
65939 cat >conftest.$ac_ext <<_ACEOF
65940 /* confdefs.h. */
65941 _ACEOF
65942 cat confdefs.h >>conftest.$ac_ext
65943 cat >>conftest.$ac_ext <<_ACEOF
65944 /* end confdefs.h. */
65945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65947 #define $ac_func innocuous_$ac_func
65949 /* System header to define __stub macros and hopefully few prototypes,
65950 which can conflict with char $ac_func (); below.
65951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65952 <limits.h> exists even on freestanding compilers. */
65954 #ifdef __STDC__
65955 # include <limits.h>
65956 #else
65957 # include <assert.h>
65958 #endif
65960 #undef $ac_func
65962 /* Override any gcc2 internal prototype to avoid an error. */
65963 #ifdef __cplusplus
65964 extern "C"
65966 #endif
65967 /* We use char because int might match the return type of a gcc2
65968 builtin and then its argument prototype would still apply. */
65969 char $ac_func ();
65970 /* The GNU C library defines this for functions which it implements
65971 to always fail with ENOSYS. Some functions are actually named
65972 something starting with __ and the normal name is an alias. */
65973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65974 choke me
65975 #else
65976 char (*f) () = $ac_func;
65977 #endif
65978 #ifdef __cplusplus
65980 #endif
65983 main ()
65985 return f != $ac_func;
65987 return 0;
65989 _ACEOF
65990 rm -f conftest.$ac_objext conftest$ac_exeext
65991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65992 (eval $ac_link) 2>conftest.er1
65993 ac_status=$?
65994 grep -v '^ *+' conftest.er1 >conftest.err
65995 rm -f conftest.er1
65996 cat conftest.err >&5
65997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65998 (exit $ac_status); } &&
65999 { ac_try='test -z "$ac_c_werror_flag"
66000 || test ! -s conftest.err'
66001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66002 (eval $ac_try) 2>&5
66003 ac_status=$?
66004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66005 (exit $ac_status); }; } &&
66006 { ac_try='test -s conftest$ac_exeext'
66007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66008 (eval $ac_try) 2>&5
66009 ac_status=$?
66010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66011 (exit $ac_status); }; }; then
66012 eval "$as_ac_var=yes"
66013 else
66014 echo "$as_me: failed program was:" >&5
66015 sed 's/^/| /' conftest.$ac_ext >&5
66017 eval "$as_ac_var=no"
66019 rm -f conftest.err conftest.$ac_objext \
66020 conftest$ac_exeext conftest.$ac_ext
66022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66024 if test `eval echo '${'$as_ac_var'}'` = yes; then
66025 cat >>confdefs.h <<_ACEOF
66026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66027 _ACEOF
66030 done
66040 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66041 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66042 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66043 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66044 echo $ECHO_N "(cached) $ECHO_C" >&6
66045 else
66049 ac_ext=cc
66050 ac_cpp='$CXXCPP $CPPFLAGS'
66051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66055 cat >conftest.$ac_ext <<_ACEOF
66056 /* confdefs.h. */
66057 _ACEOF
66058 cat confdefs.h >>conftest.$ac_ext
66059 cat >>conftest.$ac_ext <<_ACEOF
66060 /* end confdefs.h. */
66061 #include <math.h>
66063 main ()
66065 atan2l(0, 0);
66067 return 0;
66069 _ACEOF
66070 rm -f conftest.$ac_objext
66071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66072 (eval $ac_compile) 2>conftest.er1
66073 ac_status=$?
66074 grep -v '^ *+' conftest.er1 >conftest.err
66075 rm -f conftest.er1
66076 cat conftest.err >&5
66077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66078 (exit $ac_status); } &&
66079 { ac_try='test -z "$ac_cxx_werror_flag"
66080 || test ! -s conftest.err'
66081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66082 (eval $ac_try) 2>&5
66083 ac_status=$?
66084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66085 (exit $ac_status); }; } &&
66086 { ac_try='test -s conftest.$ac_objext'
66087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66088 (eval $ac_try) 2>&5
66089 ac_status=$?
66090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66091 (exit $ac_status); }; }; then
66092 glibcxx_cv_func_atan2l_use=yes
66093 else
66094 echo "$as_me: failed program was:" >&5
66095 sed 's/^/| /' conftest.$ac_ext >&5
66097 glibcxx_cv_func_atan2l_use=no
66099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66100 ac_ext=c
66101 ac_cpp='$CPP $CPPFLAGS'
66102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66110 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66111 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66113 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66115 for ac_func in atan2l
66117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66118 echo "$as_me:$LINENO: checking for $ac_func" >&5
66119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66120 if eval "test \"\${$as_ac_var+set}\" = set"; then
66121 echo $ECHO_N "(cached) $ECHO_C" >&6
66122 else
66123 if test x$gcc_no_link = xyes; then
66124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66126 { (exit 1); exit 1; }; }
66128 cat >conftest.$ac_ext <<_ACEOF
66129 /* confdefs.h. */
66130 _ACEOF
66131 cat confdefs.h >>conftest.$ac_ext
66132 cat >>conftest.$ac_ext <<_ACEOF
66133 /* end confdefs.h. */
66134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66136 #define $ac_func innocuous_$ac_func
66138 /* System header to define __stub macros and hopefully few prototypes,
66139 which can conflict with char $ac_func (); below.
66140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66141 <limits.h> exists even on freestanding compilers. */
66143 #ifdef __STDC__
66144 # include <limits.h>
66145 #else
66146 # include <assert.h>
66147 #endif
66149 #undef $ac_func
66151 /* Override any gcc2 internal prototype to avoid an error. */
66152 #ifdef __cplusplus
66153 extern "C"
66155 #endif
66156 /* We use char because int might match the return type of a gcc2
66157 builtin and then its argument prototype would still apply. */
66158 char $ac_func ();
66159 /* The GNU C library defines this for functions which it implements
66160 to always fail with ENOSYS. Some functions are actually named
66161 something starting with __ and the normal name is an alias. */
66162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66163 choke me
66164 #else
66165 char (*f) () = $ac_func;
66166 #endif
66167 #ifdef __cplusplus
66169 #endif
66172 main ()
66174 return f != $ac_func;
66176 return 0;
66178 _ACEOF
66179 rm -f conftest.$ac_objext conftest$ac_exeext
66180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66181 (eval $ac_link) 2>conftest.er1
66182 ac_status=$?
66183 grep -v '^ *+' conftest.er1 >conftest.err
66184 rm -f conftest.er1
66185 cat conftest.err >&5
66186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66187 (exit $ac_status); } &&
66188 { ac_try='test -z "$ac_c_werror_flag"
66189 || test ! -s conftest.err'
66190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66191 (eval $ac_try) 2>&5
66192 ac_status=$?
66193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66194 (exit $ac_status); }; } &&
66195 { ac_try='test -s conftest$ac_exeext'
66196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66197 (eval $ac_try) 2>&5
66198 ac_status=$?
66199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66200 (exit $ac_status); }; }; then
66201 eval "$as_ac_var=yes"
66202 else
66203 echo "$as_me: failed program was:" >&5
66204 sed 's/^/| /' conftest.$ac_ext >&5
66206 eval "$as_ac_var=no"
66208 rm -f conftest.err conftest.$ac_objext \
66209 conftest$ac_exeext conftest.$ac_ext
66211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66213 if test `eval echo '${'$as_ac_var'}'` = yes; then
66214 cat >>confdefs.h <<_ACEOF
66215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66216 _ACEOF
66219 done
66221 else
66223 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66224 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66225 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66226 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66227 echo $ECHO_N "(cached) $ECHO_C" >&6
66228 else
66232 ac_ext=cc
66233 ac_cpp='$CXXCPP $CPPFLAGS'
66234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66238 cat >conftest.$ac_ext <<_ACEOF
66239 /* confdefs.h. */
66240 _ACEOF
66241 cat confdefs.h >>conftest.$ac_ext
66242 cat >>conftest.$ac_ext <<_ACEOF
66243 /* end confdefs.h. */
66244 #include <math.h>
66246 main ()
66248 _atan2l(0, 0);
66250 return 0;
66252 _ACEOF
66253 rm -f conftest.$ac_objext
66254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66255 (eval $ac_compile) 2>conftest.er1
66256 ac_status=$?
66257 grep -v '^ *+' conftest.er1 >conftest.err
66258 rm -f conftest.er1
66259 cat conftest.err >&5
66260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66261 (exit $ac_status); } &&
66262 { ac_try='test -z "$ac_cxx_werror_flag"
66263 || test ! -s conftest.err'
66264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66265 (eval $ac_try) 2>&5
66266 ac_status=$?
66267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66268 (exit $ac_status); }; } &&
66269 { ac_try='test -s conftest.$ac_objext'
66270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66271 (eval $ac_try) 2>&5
66272 ac_status=$?
66273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66274 (exit $ac_status); }; }; then
66275 glibcxx_cv_func__atan2l_use=yes
66276 else
66277 echo "$as_me: failed program was:" >&5
66278 sed 's/^/| /' conftest.$ac_ext >&5
66280 glibcxx_cv_func__atan2l_use=no
66282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66283 ac_ext=c
66284 ac_cpp='$CPP $CPPFLAGS'
66285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66293 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66294 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66296 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66298 for ac_func in _atan2l
66300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66301 echo "$as_me:$LINENO: checking for $ac_func" >&5
66302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66303 if eval "test \"\${$as_ac_var+set}\" = set"; then
66304 echo $ECHO_N "(cached) $ECHO_C" >&6
66305 else
66306 if test x$gcc_no_link = xyes; then
66307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66309 { (exit 1); exit 1; }; }
66311 cat >conftest.$ac_ext <<_ACEOF
66312 /* confdefs.h. */
66313 _ACEOF
66314 cat confdefs.h >>conftest.$ac_ext
66315 cat >>conftest.$ac_ext <<_ACEOF
66316 /* end confdefs.h. */
66317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66319 #define $ac_func innocuous_$ac_func
66321 /* System header to define __stub macros and hopefully few prototypes,
66322 which can conflict with char $ac_func (); below.
66323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66324 <limits.h> exists even on freestanding compilers. */
66326 #ifdef __STDC__
66327 # include <limits.h>
66328 #else
66329 # include <assert.h>
66330 #endif
66332 #undef $ac_func
66334 /* Override any gcc2 internal prototype to avoid an error. */
66335 #ifdef __cplusplus
66336 extern "C"
66338 #endif
66339 /* We use char because int might match the return type of a gcc2
66340 builtin and then its argument prototype would still apply. */
66341 char $ac_func ();
66342 /* The GNU C library defines this for functions which it implements
66343 to always fail with ENOSYS. Some functions are actually named
66344 something starting with __ and the normal name is an alias. */
66345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66346 choke me
66347 #else
66348 char (*f) () = $ac_func;
66349 #endif
66350 #ifdef __cplusplus
66352 #endif
66355 main ()
66357 return f != $ac_func;
66359 return 0;
66361 _ACEOF
66362 rm -f conftest.$ac_objext conftest$ac_exeext
66363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66364 (eval $ac_link) 2>conftest.er1
66365 ac_status=$?
66366 grep -v '^ *+' conftest.er1 >conftest.err
66367 rm -f conftest.er1
66368 cat conftest.err >&5
66369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66370 (exit $ac_status); } &&
66371 { ac_try='test -z "$ac_c_werror_flag"
66372 || test ! -s conftest.err'
66373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66374 (eval $ac_try) 2>&5
66375 ac_status=$?
66376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66377 (exit $ac_status); }; } &&
66378 { ac_try='test -s conftest$ac_exeext'
66379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66380 (eval $ac_try) 2>&5
66381 ac_status=$?
66382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66383 (exit $ac_status); }; }; then
66384 eval "$as_ac_var=yes"
66385 else
66386 echo "$as_me: failed program was:" >&5
66387 sed 's/^/| /' conftest.$ac_ext >&5
66389 eval "$as_ac_var=no"
66391 rm -f conftest.err conftest.$ac_objext \
66392 conftest$ac_exeext conftest.$ac_ext
66394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66396 if test `eval echo '${'$as_ac_var'}'` = yes; then
66397 cat >>confdefs.h <<_ACEOF
66398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66399 _ACEOF
66402 done
66412 echo "$as_me:$LINENO: checking for expl declaration" >&5
66413 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66414 if test x${glibcxx_cv_func_expl_use+set} != xset; then
66415 if test "${glibcxx_cv_func_expl_use+set}" = set; then
66416 echo $ECHO_N "(cached) $ECHO_C" >&6
66417 else
66421 ac_ext=cc
66422 ac_cpp='$CXXCPP $CPPFLAGS'
66423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66427 cat >conftest.$ac_ext <<_ACEOF
66428 /* confdefs.h. */
66429 _ACEOF
66430 cat confdefs.h >>conftest.$ac_ext
66431 cat >>conftest.$ac_ext <<_ACEOF
66432 /* end confdefs.h. */
66433 #include <math.h>
66434 #ifdef HAVE_IEEEFP_H
66435 #include <ieeefp.h>
66436 #endif
66439 main ()
66441 expl(0);
66443 return 0;
66445 _ACEOF
66446 rm -f conftest.$ac_objext
66447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66448 (eval $ac_compile) 2>conftest.er1
66449 ac_status=$?
66450 grep -v '^ *+' conftest.er1 >conftest.err
66451 rm -f conftest.er1
66452 cat conftest.err >&5
66453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66454 (exit $ac_status); } &&
66455 { ac_try='test -z "$ac_cxx_werror_flag"
66456 || test ! -s conftest.err'
66457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66458 (eval $ac_try) 2>&5
66459 ac_status=$?
66460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66461 (exit $ac_status); }; } &&
66462 { ac_try='test -s conftest.$ac_objext'
66463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66464 (eval $ac_try) 2>&5
66465 ac_status=$?
66466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66467 (exit $ac_status); }; }; then
66468 glibcxx_cv_func_expl_use=yes
66469 else
66470 echo "$as_me: failed program was:" >&5
66471 sed 's/^/| /' conftest.$ac_ext >&5
66473 glibcxx_cv_func_expl_use=no
66475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66476 ac_ext=c
66477 ac_cpp='$CPP $CPPFLAGS'
66478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66486 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66487 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66489 if test x$glibcxx_cv_func_expl_use = x"yes"; then
66491 for ac_func in expl
66493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66494 echo "$as_me:$LINENO: checking for $ac_func" >&5
66495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66496 if eval "test \"\${$as_ac_var+set}\" = set"; then
66497 echo $ECHO_N "(cached) $ECHO_C" >&6
66498 else
66499 if test x$gcc_no_link = xyes; then
66500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66502 { (exit 1); exit 1; }; }
66504 cat >conftest.$ac_ext <<_ACEOF
66505 /* confdefs.h. */
66506 _ACEOF
66507 cat confdefs.h >>conftest.$ac_ext
66508 cat >>conftest.$ac_ext <<_ACEOF
66509 /* end confdefs.h. */
66510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66512 #define $ac_func innocuous_$ac_func
66514 /* System header to define __stub macros and hopefully few prototypes,
66515 which can conflict with char $ac_func (); below.
66516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66517 <limits.h> exists even on freestanding compilers. */
66519 #ifdef __STDC__
66520 # include <limits.h>
66521 #else
66522 # include <assert.h>
66523 #endif
66525 #undef $ac_func
66527 /* Override any gcc2 internal prototype to avoid an error. */
66528 #ifdef __cplusplus
66529 extern "C"
66531 #endif
66532 /* We use char because int might match the return type of a gcc2
66533 builtin and then its argument prototype would still apply. */
66534 char $ac_func ();
66535 /* The GNU C library defines this for functions which it implements
66536 to always fail with ENOSYS. Some functions are actually named
66537 something starting with __ and the normal name is an alias. */
66538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66539 choke me
66540 #else
66541 char (*f) () = $ac_func;
66542 #endif
66543 #ifdef __cplusplus
66545 #endif
66548 main ()
66550 return f != $ac_func;
66552 return 0;
66554 _ACEOF
66555 rm -f conftest.$ac_objext conftest$ac_exeext
66556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66557 (eval $ac_link) 2>conftest.er1
66558 ac_status=$?
66559 grep -v '^ *+' conftest.er1 >conftest.err
66560 rm -f conftest.er1
66561 cat conftest.err >&5
66562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66563 (exit $ac_status); } &&
66564 { ac_try='test -z "$ac_c_werror_flag"
66565 || test ! -s conftest.err'
66566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66567 (eval $ac_try) 2>&5
66568 ac_status=$?
66569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66570 (exit $ac_status); }; } &&
66571 { ac_try='test -s conftest$ac_exeext'
66572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66573 (eval $ac_try) 2>&5
66574 ac_status=$?
66575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66576 (exit $ac_status); }; }; then
66577 eval "$as_ac_var=yes"
66578 else
66579 echo "$as_me: failed program was:" >&5
66580 sed 's/^/| /' conftest.$ac_ext >&5
66582 eval "$as_ac_var=no"
66584 rm -f conftest.err conftest.$ac_objext \
66585 conftest$ac_exeext conftest.$ac_ext
66587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66589 if test `eval echo '${'$as_ac_var'}'` = yes; then
66590 cat >>confdefs.h <<_ACEOF
66591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66592 _ACEOF
66595 done
66597 else
66599 echo "$as_me:$LINENO: checking for _expl declaration" >&5
66600 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
66601 if test x${glibcxx_cv_func__expl_use+set} != xset; then
66602 if test "${glibcxx_cv_func__expl_use+set}" = set; then
66603 echo $ECHO_N "(cached) $ECHO_C" >&6
66604 else
66608 ac_ext=cc
66609 ac_cpp='$CXXCPP $CPPFLAGS'
66610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66614 cat >conftest.$ac_ext <<_ACEOF
66615 /* confdefs.h. */
66616 _ACEOF
66617 cat confdefs.h >>conftest.$ac_ext
66618 cat >>conftest.$ac_ext <<_ACEOF
66619 /* end confdefs.h. */
66620 #include <math.h>
66621 #ifdef HAVE_IEEEFP_H
66622 #include <ieeefp.h>
66623 #endif
66626 main ()
66628 _expl(0);
66630 return 0;
66632 _ACEOF
66633 rm -f conftest.$ac_objext
66634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66635 (eval $ac_compile) 2>conftest.er1
66636 ac_status=$?
66637 grep -v '^ *+' conftest.er1 >conftest.err
66638 rm -f conftest.er1
66639 cat conftest.err >&5
66640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66641 (exit $ac_status); } &&
66642 { ac_try='test -z "$ac_cxx_werror_flag"
66643 || test ! -s conftest.err'
66644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66645 (eval $ac_try) 2>&5
66646 ac_status=$?
66647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66648 (exit $ac_status); }; } &&
66649 { ac_try='test -s conftest.$ac_objext'
66650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66651 (eval $ac_try) 2>&5
66652 ac_status=$?
66653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66654 (exit $ac_status); }; }; then
66655 glibcxx_cv_func__expl_use=yes
66656 else
66657 echo "$as_me: failed program was:" >&5
66658 sed 's/^/| /' conftest.$ac_ext >&5
66660 glibcxx_cv_func__expl_use=no
66662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66663 ac_ext=c
66664 ac_cpp='$CPP $CPPFLAGS'
66665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
66674 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
66676 if test x$glibcxx_cv_func__expl_use = x"yes"; then
66678 for ac_func in _expl
66680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66681 echo "$as_me:$LINENO: checking for $ac_func" >&5
66682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66683 if eval "test \"\${$as_ac_var+set}\" = set"; then
66684 echo $ECHO_N "(cached) $ECHO_C" >&6
66685 else
66686 if test x$gcc_no_link = xyes; then
66687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66689 { (exit 1); exit 1; }; }
66691 cat >conftest.$ac_ext <<_ACEOF
66692 /* confdefs.h. */
66693 _ACEOF
66694 cat confdefs.h >>conftest.$ac_ext
66695 cat >>conftest.$ac_ext <<_ACEOF
66696 /* end confdefs.h. */
66697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66699 #define $ac_func innocuous_$ac_func
66701 /* System header to define __stub macros and hopefully few prototypes,
66702 which can conflict with char $ac_func (); below.
66703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66704 <limits.h> exists even on freestanding compilers. */
66706 #ifdef __STDC__
66707 # include <limits.h>
66708 #else
66709 # include <assert.h>
66710 #endif
66712 #undef $ac_func
66714 /* Override any gcc2 internal prototype to avoid an error. */
66715 #ifdef __cplusplus
66716 extern "C"
66718 #endif
66719 /* We use char because int might match the return type of a gcc2
66720 builtin and then its argument prototype would still apply. */
66721 char $ac_func ();
66722 /* The GNU C library defines this for functions which it implements
66723 to always fail with ENOSYS. Some functions are actually named
66724 something starting with __ and the normal name is an alias. */
66725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66726 choke me
66727 #else
66728 char (*f) () = $ac_func;
66729 #endif
66730 #ifdef __cplusplus
66732 #endif
66735 main ()
66737 return f != $ac_func;
66739 return 0;
66741 _ACEOF
66742 rm -f conftest.$ac_objext conftest$ac_exeext
66743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66744 (eval $ac_link) 2>conftest.er1
66745 ac_status=$?
66746 grep -v '^ *+' conftest.er1 >conftest.err
66747 rm -f conftest.er1
66748 cat conftest.err >&5
66749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66750 (exit $ac_status); } &&
66751 { ac_try='test -z "$ac_c_werror_flag"
66752 || test ! -s conftest.err'
66753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66754 (eval $ac_try) 2>&5
66755 ac_status=$?
66756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66757 (exit $ac_status); }; } &&
66758 { ac_try='test -s conftest$ac_exeext'
66759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66760 (eval $ac_try) 2>&5
66761 ac_status=$?
66762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66763 (exit $ac_status); }; }; then
66764 eval "$as_ac_var=yes"
66765 else
66766 echo "$as_me: failed program was:" >&5
66767 sed 's/^/| /' conftest.$ac_ext >&5
66769 eval "$as_ac_var=no"
66771 rm -f conftest.err conftest.$ac_objext \
66772 conftest$ac_exeext conftest.$ac_ext
66774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66776 if test `eval echo '${'$as_ac_var'}'` = yes; then
66777 cat >>confdefs.h <<_ACEOF
66778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66779 _ACEOF
66782 done
66792 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
66793 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
66794 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
66795 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
66796 echo $ECHO_N "(cached) $ECHO_C" >&6
66797 else
66801 ac_ext=cc
66802 ac_cpp='$CXXCPP $CPPFLAGS'
66803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66807 cat >conftest.$ac_ext <<_ACEOF
66808 /* confdefs.h. */
66809 _ACEOF
66810 cat confdefs.h >>conftest.$ac_ext
66811 cat >>conftest.$ac_ext <<_ACEOF
66812 /* end confdefs.h. */
66813 #include <math.h>
66814 #ifdef HAVE_IEEEFP_H
66815 #include <ieeefp.h>
66816 #endif
66819 main ()
66821 fabsl(0);
66823 return 0;
66825 _ACEOF
66826 rm -f conftest.$ac_objext
66827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66828 (eval $ac_compile) 2>conftest.er1
66829 ac_status=$?
66830 grep -v '^ *+' conftest.er1 >conftest.err
66831 rm -f conftest.er1
66832 cat conftest.err >&5
66833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66834 (exit $ac_status); } &&
66835 { ac_try='test -z "$ac_cxx_werror_flag"
66836 || test ! -s conftest.err'
66837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66838 (eval $ac_try) 2>&5
66839 ac_status=$?
66840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66841 (exit $ac_status); }; } &&
66842 { ac_try='test -s conftest.$ac_objext'
66843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66844 (eval $ac_try) 2>&5
66845 ac_status=$?
66846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66847 (exit $ac_status); }; }; then
66848 glibcxx_cv_func_fabsl_use=yes
66849 else
66850 echo "$as_me: failed program was:" >&5
66851 sed 's/^/| /' conftest.$ac_ext >&5
66853 glibcxx_cv_func_fabsl_use=no
66855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66856 ac_ext=c
66857 ac_cpp='$CPP $CPPFLAGS'
66858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
66867 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
66869 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
66871 for ac_func in fabsl
66873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66874 echo "$as_me:$LINENO: checking for $ac_func" >&5
66875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66876 if eval "test \"\${$as_ac_var+set}\" = set"; then
66877 echo $ECHO_N "(cached) $ECHO_C" >&6
66878 else
66879 if test x$gcc_no_link = xyes; then
66880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66882 { (exit 1); exit 1; }; }
66884 cat >conftest.$ac_ext <<_ACEOF
66885 /* confdefs.h. */
66886 _ACEOF
66887 cat confdefs.h >>conftest.$ac_ext
66888 cat >>conftest.$ac_ext <<_ACEOF
66889 /* end confdefs.h. */
66890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66892 #define $ac_func innocuous_$ac_func
66894 /* System header to define __stub macros and hopefully few prototypes,
66895 which can conflict with char $ac_func (); below.
66896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66897 <limits.h> exists even on freestanding compilers. */
66899 #ifdef __STDC__
66900 # include <limits.h>
66901 #else
66902 # include <assert.h>
66903 #endif
66905 #undef $ac_func
66907 /* Override any gcc2 internal prototype to avoid an error. */
66908 #ifdef __cplusplus
66909 extern "C"
66911 #endif
66912 /* We use char because int might match the return type of a gcc2
66913 builtin and then its argument prototype would still apply. */
66914 char $ac_func ();
66915 /* The GNU C library defines this for functions which it implements
66916 to always fail with ENOSYS. Some functions are actually named
66917 something starting with __ and the normal name is an alias. */
66918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66919 choke me
66920 #else
66921 char (*f) () = $ac_func;
66922 #endif
66923 #ifdef __cplusplus
66925 #endif
66928 main ()
66930 return f != $ac_func;
66932 return 0;
66934 _ACEOF
66935 rm -f conftest.$ac_objext conftest$ac_exeext
66936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66937 (eval $ac_link) 2>conftest.er1
66938 ac_status=$?
66939 grep -v '^ *+' conftest.er1 >conftest.err
66940 rm -f conftest.er1
66941 cat conftest.err >&5
66942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66943 (exit $ac_status); } &&
66944 { ac_try='test -z "$ac_c_werror_flag"
66945 || test ! -s conftest.err'
66946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66947 (eval $ac_try) 2>&5
66948 ac_status=$?
66949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66950 (exit $ac_status); }; } &&
66951 { ac_try='test -s conftest$ac_exeext'
66952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66953 (eval $ac_try) 2>&5
66954 ac_status=$?
66955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66956 (exit $ac_status); }; }; then
66957 eval "$as_ac_var=yes"
66958 else
66959 echo "$as_me: failed program was:" >&5
66960 sed 's/^/| /' conftest.$ac_ext >&5
66962 eval "$as_ac_var=no"
66964 rm -f conftest.err conftest.$ac_objext \
66965 conftest$ac_exeext conftest.$ac_ext
66967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66969 if test `eval echo '${'$as_ac_var'}'` = yes; then
66970 cat >>confdefs.h <<_ACEOF
66971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66972 _ACEOF
66975 done
66977 else
66979 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
66980 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
66981 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66982 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
66983 echo $ECHO_N "(cached) $ECHO_C" >&6
66984 else
66988 ac_ext=cc
66989 ac_cpp='$CXXCPP $CPPFLAGS'
66990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66994 cat >conftest.$ac_ext <<_ACEOF
66995 /* confdefs.h. */
66996 _ACEOF
66997 cat confdefs.h >>conftest.$ac_ext
66998 cat >>conftest.$ac_ext <<_ACEOF
66999 /* end confdefs.h. */
67000 #include <math.h>
67001 #ifdef HAVE_IEEEFP_H
67002 #include <ieeefp.h>
67003 #endif
67006 main ()
67008 _fabsl(0);
67010 return 0;
67012 _ACEOF
67013 rm -f conftest.$ac_objext
67014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67015 (eval $ac_compile) 2>conftest.er1
67016 ac_status=$?
67017 grep -v '^ *+' conftest.er1 >conftest.err
67018 rm -f conftest.er1
67019 cat conftest.err >&5
67020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67021 (exit $ac_status); } &&
67022 { ac_try='test -z "$ac_cxx_werror_flag"
67023 || test ! -s conftest.err'
67024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67025 (eval $ac_try) 2>&5
67026 ac_status=$?
67027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67028 (exit $ac_status); }; } &&
67029 { ac_try='test -s conftest.$ac_objext'
67030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67031 (eval $ac_try) 2>&5
67032 ac_status=$?
67033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67034 (exit $ac_status); }; }; then
67035 glibcxx_cv_func__fabsl_use=yes
67036 else
67037 echo "$as_me: failed program was:" >&5
67038 sed 's/^/| /' conftest.$ac_ext >&5
67040 glibcxx_cv_func__fabsl_use=no
67042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67043 ac_ext=c
67044 ac_cpp='$CPP $CPPFLAGS'
67045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67054 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67056 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67058 for ac_func in _fabsl
67060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67061 echo "$as_me:$LINENO: checking for $ac_func" >&5
67062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67063 if eval "test \"\${$as_ac_var+set}\" = set"; then
67064 echo $ECHO_N "(cached) $ECHO_C" >&6
67065 else
67066 if test x$gcc_no_link = xyes; then
67067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67069 { (exit 1); exit 1; }; }
67071 cat >conftest.$ac_ext <<_ACEOF
67072 /* confdefs.h. */
67073 _ACEOF
67074 cat confdefs.h >>conftest.$ac_ext
67075 cat >>conftest.$ac_ext <<_ACEOF
67076 /* end confdefs.h. */
67077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67079 #define $ac_func innocuous_$ac_func
67081 /* System header to define __stub macros and hopefully few prototypes,
67082 which can conflict with char $ac_func (); below.
67083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67084 <limits.h> exists even on freestanding compilers. */
67086 #ifdef __STDC__
67087 # include <limits.h>
67088 #else
67089 # include <assert.h>
67090 #endif
67092 #undef $ac_func
67094 /* Override any gcc2 internal prototype to avoid an error. */
67095 #ifdef __cplusplus
67096 extern "C"
67098 #endif
67099 /* We use char because int might match the return type of a gcc2
67100 builtin and then its argument prototype would still apply. */
67101 char $ac_func ();
67102 /* The GNU C library defines this for functions which it implements
67103 to always fail with ENOSYS. Some functions are actually named
67104 something starting with __ and the normal name is an alias. */
67105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67106 choke me
67107 #else
67108 char (*f) () = $ac_func;
67109 #endif
67110 #ifdef __cplusplus
67112 #endif
67115 main ()
67117 return f != $ac_func;
67119 return 0;
67121 _ACEOF
67122 rm -f conftest.$ac_objext conftest$ac_exeext
67123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67124 (eval $ac_link) 2>conftest.er1
67125 ac_status=$?
67126 grep -v '^ *+' conftest.er1 >conftest.err
67127 rm -f conftest.er1
67128 cat conftest.err >&5
67129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67130 (exit $ac_status); } &&
67131 { ac_try='test -z "$ac_c_werror_flag"
67132 || test ! -s conftest.err'
67133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67134 (eval $ac_try) 2>&5
67135 ac_status=$?
67136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67137 (exit $ac_status); }; } &&
67138 { ac_try='test -s conftest$ac_exeext'
67139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67140 (eval $ac_try) 2>&5
67141 ac_status=$?
67142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67143 (exit $ac_status); }; }; then
67144 eval "$as_ac_var=yes"
67145 else
67146 echo "$as_me: failed program was:" >&5
67147 sed 's/^/| /' conftest.$ac_ext >&5
67149 eval "$as_ac_var=no"
67151 rm -f conftest.err conftest.$ac_objext \
67152 conftest$ac_exeext conftest.$ac_ext
67154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67156 if test `eval echo '${'$as_ac_var'}'` = yes; then
67157 cat >>confdefs.h <<_ACEOF
67158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67159 _ACEOF
67162 done
67172 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67173 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67174 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67175 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67176 echo $ECHO_N "(cached) $ECHO_C" >&6
67177 else
67181 ac_ext=cc
67182 ac_cpp='$CXXCPP $CPPFLAGS'
67183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67187 cat >conftest.$ac_ext <<_ACEOF
67188 /* confdefs.h. */
67189 _ACEOF
67190 cat confdefs.h >>conftest.$ac_ext
67191 cat >>conftest.$ac_ext <<_ACEOF
67192 /* end confdefs.h. */
67193 #include <math.h>
67195 main ()
67197 fmodl(0, 0);
67199 return 0;
67201 _ACEOF
67202 rm -f conftest.$ac_objext
67203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67204 (eval $ac_compile) 2>conftest.er1
67205 ac_status=$?
67206 grep -v '^ *+' conftest.er1 >conftest.err
67207 rm -f conftest.er1
67208 cat conftest.err >&5
67209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67210 (exit $ac_status); } &&
67211 { ac_try='test -z "$ac_cxx_werror_flag"
67212 || test ! -s conftest.err'
67213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67214 (eval $ac_try) 2>&5
67215 ac_status=$?
67216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67217 (exit $ac_status); }; } &&
67218 { ac_try='test -s conftest.$ac_objext'
67219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67220 (eval $ac_try) 2>&5
67221 ac_status=$?
67222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67223 (exit $ac_status); }; }; then
67224 glibcxx_cv_func_fmodl_use=yes
67225 else
67226 echo "$as_me: failed program was:" >&5
67227 sed 's/^/| /' conftest.$ac_ext >&5
67229 glibcxx_cv_func_fmodl_use=no
67231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67232 ac_ext=c
67233 ac_cpp='$CPP $CPPFLAGS'
67234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67243 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67245 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67247 for ac_func in fmodl
67249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67250 echo "$as_me:$LINENO: checking for $ac_func" >&5
67251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67252 if eval "test \"\${$as_ac_var+set}\" = set"; then
67253 echo $ECHO_N "(cached) $ECHO_C" >&6
67254 else
67255 if test x$gcc_no_link = xyes; then
67256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67258 { (exit 1); exit 1; }; }
67260 cat >conftest.$ac_ext <<_ACEOF
67261 /* confdefs.h. */
67262 _ACEOF
67263 cat confdefs.h >>conftest.$ac_ext
67264 cat >>conftest.$ac_ext <<_ACEOF
67265 /* end confdefs.h. */
67266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67268 #define $ac_func innocuous_$ac_func
67270 /* System header to define __stub macros and hopefully few prototypes,
67271 which can conflict with char $ac_func (); below.
67272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67273 <limits.h> exists even on freestanding compilers. */
67275 #ifdef __STDC__
67276 # include <limits.h>
67277 #else
67278 # include <assert.h>
67279 #endif
67281 #undef $ac_func
67283 /* Override any gcc2 internal prototype to avoid an error. */
67284 #ifdef __cplusplus
67285 extern "C"
67287 #endif
67288 /* We use char because int might match the return type of a gcc2
67289 builtin and then its argument prototype would still apply. */
67290 char $ac_func ();
67291 /* The GNU C library defines this for functions which it implements
67292 to always fail with ENOSYS. Some functions are actually named
67293 something starting with __ and the normal name is an alias. */
67294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67295 choke me
67296 #else
67297 char (*f) () = $ac_func;
67298 #endif
67299 #ifdef __cplusplus
67301 #endif
67304 main ()
67306 return f != $ac_func;
67308 return 0;
67310 _ACEOF
67311 rm -f conftest.$ac_objext conftest$ac_exeext
67312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67313 (eval $ac_link) 2>conftest.er1
67314 ac_status=$?
67315 grep -v '^ *+' conftest.er1 >conftest.err
67316 rm -f conftest.er1
67317 cat conftest.err >&5
67318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67319 (exit $ac_status); } &&
67320 { ac_try='test -z "$ac_c_werror_flag"
67321 || test ! -s conftest.err'
67322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67323 (eval $ac_try) 2>&5
67324 ac_status=$?
67325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67326 (exit $ac_status); }; } &&
67327 { ac_try='test -s conftest$ac_exeext'
67328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67329 (eval $ac_try) 2>&5
67330 ac_status=$?
67331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67332 (exit $ac_status); }; }; then
67333 eval "$as_ac_var=yes"
67334 else
67335 echo "$as_me: failed program was:" >&5
67336 sed 's/^/| /' conftest.$ac_ext >&5
67338 eval "$as_ac_var=no"
67340 rm -f conftest.err conftest.$ac_objext \
67341 conftest$ac_exeext conftest.$ac_ext
67343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67345 if test `eval echo '${'$as_ac_var'}'` = yes; then
67346 cat >>confdefs.h <<_ACEOF
67347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67348 _ACEOF
67351 done
67353 else
67355 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67356 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67357 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67358 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67359 echo $ECHO_N "(cached) $ECHO_C" >&6
67360 else
67364 ac_ext=cc
67365 ac_cpp='$CXXCPP $CPPFLAGS'
67366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67370 cat >conftest.$ac_ext <<_ACEOF
67371 /* confdefs.h. */
67372 _ACEOF
67373 cat confdefs.h >>conftest.$ac_ext
67374 cat >>conftest.$ac_ext <<_ACEOF
67375 /* end confdefs.h. */
67376 #include <math.h>
67378 main ()
67380 _fmodl(0, 0);
67382 return 0;
67384 _ACEOF
67385 rm -f conftest.$ac_objext
67386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67387 (eval $ac_compile) 2>conftest.er1
67388 ac_status=$?
67389 grep -v '^ *+' conftest.er1 >conftest.err
67390 rm -f conftest.er1
67391 cat conftest.err >&5
67392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67393 (exit $ac_status); } &&
67394 { ac_try='test -z "$ac_cxx_werror_flag"
67395 || test ! -s conftest.err'
67396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67397 (eval $ac_try) 2>&5
67398 ac_status=$?
67399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67400 (exit $ac_status); }; } &&
67401 { ac_try='test -s conftest.$ac_objext'
67402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67403 (eval $ac_try) 2>&5
67404 ac_status=$?
67405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67406 (exit $ac_status); }; }; then
67407 glibcxx_cv_func__fmodl_use=yes
67408 else
67409 echo "$as_me: failed program was:" >&5
67410 sed 's/^/| /' conftest.$ac_ext >&5
67412 glibcxx_cv_func__fmodl_use=no
67414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67415 ac_ext=c
67416 ac_cpp='$CPP $CPPFLAGS'
67417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67426 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67428 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67430 for ac_func in _fmodl
67432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67433 echo "$as_me:$LINENO: checking for $ac_func" >&5
67434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67435 if eval "test \"\${$as_ac_var+set}\" = set"; then
67436 echo $ECHO_N "(cached) $ECHO_C" >&6
67437 else
67438 if test x$gcc_no_link = xyes; then
67439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67441 { (exit 1); exit 1; }; }
67443 cat >conftest.$ac_ext <<_ACEOF
67444 /* confdefs.h. */
67445 _ACEOF
67446 cat confdefs.h >>conftest.$ac_ext
67447 cat >>conftest.$ac_ext <<_ACEOF
67448 /* end confdefs.h. */
67449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67451 #define $ac_func innocuous_$ac_func
67453 /* System header to define __stub macros and hopefully few prototypes,
67454 which can conflict with char $ac_func (); below.
67455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67456 <limits.h> exists even on freestanding compilers. */
67458 #ifdef __STDC__
67459 # include <limits.h>
67460 #else
67461 # include <assert.h>
67462 #endif
67464 #undef $ac_func
67466 /* Override any gcc2 internal prototype to avoid an error. */
67467 #ifdef __cplusplus
67468 extern "C"
67470 #endif
67471 /* We use char because int might match the return type of a gcc2
67472 builtin and then its argument prototype would still apply. */
67473 char $ac_func ();
67474 /* The GNU C library defines this for functions which it implements
67475 to always fail with ENOSYS. Some functions are actually named
67476 something starting with __ and the normal name is an alias. */
67477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67478 choke me
67479 #else
67480 char (*f) () = $ac_func;
67481 #endif
67482 #ifdef __cplusplus
67484 #endif
67487 main ()
67489 return f != $ac_func;
67491 return 0;
67493 _ACEOF
67494 rm -f conftest.$ac_objext conftest$ac_exeext
67495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67496 (eval $ac_link) 2>conftest.er1
67497 ac_status=$?
67498 grep -v '^ *+' conftest.er1 >conftest.err
67499 rm -f conftest.er1
67500 cat conftest.err >&5
67501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67502 (exit $ac_status); } &&
67503 { ac_try='test -z "$ac_c_werror_flag"
67504 || test ! -s conftest.err'
67505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67506 (eval $ac_try) 2>&5
67507 ac_status=$?
67508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67509 (exit $ac_status); }; } &&
67510 { ac_try='test -s conftest$ac_exeext'
67511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67512 (eval $ac_try) 2>&5
67513 ac_status=$?
67514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67515 (exit $ac_status); }; }; then
67516 eval "$as_ac_var=yes"
67517 else
67518 echo "$as_me: failed program was:" >&5
67519 sed 's/^/| /' conftest.$ac_ext >&5
67521 eval "$as_ac_var=no"
67523 rm -f conftest.err conftest.$ac_objext \
67524 conftest$ac_exeext conftest.$ac_ext
67526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67528 if test `eval echo '${'$as_ac_var'}'` = yes; then
67529 cat >>confdefs.h <<_ACEOF
67530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67531 _ACEOF
67534 done
67544 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
67545 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
67546 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67547 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
67548 echo $ECHO_N "(cached) $ECHO_C" >&6
67549 else
67553 ac_ext=cc
67554 ac_cpp='$CXXCPP $CPPFLAGS'
67555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67559 cat >conftest.$ac_ext <<_ACEOF
67560 /* confdefs.h. */
67561 _ACEOF
67562 cat confdefs.h >>conftest.$ac_ext
67563 cat >>conftest.$ac_ext <<_ACEOF
67564 /* end confdefs.h. */
67565 #include <math.h>
67567 main ()
67569 frexpl(0, 0);
67571 return 0;
67573 _ACEOF
67574 rm -f conftest.$ac_objext
67575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67576 (eval $ac_compile) 2>conftest.er1
67577 ac_status=$?
67578 grep -v '^ *+' conftest.er1 >conftest.err
67579 rm -f conftest.er1
67580 cat conftest.err >&5
67581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67582 (exit $ac_status); } &&
67583 { ac_try='test -z "$ac_cxx_werror_flag"
67584 || test ! -s conftest.err'
67585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67586 (eval $ac_try) 2>&5
67587 ac_status=$?
67588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67589 (exit $ac_status); }; } &&
67590 { ac_try='test -s conftest.$ac_objext'
67591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67592 (eval $ac_try) 2>&5
67593 ac_status=$?
67594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67595 (exit $ac_status); }; }; then
67596 glibcxx_cv_func_frexpl_use=yes
67597 else
67598 echo "$as_me: failed program was:" >&5
67599 sed 's/^/| /' conftest.$ac_ext >&5
67601 glibcxx_cv_func_frexpl_use=no
67603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67604 ac_ext=c
67605 ac_cpp='$CPP $CPPFLAGS'
67606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67614 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
67615 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
67617 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
67619 for ac_func in frexpl
67621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67622 echo "$as_me:$LINENO: checking for $ac_func" >&5
67623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67624 if eval "test \"\${$as_ac_var+set}\" = set"; then
67625 echo $ECHO_N "(cached) $ECHO_C" >&6
67626 else
67627 if test x$gcc_no_link = xyes; then
67628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67630 { (exit 1); exit 1; }; }
67632 cat >conftest.$ac_ext <<_ACEOF
67633 /* confdefs.h. */
67634 _ACEOF
67635 cat confdefs.h >>conftest.$ac_ext
67636 cat >>conftest.$ac_ext <<_ACEOF
67637 /* end confdefs.h. */
67638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67640 #define $ac_func innocuous_$ac_func
67642 /* System header to define __stub macros and hopefully few prototypes,
67643 which can conflict with char $ac_func (); below.
67644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67645 <limits.h> exists even on freestanding compilers. */
67647 #ifdef __STDC__
67648 # include <limits.h>
67649 #else
67650 # include <assert.h>
67651 #endif
67653 #undef $ac_func
67655 /* Override any gcc2 internal prototype to avoid an error. */
67656 #ifdef __cplusplus
67657 extern "C"
67659 #endif
67660 /* We use char because int might match the return type of a gcc2
67661 builtin and then its argument prototype would still apply. */
67662 char $ac_func ();
67663 /* The GNU C library defines this for functions which it implements
67664 to always fail with ENOSYS. Some functions are actually named
67665 something starting with __ and the normal name is an alias. */
67666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67667 choke me
67668 #else
67669 char (*f) () = $ac_func;
67670 #endif
67671 #ifdef __cplusplus
67673 #endif
67676 main ()
67678 return f != $ac_func;
67680 return 0;
67682 _ACEOF
67683 rm -f conftest.$ac_objext conftest$ac_exeext
67684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67685 (eval $ac_link) 2>conftest.er1
67686 ac_status=$?
67687 grep -v '^ *+' conftest.er1 >conftest.err
67688 rm -f conftest.er1
67689 cat conftest.err >&5
67690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67691 (exit $ac_status); } &&
67692 { ac_try='test -z "$ac_c_werror_flag"
67693 || test ! -s conftest.err'
67694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67695 (eval $ac_try) 2>&5
67696 ac_status=$?
67697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67698 (exit $ac_status); }; } &&
67699 { ac_try='test -s conftest$ac_exeext'
67700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67701 (eval $ac_try) 2>&5
67702 ac_status=$?
67703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67704 (exit $ac_status); }; }; then
67705 eval "$as_ac_var=yes"
67706 else
67707 echo "$as_me: failed program was:" >&5
67708 sed 's/^/| /' conftest.$ac_ext >&5
67710 eval "$as_ac_var=no"
67712 rm -f conftest.err conftest.$ac_objext \
67713 conftest$ac_exeext conftest.$ac_ext
67715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67717 if test `eval echo '${'$as_ac_var'}'` = yes; then
67718 cat >>confdefs.h <<_ACEOF
67719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67720 _ACEOF
67723 done
67725 else
67727 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
67728 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
67729 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
67730 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
67731 echo $ECHO_N "(cached) $ECHO_C" >&6
67732 else
67736 ac_ext=cc
67737 ac_cpp='$CXXCPP $CPPFLAGS'
67738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67742 cat >conftest.$ac_ext <<_ACEOF
67743 /* confdefs.h. */
67744 _ACEOF
67745 cat confdefs.h >>conftest.$ac_ext
67746 cat >>conftest.$ac_ext <<_ACEOF
67747 /* end confdefs.h. */
67748 #include <math.h>
67750 main ()
67752 _frexpl(0, 0);
67754 return 0;
67756 _ACEOF
67757 rm -f conftest.$ac_objext
67758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67759 (eval $ac_compile) 2>conftest.er1
67760 ac_status=$?
67761 grep -v '^ *+' conftest.er1 >conftest.err
67762 rm -f conftest.er1
67763 cat conftest.err >&5
67764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67765 (exit $ac_status); } &&
67766 { ac_try='test -z "$ac_cxx_werror_flag"
67767 || test ! -s conftest.err'
67768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67769 (eval $ac_try) 2>&5
67770 ac_status=$?
67771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67772 (exit $ac_status); }; } &&
67773 { ac_try='test -s conftest.$ac_objext'
67774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67775 (eval $ac_try) 2>&5
67776 ac_status=$?
67777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67778 (exit $ac_status); }; }; then
67779 glibcxx_cv_func__frexpl_use=yes
67780 else
67781 echo "$as_me: failed program was:" >&5
67782 sed 's/^/| /' conftest.$ac_ext >&5
67784 glibcxx_cv_func__frexpl_use=no
67786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67787 ac_ext=c
67788 ac_cpp='$CPP $CPPFLAGS'
67789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67797 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
67798 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
67800 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67802 for ac_func in _frexpl
67804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67805 echo "$as_me:$LINENO: checking for $ac_func" >&5
67806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67807 if eval "test \"\${$as_ac_var+set}\" = set"; then
67808 echo $ECHO_N "(cached) $ECHO_C" >&6
67809 else
67810 if test x$gcc_no_link = xyes; then
67811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67813 { (exit 1); exit 1; }; }
67815 cat >conftest.$ac_ext <<_ACEOF
67816 /* confdefs.h. */
67817 _ACEOF
67818 cat confdefs.h >>conftest.$ac_ext
67819 cat >>conftest.$ac_ext <<_ACEOF
67820 /* end confdefs.h. */
67821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67823 #define $ac_func innocuous_$ac_func
67825 /* System header to define __stub macros and hopefully few prototypes,
67826 which can conflict with char $ac_func (); below.
67827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67828 <limits.h> exists even on freestanding compilers. */
67830 #ifdef __STDC__
67831 # include <limits.h>
67832 #else
67833 # include <assert.h>
67834 #endif
67836 #undef $ac_func
67838 /* Override any gcc2 internal prototype to avoid an error. */
67839 #ifdef __cplusplus
67840 extern "C"
67842 #endif
67843 /* We use char because int might match the return type of a gcc2
67844 builtin and then its argument prototype would still apply. */
67845 char $ac_func ();
67846 /* The GNU C library defines this for functions which it implements
67847 to always fail with ENOSYS. Some functions are actually named
67848 something starting with __ and the normal name is an alias. */
67849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67850 choke me
67851 #else
67852 char (*f) () = $ac_func;
67853 #endif
67854 #ifdef __cplusplus
67856 #endif
67859 main ()
67861 return f != $ac_func;
67863 return 0;
67865 _ACEOF
67866 rm -f conftest.$ac_objext conftest$ac_exeext
67867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67868 (eval $ac_link) 2>conftest.er1
67869 ac_status=$?
67870 grep -v '^ *+' conftest.er1 >conftest.err
67871 rm -f conftest.er1
67872 cat conftest.err >&5
67873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67874 (exit $ac_status); } &&
67875 { ac_try='test -z "$ac_c_werror_flag"
67876 || test ! -s conftest.err'
67877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67878 (eval $ac_try) 2>&5
67879 ac_status=$?
67880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67881 (exit $ac_status); }; } &&
67882 { ac_try='test -s conftest$ac_exeext'
67883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67884 (eval $ac_try) 2>&5
67885 ac_status=$?
67886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67887 (exit $ac_status); }; }; then
67888 eval "$as_ac_var=yes"
67889 else
67890 echo "$as_me: failed program was:" >&5
67891 sed 's/^/| /' conftest.$ac_ext >&5
67893 eval "$as_ac_var=no"
67895 rm -f conftest.err conftest.$ac_objext \
67896 conftest$ac_exeext conftest.$ac_ext
67898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67900 if test `eval echo '${'$as_ac_var'}'` = yes; then
67901 cat >>confdefs.h <<_ACEOF
67902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67903 _ACEOF
67906 done
67916 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
67917 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
67918 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
67919 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
67920 echo $ECHO_N "(cached) $ECHO_C" >&6
67921 else
67925 ac_ext=cc
67926 ac_cpp='$CXXCPP $CPPFLAGS'
67927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67931 cat >conftest.$ac_ext <<_ACEOF
67932 /* confdefs.h. */
67933 _ACEOF
67934 cat confdefs.h >>conftest.$ac_ext
67935 cat >>conftest.$ac_ext <<_ACEOF
67936 /* end confdefs.h. */
67937 #include <math.h>
67939 main ()
67941 hypotl(0, 0);
67943 return 0;
67945 _ACEOF
67946 rm -f conftest.$ac_objext
67947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67948 (eval $ac_compile) 2>conftest.er1
67949 ac_status=$?
67950 grep -v '^ *+' conftest.er1 >conftest.err
67951 rm -f conftest.er1
67952 cat conftest.err >&5
67953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67954 (exit $ac_status); } &&
67955 { ac_try='test -z "$ac_cxx_werror_flag"
67956 || test ! -s conftest.err'
67957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67958 (eval $ac_try) 2>&5
67959 ac_status=$?
67960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67961 (exit $ac_status); }; } &&
67962 { ac_try='test -s conftest.$ac_objext'
67963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67964 (eval $ac_try) 2>&5
67965 ac_status=$?
67966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67967 (exit $ac_status); }; }; then
67968 glibcxx_cv_func_hypotl_use=yes
67969 else
67970 echo "$as_me: failed program was:" >&5
67971 sed 's/^/| /' conftest.$ac_ext >&5
67973 glibcxx_cv_func_hypotl_use=no
67975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67976 ac_ext=c
67977 ac_cpp='$CPP $CPPFLAGS'
67978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67986 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67987 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67989 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67991 for ac_func in hypotl
67993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67994 echo "$as_me:$LINENO: checking for $ac_func" >&5
67995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67996 if eval "test \"\${$as_ac_var+set}\" = set"; then
67997 echo $ECHO_N "(cached) $ECHO_C" >&6
67998 else
67999 if test x$gcc_no_link = xyes; then
68000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68002 { (exit 1); exit 1; }; }
68004 cat >conftest.$ac_ext <<_ACEOF
68005 /* confdefs.h. */
68006 _ACEOF
68007 cat confdefs.h >>conftest.$ac_ext
68008 cat >>conftest.$ac_ext <<_ACEOF
68009 /* end confdefs.h. */
68010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68012 #define $ac_func innocuous_$ac_func
68014 /* System header to define __stub macros and hopefully few prototypes,
68015 which can conflict with char $ac_func (); below.
68016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68017 <limits.h> exists even on freestanding compilers. */
68019 #ifdef __STDC__
68020 # include <limits.h>
68021 #else
68022 # include <assert.h>
68023 #endif
68025 #undef $ac_func
68027 /* Override any gcc2 internal prototype to avoid an error. */
68028 #ifdef __cplusplus
68029 extern "C"
68031 #endif
68032 /* We use char because int might match the return type of a gcc2
68033 builtin and then its argument prototype would still apply. */
68034 char $ac_func ();
68035 /* The GNU C library defines this for functions which it implements
68036 to always fail with ENOSYS. Some functions are actually named
68037 something starting with __ and the normal name is an alias. */
68038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68039 choke me
68040 #else
68041 char (*f) () = $ac_func;
68042 #endif
68043 #ifdef __cplusplus
68045 #endif
68048 main ()
68050 return f != $ac_func;
68052 return 0;
68054 _ACEOF
68055 rm -f conftest.$ac_objext conftest$ac_exeext
68056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68057 (eval $ac_link) 2>conftest.er1
68058 ac_status=$?
68059 grep -v '^ *+' conftest.er1 >conftest.err
68060 rm -f conftest.er1
68061 cat conftest.err >&5
68062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68063 (exit $ac_status); } &&
68064 { ac_try='test -z "$ac_c_werror_flag"
68065 || test ! -s conftest.err'
68066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68067 (eval $ac_try) 2>&5
68068 ac_status=$?
68069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68070 (exit $ac_status); }; } &&
68071 { ac_try='test -s conftest$ac_exeext'
68072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68073 (eval $ac_try) 2>&5
68074 ac_status=$?
68075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68076 (exit $ac_status); }; }; then
68077 eval "$as_ac_var=yes"
68078 else
68079 echo "$as_me: failed program was:" >&5
68080 sed 's/^/| /' conftest.$ac_ext >&5
68082 eval "$as_ac_var=no"
68084 rm -f conftest.err conftest.$ac_objext \
68085 conftest$ac_exeext conftest.$ac_ext
68087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68089 if test `eval echo '${'$as_ac_var'}'` = yes; then
68090 cat >>confdefs.h <<_ACEOF
68091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68092 _ACEOF
68095 done
68097 else
68099 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68100 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68101 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68102 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68103 echo $ECHO_N "(cached) $ECHO_C" >&6
68104 else
68108 ac_ext=cc
68109 ac_cpp='$CXXCPP $CPPFLAGS'
68110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68114 cat >conftest.$ac_ext <<_ACEOF
68115 /* confdefs.h. */
68116 _ACEOF
68117 cat confdefs.h >>conftest.$ac_ext
68118 cat >>conftest.$ac_ext <<_ACEOF
68119 /* end confdefs.h. */
68120 #include <math.h>
68122 main ()
68124 _hypotl(0, 0);
68126 return 0;
68128 _ACEOF
68129 rm -f conftest.$ac_objext
68130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68131 (eval $ac_compile) 2>conftest.er1
68132 ac_status=$?
68133 grep -v '^ *+' conftest.er1 >conftest.err
68134 rm -f conftest.er1
68135 cat conftest.err >&5
68136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68137 (exit $ac_status); } &&
68138 { ac_try='test -z "$ac_cxx_werror_flag"
68139 || test ! -s conftest.err'
68140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68141 (eval $ac_try) 2>&5
68142 ac_status=$?
68143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68144 (exit $ac_status); }; } &&
68145 { ac_try='test -s conftest.$ac_objext'
68146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68147 (eval $ac_try) 2>&5
68148 ac_status=$?
68149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68150 (exit $ac_status); }; }; then
68151 glibcxx_cv_func__hypotl_use=yes
68152 else
68153 echo "$as_me: failed program was:" >&5
68154 sed 's/^/| /' conftest.$ac_ext >&5
68156 glibcxx_cv_func__hypotl_use=no
68158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68159 ac_ext=c
68160 ac_cpp='$CPP $CPPFLAGS'
68161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68169 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68170 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68172 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68174 for ac_func in _hypotl
68176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68177 echo "$as_me:$LINENO: checking for $ac_func" >&5
68178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68179 if eval "test \"\${$as_ac_var+set}\" = set"; then
68180 echo $ECHO_N "(cached) $ECHO_C" >&6
68181 else
68182 if test x$gcc_no_link = xyes; then
68183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68185 { (exit 1); exit 1; }; }
68187 cat >conftest.$ac_ext <<_ACEOF
68188 /* confdefs.h. */
68189 _ACEOF
68190 cat confdefs.h >>conftest.$ac_ext
68191 cat >>conftest.$ac_ext <<_ACEOF
68192 /* end confdefs.h. */
68193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68195 #define $ac_func innocuous_$ac_func
68197 /* System header to define __stub macros and hopefully few prototypes,
68198 which can conflict with char $ac_func (); below.
68199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68200 <limits.h> exists even on freestanding compilers. */
68202 #ifdef __STDC__
68203 # include <limits.h>
68204 #else
68205 # include <assert.h>
68206 #endif
68208 #undef $ac_func
68210 /* Override any gcc2 internal prototype to avoid an error. */
68211 #ifdef __cplusplus
68212 extern "C"
68214 #endif
68215 /* We use char because int might match the return type of a gcc2
68216 builtin and then its argument prototype would still apply. */
68217 char $ac_func ();
68218 /* The GNU C library defines this for functions which it implements
68219 to always fail with ENOSYS. Some functions are actually named
68220 something starting with __ and the normal name is an alias. */
68221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68222 choke me
68223 #else
68224 char (*f) () = $ac_func;
68225 #endif
68226 #ifdef __cplusplus
68228 #endif
68231 main ()
68233 return f != $ac_func;
68235 return 0;
68237 _ACEOF
68238 rm -f conftest.$ac_objext conftest$ac_exeext
68239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68240 (eval $ac_link) 2>conftest.er1
68241 ac_status=$?
68242 grep -v '^ *+' conftest.er1 >conftest.err
68243 rm -f conftest.er1
68244 cat conftest.err >&5
68245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68246 (exit $ac_status); } &&
68247 { ac_try='test -z "$ac_c_werror_flag"
68248 || test ! -s conftest.err'
68249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68250 (eval $ac_try) 2>&5
68251 ac_status=$?
68252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68253 (exit $ac_status); }; } &&
68254 { ac_try='test -s conftest$ac_exeext'
68255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68256 (eval $ac_try) 2>&5
68257 ac_status=$?
68258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68259 (exit $ac_status); }; }; then
68260 eval "$as_ac_var=yes"
68261 else
68262 echo "$as_me: failed program was:" >&5
68263 sed 's/^/| /' conftest.$ac_ext >&5
68265 eval "$as_ac_var=no"
68267 rm -f conftest.err conftest.$ac_objext \
68268 conftest$ac_exeext conftest.$ac_ext
68270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68272 if test `eval echo '${'$as_ac_var'}'` = yes; then
68273 cat >>confdefs.h <<_ACEOF
68274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68275 _ACEOF
68278 done
68288 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68289 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68290 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68291 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68292 echo $ECHO_N "(cached) $ECHO_C" >&6
68293 else
68297 ac_ext=cc
68298 ac_cpp='$CXXCPP $CPPFLAGS'
68299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68303 cat >conftest.$ac_ext <<_ACEOF
68304 /* confdefs.h. */
68305 _ACEOF
68306 cat confdefs.h >>conftest.$ac_ext
68307 cat >>conftest.$ac_ext <<_ACEOF
68308 /* end confdefs.h. */
68309 #include <math.h>
68311 main ()
68313 ldexpl(0, 0);
68315 return 0;
68317 _ACEOF
68318 rm -f conftest.$ac_objext
68319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68320 (eval $ac_compile) 2>conftest.er1
68321 ac_status=$?
68322 grep -v '^ *+' conftest.er1 >conftest.err
68323 rm -f conftest.er1
68324 cat conftest.err >&5
68325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68326 (exit $ac_status); } &&
68327 { ac_try='test -z "$ac_cxx_werror_flag"
68328 || test ! -s conftest.err'
68329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68330 (eval $ac_try) 2>&5
68331 ac_status=$?
68332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68333 (exit $ac_status); }; } &&
68334 { ac_try='test -s conftest.$ac_objext'
68335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68336 (eval $ac_try) 2>&5
68337 ac_status=$?
68338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68339 (exit $ac_status); }; }; then
68340 glibcxx_cv_func_ldexpl_use=yes
68341 else
68342 echo "$as_me: failed program was:" >&5
68343 sed 's/^/| /' conftest.$ac_ext >&5
68345 glibcxx_cv_func_ldexpl_use=no
68347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68348 ac_ext=c
68349 ac_cpp='$CPP $CPPFLAGS'
68350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68358 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68359 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68361 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68363 for ac_func in ldexpl
68365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68366 echo "$as_me:$LINENO: checking for $ac_func" >&5
68367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68368 if eval "test \"\${$as_ac_var+set}\" = set"; then
68369 echo $ECHO_N "(cached) $ECHO_C" >&6
68370 else
68371 if test x$gcc_no_link = xyes; then
68372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68374 { (exit 1); exit 1; }; }
68376 cat >conftest.$ac_ext <<_ACEOF
68377 /* confdefs.h. */
68378 _ACEOF
68379 cat confdefs.h >>conftest.$ac_ext
68380 cat >>conftest.$ac_ext <<_ACEOF
68381 /* end confdefs.h. */
68382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68384 #define $ac_func innocuous_$ac_func
68386 /* System header to define __stub macros and hopefully few prototypes,
68387 which can conflict with char $ac_func (); below.
68388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68389 <limits.h> exists even on freestanding compilers. */
68391 #ifdef __STDC__
68392 # include <limits.h>
68393 #else
68394 # include <assert.h>
68395 #endif
68397 #undef $ac_func
68399 /* Override any gcc2 internal prototype to avoid an error. */
68400 #ifdef __cplusplus
68401 extern "C"
68403 #endif
68404 /* We use char because int might match the return type of a gcc2
68405 builtin and then its argument prototype would still apply. */
68406 char $ac_func ();
68407 /* The GNU C library defines this for functions which it implements
68408 to always fail with ENOSYS. Some functions are actually named
68409 something starting with __ and the normal name is an alias. */
68410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68411 choke me
68412 #else
68413 char (*f) () = $ac_func;
68414 #endif
68415 #ifdef __cplusplus
68417 #endif
68420 main ()
68422 return f != $ac_func;
68424 return 0;
68426 _ACEOF
68427 rm -f conftest.$ac_objext conftest$ac_exeext
68428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68429 (eval $ac_link) 2>conftest.er1
68430 ac_status=$?
68431 grep -v '^ *+' conftest.er1 >conftest.err
68432 rm -f conftest.er1
68433 cat conftest.err >&5
68434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68435 (exit $ac_status); } &&
68436 { ac_try='test -z "$ac_c_werror_flag"
68437 || test ! -s conftest.err'
68438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68439 (eval $ac_try) 2>&5
68440 ac_status=$?
68441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68442 (exit $ac_status); }; } &&
68443 { ac_try='test -s conftest$ac_exeext'
68444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68445 (eval $ac_try) 2>&5
68446 ac_status=$?
68447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68448 (exit $ac_status); }; }; then
68449 eval "$as_ac_var=yes"
68450 else
68451 echo "$as_me: failed program was:" >&5
68452 sed 's/^/| /' conftest.$ac_ext >&5
68454 eval "$as_ac_var=no"
68456 rm -f conftest.err conftest.$ac_objext \
68457 conftest$ac_exeext conftest.$ac_ext
68459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68461 if test `eval echo '${'$as_ac_var'}'` = yes; then
68462 cat >>confdefs.h <<_ACEOF
68463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68464 _ACEOF
68467 done
68469 else
68471 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68472 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68473 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68474 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68475 echo $ECHO_N "(cached) $ECHO_C" >&6
68476 else
68480 ac_ext=cc
68481 ac_cpp='$CXXCPP $CPPFLAGS'
68482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68486 cat >conftest.$ac_ext <<_ACEOF
68487 /* confdefs.h. */
68488 _ACEOF
68489 cat confdefs.h >>conftest.$ac_ext
68490 cat >>conftest.$ac_ext <<_ACEOF
68491 /* end confdefs.h. */
68492 #include <math.h>
68494 main ()
68496 _ldexpl(0, 0);
68498 return 0;
68500 _ACEOF
68501 rm -f conftest.$ac_objext
68502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68503 (eval $ac_compile) 2>conftest.er1
68504 ac_status=$?
68505 grep -v '^ *+' conftest.er1 >conftest.err
68506 rm -f conftest.er1
68507 cat conftest.err >&5
68508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68509 (exit $ac_status); } &&
68510 { ac_try='test -z "$ac_cxx_werror_flag"
68511 || test ! -s conftest.err'
68512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68513 (eval $ac_try) 2>&5
68514 ac_status=$?
68515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68516 (exit $ac_status); }; } &&
68517 { ac_try='test -s conftest.$ac_objext'
68518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68519 (eval $ac_try) 2>&5
68520 ac_status=$?
68521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68522 (exit $ac_status); }; }; then
68523 glibcxx_cv_func__ldexpl_use=yes
68524 else
68525 echo "$as_me: failed program was:" >&5
68526 sed 's/^/| /' conftest.$ac_ext >&5
68528 glibcxx_cv_func__ldexpl_use=no
68530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68531 ac_ext=c
68532 ac_cpp='$CPP $CPPFLAGS'
68533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68541 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
68542 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
68544 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68546 for ac_func in _ldexpl
68548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68549 echo "$as_me:$LINENO: checking for $ac_func" >&5
68550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68551 if eval "test \"\${$as_ac_var+set}\" = set"; then
68552 echo $ECHO_N "(cached) $ECHO_C" >&6
68553 else
68554 if test x$gcc_no_link = xyes; then
68555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68557 { (exit 1); exit 1; }; }
68559 cat >conftest.$ac_ext <<_ACEOF
68560 /* confdefs.h. */
68561 _ACEOF
68562 cat confdefs.h >>conftest.$ac_ext
68563 cat >>conftest.$ac_ext <<_ACEOF
68564 /* end confdefs.h. */
68565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68567 #define $ac_func innocuous_$ac_func
68569 /* System header to define __stub macros and hopefully few prototypes,
68570 which can conflict with char $ac_func (); below.
68571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68572 <limits.h> exists even on freestanding compilers. */
68574 #ifdef __STDC__
68575 # include <limits.h>
68576 #else
68577 # include <assert.h>
68578 #endif
68580 #undef $ac_func
68582 /* Override any gcc2 internal prototype to avoid an error. */
68583 #ifdef __cplusplus
68584 extern "C"
68586 #endif
68587 /* We use char because int might match the return type of a gcc2
68588 builtin and then its argument prototype would still apply. */
68589 char $ac_func ();
68590 /* The GNU C library defines this for functions which it implements
68591 to always fail with ENOSYS. Some functions are actually named
68592 something starting with __ and the normal name is an alias. */
68593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68594 choke me
68595 #else
68596 char (*f) () = $ac_func;
68597 #endif
68598 #ifdef __cplusplus
68600 #endif
68603 main ()
68605 return f != $ac_func;
68607 return 0;
68609 _ACEOF
68610 rm -f conftest.$ac_objext conftest$ac_exeext
68611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68612 (eval $ac_link) 2>conftest.er1
68613 ac_status=$?
68614 grep -v '^ *+' conftest.er1 >conftest.err
68615 rm -f conftest.er1
68616 cat conftest.err >&5
68617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68618 (exit $ac_status); } &&
68619 { ac_try='test -z "$ac_c_werror_flag"
68620 || test ! -s conftest.err'
68621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68622 (eval $ac_try) 2>&5
68623 ac_status=$?
68624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68625 (exit $ac_status); }; } &&
68626 { ac_try='test -s conftest$ac_exeext'
68627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68628 (eval $ac_try) 2>&5
68629 ac_status=$?
68630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68631 (exit $ac_status); }; }; then
68632 eval "$as_ac_var=yes"
68633 else
68634 echo "$as_me: failed program was:" >&5
68635 sed 's/^/| /' conftest.$ac_ext >&5
68637 eval "$as_ac_var=no"
68639 rm -f conftest.err conftest.$ac_objext \
68640 conftest$ac_exeext conftest.$ac_ext
68642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68644 if test `eval echo '${'$as_ac_var'}'` = yes; then
68645 cat >>confdefs.h <<_ACEOF
68646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68647 _ACEOF
68650 done
68660 echo "$as_me:$LINENO: checking for logl declaration" >&5
68661 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
68662 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68663 if test "${glibcxx_cv_func_logl_use+set}" = set; then
68664 echo $ECHO_N "(cached) $ECHO_C" >&6
68665 else
68669 ac_ext=cc
68670 ac_cpp='$CXXCPP $CPPFLAGS'
68671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68675 cat >conftest.$ac_ext <<_ACEOF
68676 /* confdefs.h. */
68677 _ACEOF
68678 cat confdefs.h >>conftest.$ac_ext
68679 cat >>conftest.$ac_ext <<_ACEOF
68680 /* end confdefs.h. */
68681 #include <math.h>
68682 #ifdef HAVE_IEEEFP_H
68683 #include <ieeefp.h>
68684 #endif
68687 main ()
68689 logl(0);
68691 return 0;
68693 _ACEOF
68694 rm -f conftest.$ac_objext
68695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68696 (eval $ac_compile) 2>conftest.er1
68697 ac_status=$?
68698 grep -v '^ *+' conftest.er1 >conftest.err
68699 rm -f conftest.er1
68700 cat conftest.err >&5
68701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68702 (exit $ac_status); } &&
68703 { ac_try='test -z "$ac_cxx_werror_flag"
68704 || test ! -s conftest.err'
68705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68706 (eval $ac_try) 2>&5
68707 ac_status=$?
68708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68709 (exit $ac_status); }; } &&
68710 { ac_try='test -s conftest.$ac_objext'
68711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68712 (eval $ac_try) 2>&5
68713 ac_status=$?
68714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68715 (exit $ac_status); }; }; then
68716 glibcxx_cv_func_logl_use=yes
68717 else
68718 echo "$as_me: failed program was:" >&5
68719 sed 's/^/| /' conftest.$ac_ext >&5
68721 glibcxx_cv_func_logl_use=no
68723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68724 ac_ext=c
68725 ac_cpp='$CPP $CPPFLAGS'
68726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68734 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
68735 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
68737 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68739 for ac_func in logl
68741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68742 echo "$as_me:$LINENO: checking for $ac_func" >&5
68743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68744 if eval "test \"\${$as_ac_var+set}\" = set"; then
68745 echo $ECHO_N "(cached) $ECHO_C" >&6
68746 else
68747 if test x$gcc_no_link = xyes; then
68748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68750 { (exit 1); exit 1; }; }
68752 cat >conftest.$ac_ext <<_ACEOF
68753 /* confdefs.h. */
68754 _ACEOF
68755 cat confdefs.h >>conftest.$ac_ext
68756 cat >>conftest.$ac_ext <<_ACEOF
68757 /* end confdefs.h. */
68758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68760 #define $ac_func innocuous_$ac_func
68762 /* System header to define __stub macros and hopefully few prototypes,
68763 which can conflict with char $ac_func (); below.
68764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68765 <limits.h> exists even on freestanding compilers. */
68767 #ifdef __STDC__
68768 # include <limits.h>
68769 #else
68770 # include <assert.h>
68771 #endif
68773 #undef $ac_func
68775 /* Override any gcc2 internal prototype to avoid an error. */
68776 #ifdef __cplusplus
68777 extern "C"
68779 #endif
68780 /* We use char because int might match the return type of a gcc2
68781 builtin and then its argument prototype would still apply. */
68782 char $ac_func ();
68783 /* The GNU C library defines this for functions which it implements
68784 to always fail with ENOSYS. Some functions are actually named
68785 something starting with __ and the normal name is an alias. */
68786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68787 choke me
68788 #else
68789 char (*f) () = $ac_func;
68790 #endif
68791 #ifdef __cplusplus
68793 #endif
68796 main ()
68798 return f != $ac_func;
68800 return 0;
68802 _ACEOF
68803 rm -f conftest.$ac_objext conftest$ac_exeext
68804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68805 (eval $ac_link) 2>conftest.er1
68806 ac_status=$?
68807 grep -v '^ *+' conftest.er1 >conftest.err
68808 rm -f conftest.er1
68809 cat conftest.err >&5
68810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68811 (exit $ac_status); } &&
68812 { ac_try='test -z "$ac_c_werror_flag"
68813 || test ! -s conftest.err'
68814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68815 (eval $ac_try) 2>&5
68816 ac_status=$?
68817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68818 (exit $ac_status); }; } &&
68819 { ac_try='test -s conftest$ac_exeext'
68820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68821 (eval $ac_try) 2>&5
68822 ac_status=$?
68823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68824 (exit $ac_status); }; }; then
68825 eval "$as_ac_var=yes"
68826 else
68827 echo "$as_me: failed program was:" >&5
68828 sed 's/^/| /' conftest.$ac_ext >&5
68830 eval "$as_ac_var=no"
68832 rm -f conftest.err conftest.$ac_objext \
68833 conftest$ac_exeext conftest.$ac_ext
68835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68837 if test `eval echo '${'$as_ac_var'}'` = yes; then
68838 cat >>confdefs.h <<_ACEOF
68839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68840 _ACEOF
68843 done
68845 else
68847 echo "$as_me:$LINENO: checking for _logl declaration" >&5
68848 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
68849 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68850 if test "${glibcxx_cv_func__logl_use+set}" = set; then
68851 echo $ECHO_N "(cached) $ECHO_C" >&6
68852 else
68856 ac_ext=cc
68857 ac_cpp='$CXXCPP $CPPFLAGS'
68858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68862 cat >conftest.$ac_ext <<_ACEOF
68863 /* confdefs.h. */
68864 _ACEOF
68865 cat confdefs.h >>conftest.$ac_ext
68866 cat >>conftest.$ac_ext <<_ACEOF
68867 /* end confdefs.h. */
68868 #include <math.h>
68869 #ifdef HAVE_IEEEFP_H
68870 #include <ieeefp.h>
68871 #endif
68874 main ()
68876 _logl(0);
68878 return 0;
68880 _ACEOF
68881 rm -f conftest.$ac_objext
68882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68883 (eval $ac_compile) 2>conftest.er1
68884 ac_status=$?
68885 grep -v '^ *+' conftest.er1 >conftest.err
68886 rm -f conftest.er1
68887 cat conftest.err >&5
68888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68889 (exit $ac_status); } &&
68890 { ac_try='test -z "$ac_cxx_werror_flag"
68891 || test ! -s conftest.err'
68892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68893 (eval $ac_try) 2>&5
68894 ac_status=$?
68895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68896 (exit $ac_status); }; } &&
68897 { ac_try='test -s conftest.$ac_objext'
68898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68899 (eval $ac_try) 2>&5
68900 ac_status=$?
68901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68902 (exit $ac_status); }; }; then
68903 glibcxx_cv_func__logl_use=yes
68904 else
68905 echo "$as_me: failed program was:" >&5
68906 sed 's/^/| /' conftest.$ac_ext >&5
68908 glibcxx_cv_func__logl_use=no
68910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68911 ac_ext=c
68912 ac_cpp='$CPP $CPPFLAGS'
68913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68921 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
68922 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
68924 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68926 for ac_func in _logl
68928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68929 echo "$as_me:$LINENO: checking for $ac_func" >&5
68930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68931 if eval "test \"\${$as_ac_var+set}\" = set"; then
68932 echo $ECHO_N "(cached) $ECHO_C" >&6
68933 else
68934 if test x$gcc_no_link = xyes; then
68935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68937 { (exit 1); exit 1; }; }
68939 cat >conftest.$ac_ext <<_ACEOF
68940 /* confdefs.h. */
68941 _ACEOF
68942 cat confdefs.h >>conftest.$ac_ext
68943 cat >>conftest.$ac_ext <<_ACEOF
68944 /* end confdefs.h. */
68945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68947 #define $ac_func innocuous_$ac_func
68949 /* System header to define __stub macros and hopefully few prototypes,
68950 which can conflict with char $ac_func (); below.
68951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68952 <limits.h> exists even on freestanding compilers. */
68954 #ifdef __STDC__
68955 # include <limits.h>
68956 #else
68957 # include <assert.h>
68958 #endif
68960 #undef $ac_func
68962 /* Override any gcc2 internal prototype to avoid an error. */
68963 #ifdef __cplusplus
68964 extern "C"
68966 #endif
68967 /* We use char because int might match the return type of a gcc2
68968 builtin and then its argument prototype would still apply. */
68969 char $ac_func ();
68970 /* The GNU C library defines this for functions which it implements
68971 to always fail with ENOSYS. Some functions are actually named
68972 something starting with __ and the normal name is an alias. */
68973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68974 choke me
68975 #else
68976 char (*f) () = $ac_func;
68977 #endif
68978 #ifdef __cplusplus
68980 #endif
68983 main ()
68985 return f != $ac_func;
68987 return 0;
68989 _ACEOF
68990 rm -f conftest.$ac_objext conftest$ac_exeext
68991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68992 (eval $ac_link) 2>conftest.er1
68993 ac_status=$?
68994 grep -v '^ *+' conftest.er1 >conftest.err
68995 rm -f conftest.er1
68996 cat conftest.err >&5
68997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68998 (exit $ac_status); } &&
68999 { ac_try='test -z "$ac_c_werror_flag"
69000 || test ! -s conftest.err'
69001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69002 (eval $ac_try) 2>&5
69003 ac_status=$?
69004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69005 (exit $ac_status); }; } &&
69006 { ac_try='test -s conftest$ac_exeext'
69007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69008 (eval $ac_try) 2>&5
69009 ac_status=$?
69010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69011 (exit $ac_status); }; }; then
69012 eval "$as_ac_var=yes"
69013 else
69014 echo "$as_me: failed program was:" >&5
69015 sed 's/^/| /' conftest.$ac_ext >&5
69017 eval "$as_ac_var=no"
69019 rm -f conftest.err conftest.$ac_objext \
69020 conftest$ac_exeext conftest.$ac_ext
69022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69024 if test `eval echo '${'$as_ac_var'}'` = yes; then
69025 cat >>confdefs.h <<_ACEOF
69026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69027 _ACEOF
69030 done
69040 echo "$as_me:$LINENO: checking for log10l declaration" >&5
69041 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69042 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69043 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69044 echo $ECHO_N "(cached) $ECHO_C" >&6
69045 else
69049 ac_ext=cc
69050 ac_cpp='$CXXCPP $CPPFLAGS'
69051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69055 cat >conftest.$ac_ext <<_ACEOF
69056 /* confdefs.h. */
69057 _ACEOF
69058 cat confdefs.h >>conftest.$ac_ext
69059 cat >>conftest.$ac_ext <<_ACEOF
69060 /* end confdefs.h. */
69061 #include <math.h>
69062 #ifdef HAVE_IEEEFP_H
69063 #include <ieeefp.h>
69064 #endif
69067 main ()
69069 log10l(0);
69071 return 0;
69073 _ACEOF
69074 rm -f conftest.$ac_objext
69075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69076 (eval $ac_compile) 2>conftest.er1
69077 ac_status=$?
69078 grep -v '^ *+' conftest.er1 >conftest.err
69079 rm -f conftest.er1
69080 cat conftest.err >&5
69081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69082 (exit $ac_status); } &&
69083 { ac_try='test -z "$ac_cxx_werror_flag"
69084 || test ! -s conftest.err'
69085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69086 (eval $ac_try) 2>&5
69087 ac_status=$?
69088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69089 (exit $ac_status); }; } &&
69090 { ac_try='test -s conftest.$ac_objext'
69091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69092 (eval $ac_try) 2>&5
69093 ac_status=$?
69094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69095 (exit $ac_status); }; }; then
69096 glibcxx_cv_func_log10l_use=yes
69097 else
69098 echo "$as_me: failed program was:" >&5
69099 sed 's/^/| /' conftest.$ac_ext >&5
69101 glibcxx_cv_func_log10l_use=no
69103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69104 ac_ext=c
69105 ac_cpp='$CPP $CPPFLAGS'
69106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69114 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69115 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69117 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69119 for ac_func in log10l
69121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69122 echo "$as_me:$LINENO: checking for $ac_func" >&5
69123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69124 if eval "test \"\${$as_ac_var+set}\" = set"; then
69125 echo $ECHO_N "(cached) $ECHO_C" >&6
69126 else
69127 if test x$gcc_no_link = xyes; then
69128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69130 { (exit 1); exit 1; }; }
69132 cat >conftest.$ac_ext <<_ACEOF
69133 /* confdefs.h. */
69134 _ACEOF
69135 cat confdefs.h >>conftest.$ac_ext
69136 cat >>conftest.$ac_ext <<_ACEOF
69137 /* end confdefs.h. */
69138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69140 #define $ac_func innocuous_$ac_func
69142 /* System header to define __stub macros and hopefully few prototypes,
69143 which can conflict with char $ac_func (); below.
69144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69145 <limits.h> exists even on freestanding compilers. */
69147 #ifdef __STDC__
69148 # include <limits.h>
69149 #else
69150 # include <assert.h>
69151 #endif
69153 #undef $ac_func
69155 /* Override any gcc2 internal prototype to avoid an error. */
69156 #ifdef __cplusplus
69157 extern "C"
69159 #endif
69160 /* We use char because int might match the return type of a gcc2
69161 builtin and then its argument prototype would still apply. */
69162 char $ac_func ();
69163 /* The GNU C library defines this for functions which it implements
69164 to always fail with ENOSYS. Some functions are actually named
69165 something starting with __ and the normal name is an alias. */
69166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69167 choke me
69168 #else
69169 char (*f) () = $ac_func;
69170 #endif
69171 #ifdef __cplusplus
69173 #endif
69176 main ()
69178 return f != $ac_func;
69180 return 0;
69182 _ACEOF
69183 rm -f conftest.$ac_objext conftest$ac_exeext
69184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69185 (eval $ac_link) 2>conftest.er1
69186 ac_status=$?
69187 grep -v '^ *+' conftest.er1 >conftest.err
69188 rm -f conftest.er1
69189 cat conftest.err >&5
69190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69191 (exit $ac_status); } &&
69192 { ac_try='test -z "$ac_c_werror_flag"
69193 || test ! -s conftest.err'
69194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69195 (eval $ac_try) 2>&5
69196 ac_status=$?
69197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69198 (exit $ac_status); }; } &&
69199 { ac_try='test -s conftest$ac_exeext'
69200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69201 (eval $ac_try) 2>&5
69202 ac_status=$?
69203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69204 (exit $ac_status); }; }; then
69205 eval "$as_ac_var=yes"
69206 else
69207 echo "$as_me: failed program was:" >&5
69208 sed 's/^/| /' conftest.$ac_ext >&5
69210 eval "$as_ac_var=no"
69212 rm -f conftest.err conftest.$ac_objext \
69213 conftest$ac_exeext conftest.$ac_ext
69215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69217 if test `eval echo '${'$as_ac_var'}'` = yes; then
69218 cat >>confdefs.h <<_ACEOF
69219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69220 _ACEOF
69223 done
69225 else
69227 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69228 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69229 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69230 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69231 echo $ECHO_N "(cached) $ECHO_C" >&6
69232 else
69236 ac_ext=cc
69237 ac_cpp='$CXXCPP $CPPFLAGS'
69238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69242 cat >conftest.$ac_ext <<_ACEOF
69243 /* confdefs.h. */
69244 _ACEOF
69245 cat confdefs.h >>conftest.$ac_ext
69246 cat >>conftest.$ac_ext <<_ACEOF
69247 /* end confdefs.h. */
69248 #include <math.h>
69249 #ifdef HAVE_IEEEFP_H
69250 #include <ieeefp.h>
69251 #endif
69254 main ()
69256 _log10l(0);
69258 return 0;
69260 _ACEOF
69261 rm -f conftest.$ac_objext
69262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69263 (eval $ac_compile) 2>conftest.er1
69264 ac_status=$?
69265 grep -v '^ *+' conftest.er1 >conftest.err
69266 rm -f conftest.er1
69267 cat conftest.err >&5
69268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69269 (exit $ac_status); } &&
69270 { ac_try='test -z "$ac_cxx_werror_flag"
69271 || test ! -s conftest.err'
69272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69273 (eval $ac_try) 2>&5
69274 ac_status=$?
69275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69276 (exit $ac_status); }; } &&
69277 { ac_try='test -s conftest.$ac_objext'
69278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69279 (eval $ac_try) 2>&5
69280 ac_status=$?
69281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69282 (exit $ac_status); }; }; then
69283 glibcxx_cv_func__log10l_use=yes
69284 else
69285 echo "$as_me: failed program was:" >&5
69286 sed 's/^/| /' conftest.$ac_ext >&5
69288 glibcxx_cv_func__log10l_use=no
69290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69291 ac_ext=c
69292 ac_cpp='$CPP $CPPFLAGS'
69293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69302 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69304 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69306 for ac_func in _log10l
69308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69309 echo "$as_me:$LINENO: checking for $ac_func" >&5
69310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69311 if eval "test \"\${$as_ac_var+set}\" = set"; then
69312 echo $ECHO_N "(cached) $ECHO_C" >&6
69313 else
69314 if test x$gcc_no_link = xyes; then
69315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69317 { (exit 1); exit 1; }; }
69319 cat >conftest.$ac_ext <<_ACEOF
69320 /* confdefs.h. */
69321 _ACEOF
69322 cat confdefs.h >>conftest.$ac_ext
69323 cat >>conftest.$ac_ext <<_ACEOF
69324 /* end confdefs.h. */
69325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69327 #define $ac_func innocuous_$ac_func
69329 /* System header to define __stub macros and hopefully few prototypes,
69330 which can conflict with char $ac_func (); below.
69331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69332 <limits.h> exists even on freestanding compilers. */
69334 #ifdef __STDC__
69335 # include <limits.h>
69336 #else
69337 # include <assert.h>
69338 #endif
69340 #undef $ac_func
69342 /* Override any gcc2 internal prototype to avoid an error. */
69343 #ifdef __cplusplus
69344 extern "C"
69346 #endif
69347 /* We use char because int might match the return type of a gcc2
69348 builtin and then its argument prototype would still apply. */
69349 char $ac_func ();
69350 /* The GNU C library defines this for functions which it implements
69351 to always fail with ENOSYS. Some functions are actually named
69352 something starting with __ and the normal name is an alias. */
69353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69354 choke me
69355 #else
69356 char (*f) () = $ac_func;
69357 #endif
69358 #ifdef __cplusplus
69360 #endif
69363 main ()
69365 return f != $ac_func;
69367 return 0;
69369 _ACEOF
69370 rm -f conftest.$ac_objext conftest$ac_exeext
69371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69372 (eval $ac_link) 2>conftest.er1
69373 ac_status=$?
69374 grep -v '^ *+' conftest.er1 >conftest.err
69375 rm -f conftest.er1
69376 cat conftest.err >&5
69377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69378 (exit $ac_status); } &&
69379 { ac_try='test -z "$ac_c_werror_flag"
69380 || test ! -s conftest.err'
69381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69382 (eval $ac_try) 2>&5
69383 ac_status=$?
69384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69385 (exit $ac_status); }; } &&
69386 { ac_try='test -s conftest$ac_exeext'
69387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69388 (eval $ac_try) 2>&5
69389 ac_status=$?
69390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69391 (exit $ac_status); }; }; then
69392 eval "$as_ac_var=yes"
69393 else
69394 echo "$as_me: failed program was:" >&5
69395 sed 's/^/| /' conftest.$ac_ext >&5
69397 eval "$as_ac_var=no"
69399 rm -f conftest.err conftest.$ac_objext \
69400 conftest$ac_exeext conftest.$ac_ext
69402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69404 if test `eval echo '${'$as_ac_var'}'` = yes; then
69405 cat >>confdefs.h <<_ACEOF
69406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69407 _ACEOF
69410 done
69420 echo "$as_me:$LINENO: checking for modfl declaration" >&5
69421 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69422 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69423 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69424 echo $ECHO_N "(cached) $ECHO_C" >&6
69425 else
69429 ac_ext=cc
69430 ac_cpp='$CXXCPP $CPPFLAGS'
69431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69435 cat >conftest.$ac_ext <<_ACEOF
69436 /* confdefs.h. */
69437 _ACEOF
69438 cat confdefs.h >>conftest.$ac_ext
69439 cat >>conftest.$ac_ext <<_ACEOF
69440 /* end confdefs.h. */
69441 #include <math.h>
69443 main ()
69445 modfl(0, 0);
69447 return 0;
69449 _ACEOF
69450 rm -f conftest.$ac_objext
69451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69452 (eval $ac_compile) 2>conftest.er1
69453 ac_status=$?
69454 grep -v '^ *+' conftest.er1 >conftest.err
69455 rm -f conftest.er1
69456 cat conftest.err >&5
69457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69458 (exit $ac_status); } &&
69459 { ac_try='test -z "$ac_cxx_werror_flag"
69460 || test ! -s conftest.err'
69461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69462 (eval $ac_try) 2>&5
69463 ac_status=$?
69464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69465 (exit $ac_status); }; } &&
69466 { ac_try='test -s conftest.$ac_objext'
69467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69468 (eval $ac_try) 2>&5
69469 ac_status=$?
69470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69471 (exit $ac_status); }; }; then
69472 glibcxx_cv_func_modfl_use=yes
69473 else
69474 echo "$as_me: failed program was:" >&5
69475 sed 's/^/| /' conftest.$ac_ext >&5
69477 glibcxx_cv_func_modfl_use=no
69479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69480 ac_ext=c
69481 ac_cpp='$CPP $CPPFLAGS'
69482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69491 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69493 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69495 for ac_func in modfl
69497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69498 echo "$as_me:$LINENO: checking for $ac_func" >&5
69499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69500 if eval "test \"\${$as_ac_var+set}\" = set"; then
69501 echo $ECHO_N "(cached) $ECHO_C" >&6
69502 else
69503 if test x$gcc_no_link = xyes; then
69504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69506 { (exit 1); exit 1; }; }
69508 cat >conftest.$ac_ext <<_ACEOF
69509 /* confdefs.h. */
69510 _ACEOF
69511 cat confdefs.h >>conftest.$ac_ext
69512 cat >>conftest.$ac_ext <<_ACEOF
69513 /* end confdefs.h. */
69514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69516 #define $ac_func innocuous_$ac_func
69518 /* System header to define __stub macros and hopefully few prototypes,
69519 which can conflict with char $ac_func (); below.
69520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69521 <limits.h> exists even on freestanding compilers. */
69523 #ifdef __STDC__
69524 # include <limits.h>
69525 #else
69526 # include <assert.h>
69527 #endif
69529 #undef $ac_func
69531 /* Override any gcc2 internal prototype to avoid an error. */
69532 #ifdef __cplusplus
69533 extern "C"
69535 #endif
69536 /* We use char because int might match the return type of a gcc2
69537 builtin and then its argument prototype would still apply. */
69538 char $ac_func ();
69539 /* The GNU C library defines this for functions which it implements
69540 to always fail with ENOSYS. Some functions are actually named
69541 something starting with __ and the normal name is an alias. */
69542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69543 choke me
69544 #else
69545 char (*f) () = $ac_func;
69546 #endif
69547 #ifdef __cplusplus
69549 #endif
69552 main ()
69554 return f != $ac_func;
69556 return 0;
69558 _ACEOF
69559 rm -f conftest.$ac_objext conftest$ac_exeext
69560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69561 (eval $ac_link) 2>conftest.er1
69562 ac_status=$?
69563 grep -v '^ *+' conftest.er1 >conftest.err
69564 rm -f conftest.er1
69565 cat conftest.err >&5
69566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69567 (exit $ac_status); } &&
69568 { ac_try='test -z "$ac_c_werror_flag"
69569 || test ! -s conftest.err'
69570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69571 (eval $ac_try) 2>&5
69572 ac_status=$?
69573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69574 (exit $ac_status); }; } &&
69575 { ac_try='test -s conftest$ac_exeext'
69576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69577 (eval $ac_try) 2>&5
69578 ac_status=$?
69579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69580 (exit $ac_status); }; }; then
69581 eval "$as_ac_var=yes"
69582 else
69583 echo "$as_me: failed program was:" >&5
69584 sed 's/^/| /' conftest.$ac_ext >&5
69586 eval "$as_ac_var=no"
69588 rm -f conftest.err conftest.$ac_objext \
69589 conftest$ac_exeext conftest.$ac_ext
69591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69593 if test `eval echo '${'$as_ac_var'}'` = yes; then
69594 cat >>confdefs.h <<_ACEOF
69595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69596 _ACEOF
69599 done
69601 else
69603 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
69604 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
69605 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69606 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
69607 echo $ECHO_N "(cached) $ECHO_C" >&6
69608 else
69612 ac_ext=cc
69613 ac_cpp='$CXXCPP $CPPFLAGS'
69614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69618 cat >conftest.$ac_ext <<_ACEOF
69619 /* confdefs.h. */
69620 _ACEOF
69621 cat confdefs.h >>conftest.$ac_ext
69622 cat >>conftest.$ac_ext <<_ACEOF
69623 /* end confdefs.h. */
69624 #include <math.h>
69626 main ()
69628 _modfl(0, 0);
69630 return 0;
69632 _ACEOF
69633 rm -f conftest.$ac_objext
69634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69635 (eval $ac_compile) 2>conftest.er1
69636 ac_status=$?
69637 grep -v '^ *+' conftest.er1 >conftest.err
69638 rm -f conftest.er1
69639 cat conftest.err >&5
69640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69641 (exit $ac_status); } &&
69642 { ac_try='test -z "$ac_cxx_werror_flag"
69643 || test ! -s conftest.err'
69644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69645 (eval $ac_try) 2>&5
69646 ac_status=$?
69647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69648 (exit $ac_status); }; } &&
69649 { ac_try='test -s conftest.$ac_objext'
69650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69651 (eval $ac_try) 2>&5
69652 ac_status=$?
69653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69654 (exit $ac_status); }; }; then
69655 glibcxx_cv_func__modfl_use=yes
69656 else
69657 echo "$as_me: failed program was:" >&5
69658 sed 's/^/| /' conftest.$ac_ext >&5
69660 glibcxx_cv_func__modfl_use=no
69662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69663 ac_ext=c
69664 ac_cpp='$CPP $CPPFLAGS'
69665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
69674 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
69676 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69678 for ac_func in _modfl
69680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69681 echo "$as_me:$LINENO: checking for $ac_func" >&5
69682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69683 if eval "test \"\${$as_ac_var+set}\" = set"; then
69684 echo $ECHO_N "(cached) $ECHO_C" >&6
69685 else
69686 if test x$gcc_no_link = xyes; then
69687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69689 { (exit 1); exit 1; }; }
69691 cat >conftest.$ac_ext <<_ACEOF
69692 /* confdefs.h. */
69693 _ACEOF
69694 cat confdefs.h >>conftest.$ac_ext
69695 cat >>conftest.$ac_ext <<_ACEOF
69696 /* end confdefs.h. */
69697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69699 #define $ac_func innocuous_$ac_func
69701 /* System header to define __stub macros and hopefully few prototypes,
69702 which can conflict with char $ac_func (); below.
69703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69704 <limits.h> exists even on freestanding compilers. */
69706 #ifdef __STDC__
69707 # include <limits.h>
69708 #else
69709 # include <assert.h>
69710 #endif
69712 #undef $ac_func
69714 /* Override any gcc2 internal prototype to avoid an error. */
69715 #ifdef __cplusplus
69716 extern "C"
69718 #endif
69719 /* We use char because int might match the return type of a gcc2
69720 builtin and then its argument prototype would still apply. */
69721 char $ac_func ();
69722 /* The GNU C library defines this for functions which it implements
69723 to always fail with ENOSYS. Some functions are actually named
69724 something starting with __ and the normal name is an alias. */
69725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69726 choke me
69727 #else
69728 char (*f) () = $ac_func;
69729 #endif
69730 #ifdef __cplusplus
69732 #endif
69735 main ()
69737 return f != $ac_func;
69739 return 0;
69741 _ACEOF
69742 rm -f conftest.$ac_objext conftest$ac_exeext
69743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69744 (eval $ac_link) 2>conftest.er1
69745 ac_status=$?
69746 grep -v '^ *+' conftest.er1 >conftest.err
69747 rm -f conftest.er1
69748 cat conftest.err >&5
69749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69750 (exit $ac_status); } &&
69751 { ac_try='test -z "$ac_c_werror_flag"
69752 || test ! -s conftest.err'
69753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69754 (eval $ac_try) 2>&5
69755 ac_status=$?
69756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69757 (exit $ac_status); }; } &&
69758 { ac_try='test -s conftest$ac_exeext'
69759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69760 (eval $ac_try) 2>&5
69761 ac_status=$?
69762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69763 (exit $ac_status); }; }; then
69764 eval "$as_ac_var=yes"
69765 else
69766 echo "$as_me: failed program was:" >&5
69767 sed 's/^/| /' conftest.$ac_ext >&5
69769 eval "$as_ac_var=no"
69771 rm -f conftest.err conftest.$ac_objext \
69772 conftest$ac_exeext conftest.$ac_ext
69774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69776 if test `eval echo '${'$as_ac_var'}'` = yes; then
69777 cat >>confdefs.h <<_ACEOF
69778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69779 _ACEOF
69782 done
69792 echo "$as_me:$LINENO: checking for powl declaration" >&5
69793 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
69794 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69795 if test "${glibcxx_cv_func_powl_use+set}" = set; then
69796 echo $ECHO_N "(cached) $ECHO_C" >&6
69797 else
69801 ac_ext=cc
69802 ac_cpp='$CXXCPP $CPPFLAGS'
69803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69807 cat >conftest.$ac_ext <<_ACEOF
69808 /* confdefs.h. */
69809 _ACEOF
69810 cat confdefs.h >>conftest.$ac_ext
69811 cat >>conftest.$ac_ext <<_ACEOF
69812 /* end confdefs.h. */
69813 #include <math.h>
69815 main ()
69817 powl(0, 0);
69819 return 0;
69821 _ACEOF
69822 rm -f conftest.$ac_objext
69823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69824 (eval $ac_compile) 2>conftest.er1
69825 ac_status=$?
69826 grep -v '^ *+' conftest.er1 >conftest.err
69827 rm -f conftest.er1
69828 cat conftest.err >&5
69829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69830 (exit $ac_status); } &&
69831 { ac_try='test -z "$ac_cxx_werror_flag"
69832 || test ! -s conftest.err'
69833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69834 (eval $ac_try) 2>&5
69835 ac_status=$?
69836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69837 (exit $ac_status); }; } &&
69838 { ac_try='test -s conftest.$ac_objext'
69839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69840 (eval $ac_try) 2>&5
69841 ac_status=$?
69842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69843 (exit $ac_status); }; }; then
69844 glibcxx_cv_func_powl_use=yes
69845 else
69846 echo "$as_me: failed program was:" >&5
69847 sed 's/^/| /' conftest.$ac_ext >&5
69849 glibcxx_cv_func_powl_use=no
69851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69852 ac_ext=c
69853 ac_cpp='$CPP $CPPFLAGS'
69854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69862 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
69863 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
69865 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69867 for ac_func in powl
69869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69870 echo "$as_me:$LINENO: checking for $ac_func" >&5
69871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69872 if eval "test \"\${$as_ac_var+set}\" = set"; then
69873 echo $ECHO_N "(cached) $ECHO_C" >&6
69874 else
69875 if test x$gcc_no_link = xyes; then
69876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69878 { (exit 1); exit 1; }; }
69880 cat >conftest.$ac_ext <<_ACEOF
69881 /* confdefs.h. */
69882 _ACEOF
69883 cat confdefs.h >>conftest.$ac_ext
69884 cat >>conftest.$ac_ext <<_ACEOF
69885 /* end confdefs.h. */
69886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69888 #define $ac_func innocuous_$ac_func
69890 /* System header to define __stub macros and hopefully few prototypes,
69891 which can conflict with char $ac_func (); below.
69892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69893 <limits.h> exists even on freestanding compilers. */
69895 #ifdef __STDC__
69896 # include <limits.h>
69897 #else
69898 # include <assert.h>
69899 #endif
69901 #undef $ac_func
69903 /* Override any gcc2 internal prototype to avoid an error. */
69904 #ifdef __cplusplus
69905 extern "C"
69907 #endif
69908 /* We use char because int might match the return type of a gcc2
69909 builtin and then its argument prototype would still apply. */
69910 char $ac_func ();
69911 /* The GNU C library defines this for functions which it implements
69912 to always fail with ENOSYS. Some functions are actually named
69913 something starting with __ and the normal name is an alias. */
69914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69915 choke me
69916 #else
69917 char (*f) () = $ac_func;
69918 #endif
69919 #ifdef __cplusplus
69921 #endif
69924 main ()
69926 return f != $ac_func;
69928 return 0;
69930 _ACEOF
69931 rm -f conftest.$ac_objext conftest$ac_exeext
69932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69933 (eval $ac_link) 2>conftest.er1
69934 ac_status=$?
69935 grep -v '^ *+' conftest.er1 >conftest.err
69936 rm -f conftest.er1
69937 cat conftest.err >&5
69938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69939 (exit $ac_status); } &&
69940 { ac_try='test -z "$ac_c_werror_flag"
69941 || test ! -s conftest.err'
69942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69943 (eval $ac_try) 2>&5
69944 ac_status=$?
69945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69946 (exit $ac_status); }; } &&
69947 { ac_try='test -s conftest$ac_exeext'
69948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69949 (eval $ac_try) 2>&5
69950 ac_status=$?
69951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69952 (exit $ac_status); }; }; then
69953 eval "$as_ac_var=yes"
69954 else
69955 echo "$as_me: failed program was:" >&5
69956 sed 's/^/| /' conftest.$ac_ext >&5
69958 eval "$as_ac_var=no"
69960 rm -f conftest.err conftest.$ac_objext \
69961 conftest$ac_exeext conftest.$ac_ext
69963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69965 if test `eval echo '${'$as_ac_var'}'` = yes; then
69966 cat >>confdefs.h <<_ACEOF
69967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69968 _ACEOF
69971 done
69973 else
69975 echo "$as_me:$LINENO: checking for _powl declaration" >&5
69976 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
69977 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69978 if test "${glibcxx_cv_func__powl_use+set}" = set; then
69979 echo $ECHO_N "(cached) $ECHO_C" >&6
69980 else
69984 ac_ext=cc
69985 ac_cpp='$CXXCPP $CPPFLAGS'
69986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69990 cat >conftest.$ac_ext <<_ACEOF
69991 /* confdefs.h. */
69992 _ACEOF
69993 cat confdefs.h >>conftest.$ac_ext
69994 cat >>conftest.$ac_ext <<_ACEOF
69995 /* end confdefs.h. */
69996 #include <math.h>
69998 main ()
70000 _powl(0, 0);
70002 return 0;
70004 _ACEOF
70005 rm -f conftest.$ac_objext
70006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70007 (eval $ac_compile) 2>conftest.er1
70008 ac_status=$?
70009 grep -v '^ *+' conftest.er1 >conftest.err
70010 rm -f conftest.er1
70011 cat conftest.err >&5
70012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70013 (exit $ac_status); } &&
70014 { ac_try='test -z "$ac_cxx_werror_flag"
70015 || test ! -s conftest.err'
70016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70017 (eval $ac_try) 2>&5
70018 ac_status=$?
70019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70020 (exit $ac_status); }; } &&
70021 { ac_try='test -s conftest.$ac_objext'
70022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70023 (eval $ac_try) 2>&5
70024 ac_status=$?
70025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70026 (exit $ac_status); }; }; then
70027 glibcxx_cv_func__powl_use=yes
70028 else
70029 echo "$as_me: failed program was:" >&5
70030 sed 's/^/| /' conftest.$ac_ext >&5
70032 glibcxx_cv_func__powl_use=no
70034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70035 ac_ext=c
70036 ac_cpp='$CPP $CPPFLAGS'
70037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70045 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70046 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70048 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70050 for ac_func in _powl
70052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70053 echo "$as_me:$LINENO: checking for $ac_func" >&5
70054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70055 if eval "test \"\${$as_ac_var+set}\" = set"; then
70056 echo $ECHO_N "(cached) $ECHO_C" >&6
70057 else
70058 if test x$gcc_no_link = xyes; then
70059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70061 { (exit 1); exit 1; }; }
70063 cat >conftest.$ac_ext <<_ACEOF
70064 /* confdefs.h. */
70065 _ACEOF
70066 cat confdefs.h >>conftest.$ac_ext
70067 cat >>conftest.$ac_ext <<_ACEOF
70068 /* end confdefs.h. */
70069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70071 #define $ac_func innocuous_$ac_func
70073 /* System header to define __stub macros and hopefully few prototypes,
70074 which can conflict with char $ac_func (); below.
70075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70076 <limits.h> exists even on freestanding compilers. */
70078 #ifdef __STDC__
70079 # include <limits.h>
70080 #else
70081 # include <assert.h>
70082 #endif
70084 #undef $ac_func
70086 /* Override any gcc2 internal prototype to avoid an error. */
70087 #ifdef __cplusplus
70088 extern "C"
70090 #endif
70091 /* We use char because int might match the return type of a gcc2
70092 builtin and then its argument prototype would still apply. */
70093 char $ac_func ();
70094 /* The GNU C library defines this for functions which it implements
70095 to always fail with ENOSYS. Some functions are actually named
70096 something starting with __ and the normal name is an alias. */
70097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70098 choke me
70099 #else
70100 char (*f) () = $ac_func;
70101 #endif
70102 #ifdef __cplusplus
70104 #endif
70107 main ()
70109 return f != $ac_func;
70111 return 0;
70113 _ACEOF
70114 rm -f conftest.$ac_objext conftest$ac_exeext
70115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70116 (eval $ac_link) 2>conftest.er1
70117 ac_status=$?
70118 grep -v '^ *+' conftest.er1 >conftest.err
70119 rm -f conftest.er1
70120 cat conftest.err >&5
70121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70122 (exit $ac_status); } &&
70123 { ac_try='test -z "$ac_c_werror_flag"
70124 || test ! -s conftest.err'
70125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70126 (eval $ac_try) 2>&5
70127 ac_status=$?
70128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70129 (exit $ac_status); }; } &&
70130 { ac_try='test -s conftest$ac_exeext'
70131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70132 (eval $ac_try) 2>&5
70133 ac_status=$?
70134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70135 (exit $ac_status); }; }; then
70136 eval "$as_ac_var=yes"
70137 else
70138 echo "$as_me: failed program was:" >&5
70139 sed 's/^/| /' conftest.$ac_ext >&5
70141 eval "$as_ac_var=no"
70143 rm -f conftest.err conftest.$ac_objext \
70144 conftest$ac_exeext conftest.$ac_ext
70146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70148 if test `eval echo '${'$as_ac_var'}'` = yes; then
70149 cat >>confdefs.h <<_ACEOF
70150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70151 _ACEOF
70154 done
70164 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70165 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70166 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70167 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70168 echo $ECHO_N "(cached) $ECHO_C" >&6
70169 else
70173 ac_ext=cc
70174 ac_cpp='$CXXCPP $CPPFLAGS'
70175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70179 cat >conftest.$ac_ext <<_ACEOF
70180 /* confdefs.h. */
70181 _ACEOF
70182 cat confdefs.h >>conftest.$ac_ext
70183 cat >>conftest.$ac_ext <<_ACEOF
70184 /* end confdefs.h. */
70185 #include <math.h>
70186 #ifdef HAVE_IEEEFP_H
70187 #include <ieeefp.h>
70188 #endif
70191 main ()
70193 sqrtl(0);
70195 return 0;
70197 _ACEOF
70198 rm -f conftest.$ac_objext
70199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70200 (eval $ac_compile) 2>conftest.er1
70201 ac_status=$?
70202 grep -v '^ *+' conftest.er1 >conftest.err
70203 rm -f conftest.er1
70204 cat conftest.err >&5
70205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70206 (exit $ac_status); } &&
70207 { ac_try='test -z "$ac_cxx_werror_flag"
70208 || test ! -s conftest.err'
70209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70210 (eval $ac_try) 2>&5
70211 ac_status=$?
70212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70213 (exit $ac_status); }; } &&
70214 { ac_try='test -s conftest.$ac_objext'
70215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70216 (eval $ac_try) 2>&5
70217 ac_status=$?
70218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70219 (exit $ac_status); }; }; then
70220 glibcxx_cv_func_sqrtl_use=yes
70221 else
70222 echo "$as_me: failed program was:" >&5
70223 sed 's/^/| /' conftest.$ac_ext >&5
70225 glibcxx_cv_func_sqrtl_use=no
70227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70228 ac_ext=c
70229 ac_cpp='$CPP $CPPFLAGS'
70230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70238 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70239 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70241 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70243 for ac_func in sqrtl
70245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70246 echo "$as_me:$LINENO: checking for $ac_func" >&5
70247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70248 if eval "test \"\${$as_ac_var+set}\" = set"; then
70249 echo $ECHO_N "(cached) $ECHO_C" >&6
70250 else
70251 if test x$gcc_no_link = xyes; then
70252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70254 { (exit 1); exit 1; }; }
70256 cat >conftest.$ac_ext <<_ACEOF
70257 /* confdefs.h. */
70258 _ACEOF
70259 cat confdefs.h >>conftest.$ac_ext
70260 cat >>conftest.$ac_ext <<_ACEOF
70261 /* end confdefs.h. */
70262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70264 #define $ac_func innocuous_$ac_func
70266 /* System header to define __stub macros and hopefully few prototypes,
70267 which can conflict with char $ac_func (); below.
70268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70269 <limits.h> exists even on freestanding compilers. */
70271 #ifdef __STDC__
70272 # include <limits.h>
70273 #else
70274 # include <assert.h>
70275 #endif
70277 #undef $ac_func
70279 /* Override any gcc2 internal prototype to avoid an error. */
70280 #ifdef __cplusplus
70281 extern "C"
70283 #endif
70284 /* We use char because int might match the return type of a gcc2
70285 builtin and then its argument prototype would still apply. */
70286 char $ac_func ();
70287 /* The GNU C library defines this for functions which it implements
70288 to always fail with ENOSYS. Some functions are actually named
70289 something starting with __ and the normal name is an alias. */
70290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70291 choke me
70292 #else
70293 char (*f) () = $ac_func;
70294 #endif
70295 #ifdef __cplusplus
70297 #endif
70300 main ()
70302 return f != $ac_func;
70304 return 0;
70306 _ACEOF
70307 rm -f conftest.$ac_objext conftest$ac_exeext
70308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70309 (eval $ac_link) 2>conftest.er1
70310 ac_status=$?
70311 grep -v '^ *+' conftest.er1 >conftest.err
70312 rm -f conftest.er1
70313 cat conftest.err >&5
70314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70315 (exit $ac_status); } &&
70316 { ac_try='test -z "$ac_c_werror_flag"
70317 || test ! -s conftest.err'
70318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70319 (eval $ac_try) 2>&5
70320 ac_status=$?
70321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70322 (exit $ac_status); }; } &&
70323 { ac_try='test -s conftest$ac_exeext'
70324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70325 (eval $ac_try) 2>&5
70326 ac_status=$?
70327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70328 (exit $ac_status); }; }; then
70329 eval "$as_ac_var=yes"
70330 else
70331 echo "$as_me: failed program was:" >&5
70332 sed 's/^/| /' conftest.$ac_ext >&5
70334 eval "$as_ac_var=no"
70336 rm -f conftest.err conftest.$ac_objext \
70337 conftest$ac_exeext conftest.$ac_ext
70339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70341 if test `eval echo '${'$as_ac_var'}'` = yes; then
70342 cat >>confdefs.h <<_ACEOF
70343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70344 _ACEOF
70347 done
70349 else
70351 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70352 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70353 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70354 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70355 echo $ECHO_N "(cached) $ECHO_C" >&6
70356 else
70360 ac_ext=cc
70361 ac_cpp='$CXXCPP $CPPFLAGS'
70362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70366 cat >conftest.$ac_ext <<_ACEOF
70367 /* confdefs.h. */
70368 _ACEOF
70369 cat confdefs.h >>conftest.$ac_ext
70370 cat >>conftest.$ac_ext <<_ACEOF
70371 /* end confdefs.h. */
70372 #include <math.h>
70373 #ifdef HAVE_IEEEFP_H
70374 #include <ieeefp.h>
70375 #endif
70378 main ()
70380 _sqrtl(0);
70382 return 0;
70384 _ACEOF
70385 rm -f conftest.$ac_objext
70386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70387 (eval $ac_compile) 2>conftest.er1
70388 ac_status=$?
70389 grep -v '^ *+' conftest.er1 >conftest.err
70390 rm -f conftest.er1
70391 cat conftest.err >&5
70392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70393 (exit $ac_status); } &&
70394 { ac_try='test -z "$ac_cxx_werror_flag"
70395 || test ! -s conftest.err'
70396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70397 (eval $ac_try) 2>&5
70398 ac_status=$?
70399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70400 (exit $ac_status); }; } &&
70401 { ac_try='test -s conftest.$ac_objext'
70402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70403 (eval $ac_try) 2>&5
70404 ac_status=$?
70405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70406 (exit $ac_status); }; }; then
70407 glibcxx_cv_func__sqrtl_use=yes
70408 else
70409 echo "$as_me: failed program was:" >&5
70410 sed 's/^/| /' conftest.$ac_ext >&5
70412 glibcxx_cv_func__sqrtl_use=no
70414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70415 ac_ext=c
70416 ac_cpp='$CPP $CPPFLAGS'
70417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70426 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70428 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70430 for ac_func in _sqrtl
70432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70433 echo "$as_me:$LINENO: checking for $ac_func" >&5
70434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70435 if eval "test \"\${$as_ac_var+set}\" = set"; then
70436 echo $ECHO_N "(cached) $ECHO_C" >&6
70437 else
70438 if test x$gcc_no_link = xyes; then
70439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70441 { (exit 1); exit 1; }; }
70443 cat >conftest.$ac_ext <<_ACEOF
70444 /* confdefs.h. */
70445 _ACEOF
70446 cat confdefs.h >>conftest.$ac_ext
70447 cat >>conftest.$ac_ext <<_ACEOF
70448 /* end confdefs.h. */
70449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70451 #define $ac_func innocuous_$ac_func
70453 /* System header to define __stub macros and hopefully few prototypes,
70454 which can conflict with char $ac_func (); below.
70455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70456 <limits.h> exists even on freestanding compilers. */
70458 #ifdef __STDC__
70459 # include <limits.h>
70460 #else
70461 # include <assert.h>
70462 #endif
70464 #undef $ac_func
70466 /* Override any gcc2 internal prototype to avoid an error. */
70467 #ifdef __cplusplus
70468 extern "C"
70470 #endif
70471 /* We use char because int might match the return type of a gcc2
70472 builtin and then its argument prototype would still apply. */
70473 char $ac_func ();
70474 /* The GNU C library defines this for functions which it implements
70475 to always fail with ENOSYS. Some functions are actually named
70476 something starting with __ and the normal name is an alias. */
70477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70478 choke me
70479 #else
70480 char (*f) () = $ac_func;
70481 #endif
70482 #ifdef __cplusplus
70484 #endif
70487 main ()
70489 return f != $ac_func;
70491 return 0;
70493 _ACEOF
70494 rm -f conftest.$ac_objext conftest$ac_exeext
70495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70496 (eval $ac_link) 2>conftest.er1
70497 ac_status=$?
70498 grep -v '^ *+' conftest.er1 >conftest.err
70499 rm -f conftest.er1
70500 cat conftest.err >&5
70501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70502 (exit $ac_status); } &&
70503 { ac_try='test -z "$ac_c_werror_flag"
70504 || test ! -s conftest.err'
70505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70506 (eval $ac_try) 2>&5
70507 ac_status=$?
70508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70509 (exit $ac_status); }; } &&
70510 { ac_try='test -s conftest$ac_exeext'
70511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70512 (eval $ac_try) 2>&5
70513 ac_status=$?
70514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70515 (exit $ac_status); }; }; then
70516 eval "$as_ac_var=yes"
70517 else
70518 echo "$as_me: failed program was:" >&5
70519 sed 's/^/| /' conftest.$ac_ext >&5
70521 eval "$as_ac_var=no"
70523 rm -f conftest.err conftest.$ac_objext \
70524 conftest$ac_exeext conftest.$ac_ext
70526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70528 if test `eval echo '${'$as_ac_var'}'` = yes; then
70529 cat >>confdefs.h <<_ACEOF
70530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70531 _ACEOF
70534 done
70544 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
70545 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
70546 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70547 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
70548 echo $ECHO_N "(cached) $ECHO_C" >&6
70549 else
70553 ac_ext=cc
70554 ac_cpp='$CXXCPP $CPPFLAGS'
70555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70559 cat >conftest.$ac_ext <<_ACEOF
70560 /* confdefs.h. */
70561 _ACEOF
70562 cat confdefs.h >>conftest.$ac_ext
70563 cat >>conftest.$ac_ext <<_ACEOF
70564 /* end confdefs.h. */
70565 #include <math.h>
70567 main ()
70569 sincosl(0, 0, 0);
70571 return 0;
70573 _ACEOF
70574 rm -f conftest.$ac_objext
70575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70576 (eval $ac_compile) 2>conftest.er1
70577 ac_status=$?
70578 grep -v '^ *+' conftest.er1 >conftest.err
70579 rm -f conftest.er1
70580 cat conftest.err >&5
70581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70582 (exit $ac_status); } &&
70583 { ac_try='test -z "$ac_cxx_werror_flag"
70584 || test ! -s conftest.err'
70585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70586 (eval $ac_try) 2>&5
70587 ac_status=$?
70588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70589 (exit $ac_status); }; } &&
70590 { ac_try='test -s conftest.$ac_objext'
70591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70592 (eval $ac_try) 2>&5
70593 ac_status=$?
70594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70595 (exit $ac_status); }; }; then
70596 glibcxx_cv_func_sincosl_use=yes
70597 else
70598 echo "$as_me: failed program was:" >&5
70599 sed 's/^/| /' conftest.$ac_ext >&5
70601 glibcxx_cv_func_sincosl_use=no
70603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70604 ac_ext=c
70605 ac_cpp='$CPP $CPPFLAGS'
70606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70614 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
70615 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
70617 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70619 for ac_func in sincosl
70621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70622 echo "$as_me:$LINENO: checking for $ac_func" >&5
70623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70624 if eval "test \"\${$as_ac_var+set}\" = set"; then
70625 echo $ECHO_N "(cached) $ECHO_C" >&6
70626 else
70627 if test x$gcc_no_link = xyes; then
70628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70630 { (exit 1); exit 1; }; }
70632 cat >conftest.$ac_ext <<_ACEOF
70633 /* confdefs.h. */
70634 _ACEOF
70635 cat confdefs.h >>conftest.$ac_ext
70636 cat >>conftest.$ac_ext <<_ACEOF
70637 /* end confdefs.h. */
70638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70640 #define $ac_func innocuous_$ac_func
70642 /* System header to define __stub macros and hopefully few prototypes,
70643 which can conflict with char $ac_func (); below.
70644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70645 <limits.h> exists even on freestanding compilers. */
70647 #ifdef __STDC__
70648 # include <limits.h>
70649 #else
70650 # include <assert.h>
70651 #endif
70653 #undef $ac_func
70655 /* Override any gcc2 internal prototype to avoid an error. */
70656 #ifdef __cplusplus
70657 extern "C"
70659 #endif
70660 /* We use char because int might match the return type of a gcc2
70661 builtin and then its argument prototype would still apply. */
70662 char $ac_func ();
70663 /* The GNU C library defines this for functions which it implements
70664 to always fail with ENOSYS. Some functions are actually named
70665 something starting with __ and the normal name is an alias. */
70666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70667 choke me
70668 #else
70669 char (*f) () = $ac_func;
70670 #endif
70671 #ifdef __cplusplus
70673 #endif
70676 main ()
70678 return f != $ac_func;
70680 return 0;
70682 _ACEOF
70683 rm -f conftest.$ac_objext conftest$ac_exeext
70684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70685 (eval $ac_link) 2>conftest.er1
70686 ac_status=$?
70687 grep -v '^ *+' conftest.er1 >conftest.err
70688 rm -f conftest.er1
70689 cat conftest.err >&5
70690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70691 (exit $ac_status); } &&
70692 { ac_try='test -z "$ac_c_werror_flag"
70693 || test ! -s conftest.err'
70694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70695 (eval $ac_try) 2>&5
70696 ac_status=$?
70697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70698 (exit $ac_status); }; } &&
70699 { ac_try='test -s conftest$ac_exeext'
70700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70701 (eval $ac_try) 2>&5
70702 ac_status=$?
70703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70704 (exit $ac_status); }; }; then
70705 eval "$as_ac_var=yes"
70706 else
70707 echo "$as_me: failed program was:" >&5
70708 sed 's/^/| /' conftest.$ac_ext >&5
70710 eval "$as_ac_var=no"
70712 rm -f conftest.err conftest.$ac_objext \
70713 conftest$ac_exeext conftest.$ac_ext
70715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70717 if test `eval echo '${'$as_ac_var'}'` = yes; then
70718 cat >>confdefs.h <<_ACEOF
70719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70720 _ACEOF
70723 done
70725 else
70727 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
70728 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
70729 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70730 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
70731 echo $ECHO_N "(cached) $ECHO_C" >&6
70732 else
70736 ac_ext=cc
70737 ac_cpp='$CXXCPP $CPPFLAGS'
70738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70742 cat >conftest.$ac_ext <<_ACEOF
70743 /* confdefs.h. */
70744 _ACEOF
70745 cat confdefs.h >>conftest.$ac_ext
70746 cat >>conftest.$ac_ext <<_ACEOF
70747 /* end confdefs.h. */
70748 #include <math.h>
70750 main ()
70752 _sincosl(0, 0, 0);
70754 return 0;
70756 _ACEOF
70757 rm -f conftest.$ac_objext
70758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70759 (eval $ac_compile) 2>conftest.er1
70760 ac_status=$?
70761 grep -v '^ *+' conftest.er1 >conftest.err
70762 rm -f conftest.er1
70763 cat conftest.err >&5
70764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70765 (exit $ac_status); } &&
70766 { ac_try='test -z "$ac_cxx_werror_flag"
70767 || test ! -s conftest.err'
70768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70769 (eval $ac_try) 2>&5
70770 ac_status=$?
70771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70772 (exit $ac_status); }; } &&
70773 { ac_try='test -s conftest.$ac_objext'
70774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70775 (eval $ac_try) 2>&5
70776 ac_status=$?
70777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70778 (exit $ac_status); }; }; then
70779 glibcxx_cv_func__sincosl_use=yes
70780 else
70781 echo "$as_me: failed program was:" >&5
70782 sed 's/^/| /' conftest.$ac_ext >&5
70784 glibcxx_cv_func__sincosl_use=no
70786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70787 ac_ext=c
70788 ac_cpp='$CPP $CPPFLAGS'
70789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70797 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
70798 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
70800 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70802 for ac_func in _sincosl
70804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70805 echo "$as_me:$LINENO: checking for $ac_func" >&5
70806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70807 if eval "test \"\${$as_ac_var+set}\" = set"; then
70808 echo $ECHO_N "(cached) $ECHO_C" >&6
70809 else
70810 if test x$gcc_no_link = xyes; then
70811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70813 { (exit 1); exit 1; }; }
70815 cat >conftest.$ac_ext <<_ACEOF
70816 /* confdefs.h. */
70817 _ACEOF
70818 cat confdefs.h >>conftest.$ac_ext
70819 cat >>conftest.$ac_ext <<_ACEOF
70820 /* end confdefs.h. */
70821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70823 #define $ac_func innocuous_$ac_func
70825 /* System header to define __stub macros and hopefully few prototypes,
70826 which can conflict with char $ac_func (); below.
70827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70828 <limits.h> exists even on freestanding compilers. */
70830 #ifdef __STDC__
70831 # include <limits.h>
70832 #else
70833 # include <assert.h>
70834 #endif
70836 #undef $ac_func
70838 /* Override any gcc2 internal prototype to avoid an error. */
70839 #ifdef __cplusplus
70840 extern "C"
70842 #endif
70843 /* We use char because int might match the return type of a gcc2
70844 builtin and then its argument prototype would still apply. */
70845 char $ac_func ();
70846 /* The GNU C library defines this for functions which it implements
70847 to always fail with ENOSYS. Some functions are actually named
70848 something starting with __ and the normal name is an alias. */
70849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70850 choke me
70851 #else
70852 char (*f) () = $ac_func;
70853 #endif
70854 #ifdef __cplusplus
70856 #endif
70859 main ()
70861 return f != $ac_func;
70863 return 0;
70865 _ACEOF
70866 rm -f conftest.$ac_objext conftest$ac_exeext
70867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70868 (eval $ac_link) 2>conftest.er1
70869 ac_status=$?
70870 grep -v '^ *+' conftest.er1 >conftest.err
70871 rm -f conftest.er1
70872 cat conftest.err >&5
70873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70874 (exit $ac_status); } &&
70875 { ac_try='test -z "$ac_c_werror_flag"
70876 || test ! -s conftest.err'
70877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70878 (eval $ac_try) 2>&5
70879 ac_status=$?
70880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70881 (exit $ac_status); }; } &&
70882 { ac_try='test -s conftest$ac_exeext'
70883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70884 (eval $ac_try) 2>&5
70885 ac_status=$?
70886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70887 (exit $ac_status); }; }; then
70888 eval "$as_ac_var=yes"
70889 else
70890 echo "$as_me: failed program was:" >&5
70891 sed 's/^/| /' conftest.$ac_ext >&5
70893 eval "$as_ac_var=no"
70895 rm -f conftest.err conftest.$ac_objext \
70896 conftest$ac_exeext conftest.$ac_ext
70898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70900 if test `eval echo '${'$as_ac_var'}'` = yes; then
70901 cat >>confdefs.h <<_ACEOF
70902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70903 _ACEOF
70906 done
70916 echo "$as_me:$LINENO: checking for finitel declaration" >&5
70917 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
70918 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70919 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
70920 echo $ECHO_N "(cached) $ECHO_C" >&6
70921 else
70925 ac_ext=cc
70926 ac_cpp='$CXXCPP $CPPFLAGS'
70927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70931 cat >conftest.$ac_ext <<_ACEOF
70932 /* confdefs.h. */
70933 _ACEOF
70934 cat confdefs.h >>conftest.$ac_ext
70935 cat >>conftest.$ac_ext <<_ACEOF
70936 /* end confdefs.h. */
70937 #include <math.h>
70938 #ifdef HAVE_IEEEFP_H
70939 #include <ieeefp.h>
70940 #endif
70943 main ()
70945 finitel(0);
70947 return 0;
70949 _ACEOF
70950 rm -f conftest.$ac_objext
70951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70952 (eval $ac_compile) 2>conftest.er1
70953 ac_status=$?
70954 grep -v '^ *+' conftest.er1 >conftest.err
70955 rm -f conftest.er1
70956 cat conftest.err >&5
70957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70958 (exit $ac_status); } &&
70959 { ac_try='test -z "$ac_cxx_werror_flag"
70960 || test ! -s conftest.err'
70961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70962 (eval $ac_try) 2>&5
70963 ac_status=$?
70964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70965 (exit $ac_status); }; } &&
70966 { ac_try='test -s conftest.$ac_objext'
70967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70968 (eval $ac_try) 2>&5
70969 ac_status=$?
70970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70971 (exit $ac_status); }; }; then
70972 glibcxx_cv_func_finitel_use=yes
70973 else
70974 echo "$as_me: failed program was:" >&5
70975 sed 's/^/| /' conftest.$ac_ext >&5
70977 glibcxx_cv_func_finitel_use=no
70979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70980 ac_ext=c
70981 ac_cpp='$CPP $CPPFLAGS'
70982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70990 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70991 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70993 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70995 for ac_func in finitel
70997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70998 echo "$as_me:$LINENO: checking for $ac_func" >&5
70999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71000 if eval "test \"\${$as_ac_var+set}\" = set"; then
71001 echo $ECHO_N "(cached) $ECHO_C" >&6
71002 else
71003 if test x$gcc_no_link = xyes; then
71004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71006 { (exit 1); exit 1; }; }
71008 cat >conftest.$ac_ext <<_ACEOF
71009 /* confdefs.h. */
71010 _ACEOF
71011 cat confdefs.h >>conftest.$ac_ext
71012 cat >>conftest.$ac_ext <<_ACEOF
71013 /* end confdefs.h. */
71014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71016 #define $ac_func innocuous_$ac_func
71018 /* System header to define __stub macros and hopefully few prototypes,
71019 which can conflict with char $ac_func (); below.
71020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71021 <limits.h> exists even on freestanding compilers. */
71023 #ifdef __STDC__
71024 # include <limits.h>
71025 #else
71026 # include <assert.h>
71027 #endif
71029 #undef $ac_func
71031 /* Override any gcc2 internal prototype to avoid an error. */
71032 #ifdef __cplusplus
71033 extern "C"
71035 #endif
71036 /* We use char because int might match the return type of a gcc2
71037 builtin and then its argument prototype would still apply. */
71038 char $ac_func ();
71039 /* The GNU C library defines this for functions which it implements
71040 to always fail with ENOSYS. Some functions are actually named
71041 something starting with __ and the normal name is an alias. */
71042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71043 choke me
71044 #else
71045 char (*f) () = $ac_func;
71046 #endif
71047 #ifdef __cplusplus
71049 #endif
71052 main ()
71054 return f != $ac_func;
71056 return 0;
71058 _ACEOF
71059 rm -f conftest.$ac_objext conftest$ac_exeext
71060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71061 (eval $ac_link) 2>conftest.er1
71062 ac_status=$?
71063 grep -v '^ *+' conftest.er1 >conftest.err
71064 rm -f conftest.er1
71065 cat conftest.err >&5
71066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71067 (exit $ac_status); } &&
71068 { ac_try='test -z "$ac_c_werror_flag"
71069 || test ! -s conftest.err'
71070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71071 (eval $ac_try) 2>&5
71072 ac_status=$?
71073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71074 (exit $ac_status); }; } &&
71075 { ac_try='test -s conftest$ac_exeext'
71076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71077 (eval $ac_try) 2>&5
71078 ac_status=$?
71079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71080 (exit $ac_status); }; }; then
71081 eval "$as_ac_var=yes"
71082 else
71083 echo "$as_me: failed program was:" >&5
71084 sed 's/^/| /' conftest.$ac_ext >&5
71086 eval "$as_ac_var=no"
71088 rm -f conftest.err conftest.$ac_objext \
71089 conftest$ac_exeext conftest.$ac_ext
71091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71093 if test `eval echo '${'$as_ac_var'}'` = yes; then
71094 cat >>confdefs.h <<_ACEOF
71095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71096 _ACEOF
71099 done
71101 else
71103 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71104 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71105 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71106 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71107 echo $ECHO_N "(cached) $ECHO_C" >&6
71108 else
71112 ac_ext=cc
71113 ac_cpp='$CXXCPP $CPPFLAGS'
71114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71118 cat >conftest.$ac_ext <<_ACEOF
71119 /* confdefs.h. */
71120 _ACEOF
71121 cat confdefs.h >>conftest.$ac_ext
71122 cat >>conftest.$ac_ext <<_ACEOF
71123 /* end confdefs.h. */
71124 #include <math.h>
71125 #ifdef HAVE_IEEEFP_H
71126 #include <ieeefp.h>
71127 #endif
71130 main ()
71132 _finitel(0);
71134 return 0;
71136 _ACEOF
71137 rm -f conftest.$ac_objext
71138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71139 (eval $ac_compile) 2>conftest.er1
71140 ac_status=$?
71141 grep -v '^ *+' conftest.er1 >conftest.err
71142 rm -f conftest.er1
71143 cat conftest.err >&5
71144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71145 (exit $ac_status); } &&
71146 { ac_try='test -z "$ac_cxx_werror_flag"
71147 || test ! -s conftest.err'
71148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71149 (eval $ac_try) 2>&5
71150 ac_status=$?
71151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71152 (exit $ac_status); }; } &&
71153 { ac_try='test -s conftest.$ac_objext'
71154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71155 (eval $ac_try) 2>&5
71156 ac_status=$?
71157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71158 (exit $ac_status); }; }; then
71159 glibcxx_cv_func__finitel_use=yes
71160 else
71161 echo "$as_me: failed program was:" >&5
71162 sed 's/^/| /' conftest.$ac_ext >&5
71164 glibcxx_cv_func__finitel_use=no
71166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71167 ac_ext=c
71168 ac_cpp='$CPP $CPPFLAGS'
71169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71178 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71180 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71182 for ac_func in _finitel
71184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71185 echo "$as_me:$LINENO: checking for $ac_func" >&5
71186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71187 if eval "test \"\${$as_ac_var+set}\" = set"; then
71188 echo $ECHO_N "(cached) $ECHO_C" >&6
71189 else
71190 if test x$gcc_no_link = xyes; then
71191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71193 { (exit 1); exit 1; }; }
71195 cat >conftest.$ac_ext <<_ACEOF
71196 /* confdefs.h. */
71197 _ACEOF
71198 cat confdefs.h >>conftest.$ac_ext
71199 cat >>conftest.$ac_ext <<_ACEOF
71200 /* end confdefs.h. */
71201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71203 #define $ac_func innocuous_$ac_func
71205 /* System header to define __stub macros and hopefully few prototypes,
71206 which can conflict with char $ac_func (); below.
71207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71208 <limits.h> exists even on freestanding compilers. */
71210 #ifdef __STDC__
71211 # include <limits.h>
71212 #else
71213 # include <assert.h>
71214 #endif
71216 #undef $ac_func
71218 /* Override any gcc2 internal prototype to avoid an error. */
71219 #ifdef __cplusplus
71220 extern "C"
71222 #endif
71223 /* We use char because int might match the return type of a gcc2
71224 builtin and then its argument prototype would still apply. */
71225 char $ac_func ();
71226 /* The GNU C library defines this for functions which it implements
71227 to always fail with ENOSYS. Some functions are actually named
71228 something starting with __ and the normal name is an alias. */
71229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71230 choke me
71231 #else
71232 char (*f) () = $ac_func;
71233 #endif
71234 #ifdef __cplusplus
71236 #endif
71239 main ()
71241 return f != $ac_func;
71243 return 0;
71245 _ACEOF
71246 rm -f conftest.$ac_objext conftest$ac_exeext
71247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71248 (eval $ac_link) 2>conftest.er1
71249 ac_status=$?
71250 grep -v '^ *+' conftest.er1 >conftest.err
71251 rm -f conftest.er1
71252 cat conftest.err >&5
71253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71254 (exit $ac_status); } &&
71255 { ac_try='test -z "$ac_c_werror_flag"
71256 || test ! -s conftest.err'
71257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71258 (eval $ac_try) 2>&5
71259 ac_status=$?
71260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71261 (exit $ac_status); }; } &&
71262 { ac_try='test -s conftest$ac_exeext'
71263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71264 (eval $ac_try) 2>&5
71265 ac_status=$?
71266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71267 (exit $ac_status); }; }; then
71268 eval "$as_ac_var=yes"
71269 else
71270 echo "$as_me: failed program was:" >&5
71271 sed 's/^/| /' conftest.$ac_ext >&5
71273 eval "$as_ac_var=no"
71275 rm -f conftest.err conftest.$ac_objext \
71276 conftest$ac_exeext conftest.$ac_ext
71278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71280 if test `eval echo '${'$as_ac_var'}'` = yes; then
71281 cat >>confdefs.h <<_ACEOF
71282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71283 _ACEOF
71286 done
71295 LIBS="$ac_save_LIBS"
71296 CXXFLAGS="$ac_save_CXXFLAGS"
71300 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71301 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71302 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71303 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71304 echo $ECHO_N "(cached) $ECHO_C" >&6
71305 else
71309 ac_ext=cc
71310 ac_cpp='$CXXCPP $CPPFLAGS'
71311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71315 cat >conftest.$ac_ext <<_ACEOF
71316 /* confdefs.h. */
71317 _ACEOF
71318 cat confdefs.h >>conftest.$ac_ext
71319 cat >>conftest.$ac_ext <<_ACEOF
71320 /* end confdefs.h. */
71321 #include <math.h>
71323 main ()
71325 __builtin_abs(0);
71327 return 0;
71329 _ACEOF
71330 rm -f conftest.$ac_objext
71331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71332 (eval $ac_compile) 2>conftest.er1
71333 ac_status=$?
71334 grep -v '^ *+' conftest.er1 >conftest.err
71335 rm -f conftest.er1
71336 cat conftest.err >&5
71337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71338 (exit $ac_status); } &&
71339 { ac_try='test -z "$ac_cxx_werror_flag"
71340 || test ! -s conftest.err'
71341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71342 (eval $ac_try) 2>&5
71343 ac_status=$?
71344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71345 (exit $ac_status); }; } &&
71346 { ac_try='test -s conftest.$ac_objext'
71347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71348 (eval $ac_try) 2>&5
71349 ac_status=$?
71350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71351 (exit $ac_status); }; }; then
71352 glibcxx_cv_func___builtin_abs_use=yes
71353 else
71354 echo "$as_me: failed program was:" >&5
71355 sed 's/^/| /' conftest.$ac_ext >&5
71357 glibcxx_cv_func___builtin_abs_use=no
71359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71360 ac_ext=c
71361 ac_cpp='$CPP $CPPFLAGS'
71362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71370 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
71371 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
71372 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
71373 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
71374 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
71375 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
71376 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
71377 echo $ECHO_N "(cached) $ECHO_C" >&6
71378 else
71380 if test x$gcc_no_link = xyes; then
71381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71383 { (exit 1); exit 1; }; }
71385 cat >conftest.$ac_ext <<_ACEOF
71386 /* confdefs.h. */
71387 _ACEOF
71388 cat confdefs.h >>conftest.$ac_ext
71389 cat >>conftest.$ac_ext <<_ACEOF
71390 /* end confdefs.h. */
71391 #include <math.h>
71393 main ()
71395 __builtin_abs(0);
71397 return 0;
71399 _ACEOF
71400 rm -f conftest.$ac_objext conftest$ac_exeext
71401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71402 (eval $ac_link) 2>conftest.er1
71403 ac_status=$?
71404 grep -v '^ *+' conftest.er1 >conftest.err
71405 rm -f conftest.er1
71406 cat conftest.err >&5
71407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71408 (exit $ac_status); } &&
71409 { ac_try='test -z "$ac_c_werror_flag"
71410 || test ! -s conftest.err'
71411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71412 (eval $ac_try) 2>&5
71413 ac_status=$?
71414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71415 (exit $ac_status); }; } &&
71416 { ac_try='test -s conftest$ac_exeext'
71417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71418 (eval $ac_try) 2>&5
71419 ac_status=$?
71420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71421 (exit $ac_status); }; }; then
71422 glibcxx_cv_func___builtin_abs_link=yes
71423 else
71424 echo "$as_me: failed program was:" >&5
71425 sed 's/^/| /' conftest.$ac_ext >&5
71427 glibcxx_cv_func___builtin_abs_link=no
71429 rm -f conftest.err conftest.$ac_objext \
71430 conftest$ac_exeext conftest.$ac_ext
71435 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
71436 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
71438 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
71440 cat >>confdefs.h <<\_ACEOF
71441 #define HAVE___BUILTIN_ABS 1
71442 _ACEOF
71449 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
71450 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
71451 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
71452 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
71453 echo $ECHO_N "(cached) $ECHO_C" >&6
71454 else
71458 ac_ext=cc
71459 ac_cpp='$CXXCPP $CPPFLAGS'
71460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71464 cat >conftest.$ac_ext <<_ACEOF
71465 /* confdefs.h. */
71466 _ACEOF
71467 cat confdefs.h >>conftest.$ac_ext
71468 cat >>conftest.$ac_ext <<_ACEOF
71469 /* end confdefs.h. */
71470 #include <math.h>
71472 main ()
71474 __builtin_fabsf(0);
71476 return 0;
71478 _ACEOF
71479 rm -f conftest.$ac_objext
71480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71481 (eval $ac_compile) 2>conftest.er1
71482 ac_status=$?
71483 grep -v '^ *+' conftest.er1 >conftest.err
71484 rm -f conftest.er1
71485 cat conftest.err >&5
71486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71487 (exit $ac_status); } &&
71488 { ac_try='test -z "$ac_cxx_werror_flag"
71489 || test ! -s conftest.err'
71490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71491 (eval $ac_try) 2>&5
71492 ac_status=$?
71493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71494 (exit $ac_status); }; } &&
71495 { ac_try='test -s conftest.$ac_objext'
71496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71497 (eval $ac_try) 2>&5
71498 ac_status=$?
71499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71500 (exit $ac_status); }; }; then
71501 glibcxx_cv_func___builtin_fabsf_use=yes
71502 else
71503 echo "$as_me: failed program was:" >&5
71504 sed 's/^/| /' conftest.$ac_ext >&5
71506 glibcxx_cv_func___builtin_fabsf_use=no
71508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71509 ac_ext=c
71510 ac_cpp='$CPP $CPPFLAGS'
71511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71519 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
71520 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
71521 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
71522 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
71523 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
71524 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
71525 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
71526 echo $ECHO_N "(cached) $ECHO_C" >&6
71527 else
71529 if test x$gcc_no_link = xyes; then
71530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71532 { (exit 1); exit 1; }; }
71534 cat >conftest.$ac_ext <<_ACEOF
71535 /* confdefs.h. */
71536 _ACEOF
71537 cat confdefs.h >>conftest.$ac_ext
71538 cat >>conftest.$ac_ext <<_ACEOF
71539 /* end confdefs.h. */
71540 #include <math.h>
71542 main ()
71544 __builtin_fabsf(0);
71546 return 0;
71548 _ACEOF
71549 rm -f conftest.$ac_objext conftest$ac_exeext
71550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71551 (eval $ac_link) 2>conftest.er1
71552 ac_status=$?
71553 grep -v '^ *+' conftest.er1 >conftest.err
71554 rm -f conftest.er1
71555 cat conftest.err >&5
71556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71557 (exit $ac_status); } &&
71558 { ac_try='test -z "$ac_c_werror_flag"
71559 || test ! -s conftest.err'
71560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71561 (eval $ac_try) 2>&5
71562 ac_status=$?
71563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71564 (exit $ac_status); }; } &&
71565 { ac_try='test -s conftest$ac_exeext'
71566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71567 (eval $ac_try) 2>&5
71568 ac_status=$?
71569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71570 (exit $ac_status); }; }; then
71571 glibcxx_cv_func___builtin_fabsf_link=yes
71572 else
71573 echo "$as_me: failed program was:" >&5
71574 sed 's/^/| /' conftest.$ac_ext >&5
71576 glibcxx_cv_func___builtin_fabsf_link=no
71578 rm -f conftest.err conftest.$ac_objext \
71579 conftest$ac_exeext conftest.$ac_ext
71584 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
71585 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
71587 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
71589 cat >>confdefs.h <<\_ACEOF
71590 #define HAVE___BUILTIN_FABSF 1
71591 _ACEOF
71598 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
71599 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
71600 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
71601 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
71602 echo $ECHO_N "(cached) $ECHO_C" >&6
71603 else
71607 ac_ext=cc
71608 ac_cpp='$CXXCPP $CPPFLAGS'
71609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71613 cat >conftest.$ac_ext <<_ACEOF
71614 /* confdefs.h. */
71615 _ACEOF
71616 cat confdefs.h >>conftest.$ac_ext
71617 cat >>conftest.$ac_ext <<_ACEOF
71618 /* end confdefs.h. */
71619 #include <math.h>
71621 main ()
71623 __builtin_fabs(0);
71625 return 0;
71627 _ACEOF
71628 rm -f conftest.$ac_objext
71629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71630 (eval $ac_compile) 2>conftest.er1
71631 ac_status=$?
71632 grep -v '^ *+' conftest.er1 >conftest.err
71633 rm -f conftest.er1
71634 cat conftest.err >&5
71635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71636 (exit $ac_status); } &&
71637 { ac_try='test -z "$ac_cxx_werror_flag"
71638 || test ! -s conftest.err'
71639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71640 (eval $ac_try) 2>&5
71641 ac_status=$?
71642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71643 (exit $ac_status); }; } &&
71644 { ac_try='test -s conftest.$ac_objext'
71645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71646 (eval $ac_try) 2>&5
71647 ac_status=$?
71648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71649 (exit $ac_status); }; }; then
71650 glibcxx_cv_func___builtin_fabs_use=yes
71651 else
71652 echo "$as_me: failed program was:" >&5
71653 sed 's/^/| /' conftest.$ac_ext >&5
71655 glibcxx_cv_func___builtin_fabs_use=no
71657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71658 ac_ext=c
71659 ac_cpp='$CPP $CPPFLAGS'
71660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71668 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
71669 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
71670 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
71671 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
71672 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
71673 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
71674 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
71675 echo $ECHO_N "(cached) $ECHO_C" >&6
71676 else
71678 if test x$gcc_no_link = xyes; then
71679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71681 { (exit 1); exit 1; }; }
71683 cat >conftest.$ac_ext <<_ACEOF
71684 /* confdefs.h. */
71685 _ACEOF
71686 cat confdefs.h >>conftest.$ac_ext
71687 cat >>conftest.$ac_ext <<_ACEOF
71688 /* end confdefs.h. */
71689 #include <math.h>
71691 main ()
71693 __builtin_fabs(0);
71695 return 0;
71697 _ACEOF
71698 rm -f conftest.$ac_objext conftest$ac_exeext
71699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71700 (eval $ac_link) 2>conftest.er1
71701 ac_status=$?
71702 grep -v '^ *+' conftest.er1 >conftest.err
71703 rm -f conftest.er1
71704 cat conftest.err >&5
71705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71706 (exit $ac_status); } &&
71707 { ac_try='test -z "$ac_c_werror_flag"
71708 || test ! -s conftest.err'
71709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71710 (eval $ac_try) 2>&5
71711 ac_status=$?
71712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71713 (exit $ac_status); }; } &&
71714 { ac_try='test -s conftest$ac_exeext'
71715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71716 (eval $ac_try) 2>&5
71717 ac_status=$?
71718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71719 (exit $ac_status); }; }; then
71720 glibcxx_cv_func___builtin_fabs_link=yes
71721 else
71722 echo "$as_me: failed program was:" >&5
71723 sed 's/^/| /' conftest.$ac_ext >&5
71725 glibcxx_cv_func___builtin_fabs_link=no
71727 rm -f conftest.err conftest.$ac_objext \
71728 conftest$ac_exeext conftest.$ac_ext
71733 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
71734 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
71736 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
71738 cat >>confdefs.h <<\_ACEOF
71739 #define HAVE___BUILTIN_FABS 1
71740 _ACEOF
71747 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
71748 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
71749 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
71750 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
71751 echo $ECHO_N "(cached) $ECHO_C" >&6
71752 else
71756 ac_ext=cc
71757 ac_cpp='$CXXCPP $CPPFLAGS'
71758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71762 cat >conftest.$ac_ext <<_ACEOF
71763 /* confdefs.h. */
71764 _ACEOF
71765 cat confdefs.h >>conftest.$ac_ext
71766 cat >>conftest.$ac_ext <<_ACEOF
71767 /* end confdefs.h. */
71768 #include <math.h>
71770 main ()
71772 __builtin_fabsl(0);
71774 return 0;
71776 _ACEOF
71777 rm -f conftest.$ac_objext
71778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71779 (eval $ac_compile) 2>conftest.er1
71780 ac_status=$?
71781 grep -v '^ *+' conftest.er1 >conftest.err
71782 rm -f conftest.er1
71783 cat conftest.err >&5
71784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71785 (exit $ac_status); } &&
71786 { ac_try='test -z "$ac_cxx_werror_flag"
71787 || test ! -s conftest.err'
71788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71789 (eval $ac_try) 2>&5
71790 ac_status=$?
71791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71792 (exit $ac_status); }; } &&
71793 { ac_try='test -s conftest.$ac_objext'
71794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71795 (eval $ac_try) 2>&5
71796 ac_status=$?
71797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71798 (exit $ac_status); }; }; then
71799 glibcxx_cv_func___builtin_fabsl_use=yes
71800 else
71801 echo "$as_me: failed program was:" >&5
71802 sed 's/^/| /' conftest.$ac_ext >&5
71804 glibcxx_cv_func___builtin_fabsl_use=no
71806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71807 ac_ext=c
71808 ac_cpp='$CPP $CPPFLAGS'
71809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71817 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71818 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71819 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71820 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71821 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71822 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71823 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71824 echo $ECHO_N "(cached) $ECHO_C" >&6
71825 else
71827 if test x$gcc_no_link = xyes; then
71828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71830 { (exit 1); exit 1; }; }
71832 cat >conftest.$ac_ext <<_ACEOF
71833 /* confdefs.h. */
71834 _ACEOF
71835 cat confdefs.h >>conftest.$ac_ext
71836 cat >>conftest.$ac_ext <<_ACEOF
71837 /* end confdefs.h. */
71838 #include <math.h>
71840 main ()
71842 __builtin_fabsl(0);
71844 return 0;
71846 _ACEOF
71847 rm -f conftest.$ac_objext conftest$ac_exeext
71848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71849 (eval $ac_link) 2>conftest.er1
71850 ac_status=$?
71851 grep -v '^ *+' conftest.er1 >conftest.err
71852 rm -f conftest.er1
71853 cat conftest.err >&5
71854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71855 (exit $ac_status); } &&
71856 { ac_try='test -z "$ac_c_werror_flag"
71857 || test ! -s conftest.err'
71858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71859 (eval $ac_try) 2>&5
71860 ac_status=$?
71861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71862 (exit $ac_status); }; } &&
71863 { ac_try='test -s conftest$ac_exeext'
71864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71865 (eval $ac_try) 2>&5
71866 ac_status=$?
71867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71868 (exit $ac_status); }; }; then
71869 glibcxx_cv_func___builtin_fabsl_link=yes
71870 else
71871 echo "$as_me: failed program was:" >&5
71872 sed 's/^/| /' conftest.$ac_ext >&5
71874 glibcxx_cv_func___builtin_fabsl_link=no
71876 rm -f conftest.err conftest.$ac_objext \
71877 conftest$ac_exeext conftest.$ac_ext
71882 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71883 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71885 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71887 cat >>confdefs.h <<\_ACEOF
71888 #define HAVE___BUILTIN_FABSL 1
71889 _ACEOF
71896 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71897 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71898 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71899 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71900 echo $ECHO_N "(cached) $ECHO_C" >&6
71901 else
71905 ac_ext=cc
71906 ac_cpp='$CXXCPP $CPPFLAGS'
71907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71911 cat >conftest.$ac_ext <<_ACEOF
71912 /* confdefs.h. */
71913 _ACEOF
71914 cat confdefs.h >>conftest.$ac_ext
71915 cat >>conftest.$ac_ext <<_ACEOF
71916 /* end confdefs.h. */
71917 #include <math.h>
71919 main ()
71921 __builtin_labs(0);
71923 return 0;
71925 _ACEOF
71926 rm -f conftest.$ac_objext
71927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71928 (eval $ac_compile) 2>conftest.er1
71929 ac_status=$?
71930 grep -v '^ *+' conftest.er1 >conftest.err
71931 rm -f conftest.er1
71932 cat conftest.err >&5
71933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71934 (exit $ac_status); } &&
71935 { ac_try='test -z "$ac_cxx_werror_flag"
71936 || test ! -s conftest.err'
71937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71938 (eval $ac_try) 2>&5
71939 ac_status=$?
71940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71941 (exit $ac_status); }; } &&
71942 { ac_try='test -s conftest.$ac_objext'
71943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71944 (eval $ac_try) 2>&5
71945 ac_status=$?
71946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71947 (exit $ac_status); }; }; then
71948 glibcxx_cv_func___builtin_labs_use=yes
71949 else
71950 echo "$as_me: failed program was:" >&5
71951 sed 's/^/| /' conftest.$ac_ext >&5
71953 glibcxx_cv_func___builtin_labs_use=no
71955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71956 ac_ext=c
71957 ac_cpp='$CPP $CPPFLAGS'
71958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71966 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71967 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71968 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71969 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71970 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71971 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71972 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71973 echo $ECHO_N "(cached) $ECHO_C" >&6
71974 else
71976 if test x$gcc_no_link = xyes; then
71977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71979 { (exit 1); exit 1; }; }
71981 cat >conftest.$ac_ext <<_ACEOF
71982 /* confdefs.h. */
71983 _ACEOF
71984 cat confdefs.h >>conftest.$ac_ext
71985 cat >>conftest.$ac_ext <<_ACEOF
71986 /* end confdefs.h. */
71987 #include <math.h>
71989 main ()
71991 __builtin_labs(0);
71993 return 0;
71995 _ACEOF
71996 rm -f conftest.$ac_objext conftest$ac_exeext
71997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71998 (eval $ac_link) 2>conftest.er1
71999 ac_status=$?
72000 grep -v '^ *+' conftest.er1 >conftest.err
72001 rm -f conftest.er1
72002 cat conftest.err >&5
72003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72004 (exit $ac_status); } &&
72005 { ac_try='test -z "$ac_c_werror_flag"
72006 || test ! -s conftest.err'
72007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72008 (eval $ac_try) 2>&5
72009 ac_status=$?
72010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72011 (exit $ac_status); }; } &&
72012 { ac_try='test -s conftest$ac_exeext'
72013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72014 (eval $ac_try) 2>&5
72015 ac_status=$?
72016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72017 (exit $ac_status); }; }; then
72018 glibcxx_cv_func___builtin_labs_link=yes
72019 else
72020 echo "$as_me: failed program was:" >&5
72021 sed 's/^/| /' conftest.$ac_ext >&5
72023 glibcxx_cv_func___builtin_labs_link=no
72025 rm -f conftest.err conftest.$ac_objext \
72026 conftest$ac_exeext conftest.$ac_ext
72031 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72032 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72034 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72036 cat >>confdefs.h <<\_ACEOF
72037 #define HAVE___BUILTIN_LABS 1
72038 _ACEOF
72046 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72047 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72048 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72049 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72050 echo $ECHO_N "(cached) $ECHO_C" >&6
72051 else
72055 ac_ext=cc
72056 ac_cpp='$CXXCPP $CPPFLAGS'
72057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72061 cat >conftest.$ac_ext <<_ACEOF
72062 /* confdefs.h. */
72063 _ACEOF
72064 cat confdefs.h >>conftest.$ac_ext
72065 cat >>conftest.$ac_ext <<_ACEOF
72066 /* end confdefs.h. */
72067 #include <math.h>
72069 main ()
72071 __builtin_sqrtf(0);
72073 return 0;
72075 _ACEOF
72076 rm -f conftest.$ac_objext
72077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72078 (eval $ac_compile) 2>conftest.er1
72079 ac_status=$?
72080 grep -v '^ *+' conftest.er1 >conftest.err
72081 rm -f conftest.er1
72082 cat conftest.err >&5
72083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72084 (exit $ac_status); } &&
72085 { ac_try='test -z "$ac_cxx_werror_flag"
72086 || test ! -s conftest.err'
72087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72088 (eval $ac_try) 2>&5
72089 ac_status=$?
72090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72091 (exit $ac_status); }; } &&
72092 { ac_try='test -s conftest.$ac_objext'
72093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72094 (eval $ac_try) 2>&5
72095 ac_status=$?
72096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72097 (exit $ac_status); }; }; then
72098 glibcxx_cv_func___builtin_sqrtf_use=yes
72099 else
72100 echo "$as_me: failed program was:" >&5
72101 sed 's/^/| /' conftest.$ac_ext >&5
72103 glibcxx_cv_func___builtin_sqrtf_use=no
72105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72106 ac_ext=c
72107 ac_cpp='$CPP $CPPFLAGS'
72108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72116 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72117 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72118 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72119 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72120 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72121 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72122 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72123 echo $ECHO_N "(cached) $ECHO_C" >&6
72124 else
72126 if test x$gcc_no_link = xyes; then
72127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72129 { (exit 1); exit 1; }; }
72131 cat >conftest.$ac_ext <<_ACEOF
72132 /* confdefs.h. */
72133 _ACEOF
72134 cat confdefs.h >>conftest.$ac_ext
72135 cat >>conftest.$ac_ext <<_ACEOF
72136 /* end confdefs.h. */
72137 #include <math.h>
72139 main ()
72141 __builtin_sqrtf(0);
72143 return 0;
72145 _ACEOF
72146 rm -f conftest.$ac_objext conftest$ac_exeext
72147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72148 (eval $ac_link) 2>conftest.er1
72149 ac_status=$?
72150 grep -v '^ *+' conftest.er1 >conftest.err
72151 rm -f conftest.er1
72152 cat conftest.err >&5
72153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72154 (exit $ac_status); } &&
72155 { ac_try='test -z "$ac_c_werror_flag"
72156 || test ! -s conftest.err'
72157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72158 (eval $ac_try) 2>&5
72159 ac_status=$?
72160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72161 (exit $ac_status); }; } &&
72162 { ac_try='test -s conftest$ac_exeext'
72163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72164 (eval $ac_try) 2>&5
72165 ac_status=$?
72166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72167 (exit $ac_status); }; }; then
72168 glibcxx_cv_func___builtin_sqrtf_link=yes
72169 else
72170 echo "$as_me: failed program was:" >&5
72171 sed 's/^/| /' conftest.$ac_ext >&5
72173 glibcxx_cv_func___builtin_sqrtf_link=no
72175 rm -f conftest.err conftest.$ac_objext \
72176 conftest$ac_exeext conftest.$ac_ext
72181 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72182 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72184 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72186 cat >>confdefs.h <<\_ACEOF
72187 #define HAVE___BUILTIN_SQRTF 1
72188 _ACEOF
72195 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72196 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72197 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72198 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72199 echo $ECHO_N "(cached) $ECHO_C" >&6
72200 else
72204 ac_ext=cc
72205 ac_cpp='$CXXCPP $CPPFLAGS'
72206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72210 cat >conftest.$ac_ext <<_ACEOF
72211 /* confdefs.h. */
72212 _ACEOF
72213 cat confdefs.h >>conftest.$ac_ext
72214 cat >>conftest.$ac_ext <<_ACEOF
72215 /* end confdefs.h. */
72216 #include <math.h>
72218 main ()
72220 __builtin_sqrt(0);
72222 return 0;
72224 _ACEOF
72225 rm -f conftest.$ac_objext
72226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72227 (eval $ac_compile) 2>conftest.er1
72228 ac_status=$?
72229 grep -v '^ *+' conftest.er1 >conftest.err
72230 rm -f conftest.er1
72231 cat conftest.err >&5
72232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72233 (exit $ac_status); } &&
72234 { ac_try='test -z "$ac_cxx_werror_flag"
72235 || test ! -s conftest.err'
72236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72237 (eval $ac_try) 2>&5
72238 ac_status=$?
72239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72240 (exit $ac_status); }; } &&
72241 { ac_try='test -s conftest.$ac_objext'
72242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72243 (eval $ac_try) 2>&5
72244 ac_status=$?
72245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72246 (exit $ac_status); }; }; then
72247 glibcxx_cv_func___builtin_sqrt_use=yes
72248 else
72249 echo "$as_me: failed program was:" >&5
72250 sed 's/^/| /' conftest.$ac_ext >&5
72252 glibcxx_cv_func___builtin_sqrt_use=no
72254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72255 ac_ext=c
72256 ac_cpp='$CPP $CPPFLAGS'
72257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72265 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72266 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72267 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72268 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72269 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72270 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72271 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72272 echo $ECHO_N "(cached) $ECHO_C" >&6
72273 else
72275 if test x$gcc_no_link = xyes; then
72276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72278 { (exit 1); exit 1; }; }
72280 cat >conftest.$ac_ext <<_ACEOF
72281 /* confdefs.h. */
72282 _ACEOF
72283 cat confdefs.h >>conftest.$ac_ext
72284 cat >>conftest.$ac_ext <<_ACEOF
72285 /* end confdefs.h. */
72286 #include <math.h>
72288 main ()
72290 __builtin_sqrt(0);
72292 return 0;
72294 _ACEOF
72295 rm -f conftest.$ac_objext conftest$ac_exeext
72296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72297 (eval $ac_link) 2>conftest.er1
72298 ac_status=$?
72299 grep -v '^ *+' conftest.er1 >conftest.err
72300 rm -f conftest.er1
72301 cat conftest.err >&5
72302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72303 (exit $ac_status); } &&
72304 { ac_try='test -z "$ac_c_werror_flag"
72305 || test ! -s conftest.err'
72306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72307 (eval $ac_try) 2>&5
72308 ac_status=$?
72309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72310 (exit $ac_status); }; } &&
72311 { ac_try='test -s conftest$ac_exeext'
72312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72313 (eval $ac_try) 2>&5
72314 ac_status=$?
72315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72316 (exit $ac_status); }; }; then
72317 glibcxx_cv_func___builtin_sqrt_link=yes
72318 else
72319 echo "$as_me: failed program was:" >&5
72320 sed 's/^/| /' conftest.$ac_ext >&5
72322 glibcxx_cv_func___builtin_sqrt_link=no
72324 rm -f conftest.err conftest.$ac_objext \
72325 conftest$ac_exeext conftest.$ac_ext
72330 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72331 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72333 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
72335 cat >>confdefs.h <<\_ACEOF
72336 #define HAVE___BUILTIN_SQRT 1
72337 _ACEOF
72344 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
72345 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
72346 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
72347 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
72348 echo $ECHO_N "(cached) $ECHO_C" >&6
72349 else
72353 ac_ext=cc
72354 ac_cpp='$CXXCPP $CPPFLAGS'
72355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72359 cat >conftest.$ac_ext <<_ACEOF
72360 /* confdefs.h. */
72361 _ACEOF
72362 cat confdefs.h >>conftest.$ac_ext
72363 cat >>conftest.$ac_ext <<_ACEOF
72364 /* end confdefs.h. */
72365 #include <math.h>
72367 main ()
72369 __builtin_sqrtl(0);
72371 return 0;
72373 _ACEOF
72374 rm -f conftest.$ac_objext
72375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72376 (eval $ac_compile) 2>conftest.er1
72377 ac_status=$?
72378 grep -v '^ *+' conftest.er1 >conftest.err
72379 rm -f conftest.er1
72380 cat conftest.err >&5
72381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72382 (exit $ac_status); } &&
72383 { ac_try='test -z "$ac_cxx_werror_flag"
72384 || test ! -s conftest.err'
72385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72386 (eval $ac_try) 2>&5
72387 ac_status=$?
72388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72389 (exit $ac_status); }; } &&
72390 { ac_try='test -s conftest.$ac_objext'
72391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72392 (eval $ac_try) 2>&5
72393 ac_status=$?
72394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72395 (exit $ac_status); }; }; then
72396 glibcxx_cv_func___builtin_sqrtl_use=yes
72397 else
72398 echo "$as_me: failed program was:" >&5
72399 sed 's/^/| /' conftest.$ac_ext >&5
72401 glibcxx_cv_func___builtin_sqrtl_use=no
72403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72404 ac_ext=c
72405 ac_cpp='$CPP $CPPFLAGS'
72406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72414 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
72415 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
72416 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
72417 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
72418 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
72419 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
72420 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
72421 echo $ECHO_N "(cached) $ECHO_C" >&6
72422 else
72424 if test x$gcc_no_link = xyes; then
72425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72427 { (exit 1); exit 1; }; }
72429 cat >conftest.$ac_ext <<_ACEOF
72430 /* confdefs.h. */
72431 _ACEOF
72432 cat confdefs.h >>conftest.$ac_ext
72433 cat >>conftest.$ac_ext <<_ACEOF
72434 /* end confdefs.h. */
72435 #include <math.h>
72437 main ()
72439 __builtin_sqrtl(0);
72441 return 0;
72443 _ACEOF
72444 rm -f conftest.$ac_objext conftest$ac_exeext
72445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72446 (eval $ac_link) 2>conftest.er1
72447 ac_status=$?
72448 grep -v '^ *+' conftest.er1 >conftest.err
72449 rm -f conftest.er1
72450 cat conftest.err >&5
72451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72452 (exit $ac_status); } &&
72453 { ac_try='test -z "$ac_c_werror_flag"
72454 || test ! -s conftest.err'
72455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72456 (eval $ac_try) 2>&5
72457 ac_status=$?
72458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72459 (exit $ac_status); }; } &&
72460 { ac_try='test -s conftest$ac_exeext'
72461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72462 (eval $ac_try) 2>&5
72463 ac_status=$?
72464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72465 (exit $ac_status); }; }; then
72466 glibcxx_cv_func___builtin_sqrtl_link=yes
72467 else
72468 echo "$as_me: failed program was:" >&5
72469 sed 's/^/| /' conftest.$ac_ext >&5
72471 glibcxx_cv_func___builtin_sqrtl_link=no
72473 rm -f conftest.err conftest.$ac_objext \
72474 conftest$ac_exeext conftest.$ac_ext
72479 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
72480 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
72482 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
72484 cat >>confdefs.h <<\_ACEOF
72485 #define HAVE___BUILTIN_SQRTL 1
72486 _ACEOF
72494 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
72495 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
72496 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
72497 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
72498 echo $ECHO_N "(cached) $ECHO_C" >&6
72499 else
72503 ac_ext=cc
72504 ac_cpp='$CXXCPP $CPPFLAGS'
72505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72509 cat >conftest.$ac_ext <<_ACEOF
72510 /* confdefs.h. */
72511 _ACEOF
72512 cat confdefs.h >>conftest.$ac_ext
72513 cat >>conftest.$ac_ext <<_ACEOF
72514 /* end confdefs.h. */
72515 #include <math.h>
72517 main ()
72519 __builtin_sinf(0);
72521 return 0;
72523 _ACEOF
72524 rm -f conftest.$ac_objext
72525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72526 (eval $ac_compile) 2>conftest.er1
72527 ac_status=$?
72528 grep -v '^ *+' conftest.er1 >conftest.err
72529 rm -f conftest.er1
72530 cat conftest.err >&5
72531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72532 (exit $ac_status); } &&
72533 { ac_try='test -z "$ac_cxx_werror_flag"
72534 || test ! -s conftest.err'
72535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72536 (eval $ac_try) 2>&5
72537 ac_status=$?
72538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72539 (exit $ac_status); }; } &&
72540 { ac_try='test -s conftest.$ac_objext'
72541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72542 (eval $ac_try) 2>&5
72543 ac_status=$?
72544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72545 (exit $ac_status); }; }; then
72546 glibcxx_cv_func___builtin_sinf_use=yes
72547 else
72548 echo "$as_me: failed program was:" >&5
72549 sed 's/^/| /' conftest.$ac_ext >&5
72551 glibcxx_cv_func___builtin_sinf_use=no
72553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72554 ac_ext=c
72555 ac_cpp='$CPP $CPPFLAGS'
72556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72564 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
72565 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
72566 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
72567 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
72568 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
72569 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
72570 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
72571 echo $ECHO_N "(cached) $ECHO_C" >&6
72572 else
72574 if test x$gcc_no_link = xyes; then
72575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72577 { (exit 1); exit 1; }; }
72579 cat >conftest.$ac_ext <<_ACEOF
72580 /* confdefs.h. */
72581 _ACEOF
72582 cat confdefs.h >>conftest.$ac_ext
72583 cat >>conftest.$ac_ext <<_ACEOF
72584 /* end confdefs.h. */
72585 #include <math.h>
72587 main ()
72589 __builtin_sinf(0);
72591 return 0;
72593 _ACEOF
72594 rm -f conftest.$ac_objext conftest$ac_exeext
72595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72596 (eval $ac_link) 2>conftest.er1
72597 ac_status=$?
72598 grep -v '^ *+' conftest.er1 >conftest.err
72599 rm -f conftest.er1
72600 cat conftest.err >&5
72601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72602 (exit $ac_status); } &&
72603 { ac_try='test -z "$ac_c_werror_flag"
72604 || test ! -s conftest.err'
72605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72606 (eval $ac_try) 2>&5
72607 ac_status=$?
72608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72609 (exit $ac_status); }; } &&
72610 { ac_try='test -s conftest$ac_exeext'
72611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72612 (eval $ac_try) 2>&5
72613 ac_status=$?
72614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72615 (exit $ac_status); }; }; then
72616 glibcxx_cv_func___builtin_sinf_link=yes
72617 else
72618 echo "$as_me: failed program was:" >&5
72619 sed 's/^/| /' conftest.$ac_ext >&5
72621 glibcxx_cv_func___builtin_sinf_link=no
72623 rm -f conftest.err conftest.$ac_objext \
72624 conftest$ac_exeext conftest.$ac_ext
72629 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
72630 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
72632 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
72634 cat >>confdefs.h <<\_ACEOF
72635 #define HAVE___BUILTIN_SINF 1
72636 _ACEOF
72643 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
72644 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
72645 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
72646 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
72647 echo $ECHO_N "(cached) $ECHO_C" >&6
72648 else
72652 ac_ext=cc
72653 ac_cpp='$CXXCPP $CPPFLAGS'
72654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72658 cat >conftest.$ac_ext <<_ACEOF
72659 /* confdefs.h. */
72660 _ACEOF
72661 cat confdefs.h >>conftest.$ac_ext
72662 cat >>conftest.$ac_ext <<_ACEOF
72663 /* end confdefs.h. */
72664 #include <math.h>
72666 main ()
72668 __builtin_sin(0);
72670 return 0;
72672 _ACEOF
72673 rm -f conftest.$ac_objext
72674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72675 (eval $ac_compile) 2>conftest.er1
72676 ac_status=$?
72677 grep -v '^ *+' conftest.er1 >conftest.err
72678 rm -f conftest.er1
72679 cat conftest.err >&5
72680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72681 (exit $ac_status); } &&
72682 { ac_try='test -z "$ac_cxx_werror_flag"
72683 || test ! -s conftest.err'
72684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72685 (eval $ac_try) 2>&5
72686 ac_status=$?
72687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72688 (exit $ac_status); }; } &&
72689 { ac_try='test -s conftest.$ac_objext'
72690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72691 (eval $ac_try) 2>&5
72692 ac_status=$?
72693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72694 (exit $ac_status); }; }; then
72695 glibcxx_cv_func___builtin_sin_use=yes
72696 else
72697 echo "$as_me: failed program was:" >&5
72698 sed 's/^/| /' conftest.$ac_ext >&5
72700 glibcxx_cv_func___builtin_sin_use=no
72702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72703 ac_ext=c
72704 ac_cpp='$CPP $CPPFLAGS'
72705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72713 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
72714 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
72715 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
72716 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
72717 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
72718 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
72719 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
72720 echo $ECHO_N "(cached) $ECHO_C" >&6
72721 else
72723 if test x$gcc_no_link = xyes; then
72724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72726 { (exit 1); exit 1; }; }
72728 cat >conftest.$ac_ext <<_ACEOF
72729 /* confdefs.h. */
72730 _ACEOF
72731 cat confdefs.h >>conftest.$ac_ext
72732 cat >>conftest.$ac_ext <<_ACEOF
72733 /* end confdefs.h. */
72734 #include <math.h>
72736 main ()
72738 __builtin_sin(0);
72740 return 0;
72742 _ACEOF
72743 rm -f conftest.$ac_objext conftest$ac_exeext
72744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72745 (eval $ac_link) 2>conftest.er1
72746 ac_status=$?
72747 grep -v '^ *+' conftest.er1 >conftest.err
72748 rm -f conftest.er1
72749 cat conftest.err >&5
72750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72751 (exit $ac_status); } &&
72752 { ac_try='test -z "$ac_c_werror_flag"
72753 || test ! -s conftest.err'
72754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72755 (eval $ac_try) 2>&5
72756 ac_status=$?
72757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72758 (exit $ac_status); }; } &&
72759 { ac_try='test -s conftest$ac_exeext'
72760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72761 (eval $ac_try) 2>&5
72762 ac_status=$?
72763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72764 (exit $ac_status); }; }; then
72765 glibcxx_cv_func___builtin_sin_link=yes
72766 else
72767 echo "$as_me: failed program was:" >&5
72768 sed 's/^/| /' conftest.$ac_ext >&5
72770 glibcxx_cv_func___builtin_sin_link=no
72772 rm -f conftest.err conftest.$ac_objext \
72773 conftest$ac_exeext conftest.$ac_ext
72778 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
72779 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
72781 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
72783 cat >>confdefs.h <<\_ACEOF
72784 #define HAVE___BUILTIN_SIN 1
72785 _ACEOF
72792 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72793 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72794 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72795 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72796 echo $ECHO_N "(cached) $ECHO_C" >&6
72797 else
72801 ac_ext=cc
72802 ac_cpp='$CXXCPP $CPPFLAGS'
72803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72807 cat >conftest.$ac_ext <<_ACEOF
72808 /* confdefs.h. */
72809 _ACEOF
72810 cat confdefs.h >>conftest.$ac_ext
72811 cat >>conftest.$ac_ext <<_ACEOF
72812 /* end confdefs.h. */
72813 #include <math.h>
72815 main ()
72817 __builtin_sinl(0);
72819 return 0;
72821 _ACEOF
72822 rm -f conftest.$ac_objext
72823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72824 (eval $ac_compile) 2>conftest.er1
72825 ac_status=$?
72826 grep -v '^ *+' conftest.er1 >conftest.err
72827 rm -f conftest.er1
72828 cat conftest.err >&5
72829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72830 (exit $ac_status); } &&
72831 { ac_try='test -z "$ac_cxx_werror_flag"
72832 || test ! -s conftest.err'
72833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72834 (eval $ac_try) 2>&5
72835 ac_status=$?
72836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72837 (exit $ac_status); }; } &&
72838 { ac_try='test -s conftest.$ac_objext'
72839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72840 (eval $ac_try) 2>&5
72841 ac_status=$?
72842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72843 (exit $ac_status); }; }; then
72844 glibcxx_cv_func___builtin_sinl_use=yes
72845 else
72846 echo "$as_me: failed program was:" >&5
72847 sed 's/^/| /' conftest.$ac_ext >&5
72849 glibcxx_cv_func___builtin_sinl_use=no
72851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72852 ac_ext=c
72853 ac_cpp='$CPP $CPPFLAGS'
72854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72862 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72863 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72864 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72865 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72866 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72867 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72868 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72869 echo $ECHO_N "(cached) $ECHO_C" >&6
72870 else
72872 if test x$gcc_no_link = xyes; then
72873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72875 { (exit 1); exit 1; }; }
72877 cat >conftest.$ac_ext <<_ACEOF
72878 /* confdefs.h. */
72879 _ACEOF
72880 cat confdefs.h >>conftest.$ac_ext
72881 cat >>conftest.$ac_ext <<_ACEOF
72882 /* end confdefs.h. */
72883 #include <math.h>
72885 main ()
72887 __builtin_sinl(0);
72889 return 0;
72891 _ACEOF
72892 rm -f conftest.$ac_objext conftest$ac_exeext
72893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72894 (eval $ac_link) 2>conftest.er1
72895 ac_status=$?
72896 grep -v '^ *+' conftest.er1 >conftest.err
72897 rm -f conftest.er1
72898 cat conftest.err >&5
72899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72900 (exit $ac_status); } &&
72901 { ac_try='test -z "$ac_c_werror_flag"
72902 || test ! -s conftest.err'
72903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72904 (eval $ac_try) 2>&5
72905 ac_status=$?
72906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72907 (exit $ac_status); }; } &&
72908 { ac_try='test -s conftest$ac_exeext'
72909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72910 (eval $ac_try) 2>&5
72911 ac_status=$?
72912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72913 (exit $ac_status); }; }; then
72914 glibcxx_cv_func___builtin_sinl_link=yes
72915 else
72916 echo "$as_me: failed program was:" >&5
72917 sed 's/^/| /' conftest.$ac_ext >&5
72919 glibcxx_cv_func___builtin_sinl_link=no
72921 rm -f conftest.err conftest.$ac_objext \
72922 conftest$ac_exeext conftest.$ac_ext
72927 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72928 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72930 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72932 cat >>confdefs.h <<\_ACEOF
72933 #define HAVE___BUILTIN_SINL 1
72934 _ACEOF
72942 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72943 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72944 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72945 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72946 echo $ECHO_N "(cached) $ECHO_C" >&6
72947 else
72951 ac_ext=cc
72952 ac_cpp='$CXXCPP $CPPFLAGS'
72953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72957 cat >conftest.$ac_ext <<_ACEOF
72958 /* confdefs.h. */
72959 _ACEOF
72960 cat confdefs.h >>conftest.$ac_ext
72961 cat >>conftest.$ac_ext <<_ACEOF
72962 /* end confdefs.h. */
72963 #include <math.h>
72965 main ()
72967 __builtin_cosf(0);
72969 return 0;
72971 _ACEOF
72972 rm -f conftest.$ac_objext
72973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72974 (eval $ac_compile) 2>conftest.er1
72975 ac_status=$?
72976 grep -v '^ *+' conftest.er1 >conftest.err
72977 rm -f conftest.er1
72978 cat conftest.err >&5
72979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72980 (exit $ac_status); } &&
72981 { ac_try='test -z "$ac_cxx_werror_flag"
72982 || test ! -s conftest.err'
72983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72984 (eval $ac_try) 2>&5
72985 ac_status=$?
72986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72987 (exit $ac_status); }; } &&
72988 { ac_try='test -s conftest.$ac_objext'
72989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72990 (eval $ac_try) 2>&5
72991 ac_status=$?
72992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72993 (exit $ac_status); }; }; then
72994 glibcxx_cv_func___builtin_cosf_use=yes
72995 else
72996 echo "$as_me: failed program was:" >&5
72997 sed 's/^/| /' conftest.$ac_ext >&5
72999 glibcxx_cv_func___builtin_cosf_use=no
73001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73002 ac_ext=c
73003 ac_cpp='$CPP $CPPFLAGS'
73004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73012 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73013 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73014 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73015 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73016 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73017 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73018 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73019 echo $ECHO_N "(cached) $ECHO_C" >&6
73020 else
73022 if test x$gcc_no_link = xyes; then
73023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73025 { (exit 1); exit 1; }; }
73027 cat >conftest.$ac_ext <<_ACEOF
73028 /* confdefs.h. */
73029 _ACEOF
73030 cat confdefs.h >>conftest.$ac_ext
73031 cat >>conftest.$ac_ext <<_ACEOF
73032 /* end confdefs.h. */
73033 #include <math.h>
73035 main ()
73037 __builtin_cosf(0);
73039 return 0;
73041 _ACEOF
73042 rm -f conftest.$ac_objext conftest$ac_exeext
73043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73044 (eval $ac_link) 2>conftest.er1
73045 ac_status=$?
73046 grep -v '^ *+' conftest.er1 >conftest.err
73047 rm -f conftest.er1
73048 cat conftest.err >&5
73049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73050 (exit $ac_status); } &&
73051 { ac_try='test -z "$ac_c_werror_flag"
73052 || test ! -s conftest.err'
73053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73054 (eval $ac_try) 2>&5
73055 ac_status=$?
73056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73057 (exit $ac_status); }; } &&
73058 { ac_try='test -s conftest$ac_exeext'
73059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73060 (eval $ac_try) 2>&5
73061 ac_status=$?
73062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73063 (exit $ac_status); }; }; then
73064 glibcxx_cv_func___builtin_cosf_link=yes
73065 else
73066 echo "$as_me: failed program was:" >&5
73067 sed 's/^/| /' conftest.$ac_ext >&5
73069 glibcxx_cv_func___builtin_cosf_link=no
73071 rm -f conftest.err conftest.$ac_objext \
73072 conftest$ac_exeext conftest.$ac_ext
73077 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73078 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73080 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73082 cat >>confdefs.h <<\_ACEOF
73083 #define HAVE___BUILTIN_COSF 1
73084 _ACEOF
73091 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73092 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73093 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73094 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73095 echo $ECHO_N "(cached) $ECHO_C" >&6
73096 else
73100 ac_ext=cc
73101 ac_cpp='$CXXCPP $CPPFLAGS'
73102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73106 cat >conftest.$ac_ext <<_ACEOF
73107 /* confdefs.h. */
73108 _ACEOF
73109 cat confdefs.h >>conftest.$ac_ext
73110 cat >>conftest.$ac_ext <<_ACEOF
73111 /* end confdefs.h. */
73112 #include <math.h>
73114 main ()
73116 __builtin_cos(0);
73118 return 0;
73120 _ACEOF
73121 rm -f conftest.$ac_objext
73122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73123 (eval $ac_compile) 2>conftest.er1
73124 ac_status=$?
73125 grep -v '^ *+' conftest.er1 >conftest.err
73126 rm -f conftest.er1
73127 cat conftest.err >&5
73128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73129 (exit $ac_status); } &&
73130 { ac_try='test -z "$ac_cxx_werror_flag"
73131 || test ! -s conftest.err'
73132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73133 (eval $ac_try) 2>&5
73134 ac_status=$?
73135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73136 (exit $ac_status); }; } &&
73137 { ac_try='test -s conftest.$ac_objext'
73138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73139 (eval $ac_try) 2>&5
73140 ac_status=$?
73141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73142 (exit $ac_status); }; }; then
73143 glibcxx_cv_func___builtin_cos_use=yes
73144 else
73145 echo "$as_me: failed program was:" >&5
73146 sed 's/^/| /' conftest.$ac_ext >&5
73148 glibcxx_cv_func___builtin_cos_use=no
73150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73151 ac_ext=c
73152 ac_cpp='$CPP $CPPFLAGS'
73153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73161 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73162 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73163 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73164 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73165 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73166 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73167 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73168 echo $ECHO_N "(cached) $ECHO_C" >&6
73169 else
73171 if test x$gcc_no_link = xyes; then
73172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73174 { (exit 1); exit 1; }; }
73176 cat >conftest.$ac_ext <<_ACEOF
73177 /* confdefs.h. */
73178 _ACEOF
73179 cat confdefs.h >>conftest.$ac_ext
73180 cat >>conftest.$ac_ext <<_ACEOF
73181 /* end confdefs.h. */
73182 #include <math.h>
73184 main ()
73186 __builtin_cos(0);
73188 return 0;
73190 _ACEOF
73191 rm -f conftest.$ac_objext conftest$ac_exeext
73192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73193 (eval $ac_link) 2>conftest.er1
73194 ac_status=$?
73195 grep -v '^ *+' conftest.er1 >conftest.err
73196 rm -f conftest.er1
73197 cat conftest.err >&5
73198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73199 (exit $ac_status); } &&
73200 { ac_try='test -z "$ac_c_werror_flag"
73201 || test ! -s conftest.err'
73202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73203 (eval $ac_try) 2>&5
73204 ac_status=$?
73205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73206 (exit $ac_status); }; } &&
73207 { ac_try='test -s conftest$ac_exeext'
73208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73209 (eval $ac_try) 2>&5
73210 ac_status=$?
73211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73212 (exit $ac_status); }; }; then
73213 glibcxx_cv_func___builtin_cos_link=yes
73214 else
73215 echo "$as_me: failed program was:" >&5
73216 sed 's/^/| /' conftest.$ac_ext >&5
73218 glibcxx_cv_func___builtin_cos_link=no
73220 rm -f conftest.err conftest.$ac_objext \
73221 conftest$ac_exeext conftest.$ac_ext
73226 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73227 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73229 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73231 cat >>confdefs.h <<\_ACEOF
73232 #define HAVE___BUILTIN_COS 1
73233 _ACEOF
73240 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73241 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73242 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73243 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73244 echo $ECHO_N "(cached) $ECHO_C" >&6
73245 else
73249 ac_ext=cc
73250 ac_cpp='$CXXCPP $CPPFLAGS'
73251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73255 cat >conftest.$ac_ext <<_ACEOF
73256 /* confdefs.h. */
73257 _ACEOF
73258 cat confdefs.h >>conftest.$ac_ext
73259 cat >>conftest.$ac_ext <<_ACEOF
73260 /* end confdefs.h. */
73261 #include <math.h>
73263 main ()
73265 __builtin_cosl(0);
73267 return 0;
73269 _ACEOF
73270 rm -f conftest.$ac_objext
73271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73272 (eval $ac_compile) 2>conftest.er1
73273 ac_status=$?
73274 grep -v '^ *+' conftest.er1 >conftest.err
73275 rm -f conftest.er1
73276 cat conftest.err >&5
73277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73278 (exit $ac_status); } &&
73279 { ac_try='test -z "$ac_cxx_werror_flag"
73280 || test ! -s conftest.err'
73281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73282 (eval $ac_try) 2>&5
73283 ac_status=$?
73284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73285 (exit $ac_status); }; } &&
73286 { ac_try='test -s conftest.$ac_objext'
73287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73288 (eval $ac_try) 2>&5
73289 ac_status=$?
73290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73291 (exit $ac_status); }; }; then
73292 glibcxx_cv_func___builtin_cosl_use=yes
73293 else
73294 echo "$as_me: failed program was:" >&5
73295 sed 's/^/| /' conftest.$ac_ext >&5
73297 glibcxx_cv_func___builtin_cosl_use=no
73299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73300 ac_ext=c
73301 ac_cpp='$CPP $CPPFLAGS'
73302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73310 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73311 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73312 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73313 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73314 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73315 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73316 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73317 echo $ECHO_N "(cached) $ECHO_C" >&6
73318 else
73320 if test x$gcc_no_link = xyes; then
73321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73323 { (exit 1); exit 1; }; }
73325 cat >conftest.$ac_ext <<_ACEOF
73326 /* confdefs.h. */
73327 _ACEOF
73328 cat confdefs.h >>conftest.$ac_ext
73329 cat >>conftest.$ac_ext <<_ACEOF
73330 /* end confdefs.h. */
73331 #include <math.h>
73333 main ()
73335 __builtin_cosl(0);
73337 return 0;
73339 _ACEOF
73340 rm -f conftest.$ac_objext conftest$ac_exeext
73341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73342 (eval $ac_link) 2>conftest.er1
73343 ac_status=$?
73344 grep -v '^ *+' conftest.er1 >conftest.err
73345 rm -f conftest.er1
73346 cat conftest.err >&5
73347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73348 (exit $ac_status); } &&
73349 { ac_try='test -z "$ac_c_werror_flag"
73350 || test ! -s conftest.err'
73351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73352 (eval $ac_try) 2>&5
73353 ac_status=$?
73354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73355 (exit $ac_status); }; } &&
73356 { ac_try='test -s conftest$ac_exeext'
73357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73358 (eval $ac_try) 2>&5
73359 ac_status=$?
73360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73361 (exit $ac_status); }; }; then
73362 glibcxx_cv_func___builtin_cosl_link=yes
73363 else
73364 echo "$as_me: failed program was:" >&5
73365 sed 's/^/| /' conftest.$ac_ext >&5
73367 glibcxx_cv_func___builtin_cosl_link=no
73369 rm -f conftest.err conftest.$ac_objext \
73370 conftest$ac_exeext conftest.$ac_ext
73375 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
73376 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
73378 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
73380 cat >>confdefs.h <<\_ACEOF
73381 #define HAVE___BUILTIN_COSL 1
73382 _ACEOF
73391 echo "$as_me:$LINENO: checking for main in -lm" >&5
73392 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
73393 if test "${ac_cv_lib_m_main+set}" = set; then
73394 echo $ECHO_N "(cached) $ECHO_C" >&6
73395 else
73396 ac_check_lib_save_LIBS=$LIBS
73397 LIBS="-lm $LIBS"
73398 if test x$gcc_no_link = xyes; then
73399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73401 { (exit 1); exit 1; }; }
73403 cat >conftest.$ac_ext <<_ACEOF
73404 /* confdefs.h. */
73405 _ACEOF
73406 cat confdefs.h >>conftest.$ac_ext
73407 cat >>conftest.$ac_ext <<_ACEOF
73408 /* end confdefs.h. */
73412 main ()
73414 main ();
73416 return 0;
73418 _ACEOF
73419 rm -f conftest.$ac_objext conftest$ac_exeext
73420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73421 (eval $ac_link) 2>conftest.er1
73422 ac_status=$?
73423 grep -v '^ *+' conftest.er1 >conftest.err
73424 rm -f conftest.er1
73425 cat conftest.err >&5
73426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73427 (exit $ac_status); } &&
73428 { ac_try='test -z "$ac_c_werror_flag"
73429 || test ! -s conftest.err'
73430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73431 (eval $ac_try) 2>&5
73432 ac_status=$?
73433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73434 (exit $ac_status); }; } &&
73435 { ac_try='test -s conftest$ac_exeext'
73436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73437 (eval $ac_try) 2>&5
73438 ac_status=$?
73439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73440 (exit $ac_status); }; }; then
73441 ac_cv_lib_m_main=yes
73442 else
73443 echo "$as_me: failed program was:" >&5
73444 sed 's/^/| /' conftest.$ac_ext >&5
73446 ac_cv_lib_m_main=no
73448 rm -f conftest.err conftest.$ac_objext \
73449 conftest$ac_exeext conftest.$ac_ext
73450 LIBS=$ac_check_lib_save_LIBS
73452 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
73453 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
73454 if test $ac_cv_lib_m_main = yes; then
73455 cat >>confdefs.h <<_ACEOF
73456 #define HAVE_LIBM 1
73457 _ACEOF
73459 LIBS="-lm $LIBS"
73464 for ac_func in copysignf
73466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73467 echo "$as_me:$LINENO: checking for $ac_func" >&5
73468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73469 if eval "test \"\${$as_ac_var+set}\" = set"; then
73470 echo $ECHO_N "(cached) $ECHO_C" >&6
73471 else
73472 if test x$gcc_no_link = xyes; then
73473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73475 { (exit 1); exit 1; }; }
73477 cat >conftest.$ac_ext <<_ACEOF
73478 /* confdefs.h. */
73479 _ACEOF
73480 cat confdefs.h >>conftest.$ac_ext
73481 cat >>conftest.$ac_ext <<_ACEOF
73482 /* end confdefs.h. */
73483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73485 #define $ac_func innocuous_$ac_func
73487 /* System header to define __stub macros and hopefully few prototypes,
73488 which can conflict with char $ac_func (); below.
73489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73490 <limits.h> exists even on freestanding compilers. */
73492 #ifdef __STDC__
73493 # include <limits.h>
73494 #else
73495 # include <assert.h>
73496 #endif
73498 #undef $ac_func
73500 /* Override any gcc2 internal prototype to avoid an error. */
73501 #ifdef __cplusplus
73502 extern "C"
73504 #endif
73505 /* We use char because int might match the return type of a gcc2
73506 builtin and then its argument prototype would still apply. */
73507 char $ac_func ();
73508 /* The GNU C library defines this for functions which it implements
73509 to always fail with ENOSYS. Some functions are actually named
73510 something starting with __ and the normal name is an alias. */
73511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73512 choke me
73513 #else
73514 char (*f) () = $ac_func;
73515 #endif
73516 #ifdef __cplusplus
73518 #endif
73521 main ()
73523 return f != $ac_func;
73525 return 0;
73527 _ACEOF
73528 rm -f conftest.$ac_objext conftest$ac_exeext
73529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73530 (eval $ac_link) 2>conftest.er1
73531 ac_status=$?
73532 grep -v '^ *+' conftest.er1 >conftest.err
73533 rm -f conftest.er1
73534 cat conftest.err >&5
73535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73536 (exit $ac_status); } &&
73537 { ac_try='test -z "$ac_c_werror_flag"
73538 || test ! -s conftest.err'
73539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73540 (eval $ac_try) 2>&5
73541 ac_status=$?
73542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73543 (exit $ac_status); }; } &&
73544 { ac_try='test -s conftest$ac_exeext'
73545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73546 (eval $ac_try) 2>&5
73547 ac_status=$?
73548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73549 (exit $ac_status); }; }; then
73550 eval "$as_ac_var=yes"
73551 else
73552 echo "$as_me: failed program was:" >&5
73553 sed 's/^/| /' conftest.$ac_ext >&5
73555 eval "$as_ac_var=no"
73557 rm -f conftest.err conftest.$ac_objext \
73558 conftest$ac_exeext conftest.$ac_ext
73560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73562 if test `eval echo '${'$as_ac_var'}'` = yes; then
73563 cat >>confdefs.h <<_ACEOF
73564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73565 _ACEOF
73567 else
73568 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
73570 done
73574 for ac_func in __signbit
73576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73577 echo "$as_me:$LINENO: checking for $ac_func" >&5
73578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73579 if eval "test \"\${$as_ac_var+set}\" = set"; then
73580 echo $ECHO_N "(cached) $ECHO_C" >&6
73581 else
73582 if test x$gcc_no_link = xyes; then
73583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73585 { (exit 1); exit 1; }; }
73587 cat >conftest.$ac_ext <<_ACEOF
73588 /* confdefs.h. */
73589 _ACEOF
73590 cat confdefs.h >>conftest.$ac_ext
73591 cat >>conftest.$ac_ext <<_ACEOF
73592 /* end confdefs.h. */
73593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73595 #define $ac_func innocuous_$ac_func
73597 /* System header to define __stub macros and hopefully few prototypes,
73598 which can conflict with char $ac_func (); below.
73599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73600 <limits.h> exists even on freestanding compilers. */
73602 #ifdef __STDC__
73603 # include <limits.h>
73604 #else
73605 # include <assert.h>
73606 #endif
73608 #undef $ac_func
73610 /* Override any gcc2 internal prototype to avoid an error. */
73611 #ifdef __cplusplus
73612 extern "C"
73614 #endif
73615 /* We use char because int might match the return type of a gcc2
73616 builtin and then its argument prototype would still apply. */
73617 char $ac_func ();
73618 /* The GNU C library defines this for functions which it implements
73619 to always fail with ENOSYS. Some functions are actually named
73620 something starting with __ and the normal name is an alias. */
73621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73622 choke me
73623 #else
73624 char (*f) () = $ac_func;
73625 #endif
73626 #ifdef __cplusplus
73628 #endif
73631 main ()
73633 return f != $ac_func;
73635 return 0;
73637 _ACEOF
73638 rm -f conftest.$ac_objext conftest$ac_exeext
73639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73640 (eval $ac_link) 2>conftest.er1
73641 ac_status=$?
73642 grep -v '^ *+' conftest.er1 >conftest.err
73643 rm -f conftest.er1
73644 cat conftest.err >&5
73645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73646 (exit $ac_status); } &&
73647 { ac_try='test -z "$ac_c_werror_flag"
73648 || test ! -s conftest.err'
73649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73650 (eval $ac_try) 2>&5
73651 ac_status=$?
73652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73653 (exit $ac_status); }; } &&
73654 { ac_try='test -s conftest$ac_exeext'
73655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73656 (eval $ac_try) 2>&5
73657 ac_status=$?
73658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73659 (exit $ac_status); }; }; then
73660 eval "$as_ac_var=yes"
73661 else
73662 echo "$as_me: failed program was:" >&5
73663 sed 's/^/| /' conftest.$ac_ext >&5
73665 eval "$as_ac_var=no"
73667 rm -f conftest.err conftest.$ac_objext \
73668 conftest$ac_exeext conftest.$ac_ext
73670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73672 if test `eval echo '${'$as_ac_var'}'` = yes; then
73673 cat >>confdefs.h <<_ACEOF
73674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73675 _ACEOF
73677 else
73678 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
73680 done
73684 for ac_func in __signbitf
73686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73687 echo "$as_me:$LINENO: checking for $ac_func" >&5
73688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73689 if eval "test \"\${$as_ac_var+set}\" = set"; then
73690 echo $ECHO_N "(cached) $ECHO_C" >&6
73691 else
73692 if test x$gcc_no_link = xyes; then
73693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73695 { (exit 1); exit 1; }; }
73697 cat >conftest.$ac_ext <<_ACEOF
73698 /* confdefs.h. */
73699 _ACEOF
73700 cat confdefs.h >>conftest.$ac_ext
73701 cat >>conftest.$ac_ext <<_ACEOF
73702 /* end confdefs.h. */
73703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73705 #define $ac_func innocuous_$ac_func
73707 /* System header to define __stub macros and hopefully few prototypes,
73708 which can conflict with char $ac_func (); below.
73709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73710 <limits.h> exists even on freestanding compilers. */
73712 #ifdef __STDC__
73713 # include <limits.h>
73714 #else
73715 # include <assert.h>
73716 #endif
73718 #undef $ac_func
73720 /* Override any gcc2 internal prototype to avoid an error. */
73721 #ifdef __cplusplus
73722 extern "C"
73724 #endif
73725 /* We use char because int might match the return type of a gcc2
73726 builtin and then its argument prototype would still apply. */
73727 char $ac_func ();
73728 /* The GNU C library defines this for functions which it implements
73729 to always fail with ENOSYS. Some functions are actually named
73730 something starting with __ and the normal name is an alias. */
73731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73732 choke me
73733 #else
73734 char (*f) () = $ac_func;
73735 #endif
73736 #ifdef __cplusplus
73738 #endif
73741 main ()
73743 return f != $ac_func;
73745 return 0;
73747 _ACEOF
73748 rm -f conftest.$ac_objext conftest$ac_exeext
73749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73750 (eval $ac_link) 2>conftest.er1
73751 ac_status=$?
73752 grep -v '^ *+' conftest.er1 >conftest.err
73753 rm -f conftest.er1
73754 cat conftest.err >&5
73755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73756 (exit $ac_status); } &&
73757 { ac_try='test -z "$ac_c_werror_flag"
73758 || test ! -s conftest.err'
73759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73760 (eval $ac_try) 2>&5
73761 ac_status=$?
73762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73763 (exit $ac_status); }; } &&
73764 { ac_try='test -s conftest$ac_exeext'
73765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73766 (eval $ac_try) 2>&5
73767 ac_status=$?
73768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73769 (exit $ac_status); }; }; then
73770 eval "$as_ac_var=yes"
73771 else
73772 echo "$as_me: failed program was:" >&5
73773 sed 's/^/| /' conftest.$ac_ext >&5
73775 eval "$as_ac_var=no"
73777 rm -f conftest.err conftest.$ac_objext \
73778 conftest$ac_exeext conftest.$ac_ext
73780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73782 if test `eval echo '${'$as_ac_var'}'` = yes; then
73783 cat >>confdefs.h <<_ACEOF
73784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73785 _ACEOF
73787 else
73788 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
73790 done
73793 if test x$ac_cv_func_copysignl = x"yes"; then
73795 for ac_func in __signbitl
73797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73798 echo "$as_me:$LINENO: checking for $ac_func" >&5
73799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73800 if eval "test \"\${$as_ac_var+set}\" = set"; then
73801 echo $ECHO_N "(cached) $ECHO_C" >&6
73802 else
73803 if test x$gcc_no_link = xyes; then
73804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73806 { (exit 1); exit 1; }; }
73808 cat >conftest.$ac_ext <<_ACEOF
73809 /* confdefs.h. */
73810 _ACEOF
73811 cat confdefs.h >>conftest.$ac_ext
73812 cat >>conftest.$ac_ext <<_ACEOF
73813 /* end confdefs.h. */
73814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73816 #define $ac_func innocuous_$ac_func
73818 /* System header to define __stub macros and hopefully few prototypes,
73819 which can conflict with char $ac_func (); below.
73820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73821 <limits.h> exists even on freestanding compilers. */
73823 #ifdef __STDC__
73824 # include <limits.h>
73825 #else
73826 # include <assert.h>
73827 #endif
73829 #undef $ac_func
73831 /* Override any gcc2 internal prototype to avoid an error. */
73832 #ifdef __cplusplus
73833 extern "C"
73835 #endif
73836 /* We use char because int might match the return type of a gcc2
73837 builtin and then its argument prototype would still apply. */
73838 char $ac_func ();
73839 /* The GNU C library defines this for functions which it implements
73840 to always fail with ENOSYS. Some functions are actually named
73841 something starting with __ and the normal name is an alias. */
73842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73843 choke me
73844 #else
73845 char (*f) () = $ac_func;
73846 #endif
73847 #ifdef __cplusplus
73849 #endif
73852 main ()
73854 return f != $ac_func;
73856 return 0;
73858 _ACEOF
73859 rm -f conftest.$ac_objext conftest$ac_exeext
73860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73861 (eval $ac_link) 2>conftest.er1
73862 ac_status=$?
73863 grep -v '^ *+' conftest.er1 >conftest.err
73864 rm -f conftest.er1
73865 cat conftest.err >&5
73866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73867 (exit $ac_status); } &&
73868 { ac_try='test -z "$ac_c_werror_flag"
73869 || test ! -s conftest.err'
73870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73871 (eval $ac_try) 2>&5
73872 ac_status=$?
73873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73874 (exit $ac_status); }; } &&
73875 { ac_try='test -s conftest$ac_exeext'
73876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73877 (eval $ac_try) 2>&5
73878 ac_status=$?
73879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73880 (exit $ac_status); }; }; then
73881 eval "$as_ac_var=yes"
73882 else
73883 echo "$as_me: failed program was:" >&5
73884 sed 's/^/| /' conftest.$ac_ext >&5
73886 eval "$as_ac_var=no"
73888 rm -f conftest.err conftest.$ac_objext \
73889 conftest$ac_exeext conftest.$ac_ext
73891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73893 if test `eval echo '${'$as_ac_var'}'` = yes; then
73894 cat >>confdefs.h <<_ACEOF
73895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73896 _ACEOF
73898 else
73899 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73901 done
73905 # Used in libmath/Makefile.am.
73906 if test -n "$LIBMATHOBJS"; then
73907 need_libmath=yes
73913 enable_iconv=no
73914 # Only continue checking if the ISO C99 headers exist and support is on.
73915 if test x"$enable_wchar_t" = xyes; then
73917 # Use iconv for wchar_t to char conversions. As such, check for
73918 # X/Open Portability Guide, version 2 features (XPG2).
73919 if test "${ac_cv_header_iconv_h+set}" = set; then
73920 echo "$as_me:$LINENO: checking for iconv.h" >&5
73921 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73922 if test "${ac_cv_header_iconv_h+set}" = set; then
73923 echo $ECHO_N "(cached) $ECHO_C" >&6
73925 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73926 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73927 else
73928 # Is the header compilable?
73929 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73930 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73931 cat >conftest.$ac_ext <<_ACEOF
73932 /* confdefs.h. */
73933 _ACEOF
73934 cat confdefs.h >>conftest.$ac_ext
73935 cat >>conftest.$ac_ext <<_ACEOF
73936 /* end confdefs.h. */
73937 $ac_includes_default
73938 #include <iconv.h>
73939 _ACEOF
73940 rm -f conftest.$ac_objext
73941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73942 (eval $ac_compile) 2>conftest.er1
73943 ac_status=$?
73944 grep -v '^ *+' conftest.er1 >conftest.err
73945 rm -f conftest.er1
73946 cat conftest.err >&5
73947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73948 (exit $ac_status); } &&
73949 { ac_try='test -z "$ac_c_werror_flag"
73950 || test ! -s conftest.err'
73951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73952 (eval $ac_try) 2>&5
73953 ac_status=$?
73954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73955 (exit $ac_status); }; } &&
73956 { ac_try='test -s conftest.$ac_objext'
73957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73958 (eval $ac_try) 2>&5
73959 ac_status=$?
73960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73961 (exit $ac_status); }; }; then
73962 ac_header_compiler=yes
73963 else
73964 echo "$as_me: failed program was:" >&5
73965 sed 's/^/| /' conftest.$ac_ext >&5
73967 ac_header_compiler=no
73969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73971 echo "${ECHO_T}$ac_header_compiler" >&6
73973 # Is the header present?
73974 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73975 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73976 cat >conftest.$ac_ext <<_ACEOF
73977 /* confdefs.h. */
73978 _ACEOF
73979 cat confdefs.h >>conftest.$ac_ext
73980 cat >>conftest.$ac_ext <<_ACEOF
73981 /* end confdefs.h. */
73982 #include <iconv.h>
73983 _ACEOF
73984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73986 ac_status=$?
73987 grep -v '^ *+' conftest.er1 >conftest.err
73988 rm -f conftest.er1
73989 cat conftest.err >&5
73990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73991 (exit $ac_status); } >/dev/null; then
73992 if test -s conftest.err; then
73993 ac_cpp_err=$ac_c_preproc_warn_flag
73994 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73995 else
73996 ac_cpp_err=
73998 else
73999 ac_cpp_err=yes
74001 if test -z "$ac_cpp_err"; then
74002 ac_header_preproc=yes
74003 else
74004 echo "$as_me: failed program was:" >&5
74005 sed 's/^/| /' conftest.$ac_ext >&5
74007 ac_header_preproc=no
74009 rm -f conftest.err conftest.$ac_ext
74010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74011 echo "${ECHO_T}$ac_header_preproc" >&6
74013 # So? What about this header?
74014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74015 yes:no: )
74016 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74017 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74018 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74019 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74020 ac_header_preproc=yes
74022 no:yes:* )
74023 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74024 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74025 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74026 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74027 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74028 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74029 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74030 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74031 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74032 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74033 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74034 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74036 cat <<\_ASBOX
74037 ## ----------------------------------------- ##
74038 ## Report this to the package-unused lists. ##
74039 ## ----------------------------------------- ##
74040 _ASBOX
74042 sed "s/^/$as_me: WARNING: /" >&2
74044 esac
74045 echo "$as_me:$LINENO: checking for iconv.h" >&5
74046 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74047 if test "${ac_cv_header_iconv_h+set}" = set; then
74048 echo $ECHO_N "(cached) $ECHO_C" >&6
74049 else
74050 ac_cv_header_iconv_h=$ac_header_preproc
74052 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74053 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74056 if test $ac_cv_header_iconv_h = yes; then
74057 ac_has_iconv_h=yes
74058 else
74059 ac_has_iconv_h=no
74063 if test "${ac_cv_header_langinfo_h+set}" = set; then
74064 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74065 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74066 if test "${ac_cv_header_langinfo_h+set}" = set; then
74067 echo $ECHO_N "(cached) $ECHO_C" >&6
74069 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74070 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74071 else
74072 # Is the header compilable?
74073 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74074 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74075 cat >conftest.$ac_ext <<_ACEOF
74076 /* confdefs.h. */
74077 _ACEOF
74078 cat confdefs.h >>conftest.$ac_ext
74079 cat >>conftest.$ac_ext <<_ACEOF
74080 /* end confdefs.h. */
74081 $ac_includes_default
74082 #include <langinfo.h>
74083 _ACEOF
74084 rm -f conftest.$ac_objext
74085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74086 (eval $ac_compile) 2>conftest.er1
74087 ac_status=$?
74088 grep -v '^ *+' conftest.er1 >conftest.err
74089 rm -f conftest.er1
74090 cat conftest.err >&5
74091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74092 (exit $ac_status); } &&
74093 { ac_try='test -z "$ac_c_werror_flag"
74094 || test ! -s conftest.err'
74095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74096 (eval $ac_try) 2>&5
74097 ac_status=$?
74098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74099 (exit $ac_status); }; } &&
74100 { ac_try='test -s conftest.$ac_objext'
74101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74102 (eval $ac_try) 2>&5
74103 ac_status=$?
74104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74105 (exit $ac_status); }; }; then
74106 ac_header_compiler=yes
74107 else
74108 echo "$as_me: failed program was:" >&5
74109 sed 's/^/| /' conftest.$ac_ext >&5
74111 ac_header_compiler=no
74113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74115 echo "${ECHO_T}$ac_header_compiler" >&6
74117 # Is the header present?
74118 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74119 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74120 cat >conftest.$ac_ext <<_ACEOF
74121 /* confdefs.h. */
74122 _ACEOF
74123 cat confdefs.h >>conftest.$ac_ext
74124 cat >>conftest.$ac_ext <<_ACEOF
74125 /* end confdefs.h. */
74126 #include <langinfo.h>
74127 _ACEOF
74128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74130 ac_status=$?
74131 grep -v '^ *+' conftest.er1 >conftest.err
74132 rm -f conftest.er1
74133 cat conftest.err >&5
74134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74135 (exit $ac_status); } >/dev/null; then
74136 if test -s conftest.err; then
74137 ac_cpp_err=$ac_c_preproc_warn_flag
74138 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74139 else
74140 ac_cpp_err=
74142 else
74143 ac_cpp_err=yes
74145 if test -z "$ac_cpp_err"; then
74146 ac_header_preproc=yes
74147 else
74148 echo "$as_me: failed program was:" >&5
74149 sed 's/^/| /' conftest.$ac_ext >&5
74151 ac_header_preproc=no
74153 rm -f conftest.err conftest.$ac_ext
74154 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74155 echo "${ECHO_T}$ac_header_preproc" >&6
74157 # So? What about this header?
74158 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74159 yes:no: )
74160 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74161 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74162 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74163 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74164 ac_header_preproc=yes
74166 no:yes:* )
74167 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74168 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74169 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74170 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74171 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74172 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74173 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74174 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74175 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74176 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74177 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74178 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74180 cat <<\_ASBOX
74181 ## ----------------------------------------- ##
74182 ## Report this to the package-unused lists. ##
74183 ## ----------------------------------------- ##
74184 _ASBOX
74186 sed "s/^/$as_me: WARNING: /" >&2
74188 esac
74189 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74190 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74191 if test "${ac_cv_header_langinfo_h+set}" = set; then
74192 echo $ECHO_N "(cached) $ECHO_C" >&6
74193 else
74194 ac_cv_header_langinfo_h=$ac_header_preproc
74196 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74197 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74200 if test $ac_cv_header_langinfo_h = yes; then
74201 ac_has_langinfo_h=yes
74202 else
74203 ac_has_langinfo_h=no
74208 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74209 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74210 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74211 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74212 echo $ECHO_N "(cached) $ECHO_C" >&6
74213 else
74214 ac_check_lib_save_LIBS=$LIBS
74215 LIBS="-liconv $LIBS"
74216 if test x$gcc_no_link = xyes; then
74217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74219 { (exit 1); exit 1; }; }
74221 cat >conftest.$ac_ext <<_ACEOF
74222 /* confdefs.h. */
74223 _ACEOF
74224 cat confdefs.h >>conftest.$ac_ext
74225 cat >>conftest.$ac_ext <<_ACEOF
74226 /* end confdefs.h. */
74228 /* Override any gcc2 internal prototype to avoid an error. */
74229 #ifdef __cplusplus
74230 extern "C"
74231 #endif
74232 /* We use char because int might match the return type of a gcc2
74233 builtin and then its argument prototype would still apply. */
74234 char iconv ();
74236 main ()
74238 iconv ();
74240 return 0;
74242 _ACEOF
74243 rm -f conftest.$ac_objext conftest$ac_exeext
74244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74245 (eval $ac_link) 2>conftest.er1
74246 ac_status=$?
74247 grep -v '^ *+' conftest.er1 >conftest.err
74248 rm -f conftest.er1
74249 cat conftest.err >&5
74250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74251 (exit $ac_status); } &&
74252 { ac_try='test -z "$ac_c_werror_flag"
74253 || test ! -s conftest.err'
74254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74255 (eval $ac_try) 2>&5
74256 ac_status=$?
74257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74258 (exit $ac_status); }; } &&
74259 { ac_try='test -s conftest$ac_exeext'
74260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74261 (eval $ac_try) 2>&5
74262 ac_status=$?
74263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74264 (exit $ac_status); }; }; then
74265 ac_cv_lib_iconv_iconv=yes
74266 else
74267 echo "$as_me: failed program was:" >&5
74268 sed 's/^/| /' conftest.$ac_ext >&5
74270 ac_cv_lib_iconv_iconv=no
74272 rm -f conftest.err conftest.$ac_objext \
74273 conftest$ac_exeext conftest.$ac_ext
74274 LIBS=$ac_check_lib_save_LIBS
74276 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74277 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74278 if test $ac_cv_lib_iconv_iconv = yes; then
74279 LIBICONV="-liconv"
74282 ac_save_LIBS="$LIBS"
74283 LIBS="$LIBS $LIBICONV"
74290 for ac_func in iconv_open iconv_close iconv nl_langinfo
74292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74293 echo "$as_me:$LINENO: checking for $ac_func" >&5
74294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74295 if eval "test \"\${$as_ac_var+set}\" = set"; then
74296 echo $ECHO_N "(cached) $ECHO_C" >&6
74297 else
74298 if test x$gcc_no_link = xyes; then
74299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74301 { (exit 1); exit 1; }; }
74303 cat >conftest.$ac_ext <<_ACEOF
74304 /* confdefs.h. */
74305 _ACEOF
74306 cat confdefs.h >>conftest.$ac_ext
74307 cat >>conftest.$ac_ext <<_ACEOF
74308 /* end confdefs.h. */
74309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74311 #define $ac_func innocuous_$ac_func
74313 /* System header to define __stub macros and hopefully few prototypes,
74314 which can conflict with char $ac_func (); below.
74315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74316 <limits.h> exists even on freestanding compilers. */
74318 #ifdef __STDC__
74319 # include <limits.h>
74320 #else
74321 # include <assert.h>
74322 #endif
74324 #undef $ac_func
74326 /* Override any gcc2 internal prototype to avoid an error. */
74327 #ifdef __cplusplus
74328 extern "C"
74330 #endif
74331 /* We use char because int might match the return type of a gcc2
74332 builtin and then its argument prototype would still apply. */
74333 char $ac_func ();
74334 /* The GNU C library defines this for functions which it implements
74335 to always fail with ENOSYS. Some functions are actually named
74336 something starting with __ and the normal name is an alias. */
74337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74338 choke me
74339 #else
74340 char (*f) () = $ac_func;
74341 #endif
74342 #ifdef __cplusplus
74344 #endif
74347 main ()
74349 return f != $ac_func;
74351 return 0;
74353 _ACEOF
74354 rm -f conftest.$ac_objext conftest$ac_exeext
74355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74356 (eval $ac_link) 2>conftest.er1
74357 ac_status=$?
74358 grep -v '^ *+' conftest.er1 >conftest.err
74359 rm -f conftest.er1
74360 cat conftest.err >&5
74361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74362 (exit $ac_status); } &&
74363 { ac_try='test -z "$ac_c_werror_flag"
74364 || test ! -s conftest.err'
74365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74366 (eval $ac_try) 2>&5
74367 ac_status=$?
74368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74369 (exit $ac_status); }; } &&
74370 { ac_try='test -s conftest$ac_exeext'
74371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74372 (eval $ac_try) 2>&5
74373 ac_status=$?
74374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74375 (exit $ac_status); }; }; then
74376 eval "$as_ac_var=yes"
74377 else
74378 echo "$as_me: failed program was:" >&5
74379 sed 's/^/| /' conftest.$ac_ext >&5
74381 eval "$as_ac_var=no"
74383 rm -f conftest.err conftest.$ac_objext \
74384 conftest$ac_exeext conftest.$ac_ext
74386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74388 if test `eval echo '${'$as_ac_var'}'` = yes; then
74389 cat >>confdefs.h <<_ACEOF
74390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74391 _ACEOF
74392 ac_XPG2funcs=yes
74393 else
74394 ac_XPG2funcs=no
74396 done
74399 LIBS="$ac_save_LIBS"
74401 if test x"$ac_has_iconv_h" = xyes &&
74402 test x"$ac_has_langinfo_h" = xyes &&
74403 test x"$ac_XPG2funcs" = xyes;
74404 then
74406 cat >>confdefs.h <<\_ACEOF
74407 #define _GLIBCXX_USE_ICONV 1
74408 _ACEOF
74410 enable_iconv=yes
74413 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
74414 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
74415 echo "$as_me:$LINENO: result: $enable_iconv" >&5
74416 echo "${ECHO_T}$enable_iconv" >&6
74419 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74420 ac_save_CXXFLAGS="$CXXFLAGS"
74421 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74424 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74425 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74426 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74427 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74428 echo $ECHO_N "(cached) $ECHO_C" >&6
74429 else
74433 ac_ext=cc
74434 ac_cpp='$CXXCPP $CPPFLAGS'
74435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74439 cat >conftest.$ac_ext <<_ACEOF
74440 /* confdefs.h. */
74441 _ACEOF
74442 cat confdefs.h >>conftest.$ac_ext
74443 cat >>conftest.$ac_ext <<_ACEOF
74444 /* end confdefs.h. */
74445 #include <stdlib.h>
74447 main ()
74449 strtold(0, 0);
74451 return 0;
74453 _ACEOF
74454 rm -f conftest.$ac_objext
74455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74456 (eval $ac_compile) 2>conftest.er1
74457 ac_status=$?
74458 grep -v '^ *+' conftest.er1 >conftest.err
74459 rm -f conftest.er1
74460 cat conftest.err >&5
74461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74462 (exit $ac_status); } &&
74463 { ac_try='test -z "$ac_cxx_werror_flag"
74464 || test ! -s conftest.err'
74465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74466 (eval $ac_try) 2>&5
74467 ac_status=$?
74468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74469 (exit $ac_status); }; } &&
74470 { ac_try='test -s conftest.$ac_objext'
74471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74472 (eval $ac_try) 2>&5
74473 ac_status=$?
74474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74475 (exit $ac_status); }; }; then
74476 glibcxx_cv_func_strtold_use=yes
74477 else
74478 echo "$as_me: failed program was:" >&5
74479 sed 's/^/| /' conftest.$ac_ext >&5
74481 glibcxx_cv_func_strtold_use=no
74483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74484 ac_ext=c
74485 ac_cpp='$CPP $CPPFLAGS'
74486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74494 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74495 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74496 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74498 for ac_func in strtold
74500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74501 echo "$as_me:$LINENO: checking for $ac_func" >&5
74502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74503 if eval "test \"\${$as_ac_var+set}\" = set"; then
74504 echo $ECHO_N "(cached) $ECHO_C" >&6
74505 else
74506 if test x$gcc_no_link = xyes; then
74507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74509 { (exit 1); exit 1; }; }
74511 cat >conftest.$ac_ext <<_ACEOF
74512 /* confdefs.h. */
74513 _ACEOF
74514 cat confdefs.h >>conftest.$ac_ext
74515 cat >>conftest.$ac_ext <<_ACEOF
74516 /* end confdefs.h. */
74517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74519 #define $ac_func innocuous_$ac_func
74521 /* System header to define __stub macros and hopefully few prototypes,
74522 which can conflict with char $ac_func (); below.
74523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74524 <limits.h> exists even on freestanding compilers. */
74526 #ifdef __STDC__
74527 # include <limits.h>
74528 #else
74529 # include <assert.h>
74530 #endif
74532 #undef $ac_func
74534 /* Override any gcc2 internal prototype to avoid an error. */
74535 #ifdef __cplusplus
74536 extern "C"
74538 #endif
74539 /* We use char because int might match the return type of a gcc2
74540 builtin and then its argument prototype would still apply. */
74541 char $ac_func ();
74542 /* The GNU C library defines this for functions which it implements
74543 to always fail with ENOSYS. Some functions are actually named
74544 something starting with __ and the normal name is an alias. */
74545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74546 choke me
74547 #else
74548 char (*f) () = $ac_func;
74549 #endif
74550 #ifdef __cplusplus
74552 #endif
74555 main ()
74557 return f != $ac_func;
74559 return 0;
74561 _ACEOF
74562 rm -f conftest.$ac_objext conftest$ac_exeext
74563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74564 (eval $ac_link) 2>conftest.er1
74565 ac_status=$?
74566 grep -v '^ *+' conftest.er1 >conftest.err
74567 rm -f conftest.er1
74568 cat conftest.err >&5
74569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74570 (exit $ac_status); } &&
74571 { ac_try='test -z "$ac_c_werror_flag"
74572 || test ! -s conftest.err'
74573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74574 (eval $ac_try) 2>&5
74575 ac_status=$?
74576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74577 (exit $ac_status); }; } &&
74578 { ac_try='test -s conftest$ac_exeext'
74579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74580 (eval $ac_try) 2>&5
74581 ac_status=$?
74582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74583 (exit $ac_status); }; }; then
74584 eval "$as_ac_var=yes"
74585 else
74586 echo "$as_me: failed program was:" >&5
74587 sed 's/^/| /' conftest.$ac_ext >&5
74589 eval "$as_ac_var=no"
74591 rm -f conftest.err conftest.$ac_objext \
74592 conftest$ac_exeext conftest.$ac_ext
74594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74596 if test `eval echo '${'$as_ac_var'}'` = yes; then
74597 cat >>confdefs.h <<_ACEOF
74598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74599 _ACEOF
74602 done
74610 echo "$as_me:$LINENO: checking for strtof declaration" >&5
74611 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74612 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74613 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74614 echo $ECHO_N "(cached) $ECHO_C" >&6
74615 else
74619 ac_ext=cc
74620 ac_cpp='$CXXCPP $CPPFLAGS'
74621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74625 cat >conftest.$ac_ext <<_ACEOF
74626 /* confdefs.h. */
74627 _ACEOF
74628 cat confdefs.h >>conftest.$ac_ext
74629 cat >>conftest.$ac_ext <<_ACEOF
74630 /* end confdefs.h. */
74631 #include <stdlib.h>
74633 main ()
74635 strtof(0, 0);
74637 return 0;
74639 _ACEOF
74640 rm -f conftest.$ac_objext
74641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74642 (eval $ac_compile) 2>conftest.er1
74643 ac_status=$?
74644 grep -v '^ *+' conftest.er1 >conftest.err
74645 rm -f conftest.er1
74646 cat conftest.err >&5
74647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74648 (exit $ac_status); } &&
74649 { ac_try='test -z "$ac_cxx_werror_flag"
74650 || test ! -s conftest.err'
74651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74652 (eval $ac_try) 2>&5
74653 ac_status=$?
74654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74655 (exit $ac_status); }; } &&
74656 { ac_try='test -s conftest.$ac_objext'
74657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74658 (eval $ac_try) 2>&5
74659 ac_status=$?
74660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74661 (exit $ac_status); }; }; then
74662 glibcxx_cv_func_strtof_use=yes
74663 else
74664 echo "$as_me: failed program was:" >&5
74665 sed 's/^/| /' conftest.$ac_ext >&5
74667 glibcxx_cv_func_strtof_use=no
74669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74670 ac_ext=c
74671 ac_cpp='$CPP $CPPFLAGS'
74672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74681 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74682 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74684 for ac_func in strtof
74686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74687 echo "$as_me:$LINENO: checking for $ac_func" >&5
74688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74689 if eval "test \"\${$as_ac_var+set}\" = set"; then
74690 echo $ECHO_N "(cached) $ECHO_C" >&6
74691 else
74692 if test x$gcc_no_link = xyes; then
74693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74695 { (exit 1); exit 1; }; }
74697 cat >conftest.$ac_ext <<_ACEOF
74698 /* confdefs.h. */
74699 _ACEOF
74700 cat confdefs.h >>conftest.$ac_ext
74701 cat >>conftest.$ac_ext <<_ACEOF
74702 /* end confdefs.h. */
74703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74705 #define $ac_func innocuous_$ac_func
74707 /* System header to define __stub macros and hopefully few prototypes,
74708 which can conflict with char $ac_func (); below.
74709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74710 <limits.h> exists even on freestanding compilers. */
74712 #ifdef __STDC__
74713 # include <limits.h>
74714 #else
74715 # include <assert.h>
74716 #endif
74718 #undef $ac_func
74720 /* Override any gcc2 internal prototype to avoid an error. */
74721 #ifdef __cplusplus
74722 extern "C"
74724 #endif
74725 /* We use char because int might match the return type of a gcc2
74726 builtin and then its argument prototype would still apply. */
74727 char $ac_func ();
74728 /* The GNU C library defines this for functions which it implements
74729 to always fail with ENOSYS. Some functions are actually named
74730 something starting with __ and the normal name is an alias. */
74731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74732 choke me
74733 #else
74734 char (*f) () = $ac_func;
74735 #endif
74736 #ifdef __cplusplus
74738 #endif
74741 main ()
74743 return f != $ac_func;
74745 return 0;
74747 _ACEOF
74748 rm -f conftest.$ac_objext conftest$ac_exeext
74749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74750 (eval $ac_link) 2>conftest.er1
74751 ac_status=$?
74752 grep -v '^ *+' conftest.er1 >conftest.err
74753 rm -f conftest.er1
74754 cat conftest.err >&5
74755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74756 (exit $ac_status); } &&
74757 { ac_try='test -z "$ac_c_werror_flag"
74758 || test ! -s conftest.err'
74759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74760 (eval $ac_try) 2>&5
74761 ac_status=$?
74762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74763 (exit $ac_status); }; } &&
74764 { ac_try='test -s conftest$ac_exeext'
74765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74766 (eval $ac_try) 2>&5
74767 ac_status=$?
74768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74769 (exit $ac_status); }; }; then
74770 eval "$as_ac_var=yes"
74771 else
74772 echo "$as_me: failed program was:" >&5
74773 sed 's/^/| /' conftest.$ac_ext >&5
74775 eval "$as_ac_var=no"
74777 rm -f conftest.err conftest.$ac_objext \
74778 conftest$ac_exeext conftest.$ac_ext
74780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74782 if test `eval echo '${'$as_ac_var'}'` = yes; then
74783 cat >>confdefs.h <<_ACEOF
74784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74785 _ACEOF
74788 done
74796 CXXFLAGS="$ac_save_CXXFLAGS"
74799 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
74800 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
74801 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74802 echo $ECHO_N "(cached) $ECHO_C" >&6
74803 else
74805 if test x$gcc_no_link = xyes; then
74806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74808 { (exit 1); exit 1; }; }
74810 cat >conftest.$ac_ext <<_ACEOF
74811 /* confdefs.h. */
74812 _ACEOF
74813 cat confdefs.h >>conftest.$ac_ext
74814 cat >>conftest.$ac_ext <<_ACEOF
74815 /* end confdefs.h. */
74816 #include <sys/stat.h>
74818 main ()
74820 struct stat buffer;
74821 fstat(0, &buffer);
74822 S_ISREG(buffer.st_mode);
74824 return 0;
74826 _ACEOF
74827 rm -f conftest.$ac_objext conftest$ac_exeext
74828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74829 (eval $ac_link) 2>conftest.er1
74830 ac_status=$?
74831 grep -v '^ *+' conftest.er1 >conftest.err
74832 rm -f conftest.er1
74833 cat conftest.err >&5
74834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74835 (exit $ac_status); } &&
74836 { ac_try='test -z "$ac_c_werror_flag"
74837 || test ! -s conftest.err'
74838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74839 (eval $ac_try) 2>&5
74840 ac_status=$?
74841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74842 (exit $ac_status); }; } &&
74843 { ac_try='test -s conftest$ac_exeext'
74844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74845 (eval $ac_try) 2>&5
74846 ac_status=$?
74847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74848 (exit $ac_status); }; }; then
74849 glibcxx_cv_S_ISREG=yes
74850 else
74851 echo "$as_me: failed program was:" >&5
74852 sed 's/^/| /' conftest.$ac_ext >&5
74854 glibcxx_cv_S_ISREG=no
74856 rm -f conftest.err conftest.$ac_objext \
74857 conftest$ac_exeext conftest.$ac_ext
74861 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74862 echo $ECHO_N "(cached) $ECHO_C" >&6
74863 else
74865 if test x$gcc_no_link = xyes; then
74866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74868 { (exit 1); exit 1; }; }
74870 cat >conftest.$ac_ext <<_ACEOF
74871 /* confdefs.h. */
74872 _ACEOF
74873 cat confdefs.h >>conftest.$ac_ext
74874 cat >>conftest.$ac_ext <<_ACEOF
74875 /* end confdefs.h. */
74876 #include <sys/stat.h>
74878 main ()
74880 struct stat buffer;
74881 fstat(0, &buffer);
74882 S_IFREG & buffer.st_mode;
74884 return 0;
74886 _ACEOF
74887 rm -f conftest.$ac_objext conftest$ac_exeext
74888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74889 (eval $ac_link) 2>conftest.er1
74890 ac_status=$?
74891 grep -v '^ *+' conftest.er1 >conftest.err
74892 rm -f conftest.er1
74893 cat conftest.err >&5
74894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74895 (exit $ac_status); } &&
74896 { ac_try='test -z "$ac_c_werror_flag"
74897 || test ! -s conftest.err'
74898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74899 (eval $ac_try) 2>&5
74900 ac_status=$?
74901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74902 (exit $ac_status); }; } &&
74903 { ac_try='test -s conftest$ac_exeext'
74904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74905 (eval $ac_try) 2>&5
74906 ac_status=$?
74907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74908 (exit $ac_status); }; }; then
74909 glibcxx_cv_S_IFREG=yes
74910 else
74911 echo "$as_me: failed program was:" >&5
74912 sed 's/^/| /' conftest.$ac_ext >&5
74914 glibcxx_cv_S_IFREG=no
74916 rm -f conftest.err conftest.$ac_objext \
74917 conftest$ac_exeext conftest.$ac_ext
74921 res=no
74922 if test $glibcxx_cv_S_ISREG = yes; then
74924 cat >>confdefs.h <<\_ACEOF
74925 #define HAVE_S_ISREG 1
74926 _ACEOF
74928 res=S_ISREG
74929 elif test $glibcxx_cv_S_IFREG = yes; then
74931 cat >>confdefs.h <<\_ACEOF
74932 #define HAVE_S_IFREG 1
74933 _ACEOF
74935 res=S_IFREG
74937 echo "$as_me:$LINENO: result: $res" >&5
74938 echo "${ECHO_T}$res" >&6
74940 cat >>confdefs.h <<\_ACEOF
74941 #define HAVE_WRITEV 1
74942 _ACEOF
74946 *-freebsd*)
74963 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74964 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74965 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74966 sys/time.h unistd.h
74968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74970 echo "$as_me:$LINENO: checking for $ac_header" >&5
74971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74973 echo $ECHO_N "(cached) $ECHO_C" >&6
74975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74977 else
74978 # Is the header compilable?
74979 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74980 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74981 cat >conftest.$ac_ext <<_ACEOF
74982 /* confdefs.h. */
74983 _ACEOF
74984 cat confdefs.h >>conftest.$ac_ext
74985 cat >>conftest.$ac_ext <<_ACEOF
74986 /* end confdefs.h. */
74987 $ac_includes_default
74988 #include <$ac_header>
74989 _ACEOF
74990 rm -f conftest.$ac_objext
74991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74992 (eval $ac_compile) 2>conftest.er1
74993 ac_status=$?
74994 grep -v '^ *+' conftest.er1 >conftest.err
74995 rm -f conftest.er1
74996 cat conftest.err >&5
74997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74998 (exit $ac_status); } &&
74999 { ac_try='test -z "$ac_c_werror_flag"
75000 || test ! -s conftest.err'
75001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75002 (eval $ac_try) 2>&5
75003 ac_status=$?
75004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75005 (exit $ac_status); }; } &&
75006 { ac_try='test -s conftest.$ac_objext'
75007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75008 (eval $ac_try) 2>&5
75009 ac_status=$?
75010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75011 (exit $ac_status); }; }; then
75012 ac_header_compiler=yes
75013 else
75014 echo "$as_me: failed program was:" >&5
75015 sed 's/^/| /' conftest.$ac_ext >&5
75017 ac_header_compiler=no
75019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75021 echo "${ECHO_T}$ac_header_compiler" >&6
75023 # Is the header present?
75024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75026 cat >conftest.$ac_ext <<_ACEOF
75027 /* confdefs.h. */
75028 _ACEOF
75029 cat confdefs.h >>conftest.$ac_ext
75030 cat >>conftest.$ac_ext <<_ACEOF
75031 /* end confdefs.h. */
75032 #include <$ac_header>
75033 _ACEOF
75034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75036 ac_status=$?
75037 grep -v '^ *+' conftest.er1 >conftest.err
75038 rm -f conftest.er1
75039 cat conftest.err >&5
75040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75041 (exit $ac_status); } >/dev/null; then
75042 if test -s conftest.err; then
75043 ac_cpp_err=$ac_c_preproc_warn_flag
75044 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75045 else
75046 ac_cpp_err=
75048 else
75049 ac_cpp_err=yes
75051 if test -z "$ac_cpp_err"; then
75052 ac_header_preproc=yes
75053 else
75054 echo "$as_me: failed program was:" >&5
75055 sed 's/^/| /' conftest.$ac_ext >&5
75057 ac_header_preproc=no
75059 rm -f conftest.err conftest.$ac_ext
75060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75061 echo "${ECHO_T}$ac_header_preproc" >&6
75063 # So? What about this header?
75064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75065 yes:no: )
75066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75069 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75070 ac_header_preproc=yes
75072 no:yes:* )
75073 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75074 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75075 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75076 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75077 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75078 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75079 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75080 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75083 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75086 cat <<\_ASBOX
75087 ## ----------------------------------------- ##
75088 ## Report this to the package-unused lists. ##
75089 ## ----------------------------------------- ##
75090 _ASBOX
75092 sed "s/^/$as_me: WARNING: /" >&2
75094 esac
75095 echo "$as_me:$LINENO: checking for $ac_header" >&5
75096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75098 echo $ECHO_N "(cached) $ECHO_C" >&6
75099 else
75100 eval "$as_ac_Header=\$ac_header_preproc"
75102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75107 cat >>confdefs.h <<_ACEOF
75108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75109 _ACEOF
75113 done
75115 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75118 # If we're not using GNU ld, then there's no point in even trying these
75119 # tests. Check for that first. We should have already tested for gld
75120 # by now (in libtool), but require it now just to be safe...
75121 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75122 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75126 # The name set by libtool depends on the version of libtool. Shame on us
75127 # for depending on an impl detail, but c'est la vie. Older versions used
75128 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75129 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75130 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75131 # set (hence we're using an older libtool), then set it.
75132 if test x${with_gnu_ld+set} != xset; then
75133 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75134 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75135 with_gnu_ld=no
75136 else
75137 with_gnu_ld=$ac_cv_prog_gnu_ld
75141 # Start by getting the version number. I think the libtool test already
75142 # does some of this, but throws away the result.
75143 echo "$as_me:$LINENO: checking for ld version" >&5
75144 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75146 ldver=`$LD --version 2>/dev/null | head -1 | \
75147 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75149 glibcxx_gnu_ld_version=`echo $ldver | \
75150 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75151 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75152 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75154 # Set --gc-sections.
75155 glibcxx_gcsections_min_ld=21602
75156 if test x"$with_gnu_ld" = x"yes" &&
75157 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75159 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
75160 # NB: This flag only works reliably after 2.16.1. Configure tests
75161 # for this are difficult, so hard wire a value that should work.
75163 # All these tests are for C++, but run with the "C" compiler driver.
75164 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
75165 ac_test_CFLAGS="${CFLAGS+set}"
75166 ac_save_CFLAGS="$CFLAGS"
75167 CFLAGS='-x c++ -Wl,--gc-sections'
75169 # Check for -Wl,--gc-sections
75170 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75171 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75172 if test x$gcc_no_link = xyes; then
75173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75175 { (exit 1); exit 1; }; }
75177 cat >conftest.$ac_ext <<_ACEOF
75178 /* confdefs.h. */
75179 _ACEOF
75180 cat confdefs.h >>conftest.$ac_ext
75181 cat >>conftest.$ac_ext <<_ACEOF
75182 /* end confdefs.h. */
75183 int one(void) { return 1; }
75184 int two(void) { return 2; }
75187 main ()
75189 two();
75191 return 0;
75193 _ACEOF
75194 rm -f conftest.$ac_objext conftest$ac_exeext
75195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75196 (eval $ac_link) 2>conftest.er1
75197 ac_status=$?
75198 grep -v '^ *+' conftest.er1 >conftest.err
75199 rm -f conftest.er1
75200 cat conftest.err >&5
75201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75202 (exit $ac_status); } &&
75203 { ac_try='test -z "$ac_c_werror_flag"
75204 || test ! -s conftest.err'
75205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75206 (eval $ac_try) 2>&5
75207 ac_status=$?
75208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75209 (exit $ac_status); }; } &&
75210 { ac_try='test -s conftest$ac_exeext'
75211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75212 (eval $ac_try) 2>&5
75213 ac_status=$?
75214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75215 (exit $ac_status); }; }; then
75216 ac_gcsections=yes
75217 else
75218 echo "$as_me: failed program was:" >&5
75219 sed 's/^/| /' conftest.$ac_ext >&5
75221 ac_gcsections=no
75223 rm -f conftest.err conftest.$ac_objext \
75224 conftest$ac_exeext conftest.$ac_ext
75225 if test "$ac_gcsections" = "yes"; then
75226 rm -f conftest.c
75227 touch conftest.c
75228 if $CC -c conftest.c; then
75229 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75230 grep "Warning: gc-sections option ignored" > /dev/null; then
75231 ac_gcsections=no
75234 rm -f conftest.c conftest.o conftest
75236 if test "$ac_gcsections" = "yes"; then
75237 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75239 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75240 echo "${ECHO_T}$ac_gcsections" >&6
75242 if test "$ac_test_CFLAGS" = set; then
75243 CFLAGS="$ac_save_CFLAGS"
75244 else
75245 # this is the suspicious part
75246 CFLAGS=''
75250 # Set -z,relro.
75251 # Note this is only for shared objects.
75252 ac_ld_relro=no
75253 if test x"$with_gnu_ld" = x"yes"; then
75254 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75255 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75256 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75257 if test -n "$cxx_z_relo"; then
75258 OPT_LDFLAGS="-Wl,-z,relro"
75259 ac_ld_relro=yes
75261 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75262 echo "${ECHO_T}$ac_ld_relro" >&6
75265 # Set linker optimization flags.
75266 if test x"$with_gnu_ld" = x"yes"; then
75267 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75275 echo "$as_me:$LINENO: checking for main in -lm" >&5
75276 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75277 if test "${ac_cv_lib_m_main+set}" = set; then
75278 echo $ECHO_N "(cached) $ECHO_C" >&6
75279 else
75280 ac_check_lib_save_LIBS=$LIBS
75281 LIBS="-lm $LIBS"
75282 if test x$gcc_no_link = xyes; then
75283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75285 { (exit 1); exit 1; }; }
75287 cat >conftest.$ac_ext <<_ACEOF
75288 /* confdefs.h. */
75289 _ACEOF
75290 cat confdefs.h >>conftest.$ac_ext
75291 cat >>conftest.$ac_ext <<_ACEOF
75292 /* end confdefs.h. */
75296 main ()
75298 main ();
75300 return 0;
75302 _ACEOF
75303 rm -f conftest.$ac_objext conftest$ac_exeext
75304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75305 (eval $ac_link) 2>conftest.er1
75306 ac_status=$?
75307 grep -v '^ *+' conftest.er1 >conftest.err
75308 rm -f conftest.er1
75309 cat conftest.err >&5
75310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75311 (exit $ac_status); } &&
75312 { ac_try='test -z "$ac_c_werror_flag"
75313 || test ! -s conftest.err'
75314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75315 (eval $ac_try) 2>&5
75316 ac_status=$?
75317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75318 (exit $ac_status); }; } &&
75319 { ac_try='test -s conftest$ac_exeext'
75320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75321 (eval $ac_try) 2>&5
75322 ac_status=$?
75323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75324 (exit $ac_status); }; }; then
75325 ac_cv_lib_m_main=yes
75326 else
75327 echo "$as_me: failed program was:" >&5
75328 sed 's/^/| /' conftest.$ac_ext >&5
75330 ac_cv_lib_m_main=no
75332 rm -f conftest.err conftest.$ac_objext \
75333 conftest$ac_exeext conftest.$ac_ext
75334 LIBS=$ac_check_lib_save_LIBS
75336 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75337 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75338 if test $ac_cv_lib_m_main = yes; then
75339 cat >>confdefs.h <<_ACEOF
75340 #define HAVE_LIBM 1
75341 _ACEOF
75343 LIBS="-lm $LIBS"
75348 for ac_func in copysignf
75350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75351 echo "$as_me:$LINENO: checking for $ac_func" >&5
75352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75353 if eval "test \"\${$as_ac_var+set}\" = set"; then
75354 echo $ECHO_N "(cached) $ECHO_C" >&6
75355 else
75356 if test x$gcc_no_link = xyes; then
75357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75359 { (exit 1); exit 1; }; }
75361 cat >conftest.$ac_ext <<_ACEOF
75362 /* confdefs.h. */
75363 _ACEOF
75364 cat confdefs.h >>conftest.$ac_ext
75365 cat >>conftest.$ac_ext <<_ACEOF
75366 /* end confdefs.h. */
75367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75369 #define $ac_func innocuous_$ac_func
75371 /* System header to define __stub macros and hopefully few prototypes,
75372 which can conflict with char $ac_func (); below.
75373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75374 <limits.h> exists even on freestanding compilers. */
75376 #ifdef __STDC__
75377 # include <limits.h>
75378 #else
75379 # include <assert.h>
75380 #endif
75382 #undef $ac_func
75384 /* Override any gcc2 internal prototype to avoid an error. */
75385 #ifdef __cplusplus
75386 extern "C"
75388 #endif
75389 /* We use char because int might match the return type of a gcc2
75390 builtin and then its argument prototype would still apply. */
75391 char $ac_func ();
75392 /* The GNU C library defines this for functions which it implements
75393 to always fail with ENOSYS. Some functions are actually named
75394 something starting with __ and the normal name is an alias. */
75395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75396 choke me
75397 #else
75398 char (*f) () = $ac_func;
75399 #endif
75400 #ifdef __cplusplus
75402 #endif
75405 main ()
75407 return f != $ac_func;
75409 return 0;
75411 _ACEOF
75412 rm -f conftest.$ac_objext conftest$ac_exeext
75413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75414 (eval $ac_link) 2>conftest.er1
75415 ac_status=$?
75416 grep -v '^ *+' conftest.er1 >conftest.err
75417 rm -f conftest.er1
75418 cat conftest.err >&5
75419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75420 (exit $ac_status); } &&
75421 { ac_try='test -z "$ac_c_werror_flag"
75422 || test ! -s conftest.err'
75423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75424 (eval $ac_try) 2>&5
75425 ac_status=$?
75426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75427 (exit $ac_status); }; } &&
75428 { ac_try='test -s conftest$ac_exeext'
75429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75430 (eval $ac_try) 2>&5
75431 ac_status=$?
75432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75433 (exit $ac_status); }; }; then
75434 eval "$as_ac_var=yes"
75435 else
75436 echo "$as_me: failed program was:" >&5
75437 sed 's/^/| /' conftest.$ac_ext >&5
75439 eval "$as_ac_var=no"
75441 rm -f conftest.err conftest.$ac_objext \
75442 conftest$ac_exeext conftest.$ac_ext
75444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75446 if test `eval echo '${'$as_ac_var'}'` = yes; then
75447 cat >>confdefs.h <<_ACEOF
75448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75449 _ACEOF
75451 else
75452 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75454 done
75458 for ac_func in __signbit
75460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75461 echo "$as_me:$LINENO: checking for $ac_func" >&5
75462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75463 if eval "test \"\${$as_ac_var+set}\" = set"; then
75464 echo $ECHO_N "(cached) $ECHO_C" >&6
75465 else
75466 if test x$gcc_no_link = xyes; then
75467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75469 { (exit 1); exit 1; }; }
75471 cat >conftest.$ac_ext <<_ACEOF
75472 /* confdefs.h. */
75473 _ACEOF
75474 cat confdefs.h >>conftest.$ac_ext
75475 cat >>conftest.$ac_ext <<_ACEOF
75476 /* end confdefs.h. */
75477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75479 #define $ac_func innocuous_$ac_func
75481 /* System header to define __stub macros and hopefully few prototypes,
75482 which can conflict with char $ac_func (); below.
75483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75484 <limits.h> exists even on freestanding compilers. */
75486 #ifdef __STDC__
75487 # include <limits.h>
75488 #else
75489 # include <assert.h>
75490 #endif
75492 #undef $ac_func
75494 /* Override any gcc2 internal prototype to avoid an error. */
75495 #ifdef __cplusplus
75496 extern "C"
75498 #endif
75499 /* We use char because int might match the return type of a gcc2
75500 builtin and then its argument prototype would still apply. */
75501 char $ac_func ();
75502 /* The GNU C library defines this for functions which it implements
75503 to always fail with ENOSYS. Some functions are actually named
75504 something starting with __ and the normal name is an alias. */
75505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75506 choke me
75507 #else
75508 char (*f) () = $ac_func;
75509 #endif
75510 #ifdef __cplusplus
75512 #endif
75515 main ()
75517 return f != $ac_func;
75519 return 0;
75521 _ACEOF
75522 rm -f conftest.$ac_objext conftest$ac_exeext
75523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75524 (eval $ac_link) 2>conftest.er1
75525 ac_status=$?
75526 grep -v '^ *+' conftest.er1 >conftest.err
75527 rm -f conftest.er1
75528 cat conftest.err >&5
75529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75530 (exit $ac_status); } &&
75531 { ac_try='test -z "$ac_c_werror_flag"
75532 || test ! -s conftest.err'
75533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75534 (eval $ac_try) 2>&5
75535 ac_status=$?
75536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75537 (exit $ac_status); }; } &&
75538 { ac_try='test -s conftest$ac_exeext'
75539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75540 (eval $ac_try) 2>&5
75541 ac_status=$?
75542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75543 (exit $ac_status); }; }; then
75544 eval "$as_ac_var=yes"
75545 else
75546 echo "$as_me: failed program was:" >&5
75547 sed 's/^/| /' conftest.$ac_ext >&5
75549 eval "$as_ac_var=no"
75551 rm -f conftest.err conftest.$ac_objext \
75552 conftest$ac_exeext conftest.$ac_ext
75554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75556 if test `eval echo '${'$as_ac_var'}'` = yes; then
75557 cat >>confdefs.h <<_ACEOF
75558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75559 _ACEOF
75561 else
75562 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75564 done
75568 for ac_func in __signbitf
75570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75571 echo "$as_me:$LINENO: checking for $ac_func" >&5
75572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75573 if eval "test \"\${$as_ac_var+set}\" = set"; then
75574 echo $ECHO_N "(cached) $ECHO_C" >&6
75575 else
75576 if test x$gcc_no_link = xyes; then
75577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75579 { (exit 1); exit 1; }; }
75581 cat >conftest.$ac_ext <<_ACEOF
75582 /* confdefs.h. */
75583 _ACEOF
75584 cat confdefs.h >>conftest.$ac_ext
75585 cat >>conftest.$ac_ext <<_ACEOF
75586 /* end confdefs.h. */
75587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75589 #define $ac_func innocuous_$ac_func
75591 /* System header to define __stub macros and hopefully few prototypes,
75592 which can conflict with char $ac_func (); below.
75593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75594 <limits.h> exists even on freestanding compilers. */
75596 #ifdef __STDC__
75597 # include <limits.h>
75598 #else
75599 # include <assert.h>
75600 #endif
75602 #undef $ac_func
75604 /* Override any gcc2 internal prototype to avoid an error. */
75605 #ifdef __cplusplus
75606 extern "C"
75608 #endif
75609 /* We use char because int might match the return type of a gcc2
75610 builtin and then its argument prototype would still apply. */
75611 char $ac_func ();
75612 /* The GNU C library defines this for functions which it implements
75613 to always fail with ENOSYS. Some functions are actually named
75614 something starting with __ and the normal name is an alias. */
75615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75616 choke me
75617 #else
75618 char (*f) () = $ac_func;
75619 #endif
75620 #ifdef __cplusplus
75622 #endif
75625 main ()
75627 return f != $ac_func;
75629 return 0;
75631 _ACEOF
75632 rm -f conftest.$ac_objext conftest$ac_exeext
75633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75634 (eval $ac_link) 2>conftest.er1
75635 ac_status=$?
75636 grep -v '^ *+' conftest.er1 >conftest.err
75637 rm -f conftest.er1
75638 cat conftest.err >&5
75639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75640 (exit $ac_status); } &&
75641 { ac_try='test -z "$ac_c_werror_flag"
75642 || test ! -s conftest.err'
75643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75644 (eval $ac_try) 2>&5
75645 ac_status=$?
75646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75647 (exit $ac_status); }; } &&
75648 { ac_try='test -s conftest$ac_exeext'
75649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75650 (eval $ac_try) 2>&5
75651 ac_status=$?
75652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75653 (exit $ac_status); }; }; then
75654 eval "$as_ac_var=yes"
75655 else
75656 echo "$as_me: failed program was:" >&5
75657 sed 's/^/| /' conftest.$ac_ext >&5
75659 eval "$as_ac_var=no"
75661 rm -f conftest.err conftest.$ac_objext \
75662 conftest$ac_exeext conftest.$ac_ext
75664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75666 if test `eval echo '${'$as_ac_var'}'` = yes; then
75667 cat >>confdefs.h <<_ACEOF
75668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75669 _ACEOF
75671 else
75672 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75674 done
75677 if test x$ac_cv_func_copysignl = x"yes"; then
75679 for ac_func in __signbitl
75681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75682 echo "$as_me:$LINENO: checking for $ac_func" >&5
75683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75684 if eval "test \"\${$as_ac_var+set}\" = set"; then
75685 echo $ECHO_N "(cached) $ECHO_C" >&6
75686 else
75687 if test x$gcc_no_link = xyes; then
75688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75690 { (exit 1); exit 1; }; }
75692 cat >conftest.$ac_ext <<_ACEOF
75693 /* confdefs.h. */
75694 _ACEOF
75695 cat confdefs.h >>conftest.$ac_ext
75696 cat >>conftest.$ac_ext <<_ACEOF
75697 /* end confdefs.h. */
75698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75700 #define $ac_func innocuous_$ac_func
75702 /* System header to define __stub macros and hopefully few prototypes,
75703 which can conflict with char $ac_func (); below.
75704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75705 <limits.h> exists even on freestanding compilers. */
75707 #ifdef __STDC__
75708 # include <limits.h>
75709 #else
75710 # include <assert.h>
75711 #endif
75713 #undef $ac_func
75715 /* Override any gcc2 internal prototype to avoid an error. */
75716 #ifdef __cplusplus
75717 extern "C"
75719 #endif
75720 /* We use char because int might match the return type of a gcc2
75721 builtin and then its argument prototype would still apply. */
75722 char $ac_func ();
75723 /* The GNU C library defines this for functions which it implements
75724 to always fail with ENOSYS. Some functions are actually named
75725 something starting with __ and the normal name is an alias. */
75726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75727 choke me
75728 #else
75729 char (*f) () = $ac_func;
75730 #endif
75731 #ifdef __cplusplus
75733 #endif
75736 main ()
75738 return f != $ac_func;
75740 return 0;
75742 _ACEOF
75743 rm -f conftest.$ac_objext conftest$ac_exeext
75744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75745 (eval $ac_link) 2>conftest.er1
75746 ac_status=$?
75747 grep -v '^ *+' conftest.er1 >conftest.err
75748 rm -f conftest.er1
75749 cat conftest.err >&5
75750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75751 (exit $ac_status); } &&
75752 { ac_try='test -z "$ac_c_werror_flag"
75753 || test ! -s conftest.err'
75754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75755 (eval $ac_try) 2>&5
75756 ac_status=$?
75757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75758 (exit $ac_status); }; } &&
75759 { ac_try='test -s conftest$ac_exeext'
75760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75761 (eval $ac_try) 2>&5
75762 ac_status=$?
75763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75764 (exit $ac_status); }; }; then
75765 eval "$as_ac_var=yes"
75766 else
75767 echo "$as_me: failed program was:" >&5
75768 sed 's/^/| /' conftest.$ac_ext >&5
75770 eval "$as_ac_var=no"
75772 rm -f conftest.err conftest.$ac_objext \
75773 conftest$ac_exeext conftest.$ac_ext
75775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75777 if test `eval echo '${'$as_ac_var'}'` = yes; then
75778 cat >>confdefs.h <<_ACEOF
75779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75780 _ACEOF
75782 else
75783 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75785 done
75789 # Used in libmath/Makefile.am.
75790 if test -n "$LIBMATHOBJS"; then
75791 need_libmath=yes
75797 enable_iconv=no
75798 # Only continue checking if the ISO C99 headers exist and support is on.
75799 if test x"$enable_wchar_t" = xyes; then
75801 # Use iconv for wchar_t to char conversions. As such, check for
75802 # X/Open Portability Guide, version 2 features (XPG2).
75803 if test "${ac_cv_header_iconv_h+set}" = set; then
75804 echo "$as_me:$LINENO: checking for iconv.h" >&5
75805 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75806 if test "${ac_cv_header_iconv_h+set}" = set; then
75807 echo $ECHO_N "(cached) $ECHO_C" >&6
75809 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75810 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75811 else
75812 # Is the header compilable?
75813 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75814 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75815 cat >conftest.$ac_ext <<_ACEOF
75816 /* confdefs.h. */
75817 _ACEOF
75818 cat confdefs.h >>conftest.$ac_ext
75819 cat >>conftest.$ac_ext <<_ACEOF
75820 /* end confdefs.h. */
75821 $ac_includes_default
75822 #include <iconv.h>
75823 _ACEOF
75824 rm -f conftest.$ac_objext
75825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75826 (eval $ac_compile) 2>conftest.er1
75827 ac_status=$?
75828 grep -v '^ *+' conftest.er1 >conftest.err
75829 rm -f conftest.er1
75830 cat conftest.err >&5
75831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75832 (exit $ac_status); } &&
75833 { ac_try='test -z "$ac_c_werror_flag"
75834 || test ! -s conftest.err'
75835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75836 (eval $ac_try) 2>&5
75837 ac_status=$?
75838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75839 (exit $ac_status); }; } &&
75840 { ac_try='test -s conftest.$ac_objext'
75841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75842 (eval $ac_try) 2>&5
75843 ac_status=$?
75844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75845 (exit $ac_status); }; }; then
75846 ac_header_compiler=yes
75847 else
75848 echo "$as_me: failed program was:" >&5
75849 sed 's/^/| /' conftest.$ac_ext >&5
75851 ac_header_compiler=no
75853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75855 echo "${ECHO_T}$ac_header_compiler" >&6
75857 # Is the header present?
75858 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75859 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75860 cat >conftest.$ac_ext <<_ACEOF
75861 /* confdefs.h. */
75862 _ACEOF
75863 cat confdefs.h >>conftest.$ac_ext
75864 cat >>conftest.$ac_ext <<_ACEOF
75865 /* end confdefs.h. */
75866 #include <iconv.h>
75867 _ACEOF
75868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75870 ac_status=$?
75871 grep -v '^ *+' conftest.er1 >conftest.err
75872 rm -f conftest.er1
75873 cat conftest.err >&5
75874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75875 (exit $ac_status); } >/dev/null; then
75876 if test -s conftest.err; then
75877 ac_cpp_err=$ac_c_preproc_warn_flag
75878 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75879 else
75880 ac_cpp_err=
75882 else
75883 ac_cpp_err=yes
75885 if test -z "$ac_cpp_err"; then
75886 ac_header_preproc=yes
75887 else
75888 echo "$as_me: failed program was:" >&5
75889 sed 's/^/| /' conftest.$ac_ext >&5
75891 ac_header_preproc=no
75893 rm -f conftest.err conftest.$ac_ext
75894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75895 echo "${ECHO_T}$ac_header_preproc" >&6
75897 # So? What about this header?
75898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75899 yes:no: )
75900 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75901 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75902 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
75903 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
75904 ac_header_preproc=yes
75906 no:yes:* )
75907 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75908 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75909 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
75910 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
75911 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
75912 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
75913 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
75914 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
75915 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75916 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75917 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
75918 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
75920 cat <<\_ASBOX
75921 ## ----------------------------------------- ##
75922 ## Report this to the package-unused lists. ##
75923 ## ----------------------------------------- ##
75924 _ASBOX
75926 sed "s/^/$as_me: WARNING: /" >&2
75928 esac
75929 echo "$as_me:$LINENO: checking for iconv.h" >&5
75930 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75931 if test "${ac_cv_header_iconv_h+set}" = set; then
75932 echo $ECHO_N "(cached) $ECHO_C" >&6
75933 else
75934 ac_cv_header_iconv_h=$ac_header_preproc
75936 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75937 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75940 if test $ac_cv_header_iconv_h = yes; then
75941 ac_has_iconv_h=yes
75942 else
75943 ac_has_iconv_h=no
75947 if test "${ac_cv_header_langinfo_h+set}" = set; then
75948 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75949 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75950 if test "${ac_cv_header_langinfo_h+set}" = set; then
75951 echo $ECHO_N "(cached) $ECHO_C" >&6
75953 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75954 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75955 else
75956 # Is the header compilable?
75957 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
75958 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
75959 cat >conftest.$ac_ext <<_ACEOF
75960 /* confdefs.h. */
75961 _ACEOF
75962 cat confdefs.h >>conftest.$ac_ext
75963 cat >>conftest.$ac_ext <<_ACEOF
75964 /* end confdefs.h. */
75965 $ac_includes_default
75966 #include <langinfo.h>
75967 _ACEOF
75968 rm -f conftest.$ac_objext
75969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75970 (eval $ac_compile) 2>conftest.er1
75971 ac_status=$?
75972 grep -v '^ *+' conftest.er1 >conftest.err
75973 rm -f conftest.er1
75974 cat conftest.err >&5
75975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75976 (exit $ac_status); } &&
75977 { ac_try='test -z "$ac_c_werror_flag"
75978 || test ! -s conftest.err'
75979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75980 (eval $ac_try) 2>&5
75981 ac_status=$?
75982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75983 (exit $ac_status); }; } &&
75984 { ac_try='test -s conftest.$ac_objext'
75985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75986 (eval $ac_try) 2>&5
75987 ac_status=$?
75988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75989 (exit $ac_status); }; }; then
75990 ac_header_compiler=yes
75991 else
75992 echo "$as_me: failed program was:" >&5
75993 sed 's/^/| /' conftest.$ac_ext >&5
75995 ac_header_compiler=no
75997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75998 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75999 echo "${ECHO_T}$ac_header_compiler" >&6
76001 # Is the header present?
76002 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76003 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76004 cat >conftest.$ac_ext <<_ACEOF
76005 /* confdefs.h. */
76006 _ACEOF
76007 cat confdefs.h >>conftest.$ac_ext
76008 cat >>conftest.$ac_ext <<_ACEOF
76009 /* end confdefs.h. */
76010 #include <langinfo.h>
76011 _ACEOF
76012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76014 ac_status=$?
76015 grep -v '^ *+' conftest.er1 >conftest.err
76016 rm -f conftest.er1
76017 cat conftest.err >&5
76018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76019 (exit $ac_status); } >/dev/null; then
76020 if test -s conftest.err; then
76021 ac_cpp_err=$ac_c_preproc_warn_flag
76022 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76023 else
76024 ac_cpp_err=
76026 else
76027 ac_cpp_err=yes
76029 if test -z "$ac_cpp_err"; then
76030 ac_header_preproc=yes
76031 else
76032 echo "$as_me: failed program was:" >&5
76033 sed 's/^/| /' conftest.$ac_ext >&5
76035 ac_header_preproc=no
76037 rm -f conftest.err conftest.$ac_ext
76038 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76039 echo "${ECHO_T}$ac_header_preproc" >&6
76041 # So? What about this header?
76042 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76043 yes:no: )
76044 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76045 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76046 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76047 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76048 ac_header_preproc=yes
76050 no:yes:* )
76051 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76052 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76053 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76054 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76055 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76056 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76057 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76058 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76059 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76060 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76061 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76062 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76064 cat <<\_ASBOX
76065 ## ----------------------------------------- ##
76066 ## Report this to the package-unused lists. ##
76067 ## ----------------------------------------- ##
76068 _ASBOX
76070 sed "s/^/$as_me: WARNING: /" >&2
76072 esac
76073 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76074 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76075 if test "${ac_cv_header_langinfo_h+set}" = set; then
76076 echo $ECHO_N "(cached) $ECHO_C" >&6
76077 else
76078 ac_cv_header_langinfo_h=$ac_header_preproc
76080 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76081 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76084 if test $ac_cv_header_langinfo_h = yes; then
76085 ac_has_langinfo_h=yes
76086 else
76087 ac_has_langinfo_h=no
76092 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76093 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76094 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76095 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76096 echo $ECHO_N "(cached) $ECHO_C" >&6
76097 else
76098 ac_check_lib_save_LIBS=$LIBS
76099 LIBS="-liconv $LIBS"
76100 if test x$gcc_no_link = xyes; then
76101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76103 { (exit 1); exit 1; }; }
76105 cat >conftest.$ac_ext <<_ACEOF
76106 /* confdefs.h. */
76107 _ACEOF
76108 cat confdefs.h >>conftest.$ac_ext
76109 cat >>conftest.$ac_ext <<_ACEOF
76110 /* end confdefs.h. */
76112 /* Override any gcc2 internal prototype to avoid an error. */
76113 #ifdef __cplusplus
76114 extern "C"
76115 #endif
76116 /* We use char because int might match the return type of a gcc2
76117 builtin and then its argument prototype would still apply. */
76118 char iconv ();
76120 main ()
76122 iconv ();
76124 return 0;
76126 _ACEOF
76127 rm -f conftest.$ac_objext conftest$ac_exeext
76128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76129 (eval $ac_link) 2>conftest.er1
76130 ac_status=$?
76131 grep -v '^ *+' conftest.er1 >conftest.err
76132 rm -f conftest.er1
76133 cat conftest.err >&5
76134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76135 (exit $ac_status); } &&
76136 { ac_try='test -z "$ac_c_werror_flag"
76137 || test ! -s conftest.err'
76138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76139 (eval $ac_try) 2>&5
76140 ac_status=$?
76141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76142 (exit $ac_status); }; } &&
76143 { ac_try='test -s conftest$ac_exeext'
76144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76145 (eval $ac_try) 2>&5
76146 ac_status=$?
76147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76148 (exit $ac_status); }; }; then
76149 ac_cv_lib_iconv_iconv=yes
76150 else
76151 echo "$as_me: failed program was:" >&5
76152 sed 's/^/| /' conftest.$ac_ext >&5
76154 ac_cv_lib_iconv_iconv=no
76156 rm -f conftest.err conftest.$ac_objext \
76157 conftest$ac_exeext conftest.$ac_ext
76158 LIBS=$ac_check_lib_save_LIBS
76160 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76161 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76162 if test $ac_cv_lib_iconv_iconv = yes; then
76163 LIBICONV="-liconv"
76166 ac_save_LIBS="$LIBS"
76167 LIBS="$LIBS $LIBICONV"
76174 for ac_func in iconv_open iconv_close iconv nl_langinfo
76176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76177 echo "$as_me:$LINENO: checking for $ac_func" >&5
76178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76179 if eval "test \"\${$as_ac_var+set}\" = set"; then
76180 echo $ECHO_N "(cached) $ECHO_C" >&6
76181 else
76182 if test x$gcc_no_link = xyes; then
76183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76185 { (exit 1); exit 1; }; }
76187 cat >conftest.$ac_ext <<_ACEOF
76188 /* confdefs.h. */
76189 _ACEOF
76190 cat confdefs.h >>conftest.$ac_ext
76191 cat >>conftest.$ac_ext <<_ACEOF
76192 /* end confdefs.h. */
76193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76195 #define $ac_func innocuous_$ac_func
76197 /* System header to define __stub macros and hopefully few prototypes,
76198 which can conflict with char $ac_func (); below.
76199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76200 <limits.h> exists even on freestanding compilers. */
76202 #ifdef __STDC__
76203 # include <limits.h>
76204 #else
76205 # include <assert.h>
76206 #endif
76208 #undef $ac_func
76210 /* Override any gcc2 internal prototype to avoid an error. */
76211 #ifdef __cplusplus
76212 extern "C"
76214 #endif
76215 /* We use char because int might match the return type of a gcc2
76216 builtin and then its argument prototype would still apply. */
76217 char $ac_func ();
76218 /* The GNU C library defines this for functions which it implements
76219 to always fail with ENOSYS. Some functions are actually named
76220 something starting with __ and the normal name is an alias. */
76221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76222 choke me
76223 #else
76224 char (*f) () = $ac_func;
76225 #endif
76226 #ifdef __cplusplus
76228 #endif
76231 main ()
76233 return f != $ac_func;
76235 return 0;
76237 _ACEOF
76238 rm -f conftest.$ac_objext conftest$ac_exeext
76239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76240 (eval $ac_link) 2>conftest.er1
76241 ac_status=$?
76242 grep -v '^ *+' conftest.er1 >conftest.err
76243 rm -f conftest.er1
76244 cat conftest.err >&5
76245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76246 (exit $ac_status); } &&
76247 { ac_try='test -z "$ac_c_werror_flag"
76248 || test ! -s conftest.err'
76249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76250 (eval $ac_try) 2>&5
76251 ac_status=$?
76252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76253 (exit $ac_status); }; } &&
76254 { ac_try='test -s conftest$ac_exeext'
76255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76256 (eval $ac_try) 2>&5
76257 ac_status=$?
76258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76259 (exit $ac_status); }; }; then
76260 eval "$as_ac_var=yes"
76261 else
76262 echo "$as_me: failed program was:" >&5
76263 sed 's/^/| /' conftest.$ac_ext >&5
76265 eval "$as_ac_var=no"
76267 rm -f conftest.err conftest.$ac_objext \
76268 conftest$ac_exeext conftest.$ac_ext
76270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76272 if test `eval echo '${'$as_ac_var'}'` = yes; then
76273 cat >>confdefs.h <<_ACEOF
76274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76275 _ACEOF
76276 ac_XPG2funcs=yes
76277 else
76278 ac_XPG2funcs=no
76280 done
76283 LIBS="$ac_save_LIBS"
76285 if test x"$ac_has_iconv_h" = xyes &&
76286 test x"$ac_has_langinfo_h" = xyes &&
76287 test x"$ac_XPG2funcs" = xyes;
76288 then
76290 cat >>confdefs.h <<\_ACEOF
76291 #define _GLIBCXX_USE_ICONV 1
76292 _ACEOF
76294 enable_iconv=yes
76297 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76298 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76299 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76300 echo "${ECHO_T}$enable_iconv" >&6
76302 cat >>confdefs.h <<\_ACEOF
76303 #define HAVE_LC_MESSAGES 1
76304 _ACEOF
76306 cat >>confdefs.h <<\_ACEOF
76307 #define HAVE_GETPAGESIZE 1
76308 _ACEOF
76310 cat >>confdefs.h <<\_ACEOF
76311 #define HAVE_SETENV 1
76312 _ACEOF
76314 cat >>confdefs.h <<\_ACEOF
76315 #define HAVE_SIGSETJMP 1
76316 _ACEOF
76318 cat >>confdefs.h <<\_ACEOF
76319 #define HAVE_COPYSIGN 1
76320 _ACEOF
76322 cat >>confdefs.h <<\_ACEOF
76323 #define HAVE_COPYSIGNF 1
76324 _ACEOF
76326 cat >>confdefs.h <<\_ACEOF
76327 #define HAVE_FINITEF 1
76328 _ACEOF
76330 cat >>confdefs.h <<\_ACEOF
76331 #define HAVE_FINITE 1
76332 _ACEOF
76334 cat >>confdefs.h <<\_ACEOF
76335 #define HAVE_FREXPF 1
76336 _ACEOF
76338 cat >>confdefs.h <<\_ACEOF
76339 #define HAVE_HYPOT 1
76340 _ACEOF
76342 cat >>confdefs.h <<\_ACEOF
76343 #define HAVE_HYPOTF 1
76344 _ACEOF
76346 cat >>confdefs.h <<\_ACEOF
76347 #define HAVE_ISINF 1
76348 _ACEOF
76350 cat >>confdefs.h <<\_ACEOF
76351 #define HAVE_ISNAN 1
76352 _ACEOF
76354 cat >>confdefs.h <<\_ACEOF
76355 #define HAVE_ISNANF 1
76356 _ACEOF
76359 cat >>confdefs.h <<\_ACEOF
76360 #define HAVE_MMAP 1
76361 _ACEOF
76363 cat >>confdefs.h <<\_ACEOF
76364 #define HAVE_ACOSF 1
76365 _ACEOF
76367 cat >>confdefs.h <<\_ACEOF
76368 #define HAVE_ASINF 1
76369 _ACEOF
76371 cat >>confdefs.h <<\_ACEOF
76372 #define HAVE_ATAN2F 1
76373 _ACEOF
76375 cat >>confdefs.h <<\_ACEOF
76376 #define HAVE_ATANF 1
76377 _ACEOF
76379 cat >>confdefs.h <<\_ACEOF
76380 #define HAVE_CEILF 1
76381 _ACEOF
76383 cat >>confdefs.h <<\_ACEOF
76384 #define HAVE_COPYSIGN 1
76385 _ACEOF
76387 cat >>confdefs.h <<\_ACEOF
76388 #define HAVE_COPYSIGNF 1
76389 _ACEOF
76391 cat >>confdefs.h <<\_ACEOF
76392 #define HAVE_COSF 1
76393 _ACEOF
76395 cat >>confdefs.h <<\_ACEOF
76396 #define HAVE_COSHF 1
76397 _ACEOF
76399 cat >>confdefs.h <<\_ACEOF
76400 #define HAVE_EXPF 1
76401 _ACEOF
76403 cat >>confdefs.h <<\_ACEOF
76404 #define HAVE_FABSF 1
76405 _ACEOF
76407 cat >>confdefs.h <<\_ACEOF
76408 #define HAVE_FLOORF 1
76409 _ACEOF
76411 cat >>confdefs.h <<\_ACEOF
76412 #define HAVE_FMODF 1
76413 _ACEOF
76415 cat >>confdefs.h <<\_ACEOF
76416 #define HAVE_FREXPF 1
76417 _ACEOF
76419 cat >>confdefs.h <<\_ACEOF
76420 #define HAVE_LDEXPF 1
76421 _ACEOF
76423 cat >>confdefs.h <<\_ACEOF
76424 #define HAVE_LOG10F 1
76425 _ACEOF
76427 cat >>confdefs.h <<\_ACEOF
76428 #define HAVE_LOGF 1
76429 _ACEOF
76431 cat >>confdefs.h <<\_ACEOF
76432 #define HAVE_MODFF 1
76433 _ACEOF
76435 cat >>confdefs.h <<\_ACEOF
76436 #define HAVE_POWF 1
76437 _ACEOF
76439 cat >>confdefs.h <<\_ACEOF
76440 #define HAVE_SINF 1
76441 _ACEOF
76443 cat >>confdefs.h <<\_ACEOF
76444 #define HAVE_SINHF 1
76445 _ACEOF
76447 cat >>confdefs.h <<\_ACEOF
76448 #define HAVE_SQRTF 1
76449 _ACEOF
76451 cat >>confdefs.h <<\_ACEOF
76452 #define HAVE_TANF 1
76453 _ACEOF
76455 cat >>confdefs.h <<\_ACEOF
76456 #define HAVE_TANHF 1
76457 _ACEOF
76459 if test x"long_double_math_on_this_cpu" = x"yes"; then
76460 cat >>confdefs.h <<\_ACEOF
76461 #define HAVE_FINITEL 1
76462 _ACEOF
76464 cat >>confdefs.h <<\_ACEOF
76465 #define HAVE_ISINFL 1
76466 _ACEOF
76468 cat >>confdefs.h <<\_ACEOF
76469 #define HAVE_ISNANL 1
76470 _ACEOF
76474 *-hpux*)
76487 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76488 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76489 fp.h locale.h float.h inttypes.h
76491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76493 echo "$as_me:$LINENO: checking for $ac_header" >&5
76494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76496 echo $ECHO_N "(cached) $ECHO_C" >&6
76498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76499 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76500 else
76501 # Is the header compilable?
76502 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76503 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76504 cat >conftest.$ac_ext <<_ACEOF
76505 /* confdefs.h. */
76506 _ACEOF
76507 cat confdefs.h >>conftest.$ac_ext
76508 cat >>conftest.$ac_ext <<_ACEOF
76509 /* end confdefs.h. */
76510 $ac_includes_default
76511 #include <$ac_header>
76512 _ACEOF
76513 rm -f conftest.$ac_objext
76514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76515 (eval $ac_compile) 2>conftest.er1
76516 ac_status=$?
76517 grep -v '^ *+' conftest.er1 >conftest.err
76518 rm -f conftest.er1
76519 cat conftest.err >&5
76520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76521 (exit $ac_status); } &&
76522 { ac_try='test -z "$ac_c_werror_flag"
76523 || test ! -s conftest.err'
76524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76525 (eval $ac_try) 2>&5
76526 ac_status=$?
76527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76528 (exit $ac_status); }; } &&
76529 { ac_try='test -s conftest.$ac_objext'
76530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76531 (eval $ac_try) 2>&5
76532 ac_status=$?
76533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76534 (exit $ac_status); }; }; then
76535 ac_header_compiler=yes
76536 else
76537 echo "$as_me: failed program was:" >&5
76538 sed 's/^/| /' conftest.$ac_ext >&5
76540 ac_header_compiler=no
76542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76543 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76544 echo "${ECHO_T}$ac_header_compiler" >&6
76546 # Is the header present?
76547 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76549 cat >conftest.$ac_ext <<_ACEOF
76550 /* confdefs.h. */
76551 _ACEOF
76552 cat confdefs.h >>conftest.$ac_ext
76553 cat >>conftest.$ac_ext <<_ACEOF
76554 /* end confdefs.h. */
76555 #include <$ac_header>
76556 _ACEOF
76557 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76558 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76559 ac_status=$?
76560 grep -v '^ *+' conftest.er1 >conftest.err
76561 rm -f conftest.er1
76562 cat conftest.err >&5
76563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76564 (exit $ac_status); } >/dev/null; then
76565 if test -s conftest.err; then
76566 ac_cpp_err=$ac_c_preproc_warn_flag
76567 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76568 else
76569 ac_cpp_err=
76571 else
76572 ac_cpp_err=yes
76574 if test -z "$ac_cpp_err"; then
76575 ac_header_preproc=yes
76576 else
76577 echo "$as_me: failed program was:" >&5
76578 sed 's/^/| /' conftest.$ac_ext >&5
76580 ac_header_preproc=no
76582 rm -f conftest.err conftest.$ac_ext
76583 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76584 echo "${ECHO_T}$ac_header_preproc" >&6
76586 # So? What about this header?
76587 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76588 yes:no: )
76589 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76590 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76592 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76593 ac_header_preproc=yes
76595 no:yes:* )
76596 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76597 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76598 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76599 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76600 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76601 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76602 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76603 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76606 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76607 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76609 cat <<\_ASBOX
76610 ## ----------------------------------------- ##
76611 ## Report this to the package-unused lists. ##
76612 ## ----------------------------------------- ##
76613 _ASBOX
76615 sed "s/^/$as_me: WARNING: /" >&2
76617 esac
76618 echo "$as_me:$LINENO: checking for $ac_header" >&5
76619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76621 echo $ECHO_N "(cached) $ECHO_C" >&6
76622 else
76623 eval "$as_ac_Header=\$ac_header_preproc"
76625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76630 cat >>confdefs.h <<_ACEOF
76631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76632 _ACEOF
76636 done
76638 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76641 # If we're not using GNU ld, then there's no point in even trying these
76642 # tests. Check for that first. We should have already tested for gld
76643 # by now (in libtool), but require it now just to be safe...
76644 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76645 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76649 # The name set by libtool depends on the version of libtool. Shame on us
76650 # for depending on an impl detail, but c'est la vie. Older versions used
76651 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76652 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76653 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76654 # set (hence we're using an older libtool), then set it.
76655 if test x${with_gnu_ld+set} != xset; then
76656 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76657 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76658 with_gnu_ld=no
76659 else
76660 with_gnu_ld=$ac_cv_prog_gnu_ld
76664 # Start by getting the version number. I think the libtool test already
76665 # does some of this, but throws away the result.
76666 echo "$as_me:$LINENO: checking for ld version" >&5
76667 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
76669 ldver=`$LD --version 2>/dev/null | head -1 | \
76670 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76672 glibcxx_gnu_ld_version=`echo $ldver | \
76673 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76674 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
76675 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
76677 # Set --gc-sections.
76678 glibcxx_gcsections_min_ld=21602
76679 if test x"$with_gnu_ld" = x"yes" &&
76680 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
76682 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
76683 # NB: This flag only works reliably after 2.16.1. Configure tests
76684 # for this are difficult, so hard wire a value that should work.
76686 # All these tests are for C++, but run with the "C" compiler driver.
76687 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
76688 ac_test_CFLAGS="${CFLAGS+set}"
76689 ac_save_CFLAGS="$CFLAGS"
76690 CFLAGS='-x c++ -Wl,--gc-sections'
76692 # Check for -Wl,--gc-sections
76693 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76694 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76695 if test x$gcc_no_link = xyes; then
76696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76698 { (exit 1); exit 1; }; }
76700 cat >conftest.$ac_ext <<_ACEOF
76701 /* confdefs.h. */
76702 _ACEOF
76703 cat confdefs.h >>conftest.$ac_ext
76704 cat >>conftest.$ac_ext <<_ACEOF
76705 /* end confdefs.h. */
76706 int one(void) { return 1; }
76707 int two(void) { return 2; }
76710 main ()
76712 two();
76714 return 0;
76716 _ACEOF
76717 rm -f conftest.$ac_objext conftest$ac_exeext
76718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76719 (eval $ac_link) 2>conftest.er1
76720 ac_status=$?
76721 grep -v '^ *+' conftest.er1 >conftest.err
76722 rm -f conftest.er1
76723 cat conftest.err >&5
76724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76725 (exit $ac_status); } &&
76726 { ac_try='test -z "$ac_c_werror_flag"
76727 || test ! -s conftest.err'
76728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76729 (eval $ac_try) 2>&5
76730 ac_status=$?
76731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76732 (exit $ac_status); }; } &&
76733 { ac_try='test -s conftest$ac_exeext'
76734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76735 (eval $ac_try) 2>&5
76736 ac_status=$?
76737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76738 (exit $ac_status); }; }; then
76739 ac_gcsections=yes
76740 else
76741 echo "$as_me: failed program was:" >&5
76742 sed 's/^/| /' conftest.$ac_ext >&5
76744 ac_gcsections=no
76746 rm -f conftest.err conftest.$ac_objext \
76747 conftest$ac_exeext conftest.$ac_ext
76748 if test "$ac_gcsections" = "yes"; then
76749 rm -f conftest.c
76750 touch conftest.c
76751 if $CC -c conftest.c; then
76752 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
76753 grep "Warning: gc-sections option ignored" > /dev/null; then
76754 ac_gcsections=no
76757 rm -f conftest.c conftest.o conftest
76759 if test "$ac_gcsections" = "yes"; then
76760 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76762 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
76763 echo "${ECHO_T}$ac_gcsections" >&6
76765 if test "$ac_test_CFLAGS" = set; then
76766 CFLAGS="$ac_save_CFLAGS"
76767 else
76768 # this is the suspicious part
76769 CFLAGS=''
76773 # Set -z,relro.
76774 # Note this is only for shared objects.
76775 ac_ld_relro=no
76776 if test x"$with_gnu_ld" = x"yes"; then
76777 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
76778 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
76779 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
76780 if test -n "$cxx_z_relo"; then
76781 OPT_LDFLAGS="-Wl,-z,relro"
76782 ac_ld_relro=yes
76784 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
76785 echo "${ECHO_T}$ac_ld_relro" >&6
76788 # Set linker optimization flags.
76789 if test x"$with_gnu_ld" = x"yes"; then
76790 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76798 echo "$as_me:$LINENO: checking for main in -lm" >&5
76799 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76800 if test "${ac_cv_lib_m_main+set}" = set; then
76801 echo $ECHO_N "(cached) $ECHO_C" >&6
76802 else
76803 ac_check_lib_save_LIBS=$LIBS
76804 LIBS="-lm $LIBS"
76805 if test x$gcc_no_link = xyes; then
76806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76808 { (exit 1); exit 1; }; }
76810 cat >conftest.$ac_ext <<_ACEOF
76811 /* confdefs.h. */
76812 _ACEOF
76813 cat confdefs.h >>conftest.$ac_ext
76814 cat >>conftest.$ac_ext <<_ACEOF
76815 /* end confdefs.h. */
76819 main ()
76821 main ();
76823 return 0;
76825 _ACEOF
76826 rm -f conftest.$ac_objext conftest$ac_exeext
76827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76828 (eval $ac_link) 2>conftest.er1
76829 ac_status=$?
76830 grep -v '^ *+' conftest.er1 >conftest.err
76831 rm -f conftest.er1
76832 cat conftest.err >&5
76833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76834 (exit $ac_status); } &&
76835 { ac_try='test -z "$ac_c_werror_flag"
76836 || test ! -s conftest.err'
76837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76838 (eval $ac_try) 2>&5
76839 ac_status=$?
76840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76841 (exit $ac_status); }; } &&
76842 { ac_try='test -s conftest$ac_exeext'
76843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76844 (eval $ac_try) 2>&5
76845 ac_status=$?
76846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76847 (exit $ac_status); }; }; then
76848 ac_cv_lib_m_main=yes
76849 else
76850 echo "$as_me: failed program was:" >&5
76851 sed 's/^/| /' conftest.$ac_ext >&5
76853 ac_cv_lib_m_main=no
76855 rm -f conftest.err conftest.$ac_objext \
76856 conftest$ac_exeext conftest.$ac_ext
76857 LIBS=$ac_check_lib_save_LIBS
76859 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76860 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76861 if test $ac_cv_lib_m_main = yes; then
76862 cat >>confdefs.h <<_ACEOF
76863 #define HAVE_LIBM 1
76864 _ACEOF
76866 LIBS="-lm $LIBS"
76871 for ac_func in copysignf
76873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76874 echo "$as_me:$LINENO: checking for $ac_func" >&5
76875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76876 if eval "test \"\${$as_ac_var+set}\" = set"; then
76877 echo $ECHO_N "(cached) $ECHO_C" >&6
76878 else
76879 if test x$gcc_no_link = xyes; then
76880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76882 { (exit 1); exit 1; }; }
76884 cat >conftest.$ac_ext <<_ACEOF
76885 /* confdefs.h. */
76886 _ACEOF
76887 cat confdefs.h >>conftest.$ac_ext
76888 cat >>conftest.$ac_ext <<_ACEOF
76889 /* end confdefs.h. */
76890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76892 #define $ac_func innocuous_$ac_func
76894 /* System header to define __stub macros and hopefully few prototypes,
76895 which can conflict with char $ac_func (); below.
76896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76897 <limits.h> exists even on freestanding compilers. */
76899 #ifdef __STDC__
76900 # include <limits.h>
76901 #else
76902 # include <assert.h>
76903 #endif
76905 #undef $ac_func
76907 /* Override any gcc2 internal prototype to avoid an error. */
76908 #ifdef __cplusplus
76909 extern "C"
76911 #endif
76912 /* We use char because int might match the return type of a gcc2
76913 builtin and then its argument prototype would still apply. */
76914 char $ac_func ();
76915 /* The GNU C library defines this for functions which it implements
76916 to always fail with ENOSYS. Some functions are actually named
76917 something starting with __ and the normal name is an alias. */
76918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76919 choke me
76920 #else
76921 char (*f) () = $ac_func;
76922 #endif
76923 #ifdef __cplusplus
76925 #endif
76928 main ()
76930 return f != $ac_func;
76932 return 0;
76934 _ACEOF
76935 rm -f conftest.$ac_objext conftest$ac_exeext
76936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76937 (eval $ac_link) 2>conftest.er1
76938 ac_status=$?
76939 grep -v '^ *+' conftest.er1 >conftest.err
76940 rm -f conftest.er1
76941 cat conftest.err >&5
76942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76943 (exit $ac_status); } &&
76944 { ac_try='test -z "$ac_c_werror_flag"
76945 || test ! -s conftest.err'
76946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76947 (eval $ac_try) 2>&5
76948 ac_status=$?
76949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76950 (exit $ac_status); }; } &&
76951 { ac_try='test -s conftest$ac_exeext'
76952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76953 (eval $ac_try) 2>&5
76954 ac_status=$?
76955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76956 (exit $ac_status); }; }; then
76957 eval "$as_ac_var=yes"
76958 else
76959 echo "$as_me: failed program was:" >&5
76960 sed 's/^/| /' conftest.$ac_ext >&5
76962 eval "$as_ac_var=no"
76964 rm -f conftest.err conftest.$ac_objext \
76965 conftest$ac_exeext conftest.$ac_ext
76967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76969 if test `eval echo '${'$as_ac_var'}'` = yes; then
76970 cat >>confdefs.h <<_ACEOF
76971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76972 _ACEOF
76974 else
76975 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76977 done
76981 for ac_func in __signbit
76983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76984 echo "$as_me:$LINENO: checking for $ac_func" >&5
76985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76986 if eval "test \"\${$as_ac_var+set}\" = set"; then
76987 echo $ECHO_N "(cached) $ECHO_C" >&6
76988 else
76989 if test x$gcc_no_link = xyes; then
76990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76992 { (exit 1); exit 1; }; }
76994 cat >conftest.$ac_ext <<_ACEOF
76995 /* confdefs.h. */
76996 _ACEOF
76997 cat confdefs.h >>conftest.$ac_ext
76998 cat >>conftest.$ac_ext <<_ACEOF
76999 /* end confdefs.h. */
77000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77002 #define $ac_func innocuous_$ac_func
77004 /* System header to define __stub macros and hopefully few prototypes,
77005 which can conflict with char $ac_func (); below.
77006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77007 <limits.h> exists even on freestanding compilers. */
77009 #ifdef __STDC__
77010 # include <limits.h>
77011 #else
77012 # include <assert.h>
77013 #endif
77015 #undef $ac_func
77017 /* Override any gcc2 internal prototype to avoid an error. */
77018 #ifdef __cplusplus
77019 extern "C"
77021 #endif
77022 /* We use char because int might match the return type of a gcc2
77023 builtin and then its argument prototype would still apply. */
77024 char $ac_func ();
77025 /* The GNU C library defines this for functions which it implements
77026 to always fail with ENOSYS. Some functions are actually named
77027 something starting with __ and the normal name is an alias. */
77028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77029 choke me
77030 #else
77031 char (*f) () = $ac_func;
77032 #endif
77033 #ifdef __cplusplus
77035 #endif
77038 main ()
77040 return f != $ac_func;
77042 return 0;
77044 _ACEOF
77045 rm -f conftest.$ac_objext conftest$ac_exeext
77046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77047 (eval $ac_link) 2>conftest.er1
77048 ac_status=$?
77049 grep -v '^ *+' conftest.er1 >conftest.err
77050 rm -f conftest.er1
77051 cat conftest.err >&5
77052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77053 (exit $ac_status); } &&
77054 { ac_try='test -z "$ac_c_werror_flag"
77055 || test ! -s conftest.err'
77056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77057 (eval $ac_try) 2>&5
77058 ac_status=$?
77059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77060 (exit $ac_status); }; } &&
77061 { ac_try='test -s conftest$ac_exeext'
77062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77063 (eval $ac_try) 2>&5
77064 ac_status=$?
77065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77066 (exit $ac_status); }; }; then
77067 eval "$as_ac_var=yes"
77068 else
77069 echo "$as_me: failed program was:" >&5
77070 sed 's/^/| /' conftest.$ac_ext >&5
77072 eval "$as_ac_var=no"
77074 rm -f conftest.err conftest.$ac_objext \
77075 conftest$ac_exeext conftest.$ac_ext
77077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77079 if test `eval echo '${'$as_ac_var'}'` = yes; then
77080 cat >>confdefs.h <<_ACEOF
77081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77082 _ACEOF
77084 else
77085 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77087 done
77091 for ac_func in __signbitf
77093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77094 echo "$as_me:$LINENO: checking for $ac_func" >&5
77095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77096 if eval "test \"\${$as_ac_var+set}\" = set"; then
77097 echo $ECHO_N "(cached) $ECHO_C" >&6
77098 else
77099 if test x$gcc_no_link = xyes; then
77100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77102 { (exit 1); exit 1; }; }
77104 cat >conftest.$ac_ext <<_ACEOF
77105 /* confdefs.h. */
77106 _ACEOF
77107 cat confdefs.h >>conftest.$ac_ext
77108 cat >>conftest.$ac_ext <<_ACEOF
77109 /* end confdefs.h. */
77110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77112 #define $ac_func innocuous_$ac_func
77114 /* System header to define __stub macros and hopefully few prototypes,
77115 which can conflict with char $ac_func (); below.
77116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77117 <limits.h> exists even on freestanding compilers. */
77119 #ifdef __STDC__
77120 # include <limits.h>
77121 #else
77122 # include <assert.h>
77123 #endif
77125 #undef $ac_func
77127 /* Override any gcc2 internal prototype to avoid an error. */
77128 #ifdef __cplusplus
77129 extern "C"
77131 #endif
77132 /* We use char because int might match the return type of a gcc2
77133 builtin and then its argument prototype would still apply. */
77134 char $ac_func ();
77135 /* The GNU C library defines this for functions which it implements
77136 to always fail with ENOSYS. Some functions are actually named
77137 something starting with __ and the normal name is an alias. */
77138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77139 choke me
77140 #else
77141 char (*f) () = $ac_func;
77142 #endif
77143 #ifdef __cplusplus
77145 #endif
77148 main ()
77150 return f != $ac_func;
77152 return 0;
77154 _ACEOF
77155 rm -f conftest.$ac_objext conftest$ac_exeext
77156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77157 (eval $ac_link) 2>conftest.er1
77158 ac_status=$?
77159 grep -v '^ *+' conftest.er1 >conftest.err
77160 rm -f conftest.er1
77161 cat conftest.err >&5
77162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77163 (exit $ac_status); } &&
77164 { ac_try='test -z "$ac_c_werror_flag"
77165 || test ! -s conftest.err'
77166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77167 (eval $ac_try) 2>&5
77168 ac_status=$?
77169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77170 (exit $ac_status); }; } &&
77171 { ac_try='test -s conftest$ac_exeext'
77172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77173 (eval $ac_try) 2>&5
77174 ac_status=$?
77175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77176 (exit $ac_status); }; }; then
77177 eval "$as_ac_var=yes"
77178 else
77179 echo "$as_me: failed program was:" >&5
77180 sed 's/^/| /' conftest.$ac_ext >&5
77182 eval "$as_ac_var=no"
77184 rm -f conftest.err conftest.$ac_objext \
77185 conftest$ac_exeext conftest.$ac_ext
77187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77189 if test `eval echo '${'$as_ac_var'}'` = yes; then
77190 cat >>confdefs.h <<_ACEOF
77191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77192 _ACEOF
77194 else
77195 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77197 done
77200 if test x$ac_cv_func_copysignl = x"yes"; then
77202 for ac_func in __signbitl
77204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77205 echo "$as_me:$LINENO: checking for $ac_func" >&5
77206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77207 if eval "test \"\${$as_ac_var+set}\" = set"; then
77208 echo $ECHO_N "(cached) $ECHO_C" >&6
77209 else
77210 if test x$gcc_no_link = xyes; then
77211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77213 { (exit 1); exit 1; }; }
77215 cat >conftest.$ac_ext <<_ACEOF
77216 /* confdefs.h. */
77217 _ACEOF
77218 cat confdefs.h >>conftest.$ac_ext
77219 cat >>conftest.$ac_ext <<_ACEOF
77220 /* end confdefs.h. */
77221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77223 #define $ac_func innocuous_$ac_func
77225 /* System header to define __stub macros and hopefully few prototypes,
77226 which can conflict with char $ac_func (); below.
77227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77228 <limits.h> exists even on freestanding compilers. */
77230 #ifdef __STDC__
77231 # include <limits.h>
77232 #else
77233 # include <assert.h>
77234 #endif
77236 #undef $ac_func
77238 /* Override any gcc2 internal prototype to avoid an error. */
77239 #ifdef __cplusplus
77240 extern "C"
77242 #endif
77243 /* We use char because int might match the return type of a gcc2
77244 builtin and then its argument prototype would still apply. */
77245 char $ac_func ();
77246 /* The GNU C library defines this for functions which it implements
77247 to always fail with ENOSYS. Some functions are actually named
77248 something starting with __ and the normal name is an alias. */
77249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77250 choke me
77251 #else
77252 char (*f) () = $ac_func;
77253 #endif
77254 #ifdef __cplusplus
77256 #endif
77259 main ()
77261 return f != $ac_func;
77263 return 0;
77265 _ACEOF
77266 rm -f conftest.$ac_objext conftest$ac_exeext
77267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77268 (eval $ac_link) 2>conftest.er1
77269 ac_status=$?
77270 grep -v '^ *+' conftest.er1 >conftest.err
77271 rm -f conftest.er1
77272 cat conftest.err >&5
77273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77274 (exit $ac_status); } &&
77275 { ac_try='test -z "$ac_c_werror_flag"
77276 || test ! -s conftest.err'
77277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77278 (eval $ac_try) 2>&5
77279 ac_status=$?
77280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77281 (exit $ac_status); }; } &&
77282 { ac_try='test -s conftest$ac_exeext'
77283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77284 (eval $ac_try) 2>&5
77285 ac_status=$?
77286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77287 (exit $ac_status); }; }; then
77288 eval "$as_ac_var=yes"
77289 else
77290 echo "$as_me: failed program was:" >&5
77291 sed 's/^/| /' conftest.$ac_ext >&5
77293 eval "$as_ac_var=no"
77295 rm -f conftest.err conftest.$ac_objext \
77296 conftest$ac_exeext conftest.$ac_ext
77298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77300 if test `eval echo '${'$as_ac_var'}'` = yes; then
77301 cat >>confdefs.h <<_ACEOF
77302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77303 _ACEOF
77305 else
77306 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77308 done
77312 # Used in libmath/Makefile.am.
77313 if test -n "$LIBMATHOBJS"; then
77314 need_libmath=yes
77320 enable_iconv=no
77321 # Only continue checking if the ISO C99 headers exist and support is on.
77322 if test x"$enable_wchar_t" = xyes; then
77324 # Use iconv for wchar_t to char conversions. As such, check for
77325 # X/Open Portability Guide, version 2 features (XPG2).
77326 if test "${ac_cv_header_iconv_h+set}" = set; then
77327 echo "$as_me:$LINENO: checking for iconv.h" >&5
77328 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77329 if test "${ac_cv_header_iconv_h+set}" = set; then
77330 echo $ECHO_N "(cached) $ECHO_C" >&6
77332 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77333 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77334 else
77335 # Is the header compilable?
77336 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77337 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77338 cat >conftest.$ac_ext <<_ACEOF
77339 /* confdefs.h. */
77340 _ACEOF
77341 cat confdefs.h >>conftest.$ac_ext
77342 cat >>conftest.$ac_ext <<_ACEOF
77343 /* end confdefs.h. */
77344 $ac_includes_default
77345 #include <iconv.h>
77346 _ACEOF
77347 rm -f conftest.$ac_objext
77348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77349 (eval $ac_compile) 2>conftest.er1
77350 ac_status=$?
77351 grep -v '^ *+' conftest.er1 >conftest.err
77352 rm -f conftest.er1
77353 cat conftest.err >&5
77354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77355 (exit $ac_status); } &&
77356 { ac_try='test -z "$ac_c_werror_flag"
77357 || test ! -s conftest.err'
77358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77359 (eval $ac_try) 2>&5
77360 ac_status=$?
77361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77362 (exit $ac_status); }; } &&
77363 { ac_try='test -s conftest.$ac_objext'
77364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77365 (eval $ac_try) 2>&5
77366 ac_status=$?
77367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77368 (exit $ac_status); }; }; then
77369 ac_header_compiler=yes
77370 else
77371 echo "$as_me: failed program was:" >&5
77372 sed 's/^/| /' conftest.$ac_ext >&5
77374 ac_header_compiler=no
77376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77378 echo "${ECHO_T}$ac_header_compiler" >&6
77380 # Is the header present?
77381 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77382 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77383 cat >conftest.$ac_ext <<_ACEOF
77384 /* confdefs.h. */
77385 _ACEOF
77386 cat confdefs.h >>conftest.$ac_ext
77387 cat >>conftest.$ac_ext <<_ACEOF
77388 /* end confdefs.h. */
77389 #include <iconv.h>
77390 _ACEOF
77391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77392 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77393 ac_status=$?
77394 grep -v '^ *+' conftest.er1 >conftest.err
77395 rm -f conftest.er1
77396 cat conftest.err >&5
77397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77398 (exit $ac_status); } >/dev/null; then
77399 if test -s conftest.err; then
77400 ac_cpp_err=$ac_c_preproc_warn_flag
77401 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77402 else
77403 ac_cpp_err=
77405 else
77406 ac_cpp_err=yes
77408 if test -z "$ac_cpp_err"; then
77409 ac_header_preproc=yes
77410 else
77411 echo "$as_me: failed program was:" >&5
77412 sed 's/^/| /' conftest.$ac_ext >&5
77414 ac_header_preproc=no
77416 rm -f conftest.err conftest.$ac_ext
77417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77418 echo "${ECHO_T}$ac_header_preproc" >&6
77420 # So? What about this header?
77421 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77422 yes:no: )
77423 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77424 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77425 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77426 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77427 ac_header_preproc=yes
77429 no:yes:* )
77430 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77431 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77432 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77433 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77434 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77435 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77436 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77437 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77438 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77439 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77440 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77441 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77443 cat <<\_ASBOX
77444 ## ----------------------------------------- ##
77445 ## Report this to the package-unused lists. ##
77446 ## ----------------------------------------- ##
77447 _ASBOX
77449 sed "s/^/$as_me: WARNING: /" >&2
77451 esac
77452 echo "$as_me:$LINENO: checking for iconv.h" >&5
77453 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77454 if test "${ac_cv_header_iconv_h+set}" = set; then
77455 echo $ECHO_N "(cached) $ECHO_C" >&6
77456 else
77457 ac_cv_header_iconv_h=$ac_header_preproc
77459 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77460 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77463 if test $ac_cv_header_iconv_h = yes; then
77464 ac_has_iconv_h=yes
77465 else
77466 ac_has_iconv_h=no
77470 if test "${ac_cv_header_langinfo_h+set}" = set; then
77471 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77472 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77473 if test "${ac_cv_header_langinfo_h+set}" = set; then
77474 echo $ECHO_N "(cached) $ECHO_C" >&6
77476 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77477 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77478 else
77479 # Is the header compilable?
77480 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77481 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77482 cat >conftest.$ac_ext <<_ACEOF
77483 /* confdefs.h. */
77484 _ACEOF
77485 cat confdefs.h >>conftest.$ac_ext
77486 cat >>conftest.$ac_ext <<_ACEOF
77487 /* end confdefs.h. */
77488 $ac_includes_default
77489 #include <langinfo.h>
77490 _ACEOF
77491 rm -f conftest.$ac_objext
77492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77493 (eval $ac_compile) 2>conftest.er1
77494 ac_status=$?
77495 grep -v '^ *+' conftest.er1 >conftest.err
77496 rm -f conftest.er1
77497 cat conftest.err >&5
77498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77499 (exit $ac_status); } &&
77500 { ac_try='test -z "$ac_c_werror_flag"
77501 || test ! -s conftest.err'
77502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77503 (eval $ac_try) 2>&5
77504 ac_status=$?
77505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77506 (exit $ac_status); }; } &&
77507 { ac_try='test -s conftest.$ac_objext'
77508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77509 (eval $ac_try) 2>&5
77510 ac_status=$?
77511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77512 (exit $ac_status); }; }; then
77513 ac_header_compiler=yes
77514 else
77515 echo "$as_me: failed program was:" >&5
77516 sed 's/^/| /' conftest.$ac_ext >&5
77518 ac_header_compiler=no
77520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77522 echo "${ECHO_T}$ac_header_compiler" >&6
77524 # Is the header present?
77525 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77526 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77527 cat >conftest.$ac_ext <<_ACEOF
77528 /* confdefs.h. */
77529 _ACEOF
77530 cat confdefs.h >>conftest.$ac_ext
77531 cat >>conftest.$ac_ext <<_ACEOF
77532 /* end confdefs.h. */
77533 #include <langinfo.h>
77534 _ACEOF
77535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77536 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77537 ac_status=$?
77538 grep -v '^ *+' conftest.er1 >conftest.err
77539 rm -f conftest.er1
77540 cat conftest.err >&5
77541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77542 (exit $ac_status); } >/dev/null; then
77543 if test -s conftest.err; then
77544 ac_cpp_err=$ac_c_preproc_warn_flag
77545 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77546 else
77547 ac_cpp_err=
77549 else
77550 ac_cpp_err=yes
77552 if test -z "$ac_cpp_err"; then
77553 ac_header_preproc=yes
77554 else
77555 echo "$as_me: failed program was:" >&5
77556 sed 's/^/| /' conftest.$ac_ext >&5
77558 ac_header_preproc=no
77560 rm -f conftest.err conftest.$ac_ext
77561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77562 echo "${ECHO_T}$ac_header_preproc" >&6
77564 # So? What about this header?
77565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77566 yes:no: )
77567 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77568 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77569 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77570 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77571 ac_header_preproc=yes
77573 no:yes:* )
77574 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77575 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77576 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
77577 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
77578 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
77579 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
77580 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
77581 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
77582 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77583 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77584 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77585 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77587 cat <<\_ASBOX
77588 ## ----------------------------------------- ##
77589 ## Report this to the package-unused lists. ##
77590 ## ----------------------------------------- ##
77591 _ASBOX
77593 sed "s/^/$as_me: WARNING: /" >&2
77595 esac
77596 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77597 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77598 if test "${ac_cv_header_langinfo_h+set}" = set; then
77599 echo $ECHO_N "(cached) $ECHO_C" >&6
77600 else
77601 ac_cv_header_langinfo_h=$ac_header_preproc
77603 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77604 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77607 if test $ac_cv_header_langinfo_h = yes; then
77608 ac_has_langinfo_h=yes
77609 else
77610 ac_has_langinfo_h=no
77615 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77616 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77617 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77618 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77619 echo $ECHO_N "(cached) $ECHO_C" >&6
77620 else
77621 ac_check_lib_save_LIBS=$LIBS
77622 LIBS="-liconv $LIBS"
77623 if test x$gcc_no_link = xyes; then
77624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77626 { (exit 1); exit 1; }; }
77628 cat >conftest.$ac_ext <<_ACEOF
77629 /* confdefs.h. */
77630 _ACEOF
77631 cat confdefs.h >>conftest.$ac_ext
77632 cat >>conftest.$ac_ext <<_ACEOF
77633 /* end confdefs.h. */
77635 /* Override any gcc2 internal prototype to avoid an error. */
77636 #ifdef __cplusplus
77637 extern "C"
77638 #endif
77639 /* We use char because int might match the return type of a gcc2
77640 builtin and then its argument prototype would still apply. */
77641 char iconv ();
77643 main ()
77645 iconv ();
77647 return 0;
77649 _ACEOF
77650 rm -f conftest.$ac_objext conftest$ac_exeext
77651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77652 (eval $ac_link) 2>conftest.er1
77653 ac_status=$?
77654 grep -v '^ *+' conftest.er1 >conftest.err
77655 rm -f conftest.er1
77656 cat conftest.err >&5
77657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77658 (exit $ac_status); } &&
77659 { ac_try='test -z "$ac_c_werror_flag"
77660 || test ! -s conftest.err'
77661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77662 (eval $ac_try) 2>&5
77663 ac_status=$?
77664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77665 (exit $ac_status); }; } &&
77666 { ac_try='test -s conftest$ac_exeext'
77667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77668 (eval $ac_try) 2>&5
77669 ac_status=$?
77670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77671 (exit $ac_status); }; }; then
77672 ac_cv_lib_iconv_iconv=yes
77673 else
77674 echo "$as_me: failed program was:" >&5
77675 sed 's/^/| /' conftest.$ac_ext >&5
77677 ac_cv_lib_iconv_iconv=no
77679 rm -f conftest.err conftest.$ac_objext \
77680 conftest$ac_exeext conftest.$ac_ext
77681 LIBS=$ac_check_lib_save_LIBS
77683 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77684 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77685 if test $ac_cv_lib_iconv_iconv = yes; then
77686 LIBICONV="-liconv"
77689 ac_save_LIBS="$LIBS"
77690 LIBS="$LIBS $LIBICONV"
77697 for ac_func in iconv_open iconv_close iconv nl_langinfo
77699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77700 echo "$as_me:$LINENO: checking for $ac_func" >&5
77701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77702 if eval "test \"\${$as_ac_var+set}\" = set"; then
77703 echo $ECHO_N "(cached) $ECHO_C" >&6
77704 else
77705 if test x$gcc_no_link = xyes; then
77706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77708 { (exit 1); exit 1; }; }
77710 cat >conftest.$ac_ext <<_ACEOF
77711 /* confdefs.h. */
77712 _ACEOF
77713 cat confdefs.h >>conftest.$ac_ext
77714 cat >>conftest.$ac_ext <<_ACEOF
77715 /* end confdefs.h. */
77716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77718 #define $ac_func innocuous_$ac_func
77720 /* System header to define __stub macros and hopefully few prototypes,
77721 which can conflict with char $ac_func (); below.
77722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77723 <limits.h> exists even on freestanding compilers. */
77725 #ifdef __STDC__
77726 # include <limits.h>
77727 #else
77728 # include <assert.h>
77729 #endif
77731 #undef $ac_func
77733 /* Override any gcc2 internal prototype to avoid an error. */
77734 #ifdef __cplusplus
77735 extern "C"
77737 #endif
77738 /* We use char because int might match the return type of a gcc2
77739 builtin and then its argument prototype would still apply. */
77740 char $ac_func ();
77741 /* The GNU C library defines this for functions which it implements
77742 to always fail with ENOSYS. Some functions are actually named
77743 something starting with __ and the normal name is an alias. */
77744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77745 choke me
77746 #else
77747 char (*f) () = $ac_func;
77748 #endif
77749 #ifdef __cplusplus
77751 #endif
77754 main ()
77756 return f != $ac_func;
77758 return 0;
77760 _ACEOF
77761 rm -f conftest.$ac_objext conftest$ac_exeext
77762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77763 (eval $ac_link) 2>conftest.er1
77764 ac_status=$?
77765 grep -v '^ *+' conftest.er1 >conftest.err
77766 rm -f conftest.er1
77767 cat conftest.err >&5
77768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77769 (exit $ac_status); } &&
77770 { ac_try='test -z "$ac_c_werror_flag"
77771 || test ! -s conftest.err'
77772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77773 (eval $ac_try) 2>&5
77774 ac_status=$?
77775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77776 (exit $ac_status); }; } &&
77777 { ac_try='test -s conftest$ac_exeext'
77778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77779 (eval $ac_try) 2>&5
77780 ac_status=$?
77781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77782 (exit $ac_status); }; }; then
77783 eval "$as_ac_var=yes"
77784 else
77785 echo "$as_me: failed program was:" >&5
77786 sed 's/^/| /' conftest.$ac_ext >&5
77788 eval "$as_ac_var=no"
77790 rm -f conftest.err conftest.$ac_objext \
77791 conftest$ac_exeext conftest.$ac_ext
77793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77795 if test `eval echo '${'$as_ac_var'}'` = yes; then
77796 cat >>confdefs.h <<_ACEOF
77797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77798 _ACEOF
77799 ac_XPG2funcs=yes
77800 else
77801 ac_XPG2funcs=no
77803 done
77806 LIBS="$ac_save_LIBS"
77808 if test x"$ac_has_iconv_h" = xyes &&
77809 test x"$ac_has_langinfo_h" = xyes &&
77810 test x"$ac_XPG2funcs" = xyes;
77811 then
77813 cat >>confdefs.h <<\_ACEOF
77814 #define _GLIBCXX_USE_ICONV 1
77815 _ACEOF
77817 enable_iconv=yes
77820 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
77821 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
77822 echo "$as_me:$LINENO: result: $enable_iconv" >&5
77823 echo "${ECHO_T}$enable_iconv" >&6
77825 cat >>confdefs.h <<\_ACEOF
77826 #define HAVE_COPYSIGN 1
77827 _ACEOF
77829 cat >>confdefs.h <<\_ACEOF
77830 #define HAVE_COPYSIGNF 1
77831 _ACEOF
77833 cat >>confdefs.h <<\_ACEOF
77834 #define HAVE_FREXPF 1
77835 _ACEOF
77837 cat >>confdefs.h <<\_ACEOF
77838 #define HAVE_HYPOT 1
77839 _ACEOF
77841 case "$target" in
77842 *-hpux10*)
77843 cat >>confdefs.h <<\_ACEOF
77844 #define HAVE_FINITE 1
77845 _ACEOF
77847 cat >>confdefs.h <<\_ACEOF
77848 #define HAVE_FINITEF 1
77849 _ACEOF
77851 cat >>confdefs.h <<\_ACEOF
77852 #define HAVE_ISINF 1
77853 _ACEOF
77855 cat >>confdefs.h <<\_ACEOF
77856 #define HAVE_ISINFF 1
77857 _ACEOF
77859 cat >>confdefs.h <<\_ACEOF
77860 #define HAVE_ISNAN 1
77861 _ACEOF
77863 cat >>confdefs.h <<\_ACEOF
77864 #define HAVE_ISNANF 1
77865 _ACEOF
77868 esac
77870 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
77886 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77887 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77888 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
77890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77892 echo "$as_me:$LINENO: checking for $ac_header" >&5
77893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77895 echo $ECHO_N "(cached) $ECHO_C" >&6
77897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77899 else
77900 # Is the header compilable?
77901 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77903 cat >conftest.$ac_ext <<_ACEOF
77904 /* confdefs.h. */
77905 _ACEOF
77906 cat confdefs.h >>conftest.$ac_ext
77907 cat >>conftest.$ac_ext <<_ACEOF
77908 /* end confdefs.h. */
77909 $ac_includes_default
77910 #include <$ac_header>
77911 _ACEOF
77912 rm -f conftest.$ac_objext
77913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77914 (eval $ac_compile) 2>conftest.er1
77915 ac_status=$?
77916 grep -v '^ *+' conftest.er1 >conftest.err
77917 rm -f conftest.er1
77918 cat conftest.err >&5
77919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77920 (exit $ac_status); } &&
77921 { ac_try='test -z "$ac_c_werror_flag"
77922 || test ! -s conftest.err'
77923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77924 (eval $ac_try) 2>&5
77925 ac_status=$?
77926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77927 (exit $ac_status); }; } &&
77928 { ac_try='test -s conftest.$ac_objext'
77929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77930 (eval $ac_try) 2>&5
77931 ac_status=$?
77932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77933 (exit $ac_status); }; }; then
77934 ac_header_compiler=yes
77935 else
77936 echo "$as_me: failed program was:" >&5
77937 sed 's/^/| /' conftest.$ac_ext >&5
77939 ac_header_compiler=no
77941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77943 echo "${ECHO_T}$ac_header_compiler" >&6
77945 # Is the header present?
77946 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77948 cat >conftest.$ac_ext <<_ACEOF
77949 /* confdefs.h. */
77950 _ACEOF
77951 cat confdefs.h >>conftest.$ac_ext
77952 cat >>conftest.$ac_ext <<_ACEOF
77953 /* end confdefs.h. */
77954 #include <$ac_header>
77955 _ACEOF
77956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77958 ac_status=$?
77959 grep -v '^ *+' conftest.er1 >conftest.err
77960 rm -f conftest.er1
77961 cat conftest.err >&5
77962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77963 (exit $ac_status); } >/dev/null; then
77964 if test -s conftest.err; then
77965 ac_cpp_err=$ac_c_preproc_warn_flag
77966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77967 else
77968 ac_cpp_err=
77970 else
77971 ac_cpp_err=yes
77973 if test -z "$ac_cpp_err"; then
77974 ac_header_preproc=yes
77975 else
77976 echo "$as_me: failed program was:" >&5
77977 sed 's/^/| /' conftest.$ac_ext >&5
77979 ac_header_preproc=no
77981 rm -f conftest.err conftest.$ac_ext
77982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77983 echo "${ECHO_T}$ac_header_preproc" >&6
77985 # So? What about this header?
77986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77987 yes:no: )
77988 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77989 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77991 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77992 ac_header_preproc=yes
77994 no:yes:* )
77995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77999 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78000 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78001 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78002 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78005 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78006 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78008 cat <<\_ASBOX
78009 ## ----------------------------------------- ##
78010 ## Report this to the package-unused lists. ##
78011 ## ----------------------------------------- ##
78012 _ASBOX
78014 sed "s/^/$as_me: WARNING: /" >&2
78016 esac
78017 echo "$as_me:$LINENO: checking for $ac_header" >&5
78018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78020 echo $ECHO_N "(cached) $ECHO_C" >&6
78021 else
78022 eval "$as_ac_Header=\$ac_header_preproc"
78024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78029 cat >>confdefs.h <<_ACEOF
78030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78031 _ACEOF
78035 done
78037 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78040 # If we're not using GNU ld, then there's no point in even trying these
78041 # tests. Check for that first. We should have already tested for gld
78042 # by now (in libtool), but require it now just to be safe...
78043 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78044 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78048 # The name set by libtool depends on the version of libtool. Shame on us
78049 # for depending on an impl detail, but c'est la vie. Older versions used
78050 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78051 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78052 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78053 # set (hence we're using an older libtool), then set it.
78054 if test x${with_gnu_ld+set} != xset; then
78055 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78056 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78057 with_gnu_ld=no
78058 else
78059 with_gnu_ld=$ac_cv_prog_gnu_ld
78063 # Start by getting the version number. I think the libtool test already
78064 # does some of this, but throws away the result.
78065 echo "$as_me:$LINENO: checking for ld version" >&5
78066 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78068 ldver=`$LD --version 2>/dev/null | head -1 | \
78069 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78071 glibcxx_gnu_ld_version=`echo $ldver | \
78072 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78073 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78074 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78076 # Set --gc-sections.
78077 glibcxx_gcsections_min_ld=21602
78078 if test x"$with_gnu_ld" = x"yes" &&
78079 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78081 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
78082 # NB: This flag only works reliably after 2.16.1. Configure tests
78083 # for this are difficult, so hard wire a value that should work.
78085 # All these tests are for C++, but run with the "C" compiler driver.
78086 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78087 ac_test_CFLAGS="${CFLAGS+set}"
78088 ac_save_CFLAGS="$CFLAGS"
78089 CFLAGS='-x c++ -Wl,--gc-sections'
78091 # Check for -Wl,--gc-sections
78092 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78093 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
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. */
78105 int one(void) { return 1; }
78106 int two(void) { return 2; }
78109 main ()
78111 two();
78113 return 0;
78115 _ACEOF
78116 rm -f conftest.$ac_objext conftest$ac_exeext
78117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78118 (eval $ac_link) 2>conftest.er1
78119 ac_status=$?
78120 grep -v '^ *+' conftest.er1 >conftest.err
78121 rm -f conftest.er1
78122 cat conftest.err >&5
78123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78124 (exit $ac_status); } &&
78125 { ac_try='test -z "$ac_c_werror_flag"
78126 || test ! -s conftest.err'
78127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78128 (eval $ac_try) 2>&5
78129 ac_status=$?
78130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78131 (exit $ac_status); }; } &&
78132 { ac_try='test -s conftest$ac_exeext'
78133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78134 (eval $ac_try) 2>&5
78135 ac_status=$?
78136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78137 (exit $ac_status); }; }; then
78138 ac_gcsections=yes
78139 else
78140 echo "$as_me: failed program was:" >&5
78141 sed 's/^/| /' conftest.$ac_ext >&5
78143 ac_gcsections=no
78145 rm -f conftest.err conftest.$ac_objext \
78146 conftest$ac_exeext conftest.$ac_ext
78147 if test "$ac_gcsections" = "yes"; then
78148 rm -f conftest.c
78149 touch conftest.c
78150 if $CC -c conftest.c; then
78151 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78152 grep "Warning: gc-sections option ignored" > /dev/null; then
78153 ac_gcsections=no
78156 rm -f conftest.c conftest.o conftest
78158 if test "$ac_gcsections" = "yes"; then
78159 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78161 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78162 echo "${ECHO_T}$ac_gcsections" >&6
78164 if test "$ac_test_CFLAGS" = set; then
78165 CFLAGS="$ac_save_CFLAGS"
78166 else
78167 # this is the suspicious part
78168 CFLAGS=''
78172 # Set -z,relro.
78173 # Note this is only for shared objects.
78174 ac_ld_relro=no
78175 if test x"$with_gnu_ld" = x"yes"; then
78176 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78177 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78178 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78179 if test -n "$cxx_z_relo"; then
78180 OPT_LDFLAGS="-Wl,-z,relro"
78181 ac_ld_relro=yes
78183 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78184 echo "${ECHO_T}$ac_ld_relro" >&6
78187 # Set linker optimization flags.
78188 if test x"$with_gnu_ld" = x"yes"; then
78189 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78197 echo "$as_me:$LINENO: checking for main in -lm" >&5
78198 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78199 if test "${ac_cv_lib_m_main+set}" = set; then
78200 echo $ECHO_N "(cached) $ECHO_C" >&6
78201 else
78202 ac_check_lib_save_LIBS=$LIBS
78203 LIBS="-lm $LIBS"
78204 if test x$gcc_no_link = xyes; then
78205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78207 { (exit 1); exit 1; }; }
78209 cat >conftest.$ac_ext <<_ACEOF
78210 /* confdefs.h. */
78211 _ACEOF
78212 cat confdefs.h >>conftest.$ac_ext
78213 cat >>conftest.$ac_ext <<_ACEOF
78214 /* end confdefs.h. */
78218 main ()
78220 main ();
78222 return 0;
78224 _ACEOF
78225 rm -f conftest.$ac_objext conftest$ac_exeext
78226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78227 (eval $ac_link) 2>conftest.er1
78228 ac_status=$?
78229 grep -v '^ *+' conftest.er1 >conftest.err
78230 rm -f conftest.er1
78231 cat conftest.err >&5
78232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78233 (exit $ac_status); } &&
78234 { ac_try='test -z "$ac_c_werror_flag"
78235 || test ! -s conftest.err'
78236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78237 (eval $ac_try) 2>&5
78238 ac_status=$?
78239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78240 (exit $ac_status); }; } &&
78241 { ac_try='test -s conftest$ac_exeext'
78242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78243 (eval $ac_try) 2>&5
78244 ac_status=$?
78245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78246 (exit $ac_status); }; }; then
78247 ac_cv_lib_m_main=yes
78248 else
78249 echo "$as_me: failed program was:" >&5
78250 sed 's/^/| /' conftest.$ac_ext >&5
78252 ac_cv_lib_m_main=no
78254 rm -f conftest.err conftest.$ac_objext \
78255 conftest$ac_exeext conftest.$ac_ext
78256 LIBS=$ac_check_lib_save_LIBS
78258 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78259 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78260 if test $ac_cv_lib_m_main = yes; then
78261 cat >>confdefs.h <<_ACEOF
78262 #define HAVE_LIBM 1
78263 _ACEOF
78265 LIBS="-lm $LIBS"
78270 for ac_func in copysignf
78272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78273 echo "$as_me:$LINENO: checking for $ac_func" >&5
78274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78275 if eval "test \"\${$as_ac_var+set}\" = set"; then
78276 echo $ECHO_N "(cached) $ECHO_C" >&6
78277 else
78278 if test x$gcc_no_link = xyes; then
78279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78281 { (exit 1); exit 1; }; }
78283 cat >conftest.$ac_ext <<_ACEOF
78284 /* confdefs.h. */
78285 _ACEOF
78286 cat confdefs.h >>conftest.$ac_ext
78287 cat >>conftest.$ac_ext <<_ACEOF
78288 /* end confdefs.h. */
78289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78291 #define $ac_func innocuous_$ac_func
78293 /* System header to define __stub macros and hopefully few prototypes,
78294 which can conflict with char $ac_func (); below.
78295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78296 <limits.h> exists even on freestanding compilers. */
78298 #ifdef __STDC__
78299 # include <limits.h>
78300 #else
78301 # include <assert.h>
78302 #endif
78304 #undef $ac_func
78306 /* Override any gcc2 internal prototype to avoid an error. */
78307 #ifdef __cplusplus
78308 extern "C"
78310 #endif
78311 /* We use char because int might match the return type of a gcc2
78312 builtin and then its argument prototype would still apply. */
78313 char $ac_func ();
78314 /* The GNU C library defines this for functions which it implements
78315 to always fail with ENOSYS. Some functions are actually named
78316 something starting with __ and the normal name is an alias. */
78317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78318 choke me
78319 #else
78320 char (*f) () = $ac_func;
78321 #endif
78322 #ifdef __cplusplus
78324 #endif
78327 main ()
78329 return f != $ac_func;
78331 return 0;
78333 _ACEOF
78334 rm -f conftest.$ac_objext conftest$ac_exeext
78335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78336 (eval $ac_link) 2>conftest.er1
78337 ac_status=$?
78338 grep -v '^ *+' conftest.er1 >conftest.err
78339 rm -f conftest.er1
78340 cat conftest.err >&5
78341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78342 (exit $ac_status); } &&
78343 { ac_try='test -z "$ac_c_werror_flag"
78344 || test ! -s conftest.err'
78345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78346 (eval $ac_try) 2>&5
78347 ac_status=$?
78348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78349 (exit $ac_status); }; } &&
78350 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
78356 eval "$as_ac_var=yes"
78357 else
78358 echo "$as_me: failed program was:" >&5
78359 sed 's/^/| /' conftest.$ac_ext >&5
78361 eval "$as_ac_var=no"
78363 rm -f conftest.err conftest.$ac_objext \
78364 conftest$ac_exeext conftest.$ac_ext
78366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78368 if test `eval echo '${'$as_ac_var'}'` = yes; then
78369 cat >>confdefs.h <<_ACEOF
78370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78371 _ACEOF
78373 else
78374 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
78376 done
78380 for ac_func in __signbit
78382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78383 echo "$as_me:$LINENO: checking for $ac_func" >&5
78384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78385 if eval "test \"\${$as_ac_var+set}\" = set"; then
78386 echo $ECHO_N "(cached) $ECHO_C" >&6
78387 else
78388 if test x$gcc_no_link = xyes; then
78389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78391 { (exit 1); exit 1; }; }
78393 cat >conftest.$ac_ext <<_ACEOF
78394 /* confdefs.h. */
78395 _ACEOF
78396 cat confdefs.h >>conftest.$ac_ext
78397 cat >>conftest.$ac_ext <<_ACEOF
78398 /* end confdefs.h. */
78399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78401 #define $ac_func innocuous_$ac_func
78403 /* System header to define __stub macros and hopefully few prototypes,
78404 which can conflict with char $ac_func (); below.
78405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78406 <limits.h> exists even on freestanding compilers. */
78408 #ifdef __STDC__
78409 # include <limits.h>
78410 #else
78411 # include <assert.h>
78412 #endif
78414 #undef $ac_func
78416 /* Override any gcc2 internal prototype to avoid an error. */
78417 #ifdef __cplusplus
78418 extern "C"
78420 #endif
78421 /* We use char because int might match the return type of a gcc2
78422 builtin and then its argument prototype would still apply. */
78423 char $ac_func ();
78424 /* The GNU C library defines this for functions which it implements
78425 to always fail with ENOSYS. Some functions are actually named
78426 something starting with __ and the normal name is an alias. */
78427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78428 choke me
78429 #else
78430 char (*f) () = $ac_func;
78431 #endif
78432 #ifdef __cplusplus
78434 #endif
78437 main ()
78439 return f != $ac_func;
78441 return 0;
78443 _ACEOF
78444 rm -f conftest.$ac_objext conftest$ac_exeext
78445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78446 (eval $ac_link) 2>conftest.er1
78447 ac_status=$?
78448 grep -v '^ *+' conftest.er1 >conftest.err
78449 rm -f conftest.er1
78450 cat conftest.err >&5
78451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78452 (exit $ac_status); } &&
78453 { ac_try='test -z "$ac_c_werror_flag"
78454 || test ! -s conftest.err'
78455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78456 (eval $ac_try) 2>&5
78457 ac_status=$?
78458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78459 (exit $ac_status); }; } &&
78460 { ac_try='test -s conftest$ac_exeext'
78461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78462 (eval $ac_try) 2>&5
78463 ac_status=$?
78464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78465 (exit $ac_status); }; }; then
78466 eval "$as_ac_var=yes"
78467 else
78468 echo "$as_me: failed program was:" >&5
78469 sed 's/^/| /' conftest.$ac_ext >&5
78471 eval "$as_ac_var=no"
78473 rm -f conftest.err conftest.$ac_objext \
78474 conftest$ac_exeext conftest.$ac_ext
78476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78478 if test `eval echo '${'$as_ac_var'}'` = yes; then
78479 cat >>confdefs.h <<_ACEOF
78480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78481 _ACEOF
78483 else
78484 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
78486 done
78490 for ac_func in __signbitf
78492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78493 echo "$as_me:$LINENO: checking for $ac_func" >&5
78494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78495 if eval "test \"\${$as_ac_var+set}\" = set"; then
78496 echo $ECHO_N "(cached) $ECHO_C" >&6
78497 else
78498 if test x$gcc_no_link = xyes; then
78499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78501 { (exit 1); exit 1; }; }
78503 cat >conftest.$ac_ext <<_ACEOF
78504 /* confdefs.h. */
78505 _ACEOF
78506 cat confdefs.h >>conftest.$ac_ext
78507 cat >>conftest.$ac_ext <<_ACEOF
78508 /* end confdefs.h. */
78509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78511 #define $ac_func innocuous_$ac_func
78513 /* System header to define __stub macros and hopefully few prototypes,
78514 which can conflict with char $ac_func (); below.
78515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78516 <limits.h> exists even on freestanding compilers. */
78518 #ifdef __STDC__
78519 # include <limits.h>
78520 #else
78521 # include <assert.h>
78522 #endif
78524 #undef $ac_func
78526 /* Override any gcc2 internal prototype to avoid an error. */
78527 #ifdef __cplusplus
78528 extern "C"
78530 #endif
78531 /* We use char because int might match the return type of a gcc2
78532 builtin and then its argument prototype would still apply. */
78533 char $ac_func ();
78534 /* The GNU C library defines this for functions which it implements
78535 to always fail with ENOSYS. Some functions are actually named
78536 something starting with __ and the normal name is an alias. */
78537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78538 choke me
78539 #else
78540 char (*f) () = $ac_func;
78541 #endif
78542 #ifdef __cplusplus
78544 #endif
78547 main ()
78549 return f != $ac_func;
78551 return 0;
78553 _ACEOF
78554 rm -f conftest.$ac_objext conftest$ac_exeext
78555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78556 (eval $ac_link) 2>conftest.er1
78557 ac_status=$?
78558 grep -v '^ *+' conftest.er1 >conftest.err
78559 rm -f conftest.er1
78560 cat conftest.err >&5
78561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78562 (exit $ac_status); } &&
78563 { ac_try='test -z "$ac_c_werror_flag"
78564 || test ! -s conftest.err'
78565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78566 (eval $ac_try) 2>&5
78567 ac_status=$?
78568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78569 (exit $ac_status); }; } &&
78570 { ac_try='test -s conftest$ac_exeext'
78571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78572 (eval $ac_try) 2>&5
78573 ac_status=$?
78574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78575 (exit $ac_status); }; }; then
78576 eval "$as_ac_var=yes"
78577 else
78578 echo "$as_me: failed program was:" >&5
78579 sed 's/^/| /' conftest.$ac_ext >&5
78581 eval "$as_ac_var=no"
78583 rm -f conftest.err conftest.$ac_objext \
78584 conftest$ac_exeext conftest.$ac_ext
78586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78588 if test `eval echo '${'$as_ac_var'}'` = yes; then
78589 cat >>confdefs.h <<_ACEOF
78590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78591 _ACEOF
78593 else
78594 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78596 done
78599 if test x$ac_cv_func_copysignl = x"yes"; then
78601 for ac_func in __signbitl
78603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78604 echo "$as_me:$LINENO: checking for $ac_func" >&5
78605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78606 if eval "test \"\${$as_ac_var+set}\" = set"; then
78607 echo $ECHO_N "(cached) $ECHO_C" >&6
78608 else
78609 if test x$gcc_no_link = xyes; then
78610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78612 { (exit 1); exit 1; }; }
78614 cat >conftest.$ac_ext <<_ACEOF
78615 /* confdefs.h. */
78616 _ACEOF
78617 cat confdefs.h >>conftest.$ac_ext
78618 cat >>conftest.$ac_ext <<_ACEOF
78619 /* end confdefs.h. */
78620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78622 #define $ac_func innocuous_$ac_func
78624 /* System header to define __stub macros and hopefully few prototypes,
78625 which can conflict with char $ac_func (); below.
78626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78627 <limits.h> exists even on freestanding compilers. */
78629 #ifdef __STDC__
78630 # include <limits.h>
78631 #else
78632 # include <assert.h>
78633 #endif
78635 #undef $ac_func
78637 /* Override any gcc2 internal prototype to avoid an error. */
78638 #ifdef __cplusplus
78639 extern "C"
78641 #endif
78642 /* We use char because int might match the return type of a gcc2
78643 builtin and then its argument prototype would still apply. */
78644 char $ac_func ();
78645 /* The GNU C library defines this for functions which it implements
78646 to always fail with ENOSYS. Some functions are actually named
78647 something starting with __ and the normal name is an alias. */
78648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78649 choke me
78650 #else
78651 char (*f) () = $ac_func;
78652 #endif
78653 #ifdef __cplusplus
78655 #endif
78658 main ()
78660 return f != $ac_func;
78662 return 0;
78664 _ACEOF
78665 rm -f conftest.$ac_objext conftest$ac_exeext
78666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78667 (eval $ac_link) 2>conftest.er1
78668 ac_status=$?
78669 grep -v '^ *+' conftest.er1 >conftest.err
78670 rm -f conftest.er1
78671 cat conftest.err >&5
78672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78673 (exit $ac_status); } &&
78674 { ac_try='test -z "$ac_c_werror_flag"
78675 || test ! -s conftest.err'
78676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78677 (eval $ac_try) 2>&5
78678 ac_status=$?
78679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78680 (exit $ac_status); }; } &&
78681 { ac_try='test -s conftest$ac_exeext'
78682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78683 (eval $ac_try) 2>&5
78684 ac_status=$?
78685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78686 (exit $ac_status); }; }; then
78687 eval "$as_ac_var=yes"
78688 else
78689 echo "$as_me: failed program was:" >&5
78690 sed 's/^/| /' conftest.$ac_ext >&5
78692 eval "$as_ac_var=no"
78694 rm -f conftest.err conftest.$ac_objext \
78695 conftest$ac_exeext conftest.$ac_ext
78697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78699 if test `eval echo '${'$as_ac_var'}'` = yes; then
78700 cat >>confdefs.h <<_ACEOF
78701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78702 _ACEOF
78704 else
78705 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78707 done
78711 # Used in libmath/Makefile.am.
78712 if test -n "$LIBMATHOBJS"; then
78713 need_libmath=yes
78719 enable_iconv=no
78720 # Only continue checking if the ISO C99 headers exist and support is on.
78721 if test x"$enable_wchar_t" = xyes; then
78723 # Use iconv for wchar_t to char conversions. As such, check for
78724 # X/Open Portability Guide, version 2 features (XPG2).
78725 if test "${ac_cv_header_iconv_h+set}" = set; then
78726 echo "$as_me:$LINENO: checking for iconv.h" >&5
78727 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78728 if test "${ac_cv_header_iconv_h+set}" = set; then
78729 echo $ECHO_N "(cached) $ECHO_C" >&6
78731 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78732 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78733 else
78734 # Is the header compilable?
78735 echo "$as_me:$LINENO: checking iconv.h usability" >&5
78736 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
78737 cat >conftest.$ac_ext <<_ACEOF
78738 /* confdefs.h. */
78739 _ACEOF
78740 cat confdefs.h >>conftest.$ac_ext
78741 cat >>conftest.$ac_ext <<_ACEOF
78742 /* end confdefs.h. */
78743 $ac_includes_default
78744 #include <iconv.h>
78745 _ACEOF
78746 rm -f conftest.$ac_objext
78747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78748 (eval $ac_compile) 2>conftest.er1
78749 ac_status=$?
78750 grep -v '^ *+' conftest.er1 >conftest.err
78751 rm -f conftest.er1
78752 cat conftest.err >&5
78753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78754 (exit $ac_status); } &&
78755 { ac_try='test -z "$ac_c_werror_flag"
78756 || test ! -s conftest.err'
78757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78758 (eval $ac_try) 2>&5
78759 ac_status=$?
78760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78761 (exit $ac_status); }; } &&
78762 { ac_try='test -s conftest.$ac_objext'
78763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78764 (eval $ac_try) 2>&5
78765 ac_status=$?
78766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78767 (exit $ac_status); }; }; then
78768 ac_header_compiler=yes
78769 else
78770 echo "$as_me: failed program was:" >&5
78771 sed 's/^/| /' conftest.$ac_ext >&5
78773 ac_header_compiler=no
78775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78776 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78777 echo "${ECHO_T}$ac_header_compiler" >&6
78779 # Is the header present?
78780 echo "$as_me:$LINENO: checking iconv.h presence" >&5
78781 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
78782 cat >conftest.$ac_ext <<_ACEOF
78783 /* confdefs.h. */
78784 _ACEOF
78785 cat confdefs.h >>conftest.$ac_ext
78786 cat >>conftest.$ac_ext <<_ACEOF
78787 /* end confdefs.h. */
78788 #include <iconv.h>
78789 _ACEOF
78790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78791 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78792 ac_status=$?
78793 grep -v '^ *+' conftest.er1 >conftest.err
78794 rm -f conftest.er1
78795 cat conftest.err >&5
78796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78797 (exit $ac_status); } >/dev/null; then
78798 if test -s conftest.err; then
78799 ac_cpp_err=$ac_c_preproc_warn_flag
78800 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78801 else
78802 ac_cpp_err=
78804 else
78805 ac_cpp_err=yes
78807 if test -z "$ac_cpp_err"; then
78808 ac_header_preproc=yes
78809 else
78810 echo "$as_me: failed program was:" >&5
78811 sed 's/^/| /' conftest.$ac_ext >&5
78813 ac_header_preproc=no
78815 rm -f conftest.err conftest.$ac_ext
78816 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78817 echo "${ECHO_T}$ac_header_preproc" >&6
78819 # So? What about this header?
78820 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78821 yes:no: )
78822 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78823 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78824 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78825 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78826 ac_header_preproc=yes
78828 no:yes:* )
78829 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
78830 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
78831 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
78832 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
78833 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
78834 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
78835 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
78836 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
78837 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
78838 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
78839 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
78840 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
78842 cat <<\_ASBOX
78843 ## ----------------------------------------- ##
78844 ## Report this to the package-unused lists. ##
78845 ## ----------------------------------------- ##
78846 _ASBOX
78848 sed "s/^/$as_me: WARNING: /" >&2
78850 esac
78851 echo "$as_me:$LINENO: checking for iconv.h" >&5
78852 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78853 if test "${ac_cv_header_iconv_h+set}" = set; then
78854 echo $ECHO_N "(cached) $ECHO_C" >&6
78855 else
78856 ac_cv_header_iconv_h=$ac_header_preproc
78858 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78859 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78862 if test $ac_cv_header_iconv_h = yes; then
78863 ac_has_iconv_h=yes
78864 else
78865 ac_has_iconv_h=no
78869 if test "${ac_cv_header_langinfo_h+set}" = set; then
78870 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78871 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78872 if test "${ac_cv_header_langinfo_h+set}" = set; then
78873 echo $ECHO_N "(cached) $ECHO_C" >&6
78875 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78876 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78877 else
78878 # Is the header compilable?
78879 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78880 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78881 cat >conftest.$ac_ext <<_ACEOF
78882 /* confdefs.h. */
78883 _ACEOF
78884 cat confdefs.h >>conftest.$ac_ext
78885 cat >>conftest.$ac_ext <<_ACEOF
78886 /* end confdefs.h. */
78887 $ac_includes_default
78888 #include <langinfo.h>
78889 _ACEOF
78890 rm -f conftest.$ac_objext
78891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78892 (eval $ac_compile) 2>conftest.er1
78893 ac_status=$?
78894 grep -v '^ *+' conftest.er1 >conftest.err
78895 rm -f conftest.er1
78896 cat conftest.err >&5
78897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78898 (exit $ac_status); } &&
78899 { ac_try='test -z "$ac_c_werror_flag"
78900 || test ! -s conftest.err'
78901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78902 (eval $ac_try) 2>&5
78903 ac_status=$?
78904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78905 (exit $ac_status); }; } &&
78906 { ac_try='test -s conftest.$ac_objext'
78907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78908 (eval $ac_try) 2>&5
78909 ac_status=$?
78910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78911 (exit $ac_status); }; }; then
78912 ac_header_compiler=yes
78913 else
78914 echo "$as_me: failed program was:" >&5
78915 sed 's/^/| /' conftest.$ac_ext >&5
78917 ac_header_compiler=no
78919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78921 echo "${ECHO_T}$ac_header_compiler" >&6
78923 # Is the header present?
78924 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78925 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78926 cat >conftest.$ac_ext <<_ACEOF
78927 /* confdefs.h. */
78928 _ACEOF
78929 cat confdefs.h >>conftest.$ac_ext
78930 cat >>conftest.$ac_ext <<_ACEOF
78931 /* end confdefs.h. */
78932 #include <langinfo.h>
78933 _ACEOF
78934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78935 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78936 ac_status=$?
78937 grep -v '^ *+' conftest.er1 >conftest.err
78938 rm -f conftest.er1
78939 cat conftest.err >&5
78940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78941 (exit $ac_status); } >/dev/null; then
78942 if test -s conftest.err; then
78943 ac_cpp_err=$ac_c_preproc_warn_flag
78944 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78945 else
78946 ac_cpp_err=
78948 else
78949 ac_cpp_err=yes
78951 if test -z "$ac_cpp_err"; then
78952 ac_header_preproc=yes
78953 else
78954 echo "$as_me: failed program was:" >&5
78955 sed 's/^/| /' conftest.$ac_ext >&5
78957 ac_header_preproc=no
78959 rm -f conftest.err conftest.$ac_ext
78960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78961 echo "${ECHO_T}$ac_header_preproc" >&6
78963 # So? What about this header?
78964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78965 yes:no: )
78966 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78967 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78968 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78969 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78970 ac_header_preproc=yes
78972 no:yes:* )
78973 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78974 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78975 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78976 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78977 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78978 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78979 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78980 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78981 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78982 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78983 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78984 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78986 cat <<\_ASBOX
78987 ## ----------------------------------------- ##
78988 ## Report this to the package-unused lists. ##
78989 ## ----------------------------------------- ##
78990 _ASBOX
78992 sed "s/^/$as_me: WARNING: /" >&2
78994 esac
78995 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78996 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78997 if test "${ac_cv_header_langinfo_h+set}" = set; then
78998 echo $ECHO_N "(cached) $ECHO_C" >&6
78999 else
79000 ac_cv_header_langinfo_h=$ac_header_preproc
79002 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79003 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79006 if test $ac_cv_header_langinfo_h = yes; then
79007 ac_has_langinfo_h=yes
79008 else
79009 ac_has_langinfo_h=no
79014 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79015 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79016 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79017 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79018 echo $ECHO_N "(cached) $ECHO_C" >&6
79019 else
79020 ac_check_lib_save_LIBS=$LIBS
79021 LIBS="-liconv $LIBS"
79022 if test x$gcc_no_link = xyes; then
79023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79025 { (exit 1); exit 1; }; }
79027 cat >conftest.$ac_ext <<_ACEOF
79028 /* confdefs.h. */
79029 _ACEOF
79030 cat confdefs.h >>conftest.$ac_ext
79031 cat >>conftest.$ac_ext <<_ACEOF
79032 /* end confdefs.h. */
79034 /* Override any gcc2 internal prototype to avoid an error. */
79035 #ifdef __cplusplus
79036 extern "C"
79037 #endif
79038 /* We use char because int might match the return type of a gcc2
79039 builtin and then its argument prototype would still apply. */
79040 char iconv ();
79042 main ()
79044 iconv ();
79046 return 0;
79048 _ACEOF
79049 rm -f conftest.$ac_objext conftest$ac_exeext
79050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79051 (eval $ac_link) 2>conftest.er1
79052 ac_status=$?
79053 grep -v '^ *+' conftest.er1 >conftest.err
79054 rm -f conftest.er1
79055 cat conftest.err >&5
79056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79057 (exit $ac_status); } &&
79058 { ac_try='test -z "$ac_c_werror_flag"
79059 || test ! -s conftest.err'
79060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79061 (eval $ac_try) 2>&5
79062 ac_status=$?
79063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79064 (exit $ac_status); }; } &&
79065 { ac_try='test -s conftest$ac_exeext'
79066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79067 (eval $ac_try) 2>&5
79068 ac_status=$?
79069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79070 (exit $ac_status); }; }; then
79071 ac_cv_lib_iconv_iconv=yes
79072 else
79073 echo "$as_me: failed program was:" >&5
79074 sed 's/^/| /' conftest.$ac_ext >&5
79076 ac_cv_lib_iconv_iconv=no
79078 rm -f conftest.err conftest.$ac_objext \
79079 conftest$ac_exeext conftest.$ac_ext
79080 LIBS=$ac_check_lib_save_LIBS
79082 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79083 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79084 if test $ac_cv_lib_iconv_iconv = yes; then
79085 LIBICONV="-liconv"
79088 ac_save_LIBS="$LIBS"
79089 LIBS="$LIBS $LIBICONV"
79096 for ac_func in iconv_open iconv_close iconv nl_langinfo
79098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79099 echo "$as_me:$LINENO: checking for $ac_func" >&5
79100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79101 if eval "test \"\${$as_ac_var+set}\" = set"; then
79102 echo $ECHO_N "(cached) $ECHO_C" >&6
79103 else
79104 if test x$gcc_no_link = xyes; then
79105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79107 { (exit 1); exit 1; }; }
79109 cat >conftest.$ac_ext <<_ACEOF
79110 /* confdefs.h. */
79111 _ACEOF
79112 cat confdefs.h >>conftest.$ac_ext
79113 cat >>conftest.$ac_ext <<_ACEOF
79114 /* end confdefs.h. */
79115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79117 #define $ac_func innocuous_$ac_func
79119 /* System header to define __stub macros and hopefully few prototypes,
79120 which can conflict with char $ac_func (); below.
79121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79122 <limits.h> exists even on freestanding compilers. */
79124 #ifdef __STDC__
79125 # include <limits.h>
79126 #else
79127 # include <assert.h>
79128 #endif
79130 #undef $ac_func
79132 /* Override any gcc2 internal prototype to avoid an error. */
79133 #ifdef __cplusplus
79134 extern "C"
79136 #endif
79137 /* We use char because int might match the return type of a gcc2
79138 builtin and then its argument prototype would still apply. */
79139 char $ac_func ();
79140 /* The GNU C library defines this for functions which it implements
79141 to always fail with ENOSYS. Some functions are actually named
79142 something starting with __ and the normal name is an alias. */
79143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79144 choke me
79145 #else
79146 char (*f) () = $ac_func;
79147 #endif
79148 #ifdef __cplusplus
79150 #endif
79153 main ()
79155 return f != $ac_func;
79157 return 0;
79159 _ACEOF
79160 rm -f conftest.$ac_objext conftest$ac_exeext
79161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79162 (eval $ac_link) 2>conftest.er1
79163 ac_status=$?
79164 grep -v '^ *+' conftest.er1 >conftest.err
79165 rm -f conftest.er1
79166 cat conftest.err >&5
79167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79168 (exit $ac_status); } &&
79169 { ac_try='test -z "$ac_c_werror_flag"
79170 || test ! -s conftest.err'
79171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79172 (eval $ac_try) 2>&5
79173 ac_status=$?
79174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79175 (exit $ac_status); }; } &&
79176 { ac_try='test -s conftest$ac_exeext'
79177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79178 (eval $ac_try) 2>&5
79179 ac_status=$?
79180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79181 (exit $ac_status); }; }; then
79182 eval "$as_ac_var=yes"
79183 else
79184 echo "$as_me: failed program was:" >&5
79185 sed 's/^/| /' conftest.$ac_ext >&5
79187 eval "$as_ac_var=no"
79189 rm -f conftest.err conftest.$ac_objext \
79190 conftest$ac_exeext conftest.$ac_ext
79192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79194 if test `eval echo '${'$as_ac_var'}'` = yes; then
79195 cat >>confdefs.h <<_ACEOF
79196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79197 _ACEOF
79198 ac_XPG2funcs=yes
79199 else
79200 ac_XPG2funcs=no
79202 done
79205 LIBS="$ac_save_LIBS"
79207 if test x"$ac_has_iconv_h" = xyes &&
79208 test x"$ac_has_langinfo_h" = xyes &&
79209 test x"$ac_XPG2funcs" = xyes;
79210 then
79212 cat >>confdefs.h <<\_ACEOF
79213 #define _GLIBCXX_USE_ICONV 1
79214 _ACEOF
79216 enable_iconv=yes
79219 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
79220 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
79221 echo "$as_me:$LINENO: result: $enable_iconv" >&5
79222 echo "${ECHO_T}$enable_iconv" >&6
79225 # For LFS.
79226 cat >>confdefs.h <<\_ACEOF
79227 #define HAVE_INT64_T 1
79228 _ACEOF
79230 case "$target" in
79231 *-uclinux*)
79232 # Don't enable LFS with uClibc
79235 cat >>confdefs.h <<\_ACEOF
79236 #define _GLIBCXX_USE_LFS 1
79237 _ACEOF
79239 esac
79241 # For showmanyc_helper().
79244 for ac_header in sys/ioctl.h sys/filio.h
79246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79248 echo "$as_me:$LINENO: checking for $ac_header" >&5
79249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79251 echo $ECHO_N "(cached) $ECHO_C" >&6
79253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79255 else
79256 # Is the header compilable?
79257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79259 cat >conftest.$ac_ext <<_ACEOF
79260 /* confdefs.h. */
79261 _ACEOF
79262 cat confdefs.h >>conftest.$ac_ext
79263 cat >>conftest.$ac_ext <<_ACEOF
79264 /* end confdefs.h. */
79265 $ac_includes_default
79266 #include <$ac_header>
79267 _ACEOF
79268 rm -f conftest.$ac_objext
79269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79270 (eval $ac_compile) 2>conftest.er1
79271 ac_status=$?
79272 grep -v '^ *+' conftest.er1 >conftest.err
79273 rm -f conftest.er1
79274 cat conftest.err >&5
79275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79276 (exit $ac_status); } &&
79277 { ac_try='test -z "$ac_c_werror_flag"
79278 || test ! -s conftest.err'
79279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79280 (eval $ac_try) 2>&5
79281 ac_status=$?
79282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79283 (exit $ac_status); }; } &&
79284 { ac_try='test -s conftest.$ac_objext'
79285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79286 (eval $ac_try) 2>&5
79287 ac_status=$?
79288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79289 (exit $ac_status); }; }; then
79290 ac_header_compiler=yes
79291 else
79292 echo "$as_me: failed program was:" >&5
79293 sed 's/^/| /' conftest.$ac_ext >&5
79295 ac_header_compiler=no
79297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79299 echo "${ECHO_T}$ac_header_compiler" >&6
79301 # Is the header present?
79302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79304 cat >conftest.$ac_ext <<_ACEOF
79305 /* confdefs.h. */
79306 _ACEOF
79307 cat confdefs.h >>conftest.$ac_ext
79308 cat >>conftest.$ac_ext <<_ACEOF
79309 /* end confdefs.h. */
79310 #include <$ac_header>
79311 _ACEOF
79312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79313 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79314 ac_status=$?
79315 grep -v '^ *+' conftest.er1 >conftest.err
79316 rm -f conftest.er1
79317 cat conftest.err >&5
79318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79319 (exit $ac_status); } >/dev/null; then
79320 if test -s conftest.err; then
79321 ac_cpp_err=$ac_c_preproc_warn_flag
79322 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79323 else
79324 ac_cpp_err=
79326 else
79327 ac_cpp_err=yes
79329 if test -z "$ac_cpp_err"; then
79330 ac_header_preproc=yes
79331 else
79332 echo "$as_me: failed program was:" >&5
79333 sed 's/^/| /' conftest.$ac_ext >&5
79335 ac_header_preproc=no
79337 rm -f conftest.err conftest.$ac_ext
79338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79339 echo "${ECHO_T}$ac_header_preproc" >&6
79341 # So? What about this header?
79342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79343 yes:no: )
79344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79348 ac_header_preproc=yes
79350 no:yes:* )
79351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79364 cat <<\_ASBOX
79365 ## ----------------------------------------- ##
79366 ## Report this to the package-unused lists. ##
79367 ## ----------------------------------------- ##
79368 _ASBOX
79370 sed "s/^/$as_me: WARNING: /" >&2
79372 esac
79373 echo "$as_me:$LINENO: checking for $ac_header" >&5
79374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79376 echo $ECHO_N "(cached) $ECHO_C" >&6
79377 else
79378 eval "$as_ac_Header=\$ac_header_preproc"
79380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79385 cat >>confdefs.h <<_ACEOF
79386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79387 _ACEOF
79391 done
79394 echo "$as_me:$LINENO: checking for poll" >&5
79395 echo $ECHO_N "checking for poll... $ECHO_C" >&6
79396 if test "${glibcxx_cv_POLL+set}" = set; then
79397 echo $ECHO_N "(cached) $ECHO_C" >&6
79398 else
79400 if test x$gcc_no_link = xyes; then
79401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79403 { (exit 1); exit 1; }; }
79405 cat >conftest.$ac_ext <<_ACEOF
79406 /* confdefs.h. */
79407 _ACEOF
79408 cat confdefs.h >>conftest.$ac_ext
79409 cat >>conftest.$ac_ext <<_ACEOF
79410 /* end confdefs.h. */
79411 #include <poll.h>
79413 main ()
79415 struct pollfd pfd[1];
79416 pfd[0].events = POLLIN;
79417 poll(pfd, 1, 0);
79419 return 0;
79421 _ACEOF
79422 rm -f conftest.$ac_objext conftest$ac_exeext
79423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79424 (eval $ac_link) 2>conftest.er1
79425 ac_status=$?
79426 grep -v '^ *+' conftest.er1 >conftest.err
79427 rm -f conftest.er1
79428 cat conftest.err >&5
79429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79430 (exit $ac_status); } &&
79431 { ac_try='test -z "$ac_c_werror_flag"
79432 || test ! -s conftest.err'
79433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79434 (eval $ac_try) 2>&5
79435 ac_status=$?
79436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79437 (exit $ac_status); }; } &&
79438 { ac_try='test -s conftest$ac_exeext'
79439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79440 (eval $ac_try) 2>&5
79441 ac_status=$?
79442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79443 (exit $ac_status); }; }; then
79444 glibcxx_cv_POLL=yes
79445 else
79446 echo "$as_me: failed program was:" >&5
79447 sed 's/^/| /' conftest.$ac_ext >&5
79449 glibcxx_cv_POLL=no
79451 rm -f conftest.err conftest.$ac_objext \
79452 conftest$ac_exeext conftest.$ac_ext
79456 if test $glibcxx_cv_POLL = yes; then
79458 cat >>confdefs.h <<\_ACEOF
79459 #define HAVE_POLL 1
79460 _ACEOF
79463 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
79464 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
79467 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
79468 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
79469 if test "${glibcxx_cv_S_ISREG+set}" = set; then
79470 echo $ECHO_N "(cached) $ECHO_C" >&6
79471 else
79473 if test x$gcc_no_link = xyes; then
79474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79476 { (exit 1); exit 1; }; }
79478 cat >conftest.$ac_ext <<_ACEOF
79479 /* confdefs.h. */
79480 _ACEOF
79481 cat confdefs.h >>conftest.$ac_ext
79482 cat >>conftest.$ac_ext <<_ACEOF
79483 /* end confdefs.h. */
79484 #include <sys/stat.h>
79486 main ()
79488 struct stat buffer;
79489 fstat(0, &buffer);
79490 S_ISREG(buffer.st_mode);
79492 return 0;
79494 _ACEOF
79495 rm -f conftest.$ac_objext conftest$ac_exeext
79496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79497 (eval $ac_link) 2>conftest.er1
79498 ac_status=$?
79499 grep -v '^ *+' conftest.er1 >conftest.err
79500 rm -f conftest.er1
79501 cat conftest.err >&5
79502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79503 (exit $ac_status); } &&
79504 { ac_try='test -z "$ac_c_werror_flag"
79505 || test ! -s conftest.err'
79506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79507 (eval $ac_try) 2>&5
79508 ac_status=$?
79509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79510 (exit $ac_status); }; } &&
79511 { ac_try='test -s conftest$ac_exeext'
79512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79513 (eval $ac_try) 2>&5
79514 ac_status=$?
79515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79516 (exit $ac_status); }; }; then
79517 glibcxx_cv_S_ISREG=yes
79518 else
79519 echo "$as_me: failed program was:" >&5
79520 sed 's/^/| /' conftest.$ac_ext >&5
79522 glibcxx_cv_S_ISREG=no
79524 rm -f conftest.err conftest.$ac_objext \
79525 conftest$ac_exeext conftest.$ac_ext
79529 if test "${glibcxx_cv_S_IFREG+set}" = set; then
79530 echo $ECHO_N "(cached) $ECHO_C" >&6
79531 else
79533 if test x$gcc_no_link = xyes; then
79534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79536 { (exit 1); exit 1; }; }
79538 cat >conftest.$ac_ext <<_ACEOF
79539 /* confdefs.h. */
79540 _ACEOF
79541 cat confdefs.h >>conftest.$ac_ext
79542 cat >>conftest.$ac_ext <<_ACEOF
79543 /* end confdefs.h. */
79544 #include <sys/stat.h>
79546 main ()
79548 struct stat buffer;
79549 fstat(0, &buffer);
79550 S_IFREG & buffer.st_mode;
79552 return 0;
79554 _ACEOF
79555 rm -f conftest.$ac_objext conftest$ac_exeext
79556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79557 (eval $ac_link) 2>conftest.er1
79558 ac_status=$?
79559 grep -v '^ *+' conftest.er1 >conftest.err
79560 rm -f conftest.er1
79561 cat conftest.err >&5
79562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79563 (exit $ac_status); } &&
79564 { ac_try='test -z "$ac_c_werror_flag"
79565 || test ! -s conftest.err'
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); }; } &&
79571 { ac_try='test -s conftest$ac_exeext'
79572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79573 (eval $ac_try) 2>&5
79574 ac_status=$?
79575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79576 (exit $ac_status); }; }; then
79577 glibcxx_cv_S_IFREG=yes
79578 else
79579 echo "$as_me: failed program was:" >&5
79580 sed 's/^/| /' conftest.$ac_ext >&5
79582 glibcxx_cv_S_IFREG=no
79584 rm -f conftest.err conftest.$ac_objext \
79585 conftest$ac_exeext conftest.$ac_ext
79589 res=no
79590 if test $glibcxx_cv_S_ISREG = yes; then
79592 cat >>confdefs.h <<\_ACEOF
79593 #define HAVE_S_ISREG 1
79594 _ACEOF
79596 res=S_ISREG
79597 elif test $glibcxx_cv_S_IFREG = yes; then
79599 cat >>confdefs.h <<\_ACEOF
79600 #define HAVE_S_IFREG 1
79601 _ACEOF
79603 res=S_IFREG
79605 echo "$as_me:$LINENO: result: $res" >&5
79606 echo "${ECHO_T}$res" >&6
79609 # For xsputn_2().
79611 for ac_header in sys/uio.h
79613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79615 echo "$as_me:$LINENO: checking for $ac_header" >&5
79616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79618 echo $ECHO_N "(cached) $ECHO_C" >&6
79620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79622 else
79623 # Is the header compilable?
79624 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79625 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79626 cat >conftest.$ac_ext <<_ACEOF
79627 /* confdefs.h. */
79628 _ACEOF
79629 cat confdefs.h >>conftest.$ac_ext
79630 cat >>conftest.$ac_ext <<_ACEOF
79631 /* end confdefs.h. */
79632 $ac_includes_default
79633 #include <$ac_header>
79634 _ACEOF
79635 rm -f conftest.$ac_objext
79636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79637 (eval $ac_compile) 2>conftest.er1
79638 ac_status=$?
79639 grep -v '^ *+' conftest.er1 >conftest.err
79640 rm -f conftest.er1
79641 cat conftest.err >&5
79642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79643 (exit $ac_status); } &&
79644 { ac_try='test -z "$ac_c_werror_flag"
79645 || test ! -s conftest.err'
79646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79647 (eval $ac_try) 2>&5
79648 ac_status=$?
79649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79650 (exit $ac_status); }; } &&
79651 { ac_try='test -s conftest.$ac_objext'
79652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79653 (eval $ac_try) 2>&5
79654 ac_status=$?
79655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79656 (exit $ac_status); }; }; then
79657 ac_header_compiler=yes
79658 else
79659 echo "$as_me: failed program was:" >&5
79660 sed 's/^/| /' conftest.$ac_ext >&5
79662 ac_header_compiler=no
79664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79666 echo "${ECHO_T}$ac_header_compiler" >&6
79668 # Is the header present?
79669 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79671 cat >conftest.$ac_ext <<_ACEOF
79672 /* confdefs.h. */
79673 _ACEOF
79674 cat confdefs.h >>conftest.$ac_ext
79675 cat >>conftest.$ac_ext <<_ACEOF
79676 /* end confdefs.h. */
79677 #include <$ac_header>
79678 _ACEOF
79679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79681 ac_status=$?
79682 grep -v '^ *+' conftest.er1 >conftest.err
79683 rm -f conftest.er1
79684 cat conftest.err >&5
79685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79686 (exit $ac_status); } >/dev/null; then
79687 if test -s conftest.err; then
79688 ac_cpp_err=$ac_c_preproc_warn_flag
79689 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79690 else
79691 ac_cpp_err=
79693 else
79694 ac_cpp_err=yes
79696 if test -z "$ac_cpp_err"; then
79697 ac_header_preproc=yes
79698 else
79699 echo "$as_me: failed program was:" >&5
79700 sed 's/^/| /' conftest.$ac_ext >&5
79702 ac_header_preproc=no
79704 rm -f conftest.err conftest.$ac_ext
79705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79706 echo "${ECHO_T}$ac_header_preproc" >&6
79708 # So? What about this header?
79709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79710 yes:no: )
79711 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79712 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79714 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79715 ac_header_preproc=yes
79717 no:yes:* )
79718 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79719 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79720 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79721 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79722 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79723 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79724 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79725 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79727 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79728 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79729 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79731 cat <<\_ASBOX
79732 ## ----------------------------------------- ##
79733 ## Report this to the package-unused lists. ##
79734 ## ----------------------------------------- ##
79735 _ASBOX
79737 sed "s/^/$as_me: WARNING: /" >&2
79739 esac
79740 echo "$as_me:$LINENO: checking for $ac_header" >&5
79741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79743 echo $ECHO_N "(cached) $ECHO_C" >&6
79744 else
79745 eval "$as_ac_Header=\$ac_header_preproc"
79747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79752 cat >>confdefs.h <<_ACEOF
79753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79754 _ACEOF
79758 done
79761 echo "$as_me:$LINENO: checking for writev" >&5
79762 echo $ECHO_N "checking for writev... $ECHO_C" >&6
79763 if test "${glibcxx_cv_WRITEV+set}" = set; then
79764 echo $ECHO_N "(cached) $ECHO_C" >&6
79765 else
79767 if test x$gcc_no_link = xyes; then
79768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79770 { (exit 1); exit 1; }; }
79772 cat >conftest.$ac_ext <<_ACEOF
79773 /* confdefs.h. */
79774 _ACEOF
79775 cat confdefs.h >>conftest.$ac_ext
79776 cat >>conftest.$ac_ext <<_ACEOF
79777 /* end confdefs.h. */
79778 #include <sys/uio.h>
79780 main ()
79782 struct iovec iov[2];
79783 writev(0, iov, 0);
79785 return 0;
79787 _ACEOF
79788 rm -f conftest.$ac_objext conftest$ac_exeext
79789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79790 (eval $ac_link) 2>conftest.er1
79791 ac_status=$?
79792 grep -v '^ *+' conftest.er1 >conftest.err
79793 rm -f conftest.er1
79794 cat conftest.err >&5
79795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79796 (exit $ac_status); } &&
79797 { ac_try='test -z "$ac_c_werror_flag"
79798 || test ! -s conftest.err'
79799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79800 (eval $ac_try) 2>&5
79801 ac_status=$?
79802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79803 (exit $ac_status); }; } &&
79804 { ac_try='test -s conftest$ac_exeext'
79805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79806 (eval $ac_try) 2>&5
79807 ac_status=$?
79808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79809 (exit $ac_status); }; }; then
79810 glibcxx_cv_WRITEV=yes
79811 else
79812 echo "$as_me: failed program was:" >&5
79813 sed 's/^/| /' conftest.$ac_ext >&5
79815 glibcxx_cv_WRITEV=no
79817 rm -f conftest.err conftest.$ac_objext \
79818 conftest$ac_exeext conftest.$ac_ext
79822 if test $glibcxx_cv_WRITEV = yes; then
79824 cat >>confdefs.h <<\_ACEOF
79825 #define HAVE_WRITEV 1
79826 _ACEOF
79829 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
79830 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
79833 cat >>confdefs.h <<\_ACEOF
79834 #define HAVE_ACOSF 1
79835 _ACEOF
79837 cat >>confdefs.h <<\_ACEOF
79838 #define HAVE_ASINF 1
79839 _ACEOF
79841 cat >>confdefs.h <<\_ACEOF
79842 #define HAVE_ATANF 1
79843 _ACEOF
79845 cat >>confdefs.h <<\_ACEOF
79846 #define HAVE_ATAN2F 1
79847 _ACEOF
79849 cat >>confdefs.h <<\_ACEOF
79850 #define HAVE_CEILF 1
79851 _ACEOF
79853 cat >>confdefs.h <<\_ACEOF
79854 #define HAVE_COPYSIGN 1
79855 _ACEOF
79857 cat >>confdefs.h <<\_ACEOF
79858 #define HAVE_COPYSIGNF 1
79859 _ACEOF
79861 cat >>confdefs.h <<\_ACEOF
79862 #define HAVE_COSF 1
79863 _ACEOF
79865 cat >>confdefs.h <<\_ACEOF
79866 #define HAVE_COSHF 1
79867 _ACEOF
79869 cat >>confdefs.h <<\_ACEOF
79870 #define HAVE_EXPF 1
79871 _ACEOF
79873 cat >>confdefs.h <<\_ACEOF
79874 #define HAVE_FABSF 1
79875 _ACEOF
79877 cat >>confdefs.h <<\_ACEOF
79878 #define HAVE_FINITE 1
79879 _ACEOF
79881 cat >>confdefs.h <<\_ACEOF
79882 #define HAVE_FINITEF 1
79883 _ACEOF
79885 cat >>confdefs.h <<\_ACEOF
79886 #define HAVE_FLOORF 1
79887 _ACEOF
79889 cat >>confdefs.h <<\_ACEOF
79890 #define HAVE_FMODF 1
79891 _ACEOF
79893 cat >>confdefs.h <<\_ACEOF
79894 #define HAVE_FREXPF 1
79895 _ACEOF
79897 cat >>confdefs.h <<\_ACEOF
79898 #define HAVE_HYPOT 1
79899 _ACEOF
79901 cat >>confdefs.h <<\_ACEOF
79902 #define HAVE_HYPOTF 1
79903 _ACEOF
79905 cat >>confdefs.h <<\_ACEOF
79906 #define HAVE_ISINF 1
79907 _ACEOF
79909 cat >>confdefs.h <<\_ACEOF
79910 #define HAVE_ISINFF 1
79911 _ACEOF
79913 cat >>confdefs.h <<\_ACEOF
79914 #define HAVE_ISNAN 1
79915 _ACEOF
79917 cat >>confdefs.h <<\_ACEOF
79918 #define HAVE_ISNANF 1
79919 _ACEOF
79921 cat >>confdefs.h <<\_ACEOF
79922 #define HAVE_LOGF 1
79923 _ACEOF
79925 cat >>confdefs.h <<\_ACEOF
79926 #define HAVE_LOG10F 1
79927 _ACEOF
79929 cat >>confdefs.h <<\_ACEOF
79930 #define HAVE_MODFF 1
79931 _ACEOF
79933 cat >>confdefs.h <<\_ACEOF
79934 #define HAVE_SINF 1
79935 _ACEOF
79937 cat >>confdefs.h <<\_ACEOF
79938 #define HAVE_SINHF 1
79939 _ACEOF
79941 cat >>confdefs.h <<\_ACEOF
79942 #define HAVE_SINCOS 1
79943 _ACEOF
79945 cat >>confdefs.h <<\_ACEOF
79946 #define HAVE_SINCOSF 1
79947 _ACEOF
79949 cat >>confdefs.h <<\_ACEOF
79950 #define HAVE_SQRTF 1
79951 _ACEOF
79953 cat >>confdefs.h <<\_ACEOF
79954 #define HAVE_TANF 1
79955 _ACEOF
79957 cat >>confdefs.h <<\_ACEOF
79958 #define HAVE_TANHF 1
79959 _ACEOF
79961 if test x"long_double_math_on_this_cpu" = x"yes"; then
79962 cat >>confdefs.h <<\_ACEOF
79963 #define HAVE_ACOSL 1
79964 _ACEOF
79966 cat >>confdefs.h <<\_ACEOF
79967 #define HAVE_ASINL 1
79968 _ACEOF
79970 cat >>confdefs.h <<\_ACEOF
79971 #define HAVE_ATANL 1
79972 _ACEOF
79974 cat >>confdefs.h <<\_ACEOF
79975 #define HAVE_ATAN2L 1
79976 _ACEOF
79978 cat >>confdefs.h <<\_ACEOF
79979 #define HAVE_CEILL 1
79980 _ACEOF
79982 cat >>confdefs.h <<\_ACEOF
79983 #define HAVE_COPYSIGNL 1
79984 _ACEOF
79986 cat >>confdefs.h <<\_ACEOF
79987 #define HAVE_COSL 1
79988 _ACEOF
79990 cat >>confdefs.h <<\_ACEOF
79991 #define HAVE_COSHL 1
79992 _ACEOF
79994 cat >>confdefs.h <<\_ACEOF
79995 #define HAVE_EXPL 1
79996 _ACEOF
79998 cat >>confdefs.h <<\_ACEOF
79999 #define HAVE_FABSL 1
80000 _ACEOF
80002 cat >>confdefs.h <<\_ACEOF
80003 #define HAVE_FINITEL 1
80004 _ACEOF
80006 cat >>confdefs.h <<\_ACEOF
80007 #define HAVE_FLOORL 1
80008 _ACEOF
80010 cat >>confdefs.h <<\_ACEOF
80011 #define HAVE_FMODL 1
80012 _ACEOF
80014 cat >>confdefs.h <<\_ACEOF
80015 #define HAVE_FREXPL 1
80016 _ACEOF
80018 cat >>confdefs.h <<\_ACEOF
80019 #define HAVE_HYPOTL 1
80020 _ACEOF
80022 cat >>confdefs.h <<\_ACEOF
80023 #define HAVE_ISINFL 1
80024 _ACEOF
80026 cat >>confdefs.h <<\_ACEOF
80027 #define HAVE_ISNANL 1
80028 _ACEOF
80030 cat >>confdefs.h <<\_ACEOF
80031 #define HAVE_LOGL 1
80032 _ACEOF
80034 cat >>confdefs.h <<\_ACEOF
80035 #define HAVE_LOG10L 1
80036 _ACEOF
80038 cat >>confdefs.h <<\_ACEOF
80039 #define HAVE_MODFL 1
80040 _ACEOF
80042 cat >>confdefs.h <<\_ACEOF
80043 #define HAVE_POWL 1
80044 _ACEOF
80046 cat >>confdefs.h <<\_ACEOF
80047 #define HAVE_SINL 1
80048 _ACEOF
80050 cat >>confdefs.h <<\_ACEOF
80051 #define HAVE_SINHL 1
80052 _ACEOF
80054 cat >>confdefs.h <<\_ACEOF
80055 #define HAVE_SINCOSL 1
80056 _ACEOF
80058 cat >>confdefs.h <<\_ACEOF
80059 #define HAVE_SQRTL 1
80060 _ACEOF
80062 cat >>confdefs.h <<\_ACEOF
80063 #define HAVE_TANL 1
80064 _ACEOF
80066 cat >>confdefs.h <<\_ACEOF
80067 #define HAVE_TANHL 1
80068 _ACEOF
80072 *-mingw32*)
80076 for ac_header in sys/types.h locale.h float.h
80078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80080 echo "$as_me:$LINENO: checking for $ac_header" >&5
80081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80083 echo $ECHO_N "(cached) $ECHO_C" >&6
80085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80087 else
80088 # Is the header compilable?
80089 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80090 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80091 cat >conftest.$ac_ext <<_ACEOF
80092 /* confdefs.h. */
80093 _ACEOF
80094 cat confdefs.h >>conftest.$ac_ext
80095 cat >>conftest.$ac_ext <<_ACEOF
80096 /* end confdefs.h. */
80097 $ac_includes_default
80098 #include <$ac_header>
80099 _ACEOF
80100 rm -f conftest.$ac_objext
80101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80102 (eval $ac_compile) 2>conftest.er1
80103 ac_status=$?
80104 grep -v '^ *+' conftest.er1 >conftest.err
80105 rm -f conftest.er1
80106 cat conftest.err >&5
80107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80108 (exit $ac_status); } &&
80109 { ac_try='test -z "$ac_c_werror_flag"
80110 || test ! -s conftest.err'
80111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80112 (eval $ac_try) 2>&5
80113 ac_status=$?
80114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80115 (exit $ac_status); }; } &&
80116 { ac_try='test -s conftest.$ac_objext'
80117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80118 (eval $ac_try) 2>&5
80119 ac_status=$?
80120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80121 (exit $ac_status); }; }; then
80122 ac_header_compiler=yes
80123 else
80124 echo "$as_me: failed program was:" >&5
80125 sed 's/^/| /' conftest.$ac_ext >&5
80127 ac_header_compiler=no
80129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80130 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80131 echo "${ECHO_T}$ac_header_compiler" >&6
80133 # Is the header present?
80134 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80135 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80136 cat >conftest.$ac_ext <<_ACEOF
80137 /* confdefs.h. */
80138 _ACEOF
80139 cat confdefs.h >>conftest.$ac_ext
80140 cat >>conftest.$ac_ext <<_ACEOF
80141 /* end confdefs.h. */
80142 #include <$ac_header>
80143 _ACEOF
80144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80146 ac_status=$?
80147 grep -v '^ *+' conftest.er1 >conftest.err
80148 rm -f conftest.er1
80149 cat conftest.err >&5
80150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80151 (exit $ac_status); } >/dev/null; then
80152 if test -s conftest.err; then
80153 ac_cpp_err=$ac_c_preproc_warn_flag
80154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80155 else
80156 ac_cpp_err=
80158 else
80159 ac_cpp_err=yes
80161 if test -z "$ac_cpp_err"; then
80162 ac_header_preproc=yes
80163 else
80164 echo "$as_me: failed program was:" >&5
80165 sed 's/^/| /' conftest.$ac_ext >&5
80167 ac_header_preproc=no
80169 rm -f conftest.err conftest.$ac_ext
80170 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80171 echo "${ECHO_T}$ac_header_preproc" >&6
80173 # So? What about this header?
80174 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80175 yes:no: )
80176 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80177 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80179 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80180 ac_header_preproc=yes
80182 no:yes:* )
80183 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80184 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80185 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80186 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80187 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80188 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80189 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80190 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80192 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80193 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80194 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80196 cat <<\_ASBOX
80197 ## ----------------------------------------- ##
80198 ## Report this to the package-unused lists. ##
80199 ## ----------------------------------------- ##
80200 _ASBOX
80202 sed "s/^/$as_me: WARNING: /" >&2
80204 esac
80205 echo "$as_me:$LINENO: checking for $ac_header" >&5
80206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80208 echo $ECHO_N "(cached) $ECHO_C" >&6
80209 else
80210 eval "$as_ac_Header=\$ac_header_preproc"
80212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80217 cat >>confdefs.h <<_ACEOF
80218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80219 _ACEOF
80223 done
80226 # If we're not using GNU ld, then there's no point in even trying these
80227 # tests. Check for that first. We should have already tested for gld
80228 # by now (in libtool), but require it now just to be safe...
80229 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80230 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80234 # The name set by libtool depends on the version of libtool. Shame on us
80235 # for depending on an impl detail, but c'est la vie. Older versions used
80236 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80237 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80238 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80239 # set (hence we're using an older libtool), then set it.
80240 if test x${with_gnu_ld+set} != xset; then
80241 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80242 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80243 with_gnu_ld=no
80244 else
80245 with_gnu_ld=$ac_cv_prog_gnu_ld
80249 # Start by getting the version number. I think the libtool test already
80250 # does some of this, but throws away the result.
80251 echo "$as_me:$LINENO: checking for ld version" >&5
80252 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
80254 ldver=`$LD --version 2>/dev/null | head -1 | \
80255 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80257 glibcxx_gnu_ld_version=`echo $ldver | \
80258 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80259 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
80260 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
80262 # Set --gc-sections.
80263 glibcxx_gcsections_min_ld=21602
80264 if test x"$with_gnu_ld" = x"yes" &&
80265 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
80267 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
80268 # NB: This flag only works reliably after 2.16.1. Configure tests
80269 # for this are difficult, so hard wire a value that should work.
80271 # All these tests are for C++, but run with the "C" compiler driver.
80272 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
80273 ac_test_CFLAGS="${CFLAGS+set}"
80274 ac_save_CFLAGS="$CFLAGS"
80275 CFLAGS='-x c++ -Wl,--gc-sections'
80277 # Check for -Wl,--gc-sections
80278 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80279 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80280 if test x$gcc_no_link = xyes; then
80281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80283 { (exit 1); exit 1; }; }
80285 cat >conftest.$ac_ext <<_ACEOF
80286 /* confdefs.h. */
80287 _ACEOF
80288 cat confdefs.h >>conftest.$ac_ext
80289 cat >>conftest.$ac_ext <<_ACEOF
80290 /* end confdefs.h. */
80291 int one(void) { return 1; }
80292 int two(void) { return 2; }
80295 main ()
80297 two();
80299 return 0;
80301 _ACEOF
80302 rm -f conftest.$ac_objext conftest$ac_exeext
80303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80304 (eval $ac_link) 2>conftest.er1
80305 ac_status=$?
80306 grep -v '^ *+' conftest.er1 >conftest.err
80307 rm -f conftest.er1
80308 cat conftest.err >&5
80309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80310 (exit $ac_status); } &&
80311 { ac_try='test -z "$ac_c_werror_flag"
80312 || test ! -s conftest.err'
80313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80314 (eval $ac_try) 2>&5
80315 ac_status=$?
80316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80317 (exit $ac_status); }; } &&
80318 { ac_try='test -s conftest$ac_exeext'
80319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80320 (eval $ac_try) 2>&5
80321 ac_status=$?
80322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80323 (exit $ac_status); }; }; then
80324 ac_gcsections=yes
80325 else
80326 echo "$as_me: failed program was:" >&5
80327 sed 's/^/| /' conftest.$ac_ext >&5
80329 ac_gcsections=no
80331 rm -f conftest.err conftest.$ac_objext \
80332 conftest$ac_exeext conftest.$ac_ext
80333 if test "$ac_gcsections" = "yes"; then
80334 rm -f conftest.c
80335 touch conftest.c
80336 if $CC -c conftest.c; then
80337 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
80338 grep "Warning: gc-sections option ignored" > /dev/null; then
80339 ac_gcsections=no
80342 rm -f conftest.c conftest.o conftest
80344 if test "$ac_gcsections" = "yes"; then
80345 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80347 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
80348 echo "${ECHO_T}$ac_gcsections" >&6
80350 if test "$ac_test_CFLAGS" = set; then
80351 CFLAGS="$ac_save_CFLAGS"
80352 else
80353 # this is the suspicious part
80354 CFLAGS=''
80358 # Set -z,relro.
80359 # Note this is only for shared objects.
80360 ac_ld_relro=no
80361 if test x"$with_gnu_ld" = x"yes"; then
80362 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80363 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80364 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80365 if test -n "$cxx_z_relo"; then
80366 OPT_LDFLAGS="-Wl,-z,relro"
80367 ac_ld_relro=yes
80369 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80370 echo "${ECHO_T}$ac_ld_relro" >&6
80373 # Set linker optimization flags.
80374 if test x"$with_gnu_ld" = x"yes"; then
80375 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80383 echo "$as_me:$LINENO: checking for main in -lm" >&5
80384 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80385 if test "${ac_cv_lib_m_main+set}" = set; then
80386 echo $ECHO_N "(cached) $ECHO_C" >&6
80387 else
80388 ac_check_lib_save_LIBS=$LIBS
80389 LIBS="-lm $LIBS"
80390 if test x$gcc_no_link = xyes; then
80391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80393 { (exit 1); exit 1; }; }
80395 cat >conftest.$ac_ext <<_ACEOF
80396 /* confdefs.h. */
80397 _ACEOF
80398 cat confdefs.h >>conftest.$ac_ext
80399 cat >>conftest.$ac_ext <<_ACEOF
80400 /* end confdefs.h. */
80404 main ()
80406 main ();
80408 return 0;
80410 _ACEOF
80411 rm -f conftest.$ac_objext conftest$ac_exeext
80412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80413 (eval $ac_link) 2>conftest.er1
80414 ac_status=$?
80415 grep -v '^ *+' conftest.er1 >conftest.err
80416 rm -f conftest.er1
80417 cat conftest.err >&5
80418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80419 (exit $ac_status); } &&
80420 { ac_try='test -z "$ac_c_werror_flag"
80421 || test ! -s conftest.err'
80422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80423 (eval $ac_try) 2>&5
80424 ac_status=$?
80425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80426 (exit $ac_status); }; } &&
80427 { ac_try='test -s conftest$ac_exeext'
80428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80429 (eval $ac_try) 2>&5
80430 ac_status=$?
80431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80432 (exit $ac_status); }; }; then
80433 ac_cv_lib_m_main=yes
80434 else
80435 echo "$as_me: failed program was:" >&5
80436 sed 's/^/| /' conftest.$ac_ext >&5
80438 ac_cv_lib_m_main=no
80440 rm -f conftest.err conftest.$ac_objext \
80441 conftest$ac_exeext conftest.$ac_ext
80442 LIBS=$ac_check_lib_save_LIBS
80444 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80445 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80446 if test $ac_cv_lib_m_main = yes; then
80447 cat >>confdefs.h <<_ACEOF
80448 #define HAVE_LIBM 1
80449 _ACEOF
80451 LIBS="-lm $LIBS"
80456 for ac_func in copysignf
80458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80459 echo "$as_me:$LINENO: checking for $ac_func" >&5
80460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80461 if eval "test \"\${$as_ac_var+set}\" = set"; then
80462 echo $ECHO_N "(cached) $ECHO_C" >&6
80463 else
80464 if test x$gcc_no_link = xyes; then
80465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80467 { (exit 1); exit 1; }; }
80469 cat >conftest.$ac_ext <<_ACEOF
80470 /* confdefs.h. */
80471 _ACEOF
80472 cat confdefs.h >>conftest.$ac_ext
80473 cat >>conftest.$ac_ext <<_ACEOF
80474 /* end confdefs.h. */
80475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80477 #define $ac_func innocuous_$ac_func
80479 /* System header to define __stub macros and hopefully few prototypes,
80480 which can conflict with char $ac_func (); below.
80481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80482 <limits.h> exists even on freestanding compilers. */
80484 #ifdef __STDC__
80485 # include <limits.h>
80486 #else
80487 # include <assert.h>
80488 #endif
80490 #undef $ac_func
80492 /* Override any gcc2 internal prototype to avoid an error. */
80493 #ifdef __cplusplus
80494 extern "C"
80496 #endif
80497 /* We use char because int might match the return type of a gcc2
80498 builtin and then its argument prototype would still apply. */
80499 char $ac_func ();
80500 /* The GNU C library defines this for functions which it implements
80501 to always fail with ENOSYS. Some functions are actually named
80502 something starting with __ and the normal name is an alias. */
80503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80504 choke me
80505 #else
80506 char (*f) () = $ac_func;
80507 #endif
80508 #ifdef __cplusplus
80510 #endif
80513 main ()
80515 return f != $ac_func;
80517 return 0;
80519 _ACEOF
80520 rm -f conftest.$ac_objext conftest$ac_exeext
80521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80522 (eval $ac_link) 2>conftest.er1
80523 ac_status=$?
80524 grep -v '^ *+' conftest.er1 >conftest.err
80525 rm -f conftest.er1
80526 cat conftest.err >&5
80527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80528 (exit $ac_status); } &&
80529 { ac_try='test -z "$ac_c_werror_flag"
80530 || test ! -s conftest.err'
80531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80532 (eval $ac_try) 2>&5
80533 ac_status=$?
80534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80535 (exit $ac_status); }; } &&
80536 { ac_try='test -s conftest$ac_exeext'
80537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80538 (eval $ac_try) 2>&5
80539 ac_status=$?
80540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80541 (exit $ac_status); }; }; then
80542 eval "$as_ac_var=yes"
80543 else
80544 echo "$as_me: failed program was:" >&5
80545 sed 's/^/| /' conftest.$ac_ext >&5
80547 eval "$as_ac_var=no"
80549 rm -f conftest.err conftest.$ac_objext \
80550 conftest$ac_exeext conftest.$ac_ext
80552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80554 if test `eval echo '${'$as_ac_var'}'` = yes; then
80555 cat >>confdefs.h <<_ACEOF
80556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80557 _ACEOF
80559 else
80560 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80562 done
80566 for ac_func in __signbit
80568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80569 echo "$as_me:$LINENO: checking for $ac_func" >&5
80570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80571 if eval "test \"\${$as_ac_var+set}\" = set"; then
80572 echo $ECHO_N "(cached) $ECHO_C" >&6
80573 else
80574 if test x$gcc_no_link = xyes; then
80575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80577 { (exit 1); exit 1; }; }
80579 cat >conftest.$ac_ext <<_ACEOF
80580 /* confdefs.h. */
80581 _ACEOF
80582 cat confdefs.h >>conftest.$ac_ext
80583 cat >>conftest.$ac_ext <<_ACEOF
80584 /* end confdefs.h. */
80585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80587 #define $ac_func innocuous_$ac_func
80589 /* System header to define __stub macros and hopefully few prototypes,
80590 which can conflict with char $ac_func (); below.
80591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80592 <limits.h> exists even on freestanding compilers. */
80594 #ifdef __STDC__
80595 # include <limits.h>
80596 #else
80597 # include <assert.h>
80598 #endif
80600 #undef $ac_func
80602 /* Override any gcc2 internal prototype to avoid an error. */
80603 #ifdef __cplusplus
80604 extern "C"
80606 #endif
80607 /* We use char because int might match the return type of a gcc2
80608 builtin and then its argument prototype would still apply. */
80609 char $ac_func ();
80610 /* The GNU C library defines this for functions which it implements
80611 to always fail with ENOSYS. Some functions are actually named
80612 something starting with __ and the normal name is an alias. */
80613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80614 choke me
80615 #else
80616 char (*f) () = $ac_func;
80617 #endif
80618 #ifdef __cplusplus
80620 #endif
80623 main ()
80625 return f != $ac_func;
80627 return 0;
80629 _ACEOF
80630 rm -f conftest.$ac_objext conftest$ac_exeext
80631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80632 (eval $ac_link) 2>conftest.er1
80633 ac_status=$?
80634 grep -v '^ *+' conftest.er1 >conftest.err
80635 rm -f conftest.er1
80636 cat conftest.err >&5
80637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80638 (exit $ac_status); } &&
80639 { ac_try='test -z "$ac_c_werror_flag"
80640 || test ! -s conftest.err'
80641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80642 (eval $ac_try) 2>&5
80643 ac_status=$?
80644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80645 (exit $ac_status); }; } &&
80646 { ac_try='test -s conftest$ac_exeext'
80647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80648 (eval $ac_try) 2>&5
80649 ac_status=$?
80650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80651 (exit $ac_status); }; }; then
80652 eval "$as_ac_var=yes"
80653 else
80654 echo "$as_me: failed program was:" >&5
80655 sed 's/^/| /' conftest.$ac_ext >&5
80657 eval "$as_ac_var=no"
80659 rm -f conftest.err conftest.$ac_objext \
80660 conftest$ac_exeext conftest.$ac_ext
80662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80664 if test `eval echo '${'$as_ac_var'}'` = yes; then
80665 cat >>confdefs.h <<_ACEOF
80666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80667 _ACEOF
80669 else
80670 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80672 done
80676 for ac_func in __signbitf
80678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80679 echo "$as_me:$LINENO: checking for $ac_func" >&5
80680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80681 if eval "test \"\${$as_ac_var+set}\" = set"; then
80682 echo $ECHO_N "(cached) $ECHO_C" >&6
80683 else
80684 if test x$gcc_no_link = xyes; then
80685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80687 { (exit 1); exit 1; }; }
80689 cat >conftest.$ac_ext <<_ACEOF
80690 /* confdefs.h. */
80691 _ACEOF
80692 cat confdefs.h >>conftest.$ac_ext
80693 cat >>conftest.$ac_ext <<_ACEOF
80694 /* end confdefs.h. */
80695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80697 #define $ac_func innocuous_$ac_func
80699 /* System header to define __stub macros and hopefully few prototypes,
80700 which can conflict with char $ac_func (); below.
80701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80702 <limits.h> exists even on freestanding compilers. */
80704 #ifdef __STDC__
80705 # include <limits.h>
80706 #else
80707 # include <assert.h>
80708 #endif
80710 #undef $ac_func
80712 /* Override any gcc2 internal prototype to avoid an error. */
80713 #ifdef __cplusplus
80714 extern "C"
80716 #endif
80717 /* We use char because int might match the return type of a gcc2
80718 builtin and then its argument prototype would still apply. */
80719 char $ac_func ();
80720 /* The GNU C library defines this for functions which it implements
80721 to always fail with ENOSYS. Some functions are actually named
80722 something starting with __ and the normal name is an alias. */
80723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80724 choke me
80725 #else
80726 char (*f) () = $ac_func;
80727 #endif
80728 #ifdef __cplusplus
80730 #endif
80733 main ()
80735 return f != $ac_func;
80737 return 0;
80739 _ACEOF
80740 rm -f conftest.$ac_objext conftest$ac_exeext
80741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80742 (eval $ac_link) 2>conftest.er1
80743 ac_status=$?
80744 grep -v '^ *+' conftest.er1 >conftest.err
80745 rm -f conftest.er1
80746 cat conftest.err >&5
80747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80748 (exit $ac_status); } &&
80749 { ac_try='test -z "$ac_c_werror_flag"
80750 || test ! -s conftest.err'
80751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80752 (eval $ac_try) 2>&5
80753 ac_status=$?
80754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80755 (exit $ac_status); }; } &&
80756 { ac_try='test -s conftest$ac_exeext'
80757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80758 (eval $ac_try) 2>&5
80759 ac_status=$?
80760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80761 (exit $ac_status); }; }; then
80762 eval "$as_ac_var=yes"
80763 else
80764 echo "$as_me: failed program was:" >&5
80765 sed 's/^/| /' conftest.$ac_ext >&5
80767 eval "$as_ac_var=no"
80769 rm -f conftest.err conftest.$ac_objext \
80770 conftest$ac_exeext conftest.$ac_ext
80772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80774 if test `eval echo '${'$as_ac_var'}'` = yes; then
80775 cat >>confdefs.h <<_ACEOF
80776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80777 _ACEOF
80779 else
80780 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80782 done
80785 if test x$ac_cv_func_copysignl = x"yes"; then
80787 for ac_func in __signbitl
80789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80790 echo "$as_me:$LINENO: checking for $ac_func" >&5
80791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80792 if eval "test \"\${$as_ac_var+set}\" = set"; then
80793 echo $ECHO_N "(cached) $ECHO_C" >&6
80794 else
80795 if test x$gcc_no_link = xyes; then
80796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80798 { (exit 1); exit 1; }; }
80800 cat >conftest.$ac_ext <<_ACEOF
80801 /* confdefs.h. */
80802 _ACEOF
80803 cat confdefs.h >>conftest.$ac_ext
80804 cat >>conftest.$ac_ext <<_ACEOF
80805 /* end confdefs.h. */
80806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80808 #define $ac_func innocuous_$ac_func
80810 /* System header to define __stub macros and hopefully few prototypes,
80811 which can conflict with char $ac_func (); below.
80812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80813 <limits.h> exists even on freestanding compilers. */
80815 #ifdef __STDC__
80816 # include <limits.h>
80817 #else
80818 # include <assert.h>
80819 #endif
80821 #undef $ac_func
80823 /* Override any gcc2 internal prototype to avoid an error. */
80824 #ifdef __cplusplus
80825 extern "C"
80827 #endif
80828 /* We use char because int might match the return type of a gcc2
80829 builtin and then its argument prototype would still apply. */
80830 char $ac_func ();
80831 /* The GNU C library defines this for functions which it implements
80832 to always fail with ENOSYS. Some functions are actually named
80833 something starting with __ and the normal name is an alias. */
80834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80835 choke me
80836 #else
80837 char (*f) () = $ac_func;
80838 #endif
80839 #ifdef __cplusplus
80841 #endif
80844 main ()
80846 return f != $ac_func;
80848 return 0;
80850 _ACEOF
80851 rm -f conftest.$ac_objext conftest$ac_exeext
80852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80853 (eval $ac_link) 2>conftest.er1
80854 ac_status=$?
80855 grep -v '^ *+' conftest.er1 >conftest.err
80856 rm -f conftest.er1
80857 cat conftest.err >&5
80858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80859 (exit $ac_status); } &&
80860 { ac_try='test -z "$ac_c_werror_flag"
80861 || test ! -s conftest.err'
80862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80863 (eval $ac_try) 2>&5
80864 ac_status=$?
80865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80866 (exit $ac_status); }; } &&
80867 { ac_try='test -s conftest$ac_exeext'
80868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80869 (eval $ac_try) 2>&5
80870 ac_status=$?
80871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80872 (exit $ac_status); }; }; then
80873 eval "$as_ac_var=yes"
80874 else
80875 echo "$as_me: failed program was:" >&5
80876 sed 's/^/| /' conftest.$ac_ext >&5
80878 eval "$as_ac_var=no"
80880 rm -f conftest.err conftest.$ac_objext \
80881 conftest$ac_exeext conftest.$ac_ext
80883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80885 if test `eval echo '${'$as_ac_var'}'` = yes; then
80886 cat >>confdefs.h <<_ACEOF
80887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80888 _ACEOF
80890 else
80891 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80893 done
80897 # Used in libmath/Makefile.am.
80898 if test -n "$LIBMATHOBJS"; then
80899 need_libmath=yes
80905 enable_iconv=no
80906 # Only continue checking if the ISO C99 headers exist and support is on.
80907 if test x"$enable_wchar_t" = xyes; then
80909 # Use iconv for wchar_t to char conversions. As such, check for
80910 # X/Open Portability Guide, version 2 features (XPG2).
80911 if test "${ac_cv_header_iconv_h+set}" = set; then
80912 echo "$as_me:$LINENO: checking for iconv.h" >&5
80913 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80914 if test "${ac_cv_header_iconv_h+set}" = set; then
80915 echo $ECHO_N "(cached) $ECHO_C" >&6
80917 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80918 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80919 else
80920 # Is the header compilable?
80921 echo "$as_me:$LINENO: checking iconv.h usability" >&5
80922 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
80923 cat >conftest.$ac_ext <<_ACEOF
80924 /* confdefs.h. */
80925 _ACEOF
80926 cat confdefs.h >>conftest.$ac_ext
80927 cat >>conftest.$ac_ext <<_ACEOF
80928 /* end confdefs.h. */
80929 $ac_includes_default
80930 #include <iconv.h>
80931 _ACEOF
80932 rm -f conftest.$ac_objext
80933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80934 (eval $ac_compile) 2>conftest.er1
80935 ac_status=$?
80936 grep -v '^ *+' conftest.er1 >conftest.err
80937 rm -f conftest.er1
80938 cat conftest.err >&5
80939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80940 (exit $ac_status); } &&
80941 { ac_try='test -z "$ac_c_werror_flag"
80942 || test ! -s conftest.err'
80943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80944 (eval $ac_try) 2>&5
80945 ac_status=$?
80946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80947 (exit $ac_status); }; } &&
80948 { ac_try='test -s conftest.$ac_objext'
80949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80950 (eval $ac_try) 2>&5
80951 ac_status=$?
80952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80953 (exit $ac_status); }; }; then
80954 ac_header_compiler=yes
80955 else
80956 echo "$as_me: failed program was:" >&5
80957 sed 's/^/| /' conftest.$ac_ext >&5
80959 ac_header_compiler=no
80961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80963 echo "${ECHO_T}$ac_header_compiler" >&6
80965 # Is the header present?
80966 echo "$as_me:$LINENO: checking iconv.h presence" >&5
80967 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
80968 cat >conftest.$ac_ext <<_ACEOF
80969 /* confdefs.h. */
80970 _ACEOF
80971 cat confdefs.h >>conftest.$ac_ext
80972 cat >>conftest.$ac_ext <<_ACEOF
80973 /* end confdefs.h. */
80974 #include <iconv.h>
80975 _ACEOF
80976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80978 ac_status=$?
80979 grep -v '^ *+' conftest.er1 >conftest.err
80980 rm -f conftest.er1
80981 cat conftest.err >&5
80982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80983 (exit $ac_status); } >/dev/null; then
80984 if test -s conftest.err; then
80985 ac_cpp_err=$ac_c_preproc_warn_flag
80986 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80987 else
80988 ac_cpp_err=
80990 else
80991 ac_cpp_err=yes
80993 if test -z "$ac_cpp_err"; then
80994 ac_header_preproc=yes
80995 else
80996 echo "$as_me: failed program was:" >&5
80997 sed 's/^/| /' conftest.$ac_ext >&5
80999 ac_header_preproc=no
81001 rm -f conftest.err conftest.$ac_ext
81002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81003 echo "${ECHO_T}$ac_header_preproc" >&6
81005 # So? What about this header?
81006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81007 yes:no: )
81008 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81009 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81010 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81011 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81012 ac_header_preproc=yes
81014 no:yes:* )
81015 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81016 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81017 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81018 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81019 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81020 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81021 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81022 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81023 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81024 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81025 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81026 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81028 cat <<\_ASBOX
81029 ## ----------------------------------------- ##
81030 ## Report this to the package-unused lists. ##
81031 ## ----------------------------------------- ##
81032 _ASBOX
81034 sed "s/^/$as_me: WARNING: /" >&2
81036 esac
81037 echo "$as_me:$LINENO: checking for iconv.h" >&5
81038 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81039 if test "${ac_cv_header_iconv_h+set}" = set; then
81040 echo $ECHO_N "(cached) $ECHO_C" >&6
81041 else
81042 ac_cv_header_iconv_h=$ac_header_preproc
81044 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81045 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81048 if test $ac_cv_header_iconv_h = yes; then
81049 ac_has_iconv_h=yes
81050 else
81051 ac_has_iconv_h=no
81055 if test "${ac_cv_header_langinfo_h+set}" = set; then
81056 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81057 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81058 if test "${ac_cv_header_langinfo_h+set}" = set; then
81059 echo $ECHO_N "(cached) $ECHO_C" >&6
81061 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81062 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81063 else
81064 # Is the header compilable?
81065 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81066 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81067 cat >conftest.$ac_ext <<_ACEOF
81068 /* confdefs.h. */
81069 _ACEOF
81070 cat confdefs.h >>conftest.$ac_ext
81071 cat >>conftest.$ac_ext <<_ACEOF
81072 /* end confdefs.h. */
81073 $ac_includes_default
81074 #include <langinfo.h>
81075 _ACEOF
81076 rm -f conftest.$ac_objext
81077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81078 (eval $ac_compile) 2>conftest.er1
81079 ac_status=$?
81080 grep -v '^ *+' conftest.er1 >conftest.err
81081 rm -f conftest.er1
81082 cat conftest.err >&5
81083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81084 (exit $ac_status); } &&
81085 { ac_try='test -z "$ac_c_werror_flag"
81086 || test ! -s conftest.err'
81087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81088 (eval $ac_try) 2>&5
81089 ac_status=$?
81090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81091 (exit $ac_status); }; } &&
81092 { ac_try='test -s conftest.$ac_objext'
81093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81094 (eval $ac_try) 2>&5
81095 ac_status=$?
81096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81097 (exit $ac_status); }; }; then
81098 ac_header_compiler=yes
81099 else
81100 echo "$as_me: failed program was:" >&5
81101 sed 's/^/| /' conftest.$ac_ext >&5
81103 ac_header_compiler=no
81105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81107 echo "${ECHO_T}$ac_header_compiler" >&6
81109 # Is the header present?
81110 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81111 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81112 cat >conftest.$ac_ext <<_ACEOF
81113 /* confdefs.h. */
81114 _ACEOF
81115 cat confdefs.h >>conftest.$ac_ext
81116 cat >>conftest.$ac_ext <<_ACEOF
81117 /* end confdefs.h. */
81118 #include <langinfo.h>
81119 _ACEOF
81120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81121 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81122 ac_status=$?
81123 grep -v '^ *+' conftest.er1 >conftest.err
81124 rm -f conftest.er1
81125 cat conftest.err >&5
81126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81127 (exit $ac_status); } >/dev/null; then
81128 if test -s conftest.err; then
81129 ac_cpp_err=$ac_c_preproc_warn_flag
81130 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81131 else
81132 ac_cpp_err=
81134 else
81135 ac_cpp_err=yes
81137 if test -z "$ac_cpp_err"; then
81138 ac_header_preproc=yes
81139 else
81140 echo "$as_me: failed program was:" >&5
81141 sed 's/^/| /' conftest.$ac_ext >&5
81143 ac_header_preproc=no
81145 rm -f conftest.err conftest.$ac_ext
81146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81147 echo "${ECHO_T}$ac_header_preproc" >&6
81149 # So? What about this header?
81150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81151 yes:no: )
81152 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81153 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81154 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81155 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81156 ac_header_preproc=yes
81158 no:yes:* )
81159 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81160 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81161 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81162 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81163 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81164 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81165 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81166 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81167 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81168 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81169 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81170 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81172 cat <<\_ASBOX
81173 ## ----------------------------------------- ##
81174 ## Report this to the package-unused lists. ##
81175 ## ----------------------------------------- ##
81176 _ASBOX
81178 sed "s/^/$as_me: WARNING: /" >&2
81180 esac
81181 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81182 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81183 if test "${ac_cv_header_langinfo_h+set}" = set; then
81184 echo $ECHO_N "(cached) $ECHO_C" >&6
81185 else
81186 ac_cv_header_langinfo_h=$ac_header_preproc
81188 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81189 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81192 if test $ac_cv_header_langinfo_h = yes; then
81193 ac_has_langinfo_h=yes
81194 else
81195 ac_has_langinfo_h=no
81200 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81201 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81202 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81203 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81204 echo $ECHO_N "(cached) $ECHO_C" >&6
81205 else
81206 ac_check_lib_save_LIBS=$LIBS
81207 LIBS="-liconv $LIBS"
81208 if test x$gcc_no_link = xyes; then
81209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81211 { (exit 1); exit 1; }; }
81213 cat >conftest.$ac_ext <<_ACEOF
81214 /* confdefs.h. */
81215 _ACEOF
81216 cat confdefs.h >>conftest.$ac_ext
81217 cat >>conftest.$ac_ext <<_ACEOF
81218 /* end confdefs.h. */
81220 /* Override any gcc2 internal prototype to avoid an error. */
81221 #ifdef __cplusplus
81222 extern "C"
81223 #endif
81224 /* We use char because int might match the return type of a gcc2
81225 builtin and then its argument prototype would still apply. */
81226 char iconv ();
81228 main ()
81230 iconv ();
81232 return 0;
81234 _ACEOF
81235 rm -f conftest.$ac_objext conftest$ac_exeext
81236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81237 (eval $ac_link) 2>conftest.er1
81238 ac_status=$?
81239 grep -v '^ *+' conftest.er1 >conftest.err
81240 rm -f conftest.er1
81241 cat conftest.err >&5
81242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81243 (exit $ac_status); } &&
81244 { ac_try='test -z "$ac_c_werror_flag"
81245 || test ! -s conftest.err'
81246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81247 (eval $ac_try) 2>&5
81248 ac_status=$?
81249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81250 (exit $ac_status); }; } &&
81251 { ac_try='test -s conftest$ac_exeext'
81252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81253 (eval $ac_try) 2>&5
81254 ac_status=$?
81255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81256 (exit $ac_status); }; }; then
81257 ac_cv_lib_iconv_iconv=yes
81258 else
81259 echo "$as_me: failed program was:" >&5
81260 sed 's/^/| /' conftest.$ac_ext >&5
81262 ac_cv_lib_iconv_iconv=no
81264 rm -f conftest.err conftest.$ac_objext \
81265 conftest$ac_exeext conftest.$ac_ext
81266 LIBS=$ac_check_lib_save_LIBS
81268 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81269 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81270 if test $ac_cv_lib_iconv_iconv = yes; then
81271 LIBICONV="-liconv"
81274 ac_save_LIBS="$LIBS"
81275 LIBS="$LIBS $LIBICONV"
81282 for ac_func in iconv_open iconv_close iconv nl_langinfo
81284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81285 echo "$as_me:$LINENO: checking for $ac_func" >&5
81286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81287 if eval "test \"\${$as_ac_var+set}\" = set"; then
81288 echo $ECHO_N "(cached) $ECHO_C" >&6
81289 else
81290 if test x$gcc_no_link = xyes; then
81291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81293 { (exit 1); exit 1; }; }
81295 cat >conftest.$ac_ext <<_ACEOF
81296 /* confdefs.h. */
81297 _ACEOF
81298 cat confdefs.h >>conftest.$ac_ext
81299 cat >>conftest.$ac_ext <<_ACEOF
81300 /* end confdefs.h. */
81301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81303 #define $ac_func innocuous_$ac_func
81305 /* System header to define __stub macros and hopefully few prototypes,
81306 which can conflict with char $ac_func (); below.
81307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81308 <limits.h> exists even on freestanding compilers. */
81310 #ifdef __STDC__
81311 # include <limits.h>
81312 #else
81313 # include <assert.h>
81314 #endif
81316 #undef $ac_func
81318 /* Override any gcc2 internal prototype to avoid an error. */
81319 #ifdef __cplusplus
81320 extern "C"
81322 #endif
81323 /* We use char because int might match the return type of a gcc2
81324 builtin and then its argument prototype would still apply. */
81325 char $ac_func ();
81326 /* The GNU C library defines this for functions which it implements
81327 to always fail with ENOSYS. Some functions are actually named
81328 something starting with __ and the normal name is an alias. */
81329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81330 choke me
81331 #else
81332 char (*f) () = $ac_func;
81333 #endif
81334 #ifdef __cplusplus
81336 #endif
81339 main ()
81341 return f != $ac_func;
81343 return 0;
81345 _ACEOF
81346 rm -f conftest.$ac_objext conftest$ac_exeext
81347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81348 (eval $ac_link) 2>conftest.er1
81349 ac_status=$?
81350 grep -v '^ *+' conftest.er1 >conftest.err
81351 rm -f conftest.er1
81352 cat conftest.err >&5
81353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81354 (exit $ac_status); } &&
81355 { ac_try='test -z "$ac_c_werror_flag"
81356 || test ! -s conftest.err'
81357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81358 (eval $ac_try) 2>&5
81359 ac_status=$?
81360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81361 (exit $ac_status); }; } &&
81362 { ac_try='test -s conftest$ac_exeext'
81363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81364 (eval $ac_try) 2>&5
81365 ac_status=$?
81366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81367 (exit $ac_status); }; }; then
81368 eval "$as_ac_var=yes"
81369 else
81370 echo "$as_me: failed program was:" >&5
81371 sed 's/^/| /' conftest.$ac_ext >&5
81373 eval "$as_ac_var=no"
81375 rm -f conftest.err conftest.$ac_objext \
81376 conftest$ac_exeext conftest.$ac_ext
81378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81380 if test `eval echo '${'$as_ac_var'}'` = yes; then
81381 cat >>confdefs.h <<_ACEOF
81382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81383 _ACEOF
81384 ac_XPG2funcs=yes
81385 else
81386 ac_XPG2funcs=no
81388 done
81391 LIBS="$ac_save_LIBS"
81393 if test x"$ac_has_iconv_h" = xyes &&
81394 test x"$ac_has_langinfo_h" = xyes &&
81395 test x"$ac_XPG2funcs" = xyes;
81396 then
81398 cat >>confdefs.h <<\_ACEOF
81399 #define _GLIBCXX_USE_ICONV 1
81400 _ACEOF
81402 enable_iconv=yes
81405 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81406 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81407 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81408 echo "${ECHO_T}$enable_iconv" >&6
81411 *-netbsd*)
81424 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
81425 machine/endian.h machine/param.h sys/machine.h sys/types.h \
81426 fp.h locale.h float.h inttypes.h
81428 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81430 echo "$as_me:$LINENO: checking for $ac_header" >&5
81431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81433 echo $ECHO_N "(cached) $ECHO_C" >&6
81435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81437 else
81438 # Is the header compilable?
81439 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81441 cat >conftest.$ac_ext <<_ACEOF
81442 /* confdefs.h. */
81443 _ACEOF
81444 cat confdefs.h >>conftest.$ac_ext
81445 cat >>conftest.$ac_ext <<_ACEOF
81446 /* end confdefs.h. */
81447 $ac_includes_default
81448 #include <$ac_header>
81449 _ACEOF
81450 rm -f conftest.$ac_objext
81451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81452 (eval $ac_compile) 2>conftest.er1
81453 ac_status=$?
81454 grep -v '^ *+' conftest.er1 >conftest.err
81455 rm -f conftest.er1
81456 cat conftest.err >&5
81457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81458 (exit $ac_status); } &&
81459 { ac_try='test -z "$ac_c_werror_flag"
81460 || test ! -s conftest.err'
81461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81462 (eval $ac_try) 2>&5
81463 ac_status=$?
81464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81465 (exit $ac_status); }; } &&
81466 { ac_try='test -s conftest.$ac_objext'
81467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81468 (eval $ac_try) 2>&5
81469 ac_status=$?
81470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81471 (exit $ac_status); }; }; then
81472 ac_header_compiler=yes
81473 else
81474 echo "$as_me: failed program was:" >&5
81475 sed 's/^/| /' conftest.$ac_ext >&5
81477 ac_header_compiler=no
81479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81481 echo "${ECHO_T}$ac_header_compiler" >&6
81483 # Is the header present?
81484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81486 cat >conftest.$ac_ext <<_ACEOF
81487 /* confdefs.h. */
81488 _ACEOF
81489 cat confdefs.h >>conftest.$ac_ext
81490 cat >>conftest.$ac_ext <<_ACEOF
81491 /* end confdefs.h. */
81492 #include <$ac_header>
81493 _ACEOF
81494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81496 ac_status=$?
81497 grep -v '^ *+' conftest.er1 >conftest.err
81498 rm -f conftest.er1
81499 cat conftest.err >&5
81500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81501 (exit $ac_status); } >/dev/null; then
81502 if test -s conftest.err; then
81503 ac_cpp_err=$ac_c_preproc_warn_flag
81504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81505 else
81506 ac_cpp_err=
81508 else
81509 ac_cpp_err=yes
81511 if test -z "$ac_cpp_err"; then
81512 ac_header_preproc=yes
81513 else
81514 echo "$as_me: failed program was:" >&5
81515 sed 's/^/| /' conftest.$ac_ext >&5
81517 ac_header_preproc=no
81519 rm -f conftest.err conftest.$ac_ext
81520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81521 echo "${ECHO_T}$ac_header_preproc" >&6
81523 # So? What about this header?
81524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81525 yes:no: )
81526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81530 ac_header_preproc=yes
81532 no:yes:* )
81533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81546 cat <<\_ASBOX
81547 ## ----------------------------------------- ##
81548 ## Report this to the package-unused lists. ##
81549 ## ----------------------------------------- ##
81550 _ASBOX
81552 sed "s/^/$as_me: WARNING: /" >&2
81554 esac
81555 echo "$as_me:$LINENO: checking for $ac_header" >&5
81556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81558 echo $ECHO_N "(cached) $ECHO_C" >&6
81559 else
81560 eval "$as_ac_Header=\$ac_header_preproc"
81562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81567 cat >>confdefs.h <<_ACEOF
81568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81569 _ACEOF
81573 done
81575 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81578 # If we're not using GNU ld, then there's no point in even trying these
81579 # tests. Check for that first. We should have already tested for gld
81580 # by now (in libtool), but require it now just to be safe...
81581 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81582 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81586 # The name set by libtool depends on the version of libtool. Shame on us
81587 # for depending on an impl detail, but c'est la vie. Older versions used
81588 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81589 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81590 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81591 # set (hence we're using an older libtool), then set it.
81592 if test x${with_gnu_ld+set} != xset; then
81593 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81594 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81595 with_gnu_ld=no
81596 else
81597 with_gnu_ld=$ac_cv_prog_gnu_ld
81601 # Start by getting the version number. I think the libtool test already
81602 # does some of this, but throws away the result.
81603 echo "$as_me:$LINENO: checking for ld version" >&5
81604 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
81606 ldver=`$LD --version 2>/dev/null | head -1 | \
81607 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81609 glibcxx_gnu_ld_version=`echo $ldver | \
81610 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81611 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
81612 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
81614 # Set --gc-sections.
81615 glibcxx_gcsections_min_ld=21602
81616 if test x"$with_gnu_ld" = x"yes" &&
81617 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
81619 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
81620 # NB: This flag only works reliably after 2.16.1. Configure tests
81621 # for this are difficult, so hard wire a value that should work.
81623 # All these tests are for C++, but run with the "C" compiler driver.
81624 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
81625 ac_test_CFLAGS="${CFLAGS+set}"
81626 ac_save_CFLAGS="$CFLAGS"
81627 CFLAGS='-x c++ -Wl,--gc-sections'
81629 # Check for -Wl,--gc-sections
81630 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81631 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81632 if test x$gcc_no_link = xyes; then
81633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81635 { (exit 1); exit 1; }; }
81637 cat >conftest.$ac_ext <<_ACEOF
81638 /* confdefs.h. */
81639 _ACEOF
81640 cat confdefs.h >>conftest.$ac_ext
81641 cat >>conftest.$ac_ext <<_ACEOF
81642 /* end confdefs.h. */
81643 int one(void) { return 1; }
81644 int two(void) { return 2; }
81647 main ()
81649 two();
81651 return 0;
81653 _ACEOF
81654 rm -f conftest.$ac_objext conftest$ac_exeext
81655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81656 (eval $ac_link) 2>conftest.er1
81657 ac_status=$?
81658 grep -v '^ *+' conftest.er1 >conftest.err
81659 rm -f conftest.er1
81660 cat conftest.err >&5
81661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81662 (exit $ac_status); } &&
81663 { ac_try='test -z "$ac_c_werror_flag"
81664 || test ! -s conftest.err'
81665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81666 (eval $ac_try) 2>&5
81667 ac_status=$?
81668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81669 (exit $ac_status); }; } &&
81670 { ac_try='test -s conftest$ac_exeext'
81671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81672 (eval $ac_try) 2>&5
81673 ac_status=$?
81674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81675 (exit $ac_status); }; }; then
81676 ac_gcsections=yes
81677 else
81678 echo "$as_me: failed program was:" >&5
81679 sed 's/^/| /' conftest.$ac_ext >&5
81681 ac_gcsections=no
81683 rm -f conftest.err conftest.$ac_objext \
81684 conftest$ac_exeext conftest.$ac_ext
81685 if test "$ac_gcsections" = "yes"; then
81686 rm -f conftest.c
81687 touch conftest.c
81688 if $CC -c conftest.c; then
81689 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
81690 grep "Warning: gc-sections option ignored" > /dev/null; then
81691 ac_gcsections=no
81694 rm -f conftest.c conftest.o conftest
81696 if test "$ac_gcsections" = "yes"; then
81697 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81699 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
81700 echo "${ECHO_T}$ac_gcsections" >&6
81702 if test "$ac_test_CFLAGS" = set; then
81703 CFLAGS="$ac_save_CFLAGS"
81704 else
81705 # this is the suspicious part
81706 CFLAGS=''
81710 # Set -z,relro.
81711 # Note this is only for shared objects.
81712 ac_ld_relro=no
81713 if test x"$with_gnu_ld" = x"yes"; then
81714 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
81715 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
81716 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
81717 if test -n "$cxx_z_relo"; then
81718 OPT_LDFLAGS="-Wl,-z,relro"
81719 ac_ld_relro=yes
81721 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
81722 echo "${ECHO_T}$ac_ld_relro" >&6
81725 # Set linker optimization flags.
81726 if test x"$with_gnu_ld" = x"yes"; then
81727 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81735 echo "$as_me:$LINENO: checking for main in -lm" >&5
81736 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81737 if test "${ac_cv_lib_m_main+set}" = set; then
81738 echo $ECHO_N "(cached) $ECHO_C" >&6
81739 else
81740 ac_check_lib_save_LIBS=$LIBS
81741 LIBS="-lm $LIBS"
81742 if test x$gcc_no_link = xyes; then
81743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81745 { (exit 1); exit 1; }; }
81747 cat >conftest.$ac_ext <<_ACEOF
81748 /* confdefs.h. */
81749 _ACEOF
81750 cat confdefs.h >>conftest.$ac_ext
81751 cat >>conftest.$ac_ext <<_ACEOF
81752 /* end confdefs.h. */
81756 main ()
81758 main ();
81760 return 0;
81762 _ACEOF
81763 rm -f conftest.$ac_objext conftest$ac_exeext
81764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81765 (eval $ac_link) 2>conftest.er1
81766 ac_status=$?
81767 grep -v '^ *+' conftest.er1 >conftest.err
81768 rm -f conftest.er1
81769 cat conftest.err >&5
81770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81771 (exit $ac_status); } &&
81772 { ac_try='test -z "$ac_c_werror_flag"
81773 || test ! -s conftest.err'
81774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81775 (eval $ac_try) 2>&5
81776 ac_status=$?
81777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81778 (exit $ac_status); }; } &&
81779 { ac_try='test -s conftest$ac_exeext'
81780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81781 (eval $ac_try) 2>&5
81782 ac_status=$?
81783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81784 (exit $ac_status); }; }; then
81785 ac_cv_lib_m_main=yes
81786 else
81787 echo "$as_me: failed program was:" >&5
81788 sed 's/^/| /' conftest.$ac_ext >&5
81790 ac_cv_lib_m_main=no
81792 rm -f conftest.err conftest.$ac_objext \
81793 conftest$ac_exeext conftest.$ac_ext
81794 LIBS=$ac_check_lib_save_LIBS
81796 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81797 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81798 if test $ac_cv_lib_m_main = yes; then
81799 cat >>confdefs.h <<_ACEOF
81800 #define HAVE_LIBM 1
81801 _ACEOF
81803 LIBS="-lm $LIBS"
81808 for ac_func in copysignf
81810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81811 echo "$as_me:$LINENO: checking for $ac_func" >&5
81812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81813 if eval "test \"\${$as_ac_var+set}\" = set"; then
81814 echo $ECHO_N "(cached) $ECHO_C" >&6
81815 else
81816 if test x$gcc_no_link = xyes; then
81817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81819 { (exit 1); exit 1; }; }
81821 cat >conftest.$ac_ext <<_ACEOF
81822 /* confdefs.h. */
81823 _ACEOF
81824 cat confdefs.h >>conftest.$ac_ext
81825 cat >>conftest.$ac_ext <<_ACEOF
81826 /* end confdefs.h. */
81827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81829 #define $ac_func innocuous_$ac_func
81831 /* System header to define __stub macros and hopefully few prototypes,
81832 which can conflict with char $ac_func (); below.
81833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81834 <limits.h> exists even on freestanding compilers. */
81836 #ifdef __STDC__
81837 # include <limits.h>
81838 #else
81839 # include <assert.h>
81840 #endif
81842 #undef $ac_func
81844 /* Override any gcc2 internal prototype to avoid an error. */
81845 #ifdef __cplusplus
81846 extern "C"
81848 #endif
81849 /* We use char because int might match the return type of a gcc2
81850 builtin and then its argument prototype would still apply. */
81851 char $ac_func ();
81852 /* The GNU C library defines this for functions which it implements
81853 to always fail with ENOSYS. Some functions are actually named
81854 something starting with __ and the normal name is an alias. */
81855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81856 choke me
81857 #else
81858 char (*f) () = $ac_func;
81859 #endif
81860 #ifdef __cplusplus
81862 #endif
81865 main ()
81867 return f != $ac_func;
81869 return 0;
81871 _ACEOF
81872 rm -f conftest.$ac_objext conftest$ac_exeext
81873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81874 (eval $ac_link) 2>conftest.er1
81875 ac_status=$?
81876 grep -v '^ *+' conftest.er1 >conftest.err
81877 rm -f conftest.er1
81878 cat conftest.err >&5
81879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81880 (exit $ac_status); } &&
81881 { ac_try='test -z "$ac_c_werror_flag"
81882 || test ! -s conftest.err'
81883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81884 (eval $ac_try) 2>&5
81885 ac_status=$?
81886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81887 (exit $ac_status); }; } &&
81888 { ac_try='test -s conftest$ac_exeext'
81889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81890 (eval $ac_try) 2>&5
81891 ac_status=$?
81892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81893 (exit $ac_status); }; }; then
81894 eval "$as_ac_var=yes"
81895 else
81896 echo "$as_me: failed program was:" >&5
81897 sed 's/^/| /' conftest.$ac_ext >&5
81899 eval "$as_ac_var=no"
81901 rm -f conftest.err conftest.$ac_objext \
81902 conftest$ac_exeext conftest.$ac_ext
81904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81906 if test `eval echo '${'$as_ac_var'}'` = yes; then
81907 cat >>confdefs.h <<_ACEOF
81908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81909 _ACEOF
81911 else
81912 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81914 done
81918 for ac_func in __signbit
81920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81921 echo "$as_me:$LINENO: checking for $ac_func" >&5
81922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81923 if eval "test \"\${$as_ac_var+set}\" = set"; then
81924 echo $ECHO_N "(cached) $ECHO_C" >&6
81925 else
81926 if test x$gcc_no_link = xyes; then
81927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81929 { (exit 1); exit 1; }; }
81931 cat >conftest.$ac_ext <<_ACEOF
81932 /* confdefs.h. */
81933 _ACEOF
81934 cat confdefs.h >>conftest.$ac_ext
81935 cat >>conftest.$ac_ext <<_ACEOF
81936 /* end confdefs.h. */
81937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81939 #define $ac_func innocuous_$ac_func
81941 /* System header to define __stub macros and hopefully few prototypes,
81942 which can conflict with char $ac_func (); below.
81943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81944 <limits.h> exists even on freestanding compilers. */
81946 #ifdef __STDC__
81947 # include <limits.h>
81948 #else
81949 # include <assert.h>
81950 #endif
81952 #undef $ac_func
81954 /* Override any gcc2 internal prototype to avoid an error. */
81955 #ifdef __cplusplus
81956 extern "C"
81958 #endif
81959 /* We use char because int might match the return type of a gcc2
81960 builtin and then its argument prototype would still apply. */
81961 char $ac_func ();
81962 /* The GNU C library defines this for functions which it implements
81963 to always fail with ENOSYS. Some functions are actually named
81964 something starting with __ and the normal name is an alias. */
81965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81966 choke me
81967 #else
81968 char (*f) () = $ac_func;
81969 #endif
81970 #ifdef __cplusplus
81972 #endif
81975 main ()
81977 return f != $ac_func;
81979 return 0;
81981 _ACEOF
81982 rm -f conftest.$ac_objext conftest$ac_exeext
81983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81984 (eval $ac_link) 2>conftest.er1
81985 ac_status=$?
81986 grep -v '^ *+' conftest.er1 >conftest.err
81987 rm -f conftest.er1
81988 cat conftest.err >&5
81989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81990 (exit $ac_status); } &&
81991 { ac_try='test -z "$ac_c_werror_flag"
81992 || test ! -s conftest.err'
81993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81994 (eval $ac_try) 2>&5
81995 ac_status=$?
81996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81997 (exit $ac_status); }; } &&
81998 { ac_try='test -s conftest$ac_exeext'
81999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82000 (eval $ac_try) 2>&5
82001 ac_status=$?
82002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82003 (exit $ac_status); }; }; then
82004 eval "$as_ac_var=yes"
82005 else
82006 echo "$as_me: failed program was:" >&5
82007 sed 's/^/| /' conftest.$ac_ext >&5
82009 eval "$as_ac_var=no"
82011 rm -f conftest.err conftest.$ac_objext \
82012 conftest$ac_exeext conftest.$ac_ext
82014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82016 if test `eval echo '${'$as_ac_var'}'` = yes; then
82017 cat >>confdefs.h <<_ACEOF
82018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82019 _ACEOF
82021 else
82022 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82024 done
82028 for ac_func in __signbitf
82030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82031 echo "$as_me:$LINENO: checking for $ac_func" >&5
82032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82033 if eval "test \"\${$as_ac_var+set}\" = set"; then
82034 echo $ECHO_N "(cached) $ECHO_C" >&6
82035 else
82036 if test x$gcc_no_link = xyes; then
82037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82039 { (exit 1); exit 1; }; }
82041 cat >conftest.$ac_ext <<_ACEOF
82042 /* confdefs.h. */
82043 _ACEOF
82044 cat confdefs.h >>conftest.$ac_ext
82045 cat >>conftest.$ac_ext <<_ACEOF
82046 /* end confdefs.h. */
82047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82049 #define $ac_func innocuous_$ac_func
82051 /* System header to define __stub macros and hopefully few prototypes,
82052 which can conflict with char $ac_func (); below.
82053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82054 <limits.h> exists even on freestanding compilers. */
82056 #ifdef __STDC__
82057 # include <limits.h>
82058 #else
82059 # include <assert.h>
82060 #endif
82062 #undef $ac_func
82064 /* Override any gcc2 internal prototype to avoid an error. */
82065 #ifdef __cplusplus
82066 extern "C"
82068 #endif
82069 /* We use char because int might match the return type of a gcc2
82070 builtin and then its argument prototype would still apply. */
82071 char $ac_func ();
82072 /* The GNU C library defines this for functions which it implements
82073 to always fail with ENOSYS. Some functions are actually named
82074 something starting with __ and the normal name is an alias. */
82075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82076 choke me
82077 #else
82078 char (*f) () = $ac_func;
82079 #endif
82080 #ifdef __cplusplus
82082 #endif
82085 main ()
82087 return f != $ac_func;
82089 return 0;
82091 _ACEOF
82092 rm -f conftest.$ac_objext conftest$ac_exeext
82093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82094 (eval $ac_link) 2>conftest.er1
82095 ac_status=$?
82096 grep -v '^ *+' conftest.er1 >conftest.err
82097 rm -f conftest.er1
82098 cat conftest.err >&5
82099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82100 (exit $ac_status); } &&
82101 { ac_try='test -z "$ac_c_werror_flag"
82102 || test ! -s conftest.err'
82103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82104 (eval $ac_try) 2>&5
82105 ac_status=$?
82106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82107 (exit $ac_status); }; } &&
82108 { ac_try='test -s conftest$ac_exeext'
82109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82110 (eval $ac_try) 2>&5
82111 ac_status=$?
82112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82113 (exit $ac_status); }; }; then
82114 eval "$as_ac_var=yes"
82115 else
82116 echo "$as_me: failed program was:" >&5
82117 sed 's/^/| /' conftest.$ac_ext >&5
82119 eval "$as_ac_var=no"
82121 rm -f conftest.err conftest.$ac_objext \
82122 conftest$ac_exeext conftest.$ac_ext
82124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82126 if test `eval echo '${'$as_ac_var'}'` = yes; then
82127 cat >>confdefs.h <<_ACEOF
82128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82129 _ACEOF
82131 else
82132 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82134 done
82137 if test x$ac_cv_func_copysignl = x"yes"; then
82139 for ac_func in __signbitl
82141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82142 echo "$as_me:$LINENO: checking for $ac_func" >&5
82143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82144 if eval "test \"\${$as_ac_var+set}\" = set"; then
82145 echo $ECHO_N "(cached) $ECHO_C" >&6
82146 else
82147 if test x$gcc_no_link = xyes; then
82148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82150 { (exit 1); exit 1; }; }
82152 cat >conftest.$ac_ext <<_ACEOF
82153 /* confdefs.h. */
82154 _ACEOF
82155 cat confdefs.h >>conftest.$ac_ext
82156 cat >>conftest.$ac_ext <<_ACEOF
82157 /* end confdefs.h. */
82158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82160 #define $ac_func innocuous_$ac_func
82162 /* System header to define __stub macros and hopefully few prototypes,
82163 which can conflict with char $ac_func (); below.
82164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82165 <limits.h> exists even on freestanding compilers. */
82167 #ifdef __STDC__
82168 # include <limits.h>
82169 #else
82170 # include <assert.h>
82171 #endif
82173 #undef $ac_func
82175 /* Override any gcc2 internal prototype to avoid an error. */
82176 #ifdef __cplusplus
82177 extern "C"
82179 #endif
82180 /* We use char because int might match the return type of a gcc2
82181 builtin and then its argument prototype would still apply. */
82182 char $ac_func ();
82183 /* The GNU C library defines this for functions which it implements
82184 to always fail with ENOSYS. Some functions are actually named
82185 something starting with __ and the normal name is an alias. */
82186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82187 choke me
82188 #else
82189 char (*f) () = $ac_func;
82190 #endif
82191 #ifdef __cplusplus
82193 #endif
82196 main ()
82198 return f != $ac_func;
82200 return 0;
82202 _ACEOF
82203 rm -f conftest.$ac_objext conftest$ac_exeext
82204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82205 (eval $ac_link) 2>conftest.er1
82206 ac_status=$?
82207 grep -v '^ *+' conftest.er1 >conftest.err
82208 rm -f conftest.er1
82209 cat conftest.err >&5
82210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82211 (exit $ac_status); } &&
82212 { ac_try='test -z "$ac_c_werror_flag"
82213 || test ! -s conftest.err'
82214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82215 (eval $ac_try) 2>&5
82216 ac_status=$?
82217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82218 (exit $ac_status); }; } &&
82219 { ac_try='test -s conftest$ac_exeext'
82220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82221 (eval $ac_try) 2>&5
82222 ac_status=$?
82223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82224 (exit $ac_status); }; }; then
82225 eval "$as_ac_var=yes"
82226 else
82227 echo "$as_me: failed program was:" >&5
82228 sed 's/^/| /' conftest.$ac_ext >&5
82230 eval "$as_ac_var=no"
82232 rm -f conftest.err conftest.$ac_objext \
82233 conftest$ac_exeext conftest.$ac_ext
82235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82237 if test `eval echo '${'$as_ac_var'}'` = yes; then
82238 cat >>confdefs.h <<_ACEOF
82239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82240 _ACEOF
82242 else
82243 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82245 done
82249 # Used in libmath/Makefile.am.
82250 if test -n "$LIBMATHOBJS"; then
82251 need_libmath=yes
82257 enable_iconv=no
82258 # Only continue checking if the ISO C99 headers exist and support is on.
82259 if test x"$enable_wchar_t" = xyes; then
82261 # Use iconv for wchar_t to char conversions. As such, check for
82262 # X/Open Portability Guide, version 2 features (XPG2).
82263 if test "${ac_cv_header_iconv_h+set}" = set; then
82264 echo "$as_me:$LINENO: checking for iconv.h" >&5
82265 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82266 if test "${ac_cv_header_iconv_h+set}" = set; then
82267 echo $ECHO_N "(cached) $ECHO_C" >&6
82269 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82270 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82271 else
82272 # Is the header compilable?
82273 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82274 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
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 $ac_includes_default
82282 #include <iconv.h>
82283 _ACEOF
82284 rm -f conftest.$ac_objext
82285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82286 (eval $ac_compile) 2>conftest.er1
82287 ac_status=$?
82288 grep -v '^ *+' conftest.er1 >conftest.err
82289 rm -f conftest.er1
82290 cat conftest.err >&5
82291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82292 (exit $ac_status); } &&
82293 { ac_try='test -z "$ac_c_werror_flag"
82294 || test ! -s conftest.err'
82295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82296 (eval $ac_try) 2>&5
82297 ac_status=$?
82298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82299 (exit $ac_status); }; } &&
82300 { ac_try='test -s conftest.$ac_objext'
82301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82302 (eval $ac_try) 2>&5
82303 ac_status=$?
82304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82305 (exit $ac_status); }; }; then
82306 ac_header_compiler=yes
82307 else
82308 echo "$as_me: failed program was:" >&5
82309 sed 's/^/| /' conftest.$ac_ext >&5
82311 ac_header_compiler=no
82313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82315 echo "${ECHO_T}$ac_header_compiler" >&6
82317 # Is the header present?
82318 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82319 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82320 cat >conftest.$ac_ext <<_ACEOF
82321 /* confdefs.h. */
82322 _ACEOF
82323 cat confdefs.h >>conftest.$ac_ext
82324 cat >>conftest.$ac_ext <<_ACEOF
82325 /* end confdefs.h. */
82326 #include <iconv.h>
82327 _ACEOF
82328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82330 ac_status=$?
82331 grep -v '^ *+' conftest.er1 >conftest.err
82332 rm -f conftest.er1
82333 cat conftest.err >&5
82334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82335 (exit $ac_status); } >/dev/null; then
82336 if test -s conftest.err; then
82337 ac_cpp_err=$ac_c_preproc_warn_flag
82338 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82339 else
82340 ac_cpp_err=
82342 else
82343 ac_cpp_err=yes
82345 if test -z "$ac_cpp_err"; then
82346 ac_header_preproc=yes
82347 else
82348 echo "$as_me: failed program was:" >&5
82349 sed 's/^/| /' conftest.$ac_ext >&5
82351 ac_header_preproc=no
82353 rm -f conftest.err conftest.$ac_ext
82354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82355 echo "${ECHO_T}$ac_header_preproc" >&6
82357 # So? What about this header?
82358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82359 yes:no: )
82360 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82361 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82362 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82363 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82364 ac_header_preproc=yes
82366 no:yes:* )
82367 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82368 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82369 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82370 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82371 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82372 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82373 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82374 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82375 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82376 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82377 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82378 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82380 cat <<\_ASBOX
82381 ## ----------------------------------------- ##
82382 ## Report this to the package-unused lists. ##
82383 ## ----------------------------------------- ##
82384 _ASBOX
82386 sed "s/^/$as_me: WARNING: /" >&2
82388 esac
82389 echo "$as_me:$LINENO: checking for iconv.h" >&5
82390 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82391 if test "${ac_cv_header_iconv_h+set}" = set; then
82392 echo $ECHO_N "(cached) $ECHO_C" >&6
82393 else
82394 ac_cv_header_iconv_h=$ac_header_preproc
82396 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82397 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82400 if test $ac_cv_header_iconv_h = yes; then
82401 ac_has_iconv_h=yes
82402 else
82403 ac_has_iconv_h=no
82407 if test "${ac_cv_header_langinfo_h+set}" = set; then
82408 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82409 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82410 if test "${ac_cv_header_langinfo_h+set}" = set; then
82411 echo $ECHO_N "(cached) $ECHO_C" >&6
82413 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82414 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82415 else
82416 # Is the header compilable?
82417 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82418 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82419 cat >conftest.$ac_ext <<_ACEOF
82420 /* confdefs.h. */
82421 _ACEOF
82422 cat confdefs.h >>conftest.$ac_ext
82423 cat >>conftest.$ac_ext <<_ACEOF
82424 /* end confdefs.h. */
82425 $ac_includes_default
82426 #include <langinfo.h>
82427 _ACEOF
82428 rm -f conftest.$ac_objext
82429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82430 (eval $ac_compile) 2>conftest.er1
82431 ac_status=$?
82432 grep -v '^ *+' conftest.er1 >conftest.err
82433 rm -f conftest.er1
82434 cat conftest.err >&5
82435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82436 (exit $ac_status); } &&
82437 { ac_try='test -z "$ac_c_werror_flag"
82438 || test ! -s conftest.err'
82439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82440 (eval $ac_try) 2>&5
82441 ac_status=$?
82442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82443 (exit $ac_status); }; } &&
82444 { ac_try='test -s conftest.$ac_objext'
82445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82446 (eval $ac_try) 2>&5
82447 ac_status=$?
82448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82449 (exit $ac_status); }; }; then
82450 ac_header_compiler=yes
82451 else
82452 echo "$as_me: failed program was:" >&5
82453 sed 's/^/| /' conftest.$ac_ext >&5
82455 ac_header_compiler=no
82457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82459 echo "${ECHO_T}$ac_header_compiler" >&6
82461 # Is the header present?
82462 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82463 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82464 cat >conftest.$ac_ext <<_ACEOF
82465 /* confdefs.h. */
82466 _ACEOF
82467 cat confdefs.h >>conftest.$ac_ext
82468 cat >>conftest.$ac_ext <<_ACEOF
82469 /* end confdefs.h. */
82470 #include <langinfo.h>
82471 _ACEOF
82472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82473 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82474 ac_status=$?
82475 grep -v '^ *+' conftest.er1 >conftest.err
82476 rm -f conftest.er1
82477 cat conftest.err >&5
82478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82479 (exit $ac_status); } >/dev/null; then
82480 if test -s conftest.err; then
82481 ac_cpp_err=$ac_c_preproc_warn_flag
82482 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82483 else
82484 ac_cpp_err=
82486 else
82487 ac_cpp_err=yes
82489 if test -z "$ac_cpp_err"; then
82490 ac_header_preproc=yes
82491 else
82492 echo "$as_me: failed program was:" >&5
82493 sed 's/^/| /' conftest.$ac_ext >&5
82495 ac_header_preproc=no
82497 rm -f conftest.err conftest.$ac_ext
82498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82499 echo "${ECHO_T}$ac_header_preproc" >&6
82501 # So? What about this header?
82502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82503 yes:no: )
82504 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82505 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82506 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82507 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82508 ac_header_preproc=yes
82510 no:yes:* )
82511 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82512 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82513 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
82514 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
82515 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82516 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82517 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
82518 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
82519 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82520 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82521 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82522 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82524 cat <<\_ASBOX
82525 ## ----------------------------------------- ##
82526 ## Report this to the package-unused lists. ##
82527 ## ----------------------------------------- ##
82528 _ASBOX
82530 sed "s/^/$as_me: WARNING: /" >&2
82532 esac
82533 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82534 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82535 if test "${ac_cv_header_langinfo_h+set}" = set; then
82536 echo $ECHO_N "(cached) $ECHO_C" >&6
82537 else
82538 ac_cv_header_langinfo_h=$ac_header_preproc
82540 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82541 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82544 if test $ac_cv_header_langinfo_h = yes; then
82545 ac_has_langinfo_h=yes
82546 else
82547 ac_has_langinfo_h=no
82552 # Check for existence of libiconv.a providing XPG2 wchar_t support.
82553 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82554 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82555 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82556 echo $ECHO_N "(cached) $ECHO_C" >&6
82557 else
82558 ac_check_lib_save_LIBS=$LIBS
82559 LIBS="-liconv $LIBS"
82560 if test x$gcc_no_link = xyes; then
82561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82563 { (exit 1); exit 1; }; }
82565 cat >conftest.$ac_ext <<_ACEOF
82566 /* confdefs.h. */
82567 _ACEOF
82568 cat confdefs.h >>conftest.$ac_ext
82569 cat >>conftest.$ac_ext <<_ACEOF
82570 /* end confdefs.h. */
82572 /* Override any gcc2 internal prototype to avoid an error. */
82573 #ifdef __cplusplus
82574 extern "C"
82575 #endif
82576 /* We use char because int might match the return type of a gcc2
82577 builtin and then its argument prototype would still apply. */
82578 char iconv ();
82580 main ()
82582 iconv ();
82584 return 0;
82586 _ACEOF
82587 rm -f conftest.$ac_objext conftest$ac_exeext
82588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82589 (eval $ac_link) 2>conftest.er1
82590 ac_status=$?
82591 grep -v '^ *+' conftest.er1 >conftest.err
82592 rm -f conftest.er1
82593 cat conftest.err >&5
82594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82595 (exit $ac_status); } &&
82596 { ac_try='test -z "$ac_c_werror_flag"
82597 || test ! -s conftest.err'
82598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82599 (eval $ac_try) 2>&5
82600 ac_status=$?
82601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82602 (exit $ac_status); }; } &&
82603 { ac_try='test -s conftest$ac_exeext'
82604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82605 (eval $ac_try) 2>&5
82606 ac_status=$?
82607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82608 (exit $ac_status); }; }; then
82609 ac_cv_lib_iconv_iconv=yes
82610 else
82611 echo "$as_me: failed program was:" >&5
82612 sed 's/^/| /' conftest.$ac_ext >&5
82614 ac_cv_lib_iconv_iconv=no
82616 rm -f conftest.err conftest.$ac_objext \
82617 conftest$ac_exeext conftest.$ac_ext
82618 LIBS=$ac_check_lib_save_LIBS
82620 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82621 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82622 if test $ac_cv_lib_iconv_iconv = yes; then
82623 LIBICONV="-liconv"
82626 ac_save_LIBS="$LIBS"
82627 LIBS="$LIBS $LIBICONV"
82634 for ac_func in iconv_open iconv_close iconv nl_langinfo
82636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82637 echo "$as_me:$LINENO: checking for $ac_func" >&5
82638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82639 if eval "test \"\${$as_ac_var+set}\" = set"; then
82640 echo $ECHO_N "(cached) $ECHO_C" >&6
82641 else
82642 if test x$gcc_no_link = xyes; then
82643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82645 { (exit 1); exit 1; }; }
82647 cat >conftest.$ac_ext <<_ACEOF
82648 /* confdefs.h. */
82649 _ACEOF
82650 cat confdefs.h >>conftest.$ac_ext
82651 cat >>conftest.$ac_ext <<_ACEOF
82652 /* end confdefs.h. */
82653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82655 #define $ac_func innocuous_$ac_func
82657 /* System header to define __stub macros and hopefully few prototypes,
82658 which can conflict with char $ac_func (); below.
82659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82660 <limits.h> exists even on freestanding compilers. */
82662 #ifdef __STDC__
82663 # include <limits.h>
82664 #else
82665 # include <assert.h>
82666 #endif
82668 #undef $ac_func
82670 /* Override any gcc2 internal prototype to avoid an error. */
82671 #ifdef __cplusplus
82672 extern "C"
82674 #endif
82675 /* We use char because int might match the return type of a gcc2
82676 builtin and then its argument prototype would still apply. */
82677 char $ac_func ();
82678 /* The GNU C library defines this for functions which it implements
82679 to always fail with ENOSYS. Some functions are actually named
82680 something starting with __ and the normal name is an alias. */
82681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82682 choke me
82683 #else
82684 char (*f) () = $ac_func;
82685 #endif
82686 #ifdef __cplusplus
82688 #endif
82691 main ()
82693 return f != $ac_func;
82695 return 0;
82697 _ACEOF
82698 rm -f conftest.$ac_objext conftest$ac_exeext
82699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82700 (eval $ac_link) 2>conftest.er1
82701 ac_status=$?
82702 grep -v '^ *+' conftest.er1 >conftest.err
82703 rm -f conftest.er1
82704 cat conftest.err >&5
82705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82706 (exit $ac_status); } &&
82707 { ac_try='test -z "$ac_c_werror_flag"
82708 || test ! -s conftest.err'
82709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82710 (eval $ac_try) 2>&5
82711 ac_status=$?
82712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82713 (exit $ac_status); }; } &&
82714 { ac_try='test -s conftest$ac_exeext'
82715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82716 (eval $ac_try) 2>&5
82717 ac_status=$?
82718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82719 (exit $ac_status); }; }; then
82720 eval "$as_ac_var=yes"
82721 else
82722 echo "$as_me: failed program was:" >&5
82723 sed 's/^/| /' conftest.$ac_ext >&5
82725 eval "$as_ac_var=no"
82727 rm -f conftest.err conftest.$ac_objext \
82728 conftest$ac_exeext conftest.$ac_ext
82730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82732 if test `eval echo '${'$as_ac_var'}'` = yes; then
82733 cat >>confdefs.h <<_ACEOF
82734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82735 _ACEOF
82736 ac_XPG2funcs=yes
82737 else
82738 ac_XPG2funcs=no
82740 done
82743 LIBS="$ac_save_LIBS"
82745 if test x"$ac_has_iconv_h" = xyes &&
82746 test x"$ac_has_langinfo_h" = xyes &&
82747 test x"$ac_XPG2funcs" = xyes;
82748 then
82750 cat >>confdefs.h <<\_ACEOF
82751 #define _GLIBCXX_USE_ICONV 1
82752 _ACEOF
82754 enable_iconv=yes
82757 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82758 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82759 echo "$as_me:$LINENO: result: $enable_iconv" >&5
82760 echo "${ECHO_T}$enable_iconv" >&6
82762 cat >>confdefs.h <<\_ACEOF
82763 #define HAVE_COPYSIGN 1
82764 _ACEOF
82766 cat >>confdefs.h <<\_ACEOF
82767 #define HAVE_COPYSIGNF 1
82768 _ACEOF
82770 cat >>confdefs.h <<\_ACEOF
82771 #define HAVE_FINITEF 1
82772 _ACEOF
82774 cat >>confdefs.h <<\_ACEOF
82775 #define HAVE_FINITE 1
82776 _ACEOF
82778 cat >>confdefs.h <<\_ACEOF
82779 #define HAVE_FREXPF 1
82780 _ACEOF
82782 cat >>confdefs.h <<\_ACEOF
82783 #define HAVE_HYPOTF 1
82784 _ACEOF
82786 cat >>confdefs.h <<\_ACEOF
82787 #define HAVE_ISINF 1
82788 _ACEOF
82790 cat >>confdefs.h <<\_ACEOF
82791 #define HAVE_ISINFF 1
82792 _ACEOF
82794 cat >>confdefs.h <<\_ACEOF
82795 #define HAVE_ISNAN 1
82796 _ACEOF
82798 cat >>confdefs.h <<\_ACEOF
82799 #define HAVE_ISNANF 1
82800 _ACEOF
82802 if test x"long_double_math_on_this_cpu" = x"yes"; then
82803 cat >>confdefs.h <<\_ACEOF
82804 #define HAVE_FINITEL 1
82805 _ACEOF
82807 cat >>confdefs.h <<\_ACEOF
82808 #define HAVE_ISINFL 1
82809 _ACEOF
82811 cat >>confdefs.h <<\_ACEOF
82812 #define HAVE_ISNANL 1
82813 _ACEOF
82817 *-netware)
82826 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
82827 sys/types.h locale.h float.h inttypes.h
82829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82831 echo "$as_me:$LINENO: checking for $ac_header" >&5
82832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82834 echo $ECHO_N "(cached) $ECHO_C" >&6
82836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82838 else
82839 # Is the header compilable?
82840 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82841 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82842 cat >conftest.$ac_ext <<_ACEOF
82843 /* confdefs.h. */
82844 _ACEOF
82845 cat confdefs.h >>conftest.$ac_ext
82846 cat >>conftest.$ac_ext <<_ACEOF
82847 /* end confdefs.h. */
82848 $ac_includes_default
82849 #include <$ac_header>
82850 _ACEOF
82851 rm -f conftest.$ac_objext
82852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82853 (eval $ac_compile) 2>conftest.er1
82854 ac_status=$?
82855 grep -v '^ *+' conftest.er1 >conftest.err
82856 rm -f conftest.er1
82857 cat conftest.err >&5
82858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82859 (exit $ac_status); } &&
82860 { ac_try='test -z "$ac_c_werror_flag"
82861 || test ! -s conftest.err'
82862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82863 (eval $ac_try) 2>&5
82864 ac_status=$?
82865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82866 (exit $ac_status); }; } &&
82867 { ac_try='test -s conftest.$ac_objext'
82868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82869 (eval $ac_try) 2>&5
82870 ac_status=$?
82871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82872 (exit $ac_status); }; }; then
82873 ac_header_compiler=yes
82874 else
82875 echo "$as_me: failed program was:" >&5
82876 sed 's/^/| /' conftest.$ac_ext >&5
82878 ac_header_compiler=no
82880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82882 echo "${ECHO_T}$ac_header_compiler" >&6
82884 # Is the header present?
82885 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82886 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82887 cat >conftest.$ac_ext <<_ACEOF
82888 /* confdefs.h. */
82889 _ACEOF
82890 cat confdefs.h >>conftest.$ac_ext
82891 cat >>conftest.$ac_ext <<_ACEOF
82892 /* end confdefs.h. */
82893 #include <$ac_header>
82894 _ACEOF
82895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82896 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82897 ac_status=$?
82898 grep -v '^ *+' conftest.er1 >conftest.err
82899 rm -f conftest.er1
82900 cat conftest.err >&5
82901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82902 (exit $ac_status); } >/dev/null; then
82903 if test -s conftest.err; then
82904 ac_cpp_err=$ac_c_preproc_warn_flag
82905 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82906 else
82907 ac_cpp_err=
82909 else
82910 ac_cpp_err=yes
82912 if test -z "$ac_cpp_err"; then
82913 ac_header_preproc=yes
82914 else
82915 echo "$as_me: failed program was:" >&5
82916 sed 's/^/| /' conftest.$ac_ext >&5
82918 ac_header_preproc=no
82920 rm -f conftest.err conftest.$ac_ext
82921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82922 echo "${ECHO_T}$ac_header_preproc" >&6
82924 # So? What about this header?
82925 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82926 yes:no: )
82927 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82928 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82930 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82931 ac_header_preproc=yes
82933 no:yes:* )
82934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82935 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82937 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82938 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82939 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82940 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82941 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82943 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82944 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82945 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82947 cat <<\_ASBOX
82948 ## ----------------------------------------- ##
82949 ## Report this to the package-unused lists. ##
82950 ## ----------------------------------------- ##
82951 _ASBOX
82953 sed "s/^/$as_me: WARNING: /" >&2
82955 esac
82956 echo "$as_me:$LINENO: checking for $ac_header" >&5
82957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82959 echo $ECHO_N "(cached) $ECHO_C" >&6
82960 else
82961 eval "$as_ac_Header=\$ac_header_preproc"
82963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82968 cat >>confdefs.h <<_ACEOF
82969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82970 _ACEOF
82974 done
82976 SECTION_FLAGS='-ffunction-sections -fdata-sections'
82979 # If we're not using GNU ld, then there's no point in even trying these
82980 # tests. Check for that first. We should have already tested for gld
82981 # by now (in libtool), but require it now just to be safe...
82982 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82983 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82987 # The name set by libtool depends on the version of libtool. Shame on us
82988 # for depending on an impl detail, but c'est la vie. Older versions used
82989 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82990 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82991 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82992 # set (hence we're using an older libtool), then set it.
82993 if test x${with_gnu_ld+set} != xset; then
82994 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82995 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82996 with_gnu_ld=no
82997 else
82998 with_gnu_ld=$ac_cv_prog_gnu_ld
83002 # Start by getting the version number. I think the libtool test already
83003 # does some of this, but throws away the result.
83004 echo "$as_me:$LINENO: checking for ld version" >&5
83005 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
83007 ldver=`$LD --version 2>/dev/null | head -1 | \
83008 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83010 glibcxx_gnu_ld_version=`echo $ldver | \
83011 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83012 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
83013 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
83015 # Set --gc-sections.
83016 glibcxx_gcsections_min_ld=21602
83017 if test x"$with_gnu_ld" = x"yes" &&
83018 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
83020 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
83021 # NB: This flag only works reliably after 2.16.1. Configure tests
83022 # for this are difficult, so hard wire a value that should work.
83024 # All these tests are for C++, but run with the "C" compiler driver.
83025 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
83026 ac_test_CFLAGS="${CFLAGS+set}"
83027 ac_save_CFLAGS="$CFLAGS"
83028 CFLAGS='-x c++ -Wl,--gc-sections'
83030 # Check for -Wl,--gc-sections
83031 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83032 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83033 if test x$gcc_no_link = xyes; then
83034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83036 { (exit 1); exit 1; }; }
83038 cat >conftest.$ac_ext <<_ACEOF
83039 /* confdefs.h. */
83040 _ACEOF
83041 cat confdefs.h >>conftest.$ac_ext
83042 cat >>conftest.$ac_ext <<_ACEOF
83043 /* end confdefs.h. */
83044 int one(void) { return 1; }
83045 int two(void) { return 2; }
83048 main ()
83050 two();
83052 return 0;
83054 _ACEOF
83055 rm -f conftest.$ac_objext conftest$ac_exeext
83056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83057 (eval $ac_link) 2>conftest.er1
83058 ac_status=$?
83059 grep -v '^ *+' conftest.er1 >conftest.err
83060 rm -f conftest.er1
83061 cat conftest.err >&5
83062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83063 (exit $ac_status); } &&
83064 { ac_try='test -z "$ac_c_werror_flag"
83065 || test ! -s conftest.err'
83066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83067 (eval $ac_try) 2>&5
83068 ac_status=$?
83069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83070 (exit $ac_status); }; } &&
83071 { ac_try='test -s conftest$ac_exeext'
83072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83073 (eval $ac_try) 2>&5
83074 ac_status=$?
83075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83076 (exit $ac_status); }; }; then
83077 ac_gcsections=yes
83078 else
83079 echo "$as_me: failed program was:" >&5
83080 sed 's/^/| /' conftest.$ac_ext >&5
83082 ac_gcsections=no
83084 rm -f conftest.err conftest.$ac_objext \
83085 conftest$ac_exeext conftest.$ac_ext
83086 if test "$ac_gcsections" = "yes"; then
83087 rm -f conftest.c
83088 touch conftest.c
83089 if $CC -c conftest.c; then
83090 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
83091 grep "Warning: gc-sections option ignored" > /dev/null; then
83092 ac_gcsections=no
83095 rm -f conftest.c conftest.o conftest
83097 if test "$ac_gcsections" = "yes"; then
83098 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83100 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
83101 echo "${ECHO_T}$ac_gcsections" >&6
83103 if test "$ac_test_CFLAGS" = set; then
83104 CFLAGS="$ac_save_CFLAGS"
83105 else
83106 # this is the suspicious part
83107 CFLAGS=''
83111 # Set -z,relro.
83112 # Note this is only for shared objects.
83113 ac_ld_relro=no
83114 if test x"$with_gnu_ld" = x"yes"; then
83115 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
83116 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
83117 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
83118 if test -n "$cxx_z_relo"; then
83119 OPT_LDFLAGS="-Wl,-z,relro"
83120 ac_ld_relro=yes
83122 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
83123 echo "${ECHO_T}$ac_ld_relro" >&6
83126 # Set linker optimization flags.
83127 if test x"$with_gnu_ld" = x"yes"; then
83128 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83136 echo "$as_me:$LINENO: checking for main in -lm" >&5
83137 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83138 if test "${ac_cv_lib_m_main+set}" = set; then
83139 echo $ECHO_N "(cached) $ECHO_C" >&6
83140 else
83141 ac_check_lib_save_LIBS=$LIBS
83142 LIBS="-lm $LIBS"
83143 if test x$gcc_no_link = xyes; then
83144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83146 { (exit 1); exit 1; }; }
83148 cat >conftest.$ac_ext <<_ACEOF
83149 /* confdefs.h. */
83150 _ACEOF
83151 cat confdefs.h >>conftest.$ac_ext
83152 cat >>conftest.$ac_ext <<_ACEOF
83153 /* end confdefs.h. */
83157 main ()
83159 main ();
83161 return 0;
83163 _ACEOF
83164 rm -f conftest.$ac_objext conftest$ac_exeext
83165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83166 (eval $ac_link) 2>conftest.er1
83167 ac_status=$?
83168 grep -v '^ *+' conftest.er1 >conftest.err
83169 rm -f conftest.er1
83170 cat conftest.err >&5
83171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83172 (exit $ac_status); } &&
83173 { ac_try='test -z "$ac_c_werror_flag"
83174 || test ! -s conftest.err'
83175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83176 (eval $ac_try) 2>&5
83177 ac_status=$?
83178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83179 (exit $ac_status); }; } &&
83180 { ac_try='test -s conftest$ac_exeext'
83181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83182 (eval $ac_try) 2>&5
83183 ac_status=$?
83184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83185 (exit $ac_status); }; }; then
83186 ac_cv_lib_m_main=yes
83187 else
83188 echo "$as_me: failed program was:" >&5
83189 sed 's/^/| /' conftest.$ac_ext >&5
83191 ac_cv_lib_m_main=no
83193 rm -f conftest.err conftest.$ac_objext \
83194 conftest$ac_exeext conftest.$ac_ext
83195 LIBS=$ac_check_lib_save_LIBS
83197 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83198 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83199 if test $ac_cv_lib_m_main = yes; then
83200 cat >>confdefs.h <<_ACEOF
83201 #define HAVE_LIBM 1
83202 _ACEOF
83204 LIBS="-lm $LIBS"
83209 for ac_func in copysignf
83211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83212 echo "$as_me:$LINENO: checking for $ac_func" >&5
83213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83214 if eval "test \"\${$as_ac_var+set}\" = set"; then
83215 echo $ECHO_N "(cached) $ECHO_C" >&6
83216 else
83217 if test x$gcc_no_link = xyes; then
83218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83220 { (exit 1); exit 1; }; }
83222 cat >conftest.$ac_ext <<_ACEOF
83223 /* confdefs.h. */
83224 _ACEOF
83225 cat confdefs.h >>conftest.$ac_ext
83226 cat >>conftest.$ac_ext <<_ACEOF
83227 /* end confdefs.h. */
83228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83230 #define $ac_func innocuous_$ac_func
83232 /* System header to define __stub macros and hopefully few prototypes,
83233 which can conflict with char $ac_func (); below.
83234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83235 <limits.h> exists even on freestanding compilers. */
83237 #ifdef __STDC__
83238 # include <limits.h>
83239 #else
83240 # include <assert.h>
83241 #endif
83243 #undef $ac_func
83245 /* Override any gcc2 internal prototype to avoid an error. */
83246 #ifdef __cplusplus
83247 extern "C"
83249 #endif
83250 /* We use char because int might match the return type of a gcc2
83251 builtin and then its argument prototype would still apply. */
83252 char $ac_func ();
83253 /* The GNU C library defines this for functions which it implements
83254 to always fail with ENOSYS. Some functions are actually named
83255 something starting with __ and the normal name is an alias. */
83256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83257 choke me
83258 #else
83259 char (*f) () = $ac_func;
83260 #endif
83261 #ifdef __cplusplus
83263 #endif
83266 main ()
83268 return f != $ac_func;
83270 return 0;
83272 _ACEOF
83273 rm -f conftest.$ac_objext conftest$ac_exeext
83274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83275 (eval $ac_link) 2>conftest.er1
83276 ac_status=$?
83277 grep -v '^ *+' conftest.er1 >conftest.err
83278 rm -f conftest.er1
83279 cat conftest.err >&5
83280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83281 (exit $ac_status); } &&
83282 { ac_try='test -z "$ac_c_werror_flag"
83283 || test ! -s conftest.err'
83284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83285 (eval $ac_try) 2>&5
83286 ac_status=$?
83287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83288 (exit $ac_status); }; } &&
83289 { ac_try='test -s conftest$ac_exeext'
83290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83291 (eval $ac_try) 2>&5
83292 ac_status=$?
83293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83294 (exit $ac_status); }; }; then
83295 eval "$as_ac_var=yes"
83296 else
83297 echo "$as_me: failed program was:" >&5
83298 sed 's/^/| /' conftest.$ac_ext >&5
83300 eval "$as_ac_var=no"
83302 rm -f conftest.err conftest.$ac_objext \
83303 conftest$ac_exeext conftest.$ac_ext
83305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83307 if test `eval echo '${'$as_ac_var'}'` = yes; then
83308 cat >>confdefs.h <<_ACEOF
83309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83310 _ACEOF
83312 else
83313 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83315 done
83319 for ac_func in __signbit
83321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83322 echo "$as_me:$LINENO: checking for $ac_func" >&5
83323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83324 if eval "test \"\${$as_ac_var+set}\" = set"; then
83325 echo $ECHO_N "(cached) $ECHO_C" >&6
83326 else
83327 if test x$gcc_no_link = xyes; then
83328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83330 { (exit 1); exit 1; }; }
83332 cat >conftest.$ac_ext <<_ACEOF
83333 /* confdefs.h. */
83334 _ACEOF
83335 cat confdefs.h >>conftest.$ac_ext
83336 cat >>conftest.$ac_ext <<_ACEOF
83337 /* end confdefs.h. */
83338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83340 #define $ac_func innocuous_$ac_func
83342 /* System header to define __stub macros and hopefully few prototypes,
83343 which can conflict with char $ac_func (); below.
83344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83345 <limits.h> exists even on freestanding compilers. */
83347 #ifdef __STDC__
83348 # include <limits.h>
83349 #else
83350 # include <assert.h>
83351 #endif
83353 #undef $ac_func
83355 /* Override any gcc2 internal prototype to avoid an error. */
83356 #ifdef __cplusplus
83357 extern "C"
83359 #endif
83360 /* We use char because int might match the return type of a gcc2
83361 builtin and then its argument prototype would still apply. */
83362 char $ac_func ();
83363 /* The GNU C library defines this for functions which it implements
83364 to always fail with ENOSYS. Some functions are actually named
83365 something starting with __ and the normal name is an alias. */
83366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83367 choke me
83368 #else
83369 char (*f) () = $ac_func;
83370 #endif
83371 #ifdef __cplusplus
83373 #endif
83376 main ()
83378 return f != $ac_func;
83380 return 0;
83382 _ACEOF
83383 rm -f conftest.$ac_objext conftest$ac_exeext
83384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83385 (eval $ac_link) 2>conftest.er1
83386 ac_status=$?
83387 grep -v '^ *+' conftest.er1 >conftest.err
83388 rm -f conftest.er1
83389 cat conftest.err >&5
83390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83391 (exit $ac_status); } &&
83392 { ac_try='test -z "$ac_c_werror_flag"
83393 || test ! -s conftest.err'
83394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83395 (eval $ac_try) 2>&5
83396 ac_status=$?
83397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83398 (exit $ac_status); }; } &&
83399 { ac_try='test -s conftest$ac_exeext'
83400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83401 (eval $ac_try) 2>&5
83402 ac_status=$?
83403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83404 (exit $ac_status); }; }; then
83405 eval "$as_ac_var=yes"
83406 else
83407 echo "$as_me: failed program was:" >&5
83408 sed 's/^/| /' conftest.$ac_ext >&5
83410 eval "$as_ac_var=no"
83412 rm -f conftest.err conftest.$ac_objext \
83413 conftest$ac_exeext conftest.$ac_ext
83415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83417 if test `eval echo '${'$as_ac_var'}'` = yes; then
83418 cat >>confdefs.h <<_ACEOF
83419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83420 _ACEOF
83422 else
83423 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83425 done
83429 for ac_func in __signbitf
83431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83432 echo "$as_me:$LINENO: checking for $ac_func" >&5
83433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83434 if eval "test \"\${$as_ac_var+set}\" = set"; then
83435 echo $ECHO_N "(cached) $ECHO_C" >&6
83436 else
83437 if test x$gcc_no_link = xyes; then
83438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83440 { (exit 1); exit 1; }; }
83442 cat >conftest.$ac_ext <<_ACEOF
83443 /* confdefs.h. */
83444 _ACEOF
83445 cat confdefs.h >>conftest.$ac_ext
83446 cat >>conftest.$ac_ext <<_ACEOF
83447 /* end confdefs.h. */
83448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83450 #define $ac_func innocuous_$ac_func
83452 /* System header to define __stub macros and hopefully few prototypes,
83453 which can conflict with char $ac_func (); below.
83454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83455 <limits.h> exists even on freestanding compilers. */
83457 #ifdef __STDC__
83458 # include <limits.h>
83459 #else
83460 # include <assert.h>
83461 #endif
83463 #undef $ac_func
83465 /* Override any gcc2 internal prototype to avoid an error. */
83466 #ifdef __cplusplus
83467 extern "C"
83469 #endif
83470 /* We use char because int might match the return type of a gcc2
83471 builtin and then its argument prototype would still apply. */
83472 char $ac_func ();
83473 /* The GNU C library defines this for functions which it implements
83474 to always fail with ENOSYS. Some functions are actually named
83475 something starting with __ and the normal name is an alias. */
83476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83477 choke me
83478 #else
83479 char (*f) () = $ac_func;
83480 #endif
83481 #ifdef __cplusplus
83483 #endif
83486 main ()
83488 return f != $ac_func;
83490 return 0;
83492 _ACEOF
83493 rm -f conftest.$ac_objext conftest$ac_exeext
83494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83495 (eval $ac_link) 2>conftest.er1
83496 ac_status=$?
83497 grep -v '^ *+' conftest.er1 >conftest.err
83498 rm -f conftest.er1
83499 cat conftest.err >&5
83500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83501 (exit $ac_status); } &&
83502 { ac_try='test -z "$ac_c_werror_flag"
83503 || test ! -s conftest.err'
83504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83505 (eval $ac_try) 2>&5
83506 ac_status=$?
83507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83508 (exit $ac_status); }; } &&
83509 { ac_try='test -s conftest$ac_exeext'
83510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83511 (eval $ac_try) 2>&5
83512 ac_status=$?
83513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83514 (exit $ac_status); }; }; then
83515 eval "$as_ac_var=yes"
83516 else
83517 echo "$as_me: failed program was:" >&5
83518 sed 's/^/| /' conftest.$ac_ext >&5
83520 eval "$as_ac_var=no"
83522 rm -f conftest.err conftest.$ac_objext \
83523 conftest$ac_exeext conftest.$ac_ext
83525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83527 if test `eval echo '${'$as_ac_var'}'` = yes; then
83528 cat >>confdefs.h <<_ACEOF
83529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83530 _ACEOF
83532 else
83533 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83535 done
83538 if test x$ac_cv_func_copysignl = x"yes"; then
83540 for ac_func in __signbitl
83542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83543 echo "$as_me:$LINENO: checking for $ac_func" >&5
83544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83545 if eval "test \"\${$as_ac_var+set}\" = set"; then
83546 echo $ECHO_N "(cached) $ECHO_C" >&6
83547 else
83548 if test x$gcc_no_link = xyes; then
83549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83551 { (exit 1); exit 1; }; }
83553 cat >conftest.$ac_ext <<_ACEOF
83554 /* confdefs.h. */
83555 _ACEOF
83556 cat confdefs.h >>conftest.$ac_ext
83557 cat >>conftest.$ac_ext <<_ACEOF
83558 /* end confdefs.h. */
83559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83561 #define $ac_func innocuous_$ac_func
83563 /* System header to define __stub macros and hopefully few prototypes,
83564 which can conflict with char $ac_func (); below.
83565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83566 <limits.h> exists even on freestanding compilers. */
83568 #ifdef __STDC__
83569 # include <limits.h>
83570 #else
83571 # include <assert.h>
83572 #endif
83574 #undef $ac_func
83576 /* Override any gcc2 internal prototype to avoid an error. */
83577 #ifdef __cplusplus
83578 extern "C"
83580 #endif
83581 /* We use char because int might match the return type of a gcc2
83582 builtin and then its argument prototype would still apply. */
83583 char $ac_func ();
83584 /* The GNU C library defines this for functions which it implements
83585 to always fail with ENOSYS. Some functions are actually named
83586 something starting with __ and the normal name is an alias. */
83587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83588 choke me
83589 #else
83590 char (*f) () = $ac_func;
83591 #endif
83592 #ifdef __cplusplus
83594 #endif
83597 main ()
83599 return f != $ac_func;
83601 return 0;
83603 _ACEOF
83604 rm -f conftest.$ac_objext conftest$ac_exeext
83605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83606 (eval $ac_link) 2>conftest.er1
83607 ac_status=$?
83608 grep -v '^ *+' conftest.er1 >conftest.err
83609 rm -f conftest.er1
83610 cat conftest.err >&5
83611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83612 (exit $ac_status); } &&
83613 { ac_try='test -z "$ac_c_werror_flag"
83614 || test ! -s conftest.err'
83615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83616 (eval $ac_try) 2>&5
83617 ac_status=$?
83618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83619 (exit $ac_status); }; } &&
83620 { ac_try='test -s conftest$ac_exeext'
83621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83622 (eval $ac_try) 2>&5
83623 ac_status=$?
83624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83625 (exit $ac_status); }; }; then
83626 eval "$as_ac_var=yes"
83627 else
83628 echo "$as_me: failed program was:" >&5
83629 sed 's/^/| /' conftest.$ac_ext >&5
83631 eval "$as_ac_var=no"
83633 rm -f conftest.err conftest.$ac_objext \
83634 conftest$ac_exeext conftest.$ac_ext
83636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83638 if test `eval echo '${'$as_ac_var'}'` = yes; then
83639 cat >>confdefs.h <<_ACEOF
83640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83641 _ACEOF
83643 else
83644 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83646 done
83650 # Used in libmath/Makefile.am.
83651 if test -n "$LIBMATHOBJS"; then
83652 need_libmath=yes
83658 enable_iconv=no
83659 # Only continue checking if the ISO C99 headers exist and support is on.
83660 if test x"$enable_wchar_t" = xyes; then
83662 # Use iconv for wchar_t to char conversions. As such, check for
83663 # X/Open Portability Guide, version 2 features (XPG2).
83664 if test "${ac_cv_header_iconv_h+set}" = set; then
83665 echo "$as_me:$LINENO: checking for iconv.h" >&5
83666 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83667 if test "${ac_cv_header_iconv_h+set}" = set; then
83668 echo $ECHO_N "(cached) $ECHO_C" >&6
83670 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83671 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83672 else
83673 # Is the header compilable?
83674 echo "$as_me:$LINENO: checking iconv.h usability" >&5
83675 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
83676 cat >conftest.$ac_ext <<_ACEOF
83677 /* confdefs.h. */
83678 _ACEOF
83679 cat confdefs.h >>conftest.$ac_ext
83680 cat >>conftest.$ac_ext <<_ACEOF
83681 /* end confdefs.h. */
83682 $ac_includes_default
83683 #include <iconv.h>
83684 _ACEOF
83685 rm -f conftest.$ac_objext
83686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83687 (eval $ac_compile) 2>conftest.er1
83688 ac_status=$?
83689 grep -v '^ *+' conftest.er1 >conftest.err
83690 rm -f conftest.er1
83691 cat conftest.err >&5
83692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83693 (exit $ac_status); } &&
83694 { ac_try='test -z "$ac_c_werror_flag"
83695 || test ! -s conftest.err'
83696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83697 (eval $ac_try) 2>&5
83698 ac_status=$?
83699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83700 (exit $ac_status); }; } &&
83701 { ac_try='test -s conftest.$ac_objext'
83702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83703 (eval $ac_try) 2>&5
83704 ac_status=$?
83705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83706 (exit $ac_status); }; }; then
83707 ac_header_compiler=yes
83708 else
83709 echo "$as_me: failed program was:" >&5
83710 sed 's/^/| /' conftest.$ac_ext >&5
83712 ac_header_compiler=no
83714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83716 echo "${ECHO_T}$ac_header_compiler" >&6
83718 # Is the header present?
83719 echo "$as_me:$LINENO: checking iconv.h presence" >&5
83720 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
83721 cat >conftest.$ac_ext <<_ACEOF
83722 /* confdefs.h. */
83723 _ACEOF
83724 cat confdefs.h >>conftest.$ac_ext
83725 cat >>conftest.$ac_ext <<_ACEOF
83726 /* end confdefs.h. */
83727 #include <iconv.h>
83728 _ACEOF
83729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83731 ac_status=$?
83732 grep -v '^ *+' conftest.er1 >conftest.err
83733 rm -f conftest.er1
83734 cat conftest.err >&5
83735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83736 (exit $ac_status); } >/dev/null; then
83737 if test -s conftest.err; then
83738 ac_cpp_err=$ac_c_preproc_warn_flag
83739 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83740 else
83741 ac_cpp_err=
83743 else
83744 ac_cpp_err=yes
83746 if test -z "$ac_cpp_err"; then
83747 ac_header_preproc=yes
83748 else
83749 echo "$as_me: failed program was:" >&5
83750 sed 's/^/| /' conftest.$ac_ext >&5
83752 ac_header_preproc=no
83754 rm -f conftest.err conftest.$ac_ext
83755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83756 echo "${ECHO_T}$ac_header_preproc" >&6
83758 # So? What about this header?
83759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83760 yes:no: )
83761 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
83762 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83763 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
83764 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
83765 ac_header_preproc=yes
83767 no:yes:* )
83768 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
83769 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
83770 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
83771 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
83772 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
83773 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
83774 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
83775 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
83776 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
83777 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
83778 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
83779 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
83781 cat <<\_ASBOX
83782 ## ----------------------------------------- ##
83783 ## Report this to the package-unused lists. ##
83784 ## ----------------------------------------- ##
83785 _ASBOX
83787 sed "s/^/$as_me: WARNING: /" >&2
83789 esac
83790 echo "$as_me:$LINENO: checking for iconv.h" >&5
83791 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83792 if test "${ac_cv_header_iconv_h+set}" = set; then
83793 echo $ECHO_N "(cached) $ECHO_C" >&6
83794 else
83795 ac_cv_header_iconv_h=$ac_header_preproc
83797 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83798 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83801 if test $ac_cv_header_iconv_h = yes; then
83802 ac_has_iconv_h=yes
83803 else
83804 ac_has_iconv_h=no
83808 if test "${ac_cv_header_langinfo_h+set}" = set; then
83809 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83810 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83811 if test "${ac_cv_header_langinfo_h+set}" = set; then
83812 echo $ECHO_N "(cached) $ECHO_C" >&6
83814 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83815 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83816 else
83817 # Is the header compilable?
83818 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
83819 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
83820 cat >conftest.$ac_ext <<_ACEOF
83821 /* confdefs.h. */
83822 _ACEOF
83823 cat confdefs.h >>conftest.$ac_ext
83824 cat >>conftest.$ac_ext <<_ACEOF
83825 /* end confdefs.h. */
83826 $ac_includes_default
83827 #include <langinfo.h>
83828 _ACEOF
83829 rm -f conftest.$ac_objext
83830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83831 (eval $ac_compile) 2>conftest.er1
83832 ac_status=$?
83833 grep -v '^ *+' conftest.er1 >conftest.err
83834 rm -f conftest.er1
83835 cat conftest.err >&5
83836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83837 (exit $ac_status); } &&
83838 { ac_try='test -z "$ac_c_werror_flag"
83839 || test ! -s conftest.err'
83840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83841 (eval $ac_try) 2>&5
83842 ac_status=$?
83843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83844 (exit $ac_status); }; } &&
83845 { ac_try='test -s conftest.$ac_objext'
83846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83847 (eval $ac_try) 2>&5
83848 ac_status=$?
83849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83850 (exit $ac_status); }; }; then
83851 ac_header_compiler=yes
83852 else
83853 echo "$as_me: failed program was:" >&5
83854 sed 's/^/| /' conftest.$ac_ext >&5
83856 ac_header_compiler=no
83858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83860 echo "${ECHO_T}$ac_header_compiler" >&6
83862 # Is the header present?
83863 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
83864 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
83865 cat >conftest.$ac_ext <<_ACEOF
83866 /* confdefs.h. */
83867 _ACEOF
83868 cat confdefs.h >>conftest.$ac_ext
83869 cat >>conftest.$ac_ext <<_ACEOF
83870 /* end confdefs.h. */
83871 #include <langinfo.h>
83872 _ACEOF
83873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83875 ac_status=$?
83876 grep -v '^ *+' conftest.er1 >conftest.err
83877 rm -f conftest.er1
83878 cat conftest.err >&5
83879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83880 (exit $ac_status); } >/dev/null; then
83881 if test -s conftest.err; then
83882 ac_cpp_err=$ac_c_preproc_warn_flag
83883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83884 else
83885 ac_cpp_err=
83887 else
83888 ac_cpp_err=yes
83890 if test -z "$ac_cpp_err"; then
83891 ac_header_preproc=yes
83892 else
83893 echo "$as_me: failed program was:" >&5
83894 sed 's/^/| /' conftest.$ac_ext >&5
83896 ac_header_preproc=no
83898 rm -f conftest.err conftest.$ac_ext
83899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83900 echo "${ECHO_T}$ac_header_preproc" >&6
83902 # So? What about this header?
83903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83904 yes:no: )
83905 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
83906 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83907 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
83908 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
83909 ac_header_preproc=yes
83911 no:yes:* )
83912 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
83913 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
83914 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
83915 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
83916 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
83917 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
83918 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
83919 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
83920 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
83921 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
83922 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
83923 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
83925 cat <<\_ASBOX
83926 ## ----------------------------------------- ##
83927 ## Report this to the package-unused lists. ##
83928 ## ----------------------------------------- ##
83929 _ASBOX
83931 sed "s/^/$as_me: WARNING: /" >&2
83933 esac
83934 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83935 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83936 if test "${ac_cv_header_langinfo_h+set}" = set; then
83937 echo $ECHO_N "(cached) $ECHO_C" >&6
83938 else
83939 ac_cv_header_langinfo_h=$ac_header_preproc
83941 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83942 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83945 if test $ac_cv_header_langinfo_h = yes; then
83946 ac_has_langinfo_h=yes
83947 else
83948 ac_has_langinfo_h=no
83953 # Check for existence of libiconv.a providing XPG2 wchar_t support.
83954 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
83955 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
83956 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
83957 echo $ECHO_N "(cached) $ECHO_C" >&6
83958 else
83959 ac_check_lib_save_LIBS=$LIBS
83960 LIBS="-liconv $LIBS"
83961 if test x$gcc_no_link = xyes; then
83962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83964 { (exit 1); exit 1; }; }
83966 cat >conftest.$ac_ext <<_ACEOF
83967 /* confdefs.h. */
83968 _ACEOF
83969 cat confdefs.h >>conftest.$ac_ext
83970 cat >>conftest.$ac_ext <<_ACEOF
83971 /* end confdefs.h. */
83973 /* Override any gcc2 internal prototype to avoid an error. */
83974 #ifdef __cplusplus
83975 extern "C"
83976 #endif
83977 /* We use char because int might match the return type of a gcc2
83978 builtin and then its argument prototype would still apply. */
83979 char iconv ();
83981 main ()
83983 iconv ();
83985 return 0;
83987 _ACEOF
83988 rm -f conftest.$ac_objext conftest$ac_exeext
83989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83990 (eval $ac_link) 2>conftest.er1
83991 ac_status=$?
83992 grep -v '^ *+' conftest.er1 >conftest.err
83993 rm -f conftest.er1
83994 cat conftest.err >&5
83995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83996 (exit $ac_status); } &&
83997 { ac_try='test -z "$ac_c_werror_flag"
83998 || test ! -s conftest.err'
83999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84000 (eval $ac_try) 2>&5
84001 ac_status=$?
84002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84003 (exit $ac_status); }; } &&
84004 { ac_try='test -s conftest$ac_exeext'
84005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84006 (eval $ac_try) 2>&5
84007 ac_status=$?
84008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84009 (exit $ac_status); }; }; then
84010 ac_cv_lib_iconv_iconv=yes
84011 else
84012 echo "$as_me: failed program was:" >&5
84013 sed 's/^/| /' conftest.$ac_ext >&5
84015 ac_cv_lib_iconv_iconv=no
84017 rm -f conftest.err conftest.$ac_objext \
84018 conftest$ac_exeext conftest.$ac_ext
84019 LIBS=$ac_check_lib_save_LIBS
84021 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84022 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84023 if test $ac_cv_lib_iconv_iconv = yes; then
84024 LIBICONV="-liconv"
84027 ac_save_LIBS="$LIBS"
84028 LIBS="$LIBS $LIBICONV"
84035 for ac_func in iconv_open iconv_close iconv nl_langinfo
84037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84038 echo "$as_me:$LINENO: checking for $ac_func" >&5
84039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84040 if eval "test \"\${$as_ac_var+set}\" = set"; then
84041 echo $ECHO_N "(cached) $ECHO_C" >&6
84042 else
84043 if test x$gcc_no_link = xyes; then
84044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84046 { (exit 1); exit 1; }; }
84048 cat >conftest.$ac_ext <<_ACEOF
84049 /* confdefs.h. */
84050 _ACEOF
84051 cat confdefs.h >>conftest.$ac_ext
84052 cat >>conftest.$ac_ext <<_ACEOF
84053 /* end confdefs.h. */
84054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84056 #define $ac_func innocuous_$ac_func
84058 /* System header to define __stub macros and hopefully few prototypes,
84059 which can conflict with char $ac_func (); below.
84060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84061 <limits.h> exists even on freestanding compilers. */
84063 #ifdef __STDC__
84064 # include <limits.h>
84065 #else
84066 # include <assert.h>
84067 #endif
84069 #undef $ac_func
84071 /* Override any gcc2 internal prototype to avoid an error. */
84072 #ifdef __cplusplus
84073 extern "C"
84075 #endif
84076 /* We use char because int might match the return type of a gcc2
84077 builtin and then its argument prototype would still apply. */
84078 char $ac_func ();
84079 /* The GNU C library defines this for functions which it implements
84080 to always fail with ENOSYS. Some functions are actually named
84081 something starting with __ and the normal name is an alias. */
84082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84083 choke me
84084 #else
84085 char (*f) () = $ac_func;
84086 #endif
84087 #ifdef __cplusplus
84089 #endif
84092 main ()
84094 return f != $ac_func;
84096 return 0;
84098 _ACEOF
84099 rm -f conftest.$ac_objext conftest$ac_exeext
84100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84101 (eval $ac_link) 2>conftest.er1
84102 ac_status=$?
84103 grep -v '^ *+' conftest.er1 >conftest.err
84104 rm -f conftest.er1
84105 cat conftest.err >&5
84106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84107 (exit $ac_status); } &&
84108 { ac_try='test -z "$ac_c_werror_flag"
84109 || test ! -s conftest.err'
84110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84111 (eval $ac_try) 2>&5
84112 ac_status=$?
84113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84114 (exit $ac_status); }; } &&
84115 { ac_try='test -s conftest$ac_exeext'
84116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84117 (eval $ac_try) 2>&5
84118 ac_status=$?
84119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84120 (exit $ac_status); }; }; then
84121 eval "$as_ac_var=yes"
84122 else
84123 echo "$as_me: failed program was:" >&5
84124 sed 's/^/| /' conftest.$ac_ext >&5
84126 eval "$as_ac_var=no"
84128 rm -f conftest.err conftest.$ac_objext \
84129 conftest$ac_exeext conftest.$ac_ext
84131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84133 if test `eval echo '${'$as_ac_var'}'` = yes; then
84134 cat >>confdefs.h <<_ACEOF
84135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84136 _ACEOF
84137 ac_XPG2funcs=yes
84138 else
84139 ac_XPG2funcs=no
84141 done
84144 LIBS="$ac_save_LIBS"
84146 if test x"$ac_has_iconv_h" = xyes &&
84147 test x"$ac_has_langinfo_h" = xyes &&
84148 test x"$ac_XPG2funcs" = xyes;
84149 then
84151 cat >>confdefs.h <<\_ACEOF
84152 #define _GLIBCXX_USE_ICONV 1
84153 _ACEOF
84155 enable_iconv=yes
84158 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84159 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84160 echo "$as_me:$LINENO: result: $enable_iconv" >&5
84161 echo "${ECHO_T}$enable_iconv" >&6
84163 cat >>confdefs.h <<\_ACEOF
84164 #define HAVE_HYPOT 1
84165 _ACEOF
84167 cat >>confdefs.h <<\_ACEOF
84168 #define HAVE_ISINF 1
84169 _ACEOF
84171 cat >>confdefs.h <<\_ACEOF
84172 #define HAVE_ISNAN 1
84173 _ACEOF
84176 # For showmanyc_helper().
84179 for ac_header in sys/ioctl.h sys/filio.h
84181 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84183 echo "$as_me:$LINENO: checking for $ac_header" >&5
84184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84186 echo $ECHO_N "(cached) $ECHO_C" >&6
84188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84190 else
84191 # Is the header compilable?
84192 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84194 cat >conftest.$ac_ext <<_ACEOF
84195 /* confdefs.h. */
84196 _ACEOF
84197 cat confdefs.h >>conftest.$ac_ext
84198 cat >>conftest.$ac_ext <<_ACEOF
84199 /* end confdefs.h. */
84200 $ac_includes_default
84201 #include <$ac_header>
84202 _ACEOF
84203 rm -f conftest.$ac_objext
84204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84205 (eval $ac_compile) 2>conftest.er1
84206 ac_status=$?
84207 grep -v '^ *+' conftest.er1 >conftest.err
84208 rm -f conftest.er1
84209 cat conftest.err >&5
84210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84211 (exit $ac_status); } &&
84212 { ac_try='test -z "$ac_c_werror_flag"
84213 || test ! -s conftest.err'
84214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84215 (eval $ac_try) 2>&5
84216 ac_status=$?
84217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84218 (exit $ac_status); }; } &&
84219 { ac_try='test -s conftest.$ac_objext'
84220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84221 (eval $ac_try) 2>&5
84222 ac_status=$?
84223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84224 (exit $ac_status); }; }; then
84225 ac_header_compiler=yes
84226 else
84227 echo "$as_me: failed program was:" >&5
84228 sed 's/^/| /' conftest.$ac_ext >&5
84230 ac_header_compiler=no
84232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84234 echo "${ECHO_T}$ac_header_compiler" >&6
84236 # Is the header present?
84237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84239 cat >conftest.$ac_ext <<_ACEOF
84240 /* confdefs.h. */
84241 _ACEOF
84242 cat confdefs.h >>conftest.$ac_ext
84243 cat >>conftest.$ac_ext <<_ACEOF
84244 /* end confdefs.h. */
84245 #include <$ac_header>
84246 _ACEOF
84247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84249 ac_status=$?
84250 grep -v '^ *+' conftest.er1 >conftest.err
84251 rm -f conftest.er1
84252 cat conftest.err >&5
84253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84254 (exit $ac_status); } >/dev/null; then
84255 if test -s conftest.err; then
84256 ac_cpp_err=$ac_c_preproc_warn_flag
84257 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84258 else
84259 ac_cpp_err=
84261 else
84262 ac_cpp_err=yes
84264 if test -z "$ac_cpp_err"; then
84265 ac_header_preproc=yes
84266 else
84267 echo "$as_me: failed program was:" >&5
84268 sed 's/^/| /' conftest.$ac_ext >&5
84270 ac_header_preproc=no
84272 rm -f conftest.err conftest.$ac_ext
84273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84274 echo "${ECHO_T}$ac_header_preproc" >&6
84276 # So? What about this header?
84277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84278 yes:no: )
84279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84282 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84283 ac_header_preproc=yes
84285 no:yes:* )
84286 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84287 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84288 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84289 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84290 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84291 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84292 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84293 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84296 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84297 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84299 cat <<\_ASBOX
84300 ## ----------------------------------------- ##
84301 ## Report this to the package-unused lists. ##
84302 ## ----------------------------------------- ##
84303 _ASBOX
84305 sed "s/^/$as_me: WARNING: /" >&2
84307 esac
84308 echo "$as_me:$LINENO: checking for $ac_header" >&5
84309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84311 echo $ECHO_N "(cached) $ECHO_C" >&6
84312 else
84313 eval "$as_ac_Header=\$ac_header_preproc"
84315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84320 cat >>confdefs.h <<_ACEOF
84321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84322 _ACEOF
84326 done
84329 echo "$as_me:$LINENO: checking for poll" >&5
84330 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84331 if test "${glibcxx_cv_POLL+set}" = set; then
84332 echo $ECHO_N "(cached) $ECHO_C" >&6
84333 else
84335 if test x$gcc_no_link = xyes; then
84336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84338 { (exit 1); exit 1; }; }
84340 cat >conftest.$ac_ext <<_ACEOF
84341 /* confdefs.h. */
84342 _ACEOF
84343 cat confdefs.h >>conftest.$ac_ext
84344 cat >>conftest.$ac_ext <<_ACEOF
84345 /* end confdefs.h. */
84346 #include <poll.h>
84348 main ()
84350 struct pollfd pfd[1];
84351 pfd[0].events = POLLIN;
84352 poll(pfd, 1, 0);
84354 return 0;
84356 _ACEOF
84357 rm -f conftest.$ac_objext conftest$ac_exeext
84358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84359 (eval $ac_link) 2>conftest.er1
84360 ac_status=$?
84361 grep -v '^ *+' conftest.er1 >conftest.err
84362 rm -f conftest.er1
84363 cat conftest.err >&5
84364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84365 (exit $ac_status); } &&
84366 { ac_try='test -z "$ac_c_werror_flag"
84367 || test ! -s conftest.err'
84368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84369 (eval $ac_try) 2>&5
84370 ac_status=$?
84371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84372 (exit $ac_status); }; } &&
84373 { ac_try='test -s conftest$ac_exeext'
84374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84375 (eval $ac_try) 2>&5
84376 ac_status=$?
84377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84378 (exit $ac_status); }; }; then
84379 glibcxx_cv_POLL=yes
84380 else
84381 echo "$as_me: failed program was:" >&5
84382 sed 's/^/| /' conftest.$ac_ext >&5
84384 glibcxx_cv_POLL=no
84386 rm -f conftest.err conftest.$ac_objext \
84387 conftest$ac_exeext conftest.$ac_ext
84391 if test $glibcxx_cv_POLL = yes; then
84393 cat >>confdefs.h <<\_ACEOF
84394 #define HAVE_POLL 1
84395 _ACEOF
84398 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84399 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84402 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84403 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84404 if test "${glibcxx_cv_S_ISREG+set}" = set; then
84405 echo $ECHO_N "(cached) $ECHO_C" >&6
84406 else
84408 if test x$gcc_no_link = xyes; then
84409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84411 { (exit 1); exit 1; }; }
84413 cat >conftest.$ac_ext <<_ACEOF
84414 /* confdefs.h. */
84415 _ACEOF
84416 cat confdefs.h >>conftest.$ac_ext
84417 cat >>conftest.$ac_ext <<_ACEOF
84418 /* end confdefs.h. */
84419 #include <sys/stat.h>
84421 main ()
84423 struct stat buffer;
84424 fstat(0, &buffer);
84425 S_ISREG(buffer.st_mode);
84427 return 0;
84429 _ACEOF
84430 rm -f conftest.$ac_objext conftest$ac_exeext
84431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84432 (eval $ac_link) 2>conftest.er1
84433 ac_status=$?
84434 grep -v '^ *+' conftest.er1 >conftest.err
84435 rm -f conftest.er1
84436 cat conftest.err >&5
84437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84438 (exit $ac_status); } &&
84439 { ac_try='test -z "$ac_c_werror_flag"
84440 || test ! -s conftest.err'
84441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84442 (eval $ac_try) 2>&5
84443 ac_status=$?
84444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84445 (exit $ac_status); }; } &&
84446 { ac_try='test -s conftest$ac_exeext'
84447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84448 (eval $ac_try) 2>&5
84449 ac_status=$?
84450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84451 (exit $ac_status); }; }; then
84452 glibcxx_cv_S_ISREG=yes
84453 else
84454 echo "$as_me: failed program was:" >&5
84455 sed 's/^/| /' conftest.$ac_ext >&5
84457 glibcxx_cv_S_ISREG=no
84459 rm -f conftest.err conftest.$ac_objext \
84460 conftest$ac_exeext conftest.$ac_ext
84464 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84465 echo $ECHO_N "(cached) $ECHO_C" >&6
84466 else
84468 if test x$gcc_no_link = xyes; then
84469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84471 { (exit 1); exit 1; }; }
84473 cat >conftest.$ac_ext <<_ACEOF
84474 /* confdefs.h. */
84475 _ACEOF
84476 cat confdefs.h >>conftest.$ac_ext
84477 cat >>conftest.$ac_ext <<_ACEOF
84478 /* end confdefs.h. */
84479 #include <sys/stat.h>
84481 main ()
84483 struct stat buffer;
84484 fstat(0, &buffer);
84485 S_IFREG & buffer.st_mode;
84487 return 0;
84489 _ACEOF
84490 rm -f conftest.$ac_objext conftest$ac_exeext
84491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84492 (eval $ac_link) 2>conftest.er1
84493 ac_status=$?
84494 grep -v '^ *+' conftest.er1 >conftest.err
84495 rm -f conftest.er1
84496 cat conftest.err >&5
84497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84498 (exit $ac_status); } &&
84499 { ac_try='test -z "$ac_c_werror_flag"
84500 || test ! -s conftest.err'
84501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84502 (eval $ac_try) 2>&5
84503 ac_status=$?
84504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84505 (exit $ac_status); }; } &&
84506 { ac_try='test -s conftest$ac_exeext'
84507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84508 (eval $ac_try) 2>&5
84509 ac_status=$?
84510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84511 (exit $ac_status); }; }; then
84512 glibcxx_cv_S_IFREG=yes
84513 else
84514 echo "$as_me: failed program was:" >&5
84515 sed 's/^/| /' conftest.$ac_ext >&5
84517 glibcxx_cv_S_IFREG=no
84519 rm -f conftest.err conftest.$ac_objext \
84520 conftest$ac_exeext conftest.$ac_ext
84524 res=no
84525 if test $glibcxx_cv_S_ISREG = yes; then
84527 cat >>confdefs.h <<\_ACEOF
84528 #define HAVE_S_ISREG 1
84529 _ACEOF
84531 res=S_ISREG
84532 elif test $glibcxx_cv_S_IFREG = yes; then
84534 cat >>confdefs.h <<\_ACEOF
84535 #define HAVE_S_IFREG 1
84536 _ACEOF
84538 res=S_IFREG
84540 echo "$as_me:$LINENO: result: $res" >&5
84541 echo "${ECHO_T}$res" >&6
84544 # For xsputn_2().
84546 for ac_header in sys/uio.h
84548 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84550 echo "$as_me:$LINENO: checking for $ac_header" >&5
84551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84553 echo $ECHO_N "(cached) $ECHO_C" >&6
84555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84557 else
84558 # Is the header compilable?
84559 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84560 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84561 cat >conftest.$ac_ext <<_ACEOF
84562 /* confdefs.h. */
84563 _ACEOF
84564 cat confdefs.h >>conftest.$ac_ext
84565 cat >>conftest.$ac_ext <<_ACEOF
84566 /* end confdefs.h. */
84567 $ac_includes_default
84568 #include <$ac_header>
84569 _ACEOF
84570 rm -f conftest.$ac_objext
84571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84572 (eval $ac_compile) 2>conftest.er1
84573 ac_status=$?
84574 grep -v '^ *+' conftest.er1 >conftest.err
84575 rm -f conftest.er1
84576 cat conftest.err >&5
84577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84578 (exit $ac_status); } &&
84579 { ac_try='test -z "$ac_c_werror_flag"
84580 || test ! -s conftest.err'
84581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84582 (eval $ac_try) 2>&5
84583 ac_status=$?
84584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84585 (exit $ac_status); }; } &&
84586 { ac_try='test -s conftest.$ac_objext'
84587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84588 (eval $ac_try) 2>&5
84589 ac_status=$?
84590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84591 (exit $ac_status); }; }; then
84592 ac_header_compiler=yes
84593 else
84594 echo "$as_me: failed program was:" >&5
84595 sed 's/^/| /' conftest.$ac_ext >&5
84597 ac_header_compiler=no
84599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84601 echo "${ECHO_T}$ac_header_compiler" >&6
84603 # Is the header present?
84604 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84605 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84606 cat >conftest.$ac_ext <<_ACEOF
84607 /* confdefs.h. */
84608 _ACEOF
84609 cat confdefs.h >>conftest.$ac_ext
84610 cat >>conftest.$ac_ext <<_ACEOF
84611 /* end confdefs.h. */
84612 #include <$ac_header>
84613 _ACEOF
84614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84615 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84616 ac_status=$?
84617 grep -v '^ *+' conftest.er1 >conftest.err
84618 rm -f conftest.er1
84619 cat conftest.err >&5
84620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84621 (exit $ac_status); } >/dev/null; then
84622 if test -s conftest.err; then
84623 ac_cpp_err=$ac_c_preproc_warn_flag
84624 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84625 else
84626 ac_cpp_err=
84628 else
84629 ac_cpp_err=yes
84631 if test -z "$ac_cpp_err"; then
84632 ac_header_preproc=yes
84633 else
84634 echo "$as_me: failed program was:" >&5
84635 sed 's/^/| /' conftest.$ac_ext >&5
84637 ac_header_preproc=no
84639 rm -f conftest.err conftest.$ac_ext
84640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84641 echo "${ECHO_T}$ac_header_preproc" >&6
84643 # So? What about this header?
84644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84645 yes:no: )
84646 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84647 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84649 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84650 ac_header_preproc=yes
84652 no:yes:* )
84653 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84654 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84655 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84656 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84657 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84658 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84659 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84660 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84661 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84663 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84666 cat <<\_ASBOX
84667 ## ----------------------------------------- ##
84668 ## Report this to the package-unused lists. ##
84669 ## ----------------------------------------- ##
84670 _ASBOX
84672 sed "s/^/$as_me: WARNING: /" >&2
84674 esac
84675 echo "$as_me:$LINENO: checking for $ac_header" >&5
84676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84678 echo $ECHO_N "(cached) $ECHO_C" >&6
84679 else
84680 eval "$as_ac_Header=\$ac_header_preproc"
84682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84687 cat >>confdefs.h <<_ACEOF
84688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84689 _ACEOF
84693 done
84696 echo "$as_me:$LINENO: checking for writev" >&5
84697 echo $ECHO_N "checking for writev... $ECHO_C" >&6
84698 if test "${glibcxx_cv_WRITEV+set}" = set; then
84699 echo $ECHO_N "(cached) $ECHO_C" >&6
84700 else
84702 if test x$gcc_no_link = xyes; then
84703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84705 { (exit 1); exit 1; }; }
84707 cat >conftest.$ac_ext <<_ACEOF
84708 /* confdefs.h. */
84709 _ACEOF
84710 cat confdefs.h >>conftest.$ac_ext
84711 cat >>conftest.$ac_ext <<_ACEOF
84712 /* end confdefs.h. */
84713 #include <sys/uio.h>
84715 main ()
84717 struct iovec iov[2];
84718 writev(0, iov, 0);
84720 return 0;
84722 _ACEOF
84723 rm -f conftest.$ac_objext conftest$ac_exeext
84724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84725 (eval $ac_link) 2>conftest.er1
84726 ac_status=$?
84727 grep -v '^ *+' conftest.er1 >conftest.err
84728 rm -f conftest.er1
84729 cat conftest.err >&5
84730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84731 (exit $ac_status); } &&
84732 { ac_try='test -z "$ac_c_werror_flag"
84733 || test ! -s conftest.err'
84734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84735 (eval $ac_try) 2>&5
84736 ac_status=$?
84737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84738 (exit $ac_status); }; } &&
84739 { ac_try='test -s conftest$ac_exeext'
84740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84741 (eval $ac_try) 2>&5
84742 ac_status=$?
84743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84744 (exit $ac_status); }; }; then
84745 glibcxx_cv_WRITEV=yes
84746 else
84747 echo "$as_me: failed program was:" >&5
84748 sed 's/^/| /' conftest.$ac_ext >&5
84750 glibcxx_cv_WRITEV=no
84752 rm -f conftest.err conftest.$ac_objext \
84753 conftest$ac_exeext conftest.$ac_ext
84757 if test $glibcxx_cv_WRITEV = yes; then
84759 cat >>confdefs.h <<\_ACEOF
84760 #define HAVE_WRITEV 1
84761 _ACEOF
84764 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
84765 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
84768 *-qnx6.1* | *-qnx6.2*)
84769 SECTION_FLAGS='-ffunction-sections -fdata-sections'
84772 # If we're not using GNU ld, then there's no point in even trying these
84773 # tests. Check for that first. We should have already tested for gld
84774 # by now (in libtool), but require it now just to be safe...
84775 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
84776 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
84780 # The name set by libtool depends on the version of libtool. Shame on us
84781 # for depending on an impl detail, but c'est la vie. Older versions used
84782 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
84783 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
84784 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
84785 # set (hence we're using an older libtool), then set it.
84786 if test x${with_gnu_ld+set} != xset; then
84787 if test x${ac_cv_prog_gnu_ld+set} != xset; then
84788 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
84789 with_gnu_ld=no
84790 else
84791 with_gnu_ld=$ac_cv_prog_gnu_ld
84795 # Start by getting the version number. I think the libtool test already
84796 # does some of this, but throws away the result.
84797 echo "$as_me:$LINENO: checking for ld version" >&5
84798 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
84800 ldver=`$LD --version 2>/dev/null | head -1 | \
84801 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
84803 glibcxx_gnu_ld_version=`echo $ldver | \
84804 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
84805 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
84806 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
84808 # Set --gc-sections.
84809 glibcxx_gcsections_min_ld=21602
84810 if test x"$with_gnu_ld" = x"yes" &&
84811 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
84813 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
84814 # NB: This flag only works reliably after 2.16.1. Configure tests
84815 # for this are difficult, so hard wire a value that should work.
84817 # All these tests are for C++, but run with the "C" compiler driver.
84818 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
84819 ac_test_CFLAGS="${CFLAGS+set}"
84820 ac_save_CFLAGS="$CFLAGS"
84821 CFLAGS='-x c++ -Wl,--gc-sections'
84823 # Check for -Wl,--gc-sections
84824 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
84825 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
84826 if test x$gcc_no_link = xyes; then
84827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84829 { (exit 1); exit 1; }; }
84831 cat >conftest.$ac_ext <<_ACEOF
84832 /* confdefs.h. */
84833 _ACEOF
84834 cat confdefs.h >>conftest.$ac_ext
84835 cat >>conftest.$ac_ext <<_ACEOF
84836 /* end confdefs.h. */
84837 int one(void) { return 1; }
84838 int two(void) { return 2; }
84841 main ()
84843 two();
84845 return 0;
84847 _ACEOF
84848 rm -f conftest.$ac_objext conftest$ac_exeext
84849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84850 (eval $ac_link) 2>conftest.er1
84851 ac_status=$?
84852 grep -v '^ *+' conftest.er1 >conftest.err
84853 rm -f conftest.er1
84854 cat conftest.err >&5
84855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84856 (exit $ac_status); } &&
84857 { ac_try='test -z "$ac_c_werror_flag"
84858 || test ! -s conftest.err'
84859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84860 (eval $ac_try) 2>&5
84861 ac_status=$?
84862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84863 (exit $ac_status); }; } &&
84864 { ac_try='test -s conftest$ac_exeext'
84865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84866 (eval $ac_try) 2>&5
84867 ac_status=$?
84868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84869 (exit $ac_status); }; }; then
84870 ac_gcsections=yes
84871 else
84872 echo "$as_me: failed program was:" >&5
84873 sed 's/^/| /' conftest.$ac_ext >&5
84875 ac_gcsections=no
84877 rm -f conftest.err conftest.$ac_objext \
84878 conftest$ac_exeext conftest.$ac_ext
84879 if test "$ac_gcsections" = "yes"; then
84880 rm -f conftest.c
84881 touch conftest.c
84882 if $CC -c conftest.c; then
84883 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
84884 grep "Warning: gc-sections option ignored" > /dev/null; then
84885 ac_gcsections=no
84888 rm -f conftest.c conftest.o conftest
84890 if test "$ac_gcsections" = "yes"; then
84891 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
84893 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
84894 echo "${ECHO_T}$ac_gcsections" >&6
84896 if test "$ac_test_CFLAGS" = set; then
84897 CFLAGS="$ac_save_CFLAGS"
84898 else
84899 # this is the suspicious part
84900 CFLAGS=''
84904 # Set -z,relro.
84905 # Note this is only for shared objects.
84906 ac_ld_relro=no
84907 if test x"$with_gnu_ld" = x"yes"; then
84908 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
84909 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
84910 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
84911 if test -n "$cxx_z_relo"; then
84912 OPT_LDFLAGS="-Wl,-z,relro"
84913 ac_ld_relro=yes
84915 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
84916 echo "${ECHO_T}$ac_ld_relro" >&6
84919 # Set linker optimization flags.
84920 if test x"$with_gnu_ld" = x"yes"; then
84921 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
84929 echo "$as_me:$LINENO: checking for main in -lm" >&5
84930 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84931 if test "${ac_cv_lib_m_main+set}" = set; then
84932 echo $ECHO_N "(cached) $ECHO_C" >&6
84933 else
84934 ac_check_lib_save_LIBS=$LIBS
84935 LIBS="-lm $LIBS"
84936 if test x$gcc_no_link = xyes; then
84937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84939 { (exit 1); exit 1; }; }
84941 cat >conftest.$ac_ext <<_ACEOF
84942 /* confdefs.h. */
84943 _ACEOF
84944 cat confdefs.h >>conftest.$ac_ext
84945 cat >>conftest.$ac_ext <<_ACEOF
84946 /* end confdefs.h. */
84950 main ()
84952 main ();
84954 return 0;
84956 _ACEOF
84957 rm -f conftest.$ac_objext conftest$ac_exeext
84958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84959 (eval $ac_link) 2>conftest.er1
84960 ac_status=$?
84961 grep -v '^ *+' conftest.er1 >conftest.err
84962 rm -f conftest.er1
84963 cat conftest.err >&5
84964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84965 (exit $ac_status); } &&
84966 { ac_try='test -z "$ac_c_werror_flag"
84967 || test ! -s conftest.err'
84968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84969 (eval $ac_try) 2>&5
84970 ac_status=$?
84971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84972 (exit $ac_status); }; } &&
84973 { ac_try='test -s conftest$ac_exeext'
84974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84975 (eval $ac_try) 2>&5
84976 ac_status=$?
84977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84978 (exit $ac_status); }; }; then
84979 ac_cv_lib_m_main=yes
84980 else
84981 echo "$as_me: failed program was:" >&5
84982 sed 's/^/| /' conftest.$ac_ext >&5
84984 ac_cv_lib_m_main=no
84986 rm -f conftest.err conftest.$ac_objext \
84987 conftest$ac_exeext conftest.$ac_ext
84988 LIBS=$ac_check_lib_save_LIBS
84990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84991 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84992 if test $ac_cv_lib_m_main = yes; then
84993 cat >>confdefs.h <<_ACEOF
84994 #define HAVE_LIBM 1
84995 _ACEOF
84997 LIBS="-lm $LIBS"
85002 for ac_func in copysignf
85004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85005 echo "$as_me:$LINENO: checking for $ac_func" >&5
85006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85007 if eval "test \"\${$as_ac_var+set}\" = set"; then
85008 echo $ECHO_N "(cached) $ECHO_C" >&6
85009 else
85010 if test x$gcc_no_link = xyes; then
85011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85013 { (exit 1); exit 1; }; }
85015 cat >conftest.$ac_ext <<_ACEOF
85016 /* confdefs.h. */
85017 _ACEOF
85018 cat confdefs.h >>conftest.$ac_ext
85019 cat >>conftest.$ac_ext <<_ACEOF
85020 /* end confdefs.h. */
85021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85023 #define $ac_func innocuous_$ac_func
85025 /* System header to define __stub macros and hopefully few prototypes,
85026 which can conflict with char $ac_func (); below.
85027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85028 <limits.h> exists even on freestanding compilers. */
85030 #ifdef __STDC__
85031 # include <limits.h>
85032 #else
85033 # include <assert.h>
85034 #endif
85036 #undef $ac_func
85038 /* Override any gcc2 internal prototype to avoid an error. */
85039 #ifdef __cplusplus
85040 extern "C"
85042 #endif
85043 /* We use char because int might match the return type of a gcc2
85044 builtin and then its argument prototype would still apply. */
85045 char $ac_func ();
85046 /* The GNU C library defines this for functions which it implements
85047 to always fail with ENOSYS. Some functions are actually named
85048 something starting with __ and the normal name is an alias. */
85049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85050 choke me
85051 #else
85052 char (*f) () = $ac_func;
85053 #endif
85054 #ifdef __cplusplus
85056 #endif
85059 main ()
85061 return f != $ac_func;
85063 return 0;
85065 _ACEOF
85066 rm -f conftest.$ac_objext conftest$ac_exeext
85067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85068 (eval $ac_link) 2>conftest.er1
85069 ac_status=$?
85070 grep -v '^ *+' conftest.er1 >conftest.err
85071 rm -f conftest.er1
85072 cat conftest.err >&5
85073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85074 (exit $ac_status); } &&
85075 { ac_try='test -z "$ac_c_werror_flag"
85076 || test ! -s conftest.err'
85077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85078 (eval $ac_try) 2>&5
85079 ac_status=$?
85080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85081 (exit $ac_status); }; } &&
85082 { ac_try='test -s conftest$ac_exeext'
85083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85084 (eval $ac_try) 2>&5
85085 ac_status=$?
85086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85087 (exit $ac_status); }; }; then
85088 eval "$as_ac_var=yes"
85089 else
85090 echo "$as_me: failed program was:" >&5
85091 sed 's/^/| /' conftest.$ac_ext >&5
85093 eval "$as_ac_var=no"
85095 rm -f conftest.err conftest.$ac_objext \
85096 conftest$ac_exeext conftest.$ac_ext
85098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85100 if test `eval echo '${'$as_ac_var'}'` = yes; then
85101 cat >>confdefs.h <<_ACEOF
85102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85103 _ACEOF
85105 else
85106 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85108 done
85112 for ac_func in __signbit
85114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85115 echo "$as_me:$LINENO: checking for $ac_func" >&5
85116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85117 if eval "test \"\${$as_ac_var+set}\" = set"; then
85118 echo $ECHO_N "(cached) $ECHO_C" >&6
85119 else
85120 if test x$gcc_no_link = xyes; then
85121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85123 { (exit 1); exit 1; }; }
85125 cat >conftest.$ac_ext <<_ACEOF
85126 /* confdefs.h. */
85127 _ACEOF
85128 cat confdefs.h >>conftest.$ac_ext
85129 cat >>conftest.$ac_ext <<_ACEOF
85130 /* end confdefs.h. */
85131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85133 #define $ac_func innocuous_$ac_func
85135 /* System header to define __stub macros and hopefully few prototypes,
85136 which can conflict with char $ac_func (); below.
85137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85138 <limits.h> exists even on freestanding compilers. */
85140 #ifdef __STDC__
85141 # include <limits.h>
85142 #else
85143 # include <assert.h>
85144 #endif
85146 #undef $ac_func
85148 /* Override any gcc2 internal prototype to avoid an error. */
85149 #ifdef __cplusplus
85150 extern "C"
85152 #endif
85153 /* We use char because int might match the return type of a gcc2
85154 builtin and then its argument prototype would still apply. */
85155 char $ac_func ();
85156 /* The GNU C library defines this for functions which it implements
85157 to always fail with ENOSYS. Some functions are actually named
85158 something starting with __ and the normal name is an alias. */
85159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85160 choke me
85161 #else
85162 char (*f) () = $ac_func;
85163 #endif
85164 #ifdef __cplusplus
85166 #endif
85169 main ()
85171 return f != $ac_func;
85173 return 0;
85175 _ACEOF
85176 rm -f conftest.$ac_objext conftest$ac_exeext
85177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85178 (eval $ac_link) 2>conftest.er1
85179 ac_status=$?
85180 grep -v '^ *+' conftest.er1 >conftest.err
85181 rm -f conftest.er1
85182 cat conftest.err >&5
85183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85184 (exit $ac_status); } &&
85185 { ac_try='test -z "$ac_c_werror_flag"
85186 || test ! -s conftest.err'
85187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85188 (eval $ac_try) 2>&5
85189 ac_status=$?
85190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85191 (exit $ac_status); }; } &&
85192 { ac_try='test -s conftest$ac_exeext'
85193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85194 (eval $ac_try) 2>&5
85195 ac_status=$?
85196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85197 (exit $ac_status); }; }; then
85198 eval "$as_ac_var=yes"
85199 else
85200 echo "$as_me: failed program was:" >&5
85201 sed 's/^/| /' conftest.$ac_ext >&5
85203 eval "$as_ac_var=no"
85205 rm -f conftest.err conftest.$ac_objext \
85206 conftest$ac_exeext conftest.$ac_ext
85208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85210 if test `eval echo '${'$as_ac_var'}'` = yes; then
85211 cat >>confdefs.h <<_ACEOF
85212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85213 _ACEOF
85215 else
85216 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85218 done
85222 for ac_func in __signbitf
85224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85225 echo "$as_me:$LINENO: checking for $ac_func" >&5
85226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85227 if eval "test \"\${$as_ac_var+set}\" = set"; then
85228 echo $ECHO_N "(cached) $ECHO_C" >&6
85229 else
85230 if test x$gcc_no_link = xyes; then
85231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85233 { (exit 1); exit 1; }; }
85235 cat >conftest.$ac_ext <<_ACEOF
85236 /* confdefs.h. */
85237 _ACEOF
85238 cat confdefs.h >>conftest.$ac_ext
85239 cat >>conftest.$ac_ext <<_ACEOF
85240 /* end confdefs.h. */
85241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85243 #define $ac_func innocuous_$ac_func
85245 /* System header to define __stub macros and hopefully few prototypes,
85246 which can conflict with char $ac_func (); below.
85247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85248 <limits.h> exists even on freestanding compilers. */
85250 #ifdef __STDC__
85251 # include <limits.h>
85252 #else
85253 # include <assert.h>
85254 #endif
85256 #undef $ac_func
85258 /* Override any gcc2 internal prototype to avoid an error. */
85259 #ifdef __cplusplus
85260 extern "C"
85262 #endif
85263 /* We use char because int might match the return type of a gcc2
85264 builtin and then its argument prototype would still apply. */
85265 char $ac_func ();
85266 /* The GNU C library defines this for functions which it implements
85267 to always fail with ENOSYS. Some functions are actually named
85268 something starting with __ and the normal name is an alias. */
85269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85270 choke me
85271 #else
85272 char (*f) () = $ac_func;
85273 #endif
85274 #ifdef __cplusplus
85276 #endif
85279 main ()
85281 return f != $ac_func;
85283 return 0;
85285 _ACEOF
85286 rm -f conftest.$ac_objext conftest$ac_exeext
85287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85288 (eval $ac_link) 2>conftest.er1
85289 ac_status=$?
85290 grep -v '^ *+' conftest.er1 >conftest.err
85291 rm -f conftest.er1
85292 cat conftest.err >&5
85293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85294 (exit $ac_status); } &&
85295 { ac_try='test -z "$ac_c_werror_flag"
85296 || test ! -s conftest.err'
85297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85298 (eval $ac_try) 2>&5
85299 ac_status=$?
85300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85301 (exit $ac_status); }; } &&
85302 { ac_try='test -s conftest$ac_exeext'
85303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85304 (eval $ac_try) 2>&5
85305 ac_status=$?
85306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85307 (exit $ac_status); }; }; then
85308 eval "$as_ac_var=yes"
85309 else
85310 echo "$as_me: failed program was:" >&5
85311 sed 's/^/| /' conftest.$ac_ext >&5
85313 eval "$as_ac_var=no"
85315 rm -f conftest.err conftest.$ac_objext \
85316 conftest$ac_exeext conftest.$ac_ext
85318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85320 if test `eval echo '${'$as_ac_var'}'` = yes; then
85321 cat >>confdefs.h <<_ACEOF
85322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85323 _ACEOF
85325 else
85326 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85328 done
85331 if test x$ac_cv_func_copysignl = x"yes"; then
85333 for ac_func in __signbitl
85335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85336 echo "$as_me:$LINENO: checking for $ac_func" >&5
85337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85338 if eval "test \"\${$as_ac_var+set}\" = set"; then
85339 echo $ECHO_N "(cached) $ECHO_C" >&6
85340 else
85341 if test x$gcc_no_link = xyes; then
85342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85344 { (exit 1); exit 1; }; }
85346 cat >conftest.$ac_ext <<_ACEOF
85347 /* confdefs.h. */
85348 _ACEOF
85349 cat confdefs.h >>conftest.$ac_ext
85350 cat >>conftest.$ac_ext <<_ACEOF
85351 /* end confdefs.h. */
85352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85354 #define $ac_func innocuous_$ac_func
85356 /* System header to define __stub macros and hopefully few prototypes,
85357 which can conflict with char $ac_func (); below.
85358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85359 <limits.h> exists even on freestanding compilers. */
85361 #ifdef __STDC__
85362 # include <limits.h>
85363 #else
85364 # include <assert.h>
85365 #endif
85367 #undef $ac_func
85369 /* Override any gcc2 internal prototype to avoid an error. */
85370 #ifdef __cplusplus
85371 extern "C"
85373 #endif
85374 /* We use char because int might match the return type of a gcc2
85375 builtin and then its argument prototype would still apply. */
85376 char $ac_func ();
85377 /* The GNU C library defines this for functions which it implements
85378 to always fail with ENOSYS. Some functions are actually named
85379 something starting with __ and the normal name is an alias. */
85380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85381 choke me
85382 #else
85383 char (*f) () = $ac_func;
85384 #endif
85385 #ifdef __cplusplus
85387 #endif
85390 main ()
85392 return f != $ac_func;
85394 return 0;
85396 _ACEOF
85397 rm -f conftest.$ac_objext conftest$ac_exeext
85398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85399 (eval $ac_link) 2>conftest.er1
85400 ac_status=$?
85401 grep -v '^ *+' conftest.er1 >conftest.err
85402 rm -f conftest.er1
85403 cat conftest.err >&5
85404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85405 (exit $ac_status); } &&
85406 { ac_try='test -z "$ac_c_werror_flag"
85407 || test ! -s conftest.err'
85408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85409 (eval $ac_try) 2>&5
85410 ac_status=$?
85411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85412 (exit $ac_status); }; } &&
85413 { ac_try='test -s conftest$ac_exeext'
85414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85415 (eval $ac_try) 2>&5
85416 ac_status=$?
85417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85418 (exit $ac_status); }; }; then
85419 eval "$as_ac_var=yes"
85420 else
85421 echo "$as_me: failed program was:" >&5
85422 sed 's/^/| /' conftest.$ac_ext >&5
85424 eval "$as_ac_var=no"
85426 rm -f conftest.err conftest.$ac_objext \
85427 conftest$ac_exeext conftest.$ac_ext
85429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85431 if test `eval echo '${'$as_ac_var'}'` = yes; then
85432 cat >>confdefs.h <<_ACEOF
85433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85434 _ACEOF
85436 else
85437 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85439 done
85443 # Used in libmath/Makefile.am.
85444 if test -n "$LIBMATHOBJS"; then
85445 need_libmath=yes
85451 enable_iconv=no
85452 # Only continue checking if the ISO C99 headers exist and support is on.
85453 if test x"$enable_wchar_t" = xyes; then
85455 # Use iconv for wchar_t to char conversions. As such, check for
85456 # X/Open Portability Guide, version 2 features (XPG2).
85457 if test "${ac_cv_header_iconv_h+set}" = set; then
85458 echo "$as_me:$LINENO: checking for iconv.h" >&5
85459 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85460 if test "${ac_cv_header_iconv_h+set}" = set; then
85461 echo $ECHO_N "(cached) $ECHO_C" >&6
85463 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85464 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85465 else
85466 # Is the header compilable?
85467 echo "$as_me:$LINENO: checking iconv.h usability" >&5
85468 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
85469 cat >conftest.$ac_ext <<_ACEOF
85470 /* confdefs.h. */
85471 _ACEOF
85472 cat confdefs.h >>conftest.$ac_ext
85473 cat >>conftest.$ac_ext <<_ACEOF
85474 /* end confdefs.h. */
85475 $ac_includes_default
85476 #include <iconv.h>
85477 _ACEOF
85478 rm -f conftest.$ac_objext
85479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85480 (eval $ac_compile) 2>conftest.er1
85481 ac_status=$?
85482 grep -v '^ *+' conftest.er1 >conftest.err
85483 rm -f conftest.er1
85484 cat conftest.err >&5
85485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85486 (exit $ac_status); } &&
85487 { ac_try='test -z "$ac_c_werror_flag"
85488 || test ! -s conftest.err'
85489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85490 (eval $ac_try) 2>&5
85491 ac_status=$?
85492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85493 (exit $ac_status); }; } &&
85494 { ac_try='test -s conftest.$ac_objext'
85495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85496 (eval $ac_try) 2>&5
85497 ac_status=$?
85498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85499 (exit $ac_status); }; }; then
85500 ac_header_compiler=yes
85501 else
85502 echo "$as_me: failed program was:" >&5
85503 sed 's/^/| /' conftest.$ac_ext >&5
85505 ac_header_compiler=no
85507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85509 echo "${ECHO_T}$ac_header_compiler" >&6
85511 # Is the header present?
85512 echo "$as_me:$LINENO: checking iconv.h presence" >&5
85513 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
85514 cat >conftest.$ac_ext <<_ACEOF
85515 /* confdefs.h. */
85516 _ACEOF
85517 cat confdefs.h >>conftest.$ac_ext
85518 cat >>conftest.$ac_ext <<_ACEOF
85519 /* end confdefs.h. */
85520 #include <iconv.h>
85521 _ACEOF
85522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85523 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85524 ac_status=$?
85525 grep -v '^ *+' conftest.er1 >conftest.err
85526 rm -f conftest.er1
85527 cat conftest.err >&5
85528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85529 (exit $ac_status); } >/dev/null; then
85530 if test -s conftest.err; then
85531 ac_cpp_err=$ac_c_preproc_warn_flag
85532 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85533 else
85534 ac_cpp_err=
85536 else
85537 ac_cpp_err=yes
85539 if test -z "$ac_cpp_err"; then
85540 ac_header_preproc=yes
85541 else
85542 echo "$as_me: failed program was:" >&5
85543 sed 's/^/| /' conftest.$ac_ext >&5
85545 ac_header_preproc=no
85547 rm -f conftest.err conftest.$ac_ext
85548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85549 echo "${ECHO_T}$ac_header_preproc" >&6
85551 # So? What about this header?
85552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85553 yes:no: )
85554 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
85555 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85556 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
85557 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
85558 ac_header_preproc=yes
85560 no:yes:* )
85561 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
85562 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
85563 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
85564 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
85565 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
85566 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
85567 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
85568 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
85569 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
85570 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
85571 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
85572 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
85574 cat <<\_ASBOX
85575 ## ----------------------------------------- ##
85576 ## Report this to the package-unused lists. ##
85577 ## ----------------------------------------- ##
85578 _ASBOX
85580 sed "s/^/$as_me: WARNING: /" >&2
85582 esac
85583 echo "$as_me:$LINENO: checking for iconv.h" >&5
85584 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85585 if test "${ac_cv_header_iconv_h+set}" = set; then
85586 echo $ECHO_N "(cached) $ECHO_C" >&6
85587 else
85588 ac_cv_header_iconv_h=$ac_header_preproc
85590 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85591 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85594 if test $ac_cv_header_iconv_h = yes; then
85595 ac_has_iconv_h=yes
85596 else
85597 ac_has_iconv_h=no
85601 if test "${ac_cv_header_langinfo_h+set}" = set; then
85602 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85603 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85604 if test "${ac_cv_header_langinfo_h+set}" = set; then
85605 echo $ECHO_N "(cached) $ECHO_C" >&6
85607 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85608 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85609 else
85610 # Is the header compilable?
85611 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
85612 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
85613 cat >conftest.$ac_ext <<_ACEOF
85614 /* confdefs.h. */
85615 _ACEOF
85616 cat confdefs.h >>conftest.$ac_ext
85617 cat >>conftest.$ac_ext <<_ACEOF
85618 /* end confdefs.h. */
85619 $ac_includes_default
85620 #include <langinfo.h>
85621 _ACEOF
85622 rm -f conftest.$ac_objext
85623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85624 (eval $ac_compile) 2>conftest.er1
85625 ac_status=$?
85626 grep -v '^ *+' conftest.er1 >conftest.err
85627 rm -f conftest.er1
85628 cat conftest.err >&5
85629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85630 (exit $ac_status); } &&
85631 { ac_try='test -z "$ac_c_werror_flag"
85632 || test ! -s conftest.err'
85633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85634 (eval $ac_try) 2>&5
85635 ac_status=$?
85636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85637 (exit $ac_status); }; } &&
85638 { ac_try='test -s conftest.$ac_objext'
85639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85640 (eval $ac_try) 2>&5
85641 ac_status=$?
85642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85643 (exit $ac_status); }; }; then
85644 ac_header_compiler=yes
85645 else
85646 echo "$as_me: failed program was:" >&5
85647 sed 's/^/| /' conftest.$ac_ext >&5
85649 ac_header_compiler=no
85651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85653 echo "${ECHO_T}$ac_header_compiler" >&6
85655 # Is the header present?
85656 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
85657 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
85658 cat >conftest.$ac_ext <<_ACEOF
85659 /* confdefs.h. */
85660 _ACEOF
85661 cat confdefs.h >>conftest.$ac_ext
85662 cat >>conftest.$ac_ext <<_ACEOF
85663 /* end confdefs.h. */
85664 #include <langinfo.h>
85665 _ACEOF
85666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85667 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85668 ac_status=$?
85669 grep -v '^ *+' conftest.er1 >conftest.err
85670 rm -f conftest.er1
85671 cat conftest.err >&5
85672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85673 (exit $ac_status); } >/dev/null; then
85674 if test -s conftest.err; then
85675 ac_cpp_err=$ac_c_preproc_warn_flag
85676 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85677 else
85678 ac_cpp_err=
85680 else
85681 ac_cpp_err=yes
85683 if test -z "$ac_cpp_err"; then
85684 ac_header_preproc=yes
85685 else
85686 echo "$as_me: failed program was:" >&5
85687 sed 's/^/| /' conftest.$ac_ext >&5
85689 ac_header_preproc=no
85691 rm -f conftest.err conftest.$ac_ext
85692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85693 echo "${ECHO_T}$ac_header_preproc" >&6
85695 # So? What about this header?
85696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85697 yes:no: )
85698 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
85699 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85700 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
85701 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
85702 ac_header_preproc=yes
85704 no:yes:* )
85705 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
85706 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
85707 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
85708 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
85709 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
85710 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
85711 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
85712 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
85713 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85714 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85715 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85716 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85718 cat <<\_ASBOX
85719 ## ----------------------------------------- ##
85720 ## Report this to the package-unused lists. ##
85721 ## ----------------------------------------- ##
85722 _ASBOX
85724 sed "s/^/$as_me: WARNING: /" >&2
85726 esac
85727 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85728 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85729 if test "${ac_cv_header_langinfo_h+set}" = set; then
85730 echo $ECHO_N "(cached) $ECHO_C" >&6
85731 else
85732 ac_cv_header_langinfo_h=$ac_header_preproc
85734 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85735 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85738 if test $ac_cv_header_langinfo_h = yes; then
85739 ac_has_langinfo_h=yes
85740 else
85741 ac_has_langinfo_h=no
85746 # Check for existence of libiconv.a providing XPG2 wchar_t support.
85747 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85748 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85749 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85750 echo $ECHO_N "(cached) $ECHO_C" >&6
85751 else
85752 ac_check_lib_save_LIBS=$LIBS
85753 LIBS="-liconv $LIBS"
85754 if test x$gcc_no_link = xyes; then
85755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85757 { (exit 1); exit 1; }; }
85759 cat >conftest.$ac_ext <<_ACEOF
85760 /* confdefs.h. */
85761 _ACEOF
85762 cat confdefs.h >>conftest.$ac_ext
85763 cat >>conftest.$ac_ext <<_ACEOF
85764 /* end confdefs.h. */
85766 /* Override any gcc2 internal prototype to avoid an error. */
85767 #ifdef __cplusplus
85768 extern "C"
85769 #endif
85770 /* We use char because int might match the return type of a gcc2
85771 builtin and then its argument prototype would still apply. */
85772 char iconv ();
85774 main ()
85776 iconv ();
85778 return 0;
85780 _ACEOF
85781 rm -f conftest.$ac_objext conftest$ac_exeext
85782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85783 (eval $ac_link) 2>conftest.er1
85784 ac_status=$?
85785 grep -v '^ *+' conftest.er1 >conftest.err
85786 rm -f conftest.er1
85787 cat conftest.err >&5
85788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85789 (exit $ac_status); } &&
85790 { ac_try='test -z "$ac_c_werror_flag"
85791 || test ! -s conftest.err'
85792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85793 (eval $ac_try) 2>&5
85794 ac_status=$?
85795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85796 (exit $ac_status); }; } &&
85797 { ac_try='test -s conftest$ac_exeext'
85798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85799 (eval $ac_try) 2>&5
85800 ac_status=$?
85801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85802 (exit $ac_status); }; }; then
85803 ac_cv_lib_iconv_iconv=yes
85804 else
85805 echo "$as_me: failed program was:" >&5
85806 sed 's/^/| /' conftest.$ac_ext >&5
85808 ac_cv_lib_iconv_iconv=no
85810 rm -f conftest.err conftest.$ac_objext \
85811 conftest$ac_exeext conftest.$ac_ext
85812 LIBS=$ac_check_lib_save_LIBS
85814 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85815 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85816 if test $ac_cv_lib_iconv_iconv = yes; then
85817 LIBICONV="-liconv"
85820 ac_save_LIBS="$LIBS"
85821 LIBS="$LIBS $LIBICONV"
85828 for ac_func in iconv_open iconv_close iconv nl_langinfo
85830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85831 echo "$as_me:$LINENO: checking for $ac_func" >&5
85832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85833 if eval "test \"\${$as_ac_var+set}\" = set"; then
85834 echo $ECHO_N "(cached) $ECHO_C" >&6
85835 else
85836 if test x$gcc_no_link = xyes; then
85837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85839 { (exit 1); exit 1; }; }
85841 cat >conftest.$ac_ext <<_ACEOF
85842 /* confdefs.h. */
85843 _ACEOF
85844 cat confdefs.h >>conftest.$ac_ext
85845 cat >>conftest.$ac_ext <<_ACEOF
85846 /* end confdefs.h. */
85847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85849 #define $ac_func innocuous_$ac_func
85851 /* System header to define __stub macros and hopefully few prototypes,
85852 which can conflict with char $ac_func (); below.
85853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85854 <limits.h> exists even on freestanding compilers. */
85856 #ifdef __STDC__
85857 # include <limits.h>
85858 #else
85859 # include <assert.h>
85860 #endif
85862 #undef $ac_func
85864 /* Override any gcc2 internal prototype to avoid an error. */
85865 #ifdef __cplusplus
85866 extern "C"
85868 #endif
85869 /* We use char because int might match the return type of a gcc2
85870 builtin and then its argument prototype would still apply. */
85871 char $ac_func ();
85872 /* The GNU C library defines this for functions which it implements
85873 to always fail with ENOSYS. Some functions are actually named
85874 something starting with __ and the normal name is an alias. */
85875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85876 choke me
85877 #else
85878 char (*f) () = $ac_func;
85879 #endif
85880 #ifdef __cplusplus
85882 #endif
85885 main ()
85887 return f != $ac_func;
85889 return 0;
85891 _ACEOF
85892 rm -f conftest.$ac_objext conftest$ac_exeext
85893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85894 (eval $ac_link) 2>conftest.er1
85895 ac_status=$?
85896 grep -v '^ *+' conftest.er1 >conftest.err
85897 rm -f conftest.er1
85898 cat conftest.err >&5
85899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85900 (exit $ac_status); } &&
85901 { ac_try='test -z "$ac_c_werror_flag"
85902 || test ! -s conftest.err'
85903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85904 (eval $ac_try) 2>&5
85905 ac_status=$?
85906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85907 (exit $ac_status); }; } &&
85908 { ac_try='test -s conftest$ac_exeext'
85909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85910 (eval $ac_try) 2>&5
85911 ac_status=$?
85912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85913 (exit $ac_status); }; }; then
85914 eval "$as_ac_var=yes"
85915 else
85916 echo "$as_me: failed program was:" >&5
85917 sed 's/^/| /' conftest.$ac_ext >&5
85919 eval "$as_ac_var=no"
85921 rm -f conftest.err conftest.$ac_objext \
85922 conftest$ac_exeext conftest.$ac_ext
85924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85926 if test `eval echo '${'$as_ac_var'}'` = yes; then
85927 cat >>confdefs.h <<_ACEOF
85928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85929 _ACEOF
85930 ac_XPG2funcs=yes
85931 else
85932 ac_XPG2funcs=no
85934 done
85937 LIBS="$ac_save_LIBS"
85939 if test x"$ac_has_iconv_h" = xyes &&
85940 test x"$ac_has_langinfo_h" = xyes &&
85941 test x"$ac_XPG2funcs" = xyes;
85942 then
85944 cat >>confdefs.h <<\_ACEOF
85945 #define _GLIBCXX_USE_ICONV 1
85946 _ACEOF
85948 enable_iconv=yes
85951 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85952 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85953 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85954 echo "${ECHO_T}$enable_iconv" >&6
85956 cat >>confdefs.h <<\_ACEOF
85957 #define HAVE_COSF 1
85958 _ACEOF
85960 cat >>confdefs.h <<\_ACEOF
85961 #define HAVE_COSL 1
85962 _ACEOF
85964 cat >>confdefs.h <<\_ACEOF
85965 #define HAVE_COSHF 1
85966 _ACEOF
85968 cat >>confdefs.h <<\_ACEOF
85969 #define HAVE_COSHL 1
85970 _ACEOF
85972 cat >>confdefs.h <<\_ACEOF
85973 #define HAVE_LOGF 1
85974 _ACEOF
85976 cat >>confdefs.h <<\_ACEOF
85977 #define HAVE_LOGL 1
85978 _ACEOF
85980 cat >>confdefs.h <<\_ACEOF
85981 #define HAVE_LOG10F 1
85982 _ACEOF
85984 cat >>confdefs.h <<\_ACEOF
85985 #define HAVE_LOG10L 1
85986 _ACEOF
85988 cat >>confdefs.h <<\_ACEOF
85989 #define HAVE_SINF 1
85990 _ACEOF
85992 cat >>confdefs.h <<\_ACEOF
85993 #define HAVE_SINL 1
85994 _ACEOF
85996 cat >>confdefs.h <<\_ACEOF
85997 #define HAVE_SINHF 1
85998 _ACEOF
86000 cat >>confdefs.h <<\_ACEOF
86001 #define HAVE_SINHL 1
86002 _ACEOF
86005 *-solaris*)
86006 case "$target" in
86007 # *-solaris2.5)
86008 # os_include_dir="os/solaris/solaris2.5"
86009 # ;;
86010 # *-solaris2.6)
86011 # os_include_dir="os/solaris/solaris2.6"
86012 # ;;
86013 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
86014 cat >>confdefs.h <<\_ACEOF
86015 #define HAVE_GETPAGESIZE 1
86016 _ACEOF
86018 cat >>confdefs.h <<\_ACEOF
86019 #define HAVE_SIGSETJMP 1
86020 _ACEOF
86022 cat >>confdefs.h <<\_ACEOF
86023 #define HAVE_MBSTATE_T 1
86024 _ACEOF
86026 cat >>confdefs.h <<\_ACEOF
86027 #define HAVE_POLL 1
86028 _ACEOF
86030 cat >>confdefs.h <<\_ACEOF
86031 #define HAVE_S_ISREG 1
86032 _ACEOF
86034 cat >>confdefs.h <<\_ACEOF
86035 #define HAVE_LC_MESSAGES 1
86036 _ACEOF
86038 cat >>confdefs.h <<\_ACEOF
86039 #define HAVE_FINITE 1
86040 _ACEOF
86042 cat >>confdefs.h <<\_ACEOF
86043 #define HAVE_FPCLASS 1
86044 _ACEOF
86046 cat >>confdefs.h <<\_ACEOF
86047 #define HAVE_GETPAGESIZE 1
86048 _ACEOF
86050 cat >>confdefs.h <<\_ACEOF
86051 #define HAVE_NL_LANGINFO 1
86052 _ACEOF
86054 cat >>confdefs.h <<\_ACEOF
86055 #define HAVE_ICONV 1
86056 _ACEOF
86058 cat >>confdefs.h <<\_ACEOF
86059 #define HAVE_ICONV_CLOSE 1
86060 _ACEOF
86062 cat >>confdefs.h <<\_ACEOF
86063 #define HAVE_ICONV_OPEN 1
86064 _ACEOF
86066 # Look for the pieces required for wchar_t support in order to
86067 # get all the right HAVE_* macros defined.
86070 enable_iconv=no
86071 # Only continue checking if the ISO C99 headers exist and support is on.
86072 if test x"$enable_wchar_t" = xyes; then
86074 # Use iconv for wchar_t to char conversions. As such, check for
86075 # X/Open Portability Guide, version 2 features (XPG2).
86076 if test "${ac_cv_header_iconv_h+set}" = set; then
86077 echo "$as_me:$LINENO: checking for iconv.h" >&5
86078 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86079 if test "${ac_cv_header_iconv_h+set}" = set; then
86080 echo $ECHO_N "(cached) $ECHO_C" >&6
86082 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86083 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86084 else
86085 # Is the header compilable?
86086 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86087 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86088 cat >conftest.$ac_ext <<_ACEOF
86089 /* confdefs.h. */
86090 _ACEOF
86091 cat confdefs.h >>conftest.$ac_ext
86092 cat >>conftest.$ac_ext <<_ACEOF
86093 /* end confdefs.h. */
86094 $ac_includes_default
86095 #include <iconv.h>
86096 _ACEOF
86097 rm -f conftest.$ac_objext
86098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86099 (eval $ac_compile) 2>conftest.er1
86100 ac_status=$?
86101 grep -v '^ *+' conftest.er1 >conftest.err
86102 rm -f conftest.er1
86103 cat conftest.err >&5
86104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86105 (exit $ac_status); } &&
86106 { ac_try='test -z "$ac_c_werror_flag"
86107 || test ! -s conftest.err'
86108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86109 (eval $ac_try) 2>&5
86110 ac_status=$?
86111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86112 (exit $ac_status); }; } &&
86113 { ac_try='test -s conftest.$ac_objext'
86114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86115 (eval $ac_try) 2>&5
86116 ac_status=$?
86117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86118 (exit $ac_status); }; }; then
86119 ac_header_compiler=yes
86120 else
86121 echo "$as_me: failed program was:" >&5
86122 sed 's/^/| /' conftest.$ac_ext >&5
86124 ac_header_compiler=no
86126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86128 echo "${ECHO_T}$ac_header_compiler" >&6
86130 # Is the header present?
86131 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86132 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86133 cat >conftest.$ac_ext <<_ACEOF
86134 /* confdefs.h. */
86135 _ACEOF
86136 cat confdefs.h >>conftest.$ac_ext
86137 cat >>conftest.$ac_ext <<_ACEOF
86138 /* end confdefs.h. */
86139 #include <iconv.h>
86140 _ACEOF
86141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86143 ac_status=$?
86144 grep -v '^ *+' conftest.er1 >conftest.err
86145 rm -f conftest.er1
86146 cat conftest.err >&5
86147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86148 (exit $ac_status); } >/dev/null; then
86149 if test -s conftest.err; then
86150 ac_cpp_err=$ac_c_preproc_warn_flag
86151 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86152 else
86153 ac_cpp_err=
86155 else
86156 ac_cpp_err=yes
86158 if test -z "$ac_cpp_err"; then
86159 ac_header_preproc=yes
86160 else
86161 echo "$as_me: failed program was:" >&5
86162 sed 's/^/| /' conftest.$ac_ext >&5
86164 ac_header_preproc=no
86166 rm -f conftest.err conftest.$ac_ext
86167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86168 echo "${ECHO_T}$ac_header_preproc" >&6
86170 # So? What about this header?
86171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86172 yes:no: )
86173 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86174 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86175 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86176 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86177 ac_header_preproc=yes
86179 no:yes:* )
86180 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86181 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86182 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86183 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86184 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86185 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86186 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86187 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86188 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86189 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86190 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86191 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86193 cat <<\_ASBOX
86194 ## ----------------------------------------- ##
86195 ## Report this to the package-unused lists. ##
86196 ## ----------------------------------------- ##
86197 _ASBOX
86199 sed "s/^/$as_me: WARNING: /" >&2
86201 esac
86202 echo "$as_me:$LINENO: checking for iconv.h" >&5
86203 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86204 if test "${ac_cv_header_iconv_h+set}" = set; then
86205 echo $ECHO_N "(cached) $ECHO_C" >&6
86206 else
86207 ac_cv_header_iconv_h=$ac_header_preproc
86209 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86210 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86213 if test $ac_cv_header_iconv_h = yes; then
86214 ac_has_iconv_h=yes
86215 else
86216 ac_has_iconv_h=no
86220 if test "${ac_cv_header_langinfo_h+set}" = set; then
86221 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86222 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86223 if test "${ac_cv_header_langinfo_h+set}" = set; then
86224 echo $ECHO_N "(cached) $ECHO_C" >&6
86226 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86227 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86228 else
86229 # Is the header compilable?
86230 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86231 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86232 cat >conftest.$ac_ext <<_ACEOF
86233 /* confdefs.h. */
86234 _ACEOF
86235 cat confdefs.h >>conftest.$ac_ext
86236 cat >>conftest.$ac_ext <<_ACEOF
86237 /* end confdefs.h. */
86238 $ac_includes_default
86239 #include <langinfo.h>
86240 _ACEOF
86241 rm -f conftest.$ac_objext
86242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86243 (eval $ac_compile) 2>conftest.er1
86244 ac_status=$?
86245 grep -v '^ *+' conftest.er1 >conftest.err
86246 rm -f conftest.er1
86247 cat conftest.err >&5
86248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86249 (exit $ac_status); } &&
86250 { ac_try='test -z "$ac_c_werror_flag"
86251 || test ! -s conftest.err'
86252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86253 (eval $ac_try) 2>&5
86254 ac_status=$?
86255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86256 (exit $ac_status); }; } &&
86257 { ac_try='test -s conftest.$ac_objext'
86258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86259 (eval $ac_try) 2>&5
86260 ac_status=$?
86261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86262 (exit $ac_status); }; }; then
86263 ac_header_compiler=yes
86264 else
86265 echo "$as_me: failed program was:" >&5
86266 sed 's/^/| /' conftest.$ac_ext >&5
86268 ac_header_compiler=no
86270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86272 echo "${ECHO_T}$ac_header_compiler" >&6
86274 # Is the header present?
86275 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86276 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86277 cat >conftest.$ac_ext <<_ACEOF
86278 /* confdefs.h. */
86279 _ACEOF
86280 cat confdefs.h >>conftest.$ac_ext
86281 cat >>conftest.$ac_ext <<_ACEOF
86282 /* end confdefs.h. */
86283 #include <langinfo.h>
86284 _ACEOF
86285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86287 ac_status=$?
86288 grep -v '^ *+' conftest.er1 >conftest.err
86289 rm -f conftest.er1
86290 cat conftest.err >&5
86291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86292 (exit $ac_status); } >/dev/null; then
86293 if test -s conftest.err; then
86294 ac_cpp_err=$ac_c_preproc_warn_flag
86295 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86296 else
86297 ac_cpp_err=
86299 else
86300 ac_cpp_err=yes
86302 if test -z "$ac_cpp_err"; then
86303 ac_header_preproc=yes
86304 else
86305 echo "$as_me: failed program was:" >&5
86306 sed 's/^/| /' conftest.$ac_ext >&5
86308 ac_header_preproc=no
86310 rm -f conftest.err conftest.$ac_ext
86311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86312 echo "${ECHO_T}$ac_header_preproc" >&6
86314 # So? What about this header?
86315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86316 yes:no: )
86317 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86318 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86319 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86320 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86321 ac_header_preproc=yes
86323 no:yes:* )
86324 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86325 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86326 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86327 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86328 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86329 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86330 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86331 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86332 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86333 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86334 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86335 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86337 cat <<\_ASBOX
86338 ## ----------------------------------------- ##
86339 ## Report this to the package-unused lists. ##
86340 ## ----------------------------------------- ##
86341 _ASBOX
86343 sed "s/^/$as_me: WARNING: /" >&2
86345 esac
86346 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86347 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86348 if test "${ac_cv_header_langinfo_h+set}" = set; then
86349 echo $ECHO_N "(cached) $ECHO_C" >&6
86350 else
86351 ac_cv_header_langinfo_h=$ac_header_preproc
86353 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86354 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86357 if test $ac_cv_header_langinfo_h = yes; then
86358 ac_has_langinfo_h=yes
86359 else
86360 ac_has_langinfo_h=no
86365 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86366 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86367 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86368 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86369 echo $ECHO_N "(cached) $ECHO_C" >&6
86370 else
86371 ac_check_lib_save_LIBS=$LIBS
86372 LIBS="-liconv $LIBS"
86373 if test x$gcc_no_link = xyes; then
86374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86376 { (exit 1); exit 1; }; }
86378 cat >conftest.$ac_ext <<_ACEOF
86379 /* confdefs.h. */
86380 _ACEOF
86381 cat confdefs.h >>conftest.$ac_ext
86382 cat >>conftest.$ac_ext <<_ACEOF
86383 /* end confdefs.h. */
86385 /* Override any gcc2 internal prototype to avoid an error. */
86386 #ifdef __cplusplus
86387 extern "C"
86388 #endif
86389 /* We use char because int might match the return type of a gcc2
86390 builtin and then its argument prototype would still apply. */
86391 char iconv ();
86393 main ()
86395 iconv ();
86397 return 0;
86399 _ACEOF
86400 rm -f conftest.$ac_objext conftest$ac_exeext
86401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86402 (eval $ac_link) 2>conftest.er1
86403 ac_status=$?
86404 grep -v '^ *+' conftest.er1 >conftest.err
86405 rm -f conftest.er1
86406 cat conftest.err >&5
86407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86408 (exit $ac_status); } &&
86409 { ac_try='test -z "$ac_c_werror_flag"
86410 || test ! -s conftest.err'
86411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86412 (eval $ac_try) 2>&5
86413 ac_status=$?
86414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86415 (exit $ac_status); }; } &&
86416 { ac_try='test -s conftest$ac_exeext'
86417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86418 (eval $ac_try) 2>&5
86419 ac_status=$?
86420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86421 (exit $ac_status); }; }; then
86422 ac_cv_lib_iconv_iconv=yes
86423 else
86424 echo "$as_me: failed program was:" >&5
86425 sed 's/^/| /' conftest.$ac_ext >&5
86427 ac_cv_lib_iconv_iconv=no
86429 rm -f conftest.err conftest.$ac_objext \
86430 conftest$ac_exeext conftest.$ac_ext
86431 LIBS=$ac_check_lib_save_LIBS
86433 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86434 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86435 if test $ac_cv_lib_iconv_iconv = yes; then
86436 LIBICONV="-liconv"
86439 ac_save_LIBS="$LIBS"
86440 LIBS="$LIBS $LIBICONV"
86447 for ac_func in iconv_open iconv_close iconv nl_langinfo
86449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86450 echo "$as_me:$LINENO: checking for $ac_func" >&5
86451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86452 if eval "test \"\${$as_ac_var+set}\" = set"; then
86453 echo $ECHO_N "(cached) $ECHO_C" >&6
86454 else
86455 if test x$gcc_no_link = xyes; then
86456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86458 { (exit 1); exit 1; }; }
86460 cat >conftest.$ac_ext <<_ACEOF
86461 /* confdefs.h. */
86462 _ACEOF
86463 cat confdefs.h >>conftest.$ac_ext
86464 cat >>conftest.$ac_ext <<_ACEOF
86465 /* end confdefs.h. */
86466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86468 #define $ac_func innocuous_$ac_func
86470 /* System header to define __stub macros and hopefully few prototypes,
86471 which can conflict with char $ac_func (); below.
86472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86473 <limits.h> exists even on freestanding compilers. */
86475 #ifdef __STDC__
86476 # include <limits.h>
86477 #else
86478 # include <assert.h>
86479 #endif
86481 #undef $ac_func
86483 /* Override any gcc2 internal prototype to avoid an error. */
86484 #ifdef __cplusplus
86485 extern "C"
86487 #endif
86488 /* We use char because int might match the return type of a gcc2
86489 builtin and then its argument prototype would still apply. */
86490 char $ac_func ();
86491 /* The GNU C library defines this for functions which it implements
86492 to always fail with ENOSYS. Some functions are actually named
86493 something starting with __ and the normal name is an alias. */
86494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86495 choke me
86496 #else
86497 char (*f) () = $ac_func;
86498 #endif
86499 #ifdef __cplusplus
86501 #endif
86504 main ()
86506 return f != $ac_func;
86508 return 0;
86510 _ACEOF
86511 rm -f conftest.$ac_objext conftest$ac_exeext
86512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86513 (eval $ac_link) 2>conftest.er1
86514 ac_status=$?
86515 grep -v '^ *+' conftest.er1 >conftest.err
86516 rm -f conftest.er1
86517 cat conftest.err >&5
86518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86519 (exit $ac_status); } &&
86520 { ac_try='test -z "$ac_c_werror_flag"
86521 || test ! -s conftest.err'
86522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86523 (eval $ac_try) 2>&5
86524 ac_status=$?
86525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86526 (exit $ac_status); }; } &&
86527 { ac_try='test -s conftest$ac_exeext'
86528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86529 (eval $ac_try) 2>&5
86530 ac_status=$?
86531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86532 (exit $ac_status); }; }; then
86533 eval "$as_ac_var=yes"
86534 else
86535 echo "$as_me: failed program was:" >&5
86536 sed 's/^/| /' conftest.$ac_ext >&5
86538 eval "$as_ac_var=no"
86540 rm -f conftest.err conftest.$ac_objext \
86541 conftest$ac_exeext conftest.$ac_ext
86543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86545 if test `eval echo '${'$as_ac_var'}'` = yes; then
86546 cat >>confdefs.h <<_ACEOF
86547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86548 _ACEOF
86549 ac_XPG2funcs=yes
86550 else
86551 ac_XPG2funcs=no
86553 done
86556 LIBS="$ac_save_LIBS"
86558 if test x"$ac_has_iconv_h" = xyes &&
86559 test x"$ac_has_langinfo_h" = xyes &&
86560 test x"$ac_XPG2funcs" = xyes;
86561 then
86563 cat >>confdefs.h <<\_ACEOF
86564 #define _GLIBCXX_USE_ICONV 1
86565 _ACEOF
86567 enable_iconv=yes
86570 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86571 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86572 echo "$as_me:$LINENO: result: $enable_iconv" >&5
86573 echo "${ECHO_T}$enable_iconv" >&6
86575 # All of the dependencies for wide character support are here, so
86576 # turn it on. This requires some syncronization with the
86577 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
86578 cat >>confdefs.h <<\_ACEOF
86579 #define _GLIBCXX_USE_WCHAR_T 1
86580 _ACEOF
86582 # Are these tested for even when cross?
86583 cat >>confdefs.h <<\_ACEOF
86584 #define HAVE_FLOAT_H 1
86585 _ACEOF
86587 cat >>confdefs.h <<\_ACEOF
86588 #define HAVE_IEEEFP_H 1
86589 _ACEOF
86591 cat >>confdefs.h <<\_ACEOF
86592 #define HAVE_INTTYPES_H 1
86593 _ACEOF
86595 cat >>confdefs.h <<\_ACEOF
86596 #define HAVE_LOCALE_H 1
86597 _ACEOF
86599 cat >>confdefs.h <<\_ACEOF
86600 #define HAVE_NAN_H 1
86601 _ACEOF
86603 cat >>confdefs.h <<\_ACEOF
86604 #define HAVE_SYS_FILIO_H 1
86605 _ACEOF
86607 cat >>confdefs.h <<\_ACEOF
86608 #define HAVE_SYS_IOCTL_H 1
86609 _ACEOF
86611 cat >>confdefs.h <<\_ACEOF
86612 #define HAVE_SYS_ISA_DEFS_H 1
86613 _ACEOF
86615 cat >>confdefs.h <<\_ACEOF
86616 #define HAVE_SYS_RESOURCE_H 1
86617 _ACEOF
86619 cat >>confdefs.h <<\_ACEOF
86620 #define HAVE_SYS_TIME_H 1
86621 _ACEOF
86623 cat >>confdefs.h <<\_ACEOF
86624 #define HAVE_SYS_TYPES_H 1
86625 _ACEOF
86627 cat >>confdefs.h <<\_ACEOF
86628 #define HAVE_UNISTD_H 1
86629 _ACEOF
86631 cat >>confdefs.h <<\_ACEOF
86632 #define HAVE_WCHAR_H 1
86633 _ACEOF
86635 cat >>confdefs.h <<\_ACEOF
86636 #define HAVE_WCTYPE_H 1
86637 _ACEOF
86639 cat >>confdefs.h <<\_ACEOF
86640 #define HAVE_LIBM 1
86641 _ACEOF
86644 esac
86645 case "$target" in
86646 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
86647 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
86648 cat >>confdefs.h <<\_ACEOF
86649 #define HAVE___BUILTIN_ABS 1
86650 _ACEOF
86652 cat >>confdefs.h <<\_ACEOF
86653 #define HAVE___BUILTIN_LABS 1
86654 _ACEOF
86656 cat >>confdefs.h <<\_ACEOF
86657 #define HAVE___BUILTIN_FABS 1
86658 _ACEOF
86660 cat >>confdefs.h <<\_ACEOF
86661 #define HAVE___BUILTIN_FABSF 1
86662 _ACEOF
86664 cat >>confdefs.h <<\_ACEOF
86665 #define HAVE___BUILTIN_FABSL 1
86666 _ACEOF
86668 cat >>confdefs.h <<\_ACEOF
86669 #define HAVE___BUILTIN_COS 1
86670 _ACEOF
86672 cat >>confdefs.h <<\_ACEOF
86673 #define HAVE___BUILTIN_COSF 1
86674 _ACEOF
86676 cat >>confdefs.h <<\_ACEOF
86677 #define HAVE___BUILTIN_SIN 1
86678 _ACEOF
86680 cat >>confdefs.h <<\_ACEOF
86681 #define HAVE___BUILTIN_SINF 1
86682 _ACEOF
86685 esac
86686 case "$target" in
86687 *-*-solaris2.10)
86688 # These two C99 functions are present only in Solaris >= 10
86689 cat >>confdefs.h <<\_ACEOF
86690 #define HAVE_STRTOF 1
86691 _ACEOF
86693 cat >>confdefs.h <<\_ACEOF
86694 #define HAVE_STRTOLD 1
86695 _ACEOF
86698 esac
86699 cat >>confdefs.h <<\_ACEOF
86700 #define HAVE_MMAP 1
86701 _ACEOF
86703 cat >>confdefs.h <<\_ACEOF
86704 #define HAVE_COPYSIGN 1
86705 _ACEOF
86707 cat >>confdefs.h <<\_ACEOF
86708 #define HAVE_ISNAN 1
86709 _ACEOF
86711 cat >>confdefs.h <<\_ACEOF
86712 #define HAVE_ISNANF 1
86713 _ACEOF
86715 cat >>confdefs.h <<\_ACEOF
86716 #define HAVE_MODFF 1
86717 _ACEOF
86719 cat >>confdefs.h <<\_ACEOF
86720 #define HAVE_HYPOT 1
86721 _ACEOF
86724 *-tpf)
86733 for ac_header in nan.h endian.h machine/endian.h \
86734 sys/param.h sys/types.h locale.h float.h inttypes.h
86736 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86738 echo "$as_me:$LINENO: checking for $ac_header" >&5
86739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86741 echo $ECHO_N "(cached) $ECHO_C" >&6
86743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86745 else
86746 # Is the header compilable?
86747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86749 cat >conftest.$ac_ext <<_ACEOF
86750 /* confdefs.h. */
86751 _ACEOF
86752 cat confdefs.h >>conftest.$ac_ext
86753 cat >>conftest.$ac_ext <<_ACEOF
86754 /* end confdefs.h. */
86755 $ac_includes_default
86756 #include <$ac_header>
86757 _ACEOF
86758 rm -f conftest.$ac_objext
86759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86760 (eval $ac_compile) 2>conftest.er1
86761 ac_status=$?
86762 grep -v '^ *+' conftest.er1 >conftest.err
86763 rm -f conftest.er1
86764 cat conftest.err >&5
86765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86766 (exit $ac_status); } &&
86767 { ac_try='test -z "$ac_c_werror_flag"
86768 || test ! -s conftest.err'
86769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86770 (eval $ac_try) 2>&5
86771 ac_status=$?
86772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86773 (exit $ac_status); }; } &&
86774 { ac_try='test -s conftest.$ac_objext'
86775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86776 (eval $ac_try) 2>&5
86777 ac_status=$?
86778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86779 (exit $ac_status); }; }; then
86780 ac_header_compiler=yes
86781 else
86782 echo "$as_me: failed program was:" >&5
86783 sed 's/^/| /' conftest.$ac_ext >&5
86785 ac_header_compiler=no
86787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86788 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86789 echo "${ECHO_T}$ac_header_compiler" >&6
86791 # Is the header present?
86792 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86793 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86794 cat >conftest.$ac_ext <<_ACEOF
86795 /* confdefs.h. */
86796 _ACEOF
86797 cat confdefs.h >>conftest.$ac_ext
86798 cat >>conftest.$ac_ext <<_ACEOF
86799 /* end confdefs.h. */
86800 #include <$ac_header>
86801 _ACEOF
86802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86803 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86804 ac_status=$?
86805 grep -v '^ *+' conftest.er1 >conftest.err
86806 rm -f conftest.er1
86807 cat conftest.err >&5
86808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86809 (exit $ac_status); } >/dev/null; then
86810 if test -s conftest.err; then
86811 ac_cpp_err=$ac_c_preproc_warn_flag
86812 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86813 else
86814 ac_cpp_err=
86816 else
86817 ac_cpp_err=yes
86819 if test -z "$ac_cpp_err"; then
86820 ac_header_preproc=yes
86821 else
86822 echo "$as_me: failed program was:" >&5
86823 sed 's/^/| /' conftest.$ac_ext >&5
86825 ac_header_preproc=no
86827 rm -f conftest.err conftest.$ac_ext
86828 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86829 echo "${ECHO_T}$ac_header_preproc" >&6
86831 # So? What about this header?
86832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86833 yes:no: )
86834 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86835 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86837 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86838 ac_header_preproc=yes
86840 no:yes:* )
86841 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86842 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86843 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86844 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86845 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86846 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86847 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86848 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86851 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86852 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86854 cat <<\_ASBOX
86855 ## ----------------------------------------- ##
86856 ## Report this to the package-unused lists. ##
86857 ## ----------------------------------------- ##
86858 _ASBOX
86860 sed "s/^/$as_me: WARNING: /" >&2
86862 esac
86863 echo "$as_me:$LINENO: checking for $ac_header" >&5
86864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86866 echo $ECHO_N "(cached) $ECHO_C" >&6
86867 else
86868 eval "$as_ac_Header=\$ac_header_preproc"
86870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86875 cat >>confdefs.h <<_ACEOF
86876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86877 _ACEOF
86881 done
86883 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86886 # If we're not using GNU ld, then there's no point in even trying these
86887 # tests. Check for that first. We should have already tested for gld
86888 # by now (in libtool), but require it now just to be safe...
86889 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86890 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86894 # The name set by libtool depends on the version of libtool. Shame on us
86895 # for depending on an impl detail, but c'est la vie. Older versions used
86896 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86897 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86898 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86899 # set (hence we're using an older libtool), then set it.
86900 if test x${with_gnu_ld+set} != xset; then
86901 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86902 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86903 with_gnu_ld=no
86904 else
86905 with_gnu_ld=$ac_cv_prog_gnu_ld
86909 # Start by getting the version number. I think the libtool test already
86910 # does some of this, but throws away the result.
86911 echo "$as_me:$LINENO: checking for ld version" >&5
86912 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86914 ldver=`$LD --version 2>/dev/null | head -1 | \
86915 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
86917 glibcxx_gnu_ld_version=`echo $ldver | \
86918 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86919 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86920 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86922 # Set --gc-sections.
86923 glibcxx_gcsections_min_ld=21602
86924 if test x"$with_gnu_ld" = x"yes" &&
86925 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86927 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86928 # NB: This flag only works reliably after 2.16.1. Configure tests
86929 # for this are difficult, so hard wire a value that should work.
86931 # All these tests are for C++, but run with the "C" compiler driver.
86932 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
86933 ac_test_CFLAGS="${CFLAGS+set}"
86934 ac_save_CFLAGS="$CFLAGS"
86935 CFLAGS='-x c++ -Wl,--gc-sections'
86937 # Check for -Wl,--gc-sections
86938 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86939 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86940 if test x$gcc_no_link = xyes; then
86941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86943 { (exit 1); exit 1; }; }
86945 cat >conftest.$ac_ext <<_ACEOF
86946 /* confdefs.h. */
86947 _ACEOF
86948 cat confdefs.h >>conftest.$ac_ext
86949 cat >>conftest.$ac_ext <<_ACEOF
86950 /* end confdefs.h. */
86951 int one(void) { return 1; }
86952 int two(void) { return 2; }
86955 main ()
86957 two();
86959 return 0;
86961 _ACEOF
86962 rm -f conftest.$ac_objext conftest$ac_exeext
86963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86964 (eval $ac_link) 2>conftest.er1
86965 ac_status=$?
86966 grep -v '^ *+' conftest.er1 >conftest.err
86967 rm -f conftest.er1
86968 cat conftest.err >&5
86969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86970 (exit $ac_status); } &&
86971 { ac_try='test -z "$ac_c_werror_flag"
86972 || test ! -s conftest.err'
86973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86974 (eval $ac_try) 2>&5
86975 ac_status=$?
86976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86977 (exit $ac_status); }; } &&
86978 { ac_try='test -s conftest$ac_exeext'
86979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86980 (eval $ac_try) 2>&5
86981 ac_status=$?
86982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86983 (exit $ac_status); }; }; then
86984 ac_gcsections=yes
86985 else
86986 echo "$as_me: failed program was:" >&5
86987 sed 's/^/| /' conftest.$ac_ext >&5
86989 ac_gcsections=no
86991 rm -f conftest.err conftest.$ac_objext \
86992 conftest$ac_exeext conftest.$ac_ext
86993 if test "$ac_gcsections" = "yes"; then
86994 rm -f conftest.c
86995 touch conftest.c
86996 if $CC -c conftest.c; then
86997 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86998 grep "Warning: gc-sections option ignored" > /dev/null; then
86999 ac_gcsections=no
87002 rm -f conftest.c conftest.o conftest
87004 if test "$ac_gcsections" = "yes"; then
87005 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87007 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87008 echo "${ECHO_T}$ac_gcsections" >&6
87010 if test "$ac_test_CFLAGS" = set; then
87011 CFLAGS="$ac_save_CFLAGS"
87012 else
87013 # this is the suspicious part
87014 CFLAGS=''
87018 # Set -z,relro.
87019 # Note this is only for shared objects.
87020 ac_ld_relro=no
87021 if test x"$with_gnu_ld" = x"yes"; then
87022 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87023 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87024 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87025 if test -n "$cxx_z_relo"; then
87026 OPT_LDFLAGS="-Wl,-z,relro"
87027 ac_ld_relro=yes
87029 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87030 echo "${ECHO_T}$ac_ld_relro" >&6
87033 # Set linker optimization flags.
87034 if test x"$with_gnu_ld" = x"yes"; then
87035 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87043 echo "$as_me:$LINENO: checking for main in -lm" >&5
87044 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87045 if test "${ac_cv_lib_m_main+set}" = set; then
87046 echo $ECHO_N "(cached) $ECHO_C" >&6
87047 else
87048 ac_check_lib_save_LIBS=$LIBS
87049 LIBS="-lm $LIBS"
87050 if test x$gcc_no_link = xyes; then
87051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87053 { (exit 1); exit 1; }; }
87055 cat >conftest.$ac_ext <<_ACEOF
87056 /* confdefs.h. */
87057 _ACEOF
87058 cat confdefs.h >>conftest.$ac_ext
87059 cat >>conftest.$ac_ext <<_ACEOF
87060 /* end confdefs.h. */
87064 main ()
87066 main ();
87068 return 0;
87070 _ACEOF
87071 rm -f conftest.$ac_objext conftest$ac_exeext
87072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87073 (eval $ac_link) 2>conftest.er1
87074 ac_status=$?
87075 grep -v '^ *+' conftest.er1 >conftest.err
87076 rm -f conftest.er1
87077 cat conftest.err >&5
87078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87079 (exit $ac_status); } &&
87080 { ac_try='test -z "$ac_c_werror_flag"
87081 || test ! -s conftest.err'
87082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87083 (eval $ac_try) 2>&5
87084 ac_status=$?
87085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87086 (exit $ac_status); }; } &&
87087 { ac_try='test -s conftest$ac_exeext'
87088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87089 (eval $ac_try) 2>&5
87090 ac_status=$?
87091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87092 (exit $ac_status); }; }; then
87093 ac_cv_lib_m_main=yes
87094 else
87095 echo "$as_me: failed program was:" >&5
87096 sed 's/^/| /' conftest.$ac_ext >&5
87098 ac_cv_lib_m_main=no
87100 rm -f conftest.err conftest.$ac_objext \
87101 conftest$ac_exeext conftest.$ac_ext
87102 LIBS=$ac_check_lib_save_LIBS
87104 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87105 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87106 if test $ac_cv_lib_m_main = yes; then
87107 cat >>confdefs.h <<_ACEOF
87108 #define HAVE_LIBM 1
87109 _ACEOF
87111 LIBS="-lm $LIBS"
87116 for ac_func in copysignf
87118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87119 echo "$as_me:$LINENO: checking for $ac_func" >&5
87120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87121 if eval "test \"\${$as_ac_var+set}\" = set"; then
87122 echo $ECHO_N "(cached) $ECHO_C" >&6
87123 else
87124 if test x$gcc_no_link = xyes; then
87125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87127 { (exit 1); exit 1; }; }
87129 cat >conftest.$ac_ext <<_ACEOF
87130 /* confdefs.h. */
87131 _ACEOF
87132 cat confdefs.h >>conftest.$ac_ext
87133 cat >>conftest.$ac_ext <<_ACEOF
87134 /* end confdefs.h. */
87135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87137 #define $ac_func innocuous_$ac_func
87139 /* System header to define __stub macros and hopefully few prototypes,
87140 which can conflict with char $ac_func (); below.
87141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87142 <limits.h> exists even on freestanding compilers. */
87144 #ifdef __STDC__
87145 # include <limits.h>
87146 #else
87147 # include <assert.h>
87148 #endif
87150 #undef $ac_func
87152 /* Override any gcc2 internal prototype to avoid an error. */
87153 #ifdef __cplusplus
87154 extern "C"
87156 #endif
87157 /* We use char because int might match the return type of a gcc2
87158 builtin and then its argument prototype would still apply. */
87159 char $ac_func ();
87160 /* The GNU C library defines this for functions which it implements
87161 to always fail with ENOSYS. Some functions are actually named
87162 something starting with __ and the normal name is an alias. */
87163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87164 choke me
87165 #else
87166 char (*f) () = $ac_func;
87167 #endif
87168 #ifdef __cplusplus
87170 #endif
87173 main ()
87175 return f != $ac_func;
87177 return 0;
87179 _ACEOF
87180 rm -f conftest.$ac_objext conftest$ac_exeext
87181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87182 (eval $ac_link) 2>conftest.er1
87183 ac_status=$?
87184 grep -v '^ *+' conftest.er1 >conftest.err
87185 rm -f conftest.er1
87186 cat conftest.err >&5
87187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87188 (exit $ac_status); } &&
87189 { ac_try='test -z "$ac_c_werror_flag"
87190 || test ! -s conftest.err'
87191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87192 (eval $ac_try) 2>&5
87193 ac_status=$?
87194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87195 (exit $ac_status); }; } &&
87196 { ac_try='test -s conftest$ac_exeext'
87197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87198 (eval $ac_try) 2>&5
87199 ac_status=$?
87200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87201 (exit $ac_status); }; }; then
87202 eval "$as_ac_var=yes"
87203 else
87204 echo "$as_me: failed program was:" >&5
87205 sed 's/^/| /' conftest.$ac_ext >&5
87207 eval "$as_ac_var=no"
87209 rm -f conftest.err conftest.$ac_objext \
87210 conftest$ac_exeext conftest.$ac_ext
87212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87214 if test `eval echo '${'$as_ac_var'}'` = yes; then
87215 cat >>confdefs.h <<_ACEOF
87216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87217 _ACEOF
87219 else
87220 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87222 done
87226 for ac_func in __signbit
87228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87229 echo "$as_me:$LINENO: checking for $ac_func" >&5
87230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87231 if eval "test \"\${$as_ac_var+set}\" = set"; then
87232 echo $ECHO_N "(cached) $ECHO_C" >&6
87233 else
87234 if test x$gcc_no_link = xyes; then
87235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87237 { (exit 1); exit 1; }; }
87239 cat >conftest.$ac_ext <<_ACEOF
87240 /* confdefs.h. */
87241 _ACEOF
87242 cat confdefs.h >>conftest.$ac_ext
87243 cat >>conftest.$ac_ext <<_ACEOF
87244 /* end confdefs.h. */
87245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87247 #define $ac_func innocuous_$ac_func
87249 /* System header to define __stub macros and hopefully few prototypes,
87250 which can conflict with char $ac_func (); below.
87251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87252 <limits.h> exists even on freestanding compilers. */
87254 #ifdef __STDC__
87255 # include <limits.h>
87256 #else
87257 # include <assert.h>
87258 #endif
87260 #undef $ac_func
87262 /* Override any gcc2 internal prototype to avoid an error. */
87263 #ifdef __cplusplus
87264 extern "C"
87266 #endif
87267 /* We use char because int might match the return type of a gcc2
87268 builtin and then its argument prototype would still apply. */
87269 char $ac_func ();
87270 /* The GNU C library defines this for functions which it implements
87271 to always fail with ENOSYS. Some functions are actually named
87272 something starting with __ and the normal name is an alias. */
87273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87274 choke me
87275 #else
87276 char (*f) () = $ac_func;
87277 #endif
87278 #ifdef __cplusplus
87280 #endif
87283 main ()
87285 return f != $ac_func;
87287 return 0;
87289 _ACEOF
87290 rm -f conftest.$ac_objext conftest$ac_exeext
87291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87292 (eval $ac_link) 2>conftest.er1
87293 ac_status=$?
87294 grep -v '^ *+' conftest.er1 >conftest.err
87295 rm -f conftest.er1
87296 cat conftest.err >&5
87297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87298 (exit $ac_status); } &&
87299 { ac_try='test -z "$ac_c_werror_flag"
87300 || test ! -s conftest.err'
87301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87302 (eval $ac_try) 2>&5
87303 ac_status=$?
87304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87305 (exit $ac_status); }; } &&
87306 { ac_try='test -s conftest$ac_exeext'
87307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87308 (eval $ac_try) 2>&5
87309 ac_status=$?
87310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87311 (exit $ac_status); }; }; then
87312 eval "$as_ac_var=yes"
87313 else
87314 echo "$as_me: failed program was:" >&5
87315 sed 's/^/| /' conftest.$ac_ext >&5
87317 eval "$as_ac_var=no"
87319 rm -f conftest.err conftest.$ac_objext \
87320 conftest$ac_exeext conftest.$ac_ext
87322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87324 if test `eval echo '${'$as_ac_var'}'` = yes; then
87325 cat >>confdefs.h <<_ACEOF
87326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87327 _ACEOF
87329 else
87330 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87332 done
87336 for ac_func in __signbitf
87338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87339 echo "$as_me:$LINENO: checking for $ac_func" >&5
87340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87341 if eval "test \"\${$as_ac_var+set}\" = set"; then
87342 echo $ECHO_N "(cached) $ECHO_C" >&6
87343 else
87344 if test x$gcc_no_link = xyes; then
87345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87347 { (exit 1); exit 1; }; }
87349 cat >conftest.$ac_ext <<_ACEOF
87350 /* confdefs.h. */
87351 _ACEOF
87352 cat confdefs.h >>conftest.$ac_ext
87353 cat >>conftest.$ac_ext <<_ACEOF
87354 /* end confdefs.h. */
87355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87357 #define $ac_func innocuous_$ac_func
87359 /* System header to define __stub macros and hopefully few prototypes,
87360 which can conflict with char $ac_func (); below.
87361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87362 <limits.h> exists even on freestanding compilers. */
87364 #ifdef __STDC__
87365 # include <limits.h>
87366 #else
87367 # include <assert.h>
87368 #endif
87370 #undef $ac_func
87372 /* Override any gcc2 internal prototype to avoid an error. */
87373 #ifdef __cplusplus
87374 extern "C"
87376 #endif
87377 /* We use char because int might match the return type of a gcc2
87378 builtin and then its argument prototype would still apply. */
87379 char $ac_func ();
87380 /* The GNU C library defines this for functions which it implements
87381 to always fail with ENOSYS. Some functions are actually named
87382 something starting with __ and the normal name is an alias. */
87383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87384 choke me
87385 #else
87386 char (*f) () = $ac_func;
87387 #endif
87388 #ifdef __cplusplus
87390 #endif
87393 main ()
87395 return f != $ac_func;
87397 return 0;
87399 _ACEOF
87400 rm -f conftest.$ac_objext conftest$ac_exeext
87401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87402 (eval $ac_link) 2>conftest.er1
87403 ac_status=$?
87404 grep -v '^ *+' conftest.er1 >conftest.err
87405 rm -f conftest.er1
87406 cat conftest.err >&5
87407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87408 (exit $ac_status); } &&
87409 { ac_try='test -z "$ac_c_werror_flag"
87410 || test ! -s conftest.err'
87411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87412 (eval $ac_try) 2>&5
87413 ac_status=$?
87414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87415 (exit $ac_status); }; } &&
87416 { ac_try='test -s conftest$ac_exeext'
87417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87418 (eval $ac_try) 2>&5
87419 ac_status=$?
87420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87421 (exit $ac_status); }; }; then
87422 eval "$as_ac_var=yes"
87423 else
87424 echo "$as_me: failed program was:" >&5
87425 sed 's/^/| /' conftest.$ac_ext >&5
87427 eval "$as_ac_var=no"
87429 rm -f conftest.err conftest.$ac_objext \
87430 conftest$ac_exeext conftest.$ac_ext
87432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87434 if test `eval echo '${'$as_ac_var'}'` = yes; then
87435 cat >>confdefs.h <<_ACEOF
87436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87437 _ACEOF
87439 else
87440 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87442 done
87445 if test x$ac_cv_func_copysignl = x"yes"; then
87447 for ac_func in __signbitl
87449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87450 echo "$as_me:$LINENO: checking for $ac_func" >&5
87451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87452 if eval "test \"\${$as_ac_var+set}\" = set"; then
87453 echo $ECHO_N "(cached) $ECHO_C" >&6
87454 else
87455 if test x$gcc_no_link = xyes; then
87456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87458 { (exit 1); exit 1; }; }
87460 cat >conftest.$ac_ext <<_ACEOF
87461 /* confdefs.h. */
87462 _ACEOF
87463 cat confdefs.h >>conftest.$ac_ext
87464 cat >>conftest.$ac_ext <<_ACEOF
87465 /* end confdefs.h. */
87466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87468 #define $ac_func innocuous_$ac_func
87470 /* System header to define __stub macros and hopefully few prototypes,
87471 which can conflict with char $ac_func (); below.
87472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87473 <limits.h> exists even on freestanding compilers. */
87475 #ifdef __STDC__
87476 # include <limits.h>
87477 #else
87478 # include <assert.h>
87479 #endif
87481 #undef $ac_func
87483 /* Override any gcc2 internal prototype to avoid an error. */
87484 #ifdef __cplusplus
87485 extern "C"
87487 #endif
87488 /* We use char because int might match the return type of a gcc2
87489 builtin and then its argument prototype would still apply. */
87490 char $ac_func ();
87491 /* The GNU C library defines this for functions which it implements
87492 to always fail with ENOSYS. Some functions are actually named
87493 something starting with __ and the normal name is an alias. */
87494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87495 choke me
87496 #else
87497 char (*f) () = $ac_func;
87498 #endif
87499 #ifdef __cplusplus
87501 #endif
87504 main ()
87506 return f != $ac_func;
87508 return 0;
87510 _ACEOF
87511 rm -f conftest.$ac_objext conftest$ac_exeext
87512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87513 (eval $ac_link) 2>conftest.er1
87514 ac_status=$?
87515 grep -v '^ *+' conftest.er1 >conftest.err
87516 rm -f conftest.er1
87517 cat conftest.err >&5
87518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87519 (exit $ac_status); } &&
87520 { ac_try='test -z "$ac_c_werror_flag"
87521 || test ! -s conftest.err'
87522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87523 (eval $ac_try) 2>&5
87524 ac_status=$?
87525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87526 (exit $ac_status); }; } &&
87527 { ac_try='test -s conftest$ac_exeext'
87528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87529 (eval $ac_try) 2>&5
87530 ac_status=$?
87531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87532 (exit $ac_status); }; }; then
87533 eval "$as_ac_var=yes"
87534 else
87535 echo "$as_me: failed program was:" >&5
87536 sed 's/^/| /' conftest.$ac_ext >&5
87538 eval "$as_ac_var=no"
87540 rm -f conftest.err conftest.$ac_objext \
87541 conftest$ac_exeext conftest.$ac_ext
87543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87545 if test `eval echo '${'$as_ac_var'}'` = yes; then
87546 cat >>confdefs.h <<_ACEOF
87547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87548 _ACEOF
87550 else
87551 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87553 done
87557 # Used in libmath/Makefile.am.
87558 if test -n "$LIBMATHOBJS"; then
87559 need_libmath=yes
87565 enable_iconv=no
87566 # Only continue checking if the ISO C99 headers exist and support is on.
87567 if test x"$enable_wchar_t" = xyes; then
87569 # Use iconv for wchar_t to char conversions. As such, check for
87570 # X/Open Portability Guide, version 2 features (XPG2).
87571 if test "${ac_cv_header_iconv_h+set}" = set; then
87572 echo "$as_me:$LINENO: checking for iconv.h" >&5
87573 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
87574 if test "${ac_cv_header_iconv_h+set}" = set; then
87575 echo $ECHO_N "(cached) $ECHO_C" >&6
87577 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
87578 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
87579 else
87580 # Is the header compilable?
87581 echo "$as_me:$LINENO: checking iconv.h usability" >&5
87582 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
87583 cat >conftest.$ac_ext <<_ACEOF
87584 /* confdefs.h. */
87585 _ACEOF
87586 cat confdefs.h >>conftest.$ac_ext
87587 cat >>conftest.$ac_ext <<_ACEOF
87588 /* end confdefs.h. */
87589 $ac_includes_default
87590 #include <iconv.h>
87591 _ACEOF
87592 rm -f conftest.$ac_objext
87593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87594 (eval $ac_compile) 2>conftest.er1
87595 ac_status=$?
87596 grep -v '^ *+' conftest.er1 >conftest.err
87597 rm -f conftest.er1
87598 cat conftest.err >&5
87599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87600 (exit $ac_status); } &&
87601 { ac_try='test -z "$ac_c_werror_flag"
87602 || test ! -s conftest.err'
87603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87604 (eval $ac_try) 2>&5
87605 ac_status=$?
87606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87607 (exit $ac_status); }; } &&
87608 { ac_try='test -s conftest.$ac_objext'
87609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87610 (eval $ac_try) 2>&5
87611 ac_status=$?
87612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87613 (exit $ac_status); }; }; then
87614 ac_header_compiler=yes
87615 else
87616 echo "$as_me: failed program was:" >&5
87617 sed 's/^/| /' conftest.$ac_ext >&5
87619 ac_header_compiler=no
87621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87623 echo "${ECHO_T}$ac_header_compiler" >&6
87625 # Is the header present?
87626 echo "$as_me:$LINENO: checking iconv.h presence" >&5
87627 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
87628 cat >conftest.$ac_ext <<_ACEOF
87629 /* confdefs.h. */
87630 _ACEOF
87631 cat confdefs.h >>conftest.$ac_ext
87632 cat >>conftest.$ac_ext <<_ACEOF
87633 /* end confdefs.h. */
87634 #include <iconv.h>
87635 _ACEOF
87636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87638 ac_status=$?
87639 grep -v '^ *+' conftest.er1 >conftest.err
87640 rm -f conftest.er1
87641 cat conftest.err >&5
87642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87643 (exit $ac_status); } >/dev/null; then
87644 if test -s conftest.err; then
87645 ac_cpp_err=$ac_c_preproc_warn_flag
87646 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87647 else
87648 ac_cpp_err=
87650 else
87651 ac_cpp_err=yes
87653 if test -z "$ac_cpp_err"; then
87654 ac_header_preproc=yes
87655 else
87656 echo "$as_me: failed program was:" >&5
87657 sed 's/^/| /' conftest.$ac_ext >&5
87659 ac_header_preproc=no
87661 rm -f conftest.err conftest.$ac_ext
87662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87663 echo "${ECHO_T}$ac_header_preproc" >&6
87665 # So? What about this header?
87666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87667 yes:no: )
87668 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
87669 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
87670 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
87671 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
87672 ac_header_preproc=yes
87674 no:yes:* )
87675 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
87676 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
87677 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
87678 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
87679 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
87680 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
87681 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
87682 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
87683 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
87684 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
87685 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
87686 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
87688 cat <<\_ASBOX
87689 ## ----------------------------------------- ##
87690 ## Report this to the package-unused lists. ##
87691 ## ----------------------------------------- ##
87692 _ASBOX
87694 sed "s/^/$as_me: WARNING: /" >&2
87696 esac
87697 echo "$as_me:$LINENO: checking for iconv.h" >&5
87698 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
87699 if test "${ac_cv_header_iconv_h+set}" = set; then
87700 echo $ECHO_N "(cached) $ECHO_C" >&6
87701 else
87702 ac_cv_header_iconv_h=$ac_header_preproc
87704 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
87705 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
87708 if test $ac_cv_header_iconv_h = yes; then
87709 ac_has_iconv_h=yes
87710 else
87711 ac_has_iconv_h=no
87715 if test "${ac_cv_header_langinfo_h+set}" = set; then
87716 echo "$as_me:$LINENO: checking for langinfo.h" >&5
87717 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
87718 if test "${ac_cv_header_langinfo_h+set}" = set; then
87719 echo $ECHO_N "(cached) $ECHO_C" >&6
87721 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
87722 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
87723 else
87724 # Is the header compilable?
87725 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
87726 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
87727 cat >conftest.$ac_ext <<_ACEOF
87728 /* confdefs.h. */
87729 _ACEOF
87730 cat confdefs.h >>conftest.$ac_ext
87731 cat >>conftest.$ac_ext <<_ACEOF
87732 /* end confdefs.h. */
87733 $ac_includes_default
87734 #include <langinfo.h>
87735 _ACEOF
87736 rm -f conftest.$ac_objext
87737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87738 (eval $ac_compile) 2>conftest.er1
87739 ac_status=$?
87740 grep -v '^ *+' conftest.er1 >conftest.err
87741 rm -f conftest.er1
87742 cat conftest.err >&5
87743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87744 (exit $ac_status); } &&
87745 { ac_try='test -z "$ac_c_werror_flag"
87746 || test ! -s conftest.err'
87747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87748 (eval $ac_try) 2>&5
87749 ac_status=$?
87750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87751 (exit $ac_status); }; } &&
87752 { ac_try='test -s conftest.$ac_objext'
87753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87754 (eval $ac_try) 2>&5
87755 ac_status=$?
87756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87757 (exit $ac_status); }; }; then
87758 ac_header_compiler=yes
87759 else
87760 echo "$as_me: failed program was:" >&5
87761 sed 's/^/| /' conftest.$ac_ext >&5
87763 ac_header_compiler=no
87765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87767 echo "${ECHO_T}$ac_header_compiler" >&6
87769 # Is the header present?
87770 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
87771 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
87772 cat >conftest.$ac_ext <<_ACEOF
87773 /* confdefs.h. */
87774 _ACEOF
87775 cat confdefs.h >>conftest.$ac_ext
87776 cat >>conftest.$ac_ext <<_ACEOF
87777 /* end confdefs.h. */
87778 #include <langinfo.h>
87779 _ACEOF
87780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87781 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
87788 if test -s conftest.err; then
87789 ac_cpp_err=$ac_c_preproc_warn_flag
87790 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87791 else
87792 ac_cpp_err=
87794 else
87795 ac_cpp_err=yes
87797 if test -z "$ac_cpp_err"; then
87798 ac_header_preproc=yes
87799 else
87800 echo "$as_me: failed program was:" >&5
87801 sed 's/^/| /' conftest.$ac_ext >&5
87803 ac_header_preproc=no
87805 rm -f conftest.err conftest.$ac_ext
87806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87807 echo "${ECHO_T}$ac_header_preproc" >&6
87809 # So? What about this header?
87810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87811 yes:no: )
87812 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
87813 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
87814 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
87815 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
87816 ac_header_preproc=yes
87818 no:yes:* )
87819 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
87820 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
87821 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
87822 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
87823 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
87824 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
87825 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
87826 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
87827 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
87828 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
87829 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
87830 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
87832 cat <<\_ASBOX
87833 ## ----------------------------------------- ##
87834 ## Report this to the package-unused lists. ##
87835 ## ----------------------------------------- ##
87836 _ASBOX
87838 sed "s/^/$as_me: WARNING: /" >&2
87840 esac
87841 echo "$as_me:$LINENO: checking for langinfo.h" >&5
87842 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
87843 if test "${ac_cv_header_langinfo_h+set}" = set; then
87844 echo $ECHO_N "(cached) $ECHO_C" >&6
87845 else
87846 ac_cv_header_langinfo_h=$ac_header_preproc
87848 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
87849 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
87852 if test $ac_cv_header_langinfo_h = yes; then
87853 ac_has_langinfo_h=yes
87854 else
87855 ac_has_langinfo_h=no
87860 # Check for existence of libiconv.a providing XPG2 wchar_t support.
87861 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
87862 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
87863 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
87864 echo $ECHO_N "(cached) $ECHO_C" >&6
87865 else
87866 ac_check_lib_save_LIBS=$LIBS
87867 LIBS="-liconv $LIBS"
87868 if test x$gcc_no_link = xyes; then
87869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87871 { (exit 1); exit 1; }; }
87873 cat >conftest.$ac_ext <<_ACEOF
87874 /* confdefs.h. */
87875 _ACEOF
87876 cat confdefs.h >>conftest.$ac_ext
87877 cat >>conftest.$ac_ext <<_ACEOF
87878 /* end confdefs.h. */
87880 /* Override any gcc2 internal prototype to avoid an error. */
87881 #ifdef __cplusplus
87882 extern "C"
87883 #endif
87884 /* We use char because int might match the return type of a gcc2
87885 builtin and then its argument prototype would still apply. */
87886 char iconv ();
87888 main ()
87890 iconv ();
87892 return 0;
87894 _ACEOF
87895 rm -f conftest.$ac_objext conftest$ac_exeext
87896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87897 (eval $ac_link) 2>conftest.er1
87898 ac_status=$?
87899 grep -v '^ *+' conftest.er1 >conftest.err
87900 rm -f conftest.er1
87901 cat conftest.err >&5
87902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87903 (exit $ac_status); } &&
87904 { ac_try='test -z "$ac_c_werror_flag"
87905 || test ! -s conftest.err'
87906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87907 (eval $ac_try) 2>&5
87908 ac_status=$?
87909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87910 (exit $ac_status); }; } &&
87911 { ac_try='test -s conftest$ac_exeext'
87912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87913 (eval $ac_try) 2>&5
87914 ac_status=$?
87915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87916 (exit $ac_status); }; }; then
87917 ac_cv_lib_iconv_iconv=yes
87918 else
87919 echo "$as_me: failed program was:" >&5
87920 sed 's/^/| /' conftest.$ac_ext >&5
87922 ac_cv_lib_iconv_iconv=no
87924 rm -f conftest.err conftest.$ac_objext \
87925 conftest$ac_exeext conftest.$ac_ext
87926 LIBS=$ac_check_lib_save_LIBS
87928 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
87929 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
87930 if test $ac_cv_lib_iconv_iconv = yes; then
87931 LIBICONV="-liconv"
87934 ac_save_LIBS="$LIBS"
87935 LIBS="$LIBS $LIBICONV"
87942 for ac_func in iconv_open iconv_close iconv nl_langinfo
87944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87945 echo "$as_me:$LINENO: checking for $ac_func" >&5
87946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87947 if eval "test \"\${$as_ac_var+set}\" = set"; then
87948 echo $ECHO_N "(cached) $ECHO_C" >&6
87949 else
87950 if test x$gcc_no_link = xyes; then
87951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87953 { (exit 1); exit 1; }; }
87955 cat >conftest.$ac_ext <<_ACEOF
87956 /* confdefs.h. */
87957 _ACEOF
87958 cat confdefs.h >>conftest.$ac_ext
87959 cat >>conftest.$ac_ext <<_ACEOF
87960 /* end confdefs.h. */
87961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87963 #define $ac_func innocuous_$ac_func
87965 /* System header to define __stub macros and hopefully few prototypes,
87966 which can conflict with char $ac_func (); below.
87967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87968 <limits.h> exists even on freestanding compilers. */
87970 #ifdef __STDC__
87971 # include <limits.h>
87972 #else
87973 # include <assert.h>
87974 #endif
87976 #undef $ac_func
87978 /* Override any gcc2 internal prototype to avoid an error. */
87979 #ifdef __cplusplus
87980 extern "C"
87982 #endif
87983 /* We use char because int might match the return type of a gcc2
87984 builtin and then its argument prototype would still apply. */
87985 char $ac_func ();
87986 /* The GNU C library defines this for functions which it implements
87987 to always fail with ENOSYS. Some functions are actually named
87988 something starting with __ and the normal name is an alias. */
87989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87990 choke me
87991 #else
87992 char (*f) () = $ac_func;
87993 #endif
87994 #ifdef __cplusplus
87996 #endif
87999 main ()
88001 return f != $ac_func;
88003 return 0;
88005 _ACEOF
88006 rm -f conftest.$ac_objext conftest$ac_exeext
88007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88008 (eval $ac_link) 2>conftest.er1
88009 ac_status=$?
88010 grep -v '^ *+' conftest.er1 >conftest.err
88011 rm -f conftest.er1
88012 cat conftest.err >&5
88013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88014 (exit $ac_status); } &&
88015 { ac_try='test -z "$ac_c_werror_flag"
88016 || test ! -s conftest.err'
88017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88018 (eval $ac_try) 2>&5
88019 ac_status=$?
88020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88021 (exit $ac_status); }; } &&
88022 { ac_try='test -s conftest$ac_exeext'
88023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88024 (eval $ac_try) 2>&5
88025 ac_status=$?
88026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88027 (exit $ac_status); }; }; then
88028 eval "$as_ac_var=yes"
88029 else
88030 echo "$as_me: failed program was:" >&5
88031 sed 's/^/| /' conftest.$ac_ext >&5
88033 eval "$as_ac_var=no"
88035 rm -f conftest.err conftest.$ac_objext \
88036 conftest$ac_exeext conftest.$ac_ext
88038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88040 if test `eval echo '${'$as_ac_var'}'` = yes; then
88041 cat >>confdefs.h <<_ACEOF
88042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88043 _ACEOF
88044 ac_XPG2funcs=yes
88045 else
88046 ac_XPG2funcs=no
88048 done
88051 LIBS="$ac_save_LIBS"
88053 if test x"$ac_has_iconv_h" = xyes &&
88054 test x"$ac_has_langinfo_h" = xyes &&
88055 test x"$ac_XPG2funcs" = xyes;
88056 then
88058 cat >>confdefs.h <<\_ACEOF
88059 #define _GLIBCXX_USE_ICONV 1
88060 _ACEOF
88062 enable_iconv=yes
88065 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
88066 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
88067 echo "$as_me:$LINENO: result: $enable_iconv" >&5
88068 echo "${ECHO_T}$enable_iconv" >&6
88070 cat >>confdefs.h <<\_ACEOF
88071 #define HAVE_COPYSIGN 1
88072 _ACEOF
88074 cat >>confdefs.h <<\_ACEOF
88075 #define HAVE_COPYSIGNF 1
88076 _ACEOF
88078 cat >>confdefs.h <<\_ACEOF
88079 #define HAVE_FINITE 1
88080 _ACEOF
88082 cat >>confdefs.h <<\_ACEOF
88083 #define HAVE_FINITEF 1
88084 _ACEOF
88086 cat >>confdefs.h <<\_ACEOF
88087 #define HAVE_FREXPF 1
88088 _ACEOF
88090 cat >>confdefs.h <<\_ACEOF
88091 #define HAVE_HYPOTF 1
88092 _ACEOF
88094 cat >>confdefs.h <<\_ACEOF
88095 #define HAVE_ISINF 1
88096 _ACEOF
88098 cat >>confdefs.h <<\_ACEOF
88099 #define HAVE_ISINFF 1
88100 _ACEOF
88102 cat >>confdefs.h <<\_ACEOF
88103 #define HAVE_ISNAN 1
88104 _ACEOF
88106 cat >>confdefs.h <<\_ACEOF
88107 #define HAVE_ISNANF 1
88108 _ACEOF
88110 cat >>confdefs.h <<\_ACEOF
88111 #define HAVE_SINCOS 1
88112 _ACEOF
88114 cat >>confdefs.h <<\_ACEOF
88115 #define HAVE_SINCOSF 1
88116 _ACEOF
88118 if test x"long_double_math_on_this_cpu" = x"yes"; then
88119 cat >>confdefs.h <<\_ACEOF
88120 #define HAVE_FINITEL 1
88121 _ACEOF
88123 cat >>confdefs.h <<\_ACEOF
88124 #define HAVE_HYPOTL 1
88125 _ACEOF
88127 cat >>confdefs.h <<\_ACEOF
88128 #define HAVE_ISINFL 1
88129 _ACEOF
88131 cat >>confdefs.h <<\_ACEOF
88132 #define HAVE_ISNANL 1
88133 _ACEOF
88137 *-vxworks)
88138 cat >>confdefs.h <<\_ACEOF
88139 #define HAVE_MMAP 1
88140 _ACEOF
88142 cat >>confdefs.h <<\_ACEOF
88143 #define HAVE_ACOSF 1
88144 _ACEOF
88146 cat >>confdefs.h <<\_ACEOF
88147 #define HAVE_ASINF 1
88148 _ACEOF
88150 cat >>confdefs.h <<\_ACEOF
88151 #define HAVE_ATAN2F 1
88152 _ACEOF
88154 cat >>confdefs.h <<\_ACEOF
88155 #define HAVE_ATANF 1
88156 _ACEOF
88158 cat >>confdefs.h <<\_ACEOF
88159 #define HAVE_CEILF 1
88160 _ACEOF
88162 cat >>confdefs.h <<\_ACEOF
88163 #define HAVE_COSF 1
88164 _ACEOF
88166 cat >>confdefs.h <<\_ACEOF
88167 #define HAVE_COSHF 1
88168 _ACEOF
88170 cat >>confdefs.h <<\_ACEOF
88171 #define HAVE_EXPF 1
88172 _ACEOF
88174 cat >>confdefs.h <<\_ACEOF
88175 #define HAVE_FABSF 1
88176 _ACEOF
88178 cat >>confdefs.h <<\_ACEOF
88179 #define HAVE_FLOORF 1
88180 _ACEOF
88182 cat >>confdefs.h <<\_ACEOF
88183 #define HAVE_FMODF 1
88184 _ACEOF
88186 cat >>confdefs.h <<\_ACEOF
88187 #define HAVE_HYPOT 1
88188 _ACEOF
88190 cat >>confdefs.h <<\_ACEOF
88191 #define HAVE_LOG10F 1
88192 _ACEOF
88194 cat >>confdefs.h <<\_ACEOF
88195 #define HAVE_LOGF 1
88196 _ACEOF
88198 cat >>confdefs.h <<\_ACEOF
88199 #define HAVE_POWF 1
88200 _ACEOF
88202 cat >>confdefs.h <<\_ACEOF
88203 #define HAVE_SINF 1
88204 _ACEOF
88206 cat >>confdefs.h <<\_ACEOF
88207 #define HAVE_SINHF 1
88208 _ACEOF
88210 cat >>confdefs.h <<\_ACEOF
88211 #define HAVE_SQRTF 1
88212 _ACEOF
88214 cat >>confdefs.h <<\_ACEOF
88215 #define HAVE_TANF 1
88216 _ACEOF
88218 cat >>confdefs.h <<\_ACEOF
88219 #define HAVE_TANHF 1
88220 _ACEOF
88223 *-windiss*)
88224 cat >>confdefs.h <<\_ACEOF
88225 #define HAVE_ACOSF 1
88226 _ACEOF
88228 cat >>confdefs.h <<\_ACEOF
88229 #define HAVE_ACOSL 1
88230 _ACEOF
88232 cat >>confdefs.h <<\_ACEOF
88233 #define HAVE_ASINF 1
88234 _ACEOF
88236 cat >>confdefs.h <<\_ACEOF
88237 #define HAVE_ASINL 1
88238 _ACEOF
88240 cat >>confdefs.h <<\_ACEOF
88241 #define HAVE_ATAN2F 1
88242 _ACEOF
88244 cat >>confdefs.h <<\_ACEOF
88245 #define HAVE_ATAN2L 1
88246 _ACEOF
88248 cat >>confdefs.h <<\_ACEOF
88249 #define HAVE_ATANF 1
88250 _ACEOF
88252 cat >>confdefs.h <<\_ACEOF
88253 #define HAVE_ATANL 1
88254 _ACEOF
88256 cat >>confdefs.h <<\_ACEOF
88257 #define HAVE_CEILF 1
88258 _ACEOF
88260 cat >>confdefs.h <<\_ACEOF
88261 #define HAVE_CEILL 1
88262 _ACEOF
88264 cat >>confdefs.h <<\_ACEOF
88265 #define HAVE_COPYSIGN 1
88266 _ACEOF
88268 cat >>confdefs.h <<\_ACEOF
88269 #define HAVE_COPYSIGNF 1
88270 _ACEOF
88272 cat >>confdefs.h <<\_ACEOF
88273 #define HAVE_COSF 1
88274 _ACEOF
88276 cat >>confdefs.h <<\_ACEOF
88277 #define HAVE_COSL 1
88278 _ACEOF
88280 cat >>confdefs.h <<\_ACEOF
88281 #define HAVE_COSHF 1
88282 _ACEOF
88284 cat >>confdefs.h <<\_ACEOF
88285 #define HAVE_COSHL 1
88286 _ACEOF
88288 cat >>confdefs.h <<\_ACEOF
88289 #define HAVE_EXPF 1
88290 _ACEOF
88292 cat >>confdefs.h <<\_ACEOF
88293 #define HAVE_EXPL 1
88294 _ACEOF
88296 cat >>confdefs.h <<\_ACEOF
88297 #define HAVE_FABSF 1
88298 _ACEOF
88300 cat >>confdefs.h <<\_ACEOF
88301 #define HAVE_FABSL 1
88302 _ACEOF
88304 cat >>confdefs.h <<\_ACEOF
88305 #define HAVE_FLOORF 1
88306 _ACEOF
88308 cat >>confdefs.h <<\_ACEOF
88309 #define HAVE_FLOORL 1
88310 _ACEOF
88312 cat >>confdefs.h <<\_ACEOF
88313 #define HAVE_FMODF 1
88314 _ACEOF
88316 cat >>confdefs.h <<\_ACEOF
88317 #define HAVE_FMODL 1
88318 _ACEOF
88320 cat >>confdefs.h <<\_ACEOF
88321 #define HAVE_FREXPF 1
88322 _ACEOF
88324 cat >>confdefs.h <<\_ACEOF
88325 #define HAVE_FREXPL 1
88326 _ACEOF
88328 cat >>confdefs.h <<\_ACEOF
88329 #define HAVE_LDEXPF 1
88330 _ACEOF
88332 cat >>confdefs.h <<\_ACEOF
88333 #define HAVE_LDEXPL 1
88334 _ACEOF
88336 cat >>confdefs.h <<\_ACEOF
88337 #define HAVE_LOG10F 1
88338 _ACEOF
88340 cat >>confdefs.h <<\_ACEOF
88341 #define HAVE_LOG10L 1
88342 _ACEOF
88344 cat >>confdefs.h <<\_ACEOF
88345 #define HAVE_LOGF 1
88346 _ACEOF
88348 cat >>confdefs.h <<\_ACEOF
88349 #define HAVE_MODFF 1
88350 _ACEOF
88352 cat >>confdefs.h <<\_ACEOF
88353 #define HAVE_MODFL 1
88354 _ACEOF
88356 cat >>confdefs.h <<\_ACEOF
88357 #define HAVE_POWF 1
88358 _ACEOF
88360 cat >>confdefs.h <<\_ACEOF
88361 #define HAVE_POWL 1
88362 _ACEOF
88364 cat >>confdefs.h <<\_ACEOF
88365 #define HAVE_SINF 1
88366 _ACEOF
88368 cat >>confdefs.h <<\_ACEOF
88369 #define HAVE_SINL 1
88370 _ACEOF
88372 cat >>confdefs.h <<\_ACEOF
88373 #define HAVE_SINHF 1
88374 _ACEOF
88376 cat >>confdefs.h <<\_ACEOF
88377 #define HAVE_SINHL 1
88378 _ACEOF
88380 cat >>confdefs.h <<\_ACEOF
88381 #define HAVE_SQRTF 1
88382 _ACEOF
88384 cat >>confdefs.h <<\_ACEOF
88385 #define HAVE_SQRTL 1
88386 _ACEOF
88388 cat >>confdefs.h <<\_ACEOF
88389 #define HAVE_TANF 1
88390 _ACEOF
88392 cat >>confdefs.h <<\_ACEOF
88393 #define HAVE_TANL 1
88394 _ACEOF
88396 cat >>confdefs.h <<\_ACEOF
88397 #define HAVE_TANHF 1
88398 _ACEOF
88400 cat >>confdefs.h <<\_ACEOF
88401 #define HAVE_TANHL 1
88402 _ACEOF
88406 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
88407 echo "$as_me: error: No support for this host/target combination." >&2;}
88408 { (exit 1); exit 1; }; }
88410 esac
88414 # At some point, we should differentiate between architectures
88415 # like x86, which have long double versions, and alpha/powerpc/etc.,
88416 # which don't. For the time being, punt.
88417 if test x"long_double_math_on_this_cpu" = x"yes"; then
88418 cat >>confdefs.h <<\_ACEOF
88419 #define HAVE_ACOSL 1
88420 _ACEOF
88422 cat >>confdefs.h <<\_ACEOF
88423 #define HAVE_ASINL 1
88424 _ACEOF
88426 cat >>confdefs.h <<\_ACEOF
88427 #define HAVE_ATAN2L 1
88428 _ACEOF
88430 cat >>confdefs.h <<\_ACEOF
88431 #define HAVE_ATANL 1
88432 _ACEOF
88434 cat >>confdefs.h <<\_ACEOF
88435 #define HAVE_CEILL 1
88436 _ACEOF
88438 cat >>confdefs.h <<\_ACEOF
88439 #define HAVE_COPYSIGNL 1
88440 _ACEOF
88442 cat >>confdefs.h <<\_ACEOF
88443 #define HAVE_COSL 1
88444 _ACEOF
88446 cat >>confdefs.h <<\_ACEOF
88447 #define HAVE_COSHL 1
88448 _ACEOF
88450 cat >>confdefs.h <<\_ACEOF
88451 #define HAVE_EXPL 1
88452 _ACEOF
88454 cat >>confdefs.h <<\_ACEOF
88455 #define HAVE_FABSL 1
88456 _ACEOF
88458 cat >>confdefs.h <<\_ACEOF
88459 #define HAVE_FLOORL 1
88460 _ACEOF
88462 cat >>confdefs.h <<\_ACEOF
88463 #define HAVE_FMODL 1
88464 _ACEOF
88466 cat >>confdefs.h <<\_ACEOF
88467 #define HAVE_FREXPL 1
88468 _ACEOF
88470 cat >>confdefs.h <<\_ACEOF
88471 #define HAVE_LDEXPL 1
88472 _ACEOF
88474 cat >>confdefs.h <<\_ACEOF
88475 #define HAVE_LOG10L 1
88476 _ACEOF
88478 cat >>confdefs.h <<\_ACEOF
88479 #define HAVE_LOGL 1
88480 _ACEOF
88482 cat >>confdefs.h <<\_ACEOF
88483 #define HAVE_MODFL 1
88484 _ACEOF
88486 cat >>confdefs.h <<\_ACEOF
88487 #define HAVE_POWL 1
88488 _ACEOF
88490 cat >>confdefs.h <<\_ACEOF
88491 #define HAVE_SINCOSL 1
88492 _ACEOF
88494 cat >>confdefs.h <<\_ACEOF
88495 #define HAVE_SINL 1
88496 _ACEOF
88498 cat >>confdefs.h <<\_ACEOF
88499 #define HAVE_SINHL 1
88500 _ACEOF
88502 cat >>confdefs.h <<\_ACEOF
88503 #define HAVE_SQRTL 1
88504 _ACEOF
88506 cat >>confdefs.h <<\_ACEOF
88507 #define HAVE_TANL 1
88508 _ACEOF
88510 cat >>confdefs.h <<\_ACEOF
88511 #define HAVE_TANHL 1
88512 _ACEOF
88518 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
88521 # Check whether --enable-symvers or --disable-symvers was given.
88522 if test "${enable_symvers+set}" = set; then
88523 enableval="$enable_symvers"
88525 case "$enableval" in
88526 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
88527 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
88528 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
88529 { (exit 1); exit 1; }; } ;;
88530 esac
88532 else
88533 enable_symvers=yes
88537 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
88538 # don't know enough about $LD to do tricks...
88541 # Turn a 'yes' into a suitable default.
88542 if test x$enable_symvers = xyes ; then
88543 if test $enable_shared = no || test "x$LD" = x ; then
88544 enable_symvers=no
88545 else
88546 if test $with_gnu_ld = yes ; then
88547 enable_symvers=gnu
88548 else
88549 case ${target_os} in
88550 darwin*)
88551 enable_symvers=darwin ;;
88553 enable_symvers=no ;;
88554 esac
88559 # Check to see if 'darwin' or 'darwin-export' can win.
88560 if test x$enable_symvers = xdarwin-export ; then
88561 enable_symvers=darwin
88564 # Check to see if 'gnu' can win.
88565 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
88566 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
88567 echo "$as_me:$LINENO: checking for shared libgcc" >&5
88568 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
88569 ac_save_CFLAGS="$CFLAGS"
88570 CFLAGS=' -lgcc_s'
88571 if test x$gcc_no_link = xyes; then
88572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88574 { (exit 1); exit 1; }; }
88576 cat >conftest.$ac_ext <<_ACEOF
88577 /* confdefs.h. */
88578 _ACEOF
88579 cat confdefs.h >>conftest.$ac_ext
88580 cat >>conftest.$ac_ext <<_ACEOF
88581 /* end confdefs.h. */
88584 main ()
88586 return 0;
88588 return 0;
88590 _ACEOF
88591 rm -f conftest.$ac_objext conftest$ac_exeext
88592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88593 (eval $ac_link) 2>conftest.er1
88594 ac_status=$?
88595 grep -v '^ *+' conftest.er1 >conftest.err
88596 rm -f conftest.er1
88597 cat conftest.err >&5
88598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88599 (exit $ac_status); } &&
88600 { ac_try='test -z "$ac_c_werror_flag"
88601 || test ! -s conftest.err'
88602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88603 (eval $ac_try) 2>&5
88604 ac_status=$?
88605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88606 (exit $ac_status); }; } &&
88607 { ac_try='test -s conftest$ac_exeext'
88608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88609 (eval $ac_try) 2>&5
88610 ac_status=$?
88611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88612 (exit $ac_status); }; }; then
88613 glibcxx_shared_libgcc=yes
88614 else
88615 echo "$as_me: failed program was:" >&5
88616 sed 's/^/| /' conftest.$ac_ext >&5
88618 glibcxx_shared_libgcc=no
88620 rm -f conftest.err conftest.$ac_objext \
88621 conftest$ac_exeext conftest.$ac_ext
88622 CFLAGS="$ac_save_CFLAGS"
88623 if test $glibcxx_shared_libgcc = no; then
88624 cat > conftest.c <<EOF
88625 int main (void) { return 0; }
88627 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
88628 -shared -shared-libgcc -o conftest.so \
88629 conftest.c -v 2>&1 >/dev/null \
88630 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
88631 rm -f conftest.c conftest.so
88632 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
88633 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
88634 if test x$gcc_no_link = xyes; then
88635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88637 { (exit 1); exit 1; }; }
88639 cat >conftest.$ac_ext <<_ACEOF
88640 /* confdefs.h. */
88641 _ACEOF
88642 cat confdefs.h >>conftest.$ac_ext
88643 cat >>conftest.$ac_ext <<_ACEOF
88644 /* end confdefs.h. */
88647 main ()
88649 return 0;
88651 return 0;
88653 _ACEOF
88654 rm -f conftest.$ac_objext conftest$ac_exeext
88655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88656 (eval $ac_link) 2>conftest.er1
88657 ac_status=$?
88658 grep -v '^ *+' conftest.er1 >conftest.err
88659 rm -f conftest.er1
88660 cat conftest.err >&5
88661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88662 (exit $ac_status); } &&
88663 { ac_try='test -z "$ac_c_werror_flag"
88664 || test ! -s conftest.err'
88665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88666 (eval $ac_try) 2>&5
88667 ac_status=$?
88668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88669 (exit $ac_status); }; } &&
88670 { ac_try='test -s conftest$ac_exeext'
88671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88672 (eval $ac_try) 2>&5
88673 ac_status=$?
88674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88675 (exit $ac_status); }; }; then
88676 glibcxx_shared_libgcc=yes
88677 else
88678 echo "$as_me: failed program was:" >&5
88679 sed 's/^/| /' conftest.$ac_ext >&5
88682 rm -f conftest.err conftest.$ac_objext \
88683 conftest$ac_exeext conftest.$ac_ext
88684 CFLAGS="$ac_save_CFLAGS"
88687 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
88688 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
88690 # For GNU ld, we need at least this version. The format is described in
88691 # GLIBCXX_CHECK_LINKER_FEATURES above.
88692 glibcxx_min_gnu_ld_version=21400
88694 # If no shared libgcc, can't win.
88695 if test $glibcxx_shared_libgcc != yes; then
88696 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
88697 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
88698 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
88699 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
88700 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
88701 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
88702 enable_symvers=no
88703 elif test $with_gnu_ld != yes ; then
88704 # just fail for now
88705 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
88706 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
88707 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
88708 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
88709 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
88710 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
88711 enable_symvers=no
88712 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
88713 # The right tools, the right setup, but too old. Fallbacks?
88714 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
88715 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
88716 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
88717 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
88718 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
88719 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
88720 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
88721 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
88722 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
88723 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
88724 enable_symvers=no
88728 # Everything parsed; figure out what file to use.
88729 case $enable_symvers in
88731 SYMVER_FILE=config/abi/pre/none.ver
88733 gnu)
88734 SYMVER_FILE=config/abi/pre/gnu.ver
88736 cat >>confdefs.h <<\_ACEOF
88737 #define _GLIBCXX_SYMVER_GNU 1
88738 _ACEOF
88741 gnu-versioned-namespace)
88742 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
88744 cat >>confdefs.h <<\_ACEOF
88745 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
88746 _ACEOF
88749 darwin)
88750 SYMVER_FILE=config/abi/pre/gnu.ver
88752 cat >>confdefs.h <<\_ACEOF
88753 #define _GLIBCXX_SYMVER_DARWIN 1
88754 _ACEOF
88757 esac
88759 if test x$enable_symvers != xno ; then
88761 cat >>confdefs.h <<\_ACEOF
88762 #define _GLIBCXX_SYMVER 1
88763 _ACEOF
88773 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
88774 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
88776 # Now, set up compatibility support, if any.
88777 # In addition, need this to deal with std::size_t mangling in
88778 # src/compatibility.cc. In a perfect world, could use
88779 # typeid(std::size_t).name()[0] to do direct substitution.
88780 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
88781 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
88782 ac_save_CFLAGS="$CFLAGS"
88783 CFLAGS="-Werror"
88784 cat >conftest.$ac_ext <<_ACEOF
88785 /* confdefs.h. */
88786 _ACEOF
88787 cat confdefs.h >>conftest.$ac_ext
88788 cat >>conftest.$ac_ext <<_ACEOF
88789 /* end confdefs.h. */
88792 main ()
88794 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
88796 return 0;
88798 _ACEOF
88799 rm -f conftest.$ac_objext
88800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88801 (eval $ac_compile) 2>conftest.er1
88802 ac_status=$?
88803 grep -v '^ *+' conftest.er1 >conftest.err
88804 rm -f conftest.er1
88805 cat conftest.err >&5
88806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88807 (exit $ac_status); } &&
88808 { ac_try='test -z "$ac_c_werror_flag"
88809 || test ! -s conftest.err'
88810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88811 (eval $ac_try) 2>&5
88812 ac_status=$?
88813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88814 (exit $ac_status); }; } &&
88815 { ac_try='test -s conftest.$ac_objext'
88816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88817 (eval $ac_try) 2>&5
88818 ac_status=$?
88819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88820 (exit $ac_status); }; }; then
88821 glibcxx_size_t_is_i=yes
88822 else
88823 echo "$as_me: failed program was:" >&5
88824 sed 's/^/| /' conftest.$ac_ext >&5
88826 glibcxx_size_t_is_i=no
88828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88829 CFLAGS=$ac_save_CFLAGS
88830 if test "$glibcxx_size_t_is_i" = yes; then
88832 cat >>confdefs.h <<\_ACEOF
88833 #define _GLIBCXX_SIZE_T_IS_UINT 1
88834 _ACEOF
88837 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
88838 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
88840 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
88841 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
88842 ac_save_CFLAGS="$CFLAGS"
88843 CFLAGS="-Werror"
88844 cat >conftest.$ac_ext <<_ACEOF
88845 /* confdefs.h. */
88846 _ACEOF
88847 cat confdefs.h >>conftest.$ac_ext
88848 cat >>conftest.$ac_ext <<_ACEOF
88849 /* end confdefs.h. */
88852 main ()
88854 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
88856 return 0;
88858 _ACEOF
88859 rm -f conftest.$ac_objext
88860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88861 (eval $ac_compile) 2>conftest.er1
88862 ac_status=$?
88863 grep -v '^ *+' conftest.er1 >conftest.err
88864 rm -f conftest.er1
88865 cat conftest.err >&5
88866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88867 (exit $ac_status); } &&
88868 { ac_try='test -z "$ac_c_werror_flag"
88869 || test ! -s conftest.err'
88870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88871 (eval $ac_try) 2>&5
88872 ac_status=$?
88873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88874 (exit $ac_status); }; } &&
88875 { ac_try='test -s conftest.$ac_objext'
88876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88877 (eval $ac_try) 2>&5
88878 ac_status=$?
88879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88880 (exit $ac_status); }; }; then
88881 glibcxx_ptrdiff_t_is_i=yes
88882 else
88883 echo "$as_me: failed program was:" >&5
88884 sed 's/^/| /' conftest.$ac_ext >&5
88886 glibcxx_ptrdiff_t_is_i=no
88888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88889 CFLAGS=$ac_save_CFLAGS
88890 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
88892 cat >>confdefs.h <<\_ACEOF
88893 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
88894 _ACEOF
88897 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
88898 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
88901 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
88903 if $GLIBCXX_IS_NATIVE ; then
88904 # Do checks for resource limit functions.
88906 setrlimit_have_headers=yes
88910 for ac_header in unistd.h sys/time.h sys/resource.h
88912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88914 echo "$as_me:$LINENO: checking for $ac_header" >&5
88915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88917 echo $ECHO_N "(cached) $ECHO_C" >&6
88919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88921 else
88922 # Is the header compilable?
88923 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88924 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88925 cat >conftest.$ac_ext <<_ACEOF
88926 /* confdefs.h. */
88927 _ACEOF
88928 cat confdefs.h >>conftest.$ac_ext
88929 cat >>conftest.$ac_ext <<_ACEOF
88930 /* end confdefs.h. */
88931 $ac_includes_default
88932 #include <$ac_header>
88933 _ACEOF
88934 rm -f conftest.$ac_objext
88935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88936 (eval $ac_compile) 2>conftest.er1
88937 ac_status=$?
88938 grep -v '^ *+' conftest.er1 >conftest.err
88939 rm -f conftest.er1
88940 cat conftest.err >&5
88941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88942 (exit $ac_status); } &&
88943 { ac_try='test -z "$ac_c_werror_flag"
88944 || test ! -s conftest.err'
88945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88946 (eval $ac_try) 2>&5
88947 ac_status=$?
88948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88949 (exit $ac_status); }; } &&
88950 { ac_try='test -s conftest.$ac_objext'
88951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88952 (eval $ac_try) 2>&5
88953 ac_status=$?
88954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88955 (exit $ac_status); }; }; then
88956 ac_header_compiler=yes
88957 else
88958 echo "$as_me: failed program was:" >&5
88959 sed 's/^/| /' conftest.$ac_ext >&5
88961 ac_header_compiler=no
88963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88965 echo "${ECHO_T}$ac_header_compiler" >&6
88967 # Is the header present?
88968 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88969 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88970 cat >conftest.$ac_ext <<_ACEOF
88971 /* confdefs.h. */
88972 _ACEOF
88973 cat confdefs.h >>conftest.$ac_ext
88974 cat >>conftest.$ac_ext <<_ACEOF
88975 /* end confdefs.h. */
88976 #include <$ac_header>
88977 _ACEOF
88978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88980 ac_status=$?
88981 grep -v '^ *+' conftest.er1 >conftest.err
88982 rm -f conftest.er1
88983 cat conftest.err >&5
88984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88985 (exit $ac_status); } >/dev/null; then
88986 if test -s conftest.err; then
88987 ac_cpp_err=$ac_c_preproc_warn_flag
88988 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88989 else
88990 ac_cpp_err=
88992 else
88993 ac_cpp_err=yes
88995 if test -z "$ac_cpp_err"; then
88996 ac_header_preproc=yes
88997 else
88998 echo "$as_me: failed program was:" >&5
88999 sed 's/^/| /' conftest.$ac_ext >&5
89001 ac_header_preproc=no
89003 rm -f conftest.err conftest.$ac_ext
89004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89005 echo "${ECHO_T}$ac_header_preproc" >&6
89007 # So? What about this header?
89008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89009 yes:no: )
89010 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89011 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89013 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89014 ac_header_preproc=yes
89016 no:yes:* )
89017 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89018 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89019 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89020 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89021 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89022 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89023 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89024 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89026 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89027 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89028 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89030 cat <<\_ASBOX
89031 ## ----------------------------------------- ##
89032 ## Report this to the package-unused lists. ##
89033 ## ----------------------------------------- ##
89034 _ASBOX
89036 sed "s/^/$as_me: WARNING: /" >&2
89038 esac
89039 echo "$as_me:$LINENO: checking for $ac_header" >&5
89040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89042 echo $ECHO_N "(cached) $ECHO_C" >&6
89043 else
89044 eval "$as_ac_Header=\$ac_header_preproc"
89046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89051 cat >>confdefs.h <<_ACEOF
89052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89053 _ACEOF
89055 else
89056 setrlimit_have_headers=no
89059 done
89061 # If don't have the headers, then we can't run the tests now, and we
89062 # won't be seeing any of these during testsuite compilation.
89063 if test $setrlimit_have_headers = yes; then
89064 # Can't do these in a loop, else the resulting syntax is wrong.
89066 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
89067 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
89068 cat >conftest.$ac_ext <<_ACEOF
89069 /* confdefs.h. */
89070 _ACEOF
89071 cat confdefs.h >>conftest.$ac_ext
89072 cat >>conftest.$ac_ext <<_ACEOF
89073 /* end confdefs.h. */
89074 #include <unistd.h>
89075 #include <sys/time.h>
89076 #include <sys/resource.h>
89079 main ()
89081 int f = RLIMIT_DATA ;
89083 return 0;
89085 _ACEOF
89086 rm -f conftest.$ac_objext
89087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89088 (eval $ac_compile) 2>conftest.er1
89089 ac_status=$?
89090 grep -v '^ *+' conftest.er1 >conftest.err
89091 rm -f conftest.er1
89092 cat conftest.err >&5
89093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89094 (exit $ac_status); } &&
89095 { ac_try='test -z "$ac_c_werror_flag"
89096 || test ! -s conftest.err'
89097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89098 (eval $ac_try) 2>&5
89099 ac_status=$?
89100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89101 (exit $ac_status); }; } &&
89102 { ac_try='test -s conftest.$ac_objext'
89103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89104 (eval $ac_try) 2>&5
89105 ac_status=$?
89106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89107 (exit $ac_status); }; }; then
89108 glibcxx_mresult=1
89109 else
89110 echo "$as_me: failed program was:" >&5
89111 sed 's/^/| /' conftest.$ac_ext >&5
89113 glibcxx_mresult=0
89115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89117 cat >>confdefs.h <<_ACEOF
89118 #define HAVE_LIMIT_DATA $glibcxx_mresult
89119 _ACEOF
89121 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
89122 echo "$as_me:$LINENO: result: $res" >&5
89123 echo "${ECHO_T}$res" >&6
89126 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
89127 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
89128 cat >conftest.$ac_ext <<_ACEOF
89129 /* confdefs.h. */
89130 _ACEOF
89131 cat confdefs.h >>conftest.$ac_ext
89132 cat >>conftest.$ac_ext <<_ACEOF
89133 /* end confdefs.h. */
89134 #include <unistd.h>
89135 #include <sys/time.h>
89136 #include <sys/resource.h>
89139 main ()
89141 int f = RLIMIT_RSS ;
89143 return 0;
89145 _ACEOF
89146 rm -f conftest.$ac_objext
89147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89148 (eval $ac_compile) 2>conftest.er1
89149 ac_status=$?
89150 grep -v '^ *+' conftest.er1 >conftest.err
89151 rm -f conftest.er1
89152 cat conftest.err >&5
89153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89154 (exit $ac_status); } &&
89155 { ac_try='test -z "$ac_c_werror_flag"
89156 || test ! -s conftest.err'
89157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89158 (eval $ac_try) 2>&5
89159 ac_status=$?
89160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89161 (exit $ac_status); }; } &&
89162 { ac_try='test -s conftest.$ac_objext'
89163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89164 (eval $ac_try) 2>&5
89165 ac_status=$?
89166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89167 (exit $ac_status); }; }; then
89168 glibcxx_mresult=1
89169 else
89170 echo "$as_me: failed program was:" >&5
89171 sed 's/^/| /' conftest.$ac_ext >&5
89173 glibcxx_mresult=0
89175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89177 cat >>confdefs.h <<_ACEOF
89178 #define HAVE_LIMIT_RSS $glibcxx_mresult
89179 _ACEOF
89181 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
89182 echo "$as_me:$LINENO: result: $res" >&5
89183 echo "${ECHO_T}$res" >&6
89186 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
89187 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
89188 cat >conftest.$ac_ext <<_ACEOF
89189 /* confdefs.h. */
89190 _ACEOF
89191 cat confdefs.h >>conftest.$ac_ext
89192 cat >>conftest.$ac_ext <<_ACEOF
89193 /* end confdefs.h. */
89194 #include <unistd.h>
89195 #include <sys/time.h>
89196 #include <sys/resource.h>
89199 main ()
89201 int f = RLIMIT_VMEM ;
89203 return 0;
89205 _ACEOF
89206 rm -f conftest.$ac_objext
89207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89208 (eval $ac_compile) 2>conftest.er1
89209 ac_status=$?
89210 grep -v '^ *+' conftest.er1 >conftest.err
89211 rm -f conftest.er1
89212 cat conftest.err >&5
89213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89214 (exit $ac_status); } &&
89215 { ac_try='test -z "$ac_c_werror_flag"
89216 || test ! -s conftest.err'
89217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89218 (eval $ac_try) 2>&5
89219 ac_status=$?
89220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89221 (exit $ac_status); }; } &&
89222 { ac_try='test -s conftest.$ac_objext'
89223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89224 (eval $ac_try) 2>&5
89225 ac_status=$?
89226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89227 (exit $ac_status); }; }; then
89228 glibcxx_mresult=1
89229 else
89230 echo "$as_me: failed program was:" >&5
89231 sed 's/^/| /' conftest.$ac_ext >&5
89233 glibcxx_mresult=0
89235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89237 cat >>confdefs.h <<_ACEOF
89238 #define HAVE_LIMIT_VMEM $glibcxx_mresult
89239 _ACEOF
89241 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
89242 echo "$as_me:$LINENO: result: $res" >&5
89243 echo "${ECHO_T}$res" >&6
89246 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
89247 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
89248 cat >conftest.$ac_ext <<_ACEOF
89249 /* confdefs.h. */
89250 _ACEOF
89251 cat confdefs.h >>conftest.$ac_ext
89252 cat >>conftest.$ac_ext <<_ACEOF
89253 /* end confdefs.h. */
89254 #include <unistd.h>
89255 #include <sys/time.h>
89256 #include <sys/resource.h>
89259 main ()
89261 int f = RLIMIT_AS ;
89263 return 0;
89265 _ACEOF
89266 rm -f conftest.$ac_objext
89267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89268 (eval $ac_compile) 2>conftest.er1
89269 ac_status=$?
89270 grep -v '^ *+' conftest.er1 >conftest.err
89271 rm -f conftest.er1
89272 cat conftest.err >&5
89273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89274 (exit $ac_status); } &&
89275 { ac_try='test -z "$ac_c_werror_flag"
89276 || test ! -s conftest.err'
89277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89278 (eval $ac_try) 2>&5
89279 ac_status=$?
89280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89281 (exit $ac_status); }; } &&
89282 { ac_try='test -s conftest.$ac_objext'
89283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89284 (eval $ac_try) 2>&5
89285 ac_status=$?
89286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89287 (exit $ac_status); }; }; then
89288 glibcxx_mresult=1
89289 else
89290 echo "$as_me: failed program was:" >&5
89291 sed 's/^/| /' conftest.$ac_ext >&5
89293 glibcxx_mresult=0
89295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89297 cat >>confdefs.h <<_ACEOF
89298 #define HAVE_LIMIT_AS $glibcxx_mresult
89299 _ACEOF
89301 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
89302 echo "$as_me:$LINENO: result: $res" >&5
89303 echo "${ECHO_T}$res" >&6
89306 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
89307 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
89308 cat >conftest.$ac_ext <<_ACEOF
89309 /* confdefs.h. */
89310 _ACEOF
89311 cat confdefs.h >>conftest.$ac_ext
89312 cat >>conftest.$ac_ext <<_ACEOF
89313 /* end confdefs.h. */
89314 #include <unistd.h>
89315 #include <sys/time.h>
89316 #include <sys/resource.h>
89319 main ()
89321 int f = RLIMIT_FSIZE ;
89323 return 0;
89325 _ACEOF
89326 rm -f conftest.$ac_objext
89327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89328 (eval $ac_compile) 2>conftest.er1
89329 ac_status=$?
89330 grep -v '^ *+' conftest.er1 >conftest.err
89331 rm -f conftest.er1
89332 cat conftest.err >&5
89333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89334 (exit $ac_status); } &&
89335 { ac_try='test -z "$ac_c_werror_flag"
89336 || test ! -s conftest.err'
89337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89338 (eval $ac_try) 2>&5
89339 ac_status=$?
89340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89341 (exit $ac_status); }; } &&
89342 { ac_try='test -s conftest.$ac_objext'
89343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89344 (eval $ac_try) 2>&5
89345 ac_status=$?
89346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89347 (exit $ac_status); }; }; then
89348 glibcxx_mresult=1
89349 else
89350 echo "$as_me: failed program was:" >&5
89351 sed 's/^/| /' conftest.$ac_ext >&5
89353 glibcxx_mresult=0
89355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89357 cat >>confdefs.h <<_ACEOF
89358 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
89359 _ACEOF
89361 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
89362 echo "$as_me:$LINENO: result: $res" >&5
89363 echo "${ECHO_T}$res" >&6
89366 # Check for rlimit, setrlimit.
89367 if test "${ac_setrlimit+set}" = set; then
89368 echo $ECHO_N "(cached) $ECHO_C" >&6
89369 else
89371 cat >conftest.$ac_ext <<_ACEOF
89372 /* confdefs.h. */
89373 _ACEOF
89374 cat confdefs.h >>conftest.$ac_ext
89375 cat >>conftest.$ac_ext <<_ACEOF
89376 /* end confdefs.h. */
89377 #include <unistd.h>
89378 #include <sys/time.h>
89379 #include <sys/resource.h>
89382 main ()
89384 struct rlimit r;
89385 setrlimit(0, &r);
89387 return 0;
89389 _ACEOF
89390 rm -f conftest.$ac_objext
89391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89392 (eval $ac_compile) 2>conftest.er1
89393 ac_status=$?
89394 grep -v '^ *+' conftest.er1 >conftest.err
89395 rm -f conftest.er1
89396 cat conftest.err >&5
89397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89398 (exit $ac_status); } &&
89399 { ac_try='test -z "$ac_c_werror_flag"
89400 || test ! -s conftest.err'
89401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89402 (eval $ac_try) 2>&5
89403 ac_status=$?
89404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89405 (exit $ac_status); }; } &&
89406 { ac_try='test -s conftest.$ac_objext'
89407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89408 (eval $ac_try) 2>&5
89409 ac_status=$?
89410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89411 (exit $ac_status); }; }; then
89412 ac_setrlimit=yes
89413 else
89414 echo "$as_me: failed program was:" >&5
89415 sed 's/^/| /' conftest.$ac_ext >&5
89417 ac_setrlimit=no
89419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89425 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
89426 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
89427 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
89428 ac_res_limits=yes
89430 cat >>confdefs.h <<\_ACEOF
89431 #define _GLIBCXX_RES_LIMITS 1
89432 _ACEOF
89434 else
89435 ac_res_limits=no
89437 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
89438 echo "${ECHO_T}$ac_res_limits" >&6
89441 # Look for setenv, so that extended locale tests can be performed.
89443 echo "$as_me:$LINENO: checking for setenv declaration" >&5
89444 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
89445 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
89446 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
89447 echo $ECHO_N "(cached) $ECHO_C" >&6
89448 else
89452 ac_ext=cc
89453 ac_cpp='$CXXCPP $CPPFLAGS'
89454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89458 cat >conftest.$ac_ext <<_ACEOF
89459 /* confdefs.h. */
89460 _ACEOF
89461 cat confdefs.h >>conftest.$ac_ext
89462 cat >>conftest.$ac_ext <<_ACEOF
89463 /* end confdefs.h. */
89464 #include <stdlib.h>
89466 main ()
89468 setenv(0, 0, 0);
89470 return 0;
89472 _ACEOF
89473 rm -f conftest.$ac_objext
89474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89475 (eval $ac_compile) 2>conftest.er1
89476 ac_status=$?
89477 grep -v '^ *+' conftest.er1 >conftest.err
89478 rm -f conftest.er1
89479 cat conftest.err >&5
89480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89481 (exit $ac_status); } &&
89482 { ac_try='test -z "$ac_cxx_werror_flag"
89483 || test ! -s conftest.err'
89484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89485 (eval $ac_try) 2>&5
89486 ac_status=$?
89487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89488 (exit $ac_status); }; } &&
89489 { ac_try='test -s conftest.$ac_objext'
89490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89491 (eval $ac_try) 2>&5
89492 ac_status=$?
89493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89494 (exit $ac_status); }; }; then
89495 glibcxx_cv_func_setenv_use=yes
89496 else
89497 echo "$as_me: failed program was:" >&5
89498 sed 's/^/| /' conftest.$ac_ext >&5
89500 glibcxx_cv_func_setenv_use=no
89502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89503 ac_ext=c
89504 ac_cpp='$CPP $CPPFLAGS'
89505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
89514 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
89515 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
89517 for ac_func in setenv
89519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89520 echo "$as_me:$LINENO: checking for $ac_func" >&5
89521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89522 if eval "test \"\${$as_ac_var+set}\" = set"; then
89523 echo $ECHO_N "(cached) $ECHO_C" >&6
89524 else
89525 if test x$gcc_no_link = xyes; then
89526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89528 { (exit 1); exit 1; }; }
89530 cat >conftest.$ac_ext <<_ACEOF
89531 /* confdefs.h. */
89532 _ACEOF
89533 cat confdefs.h >>conftest.$ac_ext
89534 cat >>conftest.$ac_ext <<_ACEOF
89535 /* end confdefs.h. */
89536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89538 #define $ac_func innocuous_$ac_func
89540 /* System header to define __stub macros and hopefully few prototypes,
89541 which can conflict with char $ac_func (); below.
89542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89543 <limits.h> exists even on freestanding compilers. */
89545 #ifdef __STDC__
89546 # include <limits.h>
89547 #else
89548 # include <assert.h>
89549 #endif
89551 #undef $ac_func
89553 /* Override any gcc2 internal prototype to avoid an error. */
89554 #ifdef __cplusplus
89555 extern "C"
89557 #endif
89558 /* We use char because int might match the return type of a gcc2
89559 builtin and then its argument prototype would still apply. */
89560 char $ac_func ();
89561 /* The GNU C library defines this for functions which it implements
89562 to always fail with ENOSYS. Some functions are actually named
89563 something starting with __ and the normal name is an alias. */
89564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89565 choke me
89566 #else
89567 char (*f) () = $ac_func;
89568 #endif
89569 #ifdef __cplusplus
89571 #endif
89574 main ()
89576 return f != $ac_func;
89578 return 0;
89580 _ACEOF
89581 rm -f conftest.$ac_objext conftest$ac_exeext
89582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89583 (eval $ac_link) 2>conftest.er1
89584 ac_status=$?
89585 grep -v '^ *+' conftest.er1 >conftest.err
89586 rm -f conftest.er1
89587 cat conftest.err >&5
89588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89589 (exit $ac_status); } &&
89590 { ac_try='test -z "$ac_c_werror_flag"
89591 || test ! -s conftest.err'
89592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89593 (eval $ac_try) 2>&5
89594 ac_status=$?
89595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89596 (exit $ac_status); }; } &&
89597 { ac_try='test -s conftest$ac_exeext'
89598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89599 (eval $ac_try) 2>&5
89600 ac_status=$?
89601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89602 (exit $ac_status); }; }; then
89603 eval "$as_ac_var=yes"
89604 else
89605 echo "$as_me: failed program was:" >&5
89606 sed 's/^/| /' conftest.$ac_ext >&5
89608 eval "$as_ac_var=no"
89610 rm -f conftest.err conftest.$ac_objext \
89611 conftest$ac_exeext conftest.$ac_ext
89613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89615 if test `eval echo '${'$as_ac_var'}'` = yes; then
89616 cat >>confdefs.h <<_ACEOF
89617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89618 _ACEOF
89621 done
89627 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
89628 test $enable_symvers != no; then
89629 case "$host" in
89630 *-*-cygwin*)
89631 enable_abi_check=no ;;
89633 enable_abi_check=yes ;;
89634 esac
89635 else
89636 # Only build this as native, since automake does not understand
89637 # CXX_FOR_BUILD.
89638 enable_abi_check=no
89641 # Export file names for ABI checking.
89642 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
89646 # Propagate the target-specific source directories through the build chain.
89647 ATOMICITY_SRCDIR=config/${atomicity_dir}
89648 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
89649 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
89650 OS_INC_SRCDIR=config/${os_include_dir}
89651 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
89658 # Determine cross-compile flags and AM_CONDITIONALs.
89659 #AC_SUBST(GLIBCXX_IS_NATIVE)
89660 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
89661 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
89662 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
89665 if test $is_hosted = yes; then
89666 GLIBCXX_HOSTED_TRUE=
89667 GLIBCXX_HOSTED_FALSE='#'
89668 else
89669 GLIBCXX_HOSTED_TRUE='#'
89670 GLIBCXX_HOSTED_FALSE=
89676 if test $enable_libstdcxx_pch = yes; then
89677 GLIBCXX_BUILD_PCH_TRUE=
89678 GLIBCXX_BUILD_PCH_FALSE='#'
89679 else
89680 GLIBCXX_BUILD_PCH_TRUE='#'
89681 GLIBCXX_BUILD_PCH_FALSE=
89687 if test $enable_cheaders = c; then
89688 GLIBCXX_C_HEADERS_C_TRUE=
89689 GLIBCXX_C_HEADERS_C_FALSE='#'
89690 else
89691 GLIBCXX_C_HEADERS_C_TRUE='#'
89692 GLIBCXX_C_HEADERS_C_FALSE=
89698 if test $enable_cheaders = c_std; then
89699 GLIBCXX_C_HEADERS_C_STD_TRUE=
89700 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
89701 else
89702 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
89703 GLIBCXX_C_HEADERS_C_STD_FALSE=
89709 if test $c_compatibility = yes; then
89710 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
89711 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
89712 else
89713 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
89714 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
89720 if test $enable_libstdcxx_debug = yes; then
89721 GLIBCXX_BUILD_DEBUG_TRUE=
89722 GLIBCXX_BUILD_DEBUG_FALSE='#'
89723 else
89724 GLIBCXX_BUILD_DEBUG_TRUE='#'
89725 GLIBCXX_BUILD_DEBUG_FALSE=
89731 if test $enable_symvers != no; then
89732 ENABLE_SYMVERS_TRUE=
89733 ENABLE_SYMVERS_FALSE='#'
89734 else
89735 ENABLE_SYMVERS_TRUE='#'
89736 ENABLE_SYMVERS_FALSE=
89742 if test $enable_symvers = gnu; then
89743 ENABLE_SYMVERS_GNU_TRUE=
89744 ENABLE_SYMVERS_GNU_FALSE='#'
89745 else
89746 ENABLE_SYMVERS_GNU_TRUE='#'
89747 ENABLE_SYMVERS_GNU_FALSE=
89753 if test $enable_symvers = gnu-versioned-namespace; then
89754 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
89755 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
89756 else
89757 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
89758 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
89764 if test $enable_symvers = darwin; then
89765 ENABLE_SYMVERS_DARWIN_TRUE=
89766 ENABLE_SYMVERS_DARWIN_FALSE='#'
89767 else
89768 ENABLE_SYMVERS_DARWIN_TRUE='#'
89769 ENABLE_SYMVERS_DARWIN_FALSE=
89775 cat >confcache <<\_ACEOF
89776 # This file is a shell script that caches the results of configure
89777 # tests run on this system so they can be shared between configure
89778 # scripts and configure runs, see configure's option --config-cache.
89779 # It is not useful on other systems. If it contains results you don't
89780 # want to keep, you may remove or edit it.
89782 # config.status only pays attention to the cache file if you give it
89783 # the --recheck option to rerun configure.
89785 # `ac_cv_env_foo' variables (set or unset) will be overridden when
89786 # loading this file, other *unset* `ac_cv_foo' will be assigned the
89787 # following values.
89789 _ACEOF
89791 # The following way of writing the cache mishandles newlines in values,
89792 # but we know of no workaround that is simple, portable, and efficient.
89793 # So, don't put newlines in cache variables' values.
89794 # Ultrix sh set writes to stderr and can't be redirected directly,
89795 # and sets the high bit in the cache file unless we assign to the vars.
89797 (set) 2>&1 |
89798 case `(ac_space=' '; set | grep ac_space) 2>&1` in
89799 *ac_space=\ *)
89800 # `set' does not quote correctly, so add quotes (double-quote
89801 # substitution turns \\\\ into \\, and sed turns \\ into \).
89802 sed -n \
89803 "s/'/'\\\\''/g;
89804 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
89807 # `set' quotes correctly as required by POSIX, so do not add quotes.
89808 sed -n \
89809 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
89811 esac;
89813 sed '
89814 t clear
89815 : clear
89816 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
89817 t end
89818 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
89819 : end' >>confcache
89820 if diff $cache_file confcache >/dev/null 2>&1; then :; else
89821 if test -w $cache_file; then
89822 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
89823 cat confcache >$cache_file
89824 else
89825 echo "not updating unwritable cache $cache_file"
89828 rm -f confcache
89830 if test ${multilib} = yes; then
89831 multilib_arg="--enable-multilib"
89832 else
89833 multilib_arg=
89836 # Export all the install information.
89838 glibcxx_toolexecdir=no
89839 glibcxx_toolexeclibdir=no
89840 glibcxx_prefixdir=$prefix
89842 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
89843 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
89845 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
89846 if test "${with_gxx_include_dir+set}" = set; then
89847 withval="$with_gxx_include_dir"
89848 case "$withval" in
89849 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
89850 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
89851 { (exit 1); exit 1; }; } ;;
89852 no) gxx_include_dir=no ;;
89853 *) gxx_include_dir=$withval ;;
89854 esac
89855 else
89856 gxx_include_dir=no
89858 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
89859 echo "${ECHO_T}$gxx_include_dir" >&6
89861 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
89862 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
89863 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
89864 if test "${enable_version_specific_runtime_libs+set}" = set; then
89865 enableval="$enable_version_specific_runtime_libs"
89866 case "$enableval" in
89867 yes) version_specific_libs=yes ;;
89868 no) version_specific_libs=no ;;
89869 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
89870 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
89871 { (exit 1); exit 1; }; };;
89872 esac
89873 else
89874 version_specific_libs=no
89876 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
89877 echo "${ECHO_T}$version_specific_libs" >&6
89879 # Default case for install directory for include files.
89880 if test $version_specific_libs = no && test $gxx_include_dir = no; then
89881 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
89884 # Version-specific runtime libs processing.
89885 if test $version_specific_libs = yes; then
89886 # Need the gcc compiler version to know where to install libraries
89887 # and header files if --enable-version-specific-runtime-libs option
89888 # is selected. FIXME: these variables are misnamed, there are
89889 # no executables installed in _toolexecdir or _toolexeclibdir.
89890 if test x"$gxx_include_dir" = x"no"; then
89891 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
89893 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
89894 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
89897 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
89898 # Install a library built with a cross compiler in tooldir, not libdir.
89899 if test x"$glibcxx_toolexecdir" = x"no"; then
89900 if test -n "$with_cross_host" &&
89901 test x"$with_cross_host" != x"no"; then
89902 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
89903 glibcxx_toolexeclibdir='${toolexecdir}/lib'
89904 else
89905 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
89906 glibcxx_toolexeclibdir='${libdir}'
89908 multi_os_directory=`$CXX -print-multi-os-directory`
89909 case $multi_os_directory in
89910 .) ;; # Avoid trailing /.
89911 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
89912 esac
89915 echo "$as_me:$LINENO: checking for install location" >&5
89916 echo $ECHO_N "checking for install location... $ECHO_C" >&6
89917 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
89918 echo "${ECHO_T}$gxx_include_dir" >&6
89926 # Export all the include and flag information to Makefiles.
89928 # Used for every C++ compile we perform.
89929 GLIBCXX_INCLUDES="\
89930 -I$glibcxx_builddir/include/$host_alias \
89931 -I$glibcxx_builddir/include \
89932 -I$glibcxx_srcdir/libsupc++"
89934 # For Canadian crosses, pick this up too.
89935 if test $CANADIAN = yes; then
89936 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
89939 # Stuff in the actual top level. Currently only used by libsupc++ to
89940 # get unwind* headers from the gcc dir.
89941 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
89942 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
89944 # Now, export this to all the little Makefiles....
89949 # Optimization flags that are probably a good idea for thrill-seekers. Just
89950 # uncomment the lines below and make, everything else is ready to go...
89951 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
89952 OPTIMIZE_CXXFLAGS=
89955 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
89959 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
89960 grep "enable shared" > /dev/null;
89961 then
89962 LIBSUPCXX_PICFLAGS=-prefer-pic
89963 else
89964 LIBSUPCXX_PICFLAGS=
89968 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
89970 ac_config_files="$ac_config_files scripts/testsuite_flags"
89973 ac_config_commands="$ac_config_commands default"
89976 cat >confcache <<\_ACEOF
89977 # This file is a shell script that caches the results of configure
89978 # tests run on this system so they can be shared between configure
89979 # scripts and configure runs, see configure's option --config-cache.
89980 # It is not useful on other systems. If it contains results you don't
89981 # want to keep, you may remove or edit it.
89983 # config.status only pays attention to the cache file if you give it
89984 # the --recheck option to rerun configure.
89986 # `ac_cv_env_foo' variables (set or unset) will be overridden when
89987 # loading this file, other *unset* `ac_cv_foo' will be assigned the
89988 # following values.
89990 _ACEOF
89992 # The following way of writing the cache mishandles newlines in values,
89993 # but we know of no workaround that is simple, portable, and efficient.
89994 # So, don't put newlines in cache variables' values.
89995 # Ultrix sh set writes to stderr and can't be redirected directly,
89996 # and sets the high bit in the cache file unless we assign to the vars.
89998 (set) 2>&1 |
89999 case `(ac_space=' '; set | grep ac_space) 2>&1` in
90000 *ac_space=\ *)
90001 # `set' does not quote correctly, so add quotes (double-quote
90002 # substitution turns \\\\ into \\, and sed turns \\ into \).
90003 sed -n \
90004 "s/'/'\\\\''/g;
90005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
90008 # `set' quotes correctly as required by POSIX, so do not add quotes.
90009 sed -n \
90010 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
90012 esac;
90014 sed '
90015 t clear
90016 : clear
90017 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
90018 t end
90019 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
90020 : end' >>confcache
90021 if diff $cache_file confcache >/dev/null 2>&1; then :; else
90022 if test -w $cache_file; then
90023 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
90024 cat confcache >$cache_file
90025 else
90026 echo "not updating unwritable cache $cache_file"
90029 rm -f confcache
90031 test "x$prefix" = xNONE && prefix=$ac_default_prefix
90032 # Let make expand exec_prefix.
90033 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
90035 # VPATH may cause trouble with some makes, so we remove $(srcdir),
90036 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
90037 # trailing colons and then remove the whole line if VPATH becomes empty
90038 # (actually we leave an empty line to preserve line numbers).
90039 if test "x$srcdir" = x.; then
90040 ac_vpsub='/^[ ]*VPATH[ ]*=/{
90041 s/:*\$(srcdir):*/:/;
90042 s/:*\${srcdir}:*/:/;
90043 s/:*@srcdir@:*/:/;
90044 s/^\([^=]*=[ ]*\):*/\1/;
90045 s/:*$//;
90046 s/^[^=]*=[ ]*$//;
90050 DEFS=-DHAVE_CONFIG_H
90052 ac_libobjs=
90053 ac_ltlibobjs=
90054 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
90055 # 1. Remove the extension, and $U if already installed.
90056 ac_i=`echo "$ac_i" |
90057 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
90058 # 2. Add them.
90059 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
90060 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
90061 done
90062 LIBOBJS=$ac_libobjs
90064 LTLIBOBJS=$ac_ltlibobjs
90067 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
90068 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
90069 Usually this means the macro was only invoked conditionally." >&5
90070 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
90071 Usually this means the macro was only invoked conditionally." >&2;}
90072 { (exit 1); exit 1; }; }
90074 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
90075 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
90076 Usually this means the macro was only invoked conditionally." >&5
90077 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
90078 Usually this means the macro was only invoked conditionally." >&2;}
90079 { (exit 1); exit 1; }; }
90081 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
90082 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
90083 Usually this means the macro was only invoked conditionally." >&5
90084 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
90085 Usually this means the macro was only invoked conditionally." >&2;}
90086 { (exit 1); exit 1; }; }
90088 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
90089 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
90090 Usually this means the macro was only invoked conditionally." >&5
90091 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
90092 Usually this means the macro was only invoked conditionally." >&2;}
90093 { (exit 1); exit 1; }; }
90095 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
90096 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
90097 Usually this means the macro was only invoked conditionally." >&5
90098 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
90099 Usually this means the macro was only invoked conditionally." >&2;}
90100 { (exit 1); exit 1; }; }
90102 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
90103 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
90104 Usually this means the macro was only invoked conditionally." >&5
90105 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
90106 Usually this means the macro was only invoked conditionally." >&2;}
90107 { (exit 1); exit 1; }; }
90109 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
90110 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
90111 Usually this means the macro was only invoked conditionally." >&5
90112 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
90113 Usually this means the macro was only invoked conditionally." >&2;}
90114 { (exit 1); exit 1; }; }
90116 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
90117 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
90118 Usually this means the macro was only invoked conditionally." >&5
90119 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
90120 Usually this means the macro was only invoked conditionally." >&2;}
90121 { (exit 1); exit 1; }; }
90123 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
90124 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
90125 Usually this means the macro was only invoked conditionally." >&5
90126 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
90127 Usually this means the macro was only invoked conditionally." >&2;}
90128 { (exit 1); exit 1; }; }
90130 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
90131 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
90132 Usually this means the macro was only invoked conditionally." >&5
90133 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
90134 Usually this means the macro was only invoked conditionally." >&2;}
90135 { (exit 1); exit 1; }; }
90137 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
90138 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
90139 Usually this means the macro was only invoked conditionally." >&5
90140 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
90141 Usually this means the macro was only invoked conditionally." >&2;}
90142 { (exit 1); exit 1; }; }
90145 : ${CONFIG_STATUS=./config.status}
90146 ac_clean_files_save=$ac_clean_files
90147 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
90148 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
90149 echo "$as_me: creating $CONFIG_STATUS" >&6;}
90150 cat >$CONFIG_STATUS <<_ACEOF
90151 #! $SHELL
90152 # Generated by $as_me.
90153 # Run this file to recreate the current configuration.
90154 # Compiler output produced by configure, useful for debugging
90155 # configure, is in config.log if it exists.
90157 debug=false
90158 ac_cs_recheck=false
90159 ac_cs_silent=false
90160 SHELL=\${CONFIG_SHELL-$SHELL}
90161 _ACEOF
90163 cat >>$CONFIG_STATUS <<\_ACEOF
90164 ## --------------------- ##
90165 ## M4sh Initialization. ##
90166 ## --------------------- ##
90168 # Be Bourne compatible
90169 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
90170 emulate sh
90171 NULLCMD=:
90172 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
90173 # is contrary to our usage. Disable this feature.
90174 alias -g '${1+"$@"}'='"$@"'
90175 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
90176 set -o posix
90178 DUALCASE=1; export DUALCASE # for MKS sh
90180 # Support unset when possible.
90181 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90182 as_unset=unset
90183 else
90184 as_unset=false
90188 # Work around bugs in pre-3.0 UWIN ksh.
90189 $as_unset ENV MAIL MAILPATH
90190 PS1='$ '
90191 PS2='> '
90192 PS4='+ '
90194 # NLS nuisances.
90195 for as_var in \
90196 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
90197 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
90198 LC_TELEPHONE LC_TIME
90200 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
90201 eval $as_var=C; export $as_var
90202 else
90203 $as_unset $as_var
90205 done
90207 # Required to use basename.
90208 if expr a : '\(a\)' >/dev/null 2>&1; then
90209 as_expr=expr
90210 else
90211 as_expr=false
90214 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
90215 as_basename=basename
90216 else
90217 as_basename=false
90221 # Name of the executable.
90222 as_me=`$as_basename "$0" ||
90223 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
90224 X"$0" : 'X\(//\)$' \| \
90225 X"$0" : 'X\(/\)$' \| \
90226 . : '\(.\)' 2>/dev/null ||
90227 echo X/"$0" |
90228 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
90229 /^X\/\(\/\/\)$/{ s//\1/; q; }
90230 /^X\/\(\/\).*/{ s//\1/; q; }
90231 s/.*/./; q'`
90234 # PATH needs CR, and LINENO needs CR and PATH.
90235 # Avoid depending upon Character Ranges.
90236 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
90237 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
90238 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
90239 as_cr_digits='0123456789'
90240 as_cr_alnum=$as_cr_Letters$as_cr_digits
90242 # The user is always right.
90243 if test "${PATH_SEPARATOR+set}" != set; then
90244 echo "#! /bin/sh" >conf$$.sh
90245 echo "exit 0" >>conf$$.sh
90246 chmod +x conf$$.sh
90247 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
90248 PATH_SEPARATOR=';'
90249 else
90250 PATH_SEPARATOR=:
90252 rm -f conf$$.sh
90256 as_lineno_1=$LINENO
90257 as_lineno_2=$LINENO
90258 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
90259 test "x$as_lineno_1" != "x$as_lineno_2" &&
90260 test "x$as_lineno_3" = "x$as_lineno_2" || {
90261 # Find who we are. Look in the path if we contain no path at all
90262 # relative or not.
90263 case $0 in
90264 *[\\/]* ) as_myself=$0 ;;
90265 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90266 for as_dir in $PATH
90268 IFS=$as_save_IFS
90269 test -z "$as_dir" && as_dir=.
90270 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
90271 done
90274 esac
90275 # We did not find ourselves, most probably we were run as `sh COMMAND'
90276 # in which case we are not to be found in the path.
90277 if test "x$as_myself" = x; then
90278 as_myself=$0
90280 if test ! -f "$as_myself"; then
90281 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
90282 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
90283 { (exit 1); exit 1; }; }
90285 case $CONFIG_SHELL in
90287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90288 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
90290 IFS=$as_save_IFS
90291 test -z "$as_dir" && as_dir=.
90292 for as_base in sh bash ksh sh5; do
90293 case $as_dir in
90295 if ("$as_dir/$as_base" -c '
90296 as_lineno_1=$LINENO
90297 as_lineno_2=$LINENO
90298 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
90299 test "x$as_lineno_1" != "x$as_lineno_2" &&
90300 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
90301 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
90302 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
90303 CONFIG_SHELL=$as_dir/$as_base
90304 export CONFIG_SHELL
90305 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
90306 fi;;
90307 esac
90308 done
90309 done
90311 esac
90313 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
90314 # uniformly replaced by the line number. The first 'sed' inserts a
90315 # line-number line before each line; the second 'sed' does the real
90316 # work. The second script uses 'N' to pair each line-number line
90317 # with the numbered line, and appends trailing '-' during
90318 # substitution so that $LINENO is not a special case at line end.
90319 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
90320 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
90321 sed '=' <$as_myself |
90322 sed '
90324 s,$,-,
90325 : loop
90326 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
90327 t loop
90328 s,-$,,
90329 s,^['$as_cr_digits']*\n,,
90330 ' >$as_me.lineno &&
90331 chmod +x $as_me.lineno ||
90332 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
90333 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
90334 { (exit 1); exit 1; }; }
90336 # Don't try to exec as it changes $[0], causing all sort of problems
90337 # (the dirname of $[0] is not the place where we might find the
90338 # original and so on. Autoconf is especially sensible to this).
90339 . ./$as_me.lineno
90340 # Exit status is that of the last command.
90341 exit
90345 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
90346 *c*,-n*) ECHO_N= ECHO_C='
90347 ' ECHO_T=' ' ;;
90348 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
90349 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
90350 esac
90352 if expr a : '\(a\)' >/dev/null 2>&1; then
90353 as_expr=expr
90354 else
90355 as_expr=false
90358 rm -f conf$$ conf$$.exe conf$$.file
90359 echo >conf$$.file
90360 if ln -s conf$$.file conf$$ 2>/dev/null; then
90361 # We could just check for DJGPP; but this test a) works b) is more generic
90362 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
90363 if test -f conf$$.exe; then
90364 # Don't use ln at all; we don't have any links
90365 as_ln_s='cp -p'
90366 else
90367 as_ln_s='ln -s'
90369 elif ln conf$$.file conf$$ 2>/dev/null; then
90370 as_ln_s=ln
90371 else
90372 as_ln_s='cp -p'
90374 rm -f conf$$ conf$$.exe conf$$.file
90376 if mkdir -p . 2>/dev/null; then
90377 as_mkdir_p=:
90378 else
90379 test -d ./-p && rmdir ./-p
90380 as_mkdir_p=false
90383 as_executable_p="test -f"
90385 # Sed expression to map a string onto a valid CPP name.
90386 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
90388 # Sed expression to map a string onto a valid variable name.
90389 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
90392 # IFS
90393 # We need space, tab and new line, in precisely that order.
90394 as_nl='
90396 IFS=" $as_nl"
90398 # CDPATH.
90399 $as_unset CDPATH
90401 exec 6>&1
90403 # Open the log real soon, to keep \$[0] and so on meaningful, and to
90404 # report actual input values of CONFIG_FILES etc. instead of their
90405 # values after options handling. Logging --version etc. is OK.
90406 exec 5>>config.log
90408 echo
90409 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
90410 ## Running $as_me. ##
90411 _ASBOX
90412 } >&5
90413 cat >&5 <<_CSEOF
90415 This file was extended by package-unused $as_me version-unused, which was
90416 generated by GNU Autoconf 2.59. Invocation command line was
90418 CONFIG_FILES = $CONFIG_FILES
90419 CONFIG_HEADERS = $CONFIG_HEADERS
90420 CONFIG_LINKS = $CONFIG_LINKS
90421 CONFIG_COMMANDS = $CONFIG_COMMANDS
90422 $ $0 $@
90424 _CSEOF
90425 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
90426 echo >&5
90427 _ACEOF
90429 # Files that config.status was made for.
90430 if test -n "$ac_config_files"; then
90431 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
90434 if test -n "$ac_config_headers"; then
90435 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
90438 if test -n "$ac_config_links"; then
90439 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
90442 if test -n "$ac_config_commands"; then
90443 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
90446 cat >>$CONFIG_STATUS <<\_ACEOF
90448 ac_cs_usage="\
90449 \`$as_me' instantiates files from templates according to the
90450 current configuration.
90452 Usage: $0 [OPTIONS] [FILE]...
90454 -h, --help print this help, then exit
90455 -V, --version print version number, then exit
90456 -q, --quiet do not print progress messages
90457 -d, --debug don't remove temporary files
90458 --recheck update $as_me by reconfiguring in the same conditions
90459 --file=FILE[:TEMPLATE]
90460 instantiate the configuration file FILE
90461 --header=FILE[:TEMPLATE]
90462 instantiate the configuration header FILE
90464 Configuration files:
90465 $config_files
90467 Configuration headers:
90468 $config_headers
90470 Configuration commands:
90471 $config_commands
90473 Report bugs to <bug-autoconf@gnu.org>."
90474 _ACEOF
90476 cat >>$CONFIG_STATUS <<_ACEOF
90477 ac_cs_version="\\
90478 package-unused config.status version-unused
90479 configured by $0, generated by GNU Autoconf 2.59,
90480 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
90482 Copyright (C) 2003 Free Software Foundation, Inc.
90483 This config.status script is free software; the Free Software Foundation
90484 gives unlimited permission to copy, distribute and modify it."
90485 srcdir=$srcdir
90486 INSTALL="$INSTALL"
90487 _ACEOF
90489 cat >>$CONFIG_STATUS <<\_ACEOF
90490 # If no file are specified by the user, then we need to provide default
90491 # value. By we need to know if files were specified by the user.
90492 ac_need_defaults=:
90493 while test $# != 0
90495 case $1 in
90496 --*=*)
90497 ac_option=`expr "x$1" : 'x\([^=]*\)='`
90498 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
90499 ac_shift=:
90502 ac_option=$1
90503 ac_optarg=$2
90504 ac_shift=shift
90506 *) # This is not an option, so the user has probably given explicit
90507 # arguments.
90508 ac_option=$1
90509 ac_need_defaults=false;;
90510 esac
90512 case $ac_option in
90513 # Handling of the options.
90514 _ACEOF
90515 cat >>$CONFIG_STATUS <<\_ACEOF
90516 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
90517 ac_cs_recheck=: ;;
90518 --version | --vers* | -V )
90519 echo "$ac_cs_version"; exit 0 ;;
90520 --he | --h)
90521 # Conflict between --help and --header
90522 { { echo "$as_me:$LINENO: error: ambiguous option: $1
90523 Try \`$0 --help' for more information." >&5
90524 echo "$as_me: error: ambiguous option: $1
90525 Try \`$0 --help' for more information." >&2;}
90526 { (exit 1); exit 1; }; };;
90527 --help | --hel | -h )
90528 echo "$ac_cs_usage"; exit 0 ;;
90529 --debug | --d* | -d )
90530 debug=: ;;
90531 --file | --fil | --fi | --f )
90532 $ac_shift
90533 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
90534 ac_need_defaults=false;;
90535 --header | --heade | --head | --hea )
90536 $ac_shift
90537 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
90538 ac_need_defaults=false;;
90539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
90540 | -silent | --silent | --silen | --sile | --sil | --si | --s)
90541 ac_cs_silent=: ;;
90543 # This is an error.
90544 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
90545 Try \`$0 --help' for more information." >&5
90546 echo "$as_me: error: unrecognized option: $1
90547 Try \`$0 --help' for more information." >&2;}
90548 { (exit 1); exit 1; }; } ;;
90550 *) ac_config_targets="$ac_config_targets $1" ;;
90552 esac
90553 shift
90554 done
90556 ac_configure_extra_args=
90558 if $ac_cs_silent; then
90559 exec 6>/dev/null
90560 ac_configure_extra_args="$ac_configure_extra_args --silent"
90563 _ACEOF
90564 cat >>$CONFIG_STATUS <<_ACEOF
90565 if \$ac_cs_recheck; then
90566 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
90567 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
90570 _ACEOF
90572 cat >>$CONFIG_STATUS <<_ACEOF
90574 # INIT-COMMANDS section.
90578 srcdir="$srcdir"
90579 host="$host"
90580 target="$target"
90581 with_multisubdir="$with_multisubdir"
90582 with_multisrctop="$with_multisrctop"
90583 with_target_subdir="$with_target_subdir"
90584 ac_configure_args="${multilib_arg} ${ac_configure_args}"
90585 multi_basedir="$multi_basedir"
90586 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
90587 CC="$CC"
90589 # Variables needed in config.status (file generation) which aren't already
90590 # passed by autoconf.
90591 SUBDIRS="$SUBDIRS"
90594 _ACEOF
90598 cat >>$CONFIG_STATUS <<\_ACEOF
90599 for ac_config_target in $ac_config_targets
90601 case "$ac_config_target" in
90602 # Handling of arguments.
90603 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
90604 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
90605 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
90606 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
90607 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
90608 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
90609 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
90610 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
90611 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
90612 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
90613 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
90614 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
90615 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
90616 { (exit 1); exit 1; }; };;
90617 esac
90618 done
90620 # If the user did not use the arguments to specify the items to instantiate,
90621 # then the envvar interface is used. Set only those that are not.
90622 # We use the long form for the default assignment because of an extremely
90623 # bizarre bug on SunOS 4.1.3.
90624 if $ac_need_defaults; then
90625 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
90626 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
90627 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
90630 # Have a temporary directory for convenience. Make it in the build tree
90631 # simply because there is no reason to put it here, and in addition,
90632 # creating and moving files from /tmp can sometimes cause problems.
90633 # Create a temporary directory, and hook for its removal unless debugging.
90634 $debug ||
90636 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
90637 trap '{ (exit 1); exit 1; }' 1 2 13 15
90640 # Create a (secure) tmp directory for tmp files.
90643 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
90644 test -n "$tmp" && test -d "$tmp"
90645 } ||
90647 tmp=./confstat$$-$RANDOM
90648 (umask 077 && mkdir $tmp)
90649 } ||
90651 echo "$me: cannot create a temporary directory in ." >&2
90652 { (exit 1); exit 1; }
90655 _ACEOF
90657 cat >>$CONFIG_STATUS <<_ACEOF
90660 # CONFIG_FILES section.
90663 # No need to generate the scripts if there are no CONFIG_FILES.
90664 # This happens for instance when ./config.status config.h
90665 if test -n "\$CONFIG_FILES"; then
90666 # Protect against being on the right side of a sed subst in config.status.
90667 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
90668 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
90669 s,@SHELL@,$SHELL,;t t
90670 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
90671 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
90672 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
90673 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
90674 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
90675 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
90676 s,@exec_prefix@,$exec_prefix,;t t
90677 s,@prefix@,$prefix,;t t
90678 s,@program_transform_name@,$program_transform_name,;t t
90679 s,@bindir@,$bindir,;t t
90680 s,@sbindir@,$sbindir,;t t
90681 s,@libexecdir@,$libexecdir,;t t
90682 s,@datadir@,$datadir,;t t
90683 s,@sysconfdir@,$sysconfdir,;t t
90684 s,@sharedstatedir@,$sharedstatedir,;t t
90685 s,@localstatedir@,$localstatedir,;t t
90686 s,@libdir@,$libdir,;t t
90687 s,@includedir@,$includedir,;t t
90688 s,@oldincludedir@,$oldincludedir,;t t
90689 s,@infodir@,$infodir,;t t
90690 s,@mandir@,$mandir,;t t
90691 s,@build_alias@,$build_alias,;t t
90692 s,@host_alias@,$host_alias,;t t
90693 s,@target_alias@,$target_alias,;t t
90694 s,@DEFS@,$DEFS,;t t
90695 s,@ECHO_C@,$ECHO_C,;t t
90696 s,@ECHO_N@,$ECHO_N,;t t
90697 s,@ECHO_T@,$ECHO_T,;t t
90698 s,@LIBS@,$LIBS,;t t
90699 s,@libtool_VERSION@,$libtool_VERSION,;t t
90700 s,@multi_basedir@,$multi_basedir,;t t
90701 s,@build@,$build,;t t
90702 s,@build_cpu@,$build_cpu,;t t
90703 s,@build_vendor@,$build_vendor,;t t
90704 s,@build_os@,$build_os,;t t
90705 s,@host@,$host,;t t
90706 s,@host_cpu@,$host_cpu,;t t
90707 s,@host_vendor@,$host_vendor,;t t
90708 s,@host_os@,$host_os,;t t
90709 s,@target@,$target,;t t
90710 s,@target_cpu@,$target_cpu,;t t
90711 s,@target_vendor@,$target_vendor,;t t
90712 s,@target_os@,$target_os,;t t
90713 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
90714 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
90715 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
90716 s,@CYGPATH_W@,$CYGPATH_W,;t t
90717 s,@PACKAGE@,$PACKAGE,;t t
90718 s,@VERSION@,$VERSION,;t t
90719 s,@ACLOCAL@,$ACLOCAL,;t t
90720 s,@AUTOCONF@,$AUTOCONF,;t t
90721 s,@AUTOMAKE@,$AUTOMAKE,;t t
90722 s,@AUTOHEADER@,$AUTOHEADER,;t t
90723 s,@MAKEINFO@,$MAKEINFO,;t t
90724 s,@install_sh@,$install_sh,;t t
90725 s,@STRIP@,$STRIP,;t t
90726 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
90727 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
90728 s,@mkdir_p@,$mkdir_p,;t t
90729 s,@AWK@,$AWK,;t t
90730 s,@SET_MAKE@,$SET_MAKE,;t t
90731 s,@am__leading_dot@,$am__leading_dot,;t t
90732 s,@AMTAR@,$AMTAR,;t t
90733 s,@am__tar@,$am__tar,;t t
90734 s,@am__untar@,$am__untar,;t t
90735 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
90736 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
90737 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
90738 s,@CC@,$CC,;t t
90739 s,@ac_ct_CC@,$ac_ct_CC,;t t
90740 s,@EXEEXT@,$EXEEXT,;t t
90741 s,@OBJEXT@,$OBJEXT,;t t
90742 s,@CXX@,$CXX,;t t
90743 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
90744 s,@CFLAGS@,$CFLAGS,;t t
90745 s,@CXXFLAGS@,$CXXFLAGS,;t t
90746 s,@LN_S@,$LN_S,;t t
90747 s,@AS@,$AS,;t t
90748 s,@ac_ct_AS@,$ac_ct_AS,;t t
90749 s,@AR@,$AR,;t t
90750 s,@ac_ct_AR@,$ac_ct_AR,;t t
90751 s,@RANLIB@,$RANLIB,;t t
90752 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
90753 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
90754 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
90755 s,@MAINT@,$MAINT,;t t
90756 s,@LIBTOOL@,$LIBTOOL,;t t
90757 s,@CXXCPP@,$CXXCPP,;t t
90758 s,@CPPFLAGS@,$CPPFLAGS,;t t
90759 s,@enable_shared@,$enable_shared,;t t
90760 s,@enable_static@,$enable_static,;t t
90761 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
90762 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
90763 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
90764 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
90765 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
90766 s,@CSTDIO_H@,$CSTDIO_H,;t t
90767 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
90768 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
90769 s,@CPP@,$CPP,;t t
90770 s,@EGREP@,$EGREP,;t t
90771 s,@check_msgfmt@,$check_msgfmt,;t t
90772 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
90773 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
90774 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
90775 s,@USE_NLS@,$USE_NLS,;t t
90776 s,@CLOCALE_H@,$CLOCALE_H,;t t
90777 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
90778 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
90779 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
90780 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
90781 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
90782 s,@CMONEY_CC@,$CMONEY_CC,;t t
90783 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
90784 s,@CTIME_H@,$CTIME_H,;t t
90785 s,@CTIME_CC@,$CTIME_CC,;t t
90786 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
90787 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
90788 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
90789 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
90790 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
90791 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
90792 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
90793 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
90794 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
90795 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
90796 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
90797 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
90798 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
90799 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
90800 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
90801 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
90802 s,@WERROR@,$WERROR,;t t
90803 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
90804 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
90805 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
90806 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
90807 s,@LIBICONV@,$LIBICONV,;t t
90808 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
90809 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
90810 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
90811 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
90812 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
90813 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
90814 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
90815 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
90816 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
90817 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
90818 s,@baseline_dir@,$baseline_dir,;t t
90819 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
90820 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
90821 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
90822 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
90823 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
90824 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
90825 s,@gxx_include_dir@,$gxx_include_dir,;t t
90826 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
90827 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
90828 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
90829 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
90830 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
90831 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
90832 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
90833 s,@LIBOBJS@,$LIBOBJS,;t t
90834 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
90835 CEOF
90837 _ACEOF
90839 cat >>$CONFIG_STATUS <<\_ACEOF
90840 # Split the substitutions into bite-sized pieces for seds with
90841 # small command number limits, like on Digital OSF/1 and HP-UX.
90842 ac_max_sed_lines=48
90843 ac_sed_frag=1 # Number of current file.
90844 ac_beg=1 # First line for current file.
90845 ac_end=$ac_max_sed_lines # Line after last line for current file.
90846 ac_more_lines=:
90847 ac_sed_cmds=
90848 while $ac_more_lines; do
90849 if test $ac_beg -gt 1; then
90850 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
90851 else
90852 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
90854 if test ! -s $tmp/subs.frag; then
90855 ac_more_lines=false
90856 else
90857 # The purpose of the label and of the branching condition is to
90858 # speed up the sed processing (if there are no `@' at all, there
90859 # is no need to browse any of the substitutions).
90860 # These are the two extra sed commands mentioned above.
90861 (echo ':t
90862 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
90863 if test -z "$ac_sed_cmds"; then
90864 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
90865 else
90866 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
90868 ac_sed_frag=`expr $ac_sed_frag + 1`
90869 ac_beg=$ac_end
90870 ac_end=`expr $ac_end + $ac_max_sed_lines`
90872 done
90873 if test -z "$ac_sed_cmds"; then
90874 ac_sed_cmds=cat
90876 fi # test -n "$CONFIG_FILES"
90878 _ACEOF
90879 cat >>$CONFIG_STATUS <<\_ACEOF
90880 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
90881 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
90882 case $ac_file in
90883 - | *:- | *:-:* ) # input from stdin
90884 cat >$tmp/stdin
90885 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
90886 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
90887 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
90888 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
90889 * ) ac_file_in=$ac_file.in ;;
90890 esac
90892 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
90893 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
90894 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90895 X"$ac_file" : 'X\(//\)[^/]' \| \
90896 X"$ac_file" : 'X\(//\)$' \| \
90897 X"$ac_file" : 'X\(/\)' \| \
90898 . : '\(.\)' 2>/dev/null ||
90899 echo X"$ac_file" |
90900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90901 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90902 /^X\(\/\/\)$/{ s//\1/; q; }
90903 /^X\(\/\).*/{ s//\1/; q; }
90904 s/.*/./; q'`
90905 { if $as_mkdir_p; then
90906 mkdir -p "$ac_dir"
90907 else
90908 as_dir="$ac_dir"
90909 as_dirs=
90910 while test ! -d "$as_dir"; do
90911 as_dirs="$as_dir $as_dirs"
90912 as_dir=`(dirname "$as_dir") 2>/dev/null ||
90913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90914 X"$as_dir" : 'X\(//\)[^/]' \| \
90915 X"$as_dir" : 'X\(//\)$' \| \
90916 X"$as_dir" : 'X\(/\)' \| \
90917 . : '\(.\)' 2>/dev/null ||
90918 echo X"$as_dir" |
90919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90920 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90921 /^X\(\/\/\)$/{ s//\1/; q; }
90922 /^X\(\/\).*/{ s//\1/; q; }
90923 s/.*/./; q'`
90924 done
90925 test ! -n "$as_dirs" || mkdir $as_dirs
90926 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90927 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90928 { (exit 1); exit 1; }; }; }
90930 ac_builddir=.
90932 if test "$ac_dir" != .; then
90933 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90934 # A "../" for each directory in $ac_dir_suffix.
90935 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90936 else
90937 ac_dir_suffix= ac_top_builddir=
90940 case $srcdir in
90941 .) # No --srcdir option. We are building in place.
90942 ac_srcdir=.
90943 if test -z "$ac_top_builddir"; then
90944 ac_top_srcdir=.
90945 else
90946 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90947 fi ;;
90948 [\\/]* | ?:[\\/]* ) # Absolute path.
90949 ac_srcdir=$srcdir$ac_dir_suffix;
90950 ac_top_srcdir=$srcdir ;;
90951 *) # Relative path.
90952 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90953 ac_top_srcdir=$ac_top_builddir$srcdir ;;
90954 esac
90956 # Do not use `cd foo && pwd` to compute absolute paths, because
90957 # the directories may not exist.
90958 case `pwd` in
90959 .) ac_abs_builddir="$ac_dir";;
90961 case "$ac_dir" in
90962 .) ac_abs_builddir=`pwd`;;
90963 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90964 *) ac_abs_builddir=`pwd`/"$ac_dir";;
90965 esac;;
90966 esac
90967 case $ac_abs_builddir in
90968 .) ac_abs_top_builddir=${ac_top_builddir}.;;
90970 case ${ac_top_builddir}. in
90971 .) ac_abs_top_builddir=$ac_abs_builddir;;
90972 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90973 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90974 esac;;
90975 esac
90976 case $ac_abs_builddir in
90977 .) ac_abs_srcdir=$ac_srcdir;;
90979 case $ac_srcdir in
90980 .) ac_abs_srcdir=$ac_abs_builddir;;
90981 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90982 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90983 esac;;
90984 esac
90985 case $ac_abs_builddir in
90986 .) ac_abs_top_srcdir=$ac_top_srcdir;;
90988 case $ac_top_srcdir in
90989 .) ac_abs_top_srcdir=$ac_abs_builddir;;
90990 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90991 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90992 esac;;
90993 esac
90996 case $INSTALL in
90997 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
90998 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
90999 esac
91001 if test x"$ac_file" != x-; then
91002 { echo "$as_me:$LINENO: creating $ac_file" >&5
91003 echo "$as_me: creating $ac_file" >&6;}
91004 rm -f "$ac_file"
91006 # Let's still pretend it is `configure' which instantiates (i.e., don't
91007 # use $as_me), people would be surprised to read:
91008 # /* config.h. Generated by config.status. */
91009 if test x"$ac_file" = x-; then
91010 configure_input=
91011 else
91012 configure_input="$ac_file. "
91014 configure_input=$configure_input"Generated from `echo $ac_file_in |
91015 sed 's,.*/,,'` by configure."
91017 # First look for the input files in the build tree, otherwise in the
91018 # src tree.
91019 ac_file_inputs=`IFS=:
91020 for f in $ac_file_in; do
91021 case $f in
91022 -) echo $tmp/stdin ;;
91023 [\\/$]*)
91024 # Absolute (can't be DOS-style, as IFS=:)
91025 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
91026 echo "$as_me: error: cannot find input file: $f" >&2;}
91027 { (exit 1); exit 1; }; }
91028 echo "$f";;
91029 *) # Relative
91030 if test -f "$f"; then
91031 # Build tree
91032 echo "$f"
91033 elif test -f "$srcdir/$f"; then
91034 # Source tree
91035 echo "$srcdir/$f"
91036 else
91037 # /dev/null tree
91038 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
91039 echo "$as_me: error: cannot find input file: $f" >&2;}
91040 { (exit 1); exit 1; }; }
91041 fi;;
91042 esac
91043 done` || { (exit 1); exit 1; }
91044 _ACEOF
91045 cat >>$CONFIG_STATUS <<_ACEOF
91046 sed "$ac_vpsub
91047 $extrasub
91048 _ACEOF
91049 cat >>$CONFIG_STATUS <<\_ACEOF
91051 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
91052 s,@configure_input@,$configure_input,;t t
91053 s,@srcdir@,$ac_srcdir,;t t
91054 s,@abs_srcdir@,$ac_abs_srcdir,;t t
91055 s,@top_srcdir@,$ac_top_srcdir,;t t
91056 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
91057 s,@builddir@,$ac_builddir,;t t
91058 s,@abs_builddir@,$ac_abs_builddir,;t t
91059 s,@top_builddir@,$ac_top_builddir,;t t
91060 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
91061 s,@INSTALL@,$ac_INSTALL,;t t
91062 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
91063 rm -f $tmp/stdin
91064 if test x"$ac_file" != x-; then
91065 mv $tmp/out $ac_file
91066 else
91067 cat $tmp/out
91068 rm -f $tmp/out
91071 # Run the commands associated with the file.
91072 case $ac_file in
91073 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
91074 esac
91075 done
91076 _ACEOF
91077 cat >>$CONFIG_STATUS <<\_ACEOF
91080 # CONFIG_HEADER section.
91083 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
91084 # NAME is the cpp macro being defined and VALUE is the value it is being given.
91086 # ac_d sets the value in "#define NAME VALUE" lines.
91087 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
91088 ac_dB='[ ].*$,\1#\2'
91089 ac_dC=' '
91090 ac_dD=',;t'
91091 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
91092 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
91093 ac_uB='$,\1#\2define\3'
91094 ac_uC=' '
91095 ac_uD=',;t'
91097 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
91098 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
91099 case $ac_file in
91100 - | *:- | *:-:* ) # input from stdin
91101 cat >$tmp/stdin
91102 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
91103 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
91104 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
91105 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
91106 * ) ac_file_in=$ac_file.in ;;
91107 esac
91109 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
91110 echo "$as_me: creating $ac_file" >&6;}
91112 # First look for the input files in the build tree, otherwise in the
91113 # src tree.
91114 ac_file_inputs=`IFS=:
91115 for f in $ac_file_in; do
91116 case $f in
91117 -) echo $tmp/stdin ;;
91118 [\\/$]*)
91119 # Absolute (can't be DOS-style, as IFS=:)
91120 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
91121 echo "$as_me: error: cannot find input file: $f" >&2;}
91122 { (exit 1); exit 1; }; }
91123 # Do quote $f, to prevent DOS paths from being IFS'd.
91124 echo "$f";;
91125 *) # Relative
91126 if test -f "$f"; then
91127 # Build tree
91128 echo "$f"
91129 elif test -f "$srcdir/$f"; then
91130 # Source tree
91131 echo "$srcdir/$f"
91132 else
91133 # /dev/null tree
91134 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
91135 echo "$as_me: error: cannot find input file: $f" >&2;}
91136 { (exit 1); exit 1; }; }
91137 fi;;
91138 esac
91139 done` || { (exit 1); exit 1; }
91140 # Remove the trailing spaces.
91141 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
91143 _ACEOF
91145 # Transform confdefs.h into two sed scripts, `conftest.defines' and
91146 # `conftest.undefs', that substitutes the proper values into
91147 # config.h.in to produce config.h. The first handles `#define'
91148 # templates, and the second `#undef' templates.
91149 # And first: Protect against being on the right side of a sed subst in
91150 # config.status. Protect against being in an unquoted here document
91151 # in config.status.
91152 rm -f conftest.defines conftest.undefs
91153 # Using a here document instead of a string reduces the quoting nightmare.
91154 # Putting comments in sed scripts is not portable.
91156 # `end' is used to avoid that the second main sed command (meant for
91157 # 0-ary CPP macros) applies to n-ary macro definitions.
91158 # See the Autoconf documentation for `clear'.
91159 cat >confdef2sed.sed <<\_ACEOF
91160 s/[\\&,]/\\&/g
91161 s,[\\$`],\\&,g
91162 t clear
91163 : clear
91164 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
91165 t end
91166 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
91167 : end
91168 _ACEOF
91169 # If some macros were called several times there might be several times
91170 # the same #defines, which is useless. Nevertheless, we may not want to
91171 # sort them, since we want the *last* AC-DEFINE to be honored.
91172 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
91173 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
91174 rm -f confdef2sed.sed
91176 # This sed command replaces #undef with comments. This is necessary, for
91177 # example, in the case of _POSIX_SOURCE, which is predefined and required
91178 # on some systems where configure will not decide to define it.
91179 cat >>conftest.undefs <<\_ACEOF
91180 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
91181 _ACEOF
91183 # Break up conftest.defines because some shells have a limit on the size
91184 # of here documents, and old seds have small limits too (100 cmds).
91185 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
91186 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
91187 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
91188 echo ' :' >>$CONFIG_STATUS
91189 rm -f conftest.tail
91190 while grep . conftest.defines >/dev/null
91192 # Write a limited-size here document to $tmp/defines.sed.
91193 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
91194 # Speed up: don't consider the non `#define' lines.
91195 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
91196 # Work around the forget-to-reset-the-flag bug.
91197 echo 't clr' >>$CONFIG_STATUS
91198 echo ': clr' >>$CONFIG_STATUS
91199 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
91200 echo 'CEOF
91201 sed -f $tmp/defines.sed $tmp/in >$tmp/out
91202 rm -f $tmp/in
91203 mv $tmp/out $tmp/in
91204 ' >>$CONFIG_STATUS
91205 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
91206 rm -f conftest.defines
91207 mv conftest.tail conftest.defines
91208 done
91209 rm -f conftest.defines
91210 echo ' fi # grep' >>$CONFIG_STATUS
91211 echo >>$CONFIG_STATUS
91213 # Break up conftest.undefs because some shells have a limit on the size
91214 # of here documents, and old seds have small limits too (100 cmds).
91215 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
91216 rm -f conftest.tail
91217 while grep . conftest.undefs >/dev/null
91219 # Write a limited-size here document to $tmp/undefs.sed.
91220 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
91221 # Speed up: don't consider the non `#undef'
91222 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
91223 # Work around the forget-to-reset-the-flag bug.
91224 echo 't clr' >>$CONFIG_STATUS
91225 echo ': clr' >>$CONFIG_STATUS
91226 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
91227 echo 'CEOF
91228 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
91229 rm -f $tmp/in
91230 mv $tmp/out $tmp/in
91231 ' >>$CONFIG_STATUS
91232 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
91233 rm -f conftest.undefs
91234 mv conftest.tail conftest.undefs
91235 done
91236 rm -f conftest.undefs
91238 cat >>$CONFIG_STATUS <<\_ACEOF
91239 # Let's still pretend it is `configure' which instantiates (i.e., don't
91240 # use $as_me), people would be surprised to read:
91241 # /* config.h. Generated by config.status. */
91242 if test x"$ac_file" = x-; then
91243 echo "/* Generated by configure. */" >$tmp/config.h
91244 else
91245 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
91247 cat $tmp/in >>$tmp/config.h
91248 rm -f $tmp/in
91249 if test x"$ac_file" != x-; then
91250 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
91251 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
91252 echo "$as_me: $ac_file is unchanged" >&6;}
91253 else
91254 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
91255 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
91256 X"$ac_file" : 'X\(//\)[^/]' \| \
91257 X"$ac_file" : 'X\(//\)$' \| \
91258 X"$ac_file" : 'X\(/\)' \| \
91259 . : '\(.\)' 2>/dev/null ||
91260 echo X"$ac_file" |
91261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
91262 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
91263 /^X\(\/\/\)$/{ s//\1/; q; }
91264 /^X\(\/\).*/{ s//\1/; q; }
91265 s/.*/./; q'`
91266 { if $as_mkdir_p; then
91267 mkdir -p "$ac_dir"
91268 else
91269 as_dir="$ac_dir"
91270 as_dirs=
91271 while test ! -d "$as_dir"; do
91272 as_dirs="$as_dir $as_dirs"
91273 as_dir=`(dirname "$as_dir") 2>/dev/null ||
91274 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
91275 X"$as_dir" : 'X\(//\)[^/]' \| \
91276 X"$as_dir" : 'X\(//\)$' \| \
91277 X"$as_dir" : 'X\(/\)' \| \
91278 . : '\(.\)' 2>/dev/null ||
91279 echo X"$as_dir" |
91280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
91281 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
91282 /^X\(\/\/\)$/{ s//\1/; q; }
91283 /^X\(\/\).*/{ s//\1/; q; }
91284 s/.*/./; q'`
91285 done
91286 test ! -n "$as_dirs" || mkdir $as_dirs
91287 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
91288 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
91289 { (exit 1); exit 1; }; }; }
91291 rm -f $ac_file
91292 mv $tmp/config.h $ac_file
91294 else
91295 cat $tmp/config.h
91296 rm -f $tmp/config.h
91298 # Compute $ac_file's index in $config_headers.
91299 _am_stamp_count=1
91300 for _am_header in $config_headers :; do
91301 case $_am_header in
91302 $ac_file | $ac_file:* )
91303 break ;;
91305 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
91306 esac
91307 done
91308 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
91309 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
91310 X$ac_file : 'X\(//\)[^/]' \| \
91311 X$ac_file : 'X\(//\)$' \| \
91312 X$ac_file : 'X\(/\)' \| \
91313 . : '\(.\)' 2>/dev/null ||
91314 echo X$ac_file |
91315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
91316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
91317 /^X\(\/\/\)$/{ s//\1/; q; }
91318 /^X\(\/\).*/{ s//\1/; q; }
91319 s/.*/./; q'`/stamp-h$_am_stamp_count
91320 done
91321 _ACEOF
91322 cat >>$CONFIG_STATUS <<\_ACEOF
91325 # CONFIG_COMMANDS section.
91327 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
91328 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
91329 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
91330 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
91331 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
91332 X"$ac_dest" : 'X\(//\)[^/]' \| \
91333 X"$ac_dest" : 'X\(//\)$' \| \
91334 X"$ac_dest" : 'X\(/\)' \| \
91335 . : '\(.\)' 2>/dev/null ||
91336 echo X"$ac_dest" |
91337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
91338 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
91339 /^X\(\/\/\)$/{ s//\1/; q; }
91340 /^X\(\/\).*/{ s//\1/; q; }
91341 s/.*/./; q'`
91342 { if $as_mkdir_p; then
91343 mkdir -p "$ac_dir"
91344 else
91345 as_dir="$ac_dir"
91346 as_dirs=
91347 while test ! -d "$as_dir"; do
91348 as_dirs="$as_dir $as_dirs"
91349 as_dir=`(dirname "$as_dir") 2>/dev/null ||
91350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
91351 X"$as_dir" : 'X\(//\)[^/]' \| \
91352 X"$as_dir" : 'X\(//\)$' \| \
91353 X"$as_dir" : 'X\(/\)' \| \
91354 . : '\(.\)' 2>/dev/null ||
91355 echo X"$as_dir" |
91356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
91357 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
91358 /^X\(\/\/\)$/{ s//\1/; q; }
91359 /^X\(\/\).*/{ s//\1/; q; }
91360 s/.*/./; q'`
91361 done
91362 test ! -n "$as_dirs" || mkdir $as_dirs
91363 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
91364 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
91365 { (exit 1); exit 1; }; }; }
91367 ac_builddir=.
91369 if test "$ac_dir" != .; then
91370 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
91371 # A "../" for each directory in $ac_dir_suffix.
91372 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
91373 else
91374 ac_dir_suffix= ac_top_builddir=
91377 case $srcdir in
91378 .) # No --srcdir option. We are building in place.
91379 ac_srcdir=.
91380 if test -z "$ac_top_builddir"; then
91381 ac_top_srcdir=.
91382 else
91383 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
91384 fi ;;
91385 [\\/]* | ?:[\\/]* ) # Absolute path.
91386 ac_srcdir=$srcdir$ac_dir_suffix;
91387 ac_top_srcdir=$srcdir ;;
91388 *) # Relative path.
91389 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
91390 ac_top_srcdir=$ac_top_builddir$srcdir ;;
91391 esac
91393 # Do not use `cd foo && pwd` to compute absolute paths, because
91394 # the directories may not exist.
91395 case `pwd` in
91396 .) ac_abs_builddir="$ac_dir";;
91398 case "$ac_dir" in
91399 .) ac_abs_builddir=`pwd`;;
91400 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
91401 *) ac_abs_builddir=`pwd`/"$ac_dir";;
91402 esac;;
91403 esac
91404 case $ac_abs_builddir in
91405 .) ac_abs_top_builddir=${ac_top_builddir}.;;
91407 case ${ac_top_builddir}. in
91408 .) ac_abs_top_builddir=$ac_abs_builddir;;
91409 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
91410 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
91411 esac;;
91412 esac
91413 case $ac_abs_builddir in
91414 .) ac_abs_srcdir=$ac_srcdir;;
91416 case $ac_srcdir in
91417 .) ac_abs_srcdir=$ac_abs_builddir;;
91418 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
91419 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
91420 esac;;
91421 esac
91422 case $ac_abs_builddir in
91423 .) ac_abs_top_srcdir=$ac_top_srcdir;;
91425 case $ac_top_srcdir in
91426 .) ac_abs_top_srcdir=$ac_abs_builddir;;
91427 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
91428 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
91429 esac;;
91430 esac
91433 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
91434 echo "$as_me: executing $ac_dest commands" >&6;}
91435 case $ac_dest in
91436 default-1 )
91437 # Only add multilib support code if we just rebuilt the top-level
91438 # Makefile.
91439 case " $CONFIG_FILES " in
91440 *" Makefile "*)
91441 ac_file=Makefile . ${multi_basedir}/config-ml.in
91443 esac ;;
91444 default ) if test -n "$CONFIG_FILES"; then
91445 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
91446 # that multilib installs will end up installed in the correct place.
91447 # The testsuite needs it for multilib-aware ABI baseline files.
91448 # To work around this not being passed down from config-ml.in ->
91449 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
91450 # append it here. Only modify Makefiles that have just been created.
91452 # Also, get rid of this simulated-VPATH thing that automake does.
91453 cat > vpsed << \_EOF
91454 s!`test -f '$<' || echo '$(srcdir)/'`!!
91455 _EOF
91456 for i in $SUBDIRS; do
91457 case $CONFIG_FILES in
91458 *${i}/Makefile*)
91459 #echo "Adding MULTISUBDIR to $i/Makefile"
91460 sed -f vpsed $i/Makefile > tmp
91461 grep '^MULTISUBDIR =' Makefile >> tmp
91462 mv tmp $i/Makefile
91464 esac
91465 done
91466 rm vpsed
91468 (cd include && ${MAKE-make})
91470 esac
91471 done
91472 _ACEOF
91474 cat >>$CONFIG_STATUS <<\_ACEOF
91476 { (exit 0); exit 0; }
91477 _ACEOF
91478 chmod +x $CONFIG_STATUS
91479 ac_clean_files=$ac_clean_files_save
91482 # configure is writing to config.log, and then calls config.status.
91483 # config.status does its own redirection, appending to config.log.
91484 # Unfortunately, on DOS this fails, as config.log is still kept open
91485 # by configure, so config.status won't be able to write to it; its
91486 # output is simply discarded. So we exec the FD to /dev/null,
91487 # effectively closing config.log, so it can be properly (re)opened and
91488 # appended to by config.status. When coming back to configure, we
91489 # need to make the FD available again.
91490 if test "$no_create" != yes; then
91491 ac_cs_success=:
91492 ac_config_status_args=
91493 test "$silent" = yes &&
91494 ac_config_status_args="$ac_config_status_args --quiet"
91495 exec 5>/dev/null
91496 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
91497 exec 5>>config.log
91498 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
91499 # would make configure fail if this is the last instruction.
91500 $ac_cs_success || { (exit 1); exit 1; }