* tree.c (tree_not_class_check_failed): New function.
[official-gcc.git] / libstdc++-v3 / configure
blob353e04abcf731cb8d9647e5f0bb9e4271e1917bd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-c99 turns on ISO/IEC 9899:1999 support
873 [default=yes]
874 --enable-long-long enable template specializations for 'long long'
875 [default=yes]
876 --enable-wchar_t enable template specializations for 'wchar_t'
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-fully-dynamic-string
888 do not put empty strings in per-process static
889 memory [default=no]
890 _g_switchUse thread-local storage
891 [default=yes]
892 --enable-symvers=STYLE enables symbol versioning of the shared library
893 [default=yes]
894 --enable-version-specific-runtime-libs
895 Specify that runtime libraries should be installed
896 in a compiler-specific directory
898 Optional Packages:
899 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
900 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
901 --with-target-subdir=SUBDIR
902 configuring in a subdirectory
903 --with-cross-host=HOST configuring with a cross compiler
904 --with-newlib assume newlib as a system C library
905 --with-gnu-ld assume the C compiler uses GNU ld default=no
906 --with-pic try to use only PIC/non-PIC objects default=use both
907 --with-gxx-include-dir=DIR
908 installation directory for include files
910 Some influential environment variables:
911 CC C compiler command
912 CFLAGS C compiler flags
913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
914 nonstandard directory <lib dir>
915 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
916 headers in a nonstandard directory <include dir>
917 CXX C++ compiler command
918 CXXFLAGS C++ compiler flags
919 CXXCPP C++ preprocessor
920 CPP C preprocessor
922 Use these variables to override the choices made by `configure' or to help
923 it to find libraries and programs with nonstandard names/locations.
925 _ACEOF
928 if test "$ac_init_help" = "recursive"; then
929 # If there are subdirs, report their specific --help.
930 ac_popdir=`pwd`
931 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932 test -d $ac_dir || continue
933 ac_builddir=.
935 if test "$ac_dir" != .; then
936 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937 # A "../" for each directory in $ac_dir_suffix.
938 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939 else
940 ac_dir_suffix= ac_top_builddir=
943 case $srcdir in
944 .) # No --srcdir option. We are building in place.
945 ac_srcdir=.
946 if test -z "$ac_top_builddir"; then
947 ac_top_srcdir=.
948 else
949 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950 fi ;;
951 [\\/]* | ?:[\\/]* ) # Absolute path.
952 ac_srcdir=$srcdir$ac_dir_suffix;
953 ac_top_srcdir=$srcdir ;;
954 *) # Relative path.
955 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956 ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 esac
959 # Do not use `cd foo && pwd` to compute absolute paths, because
960 # the directories may not exist.
961 case `pwd` in
962 .) ac_abs_builddir="$ac_dir";;
964 case "$ac_dir" in
965 .) ac_abs_builddir=`pwd`;;
966 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967 *) ac_abs_builddir=`pwd`/"$ac_dir";;
968 esac;;
969 esac
970 case $ac_abs_builddir in
971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
973 case ${ac_top_builddir}. in
974 .) ac_abs_top_builddir=$ac_abs_builddir;;
975 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977 esac;;
978 esac
979 case $ac_abs_builddir in
980 .) ac_abs_srcdir=$ac_srcdir;;
982 case $ac_srcdir in
983 .) ac_abs_srcdir=$ac_abs_builddir;;
984 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986 esac;;
987 esac
988 case $ac_abs_builddir in
989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
991 case $ac_top_srcdir in
992 .) ac_abs_top_srcdir=$ac_abs_builddir;;
993 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995 esac;;
996 esac
998 cd $ac_dir
999 # Check for guested configure; otherwise get Cygnus style configure.
1000 if test -f $ac_srcdir/configure.gnu; then
1001 echo
1002 $SHELL $ac_srcdir/configure.gnu --help=recursive
1003 elif test -f $ac_srcdir/configure; then
1004 echo
1005 $SHELL $ac_srcdir/configure --help=recursive
1006 elif test -f $ac_srcdir/configure.ac ||
1007 test -f $ac_srcdir/configure.in; then
1008 echo
1009 $ac_configure --help
1010 else
1011 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1013 cd $ac_popdir
1014 done
1017 test -n "$ac_init_help" && exit 0
1018 if $ac_init_version; then
1019 cat <<\_ACEOF
1020 package-unused configure version-unused
1021 generated by GNU Autoconf 2.59
1023 Copyright (C) 2003 Free Software Foundation, Inc.
1024 This configure script is free software; the Free Software Foundation
1025 gives unlimited permission to copy, distribute and modify it.
1026 _ACEOF
1027 exit 0
1029 exec 5>config.log
1030 cat >&5 <<_ACEOF
1031 This file contains any messages produced by compilers while
1032 running configure, to aid debugging if configure makes a mistake.
1034 It was created by package-unused $as_me version-unused, which was
1035 generated by GNU Autoconf 2.59. Invocation command line was
1037 $ $0 $@
1039 _ACEOF
1041 cat <<_ASUNAME
1042 ## --------- ##
1043 ## Platform. ##
1044 ## --------- ##
1046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1063 _ASUNAME
1065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066 for as_dir in $PATH
1068 IFS=$as_save_IFS
1069 test -z "$as_dir" && as_dir=.
1070 echo "PATH: $as_dir"
1071 done
1073 } >&5
1075 cat >&5 <<_ACEOF
1078 ## ----------- ##
1079 ## Core tests. ##
1080 ## ----------- ##
1082 _ACEOF
1085 # Keep a trace of the command line.
1086 # Strip out --no-create and --no-recursion so they do not pile up.
1087 # Strip out --silent because we don't want to record it for future runs.
1088 # Also quote any args containing shell meta-characters.
1089 # Make two passes to allow for proper duplicate-argument suppression.
1090 ac_configure_args=
1091 ac_configure_args0=
1092 ac_configure_args1=
1093 ac_sep=
1094 ac_must_keep_next=false
1095 for ac_pass in 1 2
1097 for ac_arg
1099 case $ac_arg in
1100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102 | -silent | --silent | --silen | --sile | --sil)
1103 continue ;;
1104 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106 esac
1107 case $ac_pass in
1108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111 if test $ac_must_keep_next = true; then
1112 ac_must_keep_next=false # Got value, back to normal.
1113 else
1114 case $ac_arg in
1115 *=* | --config-cache | -C | -disable-* | --disable-* \
1116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118 | -with-* | --with-* | -without-* | --without-* | --x)
1119 case "$ac_configure_args0 " in
1120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121 esac
1123 -* ) ac_must_keep_next=true ;;
1124 esac
1126 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127 # Get rid of the leading space.
1128 ac_sep=" "
1130 esac
1131 done
1132 done
1133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1136 # When interrupted or exit'd, cleanup temporary files, and complete
1137 # config.log. We remove comments because anyway the quotes in there
1138 # would cause problems or look ugly.
1139 # WARNING: Be sure not to use single quotes in there, as some shells,
1140 # such as our DU 5.0 friend, will then `close' the trap.
1141 trap 'exit_status=$?
1142 # Save into config.log some information that might help in debugging.
1144 echo
1146 cat <<\_ASBOX
1147 ## ---------------- ##
1148 ## Cache variables. ##
1149 ## ---------------- ##
1150 _ASBOX
1151 echo
1152 # The following way of writing the cache mishandles newlines in values,
1154 (set) 2>&1 |
1155 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156 *ac_space=\ *)
1157 sed -n \
1158 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1162 sed -n \
1163 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1165 esac;
1167 echo
1169 cat <<\_ASBOX
1170 ## ----------------- ##
1171 ## Output variables. ##
1172 ## ----------------- ##
1173 _ASBOX
1174 echo
1175 for ac_var in $ac_subst_vars
1177 eval ac_val=$`echo $ac_var`
1178 echo "$ac_var='"'"'$ac_val'"'"'"
1179 done | sort
1180 echo
1182 if test -n "$ac_subst_files"; then
1183 cat <<\_ASBOX
1184 ## ------------- ##
1185 ## Output files. ##
1186 ## ------------- ##
1187 _ASBOX
1188 echo
1189 for ac_var in $ac_subst_files
1191 eval ac_val=$`echo $ac_var`
1192 echo "$ac_var='"'"'$ac_val'"'"'"
1193 done | sort
1194 echo
1197 if test -s confdefs.h; then
1198 cat <<\_ASBOX
1199 ## ----------- ##
1200 ## confdefs.h. ##
1201 ## ----------- ##
1202 _ASBOX
1203 echo
1204 sed "/^$/d" confdefs.h | sort
1205 echo
1207 test "$ac_signal" != 0 &&
1208 echo "$as_me: caught signal $ac_signal"
1209 echo "$as_me: exit $exit_status"
1210 } >&5
1211 rm -f core *.core &&
1212 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213 exit $exit_status
1215 for ac_signal in 1 2 13 15; do
1216 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 done
1218 ac_signal=0
1220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1221 rm -rf conftest* confdefs.h
1222 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 echo >confdefs.h
1225 # Predefined preprocessor variables.
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 _ACEOF
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 _ACEOF
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 _ACEOF
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 _ACEOF
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 _ACEOF
1252 # Let the site file select an alternate cache file if it wants to.
1253 # Prefer explicitly selected file to automatically selected ones.
1254 if test -z "$CONFIG_SITE"; then
1255 if test "x$prefix" != xNONE; then
1256 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257 else
1258 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1261 for ac_site_file in $CONFIG_SITE; do
1262 if test -r "$ac_site_file"; then
1263 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264 echo "$as_me: loading site script $ac_site_file" >&6;}
1265 sed 's/^/| /' "$ac_site_file" >&5
1266 . "$ac_site_file"
1268 done
1270 if test -r "$cache_file"; then
1271 # Some versions of bash will fail to source /dev/null (special
1272 # files actually), so we avoid doing that.
1273 if test -f "$cache_file"; then
1274 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275 echo "$as_me: loading cache $cache_file" >&6;}
1276 case $cache_file in
1277 [\\/]* | ?:[\\/]* ) . $cache_file;;
1278 *) . ./$cache_file;;
1279 esac
1281 else
1282 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283 echo "$as_me: creating cache $cache_file" >&6;}
1284 >$cache_file
1287 # Check that the precious variables saved in the cache have kept the same
1288 # value.
1289 ac_cache_corrupted=false
1290 for ac_var in `(set) 2>&1 |
1291 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293 eval ac_new_set=\$ac_env_${ac_var}_set
1294 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295 eval ac_new_val="\$ac_env_${ac_var}_value"
1296 case $ac_old_set,$ac_new_set in
1297 set,)
1298 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300 ac_cache_corrupted=: ;;
1301 ,set)
1302 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304 ac_cache_corrupted=: ;;
1305 ,);;
1307 if test "x$ac_old_val" != "x$ac_new_val"; then
1308 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1311 echo "$as_me: former value: $ac_old_val" >&2;}
1312 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1313 echo "$as_me: current value: $ac_new_val" >&2;}
1314 ac_cache_corrupted=:
1315 fi;;
1316 esac
1317 # Pass precious variables to config.status.
1318 if test "$ac_new_set" = set; then
1319 case $ac_new_val in
1320 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322 *) ac_arg=$ac_var=$ac_new_val ;;
1323 esac
1324 case " $ac_configure_args " in
1325 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1326 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327 esac
1329 done
1330 if $ac_cache_corrupted; then
1331 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335 { (exit 1); exit 1; }; }
1338 ac_ext=c
1339 ac_cpp='$CPP $CPPFLAGS'
1340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1371 ac_config_headers="$ac_config_headers config.h"
1374 # This works around the fact that libtool configuration may change LD
1375 # for this particular configuration, but some shells, instead of
1376 # keeping the changes in LD private, export them just because LD is
1377 # exported. Only used at the end of this file.
1378 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1380 # For libtool versioning info, format is CURRENT:REVISION:AGE
1381 libtool_VERSION=6:7:0
1384 # Find the rest of the source tree framework.
1385 # Default to --enable-multilib
1386 # Check whether --enable-multilib or --disable-multilib was given.
1387 if test "${enable_multilib+set}" = set; then
1388 enableval="$enable_multilib"
1389 case "$enableval" in
1390 yes) multilib=yes ;;
1391 no) multilib=no ;;
1392 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394 { (exit 1); exit 1; }; } ;;
1395 esac
1396 else
1397 multilib=yes
1400 # We may get other options which we leave undocumented:
1401 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1402 # See config-ml.in if you want the gory details.
1404 if test "$srcdir" = "."; then
1405 if test "$with_target_subdir" != "."; then
1406 multi_basedir="$srcdir/$with_multisrctop../.."
1407 else
1408 multi_basedir="$srcdir/$with_multisrctop.."
1410 else
1411 multi_basedir="$srcdir/.."
1415 ac_config_commands="$ac_config_commands default-1"
1418 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1420 # You will slowly go insane if you do not grok the following fact: when
1421 # building v3 as part of the compiler, the top-level /target/ becomes the
1422 # library's /host/. configure then causes --target to default to --host,
1423 # exactly like any other package using autoconf. Therefore, 'target' and
1424 # 'host' will always be the same. This makes sense both for native and
1425 # cross compilers, just think about it for a little while. :-)
1427 # Also, if v3 is being configured as part of a cross compiler, the top-level
1428 # configure script will pass the "real" host as $with_cross_host.
1430 # Do not delete or change the following two lines. For why, see
1431 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1432 ac_aux_dir=
1433 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1434 if test -f $ac_dir/install-sh; then
1435 ac_aux_dir=$ac_dir
1436 ac_install_sh="$ac_aux_dir/install-sh -c"
1437 break
1438 elif test -f $ac_dir/install.sh; then
1439 ac_aux_dir=$ac_dir
1440 ac_install_sh="$ac_aux_dir/install.sh -c"
1441 break
1442 elif test -f $ac_dir/shtool; then
1443 ac_aux_dir=$ac_dir
1444 ac_install_sh="$ac_aux_dir/shtool install -c"
1445 break
1447 done
1448 if test -z "$ac_aux_dir"; then
1449 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1450 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1451 { (exit 1); exit 1; }; }
1453 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1454 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1455 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1457 # Make sure we can run config.sub.
1458 $ac_config_sub sun4 >/dev/null 2>&1 ||
1459 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1460 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1461 { (exit 1); exit 1; }; }
1463 echo "$as_me:$LINENO: checking build system type" >&5
1464 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1465 if test "${ac_cv_build+set}" = set; then
1466 echo $ECHO_N "(cached) $ECHO_C" >&6
1467 else
1468 ac_cv_build_alias=$build_alias
1469 test -z "$ac_cv_build_alias" &&
1470 ac_cv_build_alias=`$ac_config_guess`
1471 test -z "$ac_cv_build_alias" &&
1472 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1474 { (exit 1); exit 1; }; }
1475 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1476 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1477 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1478 { (exit 1); exit 1; }; }
1481 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1482 echo "${ECHO_T}$ac_cv_build" >&6
1483 build=$ac_cv_build
1484 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1485 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1486 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1489 echo "$as_me:$LINENO: checking host system type" >&5
1490 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1491 if test "${ac_cv_host+set}" = set; then
1492 echo $ECHO_N "(cached) $ECHO_C" >&6
1493 else
1494 ac_cv_host_alias=$host_alias
1495 test -z "$ac_cv_host_alias" &&
1496 ac_cv_host_alias=$ac_cv_build_alias
1497 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1498 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1499 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1500 { (exit 1); exit 1; }; }
1503 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1504 echo "${ECHO_T}$ac_cv_host" >&6
1505 host=$ac_cv_host
1506 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1507 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1508 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1511 echo "$as_me:$LINENO: checking target system type" >&5
1512 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1513 if test "${ac_cv_target+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 else
1516 ac_cv_target_alias=$target_alias
1517 test "x$ac_cv_target_alias" = "x" &&
1518 ac_cv_target_alias=$ac_cv_host_alias
1519 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1520 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1521 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1522 { (exit 1); exit 1; }; }
1525 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1526 echo "${ECHO_T}$ac_cv_target" >&6
1527 target=$ac_cv_target
1528 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1529 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1530 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1533 # The aliases save the names the user supplied, while $host etc.
1534 # will get canonicalized.
1535 test -n "$target_alias" &&
1536 test "$program_prefix$program_suffix$program_transform_name" = \
1537 NONENONEs,x,x, &&
1538 program_prefix=${target_alias}-
1539 target_alias=${target_alias-$host_alias}
1541 # Handy for debugging:
1542 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1544 if test "$build" != "$host"; then
1545 # We are being configured with some form of cross compiler.
1546 GLIBCXX_IS_NATIVE=false
1547 case "$host","$target" in
1548 # Darwin crosses can use the host system's libraries and headers,
1549 # because of the fat library support. Of course, it must be the
1550 # same version of Darwin on both sides. Allow the user to
1551 # just say --target=foo-darwin without a version number to mean
1552 # "the version on this system".
1553 *-*-darwin*,*-*-darwin*)
1554 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1555 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1556 if test $hostos = $targetos -o $targetos = darwin ; then
1557 GLIBCXX_IS_NATIVE=true
1564 esac
1565 else
1566 GLIBCXX_IS_NATIVE=true
1569 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1570 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1571 # 1.x: minimum required version
1572 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1573 # of other PACKAGE_* variables will, however, and there's nothing
1574 # we can do about that; they come from AC_INIT).
1575 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1576 # file in the top srcdir, etc, etc), so stop complaining.
1577 # no-dependencies: turns off auto dependency generation (just for now)
1578 # -Wall: turns on all automake warnings...
1579 # -Wno-portability: ...except this one, since GNU make is now required.
1580 am__api_version="1.9"
1581 # Find a good install program. We prefer a C program (faster),
1582 # so one script is as good as another. But avoid the broken or
1583 # incompatible versions:
1584 # SysV /etc/install, /usr/sbin/install
1585 # SunOS /usr/etc/install
1586 # IRIX /sbin/install
1587 # AIX /bin/install
1588 # AmigaOS /C/install, which installs bootblocks on floppy discs
1589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1592 # OS/2's system install, which has a completely different semantic
1593 # ./install, which can be erroneously created by make from ./install.sh.
1594 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1596 if test -z "$INSTALL"; then
1597 if test "${ac_cv_path_install+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 else
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 for as_dir in $PATH
1603 IFS=$as_save_IFS
1604 test -z "$as_dir" && as_dir=.
1605 # Account for people who put trailing slashes in PATH elements.
1606 case $as_dir/ in
1607 ./ | .// | /cC/* | \
1608 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1609 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1610 /usr/ucb/* ) ;;
1612 # OSF1 and SCO ODT 3.0 have their own names for install.
1613 # Don't use installbsd from OSF since it installs stuff as root
1614 # by default.
1615 for ac_prog in ginstall scoinst install; do
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1618 if test $ac_prog = install &&
1619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1620 # AIX install. It has an incompatible calling convention.
1622 elif test $ac_prog = install &&
1623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1624 # program-specific install script used by HP pwplus--don't use.
1626 else
1627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1628 break 3
1631 done
1632 done
1634 esac
1635 done
1639 if test "${ac_cv_path_install+set}" = set; then
1640 INSTALL=$ac_cv_path_install
1641 else
1642 # As a last resort, use the slow shell script. We don't cache a
1643 # path for INSTALL within a source directory, because that will
1644 # break other packages using the cache if that directory is
1645 # removed, or if the path is relative.
1646 INSTALL=$ac_install_sh
1649 echo "$as_me:$LINENO: result: $INSTALL" >&5
1650 echo "${ECHO_T}$INSTALL" >&6
1652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1653 # It thinks the first close brace ends the variable substitution.
1654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1660 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1661 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1662 # Just in case
1663 sleep 1
1664 echo timestamp > conftest.file
1665 # Do `set' in a subshell so we don't clobber the current shell's
1666 # arguments. Must try -L first in case configure is actually a
1667 # symlink; some systems play weird games with the mod time of symlinks
1668 # (eg FreeBSD returns the mod time of the symlink's containing
1669 # directory).
1670 if (
1671 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1672 if test "$*" = "X"; then
1673 # -L didn't work.
1674 set X `ls -t $srcdir/configure conftest.file`
1676 rm -f conftest.file
1677 if test "$*" != "X $srcdir/configure conftest.file" \
1678 && test "$*" != "X conftest.file $srcdir/configure"; then
1680 # If neither matched, then we have a broken ls. This can happen
1681 # if, for instance, CONFIG_SHELL is bash and it inherits a
1682 # broken ls alias from the environment. This has actually
1683 # happened. Such a system could not be considered "sane".
1684 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&5
1686 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1687 alias in your environment" >&2;}
1688 { (exit 1); exit 1; }; }
1691 test "$2" = conftest.file
1693 then
1694 # Ok.
1696 else
1697 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1698 Check your system clock" >&5
1699 echo "$as_me: error: newly created file is older than distributed files!
1700 Check your system clock" >&2;}
1701 { (exit 1); exit 1; }; }
1703 echo "$as_me:$LINENO: result: yes" >&5
1704 echo "${ECHO_T}yes" >&6
1705 test "$program_prefix" != NONE &&
1706 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1707 # Use a double $ so make ignores it.
1708 test "$program_suffix" != NONE &&
1709 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1710 # Double any \ or $. echo might interpret backslashes.
1711 # By default was `s,x,x', remove it if useless.
1712 cat <<\_ACEOF >conftest.sed
1713 s/[\\$]/&&/g;s/;s,x,x,$//
1714 _ACEOF
1715 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1716 rm conftest.sed
1718 # expand $ac_aux_dir to an absolute path
1719 am_aux_dir=`cd $ac_aux_dir && pwd`
1721 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1722 # Use eval to expand $SHELL
1723 if eval "$MISSING --run true"; then
1724 am_missing_run="$MISSING --run "
1725 else
1726 am_missing_run=
1727 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1728 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1731 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1732 # We used to keeping the `.' as first argument, in order to
1733 # allow $(mkdir_p) to be used without argument. As in
1734 # $(mkdir_p) $(somedir)
1735 # where $(somedir) is conditionally defined. However this is wrong
1736 # for two reasons:
1737 # 1. if the package is installed by a user who cannot write `.'
1738 # make install will fail,
1739 # 2. the above comment should most certainly read
1740 # $(mkdir_p) $(DESTDIR)$(somedir)
1741 # so it does not work when $(somedir) is undefined and
1742 # $(DESTDIR) is not.
1743 # To support the latter case, we have to write
1744 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1745 # so the `.' trick is pointless.
1746 mkdir_p='mkdir -p --'
1747 else
1748 # On NextStep and OpenStep, the `mkdir' command does not
1749 # recognize any option. It will interpret all options as
1750 # directories to create, and then abort because `.' already
1751 # exists.
1752 for d in ./-p ./--version;
1754 test -d $d && rmdir $d
1755 done
1756 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1757 if test -f "$ac_aux_dir/mkinstalldirs"; then
1758 mkdir_p='$(mkinstalldirs)'
1759 else
1760 mkdir_p='$(install_sh) -d'
1764 for ac_prog in gawk mawk nawk awk
1766 # Extract the first word of "$ac_prog", so it can be a program name with args.
1767 set dummy $ac_prog; ac_word=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_AWK+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 else
1773 if test -n "$AWK"; then
1774 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783 ac_cv_prog_AWK="$ac_prog"
1784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785 break 2
1787 done
1788 done
1792 AWK=$ac_cv_prog_AWK
1793 if test -n "$AWK"; then
1794 echo "$as_me:$LINENO: result: $AWK" >&5
1795 echo "${ECHO_T}$AWK" >&6
1796 else
1797 echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1801 test -n "$AWK" && break
1802 done
1804 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1805 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1806 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1807 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 else
1810 cat >conftest.make <<\_ACEOF
1811 all:
1812 @echo 'ac_maketemp="$(MAKE)"'
1813 _ACEOF
1814 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1815 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1816 if test -n "$ac_maketemp"; then
1817 eval ac_cv_prog_make_${ac_make}_set=yes
1818 else
1819 eval ac_cv_prog_make_${ac_make}_set=no
1821 rm -f conftest.make
1823 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1824 echo "$as_me:$LINENO: result: yes" >&5
1825 echo "${ECHO_T}yes" >&6
1826 SET_MAKE=
1827 else
1828 echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1830 SET_MAKE="MAKE=${MAKE-make}"
1833 rm -rf .tst 2>/dev/null
1834 mkdir .tst 2>/dev/null
1835 if test -d .tst; then
1836 am__leading_dot=.
1837 else
1838 am__leading_dot=_
1840 rmdir .tst 2>/dev/null
1842 # test to see if srcdir already configured
1843 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1844 test -f $srcdir/config.status; then
1845 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1846 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # test whether we have cygpath
1851 if test -z "$CYGPATH_W"; then
1852 if (cygpath --version) >/dev/null 2>/dev/null; then
1853 CYGPATH_W='cygpath -w'
1854 else
1855 CYGPATH_W=echo
1860 # Define the identity of the package.
1861 PACKAGE='libstdc++'
1862 VERSION='version-unused'
1865 # Some tools Automake needs.
1867 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1870 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1873 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1876 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1879 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1881 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1883 # Installed binaries are usually stripped using `strip' when the user
1884 # run `make install-strip'. However `strip' might not be the right
1885 # tool to use in cross-compilation environments, therefore Automake
1886 # will honor the `STRIP' environment variable to overrule this program.
1887 if test "$cross_compiling" != no; then
1888 if test -n "$ac_tool_prefix"; then
1889 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}strip; ac_word=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_STRIP+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896 if test -n "$STRIP"; then
1897 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1898 else
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1902 IFS=$as_save_IFS
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 break 2
1910 done
1911 done
1915 STRIP=$ac_cv_prog_STRIP
1916 if test -n "$STRIP"; then
1917 echo "$as_me:$LINENO: result: $STRIP" >&5
1918 echo "${ECHO_T}$STRIP" >&6
1919 else
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1925 if test -z "$ac_cv_prog_STRIP"; then
1926 ac_ct_STRIP=$STRIP
1927 # Extract the first word of "strip", so it can be a program name with args.
1928 set dummy strip; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test -n "$ac_ct_STRIP"; then
1935 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1936 else
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1940 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_ac_ct_STRIP="strip"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 break 2
1948 done
1949 done
1951 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1955 if test -n "$ac_ct_STRIP"; then
1956 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1957 echo "${ECHO_T}$ac_ct_STRIP" >&6
1958 else
1959 echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6
1963 STRIP=$ac_ct_STRIP
1964 else
1965 STRIP="$ac_cv_prog_STRIP"
1969 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1971 # We need awk for the "check" target. The system "awk" is bad on
1972 # some platforms.
1973 # Always define AMTAR for backward compatibility.
1975 AMTAR=${AMTAR-"${am_missing_run}tar"}
1977 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1988 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1989 # up critical shell variables.
1991 # Keep these sync'd with the list in Makefile.am. The first provides an
1992 # expandable list at autoconf time; the second provides an expandable list
1993 # (i.e., shell variable) at configure time.
1995 SUBDIRS='include libmath libsupc++ src po testsuite'
1997 # These need to be absolute paths, yet at the same time need to
1998 # canonicalize only relative paths, because then amd will not unmount
1999 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2000 glibcxx_builddir=`${PWDCMD-pwd}`
2001 case $srcdir in
2002 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2003 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2004 esac
2005 toplevel_srcdir=${glibcxx_srcdir}/..
2010 # We use these options to decide which functions to include. They are
2011 # set from the top level.
2013 # Check whether --with-target-subdir or --without-target-subdir was given.
2014 if test "${with_target_subdir+set}" = set; then
2015 withval="$with_target_subdir"
2020 # Check whether --with-cross-host or --without-cross-host was given.
2021 if test "${with_cross_host+set}" = set; then
2022 withval="$with_cross_host"
2027 # Check whether --with-newlib or --without-newlib was given.
2028 if test "${with_newlib+set}" = set; then
2029 withval="$with_newlib"
2033 # We're almost certainly being configured before anything else which uses
2034 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2035 # we not cache the value of CXX that we "discover" here, because it's set
2036 # to something unique for us and libjava. Other target libraries need to
2037 # find CXX for themselves. We yank the rug out from under the normal AC_*
2038 # process by sneakily renaming the cache variable. This also lets us debug
2039 # the value of "our" CXX in postmortems.
2041 # We must also force CXX to /not/ be a precious variable, otherwise the
2042 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2043 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2044 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2045 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2047 # -fno-builtin must be present here so that a non-conflicting form of
2048 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2053 save_CXXFLAGS="$CXXFLAGS"
2054 CXXFLAGS="$CXXFLAGS -fno-builtin"
2055 ac_ext=c
2056 ac_cpp='$CPP $CPPFLAGS'
2057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2060 if test -n "$ac_tool_prefix"; then
2061 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2062 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068 if test -n "$CC"; then
2069 ac_cv_prog_CC="$CC" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2074 IFS=$as_save_IFS
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2
2082 done
2083 done
2087 CC=$ac_cv_prog_CC
2088 if test -n "$CC"; then
2089 echo "$as_me:$LINENO: result: $CC" >&5
2090 echo "${ECHO_T}$CC" >&6
2091 else
2092 echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2097 if test -z "$ac_cv_prog_CC"; then
2098 ac_ct_CC=$CC
2099 # Extract the first word of "gcc", so it can be a program name with args.
2100 set dummy gcc; ac_word=$2
2101 echo "$as_me:$LINENO: checking for $ac_word" >&5
2102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2103 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 else
2106 if test -n "$ac_ct_CC"; then
2107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2108 else
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 for as_dir in $PATH
2112 IFS=$as_save_IFS
2113 test -z "$as_dir" && as_dir=.
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2116 ac_cv_prog_ac_ct_CC="gcc"
2117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 break 2
2120 done
2121 done
2125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2126 if test -n "$ac_ct_CC"; then
2127 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2128 echo "${ECHO_T}$ac_ct_CC" >&6
2129 else
2130 echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6
2134 CC=$ac_ct_CC
2135 else
2136 CC="$ac_cv_prog_CC"
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2162 done
2163 done
2167 CC=$ac_cv_prog_CC
2168 if test -n "$CC"; then
2169 echo "$as_me:$LINENO: result: $CC" >&5
2170 echo "${ECHO_T}$CC" >&6
2171 else
2172 echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6
2177 if test -z "$ac_cv_prog_CC"; then
2178 ac_ct_CC=$CC
2179 # Extract the first word of "cc", so it can be a program name with args.
2180 set dummy cc; ac_word=$2
2181 echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 else
2186 if test -n "$ac_ct_CC"; then
2187 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2188 else
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 for as_dir in $PATH
2192 IFS=$as_save_IFS
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2196 ac_cv_prog_ac_ct_CC="cc"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 break 2
2200 done
2201 done
2205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206 if test -n "$ac_ct_CC"; then
2207 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2208 echo "${ECHO_T}$ac_ct_CC" >&6
2209 else
2210 echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6
2214 CC=$ac_ct_CC
2215 else
2216 CC="$ac_cv_prog_CC"
2220 if test -z "$CC"; then
2221 # Extract the first word of "cc", so it can be a program name with args.
2222 set dummy cc; ac_word=$2
2223 echo "$as_me:$LINENO: checking for $ac_word" >&5
2224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2225 if test "${ac_cv_prog_CC+set}" = set; then
2226 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 else
2228 if test -n "$CC"; then
2229 ac_cv_prog_CC="$CC" # Let the user override the test.
2230 else
2231 ac_prog_rejected=no
2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 for as_dir in $PATH
2235 IFS=$as_save_IFS
2236 test -z "$as_dir" && as_dir=.
2237 for ac_exec_ext in '' $ac_executable_extensions; do
2238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2239 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2240 ac_prog_rejected=yes
2241 continue
2243 ac_cv_prog_CC="cc"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2247 done
2248 done
2250 if test $ac_prog_rejected = yes; then
2251 # We found a bogon in the path, so make sure we never use it.
2252 set dummy $ac_cv_prog_CC
2253 shift
2254 if test $# != 0; then
2255 # We chose a different compiler from the bogus one.
2256 # However, it has the same basename, so the bogon will be chosen
2257 # first if we set CC to just the basename; use the full file name.
2258 shift
2259 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2264 CC=$ac_cv_prog_CC
2265 if test -n "$CC"; then
2266 echo "$as_me:$LINENO: result: $CC" >&5
2267 echo "${ECHO_T}$CC" >&6
2268 else
2269 echo "$as_me:$LINENO: result: no" >&5
2270 echo "${ECHO_T}no" >&6
2274 if test -z "$CC"; then
2275 if test -n "$ac_tool_prefix"; then
2276 for ac_prog in cl
2278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2280 echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2282 if test "${ac_cv_prog_CC+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 else
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC="$CC" # Let the user override the test.
2287 else
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2295 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2
2299 done
2300 done
2304 CC=$ac_cv_prog_CC
2305 if test -n "$CC"; then
2306 echo "$as_me:$LINENO: result: $CC" >&5
2307 echo "${ECHO_T}$CC" >&6
2308 else
2309 echo "$as_me:$LINENO: result: no" >&5
2310 echo "${ECHO_T}no" >&6
2313 test -n "$CC" && break
2314 done
2316 if test -z "$CC"; then
2317 ac_ct_CC=$CC
2318 for ac_prog in cl
2320 # Extract the first word of "$ac_prog", so it can be a program name with args.
2321 set dummy $ac_prog; ac_word=$2
2322 echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2324 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 else
2327 if test -n "$ac_ct_CC"; then
2328 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2329 else
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 for as_dir in $PATH
2333 IFS=$as_save_IFS
2334 test -z "$as_dir" && as_dir=.
2335 for ac_exec_ext in '' $ac_executable_extensions; do
2336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337 ac_cv_prog_ac_ct_CC="$ac_prog"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 break 2
2341 done
2342 done
2346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2347 if test -n "$ac_ct_CC"; then
2348 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2349 echo "${ECHO_T}$ac_ct_CC" >&6
2350 else
2351 echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6
2355 test -n "$ac_ct_CC" && break
2356 done
2358 CC=$ac_ct_CC
2364 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2365 See \`config.log' for more details." >&5
2366 echo "$as_me: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&2;}
2368 { (exit 1); exit 1; }; }
2370 # Provide some information about the compiler.
2371 echo "$as_me:$LINENO:" \
2372 "checking for C compiler version" >&5
2373 ac_compiler=`set X $ac_compile; echo $2`
2374 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2375 (eval $ac_compiler --version </dev/null >&5) 2>&5
2376 ac_status=$?
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }
2379 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2380 (eval $ac_compiler -v </dev/null >&5) 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2385 (eval $ac_compiler -V </dev/null >&5) 2>&5
2386 ac_status=$?
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }
2390 cat >conftest.$ac_ext <<_ACEOF
2391 /* confdefs.h. */
2392 _ACEOF
2393 cat confdefs.h >>conftest.$ac_ext
2394 cat >>conftest.$ac_ext <<_ACEOF
2395 /* end confdefs.h. */
2398 main ()
2402 return 0;
2404 _ACEOF
2405 # FIXME: Cleanup?
2406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2407 (eval $ac_link) 2>&5
2408 ac_status=$?
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; then
2411 gcc_no_link=no
2412 else
2413 gcc_no_link=yes
2416 if test x$gcc_no_link = xyes; then
2417 # Setting cross_compile will disable run tests; it will
2418 # also disable AC_CHECK_FILE but that's generally
2419 # correct if we can't link.
2420 cross_compiling=yes
2421 EXEEXT=
2422 else
2423 cat >conftest.$ac_ext <<_ACEOF
2424 /* confdefs.h. */
2425 _ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2431 main ()
2435 return 0;
2437 _ACEOF
2438 ac_clean_files_save=$ac_clean_files
2439 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2440 # Try to create an executable without -o first, disregard a.out.
2441 # It will help us diagnose broken compilers, and finding out an intuition
2442 # of exeext.
2443 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2444 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2445 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2446 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2447 (eval $ac_link_default) 2>&5
2448 ac_status=$?
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; then
2451 # Find the output, starting from the most likely. This scheme is
2452 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2453 # resort.
2455 # Be careful to initialize this variable, since it used to be cached.
2456 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2457 ac_cv_exeext=
2458 # b.out is created by i960 compilers.
2459 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2461 test -f "$ac_file" || continue
2462 case $ac_file in
2463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2465 conftest.$ac_ext )
2466 # This is the source file.
2468 [ab].out )
2469 # We found the default executable, but exeext='' is most
2470 # certainly right.
2471 break;;
2472 *.* )
2473 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2474 # FIXME: I believe we export ac_cv_exeext for Libtool,
2475 # but it would be cool to find out if it's true. Does anybody
2476 # maintain Libtool? --akim.
2477 export ac_cv_exeext
2478 break;;
2480 break;;
2481 esac
2482 done
2483 else
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2487 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2488 See \`config.log' for more details." >&5
2489 echo "$as_me: error: C compiler cannot create executables
2490 See \`config.log' for more details." >&2;}
2491 { (exit 77); exit 77; }; }
2494 ac_exeext=$ac_cv_exeext
2495 echo "$as_me:$LINENO: result: $ac_file" >&5
2496 echo "${ECHO_T}$ac_file" >&6
2498 # Check the compiler produces executables we can run. If not, either
2499 # the compiler is broken, or we cross compile.
2500 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2501 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2502 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2503 # If not cross compiling, check that we can run a simple program.
2504 if test "$cross_compiling" != yes; then
2505 if { ac_try='./$ac_file'
2506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 (eval $ac_try) 2>&5
2508 ac_status=$?
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; }; then
2511 cross_compiling=no
2512 else
2513 if test "$cross_compiling" = maybe; then
2514 cross_compiling=yes
2515 else
2516 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2517 If you meant to cross compile, use \`--host'.
2518 See \`config.log' for more details." >&5
2519 echo "$as_me: error: cannot run C compiled programs.
2520 If you meant to cross compile, use \`--host'.
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2526 echo "$as_me:$LINENO: result: yes" >&5
2527 echo "${ECHO_T}yes" >&6
2529 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2530 ac_clean_files=$ac_clean_files_save
2531 # Check the compiler produces executables we can run. If not, either
2532 # the compiler is broken, or we cross compile.
2533 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2534 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2535 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2536 echo "${ECHO_T}$cross_compiling" >&6
2538 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2539 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2541 (eval $ac_link) 2>&5
2542 ac_status=$?
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; then
2545 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2546 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2547 # work properly (i.e., refer to `conftest.exe'), while it won't with
2548 # `rm'.
2549 for ac_file in conftest.exe conftest conftest.*; do
2550 test -f "$ac_file" || continue
2551 case $ac_file in
2552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2553 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2554 export ac_cv_exeext
2555 break;;
2556 * ) break;;
2557 esac
2558 done
2559 else
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest$ac_cv_exeext
2568 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2569 echo "${ECHO_T}$ac_cv_exeext" >&6
2571 rm -f conftest.$ac_ext
2572 EXEEXT=$ac_cv_exeext
2573 ac_exeext=$EXEEXT
2575 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2576 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2577 if test "${ac_cv_objext+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 else
2580 cat >conftest.$ac_ext <<_ACEOF
2581 /* confdefs.h. */
2582 _ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h. */
2588 main ()
2592 return 0;
2594 _ACEOF
2595 rm -f conftest.o conftest.obj
2596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597 (eval $ac_compile) 2>&5
2598 ac_status=$?
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; then
2601 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2602 case $ac_file in
2603 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2604 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2605 break;;
2606 esac
2607 done
2608 else
2609 echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2612 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2613 See \`config.log' for more details." >&5
2614 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&2;}
2616 { (exit 1); exit 1; }; }
2619 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2621 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2622 echo "${ECHO_T}$ac_cv_objext" >&6
2623 OBJEXT=$ac_cv_objext
2624 ac_objext=$OBJEXT
2625 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2626 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2627 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 else
2630 cat >conftest.$ac_ext <<_ACEOF
2631 /* confdefs.h. */
2632 _ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2638 main ()
2640 #ifndef __GNUC__
2641 choke me
2642 #endif
2645 return 0;
2647 _ACEOF
2648 rm -f conftest.$ac_objext
2649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650 (eval $ac_compile) 2>conftest.er1
2651 ac_status=$?
2652 grep -v '^ *+' conftest.er1 >conftest.err
2653 rm -f conftest.er1
2654 cat conftest.err >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); } &&
2657 { ac_try='test -z "$ac_c_werror_flag"
2658 || test ! -s conftest.err'
2659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 (eval $ac_try) 2>&5
2661 ac_status=$?
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; } &&
2664 { ac_try='test -s conftest.$ac_objext'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 (eval $ac_try) 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; }; then
2670 ac_compiler_gnu=yes
2671 else
2672 echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2675 ac_compiler_gnu=no
2677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2681 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 CFLAGS="-g"
2687 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 else
2692 cat >conftest.$ac_ext <<_ACEOF
2693 /* confdefs.h. */
2694 _ACEOF
2695 cat confdefs.h >>conftest.$ac_ext
2696 cat >>conftest.$ac_ext <<_ACEOF
2697 /* end confdefs.h. */
2700 main ()
2704 return 0;
2706 _ACEOF
2707 rm -f conftest.$ac_objext
2708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2709 (eval $ac_compile) 2>conftest.er1
2710 ac_status=$?
2711 grep -v '^ *+' conftest.er1 >conftest.err
2712 rm -f conftest.er1
2713 cat conftest.err >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); } &&
2716 { ac_try='test -z "$ac_c_werror_flag"
2717 || test ! -s conftest.err'
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719 (eval $ac_try) 2>&5
2720 ac_status=$?
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; } &&
2723 { ac_try='test -s conftest.$ac_objext'
2724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 (eval $ac_try) 2>&5
2726 ac_status=$?
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; }; then
2729 ac_cv_prog_cc_g=yes
2730 else
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2734 ac_cv_prog_cc_g=no
2736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2738 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2739 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2740 if test "$ac_test_CFLAGS" = set; then
2741 CFLAGS=$ac_save_CFLAGS
2742 elif test $ac_cv_prog_cc_g = yes; then
2743 if test "$GCC" = yes; then
2744 CFLAGS="-g -O2"
2745 else
2746 CFLAGS="-g"
2748 else
2749 if test "$GCC" = yes; then
2750 CFLAGS="-O2"
2751 else
2752 CFLAGS=
2755 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2756 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2757 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 else
2760 ac_cv_prog_cc_stdc=no
2761 ac_save_CC=$CC
2762 cat >conftest.$ac_ext <<_ACEOF
2763 /* confdefs.h. */
2764 _ACEOF
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2768 #include <stdarg.h>
2769 #include <stdio.h>
2770 #include <sys/types.h>
2771 #include <sys/stat.h>
2772 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2773 struct buf { int x; };
2774 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2775 static char *e (p, i)
2776 char **p;
2777 int i;
2779 return p[i];
2781 static char *f (char * (*g) (char **, int), char **p, ...)
2783 char *s;
2784 va_list v;
2785 va_start (v,p);
2786 s = g (p, va_arg (v,int));
2787 va_end (v);
2788 return s;
2791 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2792 function prototypes and stuff, but not '\xHH' hex character constants.
2793 These don't provoke an error unfortunately, instead are silently treated
2794 as 'x'. The following induces an error, until -std1 is added to get
2795 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2796 array size at least. It's necessary to write '\x00'==0 to get something
2797 that's true only with -std1. */
2798 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2800 int test (int i, double x);
2801 struct s1 {int (*f) (int a);};
2802 struct s2 {int (*f) (double a);};
2803 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2804 int argc;
2805 char **argv;
2807 main ()
2809 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2811 return 0;
2813 _ACEOF
2814 # Don't try gcc -ansi; that turns off useful extensions and
2815 # breaks some systems' header files.
2816 # AIX -qlanglvl=ansi
2817 # Ultrix and OSF/1 -std1
2818 # HP-UX 10.20 and later -Ae
2819 # HP-UX older versions -Aa -D_HPUX_SOURCE
2820 # SVR4 -Xc -D__EXTENSIONS__
2821 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2823 CC="$ac_save_CC $ac_arg"
2824 rm -f conftest.$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 (eval $ac_compile) 2>conftest.er1
2827 ac_status=$?
2828 grep -v '^ *+' conftest.er1 >conftest.err
2829 rm -f conftest.er1
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try='test -z "$ac_c_werror_flag"
2834 || test ! -s conftest.err'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 (eval $ac_try) 2>&5
2837 ac_status=$?
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 (eval $ac_try) 2>&5
2843 ac_status=$?
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; }; then
2846 ac_cv_prog_cc_stdc=$ac_arg
2847 break
2848 else
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2853 rm -f conftest.err conftest.$ac_objext
2854 done
2855 rm -f conftest.$ac_ext conftest.$ac_objext
2856 CC=$ac_save_CC
2860 case "x$ac_cv_prog_cc_stdc" in
2861 x|xno)
2862 echo "$as_me:$LINENO: result: none needed" >&5
2863 echo "${ECHO_T}none needed" >&6 ;;
2865 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2866 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2867 CC="$CC $ac_cv_prog_cc_stdc" ;;
2868 esac
2870 # Some people use a C++ compiler to compile C. Since we use `exit',
2871 # in C++ we need to declare it. In case someone uses the same compiler
2872 # for both compiling C and C++ we need to have the C++ compiler decide
2873 # the declaration of exit, since it's the most demanding environment.
2874 cat >conftest.$ac_ext <<_ACEOF
2875 #ifndef __cplusplus
2876 choke me
2877 #endif
2878 _ACEOF
2879 rm -f conftest.$ac_objext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881 (eval $ac_compile) 2>conftest.er1
2882 ac_status=$?
2883 grep -v '^ *+' conftest.er1 >conftest.err
2884 rm -f conftest.er1
2885 cat conftest.err >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } &&
2888 { ac_try='test -z "$ac_c_werror_flag"
2889 || test ! -s conftest.err'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 (eval $ac_try) 2>&5
2892 ac_status=$?
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; } &&
2895 { ac_try='test -s conftest.$ac_objext'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897 (eval $ac_try) 2>&5
2898 ac_status=$?
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; }; then
2901 for ac_declaration in \
2902 '' \
2903 'extern "C" void std::exit (int) throw (); using std::exit;' \
2904 'extern "C" void std::exit (int); using std::exit;' \
2905 'extern "C" void exit (int) throw ();' \
2906 'extern "C" void exit (int);' \
2907 'void exit (int);'
2909 cat >conftest.$ac_ext <<_ACEOF
2910 /* confdefs.h. */
2911 _ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2915 $ac_declaration
2916 #include <stdlib.h>
2918 main ()
2920 exit (42);
2922 return 0;
2924 _ACEOF
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>conftest.er1
2928 ac_status=$?
2929 grep -v '^ *+' conftest.er1 >conftest.err
2930 rm -f conftest.er1
2931 cat conftest.err >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try='test -z "$ac_c_werror_flag"
2935 || test ! -s conftest.err'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 (eval $ac_try) 2>&5
2938 ac_status=$?
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; } &&
2941 { ac_try='test -s conftest.$ac_objext'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 (eval $ac_try) 2>&5
2944 ac_status=$?
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; }; then
2948 else
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2952 continue
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955 cat >conftest.$ac_ext <<_ACEOF
2956 /* confdefs.h. */
2957 _ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2961 $ac_declaration
2963 main ()
2965 exit (42);
2967 return 0;
2969 _ACEOF
2970 rm -f conftest.$ac_objext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972 (eval $ac_compile) 2>conftest.er1
2973 ac_status=$?
2974 grep -v '^ *+' conftest.er1 >conftest.err
2975 rm -f conftest.er1
2976 cat conftest.err >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } &&
2979 { ac_try='test -z "$ac_c_werror_flag"
2980 || test ! -s conftest.err'
2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2982 (eval $ac_try) 2>&5
2983 ac_status=$?
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; } &&
2986 { ac_try='test -s conftest.$ac_objext'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988 (eval $ac_try) 2>&5
2989 ac_status=$?
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2992 break
2993 else
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2999 done
3000 rm -f conftest*
3001 if test -n "$ac_declaration"; then
3002 echo '#ifdef __cplusplus' >>confdefs.h
3003 echo $ac_declaration >>confdefs.h
3004 echo '#endif' >>confdefs.h
3007 else
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3013 ac_ext=c
3014 ac_cpp='$CPP $CPPFLAGS'
3015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3019 ac_ext=cc
3020 ac_cpp='$CXXCPP $CPPFLAGS'
3021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3024 if test -n "$ac_tool_prefix"; then
3025 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3027 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3028 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3029 echo "$as_me:$LINENO: checking for $ac_word" >&5
3030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3031 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 else
3034 if test -n "$CXX"; then
3035 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3036 else
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH
3040 IFS=$as_save_IFS
3041 test -z "$as_dir" && as_dir=.
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 break 2
3048 done
3049 done
3053 CXX=$glibcxx_cv_prog_CXX
3054 if test -n "$CXX"; then
3055 echo "$as_me:$LINENO: result: $CXX" >&5
3056 echo "${ECHO_T}$CXX" >&6
3057 else
3058 echo "$as_me:$LINENO: result: no" >&5
3059 echo "${ECHO_T}no" >&6
3062 test -n "$CXX" && break
3063 done
3065 if test -z "$CXX"; then
3066 ac_ct_CXX=$CXX
3067 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3069 # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy $ac_prog; ac_word=$2
3071 echo "$as_me:$LINENO: checking for $ac_word" >&5
3072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3073 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3075 else
3076 if test -n "$ac_ct_CXX"; then
3077 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3082 IFS=$as_save_IFS
3083 test -z "$as_dir" && as_dir=.
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3086 ac_cv_prog_ac_ct_CXX="$ac_prog"
3087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 break 2
3090 done
3091 done
3095 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3096 if test -n "$ac_ct_CXX"; then
3097 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3098 echo "${ECHO_T}$ac_ct_CXX" >&6
3099 else
3100 echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3104 test -n "$ac_ct_CXX" && break
3105 done
3106 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3108 CXX=$ac_ct_CXX
3112 # Provide some information about the compiler.
3113 echo "$as_me:$LINENO:" \
3114 "checking for C++ compiler version" >&5
3115 ac_compiler=`set X $ac_compile; echo $2`
3116 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3117 (eval $ac_compiler --version </dev/null >&5) 2>&5
3118 ac_status=$?
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }
3121 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3122 (eval $ac_compiler -v </dev/null >&5) 2>&5
3123 ac_status=$?
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }
3126 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3127 (eval $ac_compiler -V </dev/null >&5) 2>&5
3128 ac_status=$?
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); }
3132 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3133 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3134 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3135 echo $ECHO_N "(cached) $ECHO_C" >&6
3136 else
3137 cat >conftest.$ac_ext <<_ACEOF
3138 /* confdefs.h. */
3139 _ACEOF
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3145 main ()
3147 #ifndef __GNUC__
3148 choke me
3149 #endif
3152 return 0;
3154 _ACEOF
3155 rm -f conftest.$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157 (eval $ac_compile) 2>conftest.er1
3158 ac_status=$?
3159 grep -v '^ *+' conftest.er1 >conftest.err
3160 rm -f conftest.er1
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } &&
3164 { ac_try='test -z "$ac_cxx_werror_flag"
3165 || test ! -s conftest.err'
3166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 (eval $ac_try) 2>&5
3168 ac_status=$?
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; } &&
3171 { ac_try='test -s conftest.$ac_objext'
3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173 (eval $ac_try) 2>&5
3174 ac_status=$?
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }; }; then
3177 ac_compiler_gnu=yes
3178 else
3179 echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.$ac_ext >&5
3182 ac_compiler_gnu=no
3184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3185 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3188 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3189 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3190 GXX=`test $ac_compiler_gnu = yes && echo yes`
3191 ac_test_CXXFLAGS=${CXXFLAGS+set}
3192 ac_save_CXXFLAGS=$CXXFLAGS
3193 CXXFLAGS="-g"
3194 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3195 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3196 if test "${ac_cv_prog_cxx_g+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 else
3199 cat >conftest.$ac_ext <<_ACEOF
3200 /* confdefs.h. */
3201 _ACEOF
3202 cat confdefs.h >>conftest.$ac_ext
3203 cat >>conftest.$ac_ext <<_ACEOF
3204 /* end confdefs.h. */
3207 main ()
3211 return 0;
3213 _ACEOF
3214 rm -f conftest.$ac_objext
3215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3216 (eval $ac_compile) 2>conftest.er1
3217 ac_status=$?
3218 grep -v '^ *+' conftest.er1 >conftest.err
3219 rm -f conftest.er1
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); } &&
3223 { ac_try='test -z "$ac_cxx_werror_flag"
3224 || test ! -s conftest.err'
3225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 (eval $ac_try) 2>&5
3227 ac_status=$?
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); }; } &&
3230 { ac_try='test -s conftest.$ac_objext'
3231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 (eval $ac_try) 2>&5
3233 ac_status=$?
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); }; }; then
3236 ac_cv_prog_cxx_g=yes
3237 else
3238 echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3241 ac_cv_prog_cxx_g=no
3243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3245 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3246 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3247 if test "$ac_test_CXXFLAGS" = set; then
3248 CXXFLAGS=$ac_save_CXXFLAGS
3249 elif test $ac_cv_prog_cxx_g = yes; then
3250 if test "$GXX" = yes; then
3251 CXXFLAGS="-g -O2"
3252 else
3253 CXXFLAGS="-g"
3255 else
3256 if test "$GXX" = yes; then
3257 CXXFLAGS="-O2"
3258 else
3259 CXXFLAGS=
3262 for ac_declaration in \
3263 '' \
3264 'extern "C" void std::exit (int) throw (); using std::exit;' \
3265 'extern "C" void std::exit (int); using std::exit;' \
3266 'extern "C" void exit (int) throw ();' \
3267 'extern "C" void exit (int);' \
3268 'void exit (int);'
3270 cat >conftest.$ac_ext <<_ACEOF
3271 /* confdefs.h. */
3272 _ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h. */
3276 $ac_declaration
3277 #include <stdlib.h>
3279 main ()
3281 exit (42);
3283 return 0;
3285 _ACEOF
3286 rm -f conftest.$ac_objext
3287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3288 (eval $ac_compile) 2>conftest.er1
3289 ac_status=$?
3290 grep -v '^ *+' conftest.er1 >conftest.err
3291 rm -f conftest.er1
3292 cat conftest.err >&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); } &&
3295 { ac_try='test -z "$ac_cxx_werror_flag"
3296 || test ! -s conftest.err'
3297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3298 (eval $ac_try) 2>&5
3299 ac_status=$?
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); }; } &&
3302 { ac_try='test -s conftest.$ac_objext'
3303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 (eval $ac_try) 2>&5
3305 ac_status=$?
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; }; then
3309 else
3310 echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3313 continue
3315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3316 cat >conftest.$ac_ext <<_ACEOF
3317 /* confdefs.h. */
3318 _ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3322 $ac_declaration
3324 main ()
3326 exit (42);
3328 return 0;
3330 _ACEOF
3331 rm -f conftest.$ac_objext
3332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3333 (eval $ac_compile) 2>conftest.er1
3334 ac_status=$?
3335 grep -v '^ *+' conftest.er1 >conftest.err
3336 rm -f conftest.er1
3337 cat conftest.err >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } &&
3340 { ac_try='test -z "$ac_cxx_werror_flag"
3341 || test ! -s conftest.err'
3342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343 (eval $ac_try) 2>&5
3344 ac_status=$?
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); }; } &&
3347 { ac_try='test -s conftest.$ac_objext'
3348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349 (eval $ac_try) 2>&5
3350 ac_status=$?
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }; }; then
3353 break
3354 else
3355 echo "$as_me: failed program was:" >&5
3356 sed 's/^/| /' conftest.$ac_ext >&5
3359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3360 done
3361 rm -f conftest*
3362 if test -n "$ac_declaration"; then
3363 echo '#ifdef __cplusplus' >>confdefs.h
3364 echo $ac_declaration >>confdefs.h
3365 echo '#endif' >>confdefs.h
3368 ac_ext=c
3369 ac_cpp='$CPP $CPPFLAGS'
3370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3374 CXXFLAGS="$save_CXXFLAGS"
3379 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3380 # available). Uncomment the next line to force a particular method.
3381 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3382 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3383 LN_S=$as_ln_s
3384 if test "$LN_S" = "ln -s"; then
3385 echo "$as_me:$LINENO: result: yes" >&5
3386 echo "${ECHO_T}yes" >&6
3387 else
3388 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3389 echo "${ECHO_T}no, using $LN_S" >&6
3392 #LN_S='cp -p'
3394 if test -n "$ac_tool_prefix"; then
3395 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3396 set dummy ${ac_tool_prefix}as; ac_word=$2
3397 echo "$as_me:$LINENO: checking for $ac_word" >&5
3398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3399 if test "${ac_cv_prog_AS+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 else
3402 if test -n "$AS"; then
3403 ac_cv_prog_AS="$AS" # Let the user override the test.
3404 else
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH
3408 IFS=$as_save_IFS
3409 test -z "$as_dir" && as_dir=.
3410 for ac_exec_ext in '' $ac_executable_extensions; do
3411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412 ac_cv_prog_AS="${ac_tool_prefix}as"
3413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3414 break 2
3416 done
3417 done
3421 AS=$ac_cv_prog_AS
3422 if test -n "$AS"; then
3423 echo "$as_me:$LINENO: result: $AS" >&5
3424 echo "${ECHO_T}$AS" >&6
3425 else
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3431 if test -z "$ac_cv_prog_AS"; then
3432 ac_ct_AS=$AS
3433 # Extract the first word of "as", so it can be a program name with args.
3434 set dummy as; ac_word=$2
3435 echo "$as_me:$LINENO: checking for $ac_word" >&5
3436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3437 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 else
3440 if test -n "$ac_ct_AS"; then
3441 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH
3446 IFS=$as_save_IFS
3447 test -z "$as_dir" && as_dir=.
3448 for ac_exec_ext in '' $ac_executable_extensions; do
3449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3450 ac_cv_prog_ac_ct_AS="as"
3451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3452 break 2
3454 done
3455 done
3459 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3460 if test -n "$ac_ct_AS"; then
3461 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3462 echo "${ECHO_T}$ac_ct_AS" >&6
3463 else
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3468 AS=$ac_ct_AS
3469 else
3470 AS="$ac_cv_prog_AS"
3473 if test -n "$ac_tool_prefix"; then
3474 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3475 set dummy ${ac_tool_prefix}ar; ac_word=$2
3476 echo "$as_me:$LINENO: checking for $ac_word" >&5
3477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3478 if test "${ac_cv_prog_AR+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 else
3481 if test -n "$AR"; then
3482 ac_cv_prog_AR="$AR" # Let the user override the test.
3483 else
3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485 for as_dir in $PATH
3487 IFS=$as_save_IFS
3488 test -z "$as_dir" && as_dir=.
3489 for ac_exec_ext in '' $ac_executable_extensions; do
3490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3491 ac_cv_prog_AR="${ac_tool_prefix}ar"
3492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 break 2
3495 done
3496 done
3500 AR=$ac_cv_prog_AR
3501 if test -n "$AR"; then
3502 echo "$as_me:$LINENO: result: $AR" >&5
3503 echo "${ECHO_T}$AR" >&6
3504 else
3505 echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6
3510 if test -z "$ac_cv_prog_AR"; then
3511 ac_ct_AR=$AR
3512 # Extract the first word of "ar", so it can be a program name with args.
3513 set dummy ar; ac_word=$2
3514 echo "$as_me:$LINENO: checking for $ac_word" >&5
3515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3516 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3518 else
3519 if test -n "$ac_ct_AR"; then
3520 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3521 else
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523 for as_dir in $PATH
3525 IFS=$as_save_IFS
3526 test -z "$as_dir" && as_dir=.
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529 ac_cv_prog_ac_ct_AR="ar"
3530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 break 2
3533 done
3534 done
3538 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3539 if test -n "$ac_ct_AR"; then
3540 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3541 echo "${ECHO_T}$ac_ct_AR" >&6
3542 else
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3547 AR=$ac_ct_AR
3548 else
3549 AR="$ac_cv_prog_AR"
3552 if test -n "$ac_tool_prefix"; then
3553 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3554 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3555 echo "$as_me:$LINENO: checking for $ac_word" >&5
3556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3557 if test "${ac_cv_prog_RANLIB+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 else
3560 if test -n "$RANLIB"; then
3561 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3562 else
3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564 for as_dir in $PATH
3566 IFS=$as_save_IFS
3567 test -z "$as_dir" && as_dir=.
3568 for ac_exec_ext in '' $ac_executable_extensions; do
3569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 break 2
3574 done
3575 done
3579 RANLIB=$ac_cv_prog_RANLIB
3580 if test -n "$RANLIB"; then
3581 echo "$as_me:$LINENO: result: $RANLIB" >&5
3582 echo "${ECHO_T}$RANLIB" >&6
3583 else
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3589 if test -z "$ac_cv_prog_RANLIB"; then
3590 ac_ct_RANLIB=$RANLIB
3591 # Extract the first word of "ranlib", so it can be a program name with args.
3592 set dummy ranlib; ac_word=$2
3593 echo "$as_me:$LINENO: checking for $ac_word" >&5
3594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3595 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 else
3598 if test -n "$ac_ct_RANLIB"; then
3599 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3600 else
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 for as_dir in $PATH
3604 IFS=$as_save_IFS
3605 test -z "$as_dir" && as_dir=.
3606 for ac_exec_ext in '' $ac_executable_extensions; do
3607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_prog_ac_ct_RANLIB="ranlib"
3609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 break 2
3612 done
3613 done
3615 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3618 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3619 if test -n "$ac_ct_RANLIB"; then
3620 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3621 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3622 else
3623 echo "$as_me:$LINENO: result: no" >&5
3624 echo "${ECHO_T}no" >&6
3627 RANLIB=$ac_ct_RANLIB
3628 else
3629 RANLIB="$ac_cv_prog_RANLIB"
3633 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3634 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3635 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3636 if test "${enable_maintainer_mode+set}" = set; then
3637 enableval="$enable_maintainer_mode"
3638 USE_MAINTAINER_MODE=$enableval
3639 else
3640 USE_MAINTAINER_MODE=no
3642 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3643 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3646 if test $USE_MAINTAINER_MODE = yes; then
3647 MAINTAINER_MODE_TRUE=
3648 MAINTAINER_MODE_FALSE='#'
3649 else
3650 MAINTAINER_MODE_TRUE='#'
3651 MAINTAINER_MODE_FALSE=
3654 MAINT=$MAINTAINER_MODE_TRUE
3658 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3659 # which are themselves conditionally expanded.
3660 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3661 ## other macros from doing the same. This should be automated.) -pme
3662 need_libmath=no
3664 # Find platform-specific directories containing configuration info.
3665 # Also possibly modify flags used elsewhere, as needed by the platform.
3667 . $glibcxx_srcdir/configure.host
3668 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3669 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3670 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3671 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3676 # Check whether --enable-shared or --disable-shared was given.
3677 if test "${enable_shared+set}" = set; then
3678 enableval="$enable_shared"
3679 p=${PACKAGE-default}
3680 case $enableval in
3681 yes) enable_shared=yes ;;
3682 no) enable_shared=no ;;
3684 enable_shared=no
3685 # Look at the argument we got. We use all the common list separators.
3686 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3687 for pkg in $enableval; do
3688 if test "X$pkg" = "X$p"; then
3689 enable_shared=yes
3691 done
3692 IFS="$ac_save_ifs"
3694 esac
3695 else
3696 enable_shared=yes
3698 # Check whether --enable-static or --disable-static was given.
3699 if test "${enable_static+set}" = set; then
3700 enableval="$enable_static"
3701 p=${PACKAGE-default}
3702 case $enableval in
3703 yes) enable_static=yes ;;
3704 no) enable_static=no ;;
3706 enable_static=no
3707 # Look at the argument we got. We use all the common list separators.
3708 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3709 for pkg in $enableval; do
3710 if test "X$pkg" = "X$p"; then
3711 enable_static=yes
3713 done
3714 IFS="$ac_save_ifs"
3716 esac
3717 else
3718 enable_static=yes
3720 # Check whether --enable-fast-install or --disable-fast-install was given.
3721 if test "${enable_fast_install+set}" = set; then
3722 enableval="$enable_fast_install"
3723 p=${PACKAGE-default}
3724 case $enableval in
3725 yes) enable_fast_install=yes ;;
3726 no) enable_fast_install=no ;;
3728 enable_fast_install=no
3729 # Look at the argument we got. We use all the common list separators.
3730 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3731 for pkg in $enableval; do
3732 if test "X$pkg" = "X$p"; then
3733 enable_fast_install=yes
3735 done
3736 IFS="$ac_save_ifs"
3738 esac
3739 else
3740 enable_fast_install=yes
3743 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3744 if test "${with_gnu_ld+set}" = set; then
3745 withval="$with_gnu_ld"
3746 test "$withval" = no || with_gnu_ld=yes
3747 else
3748 with_gnu_ld=no
3750 ac_prog=ld
3751 if test "$GCC" = yes; then
3752 # Check if gcc -print-prog-name=ld gives a path.
3753 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3754 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3755 case $host in
3756 *-*-mingw*)
3757 # gcc leaves a trailing carriage return which upsets mingw
3758 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3760 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3761 esac
3762 case $ac_prog in
3763 # Accept absolute paths.
3764 [\\/]* | [A-Za-z]:[\\/]*)
3765 re_direlt='/[^/][^/]*/\.\./'
3766 # Canonicalize the path of ld
3767 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3768 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3769 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3770 done
3771 test -z "$LD" && LD="$ac_prog"
3774 # If it fails, then pretend we aren't using GCC.
3775 ac_prog=ld
3778 # If it is relative, then search for the first ld in PATH.
3779 with_gnu_ld=unknown
3781 esac
3782 elif test "$with_gnu_ld" = yes; then
3783 echo "$as_me:$LINENO: checking for GNU ld" >&5
3784 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3785 else
3786 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3787 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3789 if test "${lt_cv_path_LD+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 else
3792 if test -z "$LD"; then
3793 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3794 for ac_dir in $PATH; do
3795 test -z "$ac_dir" && ac_dir=.
3796 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3797 lt_cv_path_LD="$ac_dir/$ac_prog"
3798 # Check to see if the program is GNU ld. I'd rather use --version,
3799 # but apparently some GNU ld's only accept -v.
3800 # Break only if it was the GNU/non-GNU ld that we prefer.
3801 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3802 test "$with_gnu_ld" != no && break
3803 else
3804 test "$with_gnu_ld" != yes && break
3807 done
3808 IFS="$ac_save_ifs"
3809 else
3810 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3814 LD="$lt_cv_path_LD"
3815 if test -n "$LD"; then
3816 echo "$as_me:$LINENO: result: $LD" >&5
3817 echo "${ECHO_T}$LD" >&6
3818 else
3819 echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6
3822 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3823 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3824 { (exit 1); exit 1; }; }
3825 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3826 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3827 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 else
3830 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3831 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3832 lt_cv_prog_gnu_ld=yes
3833 else
3834 lt_cv_prog_gnu_ld=no
3837 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3838 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3839 with_gnu_ld=$lt_cv_prog_gnu_ld
3842 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3843 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3844 if test "${lt_cv_ld_reload_flag+set}" = set; then
3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3846 else
3847 lt_cv_ld_reload_flag='-r'
3849 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3850 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3851 reload_flag=$lt_cv_ld_reload_flag
3852 test -n "$reload_flag" && reload_flag=" $reload_flag"
3854 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3855 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3856 if test "${lt_cv_path_NM+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 else
3859 if test -n "$NM"; then
3860 # Let the user override the test.
3861 lt_cv_path_NM="$NM"
3862 else
3863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3864 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3865 test -z "$ac_dir" && ac_dir=.
3866 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3867 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3868 # Check to see if the nm accepts a BSD-compat flag.
3869 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3870 # nm: unknown option "B" ignored
3871 # Tru64's nm complains that /dev/null is an invalid object file
3872 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3873 lt_cv_path_NM="$tmp_nm -B"
3874 break
3875 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3876 lt_cv_path_NM="$tmp_nm -p"
3877 break
3878 else
3879 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3880 continue # so that we can try to find one that supports BSD flags
3883 done
3884 IFS="$ac_save_ifs"
3885 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3889 NM="$lt_cv_path_NM"
3890 echo "$as_me:$LINENO: result: $NM" >&5
3891 echo "${ECHO_T}$NM" >&6
3893 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3894 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3895 if test "${lt_cv_deplibs_check_method+set}" = set; then
3896 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 else
3898 lt_cv_file_magic_cmd='$MAGIC_CMD'
3899 lt_cv_file_magic_test_file=
3900 lt_cv_deplibs_check_method='unknown'
3901 # Need to set the preceding variable on all platforms that support
3902 # interlibrary dependencies.
3903 # 'none' -- dependencies not supported.
3904 # `unknown' -- same as none, but documents that we really don't know.
3905 # 'pass_all' -- all dependencies passed with no checks.
3906 # 'test_compile' -- check by making test program.
3907 # 'file_magic [regex]' -- check by looking for files in library path
3908 # which responds to the $file_magic_cmd with a given egrep regex.
3909 # If you have `file' or equivalent on your system and you're not sure
3910 # whether `pass_all' will *always* work, you probably want this one.
3912 case $host_os in
3913 aix*)
3914 lt_cv_deplibs_check_method=pass_all
3917 beos*)
3918 lt_cv_deplibs_check_method=pass_all
3921 bsdi4*)
3922 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3923 lt_cv_file_magic_cmd='/usr/bin/file -L'
3924 lt_cv_file_magic_test_file=/shlib/libc.so
3927 cygwin* | mingw* |pw32*)
3928 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3929 lt_cv_file_magic_cmd='$OBJDUMP -f'
3932 darwin* | rhapsody*)
3933 # this will be overwritten by pass_all, but leave it in just in case
3934 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3935 lt_cv_file_magic_cmd='/usr/bin/file -L'
3936 case "$host_os" in
3937 rhapsody* | darwin1.012)
3938 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3940 *) # Darwin 1.3 on
3941 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3943 esac
3944 lt_cv_deplibs_check_method=pass_all
3947 freebsd* | kfreebsd*-gnu)
3948 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3949 case $host_cpu in
3950 i*86 )
3951 # Not sure whether the presence of OpenBSD here was a mistake.
3952 # Let's accept both of them until this is cleared up.
3953 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3954 lt_cv_file_magic_cmd=/usr/bin/file
3955 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3957 esac
3958 else
3959 lt_cv_deplibs_check_method=pass_all
3963 gnu*)
3964 lt_cv_deplibs_check_method=pass_all
3967 hpux10.20*|hpux11*)
3968 case $host_cpu in
3969 hppa*)
3970 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3971 lt_cv_file_magic_cmd=/usr/bin/file
3972 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3974 ia64*)
3975 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3976 lt_cv_file_magic_cmd=/usr/bin/file
3977 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3979 esac
3982 irix5* | irix6*)
3983 case $host_os in
3984 irix5*)
3985 # this will be overridden with pass_all, but let us keep it just in case
3986 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3989 case $LD in
3990 *-32|*"-32 ") libmagic=32-bit;;
3991 *-n32|*"-n32 ") libmagic=N32;;
3992 *-64|*"-64 ") libmagic=64-bit;;
3993 *) libmagic=never-match;;
3994 esac
3995 # this will be overridden with pass_all, but let us keep it just in case
3996 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3998 esac
3999 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4000 lt_cv_deplibs_check_method=pass_all
4003 # This must be Linux ELF.
4004 linux-gnu*)
4005 lt_cv_deplibs_check_method=pass_all
4008 netbsd* | knetbsd*-gnu)
4009 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4010 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4011 else
4012 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4016 newsos6)
4017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4018 lt_cv_file_magic_cmd=/usr/bin/file
4019 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4022 osf3* | osf4* | osf5*)
4023 # this will be overridden with pass_all, but let us keep it just in case
4024 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4025 lt_cv_file_magic_test_file=/shlib/libc.so
4026 lt_cv_deplibs_check_method=pass_all
4029 sco3.2v5*)
4030 lt_cv_deplibs_check_method=pass_all
4033 solaris*)
4034 lt_cv_deplibs_check_method=pass_all
4035 lt_cv_file_magic_test_file=/lib/libc.so
4038 sysv5uw[78]* | sysv4*uw2*)
4039 lt_cv_deplibs_check_method=pass_all
4042 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4043 case $host_vendor in
4044 ncr)
4045 lt_cv_deplibs_check_method=pass_all
4047 motorola)
4048 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4051 esac
4053 esac
4056 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4057 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4058 file_magic_cmd=$lt_cv_file_magic_cmd
4059 deplibs_check_method=$lt_cv_deplibs_check_method
4065 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4067 # find the maximum length of command line arguments
4068 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4069 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4070 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4072 else
4074 teststring="ABCD"
4076 case $build_os in
4077 msdosdjgpp*)
4078 # On DJGPP, this test can blow up pretty badly due to problems in libc
4079 # (any single argument exceeding 2000 bytes causes a buffer overrun
4080 # during glob expansion). Even if it were fixed, the result of this
4081 # check would be larger than it should be.
4082 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4085 cygwin* | mingw*)
4086 # On Win9x/ME, this test blows up -- it succeeds, but takes
4087 # about 5 minutes as the teststring grows exponentially.
4088 # Worse, since 9x/ME are not pre-emptively multitasking,
4089 # you end up with a "frozen" computer, even though with patience
4090 # the test eventually succeeds (with a max line length of 256k).
4091 # Instead, let's just punt: use the minimum linelength reported by
4092 # all of the supported platforms: 8192 (on NT/2K/XP).
4093 lt_cv_sys_max_cmd_len=8192;
4096 amigaos*)
4097 # On AmigaOS with pdksh, this test takes hours, literally.
4098 # So we just punt and use a minimum line length of 8192.
4099 lt_cv_sys_max_cmd_len=8192;
4102 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4103 # This has been around since 386BSD, at least. Likely further.
4104 if test -x /sbin/sysctl; then
4105 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4106 elif test -x /usr/sbin/sysctl; then
4107 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4108 else
4109 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4111 # And add a safety zone
4112 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4113 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4115 esac
4119 if test -n "$lt_cv_sys_max_cmd_len" ; then
4120 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4121 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4122 else
4123 echo "$as_me:$LINENO: result: none" >&5
4124 echo "${ECHO_T}none" >&6
4128 # Only perform the check for file, if the check method requires it
4129 case $deplibs_check_method in
4130 file_magic*)
4131 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4132 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4133 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4134 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 else
4137 case $MAGIC_CMD in
4139 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4141 ?:/*)
4142 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4145 ac_save_MAGIC_CMD="$MAGIC_CMD"
4146 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4147 ac_dummy="/usr/bin:$PATH"
4148 for ac_dir in $ac_dummy; do
4149 test -z "$ac_dir" && ac_dir=.
4150 if test -f $ac_dir/${ac_tool_prefix}file; then
4151 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4152 if test -n "$file_magic_test_file"; then
4153 case $deplibs_check_method in
4154 "file_magic "*)
4155 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4156 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4157 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4158 egrep "$file_magic_regex" > /dev/null; then
4160 else
4161 cat <<EOF 1>&2
4163 *** Warning: the command libtool uses to detect shared libraries,
4164 *** $file_magic_cmd, produces output that libtool cannot recognize.
4165 *** The result is that libtool may fail to recognize shared libraries
4166 *** as such. This will affect the creation of libtool libraries that
4167 *** depend on shared libraries, but programs linked with such libtool
4168 *** libraries will work regardless of this problem. Nevertheless, you
4169 *** may want to report the problem to your system manager and/or to
4170 *** bug-libtool@gnu.org
4173 fi ;;
4174 esac
4176 break
4178 done
4179 IFS="$ac_save_ifs"
4180 MAGIC_CMD="$ac_save_MAGIC_CMD"
4182 esac
4185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4186 if test -n "$MAGIC_CMD"; then
4187 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4188 echo "${ECHO_T}$MAGIC_CMD" >&6
4189 else
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4194 if test -z "$lt_cv_path_MAGIC_CMD"; then
4195 if test -n "$ac_tool_prefix"; then
4196 echo "$as_me:$LINENO: checking for file" >&5
4197 echo $ECHO_N "checking for file... $ECHO_C" >&6
4198 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 else
4201 case $MAGIC_CMD in
4203 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4205 ?:/*)
4206 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4209 ac_save_MAGIC_CMD="$MAGIC_CMD"
4210 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4211 ac_dummy="/usr/bin:$PATH"
4212 for ac_dir in $ac_dummy; do
4213 test -z "$ac_dir" && ac_dir=.
4214 if test -f $ac_dir/file; then
4215 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4216 if test -n "$file_magic_test_file"; then
4217 case $deplibs_check_method in
4218 "file_magic "*)
4219 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4220 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4221 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4222 egrep "$file_magic_regex" > /dev/null; then
4224 else
4225 cat <<EOF 1>&2
4227 *** Warning: the command libtool uses to detect shared libraries,
4228 *** $file_magic_cmd, produces output that libtool cannot recognize.
4229 *** The result is that libtool may fail to recognize shared libraries
4230 *** as such. This will affect the creation of libtool libraries that
4231 *** depend on shared libraries, but programs linked with such libtool
4232 *** libraries will work regardless of this problem. Nevertheless, you
4233 *** may want to report the problem to your system manager and/or to
4234 *** bug-libtool@gnu.org
4237 fi ;;
4238 esac
4240 break
4242 done
4243 IFS="$ac_save_ifs"
4244 MAGIC_CMD="$ac_save_MAGIC_CMD"
4246 esac
4249 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4250 if test -n "$MAGIC_CMD"; then
4251 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4252 echo "${ECHO_T}$MAGIC_CMD" >&6
4253 else
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4258 else
4259 MAGIC_CMD=:
4265 esac
4267 if test -n "$ac_tool_prefix"; then
4268 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4269 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4270 echo "$as_me:$LINENO: checking for $ac_word" >&5
4271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4272 if test "${ac_cv_prog_RANLIB+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4274 else
4275 if test -n "$RANLIB"; then
4276 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4277 else
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 for as_dir in $PATH
4281 IFS=$as_save_IFS
4282 test -z "$as_dir" && as_dir=.
4283 for ac_exec_ext in '' $ac_executable_extensions; do
4284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 break 2
4289 done
4290 done
4294 RANLIB=$ac_cv_prog_RANLIB
4295 if test -n "$RANLIB"; then
4296 echo "$as_me:$LINENO: result: $RANLIB" >&5
4297 echo "${ECHO_T}$RANLIB" >&6
4298 else
4299 echo "$as_me:$LINENO: result: no" >&5
4300 echo "${ECHO_T}no" >&6
4304 if test -z "$ac_cv_prog_RANLIB"; then
4305 ac_ct_RANLIB=$RANLIB
4306 # Extract the first word of "ranlib", so it can be a program name with args.
4307 set dummy ranlib; ac_word=$2
4308 echo "$as_me:$LINENO: checking for $ac_word" >&5
4309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4310 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4311 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 else
4313 if test -n "$ac_ct_RANLIB"; then
4314 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4315 else
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 for as_dir in $PATH
4319 IFS=$as_save_IFS
4320 test -z "$as_dir" && as_dir=.
4321 for ac_exec_ext in '' $ac_executable_extensions; do
4322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4323 ac_cv_prog_ac_ct_RANLIB="ranlib"
4324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4325 break 2
4327 done
4328 done
4330 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4333 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4334 if test -n "$ac_ct_RANLIB"; then
4335 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4336 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4337 else
4338 echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6
4342 RANLIB=$ac_ct_RANLIB
4343 else
4344 RANLIB="$ac_cv_prog_RANLIB"
4347 if test -n "$ac_tool_prefix"; then
4348 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4349 set dummy ${ac_tool_prefix}strip; ac_word=$2
4350 echo "$as_me:$LINENO: checking for $ac_word" >&5
4351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4352 if test "${ac_cv_prog_STRIP+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4354 else
4355 if test -n "$STRIP"; then
4356 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4357 else
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH
4361 IFS=$as_save_IFS
4362 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 break 2
4369 done
4370 done
4374 STRIP=$ac_cv_prog_STRIP
4375 if test -n "$STRIP"; then
4376 echo "$as_me:$LINENO: result: $STRIP" >&5
4377 echo "${ECHO_T}$STRIP" >&6
4378 else
4379 echo "$as_me:$LINENO: result: no" >&5
4380 echo "${ECHO_T}no" >&6
4384 if test -z "$ac_cv_prog_STRIP"; then
4385 ac_ct_STRIP=$STRIP
4386 # Extract the first word of "strip", so it can be a program name with args.
4387 set dummy strip; ac_word=$2
4388 echo "$as_me:$LINENO: checking for $ac_word" >&5
4389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4390 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393 if test -n "$ac_ct_STRIP"; then
4394 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4395 else
4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 for as_dir in $PATH
4399 IFS=$as_save_IFS
4400 test -z "$as_dir" && as_dir=.
4401 for ac_exec_ext in '' $ac_executable_extensions; do
4402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4403 ac_cv_prog_ac_ct_STRIP="strip"
4404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 break 2
4407 done
4408 done
4410 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4413 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4414 if test -n "$ac_ct_STRIP"; then
4415 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4416 echo "${ECHO_T}$ac_ct_STRIP" >&6
4417 else
4418 echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4422 STRIP=$ac_ct_STRIP
4423 else
4424 STRIP="$ac_cv_prog_STRIP"
4428 # Check for any special flags to pass to ltconfig.
4429 libtool_flags="--cache-file=$cache_file"
4430 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4431 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4432 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4433 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4434 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4437 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4438 if test "${enable_libtool_lock+set}" = set; then
4439 enableval="$enable_libtool_lock"
4442 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4443 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4446 # Check whether --with-pic or --without-pic was given.
4447 if test "${with_pic+set}" = set; then
4448 withval="$with_pic"
4449 pic_mode="$withval"
4450 else
4451 pic_mode=default
4453 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4454 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4456 # Some flags need to be propagated to the compiler or linker for good
4457 # libtool support.
4458 case $host in
4459 *-*-irix6*)
4460 # Find out which ABI we are using.
4461 echo '#line 4461 "configure"' > conftest.$ac_ext
4462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4463 (eval $ac_compile) 2>&5
4464 ac_status=$?
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; then
4467 if test "$lt_cv_prog_gnu_ld" = yes; then
4468 case `/usr/bin/file conftest.$ac_objext` in
4469 *32-bit*)
4470 LD="${LD-ld} -melf32bsmip"
4472 *N32*)
4473 LD="${LD-ld} -melf32bmipn32"
4475 *64-bit*)
4476 LD="${LD-ld} -melf64bmip"
4478 esac
4479 else
4480 case `/usr/bin/file conftest.$ac_objext` in
4481 *32-bit*)
4482 LD="${LD-ld} -32"
4484 *N32*)
4485 LD="${LD-ld} -n32"
4487 *64-bit*)
4488 LD="${LD-ld} -64"
4490 esac
4493 rm -rf conftest*
4496 ia64-*-hpux*)
4497 # Find out which ABI we are using.
4498 echo 'int i;' > conftest.$ac_ext
4499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4500 (eval $ac_compile) 2>&5
4501 ac_status=$?
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; then
4504 case "`/usr/bin/file conftest.o`" in
4505 *ELF-32*)
4506 HPUX_IA64_MODE="32"
4508 *ELF-64*)
4509 HPUX_IA64_MODE="64"
4511 esac
4513 rm -rf conftest*
4516 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4517 # Find out which ABI we are using.
4518 echo 'int i;' > conftest.$ac_ext
4519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4520 (eval $ac_compile) 2>&5
4521 ac_status=$?
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); }; then
4524 case "`/usr/bin/file conftest.o`" in
4525 *32-bit*)
4526 case $host in
4527 x86_64-*linux*)
4528 LD="${LD-ld} -m elf_i386"
4530 ppc64-*linux*|powerpc64-*linux*)
4531 LD="${LD-ld} -m elf32ppclinux"
4533 s390x-*linux*)
4534 LD="${LD-ld} -m elf_s390"
4536 sparc64-*linux*)
4537 LD="${LD-ld} -m elf32_sparc"
4539 esac
4541 *64-bit*)
4542 case $host in
4543 x86_64-*linux*)
4544 LD="${LD-ld} -m elf_x86_64"
4546 ppc*-*linux*|powerpc*-*linux*)
4547 LD="${LD-ld} -m elf64ppc"
4549 s390*-*linux*)
4550 LD="${LD-ld} -m elf64_s390"
4552 sparc*-*linux*)
4553 LD="${LD-ld} -m elf64_sparc"
4555 esac
4557 esac
4559 rm -rf conftest*
4562 *-*-sco3.2v5*)
4563 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4564 SAVE_CFLAGS="$CFLAGS"
4565 CFLAGS="$CFLAGS -belf"
4566 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4567 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4568 if test "${lt_cv_cc_needs_belf+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4570 else
4573 ac_ext=c
4574 ac_cpp='$CPP $CPPFLAGS'
4575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4579 if test x$gcc_no_link = xyes; then
4580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4582 { (exit 1); exit 1; }; }
4584 cat >conftest.$ac_ext <<_ACEOF
4585 /* confdefs.h. */
4586 _ACEOF
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4592 main ()
4596 return 0;
4598 _ACEOF
4599 rm -f conftest.$ac_objext conftest$ac_exeext
4600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4601 (eval $ac_link) 2>conftest.er1
4602 ac_status=$?
4603 grep -v '^ *+' conftest.er1 >conftest.err
4604 rm -f conftest.er1
4605 cat conftest.err >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } &&
4608 { ac_try='test -z "$ac_c_werror_flag"
4609 || test ! -s conftest.err'
4610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611 (eval $ac_try) 2>&5
4612 ac_status=$?
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); }; } &&
4615 { ac_try='test -s conftest$ac_exeext'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 (eval $ac_try) 2>&5
4618 ac_status=$?
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; }; then
4621 lt_cv_cc_needs_belf=yes
4622 else
4623 echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.$ac_ext >&5
4626 lt_cv_cc_needs_belf=no
4628 rm -f conftest.err conftest.$ac_objext \
4629 conftest$ac_exeext conftest.$ac_ext
4630 ac_ext=c
4631 ac_cpp='$CPP $CPPFLAGS'
4632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4637 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4638 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4639 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4640 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4641 CFLAGS="$SAVE_CFLAGS"
4646 esac
4649 # Save cache, so that ltconfig can load it
4650 cat >confcache <<\_ACEOF
4651 # This file is a shell script that caches the results of configure
4652 # tests run on this system so they can be shared between configure
4653 # scripts and configure runs, see configure's option --config-cache.
4654 # It is not useful on other systems. If it contains results you don't
4655 # want to keep, you may remove or edit it.
4657 # config.status only pays attention to the cache file if you give it
4658 # the --recheck option to rerun configure.
4660 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4661 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4662 # following values.
4664 _ACEOF
4666 # The following way of writing the cache mishandles newlines in values,
4667 # but we know of no workaround that is simple, portable, and efficient.
4668 # So, don't put newlines in cache variables' values.
4669 # Ultrix sh set writes to stderr and can't be redirected directly,
4670 # and sets the high bit in the cache file unless we assign to the vars.
4672 (set) 2>&1 |
4673 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4674 *ac_space=\ *)
4675 # `set' does not quote correctly, so add quotes (double-quote
4676 # substitution turns \\\\ into \\, and sed turns \\ into \).
4677 sed -n \
4678 "s/'/'\\\\''/g;
4679 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4682 # `set' quotes correctly as required by POSIX, so do not add quotes.
4683 sed -n \
4684 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4686 esac;
4688 sed '
4689 t clear
4690 : clear
4691 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4692 t end
4693 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4694 : end' >>confcache
4695 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4696 if test -w $cache_file; then
4697 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4698 cat confcache >$cache_file
4699 else
4700 echo "not updating unwritable cache $cache_file"
4703 rm -f confcache
4705 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4706 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4707 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4708 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4709 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4710 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4711 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4712 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4713 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4714 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4715 echo "$as_me: error: libtool configure failed" >&2;}
4716 { (exit 1); exit 1; }; }
4718 # Reload cache, that may have been modified by ltconfig
4719 if test -r "$cache_file"; then
4720 # Some versions of bash will fail to source /dev/null (special
4721 # files actually), so we avoid doing that.
4722 if test -f "$cache_file"; then
4723 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4724 echo "$as_me: loading cache $cache_file" >&6;}
4725 case $cache_file in
4726 [\\/]* | ?:[\\/]* ) . $cache_file;;
4727 *) . ./$cache_file;;
4728 esac
4730 else
4731 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4732 echo "$as_me: creating cache $cache_file" >&6;}
4733 >$cache_file
4737 # This can be used to rebuild libtool when needed
4738 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4740 # Always use our own libtool.
4741 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4743 # Redirect the config.log output again, so that the ltconfig log is not
4744 # clobbered by the next message.
4745 exec 5>>./config.log
4747 ac_ext=cc
4748 ac_cpp='$CXXCPP $CPPFLAGS'
4749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4752 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4753 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4754 if test -z "$CXXCPP"; then
4755 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4756 echo $ECHO_N "(cached) $ECHO_C" >&6
4757 else
4758 # Double quotes because CXXCPP needs to be expanded
4759 for CXXCPP in "$CXX -E" "/lib/cpp"
4761 ac_preproc_ok=false
4762 for ac_cxx_preproc_warn_flag in '' yes
4764 # Use a header file that comes with gcc, so configuring glibc
4765 # with a fresh cross-compiler works.
4766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4767 # <limits.h> exists even on freestanding compilers.
4768 # On the NeXT, cc -E runs the code through the compiler's parser,
4769 # not just through cpp. "Syntax error" is here to catch this case.
4770 cat >conftest.$ac_ext <<_ACEOF
4771 /* confdefs.h. */
4772 _ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 #ifdef __STDC__
4777 # include <limits.h>
4778 #else
4779 # include <assert.h>
4780 #endif
4781 Syntax error
4782 _ACEOF
4783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4784 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4785 ac_status=$?
4786 grep -v '^ *+' conftest.er1 >conftest.err
4787 rm -f conftest.er1
4788 cat conftest.err >&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } >/dev/null; then
4791 if test -s conftest.err; then
4792 ac_cpp_err=$ac_cxx_preproc_warn_flag
4793 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4794 else
4795 ac_cpp_err=
4797 else
4798 ac_cpp_err=yes
4800 if test -z "$ac_cpp_err"; then
4802 else
4803 echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.$ac_ext >&5
4806 # Broken: fails on valid input.
4807 continue
4809 rm -f conftest.err conftest.$ac_ext
4811 # OK, works on sane cases. Now check whether non-existent headers
4812 # can be detected and how.
4813 cat >conftest.$ac_ext <<_ACEOF
4814 /* confdefs.h. */
4815 _ACEOF
4816 cat confdefs.h >>conftest.$ac_ext
4817 cat >>conftest.$ac_ext <<_ACEOF
4818 /* end confdefs.h. */
4819 #include <ac_nonexistent.h>
4820 _ACEOF
4821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4822 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } >/dev/null; then
4829 if test -s conftest.err; then
4830 ac_cpp_err=$ac_cxx_preproc_warn_flag
4831 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4832 else
4833 ac_cpp_err=
4835 else
4836 ac_cpp_err=yes
4838 if test -z "$ac_cpp_err"; then
4839 # Broken: success on invalid input.
4840 continue
4841 else
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 # Passes both tests.
4846 ac_preproc_ok=:
4847 break
4849 rm -f conftest.err conftest.$ac_ext
4851 done
4852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4853 rm -f conftest.err conftest.$ac_ext
4854 if $ac_preproc_ok; then
4855 break
4858 done
4859 ac_cv_prog_CXXCPP=$CXXCPP
4862 CXXCPP=$ac_cv_prog_CXXCPP
4863 else
4864 ac_cv_prog_CXXCPP=$CXXCPP
4866 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4867 echo "${ECHO_T}$CXXCPP" >&6
4868 ac_preproc_ok=false
4869 for ac_cxx_preproc_warn_flag in '' yes
4871 # Use a header file that comes with gcc, so configuring glibc
4872 # with a fresh cross-compiler works.
4873 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4874 # <limits.h> exists even on freestanding compilers.
4875 # On the NeXT, cc -E runs the code through the compiler's parser,
4876 # not just through cpp. "Syntax error" is here to catch this case.
4877 cat >conftest.$ac_ext <<_ACEOF
4878 /* confdefs.h. */
4879 _ACEOF
4880 cat confdefs.h >>conftest.$ac_ext
4881 cat >>conftest.$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4883 #ifdef __STDC__
4884 # include <limits.h>
4885 #else
4886 # include <assert.h>
4887 #endif
4888 Syntax error
4889 _ACEOF
4890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4892 ac_status=$?
4893 grep -v '^ *+' conftest.er1 >conftest.err
4894 rm -f conftest.er1
4895 cat conftest.err >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); } >/dev/null; then
4898 if test -s conftest.err; then
4899 ac_cpp_err=$ac_cxx_preproc_warn_flag
4900 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4901 else
4902 ac_cpp_err=
4904 else
4905 ac_cpp_err=yes
4907 if test -z "$ac_cpp_err"; then
4909 else
4910 echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.$ac_ext >&5
4913 # Broken: fails on valid input.
4914 continue
4916 rm -f conftest.err conftest.$ac_ext
4918 # OK, works on sane cases. Now check whether non-existent headers
4919 # can be detected and how.
4920 cat >conftest.$ac_ext <<_ACEOF
4921 /* confdefs.h. */
4922 _ACEOF
4923 cat confdefs.h >>conftest.$ac_ext
4924 cat >>conftest.$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4926 #include <ac_nonexistent.h>
4927 _ACEOF
4928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4930 ac_status=$?
4931 grep -v '^ *+' conftest.er1 >conftest.err
4932 rm -f conftest.er1
4933 cat conftest.err >&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } >/dev/null; then
4936 if test -s conftest.err; then
4937 ac_cpp_err=$ac_cxx_preproc_warn_flag
4938 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4939 else
4940 ac_cpp_err=
4942 else
4943 ac_cpp_err=yes
4945 if test -z "$ac_cpp_err"; then
4946 # Broken: success on invalid input.
4947 continue
4948 else
4949 echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.$ac_ext >&5
4952 # Passes both tests.
4953 ac_preproc_ok=:
4954 break
4956 rm -f conftest.err conftest.$ac_ext
4958 done
4959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4960 rm -f conftest.err conftest.$ac_ext
4961 if $ac_preproc_ok; then
4963 else
4964 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4965 See \`config.log' for more details." >&5
4966 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4967 See \`config.log' for more details." >&2;}
4968 { (exit 1); exit 1; }; }
4971 ac_ext=c
4972 ac_cpp='$CPP $CPPFLAGS'
4973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4979 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4980 lt_save_CC="$CC"
4981 lt_save_CFLAGS="$CFLAGS"
4982 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4983 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4984 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4985 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4986 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4987 deplibs_check_method="$deplibs_check_method" \
4988 file_magic_cmd="$file_magic_cmd" \
4989 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4990 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4991 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4992 echo "$as_me: error: libtool tag configuration failed" >&2;}
4993 { (exit 1); exit 1; }; }
4994 CC="$lt_save_CC"
4995 CFLAGS="$lt_save_CFLAGS"
4997 # Redirect the config.log output again, so that the ltconfig log is not
4998 # clobbered by the next message.
4999 exec 5>>./config.log
5009 # Possibly disable most of the library.
5010 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5011 ## than just ignoring the results. Faster /and/ more correct, win win.
5013 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5014 if test "${enable_hosted_libstdcxx+set}" = set; then
5015 enableval="$enable_hosted_libstdcxx"
5017 else
5018 case "$host" in
5019 arm*-*-symbianelf*)
5020 enable_hosted_libstdcxx=no
5023 enable_hosted_libstdcxx=yes
5025 esac
5027 if test "$enable_hosted_libstdcxx" = no; then
5028 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5029 echo "$as_me: Only freestanding libraries will be built" >&6;}
5030 is_hosted=no
5031 hosted_define=0
5032 enable_abi_check=no
5033 enable_libstdcxx_pch=no
5034 else
5035 is_hosted=yes
5036 hosted_define=1
5040 cat >>confdefs.h <<_ACEOF
5041 #define _GLIBCXX_HOSTED $hosted_define
5042 _ACEOF
5046 # Check for compiler support that doesn't require linking.
5048 echo "$as_me:$LINENO: checking for exception model to use" >&5
5049 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5052 ac_ext=cc
5053 ac_cpp='$CXXCPP $CPPFLAGS'
5054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5058 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5059 if test "${enable_sjlj_exceptions+set}" = set; then
5060 enableval="$enable_sjlj_exceptions"
5062 case "$enableval" in
5063 yes|no|auto) ;;
5064 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5065 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5066 { (exit 1); exit 1; }; } ;;
5067 esac
5069 else
5070 enable_sjlj_exceptions=auto
5074 if test $enable_sjlj_exceptions = auto; then
5075 # Botheration. Now we've got to detect the exception model. Link tests
5076 # against libgcc.a are problematic since we've not been given proper -L
5077 # bits for single-tree newlib and libgloss.
5079 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5080 cat > conftest.$ac_ext << EOF
5081 #line 5081 "configure"
5082 struct S { ~S(); };
5083 void bar();
5084 void foo()
5086 S s;
5087 bar();
5090 old_CXXFLAGS="$CXXFLAGS"
5091 CXXFLAGS=-S
5092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5093 (eval $ac_compile) 2>&5
5094 ac_status=$?
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); }; then
5097 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5098 enable_sjlj_exceptions=yes
5099 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5100 enable_sjlj_exceptions=no
5101 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5102 enable_sjlj_exceptions=no
5105 CXXFLAGS="$old_CXXFLAGS"
5106 rm -f conftest*
5109 # This is a tad weird, for hysterical raisins. We have to map
5110 # enable/disable to two different models.
5111 case $enable_sjlj_exceptions in
5112 yes)
5114 cat >>confdefs.h <<\_ACEOF
5115 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5116 _ACEOF
5118 ac_exception_model_name=sjlj
5121 ac_exception_model_name="call frame"
5124 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5125 echo "$as_me: error: unable to detect exception model" >&2;}
5126 { (exit 1); exit 1; }; }
5128 esac
5129 ac_ext=c
5130 ac_cpp='$CPP $CPPFLAGS'
5131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5135 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5136 echo "${ECHO_T}$ac_exception_model_name" >&6
5139 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5140 if test "${enable_libstdcxx_pch+set}" = set; then
5141 enableval="$enable_libstdcxx_pch"
5143 case "$enableval" in
5144 yes|no) ;;
5145 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5146 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5147 { (exit 1); exit 1; }; } ;;
5148 esac
5150 else
5151 enable_libstdcxx_pch=$is_hosted
5154 if test $enable_libstdcxx_pch = yes; then
5155 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5156 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5157 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5158 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 else
5160 ac_save_CXXFLAGS="$CXXFLAGS"
5161 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5164 ac_ext=cc
5165 ac_cpp='$CXXCPP $CPPFLAGS'
5166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5170 echo '#include <math.h>' > conftest.h
5171 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5172 -o conftest.h.gch 1>&5 2>&1 &&
5173 echo '#error "pch failed"' > conftest.h &&
5174 echo '#include "conftest.h"' > conftest.cc &&
5175 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5176 then
5177 glibcxx_cv_prog_CXX_pch=yes
5178 else
5179 glibcxx_cv_prog_CXX_pch=no
5181 rm -f conftest*
5182 CXXFLAGS=$ac_save_CXXFLAGS
5183 ac_ext=c
5184 ac_cpp='$CPP $CPPFLAGS'
5185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5191 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5192 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5193 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5196 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5197 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5198 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5199 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5202 if test $enable_libstdcxx_pch = yes; then
5203 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5204 else
5205 glibcxx_PCHFLAGS=""
5210 # Enable all the variable C++ runtime options.
5212 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5213 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5214 # Check whether --enable-cstdio or --disable-cstdio was given.
5215 if test "${enable_cstdio+set}" = set; then
5216 enableval="$enable_cstdio"
5218 case "$enableval" in
5219 stdio) ;;
5220 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5221 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5222 { (exit 1); exit 1; }; } ;;
5223 esac
5225 else
5226 enable_cstdio=stdio
5230 # Now that libio has been removed, you can have any color you want as long
5231 # as it's black. This is one big no-op until other packages are added, but
5232 # showing the framework never hurts.
5233 case ${enable_cstdio} in
5234 stdio)
5235 CSTDIO_H=config/io/c_io_stdio.h
5236 BASIC_FILE_H=config/io/basic_file_stdio.h
5237 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5238 echo "$as_me:$LINENO: result: stdio" >&5
5239 echo "${ECHO_T}stdio" >&6
5241 esac
5247 ac_ext=c
5248 ac_cpp='$CPP $CPPFLAGS'
5249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5252 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5253 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5254 # On Suns, sometimes $CPP names a directory.
5255 if test -n "$CPP" && test -d "$CPP"; then
5256 CPP=
5258 if test -z "$CPP"; then
5259 if test "${ac_cv_prog_CPP+set}" = set; then
5260 echo $ECHO_N "(cached) $ECHO_C" >&6
5261 else
5262 # Double quotes because CPP needs to be expanded
5263 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5265 ac_preproc_ok=false
5266 for ac_c_preproc_warn_flag in '' yes
5268 # Use a header file that comes with gcc, so configuring glibc
5269 # with a fresh cross-compiler works.
5270 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5271 # <limits.h> exists even on freestanding compilers.
5272 # On the NeXT, cc -E runs the code through the compiler's parser,
5273 # not just through cpp. "Syntax error" is here to catch this case.
5274 cat >conftest.$ac_ext <<_ACEOF
5275 /* confdefs.h. */
5276 _ACEOF
5277 cat confdefs.h >>conftest.$ac_ext
5278 cat >>conftest.$ac_ext <<_ACEOF
5279 /* end confdefs.h. */
5280 #ifdef __STDC__
5281 # include <limits.h>
5282 #else
5283 # include <assert.h>
5284 #endif
5285 Syntax error
5286 _ACEOF
5287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5288 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5289 ac_status=$?
5290 grep -v '^ *+' conftest.er1 >conftest.err
5291 rm -f conftest.er1
5292 cat conftest.err >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); } >/dev/null; then
5295 if test -s conftest.err; then
5296 ac_cpp_err=$ac_c_preproc_warn_flag
5297 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5298 else
5299 ac_cpp_err=
5301 else
5302 ac_cpp_err=yes
5304 if test -z "$ac_cpp_err"; then
5306 else
5307 echo "$as_me: failed program was:" >&5
5308 sed 's/^/| /' conftest.$ac_ext >&5
5310 # Broken: fails on valid input.
5311 continue
5313 rm -f conftest.err conftest.$ac_ext
5315 # OK, works on sane cases. Now check whether non-existent headers
5316 # can be detected and how.
5317 cat >conftest.$ac_ext <<_ACEOF
5318 /* confdefs.h. */
5319 _ACEOF
5320 cat confdefs.h >>conftest.$ac_ext
5321 cat >>conftest.$ac_ext <<_ACEOF
5322 /* end confdefs.h. */
5323 #include <ac_nonexistent.h>
5324 _ACEOF
5325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5327 ac_status=$?
5328 grep -v '^ *+' conftest.er1 >conftest.err
5329 rm -f conftest.er1
5330 cat conftest.err >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } >/dev/null; then
5333 if test -s conftest.err; then
5334 ac_cpp_err=$ac_c_preproc_warn_flag
5335 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5336 else
5337 ac_cpp_err=
5339 else
5340 ac_cpp_err=yes
5342 if test -z "$ac_cpp_err"; then
5343 # Broken: success on invalid input.
5344 continue
5345 else
5346 echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.$ac_ext >&5
5349 # Passes both tests.
5350 ac_preproc_ok=:
5351 break
5353 rm -f conftest.err conftest.$ac_ext
5355 done
5356 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5357 rm -f conftest.err conftest.$ac_ext
5358 if $ac_preproc_ok; then
5359 break
5362 done
5363 ac_cv_prog_CPP=$CPP
5366 CPP=$ac_cv_prog_CPP
5367 else
5368 ac_cv_prog_CPP=$CPP
5370 echo "$as_me:$LINENO: result: $CPP" >&5
5371 echo "${ECHO_T}$CPP" >&6
5372 ac_preproc_ok=false
5373 for ac_c_preproc_warn_flag in '' yes
5375 # Use a header file that comes with gcc, so configuring glibc
5376 # with a fresh cross-compiler works.
5377 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5378 # <limits.h> exists even on freestanding compilers.
5379 # On the NeXT, cc -E runs the code through the compiler's parser,
5380 # not just through cpp. "Syntax error" is here to catch this case.
5381 cat >conftest.$ac_ext <<_ACEOF
5382 /* confdefs.h. */
5383 _ACEOF
5384 cat confdefs.h >>conftest.$ac_ext
5385 cat >>conftest.$ac_ext <<_ACEOF
5386 /* end confdefs.h. */
5387 #ifdef __STDC__
5388 # include <limits.h>
5389 #else
5390 # include <assert.h>
5391 #endif
5392 Syntax error
5393 _ACEOF
5394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5395 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5396 ac_status=$?
5397 grep -v '^ *+' conftest.er1 >conftest.err
5398 rm -f conftest.er1
5399 cat conftest.err >&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); } >/dev/null; then
5402 if test -s conftest.err; then
5403 ac_cpp_err=$ac_c_preproc_warn_flag
5404 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5405 else
5406 ac_cpp_err=
5408 else
5409 ac_cpp_err=yes
5411 if test -z "$ac_cpp_err"; then
5413 else
5414 echo "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.$ac_ext >&5
5417 # Broken: fails on valid input.
5418 continue
5420 rm -f conftest.err conftest.$ac_ext
5422 # OK, works on sane cases. Now check whether non-existent headers
5423 # can be detected and how.
5424 cat >conftest.$ac_ext <<_ACEOF
5425 /* confdefs.h. */
5426 _ACEOF
5427 cat confdefs.h >>conftest.$ac_ext
5428 cat >>conftest.$ac_ext <<_ACEOF
5429 /* end confdefs.h. */
5430 #include <ac_nonexistent.h>
5431 _ACEOF
5432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5434 ac_status=$?
5435 grep -v '^ *+' conftest.er1 >conftest.err
5436 rm -f conftest.er1
5437 cat conftest.err >&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } >/dev/null; then
5440 if test -s conftest.err; then
5441 ac_cpp_err=$ac_c_preproc_warn_flag
5442 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5443 else
5444 ac_cpp_err=
5446 else
5447 ac_cpp_err=yes
5449 if test -z "$ac_cpp_err"; then
5450 # Broken: success on invalid input.
5451 continue
5452 else
5453 echo "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.$ac_ext >&5
5456 # Passes both tests.
5457 ac_preproc_ok=:
5458 break
5460 rm -f conftest.err conftest.$ac_ext
5462 done
5463 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5464 rm -f conftest.err conftest.$ac_ext
5465 if $ac_preproc_ok; then
5467 else
5468 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5469 See \`config.log' for more details." >&5
5470 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5471 See \`config.log' for more details." >&2;}
5472 { (exit 1); exit 1; }; }
5475 ac_ext=c
5476 ac_cpp='$CPP $CPPFLAGS'
5477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5482 echo "$as_me:$LINENO: checking for egrep" >&5
5483 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5484 if test "${ac_cv_prog_egrep+set}" = set; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 else
5487 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5488 then ac_cv_prog_egrep='grep -E'
5489 else ac_cv_prog_egrep='egrep'
5492 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5493 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5494 EGREP=$ac_cv_prog_egrep
5497 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5498 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5499 if test "${ac_cv_header_stdc+set}" = set; then
5500 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 else
5502 cat >conftest.$ac_ext <<_ACEOF
5503 /* confdefs.h. */
5504 _ACEOF
5505 cat confdefs.h >>conftest.$ac_ext
5506 cat >>conftest.$ac_ext <<_ACEOF
5507 /* end confdefs.h. */
5508 #include <stdlib.h>
5509 #include <stdarg.h>
5510 #include <string.h>
5511 #include <float.h>
5514 main ()
5518 return 0;
5520 _ACEOF
5521 rm -f conftest.$ac_objext
5522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5523 (eval $ac_compile) 2>conftest.er1
5524 ac_status=$?
5525 grep -v '^ *+' conftest.er1 >conftest.err
5526 rm -f conftest.er1
5527 cat conftest.err >&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); } &&
5530 { ac_try='test -z "$ac_c_werror_flag"
5531 || test ! -s conftest.err'
5532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5533 (eval $ac_try) 2>&5
5534 ac_status=$?
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); }; } &&
5537 { ac_try='test -s conftest.$ac_objext'
5538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5539 (eval $ac_try) 2>&5
5540 ac_status=$?
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); }; }; then
5543 ac_cv_header_stdc=yes
5544 else
5545 echo "$as_me: failed program was:" >&5
5546 sed 's/^/| /' conftest.$ac_ext >&5
5548 ac_cv_header_stdc=no
5550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5552 if test $ac_cv_header_stdc = yes; then
5553 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5554 cat >conftest.$ac_ext <<_ACEOF
5555 /* confdefs.h. */
5556 _ACEOF
5557 cat confdefs.h >>conftest.$ac_ext
5558 cat >>conftest.$ac_ext <<_ACEOF
5559 /* end confdefs.h. */
5560 #include <string.h>
5562 _ACEOF
5563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5564 $EGREP "memchr" >/dev/null 2>&1; then
5566 else
5567 ac_cv_header_stdc=no
5569 rm -f conftest*
5573 if test $ac_cv_header_stdc = yes; then
5574 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5575 cat >conftest.$ac_ext <<_ACEOF
5576 /* confdefs.h. */
5577 _ACEOF
5578 cat confdefs.h >>conftest.$ac_ext
5579 cat >>conftest.$ac_ext <<_ACEOF
5580 /* end confdefs.h. */
5581 #include <stdlib.h>
5583 _ACEOF
5584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5585 $EGREP "free" >/dev/null 2>&1; then
5587 else
5588 ac_cv_header_stdc=no
5590 rm -f conftest*
5594 if test $ac_cv_header_stdc = yes; then
5595 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5596 if test "$cross_compiling" = yes; then
5598 else
5599 cat >conftest.$ac_ext <<_ACEOF
5600 /* confdefs.h. */
5601 _ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5605 #include <ctype.h>
5606 #if ((' ' & 0x0FF) == 0x020)
5607 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5608 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5609 #else
5610 # define ISLOWER(c) \
5611 (('a' <= (c) && (c) <= 'i') \
5612 || ('j' <= (c) && (c) <= 'r') \
5613 || ('s' <= (c) && (c) <= 'z'))
5614 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5615 #endif
5617 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5619 main ()
5621 int i;
5622 for (i = 0; i < 256; i++)
5623 if (XOR (islower (i), ISLOWER (i))
5624 || toupper (i) != TOUPPER (i))
5625 exit(2);
5626 exit (0);
5628 _ACEOF
5629 rm -f conftest$ac_exeext
5630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5631 (eval $ac_link) 2>&5
5632 ac_status=$?
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636 (eval $ac_try) 2>&5
5637 ac_status=$?
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); }; }; then
5641 else
5642 echo "$as_me: program exited with status $ac_status" >&5
5643 echo "$as_me: failed program was:" >&5
5644 sed 's/^/| /' conftest.$ac_ext >&5
5646 ( exit $ac_status )
5647 ac_cv_header_stdc=no
5649 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5653 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5654 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5655 if test $ac_cv_header_stdc = yes; then
5657 cat >>confdefs.h <<\_ACEOF
5658 #define STDC_HEADERS 1
5659 _ACEOF
5663 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5673 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5674 inttypes.h stdint.h unistd.h
5676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5677 echo "$as_me:$LINENO: checking for $ac_header" >&5
5678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5680 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 else
5682 cat >conftest.$ac_ext <<_ACEOF
5683 /* confdefs.h. */
5684 _ACEOF
5685 cat confdefs.h >>conftest.$ac_ext
5686 cat >>conftest.$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5688 $ac_includes_default
5690 #include <$ac_header>
5691 _ACEOF
5692 rm -f conftest.$ac_objext
5693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5694 (eval $ac_compile) 2>conftest.er1
5695 ac_status=$?
5696 grep -v '^ *+' conftest.er1 >conftest.err
5697 rm -f conftest.er1
5698 cat conftest.err >&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); } &&
5701 { ac_try='test -z "$ac_c_werror_flag"
5702 || test ! -s conftest.err'
5703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5704 (eval $ac_try) 2>&5
5705 ac_status=$?
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; } &&
5708 { ac_try='test -s conftest.$ac_objext'
5709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5710 (eval $ac_try) 2>&5
5711 ac_status=$?
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); }; }; then
5714 eval "$as_ac_Header=yes"
5715 else
5716 echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.$ac_ext >&5
5719 eval "$as_ac_Header=no"
5721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5726 cat >>confdefs.h <<_ACEOF
5727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5728 _ACEOF
5732 done
5736 echo "$as_me:$LINENO: checking for C locale to use" >&5
5737 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5738 # Check whether --enable-clocale or --disable-clocale was given.
5739 if test "${enable_clocale+set}" = set; then
5740 enableval="$enable_clocale"
5742 case "$enableval" in
5743 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5744 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5745 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5746 { (exit 1); exit 1; }; } ;;
5747 esac
5749 else
5750 enable_clocale=auto
5754 # If they didn't use this option switch, or if they specified --enable
5755 # with no specific model, we'll have to look for one. If they
5756 # specified --disable (???), do likewise.
5757 if test $enable_clocale = no || test $enable_clocale = yes; then
5758 enable_clocale=auto
5761 # Either a known package, or "auto"
5762 enable_clocale_flag=$enable_clocale
5764 # Probe for locale support if no specific model is specified.
5765 # Default to "generic".
5766 if test $enable_clocale_flag = auto; then
5767 case ${target_os} in
5768 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5769 cat >conftest.$ac_ext <<_ACEOF
5770 /* confdefs.h. */
5771 _ACEOF
5772 cat confdefs.h >>conftest.$ac_ext
5773 cat >>conftest.$ac_ext <<_ACEOF
5774 /* end confdefs.h. */
5776 #include <features.h>
5777 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5778 _GLIBCXX_ok
5779 #endif
5781 _ACEOF
5782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5783 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5784 enable_clocale_flag=gnu
5785 else
5786 enable_clocale_flag=generic
5788 rm -f conftest*
5791 # Test for bugs early in glibc-2.2.x series
5792 if test $enable_clocale_flag = gnu; then
5793 if test "$cross_compiling" = yes; then
5794 enable_clocale_flag=generic
5795 else
5796 cat >conftest.$ac_ext <<_ACEOF
5797 /* confdefs.h. */
5798 _ACEOF
5799 cat confdefs.h >>conftest.$ac_ext
5800 cat >>conftest.$ac_ext <<_ACEOF
5801 /* end confdefs.h. */
5803 #define _GNU_SOURCE 1
5804 #include <locale.h>
5805 #include <string.h>
5806 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5807 extern __typeof(newlocale) __newlocale;
5808 extern __typeof(duplocale) __duplocale;
5809 extern __typeof(strcoll_l) __strcoll_l;
5810 #endif
5811 int main()
5813 const char __one[] = "Äuglein Augmen";
5814 const char __two[] = "Äuglein";
5815 int i;
5816 int j;
5817 __locale_t loc;
5818 __locale_t loc_dup;
5819 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5820 loc_dup = __duplocale(loc);
5821 i = __strcoll_l(__one, __two, loc);
5822 j = __strcoll_l(__one, __two, loc_dup);
5823 return 0;
5826 _ACEOF
5827 rm -f conftest$ac_exeext
5828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5829 (eval $ac_link) 2>&5
5830 ac_status=$?
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834 (eval $ac_try) 2>&5
5835 ac_status=$?
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); }; }; then
5838 enable_clocale_flag=gnu
5839 else
5840 echo "$as_me: program exited with status $ac_status" >&5
5841 echo "$as_me: failed program was:" >&5
5842 sed 's/^/| /' conftest.$ac_ext >&5
5844 ( exit $ac_status )
5845 enable_clocale_flag=generic
5847 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5851 # ... at some point put __strxfrm_l tests in as well.
5853 darwin* | freebsd*)
5854 enable_clocale_flag=darwin
5857 enable_clocale_flag=generic
5859 esac
5862 # Deal with gettext issues. Default to not using it (=no) until we detect
5863 # support for it later. Let the user turn it off via --e/d, but let that
5864 # default to on for easier handling.
5865 USE_NLS=no
5866 # Check whether --enable-nls or --disable-nls was given.
5867 if test "${enable_nls+set}" = set; then
5868 enableval="$enable_nls"
5870 else
5871 enable_nls=yes
5874 # Set configure bits for specified locale package
5875 case ${enable_clocale_flag} in
5876 generic)
5877 echo "$as_me:$LINENO: result: generic" >&5
5878 echo "${ECHO_T}generic" >&6
5880 CLOCALE_H=config/locale/generic/c_locale.h
5881 CLOCALE_CC=config/locale/generic/c_locale.cc
5882 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5883 CCOLLATE_CC=config/locale/generic/collate_members.cc
5884 CCTYPE_CC=config/locale/generic/ctype_members.cc
5885 CMESSAGES_H=config/locale/generic/messages_members.h
5886 CMESSAGES_CC=config/locale/generic/messages_members.cc
5887 CMONEY_CC=config/locale/generic/monetary_members.cc
5888 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5889 CTIME_H=config/locale/generic/time_members.h
5890 CTIME_CC=config/locale/generic/time_members.cc
5891 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5893 darwin)
5894 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5895 echo "${ECHO_T}darwin or freebsd" >&6
5897 CLOCALE_H=config/locale/generic/c_locale.h
5898 CLOCALE_CC=config/locale/generic/c_locale.cc
5899 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5900 CCOLLATE_CC=config/locale/generic/collate_members.cc
5901 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5902 CMESSAGES_H=config/locale/generic/messages_members.h
5903 CMESSAGES_CC=config/locale/generic/messages_members.cc
5904 CMONEY_CC=config/locale/generic/monetary_members.cc
5905 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5906 CTIME_H=config/locale/generic/time_members.h
5907 CTIME_CC=config/locale/generic/time_members.cc
5908 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5911 gnu)
5912 echo "$as_me:$LINENO: result: gnu" >&5
5913 echo "${ECHO_T}gnu" >&6
5915 # Declare intention to use gettext, and add support for specific
5916 # languages.
5917 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5918 ALL_LINGUAS="de fr"
5920 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5921 # Extract the first word of "msgfmt", so it can be a program name with args.
5922 set dummy msgfmt; ac_word=$2
5923 echo "$as_me:$LINENO: checking for $ac_word" >&5
5924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5925 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928 if test -n "$check_msgfmt"; then
5929 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5930 else
5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 for as_dir in $PATH
5934 IFS=$as_save_IFS
5935 test -z "$as_dir" && as_dir=.
5936 for ac_exec_ext in '' $ac_executable_extensions; do
5937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5938 ac_cv_prog_check_msgfmt="yes"
5939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 break 2
5942 done
5943 done
5945 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5948 check_msgfmt=$ac_cv_prog_check_msgfmt
5949 if test -n "$check_msgfmt"; then
5950 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5951 echo "${ECHO_T}$check_msgfmt" >&6
5952 else
5953 echo "$as_me:$LINENO: result: no" >&5
5954 echo "${ECHO_T}no" >&6
5957 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5958 USE_NLS=yes
5960 # Export the build objects.
5961 for ling in $ALL_LINGUAS; do \
5962 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5963 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5964 done
5968 CLOCALE_H=config/locale/gnu/c_locale.h
5969 CLOCALE_CC=config/locale/gnu/c_locale.cc
5970 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5971 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5972 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5973 CMESSAGES_H=config/locale/gnu/messages_members.h
5974 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5975 CMONEY_CC=config/locale/gnu/monetary_members.cc
5976 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5977 CTIME_H=config/locale/gnu/time_members.h
5978 CTIME_CC=config/locale/gnu/time_members.cc
5979 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5981 ieee_1003.1-2001)
5982 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5983 echo "${ECHO_T}IEEE 1003.1" >&6
5985 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5986 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5987 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5988 CCOLLATE_CC=config/locale/generic/collate_members.cc
5989 CCTYPE_CC=config/locale/generic/ctype_members.cc
5990 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5991 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5992 CMONEY_CC=config/locale/generic/monetary_members.cc
5993 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5994 CTIME_H=config/locale/generic/time_members.h
5995 CTIME_CC=config/locale/generic/time_members.cc
5996 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5998 esac
6000 # This is where the testsuite looks for locale catalogs, using the
6001 # -DLOCALEDIR define during testsuite compilation.
6002 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6005 # A standalone libintl (e.g., GNU libintl) may be in use.
6006 if test $USE_NLS = yes; then
6008 for ac_header in libintl.h
6010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6012 echo "$as_me:$LINENO: checking for $ac_header" >&5
6013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6015 echo $ECHO_N "(cached) $ECHO_C" >&6
6017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6019 else
6020 # Is the header compilable?
6021 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6023 cat >conftest.$ac_ext <<_ACEOF
6024 /* confdefs.h. */
6025 _ACEOF
6026 cat confdefs.h >>conftest.$ac_ext
6027 cat >>conftest.$ac_ext <<_ACEOF
6028 /* end confdefs.h. */
6029 $ac_includes_default
6030 #include <$ac_header>
6031 _ACEOF
6032 rm -f conftest.$ac_objext
6033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6034 (eval $ac_compile) 2>conftest.er1
6035 ac_status=$?
6036 grep -v '^ *+' conftest.er1 >conftest.err
6037 rm -f conftest.er1
6038 cat conftest.err >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); } &&
6041 { ac_try='test -z "$ac_c_werror_flag"
6042 || test ! -s conftest.err'
6043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044 (eval $ac_try) 2>&5
6045 ac_status=$?
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); }; } &&
6048 { ac_try='test -s conftest.$ac_objext'
6049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 (eval $ac_try) 2>&5
6051 ac_status=$?
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); }; }; then
6054 ac_header_compiler=yes
6055 else
6056 echo "$as_me: failed program was:" >&5
6057 sed 's/^/| /' conftest.$ac_ext >&5
6059 ac_header_compiler=no
6061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6063 echo "${ECHO_T}$ac_header_compiler" >&6
6065 # Is the header present?
6066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6068 cat >conftest.$ac_ext <<_ACEOF
6069 /* confdefs.h. */
6070 _ACEOF
6071 cat confdefs.h >>conftest.$ac_ext
6072 cat >>conftest.$ac_ext <<_ACEOF
6073 /* end confdefs.h. */
6074 #include <$ac_header>
6075 _ACEOF
6076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6078 ac_status=$?
6079 grep -v '^ *+' conftest.er1 >conftest.err
6080 rm -f conftest.er1
6081 cat conftest.err >&5
6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); } >/dev/null; then
6084 if test -s conftest.err; then
6085 ac_cpp_err=$ac_c_preproc_warn_flag
6086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6087 else
6088 ac_cpp_err=
6090 else
6091 ac_cpp_err=yes
6093 if test -z "$ac_cpp_err"; then
6094 ac_header_preproc=yes
6095 else
6096 echo "$as_me: failed program was:" >&5
6097 sed 's/^/| /' conftest.$ac_ext >&5
6099 ac_header_preproc=no
6101 rm -f conftest.err conftest.$ac_ext
6102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6103 echo "${ECHO_T}$ac_header_preproc" >&6
6105 # So? What about this header?
6106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6107 yes:no: )
6108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6112 ac_header_preproc=yes
6114 no:yes:* )
6115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6119 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6121 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6122 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6125 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6128 cat <<\_ASBOX
6129 ## ----------------------------------------- ##
6130 ## Report this to the package-unused lists. ##
6131 ## ----------------------------------------- ##
6132 _ASBOX
6134 sed "s/^/$as_me: WARNING: /" >&2
6136 esac
6137 echo "$as_me:$LINENO: checking for $ac_header" >&5
6138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 else
6142 eval "$as_ac_Header=\$ac_header_preproc"
6144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6149 cat >>confdefs.h <<_ACEOF
6150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6151 _ACEOF
6153 else
6154 USE_NLS=no
6157 done
6159 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6160 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6161 if test "${ac_cv_search_gettext+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6163 else
6164 ac_func_search_save_LIBS=$LIBS
6165 ac_cv_search_gettext=no
6166 if test x$gcc_no_link = xyes; then
6167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6169 { (exit 1); exit 1; }; }
6171 cat >conftest.$ac_ext <<_ACEOF
6172 /* confdefs.h. */
6173 _ACEOF
6174 cat confdefs.h >>conftest.$ac_ext
6175 cat >>conftest.$ac_ext <<_ACEOF
6176 /* end confdefs.h. */
6178 /* Override any gcc2 internal prototype to avoid an error. */
6179 #ifdef __cplusplus
6180 extern "C"
6181 #endif
6182 /* We use char because int might match the return type of a gcc2
6183 builtin and then its argument prototype would still apply. */
6184 char gettext ();
6186 main ()
6188 gettext ();
6190 return 0;
6192 _ACEOF
6193 rm -f conftest.$ac_objext conftest$ac_exeext
6194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6195 (eval $ac_link) 2>conftest.er1
6196 ac_status=$?
6197 grep -v '^ *+' conftest.er1 >conftest.err
6198 rm -f conftest.er1
6199 cat conftest.err >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); } &&
6202 { ac_try='test -z "$ac_c_werror_flag"
6203 || test ! -s conftest.err'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205 (eval $ac_try) 2>&5
6206 ac_status=$?
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; } &&
6209 { ac_try='test -s conftest$ac_exeext'
6210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6211 (eval $ac_try) 2>&5
6212 ac_status=$?
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); }; }; then
6215 ac_cv_search_gettext="none required"
6216 else
6217 echo "$as_me: failed program was:" >&5
6218 sed 's/^/| /' conftest.$ac_ext >&5
6221 rm -f conftest.err conftest.$ac_objext \
6222 conftest$ac_exeext conftest.$ac_ext
6223 if test "$ac_cv_search_gettext" = no; then
6224 for ac_lib in intl; do
6225 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6226 if test x$gcc_no_link = xyes; then
6227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6229 { (exit 1); exit 1; }; }
6231 cat >conftest.$ac_ext <<_ACEOF
6232 /* confdefs.h. */
6233 _ACEOF
6234 cat confdefs.h >>conftest.$ac_ext
6235 cat >>conftest.$ac_ext <<_ACEOF
6236 /* end confdefs.h. */
6238 /* Override any gcc2 internal prototype to avoid an error. */
6239 #ifdef __cplusplus
6240 extern "C"
6241 #endif
6242 /* We use char because int might match the return type of a gcc2
6243 builtin and then its argument prototype would still apply. */
6244 char gettext ();
6246 main ()
6248 gettext ();
6250 return 0;
6252 _ACEOF
6253 rm -f conftest.$ac_objext conftest$ac_exeext
6254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6255 (eval $ac_link) 2>conftest.er1
6256 ac_status=$?
6257 grep -v '^ *+' conftest.er1 >conftest.err
6258 rm -f conftest.er1
6259 cat conftest.err >&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); } &&
6262 { ac_try='test -z "$ac_c_werror_flag"
6263 || test ! -s conftest.err'
6264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265 (eval $ac_try) 2>&5
6266 ac_status=$?
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); }; } &&
6269 { ac_try='test -s conftest$ac_exeext'
6270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6271 (eval $ac_try) 2>&5
6272 ac_status=$?
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); }; }; then
6275 ac_cv_search_gettext="-l$ac_lib"
6276 break
6277 else
6278 echo "$as_me: failed program was:" >&5
6279 sed 's/^/| /' conftest.$ac_ext >&5
6282 rm -f conftest.err conftest.$ac_objext \
6283 conftest$ac_exeext conftest.$ac_ext
6284 done
6286 LIBS=$ac_func_search_save_LIBS
6288 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6289 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6290 if test "$ac_cv_search_gettext" != no; then
6291 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6293 else
6294 USE_NLS=no
6298 if test $USE_NLS = yes; then
6300 cat >>confdefs.h <<\_ACEOF
6301 #define _GLIBCXX_USE_NLS 1
6302 _ACEOF
6321 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6322 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6323 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6324 if test "${enable_libstdcxx_allocator+set}" = set; then
6325 enableval="$enable_libstdcxx_allocator"
6327 case "$enableval" in
6328 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6329 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6330 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6331 { (exit 1); exit 1; }; } ;;
6332 esac
6334 else
6335 enable_libstdcxx_allocator=auto
6339 # If they didn't use this option switch, or if they specified --enable
6340 # with no specific model, we'll have to look for one. If they
6341 # specified --disable (???), do likewise.
6342 if test $enable_libstdcxx_allocator = no ||
6343 test $enable_libstdcxx_allocator = yes;
6344 then
6345 enable_libstdcxx_allocator=auto
6348 # Either a known package, or "auto". Auto implies the default choice
6349 # for a particular platform.
6350 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6352 # Probe for host-specific support if no specific model is specified.
6353 # Default to "new".
6354 if test $enable_libstdcxx_allocator_flag = auto; then
6355 case ${target_os} in
6356 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6357 enable_libstdcxx_allocator_flag=new
6360 enable_libstdcxx_allocator_flag=new
6362 esac
6364 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6365 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6368 # Set configure bits for specified locale package
6369 case ${enable_libstdcxx_allocator_flag} in
6370 bitmap)
6371 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6372 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6374 malloc)
6375 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6376 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6379 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6380 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6382 new)
6383 ALLOCATOR_H=config/allocator/new_allocator_base.h
6384 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6386 pool)
6387 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6388 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6390 esac
6396 # Check whether --enable-cheaders or --disable-cheaders was given.
6397 if test "${enable_cheaders+set}" = set; then
6398 enableval="$enable_cheaders"
6400 case "$enableval" in
6401 c|c_std) ;;
6402 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6403 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6404 { (exit 1); exit 1; }; } ;;
6405 esac
6407 else
6408 enable_cheaders=$c_model
6411 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6412 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6414 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6423 # Check whether --enable-c99 or --disable-c99 was given.
6424 if test "${enable_c99+set}" = set; then
6425 enableval="$enable_c99"
6427 case "$enableval" in
6428 yes|no) ;;
6429 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6430 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6431 { (exit 1); exit 1; }; } ;;
6432 esac
6434 else
6435 enable_c99=yes
6439 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6440 # even if C99 support is turned off.
6442 for ac_header in wchar.h
6444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6446 echo "$as_me:$LINENO: checking for $ac_header" >&5
6447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6449 echo $ECHO_N "(cached) $ECHO_C" >&6
6451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6453 else
6454 # Is the header compilable?
6455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6457 cat >conftest.$ac_ext <<_ACEOF
6458 /* confdefs.h. */
6459 _ACEOF
6460 cat confdefs.h >>conftest.$ac_ext
6461 cat >>conftest.$ac_ext <<_ACEOF
6462 /* end confdefs.h. */
6463 $ac_includes_default
6464 #include <$ac_header>
6465 _ACEOF
6466 rm -f conftest.$ac_objext
6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6468 (eval $ac_compile) 2>conftest.er1
6469 ac_status=$?
6470 grep -v '^ *+' conftest.er1 >conftest.err
6471 rm -f conftest.er1
6472 cat conftest.err >&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); } &&
6475 { ac_try='test -z "$ac_c_werror_flag"
6476 || test ! -s conftest.err'
6477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6478 (eval $ac_try) 2>&5
6479 ac_status=$?
6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 (exit $ac_status); }; } &&
6482 { ac_try='test -s conftest.$ac_objext'
6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6484 (eval $ac_try) 2>&5
6485 ac_status=$?
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); }; }; then
6488 ac_header_compiler=yes
6489 else
6490 echo "$as_me: failed program was:" >&5
6491 sed 's/^/| /' conftest.$ac_ext >&5
6493 ac_header_compiler=no
6495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6497 echo "${ECHO_T}$ac_header_compiler" >&6
6499 # Is the header present?
6500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6502 cat >conftest.$ac_ext <<_ACEOF
6503 /* confdefs.h. */
6504 _ACEOF
6505 cat confdefs.h >>conftest.$ac_ext
6506 cat >>conftest.$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6508 #include <$ac_header>
6509 _ACEOF
6510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6512 ac_status=$?
6513 grep -v '^ *+' conftest.er1 >conftest.err
6514 rm -f conftest.er1
6515 cat conftest.err >&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); } >/dev/null; then
6518 if test -s conftest.err; then
6519 ac_cpp_err=$ac_c_preproc_warn_flag
6520 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6521 else
6522 ac_cpp_err=
6524 else
6525 ac_cpp_err=yes
6527 if test -z "$ac_cpp_err"; then
6528 ac_header_preproc=yes
6529 else
6530 echo "$as_me: failed program was:" >&5
6531 sed 's/^/| /' conftest.$ac_ext >&5
6533 ac_header_preproc=no
6535 rm -f conftest.err conftest.$ac_ext
6536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6537 echo "${ECHO_T}$ac_header_preproc" >&6
6539 # So? What about this header?
6540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6541 yes:no: )
6542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6546 ac_header_preproc=yes
6548 no:yes:* )
6549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6562 cat <<\_ASBOX
6563 ## ----------------------------------------- ##
6564 ## Report this to the package-unused lists. ##
6565 ## ----------------------------------------- ##
6566 _ASBOX
6568 sed "s/^/$as_me: WARNING: /" >&2
6570 esac
6571 echo "$as_me:$LINENO: checking for $ac_header" >&5
6572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6574 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 else
6576 eval "$as_ac_Header=\$ac_header_preproc"
6578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6583 cat >>confdefs.h <<_ACEOF
6584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6585 _ACEOF
6586 ac_has_wchar_h=yes
6587 else
6588 ac_has_wchar_h=no
6591 done
6593 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6594 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6595 cat >conftest.$ac_ext <<_ACEOF
6596 /* confdefs.h. */
6597 _ACEOF
6598 cat confdefs.h >>conftest.$ac_ext
6599 cat >>conftest.$ac_ext <<_ACEOF
6600 /* end confdefs.h. */
6601 #include <wchar.h>
6603 main ()
6605 mbstate_t teststate;
6607 return 0;
6609 _ACEOF
6610 rm -f conftest.$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612 (eval $ac_compile) 2>conftest.er1
6613 ac_status=$?
6614 grep -v '^ *+' conftest.er1 >conftest.err
6615 rm -f conftest.er1
6616 cat conftest.err >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } &&
6619 { ac_try='test -z "$ac_c_werror_flag"
6620 || test ! -s conftest.err'
6621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 (eval $ac_try) 2>&5
6623 ac_status=$?
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }; } &&
6626 { ac_try='test -s conftest.$ac_objext'
6627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628 (eval $ac_try) 2>&5
6629 ac_status=$?
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); }; }; then
6632 have_mbstate_t=yes
6633 else
6634 echo "$as_me: failed program was:" >&5
6635 sed 's/^/| /' conftest.$ac_ext >&5
6637 have_mbstate_t=no
6639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6640 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6641 echo "${ECHO_T}$have_mbstate_t" >&6
6642 if test x"$have_mbstate_t" = xyes; then
6644 cat >>confdefs.h <<\_ACEOF
6645 #define HAVE_MBSTATE_T 1
6646 _ACEOF
6650 if test x"$enable_c99" = x"yes"; then
6654 ac_ext=cc
6655 ac_cpp='$CXXCPP $CPPFLAGS'
6656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6661 # Check for the existence of <math.h> functions used if C99 is enabled.
6662 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6663 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6664 if test "${ac_c99_math+set}" = set; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6666 else
6668 cat >conftest.$ac_ext <<_ACEOF
6669 /* confdefs.h. */
6670 _ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6674 #include <math.h>
6676 main ()
6678 fpclassify(0.0);
6679 isfinite(0.0);
6680 isinf(0.0);
6681 isnan(0.0);
6682 isnormal(0.0);
6683 signbit(0.0);
6684 isgreater(0.0,0.0);
6685 isgreaterequal(0.0,0.0);
6686 isless(0.0,0.0);
6687 islessequal(0.0,0.0);
6688 islessgreater(0.0,0.0);
6689 islessgreater(0.0,0.0);
6690 isunordered(0.0,0.0);
6693 return 0;
6695 _ACEOF
6696 rm -f conftest.$ac_objext
6697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6698 (eval $ac_compile) 2>conftest.er1
6699 ac_status=$?
6700 grep -v '^ *+' conftest.er1 >conftest.err
6701 rm -f conftest.er1
6702 cat conftest.err >&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); } &&
6705 { ac_try='test -z "$ac_cxx_werror_flag"
6706 || test ! -s conftest.err'
6707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6708 (eval $ac_try) 2>&5
6709 ac_status=$?
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); }; } &&
6712 { ac_try='test -s conftest.$ac_objext'
6713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6714 (eval $ac_try) 2>&5
6715 ac_status=$?
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; }; then
6718 ac_c99_math=yes
6719 else
6720 echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.$ac_ext >&5
6723 ac_c99_math=no
6725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6729 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6730 echo "${ECHO_T}$ac_c99_math" >&6
6731 if test x"$ac_c99_math" = x"yes"; then
6733 cat >>confdefs.h <<\_ACEOF
6734 #define _GLIBCXX_USE_C99_MATH 1
6735 _ACEOF
6739 # Check for the existence of <complex.h> complex math functions.
6740 # This is necessary even though libstdc++ uses the builtin versions
6741 # of these functions, because if the builtin cannot be used, a reference
6742 # to the library function is emitted.
6744 for ac_header in complex.h
6746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6748 echo "$as_me:$LINENO: checking for $ac_header" >&5
6749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6751 echo $ECHO_N "(cached) $ECHO_C" >&6
6753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6755 else
6756 # Is the header compilable?
6757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6759 cat >conftest.$ac_ext <<_ACEOF
6760 /* confdefs.h. */
6761 _ACEOF
6762 cat confdefs.h >>conftest.$ac_ext
6763 cat >>conftest.$ac_ext <<_ACEOF
6764 /* end confdefs.h. */
6765 $ac_includes_default
6766 #include <$ac_header>
6767 _ACEOF
6768 rm -f conftest.$ac_objext
6769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6770 (eval $ac_compile) 2>conftest.er1
6771 ac_status=$?
6772 grep -v '^ *+' conftest.er1 >conftest.err
6773 rm -f conftest.er1
6774 cat conftest.err >&5
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); } &&
6777 { ac_try='test -z "$ac_cxx_werror_flag"
6778 || test ! -s conftest.err'
6779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 (eval $ac_try) 2>&5
6781 ac_status=$?
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); }; } &&
6784 { ac_try='test -s conftest.$ac_objext'
6785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6786 (eval $ac_try) 2>&5
6787 ac_status=$?
6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); }; }; then
6790 ac_header_compiler=yes
6791 else
6792 echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.$ac_ext >&5
6795 ac_header_compiler=no
6797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6799 echo "${ECHO_T}$ac_header_compiler" >&6
6801 # Is the header present?
6802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6804 cat >conftest.$ac_ext <<_ACEOF
6805 /* confdefs.h. */
6806 _ACEOF
6807 cat confdefs.h >>conftest.$ac_ext
6808 cat >>conftest.$ac_ext <<_ACEOF
6809 /* end confdefs.h. */
6810 #include <$ac_header>
6811 _ACEOF
6812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6814 ac_status=$?
6815 grep -v '^ *+' conftest.er1 >conftest.err
6816 rm -f conftest.er1
6817 cat conftest.err >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); } >/dev/null; then
6820 if test -s conftest.err; then
6821 ac_cpp_err=$ac_cxx_preproc_warn_flag
6822 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6823 else
6824 ac_cpp_err=
6826 else
6827 ac_cpp_err=yes
6829 if test -z "$ac_cpp_err"; then
6830 ac_header_preproc=yes
6831 else
6832 echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.$ac_ext >&5
6835 ac_header_preproc=no
6837 rm -f conftest.err conftest.$ac_ext
6838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6839 echo "${ECHO_T}$ac_header_preproc" >&6
6841 # So? What about this header?
6842 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6843 yes:no: )
6844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6848 ac_header_preproc=yes
6850 no:yes:* )
6851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6855 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6857 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6858 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6861 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6864 cat <<\_ASBOX
6865 ## ----------------------------------------- ##
6866 ## Report this to the package-unused lists. ##
6867 ## ----------------------------------------- ##
6868 _ASBOX
6870 sed "s/^/$as_me: WARNING: /" >&2
6872 esac
6873 echo "$as_me:$LINENO: checking for $ac_header" >&5
6874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6876 echo $ECHO_N "(cached) $ECHO_C" >&6
6877 else
6878 eval "$as_ac_Header=\$ac_header_preproc"
6880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6885 cat >>confdefs.h <<_ACEOF
6886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 _ACEOF
6888 ac_has_complex_h=yes
6889 else
6890 ac_has_complex_h=no
6893 done
6895 ac_c99_complex=no;
6896 if test x"$ac_has_complex_h" = x"yes"; then
6897 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6898 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6899 cat >conftest.$ac_ext <<_ACEOF
6900 /* confdefs.h. */
6901 _ACEOF
6902 cat confdefs.h >>conftest.$ac_ext
6903 cat >>conftest.$ac_ext <<_ACEOF
6904 /* end confdefs.h. */
6905 #include <complex.h>
6907 main ()
6909 typedef __complex__ float float_type; float_type tmpf;
6910 cabsf(tmpf);
6911 cargf(tmpf);
6912 ccosf(tmpf);
6913 ccoshf(tmpf);
6914 cexpf(tmpf);
6915 clogf(tmpf);
6916 csinf(tmpf);
6917 csinhf(tmpf);
6918 csqrtf(tmpf);
6919 ctanf(tmpf);
6920 ctanhf(tmpf);
6921 cpowf(tmpf, tmpf);
6922 typedef __complex__ double double_type; double_type tmpd;
6923 cabs(tmpd);
6924 carg(tmpd);
6925 ccos(tmpd);
6926 ccosh(tmpd);
6927 cexp(tmpd);
6928 clog(tmpd);
6929 csin(tmpd);
6930 csinh(tmpd);
6931 csqrt(tmpd);
6932 ctan(tmpd);
6933 ctanh(tmpd);
6934 cpow(tmpd, tmpd);
6935 typedef __complex__ long double ld_type; ld_type tmpld;
6936 cabsl(tmpld);
6937 cargl(tmpld);
6938 ccosl(tmpld);
6939 ccoshl(tmpld);
6940 cexpl(tmpld);
6941 clogl(tmpld);
6942 csinl(tmpld);
6943 csinhl(tmpld);
6944 csqrtl(tmpld);
6945 ctanl(tmpld);
6946 ctanhl(tmpld);
6947 cpowl(tmpld, tmpld);
6950 return 0;
6952 _ACEOF
6953 rm -f conftest.$ac_objext
6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6955 (eval $ac_compile) 2>conftest.er1
6956 ac_status=$?
6957 grep -v '^ *+' conftest.er1 >conftest.err
6958 rm -f conftest.er1
6959 cat conftest.err >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } &&
6962 { ac_try='test -z "$ac_cxx_werror_flag"
6963 || test ! -s conftest.err'
6964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6965 (eval $ac_try) 2>&5
6966 ac_status=$?
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); }; } &&
6969 { ac_try='test -s conftest.$ac_objext'
6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6971 (eval $ac_try) 2>&5
6972 ac_status=$?
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; }; then
6975 ac_c99_complex=yes
6976 else
6977 echo "$as_me: failed program was:" >&5
6978 sed 's/^/| /' conftest.$ac_ext >&5
6980 ac_c99_complex=no
6982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6984 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6985 echo "${ECHO_T}$ac_c99_complex" >&6
6986 if test x"$ac_c99_complex" = x"yes"; then
6988 cat >>confdefs.h <<\_ACEOF
6989 #define _GLIBCXX_USE_C99_COMPLEX 1
6990 _ACEOF
6994 # Check for the existence in <stdio.h> of vscanf, et. al.
6995 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6996 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6997 if test "${ac_c99_stdio+set}" = set; then
6998 echo $ECHO_N "(cached) $ECHO_C" >&6
6999 else
7001 cat >conftest.$ac_ext <<_ACEOF
7002 /* confdefs.h. */
7003 _ACEOF
7004 cat confdefs.h >>conftest.$ac_ext
7005 cat >>conftest.$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7007 #include <stdio.h>
7008 #include <stdarg.h>
7009 void foo(char* fmt, ...)
7011 va_list args; va_start(args, fmt);
7012 vfscanf(stderr, "%i", args);
7013 vscanf("%i", args);
7014 vsnprintf(fmt, 0, "%i", args);
7015 vsscanf(fmt, "%i", args);
7018 main ()
7020 snprintf("12", 0, "%i");
7022 return 0;
7024 _ACEOF
7025 rm -f conftest.$ac_objext
7026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7027 (eval $ac_compile) 2>conftest.er1
7028 ac_status=$?
7029 grep -v '^ *+' conftest.er1 >conftest.err
7030 rm -f conftest.er1
7031 cat conftest.err >&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); } &&
7034 { ac_try='test -z "$ac_cxx_werror_flag"
7035 || test ! -s conftest.err'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7037 (eval $ac_try) 2>&5
7038 ac_status=$?
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; } &&
7041 { ac_try='test -s conftest.$ac_objext'
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7043 (eval $ac_try) 2>&5
7044 ac_status=$?
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); }; }; then
7047 ac_c99_stdio=yes
7048 else
7049 echo "$as_me: failed program was:" >&5
7050 sed 's/^/| /' conftest.$ac_ext >&5
7052 ac_c99_stdio=no
7054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7058 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7059 echo "${ECHO_T}$ac_c99_stdio" >&6
7061 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7062 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7063 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7064 if test "${ac_c99_stdlib+set}" = set; then
7065 echo $ECHO_N "(cached) $ECHO_C" >&6
7066 else
7068 cat >conftest.$ac_ext <<_ACEOF
7069 /* confdefs.h. */
7070 _ACEOF
7071 cat confdefs.h >>conftest.$ac_ext
7072 cat >>conftest.$ac_ext <<_ACEOF
7073 /* end confdefs.h. */
7074 #include <stdlib.h>
7076 main ()
7078 char* tmp;
7079 strtof("gnu", &tmp);
7080 strtold("gnu", &tmp);
7081 strtoll("gnu", &tmp, 10);
7082 strtoull("gnu", &tmp, 10);
7083 llabs(10);
7084 lldiv(10,1);
7085 atoll("10");
7086 _Exit(0);
7087 lldiv_t mydivt;
7089 return 0;
7091 _ACEOF
7092 rm -f conftest.$ac_objext
7093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7094 (eval $ac_compile) 2>conftest.er1
7095 ac_status=$?
7096 grep -v '^ *+' conftest.er1 >conftest.err
7097 rm -f conftest.er1
7098 cat conftest.err >&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); } &&
7101 { ac_try='test -z "$ac_cxx_werror_flag"
7102 || test ! -s conftest.err'
7103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104 (eval $ac_try) 2>&5
7105 ac_status=$?
7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); }; } &&
7108 { ac_try='test -s conftest.$ac_objext'
7109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110 (eval $ac_try) 2>&5
7111 ac_status=$?
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); }; }; then
7114 ac_c99_stdlib=yes
7115 else
7116 echo "$as_me: failed program was:" >&5
7117 sed 's/^/| /' conftest.$ac_ext >&5
7119 ac_c99_stdlib=no
7121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7125 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7126 echo "${ECHO_T}$ac_c99_stdlib" >&6
7128 # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7130 for ac_header in wctype.h
7132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7134 echo "$as_me:$LINENO: checking for $ac_header" >&5
7135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7137 echo $ECHO_N "(cached) $ECHO_C" >&6
7139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7141 else
7142 # Is the header compilable?
7143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7145 cat >conftest.$ac_ext <<_ACEOF
7146 /* confdefs.h. */
7147 _ACEOF
7148 cat confdefs.h >>conftest.$ac_ext
7149 cat >>conftest.$ac_ext <<_ACEOF
7150 /* end confdefs.h. */
7151 $ac_includes_default
7152 #include <$ac_header>
7153 _ACEOF
7154 rm -f conftest.$ac_objext
7155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7156 (eval $ac_compile) 2>conftest.er1
7157 ac_status=$?
7158 grep -v '^ *+' conftest.er1 >conftest.err
7159 rm -f conftest.er1
7160 cat conftest.err >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } &&
7163 { ac_try='test -z "$ac_cxx_werror_flag"
7164 || test ! -s conftest.err'
7165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7166 (eval $ac_try) 2>&5
7167 ac_status=$?
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); }; } &&
7170 { ac_try='test -s conftest.$ac_objext'
7171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7172 (eval $ac_try) 2>&5
7173 ac_status=$?
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); }; }; then
7176 ac_header_compiler=yes
7177 else
7178 echo "$as_me: failed program was:" >&5
7179 sed 's/^/| /' conftest.$ac_ext >&5
7181 ac_header_compiler=no
7183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7185 echo "${ECHO_T}$ac_header_compiler" >&6
7187 # Is the header present?
7188 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7190 cat >conftest.$ac_ext <<_ACEOF
7191 /* confdefs.h. */
7192 _ACEOF
7193 cat confdefs.h >>conftest.$ac_ext
7194 cat >>conftest.$ac_ext <<_ACEOF
7195 /* end confdefs.h. */
7196 #include <$ac_header>
7197 _ACEOF
7198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7200 ac_status=$?
7201 grep -v '^ *+' conftest.er1 >conftest.err
7202 rm -f conftest.er1
7203 cat conftest.err >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } >/dev/null; then
7206 if test -s conftest.err; then
7207 ac_cpp_err=$ac_cxx_preproc_warn_flag
7208 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7209 else
7210 ac_cpp_err=
7212 else
7213 ac_cpp_err=yes
7215 if test -z "$ac_cpp_err"; then
7216 ac_header_preproc=yes
7217 else
7218 echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.$ac_ext >&5
7221 ac_header_preproc=no
7223 rm -f conftest.err conftest.$ac_ext
7224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7225 echo "${ECHO_T}$ac_header_preproc" >&6
7227 # So? What about this header?
7228 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7229 yes:no: )
7230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7234 ac_header_preproc=yes
7236 no:yes:* )
7237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7243 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7244 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7247 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7250 cat <<\_ASBOX
7251 ## ----------------------------------------- ##
7252 ## Report this to the package-unused lists. ##
7253 ## ----------------------------------------- ##
7254 _ASBOX
7256 sed "s/^/$as_me: WARNING: /" >&2
7258 esac
7259 echo "$as_me:$LINENO: checking for $ac_header" >&5
7260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7262 echo $ECHO_N "(cached) $ECHO_C" >&6
7263 else
7264 eval "$as_ac_Header=\$ac_header_preproc"
7266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7271 cat >>confdefs.h <<_ACEOF
7272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7273 _ACEOF
7274 ac_has_wctype_h=yes
7275 else
7276 ac_has_wctype_h=no
7279 done
7281 ac_c99_wchar=no;
7282 if test x"$ac_has_wchar_h" = xyes &&
7283 test x"$ac_has_wctype_h" = xyes; then
7284 cat >conftest.$ac_ext <<_ACEOF
7285 /* confdefs.h. */
7286 _ACEOF
7287 cat confdefs.h >>conftest.$ac_ext
7288 cat >>conftest.$ac_ext <<_ACEOF
7289 /* end confdefs.h. */
7290 #include <wchar.h>
7291 #include <stddef.h>
7292 wint_t i;
7293 long l = WEOF;
7294 long j = WCHAR_MIN;
7295 long k = WCHAR_MAX;
7296 namespace test
7298 using ::btowc;
7299 using ::fgetwc;
7300 using ::fgetws;
7301 using ::fputwc;
7302 using ::fputws;
7303 using ::fwide;
7304 using ::fwprintf;
7305 using ::fwscanf;
7306 using ::getwc;
7307 using ::getwchar;
7308 using ::mbrlen;
7309 using ::mbrtowc;
7310 using ::mbsinit;
7311 using ::mbsrtowcs;
7312 using ::putwc;
7313 using ::putwchar;
7314 using ::swprintf;
7315 using ::swscanf;
7316 using ::ungetwc;
7317 using ::vfwprintf;
7318 using ::vswprintf;
7319 using ::vwprintf;
7320 using ::wcrtomb;
7321 using ::wcscat;
7322 using ::wcschr;
7323 using ::wcscmp;
7324 using ::wcscoll;
7325 using ::wcscpy;
7326 using ::wcscspn;
7327 using ::wcsftime;
7328 using ::wcslen;
7329 using ::wcsncat;
7330 using ::wcsncmp;
7331 using ::wcsncpy;
7332 using ::wcspbrk;
7333 using ::wcsrchr;
7334 using ::wcsrtombs;
7335 using ::wcsspn;
7336 using ::wcsstr;
7337 using ::wcstod;
7338 using ::wcstok;
7339 using ::wcstol;
7340 using ::wcstold;
7341 using ::wcstoll;
7342 using ::wcstoul;
7343 using ::wcstoull;
7344 using ::wcsxfrm;
7345 using ::wctob;
7346 using ::wmemchr;
7347 using ::wmemcmp;
7348 using ::wmemcpy;
7349 using ::wmemmove;
7350 using ::wmemset;
7351 using ::wprintf;
7352 using ::wscanf;
7356 main ()
7360 return 0;
7362 _ACEOF
7363 rm -f conftest.$ac_objext
7364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7365 (eval $ac_compile) 2>conftest.er1
7366 ac_status=$?
7367 grep -v '^ *+' conftest.er1 >conftest.err
7368 rm -f conftest.er1
7369 cat conftest.err >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); } &&
7372 { ac_try='test -z "$ac_cxx_werror_flag"
7373 || test ! -s conftest.err'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 (eval $ac_try) 2>&5
7376 ac_status=$?
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; } &&
7379 { ac_try='test -s conftest.$ac_objext'
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 (eval $ac_try) 2>&5
7382 ac_status=$?
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7385 ac_c99_wchar=yes
7386 else
7387 echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5
7390 ac_c99_wchar=no
7392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7394 # Checks for wide character functions that may not be present.
7395 # Injection of these is wrapped with guard macros.
7396 # NB: only put functions here, instead of immediately above, if
7397 # absolutely necessary.
7398 cat >conftest.$ac_ext <<_ACEOF
7399 /* confdefs.h. */
7400 _ACEOF
7401 cat confdefs.h >>conftest.$ac_ext
7402 cat >>conftest.$ac_ext <<_ACEOF
7403 /* end confdefs.h. */
7404 #include <wchar.h>
7405 namespace test { using ::vfwscanf; }
7407 main ()
7411 return 0;
7413 _ACEOF
7414 rm -f conftest.$ac_objext
7415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7416 (eval $ac_compile) 2>conftest.er1
7417 ac_status=$?
7418 grep -v '^ *+' conftest.er1 >conftest.err
7419 rm -f conftest.er1
7420 cat conftest.err >&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); } &&
7423 { ac_try='test -z "$ac_cxx_werror_flag"
7424 || test ! -s conftest.err'
7425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7426 (eval $ac_try) 2>&5
7427 ac_status=$?
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); }; } &&
7430 { ac_try='test -s conftest.$ac_objext'
7431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7432 (eval $ac_try) 2>&5
7433 ac_status=$?
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); }; }; then
7437 cat >>confdefs.h <<\_ACEOF
7438 #define HAVE_VFWSCANF 1
7439 _ACEOF
7441 else
7442 echo "$as_me: failed program was:" >&5
7443 sed 's/^/| /' conftest.$ac_ext >&5
7446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7448 cat >conftest.$ac_ext <<_ACEOF
7449 /* confdefs.h. */
7450 _ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7454 #include <wchar.h>
7455 namespace test { using ::vswscanf; }
7457 main ()
7461 return 0;
7463 _ACEOF
7464 rm -f conftest.$ac_objext
7465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7466 (eval $ac_compile) 2>conftest.er1
7467 ac_status=$?
7468 grep -v '^ *+' conftest.er1 >conftest.err
7469 rm -f conftest.er1
7470 cat conftest.err >&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); } &&
7473 { ac_try='test -z "$ac_cxx_werror_flag"
7474 || test ! -s conftest.err'
7475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7476 (eval $ac_try) 2>&5
7477 ac_status=$?
7478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479 (exit $ac_status); }; } &&
7480 { ac_try='test -s conftest.$ac_objext'
7481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482 (eval $ac_try) 2>&5
7483 ac_status=$?
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); }; }; then
7487 cat >>confdefs.h <<\_ACEOF
7488 #define HAVE_VSWSCANF 1
7489 _ACEOF
7491 else
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.$ac_ext >&5
7496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7498 cat >conftest.$ac_ext <<_ACEOF
7499 /* confdefs.h. */
7500 _ACEOF
7501 cat confdefs.h >>conftest.$ac_ext
7502 cat >>conftest.$ac_ext <<_ACEOF
7503 /* end confdefs.h. */
7504 #include <wchar.h>
7505 namespace test { using ::vwscanf; }
7507 main ()
7511 return 0;
7513 _ACEOF
7514 rm -f conftest.$ac_objext
7515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7516 (eval $ac_compile) 2>conftest.er1
7517 ac_status=$?
7518 grep -v '^ *+' conftest.er1 >conftest.err
7519 rm -f conftest.er1
7520 cat conftest.err >&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); } &&
7523 { ac_try='test -z "$ac_cxx_werror_flag"
7524 || test ! -s conftest.err'
7525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526 (eval $ac_try) 2>&5
7527 ac_status=$?
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); }; } &&
7530 { ac_try='test -s conftest.$ac_objext'
7531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7532 (eval $ac_try) 2>&5
7533 ac_status=$?
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); }; }; then
7537 cat >>confdefs.h <<\_ACEOF
7538 #define HAVE_VWSCANF 1
7539 _ACEOF
7541 else
7542 echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7548 cat >conftest.$ac_ext <<_ACEOF
7549 /* confdefs.h. */
7550 _ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #include <wchar.h>
7555 namespace test { using ::wcstof; }
7557 main ()
7561 return 0;
7563 _ACEOF
7564 rm -f conftest.$ac_objext
7565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7566 (eval $ac_compile) 2>conftest.er1
7567 ac_status=$?
7568 grep -v '^ *+' conftest.er1 >conftest.err
7569 rm -f conftest.er1
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } &&
7573 { ac_try='test -z "$ac_cxx_werror_flag"
7574 || test ! -s conftest.err'
7575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576 (eval $ac_try) 2>&5
7577 ac_status=$?
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579 (exit $ac_status); }; } &&
7580 { ac_try='test -s conftest.$ac_objext'
7581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582 (eval $ac_try) 2>&5
7583 ac_status=$?
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); }; }; then
7587 cat >>confdefs.h <<\_ACEOF
7588 #define HAVE_WCSTOF 1
7589 _ACEOF
7591 else
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.$ac_ext >&5
7596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7598 cat >conftest.$ac_ext <<_ACEOF
7599 /* confdefs.h. */
7600 _ACEOF
7601 cat confdefs.h >>conftest.$ac_ext
7602 cat >>conftest.$ac_ext <<_ACEOF
7603 /* end confdefs.h. */
7604 #include <wctype.h>
7606 main ()
7608 wint_t t; int i = iswblank(t);
7610 return 0;
7612 _ACEOF
7613 rm -f conftest.$ac_objext
7614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7615 (eval $ac_compile) 2>conftest.er1
7616 ac_status=$?
7617 grep -v '^ *+' conftest.er1 >conftest.err
7618 rm -f conftest.er1
7619 cat conftest.err >&5
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); } &&
7622 { ac_try='test -z "$ac_cxx_werror_flag"
7623 || test ! -s conftest.err'
7624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625 (eval $ac_try) 2>&5
7626 ac_status=$?
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); }; } &&
7629 { ac_try='test -s conftest.$ac_objext'
7630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631 (eval $ac_try) 2>&5
7632 ac_status=$?
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); }; }; then
7636 cat >>confdefs.h <<\_ACEOF
7637 #define HAVE_ISWBLANK 1
7638 _ACEOF
7640 else
7641 echo "$as_me: failed program was:" >&5
7642 sed 's/^/| /' conftest.$ac_ext >&5
7645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7647 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7648 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7649 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7650 echo "${ECHO_T}$ac_c99_wchar" >&6
7653 # Option parsed, now set things appropriately.
7654 if test x"$ac_c99_math" = x"no" ||
7655 test x"$ac_c99_complex" = x"no" ||
7656 test x"$ac_c99_stdio" = x"no" ||
7657 test x"$ac_c99_stdlib" = x"no" ||
7658 test x"$ac_c99_wchar" = x"no"; then
7659 enable_c99=no;
7660 else
7662 cat >>confdefs.h <<\_ACEOF
7663 #define _GLIBCXX_USE_C99 1
7664 _ACEOF
7668 ac_ext=c
7669 ac_cpp='$CPP $CPPFLAGS'
7670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7676 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7677 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7678 echo "$as_me:$LINENO: result: $enable_c99" >&5
7679 echo "${ECHO_T}$enable_c99" >&6
7682 # Check whether --enable-long-long or --disable-long-long was given.
7683 if test "${enable_long_long+set}" = set; then
7684 enableval="$enable_long_long"
7686 case "$enableval" in
7687 yes|no) ;;
7688 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7689 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7690 { (exit 1); exit 1; }; } ;;
7691 esac
7693 else
7694 enable_long_long=yes
7697 if test $enable_long_long = yes; then
7699 cat >>confdefs.h <<\_ACEOF
7700 #define _GLIBCXX_USE_LONG_LONG 1
7701 _ACEOF
7704 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7705 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7706 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7707 echo "${ECHO_T}$enable_long_long" >&6
7710 # Check whether --enable-wchar_t or --disable-wchar_t was given.
7711 if test "${enable_wchar_t+set}" = set; then
7712 enableval="$enable_wchar_t"
7714 case "$enableval" in
7715 yes|no) ;;
7716 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7717 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7718 { (exit 1); exit 1; }; } ;;
7719 esac
7721 else
7722 enable_wchar_t=yes
7725 if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7727 cat >>confdefs.h <<\_ACEOF
7728 #define _GLIBCXX_USE_WCHAR_T 1
7729 _ACEOF
7732 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7733 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7734 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7735 echo "${ECHO_T}$enable_wchar_t" >&6
7738 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7739 if test "${enable_concept_checks+set}" = set; then
7740 enableval="$enable_concept_checks"
7742 case "$enableval" in
7743 yes|no) ;;
7744 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7745 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7746 { (exit 1); exit 1; }; } ;;
7747 esac
7749 else
7750 enable_concept_checks=no
7753 if test $enable_concept_checks = yes; then
7755 cat >>confdefs.h <<\_ACEOF
7756 #define _GLIBCXX_CONCEPT_CHECKS 1
7757 _ACEOF
7762 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7763 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7764 enableval="$enable_libstdcxx_debug_flags"
7765 case "x$enable_libstdcxx_debug_flags" in
7766 xno | x) enable_libstdcxx_debug_flags= ;;
7767 x-*) ;;
7768 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7769 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7770 { (exit 1); exit 1; }; } ;;
7771 esac
7772 else
7773 enable_libstdcxx_debug_flags="-g3 -O0"
7777 # Option parsed, now set things appropriately
7778 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7781 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7782 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7785 echo "$as_me:$LINENO: checking for additional debug build" >&5
7786 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7787 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7788 if test "${enable_libstdcxx_debug+set}" = set; then
7789 enableval="$enable_libstdcxx_debug"
7791 case "$enableval" in
7792 yes|no) ;;
7793 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7794 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7795 { (exit 1); exit 1; }; } ;;
7796 esac
7798 else
7799 enable_libstdcxx_debug=no
7802 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7803 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7806 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7807 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7808 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7809 if test "${enable_cxx_flags+set}" = set; then
7810 enableval="$enable_cxx_flags"
7811 case "x$enable_cxx_flags" in
7812 xno | x) enable_cxx_flags= ;;
7813 x-*) ;;
7814 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7815 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7816 { (exit 1); exit 1; }; } ;;
7817 esac
7818 else
7819 enable_cxx_flags=
7823 # Run through flags (either default or command-line) and set anything
7824 # extra (e.g., #defines) that must accompany particular g++ options.
7825 if test -n "$enable_cxx_flags"; then
7826 for f in $enable_cxx_flags; do
7827 case "$f" in
7828 -fhonor-std) ;;
7829 -*) ;;
7830 *) # and we're trying to pass /what/ exactly?
7831 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7832 echo "$as_me: error: compiler flags start with a -" >&2;}
7833 { (exit 1); exit 1; }; } ;;
7834 esac
7835 done
7838 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7839 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7840 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7844 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7845 if test "${enable_fully_dynamic_string+set}" = set; then
7846 enableval="$enable_fully_dynamic_string"
7848 case "$enableval" in
7849 yes|no) ;;
7850 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7851 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7852 { (exit 1); exit 1; }; } ;;
7853 esac
7855 else
7856 enable_fully_dynamic_string=no
7859 if test $enable_fully_dynamic_string = yes; then
7861 cat >>confdefs.h <<\_ACEOF
7862 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7863 _ACEOF
7868 # No surprises, no surprises...
7870 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7871 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7872 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7873 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7874 echo "${ECHO_T}$target_thread_file" >&6
7876 if test $target_thread_file != single; then
7878 cat >>confdefs.h <<\_ACEOF
7879 #define HAVE_GTHR_DEFAULT 1
7880 _ACEOF
7884 glibcxx_thread_h=gthr-$target_thread_file.h
7886 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7887 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7888 enable_thread=yes
7889 else
7890 enable_thread=no
7895 if test $atomicity_dir = cpu/generic ; then
7896 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7897 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7898 if test $target_thread_file = single; then
7899 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7900 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7901 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7902 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7903 else
7904 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7905 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7906 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7907 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7912 if $GLIBCXX_IS_NATIVE; then
7914 # We can do more elaborate tests that assume a working linker.
7915 CANADIAN=no
7917 # Check for available headers.
7933 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7934 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7935 sys/types.h sys/ipc.h sys/sem.h
7937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7939 echo "$as_me:$LINENO: checking for $ac_header" >&5
7940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7942 echo $ECHO_N "(cached) $ECHO_C" >&6
7944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7946 else
7947 # Is the header compilable?
7948 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7950 cat >conftest.$ac_ext <<_ACEOF
7951 /* confdefs.h. */
7952 _ACEOF
7953 cat confdefs.h >>conftest.$ac_ext
7954 cat >>conftest.$ac_ext <<_ACEOF
7955 /* end confdefs.h. */
7956 $ac_includes_default
7957 #include <$ac_header>
7958 _ACEOF
7959 rm -f conftest.$ac_objext
7960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7961 (eval $ac_compile) 2>conftest.er1
7962 ac_status=$?
7963 grep -v '^ *+' conftest.er1 >conftest.err
7964 rm -f conftest.er1
7965 cat conftest.err >&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); } &&
7968 { ac_try='test -z "$ac_c_werror_flag"
7969 || test ! -s conftest.err'
7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7971 (eval $ac_try) 2>&5
7972 ac_status=$?
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); }; } &&
7975 { ac_try='test -s conftest.$ac_objext'
7976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977 (eval $ac_try) 2>&5
7978 ac_status=$?
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); }; }; then
7981 ac_header_compiler=yes
7982 else
7983 echo "$as_me: failed program was:" >&5
7984 sed 's/^/| /' conftest.$ac_ext >&5
7986 ac_header_compiler=no
7988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7990 echo "${ECHO_T}$ac_header_compiler" >&6
7992 # Is the header present?
7993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7995 cat >conftest.$ac_ext <<_ACEOF
7996 /* confdefs.h. */
7997 _ACEOF
7998 cat confdefs.h >>conftest.$ac_ext
7999 cat >>conftest.$ac_ext <<_ACEOF
8000 /* end confdefs.h. */
8001 #include <$ac_header>
8002 _ACEOF
8003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8005 ac_status=$?
8006 grep -v '^ *+' conftest.er1 >conftest.err
8007 rm -f conftest.er1
8008 cat conftest.err >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } >/dev/null; then
8011 if test -s conftest.err; then
8012 ac_cpp_err=$ac_c_preproc_warn_flag
8013 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8014 else
8015 ac_cpp_err=
8017 else
8018 ac_cpp_err=yes
8020 if test -z "$ac_cpp_err"; then
8021 ac_header_preproc=yes
8022 else
8023 echo "$as_me: failed program was:" >&5
8024 sed 's/^/| /' conftest.$ac_ext >&5
8026 ac_header_preproc=no
8028 rm -f conftest.err conftest.$ac_ext
8029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8030 echo "${ECHO_T}$ac_header_preproc" >&6
8032 # So? What about this header?
8033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8034 yes:no: )
8035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8039 ac_header_preproc=yes
8041 no:yes:* )
8042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8055 cat <<\_ASBOX
8056 ## ----------------------------------------- ##
8057 ## Report this to the package-unused lists. ##
8058 ## ----------------------------------------- ##
8059 _ASBOX
8061 sed "s/^/$as_me: WARNING: /" >&2
8063 esac
8064 echo "$as_me:$LINENO: checking for $ac_header" >&5
8065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8067 echo $ECHO_N "(cached) $ECHO_C" >&6
8068 else
8069 eval "$as_ac_Header=\$ac_header_preproc"
8071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8076 cat >>confdefs.h <<_ACEOF
8077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8078 _ACEOF
8082 done
8086 # All these tests are for C++; save the language and the compiler flags.
8087 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8088 # found in GLIBCXX_CONFIGURE.
8091 ac_ext=cc
8092 ac_cpp='$CXXCPP $CPPFLAGS'
8093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8097 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8098 ac_save_CXXFLAGS="$CXXFLAGS"
8100 # Check for maintainer-mode bits.
8101 if test x"$USE_MAINTAINER_MODE" = xno; then
8102 WERROR=''
8103 else
8104 WERROR='-Werror'
8107 # Check for -ffunction-sections -fdata-sections
8108 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8109 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8110 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8111 cat >conftest.$ac_ext <<_ACEOF
8112 /* confdefs.h. */
8113 _ACEOF
8114 cat confdefs.h >>conftest.$ac_ext
8115 cat >>conftest.$ac_ext <<_ACEOF
8116 /* end confdefs.h. */
8119 main ()
8121 int foo;
8123 return 0;
8125 _ACEOF
8126 rm -f conftest.$ac_objext
8127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8128 (eval $ac_compile) 2>conftest.er1
8129 ac_status=$?
8130 grep -v '^ *+' conftest.er1 >conftest.err
8131 rm -f conftest.er1
8132 cat conftest.err >&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); } &&
8135 { ac_try='test -z "$ac_cxx_werror_flag"
8136 || test ! -s conftest.err'
8137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 (eval $ac_try) 2>&5
8139 ac_status=$?
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); }; } &&
8142 { ac_try='test -s conftest.$ac_objext'
8143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8144 (eval $ac_try) 2>&5
8145 ac_status=$?
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); }; }; then
8148 ac_fdsections=yes
8149 else
8150 echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.$ac_ext >&5
8153 ac_fdsections=no
8155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8156 if test "$ac_test_CXXFLAGS" = set; then
8157 CXXFLAGS="$ac_save_CXXFLAGS"
8158 else
8159 # this is the suspicious part
8160 CXXFLAGS=''
8162 if test x"$ac_fdsections" = x"yes"; then
8163 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8165 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8166 echo "${ECHO_T}$ac_fdsections" >&6
8168 ac_ext=c
8169 ac_cpp='$CPP $CPPFLAGS'
8170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8178 # If we're not using GNU ld, then there's no point in even trying these
8179 # tests. Check for that first. We should have already tested for gld
8180 # by now (in libtool), but require it now just to be safe...
8181 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8182 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8186 # The name set by libtool depends on the version of libtool. Shame on us
8187 # for depending on an impl detail, but c'est la vie. Older versions used
8188 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8189 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8190 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8191 # set (hence we're using an older libtool), then set it.
8192 if test x${with_gnu_ld+set} != xset; then
8193 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8194 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8195 with_gnu_ld=no
8196 else
8197 with_gnu_ld=$ac_cv_prog_gnu_ld
8201 # Start by getting the version number. I think the libtool test already
8202 # does some of this, but throws away the result.
8204 ldver=`$LD --version 2>/dev/null | head -1 | \
8205 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8207 glibcxx_gnu_ld_version=`echo $ldver | \
8208 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8210 # Set --gc-sections.
8211 if test x"$with_gnu_ld" = x"yes"; then
8212 # GNU ld it is! Joy and bunny rabbits!
8214 # All these tests are for C++; save the language and the compiler flags.
8215 # Need to do this so that g++ won't try to link in libstdc++
8216 ac_test_CFLAGS="${CFLAGS+set}"
8217 ac_save_CFLAGS="$CFLAGS"
8218 CFLAGS='-x c++ -Wl,--gc-sections'
8220 # Check for -Wl,--gc-sections
8221 # Note: It's supposed to work now, so ease off until proven wrong...
8222 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8223 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8224 cat >conftest.$ac_ext <<_ACEOF
8225 /* confdefs.h. */
8226 _ACEOF
8227 cat confdefs.h >>conftest.$ac_ext
8228 cat >>conftest.$ac_ext <<_ACEOF
8229 /* end confdefs.h. */
8231 int main(void)
8233 try { throw 1; }
8234 catch (...) { };
8235 return 0;
8239 main ()
8241 ac_sectionLDflags=yes
8243 return 0;
8245 _ACEOF
8246 rm -f conftest.$ac_objext
8247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8248 (eval $ac_compile) 2>conftest.er1
8249 ac_status=$?
8250 grep -v '^ *+' conftest.er1 >conftest.err
8251 rm -f conftest.er1
8252 cat conftest.err >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); } &&
8255 { ac_try='test -z "$ac_c_werror_flag"
8256 || test ! -s conftest.err'
8257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8258 (eval $ac_try) 2>&5
8259 ac_status=$?
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); }; } &&
8262 { ac_try='test -s conftest.$ac_objext'
8263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8264 (eval $ac_try) 2>&5
8265 ac_status=$?
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); }; }; then
8268 ac_sectionLDflags=no
8269 else
8270 echo "$as_me: failed program was:" >&5
8271 sed 's/^/| /' conftest.$ac_ext >&5
8273 ac_sectionLDflags=yes
8275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8276 if test "$ac_test_CFLAGS" = set; then
8277 CFLAGS="$ac_save_CFLAGS"
8278 else
8279 # this is the suspicious part
8280 CFLAGS=''
8282 if test "$ac_sectionLDflags" = "yes"; then
8283 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8285 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8286 echo "${ECHO_T}$ac_sectionLDflags" >&6
8289 # Set -z,relro.
8290 # Note this is only for shared objects.
8291 ac_ld_relro=no
8292 if test x"$with_gnu_ld" = x"yes"; then
8293 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8294 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8295 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8296 if test -n "$cxx_z_relo"; then
8297 OPT_LDFLAGS="-Wl,-z,relro"
8298 ac_ld_relro=yes
8300 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8301 echo "${ECHO_T}$ac_ld_relro" >&6
8304 # Set linker optimization flags.
8305 if test x"$with_gnu_ld" = x"yes"; then
8306 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8313 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8314 ac_save_CXXFLAGS="$CXXFLAGS"
8315 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8317 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8318 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8319 if test "${ac_cv_lib_m_sin+set}" = set; then
8320 echo $ECHO_N "(cached) $ECHO_C" >&6
8321 else
8322 ac_check_lib_save_LIBS=$LIBS
8323 LIBS="-lm $LIBS"
8324 if test x$gcc_no_link = xyes; then
8325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8327 { (exit 1); exit 1; }; }
8329 cat >conftest.$ac_ext <<_ACEOF
8330 /* confdefs.h. */
8331 _ACEOF
8332 cat confdefs.h >>conftest.$ac_ext
8333 cat >>conftest.$ac_ext <<_ACEOF
8334 /* end confdefs.h. */
8336 /* Override any gcc2 internal prototype to avoid an error. */
8337 #ifdef __cplusplus
8338 extern "C"
8339 #endif
8340 /* We use char because int might match the return type of a gcc2
8341 builtin and then its argument prototype would still apply. */
8342 char sin ();
8344 main ()
8346 sin ();
8348 return 0;
8350 _ACEOF
8351 rm -f conftest.$ac_objext conftest$ac_exeext
8352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8353 (eval $ac_link) 2>conftest.er1
8354 ac_status=$?
8355 grep -v '^ *+' conftest.er1 >conftest.err
8356 rm -f conftest.er1
8357 cat conftest.err >&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); } &&
8360 { ac_try='test -z "$ac_c_werror_flag"
8361 || test ! -s conftest.err'
8362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8363 (eval $ac_try) 2>&5
8364 ac_status=$?
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); }; } &&
8367 { ac_try='test -s conftest$ac_exeext'
8368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8369 (eval $ac_try) 2>&5
8370 ac_status=$?
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); }; }; then
8373 ac_cv_lib_m_sin=yes
8374 else
8375 echo "$as_me: failed program was:" >&5
8376 sed 's/^/| /' conftest.$ac_ext >&5
8378 ac_cv_lib_m_sin=no
8380 rm -f conftest.err conftest.$ac_objext \
8381 conftest$ac_exeext conftest.$ac_ext
8382 LIBS=$ac_check_lib_save_LIBS
8384 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8385 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8386 if test $ac_cv_lib_m_sin = yes; then
8387 libm="-lm"
8390 ac_save_LIBS="$LIBS"
8391 LIBS="$LIBS $libm"
8395 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8396 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8397 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8398 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8399 echo $ECHO_N "(cached) $ECHO_C" >&6
8400 else
8404 ac_ext=cc
8405 ac_cpp='$CXXCPP $CPPFLAGS'
8406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8410 cat >conftest.$ac_ext <<_ACEOF
8411 /* confdefs.h. */
8412 _ACEOF
8413 cat confdefs.h >>conftest.$ac_ext
8414 cat >>conftest.$ac_ext <<_ACEOF
8415 /* end confdefs.h. */
8416 #include <math.h>
8417 #ifdef HAVE_IEEEFP_H
8418 #include <ieeefp.h>
8419 #endif
8422 main ()
8424 isinf(0);
8426 return 0;
8428 _ACEOF
8429 rm -f conftest.$ac_objext
8430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8431 (eval $ac_compile) 2>conftest.er1
8432 ac_status=$?
8433 grep -v '^ *+' conftest.er1 >conftest.err
8434 rm -f conftest.er1
8435 cat conftest.err >&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); } &&
8438 { ac_try='test -z "$ac_cxx_werror_flag"
8439 || test ! -s conftest.err'
8440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8441 (eval $ac_try) 2>&5
8442 ac_status=$?
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); }; } &&
8445 { ac_try='test -s conftest.$ac_objext'
8446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8447 (eval $ac_try) 2>&5
8448 ac_status=$?
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 (exit $ac_status); }; }; then
8451 glibcxx_cv_func_isinf_use=yes
8452 else
8453 echo "$as_me: failed program was:" >&5
8454 sed 's/^/| /' conftest.$ac_ext >&5
8456 glibcxx_cv_func_isinf_use=no
8458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8459 ac_ext=c
8460 ac_cpp='$CPP $CPPFLAGS'
8461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8469 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8470 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8472 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8474 for ac_func in isinf
8476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8477 echo "$as_me:$LINENO: checking for $ac_func" >&5
8478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8479 if eval "test \"\${$as_ac_var+set}\" = set"; then
8480 echo $ECHO_N "(cached) $ECHO_C" >&6
8481 else
8482 if test x$gcc_no_link = xyes; then
8483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8485 { (exit 1); exit 1; }; }
8487 cat >conftest.$ac_ext <<_ACEOF
8488 /* confdefs.h. */
8489 _ACEOF
8490 cat confdefs.h >>conftest.$ac_ext
8491 cat >>conftest.$ac_ext <<_ACEOF
8492 /* end confdefs.h. */
8493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8495 #define $ac_func innocuous_$ac_func
8497 /* System header to define __stub macros and hopefully few prototypes,
8498 which can conflict with char $ac_func (); below.
8499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8500 <limits.h> exists even on freestanding compilers. */
8502 #ifdef __STDC__
8503 # include <limits.h>
8504 #else
8505 # include <assert.h>
8506 #endif
8508 #undef $ac_func
8510 /* Override any gcc2 internal prototype to avoid an error. */
8511 #ifdef __cplusplus
8512 extern "C"
8514 #endif
8515 /* We use char because int might match the return type of a gcc2
8516 builtin and then its argument prototype would still apply. */
8517 char $ac_func ();
8518 /* The GNU C library defines this for functions which it implements
8519 to always fail with ENOSYS. Some functions are actually named
8520 something starting with __ and the normal name is an alias. */
8521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8522 choke me
8523 #else
8524 char (*f) () = $ac_func;
8525 #endif
8526 #ifdef __cplusplus
8528 #endif
8531 main ()
8533 return f != $ac_func;
8535 return 0;
8537 _ACEOF
8538 rm -f conftest.$ac_objext conftest$ac_exeext
8539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8540 (eval $ac_link) 2>conftest.er1
8541 ac_status=$?
8542 grep -v '^ *+' conftest.er1 >conftest.err
8543 rm -f conftest.er1
8544 cat conftest.err >&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); } &&
8547 { ac_try='test -z "$ac_c_werror_flag"
8548 || test ! -s conftest.err'
8549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8550 (eval $ac_try) 2>&5
8551 ac_status=$?
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); }; } &&
8554 { ac_try='test -s conftest$ac_exeext'
8555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8556 (eval $ac_try) 2>&5
8557 ac_status=$?
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; }; then
8560 eval "$as_ac_var=yes"
8561 else
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.$ac_ext >&5
8565 eval "$as_ac_var=no"
8567 rm -f conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8572 if test `eval echo '${'$as_ac_var'}'` = yes; then
8573 cat >>confdefs.h <<_ACEOF
8574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8575 _ACEOF
8578 done
8580 else
8582 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8583 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8584 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8585 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8586 echo $ECHO_N "(cached) $ECHO_C" >&6
8587 else
8591 ac_ext=cc
8592 ac_cpp='$CXXCPP $CPPFLAGS'
8593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8597 cat >conftest.$ac_ext <<_ACEOF
8598 /* confdefs.h. */
8599 _ACEOF
8600 cat confdefs.h >>conftest.$ac_ext
8601 cat >>conftest.$ac_ext <<_ACEOF
8602 /* end confdefs.h. */
8603 #include <math.h>
8604 #ifdef HAVE_IEEEFP_H
8605 #include <ieeefp.h>
8606 #endif
8609 main ()
8611 _isinf(0);
8613 return 0;
8615 _ACEOF
8616 rm -f conftest.$ac_objext
8617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8618 (eval $ac_compile) 2>conftest.er1
8619 ac_status=$?
8620 grep -v '^ *+' conftest.er1 >conftest.err
8621 rm -f conftest.er1
8622 cat conftest.err >&5
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); } &&
8625 { ac_try='test -z "$ac_cxx_werror_flag"
8626 || test ! -s conftest.err'
8627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8628 (eval $ac_try) 2>&5
8629 ac_status=$?
8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 (exit $ac_status); }; } &&
8632 { ac_try='test -s conftest.$ac_objext'
8633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8634 (eval $ac_try) 2>&5
8635 ac_status=$?
8636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637 (exit $ac_status); }; }; then
8638 glibcxx_cv_func__isinf_use=yes
8639 else
8640 echo "$as_me: failed program was:" >&5
8641 sed 's/^/| /' conftest.$ac_ext >&5
8643 glibcxx_cv_func__isinf_use=no
8645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8646 ac_ext=c
8647 ac_cpp='$CPP $CPPFLAGS'
8648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8656 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8657 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8659 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8661 for ac_func in _isinf
8663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8664 echo "$as_me:$LINENO: checking for $ac_func" >&5
8665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8666 if eval "test \"\${$as_ac_var+set}\" = set"; then
8667 echo $ECHO_N "(cached) $ECHO_C" >&6
8668 else
8669 if test x$gcc_no_link = xyes; then
8670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8672 { (exit 1); exit 1; }; }
8674 cat >conftest.$ac_ext <<_ACEOF
8675 /* confdefs.h. */
8676 _ACEOF
8677 cat confdefs.h >>conftest.$ac_ext
8678 cat >>conftest.$ac_ext <<_ACEOF
8679 /* end confdefs.h. */
8680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8682 #define $ac_func innocuous_$ac_func
8684 /* System header to define __stub macros and hopefully few prototypes,
8685 which can conflict with char $ac_func (); below.
8686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8687 <limits.h> exists even on freestanding compilers. */
8689 #ifdef __STDC__
8690 # include <limits.h>
8691 #else
8692 # include <assert.h>
8693 #endif
8695 #undef $ac_func
8697 /* Override any gcc2 internal prototype to avoid an error. */
8698 #ifdef __cplusplus
8699 extern "C"
8701 #endif
8702 /* We use char because int might match the return type of a gcc2
8703 builtin and then its argument prototype would still apply. */
8704 char $ac_func ();
8705 /* The GNU C library defines this for functions which it implements
8706 to always fail with ENOSYS. Some functions are actually named
8707 something starting with __ and the normal name is an alias. */
8708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8709 choke me
8710 #else
8711 char (*f) () = $ac_func;
8712 #endif
8713 #ifdef __cplusplus
8715 #endif
8718 main ()
8720 return f != $ac_func;
8722 return 0;
8724 _ACEOF
8725 rm -f conftest.$ac_objext conftest$ac_exeext
8726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8727 (eval $ac_link) 2>conftest.er1
8728 ac_status=$?
8729 grep -v '^ *+' conftest.er1 >conftest.err
8730 rm -f conftest.er1
8731 cat conftest.err >&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); } &&
8734 { ac_try='test -z "$ac_c_werror_flag"
8735 || test ! -s conftest.err'
8736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8737 (eval $ac_try) 2>&5
8738 ac_status=$?
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); }; } &&
8741 { ac_try='test -s conftest$ac_exeext'
8742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8743 (eval $ac_try) 2>&5
8744 ac_status=$?
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); }; }; then
8747 eval "$as_ac_var=yes"
8748 else
8749 echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.$ac_ext >&5
8752 eval "$as_ac_var=no"
8754 rm -f conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8759 if test `eval echo '${'$as_ac_var'}'` = yes; then
8760 cat >>confdefs.h <<_ACEOF
8761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8762 _ACEOF
8765 done
8775 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8776 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8777 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8778 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8779 echo $ECHO_N "(cached) $ECHO_C" >&6
8780 else
8784 ac_ext=cc
8785 ac_cpp='$CXXCPP $CPPFLAGS'
8786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8790 cat >conftest.$ac_ext <<_ACEOF
8791 /* confdefs.h. */
8792 _ACEOF
8793 cat confdefs.h >>conftest.$ac_ext
8794 cat >>conftest.$ac_ext <<_ACEOF
8795 /* end confdefs.h. */
8796 #include <math.h>
8797 #ifdef HAVE_IEEEFP_H
8798 #include <ieeefp.h>
8799 #endif
8802 main ()
8804 isnan(0);
8806 return 0;
8808 _ACEOF
8809 rm -f conftest.$ac_objext
8810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8811 (eval $ac_compile) 2>conftest.er1
8812 ac_status=$?
8813 grep -v '^ *+' conftest.er1 >conftest.err
8814 rm -f conftest.er1
8815 cat conftest.err >&5
8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817 (exit $ac_status); } &&
8818 { ac_try='test -z "$ac_cxx_werror_flag"
8819 || test ! -s conftest.err'
8820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8821 (eval $ac_try) 2>&5
8822 ac_status=$?
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); }; } &&
8825 { ac_try='test -s conftest.$ac_objext'
8826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8827 (eval $ac_try) 2>&5
8828 ac_status=$?
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); }; }; then
8831 glibcxx_cv_func_isnan_use=yes
8832 else
8833 echo "$as_me: failed program was:" >&5
8834 sed 's/^/| /' conftest.$ac_ext >&5
8836 glibcxx_cv_func_isnan_use=no
8838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8839 ac_ext=c
8840 ac_cpp='$CPP $CPPFLAGS'
8841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8849 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8850 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8852 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8854 for ac_func in isnan
8856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8857 echo "$as_me:$LINENO: checking for $ac_func" >&5
8858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8859 if eval "test \"\${$as_ac_var+set}\" = set"; then
8860 echo $ECHO_N "(cached) $ECHO_C" >&6
8861 else
8862 if test x$gcc_no_link = xyes; then
8863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8865 { (exit 1); exit 1; }; }
8867 cat >conftest.$ac_ext <<_ACEOF
8868 /* confdefs.h. */
8869 _ACEOF
8870 cat confdefs.h >>conftest.$ac_ext
8871 cat >>conftest.$ac_ext <<_ACEOF
8872 /* end confdefs.h. */
8873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8875 #define $ac_func innocuous_$ac_func
8877 /* System header to define __stub macros and hopefully few prototypes,
8878 which can conflict with char $ac_func (); below.
8879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8880 <limits.h> exists even on freestanding compilers. */
8882 #ifdef __STDC__
8883 # include <limits.h>
8884 #else
8885 # include <assert.h>
8886 #endif
8888 #undef $ac_func
8890 /* Override any gcc2 internal prototype to avoid an error. */
8891 #ifdef __cplusplus
8892 extern "C"
8894 #endif
8895 /* We use char because int might match the return type of a gcc2
8896 builtin and then its argument prototype would still apply. */
8897 char $ac_func ();
8898 /* The GNU C library defines this for functions which it implements
8899 to always fail with ENOSYS. Some functions are actually named
8900 something starting with __ and the normal name is an alias. */
8901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8902 choke me
8903 #else
8904 char (*f) () = $ac_func;
8905 #endif
8906 #ifdef __cplusplus
8908 #endif
8911 main ()
8913 return f != $ac_func;
8915 return 0;
8917 _ACEOF
8918 rm -f conftest.$ac_objext conftest$ac_exeext
8919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8920 (eval $ac_link) 2>conftest.er1
8921 ac_status=$?
8922 grep -v '^ *+' conftest.er1 >conftest.err
8923 rm -f conftest.er1
8924 cat conftest.err >&5
8925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 (exit $ac_status); } &&
8927 { ac_try='test -z "$ac_c_werror_flag"
8928 || test ! -s conftest.err'
8929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8930 (eval $ac_try) 2>&5
8931 ac_status=$?
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); }; } &&
8934 { ac_try='test -s conftest$ac_exeext'
8935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8936 (eval $ac_try) 2>&5
8937 ac_status=$?
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); }; }; then
8940 eval "$as_ac_var=yes"
8941 else
8942 echo "$as_me: failed program was:" >&5
8943 sed 's/^/| /' conftest.$ac_ext >&5
8945 eval "$as_ac_var=no"
8947 rm -f conftest.err conftest.$ac_objext \
8948 conftest$ac_exeext conftest.$ac_ext
8950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8952 if test `eval echo '${'$as_ac_var'}'` = yes; then
8953 cat >>confdefs.h <<_ACEOF
8954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8955 _ACEOF
8958 done
8960 else
8962 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8963 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8964 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8965 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8966 echo $ECHO_N "(cached) $ECHO_C" >&6
8967 else
8971 ac_ext=cc
8972 ac_cpp='$CXXCPP $CPPFLAGS'
8973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8977 cat >conftest.$ac_ext <<_ACEOF
8978 /* confdefs.h. */
8979 _ACEOF
8980 cat confdefs.h >>conftest.$ac_ext
8981 cat >>conftest.$ac_ext <<_ACEOF
8982 /* end confdefs.h. */
8983 #include <math.h>
8984 #ifdef HAVE_IEEEFP_H
8985 #include <ieeefp.h>
8986 #endif
8989 main ()
8991 _isnan(0);
8993 return 0;
8995 _ACEOF
8996 rm -f conftest.$ac_objext
8997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8998 (eval $ac_compile) 2>conftest.er1
8999 ac_status=$?
9000 grep -v '^ *+' conftest.er1 >conftest.err
9001 rm -f conftest.er1
9002 cat conftest.err >&5
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 (exit $ac_status); } &&
9005 { ac_try='test -z "$ac_cxx_werror_flag"
9006 || test ! -s conftest.err'
9007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9008 (eval $ac_try) 2>&5
9009 ac_status=$?
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); }; } &&
9012 { ac_try='test -s conftest.$ac_objext'
9013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9014 (eval $ac_try) 2>&5
9015 ac_status=$?
9016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017 (exit $ac_status); }; }; then
9018 glibcxx_cv_func__isnan_use=yes
9019 else
9020 echo "$as_me: failed program was:" >&5
9021 sed 's/^/| /' conftest.$ac_ext >&5
9023 glibcxx_cv_func__isnan_use=no
9025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9026 ac_ext=c
9027 ac_cpp='$CPP $CPPFLAGS'
9028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9036 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9037 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9039 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9041 for ac_func in _isnan
9043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9044 echo "$as_me:$LINENO: checking for $ac_func" >&5
9045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9046 if eval "test \"\${$as_ac_var+set}\" = set"; then
9047 echo $ECHO_N "(cached) $ECHO_C" >&6
9048 else
9049 if test x$gcc_no_link = xyes; then
9050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9052 { (exit 1); exit 1; }; }
9054 cat >conftest.$ac_ext <<_ACEOF
9055 /* confdefs.h. */
9056 _ACEOF
9057 cat confdefs.h >>conftest.$ac_ext
9058 cat >>conftest.$ac_ext <<_ACEOF
9059 /* end confdefs.h. */
9060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9062 #define $ac_func innocuous_$ac_func
9064 /* System header to define __stub macros and hopefully few prototypes,
9065 which can conflict with char $ac_func (); below.
9066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9067 <limits.h> exists even on freestanding compilers. */
9069 #ifdef __STDC__
9070 # include <limits.h>
9071 #else
9072 # include <assert.h>
9073 #endif
9075 #undef $ac_func
9077 /* Override any gcc2 internal prototype to avoid an error. */
9078 #ifdef __cplusplus
9079 extern "C"
9081 #endif
9082 /* We use char because int might match the return type of a gcc2
9083 builtin and then its argument prototype would still apply. */
9084 char $ac_func ();
9085 /* The GNU C library defines this for functions which it implements
9086 to always fail with ENOSYS. Some functions are actually named
9087 something starting with __ and the normal name is an alias. */
9088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9089 choke me
9090 #else
9091 char (*f) () = $ac_func;
9092 #endif
9093 #ifdef __cplusplus
9095 #endif
9098 main ()
9100 return f != $ac_func;
9102 return 0;
9104 _ACEOF
9105 rm -f conftest.$ac_objext conftest$ac_exeext
9106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9107 (eval $ac_link) 2>conftest.er1
9108 ac_status=$?
9109 grep -v '^ *+' conftest.er1 >conftest.err
9110 rm -f conftest.er1
9111 cat conftest.err >&5
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 (exit $ac_status); } &&
9114 { ac_try='test -z "$ac_c_werror_flag"
9115 || test ! -s conftest.err'
9116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9117 (eval $ac_try) 2>&5
9118 ac_status=$?
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); }; } &&
9121 { ac_try='test -s conftest$ac_exeext'
9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123 (eval $ac_try) 2>&5
9124 ac_status=$?
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); }; }; then
9127 eval "$as_ac_var=yes"
9128 else
9129 echo "$as_me: failed program was:" >&5
9130 sed 's/^/| /' conftest.$ac_ext >&5
9132 eval "$as_ac_var=no"
9134 rm -f conftest.err conftest.$ac_objext \
9135 conftest$ac_exeext conftest.$ac_ext
9137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9139 if test `eval echo '${'$as_ac_var'}'` = yes; then
9140 cat >>confdefs.h <<_ACEOF
9141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9142 _ACEOF
9145 done
9155 echo "$as_me:$LINENO: checking for finite declaration" >&5
9156 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9157 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9158 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9159 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 else
9164 ac_ext=cc
9165 ac_cpp='$CXXCPP $CPPFLAGS'
9166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9170 cat >conftest.$ac_ext <<_ACEOF
9171 /* confdefs.h. */
9172 _ACEOF
9173 cat confdefs.h >>conftest.$ac_ext
9174 cat >>conftest.$ac_ext <<_ACEOF
9175 /* end confdefs.h. */
9176 #include <math.h>
9177 #ifdef HAVE_IEEEFP_H
9178 #include <ieeefp.h>
9179 #endif
9182 main ()
9184 finite(0);
9186 return 0;
9188 _ACEOF
9189 rm -f conftest.$ac_objext
9190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9191 (eval $ac_compile) 2>conftest.er1
9192 ac_status=$?
9193 grep -v '^ *+' conftest.er1 >conftest.err
9194 rm -f conftest.er1
9195 cat conftest.err >&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); } &&
9198 { ac_try='test -z "$ac_cxx_werror_flag"
9199 || test ! -s conftest.err'
9200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9201 (eval $ac_try) 2>&5
9202 ac_status=$?
9203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204 (exit $ac_status); }; } &&
9205 { ac_try='test -s conftest.$ac_objext'
9206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9207 (eval $ac_try) 2>&5
9208 ac_status=$?
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); }; }; then
9211 glibcxx_cv_func_finite_use=yes
9212 else
9213 echo "$as_me: failed program was:" >&5
9214 sed 's/^/| /' conftest.$ac_ext >&5
9216 glibcxx_cv_func_finite_use=no
9218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9219 ac_ext=c
9220 ac_cpp='$CPP $CPPFLAGS'
9221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9229 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9230 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9232 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9234 for ac_func in finite
9236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9237 echo "$as_me:$LINENO: checking for $ac_func" >&5
9238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9239 if eval "test \"\${$as_ac_var+set}\" = set"; then
9240 echo $ECHO_N "(cached) $ECHO_C" >&6
9241 else
9242 if test x$gcc_no_link = xyes; then
9243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9245 { (exit 1); exit 1; }; }
9247 cat >conftest.$ac_ext <<_ACEOF
9248 /* confdefs.h. */
9249 _ACEOF
9250 cat confdefs.h >>conftest.$ac_ext
9251 cat >>conftest.$ac_ext <<_ACEOF
9252 /* end confdefs.h. */
9253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9255 #define $ac_func innocuous_$ac_func
9257 /* System header to define __stub macros and hopefully few prototypes,
9258 which can conflict with char $ac_func (); below.
9259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9260 <limits.h> exists even on freestanding compilers. */
9262 #ifdef __STDC__
9263 # include <limits.h>
9264 #else
9265 # include <assert.h>
9266 #endif
9268 #undef $ac_func
9270 /* Override any gcc2 internal prototype to avoid an error. */
9271 #ifdef __cplusplus
9272 extern "C"
9274 #endif
9275 /* We use char because int might match the return type of a gcc2
9276 builtin and then its argument prototype would still apply. */
9277 char $ac_func ();
9278 /* The GNU C library defines this for functions which it implements
9279 to always fail with ENOSYS. Some functions are actually named
9280 something starting with __ and the normal name is an alias. */
9281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9282 choke me
9283 #else
9284 char (*f) () = $ac_func;
9285 #endif
9286 #ifdef __cplusplus
9288 #endif
9291 main ()
9293 return f != $ac_func;
9295 return 0;
9297 _ACEOF
9298 rm -f conftest.$ac_objext conftest$ac_exeext
9299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9300 (eval $ac_link) 2>conftest.er1
9301 ac_status=$?
9302 grep -v '^ *+' conftest.er1 >conftest.err
9303 rm -f conftest.er1
9304 cat conftest.err >&5
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); } &&
9307 { ac_try='test -z "$ac_c_werror_flag"
9308 || test ! -s conftest.err'
9309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9310 (eval $ac_try) 2>&5
9311 ac_status=$?
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); }; } &&
9314 { ac_try='test -s conftest$ac_exeext'
9315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9316 (eval $ac_try) 2>&5
9317 ac_status=$?
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); }; }; then
9320 eval "$as_ac_var=yes"
9321 else
9322 echo "$as_me: failed program was:" >&5
9323 sed 's/^/| /' conftest.$ac_ext >&5
9325 eval "$as_ac_var=no"
9327 rm -f conftest.err conftest.$ac_objext \
9328 conftest$ac_exeext conftest.$ac_ext
9330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9332 if test `eval echo '${'$as_ac_var'}'` = yes; then
9333 cat >>confdefs.h <<_ACEOF
9334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9335 _ACEOF
9338 done
9340 else
9342 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9343 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9344 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9345 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9346 echo $ECHO_N "(cached) $ECHO_C" >&6
9347 else
9351 ac_ext=cc
9352 ac_cpp='$CXXCPP $CPPFLAGS'
9353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9357 cat >conftest.$ac_ext <<_ACEOF
9358 /* confdefs.h. */
9359 _ACEOF
9360 cat confdefs.h >>conftest.$ac_ext
9361 cat >>conftest.$ac_ext <<_ACEOF
9362 /* end confdefs.h. */
9363 #include <math.h>
9364 #ifdef HAVE_IEEEFP_H
9365 #include <ieeefp.h>
9366 #endif
9369 main ()
9371 _finite(0);
9373 return 0;
9375 _ACEOF
9376 rm -f conftest.$ac_objext
9377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9378 (eval $ac_compile) 2>conftest.er1
9379 ac_status=$?
9380 grep -v '^ *+' conftest.er1 >conftest.err
9381 rm -f conftest.er1
9382 cat conftest.err >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); } &&
9385 { ac_try='test -z "$ac_cxx_werror_flag"
9386 || test ! -s conftest.err'
9387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9388 (eval $ac_try) 2>&5
9389 ac_status=$?
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); }; } &&
9392 { ac_try='test -s conftest.$ac_objext'
9393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9394 (eval $ac_try) 2>&5
9395 ac_status=$?
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); }; }; then
9398 glibcxx_cv_func__finite_use=yes
9399 else
9400 echo "$as_me: failed program was:" >&5
9401 sed 's/^/| /' conftest.$ac_ext >&5
9403 glibcxx_cv_func__finite_use=no
9405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9406 ac_ext=c
9407 ac_cpp='$CPP $CPPFLAGS'
9408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9417 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9419 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9421 for ac_func in _finite
9423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9424 echo "$as_me:$LINENO: checking for $ac_func" >&5
9425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9426 if eval "test \"\${$as_ac_var+set}\" = set"; then
9427 echo $ECHO_N "(cached) $ECHO_C" >&6
9428 else
9429 if test x$gcc_no_link = xyes; then
9430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9432 { (exit 1); exit 1; }; }
9434 cat >conftest.$ac_ext <<_ACEOF
9435 /* confdefs.h. */
9436 _ACEOF
9437 cat confdefs.h >>conftest.$ac_ext
9438 cat >>conftest.$ac_ext <<_ACEOF
9439 /* end confdefs.h. */
9440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9442 #define $ac_func innocuous_$ac_func
9444 /* System header to define __stub macros and hopefully few prototypes,
9445 which can conflict with char $ac_func (); below.
9446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9447 <limits.h> exists even on freestanding compilers. */
9449 #ifdef __STDC__
9450 # include <limits.h>
9451 #else
9452 # include <assert.h>
9453 #endif
9455 #undef $ac_func
9457 /* Override any gcc2 internal prototype to avoid an error. */
9458 #ifdef __cplusplus
9459 extern "C"
9461 #endif
9462 /* We use char because int might match the return type of a gcc2
9463 builtin and then its argument prototype would still apply. */
9464 char $ac_func ();
9465 /* The GNU C library defines this for functions which it implements
9466 to always fail with ENOSYS. Some functions are actually named
9467 something starting with __ and the normal name is an alias. */
9468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9469 choke me
9470 #else
9471 char (*f) () = $ac_func;
9472 #endif
9473 #ifdef __cplusplus
9475 #endif
9478 main ()
9480 return f != $ac_func;
9482 return 0;
9484 _ACEOF
9485 rm -f conftest.$ac_objext conftest$ac_exeext
9486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9487 (eval $ac_link) 2>conftest.er1
9488 ac_status=$?
9489 grep -v '^ *+' conftest.er1 >conftest.err
9490 rm -f conftest.er1
9491 cat conftest.err >&5
9492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493 (exit $ac_status); } &&
9494 { ac_try='test -z "$ac_c_werror_flag"
9495 || test ! -s conftest.err'
9496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9497 (eval $ac_try) 2>&5
9498 ac_status=$?
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); }; } &&
9501 { ac_try='test -s conftest$ac_exeext'
9502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9503 (eval $ac_try) 2>&5
9504 ac_status=$?
9505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); }; }; then
9507 eval "$as_ac_var=yes"
9508 else
9509 echo "$as_me: failed program was:" >&5
9510 sed 's/^/| /' conftest.$ac_ext >&5
9512 eval "$as_ac_var=no"
9514 rm -f conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9519 if test `eval echo '${'$as_ac_var'}'` = yes; then
9520 cat >>confdefs.h <<_ACEOF
9521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9522 _ACEOF
9525 done
9535 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9536 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9537 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9538 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9539 echo $ECHO_N "(cached) $ECHO_C" >&6
9540 else
9544 ac_ext=cc
9545 ac_cpp='$CXXCPP $CPPFLAGS'
9546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9550 cat >conftest.$ac_ext <<_ACEOF
9551 /* confdefs.h. */
9552 _ACEOF
9553 cat confdefs.h >>conftest.$ac_ext
9554 cat >>conftest.$ac_ext <<_ACEOF
9555 /* end confdefs.h. */
9556 #include <math.h>
9558 main ()
9560 copysign(0, 0);
9562 return 0;
9564 _ACEOF
9565 rm -f conftest.$ac_objext
9566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9567 (eval $ac_compile) 2>conftest.er1
9568 ac_status=$?
9569 grep -v '^ *+' conftest.er1 >conftest.err
9570 rm -f conftest.er1
9571 cat conftest.err >&5
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 (exit $ac_status); } &&
9574 { ac_try='test -z "$ac_cxx_werror_flag"
9575 || test ! -s conftest.err'
9576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9577 (eval $ac_try) 2>&5
9578 ac_status=$?
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); }; } &&
9581 { ac_try='test -s conftest.$ac_objext'
9582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9583 (eval $ac_try) 2>&5
9584 ac_status=$?
9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586 (exit $ac_status); }; }; then
9587 glibcxx_cv_func_copysign_use=yes
9588 else
9589 echo "$as_me: failed program was:" >&5
9590 sed 's/^/| /' conftest.$ac_ext >&5
9592 glibcxx_cv_func_copysign_use=no
9594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9595 ac_ext=c
9596 ac_cpp='$CPP $CPPFLAGS'
9597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9605 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9606 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9608 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9610 for ac_func in copysign
9612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9613 echo "$as_me:$LINENO: checking for $ac_func" >&5
9614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9615 if eval "test \"\${$as_ac_var+set}\" = set"; then
9616 echo $ECHO_N "(cached) $ECHO_C" >&6
9617 else
9618 if test x$gcc_no_link = xyes; then
9619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9621 { (exit 1); exit 1; }; }
9623 cat >conftest.$ac_ext <<_ACEOF
9624 /* confdefs.h. */
9625 _ACEOF
9626 cat confdefs.h >>conftest.$ac_ext
9627 cat >>conftest.$ac_ext <<_ACEOF
9628 /* end confdefs.h. */
9629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9631 #define $ac_func innocuous_$ac_func
9633 /* System header to define __stub macros and hopefully few prototypes,
9634 which can conflict with char $ac_func (); below.
9635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9636 <limits.h> exists even on freestanding compilers. */
9638 #ifdef __STDC__
9639 # include <limits.h>
9640 #else
9641 # include <assert.h>
9642 #endif
9644 #undef $ac_func
9646 /* Override any gcc2 internal prototype to avoid an error. */
9647 #ifdef __cplusplus
9648 extern "C"
9650 #endif
9651 /* We use char because int might match the return type of a gcc2
9652 builtin and then its argument prototype would still apply. */
9653 char $ac_func ();
9654 /* The GNU C library defines this for functions which it implements
9655 to always fail with ENOSYS. Some functions are actually named
9656 something starting with __ and the normal name is an alias. */
9657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9658 choke me
9659 #else
9660 char (*f) () = $ac_func;
9661 #endif
9662 #ifdef __cplusplus
9664 #endif
9667 main ()
9669 return f != $ac_func;
9671 return 0;
9673 _ACEOF
9674 rm -f conftest.$ac_objext conftest$ac_exeext
9675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9676 (eval $ac_link) 2>conftest.er1
9677 ac_status=$?
9678 grep -v '^ *+' conftest.er1 >conftest.err
9679 rm -f conftest.er1
9680 cat conftest.err >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } &&
9683 { ac_try='test -z "$ac_c_werror_flag"
9684 || test ! -s conftest.err'
9685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9686 (eval $ac_try) 2>&5
9687 ac_status=$?
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); }; } &&
9690 { ac_try='test -s conftest$ac_exeext'
9691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9692 (eval $ac_try) 2>&5
9693 ac_status=$?
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; }; then
9696 eval "$as_ac_var=yes"
9697 else
9698 echo "$as_me: failed program was:" >&5
9699 sed 's/^/| /' conftest.$ac_ext >&5
9701 eval "$as_ac_var=no"
9703 rm -f conftest.err conftest.$ac_objext \
9704 conftest$ac_exeext conftest.$ac_ext
9706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9708 if test `eval echo '${'$as_ac_var'}'` = yes; then
9709 cat >>confdefs.h <<_ACEOF
9710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9711 _ACEOF
9714 done
9716 else
9718 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9719 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9720 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9721 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 else
9727 ac_ext=cc
9728 ac_cpp='$CXXCPP $CPPFLAGS'
9729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9733 cat >conftest.$ac_ext <<_ACEOF
9734 /* confdefs.h. */
9735 _ACEOF
9736 cat confdefs.h >>conftest.$ac_ext
9737 cat >>conftest.$ac_ext <<_ACEOF
9738 /* end confdefs.h. */
9739 #include <math.h>
9741 main ()
9743 _copysign(0, 0);
9745 return 0;
9747 _ACEOF
9748 rm -f conftest.$ac_objext
9749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9750 (eval $ac_compile) 2>conftest.er1
9751 ac_status=$?
9752 grep -v '^ *+' conftest.er1 >conftest.err
9753 rm -f conftest.er1
9754 cat conftest.err >&5
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); } &&
9757 { ac_try='test -z "$ac_cxx_werror_flag"
9758 || test ! -s conftest.err'
9759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9760 (eval $ac_try) 2>&5
9761 ac_status=$?
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); }; } &&
9764 { ac_try='test -s conftest.$ac_objext'
9765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9766 (eval $ac_try) 2>&5
9767 ac_status=$?
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); }; }; then
9770 glibcxx_cv_func__copysign_use=yes
9771 else
9772 echo "$as_me: failed program was:" >&5
9773 sed 's/^/| /' conftest.$ac_ext >&5
9775 glibcxx_cv_func__copysign_use=no
9777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9778 ac_ext=c
9779 ac_cpp='$CPP $CPPFLAGS'
9780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9788 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9789 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9791 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9793 for ac_func in _copysign
9795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9796 echo "$as_me:$LINENO: checking for $ac_func" >&5
9797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9798 if eval "test \"\${$as_ac_var+set}\" = set"; then
9799 echo $ECHO_N "(cached) $ECHO_C" >&6
9800 else
9801 if test x$gcc_no_link = xyes; then
9802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9804 { (exit 1); exit 1; }; }
9806 cat >conftest.$ac_ext <<_ACEOF
9807 /* confdefs.h. */
9808 _ACEOF
9809 cat confdefs.h >>conftest.$ac_ext
9810 cat >>conftest.$ac_ext <<_ACEOF
9811 /* end confdefs.h. */
9812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9814 #define $ac_func innocuous_$ac_func
9816 /* System header to define __stub macros and hopefully few prototypes,
9817 which can conflict with char $ac_func (); below.
9818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9819 <limits.h> exists even on freestanding compilers. */
9821 #ifdef __STDC__
9822 # include <limits.h>
9823 #else
9824 # include <assert.h>
9825 #endif
9827 #undef $ac_func
9829 /* Override any gcc2 internal prototype to avoid an error. */
9830 #ifdef __cplusplus
9831 extern "C"
9833 #endif
9834 /* We use char because int might match the return type of a gcc2
9835 builtin and then its argument prototype would still apply. */
9836 char $ac_func ();
9837 /* The GNU C library defines this for functions which it implements
9838 to always fail with ENOSYS. Some functions are actually named
9839 something starting with __ and the normal name is an alias. */
9840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9841 choke me
9842 #else
9843 char (*f) () = $ac_func;
9844 #endif
9845 #ifdef __cplusplus
9847 #endif
9850 main ()
9852 return f != $ac_func;
9854 return 0;
9856 _ACEOF
9857 rm -f conftest.$ac_objext conftest$ac_exeext
9858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9859 (eval $ac_link) 2>conftest.er1
9860 ac_status=$?
9861 grep -v '^ *+' conftest.er1 >conftest.err
9862 rm -f conftest.er1
9863 cat conftest.err >&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } &&
9866 { ac_try='test -z "$ac_c_werror_flag"
9867 || test ! -s conftest.err'
9868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9869 (eval $ac_try) 2>&5
9870 ac_status=$?
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); }; } &&
9873 { ac_try='test -s conftest$ac_exeext'
9874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9875 (eval $ac_try) 2>&5
9876 ac_status=$?
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; }; then
9879 eval "$as_ac_var=yes"
9880 else
9881 echo "$as_me: failed program was:" >&5
9882 sed 's/^/| /' conftest.$ac_ext >&5
9884 eval "$as_ac_var=no"
9886 rm -f conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9891 if test `eval echo '${'$as_ac_var'}'` = yes; then
9892 cat >>confdefs.h <<_ACEOF
9893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9894 _ACEOF
9897 done
9907 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9908 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9909 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9910 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9911 echo $ECHO_N "(cached) $ECHO_C" >&6
9912 else
9916 ac_ext=cc
9917 ac_cpp='$CXXCPP $CPPFLAGS'
9918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9922 cat >conftest.$ac_ext <<_ACEOF
9923 /* confdefs.h. */
9924 _ACEOF
9925 cat confdefs.h >>conftest.$ac_ext
9926 cat >>conftest.$ac_ext <<_ACEOF
9927 /* end confdefs.h. */
9928 #include <math.h>
9930 main ()
9932 sincos(0, 0, 0);
9934 return 0;
9936 _ACEOF
9937 rm -f conftest.$ac_objext
9938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9939 (eval $ac_compile) 2>conftest.er1
9940 ac_status=$?
9941 grep -v '^ *+' conftest.er1 >conftest.err
9942 rm -f conftest.er1
9943 cat conftest.err >&5
9944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945 (exit $ac_status); } &&
9946 { ac_try='test -z "$ac_cxx_werror_flag"
9947 || test ! -s conftest.err'
9948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9949 (eval $ac_try) 2>&5
9950 ac_status=$?
9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 (exit $ac_status); }; } &&
9953 { ac_try='test -s conftest.$ac_objext'
9954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9955 (eval $ac_try) 2>&5
9956 ac_status=$?
9957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9958 (exit $ac_status); }; }; then
9959 glibcxx_cv_func_sincos_use=yes
9960 else
9961 echo "$as_me: failed program was:" >&5
9962 sed 's/^/| /' conftest.$ac_ext >&5
9964 glibcxx_cv_func_sincos_use=no
9966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9967 ac_ext=c
9968 ac_cpp='$CPP $CPPFLAGS'
9969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9978 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9980 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9982 for ac_func in sincos
9984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9985 echo "$as_me:$LINENO: checking for $ac_func" >&5
9986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9987 if eval "test \"\${$as_ac_var+set}\" = set"; then
9988 echo $ECHO_N "(cached) $ECHO_C" >&6
9989 else
9990 if test x$gcc_no_link = xyes; then
9991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9993 { (exit 1); exit 1; }; }
9995 cat >conftest.$ac_ext <<_ACEOF
9996 /* confdefs.h. */
9997 _ACEOF
9998 cat confdefs.h >>conftest.$ac_ext
9999 cat >>conftest.$ac_ext <<_ACEOF
10000 /* end confdefs.h. */
10001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10003 #define $ac_func innocuous_$ac_func
10005 /* System header to define __stub macros and hopefully few prototypes,
10006 which can conflict with char $ac_func (); below.
10007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10008 <limits.h> exists even on freestanding compilers. */
10010 #ifdef __STDC__
10011 # include <limits.h>
10012 #else
10013 # include <assert.h>
10014 #endif
10016 #undef $ac_func
10018 /* Override any gcc2 internal prototype to avoid an error. */
10019 #ifdef __cplusplus
10020 extern "C"
10022 #endif
10023 /* We use char because int might match the return type of a gcc2
10024 builtin and then its argument prototype would still apply. */
10025 char $ac_func ();
10026 /* The GNU C library defines this for functions which it implements
10027 to always fail with ENOSYS. Some functions are actually named
10028 something starting with __ and the normal name is an alias. */
10029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10030 choke me
10031 #else
10032 char (*f) () = $ac_func;
10033 #endif
10034 #ifdef __cplusplus
10036 #endif
10039 main ()
10041 return f != $ac_func;
10043 return 0;
10045 _ACEOF
10046 rm -f conftest.$ac_objext conftest$ac_exeext
10047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10048 (eval $ac_link) 2>conftest.er1
10049 ac_status=$?
10050 grep -v '^ *+' conftest.er1 >conftest.err
10051 rm -f conftest.er1
10052 cat conftest.err >&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } &&
10055 { ac_try='test -z "$ac_c_werror_flag"
10056 || test ! -s conftest.err'
10057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10058 (eval $ac_try) 2>&5
10059 ac_status=$?
10060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); }; } &&
10062 { ac_try='test -s conftest$ac_exeext'
10063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10064 (eval $ac_try) 2>&5
10065 ac_status=$?
10066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067 (exit $ac_status); }; }; then
10068 eval "$as_ac_var=yes"
10069 else
10070 echo "$as_me: failed program was:" >&5
10071 sed 's/^/| /' conftest.$ac_ext >&5
10073 eval "$as_ac_var=no"
10075 rm -f conftest.err conftest.$ac_objext \
10076 conftest$ac_exeext conftest.$ac_ext
10078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10080 if test `eval echo '${'$as_ac_var'}'` = yes; then
10081 cat >>confdefs.h <<_ACEOF
10082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10083 _ACEOF
10086 done
10088 else
10090 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10091 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10092 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10093 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6
10095 else
10099 ac_ext=cc
10100 ac_cpp='$CXXCPP $CPPFLAGS'
10101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10105 cat >conftest.$ac_ext <<_ACEOF
10106 /* confdefs.h. */
10107 _ACEOF
10108 cat confdefs.h >>conftest.$ac_ext
10109 cat >>conftest.$ac_ext <<_ACEOF
10110 /* end confdefs.h. */
10111 #include <math.h>
10113 main ()
10115 _sincos(0, 0, 0);
10117 return 0;
10119 _ACEOF
10120 rm -f conftest.$ac_objext
10121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10122 (eval $ac_compile) 2>conftest.er1
10123 ac_status=$?
10124 grep -v '^ *+' conftest.er1 >conftest.err
10125 rm -f conftest.er1
10126 cat conftest.err >&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); } &&
10129 { ac_try='test -z "$ac_cxx_werror_flag"
10130 || test ! -s conftest.err'
10131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10132 (eval $ac_try) 2>&5
10133 ac_status=$?
10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); }; } &&
10136 { ac_try='test -s conftest.$ac_objext'
10137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10138 (eval $ac_try) 2>&5
10139 ac_status=$?
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); }; }; then
10142 glibcxx_cv_func__sincos_use=yes
10143 else
10144 echo "$as_me: failed program was:" >&5
10145 sed 's/^/| /' conftest.$ac_ext >&5
10147 glibcxx_cv_func__sincos_use=no
10149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10150 ac_ext=c
10151 ac_cpp='$CPP $CPPFLAGS'
10152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10160 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10161 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10163 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10165 for ac_func in _sincos
10167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10168 echo "$as_me:$LINENO: checking for $ac_func" >&5
10169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10170 if eval "test \"\${$as_ac_var+set}\" = set"; then
10171 echo $ECHO_N "(cached) $ECHO_C" >&6
10172 else
10173 if test x$gcc_no_link = xyes; then
10174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10176 { (exit 1); exit 1; }; }
10178 cat >conftest.$ac_ext <<_ACEOF
10179 /* confdefs.h. */
10180 _ACEOF
10181 cat confdefs.h >>conftest.$ac_ext
10182 cat >>conftest.$ac_ext <<_ACEOF
10183 /* end confdefs.h. */
10184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10186 #define $ac_func innocuous_$ac_func
10188 /* System header to define __stub macros and hopefully few prototypes,
10189 which can conflict with char $ac_func (); below.
10190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10191 <limits.h> exists even on freestanding compilers. */
10193 #ifdef __STDC__
10194 # include <limits.h>
10195 #else
10196 # include <assert.h>
10197 #endif
10199 #undef $ac_func
10201 /* Override any gcc2 internal prototype to avoid an error. */
10202 #ifdef __cplusplus
10203 extern "C"
10205 #endif
10206 /* We use char because int might match the return type of a gcc2
10207 builtin and then its argument prototype would still apply. */
10208 char $ac_func ();
10209 /* The GNU C library defines this for functions which it implements
10210 to always fail with ENOSYS. Some functions are actually named
10211 something starting with __ and the normal name is an alias. */
10212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10213 choke me
10214 #else
10215 char (*f) () = $ac_func;
10216 #endif
10217 #ifdef __cplusplus
10219 #endif
10222 main ()
10224 return f != $ac_func;
10226 return 0;
10228 _ACEOF
10229 rm -f conftest.$ac_objext conftest$ac_exeext
10230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10231 (eval $ac_link) 2>conftest.er1
10232 ac_status=$?
10233 grep -v '^ *+' conftest.er1 >conftest.err
10234 rm -f conftest.er1
10235 cat conftest.err >&5
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); } &&
10238 { ac_try='test -z "$ac_c_werror_flag"
10239 || test ! -s conftest.err'
10240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10241 (eval $ac_try) 2>&5
10242 ac_status=$?
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); }; } &&
10245 { ac_try='test -s conftest$ac_exeext'
10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10247 (eval $ac_try) 2>&5
10248 ac_status=$?
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); }; }; then
10251 eval "$as_ac_var=yes"
10252 else
10253 echo "$as_me: failed program was:" >&5
10254 sed 's/^/| /' conftest.$ac_ext >&5
10256 eval "$as_ac_var=no"
10258 rm -f conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10263 if test `eval echo '${'$as_ac_var'}'` = yes; then
10264 cat >>confdefs.h <<_ACEOF
10265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10266 _ACEOF
10269 done
10279 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10280 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10281 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10282 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10283 echo $ECHO_N "(cached) $ECHO_C" >&6
10284 else
10288 ac_ext=cc
10289 ac_cpp='$CXXCPP $CPPFLAGS'
10290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10294 cat >conftest.$ac_ext <<_ACEOF
10295 /* confdefs.h. */
10296 _ACEOF
10297 cat confdefs.h >>conftest.$ac_ext
10298 cat >>conftest.$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10300 #include <math.h>
10301 #ifdef HAVE_IEEEFP_H
10302 #include <ieeefp.h>
10303 #endif
10306 main ()
10308 fpclass(0);
10310 return 0;
10312 _ACEOF
10313 rm -f conftest.$ac_objext
10314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10315 (eval $ac_compile) 2>conftest.er1
10316 ac_status=$?
10317 grep -v '^ *+' conftest.er1 >conftest.err
10318 rm -f conftest.er1
10319 cat conftest.err >&5
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); } &&
10322 { ac_try='test -z "$ac_cxx_werror_flag"
10323 || test ! -s conftest.err'
10324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10325 (eval $ac_try) 2>&5
10326 ac_status=$?
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); }; } &&
10329 { ac_try='test -s conftest.$ac_objext'
10330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331 (eval $ac_try) 2>&5
10332 ac_status=$?
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); }; }; then
10335 glibcxx_cv_func_fpclass_use=yes
10336 else
10337 echo "$as_me: failed program was:" >&5
10338 sed 's/^/| /' conftest.$ac_ext >&5
10340 glibcxx_cv_func_fpclass_use=no
10342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10343 ac_ext=c
10344 ac_cpp='$CPP $CPPFLAGS'
10345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10354 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10356 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10358 for ac_func in fpclass
10360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10361 echo "$as_me:$LINENO: checking for $ac_func" >&5
10362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10363 if eval "test \"\${$as_ac_var+set}\" = set"; then
10364 echo $ECHO_N "(cached) $ECHO_C" >&6
10365 else
10366 if test x$gcc_no_link = xyes; then
10367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10369 { (exit 1); exit 1; }; }
10371 cat >conftest.$ac_ext <<_ACEOF
10372 /* confdefs.h. */
10373 _ACEOF
10374 cat confdefs.h >>conftest.$ac_ext
10375 cat >>conftest.$ac_ext <<_ACEOF
10376 /* end confdefs.h. */
10377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10379 #define $ac_func innocuous_$ac_func
10381 /* System header to define __stub macros and hopefully few prototypes,
10382 which can conflict with char $ac_func (); below.
10383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10384 <limits.h> exists even on freestanding compilers. */
10386 #ifdef __STDC__
10387 # include <limits.h>
10388 #else
10389 # include <assert.h>
10390 #endif
10392 #undef $ac_func
10394 /* Override any gcc2 internal prototype to avoid an error. */
10395 #ifdef __cplusplus
10396 extern "C"
10398 #endif
10399 /* We use char because int might match the return type of a gcc2
10400 builtin and then its argument prototype would still apply. */
10401 char $ac_func ();
10402 /* The GNU C library defines this for functions which it implements
10403 to always fail with ENOSYS. Some functions are actually named
10404 something starting with __ and the normal name is an alias. */
10405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10406 choke me
10407 #else
10408 char (*f) () = $ac_func;
10409 #endif
10410 #ifdef __cplusplus
10412 #endif
10415 main ()
10417 return f != $ac_func;
10419 return 0;
10421 _ACEOF
10422 rm -f conftest.$ac_objext conftest$ac_exeext
10423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10424 (eval $ac_link) 2>conftest.er1
10425 ac_status=$?
10426 grep -v '^ *+' conftest.er1 >conftest.err
10427 rm -f conftest.er1
10428 cat conftest.err >&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); } &&
10431 { ac_try='test -z "$ac_c_werror_flag"
10432 || test ! -s conftest.err'
10433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10434 (eval $ac_try) 2>&5
10435 ac_status=$?
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; } &&
10438 { ac_try='test -s conftest$ac_exeext'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10441 ac_status=$?
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; }; then
10444 eval "$as_ac_var=yes"
10445 else
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10449 eval "$as_ac_var=no"
10451 rm -f conftest.err conftest.$ac_objext \
10452 conftest$ac_exeext conftest.$ac_ext
10454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10456 if test `eval echo '${'$as_ac_var'}'` = yes; then
10457 cat >>confdefs.h <<_ACEOF
10458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10459 _ACEOF
10462 done
10464 else
10466 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10467 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10468 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10469 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10471 else
10475 ac_ext=cc
10476 ac_cpp='$CXXCPP $CPPFLAGS'
10477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10481 cat >conftest.$ac_ext <<_ACEOF
10482 /* confdefs.h. */
10483 _ACEOF
10484 cat confdefs.h >>conftest.$ac_ext
10485 cat >>conftest.$ac_ext <<_ACEOF
10486 /* end confdefs.h. */
10487 #include <math.h>
10488 #ifdef HAVE_IEEEFP_H
10489 #include <ieeefp.h>
10490 #endif
10493 main ()
10495 _fpclass(0);
10497 return 0;
10499 _ACEOF
10500 rm -f conftest.$ac_objext
10501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10502 (eval $ac_compile) 2>conftest.er1
10503 ac_status=$?
10504 grep -v '^ *+' conftest.er1 >conftest.err
10505 rm -f conftest.er1
10506 cat conftest.err >&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); } &&
10509 { ac_try='test -z "$ac_cxx_werror_flag"
10510 || test ! -s conftest.err'
10511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512 (eval $ac_try) 2>&5
10513 ac_status=$?
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; } &&
10516 { ac_try='test -s conftest.$ac_objext'
10517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10518 (eval $ac_try) 2>&5
10519 ac_status=$?
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); }; }; then
10522 glibcxx_cv_func__fpclass_use=yes
10523 else
10524 echo "$as_me: failed program was:" >&5
10525 sed 's/^/| /' conftest.$ac_ext >&5
10527 glibcxx_cv_func__fpclass_use=no
10529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10530 ac_ext=c
10531 ac_cpp='$CPP $CPPFLAGS'
10532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10540 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10541 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10543 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10545 for ac_func in _fpclass
10547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10548 echo "$as_me:$LINENO: checking for $ac_func" >&5
10549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10550 if eval "test \"\${$as_ac_var+set}\" = set"; then
10551 echo $ECHO_N "(cached) $ECHO_C" >&6
10552 else
10553 if test x$gcc_no_link = xyes; then
10554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10556 { (exit 1); exit 1; }; }
10558 cat >conftest.$ac_ext <<_ACEOF
10559 /* confdefs.h. */
10560 _ACEOF
10561 cat confdefs.h >>conftest.$ac_ext
10562 cat >>conftest.$ac_ext <<_ACEOF
10563 /* end confdefs.h. */
10564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10566 #define $ac_func innocuous_$ac_func
10568 /* System header to define __stub macros and hopefully few prototypes,
10569 which can conflict with char $ac_func (); below.
10570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10571 <limits.h> exists even on freestanding compilers. */
10573 #ifdef __STDC__
10574 # include <limits.h>
10575 #else
10576 # include <assert.h>
10577 #endif
10579 #undef $ac_func
10581 /* Override any gcc2 internal prototype to avoid an error. */
10582 #ifdef __cplusplus
10583 extern "C"
10585 #endif
10586 /* We use char because int might match the return type of a gcc2
10587 builtin and then its argument prototype would still apply. */
10588 char $ac_func ();
10589 /* The GNU C library defines this for functions which it implements
10590 to always fail with ENOSYS. Some functions are actually named
10591 something starting with __ and the normal name is an alias. */
10592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10593 choke me
10594 #else
10595 char (*f) () = $ac_func;
10596 #endif
10597 #ifdef __cplusplus
10599 #endif
10602 main ()
10604 return f != $ac_func;
10606 return 0;
10608 _ACEOF
10609 rm -f conftest.$ac_objext conftest$ac_exeext
10610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10611 (eval $ac_link) 2>conftest.er1
10612 ac_status=$?
10613 grep -v '^ *+' conftest.er1 >conftest.err
10614 rm -f conftest.er1
10615 cat conftest.err >&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); } &&
10618 { ac_try='test -z "$ac_c_werror_flag"
10619 || test ! -s conftest.err'
10620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10621 (eval $ac_try) 2>&5
10622 ac_status=$?
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); }; } &&
10625 { ac_try='test -s conftest$ac_exeext'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10628 ac_status=$?
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; }; then
10631 eval "$as_ac_var=yes"
10632 else
10633 echo "$as_me: failed program was:" >&5
10634 sed 's/^/| /' conftest.$ac_ext >&5
10636 eval "$as_ac_var=no"
10638 rm -f conftest.err conftest.$ac_objext \
10639 conftest$ac_exeext conftest.$ac_ext
10641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10643 if test `eval echo '${'$as_ac_var'}'` = yes; then
10644 cat >>confdefs.h <<_ACEOF
10645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10646 _ACEOF
10649 done
10659 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10660 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10661 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10662 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 else
10668 ac_ext=cc
10669 ac_cpp='$CXXCPP $CPPFLAGS'
10670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10674 cat >conftest.$ac_ext <<_ACEOF
10675 /* confdefs.h. */
10676 _ACEOF
10677 cat confdefs.h >>conftest.$ac_ext
10678 cat >>conftest.$ac_ext <<_ACEOF
10679 /* end confdefs.h. */
10680 #include <math.h>
10681 #ifdef HAVE_IEEEFP_H
10682 #include <ieeefp.h>
10683 #endif
10686 main ()
10688 qfpclass(0);
10690 return 0;
10692 _ACEOF
10693 rm -f conftest.$ac_objext
10694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10695 (eval $ac_compile) 2>conftest.er1
10696 ac_status=$?
10697 grep -v '^ *+' conftest.er1 >conftest.err
10698 rm -f conftest.er1
10699 cat conftest.err >&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); } &&
10702 { ac_try='test -z "$ac_cxx_werror_flag"
10703 || test ! -s conftest.err'
10704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10705 (eval $ac_try) 2>&5
10706 ac_status=$?
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); }; } &&
10709 { ac_try='test -s conftest.$ac_objext'
10710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5
10712 ac_status=$?
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; }; then
10715 glibcxx_cv_func_qfpclass_use=yes
10716 else
10717 echo "$as_me: failed program was:" >&5
10718 sed 's/^/| /' conftest.$ac_ext >&5
10720 glibcxx_cv_func_qfpclass_use=no
10722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10723 ac_ext=c
10724 ac_cpp='$CPP $CPPFLAGS'
10725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10734 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10736 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10738 for ac_func in qfpclass
10740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10741 echo "$as_me:$LINENO: checking for $ac_func" >&5
10742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10743 if eval "test \"\${$as_ac_var+set}\" = set"; then
10744 echo $ECHO_N "(cached) $ECHO_C" >&6
10745 else
10746 if test x$gcc_no_link = xyes; then
10747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10749 { (exit 1); exit 1; }; }
10751 cat >conftest.$ac_ext <<_ACEOF
10752 /* confdefs.h. */
10753 _ACEOF
10754 cat confdefs.h >>conftest.$ac_ext
10755 cat >>conftest.$ac_ext <<_ACEOF
10756 /* end confdefs.h. */
10757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10759 #define $ac_func innocuous_$ac_func
10761 /* System header to define __stub macros and hopefully few prototypes,
10762 which can conflict with char $ac_func (); below.
10763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10764 <limits.h> exists even on freestanding compilers. */
10766 #ifdef __STDC__
10767 # include <limits.h>
10768 #else
10769 # include <assert.h>
10770 #endif
10772 #undef $ac_func
10774 /* Override any gcc2 internal prototype to avoid an error. */
10775 #ifdef __cplusplus
10776 extern "C"
10778 #endif
10779 /* We use char because int might match the return type of a gcc2
10780 builtin and then its argument prototype would still apply. */
10781 char $ac_func ();
10782 /* The GNU C library defines this for functions which it implements
10783 to always fail with ENOSYS. Some functions are actually named
10784 something starting with __ and the normal name is an alias. */
10785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10786 choke me
10787 #else
10788 char (*f) () = $ac_func;
10789 #endif
10790 #ifdef __cplusplus
10792 #endif
10795 main ()
10797 return f != $ac_func;
10799 return 0;
10801 _ACEOF
10802 rm -f conftest.$ac_objext conftest$ac_exeext
10803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10804 (eval $ac_link) 2>conftest.er1
10805 ac_status=$?
10806 grep -v '^ *+' conftest.er1 >conftest.err
10807 rm -f conftest.er1
10808 cat conftest.err >&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); } &&
10811 { ac_try='test -z "$ac_c_werror_flag"
10812 || test ! -s conftest.err'
10813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10814 (eval $ac_try) 2>&5
10815 ac_status=$?
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); }; } &&
10818 { ac_try='test -s conftest$ac_exeext'
10819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10820 (eval $ac_try) 2>&5
10821 ac_status=$?
10822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823 (exit $ac_status); }; }; then
10824 eval "$as_ac_var=yes"
10825 else
10826 echo "$as_me: failed program was:" >&5
10827 sed 's/^/| /' conftest.$ac_ext >&5
10829 eval "$as_ac_var=no"
10831 rm -f conftest.err conftest.$ac_objext \
10832 conftest$ac_exeext conftest.$ac_ext
10834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10836 if test `eval echo '${'$as_ac_var'}'` = yes; then
10837 cat >>confdefs.h <<_ACEOF
10838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10839 _ACEOF
10842 done
10844 else
10846 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10847 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10848 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10849 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10850 echo $ECHO_N "(cached) $ECHO_C" >&6
10851 else
10855 ac_ext=cc
10856 ac_cpp='$CXXCPP $CPPFLAGS'
10857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10861 cat >conftest.$ac_ext <<_ACEOF
10862 /* confdefs.h. */
10863 _ACEOF
10864 cat confdefs.h >>conftest.$ac_ext
10865 cat >>conftest.$ac_ext <<_ACEOF
10866 /* end confdefs.h. */
10867 #include <math.h>
10868 #ifdef HAVE_IEEEFP_H
10869 #include <ieeefp.h>
10870 #endif
10873 main ()
10875 _qfpclass(0);
10877 return 0;
10879 _ACEOF
10880 rm -f conftest.$ac_objext
10881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10882 (eval $ac_compile) 2>conftest.er1
10883 ac_status=$?
10884 grep -v '^ *+' conftest.er1 >conftest.err
10885 rm -f conftest.er1
10886 cat conftest.err >&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); } &&
10889 { ac_try='test -z "$ac_cxx_werror_flag"
10890 || test ! -s conftest.err'
10891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10892 (eval $ac_try) 2>&5
10893 ac_status=$?
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); }; } &&
10896 { ac_try='test -s conftest.$ac_objext'
10897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10898 (eval $ac_try) 2>&5
10899 ac_status=$?
10900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10901 (exit $ac_status); }; }; then
10902 glibcxx_cv_func__qfpclass_use=yes
10903 else
10904 echo "$as_me: failed program was:" >&5
10905 sed 's/^/| /' conftest.$ac_ext >&5
10907 glibcxx_cv_func__qfpclass_use=no
10909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10910 ac_ext=c
10911 ac_cpp='$CPP $CPPFLAGS'
10912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10921 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10923 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10925 for ac_func in _qfpclass
10927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10928 echo "$as_me:$LINENO: checking for $ac_func" >&5
10929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10930 if eval "test \"\${$as_ac_var+set}\" = set"; then
10931 echo $ECHO_N "(cached) $ECHO_C" >&6
10932 else
10933 if test x$gcc_no_link = xyes; then
10934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10936 { (exit 1); exit 1; }; }
10938 cat >conftest.$ac_ext <<_ACEOF
10939 /* confdefs.h. */
10940 _ACEOF
10941 cat confdefs.h >>conftest.$ac_ext
10942 cat >>conftest.$ac_ext <<_ACEOF
10943 /* end confdefs.h. */
10944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10946 #define $ac_func innocuous_$ac_func
10948 /* System header to define __stub macros and hopefully few prototypes,
10949 which can conflict with char $ac_func (); below.
10950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10951 <limits.h> exists even on freestanding compilers. */
10953 #ifdef __STDC__
10954 # include <limits.h>
10955 #else
10956 # include <assert.h>
10957 #endif
10959 #undef $ac_func
10961 /* Override any gcc2 internal prototype to avoid an error. */
10962 #ifdef __cplusplus
10963 extern "C"
10965 #endif
10966 /* We use char because int might match the return type of a gcc2
10967 builtin and then its argument prototype would still apply. */
10968 char $ac_func ();
10969 /* The GNU C library defines this for functions which it implements
10970 to always fail with ENOSYS. Some functions are actually named
10971 something starting with __ and the normal name is an alias. */
10972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10973 choke me
10974 #else
10975 char (*f) () = $ac_func;
10976 #endif
10977 #ifdef __cplusplus
10979 #endif
10982 main ()
10984 return f != $ac_func;
10986 return 0;
10988 _ACEOF
10989 rm -f conftest.$ac_objext conftest$ac_exeext
10990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10991 (eval $ac_link) 2>conftest.er1
10992 ac_status=$?
10993 grep -v '^ *+' conftest.er1 >conftest.err
10994 rm -f conftest.er1
10995 cat conftest.err >&5
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); } &&
10998 { ac_try='test -z "$ac_c_werror_flag"
10999 || test ! -s conftest.err'
11000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11001 (eval $ac_try) 2>&5
11002 ac_status=$?
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); }; } &&
11005 { ac_try='test -s conftest$ac_exeext'
11006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11007 (eval $ac_try) 2>&5
11008 ac_status=$?
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); }; }; then
11011 eval "$as_ac_var=yes"
11012 else
11013 echo "$as_me: failed program was:" >&5
11014 sed 's/^/| /' conftest.$ac_ext >&5
11016 eval "$as_ac_var=no"
11018 rm -f conftest.err conftest.$ac_objext \
11019 conftest$ac_exeext conftest.$ac_ext
11021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11023 if test `eval echo '${'$as_ac_var'}'` = yes; then
11024 cat >>confdefs.h <<_ACEOF
11025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11026 _ACEOF
11029 done
11039 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11040 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11041 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11042 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11043 echo $ECHO_N "(cached) $ECHO_C" >&6
11044 else
11048 ac_ext=cc
11049 ac_cpp='$CXXCPP $CPPFLAGS'
11050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11054 cat >conftest.$ac_ext <<_ACEOF
11055 /* confdefs.h. */
11056 _ACEOF
11057 cat confdefs.h >>conftest.$ac_ext
11058 cat >>conftest.$ac_ext <<_ACEOF
11059 /* end confdefs.h. */
11060 #include <math.h>
11062 main ()
11064 hypot(0, 0);
11066 return 0;
11068 _ACEOF
11069 rm -f conftest.$ac_objext
11070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11071 (eval $ac_compile) 2>conftest.er1
11072 ac_status=$?
11073 grep -v '^ *+' conftest.er1 >conftest.err
11074 rm -f conftest.er1
11075 cat conftest.err >&5
11076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077 (exit $ac_status); } &&
11078 { ac_try='test -z "$ac_cxx_werror_flag"
11079 || test ! -s conftest.err'
11080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11081 (eval $ac_try) 2>&5
11082 ac_status=$?
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); }; } &&
11085 { ac_try='test -s conftest.$ac_objext'
11086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11087 (eval $ac_try) 2>&5
11088 ac_status=$?
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); }; }; then
11091 glibcxx_cv_func_hypot_use=yes
11092 else
11093 echo "$as_me: failed program was:" >&5
11094 sed 's/^/| /' conftest.$ac_ext >&5
11096 glibcxx_cv_func_hypot_use=no
11098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11099 ac_ext=c
11100 ac_cpp='$CPP $CPPFLAGS'
11101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11110 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11112 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11114 for ac_func in hypot
11116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11117 echo "$as_me:$LINENO: checking for $ac_func" >&5
11118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11119 if eval "test \"\${$as_ac_var+set}\" = set"; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 else
11122 if test x$gcc_no_link = xyes; then
11123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11125 { (exit 1); exit 1; }; }
11127 cat >conftest.$ac_ext <<_ACEOF
11128 /* confdefs.h. */
11129 _ACEOF
11130 cat confdefs.h >>conftest.$ac_ext
11131 cat >>conftest.$ac_ext <<_ACEOF
11132 /* end confdefs.h. */
11133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11135 #define $ac_func innocuous_$ac_func
11137 /* System header to define __stub macros and hopefully few prototypes,
11138 which can conflict with char $ac_func (); below.
11139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11140 <limits.h> exists even on freestanding compilers. */
11142 #ifdef __STDC__
11143 # include <limits.h>
11144 #else
11145 # include <assert.h>
11146 #endif
11148 #undef $ac_func
11150 /* Override any gcc2 internal prototype to avoid an error. */
11151 #ifdef __cplusplus
11152 extern "C"
11154 #endif
11155 /* We use char because int might match the return type of a gcc2
11156 builtin and then its argument prototype would still apply. */
11157 char $ac_func ();
11158 /* The GNU C library defines this for functions which it implements
11159 to always fail with ENOSYS. Some functions are actually named
11160 something starting with __ and the normal name is an alias. */
11161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11162 choke me
11163 #else
11164 char (*f) () = $ac_func;
11165 #endif
11166 #ifdef __cplusplus
11168 #endif
11171 main ()
11173 return f != $ac_func;
11175 return 0;
11177 _ACEOF
11178 rm -f conftest.$ac_objext conftest$ac_exeext
11179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11180 (eval $ac_link) 2>conftest.er1
11181 ac_status=$?
11182 grep -v '^ *+' conftest.er1 >conftest.err
11183 rm -f conftest.er1
11184 cat conftest.err >&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); } &&
11187 { ac_try='test -z "$ac_c_werror_flag"
11188 || test ! -s conftest.err'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11191 ac_status=$?
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; } &&
11194 { ac_try='test -s conftest$ac_exeext'
11195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 (eval $ac_try) 2>&5
11197 ac_status=$?
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; }; then
11200 eval "$as_ac_var=yes"
11201 else
11202 echo "$as_me: failed program was:" >&5
11203 sed 's/^/| /' conftest.$ac_ext >&5
11205 eval "$as_ac_var=no"
11207 rm -f conftest.err conftest.$ac_objext \
11208 conftest$ac_exeext conftest.$ac_ext
11210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11212 if test `eval echo '${'$as_ac_var'}'` = yes; then
11213 cat >>confdefs.h <<_ACEOF
11214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11215 _ACEOF
11218 done
11220 else
11222 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11223 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11224 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11225 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11226 echo $ECHO_N "(cached) $ECHO_C" >&6
11227 else
11231 ac_ext=cc
11232 ac_cpp='$CXXCPP $CPPFLAGS'
11233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11237 cat >conftest.$ac_ext <<_ACEOF
11238 /* confdefs.h. */
11239 _ACEOF
11240 cat confdefs.h >>conftest.$ac_ext
11241 cat >>conftest.$ac_ext <<_ACEOF
11242 /* end confdefs.h. */
11243 #include <math.h>
11245 main ()
11247 _hypot(0, 0);
11249 return 0;
11251 _ACEOF
11252 rm -f conftest.$ac_objext
11253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11254 (eval $ac_compile) 2>conftest.er1
11255 ac_status=$?
11256 grep -v '^ *+' conftest.er1 >conftest.err
11257 rm -f conftest.er1
11258 cat conftest.err >&5
11259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 (exit $ac_status); } &&
11261 { ac_try='test -z "$ac_cxx_werror_flag"
11262 || test ! -s conftest.err'
11263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11264 (eval $ac_try) 2>&5
11265 ac_status=$?
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); }; } &&
11268 { ac_try='test -s conftest.$ac_objext'
11269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11270 (eval $ac_try) 2>&5
11271 ac_status=$?
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; }; then
11274 glibcxx_cv_func__hypot_use=yes
11275 else
11276 echo "$as_me: failed program was:" >&5
11277 sed 's/^/| /' conftest.$ac_ext >&5
11279 glibcxx_cv_func__hypot_use=no
11281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11282 ac_ext=c
11283 ac_cpp='$CPP $CPPFLAGS'
11284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11293 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11295 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11297 for ac_func in _hypot
11299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11300 echo "$as_me:$LINENO: checking for $ac_func" >&5
11301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11302 if eval "test \"\${$as_ac_var+set}\" = set"; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11304 else
11305 if test x$gcc_no_link = xyes; then
11306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11308 { (exit 1); exit 1; }; }
11310 cat >conftest.$ac_ext <<_ACEOF
11311 /* confdefs.h. */
11312 _ACEOF
11313 cat confdefs.h >>conftest.$ac_ext
11314 cat >>conftest.$ac_ext <<_ACEOF
11315 /* end confdefs.h. */
11316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11318 #define $ac_func innocuous_$ac_func
11320 /* System header to define __stub macros and hopefully few prototypes,
11321 which can conflict with char $ac_func (); below.
11322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11323 <limits.h> exists even on freestanding compilers. */
11325 #ifdef __STDC__
11326 # include <limits.h>
11327 #else
11328 # include <assert.h>
11329 #endif
11331 #undef $ac_func
11333 /* Override any gcc2 internal prototype to avoid an error. */
11334 #ifdef __cplusplus
11335 extern "C"
11337 #endif
11338 /* We use char because int might match the return type of a gcc2
11339 builtin and then its argument prototype would still apply. */
11340 char $ac_func ();
11341 /* The GNU C library defines this for functions which it implements
11342 to always fail with ENOSYS. Some functions are actually named
11343 something starting with __ and the normal name is an alias. */
11344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11345 choke me
11346 #else
11347 char (*f) () = $ac_func;
11348 #endif
11349 #ifdef __cplusplus
11351 #endif
11354 main ()
11356 return f != $ac_func;
11358 return 0;
11360 _ACEOF
11361 rm -f conftest.$ac_objext conftest$ac_exeext
11362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11363 (eval $ac_link) 2>conftest.er1
11364 ac_status=$?
11365 grep -v '^ *+' conftest.er1 >conftest.err
11366 rm -f conftest.er1
11367 cat conftest.err >&5
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); } &&
11370 { ac_try='test -z "$ac_c_werror_flag"
11371 || test ! -s conftest.err'
11372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11373 (eval $ac_try) 2>&5
11374 ac_status=$?
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); }; } &&
11377 { ac_try='test -s conftest$ac_exeext'
11378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11379 (eval $ac_try) 2>&5
11380 ac_status=$?
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); }; }; then
11383 eval "$as_ac_var=yes"
11384 else
11385 echo "$as_me: failed program was:" >&5
11386 sed 's/^/| /' conftest.$ac_ext >&5
11388 eval "$as_ac_var=no"
11390 rm -f conftest.err conftest.$ac_objext \
11391 conftest$ac_exeext conftest.$ac_ext
11393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11395 if test `eval echo '${'$as_ac_var'}'` = yes; then
11396 cat >>confdefs.h <<_ACEOF
11397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11398 _ACEOF
11401 done
11411 echo "$as_me:$LINENO: checking for float trig functions" >&5
11412 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11413 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11414 echo $ECHO_N "(cached) $ECHO_C" >&6
11415 else
11419 ac_ext=cc
11420 ac_cpp='$CXXCPP $CPPFLAGS'
11421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11425 cat >conftest.$ac_ext <<_ACEOF
11426 /* confdefs.h. */
11427 _ACEOF
11428 cat confdefs.h >>conftest.$ac_ext
11429 cat >>conftest.$ac_ext <<_ACEOF
11430 /* end confdefs.h. */
11431 #include <math.h>
11433 main ()
11435 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11437 return 0;
11439 _ACEOF
11440 rm -f conftest.$ac_objext
11441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11442 (eval $ac_compile) 2>conftest.er1
11443 ac_status=$?
11444 grep -v '^ *+' conftest.er1 >conftest.err
11445 rm -f conftest.er1
11446 cat conftest.err >&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); } &&
11449 { ac_try='test -z "$ac_cxx_werror_flag"
11450 || test ! -s conftest.err'
11451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11452 (eval $ac_try) 2>&5
11453 ac_status=$?
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); }; } &&
11456 { ac_try='test -s conftest.$ac_objext'
11457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11458 (eval $ac_try) 2>&5
11459 ac_status=$?
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); }; }; then
11462 glibcxx_cv_func_float_trig_use=yes
11463 else
11464 echo "$as_me: failed program was:" >&5
11465 sed 's/^/| /' conftest.$ac_ext >&5
11467 glibcxx_cv_func_float_trig_use=no
11469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11470 ac_ext=c
11471 ac_cpp='$CPP $CPPFLAGS'
11472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11478 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11479 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11480 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11490 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11493 echo "$as_me:$LINENO: checking for $ac_func" >&5
11494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11495 if eval "test \"\${$as_ac_var+set}\" = set"; then
11496 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 else
11498 if test x$gcc_no_link = xyes; then
11499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11501 { (exit 1); exit 1; }; }
11503 cat >conftest.$ac_ext <<_ACEOF
11504 /* confdefs.h. */
11505 _ACEOF
11506 cat confdefs.h >>conftest.$ac_ext
11507 cat >>conftest.$ac_ext <<_ACEOF
11508 /* end confdefs.h. */
11509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11511 #define $ac_func innocuous_$ac_func
11513 /* System header to define __stub macros and hopefully few prototypes,
11514 which can conflict with char $ac_func (); below.
11515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11516 <limits.h> exists even on freestanding compilers. */
11518 #ifdef __STDC__
11519 # include <limits.h>
11520 #else
11521 # include <assert.h>
11522 #endif
11524 #undef $ac_func
11526 /* Override any gcc2 internal prototype to avoid an error. */
11527 #ifdef __cplusplus
11528 extern "C"
11530 #endif
11531 /* We use char because int might match the return type of a gcc2
11532 builtin and then its argument prototype would still apply. */
11533 char $ac_func ();
11534 /* The GNU C library defines this for functions which it implements
11535 to always fail with ENOSYS. Some functions are actually named
11536 something starting with __ and the normal name is an alias. */
11537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11538 choke me
11539 #else
11540 char (*f) () = $ac_func;
11541 #endif
11542 #ifdef __cplusplus
11544 #endif
11547 main ()
11549 return f != $ac_func;
11551 return 0;
11553 _ACEOF
11554 rm -f conftest.$ac_objext conftest$ac_exeext
11555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11556 (eval $ac_link) 2>conftest.er1
11557 ac_status=$?
11558 grep -v '^ *+' conftest.er1 >conftest.err
11559 rm -f conftest.er1
11560 cat conftest.err >&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); } &&
11563 { ac_try='test -z "$ac_c_werror_flag"
11564 || test ! -s conftest.err'
11565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11566 (eval $ac_try) 2>&5
11567 ac_status=$?
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); }; } &&
11570 { ac_try='test -s conftest$ac_exeext'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11573 ac_status=$?
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; }; then
11576 eval "$as_ac_var=yes"
11577 else
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.$ac_ext >&5
11581 eval "$as_ac_var=no"
11583 rm -f conftest.err conftest.$ac_objext \
11584 conftest$ac_exeext conftest.$ac_ext
11586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11588 if test `eval echo '${'$as_ac_var'}'` = yes; then
11589 cat >>confdefs.h <<_ACEOF
11590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11591 _ACEOF
11594 done
11596 else
11597 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11598 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11599 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11600 echo $ECHO_N "(cached) $ECHO_C" >&6
11601 else
11605 ac_ext=cc
11606 ac_cpp='$CXXCPP $CPPFLAGS'
11607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11611 cat >conftest.$ac_ext <<_ACEOF
11612 /* confdefs.h. */
11613 _ACEOF
11614 cat confdefs.h >>conftest.$ac_ext
11615 cat >>conftest.$ac_ext <<_ACEOF
11616 /* end confdefs.h. */
11617 #include <math.h>
11619 main ()
11621 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11623 return 0;
11625 _ACEOF
11626 rm -f conftest.$ac_objext
11627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11628 (eval $ac_compile) 2>conftest.er1
11629 ac_status=$?
11630 grep -v '^ *+' conftest.er1 >conftest.err
11631 rm -f conftest.er1
11632 cat conftest.err >&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); } &&
11635 { ac_try='test -z "$ac_cxx_werror_flag"
11636 || test ! -s conftest.err'
11637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11638 (eval $ac_try) 2>&5
11639 ac_status=$?
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); }; } &&
11642 { ac_try='test -s conftest.$ac_objext'
11643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11644 (eval $ac_try) 2>&5
11645 ac_status=$?
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); }; }; then
11648 glibcxx_cv_func__float_trig_use=yes
11649 else
11650 echo "$as_me: failed program was:" >&5
11651 sed 's/^/| /' conftest.$ac_ext >&5
11653 glibcxx_cv_func__float_trig_use=no
11655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11656 ac_ext=c
11657 ac_cpp='$CPP $CPPFLAGS'
11658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11664 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11665 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11666 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11676 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11679 echo "$as_me:$LINENO: checking for $ac_func" >&5
11680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11681 if eval "test \"\${$as_ac_var+set}\" = set"; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11683 else
11684 if test x$gcc_no_link = xyes; then
11685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11687 { (exit 1); exit 1; }; }
11689 cat >conftest.$ac_ext <<_ACEOF
11690 /* confdefs.h. */
11691 _ACEOF
11692 cat confdefs.h >>conftest.$ac_ext
11693 cat >>conftest.$ac_ext <<_ACEOF
11694 /* end confdefs.h. */
11695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11697 #define $ac_func innocuous_$ac_func
11699 /* System header to define __stub macros and hopefully few prototypes,
11700 which can conflict with char $ac_func (); below.
11701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11702 <limits.h> exists even on freestanding compilers. */
11704 #ifdef __STDC__
11705 # include <limits.h>
11706 #else
11707 # include <assert.h>
11708 #endif
11710 #undef $ac_func
11712 /* Override any gcc2 internal prototype to avoid an error. */
11713 #ifdef __cplusplus
11714 extern "C"
11716 #endif
11717 /* We use char because int might match the return type of a gcc2
11718 builtin and then its argument prototype would still apply. */
11719 char $ac_func ();
11720 /* The GNU C library defines this for functions which it implements
11721 to always fail with ENOSYS. Some functions are actually named
11722 something starting with __ and the normal name is an alias. */
11723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11724 choke me
11725 #else
11726 char (*f) () = $ac_func;
11727 #endif
11728 #ifdef __cplusplus
11730 #endif
11733 main ()
11735 return f != $ac_func;
11737 return 0;
11739 _ACEOF
11740 rm -f conftest.$ac_objext conftest$ac_exeext
11741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11742 (eval $ac_link) 2>conftest.er1
11743 ac_status=$?
11744 grep -v '^ *+' conftest.er1 >conftest.err
11745 rm -f conftest.er1
11746 cat conftest.err >&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); } &&
11749 { ac_try='test -z "$ac_c_werror_flag"
11750 || test ! -s conftest.err'
11751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752 (eval $ac_try) 2>&5
11753 ac_status=$?
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); }; } &&
11756 { ac_try='test -s conftest$ac_exeext'
11757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11758 (eval $ac_try) 2>&5
11759 ac_status=$?
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); }; }; then
11762 eval "$as_ac_var=yes"
11763 else
11764 echo "$as_me: failed program was:" >&5
11765 sed 's/^/| /' conftest.$ac_ext >&5
11767 eval "$as_ac_var=no"
11769 rm -f conftest.err conftest.$ac_objext \
11770 conftest$ac_exeext conftest.$ac_ext
11772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11774 if test `eval echo '${'$as_ac_var'}'` = yes; then
11775 cat >>confdefs.h <<_ACEOF
11776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11777 _ACEOF
11780 done
11798 echo "$as_me:$LINENO: checking for float round functions" >&5
11799 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11800 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
11802 else
11806 ac_ext=cc
11807 ac_cpp='$CXXCPP $CPPFLAGS'
11808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11812 cat >conftest.$ac_ext <<_ACEOF
11813 /* confdefs.h. */
11814 _ACEOF
11815 cat confdefs.h >>conftest.$ac_ext
11816 cat >>conftest.$ac_ext <<_ACEOF
11817 /* end confdefs.h. */
11818 #include <math.h>
11820 main ()
11822 ceilf (0); floorf (0);
11824 return 0;
11826 _ACEOF
11827 rm -f conftest.$ac_objext
11828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11829 (eval $ac_compile) 2>conftest.er1
11830 ac_status=$?
11831 grep -v '^ *+' conftest.er1 >conftest.err
11832 rm -f conftest.er1
11833 cat conftest.err >&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } &&
11836 { ac_try='test -z "$ac_cxx_werror_flag"
11837 || test ! -s conftest.err'
11838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11839 (eval $ac_try) 2>&5
11840 ac_status=$?
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); }; } &&
11843 { ac_try='test -s conftest.$ac_objext'
11844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11845 (eval $ac_try) 2>&5
11846 ac_status=$?
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); }; }; then
11849 glibcxx_cv_func_float_round_use=yes
11850 else
11851 echo "$as_me: failed program was:" >&5
11852 sed 's/^/| /' conftest.$ac_ext >&5
11854 glibcxx_cv_func_float_round_use=no
11856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11857 ac_ext=c
11858 ac_cpp='$CPP $CPPFLAGS'
11859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11866 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11867 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11870 for ac_func in ceilf floorf
11872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11873 echo "$as_me:$LINENO: checking for $ac_func" >&5
11874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11875 if eval "test \"\${$as_ac_var+set}\" = set"; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11877 else
11878 if test x$gcc_no_link = xyes; then
11879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11881 { (exit 1); exit 1; }; }
11883 cat >conftest.$ac_ext <<_ACEOF
11884 /* confdefs.h. */
11885 _ACEOF
11886 cat confdefs.h >>conftest.$ac_ext
11887 cat >>conftest.$ac_ext <<_ACEOF
11888 /* end confdefs.h. */
11889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11891 #define $ac_func innocuous_$ac_func
11893 /* System header to define __stub macros and hopefully few prototypes,
11894 which can conflict with char $ac_func (); below.
11895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896 <limits.h> exists even on freestanding compilers. */
11898 #ifdef __STDC__
11899 # include <limits.h>
11900 #else
11901 # include <assert.h>
11902 #endif
11904 #undef $ac_func
11906 /* Override any gcc2 internal prototype to avoid an error. */
11907 #ifdef __cplusplus
11908 extern "C"
11910 #endif
11911 /* We use char because int might match the return type of a gcc2
11912 builtin and then its argument prototype would still apply. */
11913 char $ac_func ();
11914 /* The GNU C library defines this for functions which it implements
11915 to always fail with ENOSYS. Some functions are actually named
11916 something starting with __ and the normal name is an alias. */
11917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11918 choke me
11919 #else
11920 char (*f) () = $ac_func;
11921 #endif
11922 #ifdef __cplusplus
11924 #endif
11927 main ()
11929 return f != $ac_func;
11931 return 0;
11933 _ACEOF
11934 rm -f conftest.$ac_objext conftest$ac_exeext
11935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11936 (eval $ac_link) 2>conftest.er1
11937 ac_status=$?
11938 grep -v '^ *+' conftest.er1 >conftest.err
11939 rm -f conftest.er1
11940 cat conftest.err >&5
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); } &&
11943 { ac_try='test -z "$ac_c_werror_flag"
11944 || test ! -s conftest.err'
11945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946 (eval $ac_try) 2>&5
11947 ac_status=$?
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); }; } &&
11950 { ac_try='test -s conftest$ac_exeext'
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11953 ac_status=$?
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); }; }; then
11956 eval "$as_ac_var=yes"
11957 else
11958 echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.$ac_ext >&5
11961 eval "$as_ac_var=no"
11963 rm -f conftest.err conftest.$ac_objext \
11964 conftest$ac_exeext conftest.$ac_ext
11966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11968 if test `eval echo '${'$as_ac_var'}'` = yes; then
11969 cat >>confdefs.h <<_ACEOF
11970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11971 _ACEOF
11974 done
11976 else
11977 echo "$as_me:$LINENO: checking for _float round functions" >&5
11978 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
11979 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
11980 echo $ECHO_N "(cached) $ECHO_C" >&6
11981 else
11985 ac_ext=cc
11986 ac_cpp='$CXXCPP $CPPFLAGS'
11987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11991 cat >conftest.$ac_ext <<_ACEOF
11992 /* confdefs.h. */
11993 _ACEOF
11994 cat confdefs.h >>conftest.$ac_ext
11995 cat >>conftest.$ac_ext <<_ACEOF
11996 /* end confdefs.h. */
11997 #include <math.h>
11999 main ()
12001 _ceilf (0); _floorf (0);
12003 return 0;
12005 _ACEOF
12006 rm -f conftest.$ac_objext
12007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12008 (eval $ac_compile) 2>conftest.er1
12009 ac_status=$?
12010 grep -v '^ *+' conftest.er1 >conftest.err
12011 rm -f conftest.er1
12012 cat conftest.err >&5
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); } &&
12015 { ac_try='test -z "$ac_cxx_werror_flag"
12016 || test ! -s conftest.err'
12017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12018 (eval $ac_try) 2>&5
12019 ac_status=$?
12020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021 (exit $ac_status); }; } &&
12022 { ac_try='test -s conftest.$ac_objext'
12023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12024 (eval $ac_try) 2>&5
12025 ac_status=$?
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); }; }; then
12028 glibcxx_cv_func__float_round_use=yes
12029 else
12030 echo "$as_me: failed program was:" >&5
12031 sed 's/^/| /' conftest.$ac_ext >&5
12033 glibcxx_cv_func__float_round_use=no
12035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12036 ac_ext=c
12037 ac_cpp='$CPP $CPPFLAGS'
12038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12045 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12046 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12049 for ac_func in _ceilf _floorf
12051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12052 echo "$as_me:$LINENO: checking for $ac_func" >&5
12053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12054 if eval "test \"\${$as_ac_var+set}\" = set"; then
12055 echo $ECHO_N "(cached) $ECHO_C" >&6
12056 else
12057 if test x$gcc_no_link = xyes; then
12058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12060 { (exit 1); exit 1; }; }
12062 cat >conftest.$ac_ext <<_ACEOF
12063 /* confdefs.h. */
12064 _ACEOF
12065 cat confdefs.h >>conftest.$ac_ext
12066 cat >>conftest.$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12070 #define $ac_func innocuous_$ac_func
12072 /* System header to define __stub macros and hopefully few prototypes,
12073 which can conflict with char $ac_func (); below.
12074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12075 <limits.h> exists even on freestanding compilers. */
12077 #ifdef __STDC__
12078 # include <limits.h>
12079 #else
12080 # include <assert.h>
12081 #endif
12083 #undef $ac_func
12085 /* Override any gcc2 internal prototype to avoid an error. */
12086 #ifdef __cplusplus
12087 extern "C"
12089 #endif
12090 /* We use char because int might match the return type of a gcc2
12091 builtin and then its argument prototype would still apply. */
12092 char $ac_func ();
12093 /* The GNU C library defines this for functions which it implements
12094 to always fail with ENOSYS. Some functions are actually named
12095 something starting with __ and the normal name is an alias. */
12096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12097 choke me
12098 #else
12099 char (*f) () = $ac_func;
12100 #endif
12101 #ifdef __cplusplus
12103 #endif
12106 main ()
12108 return f != $ac_func;
12110 return 0;
12112 _ACEOF
12113 rm -f conftest.$ac_objext conftest$ac_exeext
12114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12115 (eval $ac_link) 2>conftest.er1
12116 ac_status=$?
12117 grep -v '^ *+' conftest.er1 >conftest.err
12118 rm -f conftest.er1
12119 cat conftest.err >&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); } &&
12122 { ac_try='test -z "$ac_c_werror_flag"
12123 || test ! -s conftest.err'
12124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12125 (eval $ac_try) 2>&5
12126 ac_status=$?
12127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12128 (exit $ac_status); }; } &&
12129 { ac_try='test -s conftest$ac_exeext'
12130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12131 (eval $ac_try) 2>&5
12132 ac_status=$?
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); }; }; then
12135 eval "$as_ac_var=yes"
12136 else
12137 echo "$as_me: failed program was:" >&5
12138 sed 's/^/| /' conftest.$ac_ext >&5
12140 eval "$as_ac_var=no"
12142 rm -f conftest.err conftest.$ac_objext \
12143 conftest$ac_exeext conftest.$ac_ext
12145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12147 if test `eval echo '${'$as_ac_var'}'` = yes; then
12148 cat >>confdefs.h <<_ACEOF
12149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12150 _ACEOF
12153 done
12165 echo "$as_me:$LINENO: checking for expf declaration" >&5
12166 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12167 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12168 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 else
12174 ac_ext=cc
12175 ac_cpp='$CXXCPP $CPPFLAGS'
12176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12180 cat >conftest.$ac_ext <<_ACEOF
12181 /* confdefs.h. */
12182 _ACEOF
12183 cat confdefs.h >>conftest.$ac_ext
12184 cat >>conftest.$ac_ext <<_ACEOF
12185 /* end confdefs.h. */
12186 #include <math.h>
12187 #ifdef HAVE_IEEEFP_H
12188 #include <ieeefp.h>
12189 #endif
12192 main ()
12194 expf(0);
12196 return 0;
12198 _ACEOF
12199 rm -f conftest.$ac_objext
12200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12201 (eval $ac_compile) 2>conftest.er1
12202 ac_status=$?
12203 grep -v '^ *+' conftest.er1 >conftest.err
12204 rm -f conftest.er1
12205 cat conftest.err >&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); } &&
12208 { ac_try='test -z "$ac_cxx_werror_flag"
12209 || test ! -s conftest.err'
12210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12211 (eval $ac_try) 2>&5
12212 ac_status=$?
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); }; } &&
12215 { ac_try='test -s conftest.$ac_objext'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12218 ac_status=$?
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; }; then
12221 glibcxx_cv_func_expf_use=yes
12222 else
12223 echo "$as_me: failed program was:" >&5
12224 sed 's/^/| /' conftest.$ac_ext >&5
12226 glibcxx_cv_func_expf_use=no
12228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12229 ac_ext=c
12230 ac_cpp='$CPP $CPPFLAGS'
12231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12239 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12240 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12242 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12244 for ac_func in expf
12246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12247 echo "$as_me:$LINENO: checking for $ac_func" >&5
12248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12249 if eval "test \"\${$as_ac_var+set}\" = set"; then
12250 echo $ECHO_N "(cached) $ECHO_C" >&6
12251 else
12252 if test x$gcc_no_link = xyes; then
12253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12255 { (exit 1); exit 1; }; }
12257 cat >conftest.$ac_ext <<_ACEOF
12258 /* confdefs.h. */
12259 _ACEOF
12260 cat confdefs.h >>conftest.$ac_ext
12261 cat >>conftest.$ac_ext <<_ACEOF
12262 /* end confdefs.h. */
12263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12265 #define $ac_func innocuous_$ac_func
12267 /* System header to define __stub macros and hopefully few prototypes,
12268 which can conflict with char $ac_func (); below.
12269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12270 <limits.h> exists even on freestanding compilers. */
12272 #ifdef __STDC__
12273 # include <limits.h>
12274 #else
12275 # include <assert.h>
12276 #endif
12278 #undef $ac_func
12280 /* Override any gcc2 internal prototype to avoid an error. */
12281 #ifdef __cplusplus
12282 extern "C"
12284 #endif
12285 /* We use char because int might match the return type of a gcc2
12286 builtin and then its argument prototype would still apply. */
12287 char $ac_func ();
12288 /* The GNU C library defines this for functions which it implements
12289 to always fail with ENOSYS. Some functions are actually named
12290 something starting with __ and the normal name is an alias. */
12291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12292 choke me
12293 #else
12294 char (*f) () = $ac_func;
12295 #endif
12296 #ifdef __cplusplus
12298 #endif
12301 main ()
12303 return f != $ac_func;
12305 return 0;
12307 _ACEOF
12308 rm -f conftest.$ac_objext conftest$ac_exeext
12309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12310 (eval $ac_link) 2>conftest.er1
12311 ac_status=$?
12312 grep -v '^ *+' conftest.er1 >conftest.err
12313 rm -f conftest.er1
12314 cat conftest.err >&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); } &&
12317 { ac_try='test -z "$ac_c_werror_flag"
12318 || test ! -s conftest.err'
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 (eval $ac_try) 2>&5
12321 ac_status=$?
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; } &&
12324 { ac_try='test -s conftest$ac_exeext'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12327 ac_status=$?
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; }; then
12330 eval "$as_ac_var=yes"
12331 else
12332 echo "$as_me: failed program was:" >&5
12333 sed 's/^/| /' conftest.$ac_ext >&5
12335 eval "$as_ac_var=no"
12337 rm -f conftest.err conftest.$ac_objext \
12338 conftest$ac_exeext conftest.$ac_ext
12340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12342 if test `eval echo '${'$as_ac_var'}'` = yes; then
12343 cat >>confdefs.h <<_ACEOF
12344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12345 _ACEOF
12348 done
12350 else
12352 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12353 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12354 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12355 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12356 echo $ECHO_N "(cached) $ECHO_C" >&6
12357 else
12361 ac_ext=cc
12362 ac_cpp='$CXXCPP $CPPFLAGS'
12363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12367 cat >conftest.$ac_ext <<_ACEOF
12368 /* confdefs.h. */
12369 _ACEOF
12370 cat confdefs.h >>conftest.$ac_ext
12371 cat >>conftest.$ac_ext <<_ACEOF
12372 /* end confdefs.h. */
12373 #include <math.h>
12374 #ifdef HAVE_IEEEFP_H
12375 #include <ieeefp.h>
12376 #endif
12379 main ()
12381 _expf(0);
12383 return 0;
12385 _ACEOF
12386 rm -f conftest.$ac_objext
12387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12388 (eval $ac_compile) 2>conftest.er1
12389 ac_status=$?
12390 grep -v '^ *+' conftest.er1 >conftest.err
12391 rm -f conftest.er1
12392 cat conftest.err >&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); } &&
12395 { ac_try='test -z "$ac_cxx_werror_flag"
12396 || test ! -s conftest.err'
12397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12398 (eval $ac_try) 2>&5
12399 ac_status=$?
12400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401 (exit $ac_status); }; } &&
12402 { ac_try='test -s conftest.$ac_objext'
12403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12404 (eval $ac_try) 2>&5
12405 ac_status=$?
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); }; }; then
12408 glibcxx_cv_func__expf_use=yes
12409 else
12410 echo "$as_me: failed program was:" >&5
12411 sed 's/^/| /' conftest.$ac_ext >&5
12413 glibcxx_cv_func__expf_use=no
12415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12416 ac_ext=c
12417 ac_cpp='$CPP $CPPFLAGS'
12418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12426 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12427 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12429 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12431 for ac_func in _expf
12433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12434 echo "$as_me:$LINENO: checking for $ac_func" >&5
12435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12436 if eval "test \"\${$as_ac_var+set}\" = set"; then
12437 echo $ECHO_N "(cached) $ECHO_C" >&6
12438 else
12439 if test x$gcc_no_link = xyes; then
12440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12442 { (exit 1); exit 1; }; }
12444 cat >conftest.$ac_ext <<_ACEOF
12445 /* confdefs.h. */
12446 _ACEOF
12447 cat confdefs.h >>conftest.$ac_ext
12448 cat >>conftest.$ac_ext <<_ACEOF
12449 /* end confdefs.h. */
12450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12452 #define $ac_func innocuous_$ac_func
12454 /* System header to define __stub macros and hopefully few prototypes,
12455 which can conflict with char $ac_func (); below.
12456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12457 <limits.h> exists even on freestanding compilers. */
12459 #ifdef __STDC__
12460 # include <limits.h>
12461 #else
12462 # include <assert.h>
12463 #endif
12465 #undef $ac_func
12467 /* Override any gcc2 internal prototype to avoid an error. */
12468 #ifdef __cplusplus
12469 extern "C"
12471 #endif
12472 /* We use char because int might match the return type of a gcc2
12473 builtin and then its argument prototype would still apply. */
12474 char $ac_func ();
12475 /* The GNU C library defines this for functions which it implements
12476 to always fail with ENOSYS. Some functions are actually named
12477 something starting with __ and the normal name is an alias. */
12478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12479 choke me
12480 #else
12481 char (*f) () = $ac_func;
12482 #endif
12483 #ifdef __cplusplus
12485 #endif
12488 main ()
12490 return f != $ac_func;
12492 return 0;
12494 _ACEOF
12495 rm -f conftest.$ac_objext conftest$ac_exeext
12496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12497 (eval $ac_link) 2>conftest.er1
12498 ac_status=$?
12499 grep -v '^ *+' conftest.er1 >conftest.err
12500 rm -f conftest.er1
12501 cat conftest.err >&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); } &&
12504 { ac_try='test -z "$ac_c_werror_flag"
12505 || test ! -s conftest.err'
12506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12507 (eval $ac_try) 2>&5
12508 ac_status=$?
12509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); }; } &&
12511 { ac_try='test -s conftest$ac_exeext'
12512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12513 (eval $ac_try) 2>&5
12514 ac_status=$?
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); }; }; then
12517 eval "$as_ac_var=yes"
12518 else
12519 echo "$as_me: failed program was:" >&5
12520 sed 's/^/| /' conftest.$ac_ext >&5
12522 eval "$as_ac_var=no"
12524 rm -f conftest.err conftest.$ac_objext \
12525 conftest$ac_exeext conftest.$ac_ext
12527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12529 if test `eval echo '${'$as_ac_var'}'` = yes; then
12530 cat >>confdefs.h <<_ACEOF
12531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12532 _ACEOF
12535 done
12545 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12546 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12547 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12548 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12549 echo $ECHO_N "(cached) $ECHO_C" >&6
12550 else
12554 ac_ext=cc
12555 ac_cpp='$CXXCPP $CPPFLAGS'
12556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12560 cat >conftest.$ac_ext <<_ACEOF
12561 /* confdefs.h. */
12562 _ACEOF
12563 cat confdefs.h >>conftest.$ac_ext
12564 cat >>conftest.$ac_ext <<_ACEOF
12565 /* end confdefs.h. */
12566 #include <math.h>
12567 #ifdef HAVE_IEEEFP_H
12568 #include <ieeefp.h>
12569 #endif
12572 main ()
12574 isnanf(0);
12576 return 0;
12578 _ACEOF
12579 rm -f conftest.$ac_objext
12580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12581 (eval $ac_compile) 2>conftest.er1
12582 ac_status=$?
12583 grep -v '^ *+' conftest.er1 >conftest.err
12584 rm -f conftest.er1
12585 cat conftest.err >&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); } &&
12588 { ac_try='test -z "$ac_cxx_werror_flag"
12589 || test ! -s conftest.err'
12590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12591 (eval $ac_try) 2>&5
12592 ac_status=$?
12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 (exit $ac_status); }; } &&
12595 { ac_try='test -s conftest.$ac_objext'
12596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 (eval $ac_try) 2>&5
12598 ac_status=$?
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; }; then
12601 glibcxx_cv_func_isnanf_use=yes
12602 else
12603 echo "$as_me: failed program was:" >&5
12604 sed 's/^/| /' conftest.$ac_ext >&5
12606 glibcxx_cv_func_isnanf_use=no
12608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12609 ac_ext=c
12610 ac_cpp='$CPP $CPPFLAGS'
12611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12620 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12622 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12624 for ac_func in isnanf
12626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12627 echo "$as_me:$LINENO: checking for $ac_func" >&5
12628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12629 if eval "test \"\${$as_ac_var+set}\" = set"; then
12630 echo $ECHO_N "(cached) $ECHO_C" >&6
12631 else
12632 if test x$gcc_no_link = xyes; then
12633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12635 { (exit 1); exit 1; }; }
12637 cat >conftest.$ac_ext <<_ACEOF
12638 /* confdefs.h. */
12639 _ACEOF
12640 cat confdefs.h >>conftest.$ac_ext
12641 cat >>conftest.$ac_ext <<_ACEOF
12642 /* end confdefs.h. */
12643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12645 #define $ac_func innocuous_$ac_func
12647 /* System header to define __stub macros and hopefully few prototypes,
12648 which can conflict with char $ac_func (); below.
12649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12650 <limits.h> exists even on freestanding compilers. */
12652 #ifdef __STDC__
12653 # include <limits.h>
12654 #else
12655 # include <assert.h>
12656 #endif
12658 #undef $ac_func
12660 /* Override any gcc2 internal prototype to avoid an error. */
12661 #ifdef __cplusplus
12662 extern "C"
12664 #endif
12665 /* We use char because int might match the return type of a gcc2
12666 builtin and then its argument prototype would still apply. */
12667 char $ac_func ();
12668 /* The GNU C library defines this for functions which it implements
12669 to always fail with ENOSYS. Some functions are actually named
12670 something starting with __ and the normal name is an alias. */
12671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12672 choke me
12673 #else
12674 char (*f) () = $ac_func;
12675 #endif
12676 #ifdef __cplusplus
12678 #endif
12681 main ()
12683 return f != $ac_func;
12685 return 0;
12687 _ACEOF
12688 rm -f conftest.$ac_objext conftest$ac_exeext
12689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12690 (eval $ac_link) 2>conftest.er1
12691 ac_status=$?
12692 grep -v '^ *+' conftest.er1 >conftest.err
12693 rm -f conftest.er1
12694 cat conftest.err >&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); } &&
12697 { ac_try='test -z "$ac_c_werror_flag"
12698 || test ! -s conftest.err'
12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 (eval $ac_try) 2>&5
12701 ac_status=$?
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; } &&
12704 { ac_try='test -s conftest$ac_exeext'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12707 ac_status=$?
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; }; then
12710 eval "$as_ac_var=yes"
12711 else
12712 echo "$as_me: failed program was:" >&5
12713 sed 's/^/| /' conftest.$ac_ext >&5
12715 eval "$as_ac_var=no"
12717 rm -f conftest.err conftest.$ac_objext \
12718 conftest$ac_exeext conftest.$ac_ext
12720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12722 if test `eval echo '${'$as_ac_var'}'` = yes; then
12723 cat >>confdefs.h <<_ACEOF
12724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12725 _ACEOF
12728 done
12730 else
12732 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12733 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12734 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12735 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12736 echo $ECHO_N "(cached) $ECHO_C" >&6
12737 else
12741 ac_ext=cc
12742 ac_cpp='$CXXCPP $CPPFLAGS'
12743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12747 cat >conftest.$ac_ext <<_ACEOF
12748 /* confdefs.h. */
12749 _ACEOF
12750 cat confdefs.h >>conftest.$ac_ext
12751 cat >>conftest.$ac_ext <<_ACEOF
12752 /* end confdefs.h. */
12753 #include <math.h>
12754 #ifdef HAVE_IEEEFP_H
12755 #include <ieeefp.h>
12756 #endif
12759 main ()
12761 _isnanf(0);
12763 return 0;
12765 _ACEOF
12766 rm -f conftest.$ac_objext
12767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12768 (eval $ac_compile) 2>conftest.er1
12769 ac_status=$?
12770 grep -v '^ *+' conftest.er1 >conftest.err
12771 rm -f conftest.er1
12772 cat conftest.err >&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); } &&
12775 { ac_try='test -z "$ac_cxx_werror_flag"
12776 || test ! -s conftest.err'
12777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12778 (eval $ac_try) 2>&5
12779 ac_status=$?
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); }; } &&
12782 { ac_try='test -s conftest.$ac_objext'
12783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12784 (eval $ac_try) 2>&5
12785 ac_status=$?
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); }; }; then
12788 glibcxx_cv_func__isnanf_use=yes
12789 else
12790 echo "$as_me: failed program was:" >&5
12791 sed 's/^/| /' conftest.$ac_ext >&5
12793 glibcxx_cv_func__isnanf_use=no
12795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12796 ac_ext=c
12797 ac_cpp='$CPP $CPPFLAGS'
12798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12807 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12809 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12811 for ac_func in _isnanf
12813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12814 echo "$as_me:$LINENO: checking for $ac_func" >&5
12815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12816 if eval "test \"\${$as_ac_var+set}\" = set"; then
12817 echo $ECHO_N "(cached) $ECHO_C" >&6
12818 else
12819 if test x$gcc_no_link = xyes; then
12820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12822 { (exit 1); exit 1; }; }
12824 cat >conftest.$ac_ext <<_ACEOF
12825 /* confdefs.h. */
12826 _ACEOF
12827 cat confdefs.h >>conftest.$ac_ext
12828 cat >>conftest.$ac_ext <<_ACEOF
12829 /* end confdefs.h. */
12830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12832 #define $ac_func innocuous_$ac_func
12834 /* System header to define __stub macros and hopefully few prototypes,
12835 which can conflict with char $ac_func (); below.
12836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12837 <limits.h> exists even on freestanding compilers. */
12839 #ifdef __STDC__
12840 # include <limits.h>
12841 #else
12842 # include <assert.h>
12843 #endif
12845 #undef $ac_func
12847 /* Override any gcc2 internal prototype to avoid an error. */
12848 #ifdef __cplusplus
12849 extern "C"
12851 #endif
12852 /* We use char because int might match the return type of a gcc2
12853 builtin and then its argument prototype would still apply. */
12854 char $ac_func ();
12855 /* The GNU C library defines this for functions which it implements
12856 to always fail with ENOSYS. Some functions are actually named
12857 something starting with __ and the normal name is an alias. */
12858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12859 choke me
12860 #else
12861 char (*f) () = $ac_func;
12862 #endif
12863 #ifdef __cplusplus
12865 #endif
12868 main ()
12870 return f != $ac_func;
12872 return 0;
12874 _ACEOF
12875 rm -f conftest.$ac_objext conftest$ac_exeext
12876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12877 (eval $ac_link) 2>conftest.er1
12878 ac_status=$?
12879 grep -v '^ *+' conftest.er1 >conftest.err
12880 rm -f conftest.er1
12881 cat conftest.err >&5
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); } &&
12884 { ac_try='test -z "$ac_c_werror_flag"
12885 || test ! -s conftest.err'
12886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12887 (eval $ac_try) 2>&5
12888 ac_status=$?
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); }; } &&
12891 { ac_try='test -s conftest$ac_exeext'
12892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12893 (eval $ac_try) 2>&5
12894 ac_status=$?
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); }; }; then
12897 eval "$as_ac_var=yes"
12898 else
12899 echo "$as_me: failed program was:" >&5
12900 sed 's/^/| /' conftest.$ac_ext >&5
12902 eval "$as_ac_var=no"
12904 rm -f conftest.err conftest.$ac_objext \
12905 conftest$ac_exeext conftest.$ac_ext
12907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12909 if test `eval echo '${'$as_ac_var'}'` = yes; then
12910 cat >>confdefs.h <<_ACEOF
12911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12912 _ACEOF
12915 done
12925 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12926 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12927 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12928 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12930 else
12934 ac_ext=cc
12935 ac_cpp='$CXXCPP $CPPFLAGS'
12936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12940 cat >conftest.$ac_ext <<_ACEOF
12941 /* confdefs.h. */
12942 _ACEOF
12943 cat confdefs.h >>conftest.$ac_ext
12944 cat >>conftest.$ac_ext <<_ACEOF
12945 /* end confdefs.h. */
12946 #include <math.h>
12947 #ifdef HAVE_IEEEFP_H
12948 #include <ieeefp.h>
12949 #endif
12952 main ()
12954 isinff(0);
12956 return 0;
12958 _ACEOF
12959 rm -f conftest.$ac_objext
12960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12961 (eval $ac_compile) 2>conftest.er1
12962 ac_status=$?
12963 grep -v '^ *+' conftest.er1 >conftest.err
12964 rm -f conftest.er1
12965 cat conftest.err >&5
12966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 (exit $ac_status); } &&
12968 { ac_try='test -z "$ac_cxx_werror_flag"
12969 || test ! -s conftest.err'
12970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12971 (eval $ac_try) 2>&5
12972 ac_status=$?
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); }; } &&
12975 { ac_try='test -s conftest.$ac_objext'
12976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977 (eval $ac_try) 2>&5
12978 ac_status=$?
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; }; then
12981 glibcxx_cv_func_isinff_use=yes
12982 else
12983 echo "$as_me: failed program was:" >&5
12984 sed 's/^/| /' conftest.$ac_ext >&5
12986 glibcxx_cv_func_isinff_use=no
12988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12989 ac_ext=c
12990 ac_cpp='$CPP $CPPFLAGS'
12991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13000 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13002 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13004 for ac_func in isinff
13006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13007 echo "$as_me:$LINENO: checking for $ac_func" >&5
13008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13009 if eval "test \"\${$as_ac_var+set}\" = set"; then
13010 echo $ECHO_N "(cached) $ECHO_C" >&6
13011 else
13012 if test x$gcc_no_link = xyes; then
13013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13015 { (exit 1); exit 1; }; }
13017 cat >conftest.$ac_ext <<_ACEOF
13018 /* confdefs.h. */
13019 _ACEOF
13020 cat confdefs.h >>conftest.$ac_ext
13021 cat >>conftest.$ac_ext <<_ACEOF
13022 /* end confdefs.h. */
13023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13025 #define $ac_func innocuous_$ac_func
13027 /* System header to define __stub macros and hopefully few prototypes,
13028 which can conflict with char $ac_func (); below.
13029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13030 <limits.h> exists even on freestanding compilers. */
13032 #ifdef __STDC__
13033 # include <limits.h>
13034 #else
13035 # include <assert.h>
13036 #endif
13038 #undef $ac_func
13040 /* Override any gcc2 internal prototype to avoid an error. */
13041 #ifdef __cplusplus
13042 extern "C"
13044 #endif
13045 /* We use char because int might match the return type of a gcc2
13046 builtin and then its argument prototype would still apply. */
13047 char $ac_func ();
13048 /* The GNU C library defines this for functions which it implements
13049 to always fail with ENOSYS. Some functions are actually named
13050 something starting with __ and the normal name is an alias. */
13051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13052 choke me
13053 #else
13054 char (*f) () = $ac_func;
13055 #endif
13056 #ifdef __cplusplus
13058 #endif
13061 main ()
13063 return f != $ac_func;
13065 return 0;
13067 _ACEOF
13068 rm -f conftest.$ac_objext conftest$ac_exeext
13069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13070 (eval $ac_link) 2>conftest.er1
13071 ac_status=$?
13072 grep -v '^ *+' conftest.er1 >conftest.err
13073 rm -f conftest.er1
13074 cat conftest.err >&5
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); } &&
13077 { ac_try='test -z "$ac_c_werror_flag"
13078 || test ! -s conftest.err'
13079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13080 (eval $ac_try) 2>&5
13081 ac_status=$?
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }; } &&
13084 { ac_try='test -s conftest$ac_exeext'
13085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13086 (eval $ac_try) 2>&5
13087 ac_status=$?
13088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); }; }; then
13090 eval "$as_ac_var=yes"
13091 else
13092 echo "$as_me: failed program was:" >&5
13093 sed 's/^/| /' conftest.$ac_ext >&5
13095 eval "$as_ac_var=no"
13097 rm -f conftest.err conftest.$ac_objext \
13098 conftest$ac_exeext conftest.$ac_ext
13100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13102 if test `eval echo '${'$as_ac_var'}'` = yes; then
13103 cat >>confdefs.h <<_ACEOF
13104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13105 _ACEOF
13108 done
13110 else
13112 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13113 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13114 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13115 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13116 echo $ECHO_N "(cached) $ECHO_C" >&6
13117 else
13121 ac_ext=cc
13122 ac_cpp='$CXXCPP $CPPFLAGS'
13123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13127 cat >conftest.$ac_ext <<_ACEOF
13128 /* confdefs.h. */
13129 _ACEOF
13130 cat confdefs.h >>conftest.$ac_ext
13131 cat >>conftest.$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13133 #include <math.h>
13134 #ifdef HAVE_IEEEFP_H
13135 #include <ieeefp.h>
13136 #endif
13139 main ()
13141 _isinff(0);
13143 return 0;
13145 _ACEOF
13146 rm -f conftest.$ac_objext
13147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13148 (eval $ac_compile) 2>conftest.er1
13149 ac_status=$?
13150 grep -v '^ *+' conftest.er1 >conftest.err
13151 rm -f conftest.er1
13152 cat conftest.err >&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); } &&
13155 { ac_try='test -z "$ac_cxx_werror_flag"
13156 || test ! -s conftest.err'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13159 ac_status=$?
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; } &&
13162 { ac_try='test -s conftest.$ac_objext'
13163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13164 (eval $ac_try) 2>&5
13165 ac_status=$?
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); }; }; then
13168 glibcxx_cv_func__isinff_use=yes
13169 else
13170 echo "$as_me: failed program was:" >&5
13171 sed 's/^/| /' conftest.$ac_ext >&5
13173 glibcxx_cv_func__isinff_use=no
13175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13176 ac_ext=c
13177 ac_cpp='$CPP $CPPFLAGS'
13178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13187 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13189 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13191 for ac_func in _isinff
13193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13194 echo "$as_me:$LINENO: checking for $ac_func" >&5
13195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13196 if eval "test \"\${$as_ac_var+set}\" = set"; then
13197 echo $ECHO_N "(cached) $ECHO_C" >&6
13198 else
13199 if test x$gcc_no_link = xyes; then
13200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13202 { (exit 1); exit 1; }; }
13204 cat >conftest.$ac_ext <<_ACEOF
13205 /* confdefs.h. */
13206 _ACEOF
13207 cat confdefs.h >>conftest.$ac_ext
13208 cat >>conftest.$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13212 #define $ac_func innocuous_$ac_func
13214 /* System header to define __stub macros and hopefully few prototypes,
13215 which can conflict with char $ac_func (); below.
13216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13217 <limits.h> exists even on freestanding compilers. */
13219 #ifdef __STDC__
13220 # include <limits.h>
13221 #else
13222 # include <assert.h>
13223 #endif
13225 #undef $ac_func
13227 /* Override any gcc2 internal prototype to avoid an error. */
13228 #ifdef __cplusplus
13229 extern "C"
13231 #endif
13232 /* We use char because int might match the return type of a gcc2
13233 builtin and then its argument prototype would still apply. */
13234 char $ac_func ();
13235 /* The GNU C library defines this for functions which it implements
13236 to always fail with ENOSYS. Some functions are actually named
13237 something starting with __ and the normal name is an alias. */
13238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13239 choke me
13240 #else
13241 char (*f) () = $ac_func;
13242 #endif
13243 #ifdef __cplusplus
13245 #endif
13248 main ()
13250 return f != $ac_func;
13252 return 0;
13254 _ACEOF
13255 rm -f conftest.$ac_objext conftest$ac_exeext
13256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13257 (eval $ac_link) 2>conftest.er1
13258 ac_status=$?
13259 grep -v '^ *+' conftest.er1 >conftest.err
13260 rm -f conftest.er1
13261 cat conftest.err >&5
13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 (exit $ac_status); } &&
13264 { ac_try='test -z "$ac_c_werror_flag"
13265 || test ! -s conftest.err'
13266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13267 (eval $ac_try) 2>&5
13268 ac_status=$?
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); }; } &&
13271 { ac_try='test -s conftest$ac_exeext'
13272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13273 (eval $ac_try) 2>&5
13274 ac_status=$?
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); }; }; then
13277 eval "$as_ac_var=yes"
13278 else
13279 echo "$as_me: failed program was:" >&5
13280 sed 's/^/| /' conftest.$ac_ext >&5
13282 eval "$as_ac_var=no"
13284 rm -f conftest.err conftest.$ac_objext \
13285 conftest$ac_exeext conftest.$ac_ext
13287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13289 if test `eval echo '${'$as_ac_var'}'` = yes; then
13290 cat >>confdefs.h <<_ACEOF
13291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13292 _ACEOF
13295 done
13305 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13306 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13307 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13308 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13309 echo $ECHO_N "(cached) $ECHO_C" >&6
13310 else
13314 ac_ext=cc
13315 ac_cpp='$CXXCPP $CPPFLAGS'
13316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13320 cat >conftest.$ac_ext <<_ACEOF
13321 /* confdefs.h. */
13322 _ACEOF
13323 cat confdefs.h >>conftest.$ac_ext
13324 cat >>conftest.$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13326 #include <math.h>
13328 main ()
13330 atan2f(0, 0);
13332 return 0;
13334 _ACEOF
13335 rm -f conftest.$ac_objext
13336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13337 (eval $ac_compile) 2>conftest.er1
13338 ac_status=$?
13339 grep -v '^ *+' conftest.er1 >conftest.err
13340 rm -f conftest.er1
13341 cat conftest.err >&5
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); } &&
13344 { ac_try='test -z "$ac_cxx_werror_flag"
13345 || test ! -s conftest.err'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13348 ac_status=$?
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; } &&
13351 { ac_try='test -s conftest.$ac_objext'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13354 ac_status=$?
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; }; then
13357 glibcxx_cv_func_atan2f_use=yes
13358 else
13359 echo "$as_me: failed program was:" >&5
13360 sed 's/^/| /' conftest.$ac_ext >&5
13362 glibcxx_cv_func_atan2f_use=no
13364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13365 ac_ext=c
13366 ac_cpp='$CPP $CPPFLAGS'
13367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13376 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13378 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13380 for ac_func in atan2f
13382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13383 echo "$as_me:$LINENO: checking for $ac_func" >&5
13384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13385 if eval "test \"\${$as_ac_var+set}\" = set"; then
13386 echo $ECHO_N "(cached) $ECHO_C" >&6
13387 else
13388 if test x$gcc_no_link = xyes; then
13389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13391 { (exit 1); exit 1; }; }
13393 cat >conftest.$ac_ext <<_ACEOF
13394 /* confdefs.h. */
13395 _ACEOF
13396 cat confdefs.h >>conftest.$ac_ext
13397 cat >>conftest.$ac_ext <<_ACEOF
13398 /* end confdefs.h. */
13399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13401 #define $ac_func innocuous_$ac_func
13403 /* System header to define __stub macros and hopefully few prototypes,
13404 which can conflict with char $ac_func (); below.
13405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13406 <limits.h> exists even on freestanding compilers. */
13408 #ifdef __STDC__
13409 # include <limits.h>
13410 #else
13411 # include <assert.h>
13412 #endif
13414 #undef $ac_func
13416 /* Override any gcc2 internal prototype to avoid an error. */
13417 #ifdef __cplusplus
13418 extern "C"
13420 #endif
13421 /* We use char because int might match the return type of a gcc2
13422 builtin and then its argument prototype would still apply. */
13423 char $ac_func ();
13424 /* The GNU C library defines this for functions which it implements
13425 to always fail with ENOSYS. Some functions are actually named
13426 something starting with __ and the normal name is an alias. */
13427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13428 choke me
13429 #else
13430 char (*f) () = $ac_func;
13431 #endif
13432 #ifdef __cplusplus
13434 #endif
13437 main ()
13439 return f != $ac_func;
13441 return 0;
13443 _ACEOF
13444 rm -f conftest.$ac_objext conftest$ac_exeext
13445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13446 (eval $ac_link) 2>conftest.er1
13447 ac_status=$?
13448 grep -v '^ *+' conftest.er1 >conftest.err
13449 rm -f conftest.er1
13450 cat conftest.err >&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } &&
13453 { ac_try='test -z "$ac_c_werror_flag"
13454 || test ! -s conftest.err'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13457 ac_status=$?
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; } &&
13460 { ac_try='test -s conftest$ac_exeext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13463 ac_status=$?
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 eval "$as_ac_var=yes"
13467 else
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.$ac_ext >&5
13471 eval "$as_ac_var=no"
13473 rm -f conftest.err conftest.$ac_objext \
13474 conftest$ac_exeext conftest.$ac_ext
13476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13478 if test `eval echo '${'$as_ac_var'}'` = yes; then
13479 cat >>confdefs.h <<_ACEOF
13480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13481 _ACEOF
13484 done
13486 else
13488 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13489 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13490 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13491 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13492 echo $ECHO_N "(cached) $ECHO_C" >&6
13493 else
13497 ac_ext=cc
13498 ac_cpp='$CXXCPP $CPPFLAGS'
13499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13503 cat >conftest.$ac_ext <<_ACEOF
13504 /* confdefs.h. */
13505 _ACEOF
13506 cat confdefs.h >>conftest.$ac_ext
13507 cat >>conftest.$ac_ext <<_ACEOF
13508 /* end confdefs.h. */
13509 #include <math.h>
13511 main ()
13513 _atan2f(0, 0);
13515 return 0;
13517 _ACEOF
13518 rm -f conftest.$ac_objext
13519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13520 (eval $ac_compile) 2>conftest.er1
13521 ac_status=$?
13522 grep -v '^ *+' conftest.er1 >conftest.err
13523 rm -f conftest.er1
13524 cat conftest.err >&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); } &&
13527 { ac_try='test -z "$ac_cxx_werror_flag"
13528 || test ! -s conftest.err'
13529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13530 (eval $ac_try) 2>&5
13531 ac_status=$?
13532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13533 (exit $ac_status); }; } &&
13534 { ac_try='test -s conftest.$ac_objext'
13535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13536 (eval $ac_try) 2>&5
13537 ac_status=$?
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); }; }; then
13540 glibcxx_cv_func__atan2f_use=yes
13541 else
13542 echo "$as_me: failed program was:" >&5
13543 sed 's/^/| /' conftest.$ac_ext >&5
13545 glibcxx_cv_func__atan2f_use=no
13547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13548 ac_ext=c
13549 ac_cpp='$CPP $CPPFLAGS'
13550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13559 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13561 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13563 for ac_func in _atan2f
13565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13566 echo "$as_me:$LINENO: checking for $ac_func" >&5
13567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13568 if eval "test \"\${$as_ac_var+set}\" = set"; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13570 else
13571 if test x$gcc_no_link = xyes; then
13572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13574 { (exit 1); exit 1; }; }
13576 cat >conftest.$ac_ext <<_ACEOF
13577 /* confdefs.h. */
13578 _ACEOF
13579 cat confdefs.h >>conftest.$ac_ext
13580 cat >>conftest.$ac_ext <<_ACEOF
13581 /* end confdefs.h. */
13582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13584 #define $ac_func innocuous_$ac_func
13586 /* System header to define __stub macros and hopefully few prototypes,
13587 which can conflict with char $ac_func (); below.
13588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13589 <limits.h> exists even on freestanding compilers. */
13591 #ifdef __STDC__
13592 # include <limits.h>
13593 #else
13594 # include <assert.h>
13595 #endif
13597 #undef $ac_func
13599 /* Override any gcc2 internal prototype to avoid an error. */
13600 #ifdef __cplusplus
13601 extern "C"
13603 #endif
13604 /* We use char because int might match the return type of a gcc2
13605 builtin and then its argument prototype would still apply. */
13606 char $ac_func ();
13607 /* The GNU C library defines this for functions which it implements
13608 to always fail with ENOSYS. Some functions are actually named
13609 something starting with __ and the normal name is an alias. */
13610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13611 choke me
13612 #else
13613 char (*f) () = $ac_func;
13614 #endif
13615 #ifdef __cplusplus
13617 #endif
13620 main ()
13622 return f != $ac_func;
13624 return 0;
13626 _ACEOF
13627 rm -f conftest.$ac_objext conftest$ac_exeext
13628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13629 (eval $ac_link) 2>conftest.er1
13630 ac_status=$?
13631 grep -v '^ *+' conftest.er1 >conftest.err
13632 rm -f conftest.er1
13633 cat conftest.err >&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } &&
13636 { ac_try='test -z "$ac_c_werror_flag"
13637 || test ! -s conftest.err'
13638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13639 (eval $ac_try) 2>&5
13640 ac_status=$?
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }; } &&
13643 { ac_try='test -s conftest$ac_exeext'
13644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13645 (eval $ac_try) 2>&5
13646 ac_status=$?
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); }; }; then
13649 eval "$as_ac_var=yes"
13650 else
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.$ac_ext >&5
13654 eval "$as_ac_var=no"
13656 rm -f conftest.err conftest.$ac_objext \
13657 conftest$ac_exeext conftest.$ac_ext
13659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13661 if test `eval echo '${'$as_ac_var'}'` = yes; then
13662 cat >>confdefs.h <<_ACEOF
13663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13664 _ACEOF
13667 done
13677 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13678 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13679 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13680 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13681 echo $ECHO_N "(cached) $ECHO_C" >&6
13682 else
13686 ac_ext=cc
13687 ac_cpp='$CXXCPP $CPPFLAGS'
13688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13692 cat >conftest.$ac_ext <<_ACEOF
13693 /* confdefs.h. */
13694 _ACEOF
13695 cat confdefs.h >>conftest.$ac_ext
13696 cat >>conftest.$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13698 #include <math.h>
13699 #ifdef HAVE_IEEEFP_H
13700 #include <ieeefp.h>
13701 #endif
13704 main ()
13706 fabsf(0);
13708 return 0;
13710 _ACEOF
13711 rm -f conftest.$ac_objext
13712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13713 (eval $ac_compile) 2>conftest.er1
13714 ac_status=$?
13715 grep -v '^ *+' conftest.er1 >conftest.err
13716 rm -f conftest.er1
13717 cat conftest.err >&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } &&
13720 { ac_try='test -z "$ac_cxx_werror_flag"
13721 || test ! -s conftest.err'
13722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13723 (eval $ac_try) 2>&5
13724 ac_status=$?
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); }; } &&
13727 { ac_try='test -s conftest.$ac_objext'
13728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13729 (eval $ac_try) 2>&5
13730 ac_status=$?
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); }; }; then
13733 glibcxx_cv_func_fabsf_use=yes
13734 else
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.$ac_ext >&5
13738 glibcxx_cv_func_fabsf_use=no
13740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13741 ac_ext=c
13742 ac_cpp='$CPP $CPPFLAGS'
13743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13752 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13754 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13756 for ac_func in fabsf
13758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13759 echo "$as_me:$LINENO: checking for $ac_func" >&5
13760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13761 if eval "test \"\${$as_ac_var+set}\" = set"; then
13762 echo $ECHO_N "(cached) $ECHO_C" >&6
13763 else
13764 if test x$gcc_no_link = xyes; then
13765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13767 { (exit 1); exit 1; }; }
13769 cat >conftest.$ac_ext <<_ACEOF
13770 /* confdefs.h. */
13771 _ACEOF
13772 cat confdefs.h >>conftest.$ac_ext
13773 cat >>conftest.$ac_ext <<_ACEOF
13774 /* end confdefs.h. */
13775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13777 #define $ac_func innocuous_$ac_func
13779 /* System header to define __stub macros and hopefully few prototypes,
13780 which can conflict with char $ac_func (); below.
13781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13782 <limits.h> exists even on freestanding compilers. */
13784 #ifdef __STDC__
13785 # include <limits.h>
13786 #else
13787 # include <assert.h>
13788 #endif
13790 #undef $ac_func
13792 /* Override any gcc2 internal prototype to avoid an error. */
13793 #ifdef __cplusplus
13794 extern "C"
13796 #endif
13797 /* We use char because int might match the return type of a gcc2
13798 builtin and then its argument prototype would still apply. */
13799 char $ac_func ();
13800 /* The GNU C library defines this for functions which it implements
13801 to always fail with ENOSYS. Some functions are actually named
13802 something starting with __ and the normal name is an alias. */
13803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13804 choke me
13805 #else
13806 char (*f) () = $ac_func;
13807 #endif
13808 #ifdef __cplusplus
13810 #endif
13813 main ()
13815 return f != $ac_func;
13817 return 0;
13819 _ACEOF
13820 rm -f conftest.$ac_objext conftest$ac_exeext
13821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13822 (eval $ac_link) 2>conftest.er1
13823 ac_status=$?
13824 grep -v '^ *+' conftest.er1 >conftest.err
13825 rm -f conftest.er1
13826 cat conftest.err >&5
13827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828 (exit $ac_status); } &&
13829 { ac_try='test -z "$ac_c_werror_flag"
13830 || test ! -s conftest.err'
13831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13832 (eval $ac_try) 2>&5
13833 ac_status=$?
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); }; } &&
13836 { ac_try='test -s conftest$ac_exeext'
13837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13838 (eval $ac_try) 2>&5
13839 ac_status=$?
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); }; }; then
13842 eval "$as_ac_var=yes"
13843 else
13844 echo "$as_me: failed program was:" >&5
13845 sed 's/^/| /' conftest.$ac_ext >&5
13847 eval "$as_ac_var=no"
13849 rm -f conftest.err conftest.$ac_objext \
13850 conftest$ac_exeext conftest.$ac_ext
13852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13854 if test `eval echo '${'$as_ac_var'}'` = yes; then
13855 cat >>confdefs.h <<_ACEOF
13856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13857 _ACEOF
13860 done
13862 else
13864 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13865 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13866 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13867 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13868 echo $ECHO_N "(cached) $ECHO_C" >&6
13869 else
13873 ac_ext=cc
13874 ac_cpp='$CXXCPP $CPPFLAGS'
13875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13879 cat >conftest.$ac_ext <<_ACEOF
13880 /* confdefs.h. */
13881 _ACEOF
13882 cat confdefs.h >>conftest.$ac_ext
13883 cat >>conftest.$ac_ext <<_ACEOF
13884 /* end confdefs.h. */
13885 #include <math.h>
13886 #ifdef HAVE_IEEEFP_H
13887 #include <ieeefp.h>
13888 #endif
13891 main ()
13893 _fabsf(0);
13895 return 0;
13897 _ACEOF
13898 rm -f conftest.$ac_objext
13899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13900 (eval $ac_compile) 2>conftest.er1
13901 ac_status=$?
13902 grep -v '^ *+' conftest.er1 >conftest.err
13903 rm -f conftest.er1
13904 cat conftest.err >&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); } &&
13907 { ac_try='test -z "$ac_cxx_werror_flag"
13908 || test ! -s conftest.err'
13909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13910 (eval $ac_try) 2>&5
13911 ac_status=$?
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; } &&
13914 { ac_try='test -s conftest.$ac_objext'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13917 ac_status=$?
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; }; then
13920 glibcxx_cv_func__fabsf_use=yes
13921 else
13922 echo "$as_me: failed program was:" >&5
13923 sed 's/^/| /' conftest.$ac_ext >&5
13925 glibcxx_cv_func__fabsf_use=no
13927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13928 ac_ext=c
13929 ac_cpp='$CPP $CPPFLAGS'
13930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13938 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13939 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13941 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13943 for ac_func in _fabsf
13945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13946 echo "$as_me:$LINENO: checking for $ac_func" >&5
13947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13948 if eval "test \"\${$as_ac_var+set}\" = set"; then
13949 echo $ECHO_N "(cached) $ECHO_C" >&6
13950 else
13951 if test x$gcc_no_link = xyes; then
13952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13954 { (exit 1); exit 1; }; }
13956 cat >conftest.$ac_ext <<_ACEOF
13957 /* confdefs.h. */
13958 _ACEOF
13959 cat confdefs.h >>conftest.$ac_ext
13960 cat >>conftest.$ac_ext <<_ACEOF
13961 /* end confdefs.h. */
13962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13964 #define $ac_func innocuous_$ac_func
13966 /* System header to define __stub macros and hopefully few prototypes,
13967 which can conflict with char $ac_func (); below.
13968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13969 <limits.h> exists even on freestanding compilers. */
13971 #ifdef __STDC__
13972 # include <limits.h>
13973 #else
13974 # include <assert.h>
13975 #endif
13977 #undef $ac_func
13979 /* Override any gcc2 internal prototype to avoid an error. */
13980 #ifdef __cplusplus
13981 extern "C"
13983 #endif
13984 /* We use char because int might match the return type of a gcc2
13985 builtin and then its argument prototype would still apply. */
13986 char $ac_func ();
13987 /* The GNU C library defines this for functions which it implements
13988 to always fail with ENOSYS. Some functions are actually named
13989 something starting with __ and the normal name is an alias. */
13990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13991 choke me
13992 #else
13993 char (*f) () = $ac_func;
13994 #endif
13995 #ifdef __cplusplus
13997 #endif
14000 main ()
14002 return f != $ac_func;
14004 return 0;
14006 _ACEOF
14007 rm -f conftest.$ac_objext conftest$ac_exeext
14008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14009 (eval $ac_link) 2>conftest.er1
14010 ac_status=$?
14011 grep -v '^ *+' conftest.er1 >conftest.err
14012 rm -f conftest.er1
14013 cat conftest.err >&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } &&
14016 { ac_try='test -z "$ac_c_werror_flag"
14017 || test ! -s conftest.err'
14018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14019 (eval $ac_try) 2>&5
14020 ac_status=$?
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); }; } &&
14023 { ac_try='test -s conftest$ac_exeext'
14024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14025 (eval $ac_try) 2>&5
14026 ac_status=$?
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); }; }; then
14029 eval "$as_ac_var=yes"
14030 else
14031 echo "$as_me: failed program was:" >&5
14032 sed 's/^/| /' conftest.$ac_ext >&5
14034 eval "$as_ac_var=no"
14036 rm -f conftest.err conftest.$ac_objext \
14037 conftest$ac_exeext conftest.$ac_ext
14039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14041 if test `eval echo '${'$as_ac_var'}'` = yes; then
14042 cat >>confdefs.h <<_ACEOF
14043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14044 _ACEOF
14047 done
14057 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14058 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14059 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14060 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14062 else
14066 ac_ext=cc
14067 ac_cpp='$CXXCPP $CPPFLAGS'
14068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14072 cat >conftest.$ac_ext <<_ACEOF
14073 /* confdefs.h. */
14074 _ACEOF
14075 cat confdefs.h >>conftest.$ac_ext
14076 cat >>conftest.$ac_ext <<_ACEOF
14077 /* end confdefs.h. */
14078 #include <math.h>
14080 main ()
14082 fmodf(0, 0);
14084 return 0;
14086 _ACEOF
14087 rm -f conftest.$ac_objext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14089 (eval $ac_compile) 2>conftest.er1
14090 ac_status=$?
14091 grep -v '^ *+' conftest.er1 >conftest.err
14092 rm -f conftest.er1
14093 cat conftest.err >&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } &&
14096 { ac_try='test -z "$ac_cxx_werror_flag"
14097 || test ! -s conftest.err'
14098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14099 (eval $ac_try) 2>&5
14100 ac_status=$?
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); }; } &&
14103 { ac_try='test -s conftest.$ac_objext'
14104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105 (eval $ac_try) 2>&5
14106 ac_status=$?
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); }; }; then
14109 glibcxx_cv_func_fmodf_use=yes
14110 else
14111 echo "$as_me: failed program was:" >&5
14112 sed 's/^/| /' conftest.$ac_ext >&5
14114 glibcxx_cv_func_fmodf_use=no
14116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14117 ac_ext=c
14118 ac_cpp='$CPP $CPPFLAGS'
14119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14128 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14130 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14132 for ac_func in fmodf
14134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14135 echo "$as_me:$LINENO: checking for $ac_func" >&5
14136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14137 if eval "test \"\${$as_ac_var+set}\" = set"; then
14138 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 else
14140 if test x$gcc_no_link = xyes; then
14141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14143 { (exit 1); exit 1; }; }
14145 cat >conftest.$ac_ext <<_ACEOF
14146 /* confdefs.h. */
14147 _ACEOF
14148 cat confdefs.h >>conftest.$ac_ext
14149 cat >>conftest.$ac_ext <<_ACEOF
14150 /* end confdefs.h. */
14151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14153 #define $ac_func innocuous_$ac_func
14155 /* System header to define __stub macros and hopefully few prototypes,
14156 which can conflict with char $ac_func (); below.
14157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14158 <limits.h> exists even on freestanding compilers. */
14160 #ifdef __STDC__
14161 # include <limits.h>
14162 #else
14163 # include <assert.h>
14164 #endif
14166 #undef $ac_func
14168 /* Override any gcc2 internal prototype to avoid an error. */
14169 #ifdef __cplusplus
14170 extern "C"
14172 #endif
14173 /* We use char because int might match the return type of a gcc2
14174 builtin and then its argument prototype would still apply. */
14175 char $ac_func ();
14176 /* The GNU C library defines this for functions which it implements
14177 to always fail with ENOSYS. Some functions are actually named
14178 something starting with __ and the normal name is an alias. */
14179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14180 choke me
14181 #else
14182 char (*f) () = $ac_func;
14183 #endif
14184 #ifdef __cplusplus
14186 #endif
14189 main ()
14191 return f != $ac_func;
14193 return 0;
14195 _ACEOF
14196 rm -f conftest.$ac_objext conftest$ac_exeext
14197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14198 (eval $ac_link) 2>conftest.er1
14199 ac_status=$?
14200 grep -v '^ *+' conftest.er1 >conftest.err
14201 rm -f conftest.er1
14202 cat conftest.err >&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); } &&
14205 { ac_try='test -z "$ac_c_werror_flag"
14206 || test ! -s conftest.err'
14207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14208 (eval $ac_try) 2>&5
14209 ac_status=$?
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); }; } &&
14212 { ac_try='test -s conftest$ac_exeext'
14213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14214 (eval $ac_try) 2>&5
14215 ac_status=$?
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); }; }; then
14218 eval "$as_ac_var=yes"
14219 else
14220 echo "$as_me: failed program was:" >&5
14221 sed 's/^/| /' conftest.$ac_ext >&5
14223 eval "$as_ac_var=no"
14225 rm -f conftest.err conftest.$ac_objext \
14226 conftest$ac_exeext conftest.$ac_ext
14228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14230 if test `eval echo '${'$as_ac_var'}'` = yes; then
14231 cat >>confdefs.h <<_ACEOF
14232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14233 _ACEOF
14236 done
14238 else
14240 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14241 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14242 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14243 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14244 echo $ECHO_N "(cached) $ECHO_C" >&6
14245 else
14249 ac_ext=cc
14250 ac_cpp='$CXXCPP $CPPFLAGS'
14251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14255 cat >conftest.$ac_ext <<_ACEOF
14256 /* confdefs.h. */
14257 _ACEOF
14258 cat confdefs.h >>conftest.$ac_ext
14259 cat >>conftest.$ac_ext <<_ACEOF
14260 /* end confdefs.h. */
14261 #include <math.h>
14263 main ()
14265 _fmodf(0, 0);
14267 return 0;
14269 _ACEOF
14270 rm -f conftest.$ac_objext
14271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14272 (eval $ac_compile) 2>conftest.er1
14273 ac_status=$?
14274 grep -v '^ *+' conftest.er1 >conftest.err
14275 rm -f conftest.er1
14276 cat conftest.err >&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); } &&
14279 { ac_try='test -z "$ac_cxx_werror_flag"
14280 || test ! -s conftest.err'
14281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 (eval $ac_try) 2>&5
14283 ac_status=$?
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; } &&
14286 { ac_try='test -s conftest.$ac_objext'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14289 ac_status=$?
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14292 glibcxx_cv_func__fmodf_use=yes
14293 else
14294 echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.$ac_ext >&5
14297 glibcxx_cv_func__fmodf_use=no
14299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14300 ac_ext=c
14301 ac_cpp='$CPP $CPPFLAGS'
14302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14310 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14311 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14313 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14315 for ac_func in _fmodf
14317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14318 echo "$as_me:$LINENO: checking for $ac_func" >&5
14319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14320 if eval "test \"\${$as_ac_var+set}\" = set"; then
14321 echo $ECHO_N "(cached) $ECHO_C" >&6
14322 else
14323 if test x$gcc_no_link = xyes; then
14324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14326 { (exit 1); exit 1; }; }
14328 cat >conftest.$ac_ext <<_ACEOF
14329 /* confdefs.h. */
14330 _ACEOF
14331 cat confdefs.h >>conftest.$ac_ext
14332 cat >>conftest.$ac_ext <<_ACEOF
14333 /* end confdefs.h. */
14334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14336 #define $ac_func innocuous_$ac_func
14338 /* System header to define __stub macros and hopefully few prototypes,
14339 which can conflict with char $ac_func (); below.
14340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14341 <limits.h> exists even on freestanding compilers. */
14343 #ifdef __STDC__
14344 # include <limits.h>
14345 #else
14346 # include <assert.h>
14347 #endif
14349 #undef $ac_func
14351 /* Override any gcc2 internal prototype to avoid an error. */
14352 #ifdef __cplusplus
14353 extern "C"
14355 #endif
14356 /* We use char because int might match the return type of a gcc2
14357 builtin and then its argument prototype would still apply. */
14358 char $ac_func ();
14359 /* The GNU C library defines this for functions which it implements
14360 to always fail with ENOSYS. Some functions are actually named
14361 something starting with __ and the normal name is an alias. */
14362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14363 choke me
14364 #else
14365 char (*f) () = $ac_func;
14366 #endif
14367 #ifdef __cplusplus
14369 #endif
14372 main ()
14374 return f != $ac_func;
14376 return 0;
14378 _ACEOF
14379 rm -f conftest.$ac_objext conftest$ac_exeext
14380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14381 (eval $ac_link) 2>conftest.er1
14382 ac_status=$?
14383 grep -v '^ *+' conftest.er1 >conftest.err
14384 rm -f conftest.er1
14385 cat conftest.err >&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } &&
14388 { ac_try='test -z "$ac_c_werror_flag"
14389 || test ! -s conftest.err'
14390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14391 (eval $ac_try) 2>&5
14392 ac_status=$?
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; } &&
14395 { ac_try='test -s conftest$ac_exeext'
14396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14397 (eval $ac_try) 2>&5
14398 ac_status=$?
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); }; }; then
14401 eval "$as_ac_var=yes"
14402 else
14403 echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.$ac_ext >&5
14406 eval "$as_ac_var=no"
14408 rm -f conftest.err conftest.$ac_objext \
14409 conftest$ac_exeext conftest.$ac_ext
14411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14413 if test `eval echo '${'$as_ac_var'}'` = yes; then
14414 cat >>confdefs.h <<_ACEOF
14415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14416 _ACEOF
14419 done
14429 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14430 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14431 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14432 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14433 echo $ECHO_N "(cached) $ECHO_C" >&6
14434 else
14438 ac_ext=cc
14439 ac_cpp='$CXXCPP $CPPFLAGS'
14440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14444 cat >conftest.$ac_ext <<_ACEOF
14445 /* confdefs.h. */
14446 _ACEOF
14447 cat confdefs.h >>conftest.$ac_ext
14448 cat >>conftest.$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450 #include <math.h>
14452 main ()
14454 frexpf(0, 0);
14456 return 0;
14458 _ACEOF
14459 rm -f conftest.$ac_objext
14460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14461 (eval $ac_compile) 2>conftest.er1
14462 ac_status=$?
14463 grep -v '^ *+' conftest.er1 >conftest.err
14464 rm -f conftest.er1
14465 cat conftest.err >&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } &&
14468 { ac_try='test -z "$ac_cxx_werror_flag"
14469 || test ! -s conftest.err'
14470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14471 (eval $ac_try) 2>&5
14472 ac_status=$?
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); }; } &&
14475 { ac_try='test -s conftest.$ac_objext'
14476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477 (eval $ac_try) 2>&5
14478 ac_status=$?
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; }; then
14481 glibcxx_cv_func_frexpf_use=yes
14482 else
14483 echo "$as_me: failed program was:" >&5
14484 sed 's/^/| /' conftest.$ac_ext >&5
14486 glibcxx_cv_func_frexpf_use=no
14488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14489 ac_ext=c
14490 ac_cpp='$CPP $CPPFLAGS'
14491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14500 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14502 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14504 for ac_func in frexpf
14506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14507 echo "$as_me:$LINENO: checking for $ac_func" >&5
14508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14509 if eval "test \"\${$as_ac_var+set}\" = set"; then
14510 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 else
14512 if test x$gcc_no_link = xyes; then
14513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14515 { (exit 1); exit 1; }; }
14517 cat >conftest.$ac_ext <<_ACEOF
14518 /* confdefs.h. */
14519 _ACEOF
14520 cat confdefs.h >>conftest.$ac_ext
14521 cat >>conftest.$ac_ext <<_ACEOF
14522 /* end confdefs.h. */
14523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14525 #define $ac_func innocuous_$ac_func
14527 /* System header to define __stub macros and hopefully few prototypes,
14528 which can conflict with char $ac_func (); below.
14529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14530 <limits.h> exists even on freestanding compilers. */
14532 #ifdef __STDC__
14533 # include <limits.h>
14534 #else
14535 # include <assert.h>
14536 #endif
14538 #undef $ac_func
14540 /* Override any gcc2 internal prototype to avoid an error. */
14541 #ifdef __cplusplus
14542 extern "C"
14544 #endif
14545 /* We use char because int might match the return type of a gcc2
14546 builtin and then its argument prototype would still apply. */
14547 char $ac_func ();
14548 /* The GNU C library defines this for functions which it implements
14549 to always fail with ENOSYS. Some functions are actually named
14550 something starting with __ and the normal name is an alias. */
14551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14552 choke me
14553 #else
14554 char (*f) () = $ac_func;
14555 #endif
14556 #ifdef __cplusplus
14558 #endif
14561 main ()
14563 return f != $ac_func;
14565 return 0;
14567 _ACEOF
14568 rm -f conftest.$ac_objext conftest$ac_exeext
14569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14570 (eval $ac_link) 2>conftest.er1
14571 ac_status=$?
14572 grep -v '^ *+' conftest.er1 >conftest.err
14573 rm -f conftest.er1
14574 cat conftest.err >&5
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); } &&
14577 { ac_try='test -z "$ac_c_werror_flag"
14578 || test ! -s conftest.err'
14579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14580 (eval $ac_try) 2>&5
14581 ac_status=$?
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; } &&
14584 { ac_try='test -s conftest$ac_exeext'
14585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14586 (eval $ac_try) 2>&5
14587 ac_status=$?
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; }; then
14590 eval "$as_ac_var=yes"
14591 else
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14595 eval "$as_ac_var=no"
14597 rm -f conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14602 if test `eval echo '${'$as_ac_var'}'` = yes; then
14603 cat >>confdefs.h <<_ACEOF
14604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14605 _ACEOF
14608 done
14610 else
14612 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14613 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14614 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14615 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14616 echo $ECHO_N "(cached) $ECHO_C" >&6
14617 else
14621 ac_ext=cc
14622 ac_cpp='$CXXCPP $CPPFLAGS'
14623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14627 cat >conftest.$ac_ext <<_ACEOF
14628 /* confdefs.h. */
14629 _ACEOF
14630 cat confdefs.h >>conftest.$ac_ext
14631 cat >>conftest.$ac_ext <<_ACEOF
14632 /* end confdefs.h. */
14633 #include <math.h>
14635 main ()
14637 _frexpf(0, 0);
14639 return 0;
14641 _ACEOF
14642 rm -f conftest.$ac_objext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14644 (eval $ac_compile) 2>conftest.er1
14645 ac_status=$?
14646 grep -v '^ *+' conftest.er1 >conftest.err
14647 rm -f conftest.er1
14648 cat conftest.err >&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try='test -z "$ac_cxx_werror_flag"
14652 || test ! -s conftest.err'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14655 ac_status=$?
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; } &&
14658 { ac_try='test -s conftest.$ac_objext'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14661 ac_status=$?
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 glibcxx_cv_func__frexpf_use=yes
14665 else
14666 echo "$as_me: failed program was:" >&5
14667 sed 's/^/| /' conftest.$ac_ext >&5
14669 glibcxx_cv_func__frexpf_use=no
14671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14672 ac_ext=c
14673 ac_cpp='$CPP $CPPFLAGS'
14674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14683 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14685 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14687 for ac_func in _frexpf
14689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14690 echo "$as_me:$LINENO: checking for $ac_func" >&5
14691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14692 if eval "test \"\${$as_ac_var+set}\" = set"; then
14693 echo $ECHO_N "(cached) $ECHO_C" >&6
14694 else
14695 if test x$gcc_no_link = xyes; then
14696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14698 { (exit 1); exit 1; }; }
14700 cat >conftest.$ac_ext <<_ACEOF
14701 /* confdefs.h. */
14702 _ACEOF
14703 cat confdefs.h >>conftest.$ac_ext
14704 cat >>conftest.$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14708 #define $ac_func innocuous_$ac_func
14710 /* System header to define __stub macros and hopefully few prototypes,
14711 which can conflict with char $ac_func (); below.
14712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14713 <limits.h> exists even on freestanding compilers. */
14715 #ifdef __STDC__
14716 # include <limits.h>
14717 #else
14718 # include <assert.h>
14719 #endif
14721 #undef $ac_func
14723 /* Override any gcc2 internal prototype to avoid an error. */
14724 #ifdef __cplusplus
14725 extern "C"
14727 #endif
14728 /* We use char because int might match the return type of a gcc2
14729 builtin and then its argument prototype would still apply. */
14730 char $ac_func ();
14731 /* The GNU C library defines this for functions which it implements
14732 to always fail with ENOSYS. Some functions are actually named
14733 something starting with __ and the normal name is an alias. */
14734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14735 choke me
14736 #else
14737 char (*f) () = $ac_func;
14738 #endif
14739 #ifdef __cplusplus
14741 #endif
14744 main ()
14746 return f != $ac_func;
14748 return 0;
14750 _ACEOF
14751 rm -f conftest.$ac_objext conftest$ac_exeext
14752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14753 (eval $ac_link) 2>conftest.er1
14754 ac_status=$?
14755 grep -v '^ *+' conftest.er1 >conftest.err
14756 rm -f conftest.er1
14757 cat conftest.err >&5
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); } &&
14760 { ac_try='test -z "$ac_c_werror_flag"
14761 || test ! -s conftest.err'
14762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14763 (eval $ac_try) 2>&5
14764 ac_status=$?
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); }; } &&
14767 { ac_try='test -s conftest$ac_exeext'
14768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769 (eval $ac_try) 2>&5
14770 ac_status=$?
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); }; }; then
14773 eval "$as_ac_var=yes"
14774 else
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.$ac_ext >&5
14778 eval "$as_ac_var=no"
14780 rm -f conftest.err conftest.$ac_objext \
14781 conftest$ac_exeext conftest.$ac_ext
14783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14785 if test `eval echo '${'$as_ac_var'}'` = yes; then
14786 cat >>confdefs.h <<_ACEOF
14787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14788 _ACEOF
14791 done
14801 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14802 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14803 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14804 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14805 echo $ECHO_N "(cached) $ECHO_C" >&6
14806 else
14810 ac_ext=cc
14811 ac_cpp='$CXXCPP $CPPFLAGS'
14812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14816 cat >conftest.$ac_ext <<_ACEOF
14817 /* confdefs.h. */
14818 _ACEOF
14819 cat confdefs.h >>conftest.$ac_ext
14820 cat >>conftest.$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14822 #include <math.h>
14824 main ()
14826 hypotf(0, 0);
14828 return 0;
14830 _ACEOF
14831 rm -f conftest.$ac_objext
14832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14833 (eval $ac_compile) 2>conftest.er1
14834 ac_status=$?
14835 grep -v '^ *+' conftest.er1 >conftest.err
14836 rm -f conftest.er1
14837 cat conftest.err >&5
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); } &&
14840 { ac_try='test -z "$ac_cxx_werror_flag"
14841 || test ! -s conftest.err'
14842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14843 (eval $ac_try) 2>&5
14844 ac_status=$?
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); }; } &&
14847 { ac_try='test -s conftest.$ac_objext'
14848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14849 (eval $ac_try) 2>&5
14850 ac_status=$?
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); }; }; then
14853 glibcxx_cv_func_hypotf_use=yes
14854 else
14855 echo "$as_me: failed program was:" >&5
14856 sed 's/^/| /' conftest.$ac_ext >&5
14858 glibcxx_cv_func_hypotf_use=no
14860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14861 ac_ext=c
14862 ac_cpp='$CPP $CPPFLAGS'
14863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14872 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14874 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14876 for ac_func in hypotf
14878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14879 echo "$as_me:$LINENO: checking for $ac_func" >&5
14880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14881 if eval "test \"\${$as_ac_var+set}\" = set"; then
14882 echo $ECHO_N "(cached) $ECHO_C" >&6
14883 else
14884 if test x$gcc_no_link = xyes; then
14885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14887 { (exit 1); exit 1; }; }
14889 cat >conftest.$ac_ext <<_ACEOF
14890 /* confdefs.h. */
14891 _ACEOF
14892 cat confdefs.h >>conftest.$ac_ext
14893 cat >>conftest.$ac_ext <<_ACEOF
14894 /* end confdefs.h. */
14895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14897 #define $ac_func innocuous_$ac_func
14899 /* System header to define __stub macros and hopefully few prototypes,
14900 which can conflict with char $ac_func (); below.
14901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14902 <limits.h> exists even on freestanding compilers. */
14904 #ifdef __STDC__
14905 # include <limits.h>
14906 #else
14907 # include <assert.h>
14908 #endif
14910 #undef $ac_func
14912 /* Override any gcc2 internal prototype to avoid an error. */
14913 #ifdef __cplusplus
14914 extern "C"
14916 #endif
14917 /* We use char because int might match the return type of a gcc2
14918 builtin and then its argument prototype would still apply. */
14919 char $ac_func ();
14920 /* The GNU C library defines this for functions which it implements
14921 to always fail with ENOSYS. Some functions are actually named
14922 something starting with __ and the normal name is an alias. */
14923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14924 choke me
14925 #else
14926 char (*f) () = $ac_func;
14927 #endif
14928 #ifdef __cplusplus
14930 #endif
14933 main ()
14935 return f != $ac_func;
14937 return 0;
14939 _ACEOF
14940 rm -f conftest.$ac_objext conftest$ac_exeext
14941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14942 (eval $ac_link) 2>conftest.er1
14943 ac_status=$?
14944 grep -v '^ *+' conftest.er1 >conftest.err
14945 rm -f conftest.er1
14946 cat conftest.err >&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); } &&
14949 { ac_try='test -z "$ac_c_werror_flag"
14950 || test ! -s conftest.err'
14951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14952 (eval $ac_try) 2>&5
14953 ac_status=$?
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); }; } &&
14956 { ac_try='test -s conftest$ac_exeext'
14957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14958 (eval $ac_try) 2>&5
14959 ac_status=$?
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); }; }; then
14962 eval "$as_ac_var=yes"
14963 else
14964 echo "$as_me: failed program was:" >&5
14965 sed 's/^/| /' conftest.$ac_ext >&5
14967 eval "$as_ac_var=no"
14969 rm -f conftest.err conftest.$ac_objext \
14970 conftest$ac_exeext conftest.$ac_ext
14972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14974 if test `eval echo '${'$as_ac_var'}'` = yes; then
14975 cat >>confdefs.h <<_ACEOF
14976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14977 _ACEOF
14980 done
14982 else
14984 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14985 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14986 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14987 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14988 echo $ECHO_N "(cached) $ECHO_C" >&6
14989 else
14993 ac_ext=cc
14994 ac_cpp='$CXXCPP $CPPFLAGS'
14995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14999 cat >conftest.$ac_ext <<_ACEOF
15000 /* confdefs.h. */
15001 _ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15005 #include <math.h>
15007 main ()
15009 _hypotf(0, 0);
15011 return 0;
15013 _ACEOF
15014 rm -f conftest.$ac_objext
15015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15016 (eval $ac_compile) 2>conftest.er1
15017 ac_status=$?
15018 grep -v '^ *+' conftest.er1 >conftest.err
15019 rm -f conftest.er1
15020 cat conftest.err >&5
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); } &&
15023 { ac_try='test -z "$ac_cxx_werror_flag"
15024 || test ! -s conftest.err'
15025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15026 (eval $ac_try) 2>&5
15027 ac_status=$?
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); }; } &&
15030 { ac_try='test -s conftest.$ac_objext'
15031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15032 (eval $ac_try) 2>&5
15033 ac_status=$?
15034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15035 (exit $ac_status); }; }; then
15036 glibcxx_cv_func__hypotf_use=yes
15037 else
15038 echo "$as_me: failed program was:" >&5
15039 sed 's/^/| /' conftest.$ac_ext >&5
15041 glibcxx_cv_func__hypotf_use=no
15043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15044 ac_ext=c
15045 ac_cpp='$CPP $CPPFLAGS'
15046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15055 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15057 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15059 for ac_func in _hypotf
15061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15062 echo "$as_me:$LINENO: checking for $ac_func" >&5
15063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15064 if eval "test \"\${$as_ac_var+set}\" = set"; then
15065 echo $ECHO_N "(cached) $ECHO_C" >&6
15066 else
15067 if test x$gcc_no_link = xyes; then
15068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15070 { (exit 1); exit 1; }; }
15072 cat >conftest.$ac_ext <<_ACEOF
15073 /* confdefs.h. */
15074 _ACEOF
15075 cat confdefs.h >>conftest.$ac_ext
15076 cat >>conftest.$ac_ext <<_ACEOF
15077 /* end confdefs.h. */
15078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15080 #define $ac_func innocuous_$ac_func
15082 /* System header to define __stub macros and hopefully few prototypes,
15083 which can conflict with char $ac_func (); below.
15084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15085 <limits.h> exists even on freestanding compilers. */
15087 #ifdef __STDC__
15088 # include <limits.h>
15089 #else
15090 # include <assert.h>
15091 #endif
15093 #undef $ac_func
15095 /* Override any gcc2 internal prototype to avoid an error. */
15096 #ifdef __cplusplus
15097 extern "C"
15099 #endif
15100 /* We use char because int might match the return type of a gcc2
15101 builtin and then its argument prototype would still apply. */
15102 char $ac_func ();
15103 /* The GNU C library defines this for functions which it implements
15104 to always fail with ENOSYS. Some functions are actually named
15105 something starting with __ and the normal name is an alias. */
15106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15107 choke me
15108 #else
15109 char (*f) () = $ac_func;
15110 #endif
15111 #ifdef __cplusplus
15113 #endif
15116 main ()
15118 return f != $ac_func;
15120 return 0;
15122 _ACEOF
15123 rm -f conftest.$ac_objext conftest$ac_exeext
15124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15125 (eval $ac_link) 2>conftest.er1
15126 ac_status=$?
15127 grep -v '^ *+' conftest.er1 >conftest.err
15128 rm -f conftest.er1
15129 cat conftest.err >&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); } &&
15132 { ac_try='test -z "$ac_c_werror_flag"
15133 || test ! -s conftest.err'
15134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15135 (eval $ac_try) 2>&5
15136 ac_status=$?
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); }; } &&
15139 { ac_try='test -s conftest$ac_exeext'
15140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15141 (eval $ac_try) 2>&5
15142 ac_status=$?
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); }; }; then
15145 eval "$as_ac_var=yes"
15146 else
15147 echo "$as_me: failed program was:" >&5
15148 sed 's/^/| /' conftest.$ac_ext >&5
15150 eval "$as_ac_var=no"
15152 rm -f conftest.err conftest.$ac_objext \
15153 conftest$ac_exeext conftest.$ac_ext
15155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15157 if test `eval echo '${'$as_ac_var'}'` = yes; then
15158 cat >>confdefs.h <<_ACEOF
15159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15160 _ACEOF
15163 done
15173 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15174 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15175 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15176 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15177 echo $ECHO_N "(cached) $ECHO_C" >&6
15178 else
15182 ac_ext=cc
15183 ac_cpp='$CXXCPP $CPPFLAGS'
15184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15188 cat >conftest.$ac_ext <<_ACEOF
15189 /* confdefs.h. */
15190 _ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15194 #include <math.h>
15196 main ()
15198 ldexpf(0, 0);
15200 return 0;
15202 _ACEOF
15203 rm -f conftest.$ac_objext
15204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15205 (eval $ac_compile) 2>conftest.er1
15206 ac_status=$?
15207 grep -v '^ *+' conftest.er1 >conftest.err
15208 rm -f conftest.er1
15209 cat conftest.err >&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); } &&
15212 { ac_try='test -z "$ac_cxx_werror_flag"
15213 || test ! -s conftest.err'
15214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15215 (eval $ac_try) 2>&5
15216 ac_status=$?
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }; } &&
15219 { ac_try='test -s conftest.$ac_objext'
15220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15221 (eval $ac_try) 2>&5
15222 ac_status=$?
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); }; }; then
15225 glibcxx_cv_func_ldexpf_use=yes
15226 else
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.$ac_ext >&5
15230 glibcxx_cv_func_ldexpf_use=no
15232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15233 ac_ext=c
15234 ac_cpp='$CPP $CPPFLAGS'
15235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15243 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15244 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15246 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15248 for ac_func in ldexpf
15250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15251 echo "$as_me:$LINENO: checking for $ac_func" >&5
15252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15253 if eval "test \"\${$as_ac_var+set}\" = set"; then
15254 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 else
15256 if test x$gcc_no_link = xyes; then
15257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15259 { (exit 1); exit 1; }; }
15261 cat >conftest.$ac_ext <<_ACEOF
15262 /* confdefs.h. */
15263 _ACEOF
15264 cat confdefs.h >>conftest.$ac_ext
15265 cat >>conftest.$ac_ext <<_ACEOF
15266 /* end confdefs.h. */
15267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15269 #define $ac_func innocuous_$ac_func
15271 /* System header to define __stub macros and hopefully few prototypes,
15272 which can conflict with char $ac_func (); below.
15273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15274 <limits.h> exists even on freestanding compilers. */
15276 #ifdef __STDC__
15277 # include <limits.h>
15278 #else
15279 # include <assert.h>
15280 #endif
15282 #undef $ac_func
15284 /* Override any gcc2 internal prototype to avoid an error. */
15285 #ifdef __cplusplus
15286 extern "C"
15288 #endif
15289 /* We use char because int might match the return type of a gcc2
15290 builtin and then its argument prototype would still apply. */
15291 char $ac_func ();
15292 /* The GNU C library defines this for functions which it implements
15293 to always fail with ENOSYS. Some functions are actually named
15294 something starting with __ and the normal name is an alias. */
15295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15296 choke me
15297 #else
15298 char (*f) () = $ac_func;
15299 #endif
15300 #ifdef __cplusplus
15302 #endif
15305 main ()
15307 return f != $ac_func;
15309 return 0;
15311 _ACEOF
15312 rm -f conftest.$ac_objext conftest$ac_exeext
15313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15314 (eval $ac_link) 2>conftest.er1
15315 ac_status=$?
15316 grep -v '^ *+' conftest.er1 >conftest.err
15317 rm -f conftest.er1
15318 cat conftest.err >&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } &&
15321 { ac_try='test -z "$ac_c_werror_flag"
15322 || test ! -s conftest.err'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15325 ac_status=$?
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; } &&
15328 { ac_try='test -s conftest$ac_exeext'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15331 ac_status=$?
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; }; then
15334 eval "$as_ac_var=yes"
15335 else
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.$ac_ext >&5
15339 eval "$as_ac_var=no"
15341 rm -f conftest.err conftest.$ac_objext \
15342 conftest$ac_exeext conftest.$ac_ext
15344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15346 if test `eval echo '${'$as_ac_var'}'` = yes; then
15347 cat >>confdefs.h <<_ACEOF
15348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15349 _ACEOF
15352 done
15354 else
15356 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15357 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15358 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15359 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15360 echo $ECHO_N "(cached) $ECHO_C" >&6
15361 else
15365 ac_ext=cc
15366 ac_cpp='$CXXCPP $CPPFLAGS'
15367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15371 cat >conftest.$ac_ext <<_ACEOF
15372 /* confdefs.h. */
15373 _ACEOF
15374 cat confdefs.h >>conftest.$ac_ext
15375 cat >>conftest.$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15377 #include <math.h>
15379 main ()
15381 _ldexpf(0, 0);
15383 return 0;
15385 _ACEOF
15386 rm -f conftest.$ac_objext
15387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15388 (eval $ac_compile) 2>conftest.er1
15389 ac_status=$?
15390 grep -v '^ *+' conftest.er1 >conftest.err
15391 rm -f conftest.er1
15392 cat conftest.err >&5
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); } &&
15395 { ac_try='test -z "$ac_cxx_werror_flag"
15396 || test ! -s conftest.err'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15399 ac_status=$?
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; } &&
15402 { ac_try='test -s conftest.$ac_objext'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15405 ac_status=$?
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; }; then
15408 glibcxx_cv_func__ldexpf_use=yes
15409 else
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.$ac_ext >&5
15413 glibcxx_cv_func__ldexpf_use=no
15415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15416 ac_ext=c
15417 ac_cpp='$CPP $CPPFLAGS'
15418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15426 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15427 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15429 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15431 for ac_func in _ldexpf
15433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15434 echo "$as_me:$LINENO: checking for $ac_func" >&5
15435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15436 if eval "test \"\${$as_ac_var+set}\" = set"; then
15437 echo $ECHO_N "(cached) $ECHO_C" >&6
15438 else
15439 if test x$gcc_no_link = xyes; then
15440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15442 { (exit 1); exit 1; }; }
15444 cat >conftest.$ac_ext <<_ACEOF
15445 /* confdefs.h. */
15446 _ACEOF
15447 cat confdefs.h >>conftest.$ac_ext
15448 cat >>conftest.$ac_ext <<_ACEOF
15449 /* end confdefs.h. */
15450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15452 #define $ac_func innocuous_$ac_func
15454 /* System header to define __stub macros and hopefully few prototypes,
15455 which can conflict with char $ac_func (); below.
15456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15457 <limits.h> exists even on freestanding compilers. */
15459 #ifdef __STDC__
15460 # include <limits.h>
15461 #else
15462 # include <assert.h>
15463 #endif
15465 #undef $ac_func
15467 /* Override any gcc2 internal prototype to avoid an error. */
15468 #ifdef __cplusplus
15469 extern "C"
15471 #endif
15472 /* We use char because int might match the return type of a gcc2
15473 builtin and then its argument prototype would still apply. */
15474 char $ac_func ();
15475 /* The GNU C library defines this for functions which it implements
15476 to always fail with ENOSYS. Some functions are actually named
15477 something starting with __ and the normal name is an alias. */
15478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15479 choke me
15480 #else
15481 char (*f) () = $ac_func;
15482 #endif
15483 #ifdef __cplusplus
15485 #endif
15488 main ()
15490 return f != $ac_func;
15492 return 0;
15494 _ACEOF
15495 rm -f conftest.$ac_objext conftest$ac_exeext
15496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15497 (eval $ac_link) 2>conftest.er1
15498 ac_status=$?
15499 grep -v '^ *+' conftest.er1 >conftest.err
15500 rm -f conftest.er1
15501 cat conftest.err >&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); } &&
15504 { ac_try='test -z "$ac_c_werror_flag"
15505 || test ! -s conftest.err'
15506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15507 (eval $ac_try) 2>&5
15508 ac_status=$?
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; } &&
15511 { ac_try='test -s conftest$ac_exeext'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15514 ac_status=$?
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; }; then
15517 eval "$as_ac_var=yes"
15518 else
15519 echo "$as_me: failed program was:" >&5
15520 sed 's/^/| /' conftest.$ac_ext >&5
15522 eval "$as_ac_var=no"
15524 rm -f conftest.err conftest.$ac_objext \
15525 conftest$ac_exeext conftest.$ac_ext
15527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15529 if test `eval echo '${'$as_ac_var'}'` = yes; then
15530 cat >>confdefs.h <<_ACEOF
15531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15532 _ACEOF
15535 done
15545 echo "$as_me:$LINENO: checking for logf declaration" >&5
15546 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15547 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15548 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15550 else
15554 ac_ext=cc
15555 ac_cpp='$CXXCPP $CPPFLAGS'
15556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15560 cat >conftest.$ac_ext <<_ACEOF
15561 /* confdefs.h. */
15562 _ACEOF
15563 cat confdefs.h >>conftest.$ac_ext
15564 cat >>conftest.$ac_ext <<_ACEOF
15565 /* end confdefs.h. */
15566 #include <math.h>
15567 #ifdef HAVE_IEEEFP_H
15568 #include <ieeefp.h>
15569 #endif
15572 main ()
15574 logf(0);
15576 return 0;
15578 _ACEOF
15579 rm -f conftest.$ac_objext
15580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15581 (eval $ac_compile) 2>conftest.er1
15582 ac_status=$?
15583 grep -v '^ *+' conftest.er1 >conftest.err
15584 rm -f conftest.er1
15585 cat conftest.err >&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); } &&
15588 { ac_try='test -z "$ac_cxx_werror_flag"
15589 || test ! -s conftest.err'
15590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591 (eval $ac_try) 2>&5
15592 ac_status=$?
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); }; } &&
15595 { ac_try='test -s conftest.$ac_objext'
15596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15597 (eval $ac_try) 2>&5
15598 ac_status=$?
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); }; }; then
15601 glibcxx_cv_func_logf_use=yes
15602 else
15603 echo "$as_me: failed program was:" >&5
15604 sed 's/^/| /' conftest.$ac_ext >&5
15606 glibcxx_cv_func_logf_use=no
15608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15609 ac_ext=c
15610 ac_cpp='$CPP $CPPFLAGS'
15611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15620 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15622 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15624 for ac_func in logf
15626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15627 echo "$as_me:$LINENO: checking for $ac_func" >&5
15628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15629 if eval "test \"\${$as_ac_var+set}\" = set"; then
15630 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 else
15632 if test x$gcc_no_link = xyes; then
15633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15635 { (exit 1); exit 1; }; }
15637 cat >conftest.$ac_ext <<_ACEOF
15638 /* confdefs.h. */
15639 _ACEOF
15640 cat confdefs.h >>conftest.$ac_ext
15641 cat >>conftest.$ac_ext <<_ACEOF
15642 /* end confdefs.h. */
15643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15645 #define $ac_func innocuous_$ac_func
15647 /* System header to define __stub macros and hopefully few prototypes,
15648 which can conflict with char $ac_func (); below.
15649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15650 <limits.h> exists even on freestanding compilers. */
15652 #ifdef __STDC__
15653 # include <limits.h>
15654 #else
15655 # include <assert.h>
15656 #endif
15658 #undef $ac_func
15660 /* Override any gcc2 internal prototype to avoid an error. */
15661 #ifdef __cplusplus
15662 extern "C"
15664 #endif
15665 /* We use char because int might match the return type of a gcc2
15666 builtin and then its argument prototype would still apply. */
15667 char $ac_func ();
15668 /* The GNU C library defines this for functions which it implements
15669 to always fail with ENOSYS. Some functions are actually named
15670 something starting with __ and the normal name is an alias. */
15671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15672 choke me
15673 #else
15674 char (*f) () = $ac_func;
15675 #endif
15676 #ifdef __cplusplus
15678 #endif
15681 main ()
15683 return f != $ac_func;
15685 return 0;
15687 _ACEOF
15688 rm -f conftest.$ac_objext conftest$ac_exeext
15689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15690 (eval $ac_link) 2>conftest.er1
15691 ac_status=$?
15692 grep -v '^ *+' conftest.er1 >conftest.err
15693 rm -f conftest.er1
15694 cat conftest.err >&5
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); } &&
15697 { ac_try='test -z "$ac_c_werror_flag"
15698 || test ! -s conftest.err'
15699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15700 (eval $ac_try) 2>&5
15701 ac_status=$?
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); }; } &&
15704 { ac_try='test -s conftest$ac_exeext'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15707 ac_status=$?
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; }; then
15710 eval "$as_ac_var=yes"
15711 else
15712 echo "$as_me: failed program was:" >&5
15713 sed 's/^/| /' conftest.$ac_ext >&5
15715 eval "$as_ac_var=no"
15717 rm -f conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext conftest.$ac_ext
15720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15722 if test `eval echo '${'$as_ac_var'}'` = yes; then
15723 cat >>confdefs.h <<_ACEOF
15724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15725 _ACEOF
15728 done
15730 else
15732 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15733 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15734 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15735 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15736 echo $ECHO_N "(cached) $ECHO_C" >&6
15737 else
15741 ac_ext=cc
15742 ac_cpp='$CXXCPP $CPPFLAGS'
15743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15747 cat >conftest.$ac_ext <<_ACEOF
15748 /* confdefs.h. */
15749 _ACEOF
15750 cat confdefs.h >>conftest.$ac_ext
15751 cat >>conftest.$ac_ext <<_ACEOF
15752 /* end confdefs.h. */
15753 #include <math.h>
15754 #ifdef HAVE_IEEEFP_H
15755 #include <ieeefp.h>
15756 #endif
15759 main ()
15761 _logf(0);
15763 return 0;
15765 _ACEOF
15766 rm -f conftest.$ac_objext
15767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15768 (eval $ac_compile) 2>conftest.er1
15769 ac_status=$?
15770 grep -v '^ *+' conftest.er1 >conftest.err
15771 rm -f conftest.er1
15772 cat conftest.err >&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } &&
15775 { ac_try='test -z "$ac_cxx_werror_flag"
15776 || test ! -s conftest.err'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15779 ac_status=$?
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; } &&
15782 { ac_try='test -s conftest.$ac_objext'
15783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784 (eval $ac_try) 2>&5
15785 ac_status=$?
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); }; }; then
15788 glibcxx_cv_func__logf_use=yes
15789 else
15790 echo "$as_me: failed program was:" >&5
15791 sed 's/^/| /' conftest.$ac_ext >&5
15793 glibcxx_cv_func__logf_use=no
15795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15796 ac_ext=c
15797 ac_cpp='$CPP $CPPFLAGS'
15798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15807 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15809 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15811 for ac_func in _logf
15813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15814 echo "$as_me:$LINENO: checking for $ac_func" >&5
15815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15816 if eval "test \"\${$as_ac_var+set}\" = set"; then
15817 echo $ECHO_N "(cached) $ECHO_C" >&6
15818 else
15819 if test x$gcc_no_link = xyes; then
15820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15822 { (exit 1); exit 1; }; }
15824 cat >conftest.$ac_ext <<_ACEOF
15825 /* confdefs.h. */
15826 _ACEOF
15827 cat confdefs.h >>conftest.$ac_ext
15828 cat >>conftest.$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15832 #define $ac_func innocuous_$ac_func
15834 /* System header to define __stub macros and hopefully few prototypes,
15835 which can conflict with char $ac_func (); below.
15836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15837 <limits.h> exists even on freestanding compilers. */
15839 #ifdef __STDC__
15840 # include <limits.h>
15841 #else
15842 # include <assert.h>
15843 #endif
15845 #undef $ac_func
15847 /* Override any gcc2 internal prototype to avoid an error. */
15848 #ifdef __cplusplus
15849 extern "C"
15851 #endif
15852 /* We use char because int might match the return type of a gcc2
15853 builtin and then its argument prototype would still apply. */
15854 char $ac_func ();
15855 /* The GNU C library defines this for functions which it implements
15856 to always fail with ENOSYS. Some functions are actually named
15857 something starting with __ and the normal name is an alias. */
15858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15859 choke me
15860 #else
15861 char (*f) () = $ac_func;
15862 #endif
15863 #ifdef __cplusplus
15865 #endif
15868 main ()
15870 return f != $ac_func;
15872 return 0;
15874 _ACEOF
15875 rm -f conftest.$ac_objext conftest$ac_exeext
15876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15877 (eval $ac_link) 2>conftest.er1
15878 ac_status=$?
15879 grep -v '^ *+' conftest.er1 >conftest.err
15880 rm -f conftest.er1
15881 cat conftest.err >&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } &&
15884 { ac_try='test -z "$ac_c_werror_flag"
15885 || test ! -s conftest.err'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15888 ac_status=$?
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; } &&
15891 { ac_try='test -s conftest$ac_exeext'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15894 ac_status=$?
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; }; then
15897 eval "$as_ac_var=yes"
15898 else
15899 echo "$as_me: failed program was:" >&5
15900 sed 's/^/| /' conftest.$ac_ext >&5
15902 eval "$as_ac_var=no"
15904 rm -f conftest.err conftest.$ac_objext \
15905 conftest$ac_exeext conftest.$ac_ext
15907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15909 if test `eval echo '${'$as_ac_var'}'` = yes; then
15910 cat >>confdefs.h <<_ACEOF
15911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15912 _ACEOF
15915 done
15925 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15926 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15927 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15928 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15929 echo $ECHO_N "(cached) $ECHO_C" >&6
15930 else
15934 ac_ext=cc
15935 ac_cpp='$CXXCPP $CPPFLAGS'
15936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15940 cat >conftest.$ac_ext <<_ACEOF
15941 /* confdefs.h. */
15942 _ACEOF
15943 cat confdefs.h >>conftest.$ac_ext
15944 cat >>conftest.$ac_ext <<_ACEOF
15945 /* end confdefs.h. */
15946 #include <math.h>
15947 #ifdef HAVE_IEEEFP_H
15948 #include <ieeefp.h>
15949 #endif
15952 main ()
15954 log10f(0);
15956 return 0;
15958 _ACEOF
15959 rm -f conftest.$ac_objext
15960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15961 (eval $ac_compile) 2>conftest.er1
15962 ac_status=$?
15963 grep -v '^ *+' conftest.er1 >conftest.err
15964 rm -f conftest.er1
15965 cat conftest.err >&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); } &&
15968 { ac_try='test -z "$ac_cxx_werror_flag"
15969 || test ! -s conftest.err'
15970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15971 (eval $ac_try) 2>&5
15972 ac_status=$?
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); }; } &&
15975 { ac_try='test -s conftest.$ac_objext'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15978 ac_status=$?
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; }; then
15981 glibcxx_cv_func_log10f_use=yes
15982 else
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.$ac_ext >&5
15986 glibcxx_cv_func_log10f_use=no
15988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15989 ac_ext=c
15990 ac_cpp='$CPP $CPPFLAGS'
15991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16000 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16002 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16004 for ac_func in log10f
16006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16007 echo "$as_me:$LINENO: checking for $ac_func" >&5
16008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16009 if eval "test \"\${$as_ac_var+set}\" = set"; then
16010 echo $ECHO_N "(cached) $ECHO_C" >&6
16011 else
16012 if test x$gcc_no_link = xyes; then
16013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16015 { (exit 1); exit 1; }; }
16017 cat >conftest.$ac_ext <<_ACEOF
16018 /* confdefs.h. */
16019 _ACEOF
16020 cat confdefs.h >>conftest.$ac_ext
16021 cat >>conftest.$ac_ext <<_ACEOF
16022 /* end confdefs.h. */
16023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16025 #define $ac_func innocuous_$ac_func
16027 /* System header to define __stub macros and hopefully few prototypes,
16028 which can conflict with char $ac_func (); below.
16029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16030 <limits.h> exists even on freestanding compilers. */
16032 #ifdef __STDC__
16033 # include <limits.h>
16034 #else
16035 # include <assert.h>
16036 #endif
16038 #undef $ac_func
16040 /* Override any gcc2 internal prototype to avoid an error. */
16041 #ifdef __cplusplus
16042 extern "C"
16044 #endif
16045 /* We use char because int might match the return type of a gcc2
16046 builtin and then its argument prototype would still apply. */
16047 char $ac_func ();
16048 /* The GNU C library defines this for functions which it implements
16049 to always fail with ENOSYS. Some functions are actually named
16050 something starting with __ and the normal name is an alias. */
16051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16052 choke me
16053 #else
16054 char (*f) () = $ac_func;
16055 #endif
16056 #ifdef __cplusplus
16058 #endif
16061 main ()
16063 return f != $ac_func;
16065 return 0;
16067 _ACEOF
16068 rm -f conftest.$ac_objext conftest$ac_exeext
16069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16070 (eval $ac_link) 2>conftest.er1
16071 ac_status=$?
16072 grep -v '^ *+' conftest.er1 >conftest.err
16073 rm -f conftest.er1
16074 cat conftest.err >&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); } &&
16077 { ac_try='test -z "$ac_c_werror_flag"
16078 || test ! -s conftest.err'
16079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080 (eval $ac_try) 2>&5
16081 ac_status=$?
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; } &&
16084 { ac_try='test -s conftest$ac_exeext'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16087 ac_status=$?
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; }; then
16090 eval "$as_ac_var=yes"
16091 else
16092 echo "$as_me: failed program was:" >&5
16093 sed 's/^/| /' conftest.$ac_ext >&5
16095 eval "$as_ac_var=no"
16097 rm -f conftest.err conftest.$ac_objext \
16098 conftest$ac_exeext conftest.$ac_ext
16100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16102 if test `eval echo '${'$as_ac_var'}'` = yes; then
16103 cat >>confdefs.h <<_ACEOF
16104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16105 _ACEOF
16108 done
16110 else
16112 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16113 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16114 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16115 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16116 echo $ECHO_N "(cached) $ECHO_C" >&6
16117 else
16121 ac_ext=cc
16122 ac_cpp='$CXXCPP $CPPFLAGS'
16123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16127 cat >conftest.$ac_ext <<_ACEOF
16128 /* confdefs.h. */
16129 _ACEOF
16130 cat confdefs.h >>conftest.$ac_ext
16131 cat >>conftest.$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16133 #include <math.h>
16134 #ifdef HAVE_IEEEFP_H
16135 #include <ieeefp.h>
16136 #endif
16139 main ()
16141 _log10f(0);
16143 return 0;
16145 _ACEOF
16146 rm -f conftest.$ac_objext
16147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16148 (eval $ac_compile) 2>conftest.er1
16149 ac_status=$?
16150 grep -v '^ *+' conftest.er1 >conftest.err
16151 rm -f conftest.er1
16152 cat conftest.err >&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } &&
16155 { ac_try='test -z "$ac_cxx_werror_flag"
16156 || test ! -s conftest.err'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16159 ac_status=$?
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; } &&
16162 { ac_try='test -s conftest.$ac_objext'
16163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16164 (eval $ac_try) 2>&5
16165 ac_status=$?
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; }; then
16168 glibcxx_cv_func__log10f_use=yes
16169 else
16170 echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.$ac_ext >&5
16173 glibcxx_cv_func__log10f_use=no
16175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16176 ac_ext=c
16177 ac_cpp='$CPP $CPPFLAGS'
16178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16187 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16189 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16191 for ac_func in _log10f
16193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16194 echo "$as_me:$LINENO: checking for $ac_func" >&5
16195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16196 if eval "test \"\${$as_ac_var+set}\" = set"; then
16197 echo $ECHO_N "(cached) $ECHO_C" >&6
16198 else
16199 if test x$gcc_no_link = xyes; then
16200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16202 { (exit 1); exit 1; }; }
16204 cat >conftest.$ac_ext <<_ACEOF
16205 /* confdefs.h. */
16206 _ACEOF
16207 cat confdefs.h >>conftest.$ac_ext
16208 cat >>conftest.$ac_ext <<_ACEOF
16209 /* end confdefs.h. */
16210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16212 #define $ac_func innocuous_$ac_func
16214 /* System header to define __stub macros and hopefully few prototypes,
16215 which can conflict with char $ac_func (); below.
16216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16217 <limits.h> exists even on freestanding compilers. */
16219 #ifdef __STDC__
16220 # include <limits.h>
16221 #else
16222 # include <assert.h>
16223 #endif
16225 #undef $ac_func
16227 /* Override any gcc2 internal prototype to avoid an error. */
16228 #ifdef __cplusplus
16229 extern "C"
16231 #endif
16232 /* We use char because int might match the return type of a gcc2
16233 builtin and then its argument prototype would still apply. */
16234 char $ac_func ();
16235 /* The GNU C library defines this for functions which it implements
16236 to always fail with ENOSYS. Some functions are actually named
16237 something starting with __ and the normal name is an alias. */
16238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16239 choke me
16240 #else
16241 char (*f) () = $ac_func;
16242 #endif
16243 #ifdef __cplusplus
16245 #endif
16248 main ()
16250 return f != $ac_func;
16252 return 0;
16254 _ACEOF
16255 rm -f conftest.$ac_objext conftest$ac_exeext
16256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16257 (eval $ac_link) 2>conftest.er1
16258 ac_status=$?
16259 grep -v '^ *+' conftest.er1 >conftest.err
16260 rm -f conftest.er1
16261 cat conftest.err >&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); } &&
16264 { ac_try='test -z "$ac_c_werror_flag"
16265 || test ! -s conftest.err'
16266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16267 (eval $ac_try) 2>&5
16268 ac_status=$?
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); }; } &&
16271 { ac_try='test -s conftest$ac_exeext'
16272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16273 (eval $ac_try) 2>&5
16274 ac_status=$?
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); }; }; then
16277 eval "$as_ac_var=yes"
16278 else
16279 echo "$as_me: failed program was:" >&5
16280 sed 's/^/| /' conftest.$ac_ext >&5
16282 eval "$as_ac_var=no"
16284 rm -f conftest.err conftest.$ac_objext \
16285 conftest$ac_exeext conftest.$ac_ext
16287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16289 if test `eval echo '${'$as_ac_var'}'` = yes; then
16290 cat >>confdefs.h <<_ACEOF
16291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16292 _ACEOF
16295 done
16305 echo "$as_me:$LINENO: checking for modff declaration" >&5
16306 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16307 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16308 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16309 echo $ECHO_N "(cached) $ECHO_C" >&6
16310 else
16314 ac_ext=cc
16315 ac_cpp='$CXXCPP $CPPFLAGS'
16316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16320 cat >conftest.$ac_ext <<_ACEOF
16321 /* confdefs.h. */
16322 _ACEOF
16323 cat confdefs.h >>conftest.$ac_ext
16324 cat >>conftest.$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16326 #include <math.h>
16328 main ()
16330 modff(0, 0);
16332 return 0;
16334 _ACEOF
16335 rm -f conftest.$ac_objext
16336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16337 (eval $ac_compile) 2>conftest.er1
16338 ac_status=$?
16339 grep -v '^ *+' conftest.er1 >conftest.err
16340 rm -f conftest.er1
16341 cat conftest.err >&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } &&
16344 { ac_try='test -z "$ac_cxx_werror_flag"
16345 || test ! -s conftest.err'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16348 ac_status=$?
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; } &&
16351 { ac_try='test -s conftest.$ac_objext'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16354 ac_status=$?
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; }; then
16357 glibcxx_cv_func_modff_use=yes
16358 else
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16362 glibcxx_cv_func_modff_use=no
16364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16365 ac_ext=c
16366 ac_cpp='$CPP $CPPFLAGS'
16367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16376 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16378 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16380 for ac_func in modff
16382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16383 echo "$as_me:$LINENO: checking for $ac_func" >&5
16384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16385 if eval "test \"\${$as_ac_var+set}\" = set"; then
16386 echo $ECHO_N "(cached) $ECHO_C" >&6
16387 else
16388 if test x$gcc_no_link = xyes; then
16389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16391 { (exit 1); exit 1; }; }
16393 cat >conftest.$ac_ext <<_ACEOF
16394 /* confdefs.h. */
16395 _ACEOF
16396 cat confdefs.h >>conftest.$ac_ext
16397 cat >>conftest.$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16401 #define $ac_func innocuous_$ac_func
16403 /* System header to define __stub macros and hopefully few prototypes,
16404 which can conflict with char $ac_func (); below.
16405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16406 <limits.h> exists even on freestanding compilers. */
16408 #ifdef __STDC__
16409 # include <limits.h>
16410 #else
16411 # include <assert.h>
16412 #endif
16414 #undef $ac_func
16416 /* Override any gcc2 internal prototype to avoid an error. */
16417 #ifdef __cplusplus
16418 extern "C"
16420 #endif
16421 /* We use char because int might match the return type of a gcc2
16422 builtin and then its argument prototype would still apply. */
16423 char $ac_func ();
16424 /* The GNU C library defines this for functions which it implements
16425 to always fail with ENOSYS. Some functions are actually named
16426 something starting with __ and the normal name is an alias. */
16427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16428 choke me
16429 #else
16430 char (*f) () = $ac_func;
16431 #endif
16432 #ifdef __cplusplus
16434 #endif
16437 main ()
16439 return f != $ac_func;
16441 return 0;
16443 _ACEOF
16444 rm -f conftest.$ac_objext conftest$ac_exeext
16445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16446 (eval $ac_link) 2>conftest.er1
16447 ac_status=$?
16448 grep -v '^ *+' conftest.er1 >conftest.err
16449 rm -f conftest.er1
16450 cat conftest.err >&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); } &&
16453 { ac_try='test -z "$ac_c_werror_flag"
16454 || test ! -s conftest.err'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16457 ac_status=$?
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; } &&
16460 { ac_try='test -s conftest$ac_exeext'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16463 ac_status=$?
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; }; then
16466 eval "$as_ac_var=yes"
16467 else
16468 echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.$ac_ext >&5
16471 eval "$as_ac_var=no"
16473 rm -f conftest.err conftest.$ac_objext \
16474 conftest$ac_exeext conftest.$ac_ext
16476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16478 if test `eval echo '${'$as_ac_var'}'` = yes; then
16479 cat >>confdefs.h <<_ACEOF
16480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16481 _ACEOF
16484 done
16486 else
16488 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16489 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16490 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16491 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16492 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 else
16497 ac_ext=cc
16498 ac_cpp='$CXXCPP $CPPFLAGS'
16499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16503 cat >conftest.$ac_ext <<_ACEOF
16504 /* confdefs.h. */
16505 _ACEOF
16506 cat confdefs.h >>conftest.$ac_ext
16507 cat >>conftest.$ac_ext <<_ACEOF
16508 /* end confdefs.h. */
16509 #include <math.h>
16511 main ()
16513 _modff(0, 0);
16515 return 0;
16517 _ACEOF
16518 rm -f conftest.$ac_objext
16519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16520 (eval $ac_compile) 2>conftest.er1
16521 ac_status=$?
16522 grep -v '^ *+' conftest.er1 >conftest.err
16523 rm -f conftest.er1
16524 cat conftest.err >&5
16525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16526 (exit $ac_status); } &&
16527 { ac_try='test -z "$ac_cxx_werror_flag"
16528 || test ! -s conftest.err'
16529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16530 (eval $ac_try) 2>&5
16531 ac_status=$?
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; } &&
16534 { ac_try='test -s conftest.$ac_objext'
16535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16536 (eval $ac_try) 2>&5
16537 ac_status=$?
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; }; then
16540 glibcxx_cv_func__modff_use=yes
16541 else
16542 echo "$as_me: failed program was:" >&5
16543 sed 's/^/| /' conftest.$ac_ext >&5
16545 glibcxx_cv_func__modff_use=no
16547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16548 ac_ext=c
16549 ac_cpp='$CPP $CPPFLAGS'
16550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16559 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16561 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16563 for ac_func in _modff
16565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16566 echo "$as_me:$LINENO: checking for $ac_func" >&5
16567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16568 if eval "test \"\${$as_ac_var+set}\" = set"; then
16569 echo $ECHO_N "(cached) $ECHO_C" >&6
16570 else
16571 if test x$gcc_no_link = xyes; then
16572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16574 { (exit 1); exit 1; }; }
16576 cat >conftest.$ac_ext <<_ACEOF
16577 /* confdefs.h. */
16578 _ACEOF
16579 cat confdefs.h >>conftest.$ac_ext
16580 cat >>conftest.$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16584 #define $ac_func innocuous_$ac_func
16586 /* System header to define __stub macros and hopefully few prototypes,
16587 which can conflict with char $ac_func (); below.
16588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16589 <limits.h> exists even on freestanding compilers. */
16591 #ifdef __STDC__
16592 # include <limits.h>
16593 #else
16594 # include <assert.h>
16595 #endif
16597 #undef $ac_func
16599 /* Override any gcc2 internal prototype to avoid an error. */
16600 #ifdef __cplusplus
16601 extern "C"
16603 #endif
16604 /* We use char because int might match the return type of a gcc2
16605 builtin and then its argument prototype would still apply. */
16606 char $ac_func ();
16607 /* The GNU C library defines this for functions which it implements
16608 to always fail with ENOSYS. Some functions are actually named
16609 something starting with __ and the normal name is an alias. */
16610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16611 choke me
16612 #else
16613 char (*f) () = $ac_func;
16614 #endif
16615 #ifdef __cplusplus
16617 #endif
16620 main ()
16622 return f != $ac_func;
16624 return 0;
16626 _ACEOF
16627 rm -f conftest.$ac_objext conftest$ac_exeext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16629 (eval $ac_link) 2>conftest.er1
16630 ac_status=$?
16631 grep -v '^ *+' conftest.er1 >conftest.err
16632 rm -f conftest.er1
16633 cat conftest.err >&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } &&
16636 { ac_try='test -z "$ac_c_werror_flag"
16637 || test ! -s conftest.err'
16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16640 ac_status=$?
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; } &&
16643 { ac_try='test -s conftest$ac_exeext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16646 ac_status=$?
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16649 eval "$as_ac_var=yes"
16650 else
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16654 eval "$as_ac_var=no"
16656 rm -f conftest.err conftest.$ac_objext \
16657 conftest$ac_exeext conftest.$ac_ext
16659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16661 if test `eval echo '${'$as_ac_var'}'` = yes; then
16662 cat >>confdefs.h <<_ACEOF
16663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16664 _ACEOF
16667 done
16677 echo "$as_me:$LINENO: checking for modf declaration" >&5
16678 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16679 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16680 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16682 else
16686 ac_ext=cc
16687 ac_cpp='$CXXCPP $CPPFLAGS'
16688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16692 cat >conftest.$ac_ext <<_ACEOF
16693 /* confdefs.h. */
16694 _ACEOF
16695 cat confdefs.h >>conftest.$ac_ext
16696 cat >>conftest.$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16698 #include <math.h>
16700 main ()
16702 modf(0, 0);
16704 return 0;
16706 _ACEOF
16707 rm -f conftest.$ac_objext
16708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16709 (eval $ac_compile) 2>conftest.er1
16710 ac_status=$?
16711 grep -v '^ *+' conftest.er1 >conftest.err
16712 rm -f conftest.er1
16713 cat conftest.err >&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); } &&
16716 { ac_try='test -z "$ac_cxx_werror_flag"
16717 || test ! -s conftest.err'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16720 ac_status=$?
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; } &&
16723 { ac_try='test -s conftest.$ac_objext'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16726 ac_status=$?
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; }; then
16729 glibcxx_cv_func_modf_use=yes
16730 else
16731 echo "$as_me: failed program was:" >&5
16732 sed 's/^/| /' conftest.$ac_ext >&5
16734 glibcxx_cv_func_modf_use=no
16736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16737 ac_ext=c
16738 ac_cpp='$CPP $CPPFLAGS'
16739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16748 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16750 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16752 for ac_func in modf
16754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16755 echo "$as_me:$LINENO: checking for $ac_func" >&5
16756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16757 if eval "test \"\${$as_ac_var+set}\" = set"; then
16758 echo $ECHO_N "(cached) $ECHO_C" >&6
16759 else
16760 if test x$gcc_no_link = xyes; then
16761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16763 { (exit 1); exit 1; }; }
16765 cat >conftest.$ac_ext <<_ACEOF
16766 /* confdefs.h. */
16767 _ACEOF
16768 cat confdefs.h >>conftest.$ac_ext
16769 cat >>conftest.$ac_ext <<_ACEOF
16770 /* end confdefs.h. */
16771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16773 #define $ac_func innocuous_$ac_func
16775 /* System header to define __stub macros and hopefully few prototypes,
16776 which can conflict with char $ac_func (); below.
16777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16778 <limits.h> exists even on freestanding compilers. */
16780 #ifdef __STDC__
16781 # include <limits.h>
16782 #else
16783 # include <assert.h>
16784 #endif
16786 #undef $ac_func
16788 /* Override any gcc2 internal prototype to avoid an error. */
16789 #ifdef __cplusplus
16790 extern "C"
16792 #endif
16793 /* We use char because int might match the return type of a gcc2
16794 builtin and then its argument prototype would still apply. */
16795 char $ac_func ();
16796 /* The GNU C library defines this for functions which it implements
16797 to always fail with ENOSYS. Some functions are actually named
16798 something starting with __ and the normal name is an alias. */
16799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16800 choke me
16801 #else
16802 char (*f) () = $ac_func;
16803 #endif
16804 #ifdef __cplusplus
16806 #endif
16809 main ()
16811 return f != $ac_func;
16813 return 0;
16815 _ACEOF
16816 rm -f conftest.$ac_objext conftest$ac_exeext
16817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16818 (eval $ac_link) 2>conftest.er1
16819 ac_status=$?
16820 grep -v '^ *+' conftest.er1 >conftest.err
16821 rm -f conftest.er1
16822 cat conftest.err >&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } &&
16825 { ac_try='test -z "$ac_c_werror_flag"
16826 || test ! -s conftest.err'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16829 ac_status=$?
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; } &&
16832 { ac_try='test -s conftest$ac_exeext'
16833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16834 (eval $ac_try) 2>&5
16835 ac_status=$?
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); }; }; then
16838 eval "$as_ac_var=yes"
16839 else
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.$ac_ext >&5
16843 eval "$as_ac_var=no"
16845 rm -f conftest.err conftest.$ac_objext \
16846 conftest$ac_exeext conftest.$ac_ext
16848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16850 if test `eval echo '${'$as_ac_var'}'` = yes; then
16851 cat >>confdefs.h <<_ACEOF
16852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16853 _ACEOF
16856 done
16858 else
16860 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16861 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16862 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16863 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16864 echo $ECHO_N "(cached) $ECHO_C" >&6
16865 else
16869 ac_ext=cc
16870 ac_cpp='$CXXCPP $CPPFLAGS'
16871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16875 cat >conftest.$ac_ext <<_ACEOF
16876 /* confdefs.h. */
16877 _ACEOF
16878 cat confdefs.h >>conftest.$ac_ext
16879 cat >>conftest.$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16881 #include <math.h>
16883 main ()
16885 _modf(0, 0);
16887 return 0;
16889 _ACEOF
16890 rm -f conftest.$ac_objext
16891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16892 (eval $ac_compile) 2>conftest.er1
16893 ac_status=$?
16894 grep -v '^ *+' conftest.er1 >conftest.err
16895 rm -f conftest.er1
16896 cat conftest.err >&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); } &&
16899 { ac_try='test -z "$ac_cxx_werror_flag"
16900 || test ! -s conftest.err'
16901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16902 (eval $ac_try) 2>&5
16903 ac_status=$?
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); }; } &&
16906 { ac_try='test -s conftest.$ac_objext'
16907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16908 (eval $ac_try) 2>&5
16909 ac_status=$?
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }; }; then
16912 glibcxx_cv_func__modf_use=yes
16913 else
16914 echo "$as_me: failed program was:" >&5
16915 sed 's/^/| /' conftest.$ac_ext >&5
16917 glibcxx_cv_func__modf_use=no
16919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16920 ac_ext=c
16921 ac_cpp='$CPP $CPPFLAGS'
16922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16930 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16931 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16933 if test x$glibcxx_cv_func__modf_use = x"yes"; then
16935 for ac_func in _modf
16937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16938 echo "$as_me:$LINENO: checking for $ac_func" >&5
16939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16940 if eval "test \"\${$as_ac_var+set}\" = set"; then
16941 echo $ECHO_N "(cached) $ECHO_C" >&6
16942 else
16943 if test x$gcc_no_link = xyes; then
16944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16946 { (exit 1); exit 1; }; }
16948 cat >conftest.$ac_ext <<_ACEOF
16949 /* confdefs.h. */
16950 _ACEOF
16951 cat confdefs.h >>conftest.$ac_ext
16952 cat >>conftest.$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16956 #define $ac_func innocuous_$ac_func
16958 /* System header to define __stub macros and hopefully few prototypes,
16959 which can conflict with char $ac_func (); below.
16960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16961 <limits.h> exists even on freestanding compilers. */
16963 #ifdef __STDC__
16964 # include <limits.h>
16965 #else
16966 # include <assert.h>
16967 #endif
16969 #undef $ac_func
16971 /* Override any gcc2 internal prototype to avoid an error. */
16972 #ifdef __cplusplus
16973 extern "C"
16975 #endif
16976 /* We use char because int might match the return type of a gcc2
16977 builtin and then its argument prototype would still apply. */
16978 char $ac_func ();
16979 /* The GNU C library defines this for functions which it implements
16980 to always fail with ENOSYS. Some functions are actually named
16981 something starting with __ and the normal name is an alias. */
16982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16983 choke me
16984 #else
16985 char (*f) () = $ac_func;
16986 #endif
16987 #ifdef __cplusplus
16989 #endif
16992 main ()
16994 return f != $ac_func;
16996 return 0;
16998 _ACEOF
16999 rm -f conftest.$ac_objext conftest$ac_exeext
17000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17001 (eval $ac_link) 2>conftest.er1
17002 ac_status=$?
17003 grep -v '^ *+' conftest.er1 >conftest.err
17004 rm -f conftest.er1
17005 cat conftest.err >&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); } &&
17008 { ac_try='test -z "$ac_c_werror_flag"
17009 || test ! -s conftest.err'
17010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17011 (eval $ac_try) 2>&5
17012 ac_status=$?
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); }; } &&
17015 { ac_try='test -s conftest$ac_exeext'
17016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017 (eval $ac_try) 2>&5
17018 ac_status=$?
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); }; }; then
17021 eval "$as_ac_var=yes"
17022 else
17023 echo "$as_me: failed program was:" >&5
17024 sed 's/^/| /' conftest.$ac_ext >&5
17026 eval "$as_ac_var=no"
17028 rm -f conftest.err conftest.$ac_objext \
17029 conftest$ac_exeext conftest.$ac_ext
17031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17033 if test `eval echo '${'$as_ac_var'}'` = yes; then
17034 cat >>confdefs.h <<_ACEOF
17035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17036 _ACEOF
17039 done
17049 echo "$as_me:$LINENO: checking for powf declaration" >&5
17050 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17051 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17052 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17053 echo $ECHO_N "(cached) $ECHO_C" >&6
17054 else
17058 ac_ext=cc
17059 ac_cpp='$CXXCPP $CPPFLAGS'
17060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17064 cat >conftest.$ac_ext <<_ACEOF
17065 /* confdefs.h. */
17066 _ACEOF
17067 cat confdefs.h >>conftest.$ac_ext
17068 cat >>conftest.$ac_ext <<_ACEOF
17069 /* end confdefs.h. */
17070 #include <math.h>
17072 main ()
17074 powf(0, 0);
17076 return 0;
17078 _ACEOF
17079 rm -f conftest.$ac_objext
17080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17081 (eval $ac_compile) 2>conftest.er1
17082 ac_status=$?
17083 grep -v '^ *+' conftest.er1 >conftest.err
17084 rm -f conftest.er1
17085 cat conftest.err >&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); } &&
17088 { ac_try='test -z "$ac_cxx_werror_flag"
17089 || test ! -s conftest.err'
17090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17091 (eval $ac_try) 2>&5
17092 ac_status=$?
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }; } &&
17095 { ac_try='test -s conftest.$ac_objext'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17098 ac_status=$?
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; }; then
17101 glibcxx_cv_func_powf_use=yes
17102 else
17103 echo "$as_me: failed program was:" >&5
17104 sed 's/^/| /' conftest.$ac_ext >&5
17106 glibcxx_cv_func_powf_use=no
17108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17109 ac_ext=c
17110 ac_cpp='$CPP $CPPFLAGS'
17111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17119 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17120 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17122 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17124 for ac_func in powf
17126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17127 echo "$as_me:$LINENO: checking for $ac_func" >&5
17128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17129 if eval "test \"\${$as_ac_var+set}\" = set"; then
17130 echo $ECHO_N "(cached) $ECHO_C" >&6
17131 else
17132 if test x$gcc_no_link = xyes; then
17133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17135 { (exit 1); exit 1; }; }
17137 cat >conftest.$ac_ext <<_ACEOF
17138 /* confdefs.h. */
17139 _ACEOF
17140 cat confdefs.h >>conftest.$ac_ext
17141 cat >>conftest.$ac_ext <<_ACEOF
17142 /* end confdefs.h. */
17143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17145 #define $ac_func innocuous_$ac_func
17147 /* System header to define __stub macros and hopefully few prototypes,
17148 which can conflict with char $ac_func (); below.
17149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17150 <limits.h> exists even on freestanding compilers. */
17152 #ifdef __STDC__
17153 # include <limits.h>
17154 #else
17155 # include <assert.h>
17156 #endif
17158 #undef $ac_func
17160 /* Override any gcc2 internal prototype to avoid an error. */
17161 #ifdef __cplusplus
17162 extern "C"
17164 #endif
17165 /* We use char because int might match the return type of a gcc2
17166 builtin and then its argument prototype would still apply. */
17167 char $ac_func ();
17168 /* The GNU C library defines this for functions which it implements
17169 to always fail with ENOSYS. Some functions are actually named
17170 something starting with __ and the normal name is an alias. */
17171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17172 choke me
17173 #else
17174 char (*f) () = $ac_func;
17175 #endif
17176 #ifdef __cplusplus
17178 #endif
17181 main ()
17183 return f != $ac_func;
17185 return 0;
17187 _ACEOF
17188 rm -f conftest.$ac_objext conftest$ac_exeext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17190 (eval $ac_link) 2>conftest.er1
17191 ac_status=$?
17192 grep -v '^ *+' conftest.er1 >conftest.err
17193 rm -f conftest.er1
17194 cat conftest.err >&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } &&
17197 { ac_try='test -z "$ac_c_werror_flag"
17198 || test ! -s conftest.err'
17199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17200 (eval $ac_try) 2>&5
17201 ac_status=$?
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); }; } &&
17204 { ac_try='test -s conftest$ac_exeext'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17207 ac_status=$?
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; }; then
17210 eval "$as_ac_var=yes"
17211 else
17212 echo "$as_me: failed program was:" >&5
17213 sed 's/^/| /' conftest.$ac_ext >&5
17215 eval "$as_ac_var=no"
17217 rm -f conftest.err conftest.$ac_objext \
17218 conftest$ac_exeext conftest.$ac_ext
17220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17222 if test `eval echo '${'$as_ac_var'}'` = yes; then
17223 cat >>confdefs.h <<_ACEOF
17224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17225 _ACEOF
17228 done
17230 else
17232 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17233 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17234 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17235 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17236 echo $ECHO_N "(cached) $ECHO_C" >&6
17237 else
17241 ac_ext=cc
17242 ac_cpp='$CXXCPP $CPPFLAGS'
17243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17247 cat >conftest.$ac_ext <<_ACEOF
17248 /* confdefs.h. */
17249 _ACEOF
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17253 #include <math.h>
17255 main ()
17257 _powf(0, 0);
17259 return 0;
17261 _ACEOF
17262 rm -f conftest.$ac_objext
17263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17264 (eval $ac_compile) 2>conftest.er1
17265 ac_status=$?
17266 grep -v '^ *+' conftest.er1 >conftest.err
17267 rm -f conftest.er1
17268 cat conftest.err >&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); } &&
17271 { ac_try='test -z "$ac_cxx_werror_flag"
17272 || test ! -s conftest.err'
17273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17274 (eval $ac_try) 2>&5
17275 ac_status=$?
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); }; } &&
17278 { ac_try='test -s conftest.$ac_objext'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17281 ac_status=$?
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; }; then
17284 glibcxx_cv_func__powf_use=yes
17285 else
17286 echo "$as_me: failed program was:" >&5
17287 sed 's/^/| /' conftest.$ac_ext >&5
17289 glibcxx_cv_func__powf_use=no
17291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17292 ac_ext=c
17293 ac_cpp='$CPP $CPPFLAGS'
17294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17302 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17303 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17305 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17307 for ac_func in _powf
17309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17310 echo "$as_me:$LINENO: checking for $ac_func" >&5
17311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17312 if eval "test \"\${$as_ac_var+set}\" = set"; then
17313 echo $ECHO_N "(cached) $ECHO_C" >&6
17314 else
17315 if test x$gcc_no_link = xyes; then
17316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17318 { (exit 1); exit 1; }; }
17320 cat >conftest.$ac_ext <<_ACEOF
17321 /* confdefs.h. */
17322 _ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17328 #define $ac_func innocuous_$ac_func
17330 /* System header to define __stub macros and hopefully few prototypes,
17331 which can conflict with char $ac_func (); below.
17332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17333 <limits.h> exists even on freestanding compilers. */
17335 #ifdef __STDC__
17336 # include <limits.h>
17337 #else
17338 # include <assert.h>
17339 #endif
17341 #undef $ac_func
17343 /* Override any gcc2 internal prototype to avoid an error. */
17344 #ifdef __cplusplus
17345 extern "C"
17347 #endif
17348 /* We use char because int might match the return type of a gcc2
17349 builtin and then its argument prototype would still apply. */
17350 char $ac_func ();
17351 /* The GNU C library defines this for functions which it implements
17352 to always fail with ENOSYS. Some functions are actually named
17353 something starting with __ and the normal name is an alias. */
17354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17355 choke me
17356 #else
17357 char (*f) () = $ac_func;
17358 #endif
17359 #ifdef __cplusplus
17361 #endif
17364 main ()
17366 return f != $ac_func;
17368 return 0;
17370 _ACEOF
17371 rm -f conftest.$ac_objext conftest$ac_exeext
17372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17373 (eval $ac_link) 2>conftest.er1
17374 ac_status=$?
17375 grep -v '^ *+' conftest.er1 >conftest.err
17376 rm -f conftest.er1
17377 cat conftest.err >&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } &&
17380 { ac_try='test -z "$ac_c_werror_flag"
17381 || test ! -s conftest.err'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17384 ac_status=$?
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; } &&
17387 { ac_try='test -s conftest$ac_exeext'
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17390 ac_status=$?
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; }; then
17393 eval "$as_ac_var=yes"
17394 else
17395 echo "$as_me: failed program was:" >&5
17396 sed 's/^/| /' conftest.$ac_ext >&5
17398 eval "$as_ac_var=no"
17400 rm -f conftest.err conftest.$ac_objext \
17401 conftest$ac_exeext conftest.$ac_ext
17403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17405 if test `eval echo '${'$as_ac_var'}'` = yes; then
17406 cat >>confdefs.h <<_ACEOF
17407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17408 _ACEOF
17411 done
17421 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17422 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17423 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17424 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17425 echo $ECHO_N "(cached) $ECHO_C" >&6
17426 else
17430 ac_ext=cc
17431 ac_cpp='$CXXCPP $CPPFLAGS'
17432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 #include <math.h>
17443 #ifdef HAVE_IEEEFP_H
17444 #include <ieeefp.h>
17445 #endif
17448 main ()
17450 sqrtf(0);
17452 return 0;
17454 _ACEOF
17455 rm -f conftest.$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17458 ac_status=$?
17459 grep -v '^ *+' conftest.er1 >conftest.err
17460 rm -f conftest.er1
17461 cat conftest.err >&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try='test -z "$ac_cxx_werror_flag"
17465 || test ! -s conftest.err'
17466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17467 (eval $ac_try) 2>&5
17468 ac_status=$?
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); }; } &&
17471 { ac_try='test -s conftest.$ac_objext'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17477 glibcxx_cv_func_sqrtf_use=yes
17478 else
17479 echo "$as_me: failed program was:" >&5
17480 sed 's/^/| /' conftest.$ac_ext >&5
17482 glibcxx_cv_func_sqrtf_use=no
17484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17485 ac_ext=c
17486 ac_cpp='$CPP $CPPFLAGS'
17487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17496 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17498 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17500 for ac_func in sqrtf
17502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17503 echo "$as_me:$LINENO: checking for $ac_func" >&5
17504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17505 if eval "test \"\${$as_ac_var+set}\" = set"; then
17506 echo $ECHO_N "(cached) $ECHO_C" >&6
17507 else
17508 if test x$gcc_no_link = xyes; then
17509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17511 { (exit 1); exit 1; }; }
17513 cat >conftest.$ac_ext <<_ACEOF
17514 /* confdefs.h. */
17515 _ACEOF
17516 cat confdefs.h >>conftest.$ac_ext
17517 cat >>conftest.$ac_ext <<_ACEOF
17518 /* end confdefs.h. */
17519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17521 #define $ac_func innocuous_$ac_func
17523 /* System header to define __stub macros and hopefully few prototypes,
17524 which can conflict with char $ac_func (); below.
17525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17526 <limits.h> exists even on freestanding compilers. */
17528 #ifdef __STDC__
17529 # include <limits.h>
17530 #else
17531 # include <assert.h>
17532 #endif
17534 #undef $ac_func
17536 /* Override any gcc2 internal prototype to avoid an error. */
17537 #ifdef __cplusplus
17538 extern "C"
17540 #endif
17541 /* We use char because int might match the return type of a gcc2
17542 builtin and then its argument prototype would still apply. */
17543 char $ac_func ();
17544 /* The GNU C library defines this for functions which it implements
17545 to always fail with ENOSYS. Some functions are actually named
17546 something starting with __ and the normal name is an alias. */
17547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17548 choke me
17549 #else
17550 char (*f) () = $ac_func;
17551 #endif
17552 #ifdef __cplusplus
17554 #endif
17557 main ()
17559 return f != $ac_func;
17561 return 0;
17563 _ACEOF
17564 rm -f conftest.$ac_objext conftest$ac_exeext
17565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17566 (eval $ac_link) 2>conftest.er1
17567 ac_status=$?
17568 grep -v '^ *+' conftest.er1 >conftest.err
17569 rm -f conftest.er1
17570 cat conftest.err >&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } &&
17573 { ac_try='test -z "$ac_c_werror_flag"
17574 || test ! -s conftest.err'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17577 ac_status=$?
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; } &&
17580 { ac_try='test -s conftest$ac_exeext'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17583 ac_status=$?
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; }; then
17586 eval "$as_ac_var=yes"
17587 else
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17591 eval "$as_ac_var=no"
17593 rm -f conftest.err conftest.$ac_objext \
17594 conftest$ac_exeext conftest.$ac_ext
17596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17598 if test `eval echo '${'$as_ac_var'}'` = yes; then
17599 cat >>confdefs.h <<_ACEOF
17600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17601 _ACEOF
17604 done
17606 else
17608 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17609 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17610 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17611 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17612 echo $ECHO_N "(cached) $ECHO_C" >&6
17613 else
17617 ac_ext=cc
17618 ac_cpp='$CXXCPP $CPPFLAGS'
17619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17623 cat >conftest.$ac_ext <<_ACEOF
17624 /* confdefs.h. */
17625 _ACEOF
17626 cat confdefs.h >>conftest.$ac_ext
17627 cat >>conftest.$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17629 #include <math.h>
17630 #ifdef HAVE_IEEEFP_H
17631 #include <ieeefp.h>
17632 #endif
17635 main ()
17637 _sqrtf(0);
17639 return 0;
17641 _ACEOF
17642 rm -f conftest.$ac_objext
17643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17644 (eval $ac_compile) 2>conftest.er1
17645 ac_status=$?
17646 grep -v '^ *+' conftest.er1 >conftest.err
17647 rm -f conftest.er1
17648 cat conftest.err >&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } &&
17651 { ac_try='test -z "$ac_cxx_werror_flag"
17652 || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 glibcxx_cv_func__sqrtf_use=yes
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 glibcxx_cv_func__sqrtf_use=no
17671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17672 ac_ext=c
17673 ac_cpp='$CPP $CPPFLAGS'
17674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17683 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17685 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17687 for ac_func in _sqrtf
17689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17690 echo "$as_me:$LINENO: checking for $ac_func" >&5
17691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17692 if eval "test \"\${$as_ac_var+set}\" = set"; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 else
17695 if test x$gcc_no_link = xyes; then
17696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17698 { (exit 1); exit 1; }; }
17700 cat >conftest.$ac_ext <<_ACEOF
17701 /* confdefs.h. */
17702 _ACEOF
17703 cat confdefs.h >>conftest.$ac_ext
17704 cat >>conftest.$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17708 #define $ac_func innocuous_$ac_func
17710 /* System header to define __stub macros and hopefully few prototypes,
17711 which can conflict with char $ac_func (); below.
17712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17713 <limits.h> exists even on freestanding compilers. */
17715 #ifdef __STDC__
17716 # include <limits.h>
17717 #else
17718 # include <assert.h>
17719 #endif
17721 #undef $ac_func
17723 /* Override any gcc2 internal prototype to avoid an error. */
17724 #ifdef __cplusplus
17725 extern "C"
17727 #endif
17728 /* We use char because int might match the return type of a gcc2
17729 builtin and then its argument prototype would still apply. */
17730 char $ac_func ();
17731 /* The GNU C library defines this for functions which it implements
17732 to always fail with ENOSYS. Some functions are actually named
17733 something starting with __ and the normal name is an alias. */
17734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17735 choke me
17736 #else
17737 char (*f) () = $ac_func;
17738 #endif
17739 #ifdef __cplusplus
17741 #endif
17744 main ()
17746 return f != $ac_func;
17748 return 0;
17750 _ACEOF
17751 rm -f conftest.$ac_objext conftest$ac_exeext
17752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17753 (eval $ac_link) 2>conftest.er1
17754 ac_status=$?
17755 grep -v '^ *+' conftest.er1 >conftest.err
17756 rm -f conftest.er1
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } &&
17760 { ac_try='test -z "$ac_c_werror_flag"
17761 || test ! -s conftest.err'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17764 ac_status=$?
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; } &&
17767 { ac_try='test -s conftest$ac_exeext'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17770 ac_status=$?
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; }; then
17773 eval "$as_ac_var=yes"
17774 else
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.$ac_ext >&5
17778 eval "$as_ac_var=no"
17780 rm -f conftest.err conftest.$ac_objext \
17781 conftest$ac_exeext conftest.$ac_ext
17783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17785 if test `eval echo '${'$as_ac_var'}'` = yes; then
17786 cat >>confdefs.h <<_ACEOF
17787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17788 _ACEOF
17791 done
17801 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17802 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17803 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17804 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17805 echo $ECHO_N "(cached) $ECHO_C" >&6
17806 else
17810 ac_ext=cc
17811 ac_cpp='$CXXCPP $CPPFLAGS'
17812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17816 cat >conftest.$ac_ext <<_ACEOF
17817 /* confdefs.h. */
17818 _ACEOF
17819 cat confdefs.h >>conftest.$ac_ext
17820 cat >>conftest.$ac_ext <<_ACEOF
17821 /* end confdefs.h. */
17822 #include <math.h>
17824 main ()
17826 sincosf(0, 0, 0);
17828 return 0;
17830 _ACEOF
17831 rm -f conftest.$ac_objext
17832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17833 (eval $ac_compile) 2>conftest.er1
17834 ac_status=$?
17835 grep -v '^ *+' conftest.er1 >conftest.err
17836 rm -f conftest.er1
17837 cat conftest.err >&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } &&
17840 { ac_try='test -z "$ac_cxx_werror_flag"
17841 || test ! -s conftest.err'
17842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17843 (eval $ac_try) 2>&5
17844 ac_status=$?
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }; } &&
17847 { ac_try='test -s conftest.$ac_objext'
17848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17849 (eval $ac_try) 2>&5
17850 ac_status=$?
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; }; then
17853 glibcxx_cv_func_sincosf_use=yes
17854 else
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17858 glibcxx_cv_func_sincosf_use=no
17860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17861 ac_ext=c
17862 ac_cpp='$CPP $CPPFLAGS'
17863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17872 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17874 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17876 for ac_func in sincosf
17878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17879 echo "$as_me:$LINENO: checking for $ac_func" >&5
17880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17881 if eval "test \"\${$as_ac_var+set}\" = set"; then
17882 echo $ECHO_N "(cached) $ECHO_C" >&6
17883 else
17884 if test x$gcc_no_link = xyes; then
17885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17887 { (exit 1); exit 1; }; }
17889 cat >conftest.$ac_ext <<_ACEOF
17890 /* confdefs.h. */
17891 _ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17897 #define $ac_func innocuous_$ac_func
17899 /* System header to define __stub macros and hopefully few prototypes,
17900 which can conflict with char $ac_func (); below.
17901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17902 <limits.h> exists even on freestanding compilers. */
17904 #ifdef __STDC__
17905 # include <limits.h>
17906 #else
17907 # include <assert.h>
17908 #endif
17910 #undef $ac_func
17912 /* Override any gcc2 internal prototype to avoid an error. */
17913 #ifdef __cplusplus
17914 extern "C"
17916 #endif
17917 /* We use char because int might match the return type of a gcc2
17918 builtin and then its argument prototype would still apply. */
17919 char $ac_func ();
17920 /* The GNU C library defines this for functions which it implements
17921 to always fail with ENOSYS. Some functions are actually named
17922 something starting with __ and the normal name is an alias. */
17923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17924 choke me
17925 #else
17926 char (*f) () = $ac_func;
17927 #endif
17928 #ifdef __cplusplus
17930 #endif
17933 main ()
17935 return f != $ac_func;
17937 return 0;
17939 _ACEOF
17940 rm -f conftest.$ac_objext conftest$ac_exeext
17941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17942 (eval $ac_link) 2>conftest.er1
17943 ac_status=$?
17944 grep -v '^ *+' conftest.er1 >conftest.err
17945 rm -f conftest.er1
17946 cat conftest.err >&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); } &&
17949 { ac_try='test -z "$ac_c_werror_flag"
17950 || test ! -s conftest.err'
17951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17952 (eval $ac_try) 2>&5
17953 ac_status=$?
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); }; } &&
17956 { ac_try='test -s conftest$ac_exeext'
17957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17958 (eval $ac_try) 2>&5
17959 ac_status=$?
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); }; }; then
17962 eval "$as_ac_var=yes"
17963 else
17964 echo "$as_me: failed program was:" >&5
17965 sed 's/^/| /' conftest.$ac_ext >&5
17967 eval "$as_ac_var=no"
17969 rm -f conftest.err conftest.$ac_objext \
17970 conftest$ac_exeext conftest.$ac_ext
17972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17974 if test `eval echo '${'$as_ac_var'}'` = yes; then
17975 cat >>confdefs.h <<_ACEOF
17976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17977 _ACEOF
17980 done
17982 else
17984 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17985 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17986 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17987 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17988 echo $ECHO_N "(cached) $ECHO_C" >&6
17989 else
17993 ac_ext=cc
17994 ac_cpp='$CXXCPP $CPPFLAGS'
17995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17999 cat >conftest.$ac_ext <<_ACEOF
18000 /* confdefs.h. */
18001 _ACEOF
18002 cat confdefs.h >>conftest.$ac_ext
18003 cat >>conftest.$ac_ext <<_ACEOF
18004 /* end confdefs.h. */
18005 #include <math.h>
18007 main ()
18009 _sincosf(0, 0, 0);
18011 return 0;
18013 _ACEOF
18014 rm -f conftest.$ac_objext
18015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18016 (eval $ac_compile) 2>conftest.er1
18017 ac_status=$?
18018 grep -v '^ *+' conftest.er1 >conftest.err
18019 rm -f conftest.er1
18020 cat conftest.err >&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } &&
18023 { ac_try='test -z "$ac_cxx_werror_flag"
18024 || test ! -s conftest.err'
18025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 (eval $ac_try) 2>&5
18027 ac_status=$?
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); }; } &&
18030 { ac_try='test -s conftest.$ac_objext'
18031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18032 (eval $ac_try) 2>&5
18033 ac_status=$?
18034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035 (exit $ac_status); }; }; then
18036 glibcxx_cv_func__sincosf_use=yes
18037 else
18038 echo "$as_me: failed program was:" >&5
18039 sed 's/^/| /' conftest.$ac_ext >&5
18041 glibcxx_cv_func__sincosf_use=no
18043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18044 ac_ext=c
18045 ac_cpp='$CPP $CPPFLAGS'
18046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18055 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18057 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18059 for ac_func in _sincosf
18061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18062 echo "$as_me:$LINENO: checking for $ac_func" >&5
18063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18064 if eval "test \"\${$as_ac_var+set}\" = set"; then
18065 echo $ECHO_N "(cached) $ECHO_C" >&6
18066 else
18067 if test x$gcc_no_link = xyes; then
18068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18070 { (exit 1); exit 1; }; }
18072 cat >conftest.$ac_ext <<_ACEOF
18073 /* confdefs.h. */
18074 _ACEOF
18075 cat confdefs.h >>conftest.$ac_ext
18076 cat >>conftest.$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18080 #define $ac_func innocuous_$ac_func
18082 /* System header to define __stub macros and hopefully few prototypes,
18083 which can conflict with char $ac_func (); below.
18084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18085 <limits.h> exists even on freestanding compilers. */
18087 #ifdef __STDC__
18088 # include <limits.h>
18089 #else
18090 # include <assert.h>
18091 #endif
18093 #undef $ac_func
18095 /* Override any gcc2 internal prototype to avoid an error. */
18096 #ifdef __cplusplus
18097 extern "C"
18099 #endif
18100 /* We use char because int might match the return type of a gcc2
18101 builtin and then its argument prototype would still apply. */
18102 char $ac_func ();
18103 /* The GNU C library defines this for functions which it implements
18104 to always fail with ENOSYS. Some functions are actually named
18105 something starting with __ and the normal name is an alias. */
18106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18107 choke me
18108 #else
18109 char (*f) () = $ac_func;
18110 #endif
18111 #ifdef __cplusplus
18113 #endif
18116 main ()
18118 return f != $ac_func;
18120 return 0;
18122 _ACEOF
18123 rm -f conftest.$ac_objext conftest$ac_exeext
18124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18125 (eval $ac_link) 2>conftest.er1
18126 ac_status=$?
18127 grep -v '^ *+' conftest.er1 >conftest.err
18128 rm -f conftest.er1
18129 cat conftest.err >&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); } &&
18132 { ac_try='test -z "$ac_c_werror_flag"
18133 || test ! -s conftest.err'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18136 ac_status=$?
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; } &&
18139 { ac_try='test -s conftest$ac_exeext'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18142 ac_status=$?
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; }; then
18145 eval "$as_ac_var=yes"
18146 else
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18150 eval "$as_ac_var=no"
18152 rm -f conftest.err conftest.$ac_objext \
18153 conftest$ac_exeext conftest.$ac_ext
18155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18157 if test `eval echo '${'$as_ac_var'}'` = yes; then
18158 cat >>confdefs.h <<_ACEOF
18159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18160 _ACEOF
18163 done
18173 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18174 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18175 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18176 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18177 echo $ECHO_N "(cached) $ECHO_C" >&6
18178 else
18182 ac_ext=cc
18183 ac_cpp='$CXXCPP $CPPFLAGS'
18184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18188 cat >conftest.$ac_ext <<_ACEOF
18189 /* confdefs.h. */
18190 _ACEOF
18191 cat confdefs.h >>conftest.$ac_ext
18192 cat >>conftest.$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18194 #include <math.h>
18195 #ifdef HAVE_IEEEFP_H
18196 #include <ieeefp.h>
18197 #endif
18200 main ()
18202 finitef(0);
18204 return 0;
18206 _ACEOF
18207 rm -f conftest.$ac_objext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18209 (eval $ac_compile) 2>conftest.er1
18210 ac_status=$?
18211 grep -v '^ *+' conftest.er1 >conftest.err
18212 rm -f conftest.er1
18213 cat conftest.err >&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } &&
18216 { ac_try='test -z "$ac_cxx_werror_flag"
18217 || test ! -s conftest.err'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18220 ac_status=$?
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; } &&
18223 { ac_try='test -s conftest.$ac_objext'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; }; then
18229 glibcxx_cv_func_finitef_use=yes
18230 else
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18234 glibcxx_cv_func_finitef_use=no
18236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18237 ac_ext=c
18238 ac_cpp='$CPP $CPPFLAGS'
18239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18248 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18250 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18252 for ac_func in finitef
18254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18255 echo "$as_me:$LINENO: checking for $ac_func" >&5
18256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18257 if eval "test \"\${$as_ac_var+set}\" = set"; then
18258 echo $ECHO_N "(cached) $ECHO_C" >&6
18259 else
18260 if test x$gcc_no_link = xyes; then
18261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18263 { (exit 1); exit 1; }; }
18265 cat >conftest.$ac_ext <<_ACEOF
18266 /* confdefs.h. */
18267 _ACEOF
18268 cat confdefs.h >>conftest.$ac_ext
18269 cat >>conftest.$ac_ext <<_ACEOF
18270 /* end confdefs.h. */
18271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18273 #define $ac_func innocuous_$ac_func
18275 /* System header to define __stub macros and hopefully few prototypes,
18276 which can conflict with char $ac_func (); below.
18277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18278 <limits.h> exists even on freestanding compilers. */
18280 #ifdef __STDC__
18281 # include <limits.h>
18282 #else
18283 # include <assert.h>
18284 #endif
18286 #undef $ac_func
18288 /* Override any gcc2 internal prototype to avoid an error. */
18289 #ifdef __cplusplus
18290 extern "C"
18292 #endif
18293 /* We use char because int might match the return type of a gcc2
18294 builtin and then its argument prototype would still apply. */
18295 char $ac_func ();
18296 /* The GNU C library defines this for functions which it implements
18297 to always fail with ENOSYS. Some functions are actually named
18298 something starting with __ and the normal name is an alias. */
18299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18300 choke me
18301 #else
18302 char (*f) () = $ac_func;
18303 #endif
18304 #ifdef __cplusplus
18306 #endif
18309 main ()
18311 return f != $ac_func;
18313 return 0;
18315 _ACEOF
18316 rm -f conftest.$ac_objext conftest$ac_exeext
18317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18318 (eval $ac_link) 2>conftest.er1
18319 ac_status=$?
18320 grep -v '^ *+' conftest.er1 >conftest.err
18321 rm -f conftest.er1
18322 cat conftest.err >&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); } &&
18325 { ac_try='test -z "$ac_c_werror_flag"
18326 || test ! -s conftest.err'
18327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18328 (eval $ac_try) 2>&5
18329 ac_status=$?
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); }; } &&
18332 { ac_try='test -s conftest$ac_exeext'
18333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18334 (eval $ac_try) 2>&5
18335 ac_status=$?
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); }; }; then
18338 eval "$as_ac_var=yes"
18339 else
18340 echo "$as_me: failed program was:" >&5
18341 sed 's/^/| /' conftest.$ac_ext >&5
18343 eval "$as_ac_var=no"
18345 rm -f conftest.err conftest.$ac_objext \
18346 conftest$ac_exeext conftest.$ac_ext
18348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18350 if test `eval echo '${'$as_ac_var'}'` = yes; then
18351 cat >>confdefs.h <<_ACEOF
18352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18353 _ACEOF
18356 done
18358 else
18360 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18361 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18362 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18363 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 else
18369 ac_ext=cc
18370 ac_cpp='$CXXCPP $CPPFLAGS'
18371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18375 cat >conftest.$ac_ext <<_ACEOF
18376 /* confdefs.h. */
18377 _ACEOF
18378 cat confdefs.h >>conftest.$ac_ext
18379 cat >>conftest.$ac_ext <<_ACEOF
18380 /* end confdefs.h. */
18381 #include <math.h>
18382 #ifdef HAVE_IEEEFP_H
18383 #include <ieeefp.h>
18384 #endif
18387 main ()
18389 _finitef(0);
18391 return 0;
18393 _ACEOF
18394 rm -f conftest.$ac_objext
18395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18396 (eval $ac_compile) 2>conftest.er1
18397 ac_status=$?
18398 grep -v '^ *+' conftest.er1 >conftest.err
18399 rm -f conftest.er1
18400 cat conftest.err >&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); } &&
18403 { ac_try='test -z "$ac_cxx_werror_flag"
18404 || test ! -s conftest.err'
18405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18406 (eval $ac_try) 2>&5
18407 ac_status=$?
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); }; } &&
18410 { ac_try='test -s conftest.$ac_objext'
18411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18412 (eval $ac_try) 2>&5
18413 ac_status=$?
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); }; }; then
18416 glibcxx_cv_func__finitef_use=yes
18417 else
18418 echo "$as_me: failed program was:" >&5
18419 sed 's/^/| /' conftest.$ac_ext >&5
18421 glibcxx_cv_func__finitef_use=no
18423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18424 ac_ext=c
18425 ac_cpp='$CPP $CPPFLAGS'
18426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18435 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18437 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18439 for ac_func in _finitef
18441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18442 echo "$as_me:$LINENO: checking for $ac_func" >&5
18443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18444 if eval "test \"\${$as_ac_var+set}\" = set"; then
18445 echo $ECHO_N "(cached) $ECHO_C" >&6
18446 else
18447 if test x$gcc_no_link = xyes; then
18448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18450 { (exit 1); exit 1; }; }
18452 cat >conftest.$ac_ext <<_ACEOF
18453 /* confdefs.h. */
18454 _ACEOF
18455 cat confdefs.h >>conftest.$ac_ext
18456 cat >>conftest.$ac_ext <<_ACEOF
18457 /* end confdefs.h. */
18458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18460 #define $ac_func innocuous_$ac_func
18462 /* System header to define __stub macros and hopefully few prototypes,
18463 which can conflict with char $ac_func (); below.
18464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18465 <limits.h> exists even on freestanding compilers. */
18467 #ifdef __STDC__
18468 # include <limits.h>
18469 #else
18470 # include <assert.h>
18471 #endif
18473 #undef $ac_func
18475 /* Override any gcc2 internal prototype to avoid an error. */
18476 #ifdef __cplusplus
18477 extern "C"
18479 #endif
18480 /* We use char because int might match the return type of a gcc2
18481 builtin and then its argument prototype would still apply. */
18482 char $ac_func ();
18483 /* The GNU C library defines this for functions which it implements
18484 to always fail with ENOSYS. Some functions are actually named
18485 something starting with __ and the normal name is an alias. */
18486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18487 choke me
18488 #else
18489 char (*f) () = $ac_func;
18490 #endif
18491 #ifdef __cplusplus
18493 #endif
18496 main ()
18498 return f != $ac_func;
18500 return 0;
18502 _ACEOF
18503 rm -f conftest.$ac_objext conftest$ac_exeext
18504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18505 (eval $ac_link) 2>conftest.er1
18506 ac_status=$?
18507 grep -v '^ *+' conftest.er1 >conftest.err
18508 rm -f conftest.er1
18509 cat conftest.err >&5
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); } &&
18512 { ac_try='test -z "$ac_c_werror_flag"
18513 || test ! -s conftest.err'
18514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18515 (eval $ac_try) 2>&5
18516 ac_status=$?
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); }; } &&
18519 { ac_try='test -s conftest$ac_exeext'
18520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18521 (eval $ac_try) 2>&5
18522 ac_status=$?
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); }; }; then
18525 eval "$as_ac_var=yes"
18526 else
18527 echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.$ac_ext >&5
18530 eval "$as_ac_var=no"
18532 rm -f conftest.err conftest.$ac_objext \
18533 conftest$ac_exeext conftest.$ac_ext
18535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18537 if test `eval echo '${'$as_ac_var'}'` = yes; then
18538 cat >>confdefs.h <<_ACEOF
18539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18540 _ACEOF
18543 done
18553 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18554 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18555 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18556 echo $ECHO_N "(cached) $ECHO_C" >&6
18557 else
18561 ac_ext=cc
18562 ac_cpp='$CXXCPP $CPPFLAGS'
18563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18567 cat >conftest.$ac_ext <<_ACEOF
18568 /* confdefs.h. */
18569 _ACEOF
18570 cat confdefs.h >>conftest.$ac_ext
18571 cat >>conftest.$ac_ext <<_ACEOF
18572 /* end confdefs.h. */
18573 #include <math.h>
18575 main ()
18577 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18579 return 0;
18581 _ACEOF
18582 rm -f conftest.$ac_objext
18583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18584 (eval $ac_compile) 2>conftest.er1
18585 ac_status=$?
18586 grep -v '^ *+' conftest.er1 >conftest.err
18587 rm -f conftest.er1
18588 cat conftest.err >&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); } &&
18591 { ac_try='test -z "$ac_cxx_werror_flag"
18592 || test ! -s conftest.err'
18593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18594 (eval $ac_try) 2>&5
18595 ac_status=$?
18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597 (exit $ac_status); }; } &&
18598 { ac_try='test -s conftest.$ac_objext'
18599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18600 (eval $ac_try) 2>&5
18601 ac_status=$?
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); }; }; then
18604 glibcxx_cv_func_long_double_trig_use=yes
18605 else
18606 echo "$as_me: failed program was:" >&5
18607 sed 's/^/| /' conftest.$ac_ext >&5
18609 glibcxx_cv_func_long_double_trig_use=no
18611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18612 ac_ext=c
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18620 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18621 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18622 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18632 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18635 echo "$as_me:$LINENO: checking for $ac_func" >&5
18636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18637 if eval "test \"\${$as_ac_var+set}\" = set"; then
18638 echo $ECHO_N "(cached) $ECHO_C" >&6
18639 else
18640 if test x$gcc_no_link = xyes; then
18641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18643 { (exit 1); exit 1; }; }
18645 cat >conftest.$ac_ext <<_ACEOF
18646 /* confdefs.h. */
18647 _ACEOF
18648 cat confdefs.h >>conftest.$ac_ext
18649 cat >>conftest.$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18653 #define $ac_func innocuous_$ac_func
18655 /* System header to define __stub macros and hopefully few prototypes,
18656 which can conflict with char $ac_func (); below.
18657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18658 <limits.h> exists even on freestanding compilers. */
18660 #ifdef __STDC__
18661 # include <limits.h>
18662 #else
18663 # include <assert.h>
18664 #endif
18666 #undef $ac_func
18668 /* Override any gcc2 internal prototype to avoid an error. */
18669 #ifdef __cplusplus
18670 extern "C"
18672 #endif
18673 /* We use char because int might match the return type of a gcc2
18674 builtin and then its argument prototype would still apply. */
18675 char $ac_func ();
18676 /* The GNU C library defines this for functions which it implements
18677 to always fail with ENOSYS. Some functions are actually named
18678 something starting with __ and the normal name is an alias. */
18679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18680 choke me
18681 #else
18682 char (*f) () = $ac_func;
18683 #endif
18684 #ifdef __cplusplus
18686 #endif
18689 main ()
18691 return f != $ac_func;
18693 return 0;
18695 _ACEOF
18696 rm -f conftest.$ac_objext conftest$ac_exeext
18697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18698 (eval $ac_link) 2>conftest.er1
18699 ac_status=$?
18700 grep -v '^ *+' conftest.er1 >conftest.err
18701 rm -f conftest.er1
18702 cat conftest.err >&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } &&
18705 { ac_try='test -z "$ac_c_werror_flag"
18706 || test ! -s conftest.err'
18707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18708 (eval $ac_try) 2>&5
18709 ac_status=$?
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); }; } &&
18712 { ac_try='test -s conftest$ac_exeext'
18713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18714 (eval $ac_try) 2>&5
18715 ac_status=$?
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); }; }; then
18718 eval "$as_ac_var=yes"
18719 else
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.$ac_ext >&5
18723 eval "$as_ac_var=no"
18725 rm -f conftest.err conftest.$ac_objext \
18726 conftest$ac_exeext conftest.$ac_ext
18728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18730 if test `eval echo '${'$as_ac_var'}'` = yes; then
18731 cat >>confdefs.h <<_ACEOF
18732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18733 _ACEOF
18736 done
18738 else
18739 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18740 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18741 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18742 echo $ECHO_N "(cached) $ECHO_C" >&6
18743 else
18747 ac_ext=cc
18748 ac_cpp='$CXXCPP $CPPFLAGS'
18749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18753 cat >conftest.$ac_ext <<_ACEOF
18754 /* confdefs.h. */
18755 _ACEOF
18756 cat confdefs.h >>conftest.$ac_ext
18757 cat >>conftest.$ac_ext <<_ACEOF
18758 /* end confdefs.h. */
18759 #include <math.h>
18761 main ()
18763 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18765 return 0;
18767 _ACEOF
18768 rm -f conftest.$ac_objext
18769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18770 (eval $ac_compile) 2>conftest.er1
18771 ac_status=$?
18772 grep -v '^ *+' conftest.er1 >conftest.err
18773 rm -f conftest.er1
18774 cat conftest.err >&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); } &&
18777 { ac_try='test -z "$ac_cxx_werror_flag"
18778 || test ! -s conftest.err'
18779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18780 (eval $ac_try) 2>&5
18781 ac_status=$?
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); }; } &&
18784 { ac_try='test -s conftest.$ac_objext'
18785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18786 (eval $ac_try) 2>&5
18787 ac_status=$?
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); }; }; then
18790 glibcxx_cv_func__long_double_trig_use=yes
18791 else
18792 echo "$as_me: failed program was:" >&5
18793 sed 's/^/| /' conftest.$ac_ext >&5
18795 glibcxx_cv_func__long_double_trig_use=no
18797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18798 ac_ext=c
18799 ac_cpp='$CPP $CPPFLAGS'
18800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18807 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18808 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18818 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18821 echo "$as_me:$LINENO: checking for $ac_func" >&5
18822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18823 if eval "test \"\${$as_ac_var+set}\" = set"; then
18824 echo $ECHO_N "(cached) $ECHO_C" >&6
18825 else
18826 if test x$gcc_no_link = xyes; then
18827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18829 { (exit 1); exit 1; }; }
18831 cat >conftest.$ac_ext <<_ACEOF
18832 /* confdefs.h. */
18833 _ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18839 #define $ac_func innocuous_$ac_func
18841 /* System header to define __stub macros and hopefully few prototypes,
18842 which can conflict with char $ac_func (); below.
18843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18844 <limits.h> exists even on freestanding compilers. */
18846 #ifdef __STDC__
18847 # include <limits.h>
18848 #else
18849 # include <assert.h>
18850 #endif
18852 #undef $ac_func
18854 /* Override any gcc2 internal prototype to avoid an error. */
18855 #ifdef __cplusplus
18856 extern "C"
18858 #endif
18859 /* We use char because int might match the return type of a gcc2
18860 builtin and then its argument prototype would still apply. */
18861 char $ac_func ();
18862 /* The GNU C library defines this for functions which it implements
18863 to always fail with ENOSYS. Some functions are actually named
18864 something starting with __ and the normal name is an alias. */
18865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18866 choke me
18867 #else
18868 char (*f) () = $ac_func;
18869 #endif
18870 #ifdef __cplusplus
18872 #endif
18875 main ()
18877 return f != $ac_func;
18879 return 0;
18881 _ACEOF
18882 rm -f conftest.$ac_objext conftest$ac_exeext
18883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18884 (eval $ac_link) 2>conftest.er1
18885 ac_status=$?
18886 grep -v '^ *+' conftest.er1 >conftest.err
18887 rm -f conftest.er1
18888 cat conftest.err >&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); } &&
18891 { ac_try='test -z "$ac_c_werror_flag"
18892 || test ! -s conftest.err'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18895 ac_status=$?
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; } &&
18898 { ac_try='test -s conftest$ac_exeext'
18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18900 (eval $ac_try) 2>&5
18901 ac_status=$?
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); }; }; then
18904 eval "$as_ac_var=yes"
18905 else
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18909 eval "$as_ac_var=no"
18911 rm -f conftest.err conftest.$ac_objext \
18912 conftest$ac_exeext conftest.$ac_ext
18914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18916 if test `eval echo '${'$as_ac_var'}'` = yes; then
18917 cat >>confdefs.h <<_ACEOF
18918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18919 _ACEOF
18922 done
18940 echo "$as_me:$LINENO: checking for long double round functions" >&5
18941 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18942 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18943 echo $ECHO_N "(cached) $ECHO_C" >&6
18944 else
18948 ac_ext=cc
18949 ac_cpp='$CXXCPP $CPPFLAGS'
18950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18954 cat >conftest.$ac_ext <<_ACEOF
18955 /* confdefs.h. */
18956 _ACEOF
18957 cat confdefs.h >>conftest.$ac_ext
18958 cat >>conftest.$ac_ext <<_ACEOF
18959 /* end confdefs.h. */
18960 #include <math.h>
18962 main ()
18964 ceill (0); floorl (0);
18966 return 0;
18968 _ACEOF
18969 rm -f conftest.$ac_objext
18970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18971 (eval $ac_compile) 2>conftest.er1
18972 ac_status=$?
18973 grep -v '^ *+' conftest.er1 >conftest.err
18974 rm -f conftest.er1
18975 cat conftest.err >&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); } &&
18978 { ac_try='test -z "$ac_cxx_werror_flag"
18979 || test ! -s conftest.err'
18980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18981 (eval $ac_try) 2>&5
18982 ac_status=$?
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); }; } &&
18985 { ac_try='test -s conftest.$ac_objext'
18986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18987 (eval $ac_try) 2>&5
18988 ac_status=$?
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); }; }; then
18991 glibcxx_cv_func_long_double_round_use=yes
18992 else
18993 echo "$as_me: failed program was:" >&5
18994 sed 's/^/| /' conftest.$ac_ext >&5
18996 glibcxx_cv_func_long_double_round_use=no
18998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18999 ac_ext=c
19000 ac_cpp='$CPP $CPPFLAGS'
19001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19007 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19008 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19009 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19012 for ac_func in ceill floorl
19014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19015 echo "$as_me:$LINENO: checking for $ac_func" >&5
19016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19017 if eval "test \"\${$as_ac_var+set}\" = set"; then
19018 echo $ECHO_N "(cached) $ECHO_C" >&6
19019 else
19020 if test x$gcc_no_link = xyes; then
19021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19023 { (exit 1); exit 1; }; }
19025 cat >conftest.$ac_ext <<_ACEOF
19026 /* confdefs.h. */
19027 _ACEOF
19028 cat confdefs.h >>conftest.$ac_ext
19029 cat >>conftest.$ac_ext <<_ACEOF
19030 /* end confdefs.h. */
19031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19033 #define $ac_func innocuous_$ac_func
19035 /* System header to define __stub macros and hopefully few prototypes,
19036 which can conflict with char $ac_func (); below.
19037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19038 <limits.h> exists even on freestanding compilers. */
19040 #ifdef __STDC__
19041 # include <limits.h>
19042 #else
19043 # include <assert.h>
19044 #endif
19046 #undef $ac_func
19048 /* Override any gcc2 internal prototype to avoid an error. */
19049 #ifdef __cplusplus
19050 extern "C"
19052 #endif
19053 /* We use char because int might match the return type of a gcc2
19054 builtin and then its argument prototype would still apply. */
19055 char $ac_func ();
19056 /* The GNU C library defines this for functions which it implements
19057 to always fail with ENOSYS. Some functions are actually named
19058 something starting with __ and the normal name is an alias. */
19059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19060 choke me
19061 #else
19062 char (*f) () = $ac_func;
19063 #endif
19064 #ifdef __cplusplus
19066 #endif
19069 main ()
19071 return f != $ac_func;
19073 return 0;
19075 _ACEOF
19076 rm -f conftest.$ac_objext conftest$ac_exeext
19077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19078 (eval $ac_link) 2>conftest.er1
19079 ac_status=$?
19080 grep -v '^ *+' conftest.er1 >conftest.err
19081 rm -f conftest.er1
19082 cat conftest.err >&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); } &&
19085 { ac_try='test -z "$ac_c_werror_flag"
19086 || test ! -s conftest.err'
19087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088 (eval $ac_try) 2>&5
19089 ac_status=$?
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; } &&
19092 { ac_try='test -s conftest$ac_exeext'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; }; then
19098 eval "$as_ac_var=yes"
19099 else
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19103 eval "$as_ac_var=no"
19105 rm -f conftest.err conftest.$ac_objext \
19106 conftest$ac_exeext conftest.$ac_ext
19108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19110 if test `eval echo '${'$as_ac_var'}'` = yes; then
19111 cat >>confdefs.h <<_ACEOF
19112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19113 _ACEOF
19116 done
19118 else
19119 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19120 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19121 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19122 echo $ECHO_N "(cached) $ECHO_C" >&6
19123 else
19127 ac_ext=cc
19128 ac_cpp='$CXXCPP $CPPFLAGS'
19129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19133 cat >conftest.$ac_ext <<_ACEOF
19134 /* confdefs.h. */
19135 _ACEOF
19136 cat confdefs.h >>conftest.$ac_ext
19137 cat >>conftest.$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 #include <math.h>
19141 main ()
19143 _ceill (0); _floorl (0);
19145 return 0;
19147 _ACEOF
19148 rm -f conftest.$ac_objext
19149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19150 (eval $ac_compile) 2>conftest.er1
19151 ac_status=$?
19152 grep -v '^ *+' conftest.er1 >conftest.err
19153 rm -f conftest.er1
19154 cat conftest.err >&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); } &&
19157 { ac_try='test -z "$ac_cxx_werror_flag"
19158 || test ! -s conftest.err'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19161 ac_status=$?
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; } &&
19164 { ac_try='test -s conftest.$ac_objext'
19165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19166 (eval $ac_try) 2>&5
19167 ac_status=$?
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; }; then
19170 glibcxx_cv_func__long_double_round_use=yes
19171 else
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.$ac_ext >&5
19175 glibcxx_cv_func__long_double_round_use=no
19177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19178 ac_ext=c
19179 ac_cpp='$CPP $CPPFLAGS'
19180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19187 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19188 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19191 for ac_func in _ceill _floorl
19193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19194 echo "$as_me:$LINENO: checking for $ac_func" >&5
19195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19196 if eval "test \"\${$as_ac_var+set}\" = set"; then
19197 echo $ECHO_N "(cached) $ECHO_C" >&6
19198 else
19199 if test x$gcc_no_link = xyes; then
19200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19202 { (exit 1); exit 1; }; }
19204 cat >conftest.$ac_ext <<_ACEOF
19205 /* confdefs.h. */
19206 _ACEOF
19207 cat confdefs.h >>conftest.$ac_ext
19208 cat >>conftest.$ac_ext <<_ACEOF
19209 /* end confdefs.h. */
19210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19212 #define $ac_func innocuous_$ac_func
19214 /* System header to define __stub macros and hopefully few prototypes,
19215 which can conflict with char $ac_func (); below.
19216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19217 <limits.h> exists even on freestanding compilers. */
19219 #ifdef __STDC__
19220 # include <limits.h>
19221 #else
19222 # include <assert.h>
19223 #endif
19225 #undef $ac_func
19227 /* Override any gcc2 internal prototype to avoid an error. */
19228 #ifdef __cplusplus
19229 extern "C"
19231 #endif
19232 /* We use char because int might match the return type of a gcc2
19233 builtin and then its argument prototype would still apply. */
19234 char $ac_func ();
19235 /* The GNU C library defines this for functions which it implements
19236 to always fail with ENOSYS. Some functions are actually named
19237 something starting with __ and the normal name is an alias. */
19238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19239 choke me
19240 #else
19241 char (*f) () = $ac_func;
19242 #endif
19243 #ifdef __cplusplus
19245 #endif
19248 main ()
19250 return f != $ac_func;
19252 return 0;
19254 _ACEOF
19255 rm -f conftest.$ac_objext conftest$ac_exeext
19256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19257 (eval $ac_link) 2>conftest.er1
19258 ac_status=$?
19259 grep -v '^ *+' conftest.er1 >conftest.err
19260 rm -f conftest.er1
19261 cat conftest.err >&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); } &&
19264 { ac_try='test -z "$ac_c_werror_flag"
19265 || test ! -s conftest.err'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5
19268 ac_status=$?
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; } &&
19271 { ac_try='test -s conftest$ac_exeext'
19272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19273 (eval $ac_try) 2>&5
19274 ac_status=$?
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); }; }; then
19277 eval "$as_ac_var=yes"
19278 else
19279 echo "$as_me: failed program was:" >&5
19280 sed 's/^/| /' conftest.$ac_ext >&5
19282 eval "$as_ac_var=no"
19284 rm -f conftest.err conftest.$ac_objext \
19285 conftest$ac_exeext conftest.$ac_ext
19287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19289 if test `eval echo '${'$as_ac_var'}'` = yes; then
19290 cat >>confdefs.h <<_ACEOF
19291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19292 _ACEOF
19295 done
19307 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19308 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19309 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19310 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19311 echo $ECHO_N "(cached) $ECHO_C" >&6
19312 else
19316 ac_ext=cc
19317 ac_cpp='$CXXCPP $CPPFLAGS'
19318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19322 cat >conftest.$ac_ext <<_ACEOF
19323 /* confdefs.h. */
19324 _ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 #include <math.h>
19329 #ifdef HAVE_IEEEFP_H
19330 #include <ieeefp.h>
19331 #endif
19334 main ()
19336 isnanl(0);
19338 return 0;
19340 _ACEOF
19341 rm -f conftest.$ac_objext
19342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19343 (eval $ac_compile) 2>conftest.er1
19344 ac_status=$?
19345 grep -v '^ *+' conftest.er1 >conftest.err
19346 rm -f conftest.er1
19347 cat conftest.err >&5
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); } &&
19350 { ac_try='test -z "$ac_cxx_werror_flag"
19351 || test ! -s conftest.err'
19352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19353 (eval $ac_try) 2>&5
19354 ac_status=$?
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); }; } &&
19357 { ac_try='test -s conftest.$ac_objext'
19358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19359 (eval $ac_try) 2>&5
19360 ac_status=$?
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); }; }; then
19363 glibcxx_cv_func_isnanl_use=yes
19364 else
19365 echo "$as_me: failed program was:" >&5
19366 sed 's/^/| /' conftest.$ac_ext >&5
19368 glibcxx_cv_func_isnanl_use=no
19370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19371 ac_ext=c
19372 ac_cpp='$CPP $CPPFLAGS'
19373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19381 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19382 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19384 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19386 for ac_func in isnanl
19388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19389 echo "$as_me:$LINENO: checking for $ac_func" >&5
19390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19391 if eval "test \"\${$as_ac_var+set}\" = set"; then
19392 echo $ECHO_N "(cached) $ECHO_C" >&6
19393 else
19394 if test x$gcc_no_link = xyes; then
19395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19397 { (exit 1); exit 1; }; }
19399 cat >conftest.$ac_ext <<_ACEOF
19400 /* confdefs.h. */
19401 _ACEOF
19402 cat confdefs.h >>conftest.$ac_ext
19403 cat >>conftest.$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19407 #define $ac_func innocuous_$ac_func
19409 /* System header to define __stub macros and hopefully few prototypes,
19410 which can conflict with char $ac_func (); below.
19411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19412 <limits.h> exists even on freestanding compilers. */
19414 #ifdef __STDC__
19415 # include <limits.h>
19416 #else
19417 # include <assert.h>
19418 #endif
19420 #undef $ac_func
19422 /* Override any gcc2 internal prototype to avoid an error. */
19423 #ifdef __cplusplus
19424 extern "C"
19426 #endif
19427 /* We use char because int might match the return type of a gcc2
19428 builtin and then its argument prototype would still apply. */
19429 char $ac_func ();
19430 /* The GNU C library defines this for functions which it implements
19431 to always fail with ENOSYS. Some functions are actually named
19432 something starting with __ and the normal name is an alias. */
19433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19434 choke me
19435 #else
19436 char (*f) () = $ac_func;
19437 #endif
19438 #ifdef __cplusplus
19440 #endif
19443 main ()
19445 return f != $ac_func;
19447 return 0;
19449 _ACEOF
19450 rm -f conftest.$ac_objext conftest$ac_exeext
19451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19452 (eval $ac_link) 2>conftest.er1
19453 ac_status=$?
19454 grep -v '^ *+' conftest.er1 >conftest.err
19455 rm -f conftest.er1
19456 cat conftest.err >&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); } &&
19459 { ac_try='test -z "$ac_c_werror_flag"
19460 || test ! -s conftest.err'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19463 ac_status=$?
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; } &&
19466 { ac_try='test -s conftest$ac_exeext'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19469 ac_status=$?
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; }; then
19472 eval "$as_ac_var=yes"
19473 else
19474 echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.$ac_ext >&5
19477 eval "$as_ac_var=no"
19479 rm -f conftest.err conftest.$ac_objext \
19480 conftest$ac_exeext conftest.$ac_ext
19482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19484 if test `eval echo '${'$as_ac_var'}'` = yes; then
19485 cat >>confdefs.h <<_ACEOF
19486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19487 _ACEOF
19490 done
19492 else
19494 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19495 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19496 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19497 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19498 echo $ECHO_N "(cached) $ECHO_C" >&6
19499 else
19503 ac_ext=cc
19504 ac_cpp='$CXXCPP $CPPFLAGS'
19505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19509 cat >conftest.$ac_ext <<_ACEOF
19510 /* confdefs.h. */
19511 _ACEOF
19512 cat confdefs.h >>conftest.$ac_ext
19513 cat >>conftest.$ac_ext <<_ACEOF
19514 /* end confdefs.h. */
19515 #include <math.h>
19516 #ifdef HAVE_IEEEFP_H
19517 #include <ieeefp.h>
19518 #endif
19521 main ()
19523 _isnanl(0);
19525 return 0;
19527 _ACEOF
19528 rm -f conftest.$ac_objext
19529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19530 (eval $ac_compile) 2>conftest.er1
19531 ac_status=$?
19532 grep -v '^ *+' conftest.er1 >conftest.err
19533 rm -f conftest.er1
19534 cat conftest.err >&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); } &&
19537 { ac_try='test -z "$ac_cxx_werror_flag"
19538 || test ! -s conftest.err'
19539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540 (eval $ac_try) 2>&5
19541 ac_status=$?
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; } &&
19544 { ac_try='test -s conftest.$ac_objext'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19547 ac_status=$?
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; }; then
19550 glibcxx_cv_func__isnanl_use=yes
19551 else
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.$ac_ext >&5
19555 glibcxx_cv_func__isnanl_use=no
19557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19558 ac_ext=c
19559 ac_cpp='$CPP $CPPFLAGS'
19560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19568 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19569 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19571 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19573 for ac_func in _isnanl
19575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19576 echo "$as_me:$LINENO: checking for $ac_func" >&5
19577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19578 if eval "test \"\${$as_ac_var+set}\" = set"; then
19579 echo $ECHO_N "(cached) $ECHO_C" >&6
19580 else
19581 if test x$gcc_no_link = xyes; then
19582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19584 { (exit 1); exit 1; }; }
19586 cat >conftest.$ac_ext <<_ACEOF
19587 /* confdefs.h. */
19588 _ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19594 #define $ac_func innocuous_$ac_func
19596 /* System header to define __stub macros and hopefully few prototypes,
19597 which can conflict with char $ac_func (); below.
19598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19599 <limits.h> exists even on freestanding compilers. */
19601 #ifdef __STDC__
19602 # include <limits.h>
19603 #else
19604 # include <assert.h>
19605 #endif
19607 #undef $ac_func
19609 /* Override any gcc2 internal prototype to avoid an error. */
19610 #ifdef __cplusplus
19611 extern "C"
19613 #endif
19614 /* We use char because int might match the return type of a gcc2
19615 builtin and then its argument prototype would still apply. */
19616 char $ac_func ();
19617 /* The GNU C library defines this for functions which it implements
19618 to always fail with ENOSYS. Some functions are actually named
19619 something starting with __ and the normal name is an alias. */
19620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19621 choke me
19622 #else
19623 char (*f) () = $ac_func;
19624 #endif
19625 #ifdef __cplusplus
19627 #endif
19630 main ()
19632 return f != $ac_func;
19634 return 0;
19636 _ACEOF
19637 rm -f conftest.$ac_objext conftest$ac_exeext
19638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19639 (eval $ac_link) 2>conftest.er1
19640 ac_status=$?
19641 grep -v '^ *+' conftest.er1 >conftest.err
19642 rm -f conftest.er1
19643 cat conftest.err >&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); } &&
19646 { ac_try='test -z "$ac_c_werror_flag"
19647 || test ! -s conftest.err'
19648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649 (eval $ac_try) 2>&5
19650 ac_status=$?
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); }; } &&
19653 { ac_try='test -s conftest$ac_exeext'
19654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655 (eval $ac_try) 2>&5
19656 ac_status=$?
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); }; }; then
19659 eval "$as_ac_var=yes"
19660 else
19661 echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.$ac_ext >&5
19664 eval "$as_ac_var=no"
19666 rm -f conftest.err conftest.$ac_objext \
19667 conftest$ac_exeext conftest.$ac_ext
19669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19671 if test `eval echo '${'$as_ac_var'}'` = yes; then
19672 cat >>confdefs.h <<_ACEOF
19673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19674 _ACEOF
19677 done
19687 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19688 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19689 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19690 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19691 echo $ECHO_N "(cached) $ECHO_C" >&6
19692 else
19696 ac_ext=cc
19697 ac_cpp='$CXXCPP $CPPFLAGS'
19698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19702 cat >conftest.$ac_ext <<_ACEOF
19703 /* confdefs.h. */
19704 _ACEOF
19705 cat confdefs.h >>conftest.$ac_ext
19706 cat >>conftest.$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19708 #include <math.h>
19709 #ifdef HAVE_IEEEFP_H
19710 #include <ieeefp.h>
19711 #endif
19714 main ()
19716 isinfl(0);
19718 return 0;
19720 _ACEOF
19721 rm -f conftest.$ac_objext
19722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19723 (eval $ac_compile) 2>conftest.er1
19724 ac_status=$?
19725 grep -v '^ *+' conftest.er1 >conftest.err
19726 rm -f conftest.er1
19727 cat conftest.err >&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } &&
19730 { ac_try='test -z "$ac_cxx_werror_flag"
19731 || test ! -s conftest.err'
19732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19733 (eval $ac_try) 2>&5
19734 ac_status=$?
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); }; } &&
19737 { ac_try='test -s conftest.$ac_objext'
19738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19739 (eval $ac_try) 2>&5
19740 ac_status=$?
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); }; }; then
19743 glibcxx_cv_func_isinfl_use=yes
19744 else
19745 echo "$as_me: failed program was:" >&5
19746 sed 's/^/| /' conftest.$ac_ext >&5
19748 glibcxx_cv_func_isinfl_use=no
19750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19751 ac_ext=c
19752 ac_cpp='$CPP $CPPFLAGS'
19753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19761 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19762 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19764 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19766 for ac_func in isinfl
19768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19769 echo "$as_me:$LINENO: checking for $ac_func" >&5
19770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19771 if eval "test \"\${$as_ac_var+set}\" = set"; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19773 else
19774 if test x$gcc_no_link = xyes; then
19775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19777 { (exit 1); exit 1; }; }
19779 cat >conftest.$ac_ext <<_ACEOF
19780 /* confdefs.h. */
19781 _ACEOF
19782 cat confdefs.h >>conftest.$ac_ext
19783 cat >>conftest.$ac_ext <<_ACEOF
19784 /* end confdefs.h. */
19785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19787 #define $ac_func innocuous_$ac_func
19789 /* System header to define __stub macros and hopefully few prototypes,
19790 which can conflict with char $ac_func (); below.
19791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19792 <limits.h> exists even on freestanding compilers. */
19794 #ifdef __STDC__
19795 # include <limits.h>
19796 #else
19797 # include <assert.h>
19798 #endif
19800 #undef $ac_func
19802 /* Override any gcc2 internal prototype to avoid an error. */
19803 #ifdef __cplusplus
19804 extern "C"
19806 #endif
19807 /* We use char because int might match the return type of a gcc2
19808 builtin and then its argument prototype would still apply. */
19809 char $ac_func ();
19810 /* The GNU C library defines this for functions which it implements
19811 to always fail with ENOSYS. Some functions are actually named
19812 something starting with __ and the normal name is an alias. */
19813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19814 choke me
19815 #else
19816 char (*f) () = $ac_func;
19817 #endif
19818 #ifdef __cplusplus
19820 #endif
19823 main ()
19825 return f != $ac_func;
19827 return 0;
19829 _ACEOF
19830 rm -f conftest.$ac_objext conftest$ac_exeext
19831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19832 (eval $ac_link) 2>conftest.er1
19833 ac_status=$?
19834 grep -v '^ *+' conftest.er1 >conftest.err
19835 rm -f conftest.er1
19836 cat conftest.err >&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } &&
19839 { ac_try='test -z "$ac_c_werror_flag"
19840 || test ! -s conftest.err'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19843 ac_status=$?
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; } &&
19846 { ac_try='test -s conftest$ac_exeext'
19847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19848 (eval $ac_try) 2>&5
19849 ac_status=$?
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); }; }; then
19852 eval "$as_ac_var=yes"
19853 else
19854 echo "$as_me: failed program was:" >&5
19855 sed 's/^/| /' conftest.$ac_ext >&5
19857 eval "$as_ac_var=no"
19859 rm -f conftest.err conftest.$ac_objext \
19860 conftest$ac_exeext conftest.$ac_ext
19862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19864 if test `eval echo '${'$as_ac_var'}'` = yes; then
19865 cat >>confdefs.h <<_ACEOF
19866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19867 _ACEOF
19870 done
19872 else
19874 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19875 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19876 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19877 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 else
19883 ac_ext=cc
19884 ac_cpp='$CXXCPP $CPPFLAGS'
19885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19889 cat >conftest.$ac_ext <<_ACEOF
19890 /* confdefs.h. */
19891 _ACEOF
19892 cat confdefs.h >>conftest.$ac_ext
19893 cat >>conftest.$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19895 #include <math.h>
19896 #ifdef HAVE_IEEEFP_H
19897 #include <ieeefp.h>
19898 #endif
19901 main ()
19903 _isinfl(0);
19905 return 0;
19907 _ACEOF
19908 rm -f conftest.$ac_objext
19909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19910 (eval $ac_compile) 2>conftest.er1
19911 ac_status=$?
19912 grep -v '^ *+' conftest.er1 >conftest.err
19913 rm -f conftest.er1
19914 cat conftest.err >&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try='test -z "$ac_cxx_werror_flag"
19918 || test ! -s conftest.err'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19921 ac_status=$?
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; } &&
19924 { ac_try='test -s conftest.$ac_objext'
19925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926 (eval $ac_try) 2>&5
19927 ac_status=$?
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; }; then
19930 glibcxx_cv_func__isinfl_use=yes
19931 else
19932 echo "$as_me: failed program was:" >&5
19933 sed 's/^/| /' conftest.$ac_ext >&5
19935 glibcxx_cv_func__isinfl_use=no
19937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19938 ac_ext=c
19939 ac_cpp='$CPP $CPPFLAGS'
19940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19949 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19951 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19953 for ac_func in _isinfl
19955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19956 echo "$as_me:$LINENO: checking for $ac_func" >&5
19957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19958 if eval "test \"\${$as_ac_var+set}\" = set"; then
19959 echo $ECHO_N "(cached) $ECHO_C" >&6
19960 else
19961 if test x$gcc_no_link = xyes; then
19962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19964 { (exit 1); exit 1; }; }
19966 cat >conftest.$ac_ext <<_ACEOF
19967 /* confdefs.h. */
19968 _ACEOF
19969 cat confdefs.h >>conftest.$ac_ext
19970 cat >>conftest.$ac_ext <<_ACEOF
19971 /* end confdefs.h. */
19972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19974 #define $ac_func innocuous_$ac_func
19976 /* System header to define __stub macros and hopefully few prototypes,
19977 which can conflict with char $ac_func (); below.
19978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19979 <limits.h> exists even on freestanding compilers. */
19981 #ifdef __STDC__
19982 # include <limits.h>
19983 #else
19984 # include <assert.h>
19985 #endif
19987 #undef $ac_func
19989 /* Override any gcc2 internal prototype to avoid an error. */
19990 #ifdef __cplusplus
19991 extern "C"
19993 #endif
19994 /* We use char because int might match the return type of a gcc2
19995 builtin and then its argument prototype would still apply. */
19996 char $ac_func ();
19997 /* The GNU C library defines this for functions which it implements
19998 to always fail with ENOSYS. Some functions are actually named
19999 something starting with __ and the normal name is an alias. */
20000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20001 choke me
20002 #else
20003 char (*f) () = $ac_func;
20004 #endif
20005 #ifdef __cplusplus
20007 #endif
20010 main ()
20012 return f != $ac_func;
20014 return 0;
20016 _ACEOF
20017 rm -f conftest.$ac_objext conftest$ac_exeext
20018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20019 (eval $ac_link) 2>conftest.er1
20020 ac_status=$?
20021 grep -v '^ *+' conftest.er1 >conftest.err
20022 rm -f conftest.er1
20023 cat conftest.err >&5
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); } &&
20026 { ac_try='test -z "$ac_c_werror_flag"
20027 || test ! -s conftest.err'
20028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20029 (eval $ac_try) 2>&5
20030 ac_status=$?
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); }; } &&
20033 { ac_try='test -s conftest$ac_exeext'
20034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20035 (eval $ac_try) 2>&5
20036 ac_status=$?
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); }; }; then
20039 eval "$as_ac_var=yes"
20040 else
20041 echo "$as_me: failed program was:" >&5
20042 sed 's/^/| /' conftest.$ac_ext >&5
20044 eval "$as_ac_var=no"
20046 rm -f conftest.err conftest.$ac_objext \
20047 conftest$ac_exeext conftest.$ac_ext
20049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20051 if test `eval echo '${'$as_ac_var'}'` = yes; then
20052 cat >>confdefs.h <<_ACEOF
20053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20054 _ACEOF
20057 done
20067 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20068 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20069 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20070 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20071 echo $ECHO_N "(cached) $ECHO_C" >&6
20072 else
20076 ac_ext=cc
20077 ac_cpp='$CXXCPP $CPPFLAGS'
20078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20082 cat >conftest.$ac_ext <<_ACEOF
20083 /* confdefs.h. */
20084 _ACEOF
20085 cat confdefs.h >>conftest.$ac_ext
20086 cat >>conftest.$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20088 #include <math.h>
20090 main ()
20092 copysignl(0, 0);
20094 return 0;
20096 _ACEOF
20097 rm -f conftest.$ac_objext
20098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20099 (eval $ac_compile) 2>conftest.er1
20100 ac_status=$?
20101 grep -v '^ *+' conftest.er1 >conftest.err
20102 rm -f conftest.er1
20103 cat conftest.err >&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } &&
20106 { ac_try='test -z "$ac_cxx_werror_flag"
20107 || test ! -s conftest.err'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20110 ac_status=$?
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; } &&
20113 { ac_try='test -s conftest.$ac_objext'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20116 ac_status=$?
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; }; then
20119 glibcxx_cv_func_copysignl_use=yes
20120 else
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20124 glibcxx_cv_func_copysignl_use=no
20126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20127 ac_ext=c
20128 ac_cpp='$CPP $CPPFLAGS'
20129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20138 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20140 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20142 for ac_func in copysignl
20144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20145 echo "$as_me:$LINENO: checking for $ac_func" >&5
20146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20147 if eval "test \"\${$as_ac_var+set}\" = set"; then
20148 echo $ECHO_N "(cached) $ECHO_C" >&6
20149 else
20150 if test x$gcc_no_link = xyes; then
20151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20153 { (exit 1); exit 1; }; }
20155 cat >conftest.$ac_ext <<_ACEOF
20156 /* confdefs.h. */
20157 _ACEOF
20158 cat confdefs.h >>conftest.$ac_ext
20159 cat >>conftest.$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20163 #define $ac_func innocuous_$ac_func
20165 /* System header to define __stub macros and hopefully few prototypes,
20166 which can conflict with char $ac_func (); below.
20167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20168 <limits.h> exists even on freestanding compilers. */
20170 #ifdef __STDC__
20171 # include <limits.h>
20172 #else
20173 # include <assert.h>
20174 #endif
20176 #undef $ac_func
20178 /* Override any gcc2 internal prototype to avoid an error. */
20179 #ifdef __cplusplus
20180 extern "C"
20182 #endif
20183 /* We use char because int might match the return type of a gcc2
20184 builtin and then its argument prototype would still apply. */
20185 char $ac_func ();
20186 /* The GNU C library defines this for functions which it implements
20187 to always fail with ENOSYS. Some functions are actually named
20188 something starting with __ and the normal name is an alias. */
20189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20190 choke me
20191 #else
20192 char (*f) () = $ac_func;
20193 #endif
20194 #ifdef __cplusplus
20196 #endif
20199 main ()
20201 return f != $ac_func;
20203 return 0;
20205 _ACEOF
20206 rm -f conftest.$ac_objext conftest$ac_exeext
20207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20208 (eval $ac_link) 2>conftest.er1
20209 ac_status=$?
20210 grep -v '^ *+' conftest.er1 >conftest.err
20211 rm -f conftest.er1
20212 cat conftest.err >&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } &&
20215 { ac_try='test -z "$ac_c_werror_flag"
20216 || test ! -s conftest.err'
20217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20218 (eval $ac_try) 2>&5
20219 ac_status=$?
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); }; } &&
20222 { ac_try='test -s conftest$ac_exeext'
20223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20224 (eval $ac_try) 2>&5
20225 ac_status=$?
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); }; }; then
20228 eval "$as_ac_var=yes"
20229 else
20230 echo "$as_me: failed program was:" >&5
20231 sed 's/^/| /' conftest.$ac_ext >&5
20233 eval "$as_ac_var=no"
20235 rm -f conftest.err conftest.$ac_objext \
20236 conftest$ac_exeext conftest.$ac_ext
20238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20240 if test `eval echo '${'$as_ac_var'}'` = yes; then
20241 cat >>confdefs.h <<_ACEOF
20242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20243 _ACEOF
20246 done
20248 else
20250 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20251 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20252 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20253 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20254 echo $ECHO_N "(cached) $ECHO_C" >&6
20255 else
20259 ac_ext=cc
20260 ac_cpp='$CXXCPP $CPPFLAGS'
20261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20265 cat >conftest.$ac_ext <<_ACEOF
20266 /* confdefs.h. */
20267 _ACEOF
20268 cat confdefs.h >>conftest.$ac_ext
20269 cat >>conftest.$ac_ext <<_ACEOF
20270 /* end confdefs.h. */
20271 #include <math.h>
20273 main ()
20275 _copysignl(0, 0);
20277 return 0;
20279 _ACEOF
20280 rm -f conftest.$ac_objext
20281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20282 (eval $ac_compile) 2>conftest.er1
20283 ac_status=$?
20284 grep -v '^ *+' conftest.er1 >conftest.err
20285 rm -f conftest.er1
20286 cat conftest.err >&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); } &&
20289 { ac_try='test -z "$ac_cxx_werror_flag"
20290 || test ! -s conftest.err'
20291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292 (eval $ac_try) 2>&5
20293 ac_status=$?
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; } &&
20296 { ac_try='test -s conftest.$ac_objext'
20297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20298 (eval $ac_try) 2>&5
20299 ac_status=$?
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }; }; then
20302 glibcxx_cv_func__copysignl_use=yes
20303 else
20304 echo "$as_me: failed program was:" >&5
20305 sed 's/^/| /' conftest.$ac_ext >&5
20307 glibcxx_cv_func__copysignl_use=no
20309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20310 ac_ext=c
20311 ac_cpp='$CPP $CPPFLAGS'
20312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20321 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20323 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20325 for ac_func in _copysignl
20327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20328 echo "$as_me:$LINENO: checking for $ac_func" >&5
20329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20330 if eval "test \"\${$as_ac_var+set}\" = set"; then
20331 echo $ECHO_N "(cached) $ECHO_C" >&6
20332 else
20333 if test x$gcc_no_link = xyes; then
20334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20336 { (exit 1); exit 1; }; }
20338 cat >conftest.$ac_ext <<_ACEOF
20339 /* confdefs.h. */
20340 _ACEOF
20341 cat confdefs.h >>conftest.$ac_ext
20342 cat >>conftest.$ac_ext <<_ACEOF
20343 /* end confdefs.h. */
20344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20346 #define $ac_func innocuous_$ac_func
20348 /* System header to define __stub macros and hopefully few prototypes,
20349 which can conflict with char $ac_func (); below.
20350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20351 <limits.h> exists even on freestanding compilers. */
20353 #ifdef __STDC__
20354 # include <limits.h>
20355 #else
20356 # include <assert.h>
20357 #endif
20359 #undef $ac_func
20361 /* Override any gcc2 internal prototype to avoid an error. */
20362 #ifdef __cplusplus
20363 extern "C"
20365 #endif
20366 /* We use char because int might match the return type of a gcc2
20367 builtin and then its argument prototype would still apply. */
20368 char $ac_func ();
20369 /* The GNU C library defines this for functions which it implements
20370 to always fail with ENOSYS. Some functions are actually named
20371 something starting with __ and the normal name is an alias. */
20372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20373 choke me
20374 #else
20375 char (*f) () = $ac_func;
20376 #endif
20377 #ifdef __cplusplus
20379 #endif
20382 main ()
20384 return f != $ac_func;
20386 return 0;
20388 _ACEOF
20389 rm -f conftest.$ac_objext conftest$ac_exeext
20390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20391 (eval $ac_link) 2>conftest.er1
20392 ac_status=$?
20393 grep -v '^ *+' conftest.er1 >conftest.err
20394 rm -f conftest.er1
20395 cat conftest.err >&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); } &&
20398 { ac_try='test -z "$ac_c_werror_flag"
20399 || test ! -s conftest.err'
20400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20401 (eval $ac_try) 2>&5
20402 ac_status=$?
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); }; } &&
20405 { ac_try='test -s conftest$ac_exeext'
20406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20407 (eval $ac_try) 2>&5
20408 ac_status=$?
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410 (exit $ac_status); }; }; then
20411 eval "$as_ac_var=yes"
20412 else
20413 echo "$as_me: failed program was:" >&5
20414 sed 's/^/| /' conftest.$ac_ext >&5
20416 eval "$as_ac_var=no"
20418 rm -f conftest.err conftest.$ac_objext \
20419 conftest$ac_exeext conftest.$ac_ext
20421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20423 if test `eval echo '${'$as_ac_var'}'` = yes; then
20424 cat >>confdefs.h <<_ACEOF
20425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20426 _ACEOF
20429 done
20439 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20440 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20441 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20442 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20443 echo $ECHO_N "(cached) $ECHO_C" >&6
20444 else
20448 ac_ext=cc
20449 ac_cpp='$CXXCPP $CPPFLAGS'
20450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20454 cat >conftest.$ac_ext <<_ACEOF
20455 /* confdefs.h. */
20456 _ACEOF
20457 cat confdefs.h >>conftest.$ac_ext
20458 cat >>conftest.$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20460 #include <math.h>
20462 main ()
20464 atan2l(0, 0);
20466 return 0;
20468 _ACEOF
20469 rm -f conftest.$ac_objext
20470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20471 (eval $ac_compile) 2>conftest.er1
20472 ac_status=$?
20473 grep -v '^ *+' conftest.er1 >conftest.err
20474 rm -f conftest.er1
20475 cat conftest.err >&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } &&
20478 { ac_try='test -z "$ac_cxx_werror_flag"
20479 || test ! -s conftest.err'
20480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20481 (eval $ac_try) 2>&5
20482 ac_status=$?
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); }; } &&
20485 { ac_try='test -s conftest.$ac_objext'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20488 ac_status=$?
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; }; then
20491 glibcxx_cv_func_atan2l_use=yes
20492 else
20493 echo "$as_me: failed program was:" >&5
20494 sed 's/^/| /' conftest.$ac_ext >&5
20496 glibcxx_cv_func_atan2l_use=no
20498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20499 ac_ext=c
20500 ac_cpp='$CPP $CPPFLAGS'
20501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20510 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20512 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20514 for ac_func in atan2l
20516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20517 echo "$as_me:$LINENO: checking for $ac_func" >&5
20518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20519 if eval "test \"\${$as_ac_var+set}\" = set"; then
20520 echo $ECHO_N "(cached) $ECHO_C" >&6
20521 else
20522 if test x$gcc_no_link = xyes; then
20523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20525 { (exit 1); exit 1; }; }
20527 cat >conftest.$ac_ext <<_ACEOF
20528 /* confdefs.h. */
20529 _ACEOF
20530 cat confdefs.h >>conftest.$ac_ext
20531 cat >>conftest.$ac_ext <<_ACEOF
20532 /* end confdefs.h. */
20533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20535 #define $ac_func innocuous_$ac_func
20537 /* System header to define __stub macros and hopefully few prototypes,
20538 which can conflict with char $ac_func (); below.
20539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20540 <limits.h> exists even on freestanding compilers. */
20542 #ifdef __STDC__
20543 # include <limits.h>
20544 #else
20545 # include <assert.h>
20546 #endif
20548 #undef $ac_func
20550 /* Override any gcc2 internal prototype to avoid an error. */
20551 #ifdef __cplusplus
20552 extern "C"
20554 #endif
20555 /* We use char because int might match the return type of a gcc2
20556 builtin and then its argument prototype would still apply. */
20557 char $ac_func ();
20558 /* The GNU C library defines this for functions which it implements
20559 to always fail with ENOSYS. Some functions are actually named
20560 something starting with __ and the normal name is an alias. */
20561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20562 choke me
20563 #else
20564 char (*f) () = $ac_func;
20565 #endif
20566 #ifdef __cplusplus
20568 #endif
20571 main ()
20573 return f != $ac_func;
20575 return 0;
20577 _ACEOF
20578 rm -f conftest.$ac_objext conftest$ac_exeext
20579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20580 (eval $ac_link) 2>conftest.er1
20581 ac_status=$?
20582 grep -v '^ *+' conftest.er1 >conftest.err
20583 rm -f conftest.er1
20584 cat conftest.err >&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } &&
20587 { ac_try='test -z "$ac_c_werror_flag"
20588 || test ! -s conftest.err'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20591 ac_status=$?
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; } &&
20594 { ac_try='test -s conftest$ac_exeext'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20597 ac_status=$?
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; }; then
20600 eval "$as_ac_var=yes"
20601 else
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20605 eval "$as_ac_var=no"
20607 rm -f conftest.err conftest.$ac_objext \
20608 conftest$ac_exeext conftest.$ac_ext
20610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20612 if test `eval echo '${'$as_ac_var'}'` = yes; then
20613 cat >>confdefs.h <<_ACEOF
20614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20615 _ACEOF
20618 done
20620 else
20622 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20623 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20624 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20625 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20626 echo $ECHO_N "(cached) $ECHO_C" >&6
20627 else
20631 ac_ext=cc
20632 ac_cpp='$CXXCPP $CPPFLAGS'
20633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20637 cat >conftest.$ac_ext <<_ACEOF
20638 /* confdefs.h. */
20639 _ACEOF
20640 cat confdefs.h >>conftest.$ac_ext
20641 cat >>conftest.$ac_ext <<_ACEOF
20642 /* end confdefs.h. */
20643 #include <math.h>
20645 main ()
20647 _atan2l(0, 0);
20649 return 0;
20651 _ACEOF
20652 rm -f conftest.$ac_objext
20653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20654 (eval $ac_compile) 2>conftest.er1
20655 ac_status=$?
20656 grep -v '^ *+' conftest.er1 >conftest.err
20657 rm -f conftest.er1
20658 cat conftest.err >&5
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); } &&
20661 { ac_try='test -z "$ac_cxx_werror_flag"
20662 || test ! -s conftest.err'
20663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20664 (eval $ac_try) 2>&5
20665 ac_status=$?
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); }; } &&
20668 { ac_try='test -s conftest.$ac_objext'
20669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20670 (eval $ac_try) 2>&5
20671 ac_status=$?
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); }; }; then
20674 glibcxx_cv_func__atan2l_use=yes
20675 else
20676 echo "$as_me: failed program was:" >&5
20677 sed 's/^/| /' conftest.$ac_ext >&5
20679 glibcxx_cv_func__atan2l_use=no
20681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20682 ac_ext=c
20683 ac_cpp='$CPP $CPPFLAGS'
20684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20693 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20695 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20697 for ac_func in _atan2l
20699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20700 echo "$as_me:$LINENO: checking for $ac_func" >&5
20701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20702 if eval "test \"\${$as_ac_var+set}\" = set"; then
20703 echo $ECHO_N "(cached) $ECHO_C" >&6
20704 else
20705 if test x$gcc_no_link = xyes; then
20706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20708 { (exit 1); exit 1; }; }
20710 cat >conftest.$ac_ext <<_ACEOF
20711 /* confdefs.h. */
20712 _ACEOF
20713 cat confdefs.h >>conftest.$ac_ext
20714 cat >>conftest.$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20718 #define $ac_func innocuous_$ac_func
20720 /* System header to define __stub macros and hopefully few prototypes,
20721 which can conflict with char $ac_func (); below.
20722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20723 <limits.h> exists even on freestanding compilers. */
20725 #ifdef __STDC__
20726 # include <limits.h>
20727 #else
20728 # include <assert.h>
20729 #endif
20731 #undef $ac_func
20733 /* Override any gcc2 internal prototype to avoid an error. */
20734 #ifdef __cplusplus
20735 extern "C"
20737 #endif
20738 /* We use char because int might match the return type of a gcc2
20739 builtin and then its argument prototype would still apply. */
20740 char $ac_func ();
20741 /* The GNU C library defines this for functions which it implements
20742 to always fail with ENOSYS. Some functions are actually named
20743 something starting with __ and the normal name is an alias. */
20744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20745 choke me
20746 #else
20747 char (*f) () = $ac_func;
20748 #endif
20749 #ifdef __cplusplus
20751 #endif
20754 main ()
20756 return f != $ac_func;
20758 return 0;
20760 _ACEOF
20761 rm -f conftest.$ac_objext conftest$ac_exeext
20762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20763 (eval $ac_link) 2>conftest.er1
20764 ac_status=$?
20765 grep -v '^ *+' conftest.er1 >conftest.err
20766 rm -f conftest.er1
20767 cat conftest.err >&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } &&
20770 { ac_try='test -z "$ac_c_werror_flag"
20771 || test ! -s conftest.err'
20772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773 (eval $ac_try) 2>&5
20774 ac_status=$?
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); }; } &&
20777 { ac_try='test -s conftest$ac_exeext'
20778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20779 (eval $ac_try) 2>&5
20780 ac_status=$?
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; }; then
20783 eval "$as_ac_var=yes"
20784 else
20785 echo "$as_me: failed program was:" >&5
20786 sed 's/^/| /' conftest.$ac_ext >&5
20788 eval "$as_ac_var=no"
20790 rm -f conftest.err conftest.$ac_objext \
20791 conftest$ac_exeext conftest.$ac_ext
20793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20795 if test `eval echo '${'$as_ac_var'}'` = yes; then
20796 cat >>confdefs.h <<_ACEOF
20797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20798 _ACEOF
20801 done
20811 echo "$as_me:$LINENO: checking for expl declaration" >&5
20812 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20813 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20814 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20815 echo $ECHO_N "(cached) $ECHO_C" >&6
20816 else
20820 ac_ext=cc
20821 ac_cpp='$CXXCPP $CPPFLAGS'
20822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20826 cat >conftest.$ac_ext <<_ACEOF
20827 /* confdefs.h. */
20828 _ACEOF
20829 cat confdefs.h >>conftest.$ac_ext
20830 cat >>conftest.$ac_ext <<_ACEOF
20831 /* end confdefs.h. */
20832 #include <math.h>
20833 #ifdef HAVE_IEEEFP_H
20834 #include <ieeefp.h>
20835 #endif
20838 main ()
20840 expl(0);
20842 return 0;
20844 _ACEOF
20845 rm -f conftest.$ac_objext
20846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20847 (eval $ac_compile) 2>conftest.er1
20848 ac_status=$?
20849 grep -v '^ *+' conftest.er1 >conftest.err
20850 rm -f conftest.er1
20851 cat conftest.err >&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); } &&
20854 { ac_try='test -z "$ac_cxx_werror_flag"
20855 || test ! -s conftest.err'
20856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857 (eval $ac_try) 2>&5
20858 ac_status=$?
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); }; } &&
20861 { ac_try='test -s conftest.$ac_objext'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20864 ac_status=$?
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; }; then
20867 glibcxx_cv_func_expl_use=yes
20868 else
20869 echo "$as_me: failed program was:" >&5
20870 sed 's/^/| /' conftest.$ac_ext >&5
20872 glibcxx_cv_func_expl_use=no
20874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20875 ac_ext=c
20876 ac_cpp='$CPP $CPPFLAGS'
20877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20886 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20888 if test x$glibcxx_cv_func_expl_use = x"yes"; then
20890 for ac_func in expl
20892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20893 echo "$as_me:$LINENO: checking for $ac_func" >&5
20894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20895 if eval "test \"\${$as_ac_var+set}\" = set"; then
20896 echo $ECHO_N "(cached) $ECHO_C" >&6
20897 else
20898 if test x$gcc_no_link = xyes; then
20899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20901 { (exit 1); exit 1; }; }
20903 cat >conftest.$ac_ext <<_ACEOF
20904 /* confdefs.h. */
20905 _ACEOF
20906 cat confdefs.h >>conftest.$ac_ext
20907 cat >>conftest.$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20911 #define $ac_func innocuous_$ac_func
20913 /* System header to define __stub macros and hopefully few prototypes,
20914 which can conflict with char $ac_func (); below.
20915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20916 <limits.h> exists even on freestanding compilers. */
20918 #ifdef __STDC__
20919 # include <limits.h>
20920 #else
20921 # include <assert.h>
20922 #endif
20924 #undef $ac_func
20926 /* Override any gcc2 internal prototype to avoid an error. */
20927 #ifdef __cplusplus
20928 extern "C"
20930 #endif
20931 /* We use char because int might match the return type of a gcc2
20932 builtin and then its argument prototype would still apply. */
20933 char $ac_func ();
20934 /* The GNU C library defines this for functions which it implements
20935 to always fail with ENOSYS. Some functions are actually named
20936 something starting with __ and the normal name is an alias. */
20937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20938 choke me
20939 #else
20940 char (*f) () = $ac_func;
20941 #endif
20942 #ifdef __cplusplus
20944 #endif
20947 main ()
20949 return f != $ac_func;
20951 return 0;
20953 _ACEOF
20954 rm -f conftest.$ac_objext conftest$ac_exeext
20955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20956 (eval $ac_link) 2>conftest.er1
20957 ac_status=$?
20958 grep -v '^ *+' conftest.er1 >conftest.err
20959 rm -f conftest.er1
20960 cat conftest.err >&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } &&
20963 { ac_try='test -z "$ac_c_werror_flag"
20964 || test ! -s conftest.err'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20967 ac_status=$?
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; } &&
20970 { ac_try='test -s conftest$ac_exeext'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20973 ac_status=$?
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; }; then
20976 eval "$as_ac_var=yes"
20977 else
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.$ac_ext >&5
20981 eval "$as_ac_var=no"
20983 rm -f conftest.err conftest.$ac_objext \
20984 conftest$ac_exeext conftest.$ac_ext
20986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20988 if test `eval echo '${'$as_ac_var'}'` = yes; then
20989 cat >>confdefs.h <<_ACEOF
20990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20991 _ACEOF
20994 done
20996 else
20998 echo "$as_me:$LINENO: checking for _expl declaration" >&5
20999 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21000 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21001 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21002 echo $ECHO_N "(cached) $ECHO_C" >&6
21003 else
21007 ac_ext=cc
21008 ac_cpp='$CXXCPP $CPPFLAGS'
21009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21013 cat >conftest.$ac_ext <<_ACEOF
21014 /* confdefs.h. */
21015 _ACEOF
21016 cat confdefs.h >>conftest.$ac_ext
21017 cat >>conftest.$ac_ext <<_ACEOF
21018 /* end confdefs.h. */
21019 #include <math.h>
21020 #ifdef HAVE_IEEEFP_H
21021 #include <ieeefp.h>
21022 #endif
21025 main ()
21027 _expl(0);
21029 return 0;
21031 _ACEOF
21032 rm -f conftest.$ac_objext
21033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21034 (eval $ac_compile) 2>conftest.er1
21035 ac_status=$?
21036 grep -v '^ *+' conftest.er1 >conftest.err
21037 rm -f conftest.er1
21038 cat conftest.err >&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); } &&
21041 { ac_try='test -z "$ac_cxx_werror_flag"
21042 || test ! -s conftest.err'
21043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21044 (eval $ac_try) 2>&5
21045 ac_status=$?
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); }; } &&
21048 { ac_try='test -s conftest.$ac_objext'
21049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21050 (eval $ac_try) 2>&5
21051 ac_status=$?
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); }; }; then
21054 glibcxx_cv_func__expl_use=yes
21055 else
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.$ac_ext >&5
21059 glibcxx_cv_func__expl_use=no
21061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21062 ac_ext=c
21063 ac_cpp='$CPP $CPPFLAGS'
21064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21073 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21075 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21077 for ac_func in _expl
21079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21080 echo "$as_me:$LINENO: checking for $ac_func" >&5
21081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21082 if eval "test \"\${$as_ac_var+set}\" = set"; then
21083 echo $ECHO_N "(cached) $ECHO_C" >&6
21084 else
21085 if test x$gcc_no_link = xyes; then
21086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21088 { (exit 1); exit 1; }; }
21090 cat >conftest.$ac_ext <<_ACEOF
21091 /* confdefs.h. */
21092 _ACEOF
21093 cat confdefs.h >>conftest.$ac_ext
21094 cat >>conftest.$ac_ext <<_ACEOF
21095 /* end confdefs.h. */
21096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21098 #define $ac_func innocuous_$ac_func
21100 /* System header to define __stub macros and hopefully few prototypes,
21101 which can conflict with char $ac_func (); below.
21102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21103 <limits.h> exists even on freestanding compilers. */
21105 #ifdef __STDC__
21106 # include <limits.h>
21107 #else
21108 # include <assert.h>
21109 #endif
21111 #undef $ac_func
21113 /* Override any gcc2 internal prototype to avoid an error. */
21114 #ifdef __cplusplus
21115 extern "C"
21117 #endif
21118 /* We use char because int might match the return type of a gcc2
21119 builtin and then its argument prototype would still apply. */
21120 char $ac_func ();
21121 /* The GNU C library defines this for functions which it implements
21122 to always fail with ENOSYS. Some functions are actually named
21123 something starting with __ and the normal name is an alias. */
21124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21125 choke me
21126 #else
21127 char (*f) () = $ac_func;
21128 #endif
21129 #ifdef __cplusplus
21131 #endif
21134 main ()
21136 return f != $ac_func;
21138 return 0;
21140 _ACEOF
21141 rm -f conftest.$ac_objext conftest$ac_exeext
21142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21143 (eval $ac_link) 2>conftest.er1
21144 ac_status=$?
21145 grep -v '^ *+' conftest.er1 >conftest.err
21146 rm -f conftest.er1
21147 cat conftest.err >&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); } &&
21150 { ac_try='test -z "$ac_c_werror_flag"
21151 || test ! -s conftest.err'
21152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21153 (eval $ac_try) 2>&5
21154 ac_status=$?
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); }; } &&
21157 { ac_try='test -s conftest$ac_exeext'
21158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159 (eval $ac_try) 2>&5
21160 ac_status=$?
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); }; }; then
21163 eval "$as_ac_var=yes"
21164 else
21165 echo "$as_me: failed program was:" >&5
21166 sed 's/^/| /' conftest.$ac_ext >&5
21168 eval "$as_ac_var=no"
21170 rm -f conftest.err conftest.$ac_objext \
21171 conftest$ac_exeext conftest.$ac_ext
21173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21175 if test `eval echo '${'$as_ac_var'}'` = yes; then
21176 cat >>confdefs.h <<_ACEOF
21177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21178 _ACEOF
21181 done
21191 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21192 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21193 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21194 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21195 echo $ECHO_N "(cached) $ECHO_C" >&6
21196 else
21200 ac_ext=cc
21201 ac_cpp='$CXXCPP $CPPFLAGS'
21202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21206 cat >conftest.$ac_ext <<_ACEOF
21207 /* confdefs.h. */
21208 _ACEOF
21209 cat confdefs.h >>conftest.$ac_ext
21210 cat >>conftest.$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21212 #include <math.h>
21213 #ifdef HAVE_IEEEFP_H
21214 #include <ieeefp.h>
21215 #endif
21218 main ()
21220 fabsl(0);
21222 return 0;
21224 _ACEOF
21225 rm -f conftest.$ac_objext
21226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21227 (eval $ac_compile) 2>conftest.er1
21228 ac_status=$?
21229 grep -v '^ *+' conftest.er1 >conftest.err
21230 rm -f conftest.er1
21231 cat conftest.err >&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); } &&
21234 { ac_try='test -z "$ac_cxx_werror_flag"
21235 || test ! -s conftest.err'
21236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21237 (eval $ac_try) 2>&5
21238 ac_status=$?
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); }; } &&
21241 { ac_try='test -s conftest.$ac_objext'
21242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21243 (eval $ac_try) 2>&5
21244 ac_status=$?
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); }; }; then
21247 glibcxx_cv_func_fabsl_use=yes
21248 else
21249 echo "$as_me: failed program was:" >&5
21250 sed 's/^/| /' conftest.$ac_ext >&5
21252 glibcxx_cv_func_fabsl_use=no
21254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21255 ac_ext=c
21256 ac_cpp='$CPP $CPPFLAGS'
21257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21265 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21266 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21268 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21270 for ac_func in fabsl
21272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21273 echo "$as_me:$LINENO: checking for $ac_func" >&5
21274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21275 if eval "test \"\${$as_ac_var+set}\" = set"; then
21276 echo $ECHO_N "(cached) $ECHO_C" >&6
21277 else
21278 if test x$gcc_no_link = xyes; then
21279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21281 { (exit 1); exit 1; }; }
21283 cat >conftest.$ac_ext <<_ACEOF
21284 /* confdefs.h. */
21285 _ACEOF
21286 cat confdefs.h >>conftest.$ac_ext
21287 cat >>conftest.$ac_ext <<_ACEOF
21288 /* end confdefs.h. */
21289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21291 #define $ac_func innocuous_$ac_func
21293 /* System header to define __stub macros and hopefully few prototypes,
21294 which can conflict with char $ac_func (); below.
21295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21296 <limits.h> exists even on freestanding compilers. */
21298 #ifdef __STDC__
21299 # include <limits.h>
21300 #else
21301 # include <assert.h>
21302 #endif
21304 #undef $ac_func
21306 /* Override any gcc2 internal prototype to avoid an error. */
21307 #ifdef __cplusplus
21308 extern "C"
21310 #endif
21311 /* We use char because int might match the return type of a gcc2
21312 builtin and then its argument prototype would still apply. */
21313 char $ac_func ();
21314 /* The GNU C library defines this for functions which it implements
21315 to always fail with ENOSYS. Some functions are actually named
21316 something starting with __ and the normal name is an alias. */
21317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21318 choke me
21319 #else
21320 char (*f) () = $ac_func;
21321 #endif
21322 #ifdef __cplusplus
21324 #endif
21327 main ()
21329 return f != $ac_func;
21331 return 0;
21333 _ACEOF
21334 rm -f conftest.$ac_objext conftest$ac_exeext
21335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21336 (eval $ac_link) 2>conftest.er1
21337 ac_status=$?
21338 grep -v '^ *+' conftest.er1 >conftest.err
21339 rm -f conftest.er1
21340 cat conftest.err >&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); } &&
21343 { ac_try='test -z "$ac_c_werror_flag"
21344 || test ! -s conftest.err'
21345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21346 (eval $ac_try) 2>&5
21347 ac_status=$?
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; } &&
21350 { ac_try='test -s conftest$ac_exeext'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352 (eval $ac_try) 2>&5
21353 ac_status=$?
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; }; then
21356 eval "$as_ac_var=yes"
21357 else
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.$ac_ext >&5
21361 eval "$as_ac_var=no"
21363 rm -f conftest.err conftest.$ac_objext \
21364 conftest$ac_exeext conftest.$ac_ext
21366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21368 if test `eval echo '${'$as_ac_var'}'` = yes; then
21369 cat >>confdefs.h <<_ACEOF
21370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21371 _ACEOF
21374 done
21376 else
21378 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21379 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21380 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21381 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21383 else
21387 ac_ext=cc
21388 ac_cpp='$CXXCPP $CPPFLAGS'
21389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21393 cat >conftest.$ac_ext <<_ACEOF
21394 /* confdefs.h. */
21395 _ACEOF
21396 cat confdefs.h >>conftest.$ac_ext
21397 cat >>conftest.$ac_ext <<_ACEOF
21398 /* end confdefs.h. */
21399 #include <math.h>
21400 #ifdef HAVE_IEEEFP_H
21401 #include <ieeefp.h>
21402 #endif
21405 main ()
21407 _fabsl(0);
21409 return 0;
21411 _ACEOF
21412 rm -f conftest.$ac_objext
21413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21414 (eval $ac_compile) 2>conftest.er1
21415 ac_status=$?
21416 grep -v '^ *+' conftest.er1 >conftest.err
21417 rm -f conftest.er1
21418 cat conftest.err >&5
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); } &&
21421 { ac_try='test -z "$ac_cxx_werror_flag"
21422 || test ! -s conftest.err'
21423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21424 (eval $ac_try) 2>&5
21425 ac_status=$?
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); }; } &&
21428 { ac_try='test -s conftest.$ac_objext'
21429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21430 (eval $ac_try) 2>&5
21431 ac_status=$?
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); }; }; then
21434 glibcxx_cv_func__fabsl_use=yes
21435 else
21436 echo "$as_me: failed program was:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21439 glibcxx_cv_func__fabsl_use=no
21441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21442 ac_ext=c
21443 ac_cpp='$CPP $CPPFLAGS'
21444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21453 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21455 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21457 for ac_func in _fabsl
21459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21460 echo "$as_me:$LINENO: checking for $ac_func" >&5
21461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21462 if eval "test \"\${$as_ac_var+set}\" = set"; then
21463 echo $ECHO_N "(cached) $ECHO_C" >&6
21464 else
21465 if test x$gcc_no_link = xyes; then
21466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21468 { (exit 1); exit 1; }; }
21470 cat >conftest.$ac_ext <<_ACEOF
21471 /* confdefs.h. */
21472 _ACEOF
21473 cat confdefs.h >>conftest.$ac_ext
21474 cat >>conftest.$ac_ext <<_ACEOF
21475 /* end confdefs.h. */
21476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21478 #define $ac_func innocuous_$ac_func
21480 /* System header to define __stub macros and hopefully few prototypes,
21481 which can conflict with char $ac_func (); below.
21482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21483 <limits.h> exists even on freestanding compilers. */
21485 #ifdef __STDC__
21486 # include <limits.h>
21487 #else
21488 # include <assert.h>
21489 #endif
21491 #undef $ac_func
21493 /* Override any gcc2 internal prototype to avoid an error. */
21494 #ifdef __cplusplus
21495 extern "C"
21497 #endif
21498 /* We use char because int might match the return type of a gcc2
21499 builtin and then its argument prototype would still apply. */
21500 char $ac_func ();
21501 /* The GNU C library defines this for functions which it implements
21502 to always fail with ENOSYS. Some functions are actually named
21503 something starting with __ and the normal name is an alias. */
21504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21505 choke me
21506 #else
21507 char (*f) () = $ac_func;
21508 #endif
21509 #ifdef __cplusplus
21511 #endif
21514 main ()
21516 return f != $ac_func;
21518 return 0;
21520 _ACEOF
21521 rm -f conftest.$ac_objext conftest$ac_exeext
21522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21523 (eval $ac_link) 2>conftest.er1
21524 ac_status=$?
21525 grep -v '^ *+' conftest.er1 >conftest.err
21526 rm -f conftest.er1
21527 cat conftest.err >&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); } &&
21530 { ac_try='test -z "$ac_c_werror_flag"
21531 || test ! -s conftest.err'
21532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533 (eval $ac_try) 2>&5
21534 ac_status=$?
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; } &&
21537 { ac_try='test -s conftest$ac_exeext'
21538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21539 (eval $ac_try) 2>&5
21540 ac_status=$?
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); }; }; then
21543 eval "$as_ac_var=yes"
21544 else
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21548 eval "$as_ac_var=no"
21550 rm -f conftest.err conftest.$ac_objext \
21551 conftest$ac_exeext conftest.$ac_ext
21553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21555 if test `eval echo '${'$as_ac_var'}'` = yes; then
21556 cat >>confdefs.h <<_ACEOF
21557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21558 _ACEOF
21561 done
21571 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21572 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21573 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21574 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21575 echo $ECHO_N "(cached) $ECHO_C" >&6
21576 else
21580 ac_ext=cc
21581 ac_cpp='$CXXCPP $CPPFLAGS'
21582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21586 cat >conftest.$ac_ext <<_ACEOF
21587 /* confdefs.h. */
21588 _ACEOF
21589 cat confdefs.h >>conftest.$ac_ext
21590 cat >>conftest.$ac_ext <<_ACEOF
21591 /* end confdefs.h. */
21592 #include <math.h>
21594 main ()
21596 fmodl(0, 0);
21598 return 0;
21600 _ACEOF
21601 rm -f conftest.$ac_objext
21602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21603 (eval $ac_compile) 2>conftest.er1
21604 ac_status=$?
21605 grep -v '^ *+' conftest.er1 >conftest.err
21606 rm -f conftest.er1
21607 cat conftest.err >&5
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); } &&
21610 { ac_try='test -z "$ac_cxx_werror_flag"
21611 || test ! -s conftest.err'
21612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21613 (eval $ac_try) 2>&5
21614 ac_status=$?
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); }; } &&
21617 { ac_try='test -s conftest.$ac_objext'
21618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21619 (eval $ac_try) 2>&5
21620 ac_status=$?
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); }; }; then
21623 glibcxx_cv_func_fmodl_use=yes
21624 else
21625 echo "$as_me: failed program was:" >&5
21626 sed 's/^/| /' conftest.$ac_ext >&5
21628 glibcxx_cv_func_fmodl_use=no
21630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21631 ac_ext=c
21632 ac_cpp='$CPP $CPPFLAGS'
21633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21642 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21644 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21646 for ac_func in fmodl
21648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21649 echo "$as_me:$LINENO: checking for $ac_func" >&5
21650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21651 if eval "test \"\${$as_ac_var+set}\" = set"; then
21652 echo $ECHO_N "(cached) $ECHO_C" >&6
21653 else
21654 if test x$gcc_no_link = xyes; then
21655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21657 { (exit 1); exit 1; }; }
21659 cat >conftest.$ac_ext <<_ACEOF
21660 /* confdefs.h. */
21661 _ACEOF
21662 cat confdefs.h >>conftest.$ac_ext
21663 cat >>conftest.$ac_ext <<_ACEOF
21664 /* end confdefs.h. */
21665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21667 #define $ac_func innocuous_$ac_func
21669 /* System header to define __stub macros and hopefully few prototypes,
21670 which can conflict with char $ac_func (); below.
21671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21672 <limits.h> exists even on freestanding compilers. */
21674 #ifdef __STDC__
21675 # include <limits.h>
21676 #else
21677 # include <assert.h>
21678 #endif
21680 #undef $ac_func
21682 /* Override any gcc2 internal prototype to avoid an error. */
21683 #ifdef __cplusplus
21684 extern "C"
21686 #endif
21687 /* We use char because int might match the return type of a gcc2
21688 builtin and then its argument prototype would still apply. */
21689 char $ac_func ();
21690 /* The GNU C library defines this for functions which it implements
21691 to always fail with ENOSYS. Some functions are actually named
21692 something starting with __ and the normal name is an alias. */
21693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21694 choke me
21695 #else
21696 char (*f) () = $ac_func;
21697 #endif
21698 #ifdef __cplusplus
21700 #endif
21703 main ()
21705 return f != $ac_func;
21707 return 0;
21709 _ACEOF
21710 rm -f conftest.$ac_objext conftest$ac_exeext
21711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21712 (eval $ac_link) 2>conftest.er1
21713 ac_status=$?
21714 grep -v '^ *+' conftest.er1 >conftest.err
21715 rm -f conftest.er1
21716 cat conftest.err >&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } &&
21719 { ac_try='test -z "$ac_c_werror_flag"
21720 || test ! -s conftest.err'
21721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21722 (eval $ac_try) 2>&5
21723 ac_status=$?
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); }; } &&
21726 { ac_try='test -s conftest$ac_exeext'
21727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21728 (eval $ac_try) 2>&5
21729 ac_status=$?
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); }; }; then
21732 eval "$as_ac_var=yes"
21733 else
21734 echo "$as_me: failed program was:" >&5
21735 sed 's/^/| /' conftest.$ac_ext >&5
21737 eval "$as_ac_var=no"
21739 rm -f conftest.err conftest.$ac_objext \
21740 conftest$ac_exeext conftest.$ac_ext
21742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21744 if test `eval echo '${'$as_ac_var'}'` = yes; then
21745 cat >>confdefs.h <<_ACEOF
21746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21747 _ACEOF
21750 done
21752 else
21754 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21755 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21756 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21757 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21758 echo $ECHO_N "(cached) $ECHO_C" >&6
21759 else
21763 ac_ext=cc
21764 ac_cpp='$CXXCPP $CPPFLAGS'
21765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21769 cat >conftest.$ac_ext <<_ACEOF
21770 /* confdefs.h. */
21771 _ACEOF
21772 cat confdefs.h >>conftest.$ac_ext
21773 cat >>conftest.$ac_ext <<_ACEOF
21774 /* end confdefs.h. */
21775 #include <math.h>
21777 main ()
21779 _fmodl(0, 0);
21781 return 0;
21783 _ACEOF
21784 rm -f conftest.$ac_objext
21785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21786 (eval $ac_compile) 2>conftest.er1
21787 ac_status=$?
21788 grep -v '^ *+' conftest.er1 >conftest.err
21789 rm -f conftest.er1
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } &&
21793 { ac_try='test -z "$ac_cxx_werror_flag"
21794 || test ! -s conftest.err'
21795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21796 (eval $ac_try) 2>&5
21797 ac_status=$?
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); }; } &&
21800 { ac_try='test -s conftest.$ac_objext'
21801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21802 (eval $ac_try) 2>&5
21803 ac_status=$?
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); }; }; then
21806 glibcxx_cv_func__fmodl_use=yes
21807 else
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.$ac_ext >&5
21811 glibcxx_cv_func__fmodl_use=no
21813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21814 ac_ext=c
21815 ac_cpp='$CPP $CPPFLAGS'
21816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21825 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21827 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21829 for ac_func in _fmodl
21831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21832 echo "$as_me:$LINENO: checking for $ac_func" >&5
21833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21834 if eval "test \"\${$as_ac_var+set}\" = set"; then
21835 echo $ECHO_N "(cached) $ECHO_C" >&6
21836 else
21837 if test x$gcc_no_link = xyes; then
21838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21840 { (exit 1); exit 1; }; }
21842 cat >conftest.$ac_ext <<_ACEOF
21843 /* confdefs.h. */
21844 _ACEOF
21845 cat confdefs.h >>conftest.$ac_ext
21846 cat >>conftest.$ac_ext <<_ACEOF
21847 /* end confdefs.h. */
21848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21850 #define $ac_func innocuous_$ac_func
21852 /* System header to define __stub macros and hopefully few prototypes,
21853 which can conflict with char $ac_func (); below.
21854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21855 <limits.h> exists even on freestanding compilers. */
21857 #ifdef __STDC__
21858 # include <limits.h>
21859 #else
21860 # include <assert.h>
21861 #endif
21863 #undef $ac_func
21865 /* Override any gcc2 internal prototype to avoid an error. */
21866 #ifdef __cplusplus
21867 extern "C"
21869 #endif
21870 /* We use char because int might match the return type of a gcc2
21871 builtin and then its argument prototype would still apply. */
21872 char $ac_func ();
21873 /* The GNU C library defines this for functions which it implements
21874 to always fail with ENOSYS. Some functions are actually named
21875 something starting with __ and the normal name is an alias. */
21876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21877 choke me
21878 #else
21879 char (*f) () = $ac_func;
21880 #endif
21881 #ifdef __cplusplus
21883 #endif
21886 main ()
21888 return f != $ac_func;
21890 return 0;
21892 _ACEOF
21893 rm -f conftest.$ac_objext conftest$ac_exeext
21894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21895 (eval $ac_link) 2>conftest.er1
21896 ac_status=$?
21897 grep -v '^ *+' conftest.er1 >conftest.err
21898 rm -f conftest.er1
21899 cat conftest.err >&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try='test -z "$ac_c_werror_flag"
21903 || test ! -s conftest.err'
21904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905 (eval $ac_try) 2>&5
21906 ac_status=$?
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); }; } &&
21909 { ac_try='test -s conftest$ac_exeext'
21910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911 (eval $ac_try) 2>&5
21912 ac_status=$?
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; }; then
21915 eval "$as_ac_var=yes"
21916 else
21917 echo "$as_me: failed program was:" >&5
21918 sed 's/^/| /' conftest.$ac_ext >&5
21920 eval "$as_ac_var=no"
21922 rm -f conftest.err conftest.$ac_objext \
21923 conftest$ac_exeext conftest.$ac_ext
21925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21927 if test `eval echo '${'$as_ac_var'}'` = yes; then
21928 cat >>confdefs.h <<_ACEOF
21929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21930 _ACEOF
21933 done
21943 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21944 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21945 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21946 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21947 echo $ECHO_N "(cached) $ECHO_C" >&6
21948 else
21952 ac_ext=cc
21953 ac_cpp='$CXXCPP $CPPFLAGS'
21954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21958 cat >conftest.$ac_ext <<_ACEOF
21959 /* confdefs.h. */
21960 _ACEOF
21961 cat confdefs.h >>conftest.$ac_ext
21962 cat >>conftest.$ac_ext <<_ACEOF
21963 /* end confdefs.h. */
21964 #include <math.h>
21966 main ()
21968 frexpl(0, 0);
21970 return 0;
21972 _ACEOF
21973 rm -f conftest.$ac_objext
21974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21975 (eval $ac_compile) 2>conftest.er1
21976 ac_status=$?
21977 grep -v '^ *+' conftest.er1 >conftest.err
21978 rm -f conftest.er1
21979 cat conftest.err >&5
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); } &&
21982 { ac_try='test -z "$ac_cxx_werror_flag"
21983 || test ! -s conftest.err'
21984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21985 (eval $ac_try) 2>&5
21986 ac_status=$?
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); }; } &&
21989 { ac_try='test -s conftest.$ac_objext'
21990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991 (eval $ac_try) 2>&5
21992 ac_status=$?
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; }; then
21995 glibcxx_cv_func_frexpl_use=yes
21996 else
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.$ac_ext >&5
22000 glibcxx_cv_func_frexpl_use=no
22002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22003 ac_ext=c
22004 ac_cpp='$CPP $CPPFLAGS'
22005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22013 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22014 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22016 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22018 for ac_func in frexpl
22020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22021 echo "$as_me:$LINENO: checking for $ac_func" >&5
22022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22023 if eval "test \"\${$as_ac_var+set}\" = set"; then
22024 echo $ECHO_N "(cached) $ECHO_C" >&6
22025 else
22026 if test x$gcc_no_link = xyes; then
22027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22029 { (exit 1); exit 1; }; }
22031 cat >conftest.$ac_ext <<_ACEOF
22032 /* confdefs.h. */
22033 _ACEOF
22034 cat confdefs.h >>conftest.$ac_ext
22035 cat >>conftest.$ac_ext <<_ACEOF
22036 /* end confdefs.h. */
22037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22039 #define $ac_func innocuous_$ac_func
22041 /* System header to define __stub macros and hopefully few prototypes,
22042 which can conflict with char $ac_func (); below.
22043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22044 <limits.h> exists even on freestanding compilers. */
22046 #ifdef __STDC__
22047 # include <limits.h>
22048 #else
22049 # include <assert.h>
22050 #endif
22052 #undef $ac_func
22054 /* Override any gcc2 internal prototype to avoid an error. */
22055 #ifdef __cplusplus
22056 extern "C"
22058 #endif
22059 /* We use char because int might match the return type of a gcc2
22060 builtin and then its argument prototype would still apply. */
22061 char $ac_func ();
22062 /* The GNU C library defines this for functions which it implements
22063 to always fail with ENOSYS. Some functions are actually named
22064 something starting with __ and the normal name is an alias. */
22065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22066 choke me
22067 #else
22068 char (*f) () = $ac_func;
22069 #endif
22070 #ifdef __cplusplus
22072 #endif
22075 main ()
22077 return f != $ac_func;
22079 return 0;
22081 _ACEOF
22082 rm -f conftest.$ac_objext conftest$ac_exeext
22083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22084 (eval $ac_link) 2>conftest.er1
22085 ac_status=$?
22086 grep -v '^ *+' conftest.er1 >conftest.err
22087 rm -f conftest.er1
22088 cat conftest.err >&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); } &&
22091 { ac_try='test -z "$ac_c_werror_flag"
22092 || test ! -s conftest.err'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22095 ac_status=$?
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; } &&
22098 { ac_try='test -s conftest$ac_exeext'
22099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22100 (eval $ac_try) 2>&5
22101 ac_status=$?
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); }; }; then
22104 eval "$as_ac_var=yes"
22105 else
22106 echo "$as_me: failed program was:" >&5
22107 sed 's/^/| /' conftest.$ac_ext >&5
22109 eval "$as_ac_var=no"
22111 rm -f conftest.err conftest.$ac_objext \
22112 conftest$ac_exeext conftest.$ac_ext
22114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22116 if test `eval echo '${'$as_ac_var'}'` = yes; then
22117 cat >>confdefs.h <<_ACEOF
22118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22119 _ACEOF
22122 done
22124 else
22126 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22127 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22128 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22129 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22130 echo $ECHO_N "(cached) $ECHO_C" >&6
22131 else
22135 ac_ext=cc
22136 ac_cpp='$CXXCPP $CPPFLAGS'
22137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22141 cat >conftest.$ac_ext <<_ACEOF
22142 /* confdefs.h. */
22143 _ACEOF
22144 cat confdefs.h >>conftest.$ac_ext
22145 cat >>conftest.$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 #include <math.h>
22149 main ()
22151 _frexpl(0, 0);
22153 return 0;
22155 _ACEOF
22156 rm -f conftest.$ac_objext
22157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22158 (eval $ac_compile) 2>conftest.er1
22159 ac_status=$?
22160 grep -v '^ *+' conftest.er1 >conftest.err
22161 rm -f conftest.er1
22162 cat conftest.err >&5
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); } &&
22165 { ac_try='test -z "$ac_cxx_werror_flag"
22166 || test ! -s conftest.err'
22167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22168 (eval $ac_try) 2>&5
22169 ac_status=$?
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); }; } &&
22172 { ac_try='test -s conftest.$ac_objext'
22173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22174 (eval $ac_try) 2>&5
22175 ac_status=$?
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; }; then
22178 glibcxx_cv_func__frexpl_use=yes
22179 else
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22183 glibcxx_cv_func__frexpl_use=no
22185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22186 ac_ext=c
22187 ac_cpp='$CPP $CPPFLAGS'
22188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22196 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22197 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22199 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22201 for ac_func in _frexpl
22203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22204 echo "$as_me:$LINENO: checking for $ac_func" >&5
22205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22206 if eval "test \"\${$as_ac_var+set}\" = set"; then
22207 echo $ECHO_N "(cached) $ECHO_C" >&6
22208 else
22209 if test x$gcc_no_link = xyes; then
22210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22212 { (exit 1); exit 1; }; }
22214 cat >conftest.$ac_ext <<_ACEOF
22215 /* confdefs.h. */
22216 _ACEOF
22217 cat confdefs.h >>conftest.$ac_ext
22218 cat >>conftest.$ac_ext <<_ACEOF
22219 /* end confdefs.h. */
22220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22222 #define $ac_func innocuous_$ac_func
22224 /* System header to define __stub macros and hopefully few prototypes,
22225 which can conflict with char $ac_func (); below.
22226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22227 <limits.h> exists even on freestanding compilers. */
22229 #ifdef __STDC__
22230 # include <limits.h>
22231 #else
22232 # include <assert.h>
22233 #endif
22235 #undef $ac_func
22237 /* Override any gcc2 internal prototype to avoid an error. */
22238 #ifdef __cplusplus
22239 extern "C"
22241 #endif
22242 /* We use char because int might match the return type of a gcc2
22243 builtin and then its argument prototype would still apply. */
22244 char $ac_func ();
22245 /* The GNU C library defines this for functions which it implements
22246 to always fail with ENOSYS. Some functions are actually named
22247 something starting with __ and the normal name is an alias. */
22248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22249 choke me
22250 #else
22251 char (*f) () = $ac_func;
22252 #endif
22253 #ifdef __cplusplus
22255 #endif
22258 main ()
22260 return f != $ac_func;
22262 return 0;
22264 _ACEOF
22265 rm -f conftest.$ac_objext conftest$ac_exeext
22266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22267 (eval $ac_link) 2>conftest.er1
22268 ac_status=$?
22269 grep -v '^ *+' conftest.er1 >conftest.err
22270 rm -f conftest.er1
22271 cat conftest.err >&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } &&
22274 { ac_try='test -z "$ac_c_werror_flag"
22275 || test ! -s conftest.err'
22276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277 (eval $ac_try) 2>&5
22278 ac_status=$?
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; } &&
22281 { ac_try='test -s conftest$ac_exeext'
22282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22283 (eval $ac_try) 2>&5
22284 ac_status=$?
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); }; }; then
22287 eval "$as_ac_var=yes"
22288 else
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.$ac_ext >&5
22292 eval "$as_ac_var=no"
22294 rm -f conftest.err conftest.$ac_objext \
22295 conftest$ac_exeext conftest.$ac_ext
22297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22299 if test `eval echo '${'$as_ac_var'}'` = yes; then
22300 cat >>confdefs.h <<_ACEOF
22301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22302 _ACEOF
22305 done
22315 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22316 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22317 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22318 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22319 echo $ECHO_N "(cached) $ECHO_C" >&6
22320 else
22324 ac_ext=cc
22325 ac_cpp='$CXXCPP $CPPFLAGS'
22326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22330 cat >conftest.$ac_ext <<_ACEOF
22331 /* confdefs.h. */
22332 _ACEOF
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 #include <math.h>
22338 main ()
22340 hypotl(0, 0);
22342 return 0;
22344 _ACEOF
22345 rm -f conftest.$ac_objext
22346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22347 (eval $ac_compile) 2>conftest.er1
22348 ac_status=$?
22349 grep -v '^ *+' conftest.er1 >conftest.err
22350 rm -f conftest.er1
22351 cat conftest.err >&5
22352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22353 (exit $ac_status); } &&
22354 { ac_try='test -z "$ac_cxx_werror_flag"
22355 || test ! -s conftest.err'
22356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22357 (eval $ac_try) 2>&5
22358 ac_status=$?
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); }; } &&
22361 { ac_try='test -s conftest.$ac_objext'
22362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22363 (eval $ac_try) 2>&5
22364 ac_status=$?
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); }; }; then
22367 glibcxx_cv_func_hypotl_use=yes
22368 else
22369 echo "$as_me: failed program was:" >&5
22370 sed 's/^/| /' conftest.$ac_ext >&5
22372 glibcxx_cv_func_hypotl_use=no
22374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22375 ac_ext=c
22376 ac_cpp='$CPP $CPPFLAGS'
22377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22385 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22386 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22388 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22390 for ac_func in hypotl
22392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22393 echo "$as_me:$LINENO: checking for $ac_func" >&5
22394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22395 if eval "test \"\${$as_ac_var+set}\" = set"; then
22396 echo $ECHO_N "(cached) $ECHO_C" >&6
22397 else
22398 if test x$gcc_no_link = xyes; then
22399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22401 { (exit 1); exit 1; }; }
22403 cat >conftest.$ac_ext <<_ACEOF
22404 /* confdefs.h. */
22405 _ACEOF
22406 cat confdefs.h >>conftest.$ac_ext
22407 cat >>conftest.$ac_ext <<_ACEOF
22408 /* end confdefs.h. */
22409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22411 #define $ac_func innocuous_$ac_func
22413 /* System header to define __stub macros and hopefully few prototypes,
22414 which can conflict with char $ac_func (); below.
22415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22416 <limits.h> exists even on freestanding compilers. */
22418 #ifdef __STDC__
22419 # include <limits.h>
22420 #else
22421 # include <assert.h>
22422 #endif
22424 #undef $ac_func
22426 /* Override any gcc2 internal prototype to avoid an error. */
22427 #ifdef __cplusplus
22428 extern "C"
22430 #endif
22431 /* We use char because int might match the return type of a gcc2
22432 builtin and then its argument prototype would still apply. */
22433 char $ac_func ();
22434 /* The GNU C library defines this for functions which it implements
22435 to always fail with ENOSYS. Some functions are actually named
22436 something starting with __ and the normal name is an alias. */
22437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22438 choke me
22439 #else
22440 char (*f) () = $ac_func;
22441 #endif
22442 #ifdef __cplusplus
22444 #endif
22447 main ()
22449 return f != $ac_func;
22451 return 0;
22453 _ACEOF
22454 rm -f conftest.$ac_objext conftest$ac_exeext
22455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22456 (eval $ac_link) 2>conftest.er1
22457 ac_status=$?
22458 grep -v '^ *+' conftest.er1 >conftest.err
22459 rm -f conftest.er1
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } &&
22463 { ac_try='test -z "$ac_c_werror_flag"
22464 || test ! -s conftest.err'
22465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22466 (eval $ac_try) 2>&5
22467 ac_status=$?
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); }; } &&
22470 { ac_try='test -s conftest$ac_exeext'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22473 ac_status=$?
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; }; then
22476 eval "$as_ac_var=yes"
22477 else
22478 echo "$as_me: failed program was:" >&5
22479 sed 's/^/| /' conftest.$ac_ext >&5
22481 eval "$as_ac_var=no"
22483 rm -f conftest.err conftest.$ac_objext \
22484 conftest$ac_exeext conftest.$ac_ext
22486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22488 if test `eval echo '${'$as_ac_var'}'` = yes; then
22489 cat >>confdefs.h <<_ACEOF
22490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22491 _ACEOF
22494 done
22496 else
22498 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22499 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22500 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22501 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22502 echo $ECHO_N "(cached) $ECHO_C" >&6
22503 else
22507 ac_ext=cc
22508 ac_cpp='$CXXCPP $CPPFLAGS'
22509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22513 cat >conftest.$ac_ext <<_ACEOF
22514 /* confdefs.h. */
22515 _ACEOF
22516 cat confdefs.h >>conftest.$ac_ext
22517 cat >>conftest.$ac_ext <<_ACEOF
22518 /* end confdefs.h. */
22519 #include <math.h>
22521 main ()
22523 _hypotl(0, 0);
22525 return 0;
22527 _ACEOF
22528 rm -f conftest.$ac_objext
22529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22530 (eval $ac_compile) 2>conftest.er1
22531 ac_status=$?
22532 grep -v '^ *+' conftest.er1 >conftest.err
22533 rm -f conftest.er1
22534 cat conftest.err >&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } &&
22537 { ac_try='test -z "$ac_cxx_werror_flag"
22538 || test ! -s conftest.err'
22539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22540 (eval $ac_try) 2>&5
22541 ac_status=$?
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); }; } &&
22544 { ac_try='test -s conftest.$ac_objext'
22545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22546 (eval $ac_try) 2>&5
22547 ac_status=$?
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); }; }; then
22550 glibcxx_cv_func__hypotl_use=yes
22551 else
22552 echo "$as_me: failed program was:" >&5
22553 sed 's/^/| /' conftest.$ac_ext >&5
22555 glibcxx_cv_func__hypotl_use=no
22557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22558 ac_ext=c
22559 ac_cpp='$CPP $CPPFLAGS'
22560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22568 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22569 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22571 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22573 for ac_func in _hypotl
22575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22576 echo "$as_me:$LINENO: checking for $ac_func" >&5
22577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22578 if eval "test \"\${$as_ac_var+set}\" = set"; then
22579 echo $ECHO_N "(cached) $ECHO_C" >&6
22580 else
22581 if test x$gcc_no_link = xyes; then
22582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22584 { (exit 1); exit 1; }; }
22586 cat >conftest.$ac_ext <<_ACEOF
22587 /* confdefs.h. */
22588 _ACEOF
22589 cat confdefs.h >>conftest.$ac_ext
22590 cat >>conftest.$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22594 #define $ac_func innocuous_$ac_func
22596 /* System header to define __stub macros and hopefully few prototypes,
22597 which can conflict with char $ac_func (); below.
22598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22599 <limits.h> exists even on freestanding compilers. */
22601 #ifdef __STDC__
22602 # include <limits.h>
22603 #else
22604 # include <assert.h>
22605 #endif
22607 #undef $ac_func
22609 /* Override any gcc2 internal prototype to avoid an error. */
22610 #ifdef __cplusplus
22611 extern "C"
22613 #endif
22614 /* We use char because int might match the return type of a gcc2
22615 builtin and then its argument prototype would still apply. */
22616 char $ac_func ();
22617 /* The GNU C library defines this for functions which it implements
22618 to always fail with ENOSYS. Some functions are actually named
22619 something starting with __ and the normal name is an alias. */
22620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22621 choke me
22622 #else
22623 char (*f) () = $ac_func;
22624 #endif
22625 #ifdef __cplusplus
22627 #endif
22630 main ()
22632 return f != $ac_func;
22634 return 0;
22636 _ACEOF
22637 rm -f conftest.$ac_objext conftest$ac_exeext
22638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22639 (eval $ac_link) 2>conftest.er1
22640 ac_status=$?
22641 grep -v '^ *+' conftest.er1 >conftest.err
22642 rm -f conftest.er1
22643 cat conftest.err >&5
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); } &&
22646 { ac_try='test -z "$ac_c_werror_flag"
22647 || test ! -s conftest.err'
22648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22649 (eval $ac_try) 2>&5
22650 ac_status=$?
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); }; } &&
22653 { ac_try='test -s conftest$ac_exeext'
22654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22655 (eval $ac_try) 2>&5
22656 ac_status=$?
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); }; }; then
22659 eval "$as_ac_var=yes"
22660 else
22661 echo "$as_me: failed program was:" >&5
22662 sed 's/^/| /' conftest.$ac_ext >&5
22664 eval "$as_ac_var=no"
22666 rm -f conftest.err conftest.$ac_objext \
22667 conftest$ac_exeext conftest.$ac_ext
22669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22671 if test `eval echo '${'$as_ac_var'}'` = yes; then
22672 cat >>confdefs.h <<_ACEOF
22673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22674 _ACEOF
22677 done
22687 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22688 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22689 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22690 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22691 echo $ECHO_N "(cached) $ECHO_C" >&6
22692 else
22696 ac_ext=cc
22697 ac_cpp='$CXXCPP $CPPFLAGS'
22698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22702 cat >conftest.$ac_ext <<_ACEOF
22703 /* confdefs.h. */
22704 _ACEOF
22705 cat confdefs.h >>conftest.$ac_ext
22706 cat >>conftest.$ac_ext <<_ACEOF
22707 /* end confdefs.h. */
22708 #include <math.h>
22710 main ()
22712 ldexpl(0, 0);
22714 return 0;
22716 _ACEOF
22717 rm -f conftest.$ac_objext
22718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22719 (eval $ac_compile) 2>conftest.er1
22720 ac_status=$?
22721 grep -v '^ *+' conftest.er1 >conftest.err
22722 rm -f conftest.er1
22723 cat conftest.err >&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } &&
22726 { ac_try='test -z "$ac_cxx_werror_flag"
22727 || test ! -s conftest.err'
22728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22729 (eval $ac_try) 2>&5
22730 ac_status=$?
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); }; } &&
22733 { ac_try='test -s conftest.$ac_objext'
22734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22735 (eval $ac_try) 2>&5
22736 ac_status=$?
22737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22738 (exit $ac_status); }; }; then
22739 glibcxx_cv_func_ldexpl_use=yes
22740 else
22741 echo "$as_me: failed program was:" >&5
22742 sed 's/^/| /' conftest.$ac_ext >&5
22744 glibcxx_cv_func_ldexpl_use=no
22746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22747 ac_ext=c
22748 ac_cpp='$CPP $CPPFLAGS'
22749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22757 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22758 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22760 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22762 for ac_func in ldexpl
22764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22765 echo "$as_me:$LINENO: checking for $ac_func" >&5
22766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22767 if eval "test \"\${$as_ac_var+set}\" = set"; then
22768 echo $ECHO_N "(cached) $ECHO_C" >&6
22769 else
22770 if test x$gcc_no_link = xyes; then
22771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22773 { (exit 1); exit 1; }; }
22775 cat >conftest.$ac_ext <<_ACEOF
22776 /* confdefs.h. */
22777 _ACEOF
22778 cat confdefs.h >>conftest.$ac_ext
22779 cat >>conftest.$ac_ext <<_ACEOF
22780 /* end confdefs.h. */
22781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22783 #define $ac_func innocuous_$ac_func
22785 /* System header to define __stub macros and hopefully few prototypes,
22786 which can conflict with char $ac_func (); below.
22787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22788 <limits.h> exists even on freestanding compilers. */
22790 #ifdef __STDC__
22791 # include <limits.h>
22792 #else
22793 # include <assert.h>
22794 #endif
22796 #undef $ac_func
22798 /* Override any gcc2 internal prototype to avoid an error. */
22799 #ifdef __cplusplus
22800 extern "C"
22802 #endif
22803 /* We use char because int might match the return type of a gcc2
22804 builtin and then its argument prototype would still apply. */
22805 char $ac_func ();
22806 /* The GNU C library defines this for functions which it implements
22807 to always fail with ENOSYS. Some functions are actually named
22808 something starting with __ and the normal name is an alias. */
22809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22810 choke me
22811 #else
22812 char (*f) () = $ac_func;
22813 #endif
22814 #ifdef __cplusplus
22816 #endif
22819 main ()
22821 return f != $ac_func;
22823 return 0;
22825 _ACEOF
22826 rm -f conftest.$ac_objext conftest$ac_exeext
22827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22828 (eval $ac_link) 2>conftest.er1
22829 ac_status=$?
22830 grep -v '^ *+' conftest.er1 >conftest.err
22831 rm -f conftest.er1
22832 cat conftest.err >&5
22833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22834 (exit $ac_status); } &&
22835 { ac_try='test -z "$ac_c_werror_flag"
22836 || test ! -s conftest.err'
22837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22838 (eval $ac_try) 2>&5
22839 ac_status=$?
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); }; } &&
22842 { ac_try='test -s conftest$ac_exeext'
22843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22844 (eval $ac_try) 2>&5
22845 ac_status=$?
22846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847 (exit $ac_status); }; }; then
22848 eval "$as_ac_var=yes"
22849 else
22850 echo "$as_me: failed program was:" >&5
22851 sed 's/^/| /' conftest.$ac_ext >&5
22853 eval "$as_ac_var=no"
22855 rm -f conftest.err conftest.$ac_objext \
22856 conftest$ac_exeext conftest.$ac_ext
22858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22860 if test `eval echo '${'$as_ac_var'}'` = yes; then
22861 cat >>confdefs.h <<_ACEOF
22862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22863 _ACEOF
22866 done
22868 else
22870 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22871 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22872 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22873 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22874 echo $ECHO_N "(cached) $ECHO_C" >&6
22875 else
22879 ac_ext=cc
22880 ac_cpp='$CXXCPP $CPPFLAGS'
22881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22885 cat >conftest.$ac_ext <<_ACEOF
22886 /* confdefs.h. */
22887 _ACEOF
22888 cat confdefs.h >>conftest.$ac_ext
22889 cat >>conftest.$ac_ext <<_ACEOF
22890 /* end confdefs.h. */
22891 #include <math.h>
22893 main ()
22895 _ldexpl(0, 0);
22897 return 0;
22899 _ACEOF
22900 rm -f conftest.$ac_objext
22901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22902 (eval $ac_compile) 2>conftest.er1
22903 ac_status=$?
22904 grep -v '^ *+' conftest.er1 >conftest.err
22905 rm -f conftest.er1
22906 cat conftest.err >&5
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); } &&
22909 { ac_try='test -z "$ac_cxx_werror_flag"
22910 || test ! -s conftest.err'
22911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22912 (eval $ac_try) 2>&5
22913 ac_status=$?
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); }; } &&
22916 { ac_try='test -s conftest.$ac_objext'
22917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22918 (eval $ac_try) 2>&5
22919 ac_status=$?
22920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921 (exit $ac_status); }; }; then
22922 glibcxx_cv_func__ldexpl_use=yes
22923 else
22924 echo "$as_me: failed program was:" >&5
22925 sed 's/^/| /' conftest.$ac_ext >&5
22927 glibcxx_cv_func__ldexpl_use=no
22929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22930 ac_ext=c
22931 ac_cpp='$CPP $CPPFLAGS'
22932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22941 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22943 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22945 for ac_func in _ldexpl
22947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22948 echo "$as_me:$LINENO: checking for $ac_func" >&5
22949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22950 if eval "test \"\${$as_ac_var+set}\" = set"; then
22951 echo $ECHO_N "(cached) $ECHO_C" >&6
22952 else
22953 if test x$gcc_no_link = xyes; then
22954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22956 { (exit 1); exit 1; }; }
22958 cat >conftest.$ac_ext <<_ACEOF
22959 /* confdefs.h. */
22960 _ACEOF
22961 cat confdefs.h >>conftest.$ac_ext
22962 cat >>conftest.$ac_ext <<_ACEOF
22963 /* end confdefs.h. */
22964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22966 #define $ac_func innocuous_$ac_func
22968 /* System header to define __stub macros and hopefully few prototypes,
22969 which can conflict with char $ac_func (); below.
22970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22971 <limits.h> exists even on freestanding compilers. */
22973 #ifdef __STDC__
22974 # include <limits.h>
22975 #else
22976 # include <assert.h>
22977 #endif
22979 #undef $ac_func
22981 /* Override any gcc2 internal prototype to avoid an error. */
22982 #ifdef __cplusplus
22983 extern "C"
22985 #endif
22986 /* We use char because int might match the return type of a gcc2
22987 builtin and then its argument prototype would still apply. */
22988 char $ac_func ();
22989 /* The GNU C library defines this for functions which it implements
22990 to always fail with ENOSYS. Some functions are actually named
22991 something starting with __ and the normal name is an alias. */
22992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22993 choke me
22994 #else
22995 char (*f) () = $ac_func;
22996 #endif
22997 #ifdef __cplusplus
22999 #endif
23002 main ()
23004 return f != $ac_func;
23006 return 0;
23008 _ACEOF
23009 rm -f conftest.$ac_objext conftest$ac_exeext
23010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23011 (eval $ac_link) 2>conftest.er1
23012 ac_status=$?
23013 grep -v '^ *+' conftest.er1 >conftest.err
23014 rm -f conftest.er1
23015 cat conftest.err >&5
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); } &&
23018 { ac_try='test -z "$ac_c_werror_flag"
23019 || test ! -s conftest.err'
23020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23021 (eval $ac_try) 2>&5
23022 ac_status=$?
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; } &&
23025 { ac_try='test -s conftest$ac_exeext'
23026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23027 (eval $ac_try) 2>&5
23028 ac_status=$?
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); }; }; then
23031 eval "$as_ac_var=yes"
23032 else
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.$ac_ext >&5
23036 eval "$as_ac_var=no"
23038 rm -f conftest.err conftest.$ac_objext \
23039 conftest$ac_exeext conftest.$ac_ext
23041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23043 if test `eval echo '${'$as_ac_var'}'` = yes; then
23044 cat >>confdefs.h <<_ACEOF
23045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23046 _ACEOF
23049 done
23059 echo "$as_me:$LINENO: checking for logl declaration" >&5
23060 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23061 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23062 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23063 echo $ECHO_N "(cached) $ECHO_C" >&6
23064 else
23068 ac_ext=cc
23069 ac_cpp='$CXXCPP $CPPFLAGS'
23070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23074 cat >conftest.$ac_ext <<_ACEOF
23075 /* confdefs.h. */
23076 _ACEOF
23077 cat confdefs.h >>conftest.$ac_ext
23078 cat >>conftest.$ac_ext <<_ACEOF
23079 /* end confdefs.h. */
23080 #include <math.h>
23081 #ifdef HAVE_IEEEFP_H
23082 #include <ieeefp.h>
23083 #endif
23086 main ()
23088 logl(0);
23090 return 0;
23092 _ACEOF
23093 rm -f conftest.$ac_objext
23094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23095 (eval $ac_compile) 2>conftest.er1
23096 ac_status=$?
23097 grep -v '^ *+' conftest.er1 >conftest.err
23098 rm -f conftest.er1
23099 cat conftest.err >&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); } &&
23102 { ac_try='test -z "$ac_cxx_werror_flag"
23103 || test ! -s conftest.err'
23104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23105 (eval $ac_try) 2>&5
23106 ac_status=$?
23107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23108 (exit $ac_status); }; } &&
23109 { ac_try='test -s conftest.$ac_objext'
23110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23111 (eval $ac_try) 2>&5
23112 ac_status=$?
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); }; }; then
23115 glibcxx_cv_func_logl_use=yes
23116 else
23117 echo "$as_me: failed program was:" >&5
23118 sed 's/^/| /' conftest.$ac_ext >&5
23120 glibcxx_cv_func_logl_use=no
23122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23123 ac_ext=c
23124 ac_cpp='$CPP $CPPFLAGS'
23125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23133 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23134 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23136 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23138 for ac_func in logl
23140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23141 echo "$as_me:$LINENO: checking for $ac_func" >&5
23142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23143 if eval "test \"\${$as_ac_var+set}\" = set"; then
23144 echo $ECHO_N "(cached) $ECHO_C" >&6
23145 else
23146 if test x$gcc_no_link = xyes; then
23147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23149 { (exit 1); exit 1; }; }
23151 cat >conftest.$ac_ext <<_ACEOF
23152 /* confdefs.h. */
23153 _ACEOF
23154 cat confdefs.h >>conftest.$ac_ext
23155 cat >>conftest.$ac_ext <<_ACEOF
23156 /* end confdefs.h. */
23157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23159 #define $ac_func innocuous_$ac_func
23161 /* System header to define __stub macros and hopefully few prototypes,
23162 which can conflict with char $ac_func (); below.
23163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23164 <limits.h> exists even on freestanding compilers. */
23166 #ifdef __STDC__
23167 # include <limits.h>
23168 #else
23169 # include <assert.h>
23170 #endif
23172 #undef $ac_func
23174 /* Override any gcc2 internal prototype to avoid an error. */
23175 #ifdef __cplusplus
23176 extern "C"
23178 #endif
23179 /* We use char because int might match the return type of a gcc2
23180 builtin and then its argument prototype would still apply. */
23181 char $ac_func ();
23182 /* The GNU C library defines this for functions which it implements
23183 to always fail with ENOSYS. Some functions are actually named
23184 something starting with __ and the normal name is an alias. */
23185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23186 choke me
23187 #else
23188 char (*f) () = $ac_func;
23189 #endif
23190 #ifdef __cplusplus
23192 #endif
23195 main ()
23197 return f != $ac_func;
23199 return 0;
23201 _ACEOF
23202 rm -f conftest.$ac_objext conftest$ac_exeext
23203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23204 (eval $ac_link) 2>conftest.er1
23205 ac_status=$?
23206 grep -v '^ *+' conftest.er1 >conftest.err
23207 rm -f conftest.er1
23208 cat conftest.err >&5
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); } &&
23211 { ac_try='test -z "$ac_c_werror_flag"
23212 || test ! -s conftest.err'
23213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23214 (eval $ac_try) 2>&5
23215 ac_status=$?
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); }; } &&
23218 { ac_try='test -s conftest$ac_exeext'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23221 ac_status=$?
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; }; then
23224 eval "$as_ac_var=yes"
23225 else
23226 echo "$as_me: failed program was:" >&5
23227 sed 's/^/| /' conftest.$ac_ext >&5
23229 eval "$as_ac_var=no"
23231 rm -f conftest.err conftest.$ac_objext \
23232 conftest$ac_exeext conftest.$ac_ext
23234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23236 if test `eval echo '${'$as_ac_var'}'` = yes; then
23237 cat >>confdefs.h <<_ACEOF
23238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23239 _ACEOF
23242 done
23244 else
23246 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23247 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23248 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23249 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23250 echo $ECHO_N "(cached) $ECHO_C" >&6
23251 else
23255 ac_ext=cc
23256 ac_cpp='$CXXCPP $CPPFLAGS'
23257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23261 cat >conftest.$ac_ext <<_ACEOF
23262 /* confdefs.h. */
23263 _ACEOF
23264 cat confdefs.h >>conftest.$ac_ext
23265 cat >>conftest.$ac_ext <<_ACEOF
23266 /* end confdefs.h. */
23267 #include <math.h>
23268 #ifdef HAVE_IEEEFP_H
23269 #include <ieeefp.h>
23270 #endif
23273 main ()
23275 _logl(0);
23277 return 0;
23279 _ACEOF
23280 rm -f conftest.$ac_objext
23281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23282 (eval $ac_compile) 2>conftest.er1
23283 ac_status=$?
23284 grep -v '^ *+' conftest.er1 >conftest.err
23285 rm -f conftest.er1
23286 cat conftest.err >&5
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); } &&
23289 { ac_try='test -z "$ac_cxx_werror_flag"
23290 || test ! -s conftest.err'
23291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23292 (eval $ac_try) 2>&5
23293 ac_status=$?
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); }; } &&
23296 { ac_try='test -s conftest.$ac_objext'
23297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23298 (eval $ac_try) 2>&5
23299 ac_status=$?
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); }; }; then
23302 glibcxx_cv_func__logl_use=yes
23303 else
23304 echo "$as_me: failed program was:" >&5
23305 sed 's/^/| /' conftest.$ac_ext >&5
23307 glibcxx_cv_func__logl_use=no
23309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23310 ac_ext=c
23311 ac_cpp='$CPP $CPPFLAGS'
23312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23321 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23323 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23325 for ac_func in _logl
23327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23328 echo "$as_me:$LINENO: checking for $ac_func" >&5
23329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23330 if eval "test \"\${$as_ac_var+set}\" = set"; then
23331 echo $ECHO_N "(cached) $ECHO_C" >&6
23332 else
23333 if test x$gcc_no_link = xyes; then
23334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23336 { (exit 1); exit 1; }; }
23338 cat >conftest.$ac_ext <<_ACEOF
23339 /* confdefs.h. */
23340 _ACEOF
23341 cat confdefs.h >>conftest.$ac_ext
23342 cat >>conftest.$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23346 #define $ac_func innocuous_$ac_func
23348 /* System header to define __stub macros and hopefully few prototypes,
23349 which can conflict with char $ac_func (); below.
23350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23351 <limits.h> exists even on freestanding compilers. */
23353 #ifdef __STDC__
23354 # include <limits.h>
23355 #else
23356 # include <assert.h>
23357 #endif
23359 #undef $ac_func
23361 /* Override any gcc2 internal prototype to avoid an error. */
23362 #ifdef __cplusplus
23363 extern "C"
23365 #endif
23366 /* We use char because int might match the return type of a gcc2
23367 builtin and then its argument prototype would still apply. */
23368 char $ac_func ();
23369 /* The GNU C library defines this for functions which it implements
23370 to always fail with ENOSYS. Some functions are actually named
23371 something starting with __ and the normal name is an alias. */
23372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23373 choke me
23374 #else
23375 char (*f) () = $ac_func;
23376 #endif
23377 #ifdef __cplusplus
23379 #endif
23382 main ()
23384 return f != $ac_func;
23386 return 0;
23388 _ACEOF
23389 rm -f conftest.$ac_objext conftest$ac_exeext
23390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23391 (eval $ac_link) 2>conftest.er1
23392 ac_status=$?
23393 grep -v '^ *+' conftest.er1 >conftest.err
23394 rm -f conftest.er1
23395 cat conftest.err >&5
23396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23397 (exit $ac_status); } &&
23398 { ac_try='test -z "$ac_c_werror_flag"
23399 || test ! -s conftest.err'
23400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23401 (eval $ac_try) 2>&5
23402 ac_status=$?
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); }; } &&
23405 { ac_try='test -s conftest$ac_exeext'
23406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23407 (eval $ac_try) 2>&5
23408 ac_status=$?
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); }; }; then
23411 eval "$as_ac_var=yes"
23412 else
23413 echo "$as_me: failed program was:" >&5
23414 sed 's/^/| /' conftest.$ac_ext >&5
23416 eval "$as_ac_var=no"
23418 rm -f conftest.err conftest.$ac_objext \
23419 conftest$ac_exeext conftest.$ac_ext
23421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23423 if test `eval echo '${'$as_ac_var'}'` = yes; then
23424 cat >>confdefs.h <<_ACEOF
23425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23426 _ACEOF
23429 done
23439 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23440 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23441 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23442 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23443 echo $ECHO_N "(cached) $ECHO_C" >&6
23444 else
23448 ac_ext=cc
23449 ac_cpp='$CXXCPP $CPPFLAGS'
23450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23454 cat >conftest.$ac_ext <<_ACEOF
23455 /* confdefs.h. */
23456 _ACEOF
23457 cat confdefs.h >>conftest.$ac_ext
23458 cat >>conftest.$ac_ext <<_ACEOF
23459 /* end confdefs.h. */
23460 #include <math.h>
23461 #ifdef HAVE_IEEEFP_H
23462 #include <ieeefp.h>
23463 #endif
23466 main ()
23468 log10l(0);
23470 return 0;
23472 _ACEOF
23473 rm -f conftest.$ac_objext
23474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23475 (eval $ac_compile) 2>conftest.er1
23476 ac_status=$?
23477 grep -v '^ *+' conftest.er1 >conftest.err
23478 rm -f conftest.er1
23479 cat conftest.err >&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } &&
23482 { ac_try='test -z "$ac_cxx_werror_flag"
23483 || test ! -s conftest.err'
23484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23485 (eval $ac_try) 2>&5
23486 ac_status=$?
23487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23488 (exit $ac_status); }; } &&
23489 { ac_try='test -s conftest.$ac_objext'
23490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23491 (eval $ac_try) 2>&5
23492 ac_status=$?
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); }; }; then
23495 glibcxx_cv_func_log10l_use=yes
23496 else
23497 echo "$as_me: failed program was:" >&5
23498 sed 's/^/| /' conftest.$ac_ext >&5
23500 glibcxx_cv_func_log10l_use=no
23502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23503 ac_ext=c
23504 ac_cpp='$CPP $CPPFLAGS'
23505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23514 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23516 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23518 for ac_func in log10l
23520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23521 echo "$as_me:$LINENO: checking for $ac_func" >&5
23522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23523 if eval "test \"\${$as_ac_var+set}\" = set"; then
23524 echo $ECHO_N "(cached) $ECHO_C" >&6
23525 else
23526 if test x$gcc_no_link = xyes; then
23527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23529 { (exit 1); exit 1; }; }
23531 cat >conftest.$ac_ext <<_ACEOF
23532 /* confdefs.h. */
23533 _ACEOF
23534 cat confdefs.h >>conftest.$ac_ext
23535 cat >>conftest.$ac_ext <<_ACEOF
23536 /* end confdefs.h. */
23537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23539 #define $ac_func innocuous_$ac_func
23541 /* System header to define __stub macros and hopefully few prototypes,
23542 which can conflict with char $ac_func (); below.
23543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23544 <limits.h> exists even on freestanding compilers. */
23546 #ifdef __STDC__
23547 # include <limits.h>
23548 #else
23549 # include <assert.h>
23550 #endif
23552 #undef $ac_func
23554 /* Override any gcc2 internal prototype to avoid an error. */
23555 #ifdef __cplusplus
23556 extern "C"
23558 #endif
23559 /* We use char because int might match the return type of a gcc2
23560 builtin and then its argument prototype would still apply. */
23561 char $ac_func ();
23562 /* The GNU C library defines this for functions which it implements
23563 to always fail with ENOSYS. Some functions are actually named
23564 something starting with __ and the normal name is an alias. */
23565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23566 choke me
23567 #else
23568 char (*f) () = $ac_func;
23569 #endif
23570 #ifdef __cplusplus
23572 #endif
23575 main ()
23577 return f != $ac_func;
23579 return 0;
23581 _ACEOF
23582 rm -f conftest.$ac_objext conftest$ac_exeext
23583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23584 (eval $ac_link) 2>conftest.er1
23585 ac_status=$?
23586 grep -v '^ *+' conftest.er1 >conftest.err
23587 rm -f conftest.er1
23588 cat conftest.err >&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); } &&
23591 { ac_try='test -z "$ac_c_werror_flag"
23592 || test ! -s conftest.err'
23593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23594 (eval $ac_try) 2>&5
23595 ac_status=$?
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); }; } &&
23598 { ac_try='test -s conftest$ac_exeext'
23599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23600 (eval $ac_try) 2>&5
23601 ac_status=$?
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); }; }; then
23604 eval "$as_ac_var=yes"
23605 else
23606 echo "$as_me: failed program was:" >&5
23607 sed 's/^/| /' conftest.$ac_ext >&5
23609 eval "$as_ac_var=no"
23611 rm -f conftest.err conftest.$ac_objext \
23612 conftest$ac_exeext conftest.$ac_ext
23614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23616 if test `eval echo '${'$as_ac_var'}'` = yes; then
23617 cat >>confdefs.h <<_ACEOF
23618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23619 _ACEOF
23622 done
23624 else
23626 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23627 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23628 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23629 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23630 echo $ECHO_N "(cached) $ECHO_C" >&6
23631 else
23635 ac_ext=cc
23636 ac_cpp='$CXXCPP $CPPFLAGS'
23637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23641 cat >conftest.$ac_ext <<_ACEOF
23642 /* confdefs.h. */
23643 _ACEOF
23644 cat confdefs.h >>conftest.$ac_ext
23645 cat >>conftest.$ac_ext <<_ACEOF
23646 /* end confdefs.h. */
23647 #include <math.h>
23648 #ifdef HAVE_IEEEFP_H
23649 #include <ieeefp.h>
23650 #endif
23653 main ()
23655 _log10l(0);
23657 return 0;
23659 _ACEOF
23660 rm -f conftest.$ac_objext
23661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23662 (eval $ac_compile) 2>conftest.er1
23663 ac_status=$?
23664 grep -v '^ *+' conftest.er1 >conftest.err
23665 rm -f conftest.er1
23666 cat conftest.err >&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); } &&
23669 { ac_try='test -z "$ac_cxx_werror_flag"
23670 || test ! -s conftest.err'
23671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23672 (eval $ac_try) 2>&5
23673 ac_status=$?
23674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675 (exit $ac_status); }; } &&
23676 { ac_try='test -s conftest.$ac_objext'
23677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23678 (eval $ac_try) 2>&5
23679 ac_status=$?
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); }; }; then
23682 glibcxx_cv_func__log10l_use=yes
23683 else
23684 echo "$as_me: failed program was:" >&5
23685 sed 's/^/| /' conftest.$ac_ext >&5
23687 glibcxx_cv_func__log10l_use=no
23689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23690 ac_ext=c
23691 ac_cpp='$CPP $CPPFLAGS'
23692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23700 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23701 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23703 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23705 for ac_func in _log10l
23707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23708 echo "$as_me:$LINENO: checking for $ac_func" >&5
23709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23710 if eval "test \"\${$as_ac_var+set}\" = set"; then
23711 echo $ECHO_N "(cached) $ECHO_C" >&6
23712 else
23713 if test x$gcc_no_link = xyes; then
23714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23716 { (exit 1); exit 1; }; }
23718 cat >conftest.$ac_ext <<_ACEOF
23719 /* confdefs.h. */
23720 _ACEOF
23721 cat confdefs.h >>conftest.$ac_ext
23722 cat >>conftest.$ac_ext <<_ACEOF
23723 /* end confdefs.h. */
23724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23726 #define $ac_func innocuous_$ac_func
23728 /* System header to define __stub macros and hopefully few prototypes,
23729 which can conflict with char $ac_func (); below.
23730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23731 <limits.h> exists even on freestanding compilers. */
23733 #ifdef __STDC__
23734 # include <limits.h>
23735 #else
23736 # include <assert.h>
23737 #endif
23739 #undef $ac_func
23741 /* Override any gcc2 internal prototype to avoid an error. */
23742 #ifdef __cplusplus
23743 extern "C"
23745 #endif
23746 /* We use char because int might match the return type of a gcc2
23747 builtin and then its argument prototype would still apply. */
23748 char $ac_func ();
23749 /* The GNU C library defines this for functions which it implements
23750 to always fail with ENOSYS. Some functions are actually named
23751 something starting with __ and the normal name is an alias. */
23752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23753 choke me
23754 #else
23755 char (*f) () = $ac_func;
23756 #endif
23757 #ifdef __cplusplus
23759 #endif
23762 main ()
23764 return f != $ac_func;
23766 return 0;
23768 _ACEOF
23769 rm -f conftest.$ac_objext conftest$ac_exeext
23770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23771 (eval $ac_link) 2>conftest.er1
23772 ac_status=$?
23773 grep -v '^ *+' conftest.er1 >conftest.err
23774 rm -f conftest.er1
23775 cat conftest.err >&5
23776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777 (exit $ac_status); } &&
23778 { ac_try='test -z "$ac_c_werror_flag"
23779 || test ! -s conftest.err'
23780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23781 (eval $ac_try) 2>&5
23782 ac_status=$?
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); }; } &&
23785 { ac_try='test -s conftest$ac_exeext'
23786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23787 (eval $ac_try) 2>&5
23788 ac_status=$?
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); }; }; then
23791 eval "$as_ac_var=yes"
23792 else
23793 echo "$as_me: failed program was:" >&5
23794 sed 's/^/| /' conftest.$ac_ext >&5
23796 eval "$as_ac_var=no"
23798 rm -f conftest.err conftest.$ac_objext \
23799 conftest$ac_exeext conftest.$ac_ext
23801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23803 if test `eval echo '${'$as_ac_var'}'` = yes; then
23804 cat >>confdefs.h <<_ACEOF
23805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23806 _ACEOF
23809 done
23819 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23820 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23821 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23822 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23823 echo $ECHO_N "(cached) $ECHO_C" >&6
23824 else
23828 ac_ext=cc
23829 ac_cpp='$CXXCPP $CPPFLAGS'
23830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23834 cat >conftest.$ac_ext <<_ACEOF
23835 /* confdefs.h. */
23836 _ACEOF
23837 cat confdefs.h >>conftest.$ac_ext
23838 cat >>conftest.$ac_ext <<_ACEOF
23839 /* end confdefs.h. */
23840 #include <math.h>
23842 main ()
23844 modfl(0, 0);
23846 return 0;
23848 _ACEOF
23849 rm -f conftest.$ac_objext
23850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23851 (eval $ac_compile) 2>conftest.er1
23852 ac_status=$?
23853 grep -v '^ *+' conftest.er1 >conftest.err
23854 rm -f conftest.er1
23855 cat conftest.err >&5
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); } &&
23858 { ac_try='test -z "$ac_cxx_werror_flag"
23859 || test ! -s conftest.err'
23860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23861 (eval $ac_try) 2>&5
23862 ac_status=$?
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); }; } &&
23865 { ac_try='test -s conftest.$ac_objext'
23866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23867 (eval $ac_try) 2>&5
23868 ac_status=$?
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); }; }; then
23871 glibcxx_cv_func_modfl_use=yes
23872 else
23873 echo "$as_me: failed program was:" >&5
23874 sed 's/^/| /' conftest.$ac_ext >&5
23876 glibcxx_cv_func_modfl_use=no
23878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23879 ac_ext=c
23880 ac_cpp='$CPP $CPPFLAGS'
23881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23889 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23890 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23892 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23894 for ac_func in modfl
23896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23897 echo "$as_me:$LINENO: checking for $ac_func" >&5
23898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23899 if eval "test \"\${$as_ac_var+set}\" = set"; then
23900 echo $ECHO_N "(cached) $ECHO_C" >&6
23901 else
23902 if test x$gcc_no_link = xyes; then
23903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23905 { (exit 1); exit 1; }; }
23907 cat >conftest.$ac_ext <<_ACEOF
23908 /* confdefs.h. */
23909 _ACEOF
23910 cat confdefs.h >>conftest.$ac_ext
23911 cat >>conftest.$ac_ext <<_ACEOF
23912 /* end confdefs.h. */
23913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23915 #define $ac_func innocuous_$ac_func
23917 /* System header to define __stub macros and hopefully few prototypes,
23918 which can conflict with char $ac_func (); below.
23919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23920 <limits.h> exists even on freestanding compilers. */
23922 #ifdef __STDC__
23923 # include <limits.h>
23924 #else
23925 # include <assert.h>
23926 #endif
23928 #undef $ac_func
23930 /* Override any gcc2 internal prototype to avoid an error. */
23931 #ifdef __cplusplus
23932 extern "C"
23934 #endif
23935 /* We use char because int might match the return type of a gcc2
23936 builtin and then its argument prototype would still apply. */
23937 char $ac_func ();
23938 /* The GNU C library defines this for functions which it implements
23939 to always fail with ENOSYS. Some functions are actually named
23940 something starting with __ and the normal name is an alias. */
23941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23942 choke me
23943 #else
23944 char (*f) () = $ac_func;
23945 #endif
23946 #ifdef __cplusplus
23948 #endif
23951 main ()
23953 return f != $ac_func;
23955 return 0;
23957 _ACEOF
23958 rm -f conftest.$ac_objext conftest$ac_exeext
23959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23960 (eval $ac_link) 2>conftest.er1
23961 ac_status=$?
23962 grep -v '^ *+' conftest.er1 >conftest.err
23963 rm -f conftest.er1
23964 cat conftest.err >&5
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); } &&
23967 { ac_try='test -z "$ac_c_werror_flag"
23968 || test ! -s conftest.err'
23969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23970 (eval $ac_try) 2>&5
23971 ac_status=$?
23972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23973 (exit $ac_status); }; } &&
23974 { ac_try='test -s conftest$ac_exeext'
23975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23976 (eval $ac_try) 2>&5
23977 ac_status=$?
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); }; }; then
23980 eval "$as_ac_var=yes"
23981 else
23982 echo "$as_me: failed program was:" >&5
23983 sed 's/^/| /' conftest.$ac_ext >&5
23985 eval "$as_ac_var=no"
23987 rm -f conftest.err conftest.$ac_objext \
23988 conftest$ac_exeext conftest.$ac_ext
23990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23992 if test `eval echo '${'$as_ac_var'}'` = yes; then
23993 cat >>confdefs.h <<_ACEOF
23994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23995 _ACEOF
23998 done
24000 else
24002 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24003 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24004 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24005 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24007 else
24011 ac_ext=cc
24012 ac_cpp='$CXXCPP $CPPFLAGS'
24013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24017 cat >conftest.$ac_ext <<_ACEOF
24018 /* confdefs.h. */
24019 _ACEOF
24020 cat confdefs.h >>conftest.$ac_ext
24021 cat >>conftest.$ac_ext <<_ACEOF
24022 /* end confdefs.h. */
24023 #include <math.h>
24025 main ()
24027 _modfl(0, 0);
24029 return 0;
24031 _ACEOF
24032 rm -f conftest.$ac_objext
24033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24034 (eval $ac_compile) 2>conftest.er1
24035 ac_status=$?
24036 grep -v '^ *+' conftest.er1 >conftest.err
24037 rm -f conftest.er1
24038 cat conftest.err >&5
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); } &&
24041 { ac_try='test -z "$ac_cxx_werror_flag"
24042 || test ! -s conftest.err'
24043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24044 (eval $ac_try) 2>&5
24045 ac_status=$?
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); }; } &&
24048 { ac_try='test -s conftest.$ac_objext'
24049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24050 (eval $ac_try) 2>&5
24051 ac_status=$?
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); }; }; then
24054 glibcxx_cv_func__modfl_use=yes
24055 else
24056 echo "$as_me: failed program was:" >&5
24057 sed 's/^/| /' conftest.$ac_ext >&5
24059 glibcxx_cv_func__modfl_use=no
24061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24062 ac_ext=c
24063 ac_cpp='$CPP $CPPFLAGS'
24064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24073 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24075 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24077 for ac_func in _modfl
24079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24080 echo "$as_me:$LINENO: checking for $ac_func" >&5
24081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24082 if eval "test \"\${$as_ac_var+set}\" = set"; then
24083 echo $ECHO_N "(cached) $ECHO_C" >&6
24084 else
24085 if test x$gcc_no_link = xyes; then
24086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24088 { (exit 1); exit 1; }; }
24090 cat >conftest.$ac_ext <<_ACEOF
24091 /* confdefs.h. */
24092 _ACEOF
24093 cat confdefs.h >>conftest.$ac_ext
24094 cat >>conftest.$ac_ext <<_ACEOF
24095 /* end confdefs.h. */
24096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24098 #define $ac_func innocuous_$ac_func
24100 /* System header to define __stub macros and hopefully few prototypes,
24101 which can conflict with char $ac_func (); below.
24102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24103 <limits.h> exists even on freestanding compilers. */
24105 #ifdef __STDC__
24106 # include <limits.h>
24107 #else
24108 # include <assert.h>
24109 #endif
24111 #undef $ac_func
24113 /* Override any gcc2 internal prototype to avoid an error. */
24114 #ifdef __cplusplus
24115 extern "C"
24117 #endif
24118 /* We use char because int might match the return type of a gcc2
24119 builtin and then its argument prototype would still apply. */
24120 char $ac_func ();
24121 /* The GNU C library defines this for functions which it implements
24122 to always fail with ENOSYS. Some functions are actually named
24123 something starting with __ and the normal name is an alias. */
24124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24125 choke me
24126 #else
24127 char (*f) () = $ac_func;
24128 #endif
24129 #ifdef __cplusplus
24131 #endif
24134 main ()
24136 return f != $ac_func;
24138 return 0;
24140 _ACEOF
24141 rm -f conftest.$ac_objext conftest$ac_exeext
24142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24143 (eval $ac_link) 2>conftest.er1
24144 ac_status=$?
24145 grep -v '^ *+' conftest.er1 >conftest.err
24146 rm -f conftest.er1
24147 cat conftest.err >&5
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); } &&
24150 { ac_try='test -z "$ac_c_werror_flag"
24151 || test ! -s conftest.err'
24152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24153 (eval $ac_try) 2>&5
24154 ac_status=$?
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); }; } &&
24157 { ac_try='test -s conftest$ac_exeext'
24158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24159 (eval $ac_try) 2>&5
24160 ac_status=$?
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); }; }; then
24163 eval "$as_ac_var=yes"
24164 else
24165 echo "$as_me: failed program was:" >&5
24166 sed 's/^/| /' conftest.$ac_ext >&5
24168 eval "$as_ac_var=no"
24170 rm -f conftest.err conftest.$ac_objext \
24171 conftest$ac_exeext conftest.$ac_ext
24173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24175 if test `eval echo '${'$as_ac_var'}'` = yes; then
24176 cat >>confdefs.h <<_ACEOF
24177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24178 _ACEOF
24181 done
24191 echo "$as_me:$LINENO: checking for powl declaration" >&5
24192 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24193 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24194 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24195 echo $ECHO_N "(cached) $ECHO_C" >&6
24196 else
24200 ac_ext=cc
24201 ac_cpp='$CXXCPP $CPPFLAGS'
24202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24206 cat >conftest.$ac_ext <<_ACEOF
24207 /* confdefs.h. */
24208 _ACEOF
24209 cat confdefs.h >>conftest.$ac_ext
24210 cat >>conftest.$ac_ext <<_ACEOF
24211 /* end confdefs.h. */
24212 #include <math.h>
24214 main ()
24216 powl(0, 0);
24218 return 0;
24220 _ACEOF
24221 rm -f conftest.$ac_objext
24222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24223 (eval $ac_compile) 2>conftest.er1
24224 ac_status=$?
24225 grep -v '^ *+' conftest.er1 >conftest.err
24226 rm -f conftest.er1
24227 cat conftest.err >&5
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); } &&
24230 { ac_try='test -z "$ac_cxx_werror_flag"
24231 || test ! -s conftest.err'
24232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24233 (eval $ac_try) 2>&5
24234 ac_status=$?
24235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236 (exit $ac_status); }; } &&
24237 { ac_try='test -s conftest.$ac_objext'
24238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24239 (eval $ac_try) 2>&5
24240 ac_status=$?
24241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24242 (exit $ac_status); }; }; then
24243 glibcxx_cv_func_powl_use=yes
24244 else
24245 echo "$as_me: failed program was:" >&5
24246 sed 's/^/| /' conftest.$ac_ext >&5
24248 glibcxx_cv_func_powl_use=no
24250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24251 ac_ext=c
24252 ac_cpp='$CPP $CPPFLAGS'
24253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24262 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24264 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24266 for ac_func in powl
24268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24269 echo "$as_me:$LINENO: checking for $ac_func" >&5
24270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24271 if eval "test \"\${$as_ac_var+set}\" = set"; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24273 else
24274 if test x$gcc_no_link = xyes; then
24275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24277 { (exit 1); exit 1; }; }
24279 cat >conftest.$ac_ext <<_ACEOF
24280 /* confdefs.h. */
24281 _ACEOF
24282 cat confdefs.h >>conftest.$ac_ext
24283 cat >>conftest.$ac_ext <<_ACEOF
24284 /* end confdefs.h. */
24285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24287 #define $ac_func innocuous_$ac_func
24289 /* System header to define __stub macros and hopefully few prototypes,
24290 which can conflict with char $ac_func (); below.
24291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24292 <limits.h> exists even on freestanding compilers. */
24294 #ifdef __STDC__
24295 # include <limits.h>
24296 #else
24297 # include <assert.h>
24298 #endif
24300 #undef $ac_func
24302 /* Override any gcc2 internal prototype to avoid an error. */
24303 #ifdef __cplusplus
24304 extern "C"
24306 #endif
24307 /* We use char because int might match the return type of a gcc2
24308 builtin and then its argument prototype would still apply. */
24309 char $ac_func ();
24310 /* The GNU C library defines this for functions which it implements
24311 to always fail with ENOSYS. Some functions are actually named
24312 something starting with __ and the normal name is an alias. */
24313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24314 choke me
24315 #else
24316 char (*f) () = $ac_func;
24317 #endif
24318 #ifdef __cplusplus
24320 #endif
24323 main ()
24325 return f != $ac_func;
24327 return 0;
24329 _ACEOF
24330 rm -f conftest.$ac_objext conftest$ac_exeext
24331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24332 (eval $ac_link) 2>conftest.er1
24333 ac_status=$?
24334 grep -v '^ *+' conftest.er1 >conftest.err
24335 rm -f conftest.er1
24336 cat conftest.err >&5
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); } &&
24339 { ac_try='test -z "$ac_c_werror_flag"
24340 || test ! -s conftest.err'
24341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24342 (eval $ac_try) 2>&5
24343 ac_status=$?
24344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345 (exit $ac_status); }; } &&
24346 { ac_try='test -s conftest$ac_exeext'
24347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24348 (eval $ac_try) 2>&5
24349 ac_status=$?
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); }; }; then
24352 eval "$as_ac_var=yes"
24353 else
24354 echo "$as_me: failed program was:" >&5
24355 sed 's/^/| /' conftest.$ac_ext >&5
24357 eval "$as_ac_var=no"
24359 rm -f conftest.err conftest.$ac_objext \
24360 conftest$ac_exeext conftest.$ac_ext
24362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24364 if test `eval echo '${'$as_ac_var'}'` = yes; then
24365 cat >>confdefs.h <<_ACEOF
24366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24367 _ACEOF
24370 done
24372 else
24374 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24375 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24376 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24377 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24378 echo $ECHO_N "(cached) $ECHO_C" >&6
24379 else
24383 ac_ext=cc
24384 ac_cpp='$CXXCPP $CPPFLAGS'
24385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24389 cat >conftest.$ac_ext <<_ACEOF
24390 /* confdefs.h. */
24391 _ACEOF
24392 cat confdefs.h >>conftest.$ac_ext
24393 cat >>conftest.$ac_ext <<_ACEOF
24394 /* end confdefs.h. */
24395 #include <math.h>
24397 main ()
24399 _powl(0, 0);
24401 return 0;
24403 _ACEOF
24404 rm -f conftest.$ac_objext
24405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24406 (eval $ac_compile) 2>conftest.er1
24407 ac_status=$?
24408 grep -v '^ *+' conftest.er1 >conftest.err
24409 rm -f conftest.er1
24410 cat conftest.err >&5
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); } &&
24413 { ac_try='test -z "$ac_cxx_werror_flag"
24414 || test ! -s conftest.err'
24415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24416 (eval $ac_try) 2>&5
24417 ac_status=$?
24418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24419 (exit $ac_status); }; } &&
24420 { ac_try='test -s conftest.$ac_objext'
24421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24422 (eval $ac_try) 2>&5
24423 ac_status=$?
24424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); }; }; then
24426 glibcxx_cv_func__powl_use=yes
24427 else
24428 echo "$as_me: failed program was:" >&5
24429 sed 's/^/| /' conftest.$ac_ext >&5
24431 glibcxx_cv_func__powl_use=no
24433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24434 ac_ext=c
24435 ac_cpp='$CPP $CPPFLAGS'
24436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24445 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24447 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24449 for ac_func in _powl
24451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24452 echo "$as_me:$LINENO: checking for $ac_func" >&5
24453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24454 if eval "test \"\${$as_ac_var+set}\" = set"; then
24455 echo $ECHO_N "(cached) $ECHO_C" >&6
24456 else
24457 if test x$gcc_no_link = xyes; then
24458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24460 { (exit 1); exit 1; }; }
24462 cat >conftest.$ac_ext <<_ACEOF
24463 /* confdefs.h. */
24464 _ACEOF
24465 cat confdefs.h >>conftest.$ac_ext
24466 cat >>conftest.$ac_ext <<_ACEOF
24467 /* end confdefs.h. */
24468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24470 #define $ac_func innocuous_$ac_func
24472 /* System header to define __stub macros and hopefully few prototypes,
24473 which can conflict with char $ac_func (); below.
24474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24475 <limits.h> exists even on freestanding compilers. */
24477 #ifdef __STDC__
24478 # include <limits.h>
24479 #else
24480 # include <assert.h>
24481 #endif
24483 #undef $ac_func
24485 /* Override any gcc2 internal prototype to avoid an error. */
24486 #ifdef __cplusplus
24487 extern "C"
24489 #endif
24490 /* We use char because int might match the return type of a gcc2
24491 builtin and then its argument prototype would still apply. */
24492 char $ac_func ();
24493 /* The GNU C library defines this for functions which it implements
24494 to always fail with ENOSYS. Some functions are actually named
24495 something starting with __ and the normal name is an alias. */
24496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24497 choke me
24498 #else
24499 char (*f) () = $ac_func;
24500 #endif
24501 #ifdef __cplusplus
24503 #endif
24506 main ()
24508 return f != $ac_func;
24510 return 0;
24512 _ACEOF
24513 rm -f conftest.$ac_objext conftest$ac_exeext
24514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24515 (eval $ac_link) 2>conftest.er1
24516 ac_status=$?
24517 grep -v '^ *+' conftest.er1 >conftest.err
24518 rm -f conftest.er1
24519 cat conftest.err >&5
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); } &&
24522 { ac_try='test -z "$ac_c_werror_flag"
24523 || test ! -s conftest.err'
24524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24525 (eval $ac_try) 2>&5
24526 ac_status=$?
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); }; } &&
24529 { ac_try='test -s conftest$ac_exeext'
24530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24531 (eval $ac_try) 2>&5
24532 ac_status=$?
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); }; }; then
24535 eval "$as_ac_var=yes"
24536 else
24537 echo "$as_me: failed program was:" >&5
24538 sed 's/^/| /' conftest.$ac_ext >&5
24540 eval "$as_ac_var=no"
24542 rm -f conftest.err conftest.$ac_objext \
24543 conftest$ac_exeext conftest.$ac_ext
24545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24547 if test `eval echo '${'$as_ac_var'}'` = yes; then
24548 cat >>confdefs.h <<_ACEOF
24549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24550 _ACEOF
24553 done
24563 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24564 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24565 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24566 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24567 echo $ECHO_N "(cached) $ECHO_C" >&6
24568 else
24572 ac_ext=cc
24573 ac_cpp='$CXXCPP $CPPFLAGS'
24574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24578 cat >conftest.$ac_ext <<_ACEOF
24579 /* confdefs.h. */
24580 _ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 #include <math.h>
24585 #ifdef HAVE_IEEEFP_H
24586 #include <ieeefp.h>
24587 #endif
24590 main ()
24592 sqrtl(0);
24594 return 0;
24596 _ACEOF
24597 rm -f conftest.$ac_objext
24598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24599 (eval $ac_compile) 2>conftest.er1
24600 ac_status=$?
24601 grep -v '^ *+' conftest.er1 >conftest.err
24602 rm -f conftest.er1
24603 cat conftest.err >&5
24604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24605 (exit $ac_status); } &&
24606 { ac_try='test -z "$ac_cxx_werror_flag"
24607 || test ! -s conftest.err'
24608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24609 (eval $ac_try) 2>&5
24610 ac_status=$?
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); }; } &&
24613 { ac_try='test -s conftest.$ac_objext'
24614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24615 (eval $ac_try) 2>&5
24616 ac_status=$?
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); }; }; then
24619 glibcxx_cv_func_sqrtl_use=yes
24620 else
24621 echo "$as_me: failed program was:" >&5
24622 sed 's/^/| /' conftest.$ac_ext >&5
24624 glibcxx_cv_func_sqrtl_use=no
24626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24627 ac_ext=c
24628 ac_cpp='$CPP $CPPFLAGS'
24629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24637 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24638 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24640 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24642 for ac_func in sqrtl
24644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24645 echo "$as_me:$LINENO: checking for $ac_func" >&5
24646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24647 if eval "test \"\${$as_ac_var+set}\" = set"; then
24648 echo $ECHO_N "(cached) $ECHO_C" >&6
24649 else
24650 if test x$gcc_no_link = xyes; then
24651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24653 { (exit 1); exit 1; }; }
24655 cat >conftest.$ac_ext <<_ACEOF
24656 /* confdefs.h. */
24657 _ACEOF
24658 cat confdefs.h >>conftest.$ac_ext
24659 cat >>conftest.$ac_ext <<_ACEOF
24660 /* end confdefs.h. */
24661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24663 #define $ac_func innocuous_$ac_func
24665 /* System header to define __stub macros and hopefully few prototypes,
24666 which can conflict with char $ac_func (); below.
24667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24668 <limits.h> exists even on freestanding compilers. */
24670 #ifdef __STDC__
24671 # include <limits.h>
24672 #else
24673 # include <assert.h>
24674 #endif
24676 #undef $ac_func
24678 /* Override any gcc2 internal prototype to avoid an error. */
24679 #ifdef __cplusplus
24680 extern "C"
24682 #endif
24683 /* We use char because int might match the return type of a gcc2
24684 builtin and then its argument prototype would still apply. */
24685 char $ac_func ();
24686 /* The GNU C library defines this for functions which it implements
24687 to always fail with ENOSYS. Some functions are actually named
24688 something starting with __ and the normal name is an alias. */
24689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24690 choke me
24691 #else
24692 char (*f) () = $ac_func;
24693 #endif
24694 #ifdef __cplusplus
24696 #endif
24699 main ()
24701 return f != $ac_func;
24703 return 0;
24705 _ACEOF
24706 rm -f conftest.$ac_objext conftest$ac_exeext
24707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24708 (eval $ac_link) 2>conftest.er1
24709 ac_status=$?
24710 grep -v '^ *+' conftest.er1 >conftest.err
24711 rm -f conftest.er1
24712 cat conftest.err >&5
24713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24714 (exit $ac_status); } &&
24715 { ac_try='test -z "$ac_c_werror_flag"
24716 || test ! -s conftest.err'
24717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24718 (eval $ac_try) 2>&5
24719 ac_status=$?
24720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24721 (exit $ac_status); }; } &&
24722 { ac_try='test -s conftest$ac_exeext'
24723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24724 (eval $ac_try) 2>&5
24725 ac_status=$?
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); }; }; then
24728 eval "$as_ac_var=yes"
24729 else
24730 echo "$as_me: failed program was:" >&5
24731 sed 's/^/| /' conftest.$ac_ext >&5
24733 eval "$as_ac_var=no"
24735 rm -f conftest.err conftest.$ac_objext \
24736 conftest$ac_exeext conftest.$ac_ext
24738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24740 if test `eval echo '${'$as_ac_var'}'` = yes; then
24741 cat >>confdefs.h <<_ACEOF
24742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24743 _ACEOF
24746 done
24748 else
24750 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24751 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24752 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24753 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24754 echo $ECHO_N "(cached) $ECHO_C" >&6
24755 else
24759 ac_ext=cc
24760 ac_cpp='$CXXCPP $CPPFLAGS'
24761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24765 cat >conftest.$ac_ext <<_ACEOF
24766 /* confdefs.h. */
24767 _ACEOF
24768 cat confdefs.h >>conftest.$ac_ext
24769 cat >>conftest.$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24771 #include <math.h>
24772 #ifdef HAVE_IEEEFP_H
24773 #include <ieeefp.h>
24774 #endif
24777 main ()
24779 _sqrtl(0);
24781 return 0;
24783 _ACEOF
24784 rm -f conftest.$ac_objext
24785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24786 (eval $ac_compile) 2>conftest.er1
24787 ac_status=$?
24788 grep -v '^ *+' conftest.er1 >conftest.err
24789 rm -f conftest.er1
24790 cat conftest.err >&5
24791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24792 (exit $ac_status); } &&
24793 { ac_try='test -z "$ac_cxx_werror_flag"
24794 || test ! -s conftest.err'
24795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24796 (eval $ac_try) 2>&5
24797 ac_status=$?
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); }; } &&
24800 { ac_try='test -s conftest.$ac_objext'
24801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24802 (eval $ac_try) 2>&5
24803 ac_status=$?
24804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24805 (exit $ac_status); }; }; then
24806 glibcxx_cv_func__sqrtl_use=yes
24807 else
24808 echo "$as_me: failed program was:" >&5
24809 sed 's/^/| /' conftest.$ac_ext >&5
24811 glibcxx_cv_func__sqrtl_use=no
24813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24814 ac_ext=c
24815 ac_cpp='$CPP $CPPFLAGS'
24816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24825 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24827 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24829 for ac_func in _sqrtl
24831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24832 echo "$as_me:$LINENO: checking for $ac_func" >&5
24833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24834 if eval "test \"\${$as_ac_var+set}\" = set"; then
24835 echo $ECHO_N "(cached) $ECHO_C" >&6
24836 else
24837 if test x$gcc_no_link = xyes; then
24838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24840 { (exit 1); exit 1; }; }
24842 cat >conftest.$ac_ext <<_ACEOF
24843 /* confdefs.h. */
24844 _ACEOF
24845 cat confdefs.h >>conftest.$ac_ext
24846 cat >>conftest.$ac_ext <<_ACEOF
24847 /* end confdefs.h. */
24848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24850 #define $ac_func innocuous_$ac_func
24852 /* System header to define __stub macros and hopefully few prototypes,
24853 which can conflict with char $ac_func (); below.
24854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24855 <limits.h> exists even on freestanding compilers. */
24857 #ifdef __STDC__
24858 # include <limits.h>
24859 #else
24860 # include <assert.h>
24861 #endif
24863 #undef $ac_func
24865 /* Override any gcc2 internal prototype to avoid an error. */
24866 #ifdef __cplusplus
24867 extern "C"
24869 #endif
24870 /* We use char because int might match the return type of a gcc2
24871 builtin and then its argument prototype would still apply. */
24872 char $ac_func ();
24873 /* The GNU C library defines this for functions which it implements
24874 to always fail with ENOSYS. Some functions are actually named
24875 something starting with __ and the normal name is an alias. */
24876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24877 choke me
24878 #else
24879 char (*f) () = $ac_func;
24880 #endif
24881 #ifdef __cplusplus
24883 #endif
24886 main ()
24888 return f != $ac_func;
24890 return 0;
24892 _ACEOF
24893 rm -f conftest.$ac_objext conftest$ac_exeext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24895 (eval $ac_link) 2>conftest.er1
24896 ac_status=$?
24897 grep -v '^ *+' conftest.er1 >conftest.err
24898 rm -f conftest.er1
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try='test -z "$ac_c_werror_flag"
24903 || test ! -s conftest.err'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try='test -s conftest$ac_exeext'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24912 ac_status=$?
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915 eval "$as_ac_var=yes"
24916 else
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.$ac_ext >&5
24920 eval "$as_ac_var=no"
24922 rm -f conftest.err conftest.$ac_objext \
24923 conftest$ac_exeext conftest.$ac_ext
24925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24927 if test `eval echo '${'$as_ac_var'}'` = yes; then
24928 cat >>confdefs.h <<_ACEOF
24929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24930 _ACEOF
24933 done
24943 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24944 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24945 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24946 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24947 echo $ECHO_N "(cached) $ECHO_C" >&6
24948 else
24952 ac_ext=cc
24953 ac_cpp='$CXXCPP $CPPFLAGS'
24954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24958 cat >conftest.$ac_ext <<_ACEOF
24959 /* confdefs.h. */
24960 _ACEOF
24961 cat confdefs.h >>conftest.$ac_ext
24962 cat >>conftest.$ac_ext <<_ACEOF
24963 /* end confdefs.h. */
24964 #include <math.h>
24966 main ()
24968 sincosl(0, 0, 0);
24970 return 0;
24972 _ACEOF
24973 rm -f conftest.$ac_objext
24974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24975 (eval $ac_compile) 2>conftest.er1
24976 ac_status=$?
24977 grep -v '^ *+' conftest.er1 >conftest.err
24978 rm -f conftest.er1
24979 cat conftest.err >&5
24980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24981 (exit $ac_status); } &&
24982 { ac_try='test -z "$ac_cxx_werror_flag"
24983 || test ! -s conftest.err'
24984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24985 (eval $ac_try) 2>&5
24986 ac_status=$?
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); }; } &&
24989 { ac_try='test -s conftest.$ac_objext'
24990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24991 (eval $ac_try) 2>&5
24992 ac_status=$?
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); }; }; then
24995 glibcxx_cv_func_sincosl_use=yes
24996 else
24997 echo "$as_me: failed program was:" >&5
24998 sed 's/^/| /' conftest.$ac_ext >&5
25000 glibcxx_cv_func_sincosl_use=no
25002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25003 ac_ext=c
25004 ac_cpp='$CPP $CPPFLAGS'
25005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25013 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25014 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25016 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25018 for ac_func in sincosl
25020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25021 echo "$as_me:$LINENO: checking for $ac_func" >&5
25022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25023 if eval "test \"\${$as_ac_var+set}\" = set"; then
25024 echo $ECHO_N "(cached) $ECHO_C" >&6
25025 else
25026 if test x$gcc_no_link = xyes; then
25027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25029 { (exit 1); exit 1; }; }
25031 cat >conftest.$ac_ext <<_ACEOF
25032 /* confdefs.h. */
25033 _ACEOF
25034 cat confdefs.h >>conftest.$ac_ext
25035 cat >>conftest.$ac_ext <<_ACEOF
25036 /* end confdefs.h. */
25037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25039 #define $ac_func innocuous_$ac_func
25041 /* System header to define __stub macros and hopefully few prototypes,
25042 which can conflict with char $ac_func (); below.
25043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25044 <limits.h> exists even on freestanding compilers. */
25046 #ifdef __STDC__
25047 # include <limits.h>
25048 #else
25049 # include <assert.h>
25050 #endif
25052 #undef $ac_func
25054 /* Override any gcc2 internal prototype to avoid an error. */
25055 #ifdef __cplusplus
25056 extern "C"
25058 #endif
25059 /* We use char because int might match the return type of a gcc2
25060 builtin and then its argument prototype would still apply. */
25061 char $ac_func ();
25062 /* The GNU C library defines this for functions which it implements
25063 to always fail with ENOSYS. Some functions are actually named
25064 something starting with __ and the normal name is an alias. */
25065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25066 choke me
25067 #else
25068 char (*f) () = $ac_func;
25069 #endif
25070 #ifdef __cplusplus
25072 #endif
25075 main ()
25077 return f != $ac_func;
25079 return 0;
25081 _ACEOF
25082 rm -f conftest.$ac_objext conftest$ac_exeext
25083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25084 (eval $ac_link) 2>conftest.er1
25085 ac_status=$?
25086 grep -v '^ *+' conftest.er1 >conftest.err
25087 rm -f conftest.er1
25088 cat conftest.err >&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); } &&
25091 { ac_try='test -z "$ac_c_werror_flag"
25092 || test ! -s conftest.err'
25093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25094 (eval $ac_try) 2>&5
25095 ac_status=$?
25096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097 (exit $ac_status); }; } &&
25098 { ac_try='test -s conftest$ac_exeext'
25099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25100 (eval $ac_try) 2>&5
25101 ac_status=$?
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); }; }; then
25104 eval "$as_ac_var=yes"
25105 else
25106 echo "$as_me: failed program was:" >&5
25107 sed 's/^/| /' conftest.$ac_ext >&5
25109 eval "$as_ac_var=no"
25111 rm -f conftest.err conftest.$ac_objext \
25112 conftest$ac_exeext conftest.$ac_ext
25114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25116 if test `eval echo '${'$as_ac_var'}'` = yes; then
25117 cat >>confdefs.h <<_ACEOF
25118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25119 _ACEOF
25122 done
25124 else
25126 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25127 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25128 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25129 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25130 echo $ECHO_N "(cached) $ECHO_C" >&6
25131 else
25135 ac_ext=cc
25136 ac_cpp='$CXXCPP $CPPFLAGS'
25137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25141 cat >conftest.$ac_ext <<_ACEOF
25142 /* confdefs.h. */
25143 _ACEOF
25144 cat confdefs.h >>conftest.$ac_ext
25145 cat >>conftest.$ac_ext <<_ACEOF
25146 /* end confdefs.h. */
25147 #include <math.h>
25149 main ()
25151 _sincosl(0, 0, 0);
25153 return 0;
25155 _ACEOF
25156 rm -f conftest.$ac_objext
25157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25158 (eval $ac_compile) 2>conftest.er1
25159 ac_status=$?
25160 grep -v '^ *+' conftest.er1 >conftest.err
25161 rm -f conftest.er1
25162 cat conftest.err >&5
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); } &&
25165 { ac_try='test -z "$ac_cxx_werror_flag"
25166 || test ! -s conftest.err'
25167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25168 (eval $ac_try) 2>&5
25169 ac_status=$?
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); }; } &&
25172 { ac_try='test -s conftest.$ac_objext'
25173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25174 (eval $ac_try) 2>&5
25175 ac_status=$?
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); }; }; then
25178 glibcxx_cv_func__sincosl_use=yes
25179 else
25180 echo "$as_me: failed program was:" >&5
25181 sed 's/^/| /' conftest.$ac_ext >&5
25183 glibcxx_cv_func__sincosl_use=no
25185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25186 ac_ext=c
25187 ac_cpp='$CPP $CPPFLAGS'
25188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25196 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25197 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25199 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25201 for ac_func in _sincosl
25203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25204 echo "$as_me:$LINENO: checking for $ac_func" >&5
25205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25206 if eval "test \"\${$as_ac_var+set}\" = set"; then
25207 echo $ECHO_N "(cached) $ECHO_C" >&6
25208 else
25209 if test x$gcc_no_link = xyes; then
25210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25212 { (exit 1); exit 1; }; }
25214 cat >conftest.$ac_ext <<_ACEOF
25215 /* confdefs.h. */
25216 _ACEOF
25217 cat confdefs.h >>conftest.$ac_ext
25218 cat >>conftest.$ac_ext <<_ACEOF
25219 /* end confdefs.h. */
25220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25222 #define $ac_func innocuous_$ac_func
25224 /* System header to define __stub macros and hopefully few prototypes,
25225 which can conflict with char $ac_func (); below.
25226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25227 <limits.h> exists even on freestanding compilers. */
25229 #ifdef __STDC__
25230 # include <limits.h>
25231 #else
25232 # include <assert.h>
25233 #endif
25235 #undef $ac_func
25237 /* Override any gcc2 internal prototype to avoid an error. */
25238 #ifdef __cplusplus
25239 extern "C"
25241 #endif
25242 /* We use char because int might match the return type of a gcc2
25243 builtin and then its argument prototype would still apply. */
25244 char $ac_func ();
25245 /* The GNU C library defines this for functions which it implements
25246 to always fail with ENOSYS. Some functions are actually named
25247 something starting with __ and the normal name is an alias. */
25248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25249 choke me
25250 #else
25251 char (*f) () = $ac_func;
25252 #endif
25253 #ifdef __cplusplus
25255 #endif
25258 main ()
25260 return f != $ac_func;
25262 return 0;
25264 _ACEOF
25265 rm -f conftest.$ac_objext conftest$ac_exeext
25266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25267 (eval $ac_link) 2>conftest.er1
25268 ac_status=$?
25269 grep -v '^ *+' conftest.er1 >conftest.err
25270 rm -f conftest.er1
25271 cat conftest.err >&5
25272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25273 (exit $ac_status); } &&
25274 { ac_try='test -z "$ac_c_werror_flag"
25275 || test ! -s conftest.err'
25276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25277 (eval $ac_try) 2>&5
25278 ac_status=$?
25279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280 (exit $ac_status); }; } &&
25281 { ac_try='test -s conftest$ac_exeext'
25282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25283 (eval $ac_try) 2>&5
25284 ac_status=$?
25285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286 (exit $ac_status); }; }; then
25287 eval "$as_ac_var=yes"
25288 else
25289 echo "$as_me: failed program was:" >&5
25290 sed 's/^/| /' conftest.$ac_ext >&5
25292 eval "$as_ac_var=no"
25294 rm -f conftest.err conftest.$ac_objext \
25295 conftest$ac_exeext conftest.$ac_ext
25297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25299 if test `eval echo '${'$as_ac_var'}'` = yes; then
25300 cat >>confdefs.h <<_ACEOF
25301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25302 _ACEOF
25305 done
25315 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25316 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25317 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25318 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25319 echo $ECHO_N "(cached) $ECHO_C" >&6
25320 else
25324 ac_ext=cc
25325 ac_cpp='$CXXCPP $CPPFLAGS'
25326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25330 cat >conftest.$ac_ext <<_ACEOF
25331 /* confdefs.h. */
25332 _ACEOF
25333 cat confdefs.h >>conftest.$ac_ext
25334 cat >>conftest.$ac_ext <<_ACEOF
25335 /* end confdefs.h. */
25336 #include <math.h>
25337 #ifdef HAVE_IEEEFP_H
25338 #include <ieeefp.h>
25339 #endif
25342 main ()
25344 finitel(0);
25346 return 0;
25348 _ACEOF
25349 rm -f conftest.$ac_objext
25350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25351 (eval $ac_compile) 2>conftest.er1
25352 ac_status=$?
25353 grep -v '^ *+' conftest.er1 >conftest.err
25354 rm -f conftest.er1
25355 cat conftest.err >&5
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); } &&
25358 { ac_try='test -z "$ac_cxx_werror_flag"
25359 || test ! -s conftest.err'
25360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25361 (eval $ac_try) 2>&5
25362 ac_status=$?
25363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25364 (exit $ac_status); }; } &&
25365 { ac_try='test -s conftest.$ac_objext'
25366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25367 (eval $ac_try) 2>&5
25368 ac_status=$?
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); }; }; then
25371 glibcxx_cv_func_finitel_use=yes
25372 else
25373 echo "$as_me: failed program was:" >&5
25374 sed 's/^/| /' conftest.$ac_ext >&5
25376 glibcxx_cv_func_finitel_use=no
25378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25379 ac_ext=c
25380 ac_cpp='$CPP $CPPFLAGS'
25381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25389 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25390 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25392 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25394 for ac_func in finitel
25396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25397 echo "$as_me:$LINENO: checking for $ac_func" >&5
25398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25399 if eval "test \"\${$as_ac_var+set}\" = set"; then
25400 echo $ECHO_N "(cached) $ECHO_C" >&6
25401 else
25402 if test x$gcc_no_link = xyes; then
25403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25405 { (exit 1); exit 1; }; }
25407 cat >conftest.$ac_ext <<_ACEOF
25408 /* confdefs.h. */
25409 _ACEOF
25410 cat confdefs.h >>conftest.$ac_ext
25411 cat >>conftest.$ac_ext <<_ACEOF
25412 /* end confdefs.h. */
25413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25415 #define $ac_func innocuous_$ac_func
25417 /* System header to define __stub macros and hopefully few prototypes,
25418 which can conflict with char $ac_func (); below.
25419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25420 <limits.h> exists even on freestanding compilers. */
25422 #ifdef __STDC__
25423 # include <limits.h>
25424 #else
25425 # include <assert.h>
25426 #endif
25428 #undef $ac_func
25430 /* Override any gcc2 internal prototype to avoid an error. */
25431 #ifdef __cplusplus
25432 extern "C"
25434 #endif
25435 /* We use char because int might match the return type of a gcc2
25436 builtin and then its argument prototype would still apply. */
25437 char $ac_func ();
25438 /* The GNU C library defines this for functions which it implements
25439 to always fail with ENOSYS. Some functions are actually named
25440 something starting with __ and the normal name is an alias. */
25441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25442 choke me
25443 #else
25444 char (*f) () = $ac_func;
25445 #endif
25446 #ifdef __cplusplus
25448 #endif
25451 main ()
25453 return f != $ac_func;
25455 return 0;
25457 _ACEOF
25458 rm -f conftest.$ac_objext conftest$ac_exeext
25459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25460 (eval $ac_link) 2>conftest.er1
25461 ac_status=$?
25462 grep -v '^ *+' conftest.er1 >conftest.err
25463 rm -f conftest.er1
25464 cat conftest.err >&5
25465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25466 (exit $ac_status); } &&
25467 { ac_try='test -z "$ac_c_werror_flag"
25468 || test ! -s conftest.err'
25469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25470 (eval $ac_try) 2>&5
25471 ac_status=$?
25472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473 (exit $ac_status); }; } &&
25474 { ac_try='test -s conftest$ac_exeext'
25475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25476 (eval $ac_try) 2>&5
25477 ac_status=$?
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); }; }; then
25480 eval "$as_ac_var=yes"
25481 else
25482 echo "$as_me: failed program was:" >&5
25483 sed 's/^/| /' conftest.$ac_ext >&5
25485 eval "$as_ac_var=no"
25487 rm -f conftest.err conftest.$ac_objext \
25488 conftest$ac_exeext conftest.$ac_ext
25490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25492 if test `eval echo '${'$as_ac_var'}'` = yes; then
25493 cat >>confdefs.h <<_ACEOF
25494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25495 _ACEOF
25498 done
25500 else
25502 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25503 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25504 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25505 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25506 echo $ECHO_N "(cached) $ECHO_C" >&6
25507 else
25511 ac_ext=cc
25512 ac_cpp='$CXXCPP $CPPFLAGS'
25513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25517 cat >conftest.$ac_ext <<_ACEOF
25518 /* confdefs.h. */
25519 _ACEOF
25520 cat confdefs.h >>conftest.$ac_ext
25521 cat >>conftest.$ac_ext <<_ACEOF
25522 /* end confdefs.h. */
25523 #include <math.h>
25524 #ifdef HAVE_IEEEFP_H
25525 #include <ieeefp.h>
25526 #endif
25529 main ()
25531 _finitel(0);
25533 return 0;
25535 _ACEOF
25536 rm -f conftest.$ac_objext
25537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25538 (eval $ac_compile) 2>conftest.er1
25539 ac_status=$?
25540 grep -v '^ *+' conftest.er1 >conftest.err
25541 rm -f conftest.er1
25542 cat conftest.err >&5
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); } &&
25545 { ac_try='test -z "$ac_cxx_werror_flag"
25546 || test ! -s conftest.err'
25547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25548 (eval $ac_try) 2>&5
25549 ac_status=$?
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); }; } &&
25552 { ac_try='test -s conftest.$ac_objext'
25553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25554 (eval $ac_try) 2>&5
25555 ac_status=$?
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); }; }; then
25558 glibcxx_cv_func__finitel_use=yes
25559 else
25560 echo "$as_me: failed program was:" >&5
25561 sed 's/^/| /' conftest.$ac_ext >&5
25563 glibcxx_cv_func__finitel_use=no
25565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25566 ac_ext=c
25567 ac_cpp='$CPP $CPPFLAGS'
25568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25576 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25577 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25579 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25581 for ac_func in _finitel
25583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25584 echo "$as_me:$LINENO: checking for $ac_func" >&5
25585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25586 if eval "test \"\${$as_ac_var+set}\" = set"; then
25587 echo $ECHO_N "(cached) $ECHO_C" >&6
25588 else
25589 if test x$gcc_no_link = xyes; then
25590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25592 { (exit 1); exit 1; }; }
25594 cat >conftest.$ac_ext <<_ACEOF
25595 /* confdefs.h. */
25596 _ACEOF
25597 cat confdefs.h >>conftest.$ac_ext
25598 cat >>conftest.$ac_ext <<_ACEOF
25599 /* end confdefs.h. */
25600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25602 #define $ac_func innocuous_$ac_func
25604 /* System header to define __stub macros and hopefully few prototypes,
25605 which can conflict with char $ac_func (); below.
25606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25607 <limits.h> exists even on freestanding compilers. */
25609 #ifdef __STDC__
25610 # include <limits.h>
25611 #else
25612 # include <assert.h>
25613 #endif
25615 #undef $ac_func
25617 /* Override any gcc2 internal prototype to avoid an error. */
25618 #ifdef __cplusplus
25619 extern "C"
25621 #endif
25622 /* We use char because int might match the return type of a gcc2
25623 builtin and then its argument prototype would still apply. */
25624 char $ac_func ();
25625 /* The GNU C library defines this for functions which it implements
25626 to always fail with ENOSYS. Some functions are actually named
25627 something starting with __ and the normal name is an alias. */
25628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25629 choke me
25630 #else
25631 char (*f) () = $ac_func;
25632 #endif
25633 #ifdef __cplusplus
25635 #endif
25638 main ()
25640 return f != $ac_func;
25642 return 0;
25644 _ACEOF
25645 rm -f conftest.$ac_objext conftest$ac_exeext
25646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25647 (eval $ac_link) 2>conftest.er1
25648 ac_status=$?
25649 grep -v '^ *+' conftest.er1 >conftest.err
25650 rm -f conftest.er1
25651 cat conftest.err >&5
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); } &&
25654 { ac_try='test -z "$ac_c_werror_flag"
25655 || test ! -s conftest.err'
25656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25657 (eval $ac_try) 2>&5
25658 ac_status=$?
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); }; } &&
25661 { ac_try='test -s conftest$ac_exeext'
25662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25663 (eval $ac_try) 2>&5
25664 ac_status=$?
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); }; }; then
25667 eval "$as_ac_var=yes"
25668 else
25669 echo "$as_me: failed program was:" >&5
25670 sed 's/^/| /' conftest.$ac_ext >&5
25672 eval "$as_ac_var=no"
25674 rm -f conftest.err conftest.$ac_objext \
25675 conftest$ac_exeext conftest.$ac_ext
25677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25679 if test `eval echo '${'$as_ac_var'}'` = yes; then
25680 cat >>confdefs.h <<_ACEOF
25681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25682 _ACEOF
25685 done
25694 LIBS="$ac_save_LIBS"
25695 CXXFLAGS="$ac_save_CXXFLAGS"
25699 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25700 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25701 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25702 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25704 else
25708 ac_ext=cc
25709 ac_cpp='$CXXCPP $CPPFLAGS'
25710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25714 cat >conftest.$ac_ext <<_ACEOF
25715 /* confdefs.h. */
25716 _ACEOF
25717 cat confdefs.h >>conftest.$ac_ext
25718 cat >>conftest.$ac_ext <<_ACEOF
25719 /* end confdefs.h. */
25720 #include <math.h>
25722 main ()
25724 __builtin_abs(0);
25726 return 0;
25728 _ACEOF
25729 rm -f conftest.$ac_objext
25730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25731 (eval $ac_compile) 2>conftest.er1
25732 ac_status=$?
25733 grep -v '^ *+' conftest.er1 >conftest.err
25734 rm -f conftest.er1
25735 cat conftest.err >&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); } &&
25738 { ac_try='test -z "$ac_cxx_werror_flag"
25739 || test ! -s conftest.err'
25740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25741 (eval $ac_try) 2>&5
25742 ac_status=$?
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); }; } &&
25745 { ac_try='test -s conftest.$ac_objext'
25746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25747 (eval $ac_try) 2>&5
25748 ac_status=$?
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); }; }; then
25751 glibcxx_cv_func___builtin_abs_use=yes
25752 else
25753 echo "$as_me: failed program was:" >&5
25754 sed 's/^/| /' conftest.$ac_ext >&5
25756 glibcxx_cv_func___builtin_abs_use=no
25758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25759 ac_ext=c
25760 ac_cpp='$CPP $CPPFLAGS'
25761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25769 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25770 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25771 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25772 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25773 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25774 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25775 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25777 else
25779 if test x$gcc_no_link = xyes; then
25780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25782 { (exit 1); exit 1; }; }
25784 cat >conftest.$ac_ext <<_ACEOF
25785 /* confdefs.h. */
25786 _ACEOF
25787 cat confdefs.h >>conftest.$ac_ext
25788 cat >>conftest.$ac_ext <<_ACEOF
25789 /* end confdefs.h. */
25790 #include <math.h>
25792 main ()
25794 __builtin_abs(0);
25796 return 0;
25798 _ACEOF
25799 rm -f conftest.$ac_objext conftest$ac_exeext
25800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25801 (eval $ac_link) 2>conftest.er1
25802 ac_status=$?
25803 grep -v '^ *+' conftest.er1 >conftest.err
25804 rm -f conftest.er1
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); } &&
25808 { ac_try='test -z "$ac_c_werror_flag"
25809 || test ! -s conftest.err'
25810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25811 (eval $ac_try) 2>&5
25812 ac_status=$?
25813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25814 (exit $ac_status); }; } &&
25815 { ac_try='test -s conftest$ac_exeext'
25816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25817 (eval $ac_try) 2>&5
25818 ac_status=$?
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); }; }; then
25821 glibcxx_cv_func___builtin_abs_link=yes
25822 else
25823 echo "$as_me: failed program was:" >&5
25824 sed 's/^/| /' conftest.$ac_ext >&5
25826 glibcxx_cv_func___builtin_abs_link=no
25828 rm -f conftest.err conftest.$ac_objext \
25829 conftest$ac_exeext conftest.$ac_ext
25834 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25835 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25837 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25839 cat >>confdefs.h <<\_ACEOF
25840 #define HAVE___BUILTIN_ABS 1
25841 _ACEOF
25848 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25849 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25850 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25851 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25852 echo $ECHO_N "(cached) $ECHO_C" >&6
25853 else
25857 ac_ext=cc
25858 ac_cpp='$CXXCPP $CPPFLAGS'
25859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25863 cat >conftest.$ac_ext <<_ACEOF
25864 /* confdefs.h. */
25865 _ACEOF
25866 cat confdefs.h >>conftest.$ac_ext
25867 cat >>conftest.$ac_ext <<_ACEOF
25868 /* end confdefs.h. */
25869 #include <math.h>
25871 main ()
25873 __builtin_fabsf(0);
25875 return 0;
25877 _ACEOF
25878 rm -f conftest.$ac_objext
25879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25880 (eval $ac_compile) 2>conftest.er1
25881 ac_status=$?
25882 grep -v '^ *+' conftest.er1 >conftest.err
25883 rm -f conftest.er1
25884 cat conftest.err >&5
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); } &&
25887 { ac_try='test -z "$ac_cxx_werror_flag"
25888 || test ! -s conftest.err'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25891 ac_status=$?
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; } &&
25894 { ac_try='test -s conftest.$ac_objext'
25895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896 (eval $ac_try) 2>&5
25897 ac_status=$?
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); }; }; then
25900 glibcxx_cv_func___builtin_fabsf_use=yes
25901 else
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.$ac_ext >&5
25905 glibcxx_cv_func___builtin_fabsf_use=no
25907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25908 ac_ext=c
25909 ac_cpp='$CPP $CPPFLAGS'
25910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25918 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25919 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25920 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25921 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25922 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25923 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25924 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25925 echo $ECHO_N "(cached) $ECHO_C" >&6
25926 else
25928 if test x$gcc_no_link = xyes; then
25929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25931 { (exit 1); exit 1; }; }
25933 cat >conftest.$ac_ext <<_ACEOF
25934 /* confdefs.h. */
25935 _ACEOF
25936 cat confdefs.h >>conftest.$ac_ext
25937 cat >>conftest.$ac_ext <<_ACEOF
25938 /* end confdefs.h. */
25939 #include <math.h>
25941 main ()
25943 __builtin_fabsf(0);
25945 return 0;
25947 _ACEOF
25948 rm -f conftest.$ac_objext conftest$ac_exeext
25949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25950 (eval $ac_link) 2>conftest.er1
25951 ac_status=$?
25952 grep -v '^ *+' conftest.er1 >conftest.err
25953 rm -f conftest.er1
25954 cat conftest.err >&5
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); } &&
25957 { ac_try='test -z "$ac_c_werror_flag"
25958 || test ! -s conftest.err'
25959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960 (eval $ac_try) 2>&5
25961 ac_status=$?
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); }; } &&
25964 { ac_try='test -s conftest$ac_exeext'
25965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25966 (eval $ac_try) 2>&5
25967 ac_status=$?
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); }; }; then
25970 glibcxx_cv_func___builtin_fabsf_link=yes
25971 else
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.$ac_ext >&5
25975 glibcxx_cv_func___builtin_fabsf_link=no
25977 rm -f conftest.err conftest.$ac_objext \
25978 conftest$ac_exeext conftest.$ac_ext
25983 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25984 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25986 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25988 cat >>confdefs.h <<\_ACEOF
25989 #define HAVE___BUILTIN_FABSF 1
25990 _ACEOF
25997 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25998 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25999 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26000 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26001 echo $ECHO_N "(cached) $ECHO_C" >&6
26002 else
26006 ac_ext=cc
26007 ac_cpp='$CXXCPP $CPPFLAGS'
26008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26012 cat >conftest.$ac_ext <<_ACEOF
26013 /* confdefs.h. */
26014 _ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018 #include <math.h>
26020 main ()
26022 __builtin_fabs(0);
26024 return 0;
26026 _ACEOF
26027 rm -f conftest.$ac_objext
26028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26029 (eval $ac_compile) 2>conftest.er1
26030 ac_status=$?
26031 grep -v '^ *+' conftest.er1 >conftest.err
26032 rm -f conftest.er1
26033 cat conftest.err >&5
26034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26035 (exit $ac_status); } &&
26036 { ac_try='test -z "$ac_cxx_werror_flag"
26037 || test ! -s conftest.err'
26038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26039 (eval $ac_try) 2>&5
26040 ac_status=$?
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); }; } &&
26043 { ac_try='test -s conftest.$ac_objext'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26046 ac_status=$?
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; }; then
26049 glibcxx_cv_func___builtin_fabs_use=yes
26050 else
26051 echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.$ac_ext >&5
26054 glibcxx_cv_func___builtin_fabs_use=no
26056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26057 ac_ext=c
26058 ac_cpp='$CPP $CPPFLAGS'
26059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26067 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26068 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26069 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26070 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26071 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26072 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26073 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26074 echo $ECHO_N "(cached) $ECHO_C" >&6
26075 else
26077 if test x$gcc_no_link = xyes; then
26078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26080 { (exit 1); exit 1; }; }
26082 cat >conftest.$ac_ext <<_ACEOF
26083 /* confdefs.h. */
26084 _ACEOF
26085 cat confdefs.h >>conftest.$ac_ext
26086 cat >>conftest.$ac_ext <<_ACEOF
26087 /* end confdefs.h. */
26088 #include <math.h>
26090 main ()
26092 __builtin_fabs(0);
26094 return 0;
26096 _ACEOF
26097 rm -f conftest.$ac_objext conftest$ac_exeext
26098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26099 (eval $ac_link) 2>conftest.er1
26100 ac_status=$?
26101 grep -v '^ *+' conftest.er1 >conftest.err
26102 rm -f conftest.er1
26103 cat conftest.err >&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); } &&
26106 { ac_try='test -z "$ac_c_werror_flag"
26107 || test ! -s conftest.err'
26108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26109 (eval $ac_try) 2>&5
26110 ac_status=$?
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); }; } &&
26113 { ac_try='test -s conftest$ac_exeext'
26114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26115 (eval $ac_try) 2>&5
26116 ac_status=$?
26117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26118 (exit $ac_status); }; }; then
26119 glibcxx_cv_func___builtin_fabs_link=yes
26120 else
26121 echo "$as_me: failed program was:" >&5
26122 sed 's/^/| /' conftest.$ac_ext >&5
26124 glibcxx_cv_func___builtin_fabs_link=no
26126 rm -f conftest.err conftest.$ac_objext \
26127 conftest$ac_exeext conftest.$ac_ext
26132 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26133 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26135 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26137 cat >>confdefs.h <<\_ACEOF
26138 #define HAVE___BUILTIN_FABS 1
26139 _ACEOF
26146 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26147 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26148 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26149 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26150 echo $ECHO_N "(cached) $ECHO_C" >&6
26151 else
26155 ac_ext=cc
26156 ac_cpp='$CXXCPP $CPPFLAGS'
26157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26161 cat >conftest.$ac_ext <<_ACEOF
26162 /* confdefs.h. */
26163 _ACEOF
26164 cat confdefs.h >>conftest.$ac_ext
26165 cat >>conftest.$ac_ext <<_ACEOF
26166 /* end confdefs.h. */
26167 #include <math.h>
26169 main ()
26171 __builtin_fabsl(0);
26173 return 0;
26175 _ACEOF
26176 rm -f conftest.$ac_objext
26177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26178 (eval $ac_compile) 2>conftest.er1
26179 ac_status=$?
26180 grep -v '^ *+' conftest.er1 >conftest.err
26181 rm -f conftest.er1
26182 cat conftest.err >&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); } &&
26185 { ac_try='test -z "$ac_cxx_werror_flag"
26186 || test ! -s conftest.err'
26187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26188 (eval $ac_try) 2>&5
26189 ac_status=$?
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); }; } &&
26192 { ac_try='test -s conftest.$ac_objext'
26193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26194 (eval $ac_try) 2>&5
26195 ac_status=$?
26196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197 (exit $ac_status); }; }; then
26198 glibcxx_cv_func___builtin_fabsl_use=yes
26199 else
26200 echo "$as_me: failed program was:" >&5
26201 sed 's/^/| /' conftest.$ac_ext >&5
26203 glibcxx_cv_func___builtin_fabsl_use=no
26205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26206 ac_ext=c
26207 ac_cpp='$CPP $CPPFLAGS'
26208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26216 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26217 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26218 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26219 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26220 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26221 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26222 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26223 echo $ECHO_N "(cached) $ECHO_C" >&6
26224 else
26226 if test x$gcc_no_link = xyes; then
26227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26229 { (exit 1); exit 1; }; }
26231 cat >conftest.$ac_ext <<_ACEOF
26232 /* confdefs.h. */
26233 _ACEOF
26234 cat confdefs.h >>conftest.$ac_ext
26235 cat >>conftest.$ac_ext <<_ACEOF
26236 /* end confdefs.h. */
26237 #include <math.h>
26239 main ()
26241 __builtin_fabsl(0);
26243 return 0;
26245 _ACEOF
26246 rm -f conftest.$ac_objext conftest$ac_exeext
26247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26248 (eval $ac_link) 2>conftest.er1
26249 ac_status=$?
26250 grep -v '^ *+' conftest.er1 >conftest.err
26251 rm -f conftest.er1
26252 cat conftest.err >&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); } &&
26255 { ac_try='test -z "$ac_c_werror_flag"
26256 || test ! -s conftest.err'
26257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26258 (eval $ac_try) 2>&5
26259 ac_status=$?
26260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26261 (exit $ac_status); }; } &&
26262 { ac_try='test -s conftest$ac_exeext'
26263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26264 (eval $ac_try) 2>&5
26265 ac_status=$?
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); }; }; then
26268 glibcxx_cv_func___builtin_fabsl_link=yes
26269 else
26270 echo "$as_me: failed program was:" >&5
26271 sed 's/^/| /' conftest.$ac_ext >&5
26273 glibcxx_cv_func___builtin_fabsl_link=no
26275 rm -f conftest.err conftest.$ac_objext \
26276 conftest$ac_exeext conftest.$ac_ext
26281 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26282 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26284 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26286 cat >>confdefs.h <<\_ACEOF
26287 #define HAVE___BUILTIN_FABSL 1
26288 _ACEOF
26295 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26296 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26297 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26298 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26300 else
26304 ac_ext=cc
26305 ac_cpp='$CXXCPP $CPPFLAGS'
26306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26310 cat >conftest.$ac_ext <<_ACEOF
26311 /* confdefs.h. */
26312 _ACEOF
26313 cat confdefs.h >>conftest.$ac_ext
26314 cat >>conftest.$ac_ext <<_ACEOF
26315 /* end confdefs.h. */
26316 #include <math.h>
26318 main ()
26320 __builtin_labs(0);
26322 return 0;
26324 _ACEOF
26325 rm -f conftest.$ac_objext
26326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26327 (eval $ac_compile) 2>conftest.er1
26328 ac_status=$?
26329 grep -v '^ *+' conftest.er1 >conftest.err
26330 rm -f conftest.er1
26331 cat conftest.err >&5
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); } &&
26334 { ac_try='test -z "$ac_cxx_werror_flag"
26335 || test ! -s conftest.err'
26336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26337 (eval $ac_try) 2>&5
26338 ac_status=$?
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); }; } &&
26341 { ac_try='test -s conftest.$ac_objext'
26342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26343 (eval $ac_try) 2>&5
26344 ac_status=$?
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); }; }; then
26347 glibcxx_cv_func___builtin_labs_use=yes
26348 else
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.$ac_ext >&5
26352 glibcxx_cv_func___builtin_labs_use=no
26354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26355 ac_ext=c
26356 ac_cpp='$CPP $CPPFLAGS'
26357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26365 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26366 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26367 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26368 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26369 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26370 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26371 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26372 echo $ECHO_N "(cached) $ECHO_C" >&6
26373 else
26375 if test x$gcc_no_link = xyes; then
26376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26378 { (exit 1); exit 1; }; }
26380 cat >conftest.$ac_ext <<_ACEOF
26381 /* confdefs.h. */
26382 _ACEOF
26383 cat confdefs.h >>conftest.$ac_ext
26384 cat >>conftest.$ac_ext <<_ACEOF
26385 /* end confdefs.h. */
26386 #include <math.h>
26388 main ()
26390 __builtin_labs(0);
26392 return 0;
26394 _ACEOF
26395 rm -f conftest.$ac_objext conftest$ac_exeext
26396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26397 (eval $ac_link) 2>conftest.er1
26398 ac_status=$?
26399 grep -v '^ *+' conftest.er1 >conftest.err
26400 rm -f conftest.er1
26401 cat conftest.err >&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } &&
26404 { ac_try='test -z "$ac_c_werror_flag"
26405 || test ! -s conftest.err'
26406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26407 (eval $ac_try) 2>&5
26408 ac_status=$?
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); }; } &&
26411 { ac_try='test -s conftest$ac_exeext'
26412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26413 (eval $ac_try) 2>&5
26414 ac_status=$?
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); }; }; then
26417 glibcxx_cv_func___builtin_labs_link=yes
26418 else
26419 echo "$as_me: failed program was:" >&5
26420 sed 's/^/| /' conftest.$ac_ext >&5
26422 glibcxx_cv_func___builtin_labs_link=no
26424 rm -f conftest.err conftest.$ac_objext \
26425 conftest$ac_exeext conftest.$ac_ext
26430 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26431 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26433 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26435 cat >>confdefs.h <<\_ACEOF
26436 #define HAVE___BUILTIN_LABS 1
26437 _ACEOF
26445 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26446 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26447 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26448 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26449 echo $ECHO_N "(cached) $ECHO_C" >&6
26450 else
26454 ac_ext=cc
26455 ac_cpp='$CXXCPP $CPPFLAGS'
26456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26460 cat >conftest.$ac_ext <<_ACEOF
26461 /* confdefs.h. */
26462 _ACEOF
26463 cat confdefs.h >>conftest.$ac_ext
26464 cat >>conftest.$ac_ext <<_ACEOF
26465 /* end confdefs.h. */
26466 #include <math.h>
26468 main ()
26470 __builtin_sqrtf(0);
26472 return 0;
26474 _ACEOF
26475 rm -f conftest.$ac_objext
26476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26477 (eval $ac_compile) 2>conftest.er1
26478 ac_status=$?
26479 grep -v '^ *+' conftest.er1 >conftest.err
26480 rm -f conftest.er1
26481 cat conftest.err >&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); } &&
26484 { ac_try='test -z "$ac_cxx_werror_flag"
26485 || test ! -s conftest.err'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26488 ac_status=$?
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; } &&
26491 { ac_try='test -s conftest.$ac_objext'
26492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493 (eval $ac_try) 2>&5
26494 ac_status=$?
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); }; }; then
26497 glibcxx_cv_func___builtin_sqrtf_use=yes
26498 else
26499 echo "$as_me: failed program was:" >&5
26500 sed 's/^/| /' conftest.$ac_ext >&5
26502 glibcxx_cv_func___builtin_sqrtf_use=no
26504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26505 ac_ext=c
26506 ac_cpp='$CPP $CPPFLAGS'
26507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26515 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26516 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26517 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26518 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26519 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26520 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26521 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26522 echo $ECHO_N "(cached) $ECHO_C" >&6
26523 else
26525 if test x$gcc_no_link = xyes; then
26526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26528 { (exit 1); exit 1; }; }
26530 cat >conftest.$ac_ext <<_ACEOF
26531 /* confdefs.h. */
26532 _ACEOF
26533 cat confdefs.h >>conftest.$ac_ext
26534 cat >>conftest.$ac_ext <<_ACEOF
26535 /* end confdefs.h. */
26536 #include <math.h>
26538 main ()
26540 __builtin_sqrtf(0);
26542 return 0;
26544 _ACEOF
26545 rm -f conftest.$ac_objext conftest$ac_exeext
26546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26547 (eval $ac_link) 2>conftest.er1
26548 ac_status=$?
26549 grep -v '^ *+' conftest.er1 >conftest.err
26550 rm -f conftest.er1
26551 cat conftest.err >&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); } &&
26554 { ac_try='test -z "$ac_c_werror_flag"
26555 || test ! -s conftest.err'
26556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26557 (eval $ac_try) 2>&5
26558 ac_status=$?
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); }; } &&
26561 { ac_try='test -s conftest$ac_exeext'
26562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26563 (eval $ac_try) 2>&5
26564 ac_status=$?
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); }; }; then
26567 glibcxx_cv_func___builtin_sqrtf_link=yes
26568 else
26569 echo "$as_me: failed program was:" >&5
26570 sed 's/^/| /' conftest.$ac_ext >&5
26572 glibcxx_cv_func___builtin_sqrtf_link=no
26574 rm -f conftest.err conftest.$ac_objext \
26575 conftest$ac_exeext conftest.$ac_ext
26580 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26581 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26583 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26585 cat >>confdefs.h <<\_ACEOF
26586 #define HAVE___BUILTIN_SQRTF 1
26587 _ACEOF
26594 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26595 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26596 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26597 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26598 echo $ECHO_N "(cached) $ECHO_C" >&6
26599 else
26603 ac_ext=cc
26604 ac_cpp='$CXXCPP $CPPFLAGS'
26605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26609 cat >conftest.$ac_ext <<_ACEOF
26610 /* confdefs.h. */
26611 _ACEOF
26612 cat confdefs.h >>conftest.$ac_ext
26613 cat >>conftest.$ac_ext <<_ACEOF
26614 /* end confdefs.h. */
26615 #include <math.h>
26617 main ()
26619 __builtin_sqrt(0);
26621 return 0;
26623 _ACEOF
26624 rm -f conftest.$ac_objext
26625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26626 (eval $ac_compile) 2>conftest.er1
26627 ac_status=$?
26628 grep -v '^ *+' conftest.er1 >conftest.err
26629 rm -f conftest.er1
26630 cat conftest.err >&5
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); } &&
26633 { ac_try='test -z "$ac_cxx_werror_flag"
26634 || test ! -s conftest.err'
26635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26636 (eval $ac_try) 2>&5
26637 ac_status=$?
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); }; } &&
26640 { ac_try='test -s conftest.$ac_objext'
26641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26642 (eval $ac_try) 2>&5
26643 ac_status=$?
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); }; }; then
26646 glibcxx_cv_func___builtin_sqrt_use=yes
26647 else
26648 echo "$as_me: failed program was:" >&5
26649 sed 's/^/| /' conftest.$ac_ext >&5
26651 glibcxx_cv_func___builtin_sqrt_use=no
26653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26654 ac_ext=c
26655 ac_cpp='$CPP $CPPFLAGS'
26656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26664 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26665 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26666 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26667 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26668 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26669 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26670 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26671 echo $ECHO_N "(cached) $ECHO_C" >&6
26672 else
26674 if test x$gcc_no_link = xyes; then
26675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26677 { (exit 1); exit 1; }; }
26679 cat >conftest.$ac_ext <<_ACEOF
26680 /* confdefs.h. */
26681 _ACEOF
26682 cat confdefs.h >>conftest.$ac_ext
26683 cat >>conftest.$ac_ext <<_ACEOF
26684 /* end confdefs.h. */
26685 #include <math.h>
26687 main ()
26689 __builtin_sqrt(0);
26691 return 0;
26693 _ACEOF
26694 rm -f conftest.$ac_objext conftest$ac_exeext
26695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26696 (eval $ac_link) 2>conftest.er1
26697 ac_status=$?
26698 grep -v '^ *+' conftest.er1 >conftest.err
26699 rm -f conftest.er1
26700 cat conftest.err >&5
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); } &&
26703 { ac_try='test -z "$ac_c_werror_flag"
26704 || test ! -s conftest.err'
26705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26706 (eval $ac_try) 2>&5
26707 ac_status=$?
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); }; } &&
26710 { ac_try='test -s conftest$ac_exeext'
26711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712 (eval $ac_try) 2>&5
26713 ac_status=$?
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); }; }; then
26716 glibcxx_cv_func___builtin_sqrt_link=yes
26717 else
26718 echo "$as_me: failed program was:" >&5
26719 sed 's/^/| /' conftest.$ac_ext >&5
26721 glibcxx_cv_func___builtin_sqrt_link=no
26723 rm -f conftest.err conftest.$ac_objext \
26724 conftest$ac_exeext conftest.$ac_ext
26729 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26730 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26732 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26734 cat >>confdefs.h <<\_ACEOF
26735 #define HAVE___BUILTIN_SQRT 1
26736 _ACEOF
26743 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26744 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26745 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26746 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26747 echo $ECHO_N "(cached) $ECHO_C" >&6
26748 else
26752 ac_ext=cc
26753 ac_cpp='$CXXCPP $CPPFLAGS'
26754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26758 cat >conftest.$ac_ext <<_ACEOF
26759 /* confdefs.h. */
26760 _ACEOF
26761 cat confdefs.h >>conftest.$ac_ext
26762 cat >>conftest.$ac_ext <<_ACEOF
26763 /* end confdefs.h. */
26764 #include <math.h>
26766 main ()
26768 __builtin_sqrtl(0);
26770 return 0;
26772 _ACEOF
26773 rm -f conftest.$ac_objext
26774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26775 (eval $ac_compile) 2>conftest.er1
26776 ac_status=$?
26777 grep -v '^ *+' conftest.er1 >conftest.err
26778 rm -f conftest.er1
26779 cat conftest.err >&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); } &&
26782 { ac_try='test -z "$ac_cxx_werror_flag"
26783 || test ! -s conftest.err'
26784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26785 (eval $ac_try) 2>&5
26786 ac_status=$?
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); }; } &&
26789 { ac_try='test -s conftest.$ac_objext'
26790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26791 (eval $ac_try) 2>&5
26792 ac_status=$?
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); }; }; then
26795 glibcxx_cv_func___builtin_sqrtl_use=yes
26796 else
26797 echo "$as_me: failed program was:" >&5
26798 sed 's/^/| /' conftest.$ac_ext >&5
26800 glibcxx_cv_func___builtin_sqrtl_use=no
26802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26803 ac_ext=c
26804 ac_cpp='$CPP $CPPFLAGS'
26805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26813 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26814 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26815 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26816 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26817 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26818 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26819 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26820 echo $ECHO_N "(cached) $ECHO_C" >&6
26821 else
26823 if test x$gcc_no_link = xyes; then
26824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26826 { (exit 1); exit 1; }; }
26828 cat >conftest.$ac_ext <<_ACEOF
26829 /* confdefs.h. */
26830 _ACEOF
26831 cat confdefs.h >>conftest.$ac_ext
26832 cat >>conftest.$ac_ext <<_ACEOF
26833 /* end confdefs.h. */
26834 #include <math.h>
26836 main ()
26838 __builtin_sqrtl(0);
26840 return 0;
26842 _ACEOF
26843 rm -f conftest.$ac_objext conftest$ac_exeext
26844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26845 (eval $ac_link) 2>conftest.er1
26846 ac_status=$?
26847 grep -v '^ *+' conftest.er1 >conftest.err
26848 rm -f conftest.er1
26849 cat conftest.err >&5
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); } &&
26852 { ac_try='test -z "$ac_c_werror_flag"
26853 || test ! -s conftest.err'
26854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26855 (eval $ac_try) 2>&5
26856 ac_status=$?
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); }; } &&
26859 { ac_try='test -s conftest$ac_exeext'
26860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26861 (eval $ac_try) 2>&5
26862 ac_status=$?
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); }; }; then
26865 glibcxx_cv_func___builtin_sqrtl_link=yes
26866 else
26867 echo "$as_me: failed program was:" >&5
26868 sed 's/^/| /' conftest.$ac_ext >&5
26870 glibcxx_cv_func___builtin_sqrtl_link=no
26872 rm -f conftest.err conftest.$ac_objext \
26873 conftest$ac_exeext conftest.$ac_ext
26878 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26879 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26881 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26883 cat >>confdefs.h <<\_ACEOF
26884 #define HAVE___BUILTIN_SQRTL 1
26885 _ACEOF
26893 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26894 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26895 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26896 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26897 echo $ECHO_N "(cached) $ECHO_C" >&6
26898 else
26902 ac_ext=cc
26903 ac_cpp='$CXXCPP $CPPFLAGS'
26904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26908 cat >conftest.$ac_ext <<_ACEOF
26909 /* confdefs.h. */
26910 _ACEOF
26911 cat confdefs.h >>conftest.$ac_ext
26912 cat >>conftest.$ac_ext <<_ACEOF
26913 /* end confdefs.h. */
26914 #include <math.h>
26916 main ()
26918 __builtin_sinf(0);
26920 return 0;
26922 _ACEOF
26923 rm -f conftest.$ac_objext
26924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26925 (eval $ac_compile) 2>conftest.er1
26926 ac_status=$?
26927 grep -v '^ *+' conftest.er1 >conftest.err
26928 rm -f conftest.er1
26929 cat conftest.err >&5
26930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931 (exit $ac_status); } &&
26932 { ac_try='test -z "$ac_cxx_werror_flag"
26933 || test ! -s conftest.err'
26934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26935 (eval $ac_try) 2>&5
26936 ac_status=$?
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); }; } &&
26939 { ac_try='test -s conftest.$ac_objext'
26940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26941 (eval $ac_try) 2>&5
26942 ac_status=$?
26943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26944 (exit $ac_status); }; }; then
26945 glibcxx_cv_func___builtin_sinf_use=yes
26946 else
26947 echo "$as_me: failed program was:" >&5
26948 sed 's/^/| /' conftest.$ac_ext >&5
26950 glibcxx_cv_func___builtin_sinf_use=no
26952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26953 ac_ext=c
26954 ac_cpp='$CPP $CPPFLAGS'
26955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26963 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26964 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26965 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26966 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26967 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26968 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26969 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26970 echo $ECHO_N "(cached) $ECHO_C" >&6
26971 else
26973 if test x$gcc_no_link = xyes; then
26974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26976 { (exit 1); exit 1; }; }
26978 cat >conftest.$ac_ext <<_ACEOF
26979 /* confdefs.h. */
26980 _ACEOF
26981 cat confdefs.h >>conftest.$ac_ext
26982 cat >>conftest.$ac_ext <<_ACEOF
26983 /* end confdefs.h. */
26984 #include <math.h>
26986 main ()
26988 __builtin_sinf(0);
26990 return 0;
26992 _ACEOF
26993 rm -f conftest.$ac_objext conftest$ac_exeext
26994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26995 (eval $ac_link) 2>conftest.er1
26996 ac_status=$?
26997 grep -v '^ *+' conftest.er1 >conftest.err
26998 rm -f conftest.er1
26999 cat conftest.err >&5
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); } &&
27002 { ac_try='test -z "$ac_c_werror_flag"
27003 || test ! -s conftest.err'
27004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27005 (eval $ac_try) 2>&5
27006 ac_status=$?
27007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27008 (exit $ac_status); }; } &&
27009 { ac_try='test -s conftest$ac_exeext'
27010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27011 (eval $ac_try) 2>&5
27012 ac_status=$?
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); }; }; then
27015 glibcxx_cv_func___builtin_sinf_link=yes
27016 else
27017 echo "$as_me: failed program was:" >&5
27018 sed 's/^/| /' conftest.$ac_ext >&5
27020 glibcxx_cv_func___builtin_sinf_link=no
27022 rm -f conftest.err conftest.$ac_objext \
27023 conftest$ac_exeext conftest.$ac_ext
27028 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27029 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27031 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27033 cat >>confdefs.h <<\_ACEOF
27034 #define HAVE___BUILTIN_SINF 1
27035 _ACEOF
27042 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27043 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27044 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27045 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27046 echo $ECHO_N "(cached) $ECHO_C" >&6
27047 else
27051 ac_ext=cc
27052 ac_cpp='$CXXCPP $CPPFLAGS'
27053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27057 cat >conftest.$ac_ext <<_ACEOF
27058 /* confdefs.h. */
27059 _ACEOF
27060 cat confdefs.h >>conftest.$ac_ext
27061 cat >>conftest.$ac_ext <<_ACEOF
27062 /* end confdefs.h. */
27063 #include <math.h>
27065 main ()
27067 __builtin_sin(0);
27069 return 0;
27071 _ACEOF
27072 rm -f conftest.$ac_objext
27073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27074 (eval $ac_compile) 2>conftest.er1
27075 ac_status=$?
27076 grep -v '^ *+' conftest.er1 >conftest.err
27077 rm -f conftest.er1
27078 cat conftest.err >&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); } &&
27081 { ac_try='test -z "$ac_cxx_werror_flag"
27082 || test ! -s conftest.err'
27083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27084 (eval $ac_try) 2>&5
27085 ac_status=$?
27086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27087 (exit $ac_status); }; } &&
27088 { ac_try='test -s conftest.$ac_objext'
27089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27090 (eval $ac_try) 2>&5
27091 ac_status=$?
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); }; }; then
27094 glibcxx_cv_func___builtin_sin_use=yes
27095 else
27096 echo "$as_me: failed program was:" >&5
27097 sed 's/^/| /' conftest.$ac_ext >&5
27099 glibcxx_cv_func___builtin_sin_use=no
27101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27102 ac_ext=c
27103 ac_cpp='$CPP $CPPFLAGS'
27104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27112 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27113 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27114 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27115 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27116 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27117 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27118 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27119 echo $ECHO_N "(cached) $ECHO_C" >&6
27120 else
27122 if test x$gcc_no_link = xyes; then
27123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27125 { (exit 1); exit 1; }; }
27127 cat >conftest.$ac_ext <<_ACEOF
27128 /* confdefs.h. */
27129 _ACEOF
27130 cat confdefs.h >>conftest.$ac_ext
27131 cat >>conftest.$ac_ext <<_ACEOF
27132 /* end confdefs.h. */
27133 #include <math.h>
27135 main ()
27137 __builtin_sin(0);
27139 return 0;
27141 _ACEOF
27142 rm -f conftest.$ac_objext conftest$ac_exeext
27143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27144 (eval $ac_link) 2>conftest.er1
27145 ac_status=$?
27146 grep -v '^ *+' conftest.er1 >conftest.err
27147 rm -f conftest.er1
27148 cat conftest.err >&5
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); } &&
27151 { ac_try='test -z "$ac_c_werror_flag"
27152 || test ! -s conftest.err'
27153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154 (eval $ac_try) 2>&5
27155 ac_status=$?
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); }; } &&
27158 { ac_try='test -s conftest$ac_exeext'
27159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27160 (eval $ac_try) 2>&5
27161 ac_status=$?
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); }; }; then
27164 glibcxx_cv_func___builtin_sin_link=yes
27165 else
27166 echo "$as_me: failed program was:" >&5
27167 sed 's/^/| /' conftest.$ac_ext >&5
27169 glibcxx_cv_func___builtin_sin_link=no
27171 rm -f conftest.err conftest.$ac_objext \
27172 conftest$ac_exeext conftest.$ac_ext
27177 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27178 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27180 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27182 cat >>confdefs.h <<\_ACEOF
27183 #define HAVE___BUILTIN_SIN 1
27184 _ACEOF
27191 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27192 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27193 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27194 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27195 echo $ECHO_N "(cached) $ECHO_C" >&6
27196 else
27200 ac_ext=cc
27201 ac_cpp='$CXXCPP $CPPFLAGS'
27202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27206 cat >conftest.$ac_ext <<_ACEOF
27207 /* confdefs.h. */
27208 _ACEOF
27209 cat confdefs.h >>conftest.$ac_ext
27210 cat >>conftest.$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 #include <math.h>
27214 main ()
27216 __builtin_sinl(0);
27218 return 0;
27220 _ACEOF
27221 rm -f conftest.$ac_objext
27222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27223 (eval $ac_compile) 2>conftest.er1
27224 ac_status=$?
27225 grep -v '^ *+' conftest.er1 >conftest.err
27226 rm -f conftest.er1
27227 cat conftest.err >&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); } &&
27230 { ac_try='test -z "$ac_cxx_werror_flag"
27231 || test ! -s conftest.err'
27232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27233 (eval $ac_try) 2>&5
27234 ac_status=$?
27235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27236 (exit $ac_status); }; } &&
27237 { ac_try='test -s conftest.$ac_objext'
27238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27239 (eval $ac_try) 2>&5
27240 ac_status=$?
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); }; }; then
27243 glibcxx_cv_func___builtin_sinl_use=yes
27244 else
27245 echo "$as_me: failed program was:" >&5
27246 sed 's/^/| /' conftest.$ac_ext >&5
27248 glibcxx_cv_func___builtin_sinl_use=no
27250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27251 ac_ext=c
27252 ac_cpp='$CPP $CPPFLAGS'
27253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27261 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27262 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27263 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27264 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27265 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27266 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27267 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27268 echo $ECHO_N "(cached) $ECHO_C" >&6
27269 else
27271 if test x$gcc_no_link = xyes; then
27272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27274 { (exit 1); exit 1; }; }
27276 cat >conftest.$ac_ext <<_ACEOF
27277 /* confdefs.h. */
27278 _ACEOF
27279 cat confdefs.h >>conftest.$ac_ext
27280 cat >>conftest.$ac_ext <<_ACEOF
27281 /* end confdefs.h. */
27282 #include <math.h>
27284 main ()
27286 __builtin_sinl(0);
27288 return 0;
27290 _ACEOF
27291 rm -f conftest.$ac_objext conftest$ac_exeext
27292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27293 (eval $ac_link) 2>conftest.er1
27294 ac_status=$?
27295 grep -v '^ *+' conftest.er1 >conftest.err
27296 rm -f conftest.er1
27297 cat conftest.err >&5
27298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27299 (exit $ac_status); } &&
27300 { ac_try='test -z "$ac_c_werror_flag"
27301 || test ! -s conftest.err'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27304 ac_status=$?
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; } &&
27307 { ac_try='test -s conftest$ac_exeext'
27308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27309 (eval $ac_try) 2>&5
27310 ac_status=$?
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); }; }; then
27313 glibcxx_cv_func___builtin_sinl_link=yes
27314 else
27315 echo "$as_me: failed program was:" >&5
27316 sed 's/^/| /' conftest.$ac_ext >&5
27318 glibcxx_cv_func___builtin_sinl_link=no
27320 rm -f conftest.err conftest.$ac_objext \
27321 conftest$ac_exeext conftest.$ac_ext
27326 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27327 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27329 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27331 cat >>confdefs.h <<\_ACEOF
27332 #define HAVE___BUILTIN_SINL 1
27333 _ACEOF
27341 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27342 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27343 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27344 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27346 else
27350 ac_ext=cc
27351 ac_cpp='$CXXCPP $CPPFLAGS'
27352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27356 cat >conftest.$ac_ext <<_ACEOF
27357 /* confdefs.h. */
27358 _ACEOF
27359 cat confdefs.h >>conftest.$ac_ext
27360 cat >>conftest.$ac_ext <<_ACEOF
27361 /* end confdefs.h. */
27362 #include <math.h>
27364 main ()
27366 __builtin_cosf(0);
27368 return 0;
27370 _ACEOF
27371 rm -f conftest.$ac_objext
27372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27373 (eval $ac_compile) 2>conftest.er1
27374 ac_status=$?
27375 grep -v '^ *+' conftest.er1 >conftest.err
27376 rm -f conftest.er1
27377 cat conftest.err >&5
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); } &&
27380 { ac_try='test -z "$ac_cxx_werror_flag"
27381 || test ! -s conftest.err'
27382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27383 (eval $ac_try) 2>&5
27384 ac_status=$?
27385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27386 (exit $ac_status); }; } &&
27387 { ac_try='test -s conftest.$ac_objext'
27388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27389 (eval $ac_try) 2>&5
27390 ac_status=$?
27391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27392 (exit $ac_status); }; }; then
27393 glibcxx_cv_func___builtin_cosf_use=yes
27394 else
27395 echo "$as_me: failed program was:" >&5
27396 sed 's/^/| /' conftest.$ac_ext >&5
27398 glibcxx_cv_func___builtin_cosf_use=no
27400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27401 ac_ext=c
27402 ac_cpp='$CPP $CPPFLAGS'
27403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27411 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27412 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27413 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27414 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27415 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27416 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27417 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27418 echo $ECHO_N "(cached) $ECHO_C" >&6
27419 else
27421 if test x$gcc_no_link = xyes; then
27422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27424 { (exit 1); exit 1; }; }
27426 cat >conftest.$ac_ext <<_ACEOF
27427 /* confdefs.h. */
27428 _ACEOF
27429 cat confdefs.h >>conftest.$ac_ext
27430 cat >>conftest.$ac_ext <<_ACEOF
27431 /* end confdefs.h. */
27432 #include <math.h>
27434 main ()
27436 __builtin_cosf(0);
27438 return 0;
27440 _ACEOF
27441 rm -f conftest.$ac_objext conftest$ac_exeext
27442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27443 (eval $ac_link) 2>conftest.er1
27444 ac_status=$?
27445 grep -v '^ *+' conftest.er1 >conftest.err
27446 rm -f conftest.er1
27447 cat conftest.err >&5
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); } &&
27450 { ac_try='test -z "$ac_c_werror_flag"
27451 || test ! -s conftest.err'
27452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27453 (eval $ac_try) 2>&5
27454 ac_status=$?
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); }; } &&
27457 { ac_try='test -s conftest$ac_exeext'
27458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27459 (eval $ac_try) 2>&5
27460 ac_status=$?
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); }; }; then
27463 glibcxx_cv_func___builtin_cosf_link=yes
27464 else
27465 echo "$as_me: failed program was:" >&5
27466 sed 's/^/| /' conftest.$ac_ext >&5
27468 glibcxx_cv_func___builtin_cosf_link=no
27470 rm -f conftest.err conftest.$ac_objext \
27471 conftest$ac_exeext conftest.$ac_ext
27476 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27477 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27479 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27481 cat >>confdefs.h <<\_ACEOF
27482 #define HAVE___BUILTIN_COSF 1
27483 _ACEOF
27490 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27491 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27492 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27493 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27494 echo $ECHO_N "(cached) $ECHO_C" >&6
27495 else
27499 ac_ext=cc
27500 ac_cpp='$CXXCPP $CPPFLAGS'
27501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27505 cat >conftest.$ac_ext <<_ACEOF
27506 /* confdefs.h. */
27507 _ACEOF
27508 cat confdefs.h >>conftest.$ac_ext
27509 cat >>conftest.$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27511 #include <math.h>
27513 main ()
27515 __builtin_cos(0);
27517 return 0;
27519 _ACEOF
27520 rm -f conftest.$ac_objext
27521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27522 (eval $ac_compile) 2>conftest.er1
27523 ac_status=$?
27524 grep -v '^ *+' conftest.er1 >conftest.err
27525 rm -f conftest.er1
27526 cat conftest.err >&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); } &&
27529 { ac_try='test -z "$ac_cxx_werror_flag"
27530 || test ! -s conftest.err'
27531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27532 (eval $ac_try) 2>&5
27533 ac_status=$?
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); }; } &&
27536 { ac_try='test -s conftest.$ac_objext'
27537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27538 (eval $ac_try) 2>&5
27539 ac_status=$?
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); }; }; then
27542 glibcxx_cv_func___builtin_cos_use=yes
27543 else
27544 echo "$as_me: failed program was:" >&5
27545 sed 's/^/| /' conftest.$ac_ext >&5
27547 glibcxx_cv_func___builtin_cos_use=no
27549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27550 ac_ext=c
27551 ac_cpp='$CPP $CPPFLAGS'
27552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27560 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27561 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27562 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27563 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27564 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27565 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27566 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27567 echo $ECHO_N "(cached) $ECHO_C" >&6
27568 else
27570 if test x$gcc_no_link = xyes; then
27571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27573 { (exit 1); exit 1; }; }
27575 cat >conftest.$ac_ext <<_ACEOF
27576 /* confdefs.h. */
27577 _ACEOF
27578 cat confdefs.h >>conftest.$ac_ext
27579 cat >>conftest.$ac_ext <<_ACEOF
27580 /* end confdefs.h. */
27581 #include <math.h>
27583 main ()
27585 __builtin_cos(0);
27587 return 0;
27589 _ACEOF
27590 rm -f conftest.$ac_objext conftest$ac_exeext
27591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27592 (eval $ac_link) 2>conftest.er1
27593 ac_status=$?
27594 grep -v '^ *+' conftest.er1 >conftest.err
27595 rm -f conftest.er1
27596 cat conftest.err >&5
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); } &&
27599 { ac_try='test -z "$ac_c_werror_flag"
27600 || test ! -s conftest.err'
27601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27602 (eval $ac_try) 2>&5
27603 ac_status=$?
27604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27605 (exit $ac_status); }; } &&
27606 { ac_try='test -s conftest$ac_exeext'
27607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27608 (eval $ac_try) 2>&5
27609 ac_status=$?
27610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27611 (exit $ac_status); }; }; then
27612 glibcxx_cv_func___builtin_cos_link=yes
27613 else
27614 echo "$as_me: failed program was:" >&5
27615 sed 's/^/| /' conftest.$ac_ext >&5
27617 glibcxx_cv_func___builtin_cos_link=no
27619 rm -f conftest.err conftest.$ac_objext \
27620 conftest$ac_exeext conftest.$ac_ext
27625 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27626 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27628 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27630 cat >>confdefs.h <<\_ACEOF
27631 #define HAVE___BUILTIN_COS 1
27632 _ACEOF
27639 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27640 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27641 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27642 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27643 echo $ECHO_N "(cached) $ECHO_C" >&6
27644 else
27648 ac_ext=cc
27649 ac_cpp='$CXXCPP $CPPFLAGS'
27650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27654 cat >conftest.$ac_ext <<_ACEOF
27655 /* confdefs.h. */
27656 _ACEOF
27657 cat confdefs.h >>conftest.$ac_ext
27658 cat >>conftest.$ac_ext <<_ACEOF
27659 /* end confdefs.h. */
27660 #include <math.h>
27662 main ()
27664 __builtin_cosl(0);
27666 return 0;
27668 _ACEOF
27669 rm -f conftest.$ac_objext
27670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27671 (eval $ac_compile) 2>conftest.er1
27672 ac_status=$?
27673 grep -v '^ *+' conftest.er1 >conftest.err
27674 rm -f conftest.er1
27675 cat conftest.err >&5
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); } &&
27678 { ac_try='test -z "$ac_cxx_werror_flag"
27679 || test ! -s conftest.err'
27680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27681 (eval $ac_try) 2>&5
27682 ac_status=$?
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); }; } &&
27685 { ac_try='test -s conftest.$ac_objext'
27686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27687 (eval $ac_try) 2>&5
27688 ac_status=$?
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); }; }; then
27691 glibcxx_cv_func___builtin_cosl_use=yes
27692 else
27693 echo "$as_me: failed program was:" >&5
27694 sed 's/^/| /' conftest.$ac_ext >&5
27696 glibcxx_cv_func___builtin_cosl_use=no
27698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27699 ac_ext=c
27700 ac_cpp='$CPP $CPPFLAGS'
27701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27709 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27710 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27711 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27712 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27713 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27714 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27715 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27716 echo $ECHO_N "(cached) $ECHO_C" >&6
27717 else
27719 if test x$gcc_no_link = xyes; then
27720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27722 { (exit 1); exit 1; }; }
27724 cat >conftest.$ac_ext <<_ACEOF
27725 /* confdefs.h. */
27726 _ACEOF
27727 cat confdefs.h >>conftest.$ac_ext
27728 cat >>conftest.$ac_ext <<_ACEOF
27729 /* end confdefs.h. */
27730 #include <math.h>
27732 main ()
27734 __builtin_cosl(0);
27736 return 0;
27738 _ACEOF
27739 rm -f conftest.$ac_objext conftest$ac_exeext
27740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27741 (eval $ac_link) 2>conftest.er1
27742 ac_status=$?
27743 grep -v '^ *+' conftest.er1 >conftest.err
27744 rm -f conftest.er1
27745 cat conftest.err >&5
27746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747 (exit $ac_status); } &&
27748 { ac_try='test -z "$ac_c_werror_flag"
27749 || test ! -s conftest.err'
27750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27751 (eval $ac_try) 2>&5
27752 ac_status=$?
27753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754 (exit $ac_status); }; } &&
27755 { ac_try='test -s conftest$ac_exeext'
27756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27757 (eval $ac_try) 2>&5
27758 ac_status=$?
27759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27760 (exit $ac_status); }; }; then
27761 glibcxx_cv_func___builtin_cosl_link=yes
27762 else
27763 echo "$as_me: failed program was:" >&5
27764 sed 's/^/| /' conftest.$ac_ext >&5
27766 glibcxx_cv_func___builtin_cosl_link=no
27768 rm -f conftest.err conftest.$ac_objext \
27769 conftest$ac_exeext conftest.$ac_ext
27774 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27775 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27777 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27779 cat >>confdefs.h <<\_ACEOF
27780 #define HAVE___BUILTIN_COSL 1
27781 _ACEOF
27790 echo "$as_me:$LINENO: checking for main in -lm" >&5
27791 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27792 if test "${ac_cv_lib_m_main+set}" = set; then
27793 echo $ECHO_N "(cached) $ECHO_C" >&6
27794 else
27795 ac_check_lib_save_LIBS=$LIBS
27796 LIBS="-lm $LIBS"
27797 if test x$gcc_no_link = xyes; then
27798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27800 { (exit 1); exit 1; }; }
27802 cat >conftest.$ac_ext <<_ACEOF
27803 /* confdefs.h. */
27804 _ACEOF
27805 cat confdefs.h >>conftest.$ac_ext
27806 cat >>conftest.$ac_ext <<_ACEOF
27807 /* end confdefs.h. */
27811 main ()
27813 main ();
27815 return 0;
27817 _ACEOF
27818 rm -f conftest.$ac_objext conftest$ac_exeext
27819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27820 (eval $ac_link) 2>conftest.er1
27821 ac_status=$?
27822 grep -v '^ *+' conftest.er1 >conftest.err
27823 rm -f conftest.er1
27824 cat conftest.err >&5
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); } &&
27827 { ac_try='test -z "$ac_c_werror_flag"
27828 || test ! -s conftest.err'
27829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27830 (eval $ac_try) 2>&5
27831 ac_status=$?
27832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27833 (exit $ac_status); }; } &&
27834 { ac_try='test -s conftest$ac_exeext'
27835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27836 (eval $ac_try) 2>&5
27837 ac_status=$?
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); }; }; then
27840 ac_cv_lib_m_main=yes
27841 else
27842 echo "$as_me: failed program was:" >&5
27843 sed 's/^/| /' conftest.$ac_ext >&5
27845 ac_cv_lib_m_main=no
27847 rm -f conftest.err conftest.$ac_objext \
27848 conftest$ac_exeext conftest.$ac_ext
27849 LIBS=$ac_check_lib_save_LIBS
27851 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27852 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27853 if test $ac_cv_lib_m_main = yes; then
27854 cat >>confdefs.h <<_ACEOF
27855 #define HAVE_LIBM 1
27856 _ACEOF
27858 LIBS="-lm $LIBS"
27863 for ac_func in copysignf
27865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27866 echo "$as_me:$LINENO: checking for $ac_func" >&5
27867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27868 if eval "test \"\${$as_ac_var+set}\" = set"; then
27869 echo $ECHO_N "(cached) $ECHO_C" >&6
27870 else
27871 if test x$gcc_no_link = xyes; then
27872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27874 { (exit 1); exit 1; }; }
27876 cat >conftest.$ac_ext <<_ACEOF
27877 /* confdefs.h. */
27878 _ACEOF
27879 cat confdefs.h >>conftest.$ac_ext
27880 cat >>conftest.$ac_ext <<_ACEOF
27881 /* end confdefs.h. */
27882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27884 #define $ac_func innocuous_$ac_func
27886 /* System header to define __stub macros and hopefully few prototypes,
27887 which can conflict with char $ac_func (); below.
27888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27889 <limits.h> exists even on freestanding compilers. */
27891 #ifdef __STDC__
27892 # include <limits.h>
27893 #else
27894 # include <assert.h>
27895 #endif
27897 #undef $ac_func
27899 /* Override any gcc2 internal prototype to avoid an error. */
27900 #ifdef __cplusplus
27901 extern "C"
27903 #endif
27904 /* We use char because int might match the return type of a gcc2
27905 builtin and then its argument prototype would still apply. */
27906 char $ac_func ();
27907 /* The GNU C library defines this for functions which it implements
27908 to always fail with ENOSYS. Some functions are actually named
27909 something starting with __ and the normal name is an alias. */
27910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27911 choke me
27912 #else
27913 char (*f) () = $ac_func;
27914 #endif
27915 #ifdef __cplusplus
27917 #endif
27920 main ()
27922 return f != $ac_func;
27924 return 0;
27926 _ACEOF
27927 rm -f conftest.$ac_objext conftest$ac_exeext
27928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27929 (eval $ac_link) 2>conftest.er1
27930 ac_status=$?
27931 grep -v '^ *+' conftest.er1 >conftest.err
27932 rm -f conftest.er1
27933 cat conftest.err >&5
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); } &&
27936 { ac_try='test -z "$ac_c_werror_flag"
27937 || test ! -s conftest.err'
27938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27939 (eval $ac_try) 2>&5
27940 ac_status=$?
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); }; } &&
27943 { ac_try='test -s conftest$ac_exeext'
27944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27945 (eval $ac_try) 2>&5
27946 ac_status=$?
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); }; }; then
27949 eval "$as_ac_var=yes"
27950 else
27951 echo "$as_me: failed program was:" >&5
27952 sed 's/^/| /' conftest.$ac_ext >&5
27954 eval "$as_ac_var=no"
27956 rm -f conftest.err conftest.$ac_objext \
27957 conftest$ac_exeext conftest.$ac_ext
27959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27961 if test `eval echo '${'$as_ac_var'}'` = yes; then
27962 cat >>confdefs.h <<_ACEOF
27963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27964 _ACEOF
27966 else
27967 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27969 done
27973 for ac_func in __signbit
27975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27976 echo "$as_me:$LINENO: checking for $ac_func" >&5
27977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27978 if eval "test \"\${$as_ac_var+set}\" = set"; then
27979 echo $ECHO_N "(cached) $ECHO_C" >&6
27980 else
27981 if test x$gcc_no_link = xyes; then
27982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27984 { (exit 1); exit 1; }; }
27986 cat >conftest.$ac_ext <<_ACEOF
27987 /* confdefs.h. */
27988 _ACEOF
27989 cat confdefs.h >>conftest.$ac_ext
27990 cat >>conftest.$ac_ext <<_ACEOF
27991 /* end confdefs.h. */
27992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27994 #define $ac_func innocuous_$ac_func
27996 /* System header to define __stub macros and hopefully few prototypes,
27997 which can conflict with char $ac_func (); below.
27998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27999 <limits.h> exists even on freestanding compilers. */
28001 #ifdef __STDC__
28002 # include <limits.h>
28003 #else
28004 # include <assert.h>
28005 #endif
28007 #undef $ac_func
28009 /* Override any gcc2 internal prototype to avoid an error. */
28010 #ifdef __cplusplus
28011 extern "C"
28013 #endif
28014 /* We use char because int might match the return type of a gcc2
28015 builtin and then its argument prototype would still apply. */
28016 char $ac_func ();
28017 /* The GNU C library defines this for functions which it implements
28018 to always fail with ENOSYS. Some functions are actually named
28019 something starting with __ and the normal name is an alias. */
28020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28021 choke me
28022 #else
28023 char (*f) () = $ac_func;
28024 #endif
28025 #ifdef __cplusplus
28027 #endif
28030 main ()
28032 return f != $ac_func;
28034 return 0;
28036 _ACEOF
28037 rm -f conftest.$ac_objext conftest$ac_exeext
28038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28039 (eval $ac_link) 2>conftest.er1
28040 ac_status=$?
28041 grep -v '^ *+' conftest.er1 >conftest.err
28042 rm -f conftest.er1
28043 cat conftest.err >&5
28044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045 (exit $ac_status); } &&
28046 { ac_try='test -z "$ac_c_werror_flag"
28047 || test ! -s conftest.err'
28048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28049 (eval $ac_try) 2>&5
28050 ac_status=$?
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); }; } &&
28053 { ac_try='test -s conftest$ac_exeext'
28054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28055 (eval $ac_try) 2>&5
28056 ac_status=$?
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); }; }; then
28059 eval "$as_ac_var=yes"
28060 else
28061 echo "$as_me: failed program was:" >&5
28062 sed 's/^/| /' conftest.$ac_ext >&5
28064 eval "$as_ac_var=no"
28066 rm -f conftest.err conftest.$ac_objext \
28067 conftest$ac_exeext conftest.$ac_ext
28069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28071 if test `eval echo '${'$as_ac_var'}'` = yes; then
28072 cat >>confdefs.h <<_ACEOF
28073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28074 _ACEOF
28076 else
28077 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28079 done
28083 for ac_func in __signbitf
28085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28086 echo "$as_me:$LINENO: checking for $ac_func" >&5
28087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28088 if eval "test \"\${$as_ac_var+set}\" = set"; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28090 else
28091 if test x$gcc_no_link = xyes; then
28092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28094 { (exit 1); exit 1; }; }
28096 cat >conftest.$ac_ext <<_ACEOF
28097 /* confdefs.h. */
28098 _ACEOF
28099 cat confdefs.h >>conftest.$ac_ext
28100 cat >>conftest.$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28104 #define $ac_func innocuous_$ac_func
28106 /* System header to define __stub macros and hopefully few prototypes,
28107 which can conflict with char $ac_func (); below.
28108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28109 <limits.h> exists even on freestanding compilers. */
28111 #ifdef __STDC__
28112 # include <limits.h>
28113 #else
28114 # include <assert.h>
28115 #endif
28117 #undef $ac_func
28119 /* Override any gcc2 internal prototype to avoid an error. */
28120 #ifdef __cplusplus
28121 extern "C"
28123 #endif
28124 /* We use char because int might match the return type of a gcc2
28125 builtin and then its argument prototype would still apply. */
28126 char $ac_func ();
28127 /* The GNU C library defines this for functions which it implements
28128 to always fail with ENOSYS. Some functions are actually named
28129 something starting with __ and the normal name is an alias. */
28130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28131 choke me
28132 #else
28133 char (*f) () = $ac_func;
28134 #endif
28135 #ifdef __cplusplus
28137 #endif
28140 main ()
28142 return f != $ac_func;
28144 return 0;
28146 _ACEOF
28147 rm -f conftest.$ac_objext conftest$ac_exeext
28148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28149 (eval $ac_link) 2>conftest.er1
28150 ac_status=$?
28151 grep -v '^ *+' conftest.er1 >conftest.err
28152 rm -f conftest.er1
28153 cat conftest.err >&5
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); } &&
28156 { ac_try='test -z "$ac_c_werror_flag"
28157 || test ! -s conftest.err'
28158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28159 (eval $ac_try) 2>&5
28160 ac_status=$?
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); }; } &&
28163 { ac_try='test -s conftest$ac_exeext'
28164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28165 (eval $ac_try) 2>&5
28166 ac_status=$?
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); }; }; then
28169 eval "$as_ac_var=yes"
28170 else
28171 echo "$as_me: failed program was:" >&5
28172 sed 's/^/| /' conftest.$ac_ext >&5
28174 eval "$as_ac_var=no"
28176 rm -f conftest.err conftest.$ac_objext \
28177 conftest$ac_exeext conftest.$ac_ext
28179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28181 if test `eval echo '${'$as_ac_var'}'` = yes; then
28182 cat >>confdefs.h <<_ACEOF
28183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28184 _ACEOF
28186 else
28187 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28189 done
28192 if test x$ac_cv_func_copysignl = x"yes"; then
28194 for ac_func in __signbitl
28196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28197 echo "$as_me:$LINENO: checking for $ac_func" >&5
28198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28199 if eval "test \"\${$as_ac_var+set}\" = set"; then
28200 echo $ECHO_N "(cached) $ECHO_C" >&6
28201 else
28202 if test x$gcc_no_link = xyes; then
28203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28205 { (exit 1); exit 1; }; }
28207 cat >conftest.$ac_ext <<_ACEOF
28208 /* confdefs.h. */
28209 _ACEOF
28210 cat confdefs.h >>conftest.$ac_ext
28211 cat >>conftest.$ac_ext <<_ACEOF
28212 /* end confdefs.h. */
28213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28215 #define $ac_func innocuous_$ac_func
28217 /* System header to define __stub macros and hopefully few prototypes,
28218 which can conflict with char $ac_func (); below.
28219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28220 <limits.h> exists even on freestanding compilers. */
28222 #ifdef __STDC__
28223 # include <limits.h>
28224 #else
28225 # include <assert.h>
28226 #endif
28228 #undef $ac_func
28230 /* Override any gcc2 internal prototype to avoid an error. */
28231 #ifdef __cplusplus
28232 extern "C"
28234 #endif
28235 /* We use char because int might match the return type of a gcc2
28236 builtin and then its argument prototype would still apply. */
28237 char $ac_func ();
28238 /* The GNU C library defines this for functions which it implements
28239 to always fail with ENOSYS. Some functions are actually named
28240 something starting with __ and the normal name is an alias. */
28241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28242 choke me
28243 #else
28244 char (*f) () = $ac_func;
28245 #endif
28246 #ifdef __cplusplus
28248 #endif
28251 main ()
28253 return f != $ac_func;
28255 return 0;
28257 _ACEOF
28258 rm -f conftest.$ac_objext conftest$ac_exeext
28259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28260 (eval $ac_link) 2>conftest.er1
28261 ac_status=$?
28262 grep -v '^ *+' conftest.er1 >conftest.err
28263 rm -f conftest.er1
28264 cat conftest.err >&5
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); } &&
28267 { ac_try='test -z "$ac_c_werror_flag"
28268 || test ! -s conftest.err'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28271 ac_status=$?
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; } &&
28274 { ac_try='test -s conftest$ac_exeext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28277 ac_status=$?
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28280 eval "$as_ac_var=yes"
28281 else
28282 echo "$as_me: failed program was:" >&5
28283 sed 's/^/| /' conftest.$ac_ext >&5
28285 eval "$as_ac_var=no"
28287 rm -f conftest.err conftest.$ac_objext \
28288 conftest$ac_exeext conftest.$ac_ext
28290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28292 if test `eval echo '${'$as_ac_var'}'` = yes; then
28293 cat >>confdefs.h <<_ACEOF
28294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28295 _ACEOF
28297 else
28298 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28300 done
28304 # Used in libmath/Makefile.am.
28305 if test -n "$LIBMATHOBJS"; then
28306 need_libmath=yes
28312 enable_iconv=no
28313 # Only continue checking if the ISO C99 headers exist and support is on.
28314 if test x"$enable_wchar_t" = xyes; then
28316 # Use iconv for wchar_t to char conversions. As such, check for
28317 # X/Open Portability Guide, version 2 features (XPG2).
28318 if test "${ac_cv_header_iconv_h+set}" = set; then
28319 echo "$as_me:$LINENO: checking for iconv.h" >&5
28320 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28321 if test "${ac_cv_header_iconv_h+set}" = set; then
28322 echo $ECHO_N "(cached) $ECHO_C" >&6
28324 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28325 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28326 else
28327 # Is the header compilable?
28328 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28329 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28330 cat >conftest.$ac_ext <<_ACEOF
28331 /* confdefs.h. */
28332 _ACEOF
28333 cat confdefs.h >>conftest.$ac_ext
28334 cat >>conftest.$ac_ext <<_ACEOF
28335 /* end confdefs.h. */
28336 $ac_includes_default
28337 #include <iconv.h>
28338 _ACEOF
28339 rm -f conftest.$ac_objext
28340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28341 (eval $ac_compile) 2>conftest.er1
28342 ac_status=$?
28343 grep -v '^ *+' conftest.er1 >conftest.err
28344 rm -f conftest.er1
28345 cat conftest.err >&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); } &&
28348 { ac_try='test -z "$ac_c_werror_flag"
28349 || test ! -s conftest.err'
28350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28351 (eval $ac_try) 2>&5
28352 ac_status=$?
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); }; } &&
28355 { ac_try='test -s conftest.$ac_objext'
28356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28357 (eval $ac_try) 2>&5
28358 ac_status=$?
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); }; }; then
28361 ac_header_compiler=yes
28362 else
28363 echo "$as_me: failed program was:" >&5
28364 sed 's/^/| /' conftest.$ac_ext >&5
28366 ac_header_compiler=no
28368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28370 echo "${ECHO_T}$ac_header_compiler" >&6
28372 # Is the header present?
28373 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28374 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28375 cat >conftest.$ac_ext <<_ACEOF
28376 /* confdefs.h. */
28377 _ACEOF
28378 cat confdefs.h >>conftest.$ac_ext
28379 cat >>conftest.$ac_ext <<_ACEOF
28380 /* end confdefs.h. */
28381 #include <iconv.h>
28382 _ACEOF
28383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28384 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28385 ac_status=$?
28386 grep -v '^ *+' conftest.er1 >conftest.err
28387 rm -f conftest.er1
28388 cat conftest.err >&5
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); } >/dev/null; then
28391 if test -s conftest.err; then
28392 ac_cpp_err=$ac_c_preproc_warn_flag
28393 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28394 else
28395 ac_cpp_err=
28397 else
28398 ac_cpp_err=yes
28400 if test -z "$ac_cpp_err"; then
28401 ac_header_preproc=yes
28402 else
28403 echo "$as_me: failed program was:" >&5
28404 sed 's/^/| /' conftest.$ac_ext >&5
28406 ac_header_preproc=no
28408 rm -f conftest.err conftest.$ac_ext
28409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28410 echo "${ECHO_T}$ac_header_preproc" >&6
28412 # So? What about this header?
28413 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28414 yes:no: )
28415 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28416 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28417 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28418 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28419 ac_header_preproc=yes
28421 no:yes:* )
28422 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28423 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28424 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28425 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28426 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28427 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28428 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28429 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28430 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28431 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28432 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28433 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28435 cat <<\_ASBOX
28436 ## ----------------------------------------- ##
28437 ## Report this to the package-unused lists. ##
28438 ## ----------------------------------------- ##
28439 _ASBOX
28441 sed "s/^/$as_me: WARNING: /" >&2
28443 esac
28444 echo "$as_me:$LINENO: checking for iconv.h" >&5
28445 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28446 if test "${ac_cv_header_iconv_h+set}" = set; then
28447 echo $ECHO_N "(cached) $ECHO_C" >&6
28448 else
28449 ac_cv_header_iconv_h=$ac_header_preproc
28451 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28452 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28455 if test $ac_cv_header_iconv_h = yes; then
28456 ac_has_iconv_h=yes
28457 else
28458 ac_has_iconv_h=no
28462 if test "${ac_cv_header_langinfo_h+set}" = set; then
28463 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28464 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28465 if test "${ac_cv_header_langinfo_h+set}" = set; then
28466 echo $ECHO_N "(cached) $ECHO_C" >&6
28468 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28469 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28470 else
28471 # Is the header compilable?
28472 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28473 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28474 cat >conftest.$ac_ext <<_ACEOF
28475 /* confdefs.h. */
28476 _ACEOF
28477 cat confdefs.h >>conftest.$ac_ext
28478 cat >>conftest.$ac_ext <<_ACEOF
28479 /* end confdefs.h. */
28480 $ac_includes_default
28481 #include <langinfo.h>
28482 _ACEOF
28483 rm -f conftest.$ac_objext
28484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28485 (eval $ac_compile) 2>conftest.er1
28486 ac_status=$?
28487 grep -v '^ *+' conftest.er1 >conftest.err
28488 rm -f conftest.er1
28489 cat conftest.err >&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } &&
28492 { ac_try='test -z "$ac_c_werror_flag"
28493 || test ! -s conftest.err'
28494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28495 (eval $ac_try) 2>&5
28496 ac_status=$?
28497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28498 (exit $ac_status); }; } &&
28499 { ac_try='test -s conftest.$ac_objext'
28500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28501 (eval $ac_try) 2>&5
28502 ac_status=$?
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); }; }; then
28505 ac_header_compiler=yes
28506 else
28507 echo "$as_me: failed program was:" >&5
28508 sed 's/^/| /' conftest.$ac_ext >&5
28510 ac_header_compiler=no
28512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28514 echo "${ECHO_T}$ac_header_compiler" >&6
28516 # Is the header present?
28517 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28518 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28519 cat >conftest.$ac_ext <<_ACEOF
28520 /* confdefs.h. */
28521 _ACEOF
28522 cat confdefs.h >>conftest.$ac_ext
28523 cat >>conftest.$ac_ext <<_ACEOF
28524 /* end confdefs.h. */
28525 #include <langinfo.h>
28526 _ACEOF
28527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28528 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28529 ac_status=$?
28530 grep -v '^ *+' conftest.er1 >conftest.err
28531 rm -f conftest.er1
28532 cat conftest.err >&5
28533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28534 (exit $ac_status); } >/dev/null; then
28535 if test -s conftest.err; then
28536 ac_cpp_err=$ac_c_preproc_warn_flag
28537 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28538 else
28539 ac_cpp_err=
28541 else
28542 ac_cpp_err=yes
28544 if test -z "$ac_cpp_err"; then
28545 ac_header_preproc=yes
28546 else
28547 echo "$as_me: failed program was:" >&5
28548 sed 's/^/| /' conftest.$ac_ext >&5
28550 ac_header_preproc=no
28552 rm -f conftest.err conftest.$ac_ext
28553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28554 echo "${ECHO_T}$ac_header_preproc" >&6
28556 # So? What about this header?
28557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28558 yes:no: )
28559 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28560 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28561 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28562 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28563 ac_header_preproc=yes
28565 no:yes:* )
28566 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28567 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28568 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28569 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28570 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28571 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28572 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28573 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28574 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28575 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28576 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28577 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28579 cat <<\_ASBOX
28580 ## ----------------------------------------- ##
28581 ## Report this to the package-unused lists. ##
28582 ## ----------------------------------------- ##
28583 _ASBOX
28585 sed "s/^/$as_me: WARNING: /" >&2
28587 esac
28588 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28589 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28590 if test "${ac_cv_header_langinfo_h+set}" = set; then
28591 echo $ECHO_N "(cached) $ECHO_C" >&6
28592 else
28593 ac_cv_header_langinfo_h=$ac_header_preproc
28595 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28596 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28599 if test $ac_cv_header_langinfo_h = yes; then
28600 ac_has_langinfo_h=yes
28601 else
28602 ac_has_langinfo_h=no
28607 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28608 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28609 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28610 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28611 echo $ECHO_N "(cached) $ECHO_C" >&6
28612 else
28613 ac_check_lib_save_LIBS=$LIBS
28614 LIBS="-liconv $LIBS"
28615 if test x$gcc_no_link = xyes; then
28616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28618 { (exit 1); exit 1; }; }
28620 cat >conftest.$ac_ext <<_ACEOF
28621 /* confdefs.h. */
28622 _ACEOF
28623 cat confdefs.h >>conftest.$ac_ext
28624 cat >>conftest.$ac_ext <<_ACEOF
28625 /* end confdefs.h. */
28627 /* Override any gcc2 internal prototype to avoid an error. */
28628 #ifdef __cplusplus
28629 extern "C"
28630 #endif
28631 /* We use char because int might match the return type of a gcc2
28632 builtin and then its argument prototype would still apply. */
28633 char iconv ();
28635 main ()
28637 iconv ();
28639 return 0;
28641 _ACEOF
28642 rm -f conftest.$ac_objext conftest$ac_exeext
28643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28644 (eval $ac_link) 2>conftest.er1
28645 ac_status=$?
28646 grep -v '^ *+' conftest.er1 >conftest.err
28647 rm -f conftest.er1
28648 cat conftest.err >&5
28649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28650 (exit $ac_status); } &&
28651 { ac_try='test -z "$ac_c_werror_flag"
28652 || test ! -s conftest.err'
28653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28654 (eval $ac_try) 2>&5
28655 ac_status=$?
28656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28657 (exit $ac_status); }; } &&
28658 { ac_try='test -s conftest$ac_exeext'
28659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28660 (eval $ac_try) 2>&5
28661 ac_status=$?
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); }; }; then
28664 ac_cv_lib_iconv_iconv=yes
28665 else
28666 echo "$as_me: failed program was:" >&5
28667 sed 's/^/| /' conftest.$ac_ext >&5
28669 ac_cv_lib_iconv_iconv=no
28671 rm -f conftest.err conftest.$ac_objext \
28672 conftest$ac_exeext conftest.$ac_ext
28673 LIBS=$ac_check_lib_save_LIBS
28675 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28676 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28677 if test $ac_cv_lib_iconv_iconv = yes; then
28678 LIBICONV="-liconv"
28681 ac_save_LIBS="$LIBS"
28682 LIBS="$LIBS $LIBICONV"
28689 for ac_func in iconv_open iconv_close iconv nl_langinfo
28691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28692 echo "$as_me:$LINENO: checking for $ac_func" >&5
28693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28694 if eval "test \"\${$as_ac_var+set}\" = set"; then
28695 echo $ECHO_N "(cached) $ECHO_C" >&6
28696 else
28697 if test x$gcc_no_link = xyes; then
28698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28700 { (exit 1); exit 1; }; }
28702 cat >conftest.$ac_ext <<_ACEOF
28703 /* confdefs.h. */
28704 _ACEOF
28705 cat confdefs.h >>conftest.$ac_ext
28706 cat >>conftest.$ac_ext <<_ACEOF
28707 /* end confdefs.h. */
28708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28710 #define $ac_func innocuous_$ac_func
28712 /* System header to define __stub macros and hopefully few prototypes,
28713 which can conflict with char $ac_func (); below.
28714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28715 <limits.h> exists even on freestanding compilers. */
28717 #ifdef __STDC__
28718 # include <limits.h>
28719 #else
28720 # include <assert.h>
28721 #endif
28723 #undef $ac_func
28725 /* Override any gcc2 internal prototype to avoid an error. */
28726 #ifdef __cplusplus
28727 extern "C"
28729 #endif
28730 /* We use char because int might match the return type of a gcc2
28731 builtin and then its argument prototype would still apply. */
28732 char $ac_func ();
28733 /* The GNU C library defines this for functions which it implements
28734 to always fail with ENOSYS. Some functions are actually named
28735 something starting with __ and the normal name is an alias. */
28736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28737 choke me
28738 #else
28739 char (*f) () = $ac_func;
28740 #endif
28741 #ifdef __cplusplus
28743 #endif
28746 main ()
28748 return f != $ac_func;
28750 return 0;
28752 _ACEOF
28753 rm -f conftest.$ac_objext conftest$ac_exeext
28754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28755 (eval $ac_link) 2>conftest.er1
28756 ac_status=$?
28757 grep -v '^ *+' conftest.er1 >conftest.err
28758 rm -f conftest.er1
28759 cat conftest.err >&5
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); } &&
28762 { ac_try='test -z "$ac_c_werror_flag"
28763 || test ! -s conftest.err'
28764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28765 (eval $ac_try) 2>&5
28766 ac_status=$?
28767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28768 (exit $ac_status); }; } &&
28769 { ac_try='test -s conftest$ac_exeext'
28770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28771 (eval $ac_try) 2>&5
28772 ac_status=$?
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); }; }; then
28775 eval "$as_ac_var=yes"
28776 else
28777 echo "$as_me: failed program was:" >&5
28778 sed 's/^/| /' conftest.$ac_ext >&5
28780 eval "$as_ac_var=no"
28782 rm -f conftest.err conftest.$ac_objext \
28783 conftest$ac_exeext conftest.$ac_ext
28785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28787 if test `eval echo '${'$as_ac_var'}'` = yes; then
28788 cat >>confdefs.h <<_ACEOF
28789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28790 _ACEOF
28791 ac_XPG2funcs=yes
28792 else
28793 ac_XPG2funcs=no
28795 done
28798 LIBS="$ac_save_LIBS"
28800 if test x"$ac_has_iconv_h" = xyes &&
28801 test x"$ac_has_langinfo_h" = xyes &&
28802 test x"$ac_XPG2funcs" = xyes;
28803 then
28805 cat >>confdefs.h <<\_ACEOF
28806 #define _GLIBCXX_USE_ICONV 1
28807 _ACEOF
28809 enable_iconv=yes
28812 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28813 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28814 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28815 echo "${ECHO_T}$enable_iconv" >&6
28818 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28819 ac_save_CXXFLAGS="$CXXFLAGS"
28820 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28823 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28824 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28825 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28826 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28827 echo $ECHO_N "(cached) $ECHO_C" >&6
28828 else
28832 ac_ext=cc
28833 ac_cpp='$CXXCPP $CPPFLAGS'
28834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28838 cat >conftest.$ac_ext <<_ACEOF
28839 /* confdefs.h. */
28840 _ACEOF
28841 cat confdefs.h >>conftest.$ac_ext
28842 cat >>conftest.$ac_ext <<_ACEOF
28843 /* end confdefs.h. */
28844 #include <stdlib.h>
28846 main ()
28848 strtold(0, 0);
28850 return 0;
28852 _ACEOF
28853 rm -f conftest.$ac_objext
28854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28855 (eval $ac_compile) 2>conftest.er1
28856 ac_status=$?
28857 grep -v '^ *+' conftest.er1 >conftest.err
28858 rm -f conftest.er1
28859 cat conftest.err >&5
28860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28861 (exit $ac_status); } &&
28862 { ac_try='test -z "$ac_cxx_werror_flag"
28863 || test ! -s conftest.err'
28864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28865 (eval $ac_try) 2>&5
28866 ac_status=$?
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); }; } &&
28869 { ac_try='test -s conftest.$ac_objext'
28870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28871 (eval $ac_try) 2>&5
28872 ac_status=$?
28873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28874 (exit $ac_status); }; }; then
28875 glibcxx_cv_func_strtold_use=yes
28876 else
28877 echo "$as_me: failed program was:" >&5
28878 sed 's/^/| /' conftest.$ac_ext >&5
28880 glibcxx_cv_func_strtold_use=no
28882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28883 ac_ext=c
28884 ac_cpp='$CPP $CPPFLAGS'
28885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28893 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28894 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28895 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28897 for ac_func in strtold
28899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28900 echo "$as_me:$LINENO: checking for $ac_func" >&5
28901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28902 if eval "test \"\${$as_ac_var+set}\" = set"; then
28903 echo $ECHO_N "(cached) $ECHO_C" >&6
28904 else
28905 if test x$gcc_no_link = xyes; then
28906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28908 { (exit 1); exit 1; }; }
28910 cat >conftest.$ac_ext <<_ACEOF
28911 /* confdefs.h. */
28912 _ACEOF
28913 cat confdefs.h >>conftest.$ac_ext
28914 cat >>conftest.$ac_ext <<_ACEOF
28915 /* end confdefs.h. */
28916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28918 #define $ac_func innocuous_$ac_func
28920 /* System header to define __stub macros and hopefully few prototypes,
28921 which can conflict with char $ac_func (); below.
28922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28923 <limits.h> exists even on freestanding compilers. */
28925 #ifdef __STDC__
28926 # include <limits.h>
28927 #else
28928 # include <assert.h>
28929 #endif
28931 #undef $ac_func
28933 /* Override any gcc2 internal prototype to avoid an error. */
28934 #ifdef __cplusplus
28935 extern "C"
28937 #endif
28938 /* We use char because int might match the return type of a gcc2
28939 builtin and then its argument prototype would still apply. */
28940 char $ac_func ();
28941 /* The GNU C library defines this for functions which it implements
28942 to always fail with ENOSYS. Some functions are actually named
28943 something starting with __ and the normal name is an alias. */
28944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28945 choke me
28946 #else
28947 char (*f) () = $ac_func;
28948 #endif
28949 #ifdef __cplusplus
28951 #endif
28954 main ()
28956 return f != $ac_func;
28958 return 0;
28960 _ACEOF
28961 rm -f conftest.$ac_objext conftest$ac_exeext
28962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28963 (eval $ac_link) 2>conftest.er1
28964 ac_status=$?
28965 grep -v '^ *+' conftest.er1 >conftest.err
28966 rm -f conftest.er1
28967 cat conftest.err >&5
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); } &&
28970 { ac_try='test -z "$ac_c_werror_flag"
28971 || test ! -s conftest.err'
28972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28973 (eval $ac_try) 2>&5
28974 ac_status=$?
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); }; } &&
28977 { ac_try='test -s conftest$ac_exeext'
28978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28979 (eval $ac_try) 2>&5
28980 ac_status=$?
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); }; }; then
28983 eval "$as_ac_var=yes"
28984 else
28985 echo "$as_me: failed program was:" >&5
28986 sed 's/^/| /' conftest.$ac_ext >&5
28988 eval "$as_ac_var=no"
28990 rm -f conftest.err conftest.$ac_objext \
28991 conftest$ac_exeext conftest.$ac_ext
28993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28995 if test `eval echo '${'$as_ac_var'}'` = yes; then
28996 cat >>confdefs.h <<_ACEOF
28997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28998 _ACEOF
29001 done
29009 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29010 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29011 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29012 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29013 echo $ECHO_N "(cached) $ECHO_C" >&6
29014 else
29018 ac_ext=cc
29019 ac_cpp='$CXXCPP $CPPFLAGS'
29020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29024 cat >conftest.$ac_ext <<_ACEOF
29025 /* confdefs.h. */
29026 _ACEOF
29027 cat confdefs.h >>conftest.$ac_ext
29028 cat >>conftest.$ac_ext <<_ACEOF
29029 /* end confdefs.h. */
29030 #include <stdlib.h>
29032 main ()
29034 strtof(0, 0);
29036 return 0;
29038 _ACEOF
29039 rm -f conftest.$ac_objext
29040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29041 (eval $ac_compile) 2>conftest.er1
29042 ac_status=$?
29043 grep -v '^ *+' conftest.er1 >conftest.err
29044 rm -f conftest.er1
29045 cat conftest.err >&5
29046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29047 (exit $ac_status); } &&
29048 { ac_try='test -z "$ac_cxx_werror_flag"
29049 || test ! -s conftest.err'
29050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29051 (eval $ac_try) 2>&5
29052 ac_status=$?
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); }; } &&
29055 { ac_try='test -s conftest.$ac_objext'
29056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29057 (eval $ac_try) 2>&5
29058 ac_status=$?
29059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060 (exit $ac_status); }; }; then
29061 glibcxx_cv_func_strtof_use=yes
29062 else
29063 echo "$as_me: failed program was:" >&5
29064 sed 's/^/| /' conftest.$ac_ext >&5
29066 glibcxx_cv_func_strtof_use=no
29068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29069 ac_ext=c
29070 ac_cpp='$CPP $CPPFLAGS'
29071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29079 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29080 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29081 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29083 for ac_func in strtof
29085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29086 echo "$as_me:$LINENO: checking for $ac_func" >&5
29087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29088 if eval "test \"\${$as_ac_var+set}\" = set"; then
29089 echo $ECHO_N "(cached) $ECHO_C" >&6
29090 else
29091 if test x$gcc_no_link = xyes; then
29092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29094 { (exit 1); exit 1; }; }
29096 cat >conftest.$ac_ext <<_ACEOF
29097 /* confdefs.h. */
29098 _ACEOF
29099 cat confdefs.h >>conftest.$ac_ext
29100 cat >>conftest.$ac_ext <<_ACEOF
29101 /* end confdefs.h. */
29102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29104 #define $ac_func innocuous_$ac_func
29106 /* System header to define __stub macros and hopefully few prototypes,
29107 which can conflict with char $ac_func (); below.
29108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29109 <limits.h> exists even on freestanding compilers. */
29111 #ifdef __STDC__
29112 # include <limits.h>
29113 #else
29114 # include <assert.h>
29115 #endif
29117 #undef $ac_func
29119 /* Override any gcc2 internal prototype to avoid an error. */
29120 #ifdef __cplusplus
29121 extern "C"
29123 #endif
29124 /* We use char because int might match the return type of a gcc2
29125 builtin and then its argument prototype would still apply. */
29126 char $ac_func ();
29127 /* The GNU C library defines this for functions which it implements
29128 to always fail with ENOSYS. Some functions are actually named
29129 something starting with __ and the normal name is an alias. */
29130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29131 choke me
29132 #else
29133 char (*f) () = $ac_func;
29134 #endif
29135 #ifdef __cplusplus
29137 #endif
29140 main ()
29142 return f != $ac_func;
29144 return 0;
29146 _ACEOF
29147 rm -f conftest.$ac_objext conftest$ac_exeext
29148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29149 (eval $ac_link) 2>conftest.er1
29150 ac_status=$?
29151 grep -v '^ *+' conftest.er1 >conftest.err
29152 rm -f conftest.er1
29153 cat conftest.err >&5
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); } &&
29156 { ac_try='test -z "$ac_c_werror_flag"
29157 || test ! -s conftest.err'
29158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29159 (eval $ac_try) 2>&5
29160 ac_status=$?
29161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29162 (exit $ac_status); }; } &&
29163 { ac_try='test -s conftest$ac_exeext'
29164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29165 (eval $ac_try) 2>&5
29166 ac_status=$?
29167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29168 (exit $ac_status); }; }; then
29169 eval "$as_ac_var=yes"
29170 else
29171 echo "$as_me: failed program was:" >&5
29172 sed 's/^/| /' conftest.$ac_ext >&5
29174 eval "$as_ac_var=no"
29176 rm -f conftest.err conftest.$ac_objext \
29177 conftest$ac_exeext conftest.$ac_ext
29179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29181 if test `eval echo '${'$as_ac_var'}'` = yes; then
29182 cat >>confdefs.h <<_ACEOF
29183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29184 _ACEOF
29187 done
29195 CXXFLAGS="$ac_save_CXXFLAGS"
29198 # For showmanyc_helper().
29201 for ac_header in sys/ioctl.h sys/filio.h
29203 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29205 echo "$as_me:$LINENO: checking for $ac_header" >&5
29206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29208 echo $ECHO_N "(cached) $ECHO_C" >&6
29210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29212 else
29213 # Is the header compilable?
29214 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29215 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29216 cat >conftest.$ac_ext <<_ACEOF
29217 /* confdefs.h. */
29218 _ACEOF
29219 cat confdefs.h >>conftest.$ac_ext
29220 cat >>conftest.$ac_ext <<_ACEOF
29221 /* end confdefs.h. */
29222 $ac_includes_default
29223 #include <$ac_header>
29224 _ACEOF
29225 rm -f conftest.$ac_objext
29226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29227 (eval $ac_compile) 2>conftest.er1
29228 ac_status=$?
29229 grep -v '^ *+' conftest.er1 >conftest.err
29230 rm -f conftest.er1
29231 cat conftest.err >&5
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); } &&
29234 { ac_try='test -z "$ac_c_werror_flag"
29235 || test ! -s conftest.err'
29236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29237 (eval $ac_try) 2>&5
29238 ac_status=$?
29239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29240 (exit $ac_status); }; } &&
29241 { ac_try='test -s conftest.$ac_objext'
29242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29243 (eval $ac_try) 2>&5
29244 ac_status=$?
29245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29246 (exit $ac_status); }; }; then
29247 ac_header_compiler=yes
29248 else
29249 echo "$as_me: failed program was:" >&5
29250 sed 's/^/| /' conftest.$ac_ext >&5
29252 ac_header_compiler=no
29254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29256 echo "${ECHO_T}$ac_header_compiler" >&6
29258 # Is the header present?
29259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29261 cat >conftest.$ac_ext <<_ACEOF
29262 /* confdefs.h. */
29263 _ACEOF
29264 cat confdefs.h >>conftest.$ac_ext
29265 cat >>conftest.$ac_ext <<_ACEOF
29266 /* end confdefs.h. */
29267 #include <$ac_header>
29268 _ACEOF
29269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29271 ac_status=$?
29272 grep -v '^ *+' conftest.er1 >conftest.err
29273 rm -f conftest.er1
29274 cat conftest.err >&5
29275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29276 (exit $ac_status); } >/dev/null; then
29277 if test -s conftest.err; then
29278 ac_cpp_err=$ac_c_preproc_warn_flag
29279 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29280 else
29281 ac_cpp_err=
29283 else
29284 ac_cpp_err=yes
29286 if test -z "$ac_cpp_err"; then
29287 ac_header_preproc=yes
29288 else
29289 echo "$as_me: failed program was:" >&5
29290 sed 's/^/| /' conftest.$ac_ext >&5
29292 ac_header_preproc=no
29294 rm -f conftest.err conftest.$ac_ext
29295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29296 echo "${ECHO_T}$ac_header_preproc" >&6
29298 # So? What about this header?
29299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29300 yes:no: )
29301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29305 ac_header_preproc=yes
29307 no:yes:* )
29308 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29310 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29311 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29312 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29314 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29315 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29321 cat <<\_ASBOX
29322 ## ----------------------------------------- ##
29323 ## Report this to the package-unused lists. ##
29324 ## ----------------------------------------- ##
29325 _ASBOX
29327 sed "s/^/$as_me: WARNING: /" >&2
29329 esac
29330 echo "$as_me:$LINENO: checking for $ac_header" >&5
29331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29333 echo $ECHO_N "(cached) $ECHO_C" >&6
29334 else
29335 eval "$as_ac_Header=\$ac_header_preproc"
29337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29342 cat >>confdefs.h <<_ACEOF
29343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29344 _ACEOF
29348 done
29351 echo "$as_me:$LINENO: checking for poll" >&5
29352 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29353 if test "${glibcxx_cv_POLL+set}" = set; then
29354 echo $ECHO_N "(cached) $ECHO_C" >&6
29355 else
29357 if test x$gcc_no_link = xyes; then
29358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29360 { (exit 1); exit 1; }; }
29362 cat >conftest.$ac_ext <<_ACEOF
29363 /* confdefs.h. */
29364 _ACEOF
29365 cat confdefs.h >>conftest.$ac_ext
29366 cat >>conftest.$ac_ext <<_ACEOF
29367 /* end confdefs.h. */
29368 #include <poll.h>
29370 main ()
29372 struct pollfd pfd[1];
29373 pfd[0].events = POLLIN;
29374 poll(pfd, 1, 0);
29376 return 0;
29378 _ACEOF
29379 rm -f conftest.$ac_objext conftest$ac_exeext
29380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29381 (eval $ac_link) 2>conftest.er1
29382 ac_status=$?
29383 grep -v '^ *+' conftest.er1 >conftest.err
29384 rm -f conftest.er1
29385 cat conftest.err >&5
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); } &&
29388 { ac_try='test -z "$ac_c_werror_flag"
29389 || test ! -s conftest.err'
29390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29391 (eval $ac_try) 2>&5
29392 ac_status=$?
29393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29394 (exit $ac_status); }; } &&
29395 { ac_try='test -s conftest$ac_exeext'
29396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29397 (eval $ac_try) 2>&5
29398 ac_status=$?
29399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 (exit $ac_status); }; }; then
29401 glibcxx_cv_POLL=yes
29402 else
29403 echo "$as_me: failed program was:" >&5
29404 sed 's/^/| /' conftest.$ac_ext >&5
29406 glibcxx_cv_POLL=no
29408 rm -f conftest.err conftest.$ac_objext \
29409 conftest$ac_exeext conftest.$ac_ext
29413 if test $glibcxx_cv_POLL = yes; then
29415 cat >>confdefs.h <<\_ACEOF
29416 #define HAVE_POLL 1
29417 _ACEOF
29420 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29421 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29424 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29425 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29426 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29427 echo $ECHO_N "(cached) $ECHO_C" >&6
29428 else
29430 if test x$gcc_no_link = xyes; then
29431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29433 { (exit 1); exit 1; }; }
29435 cat >conftest.$ac_ext <<_ACEOF
29436 /* confdefs.h. */
29437 _ACEOF
29438 cat confdefs.h >>conftest.$ac_ext
29439 cat >>conftest.$ac_ext <<_ACEOF
29440 /* end confdefs.h. */
29441 #include <sys/stat.h>
29443 main ()
29445 struct stat buffer;
29446 fstat(0, &buffer);
29447 S_ISREG(buffer.st_mode);
29449 return 0;
29451 _ACEOF
29452 rm -f conftest.$ac_objext conftest$ac_exeext
29453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29454 (eval $ac_link) 2>conftest.er1
29455 ac_status=$?
29456 grep -v '^ *+' conftest.er1 >conftest.err
29457 rm -f conftest.er1
29458 cat conftest.err >&5
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); } &&
29461 { ac_try='test -z "$ac_c_werror_flag"
29462 || test ! -s conftest.err'
29463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29464 (eval $ac_try) 2>&5
29465 ac_status=$?
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); }; } &&
29468 { ac_try='test -s conftest$ac_exeext'
29469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29470 (eval $ac_try) 2>&5
29471 ac_status=$?
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); }; }; then
29474 glibcxx_cv_S_ISREG=yes
29475 else
29476 echo "$as_me: failed program was:" >&5
29477 sed 's/^/| /' conftest.$ac_ext >&5
29479 glibcxx_cv_S_ISREG=no
29481 rm -f conftest.err conftest.$ac_objext \
29482 conftest$ac_exeext conftest.$ac_ext
29486 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 else
29490 if test x$gcc_no_link = xyes; then
29491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29493 { (exit 1); exit 1; }; }
29495 cat >conftest.$ac_ext <<_ACEOF
29496 /* confdefs.h. */
29497 _ACEOF
29498 cat confdefs.h >>conftest.$ac_ext
29499 cat >>conftest.$ac_ext <<_ACEOF
29500 /* end confdefs.h. */
29501 #include <sys/stat.h>
29503 main ()
29505 struct stat buffer;
29506 fstat(0, &buffer);
29507 S_IFREG & buffer.st_mode;
29509 return 0;
29511 _ACEOF
29512 rm -f conftest.$ac_objext conftest$ac_exeext
29513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29514 (eval $ac_link) 2>conftest.er1
29515 ac_status=$?
29516 grep -v '^ *+' conftest.er1 >conftest.err
29517 rm -f conftest.er1
29518 cat conftest.err >&5
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); } &&
29521 { ac_try='test -z "$ac_c_werror_flag"
29522 || test ! -s conftest.err'
29523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29524 (eval $ac_try) 2>&5
29525 ac_status=$?
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); }; } &&
29528 { ac_try='test -s conftest$ac_exeext'
29529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29530 (eval $ac_try) 2>&5
29531 ac_status=$?
29532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533 (exit $ac_status); }; }; then
29534 glibcxx_cv_S_IFREG=yes
29535 else
29536 echo "$as_me: failed program was:" >&5
29537 sed 's/^/| /' conftest.$ac_ext >&5
29539 glibcxx_cv_S_IFREG=no
29541 rm -f conftest.err conftest.$ac_objext \
29542 conftest$ac_exeext conftest.$ac_ext
29546 res=no
29547 if test $glibcxx_cv_S_ISREG = yes; then
29549 cat >>confdefs.h <<\_ACEOF
29550 #define HAVE_S_ISREG 1
29551 _ACEOF
29553 res=S_ISREG
29554 elif test $glibcxx_cv_S_IFREG = yes; then
29556 cat >>confdefs.h <<\_ACEOF
29557 #define HAVE_S_IFREG 1
29558 _ACEOF
29560 res=S_IFREG
29562 echo "$as_me:$LINENO: result: $res" >&5
29563 echo "${ECHO_T}$res" >&6
29566 # For xsputn_2().
29568 for ac_header in sys/uio.h
29570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29572 echo "$as_me:$LINENO: checking for $ac_header" >&5
29573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29575 echo $ECHO_N "(cached) $ECHO_C" >&6
29577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29579 else
29580 # Is the header compilable?
29581 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29582 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29583 cat >conftest.$ac_ext <<_ACEOF
29584 /* confdefs.h. */
29585 _ACEOF
29586 cat confdefs.h >>conftest.$ac_ext
29587 cat >>conftest.$ac_ext <<_ACEOF
29588 /* end confdefs.h. */
29589 $ac_includes_default
29590 #include <$ac_header>
29591 _ACEOF
29592 rm -f conftest.$ac_objext
29593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29594 (eval $ac_compile) 2>conftest.er1
29595 ac_status=$?
29596 grep -v '^ *+' conftest.er1 >conftest.err
29597 rm -f conftest.er1
29598 cat conftest.err >&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } &&
29601 { ac_try='test -z "$ac_c_werror_flag"
29602 || test ! -s conftest.err'
29603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29604 (eval $ac_try) 2>&5
29605 ac_status=$?
29606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29607 (exit $ac_status); }; } &&
29608 { ac_try='test -s conftest.$ac_objext'
29609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29610 (eval $ac_try) 2>&5
29611 ac_status=$?
29612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29613 (exit $ac_status); }; }; then
29614 ac_header_compiler=yes
29615 else
29616 echo "$as_me: failed program was:" >&5
29617 sed 's/^/| /' conftest.$ac_ext >&5
29619 ac_header_compiler=no
29621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29623 echo "${ECHO_T}$ac_header_compiler" >&6
29625 # Is the header present?
29626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29628 cat >conftest.$ac_ext <<_ACEOF
29629 /* confdefs.h. */
29630 _ACEOF
29631 cat confdefs.h >>conftest.$ac_ext
29632 cat >>conftest.$ac_ext <<_ACEOF
29633 /* end confdefs.h. */
29634 #include <$ac_header>
29635 _ACEOF
29636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29638 ac_status=$?
29639 grep -v '^ *+' conftest.er1 >conftest.err
29640 rm -f conftest.er1
29641 cat conftest.err >&5
29642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 (exit $ac_status); } >/dev/null; then
29644 if test -s conftest.err; then
29645 ac_cpp_err=$ac_c_preproc_warn_flag
29646 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29647 else
29648 ac_cpp_err=
29650 else
29651 ac_cpp_err=yes
29653 if test -z "$ac_cpp_err"; then
29654 ac_header_preproc=yes
29655 else
29656 echo "$as_me: failed program was:" >&5
29657 sed 's/^/| /' conftest.$ac_ext >&5
29659 ac_header_preproc=no
29661 rm -f conftest.err conftest.$ac_ext
29662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29663 echo "${ECHO_T}$ac_header_preproc" >&6
29665 # So? What about this header?
29666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29667 yes:no: )
29668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29672 ac_header_preproc=yes
29674 no:yes:* )
29675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29688 cat <<\_ASBOX
29689 ## ----------------------------------------- ##
29690 ## Report this to the package-unused lists. ##
29691 ## ----------------------------------------- ##
29692 _ASBOX
29694 sed "s/^/$as_me: WARNING: /" >&2
29696 esac
29697 echo "$as_me:$LINENO: checking for $ac_header" >&5
29698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29700 echo $ECHO_N "(cached) $ECHO_C" >&6
29701 else
29702 eval "$as_ac_Header=\$ac_header_preproc"
29704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29709 cat >>confdefs.h <<_ACEOF
29710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29711 _ACEOF
29715 done
29718 echo "$as_me:$LINENO: checking for writev" >&5
29719 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29720 if test "${glibcxx_cv_WRITEV+set}" = set; then
29721 echo $ECHO_N "(cached) $ECHO_C" >&6
29722 else
29724 if test x$gcc_no_link = xyes; then
29725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29727 { (exit 1); exit 1; }; }
29729 cat >conftest.$ac_ext <<_ACEOF
29730 /* confdefs.h. */
29731 _ACEOF
29732 cat confdefs.h >>conftest.$ac_ext
29733 cat >>conftest.$ac_ext <<_ACEOF
29734 /* end confdefs.h. */
29735 #include <sys/uio.h>
29737 main ()
29739 struct iovec iov[2];
29740 writev(0, iov, 0);
29742 return 0;
29744 _ACEOF
29745 rm -f conftest.$ac_objext conftest$ac_exeext
29746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29747 (eval $ac_link) 2>conftest.er1
29748 ac_status=$?
29749 grep -v '^ *+' conftest.er1 >conftest.err
29750 rm -f conftest.er1
29751 cat conftest.err >&5
29752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29753 (exit $ac_status); } &&
29754 { ac_try='test -z "$ac_c_werror_flag"
29755 || test ! -s conftest.err'
29756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29757 (eval $ac_try) 2>&5
29758 ac_status=$?
29759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760 (exit $ac_status); }; } &&
29761 { ac_try='test -s conftest$ac_exeext'
29762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29763 (eval $ac_try) 2>&5
29764 ac_status=$?
29765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29766 (exit $ac_status); }; }; then
29767 glibcxx_cv_WRITEV=yes
29768 else
29769 echo "$as_me: failed program was:" >&5
29770 sed 's/^/| /' conftest.$ac_ext >&5
29772 glibcxx_cv_WRITEV=no
29774 rm -f conftest.err conftest.$ac_objext \
29775 conftest$ac_exeext conftest.$ac_ext
29779 if test $glibcxx_cv_WRITEV = yes; then
29781 cat >>confdefs.h <<\_ACEOF
29782 #define HAVE_WRITEV 1
29783 _ACEOF
29786 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29787 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29790 # For the __streamoff_base_type typedef.
29792 echo "$as_me:$LINENO: checking for int64_t" >&5
29793 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29794 if test "${glibcxx_cv_INT64_T+set}" = set; then
29795 echo $ECHO_N "(cached) $ECHO_C" >&6
29796 else
29798 cat >conftest.$ac_ext <<_ACEOF
29799 /* confdefs.h. */
29800 _ACEOF
29801 cat confdefs.h >>conftest.$ac_ext
29802 cat >>conftest.$ac_ext <<_ACEOF
29803 /* end confdefs.h. */
29804 #include <stdint.h>
29806 main ()
29808 int64_t var;
29810 return 0;
29812 _ACEOF
29813 rm -f conftest.$ac_objext
29814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29815 (eval $ac_compile) 2>conftest.er1
29816 ac_status=$?
29817 grep -v '^ *+' conftest.er1 >conftest.err
29818 rm -f conftest.er1
29819 cat conftest.err >&5
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); } &&
29822 { ac_try='test -z "$ac_c_werror_flag"
29823 || test ! -s conftest.err'
29824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29825 (eval $ac_try) 2>&5
29826 ac_status=$?
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); }; } &&
29829 { ac_try='test -s conftest.$ac_objext'
29830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29831 (eval $ac_try) 2>&5
29832 ac_status=$?
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); }; }; then
29835 glibcxx_cv_INT64_T=yes
29836 else
29837 echo "$as_me: failed program was:" >&5
29838 sed 's/^/| /' conftest.$ac_ext >&5
29840 glibcxx_cv_INT64_T=no
29842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29846 if test $glibcxx_cv_INT64_T = yes; then
29848 cat >>confdefs.h <<\_ACEOF
29849 #define HAVE_INT64_T 1
29850 _ACEOF
29853 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29854 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29857 # For LFS support.
29861 ac_ext=cc
29862 ac_cpp='$CXXCPP $CPPFLAGS'
29863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29867 ac_save_CXXFLAGS="$CXXFLAGS"
29868 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29869 echo "$as_me:$LINENO: checking for LFS support" >&5
29870 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29871 if test "${glibcxx_cv_LFS+set}" = set; then
29872 echo $ECHO_N "(cached) $ECHO_C" >&6
29873 else
29875 if test x$gcc_no_link = xyes; then
29876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29878 { (exit 1); exit 1; }; }
29880 cat >conftest.$ac_ext <<_ACEOF
29881 /* confdefs.h. */
29882 _ACEOF
29883 cat confdefs.h >>conftest.$ac_ext
29884 cat >>conftest.$ac_ext <<_ACEOF
29885 /* end confdefs.h. */
29886 #include <unistd.h>
29887 #include <stdio.h>
29888 #include <sys/stat.h>
29891 main ()
29893 FILE* fp;
29894 fopen64("t", "w");
29895 fseeko64(fp, 0, SEEK_CUR);
29896 ftello64(fp);
29897 lseek64(1, 0, SEEK_CUR);
29898 struct stat64 buf;
29899 fstat64(1, &buf);
29901 return 0;
29903 _ACEOF
29904 rm -f conftest.$ac_objext conftest$ac_exeext
29905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29906 (eval $ac_link) 2>conftest.er1
29907 ac_status=$?
29908 grep -v '^ *+' conftest.er1 >conftest.err
29909 rm -f conftest.er1
29910 cat conftest.err >&5
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); } &&
29913 { ac_try='test -z "$ac_cxx_werror_flag"
29914 || test ! -s conftest.err'
29915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29916 (eval $ac_try) 2>&5
29917 ac_status=$?
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); }; } &&
29920 { ac_try='test -s conftest$ac_exeext'
29921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29922 (eval $ac_try) 2>&5
29923 ac_status=$?
29924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925 (exit $ac_status); }; }; then
29926 glibcxx_cv_LFS=yes
29927 else
29928 echo "$as_me: failed program was:" >&5
29929 sed 's/^/| /' conftest.$ac_ext >&5
29931 glibcxx_cv_LFS=no
29933 rm -f conftest.err conftest.$ac_objext \
29934 conftest$ac_exeext conftest.$ac_ext
29938 if test $glibcxx_cv_LFS = yes; then
29940 cat >>confdefs.h <<\_ACEOF
29941 #define _GLIBCXX_USE_LFS 1
29942 _ACEOF
29945 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29946 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29947 CXXFLAGS="$ac_save_CXXFLAGS"
29948 ac_ext=c
29949 ac_cpp='$CPP $CPPFLAGS'
29950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29956 # For TLS support.
29958 # Check whether --enable-tls or --disable-tls was given.
29959 if test "${enable_tls+set}" = set; then
29960 enableval="$enable_tls"
29962 case "$enableval" in
29963 yes|no) ;;
29964 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
29965 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
29966 { (exit 1); exit 1; }; } ;;
29967 esac
29969 else
29970 enable_tls=yes
29973 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
29974 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
29975 if test "${have_tls+set}" = set; then
29976 echo $ECHO_N "(cached) $ECHO_C" >&6
29977 else
29979 if test "$cross_compiling" = yes; then
29980 cat >conftest.$ac_ext <<_ACEOF
29981 __thread int foo;
29982 _ACEOF
29983 rm -f conftest.$ac_objext
29984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29985 (eval $ac_compile) 2>conftest.er1
29986 ac_status=$?
29987 grep -v '^ *+' conftest.er1 >conftest.err
29988 rm -f conftest.er1
29989 cat conftest.err >&5
29990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29991 (exit $ac_status); } &&
29992 { ac_try='test -z "$ac_c_werror_flag"
29993 || test ! -s conftest.err'
29994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29995 (eval $ac_try) 2>&5
29996 ac_status=$?
29997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29998 (exit $ac_status); }; } &&
29999 { ac_try='test -s conftest.$ac_objext'
30000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30001 (eval $ac_try) 2>&5
30002 ac_status=$?
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); }; }; then
30005 have_tls=yes
30006 else
30007 echo "$as_me: failed program was:" >&5
30008 sed 's/^/| /' conftest.$ac_ext >&5
30010 have_tls=no
30012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30014 else
30015 cat >conftest.$ac_ext <<_ACEOF
30016 __thread int a; int b; int main() { return a = b; }
30017 _ACEOF
30018 rm -f conftest$ac_exeext
30019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30020 (eval $ac_link) 2>&5
30021 ac_status=$?
30022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30023 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30025 (eval $ac_try) 2>&5
30026 ac_status=$?
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); }; }; then
30029 save_LDFLAGS="$LDFLAGS"
30030 LDFLAGS="-static $LDFLAGS"
30031 if test "$cross_compiling" = yes; then
30032 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30033 See \`config.log' for more details." >&5
30034 echo "$as_me: error: cannot run test program while cross compiling
30035 See \`config.log' for more details." >&2;}
30036 { (exit 1); exit 1; }; }
30037 else
30038 cat >conftest.$ac_ext <<_ACEOF
30039 __thread int a; int b; int main() { return a = b; }
30040 _ACEOF
30041 rm -f conftest$ac_exeext
30042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30043 (eval $ac_link) 2>&5
30044 ac_status=$?
30045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30046 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30049 ac_status=$?
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; }; then
30052 have_tls=yes
30053 else
30054 echo "$as_me: program exited with status $ac_status" >&5
30055 echo "$as_me: failed program was:" >&5
30056 sed 's/^/| /' conftest.$ac_ext >&5
30058 ( exit $ac_status )
30059 have_tls=no
30061 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30063 LDFLAGS="$save_LDFLAGS"
30064 else
30065 echo "$as_me: program exited with status $ac_status" >&5
30066 echo "$as_me: failed program was:" >&5
30067 sed 's/^/| /' conftest.$ac_ext >&5
30069 ( exit $ac_status )
30070 have_tls=no
30072 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30075 echo "$as_me:$LINENO: result: $have_tls" >&5
30076 echo "${ECHO_T}$have_tls" >&6
30077 if test "$enable_tls $have_tls" = "yes yes"; then
30079 cat >>confdefs.h <<\_ACEOF
30080 #define HAVE_TLS 1
30081 _ACEOF
30086 if test "${ac_cv_header_locale_h+set}" = set; then
30087 echo "$as_me:$LINENO: checking for locale.h" >&5
30088 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30089 if test "${ac_cv_header_locale_h+set}" = set; then
30090 echo $ECHO_N "(cached) $ECHO_C" >&6
30092 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30093 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30094 else
30095 # Is the header compilable?
30096 echo "$as_me:$LINENO: checking locale.h usability" >&5
30097 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30098 cat >conftest.$ac_ext <<_ACEOF
30099 /* confdefs.h. */
30100 _ACEOF
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30104 $ac_includes_default
30105 #include <locale.h>
30106 _ACEOF
30107 rm -f conftest.$ac_objext
30108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30109 (eval $ac_compile) 2>conftest.er1
30110 ac_status=$?
30111 grep -v '^ *+' conftest.er1 >conftest.err
30112 rm -f conftest.er1
30113 cat conftest.err >&5
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); } &&
30116 { ac_try='test -z "$ac_c_werror_flag"
30117 || test ! -s conftest.err'
30118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30119 (eval $ac_try) 2>&5
30120 ac_status=$?
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); }; } &&
30123 { ac_try='test -s conftest.$ac_objext'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30126 ac_status=$?
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; }; then
30129 ac_header_compiler=yes
30130 else
30131 echo "$as_me: failed program was:" >&5
30132 sed 's/^/| /' conftest.$ac_ext >&5
30134 ac_header_compiler=no
30136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30137 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30138 echo "${ECHO_T}$ac_header_compiler" >&6
30140 # Is the header present?
30141 echo "$as_me:$LINENO: checking locale.h presence" >&5
30142 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30143 cat >conftest.$ac_ext <<_ACEOF
30144 /* confdefs.h. */
30145 _ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149 #include <locale.h>
30150 _ACEOF
30151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30152 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30153 ac_status=$?
30154 grep -v '^ *+' conftest.er1 >conftest.err
30155 rm -f conftest.er1
30156 cat conftest.err >&5
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); } >/dev/null; then
30159 if test -s conftest.err; then
30160 ac_cpp_err=$ac_c_preproc_warn_flag
30161 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30162 else
30163 ac_cpp_err=
30165 else
30166 ac_cpp_err=yes
30168 if test -z "$ac_cpp_err"; then
30169 ac_header_preproc=yes
30170 else
30171 echo "$as_me: failed program was:" >&5
30172 sed 's/^/| /' conftest.$ac_ext >&5
30174 ac_header_preproc=no
30176 rm -f conftest.err conftest.$ac_ext
30177 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30178 echo "${ECHO_T}$ac_header_preproc" >&6
30180 # So? What about this header?
30181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30182 yes:no: )
30183 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30184 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30185 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30186 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30187 ac_header_preproc=yes
30189 no:yes:* )
30190 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30191 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30192 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30193 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30194 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30195 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30196 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30197 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30198 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30199 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30200 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30201 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30203 cat <<\_ASBOX
30204 ## ----------------------------------------- ##
30205 ## Report this to the package-unused lists. ##
30206 ## ----------------------------------------- ##
30207 _ASBOX
30209 sed "s/^/$as_me: WARNING: /" >&2
30211 esac
30212 echo "$as_me:$LINENO: checking for locale.h" >&5
30213 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30214 if test "${ac_cv_header_locale_h+set}" = set; then
30215 echo $ECHO_N "(cached) $ECHO_C" >&6
30216 else
30217 ac_cv_header_locale_h=$ac_header_preproc
30219 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30220 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30223 if test $ac_cv_header_locale_h = yes; then
30225 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30226 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30227 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30228 echo $ECHO_N "(cached) $ECHO_C" >&6
30229 else
30230 if test x$gcc_no_link = xyes; then
30231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30233 { (exit 1); exit 1; }; }
30235 cat >conftest.$ac_ext <<_ACEOF
30236 /* confdefs.h. */
30237 _ACEOF
30238 cat confdefs.h >>conftest.$ac_ext
30239 cat >>conftest.$ac_ext <<_ACEOF
30240 /* end confdefs.h. */
30241 #include <locale.h>
30243 main ()
30245 return LC_MESSAGES
30247 return 0;
30249 _ACEOF
30250 rm -f conftest.$ac_objext conftest$ac_exeext
30251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30252 (eval $ac_link) 2>conftest.er1
30253 ac_status=$?
30254 grep -v '^ *+' conftest.er1 >conftest.err
30255 rm -f conftest.er1
30256 cat conftest.err >&5
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); } &&
30259 { ac_try='test -z "$ac_c_werror_flag"
30260 || test ! -s conftest.err'
30261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30262 (eval $ac_try) 2>&5
30263 ac_status=$?
30264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30265 (exit $ac_status); }; } &&
30266 { ac_try='test -s conftest$ac_exeext'
30267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30268 (eval $ac_try) 2>&5
30269 ac_status=$?
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); }; }; then
30272 ac_cv_val_LC_MESSAGES=yes
30273 else
30274 echo "$as_me: failed program was:" >&5
30275 sed 's/^/| /' conftest.$ac_ext >&5
30277 ac_cv_val_LC_MESSAGES=no
30279 rm -f conftest.err conftest.$ac_objext \
30280 conftest$ac_exeext conftest.$ac_ext
30282 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30283 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30284 if test $ac_cv_val_LC_MESSAGES = yes; then
30286 cat >>confdefs.h <<\_ACEOF
30287 #define HAVE_LC_MESSAGES 1
30288 _ACEOF
30297 cat >conftest.$ac_ext <<_ACEOF
30298 /* confdefs.h. */
30299 _ACEOF
30300 cat confdefs.h >>conftest.$ac_ext
30301 cat >>conftest.$ac_ext <<_ACEOF
30302 /* end confdefs.h. */
30303 #include <setjmp.h>
30305 main ()
30307 sigjmp_buf env;
30308 while (! sigsetjmp (env, 1))
30309 siglongjmp (env, 1);
30312 return 0;
30314 _ACEOF
30315 rm -f conftest.$ac_objext
30316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30317 (eval $ac_compile) 2>conftest.er1
30318 ac_status=$?
30319 grep -v '^ *+' conftest.er1 >conftest.err
30320 rm -f conftest.er1
30321 cat conftest.err >&5
30322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30323 (exit $ac_status); } &&
30324 { ac_try='test -z "$ac_c_werror_flag"
30325 || test ! -s conftest.err'
30326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30327 (eval $ac_try) 2>&5
30328 ac_status=$?
30329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30330 (exit $ac_status); }; } &&
30331 { ac_try='test -s conftest.$ac_objext'
30332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30333 (eval $ac_try) 2>&5
30334 ac_status=$?
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); }; }; then
30338 cat >>confdefs.h <<\_ACEOF
30339 #define HAVE_SIGSETJMP 1
30340 _ACEOF
30342 else
30343 echo "$as_me: failed program was:" >&5
30344 sed 's/^/| /' conftest.$ac_ext >&5
30347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30349 if test x$gcc_no_link = xyes; then
30350 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30351 ac_cv_func_mmap_fixed_mapped=no
30354 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
30357 for ac_header in stdlib.h unistd.h
30359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30361 echo "$as_me:$LINENO: checking for $ac_header" >&5
30362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30364 echo $ECHO_N "(cached) $ECHO_C" >&6
30366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30368 else
30369 # Is the header compilable?
30370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30372 cat >conftest.$ac_ext <<_ACEOF
30373 /* confdefs.h. */
30374 _ACEOF
30375 cat confdefs.h >>conftest.$ac_ext
30376 cat >>conftest.$ac_ext <<_ACEOF
30377 /* end confdefs.h. */
30378 $ac_includes_default
30379 #include <$ac_header>
30380 _ACEOF
30381 rm -f conftest.$ac_objext
30382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30383 (eval $ac_compile) 2>conftest.er1
30384 ac_status=$?
30385 grep -v '^ *+' conftest.er1 >conftest.err
30386 rm -f conftest.er1
30387 cat conftest.err >&5
30388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30389 (exit $ac_status); } &&
30390 { ac_try='test -z "$ac_c_werror_flag"
30391 || test ! -s conftest.err'
30392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30393 (eval $ac_try) 2>&5
30394 ac_status=$?
30395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30396 (exit $ac_status); }; } &&
30397 { ac_try='test -s conftest.$ac_objext'
30398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30399 (eval $ac_try) 2>&5
30400 ac_status=$?
30401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402 (exit $ac_status); }; }; then
30403 ac_header_compiler=yes
30404 else
30405 echo "$as_me: failed program was:" >&5
30406 sed 's/^/| /' conftest.$ac_ext >&5
30408 ac_header_compiler=no
30410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30412 echo "${ECHO_T}$ac_header_compiler" >&6
30414 # Is the header present?
30415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30417 cat >conftest.$ac_ext <<_ACEOF
30418 /* confdefs.h. */
30419 _ACEOF
30420 cat confdefs.h >>conftest.$ac_ext
30421 cat >>conftest.$ac_ext <<_ACEOF
30422 /* end confdefs.h. */
30423 #include <$ac_header>
30424 _ACEOF
30425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30427 ac_status=$?
30428 grep -v '^ *+' conftest.er1 >conftest.err
30429 rm -f conftest.er1
30430 cat conftest.err >&5
30431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30432 (exit $ac_status); } >/dev/null; then
30433 if test -s conftest.err; then
30434 ac_cpp_err=$ac_c_preproc_warn_flag
30435 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30436 else
30437 ac_cpp_err=
30439 else
30440 ac_cpp_err=yes
30442 if test -z "$ac_cpp_err"; then
30443 ac_header_preproc=yes
30444 else
30445 echo "$as_me: failed program was:" >&5
30446 sed 's/^/| /' conftest.$ac_ext >&5
30448 ac_header_preproc=no
30450 rm -f conftest.err conftest.$ac_ext
30451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30452 echo "${ECHO_T}$ac_header_preproc" >&6
30454 # So? What about this header?
30455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30456 yes:no: )
30457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30461 ac_header_preproc=yes
30463 no:yes:* )
30464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30467 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30470 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30471 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30474 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30477 cat <<\_ASBOX
30478 ## ----------------------------------------- ##
30479 ## Report this to the package-unused lists. ##
30480 ## ----------------------------------------- ##
30481 _ASBOX
30483 sed "s/^/$as_me: WARNING: /" >&2
30485 esac
30486 echo "$as_me:$LINENO: checking for $ac_header" >&5
30487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30489 echo $ECHO_N "(cached) $ECHO_C" >&6
30490 else
30491 eval "$as_ac_Header=\$ac_header_preproc"
30493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30498 cat >>confdefs.h <<_ACEOF
30499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30500 _ACEOF
30504 done
30507 for ac_func in getpagesize
30509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30510 echo "$as_me:$LINENO: checking for $ac_func" >&5
30511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30512 if eval "test \"\${$as_ac_var+set}\" = set"; then
30513 echo $ECHO_N "(cached) $ECHO_C" >&6
30514 else
30515 if test x$gcc_no_link = xyes; then
30516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30518 { (exit 1); exit 1; }; }
30520 cat >conftest.$ac_ext <<_ACEOF
30521 /* confdefs.h. */
30522 _ACEOF
30523 cat confdefs.h >>conftest.$ac_ext
30524 cat >>conftest.$ac_ext <<_ACEOF
30525 /* end confdefs.h. */
30526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30528 #define $ac_func innocuous_$ac_func
30530 /* System header to define __stub macros and hopefully few prototypes,
30531 which can conflict with char $ac_func (); below.
30532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30533 <limits.h> exists even on freestanding compilers. */
30535 #ifdef __STDC__
30536 # include <limits.h>
30537 #else
30538 # include <assert.h>
30539 #endif
30541 #undef $ac_func
30543 /* Override any gcc2 internal prototype to avoid an error. */
30544 #ifdef __cplusplus
30545 extern "C"
30547 #endif
30548 /* We use char because int might match the return type of a gcc2
30549 builtin and then its argument prototype would still apply. */
30550 char $ac_func ();
30551 /* The GNU C library defines this for functions which it implements
30552 to always fail with ENOSYS. Some functions are actually named
30553 something starting with __ and the normal name is an alias. */
30554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30555 choke me
30556 #else
30557 char (*f) () = $ac_func;
30558 #endif
30559 #ifdef __cplusplus
30561 #endif
30564 main ()
30566 return f != $ac_func;
30568 return 0;
30570 _ACEOF
30571 rm -f conftest.$ac_objext conftest$ac_exeext
30572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30573 (eval $ac_link) 2>conftest.er1
30574 ac_status=$?
30575 grep -v '^ *+' conftest.er1 >conftest.err
30576 rm -f conftest.er1
30577 cat conftest.err >&5
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); } &&
30580 { ac_try='test -z "$ac_c_werror_flag"
30581 || test ! -s conftest.err'
30582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30583 (eval $ac_try) 2>&5
30584 ac_status=$?
30585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586 (exit $ac_status); }; } &&
30587 { ac_try='test -s conftest$ac_exeext'
30588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30589 (eval $ac_try) 2>&5
30590 ac_status=$?
30591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30592 (exit $ac_status); }; }; then
30593 eval "$as_ac_var=yes"
30594 else
30595 echo "$as_me: failed program was:" >&5
30596 sed 's/^/| /' conftest.$ac_ext >&5
30598 eval "$as_ac_var=no"
30600 rm -f conftest.err conftest.$ac_objext \
30601 conftest$ac_exeext conftest.$ac_ext
30603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30605 if test `eval echo '${'$as_ac_var'}'` = yes; then
30606 cat >>confdefs.h <<_ACEOF
30607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30608 _ACEOF
30611 done
30613 echo "$as_me:$LINENO: checking for working mmap" >&5
30614 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30615 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30616 echo $ECHO_N "(cached) $ECHO_C" >&6
30617 else
30618 if test "$cross_compiling" = yes; then
30619 ac_cv_func_mmap_fixed_mapped=no
30620 else
30621 cat >conftest.$ac_ext <<_ACEOF
30622 /* confdefs.h. */
30623 _ACEOF
30624 cat confdefs.h >>conftest.$ac_ext
30625 cat >>conftest.$ac_ext <<_ACEOF
30626 /* end confdefs.h. */
30627 $ac_includes_default
30628 /* malloc might have been renamed as rpl_malloc. */
30629 #undef malloc
30631 /* Thanks to Mike Haertel and Jim Avera for this test.
30632 Here is a matrix of mmap possibilities:
30633 mmap private not fixed
30634 mmap private fixed at somewhere currently unmapped
30635 mmap private fixed at somewhere already mapped
30636 mmap shared not fixed
30637 mmap shared fixed at somewhere currently unmapped
30638 mmap shared fixed at somewhere already mapped
30639 For private mappings, we should verify that changes cannot be read()
30640 back from the file, nor mmap's back from the file at a different
30641 address. (There have been systems where private was not correctly
30642 implemented like the infamous i386 svr4.0, and systems where the
30643 VM page cache was not coherent with the file system buffer cache
30644 like early versions of FreeBSD and possibly contemporary NetBSD.)
30645 For shared mappings, we should conversely verify that changes get
30646 propagated back to all the places they're supposed to be.
30648 Grep wants private fixed already mapped.
30649 The main things grep needs to know about mmap are:
30650 * does it exist and is it safe to write into the mmap'd area
30651 * how to use it (BSD variants) */
30653 #include <fcntl.h>
30654 #include <sys/mman.h>
30656 #if !STDC_HEADERS && !HAVE_STDLIB_H
30657 char *malloc ();
30658 #endif
30660 /* This mess was copied from the GNU getpagesize.h. */
30661 #if !HAVE_GETPAGESIZE
30662 /* Assume that all systems that can run configure have sys/param.h. */
30663 # if !HAVE_SYS_PARAM_H
30664 # define HAVE_SYS_PARAM_H 1
30665 # endif
30667 # ifdef _SC_PAGESIZE
30668 # define getpagesize() sysconf(_SC_PAGESIZE)
30669 # else /* no _SC_PAGESIZE */
30670 # if HAVE_SYS_PARAM_H
30671 # include <sys/param.h>
30672 # ifdef EXEC_PAGESIZE
30673 # define getpagesize() EXEC_PAGESIZE
30674 # else /* no EXEC_PAGESIZE */
30675 # ifdef NBPG
30676 # define getpagesize() NBPG * CLSIZE
30677 # ifndef CLSIZE
30678 # define CLSIZE 1
30679 # endif /* no CLSIZE */
30680 # else /* no NBPG */
30681 # ifdef NBPC
30682 # define getpagesize() NBPC
30683 # else /* no NBPC */
30684 # ifdef PAGESIZE
30685 # define getpagesize() PAGESIZE
30686 # endif /* PAGESIZE */
30687 # endif /* no NBPC */
30688 # endif /* no NBPG */
30689 # endif /* no EXEC_PAGESIZE */
30690 # else /* no HAVE_SYS_PARAM_H */
30691 # define getpagesize() 8192 /* punt totally */
30692 # endif /* no HAVE_SYS_PARAM_H */
30693 # endif /* no _SC_PAGESIZE */
30695 #endif /* no HAVE_GETPAGESIZE */
30698 main ()
30700 char *data, *data2, *data3;
30701 int i, pagesize;
30702 int fd;
30704 pagesize = getpagesize ();
30706 /* First, make a file with some known garbage in it. */
30707 data = (char *) malloc (pagesize);
30708 if (!data)
30709 exit (1);
30710 for (i = 0; i < pagesize; ++i)
30711 *(data + i) = rand ();
30712 umask (0);
30713 fd = creat ("conftest.mmap", 0600);
30714 if (fd < 0)
30715 exit (1);
30716 if (write (fd, data, pagesize) != pagesize)
30717 exit (1);
30718 close (fd);
30720 /* Next, try to mmap the file at a fixed address which already has
30721 something else allocated at it. If we can, also make sure that
30722 we see the same garbage. */
30723 fd = open ("conftest.mmap", O_RDWR);
30724 if (fd < 0)
30725 exit (1);
30726 data2 = (char *) malloc (2 * pagesize);
30727 if (!data2)
30728 exit (1);
30729 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30730 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30731 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30732 exit (1);
30733 for (i = 0; i < pagesize; ++i)
30734 if (*(data + i) != *(data2 + i))
30735 exit (1);
30737 /* Finally, make sure that changes to the mapped area do not
30738 percolate back to the file as seen by read(). (This is a bug on
30739 some variants of i386 svr4.0.) */
30740 for (i = 0; i < pagesize; ++i)
30741 *(data2 + i) = *(data2 + i) + 1;
30742 data3 = (char *) malloc (pagesize);
30743 if (!data3)
30744 exit (1);
30745 if (read (fd, data3, pagesize) != pagesize)
30746 exit (1);
30747 for (i = 0; i < pagesize; ++i)
30748 if (*(data + i) != *(data3 + i))
30749 exit (1);
30750 close (fd);
30751 exit (0);
30753 _ACEOF
30754 rm -f conftest$ac_exeext
30755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30756 (eval $ac_link) 2>&5
30757 ac_status=$?
30758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30759 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30761 (eval $ac_try) 2>&5
30762 ac_status=$?
30763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764 (exit $ac_status); }; }; then
30765 ac_cv_func_mmap_fixed_mapped=yes
30766 else
30767 echo "$as_me: program exited with status $ac_status" >&5
30768 echo "$as_me: failed program was:" >&5
30769 sed 's/^/| /' conftest.$ac_ext >&5
30771 ( exit $ac_status )
30772 ac_cv_func_mmap_fixed_mapped=no
30774 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30777 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30778 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30779 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30781 cat >>confdefs.h <<\_ACEOF
30782 #define HAVE_MMAP 1
30783 _ACEOF
30786 rm -f conftest.mmap
30790 else
30792 # This lets us hard-code the functionality we know we'll have in the cross
30793 # target environment. "Let" is a sugar-coated word placed on an especially
30794 # dull and tedious hack, actually.
30796 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30797 # that involve linking, can't be used:
30798 # "cannot open sim-crt0.o"
30799 # "cannot open crt0.o"
30800 # etc. All this is because there currently exists no unified, consistent
30801 # way for top level CC information to be passed down to target directories:
30802 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30803 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30804 # crosses can be removed.
30806 # If Canadian cross, then don't pick up tools from the build directory.
30807 # Used only in GLIBCXX_EXPORT_INCLUDES.
30808 if test -n "$with_cross_host" &&
30809 test x"$build_alias" != x"$with_cross_host" &&
30810 test x"$build" != x"$target";
30811 then
30812 CANADIAN=yes
30813 else
30814 CANADIAN=no
30817 # Construct crosses by hand, eliminating bits that need ld...
30818 # GLIBCXX_CHECK_COMPILER_FEATURES
30819 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30820 # GLIBCXX_CHECK_MATH_SUPPORT
30822 # First, test for "known" system libraries. We may be using newlib even
30823 # on a hosted environment.
30824 if test "x${with_newlib}" = "xyes"; then
30825 os_include_dir="os/newlib"
30826 cat >>confdefs.h <<\_ACEOF
30827 #define HAVE_HYPOT 1
30828 _ACEOF
30831 # GLIBCXX_CHECK_STDLIB_SUPPORT
30832 cat >>confdefs.h <<\_ACEOF
30833 #define HAVE_STRTOF 1
30834 _ACEOF
30836 # AC_FUNC_MMAP
30837 cat >>confdefs.h <<\_ACEOF
30838 #define HAVE_MMAP 1
30839 _ACEOF
30842 cat >>confdefs.h <<\_ACEOF
30843 #define HAVE_ACOSF 1
30844 _ACEOF
30846 cat >>confdefs.h <<\_ACEOF
30847 #define HAVE_ASINF 1
30848 _ACEOF
30850 cat >>confdefs.h <<\_ACEOF
30851 #define HAVE_ATAN2F 1
30852 _ACEOF
30854 cat >>confdefs.h <<\_ACEOF
30855 #define HAVE_ATANF 1
30856 _ACEOF
30858 cat >>confdefs.h <<\_ACEOF
30859 #define HAVE_CEILF 1
30860 _ACEOF
30862 cat >>confdefs.h <<\_ACEOF
30863 #define HAVE_COPYSIGN 1
30864 _ACEOF
30866 cat >>confdefs.h <<\_ACEOF
30867 #define HAVE_COPYSIGNF 1
30868 _ACEOF
30870 cat >>confdefs.h <<\_ACEOF
30871 #define HAVE_COSF 1
30872 _ACEOF
30874 cat >>confdefs.h <<\_ACEOF
30875 #define HAVE_COSHF 1
30876 _ACEOF
30878 cat >>confdefs.h <<\_ACEOF
30879 #define HAVE_EXPF 1
30880 _ACEOF
30882 cat >>confdefs.h <<\_ACEOF
30883 #define HAVE_FABSF 1
30884 _ACEOF
30886 cat >>confdefs.h <<\_ACEOF
30887 #define HAVE_FLOORF 1
30888 _ACEOF
30890 cat >>confdefs.h <<\_ACEOF
30891 #define HAVE_FMODF 1
30892 _ACEOF
30894 cat >>confdefs.h <<\_ACEOF
30895 #define HAVE_FREXPF 1
30896 _ACEOF
30898 cat >>confdefs.h <<\_ACEOF
30899 #define HAVE_LDEXPF 1
30900 _ACEOF
30902 cat >>confdefs.h <<\_ACEOF
30903 #define HAVE_LOG10F 1
30904 _ACEOF
30906 cat >>confdefs.h <<\_ACEOF
30907 #define HAVE_LOGF 1
30908 _ACEOF
30910 cat >>confdefs.h <<\_ACEOF
30911 #define HAVE_MODFF 1
30912 _ACEOF
30914 cat >>confdefs.h <<\_ACEOF
30915 #define HAVE_POWF 1
30916 _ACEOF
30918 cat >>confdefs.h <<\_ACEOF
30919 #define HAVE_SINF 1
30920 _ACEOF
30922 cat >>confdefs.h <<\_ACEOF
30923 #define HAVE_SINHF 1
30924 _ACEOF
30926 cat >>confdefs.h <<\_ACEOF
30927 #define HAVE_SQRTF 1
30928 _ACEOF
30930 cat >>confdefs.h <<\_ACEOF
30931 #define HAVE_TANF 1
30932 _ACEOF
30934 cat >>confdefs.h <<\_ACEOF
30935 #define HAVE_TANHF 1
30936 _ACEOF
30939 cat >>confdefs.h <<\_ACEOF
30940 #define HAVE_S_ISREG 1
30941 _ACEOF
30943 cat >>confdefs.h <<\_ACEOF
30944 #define HAVE_S_IFREG 1
30945 _ACEOF
30947 else
30949 # Base decisions on target environment.
30950 case "${host}" in
30951 arm*-*-symbianelf*)
30952 # This is a freestanding configuration; there is nothing to do here.
30955 *-darwin*)
30956 # Darwin versions vary, but the linker should work in a cross environment,
30957 # so we just check for all the features here.
30958 # Check for available headers.
30972 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30973 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30974 sys/types.h
30976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30978 echo "$as_me:$LINENO: checking for $ac_header" >&5
30979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30981 echo $ECHO_N "(cached) $ECHO_C" >&6
30983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30985 else
30986 # Is the header compilable?
30987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30989 cat >conftest.$ac_ext <<_ACEOF
30990 /* confdefs.h. */
30991 _ACEOF
30992 cat confdefs.h >>conftest.$ac_ext
30993 cat >>conftest.$ac_ext <<_ACEOF
30994 /* end confdefs.h. */
30995 $ac_includes_default
30996 #include <$ac_header>
30997 _ACEOF
30998 rm -f conftest.$ac_objext
30999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31000 (eval $ac_compile) 2>conftest.er1
31001 ac_status=$?
31002 grep -v '^ *+' conftest.er1 >conftest.err
31003 rm -f conftest.er1
31004 cat conftest.err >&5
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); } &&
31007 { ac_try='test -z "$ac_c_werror_flag"
31008 || test ! -s conftest.err'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31011 ac_status=$?
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; } &&
31014 { ac_try='test -s conftest.$ac_objext'
31015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31016 (eval $ac_try) 2>&5
31017 ac_status=$?
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); }; }; then
31020 ac_header_compiler=yes
31021 else
31022 echo "$as_me: failed program was:" >&5
31023 sed 's/^/| /' conftest.$ac_ext >&5
31025 ac_header_compiler=no
31027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31029 echo "${ECHO_T}$ac_header_compiler" >&6
31031 # Is the header present?
31032 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31033 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31034 cat >conftest.$ac_ext <<_ACEOF
31035 /* confdefs.h. */
31036 _ACEOF
31037 cat confdefs.h >>conftest.$ac_ext
31038 cat >>conftest.$ac_ext <<_ACEOF
31039 /* end confdefs.h. */
31040 #include <$ac_header>
31041 _ACEOF
31042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31044 ac_status=$?
31045 grep -v '^ *+' conftest.er1 >conftest.err
31046 rm -f conftest.er1
31047 cat conftest.err >&5
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); } >/dev/null; then
31050 if test -s conftest.err; then
31051 ac_cpp_err=$ac_c_preproc_warn_flag
31052 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31053 else
31054 ac_cpp_err=
31056 else
31057 ac_cpp_err=yes
31059 if test -z "$ac_cpp_err"; then
31060 ac_header_preproc=yes
31061 else
31062 echo "$as_me: failed program was:" >&5
31063 sed 's/^/| /' conftest.$ac_ext >&5
31065 ac_header_preproc=no
31067 rm -f conftest.err conftest.$ac_ext
31068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31069 echo "${ECHO_T}$ac_header_preproc" >&6
31071 # So? What about this header?
31072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31073 yes:no: )
31074 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31075 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31077 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31078 ac_header_preproc=yes
31080 no:yes:* )
31081 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31082 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31083 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31084 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31085 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31086 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31087 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31088 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31091 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31092 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31094 cat <<\_ASBOX
31095 ## ----------------------------------------- ##
31096 ## Report this to the package-unused lists. ##
31097 ## ----------------------------------------- ##
31098 _ASBOX
31100 sed "s/^/$as_me: WARNING: /" >&2
31102 esac
31103 echo "$as_me:$LINENO: checking for $ac_header" >&5
31104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31106 echo $ECHO_N "(cached) $ECHO_C" >&6
31107 else
31108 eval "$as_ac_Header=\$ac_header_preproc"
31110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31115 cat >>confdefs.h <<_ACEOF
31116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31117 _ACEOF
31121 done
31125 # All these tests are for C++; save the language and the compiler flags.
31126 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31127 # found in GLIBCXX_CONFIGURE.
31130 ac_ext=cc
31131 ac_cpp='$CXXCPP $CPPFLAGS'
31132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31136 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31137 ac_save_CXXFLAGS="$CXXFLAGS"
31139 # Check for maintainer-mode bits.
31140 if test x"$USE_MAINTAINER_MODE" = xno; then
31141 WERROR=''
31142 else
31143 WERROR='-Werror'
31146 # Check for -ffunction-sections -fdata-sections
31147 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31148 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31149 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31150 cat >conftest.$ac_ext <<_ACEOF
31151 /* confdefs.h. */
31152 _ACEOF
31153 cat confdefs.h >>conftest.$ac_ext
31154 cat >>conftest.$ac_ext <<_ACEOF
31155 /* end confdefs.h. */
31158 main ()
31160 int foo;
31162 return 0;
31164 _ACEOF
31165 rm -f conftest.$ac_objext
31166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31167 (eval $ac_compile) 2>conftest.er1
31168 ac_status=$?
31169 grep -v '^ *+' conftest.er1 >conftest.err
31170 rm -f conftest.er1
31171 cat conftest.err >&5
31172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31173 (exit $ac_status); } &&
31174 { ac_try='test -z "$ac_cxx_werror_flag"
31175 || test ! -s conftest.err'
31176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31177 (eval $ac_try) 2>&5
31178 ac_status=$?
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); }; } &&
31181 { ac_try='test -s conftest.$ac_objext'
31182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31183 (eval $ac_try) 2>&5
31184 ac_status=$?
31185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186 (exit $ac_status); }; }; then
31187 ac_fdsections=yes
31188 else
31189 echo "$as_me: failed program was:" >&5
31190 sed 's/^/| /' conftest.$ac_ext >&5
31192 ac_fdsections=no
31194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31195 if test "$ac_test_CXXFLAGS" = set; then
31196 CXXFLAGS="$ac_save_CXXFLAGS"
31197 else
31198 # this is the suspicious part
31199 CXXFLAGS=''
31201 if test x"$ac_fdsections" = x"yes"; then
31202 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31204 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31205 echo "${ECHO_T}$ac_fdsections" >&6
31207 ac_ext=c
31208 ac_cpp='$CPP $CPPFLAGS'
31209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31216 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31218 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31219 ac_save_CXXFLAGS="$CXXFLAGS"
31220 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31222 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31223 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31224 if test "${ac_cv_lib_m_sin+set}" = set; then
31225 echo $ECHO_N "(cached) $ECHO_C" >&6
31226 else
31227 ac_check_lib_save_LIBS=$LIBS
31228 LIBS="-lm $LIBS"
31229 if test x$gcc_no_link = xyes; then
31230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31232 { (exit 1); exit 1; }; }
31234 cat >conftest.$ac_ext <<_ACEOF
31235 /* confdefs.h. */
31236 _ACEOF
31237 cat confdefs.h >>conftest.$ac_ext
31238 cat >>conftest.$ac_ext <<_ACEOF
31239 /* end confdefs.h. */
31241 /* Override any gcc2 internal prototype to avoid an error. */
31242 #ifdef __cplusplus
31243 extern "C"
31244 #endif
31245 /* We use char because int might match the return type of a gcc2
31246 builtin and then its argument prototype would still apply. */
31247 char sin ();
31249 main ()
31251 sin ();
31253 return 0;
31255 _ACEOF
31256 rm -f conftest.$ac_objext conftest$ac_exeext
31257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31258 (eval $ac_link) 2>conftest.er1
31259 ac_status=$?
31260 grep -v '^ *+' conftest.er1 >conftest.err
31261 rm -f conftest.er1
31262 cat conftest.err >&5
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); } &&
31265 { ac_try='test -z "$ac_c_werror_flag"
31266 || test ! -s conftest.err'
31267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31268 (eval $ac_try) 2>&5
31269 ac_status=$?
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); }; } &&
31272 { ac_try='test -s conftest$ac_exeext'
31273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31274 (eval $ac_try) 2>&5
31275 ac_status=$?
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); }; }; then
31278 ac_cv_lib_m_sin=yes
31279 else
31280 echo "$as_me: failed program was:" >&5
31281 sed 's/^/| /' conftest.$ac_ext >&5
31283 ac_cv_lib_m_sin=no
31285 rm -f conftest.err conftest.$ac_objext \
31286 conftest$ac_exeext conftest.$ac_ext
31287 LIBS=$ac_check_lib_save_LIBS
31289 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31290 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31291 if test $ac_cv_lib_m_sin = yes; then
31292 libm="-lm"
31295 ac_save_LIBS="$LIBS"
31296 LIBS="$LIBS $libm"
31300 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31301 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31302 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31303 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31304 echo $ECHO_N "(cached) $ECHO_C" >&6
31305 else
31309 ac_ext=cc
31310 ac_cpp='$CXXCPP $CPPFLAGS'
31311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31315 cat >conftest.$ac_ext <<_ACEOF
31316 /* confdefs.h. */
31317 _ACEOF
31318 cat confdefs.h >>conftest.$ac_ext
31319 cat >>conftest.$ac_ext <<_ACEOF
31320 /* end confdefs.h. */
31321 #include <math.h>
31322 #ifdef HAVE_IEEEFP_H
31323 #include <ieeefp.h>
31324 #endif
31327 main ()
31329 isinf(0);
31331 return 0;
31333 _ACEOF
31334 rm -f conftest.$ac_objext
31335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31336 (eval $ac_compile) 2>conftest.er1
31337 ac_status=$?
31338 grep -v '^ *+' conftest.er1 >conftest.err
31339 rm -f conftest.er1
31340 cat conftest.err >&5
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); } &&
31343 { ac_try='test -z "$ac_cxx_werror_flag"
31344 || test ! -s conftest.err'
31345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31346 (eval $ac_try) 2>&5
31347 ac_status=$?
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; } &&
31350 { ac_try='test -s conftest.$ac_objext'
31351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31352 (eval $ac_try) 2>&5
31353 ac_status=$?
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); }; }; then
31356 glibcxx_cv_func_isinf_use=yes
31357 else
31358 echo "$as_me: failed program was:" >&5
31359 sed 's/^/| /' conftest.$ac_ext >&5
31361 glibcxx_cv_func_isinf_use=no
31363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31364 ac_ext=c
31365 ac_cpp='$CPP $CPPFLAGS'
31366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31375 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31377 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31379 for ac_func in isinf
31381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31382 echo "$as_me:$LINENO: checking for $ac_func" >&5
31383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31384 if eval "test \"\${$as_ac_var+set}\" = set"; then
31385 echo $ECHO_N "(cached) $ECHO_C" >&6
31386 else
31387 if test x$gcc_no_link = xyes; then
31388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31390 { (exit 1); exit 1; }; }
31392 cat >conftest.$ac_ext <<_ACEOF
31393 /* confdefs.h. */
31394 _ACEOF
31395 cat confdefs.h >>conftest.$ac_ext
31396 cat >>conftest.$ac_ext <<_ACEOF
31397 /* end confdefs.h. */
31398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31400 #define $ac_func innocuous_$ac_func
31402 /* System header to define __stub macros and hopefully few prototypes,
31403 which can conflict with char $ac_func (); below.
31404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31405 <limits.h> exists even on freestanding compilers. */
31407 #ifdef __STDC__
31408 # include <limits.h>
31409 #else
31410 # include <assert.h>
31411 #endif
31413 #undef $ac_func
31415 /* Override any gcc2 internal prototype to avoid an error. */
31416 #ifdef __cplusplus
31417 extern "C"
31419 #endif
31420 /* We use char because int might match the return type of a gcc2
31421 builtin and then its argument prototype would still apply. */
31422 char $ac_func ();
31423 /* The GNU C library defines this for functions which it implements
31424 to always fail with ENOSYS. Some functions are actually named
31425 something starting with __ and the normal name is an alias. */
31426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31427 choke me
31428 #else
31429 char (*f) () = $ac_func;
31430 #endif
31431 #ifdef __cplusplus
31433 #endif
31436 main ()
31438 return f != $ac_func;
31440 return 0;
31442 _ACEOF
31443 rm -f conftest.$ac_objext conftest$ac_exeext
31444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31445 (eval $ac_link) 2>conftest.er1
31446 ac_status=$?
31447 grep -v '^ *+' conftest.er1 >conftest.err
31448 rm -f conftest.er1
31449 cat conftest.err >&5
31450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31451 (exit $ac_status); } &&
31452 { ac_try='test -z "$ac_c_werror_flag"
31453 || test ! -s conftest.err'
31454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31455 (eval $ac_try) 2>&5
31456 ac_status=$?
31457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31458 (exit $ac_status); }; } &&
31459 { ac_try='test -s conftest$ac_exeext'
31460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31461 (eval $ac_try) 2>&5
31462 ac_status=$?
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); }; }; then
31465 eval "$as_ac_var=yes"
31466 else
31467 echo "$as_me: failed program was:" >&5
31468 sed 's/^/| /' conftest.$ac_ext >&5
31470 eval "$as_ac_var=no"
31472 rm -f conftest.err conftest.$ac_objext \
31473 conftest$ac_exeext conftest.$ac_ext
31475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31477 if test `eval echo '${'$as_ac_var'}'` = yes; then
31478 cat >>confdefs.h <<_ACEOF
31479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31480 _ACEOF
31483 done
31485 else
31487 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31488 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31489 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31490 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31491 echo $ECHO_N "(cached) $ECHO_C" >&6
31492 else
31496 ac_ext=cc
31497 ac_cpp='$CXXCPP $CPPFLAGS'
31498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31502 cat >conftest.$ac_ext <<_ACEOF
31503 /* confdefs.h. */
31504 _ACEOF
31505 cat confdefs.h >>conftest.$ac_ext
31506 cat >>conftest.$ac_ext <<_ACEOF
31507 /* end confdefs.h. */
31508 #include <math.h>
31509 #ifdef HAVE_IEEEFP_H
31510 #include <ieeefp.h>
31511 #endif
31514 main ()
31516 _isinf(0);
31518 return 0;
31520 _ACEOF
31521 rm -f conftest.$ac_objext
31522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31523 (eval $ac_compile) 2>conftest.er1
31524 ac_status=$?
31525 grep -v '^ *+' conftest.er1 >conftest.err
31526 rm -f conftest.er1
31527 cat conftest.err >&5
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); } &&
31530 { ac_try='test -z "$ac_cxx_werror_flag"
31531 || test ! -s conftest.err'
31532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31533 (eval $ac_try) 2>&5
31534 ac_status=$?
31535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31536 (exit $ac_status); }; } &&
31537 { ac_try='test -s conftest.$ac_objext'
31538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31539 (eval $ac_try) 2>&5
31540 ac_status=$?
31541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31542 (exit $ac_status); }; }; then
31543 glibcxx_cv_func__isinf_use=yes
31544 else
31545 echo "$as_me: failed program was:" >&5
31546 sed 's/^/| /' conftest.$ac_ext >&5
31548 glibcxx_cv_func__isinf_use=no
31550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31551 ac_ext=c
31552 ac_cpp='$CPP $CPPFLAGS'
31553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31561 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31562 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31564 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31566 for ac_func in _isinf
31568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31569 echo "$as_me:$LINENO: checking for $ac_func" >&5
31570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31571 if eval "test \"\${$as_ac_var+set}\" = set"; then
31572 echo $ECHO_N "(cached) $ECHO_C" >&6
31573 else
31574 if test x$gcc_no_link = xyes; then
31575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31577 { (exit 1); exit 1; }; }
31579 cat >conftest.$ac_ext <<_ACEOF
31580 /* confdefs.h. */
31581 _ACEOF
31582 cat confdefs.h >>conftest.$ac_ext
31583 cat >>conftest.$ac_ext <<_ACEOF
31584 /* end confdefs.h. */
31585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31587 #define $ac_func innocuous_$ac_func
31589 /* System header to define __stub macros and hopefully few prototypes,
31590 which can conflict with char $ac_func (); below.
31591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31592 <limits.h> exists even on freestanding compilers. */
31594 #ifdef __STDC__
31595 # include <limits.h>
31596 #else
31597 # include <assert.h>
31598 #endif
31600 #undef $ac_func
31602 /* Override any gcc2 internal prototype to avoid an error. */
31603 #ifdef __cplusplus
31604 extern "C"
31606 #endif
31607 /* We use char because int might match the return type of a gcc2
31608 builtin and then its argument prototype would still apply. */
31609 char $ac_func ();
31610 /* The GNU C library defines this for functions which it implements
31611 to always fail with ENOSYS. Some functions are actually named
31612 something starting with __ and the normal name is an alias. */
31613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31614 choke me
31615 #else
31616 char (*f) () = $ac_func;
31617 #endif
31618 #ifdef __cplusplus
31620 #endif
31623 main ()
31625 return f != $ac_func;
31627 return 0;
31629 _ACEOF
31630 rm -f conftest.$ac_objext conftest$ac_exeext
31631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31632 (eval $ac_link) 2>conftest.er1
31633 ac_status=$?
31634 grep -v '^ *+' conftest.er1 >conftest.err
31635 rm -f conftest.er1
31636 cat conftest.err >&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); } &&
31639 { ac_try='test -z "$ac_c_werror_flag"
31640 || test ! -s conftest.err'
31641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31642 (eval $ac_try) 2>&5
31643 ac_status=$?
31644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31645 (exit $ac_status); }; } &&
31646 { ac_try='test -s conftest$ac_exeext'
31647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31648 (eval $ac_try) 2>&5
31649 ac_status=$?
31650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31651 (exit $ac_status); }; }; then
31652 eval "$as_ac_var=yes"
31653 else
31654 echo "$as_me: failed program was:" >&5
31655 sed 's/^/| /' conftest.$ac_ext >&5
31657 eval "$as_ac_var=no"
31659 rm -f conftest.err conftest.$ac_objext \
31660 conftest$ac_exeext conftest.$ac_ext
31662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31664 if test `eval echo '${'$as_ac_var'}'` = yes; then
31665 cat >>confdefs.h <<_ACEOF
31666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31667 _ACEOF
31670 done
31680 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31681 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31682 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31683 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31684 echo $ECHO_N "(cached) $ECHO_C" >&6
31685 else
31689 ac_ext=cc
31690 ac_cpp='$CXXCPP $CPPFLAGS'
31691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31695 cat >conftest.$ac_ext <<_ACEOF
31696 /* confdefs.h. */
31697 _ACEOF
31698 cat confdefs.h >>conftest.$ac_ext
31699 cat >>conftest.$ac_ext <<_ACEOF
31700 /* end confdefs.h. */
31701 #include <math.h>
31702 #ifdef HAVE_IEEEFP_H
31703 #include <ieeefp.h>
31704 #endif
31707 main ()
31709 isnan(0);
31711 return 0;
31713 _ACEOF
31714 rm -f conftest.$ac_objext
31715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31716 (eval $ac_compile) 2>conftest.er1
31717 ac_status=$?
31718 grep -v '^ *+' conftest.er1 >conftest.err
31719 rm -f conftest.er1
31720 cat conftest.err >&5
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); } &&
31723 { ac_try='test -z "$ac_cxx_werror_flag"
31724 || test ! -s conftest.err'
31725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31726 (eval $ac_try) 2>&5
31727 ac_status=$?
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); }; } &&
31730 { ac_try='test -s conftest.$ac_objext'
31731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31732 (eval $ac_try) 2>&5
31733 ac_status=$?
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); }; }; then
31736 glibcxx_cv_func_isnan_use=yes
31737 else
31738 echo "$as_me: failed program was:" >&5
31739 sed 's/^/| /' conftest.$ac_ext >&5
31741 glibcxx_cv_func_isnan_use=no
31743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31744 ac_ext=c
31745 ac_cpp='$CPP $CPPFLAGS'
31746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31755 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31757 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31759 for ac_func in isnan
31761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31762 echo "$as_me:$LINENO: checking for $ac_func" >&5
31763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31764 if eval "test \"\${$as_ac_var+set}\" = set"; then
31765 echo $ECHO_N "(cached) $ECHO_C" >&6
31766 else
31767 if test x$gcc_no_link = xyes; then
31768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31770 { (exit 1); exit 1; }; }
31772 cat >conftest.$ac_ext <<_ACEOF
31773 /* confdefs.h. */
31774 _ACEOF
31775 cat confdefs.h >>conftest.$ac_ext
31776 cat >>conftest.$ac_ext <<_ACEOF
31777 /* end confdefs.h. */
31778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31780 #define $ac_func innocuous_$ac_func
31782 /* System header to define __stub macros and hopefully few prototypes,
31783 which can conflict with char $ac_func (); below.
31784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31785 <limits.h> exists even on freestanding compilers. */
31787 #ifdef __STDC__
31788 # include <limits.h>
31789 #else
31790 # include <assert.h>
31791 #endif
31793 #undef $ac_func
31795 /* Override any gcc2 internal prototype to avoid an error. */
31796 #ifdef __cplusplus
31797 extern "C"
31799 #endif
31800 /* We use char because int might match the return type of a gcc2
31801 builtin and then its argument prototype would still apply. */
31802 char $ac_func ();
31803 /* The GNU C library defines this for functions which it implements
31804 to always fail with ENOSYS. Some functions are actually named
31805 something starting with __ and the normal name is an alias. */
31806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31807 choke me
31808 #else
31809 char (*f) () = $ac_func;
31810 #endif
31811 #ifdef __cplusplus
31813 #endif
31816 main ()
31818 return f != $ac_func;
31820 return 0;
31822 _ACEOF
31823 rm -f conftest.$ac_objext conftest$ac_exeext
31824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31825 (eval $ac_link) 2>conftest.er1
31826 ac_status=$?
31827 grep -v '^ *+' conftest.er1 >conftest.err
31828 rm -f conftest.er1
31829 cat conftest.err >&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); } &&
31832 { ac_try='test -z "$ac_c_werror_flag"
31833 || test ! -s conftest.err'
31834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31835 (eval $ac_try) 2>&5
31836 ac_status=$?
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; } &&
31839 { ac_try='test -s conftest$ac_exeext'
31840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31841 (eval $ac_try) 2>&5
31842 ac_status=$?
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); }; }; then
31845 eval "$as_ac_var=yes"
31846 else
31847 echo "$as_me: failed program was:" >&5
31848 sed 's/^/| /' conftest.$ac_ext >&5
31850 eval "$as_ac_var=no"
31852 rm -f conftest.err conftest.$ac_objext \
31853 conftest$ac_exeext conftest.$ac_ext
31855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31857 if test `eval echo '${'$as_ac_var'}'` = yes; then
31858 cat >>confdefs.h <<_ACEOF
31859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31860 _ACEOF
31863 done
31865 else
31867 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31868 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31869 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31870 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31871 echo $ECHO_N "(cached) $ECHO_C" >&6
31872 else
31876 ac_ext=cc
31877 ac_cpp='$CXXCPP $CPPFLAGS'
31878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31882 cat >conftest.$ac_ext <<_ACEOF
31883 /* confdefs.h. */
31884 _ACEOF
31885 cat confdefs.h >>conftest.$ac_ext
31886 cat >>conftest.$ac_ext <<_ACEOF
31887 /* end confdefs.h. */
31888 #include <math.h>
31889 #ifdef HAVE_IEEEFP_H
31890 #include <ieeefp.h>
31891 #endif
31894 main ()
31896 _isnan(0);
31898 return 0;
31900 _ACEOF
31901 rm -f conftest.$ac_objext
31902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31903 (eval $ac_compile) 2>conftest.er1
31904 ac_status=$?
31905 grep -v '^ *+' conftest.er1 >conftest.err
31906 rm -f conftest.er1
31907 cat conftest.err >&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); } &&
31910 { ac_try='test -z "$ac_cxx_werror_flag"
31911 || test ! -s conftest.err'
31912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31913 (eval $ac_try) 2>&5
31914 ac_status=$?
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); }; } &&
31917 { ac_try='test -s conftest.$ac_objext'
31918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31919 (eval $ac_try) 2>&5
31920 ac_status=$?
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); }; }; then
31923 glibcxx_cv_func__isnan_use=yes
31924 else
31925 echo "$as_me: failed program was:" >&5
31926 sed 's/^/| /' conftest.$ac_ext >&5
31928 glibcxx_cv_func__isnan_use=no
31930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31931 ac_ext=c
31932 ac_cpp='$CPP $CPPFLAGS'
31933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31941 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31942 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31944 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31946 for ac_func in _isnan
31948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31949 echo "$as_me:$LINENO: checking for $ac_func" >&5
31950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31951 if eval "test \"\${$as_ac_var+set}\" = set"; then
31952 echo $ECHO_N "(cached) $ECHO_C" >&6
31953 else
31954 if test x$gcc_no_link = xyes; then
31955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31957 { (exit 1); exit 1; }; }
31959 cat >conftest.$ac_ext <<_ACEOF
31960 /* confdefs.h. */
31961 _ACEOF
31962 cat confdefs.h >>conftest.$ac_ext
31963 cat >>conftest.$ac_ext <<_ACEOF
31964 /* end confdefs.h. */
31965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31967 #define $ac_func innocuous_$ac_func
31969 /* System header to define __stub macros and hopefully few prototypes,
31970 which can conflict with char $ac_func (); below.
31971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31972 <limits.h> exists even on freestanding compilers. */
31974 #ifdef __STDC__
31975 # include <limits.h>
31976 #else
31977 # include <assert.h>
31978 #endif
31980 #undef $ac_func
31982 /* Override any gcc2 internal prototype to avoid an error. */
31983 #ifdef __cplusplus
31984 extern "C"
31986 #endif
31987 /* We use char because int might match the return type of a gcc2
31988 builtin and then its argument prototype would still apply. */
31989 char $ac_func ();
31990 /* The GNU C library defines this for functions which it implements
31991 to always fail with ENOSYS. Some functions are actually named
31992 something starting with __ and the normal name is an alias. */
31993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31994 choke me
31995 #else
31996 char (*f) () = $ac_func;
31997 #endif
31998 #ifdef __cplusplus
32000 #endif
32003 main ()
32005 return f != $ac_func;
32007 return 0;
32009 _ACEOF
32010 rm -f conftest.$ac_objext conftest$ac_exeext
32011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32012 (eval $ac_link) 2>conftest.er1
32013 ac_status=$?
32014 grep -v '^ *+' conftest.er1 >conftest.err
32015 rm -f conftest.er1
32016 cat conftest.err >&5
32017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 (exit $ac_status); } &&
32019 { ac_try='test -z "$ac_c_werror_flag"
32020 || test ! -s conftest.err'
32021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32022 (eval $ac_try) 2>&5
32023 ac_status=$?
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); }; } &&
32026 { ac_try='test -s conftest$ac_exeext'
32027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32028 (eval $ac_try) 2>&5
32029 ac_status=$?
32030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32031 (exit $ac_status); }; }; then
32032 eval "$as_ac_var=yes"
32033 else
32034 echo "$as_me: failed program was:" >&5
32035 sed 's/^/| /' conftest.$ac_ext >&5
32037 eval "$as_ac_var=no"
32039 rm -f conftest.err conftest.$ac_objext \
32040 conftest$ac_exeext conftest.$ac_ext
32042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32044 if test `eval echo '${'$as_ac_var'}'` = yes; then
32045 cat >>confdefs.h <<_ACEOF
32046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32047 _ACEOF
32050 done
32060 echo "$as_me:$LINENO: checking for finite declaration" >&5
32061 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32062 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32063 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32064 echo $ECHO_N "(cached) $ECHO_C" >&6
32065 else
32069 ac_ext=cc
32070 ac_cpp='$CXXCPP $CPPFLAGS'
32071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32075 cat >conftest.$ac_ext <<_ACEOF
32076 /* confdefs.h. */
32077 _ACEOF
32078 cat confdefs.h >>conftest.$ac_ext
32079 cat >>conftest.$ac_ext <<_ACEOF
32080 /* end confdefs.h. */
32081 #include <math.h>
32082 #ifdef HAVE_IEEEFP_H
32083 #include <ieeefp.h>
32084 #endif
32087 main ()
32089 finite(0);
32091 return 0;
32093 _ACEOF
32094 rm -f conftest.$ac_objext
32095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32096 (eval $ac_compile) 2>conftest.er1
32097 ac_status=$?
32098 grep -v '^ *+' conftest.er1 >conftest.err
32099 rm -f conftest.er1
32100 cat conftest.err >&5
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); } &&
32103 { ac_try='test -z "$ac_cxx_werror_flag"
32104 || test ! -s conftest.err'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32107 ac_status=$?
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; } &&
32110 { ac_try='test -s conftest.$ac_objext'
32111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32112 (eval $ac_try) 2>&5
32113 ac_status=$?
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); }; }; then
32116 glibcxx_cv_func_finite_use=yes
32117 else
32118 echo "$as_me: failed program was:" >&5
32119 sed 's/^/| /' conftest.$ac_ext >&5
32121 glibcxx_cv_func_finite_use=no
32123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32124 ac_ext=c
32125 ac_cpp='$CPP $CPPFLAGS'
32126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32134 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32135 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32137 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32139 for ac_func in finite
32141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32142 echo "$as_me:$LINENO: checking for $ac_func" >&5
32143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32144 if eval "test \"\${$as_ac_var+set}\" = set"; then
32145 echo $ECHO_N "(cached) $ECHO_C" >&6
32146 else
32147 if test x$gcc_no_link = xyes; then
32148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32150 { (exit 1); exit 1; }; }
32152 cat >conftest.$ac_ext <<_ACEOF
32153 /* confdefs.h. */
32154 _ACEOF
32155 cat confdefs.h >>conftest.$ac_ext
32156 cat >>conftest.$ac_ext <<_ACEOF
32157 /* end confdefs.h. */
32158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32160 #define $ac_func innocuous_$ac_func
32162 /* System header to define __stub macros and hopefully few prototypes,
32163 which can conflict with char $ac_func (); below.
32164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32165 <limits.h> exists even on freestanding compilers. */
32167 #ifdef __STDC__
32168 # include <limits.h>
32169 #else
32170 # include <assert.h>
32171 #endif
32173 #undef $ac_func
32175 /* Override any gcc2 internal prototype to avoid an error. */
32176 #ifdef __cplusplus
32177 extern "C"
32179 #endif
32180 /* We use char because int might match the return type of a gcc2
32181 builtin and then its argument prototype would still apply. */
32182 char $ac_func ();
32183 /* The GNU C library defines this for functions which it implements
32184 to always fail with ENOSYS. Some functions are actually named
32185 something starting with __ and the normal name is an alias. */
32186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32187 choke me
32188 #else
32189 char (*f) () = $ac_func;
32190 #endif
32191 #ifdef __cplusplus
32193 #endif
32196 main ()
32198 return f != $ac_func;
32200 return 0;
32202 _ACEOF
32203 rm -f conftest.$ac_objext conftest$ac_exeext
32204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32205 (eval $ac_link) 2>conftest.er1
32206 ac_status=$?
32207 grep -v '^ *+' conftest.er1 >conftest.err
32208 rm -f conftest.er1
32209 cat conftest.err >&5
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); } &&
32212 { ac_try='test -z "$ac_c_werror_flag"
32213 || test ! -s conftest.err'
32214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32215 (eval $ac_try) 2>&5
32216 ac_status=$?
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); }; } &&
32219 { ac_try='test -s conftest$ac_exeext'
32220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32221 (eval $ac_try) 2>&5
32222 ac_status=$?
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; }; then
32225 eval "$as_ac_var=yes"
32226 else
32227 echo "$as_me: failed program was:" >&5
32228 sed 's/^/| /' conftest.$ac_ext >&5
32230 eval "$as_ac_var=no"
32232 rm -f conftest.err conftest.$ac_objext \
32233 conftest$ac_exeext conftest.$ac_ext
32235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32237 if test `eval echo '${'$as_ac_var'}'` = yes; then
32238 cat >>confdefs.h <<_ACEOF
32239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32240 _ACEOF
32243 done
32245 else
32247 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32248 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32249 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32250 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32251 echo $ECHO_N "(cached) $ECHO_C" >&6
32252 else
32256 ac_ext=cc
32257 ac_cpp='$CXXCPP $CPPFLAGS'
32258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32262 cat >conftest.$ac_ext <<_ACEOF
32263 /* confdefs.h. */
32264 _ACEOF
32265 cat confdefs.h >>conftest.$ac_ext
32266 cat >>conftest.$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32268 #include <math.h>
32269 #ifdef HAVE_IEEEFP_H
32270 #include <ieeefp.h>
32271 #endif
32274 main ()
32276 _finite(0);
32278 return 0;
32280 _ACEOF
32281 rm -f conftest.$ac_objext
32282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32283 (eval $ac_compile) 2>conftest.er1
32284 ac_status=$?
32285 grep -v '^ *+' conftest.er1 >conftest.err
32286 rm -f conftest.er1
32287 cat conftest.err >&5
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); } &&
32290 { ac_try='test -z "$ac_cxx_werror_flag"
32291 || test ! -s conftest.err'
32292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293 (eval $ac_try) 2>&5
32294 ac_status=$?
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; } &&
32297 { ac_try='test -s conftest.$ac_objext'
32298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32299 (eval $ac_try) 2>&5
32300 ac_status=$?
32301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302 (exit $ac_status); }; }; then
32303 glibcxx_cv_func__finite_use=yes
32304 else
32305 echo "$as_me: failed program was:" >&5
32306 sed 's/^/| /' conftest.$ac_ext >&5
32308 glibcxx_cv_func__finite_use=no
32310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32311 ac_ext=c
32312 ac_cpp='$CPP $CPPFLAGS'
32313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32321 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32322 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32324 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32326 for ac_func in _finite
32328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32329 echo "$as_me:$LINENO: checking for $ac_func" >&5
32330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32331 if eval "test \"\${$as_ac_var+set}\" = set"; then
32332 echo $ECHO_N "(cached) $ECHO_C" >&6
32333 else
32334 if test x$gcc_no_link = xyes; then
32335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32337 { (exit 1); exit 1; }; }
32339 cat >conftest.$ac_ext <<_ACEOF
32340 /* confdefs.h. */
32341 _ACEOF
32342 cat confdefs.h >>conftest.$ac_ext
32343 cat >>conftest.$ac_ext <<_ACEOF
32344 /* end confdefs.h. */
32345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32347 #define $ac_func innocuous_$ac_func
32349 /* System header to define __stub macros and hopefully few prototypes,
32350 which can conflict with char $ac_func (); below.
32351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32352 <limits.h> exists even on freestanding compilers. */
32354 #ifdef __STDC__
32355 # include <limits.h>
32356 #else
32357 # include <assert.h>
32358 #endif
32360 #undef $ac_func
32362 /* Override any gcc2 internal prototype to avoid an error. */
32363 #ifdef __cplusplus
32364 extern "C"
32366 #endif
32367 /* We use char because int might match the return type of a gcc2
32368 builtin and then its argument prototype would still apply. */
32369 char $ac_func ();
32370 /* The GNU C library defines this for functions which it implements
32371 to always fail with ENOSYS. Some functions are actually named
32372 something starting with __ and the normal name is an alias. */
32373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32374 choke me
32375 #else
32376 char (*f) () = $ac_func;
32377 #endif
32378 #ifdef __cplusplus
32380 #endif
32383 main ()
32385 return f != $ac_func;
32387 return 0;
32389 _ACEOF
32390 rm -f conftest.$ac_objext conftest$ac_exeext
32391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32392 (eval $ac_link) 2>conftest.er1
32393 ac_status=$?
32394 grep -v '^ *+' conftest.er1 >conftest.err
32395 rm -f conftest.er1
32396 cat conftest.err >&5
32397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32398 (exit $ac_status); } &&
32399 { ac_try='test -z "$ac_c_werror_flag"
32400 || test ! -s conftest.err'
32401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32402 (eval $ac_try) 2>&5
32403 ac_status=$?
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); }; } &&
32406 { ac_try='test -s conftest$ac_exeext'
32407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32408 (eval $ac_try) 2>&5
32409 ac_status=$?
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); }; }; then
32412 eval "$as_ac_var=yes"
32413 else
32414 echo "$as_me: failed program was:" >&5
32415 sed 's/^/| /' conftest.$ac_ext >&5
32417 eval "$as_ac_var=no"
32419 rm -f conftest.err conftest.$ac_objext \
32420 conftest$ac_exeext conftest.$ac_ext
32422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32424 if test `eval echo '${'$as_ac_var'}'` = yes; then
32425 cat >>confdefs.h <<_ACEOF
32426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32427 _ACEOF
32430 done
32440 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32441 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32442 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32443 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32444 echo $ECHO_N "(cached) $ECHO_C" >&6
32445 else
32449 ac_ext=cc
32450 ac_cpp='$CXXCPP $CPPFLAGS'
32451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32455 cat >conftest.$ac_ext <<_ACEOF
32456 /* confdefs.h. */
32457 _ACEOF
32458 cat confdefs.h >>conftest.$ac_ext
32459 cat >>conftest.$ac_ext <<_ACEOF
32460 /* end confdefs.h. */
32461 #include <math.h>
32463 main ()
32465 copysign(0, 0);
32467 return 0;
32469 _ACEOF
32470 rm -f conftest.$ac_objext
32471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32472 (eval $ac_compile) 2>conftest.er1
32473 ac_status=$?
32474 grep -v '^ *+' conftest.er1 >conftest.err
32475 rm -f conftest.er1
32476 cat conftest.err >&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); } &&
32479 { ac_try='test -z "$ac_cxx_werror_flag"
32480 || test ! -s conftest.err'
32481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32482 (eval $ac_try) 2>&5
32483 ac_status=$?
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); }; } &&
32486 { ac_try='test -s conftest.$ac_objext'
32487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32488 (eval $ac_try) 2>&5
32489 ac_status=$?
32490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491 (exit $ac_status); }; }; then
32492 glibcxx_cv_func_copysign_use=yes
32493 else
32494 echo "$as_me: failed program was:" >&5
32495 sed 's/^/| /' conftest.$ac_ext >&5
32497 glibcxx_cv_func_copysign_use=no
32499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32500 ac_ext=c
32501 ac_cpp='$CPP $CPPFLAGS'
32502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32511 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32513 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32515 for ac_func in copysign
32517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32518 echo "$as_me:$LINENO: checking for $ac_func" >&5
32519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32520 if eval "test \"\${$as_ac_var+set}\" = set"; then
32521 echo $ECHO_N "(cached) $ECHO_C" >&6
32522 else
32523 if test x$gcc_no_link = xyes; then
32524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32526 { (exit 1); exit 1; }; }
32528 cat >conftest.$ac_ext <<_ACEOF
32529 /* confdefs.h. */
32530 _ACEOF
32531 cat confdefs.h >>conftest.$ac_ext
32532 cat >>conftest.$ac_ext <<_ACEOF
32533 /* end confdefs.h. */
32534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32536 #define $ac_func innocuous_$ac_func
32538 /* System header to define __stub macros and hopefully few prototypes,
32539 which can conflict with char $ac_func (); below.
32540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32541 <limits.h> exists even on freestanding compilers. */
32543 #ifdef __STDC__
32544 # include <limits.h>
32545 #else
32546 # include <assert.h>
32547 #endif
32549 #undef $ac_func
32551 /* Override any gcc2 internal prototype to avoid an error. */
32552 #ifdef __cplusplus
32553 extern "C"
32555 #endif
32556 /* We use char because int might match the return type of a gcc2
32557 builtin and then its argument prototype would still apply. */
32558 char $ac_func ();
32559 /* The GNU C library defines this for functions which it implements
32560 to always fail with ENOSYS. Some functions are actually named
32561 something starting with __ and the normal name is an alias. */
32562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32563 choke me
32564 #else
32565 char (*f) () = $ac_func;
32566 #endif
32567 #ifdef __cplusplus
32569 #endif
32572 main ()
32574 return f != $ac_func;
32576 return 0;
32578 _ACEOF
32579 rm -f conftest.$ac_objext conftest$ac_exeext
32580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32581 (eval $ac_link) 2>conftest.er1
32582 ac_status=$?
32583 grep -v '^ *+' conftest.er1 >conftest.err
32584 rm -f conftest.er1
32585 cat conftest.err >&5
32586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32587 (exit $ac_status); } &&
32588 { ac_try='test -z "$ac_c_werror_flag"
32589 || test ! -s conftest.err'
32590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32591 (eval $ac_try) 2>&5
32592 ac_status=$?
32593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32594 (exit $ac_status); }; } &&
32595 { ac_try='test -s conftest$ac_exeext'
32596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32597 (eval $ac_try) 2>&5
32598 ac_status=$?
32599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600 (exit $ac_status); }; }; then
32601 eval "$as_ac_var=yes"
32602 else
32603 echo "$as_me: failed program was:" >&5
32604 sed 's/^/| /' conftest.$ac_ext >&5
32606 eval "$as_ac_var=no"
32608 rm -f conftest.err conftest.$ac_objext \
32609 conftest$ac_exeext conftest.$ac_ext
32611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32613 if test `eval echo '${'$as_ac_var'}'` = yes; then
32614 cat >>confdefs.h <<_ACEOF
32615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32616 _ACEOF
32619 done
32621 else
32623 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32624 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32625 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32626 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32627 echo $ECHO_N "(cached) $ECHO_C" >&6
32628 else
32632 ac_ext=cc
32633 ac_cpp='$CXXCPP $CPPFLAGS'
32634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32638 cat >conftest.$ac_ext <<_ACEOF
32639 /* confdefs.h. */
32640 _ACEOF
32641 cat confdefs.h >>conftest.$ac_ext
32642 cat >>conftest.$ac_ext <<_ACEOF
32643 /* end confdefs.h. */
32644 #include <math.h>
32646 main ()
32648 _copysign(0, 0);
32650 return 0;
32652 _ACEOF
32653 rm -f conftest.$ac_objext
32654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32655 (eval $ac_compile) 2>conftest.er1
32656 ac_status=$?
32657 grep -v '^ *+' conftest.er1 >conftest.err
32658 rm -f conftest.er1
32659 cat conftest.err >&5
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); } &&
32662 { ac_try='test -z "$ac_cxx_werror_flag"
32663 || test ! -s conftest.err'
32664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32665 (eval $ac_try) 2>&5
32666 ac_status=$?
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); }; } &&
32669 { ac_try='test -s conftest.$ac_objext'
32670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32671 (eval $ac_try) 2>&5
32672 ac_status=$?
32673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32674 (exit $ac_status); }; }; then
32675 glibcxx_cv_func__copysign_use=yes
32676 else
32677 echo "$as_me: failed program was:" >&5
32678 sed 's/^/| /' conftest.$ac_ext >&5
32680 glibcxx_cv_func__copysign_use=no
32682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32683 ac_ext=c
32684 ac_cpp='$CPP $CPPFLAGS'
32685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32694 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32696 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32698 for ac_func in _copysign
32700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32701 echo "$as_me:$LINENO: checking for $ac_func" >&5
32702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32703 if eval "test \"\${$as_ac_var+set}\" = set"; then
32704 echo $ECHO_N "(cached) $ECHO_C" >&6
32705 else
32706 if test x$gcc_no_link = xyes; then
32707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32709 { (exit 1); exit 1; }; }
32711 cat >conftest.$ac_ext <<_ACEOF
32712 /* confdefs.h. */
32713 _ACEOF
32714 cat confdefs.h >>conftest.$ac_ext
32715 cat >>conftest.$ac_ext <<_ACEOF
32716 /* end confdefs.h. */
32717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32719 #define $ac_func innocuous_$ac_func
32721 /* System header to define __stub macros and hopefully few prototypes,
32722 which can conflict with char $ac_func (); below.
32723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32724 <limits.h> exists even on freestanding compilers. */
32726 #ifdef __STDC__
32727 # include <limits.h>
32728 #else
32729 # include <assert.h>
32730 #endif
32732 #undef $ac_func
32734 /* Override any gcc2 internal prototype to avoid an error. */
32735 #ifdef __cplusplus
32736 extern "C"
32738 #endif
32739 /* We use char because int might match the return type of a gcc2
32740 builtin and then its argument prototype would still apply. */
32741 char $ac_func ();
32742 /* The GNU C library defines this for functions which it implements
32743 to always fail with ENOSYS. Some functions are actually named
32744 something starting with __ and the normal name is an alias. */
32745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32746 choke me
32747 #else
32748 char (*f) () = $ac_func;
32749 #endif
32750 #ifdef __cplusplus
32752 #endif
32755 main ()
32757 return f != $ac_func;
32759 return 0;
32761 _ACEOF
32762 rm -f conftest.$ac_objext conftest$ac_exeext
32763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32764 (eval $ac_link) 2>conftest.er1
32765 ac_status=$?
32766 grep -v '^ *+' conftest.er1 >conftest.err
32767 rm -f conftest.er1
32768 cat conftest.err >&5
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); } &&
32771 { ac_try='test -z "$ac_c_werror_flag"
32772 || test ! -s conftest.err'
32773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774 (eval $ac_try) 2>&5
32775 ac_status=$?
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; } &&
32778 { ac_try='test -s conftest$ac_exeext'
32779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32780 (eval $ac_try) 2>&5
32781 ac_status=$?
32782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32783 (exit $ac_status); }; }; then
32784 eval "$as_ac_var=yes"
32785 else
32786 echo "$as_me: failed program was:" >&5
32787 sed 's/^/| /' conftest.$ac_ext >&5
32789 eval "$as_ac_var=no"
32791 rm -f conftest.err conftest.$ac_objext \
32792 conftest$ac_exeext conftest.$ac_ext
32794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32796 if test `eval echo '${'$as_ac_var'}'` = yes; then
32797 cat >>confdefs.h <<_ACEOF
32798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32799 _ACEOF
32802 done
32812 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32813 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32814 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32815 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32816 echo $ECHO_N "(cached) $ECHO_C" >&6
32817 else
32821 ac_ext=cc
32822 ac_cpp='$CXXCPP $CPPFLAGS'
32823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32827 cat >conftest.$ac_ext <<_ACEOF
32828 /* confdefs.h. */
32829 _ACEOF
32830 cat confdefs.h >>conftest.$ac_ext
32831 cat >>conftest.$ac_ext <<_ACEOF
32832 /* end confdefs.h. */
32833 #include <math.h>
32835 main ()
32837 sincos(0, 0, 0);
32839 return 0;
32841 _ACEOF
32842 rm -f conftest.$ac_objext
32843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32844 (eval $ac_compile) 2>conftest.er1
32845 ac_status=$?
32846 grep -v '^ *+' conftest.er1 >conftest.err
32847 rm -f conftest.er1
32848 cat conftest.err >&5
32849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); } &&
32851 { ac_try='test -z "$ac_cxx_werror_flag"
32852 || test ! -s conftest.err'
32853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32854 (eval $ac_try) 2>&5
32855 ac_status=$?
32856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857 (exit $ac_status); }; } &&
32858 { ac_try='test -s conftest.$ac_objext'
32859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32860 (eval $ac_try) 2>&5
32861 ac_status=$?
32862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32863 (exit $ac_status); }; }; then
32864 glibcxx_cv_func_sincos_use=yes
32865 else
32866 echo "$as_me: failed program was:" >&5
32867 sed 's/^/| /' conftest.$ac_ext >&5
32869 glibcxx_cv_func_sincos_use=no
32871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32872 ac_ext=c
32873 ac_cpp='$CPP $CPPFLAGS'
32874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32882 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32883 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32885 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32887 for ac_func in sincos
32889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32890 echo "$as_me:$LINENO: checking for $ac_func" >&5
32891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32892 if eval "test \"\${$as_ac_var+set}\" = set"; then
32893 echo $ECHO_N "(cached) $ECHO_C" >&6
32894 else
32895 if test x$gcc_no_link = xyes; then
32896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32898 { (exit 1); exit 1; }; }
32900 cat >conftest.$ac_ext <<_ACEOF
32901 /* confdefs.h. */
32902 _ACEOF
32903 cat confdefs.h >>conftest.$ac_ext
32904 cat >>conftest.$ac_ext <<_ACEOF
32905 /* end confdefs.h. */
32906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32908 #define $ac_func innocuous_$ac_func
32910 /* System header to define __stub macros and hopefully few prototypes,
32911 which can conflict with char $ac_func (); below.
32912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32913 <limits.h> exists even on freestanding compilers. */
32915 #ifdef __STDC__
32916 # include <limits.h>
32917 #else
32918 # include <assert.h>
32919 #endif
32921 #undef $ac_func
32923 /* Override any gcc2 internal prototype to avoid an error. */
32924 #ifdef __cplusplus
32925 extern "C"
32927 #endif
32928 /* We use char because int might match the return type of a gcc2
32929 builtin and then its argument prototype would still apply. */
32930 char $ac_func ();
32931 /* The GNU C library defines this for functions which it implements
32932 to always fail with ENOSYS. Some functions are actually named
32933 something starting with __ and the normal name is an alias. */
32934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32935 choke me
32936 #else
32937 char (*f) () = $ac_func;
32938 #endif
32939 #ifdef __cplusplus
32941 #endif
32944 main ()
32946 return f != $ac_func;
32948 return 0;
32950 _ACEOF
32951 rm -f conftest.$ac_objext conftest$ac_exeext
32952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32953 (eval $ac_link) 2>conftest.er1
32954 ac_status=$?
32955 grep -v '^ *+' conftest.er1 >conftest.err
32956 rm -f conftest.er1
32957 cat conftest.err >&5
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); } &&
32960 { ac_try='test -z "$ac_c_werror_flag"
32961 || test ! -s conftest.err'
32962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32963 (eval $ac_try) 2>&5
32964 ac_status=$?
32965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32966 (exit $ac_status); }; } &&
32967 { ac_try='test -s conftest$ac_exeext'
32968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32969 (eval $ac_try) 2>&5
32970 ac_status=$?
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); }; }; then
32973 eval "$as_ac_var=yes"
32974 else
32975 echo "$as_me: failed program was:" >&5
32976 sed 's/^/| /' conftest.$ac_ext >&5
32978 eval "$as_ac_var=no"
32980 rm -f conftest.err conftest.$ac_objext \
32981 conftest$ac_exeext conftest.$ac_ext
32983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32985 if test `eval echo '${'$as_ac_var'}'` = yes; then
32986 cat >>confdefs.h <<_ACEOF
32987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32988 _ACEOF
32991 done
32993 else
32995 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32996 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32997 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32998 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32999 echo $ECHO_N "(cached) $ECHO_C" >&6
33000 else
33004 ac_ext=cc
33005 ac_cpp='$CXXCPP $CPPFLAGS'
33006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33010 cat >conftest.$ac_ext <<_ACEOF
33011 /* confdefs.h. */
33012 _ACEOF
33013 cat confdefs.h >>conftest.$ac_ext
33014 cat >>conftest.$ac_ext <<_ACEOF
33015 /* end confdefs.h. */
33016 #include <math.h>
33018 main ()
33020 _sincos(0, 0, 0);
33022 return 0;
33024 _ACEOF
33025 rm -f conftest.$ac_objext
33026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33027 (eval $ac_compile) 2>conftest.er1
33028 ac_status=$?
33029 grep -v '^ *+' conftest.er1 >conftest.err
33030 rm -f conftest.er1
33031 cat conftest.err >&5
33032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33033 (exit $ac_status); } &&
33034 { ac_try='test -z "$ac_cxx_werror_flag"
33035 || test ! -s conftest.err'
33036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33037 (eval $ac_try) 2>&5
33038 ac_status=$?
33039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33040 (exit $ac_status); }; } &&
33041 { ac_try='test -s conftest.$ac_objext'
33042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33043 (eval $ac_try) 2>&5
33044 ac_status=$?
33045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33046 (exit $ac_status); }; }; then
33047 glibcxx_cv_func__sincos_use=yes
33048 else
33049 echo "$as_me: failed program was:" >&5
33050 sed 's/^/| /' conftest.$ac_ext >&5
33052 glibcxx_cv_func__sincos_use=no
33054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33055 ac_ext=c
33056 ac_cpp='$CPP $CPPFLAGS'
33057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33065 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33066 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33068 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33070 for ac_func in _sincos
33072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33073 echo "$as_me:$LINENO: checking for $ac_func" >&5
33074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33075 if eval "test \"\${$as_ac_var+set}\" = set"; then
33076 echo $ECHO_N "(cached) $ECHO_C" >&6
33077 else
33078 if test x$gcc_no_link = xyes; then
33079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33081 { (exit 1); exit 1; }; }
33083 cat >conftest.$ac_ext <<_ACEOF
33084 /* confdefs.h. */
33085 _ACEOF
33086 cat confdefs.h >>conftest.$ac_ext
33087 cat >>conftest.$ac_ext <<_ACEOF
33088 /* end confdefs.h. */
33089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33091 #define $ac_func innocuous_$ac_func
33093 /* System header to define __stub macros and hopefully few prototypes,
33094 which can conflict with char $ac_func (); below.
33095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33096 <limits.h> exists even on freestanding compilers. */
33098 #ifdef __STDC__
33099 # include <limits.h>
33100 #else
33101 # include <assert.h>
33102 #endif
33104 #undef $ac_func
33106 /* Override any gcc2 internal prototype to avoid an error. */
33107 #ifdef __cplusplus
33108 extern "C"
33110 #endif
33111 /* We use char because int might match the return type of a gcc2
33112 builtin and then its argument prototype would still apply. */
33113 char $ac_func ();
33114 /* The GNU C library defines this for functions which it implements
33115 to always fail with ENOSYS. Some functions are actually named
33116 something starting with __ and the normal name is an alias. */
33117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33118 choke me
33119 #else
33120 char (*f) () = $ac_func;
33121 #endif
33122 #ifdef __cplusplus
33124 #endif
33127 main ()
33129 return f != $ac_func;
33131 return 0;
33133 _ACEOF
33134 rm -f conftest.$ac_objext conftest$ac_exeext
33135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33136 (eval $ac_link) 2>conftest.er1
33137 ac_status=$?
33138 grep -v '^ *+' conftest.er1 >conftest.err
33139 rm -f conftest.er1
33140 cat conftest.err >&5
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); } &&
33143 { ac_try='test -z "$ac_c_werror_flag"
33144 || test ! -s conftest.err'
33145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33146 (eval $ac_try) 2>&5
33147 ac_status=$?
33148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33149 (exit $ac_status); }; } &&
33150 { ac_try='test -s conftest$ac_exeext'
33151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33152 (eval $ac_try) 2>&5
33153 ac_status=$?
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); }; }; then
33156 eval "$as_ac_var=yes"
33157 else
33158 echo "$as_me: failed program was:" >&5
33159 sed 's/^/| /' conftest.$ac_ext >&5
33161 eval "$as_ac_var=no"
33163 rm -f conftest.err conftest.$ac_objext \
33164 conftest$ac_exeext conftest.$ac_ext
33166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33168 if test `eval echo '${'$as_ac_var'}'` = yes; then
33169 cat >>confdefs.h <<_ACEOF
33170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33171 _ACEOF
33174 done
33184 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33185 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33186 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33187 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33188 echo $ECHO_N "(cached) $ECHO_C" >&6
33189 else
33193 ac_ext=cc
33194 ac_cpp='$CXXCPP $CPPFLAGS'
33195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33199 cat >conftest.$ac_ext <<_ACEOF
33200 /* confdefs.h. */
33201 _ACEOF
33202 cat confdefs.h >>conftest.$ac_ext
33203 cat >>conftest.$ac_ext <<_ACEOF
33204 /* end confdefs.h. */
33205 #include <math.h>
33206 #ifdef HAVE_IEEEFP_H
33207 #include <ieeefp.h>
33208 #endif
33211 main ()
33213 fpclass(0);
33215 return 0;
33217 _ACEOF
33218 rm -f conftest.$ac_objext
33219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33220 (eval $ac_compile) 2>conftest.er1
33221 ac_status=$?
33222 grep -v '^ *+' conftest.er1 >conftest.err
33223 rm -f conftest.er1
33224 cat conftest.err >&5
33225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226 (exit $ac_status); } &&
33227 { ac_try='test -z "$ac_cxx_werror_flag"
33228 || test ! -s conftest.err'
33229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33230 (eval $ac_try) 2>&5
33231 ac_status=$?
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); }; } &&
33234 { ac_try='test -s conftest.$ac_objext'
33235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236 (eval $ac_try) 2>&5
33237 ac_status=$?
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; }; then
33240 glibcxx_cv_func_fpclass_use=yes
33241 else
33242 echo "$as_me: failed program was:" >&5
33243 sed 's/^/| /' conftest.$ac_ext >&5
33245 glibcxx_cv_func_fpclass_use=no
33247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33248 ac_ext=c
33249 ac_cpp='$CPP $CPPFLAGS'
33250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33258 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33259 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33261 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33263 for ac_func in fpclass
33265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33266 echo "$as_me:$LINENO: checking for $ac_func" >&5
33267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33268 if eval "test \"\${$as_ac_var+set}\" = set"; then
33269 echo $ECHO_N "(cached) $ECHO_C" >&6
33270 else
33271 if test x$gcc_no_link = xyes; then
33272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33274 { (exit 1); exit 1; }; }
33276 cat >conftest.$ac_ext <<_ACEOF
33277 /* confdefs.h. */
33278 _ACEOF
33279 cat confdefs.h >>conftest.$ac_ext
33280 cat >>conftest.$ac_ext <<_ACEOF
33281 /* end confdefs.h. */
33282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33284 #define $ac_func innocuous_$ac_func
33286 /* System header to define __stub macros and hopefully few prototypes,
33287 which can conflict with char $ac_func (); below.
33288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33289 <limits.h> exists even on freestanding compilers. */
33291 #ifdef __STDC__
33292 # include <limits.h>
33293 #else
33294 # include <assert.h>
33295 #endif
33297 #undef $ac_func
33299 /* Override any gcc2 internal prototype to avoid an error. */
33300 #ifdef __cplusplus
33301 extern "C"
33303 #endif
33304 /* We use char because int might match the return type of a gcc2
33305 builtin and then its argument prototype would still apply. */
33306 char $ac_func ();
33307 /* The GNU C library defines this for functions which it implements
33308 to always fail with ENOSYS. Some functions are actually named
33309 something starting with __ and the normal name is an alias. */
33310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33311 choke me
33312 #else
33313 char (*f) () = $ac_func;
33314 #endif
33315 #ifdef __cplusplus
33317 #endif
33320 main ()
33322 return f != $ac_func;
33324 return 0;
33326 _ACEOF
33327 rm -f conftest.$ac_objext conftest$ac_exeext
33328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33329 (eval $ac_link) 2>conftest.er1
33330 ac_status=$?
33331 grep -v '^ *+' conftest.er1 >conftest.err
33332 rm -f conftest.er1
33333 cat conftest.err >&5
33334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33335 (exit $ac_status); } &&
33336 { ac_try='test -z "$ac_c_werror_flag"
33337 || test ! -s conftest.err'
33338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33339 (eval $ac_try) 2>&5
33340 ac_status=$?
33341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342 (exit $ac_status); }; } &&
33343 { ac_try='test -s conftest$ac_exeext'
33344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33345 (eval $ac_try) 2>&5
33346 ac_status=$?
33347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33348 (exit $ac_status); }; }; then
33349 eval "$as_ac_var=yes"
33350 else
33351 echo "$as_me: failed program was:" >&5
33352 sed 's/^/| /' conftest.$ac_ext >&5
33354 eval "$as_ac_var=no"
33356 rm -f conftest.err conftest.$ac_objext \
33357 conftest$ac_exeext conftest.$ac_ext
33359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33361 if test `eval echo '${'$as_ac_var'}'` = yes; then
33362 cat >>confdefs.h <<_ACEOF
33363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33364 _ACEOF
33367 done
33369 else
33371 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33372 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33373 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33374 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33375 echo $ECHO_N "(cached) $ECHO_C" >&6
33376 else
33380 ac_ext=cc
33381 ac_cpp='$CXXCPP $CPPFLAGS'
33382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33386 cat >conftest.$ac_ext <<_ACEOF
33387 /* confdefs.h. */
33388 _ACEOF
33389 cat confdefs.h >>conftest.$ac_ext
33390 cat >>conftest.$ac_ext <<_ACEOF
33391 /* end confdefs.h. */
33392 #include <math.h>
33393 #ifdef HAVE_IEEEFP_H
33394 #include <ieeefp.h>
33395 #endif
33398 main ()
33400 _fpclass(0);
33402 return 0;
33404 _ACEOF
33405 rm -f conftest.$ac_objext
33406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33407 (eval $ac_compile) 2>conftest.er1
33408 ac_status=$?
33409 grep -v '^ *+' conftest.er1 >conftest.err
33410 rm -f conftest.er1
33411 cat conftest.err >&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); } &&
33414 { ac_try='test -z "$ac_cxx_werror_flag"
33415 || test ! -s conftest.err'
33416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33417 (eval $ac_try) 2>&5
33418 ac_status=$?
33419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33420 (exit $ac_status); }; } &&
33421 { ac_try='test -s conftest.$ac_objext'
33422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33423 (eval $ac_try) 2>&5
33424 ac_status=$?
33425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33426 (exit $ac_status); }; }; then
33427 glibcxx_cv_func__fpclass_use=yes
33428 else
33429 echo "$as_me: failed program was:" >&5
33430 sed 's/^/| /' conftest.$ac_ext >&5
33432 glibcxx_cv_func__fpclass_use=no
33434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33435 ac_ext=c
33436 ac_cpp='$CPP $CPPFLAGS'
33437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33445 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33446 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33448 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33450 for ac_func in _fpclass
33452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33453 echo "$as_me:$LINENO: checking for $ac_func" >&5
33454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33455 if eval "test \"\${$as_ac_var+set}\" = set"; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33457 else
33458 if test x$gcc_no_link = xyes; then
33459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33461 { (exit 1); exit 1; }; }
33463 cat >conftest.$ac_ext <<_ACEOF
33464 /* confdefs.h. */
33465 _ACEOF
33466 cat confdefs.h >>conftest.$ac_ext
33467 cat >>conftest.$ac_ext <<_ACEOF
33468 /* end confdefs.h. */
33469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33471 #define $ac_func innocuous_$ac_func
33473 /* System header to define __stub macros and hopefully few prototypes,
33474 which can conflict with char $ac_func (); below.
33475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33476 <limits.h> exists even on freestanding compilers. */
33478 #ifdef __STDC__
33479 # include <limits.h>
33480 #else
33481 # include <assert.h>
33482 #endif
33484 #undef $ac_func
33486 /* Override any gcc2 internal prototype to avoid an error. */
33487 #ifdef __cplusplus
33488 extern "C"
33490 #endif
33491 /* We use char because int might match the return type of a gcc2
33492 builtin and then its argument prototype would still apply. */
33493 char $ac_func ();
33494 /* The GNU C library defines this for functions which it implements
33495 to always fail with ENOSYS. Some functions are actually named
33496 something starting with __ and the normal name is an alias. */
33497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33498 choke me
33499 #else
33500 char (*f) () = $ac_func;
33501 #endif
33502 #ifdef __cplusplus
33504 #endif
33507 main ()
33509 return f != $ac_func;
33511 return 0;
33513 _ACEOF
33514 rm -f conftest.$ac_objext conftest$ac_exeext
33515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33516 (eval $ac_link) 2>conftest.er1
33517 ac_status=$?
33518 grep -v '^ *+' conftest.er1 >conftest.err
33519 rm -f conftest.er1
33520 cat conftest.err >&5
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); } &&
33523 { ac_try='test -z "$ac_c_werror_flag"
33524 || test ! -s conftest.err'
33525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33526 (eval $ac_try) 2>&5
33527 ac_status=$?
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); }; } &&
33530 { ac_try='test -s conftest$ac_exeext'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33533 ac_status=$?
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; }; then
33536 eval "$as_ac_var=yes"
33537 else
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.$ac_ext >&5
33541 eval "$as_ac_var=no"
33543 rm -f conftest.err conftest.$ac_objext \
33544 conftest$ac_exeext conftest.$ac_ext
33546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33548 if test `eval echo '${'$as_ac_var'}'` = yes; then
33549 cat >>confdefs.h <<_ACEOF
33550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33551 _ACEOF
33554 done
33564 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33565 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33566 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33567 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33568 echo $ECHO_N "(cached) $ECHO_C" >&6
33569 else
33573 ac_ext=cc
33574 ac_cpp='$CXXCPP $CPPFLAGS'
33575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33579 cat >conftest.$ac_ext <<_ACEOF
33580 /* confdefs.h. */
33581 _ACEOF
33582 cat confdefs.h >>conftest.$ac_ext
33583 cat >>conftest.$ac_ext <<_ACEOF
33584 /* end confdefs.h. */
33585 #include <math.h>
33586 #ifdef HAVE_IEEEFP_H
33587 #include <ieeefp.h>
33588 #endif
33591 main ()
33593 qfpclass(0);
33595 return 0;
33597 _ACEOF
33598 rm -f conftest.$ac_objext
33599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33600 (eval $ac_compile) 2>conftest.er1
33601 ac_status=$?
33602 grep -v '^ *+' conftest.er1 >conftest.err
33603 rm -f conftest.er1
33604 cat conftest.err >&5
33605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33606 (exit $ac_status); } &&
33607 { ac_try='test -z "$ac_cxx_werror_flag"
33608 || test ! -s conftest.err'
33609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33610 (eval $ac_try) 2>&5
33611 ac_status=$?
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); }; } &&
33614 { ac_try='test -s conftest.$ac_objext'
33615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33616 (eval $ac_try) 2>&5
33617 ac_status=$?
33618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33619 (exit $ac_status); }; }; then
33620 glibcxx_cv_func_qfpclass_use=yes
33621 else
33622 echo "$as_me: failed program was:" >&5
33623 sed 's/^/| /' conftest.$ac_ext >&5
33625 glibcxx_cv_func_qfpclass_use=no
33627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33628 ac_ext=c
33629 ac_cpp='$CPP $CPPFLAGS'
33630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33638 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33639 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33641 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33643 for ac_func in qfpclass
33645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33646 echo "$as_me:$LINENO: checking for $ac_func" >&5
33647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33648 if eval "test \"\${$as_ac_var+set}\" = set"; then
33649 echo $ECHO_N "(cached) $ECHO_C" >&6
33650 else
33651 if test x$gcc_no_link = xyes; then
33652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33654 { (exit 1); exit 1; }; }
33656 cat >conftest.$ac_ext <<_ACEOF
33657 /* confdefs.h. */
33658 _ACEOF
33659 cat confdefs.h >>conftest.$ac_ext
33660 cat >>conftest.$ac_ext <<_ACEOF
33661 /* end confdefs.h. */
33662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33664 #define $ac_func innocuous_$ac_func
33666 /* System header to define __stub macros and hopefully few prototypes,
33667 which can conflict with char $ac_func (); below.
33668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33669 <limits.h> exists even on freestanding compilers. */
33671 #ifdef __STDC__
33672 # include <limits.h>
33673 #else
33674 # include <assert.h>
33675 #endif
33677 #undef $ac_func
33679 /* Override any gcc2 internal prototype to avoid an error. */
33680 #ifdef __cplusplus
33681 extern "C"
33683 #endif
33684 /* We use char because int might match the return type of a gcc2
33685 builtin and then its argument prototype would still apply. */
33686 char $ac_func ();
33687 /* The GNU C library defines this for functions which it implements
33688 to always fail with ENOSYS. Some functions are actually named
33689 something starting with __ and the normal name is an alias. */
33690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33691 choke me
33692 #else
33693 char (*f) () = $ac_func;
33694 #endif
33695 #ifdef __cplusplus
33697 #endif
33700 main ()
33702 return f != $ac_func;
33704 return 0;
33706 _ACEOF
33707 rm -f conftest.$ac_objext conftest$ac_exeext
33708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33709 (eval $ac_link) 2>conftest.er1
33710 ac_status=$?
33711 grep -v '^ *+' conftest.er1 >conftest.err
33712 rm -f conftest.er1
33713 cat conftest.err >&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); } &&
33716 { ac_try='test -z "$ac_c_werror_flag"
33717 || test ! -s conftest.err'
33718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33719 (eval $ac_try) 2>&5
33720 ac_status=$?
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); }; } &&
33723 { ac_try='test -s conftest$ac_exeext'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33726 ac_status=$?
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; }; then
33729 eval "$as_ac_var=yes"
33730 else
33731 echo "$as_me: failed program was:" >&5
33732 sed 's/^/| /' conftest.$ac_ext >&5
33734 eval "$as_ac_var=no"
33736 rm -f conftest.err conftest.$ac_objext \
33737 conftest$ac_exeext conftest.$ac_ext
33739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33741 if test `eval echo '${'$as_ac_var'}'` = yes; then
33742 cat >>confdefs.h <<_ACEOF
33743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33744 _ACEOF
33747 done
33749 else
33751 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33752 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33753 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33754 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33755 echo $ECHO_N "(cached) $ECHO_C" >&6
33756 else
33760 ac_ext=cc
33761 ac_cpp='$CXXCPP $CPPFLAGS'
33762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33766 cat >conftest.$ac_ext <<_ACEOF
33767 /* confdefs.h. */
33768 _ACEOF
33769 cat confdefs.h >>conftest.$ac_ext
33770 cat >>conftest.$ac_ext <<_ACEOF
33771 /* end confdefs.h. */
33772 #include <math.h>
33773 #ifdef HAVE_IEEEFP_H
33774 #include <ieeefp.h>
33775 #endif
33778 main ()
33780 _qfpclass(0);
33782 return 0;
33784 _ACEOF
33785 rm -f conftest.$ac_objext
33786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33787 (eval $ac_compile) 2>conftest.er1
33788 ac_status=$?
33789 grep -v '^ *+' conftest.er1 >conftest.err
33790 rm -f conftest.er1
33791 cat conftest.err >&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); } &&
33794 { ac_try='test -z "$ac_cxx_werror_flag"
33795 || test ! -s conftest.err'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33798 ac_status=$?
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; } &&
33801 { ac_try='test -s conftest.$ac_objext'
33802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33803 (eval $ac_try) 2>&5
33804 ac_status=$?
33805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33806 (exit $ac_status); }; }; then
33807 glibcxx_cv_func__qfpclass_use=yes
33808 else
33809 echo "$as_me: failed program was:" >&5
33810 sed 's/^/| /' conftest.$ac_ext >&5
33812 glibcxx_cv_func__qfpclass_use=no
33814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33815 ac_ext=c
33816 ac_cpp='$CPP $CPPFLAGS'
33817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33825 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33826 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33828 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33830 for ac_func in _qfpclass
33832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33833 echo "$as_me:$LINENO: checking for $ac_func" >&5
33834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33835 if eval "test \"\${$as_ac_var+set}\" = set"; then
33836 echo $ECHO_N "(cached) $ECHO_C" >&6
33837 else
33838 if test x$gcc_no_link = xyes; then
33839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33841 { (exit 1); exit 1; }; }
33843 cat >conftest.$ac_ext <<_ACEOF
33844 /* confdefs.h. */
33845 _ACEOF
33846 cat confdefs.h >>conftest.$ac_ext
33847 cat >>conftest.$ac_ext <<_ACEOF
33848 /* end confdefs.h. */
33849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33851 #define $ac_func innocuous_$ac_func
33853 /* System header to define __stub macros and hopefully few prototypes,
33854 which can conflict with char $ac_func (); below.
33855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33856 <limits.h> exists even on freestanding compilers. */
33858 #ifdef __STDC__
33859 # include <limits.h>
33860 #else
33861 # include <assert.h>
33862 #endif
33864 #undef $ac_func
33866 /* Override any gcc2 internal prototype to avoid an error. */
33867 #ifdef __cplusplus
33868 extern "C"
33870 #endif
33871 /* We use char because int might match the return type of a gcc2
33872 builtin and then its argument prototype would still apply. */
33873 char $ac_func ();
33874 /* The GNU C library defines this for functions which it implements
33875 to always fail with ENOSYS. Some functions are actually named
33876 something starting with __ and the normal name is an alias. */
33877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33878 choke me
33879 #else
33880 char (*f) () = $ac_func;
33881 #endif
33882 #ifdef __cplusplus
33884 #endif
33887 main ()
33889 return f != $ac_func;
33891 return 0;
33893 _ACEOF
33894 rm -f conftest.$ac_objext conftest$ac_exeext
33895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33896 (eval $ac_link) 2>conftest.er1
33897 ac_status=$?
33898 grep -v '^ *+' conftest.er1 >conftest.err
33899 rm -f conftest.er1
33900 cat conftest.err >&5
33901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33902 (exit $ac_status); } &&
33903 { ac_try='test -z "$ac_c_werror_flag"
33904 || test ! -s conftest.err'
33905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33906 (eval $ac_try) 2>&5
33907 ac_status=$?
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); }; } &&
33910 { ac_try='test -s conftest$ac_exeext'
33911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33912 (eval $ac_try) 2>&5
33913 ac_status=$?
33914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33915 (exit $ac_status); }; }; then
33916 eval "$as_ac_var=yes"
33917 else
33918 echo "$as_me: failed program was:" >&5
33919 sed 's/^/| /' conftest.$ac_ext >&5
33921 eval "$as_ac_var=no"
33923 rm -f conftest.err conftest.$ac_objext \
33924 conftest$ac_exeext conftest.$ac_ext
33926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33928 if test `eval echo '${'$as_ac_var'}'` = yes; then
33929 cat >>confdefs.h <<_ACEOF
33930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33931 _ACEOF
33934 done
33944 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33945 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33946 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33947 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33948 echo $ECHO_N "(cached) $ECHO_C" >&6
33949 else
33953 ac_ext=cc
33954 ac_cpp='$CXXCPP $CPPFLAGS'
33955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33959 cat >conftest.$ac_ext <<_ACEOF
33960 /* confdefs.h. */
33961 _ACEOF
33962 cat confdefs.h >>conftest.$ac_ext
33963 cat >>conftest.$ac_ext <<_ACEOF
33964 /* end confdefs.h. */
33965 #include <math.h>
33967 main ()
33969 hypot(0, 0);
33971 return 0;
33973 _ACEOF
33974 rm -f conftest.$ac_objext
33975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33976 (eval $ac_compile) 2>conftest.er1
33977 ac_status=$?
33978 grep -v '^ *+' conftest.er1 >conftest.err
33979 rm -f conftest.er1
33980 cat conftest.err >&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); } &&
33983 { ac_try='test -z "$ac_cxx_werror_flag"
33984 || test ! -s conftest.err'
33985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33986 (eval $ac_try) 2>&5
33987 ac_status=$?
33988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33989 (exit $ac_status); }; } &&
33990 { ac_try='test -s conftest.$ac_objext'
33991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33992 (eval $ac_try) 2>&5
33993 ac_status=$?
33994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995 (exit $ac_status); }; }; then
33996 glibcxx_cv_func_hypot_use=yes
33997 else
33998 echo "$as_me: failed program was:" >&5
33999 sed 's/^/| /' conftest.$ac_ext >&5
34001 glibcxx_cv_func_hypot_use=no
34003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34004 ac_ext=c
34005 ac_cpp='$CPP $CPPFLAGS'
34006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34014 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34015 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34017 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34019 for ac_func in hypot
34021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34022 echo "$as_me:$LINENO: checking for $ac_func" >&5
34023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34024 if eval "test \"\${$as_ac_var+set}\" = set"; then
34025 echo $ECHO_N "(cached) $ECHO_C" >&6
34026 else
34027 if test x$gcc_no_link = xyes; then
34028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34030 { (exit 1); exit 1; }; }
34032 cat >conftest.$ac_ext <<_ACEOF
34033 /* confdefs.h. */
34034 _ACEOF
34035 cat confdefs.h >>conftest.$ac_ext
34036 cat >>conftest.$ac_ext <<_ACEOF
34037 /* end confdefs.h. */
34038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34040 #define $ac_func innocuous_$ac_func
34042 /* System header to define __stub macros and hopefully few prototypes,
34043 which can conflict with char $ac_func (); below.
34044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34045 <limits.h> exists even on freestanding compilers. */
34047 #ifdef __STDC__
34048 # include <limits.h>
34049 #else
34050 # include <assert.h>
34051 #endif
34053 #undef $ac_func
34055 /* Override any gcc2 internal prototype to avoid an error. */
34056 #ifdef __cplusplus
34057 extern "C"
34059 #endif
34060 /* We use char because int might match the return type of a gcc2
34061 builtin and then its argument prototype would still apply. */
34062 char $ac_func ();
34063 /* The GNU C library defines this for functions which it implements
34064 to always fail with ENOSYS. Some functions are actually named
34065 something starting with __ and the normal name is an alias. */
34066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34067 choke me
34068 #else
34069 char (*f) () = $ac_func;
34070 #endif
34071 #ifdef __cplusplus
34073 #endif
34076 main ()
34078 return f != $ac_func;
34080 return 0;
34082 _ACEOF
34083 rm -f conftest.$ac_objext conftest$ac_exeext
34084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34085 (eval $ac_link) 2>conftest.er1
34086 ac_status=$?
34087 grep -v '^ *+' conftest.er1 >conftest.err
34088 rm -f conftest.er1
34089 cat conftest.err >&5
34090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34091 (exit $ac_status); } &&
34092 { ac_try='test -z "$ac_c_werror_flag"
34093 || test ! -s conftest.err'
34094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34095 (eval $ac_try) 2>&5
34096 ac_status=$?
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); }; } &&
34099 { ac_try='test -s conftest$ac_exeext'
34100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34101 (eval $ac_try) 2>&5
34102 ac_status=$?
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); }; }; then
34105 eval "$as_ac_var=yes"
34106 else
34107 echo "$as_me: failed program was:" >&5
34108 sed 's/^/| /' conftest.$ac_ext >&5
34110 eval "$as_ac_var=no"
34112 rm -f conftest.err conftest.$ac_objext \
34113 conftest$ac_exeext conftest.$ac_ext
34115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34117 if test `eval echo '${'$as_ac_var'}'` = yes; then
34118 cat >>confdefs.h <<_ACEOF
34119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34120 _ACEOF
34123 done
34125 else
34127 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34128 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34129 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34130 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34131 echo $ECHO_N "(cached) $ECHO_C" >&6
34132 else
34136 ac_ext=cc
34137 ac_cpp='$CXXCPP $CPPFLAGS'
34138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34142 cat >conftest.$ac_ext <<_ACEOF
34143 /* confdefs.h. */
34144 _ACEOF
34145 cat confdefs.h >>conftest.$ac_ext
34146 cat >>conftest.$ac_ext <<_ACEOF
34147 /* end confdefs.h. */
34148 #include <math.h>
34150 main ()
34152 _hypot(0, 0);
34154 return 0;
34156 _ACEOF
34157 rm -f conftest.$ac_objext
34158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34159 (eval $ac_compile) 2>conftest.er1
34160 ac_status=$?
34161 grep -v '^ *+' conftest.er1 >conftest.err
34162 rm -f conftest.er1
34163 cat conftest.err >&5
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); } &&
34166 { ac_try='test -z "$ac_cxx_werror_flag"
34167 || test ! -s conftest.err'
34168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34169 (eval $ac_try) 2>&5
34170 ac_status=$?
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); }; } &&
34173 { ac_try='test -s conftest.$ac_objext'
34174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34175 (eval $ac_try) 2>&5
34176 ac_status=$?
34177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34178 (exit $ac_status); }; }; then
34179 glibcxx_cv_func__hypot_use=yes
34180 else
34181 echo "$as_me: failed program was:" >&5
34182 sed 's/^/| /' conftest.$ac_ext >&5
34184 glibcxx_cv_func__hypot_use=no
34186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34187 ac_ext=c
34188 ac_cpp='$CPP $CPPFLAGS'
34189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34197 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34198 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34200 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34202 for ac_func in _hypot
34204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34205 echo "$as_me:$LINENO: checking for $ac_func" >&5
34206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34207 if eval "test \"\${$as_ac_var+set}\" = set"; then
34208 echo $ECHO_N "(cached) $ECHO_C" >&6
34209 else
34210 if test x$gcc_no_link = xyes; then
34211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34213 { (exit 1); exit 1; }; }
34215 cat >conftest.$ac_ext <<_ACEOF
34216 /* confdefs.h. */
34217 _ACEOF
34218 cat confdefs.h >>conftest.$ac_ext
34219 cat >>conftest.$ac_ext <<_ACEOF
34220 /* end confdefs.h. */
34221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34223 #define $ac_func innocuous_$ac_func
34225 /* System header to define __stub macros and hopefully few prototypes,
34226 which can conflict with char $ac_func (); below.
34227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34228 <limits.h> exists even on freestanding compilers. */
34230 #ifdef __STDC__
34231 # include <limits.h>
34232 #else
34233 # include <assert.h>
34234 #endif
34236 #undef $ac_func
34238 /* Override any gcc2 internal prototype to avoid an error. */
34239 #ifdef __cplusplus
34240 extern "C"
34242 #endif
34243 /* We use char because int might match the return type of a gcc2
34244 builtin and then its argument prototype would still apply. */
34245 char $ac_func ();
34246 /* The GNU C library defines this for functions which it implements
34247 to always fail with ENOSYS. Some functions are actually named
34248 something starting with __ and the normal name is an alias. */
34249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34250 choke me
34251 #else
34252 char (*f) () = $ac_func;
34253 #endif
34254 #ifdef __cplusplus
34256 #endif
34259 main ()
34261 return f != $ac_func;
34263 return 0;
34265 _ACEOF
34266 rm -f conftest.$ac_objext conftest$ac_exeext
34267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34268 (eval $ac_link) 2>conftest.er1
34269 ac_status=$?
34270 grep -v '^ *+' conftest.er1 >conftest.err
34271 rm -f conftest.er1
34272 cat conftest.err >&5
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); } &&
34275 { ac_try='test -z "$ac_c_werror_flag"
34276 || test ! -s conftest.err'
34277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34278 (eval $ac_try) 2>&5
34279 ac_status=$?
34280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34281 (exit $ac_status); }; } &&
34282 { ac_try='test -s conftest$ac_exeext'
34283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34284 (eval $ac_try) 2>&5
34285 ac_status=$?
34286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34287 (exit $ac_status); }; }; then
34288 eval "$as_ac_var=yes"
34289 else
34290 echo "$as_me: failed program was:" >&5
34291 sed 's/^/| /' conftest.$ac_ext >&5
34293 eval "$as_ac_var=no"
34295 rm -f conftest.err conftest.$ac_objext \
34296 conftest$ac_exeext conftest.$ac_ext
34298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34300 if test `eval echo '${'$as_ac_var'}'` = yes; then
34301 cat >>confdefs.h <<_ACEOF
34302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34303 _ACEOF
34306 done
34316 echo "$as_me:$LINENO: checking for float trig functions" >&5
34317 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34318 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34319 echo $ECHO_N "(cached) $ECHO_C" >&6
34320 else
34324 ac_ext=cc
34325 ac_cpp='$CXXCPP $CPPFLAGS'
34326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34330 cat >conftest.$ac_ext <<_ACEOF
34331 /* confdefs.h. */
34332 _ACEOF
34333 cat confdefs.h >>conftest.$ac_ext
34334 cat >>conftest.$ac_ext <<_ACEOF
34335 /* end confdefs.h. */
34336 #include <math.h>
34338 main ()
34340 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34342 return 0;
34344 _ACEOF
34345 rm -f conftest.$ac_objext
34346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34347 (eval $ac_compile) 2>conftest.er1
34348 ac_status=$?
34349 grep -v '^ *+' conftest.er1 >conftest.err
34350 rm -f conftest.er1
34351 cat conftest.err >&5
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); } &&
34354 { ac_try='test -z "$ac_cxx_werror_flag"
34355 || test ! -s conftest.err'
34356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34357 (eval $ac_try) 2>&5
34358 ac_status=$?
34359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34360 (exit $ac_status); }; } &&
34361 { ac_try='test -s conftest.$ac_objext'
34362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34363 (eval $ac_try) 2>&5
34364 ac_status=$?
34365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34366 (exit $ac_status); }; }; then
34367 glibcxx_cv_func_float_trig_use=yes
34368 else
34369 echo "$as_me: failed program was:" >&5
34370 sed 's/^/| /' conftest.$ac_ext >&5
34372 glibcxx_cv_func_float_trig_use=no
34374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34375 ac_ext=c
34376 ac_cpp='$CPP $CPPFLAGS'
34377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34383 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34384 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34385 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34395 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34398 echo "$as_me:$LINENO: checking for $ac_func" >&5
34399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34400 if eval "test \"\${$as_ac_var+set}\" = set"; then
34401 echo $ECHO_N "(cached) $ECHO_C" >&6
34402 else
34403 if test x$gcc_no_link = xyes; then
34404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34406 { (exit 1); exit 1; }; }
34408 cat >conftest.$ac_ext <<_ACEOF
34409 /* confdefs.h. */
34410 _ACEOF
34411 cat confdefs.h >>conftest.$ac_ext
34412 cat >>conftest.$ac_ext <<_ACEOF
34413 /* end confdefs.h. */
34414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34416 #define $ac_func innocuous_$ac_func
34418 /* System header to define __stub macros and hopefully few prototypes,
34419 which can conflict with char $ac_func (); below.
34420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34421 <limits.h> exists even on freestanding compilers. */
34423 #ifdef __STDC__
34424 # include <limits.h>
34425 #else
34426 # include <assert.h>
34427 #endif
34429 #undef $ac_func
34431 /* Override any gcc2 internal prototype to avoid an error. */
34432 #ifdef __cplusplus
34433 extern "C"
34435 #endif
34436 /* We use char because int might match the return type of a gcc2
34437 builtin and then its argument prototype would still apply. */
34438 char $ac_func ();
34439 /* The GNU C library defines this for functions which it implements
34440 to always fail with ENOSYS. Some functions are actually named
34441 something starting with __ and the normal name is an alias. */
34442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34443 choke me
34444 #else
34445 char (*f) () = $ac_func;
34446 #endif
34447 #ifdef __cplusplus
34449 #endif
34452 main ()
34454 return f != $ac_func;
34456 return 0;
34458 _ACEOF
34459 rm -f conftest.$ac_objext conftest$ac_exeext
34460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34461 (eval $ac_link) 2>conftest.er1
34462 ac_status=$?
34463 grep -v '^ *+' conftest.er1 >conftest.err
34464 rm -f conftest.er1
34465 cat conftest.err >&5
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); } &&
34468 { ac_try='test -z "$ac_c_werror_flag"
34469 || test ! -s conftest.err'
34470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34471 (eval $ac_try) 2>&5
34472 ac_status=$?
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); }; } &&
34475 { ac_try='test -s conftest$ac_exeext'
34476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34477 (eval $ac_try) 2>&5
34478 ac_status=$?
34479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480 (exit $ac_status); }; }; then
34481 eval "$as_ac_var=yes"
34482 else
34483 echo "$as_me: failed program was:" >&5
34484 sed 's/^/| /' conftest.$ac_ext >&5
34486 eval "$as_ac_var=no"
34488 rm -f conftest.err conftest.$ac_objext \
34489 conftest$ac_exeext conftest.$ac_ext
34491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34493 if test `eval echo '${'$as_ac_var'}'` = yes; then
34494 cat >>confdefs.h <<_ACEOF
34495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34496 _ACEOF
34499 done
34501 else
34502 echo "$as_me:$LINENO: checking for _float trig functions" >&5
34503 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
34504 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
34505 echo $ECHO_N "(cached) $ECHO_C" >&6
34506 else
34510 ac_ext=cc
34511 ac_cpp='$CXXCPP $CPPFLAGS'
34512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34516 cat >conftest.$ac_ext <<_ACEOF
34517 /* confdefs.h. */
34518 _ACEOF
34519 cat confdefs.h >>conftest.$ac_ext
34520 cat >>conftest.$ac_ext <<_ACEOF
34521 /* end confdefs.h. */
34522 #include <math.h>
34524 main ()
34526 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34528 return 0;
34530 _ACEOF
34531 rm -f conftest.$ac_objext
34532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34533 (eval $ac_compile) 2>conftest.er1
34534 ac_status=$?
34535 grep -v '^ *+' conftest.er1 >conftest.err
34536 rm -f conftest.er1
34537 cat conftest.err >&5
34538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34539 (exit $ac_status); } &&
34540 { ac_try='test -z "$ac_cxx_werror_flag"
34541 || test ! -s conftest.err'
34542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34543 (eval $ac_try) 2>&5
34544 ac_status=$?
34545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34546 (exit $ac_status); }; } &&
34547 { ac_try='test -s conftest.$ac_objext'
34548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34549 (eval $ac_try) 2>&5
34550 ac_status=$?
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); }; }; then
34553 glibcxx_cv_func__float_trig_use=yes
34554 else
34555 echo "$as_me: failed program was:" >&5
34556 sed 's/^/| /' conftest.$ac_ext >&5
34558 glibcxx_cv_func__float_trig_use=no
34560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34561 ac_ext=c
34562 ac_cpp='$CPP $CPPFLAGS'
34563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34569 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
34570 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
34571 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34581 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34584 echo "$as_me:$LINENO: checking for $ac_func" >&5
34585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34586 if eval "test \"\${$as_ac_var+set}\" = set"; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34588 else
34589 if test x$gcc_no_link = xyes; then
34590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34592 { (exit 1); exit 1; }; }
34594 cat >conftest.$ac_ext <<_ACEOF
34595 /* confdefs.h. */
34596 _ACEOF
34597 cat confdefs.h >>conftest.$ac_ext
34598 cat >>conftest.$ac_ext <<_ACEOF
34599 /* end confdefs.h. */
34600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34602 #define $ac_func innocuous_$ac_func
34604 /* System header to define __stub macros and hopefully few prototypes,
34605 which can conflict with char $ac_func (); below.
34606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34607 <limits.h> exists even on freestanding compilers. */
34609 #ifdef __STDC__
34610 # include <limits.h>
34611 #else
34612 # include <assert.h>
34613 #endif
34615 #undef $ac_func
34617 /* Override any gcc2 internal prototype to avoid an error. */
34618 #ifdef __cplusplus
34619 extern "C"
34621 #endif
34622 /* We use char because int might match the return type of a gcc2
34623 builtin and then its argument prototype would still apply. */
34624 char $ac_func ();
34625 /* The GNU C library defines this for functions which it implements
34626 to always fail with ENOSYS. Some functions are actually named
34627 something starting with __ and the normal name is an alias. */
34628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34629 choke me
34630 #else
34631 char (*f) () = $ac_func;
34632 #endif
34633 #ifdef __cplusplus
34635 #endif
34638 main ()
34640 return f != $ac_func;
34642 return 0;
34644 _ACEOF
34645 rm -f conftest.$ac_objext conftest$ac_exeext
34646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34647 (eval $ac_link) 2>conftest.er1
34648 ac_status=$?
34649 grep -v '^ *+' conftest.er1 >conftest.err
34650 rm -f conftest.er1
34651 cat conftest.err >&5
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); } &&
34654 { ac_try='test -z "$ac_c_werror_flag"
34655 || test ! -s conftest.err'
34656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34657 (eval $ac_try) 2>&5
34658 ac_status=$?
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); }; } &&
34661 { ac_try='test -s conftest$ac_exeext'
34662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34663 (eval $ac_try) 2>&5
34664 ac_status=$?
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); }; }; then
34667 eval "$as_ac_var=yes"
34668 else
34669 echo "$as_me: failed program was:" >&5
34670 sed 's/^/| /' conftest.$ac_ext >&5
34672 eval "$as_ac_var=no"
34674 rm -f conftest.err conftest.$ac_objext \
34675 conftest$ac_exeext conftest.$ac_ext
34677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34679 if test `eval echo '${'$as_ac_var'}'` = yes; then
34680 cat >>confdefs.h <<_ACEOF
34681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34682 _ACEOF
34685 done
34703 echo "$as_me:$LINENO: checking for float round functions" >&5
34704 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34705 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34706 echo $ECHO_N "(cached) $ECHO_C" >&6
34707 else
34711 ac_ext=cc
34712 ac_cpp='$CXXCPP $CPPFLAGS'
34713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34717 cat >conftest.$ac_ext <<_ACEOF
34718 /* confdefs.h. */
34719 _ACEOF
34720 cat confdefs.h >>conftest.$ac_ext
34721 cat >>conftest.$ac_ext <<_ACEOF
34722 /* end confdefs.h. */
34723 #include <math.h>
34725 main ()
34727 ceilf (0); floorf (0);
34729 return 0;
34731 _ACEOF
34732 rm -f conftest.$ac_objext
34733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34734 (eval $ac_compile) 2>conftest.er1
34735 ac_status=$?
34736 grep -v '^ *+' conftest.er1 >conftest.err
34737 rm -f conftest.er1
34738 cat conftest.err >&5
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); } &&
34741 { ac_try='test -z "$ac_cxx_werror_flag"
34742 || test ! -s conftest.err'
34743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34744 (eval $ac_try) 2>&5
34745 ac_status=$?
34746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747 (exit $ac_status); }; } &&
34748 { ac_try='test -s conftest.$ac_objext'
34749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34750 (eval $ac_try) 2>&5
34751 ac_status=$?
34752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34753 (exit $ac_status); }; }; then
34754 glibcxx_cv_func_float_round_use=yes
34755 else
34756 echo "$as_me: failed program was:" >&5
34757 sed 's/^/| /' conftest.$ac_ext >&5
34759 glibcxx_cv_func_float_round_use=no
34761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34762 ac_ext=c
34763 ac_cpp='$CPP $CPPFLAGS'
34764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34770 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34771 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34772 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34775 for ac_func in ceilf floorf
34777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34778 echo "$as_me:$LINENO: checking for $ac_func" >&5
34779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34780 if eval "test \"\${$as_ac_var+set}\" = set"; then
34781 echo $ECHO_N "(cached) $ECHO_C" >&6
34782 else
34783 if test x$gcc_no_link = xyes; then
34784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34786 { (exit 1); exit 1; }; }
34788 cat >conftest.$ac_ext <<_ACEOF
34789 /* confdefs.h. */
34790 _ACEOF
34791 cat confdefs.h >>conftest.$ac_ext
34792 cat >>conftest.$ac_ext <<_ACEOF
34793 /* end confdefs.h. */
34794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34796 #define $ac_func innocuous_$ac_func
34798 /* System header to define __stub macros and hopefully few prototypes,
34799 which can conflict with char $ac_func (); below.
34800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34801 <limits.h> exists even on freestanding compilers. */
34803 #ifdef __STDC__
34804 # include <limits.h>
34805 #else
34806 # include <assert.h>
34807 #endif
34809 #undef $ac_func
34811 /* Override any gcc2 internal prototype to avoid an error. */
34812 #ifdef __cplusplus
34813 extern "C"
34815 #endif
34816 /* We use char because int might match the return type of a gcc2
34817 builtin and then its argument prototype would still apply. */
34818 char $ac_func ();
34819 /* The GNU C library defines this for functions which it implements
34820 to always fail with ENOSYS. Some functions are actually named
34821 something starting with __ and the normal name is an alias. */
34822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34823 choke me
34824 #else
34825 char (*f) () = $ac_func;
34826 #endif
34827 #ifdef __cplusplus
34829 #endif
34832 main ()
34834 return f != $ac_func;
34836 return 0;
34838 _ACEOF
34839 rm -f conftest.$ac_objext conftest$ac_exeext
34840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34841 (eval $ac_link) 2>conftest.er1
34842 ac_status=$?
34843 grep -v '^ *+' conftest.er1 >conftest.err
34844 rm -f conftest.er1
34845 cat conftest.err >&5
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); } &&
34848 { ac_try='test -z "$ac_c_werror_flag"
34849 || test ! -s conftest.err'
34850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34851 (eval $ac_try) 2>&5
34852 ac_status=$?
34853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34854 (exit $ac_status); }; } &&
34855 { ac_try='test -s conftest$ac_exeext'
34856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34857 (eval $ac_try) 2>&5
34858 ac_status=$?
34859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860 (exit $ac_status); }; }; then
34861 eval "$as_ac_var=yes"
34862 else
34863 echo "$as_me: failed program was:" >&5
34864 sed 's/^/| /' conftest.$ac_ext >&5
34866 eval "$as_ac_var=no"
34868 rm -f conftest.err conftest.$ac_objext \
34869 conftest$ac_exeext conftest.$ac_ext
34871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34873 if test `eval echo '${'$as_ac_var'}'` = yes; then
34874 cat >>confdefs.h <<_ACEOF
34875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34876 _ACEOF
34879 done
34881 else
34882 echo "$as_me:$LINENO: checking for _float round functions" >&5
34883 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
34884 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
34885 echo $ECHO_N "(cached) $ECHO_C" >&6
34886 else
34890 ac_ext=cc
34891 ac_cpp='$CXXCPP $CPPFLAGS'
34892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34896 cat >conftest.$ac_ext <<_ACEOF
34897 /* confdefs.h. */
34898 _ACEOF
34899 cat confdefs.h >>conftest.$ac_ext
34900 cat >>conftest.$ac_ext <<_ACEOF
34901 /* end confdefs.h. */
34902 #include <math.h>
34904 main ()
34906 _ceilf (0); _floorf (0);
34908 return 0;
34910 _ACEOF
34911 rm -f conftest.$ac_objext
34912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34913 (eval $ac_compile) 2>conftest.er1
34914 ac_status=$?
34915 grep -v '^ *+' conftest.er1 >conftest.err
34916 rm -f conftest.er1
34917 cat conftest.err >&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); } &&
34920 { ac_try='test -z "$ac_cxx_werror_flag"
34921 || test ! -s conftest.err'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34924 ac_status=$?
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34927 { ac_try='test -s conftest.$ac_objext'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34930 ac_status=$?
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; }; then
34933 glibcxx_cv_func__float_round_use=yes
34934 else
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.$ac_ext >&5
34938 glibcxx_cv_func__float_round_use=no
34940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34941 ac_ext=c
34942 ac_cpp='$CPP $CPPFLAGS'
34943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34949 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
34950 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
34951 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34954 for ac_func in _ceilf _floorf
34956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34957 echo "$as_me:$LINENO: checking for $ac_func" >&5
34958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34959 if eval "test \"\${$as_ac_var+set}\" = set"; then
34960 echo $ECHO_N "(cached) $ECHO_C" >&6
34961 else
34962 if test x$gcc_no_link = xyes; then
34963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34965 { (exit 1); exit 1; }; }
34967 cat >conftest.$ac_ext <<_ACEOF
34968 /* confdefs.h. */
34969 _ACEOF
34970 cat confdefs.h >>conftest.$ac_ext
34971 cat >>conftest.$ac_ext <<_ACEOF
34972 /* end confdefs.h. */
34973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34975 #define $ac_func innocuous_$ac_func
34977 /* System header to define __stub macros and hopefully few prototypes,
34978 which can conflict with char $ac_func (); below.
34979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34980 <limits.h> exists even on freestanding compilers. */
34982 #ifdef __STDC__
34983 # include <limits.h>
34984 #else
34985 # include <assert.h>
34986 #endif
34988 #undef $ac_func
34990 /* Override any gcc2 internal prototype to avoid an error. */
34991 #ifdef __cplusplus
34992 extern "C"
34994 #endif
34995 /* We use char because int might match the return type of a gcc2
34996 builtin and then its argument prototype would still apply. */
34997 char $ac_func ();
34998 /* The GNU C library defines this for functions which it implements
34999 to always fail with ENOSYS. Some functions are actually named
35000 something starting with __ and the normal name is an alias. */
35001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35002 choke me
35003 #else
35004 char (*f) () = $ac_func;
35005 #endif
35006 #ifdef __cplusplus
35008 #endif
35011 main ()
35013 return f != $ac_func;
35015 return 0;
35017 _ACEOF
35018 rm -f conftest.$ac_objext conftest$ac_exeext
35019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35020 (eval $ac_link) 2>conftest.er1
35021 ac_status=$?
35022 grep -v '^ *+' conftest.er1 >conftest.err
35023 rm -f conftest.er1
35024 cat conftest.err >&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); } &&
35027 { ac_try='test -z "$ac_c_werror_flag"
35028 || test ! -s conftest.err'
35029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35030 (eval $ac_try) 2>&5
35031 ac_status=$?
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); }; } &&
35034 { ac_try='test -s conftest$ac_exeext'
35035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35036 (eval $ac_try) 2>&5
35037 ac_status=$?
35038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039 (exit $ac_status); }; }; then
35040 eval "$as_ac_var=yes"
35041 else
35042 echo "$as_me: failed program was:" >&5
35043 sed 's/^/| /' conftest.$ac_ext >&5
35045 eval "$as_ac_var=no"
35047 rm -f conftest.err conftest.$ac_objext \
35048 conftest$ac_exeext conftest.$ac_ext
35050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35052 if test `eval echo '${'$as_ac_var'}'` = yes; then
35053 cat >>confdefs.h <<_ACEOF
35054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35055 _ACEOF
35058 done
35070 echo "$as_me:$LINENO: checking for expf declaration" >&5
35071 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
35072 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35073 if test "${glibcxx_cv_func_expf_use+set}" = set; then
35074 echo $ECHO_N "(cached) $ECHO_C" >&6
35075 else
35079 ac_ext=cc
35080 ac_cpp='$CXXCPP $CPPFLAGS'
35081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35085 cat >conftest.$ac_ext <<_ACEOF
35086 /* confdefs.h. */
35087 _ACEOF
35088 cat confdefs.h >>conftest.$ac_ext
35089 cat >>conftest.$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091 #include <math.h>
35092 #ifdef HAVE_IEEEFP_H
35093 #include <ieeefp.h>
35094 #endif
35097 main ()
35099 expf(0);
35101 return 0;
35103 _ACEOF
35104 rm -f conftest.$ac_objext
35105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35106 (eval $ac_compile) 2>conftest.er1
35107 ac_status=$?
35108 grep -v '^ *+' conftest.er1 >conftest.err
35109 rm -f conftest.er1
35110 cat conftest.err >&5
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); } &&
35113 { ac_try='test -z "$ac_cxx_werror_flag"
35114 || test ! -s conftest.err'
35115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35116 (eval $ac_try) 2>&5
35117 ac_status=$?
35118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119 (exit $ac_status); }; } &&
35120 { ac_try='test -s conftest.$ac_objext'
35121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35122 (eval $ac_try) 2>&5
35123 ac_status=$?
35124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35125 (exit $ac_status); }; }; then
35126 glibcxx_cv_func_expf_use=yes
35127 else
35128 echo "$as_me: failed program was:" >&5
35129 sed 's/^/| /' conftest.$ac_ext >&5
35131 glibcxx_cv_func_expf_use=no
35133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35134 ac_ext=c
35135 ac_cpp='$CPP $CPPFLAGS'
35136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35144 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
35145 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
35147 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35149 for ac_func in expf
35151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35152 echo "$as_me:$LINENO: checking for $ac_func" >&5
35153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35154 if eval "test \"\${$as_ac_var+set}\" = set"; then
35155 echo $ECHO_N "(cached) $ECHO_C" >&6
35156 else
35157 if test x$gcc_no_link = xyes; then
35158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35160 { (exit 1); exit 1; }; }
35162 cat >conftest.$ac_ext <<_ACEOF
35163 /* confdefs.h. */
35164 _ACEOF
35165 cat confdefs.h >>conftest.$ac_ext
35166 cat >>conftest.$ac_ext <<_ACEOF
35167 /* end confdefs.h. */
35168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35170 #define $ac_func innocuous_$ac_func
35172 /* System header to define __stub macros and hopefully few prototypes,
35173 which can conflict with char $ac_func (); below.
35174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35175 <limits.h> exists even on freestanding compilers. */
35177 #ifdef __STDC__
35178 # include <limits.h>
35179 #else
35180 # include <assert.h>
35181 #endif
35183 #undef $ac_func
35185 /* Override any gcc2 internal prototype to avoid an error. */
35186 #ifdef __cplusplus
35187 extern "C"
35189 #endif
35190 /* We use char because int might match the return type of a gcc2
35191 builtin and then its argument prototype would still apply. */
35192 char $ac_func ();
35193 /* The GNU C library defines this for functions which it implements
35194 to always fail with ENOSYS. Some functions are actually named
35195 something starting with __ and the normal name is an alias. */
35196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35197 choke me
35198 #else
35199 char (*f) () = $ac_func;
35200 #endif
35201 #ifdef __cplusplus
35203 #endif
35206 main ()
35208 return f != $ac_func;
35210 return 0;
35212 _ACEOF
35213 rm -f conftest.$ac_objext conftest$ac_exeext
35214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35215 (eval $ac_link) 2>conftest.er1
35216 ac_status=$?
35217 grep -v '^ *+' conftest.er1 >conftest.err
35218 rm -f conftest.er1
35219 cat conftest.err >&5
35220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221 (exit $ac_status); } &&
35222 { ac_try='test -z "$ac_c_werror_flag"
35223 || test ! -s conftest.err'
35224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35225 (eval $ac_try) 2>&5
35226 ac_status=$?
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); }; } &&
35229 { ac_try='test -s conftest$ac_exeext'
35230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35231 (eval $ac_try) 2>&5
35232 ac_status=$?
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); }; }; then
35235 eval "$as_ac_var=yes"
35236 else
35237 echo "$as_me: failed program was:" >&5
35238 sed 's/^/| /' conftest.$ac_ext >&5
35240 eval "$as_ac_var=no"
35242 rm -f conftest.err conftest.$ac_objext \
35243 conftest$ac_exeext conftest.$ac_ext
35245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35247 if test `eval echo '${'$as_ac_var'}'` = yes; then
35248 cat >>confdefs.h <<_ACEOF
35249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35250 _ACEOF
35253 done
35255 else
35257 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35258 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35259 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35260 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35261 echo $ECHO_N "(cached) $ECHO_C" >&6
35262 else
35266 ac_ext=cc
35267 ac_cpp='$CXXCPP $CPPFLAGS'
35268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35272 cat >conftest.$ac_ext <<_ACEOF
35273 /* confdefs.h. */
35274 _ACEOF
35275 cat confdefs.h >>conftest.$ac_ext
35276 cat >>conftest.$ac_ext <<_ACEOF
35277 /* end confdefs.h. */
35278 #include <math.h>
35279 #ifdef HAVE_IEEEFP_H
35280 #include <ieeefp.h>
35281 #endif
35284 main ()
35286 _expf(0);
35288 return 0;
35290 _ACEOF
35291 rm -f conftest.$ac_objext
35292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35293 (eval $ac_compile) 2>conftest.er1
35294 ac_status=$?
35295 grep -v '^ *+' conftest.er1 >conftest.err
35296 rm -f conftest.er1
35297 cat conftest.err >&5
35298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35299 (exit $ac_status); } &&
35300 { ac_try='test -z "$ac_cxx_werror_flag"
35301 || test ! -s conftest.err'
35302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35303 (eval $ac_try) 2>&5
35304 ac_status=$?
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); }; } &&
35307 { ac_try='test -s conftest.$ac_objext'
35308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35309 (eval $ac_try) 2>&5
35310 ac_status=$?
35311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35312 (exit $ac_status); }; }; then
35313 glibcxx_cv_func__expf_use=yes
35314 else
35315 echo "$as_me: failed program was:" >&5
35316 sed 's/^/| /' conftest.$ac_ext >&5
35318 glibcxx_cv_func__expf_use=no
35320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35321 ac_ext=c
35322 ac_cpp='$CPP $CPPFLAGS'
35323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35331 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35332 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35334 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35336 for ac_func in _expf
35338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35339 echo "$as_me:$LINENO: checking for $ac_func" >&5
35340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35341 if eval "test \"\${$as_ac_var+set}\" = set"; then
35342 echo $ECHO_N "(cached) $ECHO_C" >&6
35343 else
35344 if test x$gcc_no_link = xyes; then
35345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35347 { (exit 1); exit 1; }; }
35349 cat >conftest.$ac_ext <<_ACEOF
35350 /* confdefs.h. */
35351 _ACEOF
35352 cat confdefs.h >>conftest.$ac_ext
35353 cat >>conftest.$ac_ext <<_ACEOF
35354 /* end confdefs.h. */
35355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35357 #define $ac_func innocuous_$ac_func
35359 /* System header to define __stub macros and hopefully few prototypes,
35360 which can conflict with char $ac_func (); below.
35361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35362 <limits.h> exists even on freestanding compilers. */
35364 #ifdef __STDC__
35365 # include <limits.h>
35366 #else
35367 # include <assert.h>
35368 #endif
35370 #undef $ac_func
35372 /* Override any gcc2 internal prototype to avoid an error. */
35373 #ifdef __cplusplus
35374 extern "C"
35376 #endif
35377 /* We use char because int might match the return type of a gcc2
35378 builtin and then its argument prototype would still apply. */
35379 char $ac_func ();
35380 /* The GNU C library defines this for functions which it implements
35381 to always fail with ENOSYS. Some functions are actually named
35382 something starting with __ and the normal name is an alias. */
35383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35384 choke me
35385 #else
35386 char (*f) () = $ac_func;
35387 #endif
35388 #ifdef __cplusplus
35390 #endif
35393 main ()
35395 return f != $ac_func;
35397 return 0;
35399 _ACEOF
35400 rm -f conftest.$ac_objext conftest$ac_exeext
35401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35402 (eval $ac_link) 2>conftest.er1
35403 ac_status=$?
35404 grep -v '^ *+' conftest.er1 >conftest.err
35405 rm -f conftest.er1
35406 cat conftest.err >&5
35407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 (exit $ac_status); } &&
35409 { ac_try='test -z "$ac_c_werror_flag"
35410 || test ! -s conftest.err'
35411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35412 (eval $ac_try) 2>&5
35413 ac_status=$?
35414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35415 (exit $ac_status); }; } &&
35416 { ac_try='test -s conftest$ac_exeext'
35417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35418 (eval $ac_try) 2>&5
35419 ac_status=$?
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); }; }; then
35422 eval "$as_ac_var=yes"
35423 else
35424 echo "$as_me: failed program was:" >&5
35425 sed 's/^/| /' conftest.$ac_ext >&5
35427 eval "$as_ac_var=no"
35429 rm -f conftest.err conftest.$ac_objext \
35430 conftest$ac_exeext conftest.$ac_ext
35432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35434 if test `eval echo '${'$as_ac_var'}'` = yes; then
35435 cat >>confdefs.h <<_ACEOF
35436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35437 _ACEOF
35440 done
35450 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35451 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35452 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35453 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35454 echo $ECHO_N "(cached) $ECHO_C" >&6
35455 else
35459 ac_ext=cc
35460 ac_cpp='$CXXCPP $CPPFLAGS'
35461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35465 cat >conftest.$ac_ext <<_ACEOF
35466 /* confdefs.h. */
35467 _ACEOF
35468 cat confdefs.h >>conftest.$ac_ext
35469 cat >>conftest.$ac_ext <<_ACEOF
35470 /* end confdefs.h. */
35471 #include <math.h>
35472 #ifdef HAVE_IEEEFP_H
35473 #include <ieeefp.h>
35474 #endif
35477 main ()
35479 isnanf(0);
35481 return 0;
35483 _ACEOF
35484 rm -f conftest.$ac_objext
35485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35486 (eval $ac_compile) 2>conftest.er1
35487 ac_status=$?
35488 grep -v '^ *+' conftest.er1 >conftest.err
35489 rm -f conftest.er1
35490 cat conftest.err >&5
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); } &&
35493 { ac_try='test -z "$ac_cxx_werror_flag"
35494 || test ! -s conftest.err'
35495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35496 (eval $ac_try) 2>&5
35497 ac_status=$?
35498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35499 (exit $ac_status); }; } &&
35500 { ac_try='test -s conftest.$ac_objext'
35501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35502 (eval $ac_try) 2>&5
35503 ac_status=$?
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); }; }; then
35506 glibcxx_cv_func_isnanf_use=yes
35507 else
35508 echo "$as_me: failed program was:" >&5
35509 sed 's/^/| /' conftest.$ac_ext >&5
35511 glibcxx_cv_func_isnanf_use=no
35513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35514 ac_ext=c
35515 ac_cpp='$CPP $CPPFLAGS'
35516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35524 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35525 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35527 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35529 for ac_func in isnanf
35531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35532 echo "$as_me:$LINENO: checking for $ac_func" >&5
35533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35534 if eval "test \"\${$as_ac_var+set}\" = set"; then
35535 echo $ECHO_N "(cached) $ECHO_C" >&6
35536 else
35537 if test x$gcc_no_link = xyes; then
35538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35540 { (exit 1); exit 1; }; }
35542 cat >conftest.$ac_ext <<_ACEOF
35543 /* confdefs.h. */
35544 _ACEOF
35545 cat confdefs.h >>conftest.$ac_ext
35546 cat >>conftest.$ac_ext <<_ACEOF
35547 /* end confdefs.h. */
35548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35550 #define $ac_func innocuous_$ac_func
35552 /* System header to define __stub macros and hopefully few prototypes,
35553 which can conflict with char $ac_func (); below.
35554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35555 <limits.h> exists even on freestanding compilers. */
35557 #ifdef __STDC__
35558 # include <limits.h>
35559 #else
35560 # include <assert.h>
35561 #endif
35563 #undef $ac_func
35565 /* Override any gcc2 internal prototype to avoid an error. */
35566 #ifdef __cplusplus
35567 extern "C"
35569 #endif
35570 /* We use char because int might match the return type of a gcc2
35571 builtin and then its argument prototype would still apply. */
35572 char $ac_func ();
35573 /* The GNU C library defines this for functions which it implements
35574 to always fail with ENOSYS. Some functions are actually named
35575 something starting with __ and the normal name is an alias. */
35576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35577 choke me
35578 #else
35579 char (*f) () = $ac_func;
35580 #endif
35581 #ifdef __cplusplus
35583 #endif
35586 main ()
35588 return f != $ac_func;
35590 return 0;
35592 _ACEOF
35593 rm -f conftest.$ac_objext conftest$ac_exeext
35594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35595 (eval $ac_link) 2>conftest.er1
35596 ac_status=$?
35597 grep -v '^ *+' conftest.er1 >conftest.err
35598 rm -f conftest.er1
35599 cat conftest.err >&5
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); } &&
35602 { ac_try='test -z "$ac_c_werror_flag"
35603 || test ! -s conftest.err'
35604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35605 (eval $ac_try) 2>&5
35606 ac_status=$?
35607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35608 (exit $ac_status); }; } &&
35609 { ac_try='test -s conftest$ac_exeext'
35610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35611 (eval $ac_try) 2>&5
35612 ac_status=$?
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); }; }; then
35615 eval "$as_ac_var=yes"
35616 else
35617 echo "$as_me: failed program was:" >&5
35618 sed 's/^/| /' conftest.$ac_ext >&5
35620 eval "$as_ac_var=no"
35622 rm -f conftest.err conftest.$ac_objext \
35623 conftest$ac_exeext conftest.$ac_ext
35625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35627 if test `eval echo '${'$as_ac_var'}'` = yes; then
35628 cat >>confdefs.h <<_ACEOF
35629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35630 _ACEOF
35633 done
35635 else
35637 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35638 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35639 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35640 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35641 echo $ECHO_N "(cached) $ECHO_C" >&6
35642 else
35646 ac_ext=cc
35647 ac_cpp='$CXXCPP $CPPFLAGS'
35648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35652 cat >conftest.$ac_ext <<_ACEOF
35653 /* confdefs.h. */
35654 _ACEOF
35655 cat confdefs.h >>conftest.$ac_ext
35656 cat >>conftest.$ac_ext <<_ACEOF
35657 /* end confdefs.h. */
35658 #include <math.h>
35659 #ifdef HAVE_IEEEFP_H
35660 #include <ieeefp.h>
35661 #endif
35664 main ()
35666 _isnanf(0);
35668 return 0;
35670 _ACEOF
35671 rm -f conftest.$ac_objext
35672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35673 (eval $ac_compile) 2>conftest.er1
35674 ac_status=$?
35675 grep -v '^ *+' conftest.er1 >conftest.err
35676 rm -f conftest.er1
35677 cat conftest.err >&5
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); } &&
35680 { ac_try='test -z "$ac_cxx_werror_flag"
35681 || test ! -s conftest.err'
35682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35683 (eval $ac_try) 2>&5
35684 ac_status=$?
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); }; } &&
35687 { ac_try='test -s conftest.$ac_objext'
35688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35689 (eval $ac_try) 2>&5
35690 ac_status=$?
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); }; }; then
35693 glibcxx_cv_func__isnanf_use=yes
35694 else
35695 echo "$as_me: failed program was:" >&5
35696 sed 's/^/| /' conftest.$ac_ext >&5
35698 glibcxx_cv_func__isnanf_use=no
35700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35701 ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35711 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35712 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35714 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35716 for ac_func in _isnanf
35718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35719 echo "$as_me:$LINENO: checking for $ac_func" >&5
35720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35721 if eval "test \"\${$as_ac_var+set}\" = set"; then
35722 echo $ECHO_N "(cached) $ECHO_C" >&6
35723 else
35724 if test x$gcc_no_link = xyes; then
35725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35727 { (exit 1); exit 1; }; }
35729 cat >conftest.$ac_ext <<_ACEOF
35730 /* confdefs.h. */
35731 _ACEOF
35732 cat confdefs.h >>conftest.$ac_ext
35733 cat >>conftest.$ac_ext <<_ACEOF
35734 /* end confdefs.h. */
35735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35737 #define $ac_func innocuous_$ac_func
35739 /* System header to define __stub macros and hopefully few prototypes,
35740 which can conflict with char $ac_func (); below.
35741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35742 <limits.h> exists even on freestanding compilers. */
35744 #ifdef __STDC__
35745 # include <limits.h>
35746 #else
35747 # include <assert.h>
35748 #endif
35750 #undef $ac_func
35752 /* Override any gcc2 internal prototype to avoid an error. */
35753 #ifdef __cplusplus
35754 extern "C"
35756 #endif
35757 /* We use char because int might match the return type of a gcc2
35758 builtin and then its argument prototype would still apply. */
35759 char $ac_func ();
35760 /* The GNU C library defines this for functions which it implements
35761 to always fail with ENOSYS. Some functions are actually named
35762 something starting with __ and the normal name is an alias. */
35763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35764 choke me
35765 #else
35766 char (*f) () = $ac_func;
35767 #endif
35768 #ifdef __cplusplus
35770 #endif
35773 main ()
35775 return f != $ac_func;
35777 return 0;
35779 _ACEOF
35780 rm -f conftest.$ac_objext conftest$ac_exeext
35781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35782 (eval $ac_link) 2>conftest.er1
35783 ac_status=$?
35784 grep -v '^ *+' conftest.er1 >conftest.err
35785 rm -f conftest.er1
35786 cat conftest.err >&5
35787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35788 (exit $ac_status); } &&
35789 { ac_try='test -z "$ac_c_werror_flag"
35790 || test ! -s conftest.err'
35791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35792 (eval $ac_try) 2>&5
35793 ac_status=$?
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); }; } &&
35796 { ac_try='test -s conftest$ac_exeext'
35797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798 (eval $ac_try) 2>&5
35799 ac_status=$?
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); }; }; then
35802 eval "$as_ac_var=yes"
35803 else
35804 echo "$as_me: failed program was:" >&5
35805 sed 's/^/| /' conftest.$ac_ext >&5
35807 eval "$as_ac_var=no"
35809 rm -f conftest.err conftest.$ac_objext \
35810 conftest$ac_exeext conftest.$ac_ext
35812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35814 if test `eval echo '${'$as_ac_var'}'` = yes; then
35815 cat >>confdefs.h <<_ACEOF
35816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35817 _ACEOF
35820 done
35830 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35831 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35832 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35833 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35834 echo $ECHO_N "(cached) $ECHO_C" >&6
35835 else
35839 ac_ext=cc
35840 ac_cpp='$CXXCPP $CPPFLAGS'
35841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35845 cat >conftest.$ac_ext <<_ACEOF
35846 /* confdefs.h. */
35847 _ACEOF
35848 cat confdefs.h >>conftest.$ac_ext
35849 cat >>conftest.$ac_ext <<_ACEOF
35850 /* end confdefs.h. */
35851 #include <math.h>
35852 #ifdef HAVE_IEEEFP_H
35853 #include <ieeefp.h>
35854 #endif
35857 main ()
35859 isinff(0);
35861 return 0;
35863 _ACEOF
35864 rm -f conftest.$ac_objext
35865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35866 (eval $ac_compile) 2>conftest.er1
35867 ac_status=$?
35868 grep -v '^ *+' conftest.er1 >conftest.err
35869 rm -f conftest.er1
35870 cat conftest.err >&5
35871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35872 (exit $ac_status); } &&
35873 { ac_try='test -z "$ac_cxx_werror_flag"
35874 || test ! -s conftest.err'
35875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35876 (eval $ac_try) 2>&5
35877 ac_status=$?
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); }; } &&
35880 { ac_try='test -s conftest.$ac_objext'
35881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35882 (eval $ac_try) 2>&5
35883 ac_status=$?
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); }; }; then
35886 glibcxx_cv_func_isinff_use=yes
35887 else
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.$ac_ext >&5
35891 glibcxx_cv_func_isinff_use=no
35893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35894 ac_ext=c
35895 ac_cpp='$CPP $CPPFLAGS'
35896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35905 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35907 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35909 for ac_func in isinff
35911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35912 echo "$as_me:$LINENO: checking for $ac_func" >&5
35913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35914 if eval "test \"\${$as_ac_var+set}\" = set"; then
35915 echo $ECHO_N "(cached) $ECHO_C" >&6
35916 else
35917 if test x$gcc_no_link = xyes; then
35918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35920 { (exit 1); exit 1; }; }
35922 cat >conftest.$ac_ext <<_ACEOF
35923 /* confdefs.h. */
35924 _ACEOF
35925 cat confdefs.h >>conftest.$ac_ext
35926 cat >>conftest.$ac_ext <<_ACEOF
35927 /* end confdefs.h. */
35928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35930 #define $ac_func innocuous_$ac_func
35932 /* System header to define __stub macros and hopefully few prototypes,
35933 which can conflict with char $ac_func (); below.
35934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35935 <limits.h> exists even on freestanding compilers. */
35937 #ifdef __STDC__
35938 # include <limits.h>
35939 #else
35940 # include <assert.h>
35941 #endif
35943 #undef $ac_func
35945 /* Override any gcc2 internal prototype to avoid an error. */
35946 #ifdef __cplusplus
35947 extern "C"
35949 #endif
35950 /* We use char because int might match the return type of a gcc2
35951 builtin and then its argument prototype would still apply. */
35952 char $ac_func ();
35953 /* The GNU C library defines this for functions which it implements
35954 to always fail with ENOSYS. Some functions are actually named
35955 something starting with __ and the normal name is an alias. */
35956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35957 choke me
35958 #else
35959 char (*f) () = $ac_func;
35960 #endif
35961 #ifdef __cplusplus
35963 #endif
35966 main ()
35968 return f != $ac_func;
35970 return 0;
35972 _ACEOF
35973 rm -f conftest.$ac_objext conftest$ac_exeext
35974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35975 (eval $ac_link) 2>conftest.er1
35976 ac_status=$?
35977 grep -v '^ *+' conftest.er1 >conftest.err
35978 rm -f conftest.er1
35979 cat conftest.err >&5
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); } &&
35982 { ac_try='test -z "$ac_c_werror_flag"
35983 || test ! -s conftest.err'
35984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35985 (eval $ac_try) 2>&5
35986 ac_status=$?
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); }; } &&
35989 { ac_try='test -s conftest$ac_exeext'
35990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35991 (eval $ac_try) 2>&5
35992 ac_status=$?
35993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35994 (exit $ac_status); }; }; then
35995 eval "$as_ac_var=yes"
35996 else
35997 echo "$as_me: failed program was:" >&5
35998 sed 's/^/| /' conftest.$ac_ext >&5
36000 eval "$as_ac_var=no"
36002 rm -f conftest.err conftest.$ac_objext \
36003 conftest$ac_exeext conftest.$ac_ext
36005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36007 if test `eval echo '${'$as_ac_var'}'` = yes; then
36008 cat >>confdefs.h <<_ACEOF
36009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36010 _ACEOF
36013 done
36015 else
36017 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
36018 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
36019 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36020 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
36021 echo $ECHO_N "(cached) $ECHO_C" >&6
36022 else
36026 ac_ext=cc
36027 ac_cpp='$CXXCPP $CPPFLAGS'
36028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36032 cat >conftest.$ac_ext <<_ACEOF
36033 /* confdefs.h. */
36034 _ACEOF
36035 cat confdefs.h >>conftest.$ac_ext
36036 cat >>conftest.$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36038 #include <math.h>
36039 #ifdef HAVE_IEEEFP_H
36040 #include <ieeefp.h>
36041 #endif
36044 main ()
36046 _isinff(0);
36048 return 0;
36050 _ACEOF
36051 rm -f conftest.$ac_objext
36052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36053 (eval $ac_compile) 2>conftest.er1
36054 ac_status=$?
36055 grep -v '^ *+' conftest.er1 >conftest.err
36056 rm -f conftest.er1
36057 cat conftest.err >&5
36058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36059 (exit $ac_status); } &&
36060 { ac_try='test -z "$ac_cxx_werror_flag"
36061 || test ! -s conftest.err'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36064 ac_status=$?
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; } &&
36067 { ac_try='test -s conftest.$ac_objext'
36068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36069 (eval $ac_try) 2>&5
36070 ac_status=$?
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); }; }; then
36073 glibcxx_cv_func__isinff_use=yes
36074 else
36075 echo "$as_me: failed program was:" >&5
36076 sed 's/^/| /' conftest.$ac_ext >&5
36078 glibcxx_cv_func__isinff_use=no
36080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36081 ac_ext=c
36082 ac_cpp='$CPP $CPPFLAGS'
36083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36091 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
36092 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
36094 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36096 for ac_func in _isinff
36098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36099 echo "$as_me:$LINENO: checking for $ac_func" >&5
36100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36101 if eval "test \"\${$as_ac_var+set}\" = set"; then
36102 echo $ECHO_N "(cached) $ECHO_C" >&6
36103 else
36104 if test x$gcc_no_link = xyes; then
36105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36107 { (exit 1); exit 1; }; }
36109 cat >conftest.$ac_ext <<_ACEOF
36110 /* confdefs.h. */
36111 _ACEOF
36112 cat confdefs.h >>conftest.$ac_ext
36113 cat >>conftest.$ac_ext <<_ACEOF
36114 /* end confdefs.h. */
36115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36117 #define $ac_func innocuous_$ac_func
36119 /* System header to define __stub macros and hopefully few prototypes,
36120 which can conflict with char $ac_func (); below.
36121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36122 <limits.h> exists even on freestanding compilers. */
36124 #ifdef __STDC__
36125 # include <limits.h>
36126 #else
36127 # include <assert.h>
36128 #endif
36130 #undef $ac_func
36132 /* Override any gcc2 internal prototype to avoid an error. */
36133 #ifdef __cplusplus
36134 extern "C"
36136 #endif
36137 /* We use char because int might match the return type of a gcc2
36138 builtin and then its argument prototype would still apply. */
36139 char $ac_func ();
36140 /* The GNU C library defines this for functions which it implements
36141 to always fail with ENOSYS. Some functions are actually named
36142 something starting with __ and the normal name is an alias. */
36143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36144 choke me
36145 #else
36146 char (*f) () = $ac_func;
36147 #endif
36148 #ifdef __cplusplus
36150 #endif
36153 main ()
36155 return f != $ac_func;
36157 return 0;
36159 _ACEOF
36160 rm -f conftest.$ac_objext conftest$ac_exeext
36161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36162 (eval $ac_link) 2>conftest.er1
36163 ac_status=$?
36164 grep -v '^ *+' conftest.er1 >conftest.err
36165 rm -f conftest.er1
36166 cat conftest.err >&5
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); } &&
36169 { ac_try='test -z "$ac_c_werror_flag"
36170 || test ! -s conftest.err'
36171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36172 (eval $ac_try) 2>&5
36173 ac_status=$?
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); }; } &&
36176 { ac_try='test -s conftest$ac_exeext'
36177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36178 (eval $ac_try) 2>&5
36179 ac_status=$?
36180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36181 (exit $ac_status); }; }; then
36182 eval "$as_ac_var=yes"
36183 else
36184 echo "$as_me: failed program was:" >&5
36185 sed 's/^/| /' conftest.$ac_ext >&5
36187 eval "$as_ac_var=no"
36189 rm -f conftest.err conftest.$ac_objext \
36190 conftest$ac_exeext conftest.$ac_ext
36192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36194 if test `eval echo '${'$as_ac_var'}'` = yes; then
36195 cat >>confdefs.h <<_ACEOF
36196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36197 _ACEOF
36200 done
36210 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36211 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36212 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36213 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36214 echo $ECHO_N "(cached) $ECHO_C" >&6
36215 else
36219 ac_ext=cc
36220 ac_cpp='$CXXCPP $CPPFLAGS'
36221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36225 cat >conftest.$ac_ext <<_ACEOF
36226 /* confdefs.h. */
36227 _ACEOF
36228 cat confdefs.h >>conftest.$ac_ext
36229 cat >>conftest.$ac_ext <<_ACEOF
36230 /* end confdefs.h. */
36231 #include <math.h>
36233 main ()
36235 atan2f(0, 0);
36237 return 0;
36239 _ACEOF
36240 rm -f conftest.$ac_objext
36241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36242 (eval $ac_compile) 2>conftest.er1
36243 ac_status=$?
36244 grep -v '^ *+' conftest.er1 >conftest.err
36245 rm -f conftest.er1
36246 cat conftest.err >&5
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); } &&
36249 { ac_try='test -z "$ac_cxx_werror_flag"
36250 || test ! -s conftest.err'
36251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36252 (eval $ac_try) 2>&5
36253 ac_status=$?
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); }; } &&
36256 { ac_try='test -s conftest.$ac_objext'
36257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36258 (eval $ac_try) 2>&5
36259 ac_status=$?
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); }; }; then
36262 glibcxx_cv_func_atan2f_use=yes
36263 else
36264 echo "$as_me: failed program was:" >&5
36265 sed 's/^/| /' conftest.$ac_ext >&5
36267 glibcxx_cv_func_atan2f_use=no
36269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36270 ac_ext=c
36271 ac_cpp='$CPP $CPPFLAGS'
36272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36281 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36283 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36285 for ac_func in atan2f
36287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36288 echo "$as_me:$LINENO: checking for $ac_func" >&5
36289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36290 if eval "test \"\${$as_ac_var+set}\" = set"; then
36291 echo $ECHO_N "(cached) $ECHO_C" >&6
36292 else
36293 if test x$gcc_no_link = xyes; then
36294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36296 { (exit 1); exit 1; }; }
36298 cat >conftest.$ac_ext <<_ACEOF
36299 /* confdefs.h. */
36300 _ACEOF
36301 cat confdefs.h >>conftest.$ac_ext
36302 cat >>conftest.$ac_ext <<_ACEOF
36303 /* end confdefs.h. */
36304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36306 #define $ac_func innocuous_$ac_func
36308 /* System header to define __stub macros and hopefully few prototypes,
36309 which can conflict with char $ac_func (); below.
36310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36311 <limits.h> exists even on freestanding compilers. */
36313 #ifdef __STDC__
36314 # include <limits.h>
36315 #else
36316 # include <assert.h>
36317 #endif
36319 #undef $ac_func
36321 /* Override any gcc2 internal prototype to avoid an error. */
36322 #ifdef __cplusplus
36323 extern "C"
36325 #endif
36326 /* We use char because int might match the return type of a gcc2
36327 builtin and then its argument prototype would still apply. */
36328 char $ac_func ();
36329 /* The GNU C library defines this for functions which it implements
36330 to always fail with ENOSYS. Some functions are actually named
36331 something starting with __ and the normal name is an alias. */
36332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36333 choke me
36334 #else
36335 char (*f) () = $ac_func;
36336 #endif
36337 #ifdef __cplusplus
36339 #endif
36342 main ()
36344 return f != $ac_func;
36346 return 0;
36348 _ACEOF
36349 rm -f conftest.$ac_objext conftest$ac_exeext
36350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36351 (eval $ac_link) 2>conftest.er1
36352 ac_status=$?
36353 grep -v '^ *+' conftest.er1 >conftest.err
36354 rm -f conftest.er1
36355 cat conftest.err >&5
36356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357 (exit $ac_status); } &&
36358 { ac_try='test -z "$ac_c_werror_flag"
36359 || test ! -s conftest.err'
36360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36361 (eval $ac_try) 2>&5
36362 ac_status=$?
36363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36364 (exit $ac_status); }; } &&
36365 { ac_try='test -s conftest$ac_exeext'
36366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36367 (eval $ac_try) 2>&5
36368 ac_status=$?
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); }; }; then
36371 eval "$as_ac_var=yes"
36372 else
36373 echo "$as_me: failed program was:" >&5
36374 sed 's/^/| /' conftest.$ac_ext >&5
36376 eval "$as_ac_var=no"
36378 rm -f conftest.err conftest.$ac_objext \
36379 conftest$ac_exeext conftest.$ac_ext
36381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36383 if test `eval echo '${'$as_ac_var'}'` = yes; then
36384 cat >>confdefs.h <<_ACEOF
36385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36386 _ACEOF
36389 done
36391 else
36393 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36394 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36395 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36396 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36397 echo $ECHO_N "(cached) $ECHO_C" >&6
36398 else
36402 ac_ext=cc
36403 ac_cpp='$CXXCPP $CPPFLAGS'
36404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36408 cat >conftest.$ac_ext <<_ACEOF
36409 /* confdefs.h. */
36410 _ACEOF
36411 cat confdefs.h >>conftest.$ac_ext
36412 cat >>conftest.$ac_ext <<_ACEOF
36413 /* end confdefs.h. */
36414 #include <math.h>
36416 main ()
36418 _atan2f(0, 0);
36420 return 0;
36422 _ACEOF
36423 rm -f conftest.$ac_objext
36424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36425 (eval $ac_compile) 2>conftest.er1
36426 ac_status=$?
36427 grep -v '^ *+' conftest.er1 >conftest.err
36428 rm -f conftest.er1
36429 cat conftest.err >&5
36430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36431 (exit $ac_status); } &&
36432 { ac_try='test -z "$ac_cxx_werror_flag"
36433 || test ! -s conftest.err'
36434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36435 (eval $ac_try) 2>&5
36436 ac_status=$?
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); }; } &&
36439 { ac_try='test -s conftest.$ac_objext'
36440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36441 (eval $ac_try) 2>&5
36442 ac_status=$?
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); }; }; then
36445 glibcxx_cv_func__atan2f_use=yes
36446 else
36447 echo "$as_me: failed program was:" >&5
36448 sed 's/^/| /' conftest.$ac_ext >&5
36450 glibcxx_cv_func__atan2f_use=no
36452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36453 ac_ext=c
36454 ac_cpp='$CPP $CPPFLAGS'
36455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36463 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36464 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36466 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36468 for ac_func in _atan2f
36470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36471 echo "$as_me:$LINENO: checking for $ac_func" >&5
36472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36473 if eval "test \"\${$as_ac_var+set}\" = set"; then
36474 echo $ECHO_N "(cached) $ECHO_C" >&6
36475 else
36476 if test x$gcc_no_link = xyes; then
36477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36479 { (exit 1); exit 1; }; }
36481 cat >conftest.$ac_ext <<_ACEOF
36482 /* confdefs.h. */
36483 _ACEOF
36484 cat confdefs.h >>conftest.$ac_ext
36485 cat >>conftest.$ac_ext <<_ACEOF
36486 /* end confdefs.h. */
36487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36489 #define $ac_func innocuous_$ac_func
36491 /* System header to define __stub macros and hopefully few prototypes,
36492 which can conflict with char $ac_func (); below.
36493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36494 <limits.h> exists even on freestanding compilers. */
36496 #ifdef __STDC__
36497 # include <limits.h>
36498 #else
36499 # include <assert.h>
36500 #endif
36502 #undef $ac_func
36504 /* Override any gcc2 internal prototype to avoid an error. */
36505 #ifdef __cplusplus
36506 extern "C"
36508 #endif
36509 /* We use char because int might match the return type of a gcc2
36510 builtin and then its argument prototype would still apply. */
36511 char $ac_func ();
36512 /* The GNU C library defines this for functions which it implements
36513 to always fail with ENOSYS. Some functions are actually named
36514 something starting with __ and the normal name is an alias. */
36515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36516 choke me
36517 #else
36518 char (*f) () = $ac_func;
36519 #endif
36520 #ifdef __cplusplus
36522 #endif
36525 main ()
36527 return f != $ac_func;
36529 return 0;
36531 _ACEOF
36532 rm -f conftest.$ac_objext conftest$ac_exeext
36533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36534 (eval $ac_link) 2>conftest.er1
36535 ac_status=$?
36536 grep -v '^ *+' conftest.er1 >conftest.err
36537 rm -f conftest.er1
36538 cat conftest.err >&5
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); } &&
36541 { ac_try='test -z "$ac_c_werror_flag"
36542 || test ! -s conftest.err'
36543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36544 (eval $ac_try) 2>&5
36545 ac_status=$?
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); }; } &&
36548 { ac_try='test -s conftest$ac_exeext'
36549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36550 (eval $ac_try) 2>&5
36551 ac_status=$?
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); }; }; then
36554 eval "$as_ac_var=yes"
36555 else
36556 echo "$as_me: failed program was:" >&5
36557 sed 's/^/| /' conftest.$ac_ext >&5
36559 eval "$as_ac_var=no"
36561 rm -f conftest.err conftest.$ac_objext \
36562 conftest$ac_exeext conftest.$ac_ext
36564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36566 if test `eval echo '${'$as_ac_var'}'` = yes; then
36567 cat >>confdefs.h <<_ACEOF
36568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36569 _ACEOF
36572 done
36582 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36583 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36584 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36585 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36586 echo $ECHO_N "(cached) $ECHO_C" >&6
36587 else
36591 ac_ext=cc
36592 ac_cpp='$CXXCPP $CPPFLAGS'
36593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36597 cat >conftest.$ac_ext <<_ACEOF
36598 /* confdefs.h. */
36599 _ACEOF
36600 cat confdefs.h >>conftest.$ac_ext
36601 cat >>conftest.$ac_ext <<_ACEOF
36602 /* end confdefs.h. */
36603 #include <math.h>
36604 #ifdef HAVE_IEEEFP_H
36605 #include <ieeefp.h>
36606 #endif
36609 main ()
36611 fabsf(0);
36613 return 0;
36615 _ACEOF
36616 rm -f conftest.$ac_objext
36617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36618 (eval $ac_compile) 2>conftest.er1
36619 ac_status=$?
36620 grep -v '^ *+' conftest.er1 >conftest.err
36621 rm -f conftest.er1
36622 cat conftest.err >&5
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); } &&
36625 { ac_try='test -z "$ac_cxx_werror_flag"
36626 || test ! -s conftest.err'
36627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36628 (eval $ac_try) 2>&5
36629 ac_status=$?
36630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36631 (exit $ac_status); }; } &&
36632 { ac_try='test -s conftest.$ac_objext'
36633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36634 (eval $ac_try) 2>&5
36635 ac_status=$?
36636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36637 (exit $ac_status); }; }; then
36638 glibcxx_cv_func_fabsf_use=yes
36639 else
36640 echo "$as_me: failed program was:" >&5
36641 sed 's/^/| /' conftest.$ac_ext >&5
36643 glibcxx_cv_func_fabsf_use=no
36645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36646 ac_ext=c
36647 ac_cpp='$CPP $CPPFLAGS'
36648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36656 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36657 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36659 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36661 for ac_func in fabsf
36663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36664 echo "$as_me:$LINENO: checking for $ac_func" >&5
36665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36666 if eval "test \"\${$as_ac_var+set}\" = set"; then
36667 echo $ECHO_N "(cached) $ECHO_C" >&6
36668 else
36669 if test x$gcc_no_link = xyes; then
36670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36672 { (exit 1); exit 1; }; }
36674 cat >conftest.$ac_ext <<_ACEOF
36675 /* confdefs.h. */
36676 _ACEOF
36677 cat confdefs.h >>conftest.$ac_ext
36678 cat >>conftest.$ac_ext <<_ACEOF
36679 /* end confdefs.h. */
36680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36682 #define $ac_func innocuous_$ac_func
36684 /* System header to define __stub macros and hopefully few prototypes,
36685 which can conflict with char $ac_func (); below.
36686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36687 <limits.h> exists even on freestanding compilers. */
36689 #ifdef __STDC__
36690 # include <limits.h>
36691 #else
36692 # include <assert.h>
36693 #endif
36695 #undef $ac_func
36697 /* Override any gcc2 internal prototype to avoid an error. */
36698 #ifdef __cplusplus
36699 extern "C"
36701 #endif
36702 /* We use char because int might match the return type of a gcc2
36703 builtin and then its argument prototype would still apply. */
36704 char $ac_func ();
36705 /* The GNU C library defines this for functions which it implements
36706 to always fail with ENOSYS. Some functions are actually named
36707 something starting with __ and the normal name is an alias. */
36708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36709 choke me
36710 #else
36711 char (*f) () = $ac_func;
36712 #endif
36713 #ifdef __cplusplus
36715 #endif
36718 main ()
36720 return f != $ac_func;
36722 return 0;
36724 _ACEOF
36725 rm -f conftest.$ac_objext conftest$ac_exeext
36726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36727 (eval $ac_link) 2>conftest.er1
36728 ac_status=$?
36729 grep -v '^ *+' conftest.er1 >conftest.err
36730 rm -f conftest.er1
36731 cat conftest.err >&5
36732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36733 (exit $ac_status); } &&
36734 { ac_try='test -z "$ac_c_werror_flag"
36735 || test ! -s conftest.err'
36736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36737 (eval $ac_try) 2>&5
36738 ac_status=$?
36739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36740 (exit $ac_status); }; } &&
36741 { ac_try='test -s conftest$ac_exeext'
36742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36743 (eval $ac_try) 2>&5
36744 ac_status=$?
36745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36746 (exit $ac_status); }; }; then
36747 eval "$as_ac_var=yes"
36748 else
36749 echo "$as_me: failed program was:" >&5
36750 sed 's/^/| /' conftest.$ac_ext >&5
36752 eval "$as_ac_var=no"
36754 rm -f conftest.err conftest.$ac_objext \
36755 conftest$ac_exeext conftest.$ac_ext
36757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36759 if test `eval echo '${'$as_ac_var'}'` = yes; then
36760 cat >>confdefs.h <<_ACEOF
36761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36762 _ACEOF
36765 done
36767 else
36769 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36770 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36771 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36772 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36773 echo $ECHO_N "(cached) $ECHO_C" >&6
36774 else
36778 ac_ext=cc
36779 ac_cpp='$CXXCPP $CPPFLAGS'
36780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36784 cat >conftest.$ac_ext <<_ACEOF
36785 /* confdefs.h. */
36786 _ACEOF
36787 cat confdefs.h >>conftest.$ac_ext
36788 cat >>conftest.$ac_ext <<_ACEOF
36789 /* end confdefs.h. */
36790 #include <math.h>
36791 #ifdef HAVE_IEEEFP_H
36792 #include <ieeefp.h>
36793 #endif
36796 main ()
36798 _fabsf(0);
36800 return 0;
36802 _ACEOF
36803 rm -f conftest.$ac_objext
36804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36805 (eval $ac_compile) 2>conftest.er1
36806 ac_status=$?
36807 grep -v '^ *+' conftest.er1 >conftest.err
36808 rm -f conftest.er1
36809 cat conftest.err >&5
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); } &&
36812 { ac_try='test -z "$ac_cxx_werror_flag"
36813 || test ! -s conftest.err'
36814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36815 (eval $ac_try) 2>&5
36816 ac_status=$?
36817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36818 (exit $ac_status); }; } &&
36819 { ac_try='test -s conftest.$ac_objext'
36820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36821 (eval $ac_try) 2>&5
36822 ac_status=$?
36823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36824 (exit $ac_status); }; }; then
36825 glibcxx_cv_func__fabsf_use=yes
36826 else
36827 echo "$as_me: failed program was:" >&5
36828 sed 's/^/| /' conftest.$ac_ext >&5
36830 glibcxx_cv_func__fabsf_use=no
36832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36833 ac_ext=c
36834 ac_cpp='$CPP $CPPFLAGS'
36835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36843 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36844 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36846 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36848 for ac_func in _fabsf
36850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36851 echo "$as_me:$LINENO: checking for $ac_func" >&5
36852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36853 if eval "test \"\${$as_ac_var+set}\" = set"; then
36854 echo $ECHO_N "(cached) $ECHO_C" >&6
36855 else
36856 if test x$gcc_no_link = xyes; then
36857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36859 { (exit 1); exit 1; }; }
36861 cat >conftest.$ac_ext <<_ACEOF
36862 /* confdefs.h. */
36863 _ACEOF
36864 cat confdefs.h >>conftest.$ac_ext
36865 cat >>conftest.$ac_ext <<_ACEOF
36866 /* end confdefs.h. */
36867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36869 #define $ac_func innocuous_$ac_func
36871 /* System header to define __stub macros and hopefully few prototypes,
36872 which can conflict with char $ac_func (); below.
36873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36874 <limits.h> exists even on freestanding compilers. */
36876 #ifdef __STDC__
36877 # include <limits.h>
36878 #else
36879 # include <assert.h>
36880 #endif
36882 #undef $ac_func
36884 /* Override any gcc2 internal prototype to avoid an error. */
36885 #ifdef __cplusplus
36886 extern "C"
36888 #endif
36889 /* We use char because int might match the return type of a gcc2
36890 builtin and then its argument prototype would still apply. */
36891 char $ac_func ();
36892 /* The GNU C library defines this for functions which it implements
36893 to always fail with ENOSYS. Some functions are actually named
36894 something starting with __ and the normal name is an alias. */
36895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36896 choke me
36897 #else
36898 char (*f) () = $ac_func;
36899 #endif
36900 #ifdef __cplusplus
36902 #endif
36905 main ()
36907 return f != $ac_func;
36909 return 0;
36911 _ACEOF
36912 rm -f conftest.$ac_objext conftest$ac_exeext
36913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36914 (eval $ac_link) 2>conftest.er1
36915 ac_status=$?
36916 grep -v '^ *+' conftest.er1 >conftest.err
36917 rm -f conftest.er1
36918 cat conftest.err >&5
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); } &&
36921 { ac_try='test -z "$ac_c_werror_flag"
36922 || test ! -s conftest.err'
36923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36924 (eval $ac_try) 2>&5
36925 ac_status=$?
36926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36927 (exit $ac_status); }; } &&
36928 { ac_try='test -s conftest$ac_exeext'
36929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36930 (eval $ac_try) 2>&5
36931 ac_status=$?
36932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36933 (exit $ac_status); }; }; then
36934 eval "$as_ac_var=yes"
36935 else
36936 echo "$as_me: failed program was:" >&5
36937 sed 's/^/| /' conftest.$ac_ext >&5
36939 eval "$as_ac_var=no"
36941 rm -f conftest.err conftest.$ac_objext \
36942 conftest$ac_exeext conftest.$ac_ext
36944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36946 if test `eval echo '${'$as_ac_var'}'` = yes; then
36947 cat >>confdefs.h <<_ACEOF
36948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36949 _ACEOF
36952 done
36962 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36963 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36964 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36965 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36966 echo $ECHO_N "(cached) $ECHO_C" >&6
36967 else
36971 ac_ext=cc
36972 ac_cpp='$CXXCPP $CPPFLAGS'
36973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36977 cat >conftest.$ac_ext <<_ACEOF
36978 /* confdefs.h. */
36979 _ACEOF
36980 cat confdefs.h >>conftest.$ac_ext
36981 cat >>conftest.$ac_ext <<_ACEOF
36982 /* end confdefs.h. */
36983 #include <math.h>
36985 main ()
36987 fmodf(0, 0);
36989 return 0;
36991 _ACEOF
36992 rm -f conftest.$ac_objext
36993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36994 (eval $ac_compile) 2>conftest.er1
36995 ac_status=$?
36996 grep -v '^ *+' conftest.er1 >conftest.err
36997 rm -f conftest.er1
36998 cat conftest.err >&5
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); } &&
37001 { ac_try='test -z "$ac_cxx_werror_flag"
37002 || test ! -s conftest.err'
37003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37004 (eval $ac_try) 2>&5
37005 ac_status=$?
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); }; } &&
37008 { ac_try='test -s conftest.$ac_objext'
37009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37010 (eval $ac_try) 2>&5
37011 ac_status=$?
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); }; }; then
37014 glibcxx_cv_func_fmodf_use=yes
37015 else
37016 echo "$as_me: failed program was:" >&5
37017 sed 's/^/| /' conftest.$ac_ext >&5
37019 glibcxx_cv_func_fmodf_use=no
37021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37022 ac_ext=c
37023 ac_cpp='$CPP $CPPFLAGS'
37024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37032 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
37033 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
37035 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37037 for ac_func in fmodf
37039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37040 echo "$as_me:$LINENO: checking for $ac_func" >&5
37041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37042 if eval "test \"\${$as_ac_var+set}\" = set"; then
37043 echo $ECHO_N "(cached) $ECHO_C" >&6
37044 else
37045 if test x$gcc_no_link = xyes; then
37046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37048 { (exit 1); exit 1; }; }
37050 cat >conftest.$ac_ext <<_ACEOF
37051 /* confdefs.h. */
37052 _ACEOF
37053 cat confdefs.h >>conftest.$ac_ext
37054 cat >>conftest.$ac_ext <<_ACEOF
37055 /* end confdefs.h. */
37056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37058 #define $ac_func innocuous_$ac_func
37060 /* System header to define __stub macros and hopefully few prototypes,
37061 which can conflict with char $ac_func (); below.
37062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37063 <limits.h> exists even on freestanding compilers. */
37065 #ifdef __STDC__
37066 # include <limits.h>
37067 #else
37068 # include <assert.h>
37069 #endif
37071 #undef $ac_func
37073 /* Override any gcc2 internal prototype to avoid an error. */
37074 #ifdef __cplusplus
37075 extern "C"
37077 #endif
37078 /* We use char because int might match the return type of a gcc2
37079 builtin and then its argument prototype would still apply. */
37080 char $ac_func ();
37081 /* The GNU C library defines this for functions which it implements
37082 to always fail with ENOSYS. Some functions are actually named
37083 something starting with __ and the normal name is an alias. */
37084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37085 choke me
37086 #else
37087 char (*f) () = $ac_func;
37088 #endif
37089 #ifdef __cplusplus
37091 #endif
37094 main ()
37096 return f != $ac_func;
37098 return 0;
37100 _ACEOF
37101 rm -f conftest.$ac_objext conftest$ac_exeext
37102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37103 (eval $ac_link) 2>conftest.er1
37104 ac_status=$?
37105 grep -v '^ *+' conftest.er1 >conftest.err
37106 rm -f conftest.er1
37107 cat conftest.err >&5
37108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109 (exit $ac_status); } &&
37110 { ac_try='test -z "$ac_c_werror_flag"
37111 || test ! -s conftest.err'
37112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37113 (eval $ac_try) 2>&5
37114 ac_status=$?
37115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37116 (exit $ac_status); }; } &&
37117 { ac_try='test -s conftest$ac_exeext'
37118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37119 (eval $ac_try) 2>&5
37120 ac_status=$?
37121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37122 (exit $ac_status); }; }; then
37123 eval "$as_ac_var=yes"
37124 else
37125 echo "$as_me: failed program was:" >&5
37126 sed 's/^/| /' conftest.$ac_ext >&5
37128 eval "$as_ac_var=no"
37130 rm -f conftest.err conftest.$ac_objext \
37131 conftest$ac_exeext conftest.$ac_ext
37133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37135 if test `eval echo '${'$as_ac_var'}'` = yes; then
37136 cat >>confdefs.h <<_ACEOF
37137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37138 _ACEOF
37141 done
37143 else
37145 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
37146 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
37147 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37148 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
37149 echo $ECHO_N "(cached) $ECHO_C" >&6
37150 else
37154 ac_ext=cc
37155 ac_cpp='$CXXCPP $CPPFLAGS'
37156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37160 cat >conftest.$ac_ext <<_ACEOF
37161 /* confdefs.h. */
37162 _ACEOF
37163 cat confdefs.h >>conftest.$ac_ext
37164 cat >>conftest.$ac_ext <<_ACEOF
37165 /* end confdefs.h. */
37166 #include <math.h>
37168 main ()
37170 _fmodf(0, 0);
37172 return 0;
37174 _ACEOF
37175 rm -f conftest.$ac_objext
37176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37177 (eval $ac_compile) 2>conftest.er1
37178 ac_status=$?
37179 grep -v '^ *+' conftest.er1 >conftest.err
37180 rm -f conftest.er1
37181 cat conftest.err >&5
37182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37183 (exit $ac_status); } &&
37184 { ac_try='test -z "$ac_cxx_werror_flag"
37185 || test ! -s conftest.err'
37186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37187 (eval $ac_try) 2>&5
37188 ac_status=$?
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); }; } &&
37191 { ac_try='test -s conftest.$ac_objext'
37192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37193 (eval $ac_try) 2>&5
37194 ac_status=$?
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); }; }; then
37197 glibcxx_cv_func__fmodf_use=yes
37198 else
37199 echo "$as_me: failed program was:" >&5
37200 sed 's/^/| /' conftest.$ac_ext >&5
37202 glibcxx_cv_func__fmodf_use=no
37204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37205 ac_ext=c
37206 ac_cpp='$CPP $CPPFLAGS'
37207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37215 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37216 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37218 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37220 for ac_func in _fmodf
37222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37223 echo "$as_me:$LINENO: checking for $ac_func" >&5
37224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37225 if eval "test \"\${$as_ac_var+set}\" = set"; then
37226 echo $ECHO_N "(cached) $ECHO_C" >&6
37227 else
37228 if test x$gcc_no_link = xyes; then
37229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37231 { (exit 1); exit 1; }; }
37233 cat >conftest.$ac_ext <<_ACEOF
37234 /* confdefs.h. */
37235 _ACEOF
37236 cat confdefs.h >>conftest.$ac_ext
37237 cat >>conftest.$ac_ext <<_ACEOF
37238 /* end confdefs.h. */
37239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37241 #define $ac_func innocuous_$ac_func
37243 /* System header to define __stub macros and hopefully few prototypes,
37244 which can conflict with char $ac_func (); below.
37245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37246 <limits.h> exists even on freestanding compilers. */
37248 #ifdef __STDC__
37249 # include <limits.h>
37250 #else
37251 # include <assert.h>
37252 #endif
37254 #undef $ac_func
37256 /* Override any gcc2 internal prototype to avoid an error. */
37257 #ifdef __cplusplus
37258 extern "C"
37260 #endif
37261 /* We use char because int might match the return type of a gcc2
37262 builtin and then its argument prototype would still apply. */
37263 char $ac_func ();
37264 /* The GNU C library defines this for functions which it implements
37265 to always fail with ENOSYS. Some functions are actually named
37266 something starting with __ and the normal name is an alias. */
37267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37268 choke me
37269 #else
37270 char (*f) () = $ac_func;
37271 #endif
37272 #ifdef __cplusplus
37274 #endif
37277 main ()
37279 return f != $ac_func;
37281 return 0;
37283 _ACEOF
37284 rm -f conftest.$ac_objext conftest$ac_exeext
37285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37286 (eval $ac_link) 2>conftest.er1
37287 ac_status=$?
37288 grep -v '^ *+' conftest.er1 >conftest.err
37289 rm -f conftest.er1
37290 cat conftest.err >&5
37291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37292 (exit $ac_status); } &&
37293 { ac_try='test -z "$ac_c_werror_flag"
37294 || test ! -s conftest.err'
37295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37296 (eval $ac_try) 2>&5
37297 ac_status=$?
37298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37299 (exit $ac_status); }; } &&
37300 { ac_try='test -s conftest$ac_exeext'
37301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37302 (eval $ac_try) 2>&5
37303 ac_status=$?
37304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37305 (exit $ac_status); }; }; then
37306 eval "$as_ac_var=yes"
37307 else
37308 echo "$as_me: failed program was:" >&5
37309 sed 's/^/| /' conftest.$ac_ext >&5
37311 eval "$as_ac_var=no"
37313 rm -f conftest.err conftest.$ac_objext \
37314 conftest$ac_exeext conftest.$ac_ext
37316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37318 if test `eval echo '${'$as_ac_var'}'` = yes; then
37319 cat >>confdefs.h <<_ACEOF
37320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37321 _ACEOF
37324 done
37334 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37335 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37336 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37337 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37338 echo $ECHO_N "(cached) $ECHO_C" >&6
37339 else
37343 ac_ext=cc
37344 ac_cpp='$CXXCPP $CPPFLAGS'
37345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37349 cat >conftest.$ac_ext <<_ACEOF
37350 /* confdefs.h. */
37351 _ACEOF
37352 cat confdefs.h >>conftest.$ac_ext
37353 cat >>conftest.$ac_ext <<_ACEOF
37354 /* end confdefs.h. */
37355 #include <math.h>
37357 main ()
37359 frexpf(0, 0);
37361 return 0;
37363 _ACEOF
37364 rm -f conftest.$ac_objext
37365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37366 (eval $ac_compile) 2>conftest.er1
37367 ac_status=$?
37368 grep -v '^ *+' conftest.er1 >conftest.err
37369 rm -f conftest.er1
37370 cat conftest.err >&5
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); } &&
37373 { ac_try='test -z "$ac_cxx_werror_flag"
37374 || test ! -s conftest.err'
37375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37376 (eval $ac_try) 2>&5
37377 ac_status=$?
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); }; } &&
37380 { ac_try='test -s conftest.$ac_objext'
37381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37382 (eval $ac_try) 2>&5
37383 ac_status=$?
37384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37385 (exit $ac_status); }; }; then
37386 glibcxx_cv_func_frexpf_use=yes
37387 else
37388 echo "$as_me: failed program was:" >&5
37389 sed 's/^/| /' conftest.$ac_ext >&5
37391 glibcxx_cv_func_frexpf_use=no
37393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37394 ac_ext=c
37395 ac_cpp='$CPP $CPPFLAGS'
37396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37404 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37405 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37407 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37409 for ac_func in frexpf
37411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37412 echo "$as_me:$LINENO: checking for $ac_func" >&5
37413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37414 if eval "test \"\${$as_ac_var+set}\" = set"; then
37415 echo $ECHO_N "(cached) $ECHO_C" >&6
37416 else
37417 if test x$gcc_no_link = xyes; then
37418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37420 { (exit 1); exit 1; }; }
37422 cat >conftest.$ac_ext <<_ACEOF
37423 /* confdefs.h. */
37424 _ACEOF
37425 cat confdefs.h >>conftest.$ac_ext
37426 cat >>conftest.$ac_ext <<_ACEOF
37427 /* end confdefs.h. */
37428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37430 #define $ac_func innocuous_$ac_func
37432 /* System header to define __stub macros and hopefully few prototypes,
37433 which can conflict with char $ac_func (); below.
37434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37435 <limits.h> exists even on freestanding compilers. */
37437 #ifdef __STDC__
37438 # include <limits.h>
37439 #else
37440 # include <assert.h>
37441 #endif
37443 #undef $ac_func
37445 /* Override any gcc2 internal prototype to avoid an error. */
37446 #ifdef __cplusplus
37447 extern "C"
37449 #endif
37450 /* We use char because int might match the return type of a gcc2
37451 builtin and then its argument prototype would still apply. */
37452 char $ac_func ();
37453 /* The GNU C library defines this for functions which it implements
37454 to always fail with ENOSYS. Some functions are actually named
37455 something starting with __ and the normal name is an alias. */
37456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37457 choke me
37458 #else
37459 char (*f) () = $ac_func;
37460 #endif
37461 #ifdef __cplusplus
37463 #endif
37466 main ()
37468 return f != $ac_func;
37470 return 0;
37472 _ACEOF
37473 rm -f conftest.$ac_objext conftest$ac_exeext
37474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37475 (eval $ac_link) 2>conftest.er1
37476 ac_status=$?
37477 grep -v '^ *+' conftest.er1 >conftest.err
37478 rm -f conftest.er1
37479 cat conftest.err >&5
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); } &&
37482 { ac_try='test -z "$ac_c_werror_flag"
37483 || test ! -s conftest.err'
37484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37485 (eval $ac_try) 2>&5
37486 ac_status=$?
37487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37488 (exit $ac_status); }; } &&
37489 { ac_try='test -s conftest$ac_exeext'
37490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37491 (eval $ac_try) 2>&5
37492 ac_status=$?
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); }; }; then
37495 eval "$as_ac_var=yes"
37496 else
37497 echo "$as_me: failed program was:" >&5
37498 sed 's/^/| /' conftest.$ac_ext >&5
37500 eval "$as_ac_var=no"
37502 rm -f conftest.err conftest.$ac_objext \
37503 conftest$ac_exeext conftest.$ac_ext
37505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37507 if test `eval echo '${'$as_ac_var'}'` = yes; then
37508 cat >>confdefs.h <<_ACEOF
37509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37510 _ACEOF
37513 done
37515 else
37517 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37518 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37519 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37520 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37521 echo $ECHO_N "(cached) $ECHO_C" >&6
37522 else
37526 ac_ext=cc
37527 ac_cpp='$CXXCPP $CPPFLAGS'
37528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37532 cat >conftest.$ac_ext <<_ACEOF
37533 /* confdefs.h. */
37534 _ACEOF
37535 cat confdefs.h >>conftest.$ac_ext
37536 cat >>conftest.$ac_ext <<_ACEOF
37537 /* end confdefs.h. */
37538 #include <math.h>
37540 main ()
37542 _frexpf(0, 0);
37544 return 0;
37546 _ACEOF
37547 rm -f conftest.$ac_objext
37548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37549 (eval $ac_compile) 2>conftest.er1
37550 ac_status=$?
37551 grep -v '^ *+' conftest.er1 >conftest.err
37552 rm -f conftest.er1
37553 cat conftest.err >&5
37554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555 (exit $ac_status); } &&
37556 { ac_try='test -z "$ac_cxx_werror_flag"
37557 || test ! -s conftest.err'
37558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37559 (eval $ac_try) 2>&5
37560 ac_status=$?
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); }; } &&
37563 { ac_try='test -s conftest.$ac_objext'
37564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37565 (eval $ac_try) 2>&5
37566 ac_status=$?
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); }; }; then
37569 glibcxx_cv_func__frexpf_use=yes
37570 else
37571 echo "$as_me: failed program was:" >&5
37572 sed 's/^/| /' conftest.$ac_ext >&5
37574 glibcxx_cv_func__frexpf_use=no
37576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37577 ac_ext=c
37578 ac_cpp='$CPP $CPPFLAGS'
37579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37588 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37590 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37592 for ac_func in _frexpf
37594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37595 echo "$as_me:$LINENO: checking for $ac_func" >&5
37596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37597 if eval "test \"\${$as_ac_var+set}\" = set"; then
37598 echo $ECHO_N "(cached) $ECHO_C" >&6
37599 else
37600 if test x$gcc_no_link = xyes; then
37601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37603 { (exit 1); exit 1; }; }
37605 cat >conftest.$ac_ext <<_ACEOF
37606 /* confdefs.h. */
37607 _ACEOF
37608 cat confdefs.h >>conftest.$ac_ext
37609 cat >>conftest.$ac_ext <<_ACEOF
37610 /* end confdefs.h. */
37611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37613 #define $ac_func innocuous_$ac_func
37615 /* System header to define __stub macros and hopefully few prototypes,
37616 which can conflict with char $ac_func (); below.
37617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37618 <limits.h> exists even on freestanding compilers. */
37620 #ifdef __STDC__
37621 # include <limits.h>
37622 #else
37623 # include <assert.h>
37624 #endif
37626 #undef $ac_func
37628 /* Override any gcc2 internal prototype to avoid an error. */
37629 #ifdef __cplusplus
37630 extern "C"
37632 #endif
37633 /* We use char because int might match the return type of a gcc2
37634 builtin and then its argument prototype would still apply. */
37635 char $ac_func ();
37636 /* The GNU C library defines this for functions which it implements
37637 to always fail with ENOSYS. Some functions are actually named
37638 something starting with __ and the normal name is an alias. */
37639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37640 choke me
37641 #else
37642 char (*f) () = $ac_func;
37643 #endif
37644 #ifdef __cplusplus
37646 #endif
37649 main ()
37651 return f != $ac_func;
37653 return 0;
37655 _ACEOF
37656 rm -f conftest.$ac_objext conftest$ac_exeext
37657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37658 (eval $ac_link) 2>conftest.er1
37659 ac_status=$?
37660 grep -v '^ *+' conftest.er1 >conftest.err
37661 rm -f conftest.er1
37662 cat conftest.err >&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); } &&
37665 { ac_try='test -z "$ac_c_werror_flag"
37666 || test ! -s conftest.err'
37667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37668 (eval $ac_try) 2>&5
37669 ac_status=$?
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); }; } &&
37672 { ac_try='test -s conftest$ac_exeext'
37673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37674 (eval $ac_try) 2>&5
37675 ac_status=$?
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); }; }; then
37678 eval "$as_ac_var=yes"
37679 else
37680 echo "$as_me: failed program was:" >&5
37681 sed 's/^/| /' conftest.$ac_ext >&5
37683 eval "$as_ac_var=no"
37685 rm -f conftest.err conftest.$ac_objext \
37686 conftest$ac_exeext conftest.$ac_ext
37688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37690 if test `eval echo '${'$as_ac_var'}'` = yes; then
37691 cat >>confdefs.h <<_ACEOF
37692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37693 _ACEOF
37696 done
37706 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37707 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37708 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37709 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37710 echo $ECHO_N "(cached) $ECHO_C" >&6
37711 else
37715 ac_ext=cc
37716 ac_cpp='$CXXCPP $CPPFLAGS'
37717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37721 cat >conftest.$ac_ext <<_ACEOF
37722 /* confdefs.h. */
37723 _ACEOF
37724 cat confdefs.h >>conftest.$ac_ext
37725 cat >>conftest.$ac_ext <<_ACEOF
37726 /* end confdefs.h. */
37727 #include <math.h>
37729 main ()
37731 hypotf(0, 0);
37733 return 0;
37735 _ACEOF
37736 rm -f conftest.$ac_objext
37737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37738 (eval $ac_compile) 2>conftest.er1
37739 ac_status=$?
37740 grep -v '^ *+' conftest.er1 >conftest.err
37741 rm -f conftest.er1
37742 cat conftest.err >&5
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); } &&
37745 { ac_try='test -z "$ac_cxx_werror_flag"
37746 || test ! -s conftest.err'
37747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37748 (eval $ac_try) 2>&5
37749 ac_status=$?
37750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37751 (exit $ac_status); }; } &&
37752 { ac_try='test -s conftest.$ac_objext'
37753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37754 (eval $ac_try) 2>&5
37755 ac_status=$?
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); }; }; then
37758 glibcxx_cv_func_hypotf_use=yes
37759 else
37760 echo "$as_me: failed program was:" >&5
37761 sed 's/^/| /' conftest.$ac_ext >&5
37763 glibcxx_cv_func_hypotf_use=no
37765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37766 ac_ext=c
37767 ac_cpp='$CPP $CPPFLAGS'
37768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37776 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37777 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37779 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37781 for ac_func in hypotf
37783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37784 echo "$as_me:$LINENO: checking for $ac_func" >&5
37785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37786 if eval "test \"\${$as_ac_var+set}\" = set"; then
37787 echo $ECHO_N "(cached) $ECHO_C" >&6
37788 else
37789 if test x$gcc_no_link = xyes; then
37790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37792 { (exit 1); exit 1; }; }
37794 cat >conftest.$ac_ext <<_ACEOF
37795 /* confdefs.h. */
37796 _ACEOF
37797 cat confdefs.h >>conftest.$ac_ext
37798 cat >>conftest.$ac_ext <<_ACEOF
37799 /* end confdefs.h. */
37800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37802 #define $ac_func innocuous_$ac_func
37804 /* System header to define __stub macros and hopefully few prototypes,
37805 which can conflict with char $ac_func (); below.
37806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37807 <limits.h> exists even on freestanding compilers. */
37809 #ifdef __STDC__
37810 # include <limits.h>
37811 #else
37812 # include <assert.h>
37813 #endif
37815 #undef $ac_func
37817 /* Override any gcc2 internal prototype to avoid an error. */
37818 #ifdef __cplusplus
37819 extern "C"
37821 #endif
37822 /* We use char because int might match the return type of a gcc2
37823 builtin and then its argument prototype would still apply. */
37824 char $ac_func ();
37825 /* The GNU C library defines this for functions which it implements
37826 to always fail with ENOSYS. Some functions are actually named
37827 something starting with __ and the normal name is an alias. */
37828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37829 choke me
37830 #else
37831 char (*f) () = $ac_func;
37832 #endif
37833 #ifdef __cplusplus
37835 #endif
37838 main ()
37840 return f != $ac_func;
37842 return 0;
37844 _ACEOF
37845 rm -f conftest.$ac_objext conftest$ac_exeext
37846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37847 (eval $ac_link) 2>conftest.er1
37848 ac_status=$?
37849 grep -v '^ *+' conftest.er1 >conftest.err
37850 rm -f conftest.er1
37851 cat conftest.err >&5
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); } &&
37854 { ac_try='test -z "$ac_c_werror_flag"
37855 || test ! -s conftest.err'
37856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37857 (eval $ac_try) 2>&5
37858 ac_status=$?
37859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37860 (exit $ac_status); }; } &&
37861 { ac_try='test -s conftest$ac_exeext'
37862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37863 (eval $ac_try) 2>&5
37864 ac_status=$?
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); }; }; then
37867 eval "$as_ac_var=yes"
37868 else
37869 echo "$as_me: failed program was:" >&5
37870 sed 's/^/| /' conftest.$ac_ext >&5
37872 eval "$as_ac_var=no"
37874 rm -f conftest.err conftest.$ac_objext \
37875 conftest$ac_exeext conftest.$ac_ext
37877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37879 if test `eval echo '${'$as_ac_var'}'` = yes; then
37880 cat >>confdefs.h <<_ACEOF
37881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37882 _ACEOF
37885 done
37887 else
37889 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37890 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37891 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37892 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37893 echo $ECHO_N "(cached) $ECHO_C" >&6
37894 else
37898 ac_ext=cc
37899 ac_cpp='$CXXCPP $CPPFLAGS'
37900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37904 cat >conftest.$ac_ext <<_ACEOF
37905 /* confdefs.h. */
37906 _ACEOF
37907 cat confdefs.h >>conftest.$ac_ext
37908 cat >>conftest.$ac_ext <<_ACEOF
37909 /* end confdefs.h. */
37910 #include <math.h>
37912 main ()
37914 _hypotf(0, 0);
37916 return 0;
37918 _ACEOF
37919 rm -f conftest.$ac_objext
37920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37921 (eval $ac_compile) 2>conftest.er1
37922 ac_status=$?
37923 grep -v '^ *+' conftest.er1 >conftest.err
37924 rm -f conftest.er1
37925 cat conftest.err >&5
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); } &&
37928 { ac_try='test -z "$ac_cxx_werror_flag"
37929 || test ! -s conftest.err'
37930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37931 (eval $ac_try) 2>&5
37932 ac_status=$?
37933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37934 (exit $ac_status); }; } &&
37935 { ac_try='test -s conftest.$ac_objext'
37936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37937 (eval $ac_try) 2>&5
37938 ac_status=$?
37939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37940 (exit $ac_status); }; }; then
37941 glibcxx_cv_func__hypotf_use=yes
37942 else
37943 echo "$as_me: failed program was:" >&5
37944 sed 's/^/| /' conftest.$ac_ext >&5
37946 glibcxx_cv_func__hypotf_use=no
37948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37949 ac_ext=c
37950 ac_cpp='$CPP $CPPFLAGS'
37951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37959 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37960 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37962 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37964 for ac_func in _hypotf
37966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37967 echo "$as_me:$LINENO: checking for $ac_func" >&5
37968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37969 if eval "test \"\${$as_ac_var+set}\" = set"; then
37970 echo $ECHO_N "(cached) $ECHO_C" >&6
37971 else
37972 if test x$gcc_no_link = xyes; then
37973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37975 { (exit 1); exit 1; }; }
37977 cat >conftest.$ac_ext <<_ACEOF
37978 /* confdefs.h. */
37979 _ACEOF
37980 cat confdefs.h >>conftest.$ac_ext
37981 cat >>conftest.$ac_ext <<_ACEOF
37982 /* end confdefs.h. */
37983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37985 #define $ac_func innocuous_$ac_func
37987 /* System header to define __stub macros and hopefully few prototypes,
37988 which can conflict with char $ac_func (); below.
37989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37990 <limits.h> exists even on freestanding compilers. */
37992 #ifdef __STDC__
37993 # include <limits.h>
37994 #else
37995 # include <assert.h>
37996 #endif
37998 #undef $ac_func
38000 /* Override any gcc2 internal prototype to avoid an error. */
38001 #ifdef __cplusplus
38002 extern "C"
38004 #endif
38005 /* We use char because int might match the return type of a gcc2
38006 builtin and then its argument prototype would still apply. */
38007 char $ac_func ();
38008 /* The GNU C library defines this for functions which it implements
38009 to always fail with ENOSYS. Some functions are actually named
38010 something starting with __ and the normal name is an alias. */
38011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38012 choke me
38013 #else
38014 char (*f) () = $ac_func;
38015 #endif
38016 #ifdef __cplusplus
38018 #endif
38021 main ()
38023 return f != $ac_func;
38025 return 0;
38027 _ACEOF
38028 rm -f conftest.$ac_objext conftest$ac_exeext
38029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38030 (eval $ac_link) 2>conftest.er1
38031 ac_status=$?
38032 grep -v '^ *+' conftest.er1 >conftest.err
38033 rm -f conftest.er1
38034 cat conftest.err >&5
38035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036 (exit $ac_status); } &&
38037 { ac_try='test -z "$ac_c_werror_flag"
38038 || test ! -s conftest.err'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38041 ac_status=$?
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; } &&
38044 { ac_try='test -s conftest$ac_exeext'
38045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38046 (eval $ac_try) 2>&5
38047 ac_status=$?
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); }; }; then
38050 eval "$as_ac_var=yes"
38051 else
38052 echo "$as_me: failed program was:" >&5
38053 sed 's/^/| /' conftest.$ac_ext >&5
38055 eval "$as_ac_var=no"
38057 rm -f conftest.err conftest.$ac_objext \
38058 conftest$ac_exeext conftest.$ac_ext
38060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38062 if test `eval echo '${'$as_ac_var'}'` = yes; then
38063 cat >>confdefs.h <<_ACEOF
38064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38065 _ACEOF
38068 done
38078 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
38079 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
38080 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38081 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
38082 echo $ECHO_N "(cached) $ECHO_C" >&6
38083 else
38087 ac_ext=cc
38088 ac_cpp='$CXXCPP $CPPFLAGS'
38089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38093 cat >conftest.$ac_ext <<_ACEOF
38094 /* confdefs.h. */
38095 _ACEOF
38096 cat confdefs.h >>conftest.$ac_ext
38097 cat >>conftest.$ac_ext <<_ACEOF
38098 /* end confdefs.h. */
38099 #include <math.h>
38101 main ()
38103 ldexpf(0, 0);
38105 return 0;
38107 _ACEOF
38108 rm -f conftest.$ac_objext
38109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38110 (eval $ac_compile) 2>conftest.er1
38111 ac_status=$?
38112 grep -v '^ *+' conftest.er1 >conftest.err
38113 rm -f conftest.er1
38114 cat conftest.err >&5
38115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38116 (exit $ac_status); } &&
38117 { ac_try='test -z "$ac_cxx_werror_flag"
38118 || test ! -s conftest.err'
38119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38120 (eval $ac_try) 2>&5
38121 ac_status=$?
38122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38123 (exit $ac_status); }; } &&
38124 { ac_try='test -s conftest.$ac_objext'
38125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38126 (eval $ac_try) 2>&5
38127 ac_status=$?
38128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 (exit $ac_status); }; }; then
38130 glibcxx_cv_func_ldexpf_use=yes
38131 else
38132 echo "$as_me: failed program was:" >&5
38133 sed 's/^/| /' conftest.$ac_ext >&5
38135 glibcxx_cv_func_ldexpf_use=no
38137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38138 ac_ext=c
38139 ac_cpp='$CPP $CPPFLAGS'
38140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38148 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
38149 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
38151 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38153 for ac_func in ldexpf
38155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38156 echo "$as_me:$LINENO: checking for $ac_func" >&5
38157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38158 if eval "test \"\${$as_ac_var+set}\" = set"; then
38159 echo $ECHO_N "(cached) $ECHO_C" >&6
38160 else
38161 if test x$gcc_no_link = xyes; then
38162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38164 { (exit 1); exit 1; }; }
38166 cat >conftest.$ac_ext <<_ACEOF
38167 /* confdefs.h. */
38168 _ACEOF
38169 cat confdefs.h >>conftest.$ac_ext
38170 cat >>conftest.$ac_ext <<_ACEOF
38171 /* end confdefs.h. */
38172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38174 #define $ac_func innocuous_$ac_func
38176 /* System header to define __stub macros and hopefully few prototypes,
38177 which can conflict with char $ac_func (); below.
38178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38179 <limits.h> exists even on freestanding compilers. */
38181 #ifdef __STDC__
38182 # include <limits.h>
38183 #else
38184 # include <assert.h>
38185 #endif
38187 #undef $ac_func
38189 /* Override any gcc2 internal prototype to avoid an error. */
38190 #ifdef __cplusplus
38191 extern "C"
38193 #endif
38194 /* We use char because int might match the return type of a gcc2
38195 builtin and then its argument prototype would still apply. */
38196 char $ac_func ();
38197 /* The GNU C library defines this for functions which it implements
38198 to always fail with ENOSYS. Some functions are actually named
38199 something starting with __ and the normal name is an alias. */
38200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38201 choke me
38202 #else
38203 char (*f) () = $ac_func;
38204 #endif
38205 #ifdef __cplusplus
38207 #endif
38210 main ()
38212 return f != $ac_func;
38214 return 0;
38216 _ACEOF
38217 rm -f conftest.$ac_objext conftest$ac_exeext
38218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38219 (eval $ac_link) 2>conftest.er1
38220 ac_status=$?
38221 grep -v '^ *+' conftest.er1 >conftest.err
38222 rm -f conftest.er1
38223 cat conftest.err >&5
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); } &&
38226 { ac_try='test -z "$ac_c_werror_flag"
38227 || test ! -s conftest.err'
38228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38229 (eval $ac_try) 2>&5
38230 ac_status=$?
38231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38232 (exit $ac_status); }; } &&
38233 { ac_try='test -s conftest$ac_exeext'
38234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38235 (eval $ac_try) 2>&5
38236 ac_status=$?
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); }; }; then
38239 eval "$as_ac_var=yes"
38240 else
38241 echo "$as_me: failed program was:" >&5
38242 sed 's/^/| /' conftest.$ac_ext >&5
38244 eval "$as_ac_var=no"
38246 rm -f conftest.err conftest.$ac_objext \
38247 conftest$ac_exeext conftest.$ac_ext
38249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38251 if test `eval echo '${'$as_ac_var'}'` = yes; then
38252 cat >>confdefs.h <<_ACEOF
38253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38254 _ACEOF
38257 done
38259 else
38261 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38262 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38263 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38264 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38265 echo $ECHO_N "(cached) $ECHO_C" >&6
38266 else
38270 ac_ext=cc
38271 ac_cpp='$CXXCPP $CPPFLAGS'
38272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38276 cat >conftest.$ac_ext <<_ACEOF
38277 /* confdefs.h. */
38278 _ACEOF
38279 cat confdefs.h >>conftest.$ac_ext
38280 cat >>conftest.$ac_ext <<_ACEOF
38281 /* end confdefs.h. */
38282 #include <math.h>
38284 main ()
38286 _ldexpf(0, 0);
38288 return 0;
38290 _ACEOF
38291 rm -f conftest.$ac_objext
38292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38293 (eval $ac_compile) 2>conftest.er1
38294 ac_status=$?
38295 grep -v '^ *+' conftest.er1 >conftest.err
38296 rm -f conftest.er1
38297 cat conftest.err >&5
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); } &&
38300 { ac_try='test -z "$ac_cxx_werror_flag"
38301 || test ! -s conftest.err'
38302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38303 (eval $ac_try) 2>&5
38304 ac_status=$?
38305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38306 (exit $ac_status); }; } &&
38307 { ac_try='test -s conftest.$ac_objext'
38308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38309 (eval $ac_try) 2>&5
38310 ac_status=$?
38311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38312 (exit $ac_status); }; }; then
38313 glibcxx_cv_func__ldexpf_use=yes
38314 else
38315 echo "$as_me: failed program was:" >&5
38316 sed 's/^/| /' conftest.$ac_ext >&5
38318 glibcxx_cv_func__ldexpf_use=no
38320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38321 ac_ext=c
38322 ac_cpp='$CPP $CPPFLAGS'
38323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38331 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38332 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38334 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38336 for ac_func in _ldexpf
38338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38339 echo "$as_me:$LINENO: checking for $ac_func" >&5
38340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38341 if eval "test \"\${$as_ac_var+set}\" = set"; then
38342 echo $ECHO_N "(cached) $ECHO_C" >&6
38343 else
38344 if test x$gcc_no_link = xyes; then
38345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38347 { (exit 1); exit 1; }; }
38349 cat >conftest.$ac_ext <<_ACEOF
38350 /* confdefs.h. */
38351 _ACEOF
38352 cat confdefs.h >>conftest.$ac_ext
38353 cat >>conftest.$ac_ext <<_ACEOF
38354 /* end confdefs.h. */
38355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38357 #define $ac_func innocuous_$ac_func
38359 /* System header to define __stub macros and hopefully few prototypes,
38360 which can conflict with char $ac_func (); below.
38361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38362 <limits.h> exists even on freestanding compilers. */
38364 #ifdef __STDC__
38365 # include <limits.h>
38366 #else
38367 # include <assert.h>
38368 #endif
38370 #undef $ac_func
38372 /* Override any gcc2 internal prototype to avoid an error. */
38373 #ifdef __cplusplus
38374 extern "C"
38376 #endif
38377 /* We use char because int might match the return type of a gcc2
38378 builtin and then its argument prototype would still apply. */
38379 char $ac_func ();
38380 /* The GNU C library defines this for functions which it implements
38381 to always fail with ENOSYS. Some functions are actually named
38382 something starting with __ and the normal name is an alias. */
38383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38384 choke me
38385 #else
38386 char (*f) () = $ac_func;
38387 #endif
38388 #ifdef __cplusplus
38390 #endif
38393 main ()
38395 return f != $ac_func;
38397 return 0;
38399 _ACEOF
38400 rm -f conftest.$ac_objext conftest$ac_exeext
38401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38402 (eval $ac_link) 2>conftest.er1
38403 ac_status=$?
38404 grep -v '^ *+' conftest.er1 >conftest.err
38405 rm -f conftest.er1
38406 cat conftest.err >&5
38407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38408 (exit $ac_status); } &&
38409 { ac_try='test -z "$ac_c_werror_flag"
38410 || test ! -s conftest.err'
38411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38412 (eval $ac_try) 2>&5
38413 ac_status=$?
38414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38415 (exit $ac_status); }; } &&
38416 { ac_try='test -s conftest$ac_exeext'
38417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38418 (eval $ac_try) 2>&5
38419 ac_status=$?
38420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421 (exit $ac_status); }; }; then
38422 eval "$as_ac_var=yes"
38423 else
38424 echo "$as_me: failed program was:" >&5
38425 sed 's/^/| /' conftest.$ac_ext >&5
38427 eval "$as_ac_var=no"
38429 rm -f conftest.err conftest.$ac_objext \
38430 conftest$ac_exeext conftest.$ac_ext
38432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38434 if test `eval echo '${'$as_ac_var'}'` = yes; then
38435 cat >>confdefs.h <<_ACEOF
38436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38437 _ACEOF
38440 done
38450 echo "$as_me:$LINENO: checking for logf declaration" >&5
38451 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38452 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38453 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38454 echo $ECHO_N "(cached) $ECHO_C" >&6
38455 else
38459 ac_ext=cc
38460 ac_cpp='$CXXCPP $CPPFLAGS'
38461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38465 cat >conftest.$ac_ext <<_ACEOF
38466 /* confdefs.h. */
38467 _ACEOF
38468 cat confdefs.h >>conftest.$ac_ext
38469 cat >>conftest.$ac_ext <<_ACEOF
38470 /* end confdefs.h. */
38471 #include <math.h>
38472 #ifdef HAVE_IEEEFP_H
38473 #include <ieeefp.h>
38474 #endif
38477 main ()
38479 logf(0);
38481 return 0;
38483 _ACEOF
38484 rm -f conftest.$ac_objext
38485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38486 (eval $ac_compile) 2>conftest.er1
38487 ac_status=$?
38488 grep -v '^ *+' conftest.er1 >conftest.err
38489 rm -f conftest.er1
38490 cat conftest.err >&5
38491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38492 (exit $ac_status); } &&
38493 { ac_try='test -z "$ac_cxx_werror_flag"
38494 || test ! -s conftest.err'
38495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38496 (eval $ac_try) 2>&5
38497 ac_status=$?
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); }; } &&
38500 { ac_try='test -s conftest.$ac_objext'
38501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38502 (eval $ac_try) 2>&5
38503 ac_status=$?
38504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38505 (exit $ac_status); }; }; then
38506 glibcxx_cv_func_logf_use=yes
38507 else
38508 echo "$as_me: failed program was:" >&5
38509 sed 's/^/| /' conftest.$ac_ext >&5
38511 glibcxx_cv_func_logf_use=no
38513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38514 ac_ext=c
38515 ac_cpp='$CPP $CPPFLAGS'
38516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38524 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38525 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38527 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38529 for ac_func in logf
38531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38532 echo "$as_me:$LINENO: checking for $ac_func" >&5
38533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38534 if eval "test \"\${$as_ac_var+set}\" = set"; then
38535 echo $ECHO_N "(cached) $ECHO_C" >&6
38536 else
38537 if test x$gcc_no_link = xyes; then
38538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38540 { (exit 1); exit 1; }; }
38542 cat >conftest.$ac_ext <<_ACEOF
38543 /* confdefs.h. */
38544 _ACEOF
38545 cat confdefs.h >>conftest.$ac_ext
38546 cat >>conftest.$ac_ext <<_ACEOF
38547 /* end confdefs.h. */
38548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38550 #define $ac_func innocuous_$ac_func
38552 /* System header to define __stub macros and hopefully few prototypes,
38553 which can conflict with char $ac_func (); below.
38554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38555 <limits.h> exists even on freestanding compilers. */
38557 #ifdef __STDC__
38558 # include <limits.h>
38559 #else
38560 # include <assert.h>
38561 #endif
38563 #undef $ac_func
38565 /* Override any gcc2 internal prototype to avoid an error. */
38566 #ifdef __cplusplus
38567 extern "C"
38569 #endif
38570 /* We use char because int might match the return type of a gcc2
38571 builtin and then its argument prototype would still apply. */
38572 char $ac_func ();
38573 /* The GNU C library defines this for functions which it implements
38574 to always fail with ENOSYS. Some functions are actually named
38575 something starting with __ and the normal name is an alias. */
38576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38577 choke me
38578 #else
38579 char (*f) () = $ac_func;
38580 #endif
38581 #ifdef __cplusplus
38583 #endif
38586 main ()
38588 return f != $ac_func;
38590 return 0;
38592 _ACEOF
38593 rm -f conftest.$ac_objext conftest$ac_exeext
38594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38595 (eval $ac_link) 2>conftest.er1
38596 ac_status=$?
38597 grep -v '^ *+' conftest.er1 >conftest.err
38598 rm -f conftest.er1
38599 cat conftest.err >&5
38600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38601 (exit $ac_status); } &&
38602 { ac_try='test -z "$ac_c_werror_flag"
38603 || test ! -s conftest.err'
38604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38605 (eval $ac_try) 2>&5
38606 ac_status=$?
38607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38608 (exit $ac_status); }; } &&
38609 { ac_try='test -s conftest$ac_exeext'
38610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38611 (eval $ac_try) 2>&5
38612 ac_status=$?
38613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38614 (exit $ac_status); }; }; then
38615 eval "$as_ac_var=yes"
38616 else
38617 echo "$as_me: failed program was:" >&5
38618 sed 's/^/| /' conftest.$ac_ext >&5
38620 eval "$as_ac_var=no"
38622 rm -f conftest.err conftest.$ac_objext \
38623 conftest$ac_exeext conftest.$ac_ext
38625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38627 if test `eval echo '${'$as_ac_var'}'` = yes; then
38628 cat >>confdefs.h <<_ACEOF
38629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38630 _ACEOF
38633 done
38635 else
38637 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38638 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38639 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38640 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38641 echo $ECHO_N "(cached) $ECHO_C" >&6
38642 else
38646 ac_ext=cc
38647 ac_cpp='$CXXCPP $CPPFLAGS'
38648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38652 cat >conftest.$ac_ext <<_ACEOF
38653 /* confdefs.h. */
38654 _ACEOF
38655 cat confdefs.h >>conftest.$ac_ext
38656 cat >>conftest.$ac_ext <<_ACEOF
38657 /* end confdefs.h. */
38658 #include <math.h>
38659 #ifdef HAVE_IEEEFP_H
38660 #include <ieeefp.h>
38661 #endif
38664 main ()
38666 _logf(0);
38668 return 0;
38670 _ACEOF
38671 rm -f conftest.$ac_objext
38672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38673 (eval $ac_compile) 2>conftest.er1
38674 ac_status=$?
38675 grep -v '^ *+' conftest.er1 >conftest.err
38676 rm -f conftest.er1
38677 cat conftest.err >&5
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); } &&
38680 { ac_try='test -z "$ac_cxx_werror_flag"
38681 || test ! -s conftest.err'
38682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38683 (eval $ac_try) 2>&5
38684 ac_status=$?
38685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38686 (exit $ac_status); }; } &&
38687 { ac_try='test -s conftest.$ac_objext'
38688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38689 (eval $ac_try) 2>&5
38690 ac_status=$?
38691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38692 (exit $ac_status); }; }; then
38693 glibcxx_cv_func__logf_use=yes
38694 else
38695 echo "$as_me: failed program was:" >&5
38696 sed 's/^/| /' conftest.$ac_ext >&5
38698 glibcxx_cv_func__logf_use=no
38700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38701 ac_ext=c
38702 ac_cpp='$CPP $CPPFLAGS'
38703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38711 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38712 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38714 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38716 for ac_func in _logf
38718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38719 echo "$as_me:$LINENO: checking for $ac_func" >&5
38720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38721 if eval "test \"\${$as_ac_var+set}\" = set"; then
38722 echo $ECHO_N "(cached) $ECHO_C" >&6
38723 else
38724 if test x$gcc_no_link = xyes; then
38725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38727 { (exit 1); exit 1; }; }
38729 cat >conftest.$ac_ext <<_ACEOF
38730 /* confdefs.h. */
38731 _ACEOF
38732 cat confdefs.h >>conftest.$ac_ext
38733 cat >>conftest.$ac_ext <<_ACEOF
38734 /* end confdefs.h. */
38735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38737 #define $ac_func innocuous_$ac_func
38739 /* System header to define __stub macros and hopefully few prototypes,
38740 which can conflict with char $ac_func (); below.
38741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38742 <limits.h> exists even on freestanding compilers. */
38744 #ifdef __STDC__
38745 # include <limits.h>
38746 #else
38747 # include <assert.h>
38748 #endif
38750 #undef $ac_func
38752 /* Override any gcc2 internal prototype to avoid an error. */
38753 #ifdef __cplusplus
38754 extern "C"
38756 #endif
38757 /* We use char because int might match the return type of a gcc2
38758 builtin and then its argument prototype would still apply. */
38759 char $ac_func ();
38760 /* The GNU C library defines this for functions which it implements
38761 to always fail with ENOSYS. Some functions are actually named
38762 something starting with __ and the normal name is an alias. */
38763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38764 choke me
38765 #else
38766 char (*f) () = $ac_func;
38767 #endif
38768 #ifdef __cplusplus
38770 #endif
38773 main ()
38775 return f != $ac_func;
38777 return 0;
38779 _ACEOF
38780 rm -f conftest.$ac_objext conftest$ac_exeext
38781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38782 (eval $ac_link) 2>conftest.er1
38783 ac_status=$?
38784 grep -v '^ *+' conftest.er1 >conftest.err
38785 rm -f conftest.er1
38786 cat conftest.err >&5
38787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38788 (exit $ac_status); } &&
38789 { ac_try='test -z "$ac_c_werror_flag"
38790 || test ! -s conftest.err'
38791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38792 (eval $ac_try) 2>&5
38793 ac_status=$?
38794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38795 (exit $ac_status); }; } &&
38796 { ac_try='test -s conftest$ac_exeext'
38797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38798 (eval $ac_try) 2>&5
38799 ac_status=$?
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); }; }; then
38802 eval "$as_ac_var=yes"
38803 else
38804 echo "$as_me: failed program was:" >&5
38805 sed 's/^/| /' conftest.$ac_ext >&5
38807 eval "$as_ac_var=no"
38809 rm -f conftest.err conftest.$ac_objext \
38810 conftest$ac_exeext conftest.$ac_ext
38812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38814 if test `eval echo '${'$as_ac_var'}'` = yes; then
38815 cat >>confdefs.h <<_ACEOF
38816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38817 _ACEOF
38820 done
38830 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38831 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38832 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38833 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38834 echo $ECHO_N "(cached) $ECHO_C" >&6
38835 else
38839 ac_ext=cc
38840 ac_cpp='$CXXCPP $CPPFLAGS'
38841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38845 cat >conftest.$ac_ext <<_ACEOF
38846 /* confdefs.h. */
38847 _ACEOF
38848 cat confdefs.h >>conftest.$ac_ext
38849 cat >>conftest.$ac_ext <<_ACEOF
38850 /* end confdefs.h. */
38851 #include <math.h>
38852 #ifdef HAVE_IEEEFP_H
38853 #include <ieeefp.h>
38854 #endif
38857 main ()
38859 log10f(0);
38861 return 0;
38863 _ACEOF
38864 rm -f conftest.$ac_objext
38865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38866 (eval $ac_compile) 2>conftest.er1
38867 ac_status=$?
38868 grep -v '^ *+' conftest.er1 >conftest.err
38869 rm -f conftest.er1
38870 cat conftest.err >&5
38871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38872 (exit $ac_status); } &&
38873 { ac_try='test -z "$ac_cxx_werror_flag"
38874 || test ! -s conftest.err'
38875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38876 (eval $ac_try) 2>&5
38877 ac_status=$?
38878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38879 (exit $ac_status); }; } &&
38880 { ac_try='test -s conftest.$ac_objext'
38881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38882 (eval $ac_try) 2>&5
38883 ac_status=$?
38884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38885 (exit $ac_status); }; }; then
38886 glibcxx_cv_func_log10f_use=yes
38887 else
38888 echo "$as_me: failed program was:" >&5
38889 sed 's/^/| /' conftest.$ac_ext >&5
38891 glibcxx_cv_func_log10f_use=no
38893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38894 ac_ext=c
38895 ac_cpp='$CPP $CPPFLAGS'
38896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38905 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38907 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38909 for ac_func in log10f
38911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38912 echo "$as_me:$LINENO: checking for $ac_func" >&5
38913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38914 if eval "test \"\${$as_ac_var+set}\" = set"; then
38915 echo $ECHO_N "(cached) $ECHO_C" >&6
38916 else
38917 if test x$gcc_no_link = xyes; then
38918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38920 { (exit 1); exit 1; }; }
38922 cat >conftest.$ac_ext <<_ACEOF
38923 /* confdefs.h. */
38924 _ACEOF
38925 cat confdefs.h >>conftest.$ac_ext
38926 cat >>conftest.$ac_ext <<_ACEOF
38927 /* end confdefs.h. */
38928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38930 #define $ac_func innocuous_$ac_func
38932 /* System header to define __stub macros and hopefully few prototypes,
38933 which can conflict with char $ac_func (); below.
38934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38935 <limits.h> exists even on freestanding compilers. */
38937 #ifdef __STDC__
38938 # include <limits.h>
38939 #else
38940 # include <assert.h>
38941 #endif
38943 #undef $ac_func
38945 /* Override any gcc2 internal prototype to avoid an error. */
38946 #ifdef __cplusplus
38947 extern "C"
38949 #endif
38950 /* We use char because int might match the return type of a gcc2
38951 builtin and then its argument prototype would still apply. */
38952 char $ac_func ();
38953 /* The GNU C library defines this for functions which it implements
38954 to always fail with ENOSYS. Some functions are actually named
38955 something starting with __ and the normal name is an alias. */
38956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38957 choke me
38958 #else
38959 char (*f) () = $ac_func;
38960 #endif
38961 #ifdef __cplusplus
38963 #endif
38966 main ()
38968 return f != $ac_func;
38970 return 0;
38972 _ACEOF
38973 rm -f conftest.$ac_objext conftest$ac_exeext
38974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38975 (eval $ac_link) 2>conftest.er1
38976 ac_status=$?
38977 grep -v '^ *+' conftest.er1 >conftest.err
38978 rm -f conftest.er1
38979 cat conftest.err >&5
38980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38981 (exit $ac_status); } &&
38982 { ac_try='test -z "$ac_c_werror_flag"
38983 || test ! -s conftest.err'
38984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38985 (eval $ac_try) 2>&5
38986 ac_status=$?
38987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38988 (exit $ac_status); }; } &&
38989 { ac_try='test -s conftest$ac_exeext'
38990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38991 (eval $ac_try) 2>&5
38992 ac_status=$?
38993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38994 (exit $ac_status); }; }; then
38995 eval "$as_ac_var=yes"
38996 else
38997 echo "$as_me: failed program was:" >&5
38998 sed 's/^/| /' conftest.$ac_ext >&5
39000 eval "$as_ac_var=no"
39002 rm -f conftest.err conftest.$ac_objext \
39003 conftest$ac_exeext conftest.$ac_ext
39005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39007 if test `eval echo '${'$as_ac_var'}'` = yes; then
39008 cat >>confdefs.h <<_ACEOF
39009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39010 _ACEOF
39013 done
39015 else
39017 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
39018 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
39019 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
39020 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
39021 echo $ECHO_N "(cached) $ECHO_C" >&6
39022 else
39026 ac_ext=cc
39027 ac_cpp='$CXXCPP $CPPFLAGS'
39028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39032 cat >conftest.$ac_ext <<_ACEOF
39033 /* confdefs.h. */
39034 _ACEOF
39035 cat confdefs.h >>conftest.$ac_ext
39036 cat >>conftest.$ac_ext <<_ACEOF
39037 /* end confdefs.h. */
39038 #include <math.h>
39039 #ifdef HAVE_IEEEFP_H
39040 #include <ieeefp.h>
39041 #endif
39044 main ()
39046 _log10f(0);
39048 return 0;
39050 _ACEOF
39051 rm -f conftest.$ac_objext
39052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39053 (eval $ac_compile) 2>conftest.er1
39054 ac_status=$?
39055 grep -v '^ *+' conftest.er1 >conftest.err
39056 rm -f conftest.er1
39057 cat conftest.err >&5
39058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39059 (exit $ac_status); } &&
39060 { ac_try='test -z "$ac_cxx_werror_flag"
39061 || test ! -s conftest.err'
39062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39063 (eval $ac_try) 2>&5
39064 ac_status=$?
39065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39066 (exit $ac_status); }; } &&
39067 { ac_try='test -s conftest.$ac_objext'
39068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39069 (eval $ac_try) 2>&5
39070 ac_status=$?
39071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39072 (exit $ac_status); }; }; then
39073 glibcxx_cv_func__log10f_use=yes
39074 else
39075 echo "$as_me: failed program was:" >&5
39076 sed 's/^/| /' conftest.$ac_ext >&5
39078 glibcxx_cv_func__log10f_use=no
39080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39081 ac_ext=c
39082 ac_cpp='$CPP $CPPFLAGS'
39083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39091 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
39092 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
39094 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
39096 for ac_func in _log10f
39098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39099 echo "$as_me:$LINENO: checking for $ac_func" >&5
39100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39101 if eval "test \"\${$as_ac_var+set}\" = set"; then
39102 echo $ECHO_N "(cached) $ECHO_C" >&6
39103 else
39104 if test x$gcc_no_link = xyes; then
39105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39107 { (exit 1); exit 1; }; }
39109 cat >conftest.$ac_ext <<_ACEOF
39110 /* confdefs.h. */
39111 _ACEOF
39112 cat confdefs.h >>conftest.$ac_ext
39113 cat >>conftest.$ac_ext <<_ACEOF
39114 /* end confdefs.h. */
39115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39117 #define $ac_func innocuous_$ac_func
39119 /* System header to define __stub macros and hopefully few prototypes,
39120 which can conflict with char $ac_func (); below.
39121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39122 <limits.h> exists even on freestanding compilers. */
39124 #ifdef __STDC__
39125 # include <limits.h>
39126 #else
39127 # include <assert.h>
39128 #endif
39130 #undef $ac_func
39132 /* Override any gcc2 internal prototype to avoid an error. */
39133 #ifdef __cplusplus
39134 extern "C"
39136 #endif
39137 /* We use char because int might match the return type of a gcc2
39138 builtin and then its argument prototype would still apply. */
39139 char $ac_func ();
39140 /* The GNU C library defines this for functions which it implements
39141 to always fail with ENOSYS. Some functions are actually named
39142 something starting with __ and the normal name is an alias. */
39143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39144 choke me
39145 #else
39146 char (*f) () = $ac_func;
39147 #endif
39148 #ifdef __cplusplus
39150 #endif
39153 main ()
39155 return f != $ac_func;
39157 return 0;
39159 _ACEOF
39160 rm -f conftest.$ac_objext conftest$ac_exeext
39161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39162 (eval $ac_link) 2>conftest.er1
39163 ac_status=$?
39164 grep -v '^ *+' conftest.er1 >conftest.err
39165 rm -f conftest.er1
39166 cat conftest.err >&5
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); } &&
39169 { ac_try='test -z "$ac_c_werror_flag"
39170 || test ! -s conftest.err'
39171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39172 (eval $ac_try) 2>&5
39173 ac_status=$?
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); }; } &&
39176 { ac_try='test -s conftest$ac_exeext'
39177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39178 (eval $ac_try) 2>&5
39179 ac_status=$?
39180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39181 (exit $ac_status); }; }; then
39182 eval "$as_ac_var=yes"
39183 else
39184 echo "$as_me: failed program was:" >&5
39185 sed 's/^/| /' conftest.$ac_ext >&5
39187 eval "$as_ac_var=no"
39189 rm -f conftest.err conftest.$ac_objext \
39190 conftest$ac_exeext conftest.$ac_ext
39192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39194 if test `eval echo '${'$as_ac_var'}'` = yes; then
39195 cat >>confdefs.h <<_ACEOF
39196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39197 _ACEOF
39200 done
39210 echo "$as_me:$LINENO: checking for modff declaration" >&5
39211 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39212 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39213 if test "${glibcxx_cv_func_modff_use+set}" = set; then
39214 echo $ECHO_N "(cached) $ECHO_C" >&6
39215 else
39219 ac_ext=cc
39220 ac_cpp='$CXXCPP $CPPFLAGS'
39221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39225 cat >conftest.$ac_ext <<_ACEOF
39226 /* confdefs.h. */
39227 _ACEOF
39228 cat confdefs.h >>conftest.$ac_ext
39229 cat >>conftest.$ac_ext <<_ACEOF
39230 /* end confdefs.h. */
39231 #include <math.h>
39233 main ()
39235 modff(0, 0);
39237 return 0;
39239 _ACEOF
39240 rm -f conftest.$ac_objext
39241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39242 (eval $ac_compile) 2>conftest.er1
39243 ac_status=$?
39244 grep -v '^ *+' conftest.er1 >conftest.err
39245 rm -f conftest.er1
39246 cat conftest.err >&5
39247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39248 (exit $ac_status); } &&
39249 { ac_try='test -z "$ac_cxx_werror_flag"
39250 || test ! -s conftest.err'
39251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39252 (eval $ac_try) 2>&5
39253 ac_status=$?
39254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39255 (exit $ac_status); }; } &&
39256 { ac_try='test -s conftest.$ac_objext'
39257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39258 (eval $ac_try) 2>&5
39259 ac_status=$?
39260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39261 (exit $ac_status); }; }; then
39262 glibcxx_cv_func_modff_use=yes
39263 else
39264 echo "$as_me: failed program was:" >&5
39265 sed 's/^/| /' conftest.$ac_ext >&5
39267 glibcxx_cv_func_modff_use=no
39269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39270 ac_ext=c
39271 ac_cpp='$CPP $CPPFLAGS'
39272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39281 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39283 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39285 for ac_func in modff
39287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39288 echo "$as_me:$LINENO: checking for $ac_func" >&5
39289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39290 if eval "test \"\${$as_ac_var+set}\" = set"; then
39291 echo $ECHO_N "(cached) $ECHO_C" >&6
39292 else
39293 if test x$gcc_no_link = xyes; then
39294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39296 { (exit 1); exit 1; }; }
39298 cat >conftest.$ac_ext <<_ACEOF
39299 /* confdefs.h. */
39300 _ACEOF
39301 cat confdefs.h >>conftest.$ac_ext
39302 cat >>conftest.$ac_ext <<_ACEOF
39303 /* end confdefs.h. */
39304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39306 #define $ac_func innocuous_$ac_func
39308 /* System header to define __stub macros and hopefully few prototypes,
39309 which can conflict with char $ac_func (); below.
39310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39311 <limits.h> exists even on freestanding compilers. */
39313 #ifdef __STDC__
39314 # include <limits.h>
39315 #else
39316 # include <assert.h>
39317 #endif
39319 #undef $ac_func
39321 /* Override any gcc2 internal prototype to avoid an error. */
39322 #ifdef __cplusplus
39323 extern "C"
39325 #endif
39326 /* We use char because int might match the return type of a gcc2
39327 builtin and then its argument prototype would still apply. */
39328 char $ac_func ();
39329 /* The GNU C library defines this for functions which it implements
39330 to always fail with ENOSYS. Some functions are actually named
39331 something starting with __ and the normal name is an alias. */
39332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39333 choke me
39334 #else
39335 char (*f) () = $ac_func;
39336 #endif
39337 #ifdef __cplusplus
39339 #endif
39342 main ()
39344 return f != $ac_func;
39346 return 0;
39348 _ACEOF
39349 rm -f conftest.$ac_objext conftest$ac_exeext
39350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39351 (eval $ac_link) 2>conftest.er1
39352 ac_status=$?
39353 grep -v '^ *+' conftest.er1 >conftest.err
39354 rm -f conftest.er1
39355 cat conftest.err >&5
39356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39357 (exit $ac_status); } &&
39358 { ac_try='test -z "$ac_c_werror_flag"
39359 || test ! -s conftest.err'
39360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39361 (eval $ac_try) 2>&5
39362 ac_status=$?
39363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39364 (exit $ac_status); }; } &&
39365 { ac_try='test -s conftest$ac_exeext'
39366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39367 (eval $ac_try) 2>&5
39368 ac_status=$?
39369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39370 (exit $ac_status); }; }; then
39371 eval "$as_ac_var=yes"
39372 else
39373 echo "$as_me: failed program was:" >&5
39374 sed 's/^/| /' conftest.$ac_ext >&5
39376 eval "$as_ac_var=no"
39378 rm -f conftest.err conftest.$ac_objext \
39379 conftest$ac_exeext conftest.$ac_ext
39381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39383 if test `eval echo '${'$as_ac_var'}'` = yes; then
39384 cat >>confdefs.h <<_ACEOF
39385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39386 _ACEOF
39389 done
39391 else
39393 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39394 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39395 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39396 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39397 echo $ECHO_N "(cached) $ECHO_C" >&6
39398 else
39402 ac_ext=cc
39403 ac_cpp='$CXXCPP $CPPFLAGS'
39404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39408 cat >conftest.$ac_ext <<_ACEOF
39409 /* confdefs.h. */
39410 _ACEOF
39411 cat confdefs.h >>conftest.$ac_ext
39412 cat >>conftest.$ac_ext <<_ACEOF
39413 /* end confdefs.h. */
39414 #include <math.h>
39416 main ()
39418 _modff(0, 0);
39420 return 0;
39422 _ACEOF
39423 rm -f conftest.$ac_objext
39424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39425 (eval $ac_compile) 2>conftest.er1
39426 ac_status=$?
39427 grep -v '^ *+' conftest.er1 >conftest.err
39428 rm -f conftest.er1
39429 cat conftest.err >&5
39430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39431 (exit $ac_status); } &&
39432 { ac_try='test -z "$ac_cxx_werror_flag"
39433 || test ! -s conftest.err'
39434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39435 (eval $ac_try) 2>&5
39436 ac_status=$?
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); }; } &&
39439 { ac_try='test -s conftest.$ac_objext'
39440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39441 (eval $ac_try) 2>&5
39442 ac_status=$?
39443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39444 (exit $ac_status); }; }; then
39445 glibcxx_cv_func__modff_use=yes
39446 else
39447 echo "$as_me: failed program was:" >&5
39448 sed 's/^/| /' conftest.$ac_ext >&5
39450 glibcxx_cv_func__modff_use=no
39452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39453 ac_ext=c
39454 ac_cpp='$CPP $CPPFLAGS'
39455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39463 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39464 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39466 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39468 for ac_func in _modff
39470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39471 echo "$as_me:$LINENO: checking for $ac_func" >&5
39472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39473 if eval "test \"\${$as_ac_var+set}\" = set"; then
39474 echo $ECHO_N "(cached) $ECHO_C" >&6
39475 else
39476 if test x$gcc_no_link = xyes; then
39477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39479 { (exit 1); exit 1; }; }
39481 cat >conftest.$ac_ext <<_ACEOF
39482 /* confdefs.h. */
39483 _ACEOF
39484 cat confdefs.h >>conftest.$ac_ext
39485 cat >>conftest.$ac_ext <<_ACEOF
39486 /* end confdefs.h. */
39487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39489 #define $ac_func innocuous_$ac_func
39491 /* System header to define __stub macros and hopefully few prototypes,
39492 which can conflict with char $ac_func (); below.
39493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39494 <limits.h> exists even on freestanding compilers. */
39496 #ifdef __STDC__
39497 # include <limits.h>
39498 #else
39499 # include <assert.h>
39500 #endif
39502 #undef $ac_func
39504 /* Override any gcc2 internal prototype to avoid an error. */
39505 #ifdef __cplusplus
39506 extern "C"
39508 #endif
39509 /* We use char because int might match the return type of a gcc2
39510 builtin and then its argument prototype would still apply. */
39511 char $ac_func ();
39512 /* The GNU C library defines this for functions which it implements
39513 to always fail with ENOSYS. Some functions are actually named
39514 something starting with __ and the normal name is an alias. */
39515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39516 choke me
39517 #else
39518 char (*f) () = $ac_func;
39519 #endif
39520 #ifdef __cplusplus
39522 #endif
39525 main ()
39527 return f != $ac_func;
39529 return 0;
39531 _ACEOF
39532 rm -f conftest.$ac_objext conftest$ac_exeext
39533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39534 (eval $ac_link) 2>conftest.er1
39535 ac_status=$?
39536 grep -v '^ *+' conftest.er1 >conftest.err
39537 rm -f conftest.er1
39538 cat conftest.err >&5
39539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39540 (exit $ac_status); } &&
39541 { ac_try='test -z "$ac_c_werror_flag"
39542 || test ! -s conftest.err'
39543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39544 (eval $ac_try) 2>&5
39545 ac_status=$?
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); }; } &&
39548 { ac_try='test -s conftest$ac_exeext'
39549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39550 (eval $ac_try) 2>&5
39551 ac_status=$?
39552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39553 (exit $ac_status); }; }; then
39554 eval "$as_ac_var=yes"
39555 else
39556 echo "$as_me: failed program was:" >&5
39557 sed 's/^/| /' conftest.$ac_ext >&5
39559 eval "$as_ac_var=no"
39561 rm -f conftest.err conftest.$ac_objext \
39562 conftest$ac_exeext conftest.$ac_ext
39564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39566 if test `eval echo '${'$as_ac_var'}'` = yes; then
39567 cat >>confdefs.h <<_ACEOF
39568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39569 _ACEOF
39572 done
39582 echo "$as_me:$LINENO: checking for modf declaration" >&5
39583 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
39584 if test x${glibcxx_cv_func_modf_use+set} != xset; then
39585 if test "${glibcxx_cv_func_modf_use+set}" = set; then
39586 echo $ECHO_N "(cached) $ECHO_C" >&6
39587 else
39591 ac_ext=cc
39592 ac_cpp='$CXXCPP $CPPFLAGS'
39593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39597 cat >conftest.$ac_ext <<_ACEOF
39598 /* confdefs.h. */
39599 _ACEOF
39600 cat confdefs.h >>conftest.$ac_ext
39601 cat >>conftest.$ac_ext <<_ACEOF
39602 /* end confdefs.h. */
39603 #include <math.h>
39605 main ()
39607 modf(0, 0);
39609 return 0;
39611 _ACEOF
39612 rm -f conftest.$ac_objext
39613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39614 (eval $ac_compile) 2>conftest.er1
39615 ac_status=$?
39616 grep -v '^ *+' conftest.er1 >conftest.err
39617 rm -f conftest.er1
39618 cat conftest.err >&5
39619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39620 (exit $ac_status); } &&
39621 { ac_try='test -z "$ac_cxx_werror_flag"
39622 || test ! -s conftest.err'
39623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39624 (eval $ac_try) 2>&5
39625 ac_status=$?
39626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39627 (exit $ac_status); }; } &&
39628 { ac_try='test -s conftest.$ac_objext'
39629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39630 (eval $ac_try) 2>&5
39631 ac_status=$?
39632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39633 (exit $ac_status); }; }; then
39634 glibcxx_cv_func_modf_use=yes
39635 else
39636 echo "$as_me: failed program was:" >&5
39637 sed 's/^/| /' conftest.$ac_ext >&5
39639 glibcxx_cv_func_modf_use=no
39641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39642 ac_ext=c
39643 ac_cpp='$CPP $CPPFLAGS'
39644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39652 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
39653 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
39655 if test x$glibcxx_cv_func_modf_use = x"yes"; then
39657 for ac_func in modf
39659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39660 echo "$as_me:$LINENO: checking for $ac_func" >&5
39661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39662 if eval "test \"\${$as_ac_var+set}\" = set"; then
39663 echo $ECHO_N "(cached) $ECHO_C" >&6
39664 else
39665 if test x$gcc_no_link = xyes; then
39666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39668 { (exit 1); exit 1; }; }
39670 cat >conftest.$ac_ext <<_ACEOF
39671 /* confdefs.h. */
39672 _ACEOF
39673 cat confdefs.h >>conftest.$ac_ext
39674 cat >>conftest.$ac_ext <<_ACEOF
39675 /* end confdefs.h. */
39676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39678 #define $ac_func innocuous_$ac_func
39680 /* System header to define __stub macros and hopefully few prototypes,
39681 which can conflict with char $ac_func (); below.
39682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39683 <limits.h> exists even on freestanding compilers. */
39685 #ifdef __STDC__
39686 # include <limits.h>
39687 #else
39688 # include <assert.h>
39689 #endif
39691 #undef $ac_func
39693 /* Override any gcc2 internal prototype to avoid an error. */
39694 #ifdef __cplusplus
39695 extern "C"
39697 #endif
39698 /* We use char because int might match the return type of a gcc2
39699 builtin and then its argument prototype would still apply. */
39700 char $ac_func ();
39701 /* The GNU C library defines this for functions which it implements
39702 to always fail with ENOSYS. Some functions are actually named
39703 something starting with __ and the normal name is an alias. */
39704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39705 choke me
39706 #else
39707 char (*f) () = $ac_func;
39708 #endif
39709 #ifdef __cplusplus
39711 #endif
39714 main ()
39716 return f != $ac_func;
39718 return 0;
39720 _ACEOF
39721 rm -f conftest.$ac_objext conftest$ac_exeext
39722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39723 (eval $ac_link) 2>conftest.er1
39724 ac_status=$?
39725 grep -v '^ *+' conftest.er1 >conftest.err
39726 rm -f conftest.er1
39727 cat conftest.err >&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); } &&
39730 { ac_try='test -z "$ac_c_werror_flag"
39731 || test ! -s conftest.err'
39732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39733 (eval $ac_try) 2>&5
39734 ac_status=$?
39735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39736 (exit $ac_status); }; } &&
39737 { ac_try='test -s conftest$ac_exeext'
39738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39739 (eval $ac_try) 2>&5
39740 ac_status=$?
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); }; }; then
39743 eval "$as_ac_var=yes"
39744 else
39745 echo "$as_me: failed program was:" >&5
39746 sed 's/^/| /' conftest.$ac_ext >&5
39748 eval "$as_ac_var=no"
39750 rm -f conftest.err conftest.$ac_objext \
39751 conftest$ac_exeext conftest.$ac_ext
39753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39755 if test `eval echo '${'$as_ac_var'}'` = yes; then
39756 cat >>confdefs.h <<_ACEOF
39757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39758 _ACEOF
39761 done
39763 else
39765 echo "$as_me:$LINENO: checking for _modf declaration" >&5
39766 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
39767 if test x${glibcxx_cv_func__modf_use+set} != xset; then
39768 if test "${glibcxx_cv_func__modf_use+set}" = set; then
39769 echo $ECHO_N "(cached) $ECHO_C" >&6
39770 else
39774 ac_ext=cc
39775 ac_cpp='$CXXCPP $CPPFLAGS'
39776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39780 cat >conftest.$ac_ext <<_ACEOF
39781 /* confdefs.h. */
39782 _ACEOF
39783 cat confdefs.h >>conftest.$ac_ext
39784 cat >>conftest.$ac_ext <<_ACEOF
39785 /* end confdefs.h. */
39786 #include <math.h>
39788 main ()
39790 _modf(0, 0);
39792 return 0;
39794 _ACEOF
39795 rm -f conftest.$ac_objext
39796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39797 (eval $ac_compile) 2>conftest.er1
39798 ac_status=$?
39799 grep -v '^ *+' conftest.er1 >conftest.err
39800 rm -f conftest.er1
39801 cat conftest.err >&5
39802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39803 (exit $ac_status); } &&
39804 { ac_try='test -z "$ac_cxx_werror_flag"
39805 || test ! -s conftest.err'
39806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39807 (eval $ac_try) 2>&5
39808 ac_status=$?
39809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810 (exit $ac_status); }; } &&
39811 { ac_try='test -s conftest.$ac_objext'
39812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39813 (eval $ac_try) 2>&5
39814 ac_status=$?
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); }; }; then
39817 glibcxx_cv_func__modf_use=yes
39818 else
39819 echo "$as_me: failed program was:" >&5
39820 sed 's/^/| /' conftest.$ac_ext >&5
39822 glibcxx_cv_func__modf_use=no
39824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39825 ac_ext=c
39826 ac_cpp='$CPP $CPPFLAGS'
39827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39835 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
39836 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
39838 if test x$glibcxx_cv_func__modf_use = x"yes"; then
39840 for ac_func in _modf
39842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39843 echo "$as_me:$LINENO: checking for $ac_func" >&5
39844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39845 if eval "test \"\${$as_ac_var+set}\" = set"; then
39846 echo $ECHO_N "(cached) $ECHO_C" >&6
39847 else
39848 if test x$gcc_no_link = xyes; then
39849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39851 { (exit 1); exit 1; }; }
39853 cat >conftest.$ac_ext <<_ACEOF
39854 /* confdefs.h. */
39855 _ACEOF
39856 cat confdefs.h >>conftest.$ac_ext
39857 cat >>conftest.$ac_ext <<_ACEOF
39858 /* end confdefs.h. */
39859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39861 #define $ac_func innocuous_$ac_func
39863 /* System header to define __stub macros and hopefully few prototypes,
39864 which can conflict with char $ac_func (); below.
39865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39866 <limits.h> exists even on freestanding compilers. */
39868 #ifdef __STDC__
39869 # include <limits.h>
39870 #else
39871 # include <assert.h>
39872 #endif
39874 #undef $ac_func
39876 /* Override any gcc2 internal prototype to avoid an error. */
39877 #ifdef __cplusplus
39878 extern "C"
39880 #endif
39881 /* We use char because int might match the return type of a gcc2
39882 builtin and then its argument prototype would still apply. */
39883 char $ac_func ();
39884 /* The GNU C library defines this for functions which it implements
39885 to always fail with ENOSYS. Some functions are actually named
39886 something starting with __ and the normal name is an alias. */
39887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39888 choke me
39889 #else
39890 char (*f) () = $ac_func;
39891 #endif
39892 #ifdef __cplusplus
39894 #endif
39897 main ()
39899 return f != $ac_func;
39901 return 0;
39903 _ACEOF
39904 rm -f conftest.$ac_objext conftest$ac_exeext
39905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39906 (eval $ac_link) 2>conftest.er1
39907 ac_status=$?
39908 grep -v '^ *+' conftest.er1 >conftest.err
39909 rm -f conftest.er1
39910 cat conftest.err >&5
39911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39912 (exit $ac_status); } &&
39913 { ac_try='test -z "$ac_c_werror_flag"
39914 || test ! -s conftest.err'
39915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39916 (eval $ac_try) 2>&5
39917 ac_status=$?
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); }; } &&
39920 { ac_try='test -s conftest$ac_exeext'
39921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39922 (eval $ac_try) 2>&5
39923 ac_status=$?
39924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39925 (exit $ac_status); }; }; then
39926 eval "$as_ac_var=yes"
39927 else
39928 echo "$as_me: failed program was:" >&5
39929 sed 's/^/| /' conftest.$ac_ext >&5
39931 eval "$as_ac_var=no"
39933 rm -f conftest.err conftest.$ac_objext \
39934 conftest$ac_exeext conftest.$ac_ext
39936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39938 if test `eval echo '${'$as_ac_var'}'` = yes; then
39939 cat >>confdefs.h <<_ACEOF
39940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39941 _ACEOF
39944 done
39954 echo "$as_me:$LINENO: checking for powf declaration" >&5
39955 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39956 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39957 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39958 echo $ECHO_N "(cached) $ECHO_C" >&6
39959 else
39963 ac_ext=cc
39964 ac_cpp='$CXXCPP $CPPFLAGS'
39965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39969 cat >conftest.$ac_ext <<_ACEOF
39970 /* confdefs.h. */
39971 _ACEOF
39972 cat confdefs.h >>conftest.$ac_ext
39973 cat >>conftest.$ac_ext <<_ACEOF
39974 /* end confdefs.h. */
39975 #include <math.h>
39977 main ()
39979 powf(0, 0);
39981 return 0;
39983 _ACEOF
39984 rm -f conftest.$ac_objext
39985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39986 (eval $ac_compile) 2>conftest.er1
39987 ac_status=$?
39988 grep -v '^ *+' conftest.er1 >conftest.err
39989 rm -f conftest.er1
39990 cat conftest.err >&5
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); } &&
39993 { ac_try='test -z "$ac_cxx_werror_flag"
39994 || test ! -s conftest.err'
39995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39996 (eval $ac_try) 2>&5
39997 ac_status=$?
39998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39999 (exit $ac_status); }; } &&
40000 { ac_try='test -s conftest.$ac_objext'
40001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40002 (eval $ac_try) 2>&5
40003 ac_status=$?
40004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40005 (exit $ac_status); }; }; then
40006 glibcxx_cv_func_powf_use=yes
40007 else
40008 echo "$as_me: failed program was:" >&5
40009 sed 's/^/| /' conftest.$ac_ext >&5
40011 glibcxx_cv_func_powf_use=no
40013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40014 ac_ext=c
40015 ac_cpp='$CPP $CPPFLAGS'
40016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40024 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
40025 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
40027 if test x$glibcxx_cv_func_powf_use = x"yes"; then
40029 for ac_func in powf
40031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40032 echo "$as_me:$LINENO: checking for $ac_func" >&5
40033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40034 if eval "test \"\${$as_ac_var+set}\" = set"; then
40035 echo $ECHO_N "(cached) $ECHO_C" >&6
40036 else
40037 if test x$gcc_no_link = xyes; then
40038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40040 { (exit 1); exit 1; }; }
40042 cat >conftest.$ac_ext <<_ACEOF
40043 /* confdefs.h. */
40044 _ACEOF
40045 cat confdefs.h >>conftest.$ac_ext
40046 cat >>conftest.$ac_ext <<_ACEOF
40047 /* end confdefs.h. */
40048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40050 #define $ac_func innocuous_$ac_func
40052 /* System header to define __stub macros and hopefully few prototypes,
40053 which can conflict with char $ac_func (); below.
40054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40055 <limits.h> exists even on freestanding compilers. */
40057 #ifdef __STDC__
40058 # include <limits.h>
40059 #else
40060 # include <assert.h>
40061 #endif
40063 #undef $ac_func
40065 /* Override any gcc2 internal prototype to avoid an error. */
40066 #ifdef __cplusplus
40067 extern "C"
40069 #endif
40070 /* We use char because int might match the return type of a gcc2
40071 builtin and then its argument prototype would still apply. */
40072 char $ac_func ();
40073 /* The GNU C library defines this for functions which it implements
40074 to always fail with ENOSYS. Some functions are actually named
40075 something starting with __ and the normal name is an alias. */
40076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40077 choke me
40078 #else
40079 char (*f) () = $ac_func;
40080 #endif
40081 #ifdef __cplusplus
40083 #endif
40086 main ()
40088 return f != $ac_func;
40090 return 0;
40092 _ACEOF
40093 rm -f conftest.$ac_objext conftest$ac_exeext
40094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40095 (eval $ac_link) 2>conftest.er1
40096 ac_status=$?
40097 grep -v '^ *+' conftest.er1 >conftest.err
40098 rm -f conftest.er1
40099 cat conftest.err >&5
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); } &&
40102 { ac_try='test -z "$ac_c_werror_flag"
40103 || test ! -s conftest.err'
40104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40105 (eval $ac_try) 2>&5
40106 ac_status=$?
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); }; } &&
40109 { ac_try='test -s conftest$ac_exeext'
40110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40111 (eval $ac_try) 2>&5
40112 ac_status=$?
40113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40114 (exit $ac_status); }; }; then
40115 eval "$as_ac_var=yes"
40116 else
40117 echo "$as_me: failed program was:" >&5
40118 sed 's/^/| /' conftest.$ac_ext >&5
40120 eval "$as_ac_var=no"
40122 rm -f conftest.err conftest.$ac_objext \
40123 conftest$ac_exeext conftest.$ac_ext
40125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40127 if test `eval echo '${'$as_ac_var'}'` = yes; then
40128 cat >>confdefs.h <<_ACEOF
40129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40130 _ACEOF
40133 done
40135 else
40137 echo "$as_me:$LINENO: checking for _powf declaration" >&5
40138 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
40139 if test x${glibcxx_cv_func__powf_use+set} != xset; then
40140 if test "${glibcxx_cv_func__powf_use+set}" = set; then
40141 echo $ECHO_N "(cached) $ECHO_C" >&6
40142 else
40146 ac_ext=cc
40147 ac_cpp='$CXXCPP $CPPFLAGS'
40148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40152 cat >conftest.$ac_ext <<_ACEOF
40153 /* confdefs.h. */
40154 _ACEOF
40155 cat confdefs.h >>conftest.$ac_ext
40156 cat >>conftest.$ac_ext <<_ACEOF
40157 /* end confdefs.h. */
40158 #include <math.h>
40160 main ()
40162 _powf(0, 0);
40164 return 0;
40166 _ACEOF
40167 rm -f conftest.$ac_objext
40168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40169 (eval $ac_compile) 2>conftest.er1
40170 ac_status=$?
40171 grep -v '^ *+' conftest.er1 >conftest.err
40172 rm -f conftest.er1
40173 cat conftest.err >&5
40174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40175 (exit $ac_status); } &&
40176 { ac_try='test -z "$ac_cxx_werror_flag"
40177 || test ! -s conftest.err'
40178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40179 (eval $ac_try) 2>&5
40180 ac_status=$?
40181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40182 (exit $ac_status); }; } &&
40183 { ac_try='test -s conftest.$ac_objext'
40184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40185 (eval $ac_try) 2>&5
40186 ac_status=$?
40187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40188 (exit $ac_status); }; }; then
40189 glibcxx_cv_func__powf_use=yes
40190 else
40191 echo "$as_me: failed program was:" >&5
40192 sed 's/^/| /' conftest.$ac_ext >&5
40194 glibcxx_cv_func__powf_use=no
40196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40197 ac_ext=c
40198 ac_cpp='$CPP $CPPFLAGS'
40199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40207 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40208 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40210 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40212 for ac_func in _powf
40214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40215 echo "$as_me:$LINENO: checking for $ac_func" >&5
40216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40217 if eval "test \"\${$as_ac_var+set}\" = set"; then
40218 echo $ECHO_N "(cached) $ECHO_C" >&6
40219 else
40220 if test x$gcc_no_link = xyes; then
40221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40223 { (exit 1); exit 1; }; }
40225 cat >conftest.$ac_ext <<_ACEOF
40226 /* confdefs.h. */
40227 _ACEOF
40228 cat confdefs.h >>conftest.$ac_ext
40229 cat >>conftest.$ac_ext <<_ACEOF
40230 /* end confdefs.h. */
40231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40233 #define $ac_func innocuous_$ac_func
40235 /* System header to define __stub macros and hopefully few prototypes,
40236 which can conflict with char $ac_func (); below.
40237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40238 <limits.h> exists even on freestanding compilers. */
40240 #ifdef __STDC__
40241 # include <limits.h>
40242 #else
40243 # include <assert.h>
40244 #endif
40246 #undef $ac_func
40248 /* Override any gcc2 internal prototype to avoid an error. */
40249 #ifdef __cplusplus
40250 extern "C"
40252 #endif
40253 /* We use char because int might match the return type of a gcc2
40254 builtin and then its argument prototype would still apply. */
40255 char $ac_func ();
40256 /* The GNU C library defines this for functions which it implements
40257 to always fail with ENOSYS. Some functions are actually named
40258 something starting with __ and the normal name is an alias. */
40259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40260 choke me
40261 #else
40262 char (*f) () = $ac_func;
40263 #endif
40264 #ifdef __cplusplus
40266 #endif
40269 main ()
40271 return f != $ac_func;
40273 return 0;
40275 _ACEOF
40276 rm -f conftest.$ac_objext conftest$ac_exeext
40277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40278 (eval $ac_link) 2>conftest.er1
40279 ac_status=$?
40280 grep -v '^ *+' conftest.er1 >conftest.err
40281 rm -f conftest.er1
40282 cat conftest.err >&5
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); } &&
40285 { ac_try='test -z "$ac_c_werror_flag"
40286 || test ! -s conftest.err'
40287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40288 (eval $ac_try) 2>&5
40289 ac_status=$?
40290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40291 (exit $ac_status); }; } &&
40292 { ac_try='test -s conftest$ac_exeext'
40293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40294 (eval $ac_try) 2>&5
40295 ac_status=$?
40296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40297 (exit $ac_status); }; }; then
40298 eval "$as_ac_var=yes"
40299 else
40300 echo "$as_me: failed program was:" >&5
40301 sed 's/^/| /' conftest.$ac_ext >&5
40303 eval "$as_ac_var=no"
40305 rm -f conftest.err conftest.$ac_objext \
40306 conftest$ac_exeext conftest.$ac_ext
40308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40310 if test `eval echo '${'$as_ac_var'}'` = yes; then
40311 cat >>confdefs.h <<_ACEOF
40312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40313 _ACEOF
40316 done
40326 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
40327 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
40328 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40329 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
40330 echo $ECHO_N "(cached) $ECHO_C" >&6
40331 else
40335 ac_ext=cc
40336 ac_cpp='$CXXCPP $CPPFLAGS'
40337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40341 cat >conftest.$ac_ext <<_ACEOF
40342 /* confdefs.h. */
40343 _ACEOF
40344 cat confdefs.h >>conftest.$ac_ext
40345 cat >>conftest.$ac_ext <<_ACEOF
40346 /* end confdefs.h. */
40347 #include <math.h>
40348 #ifdef HAVE_IEEEFP_H
40349 #include <ieeefp.h>
40350 #endif
40353 main ()
40355 sqrtf(0);
40357 return 0;
40359 _ACEOF
40360 rm -f conftest.$ac_objext
40361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40362 (eval $ac_compile) 2>conftest.er1
40363 ac_status=$?
40364 grep -v '^ *+' conftest.er1 >conftest.err
40365 rm -f conftest.er1
40366 cat conftest.err >&5
40367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40368 (exit $ac_status); } &&
40369 { ac_try='test -z "$ac_cxx_werror_flag"
40370 || test ! -s conftest.err'
40371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40372 (eval $ac_try) 2>&5
40373 ac_status=$?
40374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40375 (exit $ac_status); }; } &&
40376 { ac_try='test -s conftest.$ac_objext'
40377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40378 (eval $ac_try) 2>&5
40379 ac_status=$?
40380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40381 (exit $ac_status); }; }; then
40382 glibcxx_cv_func_sqrtf_use=yes
40383 else
40384 echo "$as_me: failed program was:" >&5
40385 sed 's/^/| /' conftest.$ac_ext >&5
40387 glibcxx_cv_func_sqrtf_use=no
40389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40390 ac_ext=c
40391 ac_cpp='$CPP $CPPFLAGS'
40392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40401 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40403 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40405 for ac_func in sqrtf
40407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40408 echo "$as_me:$LINENO: checking for $ac_func" >&5
40409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40410 if eval "test \"\${$as_ac_var+set}\" = set"; then
40411 echo $ECHO_N "(cached) $ECHO_C" >&6
40412 else
40413 if test x$gcc_no_link = xyes; then
40414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40416 { (exit 1); exit 1; }; }
40418 cat >conftest.$ac_ext <<_ACEOF
40419 /* confdefs.h. */
40420 _ACEOF
40421 cat confdefs.h >>conftest.$ac_ext
40422 cat >>conftest.$ac_ext <<_ACEOF
40423 /* end confdefs.h. */
40424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40426 #define $ac_func innocuous_$ac_func
40428 /* System header to define __stub macros and hopefully few prototypes,
40429 which can conflict with char $ac_func (); below.
40430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40431 <limits.h> exists even on freestanding compilers. */
40433 #ifdef __STDC__
40434 # include <limits.h>
40435 #else
40436 # include <assert.h>
40437 #endif
40439 #undef $ac_func
40441 /* Override any gcc2 internal prototype to avoid an error. */
40442 #ifdef __cplusplus
40443 extern "C"
40445 #endif
40446 /* We use char because int might match the return type of a gcc2
40447 builtin and then its argument prototype would still apply. */
40448 char $ac_func ();
40449 /* The GNU C library defines this for functions which it implements
40450 to always fail with ENOSYS. Some functions are actually named
40451 something starting with __ and the normal name is an alias. */
40452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40453 choke me
40454 #else
40455 char (*f) () = $ac_func;
40456 #endif
40457 #ifdef __cplusplus
40459 #endif
40462 main ()
40464 return f != $ac_func;
40466 return 0;
40468 _ACEOF
40469 rm -f conftest.$ac_objext conftest$ac_exeext
40470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40471 (eval $ac_link) 2>conftest.er1
40472 ac_status=$?
40473 grep -v '^ *+' conftest.er1 >conftest.err
40474 rm -f conftest.er1
40475 cat conftest.err >&5
40476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40477 (exit $ac_status); } &&
40478 { ac_try='test -z "$ac_c_werror_flag"
40479 || test ! -s conftest.err'
40480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40481 (eval $ac_try) 2>&5
40482 ac_status=$?
40483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40484 (exit $ac_status); }; } &&
40485 { ac_try='test -s conftest$ac_exeext'
40486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40487 (eval $ac_try) 2>&5
40488 ac_status=$?
40489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40490 (exit $ac_status); }; }; then
40491 eval "$as_ac_var=yes"
40492 else
40493 echo "$as_me: failed program was:" >&5
40494 sed 's/^/| /' conftest.$ac_ext >&5
40496 eval "$as_ac_var=no"
40498 rm -f conftest.err conftest.$ac_objext \
40499 conftest$ac_exeext conftest.$ac_ext
40501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40503 if test `eval echo '${'$as_ac_var'}'` = yes; then
40504 cat >>confdefs.h <<_ACEOF
40505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40506 _ACEOF
40509 done
40511 else
40513 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40514 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40515 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40516 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40517 echo $ECHO_N "(cached) $ECHO_C" >&6
40518 else
40522 ac_ext=cc
40523 ac_cpp='$CXXCPP $CPPFLAGS'
40524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40528 cat >conftest.$ac_ext <<_ACEOF
40529 /* confdefs.h. */
40530 _ACEOF
40531 cat confdefs.h >>conftest.$ac_ext
40532 cat >>conftest.$ac_ext <<_ACEOF
40533 /* end confdefs.h. */
40534 #include <math.h>
40535 #ifdef HAVE_IEEEFP_H
40536 #include <ieeefp.h>
40537 #endif
40540 main ()
40542 _sqrtf(0);
40544 return 0;
40546 _ACEOF
40547 rm -f conftest.$ac_objext
40548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40549 (eval $ac_compile) 2>conftest.er1
40550 ac_status=$?
40551 grep -v '^ *+' conftest.er1 >conftest.err
40552 rm -f conftest.er1
40553 cat conftest.err >&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); } &&
40556 { ac_try='test -z "$ac_cxx_werror_flag"
40557 || test ! -s conftest.err'
40558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40559 (eval $ac_try) 2>&5
40560 ac_status=$?
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); }; } &&
40563 { ac_try='test -s conftest.$ac_objext'
40564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40565 (eval $ac_try) 2>&5
40566 ac_status=$?
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); }; }; then
40569 glibcxx_cv_func__sqrtf_use=yes
40570 else
40571 echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.$ac_ext >&5
40574 glibcxx_cv_func__sqrtf_use=no
40576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40577 ac_ext=c
40578 ac_cpp='$CPP $CPPFLAGS'
40579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40588 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40590 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40592 for ac_func in _sqrtf
40594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40595 echo "$as_me:$LINENO: checking for $ac_func" >&5
40596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40597 if eval "test \"\${$as_ac_var+set}\" = set"; then
40598 echo $ECHO_N "(cached) $ECHO_C" >&6
40599 else
40600 if test x$gcc_no_link = xyes; then
40601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40603 { (exit 1); exit 1; }; }
40605 cat >conftest.$ac_ext <<_ACEOF
40606 /* confdefs.h. */
40607 _ACEOF
40608 cat confdefs.h >>conftest.$ac_ext
40609 cat >>conftest.$ac_ext <<_ACEOF
40610 /* end confdefs.h. */
40611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40613 #define $ac_func innocuous_$ac_func
40615 /* System header to define __stub macros and hopefully few prototypes,
40616 which can conflict with char $ac_func (); below.
40617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40618 <limits.h> exists even on freestanding compilers. */
40620 #ifdef __STDC__
40621 # include <limits.h>
40622 #else
40623 # include <assert.h>
40624 #endif
40626 #undef $ac_func
40628 /* Override any gcc2 internal prototype to avoid an error. */
40629 #ifdef __cplusplus
40630 extern "C"
40632 #endif
40633 /* We use char because int might match the return type of a gcc2
40634 builtin and then its argument prototype would still apply. */
40635 char $ac_func ();
40636 /* The GNU C library defines this for functions which it implements
40637 to always fail with ENOSYS. Some functions are actually named
40638 something starting with __ and the normal name is an alias. */
40639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40640 choke me
40641 #else
40642 char (*f) () = $ac_func;
40643 #endif
40644 #ifdef __cplusplus
40646 #endif
40649 main ()
40651 return f != $ac_func;
40653 return 0;
40655 _ACEOF
40656 rm -f conftest.$ac_objext conftest$ac_exeext
40657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40658 (eval $ac_link) 2>conftest.er1
40659 ac_status=$?
40660 grep -v '^ *+' conftest.er1 >conftest.err
40661 rm -f conftest.er1
40662 cat conftest.err >&5
40663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40664 (exit $ac_status); } &&
40665 { ac_try='test -z "$ac_c_werror_flag"
40666 || test ! -s conftest.err'
40667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40668 (eval $ac_try) 2>&5
40669 ac_status=$?
40670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40671 (exit $ac_status); }; } &&
40672 { ac_try='test -s conftest$ac_exeext'
40673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40674 (eval $ac_try) 2>&5
40675 ac_status=$?
40676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40677 (exit $ac_status); }; }; then
40678 eval "$as_ac_var=yes"
40679 else
40680 echo "$as_me: failed program was:" >&5
40681 sed 's/^/| /' conftest.$ac_ext >&5
40683 eval "$as_ac_var=no"
40685 rm -f conftest.err conftest.$ac_objext \
40686 conftest$ac_exeext conftest.$ac_ext
40688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40690 if test `eval echo '${'$as_ac_var'}'` = yes; then
40691 cat >>confdefs.h <<_ACEOF
40692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40693 _ACEOF
40696 done
40706 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40707 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40708 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40709 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40710 echo $ECHO_N "(cached) $ECHO_C" >&6
40711 else
40715 ac_ext=cc
40716 ac_cpp='$CXXCPP $CPPFLAGS'
40717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40721 cat >conftest.$ac_ext <<_ACEOF
40722 /* confdefs.h. */
40723 _ACEOF
40724 cat confdefs.h >>conftest.$ac_ext
40725 cat >>conftest.$ac_ext <<_ACEOF
40726 /* end confdefs.h. */
40727 #include <math.h>
40729 main ()
40731 sincosf(0, 0, 0);
40733 return 0;
40735 _ACEOF
40736 rm -f conftest.$ac_objext
40737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40738 (eval $ac_compile) 2>conftest.er1
40739 ac_status=$?
40740 grep -v '^ *+' conftest.er1 >conftest.err
40741 rm -f conftest.er1
40742 cat conftest.err >&5
40743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40744 (exit $ac_status); } &&
40745 { ac_try='test -z "$ac_cxx_werror_flag"
40746 || test ! -s conftest.err'
40747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40748 (eval $ac_try) 2>&5
40749 ac_status=$?
40750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40751 (exit $ac_status); }; } &&
40752 { ac_try='test -s conftest.$ac_objext'
40753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40754 (eval $ac_try) 2>&5
40755 ac_status=$?
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); }; }; then
40758 glibcxx_cv_func_sincosf_use=yes
40759 else
40760 echo "$as_me: failed program was:" >&5
40761 sed 's/^/| /' conftest.$ac_ext >&5
40763 glibcxx_cv_func_sincosf_use=no
40765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40766 ac_ext=c
40767 ac_cpp='$CPP $CPPFLAGS'
40768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40776 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40777 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40779 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40781 for ac_func in sincosf
40783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40784 echo "$as_me:$LINENO: checking for $ac_func" >&5
40785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40786 if eval "test \"\${$as_ac_var+set}\" = set"; then
40787 echo $ECHO_N "(cached) $ECHO_C" >&6
40788 else
40789 if test x$gcc_no_link = xyes; then
40790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40792 { (exit 1); exit 1; }; }
40794 cat >conftest.$ac_ext <<_ACEOF
40795 /* confdefs.h. */
40796 _ACEOF
40797 cat confdefs.h >>conftest.$ac_ext
40798 cat >>conftest.$ac_ext <<_ACEOF
40799 /* end confdefs.h. */
40800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40802 #define $ac_func innocuous_$ac_func
40804 /* System header to define __stub macros and hopefully few prototypes,
40805 which can conflict with char $ac_func (); below.
40806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40807 <limits.h> exists even on freestanding compilers. */
40809 #ifdef __STDC__
40810 # include <limits.h>
40811 #else
40812 # include <assert.h>
40813 #endif
40815 #undef $ac_func
40817 /* Override any gcc2 internal prototype to avoid an error. */
40818 #ifdef __cplusplus
40819 extern "C"
40821 #endif
40822 /* We use char because int might match the return type of a gcc2
40823 builtin and then its argument prototype would still apply. */
40824 char $ac_func ();
40825 /* The GNU C library defines this for functions which it implements
40826 to always fail with ENOSYS. Some functions are actually named
40827 something starting with __ and the normal name is an alias. */
40828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40829 choke me
40830 #else
40831 char (*f) () = $ac_func;
40832 #endif
40833 #ifdef __cplusplus
40835 #endif
40838 main ()
40840 return f != $ac_func;
40842 return 0;
40844 _ACEOF
40845 rm -f conftest.$ac_objext conftest$ac_exeext
40846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40847 (eval $ac_link) 2>conftest.er1
40848 ac_status=$?
40849 grep -v '^ *+' conftest.er1 >conftest.err
40850 rm -f conftest.er1
40851 cat conftest.err >&5
40852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40853 (exit $ac_status); } &&
40854 { ac_try='test -z "$ac_c_werror_flag"
40855 || test ! -s conftest.err'
40856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40857 (eval $ac_try) 2>&5
40858 ac_status=$?
40859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40860 (exit $ac_status); }; } &&
40861 { ac_try='test -s conftest$ac_exeext'
40862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40863 (eval $ac_try) 2>&5
40864 ac_status=$?
40865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40866 (exit $ac_status); }; }; then
40867 eval "$as_ac_var=yes"
40868 else
40869 echo "$as_me: failed program was:" >&5
40870 sed 's/^/| /' conftest.$ac_ext >&5
40872 eval "$as_ac_var=no"
40874 rm -f conftest.err conftest.$ac_objext \
40875 conftest$ac_exeext conftest.$ac_ext
40877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40879 if test `eval echo '${'$as_ac_var'}'` = yes; then
40880 cat >>confdefs.h <<_ACEOF
40881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40882 _ACEOF
40885 done
40887 else
40889 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40890 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40891 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40892 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40893 echo $ECHO_N "(cached) $ECHO_C" >&6
40894 else
40898 ac_ext=cc
40899 ac_cpp='$CXXCPP $CPPFLAGS'
40900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40904 cat >conftest.$ac_ext <<_ACEOF
40905 /* confdefs.h. */
40906 _ACEOF
40907 cat confdefs.h >>conftest.$ac_ext
40908 cat >>conftest.$ac_ext <<_ACEOF
40909 /* end confdefs.h. */
40910 #include <math.h>
40912 main ()
40914 _sincosf(0, 0, 0);
40916 return 0;
40918 _ACEOF
40919 rm -f conftest.$ac_objext
40920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40921 (eval $ac_compile) 2>conftest.er1
40922 ac_status=$?
40923 grep -v '^ *+' conftest.er1 >conftest.err
40924 rm -f conftest.er1
40925 cat conftest.err >&5
40926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927 (exit $ac_status); } &&
40928 { ac_try='test -z "$ac_cxx_werror_flag"
40929 || test ! -s conftest.err'
40930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40931 (eval $ac_try) 2>&5
40932 ac_status=$?
40933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40934 (exit $ac_status); }; } &&
40935 { ac_try='test -s conftest.$ac_objext'
40936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40937 (eval $ac_try) 2>&5
40938 ac_status=$?
40939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40940 (exit $ac_status); }; }; then
40941 glibcxx_cv_func__sincosf_use=yes
40942 else
40943 echo "$as_me: failed program was:" >&5
40944 sed 's/^/| /' conftest.$ac_ext >&5
40946 glibcxx_cv_func__sincosf_use=no
40948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40949 ac_ext=c
40950 ac_cpp='$CPP $CPPFLAGS'
40951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40959 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40960 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40962 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40964 for ac_func in _sincosf
40966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40967 echo "$as_me:$LINENO: checking for $ac_func" >&5
40968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40969 if eval "test \"\${$as_ac_var+set}\" = set"; then
40970 echo $ECHO_N "(cached) $ECHO_C" >&6
40971 else
40972 if test x$gcc_no_link = xyes; then
40973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40975 { (exit 1); exit 1; }; }
40977 cat >conftest.$ac_ext <<_ACEOF
40978 /* confdefs.h. */
40979 _ACEOF
40980 cat confdefs.h >>conftest.$ac_ext
40981 cat >>conftest.$ac_ext <<_ACEOF
40982 /* end confdefs.h. */
40983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40985 #define $ac_func innocuous_$ac_func
40987 /* System header to define __stub macros and hopefully few prototypes,
40988 which can conflict with char $ac_func (); below.
40989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40990 <limits.h> exists even on freestanding compilers. */
40992 #ifdef __STDC__
40993 # include <limits.h>
40994 #else
40995 # include <assert.h>
40996 #endif
40998 #undef $ac_func
41000 /* Override any gcc2 internal prototype to avoid an error. */
41001 #ifdef __cplusplus
41002 extern "C"
41004 #endif
41005 /* We use char because int might match the return type of a gcc2
41006 builtin and then its argument prototype would still apply. */
41007 char $ac_func ();
41008 /* The GNU C library defines this for functions which it implements
41009 to always fail with ENOSYS. Some functions are actually named
41010 something starting with __ and the normal name is an alias. */
41011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41012 choke me
41013 #else
41014 char (*f) () = $ac_func;
41015 #endif
41016 #ifdef __cplusplus
41018 #endif
41021 main ()
41023 return f != $ac_func;
41025 return 0;
41027 _ACEOF
41028 rm -f conftest.$ac_objext conftest$ac_exeext
41029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41030 (eval $ac_link) 2>conftest.er1
41031 ac_status=$?
41032 grep -v '^ *+' conftest.er1 >conftest.err
41033 rm -f conftest.er1
41034 cat conftest.err >&5
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); } &&
41037 { ac_try='test -z "$ac_c_werror_flag"
41038 || test ! -s conftest.err'
41039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41040 (eval $ac_try) 2>&5
41041 ac_status=$?
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); }; } &&
41044 { ac_try='test -s conftest$ac_exeext'
41045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41046 (eval $ac_try) 2>&5
41047 ac_status=$?
41048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41049 (exit $ac_status); }; }; then
41050 eval "$as_ac_var=yes"
41051 else
41052 echo "$as_me: failed program was:" >&5
41053 sed 's/^/| /' conftest.$ac_ext >&5
41055 eval "$as_ac_var=no"
41057 rm -f conftest.err conftest.$ac_objext \
41058 conftest$ac_exeext conftest.$ac_ext
41060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41062 if test `eval echo '${'$as_ac_var'}'` = yes; then
41063 cat >>confdefs.h <<_ACEOF
41064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41065 _ACEOF
41068 done
41078 echo "$as_me:$LINENO: checking for finitef declaration" >&5
41079 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
41080 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41081 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
41082 echo $ECHO_N "(cached) $ECHO_C" >&6
41083 else
41087 ac_ext=cc
41088 ac_cpp='$CXXCPP $CPPFLAGS'
41089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41093 cat >conftest.$ac_ext <<_ACEOF
41094 /* confdefs.h. */
41095 _ACEOF
41096 cat confdefs.h >>conftest.$ac_ext
41097 cat >>conftest.$ac_ext <<_ACEOF
41098 /* end confdefs.h. */
41099 #include <math.h>
41100 #ifdef HAVE_IEEEFP_H
41101 #include <ieeefp.h>
41102 #endif
41105 main ()
41107 finitef(0);
41109 return 0;
41111 _ACEOF
41112 rm -f conftest.$ac_objext
41113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41114 (eval $ac_compile) 2>conftest.er1
41115 ac_status=$?
41116 grep -v '^ *+' conftest.er1 >conftest.err
41117 rm -f conftest.er1
41118 cat conftest.err >&5
41119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120 (exit $ac_status); } &&
41121 { ac_try='test -z "$ac_cxx_werror_flag"
41122 || test ! -s conftest.err'
41123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41124 (eval $ac_try) 2>&5
41125 ac_status=$?
41126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41127 (exit $ac_status); }; } &&
41128 { ac_try='test -s conftest.$ac_objext'
41129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41130 (eval $ac_try) 2>&5
41131 ac_status=$?
41132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41133 (exit $ac_status); }; }; then
41134 glibcxx_cv_func_finitef_use=yes
41135 else
41136 echo "$as_me: failed program was:" >&5
41137 sed 's/^/| /' conftest.$ac_ext >&5
41139 glibcxx_cv_func_finitef_use=no
41141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41142 ac_ext=c
41143 ac_cpp='$CPP $CPPFLAGS'
41144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41152 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
41153 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
41155 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41157 for ac_func in finitef
41159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41160 echo "$as_me:$LINENO: checking for $ac_func" >&5
41161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41162 if eval "test \"\${$as_ac_var+set}\" = set"; then
41163 echo $ECHO_N "(cached) $ECHO_C" >&6
41164 else
41165 if test x$gcc_no_link = xyes; then
41166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41168 { (exit 1); exit 1; }; }
41170 cat >conftest.$ac_ext <<_ACEOF
41171 /* confdefs.h. */
41172 _ACEOF
41173 cat confdefs.h >>conftest.$ac_ext
41174 cat >>conftest.$ac_ext <<_ACEOF
41175 /* end confdefs.h. */
41176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41178 #define $ac_func innocuous_$ac_func
41180 /* System header to define __stub macros and hopefully few prototypes,
41181 which can conflict with char $ac_func (); below.
41182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41183 <limits.h> exists even on freestanding compilers. */
41185 #ifdef __STDC__
41186 # include <limits.h>
41187 #else
41188 # include <assert.h>
41189 #endif
41191 #undef $ac_func
41193 /* Override any gcc2 internal prototype to avoid an error. */
41194 #ifdef __cplusplus
41195 extern "C"
41197 #endif
41198 /* We use char because int might match the return type of a gcc2
41199 builtin and then its argument prototype would still apply. */
41200 char $ac_func ();
41201 /* The GNU C library defines this for functions which it implements
41202 to always fail with ENOSYS. Some functions are actually named
41203 something starting with __ and the normal name is an alias. */
41204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41205 choke me
41206 #else
41207 char (*f) () = $ac_func;
41208 #endif
41209 #ifdef __cplusplus
41211 #endif
41214 main ()
41216 return f != $ac_func;
41218 return 0;
41220 _ACEOF
41221 rm -f conftest.$ac_objext conftest$ac_exeext
41222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41223 (eval $ac_link) 2>conftest.er1
41224 ac_status=$?
41225 grep -v '^ *+' conftest.er1 >conftest.err
41226 rm -f conftest.er1
41227 cat conftest.err >&5
41228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41229 (exit $ac_status); } &&
41230 { ac_try='test -z "$ac_c_werror_flag"
41231 || test ! -s conftest.err'
41232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41233 (eval $ac_try) 2>&5
41234 ac_status=$?
41235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41236 (exit $ac_status); }; } &&
41237 { ac_try='test -s conftest$ac_exeext'
41238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41239 (eval $ac_try) 2>&5
41240 ac_status=$?
41241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41242 (exit $ac_status); }; }; then
41243 eval "$as_ac_var=yes"
41244 else
41245 echo "$as_me: failed program was:" >&5
41246 sed 's/^/| /' conftest.$ac_ext >&5
41248 eval "$as_ac_var=no"
41250 rm -f conftest.err conftest.$ac_objext \
41251 conftest$ac_exeext conftest.$ac_ext
41253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41255 if test `eval echo '${'$as_ac_var'}'` = yes; then
41256 cat >>confdefs.h <<_ACEOF
41257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41258 _ACEOF
41261 done
41263 else
41265 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
41266 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
41267 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41268 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
41269 echo $ECHO_N "(cached) $ECHO_C" >&6
41270 else
41274 ac_ext=cc
41275 ac_cpp='$CXXCPP $CPPFLAGS'
41276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41280 cat >conftest.$ac_ext <<_ACEOF
41281 /* confdefs.h. */
41282 _ACEOF
41283 cat confdefs.h >>conftest.$ac_ext
41284 cat >>conftest.$ac_ext <<_ACEOF
41285 /* end confdefs.h. */
41286 #include <math.h>
41287 #ifdef HAVE_IEEEFP_H
41288 #include <ieeefp.h>
41289 #endif
41292 main ()
41294 _finitef(0);
41296 return 0;
41298 _ACEOF
41299 rm -f conftest.$ac_objext
41300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41301 (eval $ac_compile) 2>conftest.er1
41302 ac_status=$?
41303 grep -v '^ *+' conftest.er1 >conftest.err
41304 rm -f conftest.er1
41305 cat conftest.err >&5
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); } &&
41308 { ac_try='test -z "$ac_cxx_werror_flag"
41309 || test ! -s conftest.err'
41310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41311 (eval $ac_try) 2>&5
41312 ac_status=$?
41313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41314 (exit $ac_status); }; } &&
41315 { ac_try='test -s conftest.$ac_objext'
41316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41317 (eval $ac_try) 2>&5
41318 ac_status=$?
41319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41320 (exit $ac_status); }; }; then
41321 glibcxx_cv_func__finitef_use=yes
41322 else
41323 echo "$as_me: failed program was:" >&5
41324 sed 's/^/| /' conftest.$ac_ext >&5
41326 glibcxx_cv_func__finitef_use=no
41328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41329 ac_ext=c
41330 ac_cpp='$CPP $CPPFLAGS'
41331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41339 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
41340 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
41342 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41344 for ac_func in _finitef
41346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41347 echo "$as_me:$LINENO: checking for $ac_func" >&5
41348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41349 if eval "test \"\${$as_ac_var+set}\" = set"; then
41350 echo $ECHO_N "(cached) $ECHO_C" >&6
41351 else
41352 if test x$gcc_no_link = xyes; then
41353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41355 { (exit 1); exit 1; }; }
41357 cat >conftest.$ac_ext <<_ACEOF
41358 /* confdefs.h. */
41359 _ACEOF
41360 cat confdefs.h >>conftest.$ac_ext
41361 cat >>conftest.$ac_ext <<_ACEOF
41362 /* end confdefs.h. */
41363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41365 #define $ac_func innocuous_$ac_func
41367 /* System header to define __stub macros and hopefully few prototypes,
41368 which can conflict with char $ac_func (); below.
41369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41370 <limits.h> exists even on freestanding compilers. */
41372 #ifdef __STDC__
41373 # include <limits.h>
41374 #else
41375 # include <assert.h>
41376 #endif
41378 #undef $ac_func
41380 /* Override any gcc2 internal prototype to avoid an error. */
41381 #ifdef __cplusplus
41382 extern "C"
41384 #endif
41385 /* We use char because int might match the return type of a gcc2
41386 builtin and then its argument prototype would still apply. */
41387 char $ac_func ();
41388 /* The GNU C library defines this for functions which it implements
41389 to always fail with ENOSYS. Some functions are actually named
41390 something starting with __ and the normal name is an alias. */
41391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41392 choke me
41393 #else
41394 char (*f) () = $ac_func;
41395 #endif
41396 #ifdef __cplusplus
41398 #endif
41401 main ()
41403 return f != $ac_func;
41405 return 0;
41407 _ACEOF
41408 rm -f conftest.$ac_objext conftest$ac_exeext
41409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41410 (eval $ac_link) 2>conftest.er1
41411 ac_status=$?
41412 grep -v '^ *+' conftest.er1 >conftest.err
41413 rm -f conftest.er1
41414 cat conftest.err >&5
41415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41416 (exit $ac_status); } &&
41417 { ac_try='test -z "$ac_c_werror_flag"
41418 || test ! -s conftest.err'
41419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41420 (eval $ac_try) 2>&5
41421 ac_status=$?
41422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423 (exit $ac_status); }; } &&
41424 { ac_try='test -s conftest$ac_exeext'
41425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41426 (eval $ac_try) 2>&5
41427 ac_status=$?
41428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429 (exit $ac_status); }; }; then
41430 eval "$as_ac_var=yes"
41431 else
41432 echo "$as_me: failed program was:" >&5
41433 sed 's/^/| /' conftest.$ac_ext >&5
41435 eval "$as_ac_var=no"
41437 rm -f conftest.err conftest.$ac_objext \
41438 conftest$ac_exeext conftest.$ac_ext
41440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41442 if test `eval echo '${'$as_ac_var'}'` = yes; then
41443 cat >>confdefs.h <<_ACEOF
41444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41445 _ACEOF
41448 done
41458 echo "$as_me:$LINENO: checking for long double trig functions" >&5
41459 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41460 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41461 echo $ECHO_N "(cached) $ECHO_C" >&6
41462 else
41466 ac_ext=cc
41467 ac_cpp='$CXXCPP $CPPFLAGS'
41468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41472 cat >conftest.$ac_ext <<_ACEOF
41473 /* confdefs.h. */
41474 _ACEOF
41475 cat confdefs.h >>conftest.$ac_ext
41476 cat >>conftest.$ac_ext <<_ACEOF
41477 /* end confdefs.h. */
41478 #include <math.h>
41480 main ()
41482 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41484 return 0;
41486 _ACEOF
41487 rm -f conftest.$ac_objext
41488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41489 (eval $ac_compile) 2>conftest.er1
41490 ac_status=$?
41491 grep -v '^ *+' conftest.er1 >conftest.err
41492 rm -f conftest.er1
41493 cat conftest.err >&5
41494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41495 (exit $ac_status); } &&
41496 { ac_try='test -z "$ac_cxx_werror_flag"
41497 || test ! -s conftest.err'
41498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41499 (eval $ac_try) 2>&5
41500 ac_status=$?
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); }; } &&
41503 { ac_try='test -s conftest.$ac_objext'
41504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41505 (eval $ac_try) 2>&5
41506 ac_status=$?
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); }; }; then
41509 glibcxx_cv_func_long_double_trig_use=yes
41510 else
41511 echo "$as_me: failed program was:" >&5
41512 sed 's/^/| /' conftest.$ac_ext >&5
41514 glibcxx_cv_func_long_double_trig_use=no
41516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41517 ac_ext=c
41518 ac_cpp='$CPP $CPPFLAGS'
41519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41525 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41526 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41527 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41537 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41540 echo "$as_me:$LINENO: checking for $ac_func" >&5
41541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41542 if eval "test \"\${$as_ac_var+set}\" = set"; then
41543 echo $ECHO_N "(cached) $ECHO_C" >&6
41544 else
41545 if test x$gcc_no_link = xyes; then
41546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41548 { (exit 1); exit 1; }; }
41550 cat >conftest.$ac_ext <<_ACEOF
41551 /* confdefs.h. */
41552 _ACEOF
41553 cat confdefs.h >>conftest.$ac_ext
41554 cat >>conftest.$ac_ext <<_ACEOF
41555 /* end confdefs.h. */
41556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41558 #define $ac_func innocuous_$ac_func
41560 /* System header to define __stub macros and hopefully few prototypes,
41561 which can conflict with char $ac_func (); below.
41562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41563 <limits.h> exists even on freestanding compilers. */
41565 #ifdef __STDC__
41566 # include <limits.h>
41567 #else
41568 # include <assert.h>
41569 #endif
41571 #undef $ac_func
41573 /* Override any gcc2 internal prototype to avoid an error. */
41574 #ifdef __cplusplus
41575 extern "C"
41577 #endif
41578 /* We use char because int might match the return type of a gcc2
41579 builtin and then its argument prototype would still apply. */
41580 char $ac_func ();
41581 /* The GNU C library defines this for functions which it implements
41582 to always fail with ENOSYS. Some functions are actually named
41583 something starting with __ and the normal name is an alias. */
41584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41585 choke me
41586 #else
41587 char (*f) () = $ac_func;
41588 #endif
41589 #ifdef __cplusplus
41591 #endif
41594 main ()
41596 return f != $ac_func;
41598 return 0;
41600 _ACEOF
41601 rm -f conftest.$ac_objext conftest$ac_exeext
41602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41603 (eval $ac_link) 2>conftest.er1
41604 ac_status=$?
41605 grep -v '^ *+' conftest.er1 >conftest.err
41606 rm -f conftest.er1
41607 cat conftest.err >&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); } &&
41610 { ac_try='test -z "$ac_c_werror_flag"
41611 || test ! -s conftest.err'
41612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41613 (eval $ac_try) 2>&5
41614 ac_status=$?
41615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41616 (exit $ac_status); }; } &&
41617 { ac_try='test -s conftest$ac_exeext'
41618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41619 (eval $ac_try) 2>&5
41620 ac_status=$?
41621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41622 (exit $ac_status); }; }; then
41623 eval "$as_ac_var=yes"
41624 else
41625 echo "$as_me: failed program was:" >&5
41626 sed 's/^/| /' conftest.$ac_ext >&5
41628 eval "$as_ac_var=no"
41630 rm -f conftest.err conftest.$ac_objext \
41631 conftest$ac_exeext conftest.$ac_ext
41633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41635 if test `eval echo '${'$as_ac_var'}'` = yes; then
41636 cat >>confdefs.h <<_ACEOF
41637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41638 _ACEOF
41641 done
41643 else
41644 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41645 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41646 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41647 echo $ECHO_N "(cached) $ECHO_C" >&6
41648 else
41652 ac_ext=cc
41653 ac_cpp='$CXXCPP $CPPFLAGS'
41654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41658 cat >conftest.$ac_ext <<_ACEOF
41659 /* confdefs.h. */
41660 _ACEOF
41661 cat confdefs.h >>conftest.$ac_ext
41662 cat >>conftest.$ac_ext <<_ACEOF
41663 /* end confdefs.h. */
41664 #include <math.h>
41666 main ()
41668 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41670 return 0;
41672 _ACEOF
41673 rm -f conftest.$ac_objext
41674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41675 (eval $ac_compile) 2>conftest.er1
41676 ac_status=$?
41677 grep -v '^ *+' conftest.er1 >conftest.err
41678 rm -f conftest.er1
41679 cat conftest.err >&5
41680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41681 (exit $ac_status); } &&
41682 { ac_try='test -z "$ac_cxx_werror_flag"
41683 || test ! -s conftest.err'
41684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41685 (eval $ac_try) 2>&5
41686 ac_status=$?
41687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41688 (exit $ac_status); }; } &&
41689 { ac_try='test -s conftest.$ac_objext'
41690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41691 (eval $ac_try) 2>&5
41692 ac_status=$?
41693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41694 (exit $ac_status); }; }; then
41695 glibcxx_cv_func__long_double_trig_use=yes
41696 else
41697 echo "$as_me: failed program was:" >&5
41698 sed 's/^/| /' conftest.$ac_ext >&5
41700 glibcxx_cv_func__long_double_trig_use=no
41702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41703 ac_ext=c
41704 ac_cpp='$CPP $CPPFLAGS'
41705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41711 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41712 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41713 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41723 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41726 echo "$as_me:$LINENO: checking for $ac_func" >&5
41727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41728 if eval "test \"\${$as_ac_var+set}\" = set"; then
41729 echo $ECHO_N "(cached) $ECHO_C" >&6
41730 else
41731 if test x$gcc_no_link = xyes; then
41732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41734 { (exit 1); exit 1; }; }
41736 cat >conftest.$ac_ext <<_ACEOF
41737 /* confdefs.h. */
41738 _ACEOF
41739 cat confdefs.h >>conftest.$ac_ext
41740 cat >>conftest.$ac_ext <<_ACEOF
41741 /* end confdefs.h. */
41742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41744 #define $ac_func innocuous_$ac_func
41746 /* System header to define __stub macros and hopefully few prototypes,
41747 which can conflict with char $ac_func (); below.
41748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41749 <limits.h> exists even on freestanding compilers. */
41751 #ifdef __STDC__
41752 # include <limits.h>
41753 #else
41754 # include <assert.h>
41755 #endif
41757 #undef $ac_func
41759 /* Override any gcc2 internal prototype to avoid an error. */
41760 #ifdef __cplusplus
41761 extern "C"
41763 #endif
41764 /* We use char because int might match the return type of a gcc2
41765 builtin and then its argument prototype would still apply. */
41766 char $ac_func ();
41767 /* The GNU C library defines this for functions which it implements
41768 to always fail with ENOSYS. Some functions are actually named
41769 something starting with __ and the normal name is an alias. */
41770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41771 choke me
41772 #else
41773 char (*f) () = $ac_func;
41774 #endif
41775 #ifdef __cplusplus
41777 #endif
41780 main ()
41782 return f != $ac_func;
41784 return 0;
41786 _ACEOF
41787 rm -f conftest.$ac_objext conftest$ac_exeext
41788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41789 (eval $ac_link) 2>conftest.er1
41790 ac_status=$?
41791 grep -v '^ *+' conftest.er1 >conftest.err
41792 rm -f conftest.er1
41793 cat conftest.err >&5
41794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41795 (exit $ac_status); } &&
41796 { ac_try='test -z "$ac_c_werror_flag"
41797 || test ! -s conftest.err'
41798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41799 (eval $ac_try) 2>&5
41800 ac_status=$?
41801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41802 (exit $ac_status); }; } &&
41803 { ac_try='test -s conftest$ac_exeext'
41804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41805 (eval $ac_try) 2>&5
41806 ac_status=$?
41807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41808 (exit $ac_status); }; }; then
41809 eval "$as_ac_var=yes"
41810 else
41811 echo "$as_me: failed program was:" >&5
41812 sed 's/^/| /' conftest.$ac_ext >&5
41814 eval "$as_ac_var=no"
41816 rm -f conftest.err conftest.$ac_objext \
41817 conftest$ac_exeext conftest.$ac_ext
41819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41821 if test `eval echo '${'$as_ac_var'}'` = yes; then
41822 cat >>confdefs.h <<_ACEOF
41823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41824 _ACEOF
41827 done
41845 echo "$as_me:$LINENO: checking for long double round functions" >&5
41846 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41847 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41848 echo $ECHO_N "(cached) $ECHO_C" >&6
41849 else
41853 ac_ext=cc
41854 ac_cpp='$CXXCPP $CPPFLAGS'
41855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41859 cat >conftest.$ac_ext <<_ACEOF
41860 /* confdefs.h. */
41861 _ACEOF
41862 cat confdefs.h >>conftest.$ac_ext
41863 cat >>conftest.$ac_ext <<_ACEOF
41864 /* end confdefs.h. */
41865 #include <math.h>
41867 main ()
41869 ceill (0); floorl (0);
41871 return 0;
41873 _ACEOF
41874 rm -f conftest.$ac_objext
41875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41876 (eval $ac_compile) 2>conftest.er1
41877 ac_status=$?
41878 grep -v '^ *+' conftest.er1 >conftest.err
41879 rm -f conftest.er1
41880 cat conftest.err >&5
41881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41882 (exit $ac_status); } &&
41883 { ac_try='test -z "$ac_cxx_werror_flag"
41884 || test ! -s conftest.err'
41885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41886 (eval $ac_try) 2>&5
41887 ac_status=$?
41888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41889 (exit $ac_status); }; } &&
41890 { ac_try='test -s conftest.$ac_objext'
41891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41892 (eval $ac_try) 2>&5
41893 ac_status=$?
41894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41895 (exit $ac_status); }; }; then
41896 glibcxx_cv_func_long_double_round_use=yes
41897 else
41898 echo "$as_me: failed program was:" >&5
41899 sed 's/^/| /' conftest.$ac_ext >&5
41901 glibcxx_cv_func_long_double_round_use=no
41903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41904 ac_ext=c
41905 ac_cpp='$CPP $CPPFLAGS'
41906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41912 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41913 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41914 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41917 for ac_func in ceill floorl
41919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41920 echo "$as_me:$LINENO: checking for $ac_func" >&5
41921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41922 if eval "test \"\${$as_ac_var+set}\" = set"; then
41923 echo $ECHO_N "(cached) $ECHO_C" >&6
41924 else
41925 if test x$gcc_no_link = xyes; then
41926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41928 { (exit 1); exit 1; }; }
41930 cat >conftest.$ac_ext <<_ACEOF
41931 /* confdefs.h. */
41932 _ACEOF
41933 cat confdefs.h >>conftest.$ac_ext
41934 cat >>conftest.$ac_ext <<_ACEOF
41935 /* end confdefs.h. */
41936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41938 #define $ac_func innocuous_$ac_func
41940 /* System header to define __stub macros and hopefully few prototypes,
41941 which can conflict with char $ac_func (); below.
41942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41943 <limits.h> exists even on freestanding compilers. */
41945 #ifdef __STDC__
41946 # include <limits.h>
41947 #else
41948 # include <assert.h>
41949 #endif
41951 #undef $ac_func
41953 /* Override any gcc2 internal prototype to avoid an error. */
41954 #ifdef __cplusplus
41955 extern "C"
41957 #endif
41958 /* We use char because int might match the return type of a gcc2
41959 builtin and then its argument prototype would still apply. */
41960 char $ac_func ();
41961 /* The GNU C library defines this for functions which it implements
41962 to always fail with ENOSYS. Some functions are actually named
41963 something starting with __ and the normal name is an alias. */
41964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41965 choke me
41966 #else
41967 char (*f) () = $ac_func;
41968 #endif
41969 #ifdef __cplusplus
41971 #endif
41974 main ()
41976 return f != $ac_func;
41978 return 0;
41980 _ACEOF
41981 rm -f conftest.$ac_objext conftest$ac_exeext
41982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41983 (eval $ac_link) 2>conftest.er1
41984 ac_status=$?
41985 grep -v '^ *+' conftest.er1 >conftest.err
41986 rm -f conftest.er1
41987 cat conftest.err >&5
41988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41989 (exit $ac_status); } &&
41990 { ac_try='test -z "$ac_c_werror_flag"
41991 || test ! -s conftest.err'
41992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41993 (eval $ac_try) 2>&5
41994 ac_status=$?
41995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41996 (exit $ac_status); }; } &&
41997 { ac_try='test -s conftest$ac_exeext'
41998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41999 (eval $ac_try) 2>&5
42000 ac_status=$?
42001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42002 (exit $ac_status); }; }; then
42003 eval "$as_ac_var=yes"
42004 else
42005 echo "$as_me: failed program was:" >&5
42006 sed 's/^/| /' conftest.$ac_ext >&5
42008 eval "$as_ac_var=no"
42010 rm -f conftest.err conftest.$ac_objext \
42011 conftest$ac_exeext conftest.$ac_ext
42013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42015 if test `eval echo '${'$as_ac_var'}'` = yes; then
42016 cat >>confdefs.h <<_ACEOF
42017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42018 _ACEOF
42021 done
42023 else
42024 echo "$as_me:$LINENO: checking for _long double round functions" >&5
42025 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42026 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42027 echo $ECHO_N "(cached) $ECHO_C" >&6
42028 else
42032 ac_ext=cc
42033 ac_cpp='$CXXCPP $CPPFLAGS'
42034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42038 cat >conftest.$ac_ext <<_ACEOF
42039 /* confdefs.h. */
42040 _ACEOF
42041 cat confdefs.h >>conftest.$ac_ext
42042 cat >>conftest.$ac_ext <<_ACEOF
42043 /* end confdefs.h. */
42044 #include <math.h>
42046 main ()
42048 _ceill (0); _floorl (0);
42050 return 0;
42052 _ACEOF
42053 rm -f conftest.$ac_objext
42054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42055 (eval $ac_compile) 2>conftest.er1
42056 ac_status=$?
42057 grep -v '^ *+' conftest.er1 >conftest.err
42058 rm -f conftest.er1
42059 cat conftest.err >&5
42060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42061 (exit $ac_status); } &&
42062 { ac_try='test -z "$ac_cxx_werror_flag"
42063 || test ! -s conftest.err'
42064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42065 (eval $ac_try) 2>&5
42066 ac_status=$?
42067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42068 (exit $ac_status); }; } &&
42069 { ac_try='test -s conftest.$ac_objext'
42070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42071 (eval $ac_try) 2>&5
42072 ac_status=$?
42073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42074 (exit $ac_status); }; }; then
42075 glibcxx_cv_func__long_double_round_use=yes
42076 else
42077 echo "$as_me: failed program was:" >&5
42078 sed 's/^/| /' conftest.$ac_ext >&5
42080 glibcxx_cv_func__long_double_round_use=no
42082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42083 ac_ext=c
42084 ac_cpp='$CPP $CPPFLAGS'
42085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42091 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42092 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42093 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42096 for ac_func in _ceill _floorl
42098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42099 echo "$as_me:$LINENO: checking for $ac_func" >&5
42100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42101 if eval "test \"\${$as_ac_var+set}\" = set"; then
42102 echo $ECHO_N "(cached) $ECHO_C" >&6
42103 else
42104 if test x$gcc_no_link = xyes; then
42105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42107 { (exit 1); exit 1; }; }
42109 cat >conftest.$ac_ext <<_ACEOF
42110 /* confdefs.h. */
42111 _ACEOF
42112 cat confdefs.h >>conftest.$ac_ext
42113 cat >>conftest.$ac_ext <<_ACEOF
42114 /* end confdefs.h. */
42115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42117 #define $ac_func innocuous_$ac_func
42119 /* System header to define __stub macros and hopefully few prototypes,
42120 which can conflict with char $ac_func (); below.
42121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42122 <limits.h> exists even on freestanding compilers. */
42124 #ifdef __STDC__
42125 # include <limits.h>
42126 #else
42127 # include <assert.h>
42128 #endif
42130 #undef $ac_func
42132 /* Override any gcc2 internal prototype to avoid an error. */
42133 #ifdef __cplusplus
42134 extern "C"
42136 #endif
42137 /* We use char because int might match the return type of a gcc2
42138 builtin and then its argument prototype would still apply. */
42139 char $ac_func ();
42140 /* The GNU C library defines this for functions which it implements
42141 to always fail with ENOSYS. Some functions are actually named
42142 something starting with __ and the normal name is an alias. */
42143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42144 choke me
42145 #else
42146 char (*f) () = $ac_func;
42147 #endif
42148 #ifdef __cplusplus
42150 #endif
42153 main ()
42155 return f != $ac_func;
42157 return 0;
42159 _ACEOF
42160 rm -f conftest.$ac_objext conftest$ac_exeext
42161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42162 (eval $ac_link) 2>conftest.er1
42163 ac_status=$?
42164 grep -v '^ *+' conftest.er1 >conftest.err
42165 rm -f conftest.er1
42166 cat conftest.err >&5
42167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42168 (exit $ac_status); } &&
42169 { ac_try='test -z "$ac_c_werror_flag"
42170 || test ! -s conftest.err'
42171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42172 (eval $ac_try) 2>&5
42173 ac_status=$?
42174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42175 (exit $ac_status); }; } &&
42176 { ac_try='test -s conftest$ac_exeext'
42177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42178 (eval $ac_try) 2>&5
42179 ac_status=$?
42180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42181 (exit $ac_status); }; }; then
42182 eval "$as_ac_var=yes"
42183 else
42184 echo "$as_me: failed program was:" >&5
42185 sed 's/^/| /' conftest.$ac_ext >&5
42187 eval "$as_ac_var=no"
42189 rm -f conftest.err conftest.$ac_objext \
42190 conftest$ac_exeext conftest.$ac_ext
42192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42194 if test `eval echo '${'$as_ac_var'}'` = yes; then
42195 cat >>confdefs.h <<_ACEOF
42196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42197 _ACEOF
42200 done
42212 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42213 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42214 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42215 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42216 echo $ECHO_N "(cached) $ECHO_C" >&6
42217 else
42221 ac_ext=cc
42222 ac_cpp='$CXXCPP $CPPFLAGS'
42223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42227 cat >conftest.$ac_ext <<_ACEOF
42228 /* confdefs.h. */
42229 _ACEOF
42230 cat confdefs.h >>conftest.$ac_ext
42231 cat >>conftest.$ac_ext <<_ACEOF
42232 /* end confdefs.h. */
42233 #include <math.h>
42234 #ifdef HAVE_IEEEFP_H
42235 #include <ieeefp.h>
42236 #endif
42239 main ()
42241 isnanl(0);
42243 return 0;
42245 _ACEOF
42246 rm -f conftest.$ac_objext
42247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42248 (eval $ac_compile) 2>conftest.er1
42249 ac_status=$?
42250 grep -v '^ *+' conftest.er1 >conftest.err
42251 rm -f conftest.er1
42252 cat conftest.err >&5
42253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42254 (exit $ac_status); } &&
42255 { ac_try='test -z "$ac_cxx_werror_flag"
42256 || test ! -s conftest.err'
42257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42258 (eval $ac_try) 2>&5
42259 ac_status=$?
42260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42261 (exit $ac_status); }; } &&
42262 { ac_try='test -s conftest.$ac_objext'
42263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42264 (eval $ac_try) 2>&5
42265 ac_status=$?
42266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42267 (exit $ac_status); }; }; then
42268 glibcxx_cv_func_isnanl_use=yes
42269 else
42270 echo "$as_me: failed program was:" >&5
42271 sed 's/^/| /' conftest.$ac_ext >&5
42273 glibcxx_cv_func_isnanl_use=no
42275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42276 ac_ext=c
42277 ac_cpp='$CPP $CPPFLAGS'
42278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42286 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42287 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42289 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42291 for ac_func in isnanl
42293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42294 echo "$as_me:$LINENO: checking for $ac_func" >&5
42295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42296 if eval "test \"\${$as_ac_var+set}\" = set"; then
42297 echo $ECHO_N "(cached) $ECHO_C" >&6
42298 else
42299 if test x$gcc_no_link = xyes; then
42300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42302 { (exit 1); exit 1; }; }
42304 cat >conftest.$ac_ext <<_ACEOF
42305 /* confdefs.h. */
42306 _ACEOF
42307 cat confdefs.h >>conftest.$ac_ext
42308 cat >>conftest.$ac_ext <<_ACEOF
42309 /* end confdefs.h. */
42310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42312 #define $ac_func innocuous_$ac_func
42314 /* System header to define __stub macros and hopefully few prototypes,
42315 which can conflict with char $ac_func (); below.
42316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42317 <limits.h> exists even on freestanding compilers. */
42319 #ifdef __STDC__
42320 # include <limits.h>
42321 #else
42322 # include <assert.h>
42323 #endif
42325 #undef $ac_func
42327 /* Override any gcc2 internal prototype to avoid an error. */
42328 #ifdef __cplusplus
42329 extern "C"
42331 #endif
42332 /* We use char because int might match the return type of a gcc2
42333 builtin and then its argument prototype would still apply. */
42334 char $ac_func ();
42335 /* The GNU C library defines this for functions which it implements
42336 to always fail with ENOSYS. Some functions are actually named
42337 something starting with __ and the normal name is an alias. */
42338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42339 choke me
42340 #else
42341 char (*f) () = $ac_func;
42342 #endif
42343 #ifdef __cplusplus
42345 #endif
42348 main ()
42350 return f != $ac_func;
42352 return 0;
42354 _ACEOF
42355 rm -f conftest.$ac_objext conftest$ac_exeext
42356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42357 (eval $ac_link) 2>conftest.er1
42358 ac_status=$?
42359 grep -v '^ *+' conftest.er1 >conftest.err
42360 rm -f conftest.er1
42361 cat conftest.err >&5
42362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42363 (exit $ac_status); } &&
42364 { ac_try='test -z "$ac_c_werror_flag"
42365 || test ! -s conftest.err'
42366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42367 (eval $ac_try) 2>&5
42368 ac_status=$?
42369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42370 (exit $ac_status); }; } &&
42371 { ac_try='test -s conftest$ac_exeext'
42372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42373 (eval $ac_try) 2>&5
42374 ac_status=$?
42375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42376 (exit $ac_status); }; }; then
42377 eval "$as_ac_var=yes"
42378 else
42379 echo "$as_me: failed program was:" >&5
42380 sed 's/^/| /' conftest.$ac_ext >&5
42382 eval "$as_ac_var=no"
42384 rm -f conftest.err conftest.$ac_objext \
42385 conftest$ac_exeext conftest.$ac_ext
42387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42389 if test `eval echo '${'$as_ac_var'}'` = yes; then
42390 cat >>confdefs.h <<_ACEOF
42391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42392 _ACEOF
42395 done
42397 else
42399 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
42400 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
42401 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42402 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
42403 echo $ECHO_N "(cached) $ECHO_C" >&6
42404 else
42408 ac_ext=cc
42409 ac_cpp='$CXXCPP $CPPFLAGS'
42410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42414 cat >conftest.$ac_ext <<_ACEOF
42415 /* confdefs.h. */
42416 _ACEOF
42417 cat confdefs.h >>conftest.$ac_ext
42418 cat >>conftest.$ac_ext <<_ACEOF
42419 /* end confdefs.h. */
42420 #include <math.h>
42421 #ifdef HAVE_IEEEFP_H
42422 #include <ieeefp.h>
42423 #endif
42426 main ()
42428 _isnanl(0);
42430 return 0;
42432 _ACEOF
42433 rm -f conftest.$ac_objext
42434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42435 (eval $ac_compile) 2>conftest.er1
42436 ac_status=$?
42437 grep -v '^ *+' conftest.er1 >conftest.err
42438 rm -f conftest.er1
42439 cat conftest.err >&5
42440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42441 (exit $ac_status); } &&
42442 { ac_try='test -z "$ac_cxx_werror_flag"
42443 || test ! -s conftest.err'
42444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42445 (eval $ac_try) 2>&5
42446 ac_status=$?
42447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42448 (exit $ac_status); }; } &&
42449 { ac_try='test -s conftest.$ac_objext'
42450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42451 (eval $ac_try) 2>&5
42452 ac_status=$?
42453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42454 (exit $ac_status); }; }; then
42455 glibcxx_cv_func__isnanl_use=yes
42456 else
42457 echo "$as_me: failed program was:" >&5
42458 sed 's/^/| /' conftest.$ac_ext >&5
42460 glibcxx_cv_func__isnanl_use=no
42462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42463 ac_ext=c
42464 ac_cpp='$CPP $CPPFLAGS'
42465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42473 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
42474 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
42476 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42478 for ac_func in _isnanl
42480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42481 echo "$as_me:$LINENO: checking for $ac_func" >&5
42482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42483 if eval "test \"\${$as_ac_var+set}\" = set"; then
42484 echo $ECHO_N "(cached) $ECHO_C" >&6
42485 else
42486 if test x$gcc_no_link = xyes; then
42487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42489 { (exit 1); exit 1; }; }
42491 cat >conftest.$ac_ext <<_ACEOF
42492 /* confdefs.h. */
42493 _ACEOF
42494 cat confdefs.h >>conftest.$ac_ext
42495 cat >>conftest.$ac_ext <<_ACEOF
42496 /* end confdefs.h. */
42497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42499 #define $ac_func innocuous_$ac_func
42501 /* System header to define __stub macros and hopefully few prototypes,
42502 which can conflict with char $ac_func (); below.
42503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42504 <limits.h> exists even on freestanding compilers. */
42506 #ifdef __STDC__
42507 # include <limits.h>
42508 #else
42509 # include <assert.h>
42510 #endif
42512 #undef $ac_func
42514 /* Override any gcc2 internal prototype to avoid an error. */
42515 #ifdef __cplusplus
42516 extern "C"
42518 #endif
42519 /* We use char because int might match the return type of a gcc2
42520 builtin and then its argument prototype would still apply. */
42521 char $ac_func ();
42522 /* The GNU C library defines this for functions which it implements
42523 to always fail with ENOSYS. Some functions are actually named
42524 something starting with __ and the normal name is an alias. */
42525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42526 choke me
42527 #else
42528 char (*f) () = $ac_func;
42529 #endif
42530 #ifdef __cplusplus
42532 #endif
42535 main ()
42537 return f != $ac_func;
42539 return 0;
42541 _ACEOF
42542 rm -f conftest.$ac_objext conftest$ac_exeext
42543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42544 (eval $ac_link) 2>conftest.er1
42545 ac_status=$?
42546 grep -v '^ *+' conftest.er1 >conftest.err
42547 rm -f conftest.er1
42548 cat conftest.err >&5
42549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42550 (exit $ac_status); } &&
42551 { ac_try='test -z "$ac_c_werror_flag"
42552 || test ! -s conftest.err'
42553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42554 (eval $ac_try) 2>&5
42555 ac_status=$?
42556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42557 (exit $ac_status); }; } &&
42558 { ac_try='test -s conftest$ac_exeext'
42559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42560 (eval $ac_try) 2>&5
42561 ac_status=$?
42562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563 (exit $ac_status); }; }; then
42564 eval "$as_ac_var=yes"
42565 else
42566 echo "$as_me: failed program was:" >&5
42567 sed 's/^/| /' conftest.$ac_ext >&5
42569 eval "$as_ac_var=no"
42571 rm -f conftest.err conftest.$ac_objext \
42572 conftest$ac_exeext conftest.$ac_ext
42574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42576 if test `eval echo '${'$as_ac_var'}'` = yes; then
42577 cat >>confdefs.h <<_ACEOF
42578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42579 _ACEOF
42582 done
42592 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
42593 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
42594 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42595 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
42596 echo $ECHO_N "(cached) $ECHO_C" >&6
42597 else
42601 ac_ext=cc
42602 ac_cpp='$CXXCPP $CPPFLAGS'
42603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42607 cat >conftest.$ac_ext <<_ACEOF
42608 /* confdefs.h. */
42609 _ACEOF
42610 cat confdefs.h >>conftest.$ac_ext
42611 cat >>conftest.$ac_ext <<_ACEOF
42612 /* end confdefs.h. */
42613 #include <math.h>
42614 #ifdef HAVE_IEEEFP_H
42615 #include <ieeefp.h>
42616 #endif
42619 main ()
42621 isinfl(0);
42623 return 0;
42625 _ACEOF
42626 rm -f conftest.$ac_objext
42627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42628 (eval $ac_compile) 2>conftest.er1
42629 ac_status=$?
42630 grep -v '^ *+' conftest.er1 >conftest.err
42631 rm -f conftest.er1
42632 cat conftest.err >&5
42633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42634 (exit $ac_status); } &&
42635 { ac_try='test -z "$ac_cxx_werror_flag"
42636 || test ! -s conftest.err'
42637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42638 (eval $ac_try) 2>&5
42639 ac_status=$?
42640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42641 (exit $ac_status); }; } &&
42642 { ac_try='test -s conftest.$ac_objext'
42643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42644 (eval $ac_try) 2>&5
42645 ac_status=$?
42646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42647 (exit $ac_status); }; }; then
42648 glibcxx_cv_func_isinfl_use=yes
42649 else
42650 echo "$as_me: failed program was:" >&5
42651 sed 's/^/| /' conftest.$ac_ext >&5
42653 glibcxx_cv_func_isinfl_use=no
42655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42656 ac_ext=c
42657 ac_cpp='$CPP $CPPFLAGS'
42658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42666 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
42667 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
42669 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42671 for ac_func in isinfl
42673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42674 echo "$as_me:$LINENO: checking for $ac_func" >&5
42675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42676 if eval "test \"\${$as_ac_var+set}\" = set"; then
42677 echo $ECHO_N "(cached) $ECHO_C" >&6
42678 else
42679 if test x$gcc_no_link = xyes; then
42680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42682 { (exit 1); exit 1; }; }
42684 cat >conftest.$ac_ext <<_ACEOF
42685 /* confdefs.h. */
42686 _ACEOF
42687 cat confdefs.h >>conftest.$ac_ext
42688 cat >>conftest.$ac_ext <<_ACEOF
42689 /* end confdefs.h. */
42690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42692 #define $ac_func innocuous_$ac_func
42694 /* System header to define __stub macros and hopefully few prototypes,
42695 which can conflict with char $ac_func (); below.
42696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42697 <limits.h> exists even on freestanding compilers. */
42699 #ifdef __STDC__
42700 # include <limits.h>
42701 #else
42702 # include <assert.h>
42703 #endif
42705 #undef $ac_func
42707 /* Override any gcc2 internal prototype to avoid an error. */
42708 #ifdef __cplusplus
42709 extern "C"
42711 #endif
42712 /* We use char because int might match the return type of a gcc2
42713 builtin and then its argument prototype would still apply. */
42714 char $ac_func ();
42715 /* The GNU C library defines this for functions which it implements
42716 to always fail with ENOSYS. Some functions are actually named
42717 something starting with __ and the normal name is an alias. */
42718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42719 choke me
42720 #else
42721 char (*f) () = $ac_func;
42722 #endif
42723 #ifdef __cplusplus
42725 #endif
42728 main ()
42730 return f != $ac_func;
42732 return 0;
42734 _ACEOF
42735 rm -f conftest.$ac_objext conftest$ac_exeext
42736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42737 (eval $ac_link) 2>conftest.er1
42738 ac_status=$?
42739 grep -v '^ *+' conftest.er1 >conftest.err
42740 rm -f conftest.er1
42741 cat conftest.err >&5
42742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42743 (exit $ac_status); } &&
42744 { ac_try='test -z "$ac_c_werror_flag"
42745 || test ! -s conftest.err'
42746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42747 (eval $ac_try) 2>&5
42748 ac_status=$?
42749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42750 (exit $ac_status); }; } &&
42751 { ac_try='test -s conftest$ac_exeext'
42752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42753 (eval $ac_try) 2>&5
42754 ac_status=$?
42755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42756 (exit $ac_status); }; }; then
42757 eval "$as_ac_var=yes"
42758 else
42759 echo "$as_me: failed program was:" >&5
42760 sed 's/^/| /' conftest.$ac_ext >&5
42762 eval "$as_ac_var=no"
42764 rm -f conftest.err conftest.$ac_objext \
42765 conftest$ac_exeext conftest.$ac_ext
42767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42769 if test `eval echo '${'$as_ac_var'}'` = yes; then
42770 cat >>confdefs.h <<_ACEOF
42771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42772 _ACEOF
42775 done
42777 else
42779 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42780 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42781 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42782 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42783 echo $ECHO_N "(cached) $ECHO_C" >&6
42784 else
42788 ac_ext=cc
42789 ac_cpp='$CXXCPP $CPPFLAGS'
42790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42794 cat >conftest.$ac_ext <<_ACEOF
42795 /* confdefs.h. */
42796 _ACEOF
42797 cat confdefs.h >>conftest.$ac_ext
42798 cat >>conftest.$ac_ext <<_ACEOF
42799 /* end confdefs.h. */
42800 #include <math.h>
42801 #ifdef HAVE_IEEEFP_H
42802 #include <ieeefp.h>
42803 #endif
42806 main ()
42808 _isinfl(0);
42810 return 0;
42812 _ACEOF
42813 rm -f conftest.$ac_objext
42814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42815 (eval $ac_compile) 2>conftest.er1
42816 ac_status=$?
42817 grep -v '^ *+' conftest.er1 >conftest.err
42818 rm -f conftest.er1
42819 cat conftest.err >&5
42820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42821 (exit $ac_status); } &&
42822 { ac_try='test -z "$ac_cxx_werror_flag"
42823 || test ! -s conftest.err'
42824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42825 (eval $ac_try) 2>&5
42826 ac_status=$?
42827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42828 (exit $ac_status); }; } &&
42829 { ac_try='test -s conftest.$ac_objext'
42830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42831 (eval $ac_try) 2>&5
42832 ac_status=$?
42833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42834 (exit $ac_status); }; }; then
42835 glibcxx_cv_func__isinfl_use=yes
42836 else
42837 echo "$as_me: failed program was:" >&5
42838 sed 's/^/| /' conftest.$ac_ext >&5
42840 glibcxx_cv_func__isinfl_use=no
42842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42843 ac_ext=c
42844 ac_cpp='$CPP $CPPFLAGS'
42845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42853 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42854 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42856 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42858 for ac_func in _isinfl
42860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42861 echo "$as_me:$LINENO: checking for $ac_func" >&5
42862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42863 if eval "test \"\${$as_ac_var+set}\" = set"; then
42864 echo $ECHO_N "(cached) $ECHO_C" >&6
42865 else
42866 if test x$gcc_no_link = xyes; then
42867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42869 { (exit 1); exit 1; }; }
42871 cat >conftest.$ac_ext <<_ACEOF
42872 /* confdefs.h. */
42873 _ACEOF
42874 cat confdefs.h >>conftest.$ac_ext
42875 cat >>conftest.$ac_ext <<_ACEOF
42876 /* end confdefs.h. */
42877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42879 #define $ac_func innocuous_$ac_func
42881 /* System header to define __stub macros and hopefully few prototypes,
42882 which can conflict with char $ac_func (); below.
42883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42884 <limits.h> exists even on freestanding compilers. */
42886 #ifdef __STDC__
42887 # include <limits.h>
42888 #else
42889 # include <assert.h>
42890 #endif
42892 #undef $ac_func
42894 /* Override any gcc2 internal prototype to avoid an error. */
42895 #ifdef __cplusplus
42896 extern "C"
42898 #endif
42899 /* We use char because int might match the return type of a gcc2
42900 builtin and then its argument prototype would still apply. */
42901 char $ac_func ();
42902 /* The GNU C library defines this for functions which it implements
42903 to always fail with ENOSYS. Some functions are actually named
42904 something starting with __ and the normal name is an alias. */
42905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42906 choke me
42907 #else
42908 char (*f) () = $ac_func;
42909 #endif
42910 #ifdef __cplusplus
42912 #endif
42915 main ()
42917 return f != $ac_func;
42919 return 0;
42921 _ACEOF
42922 rm -f conftest.$ac_objext conftest$ac_exeext
42923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42924 (eval $ac_link) 2>conftest.er1
42925 ac_status=$?
42926 grep -v '^ *+' conftest.er1 >conftest.err
42927 rm -f conftest.er1
42928 cat conftest.err >&5
42929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42930 (exit $ac_status); } &&
42931 { ac_try='test -z "$ac_c_werror_flag"
42932 || test ! -s conftest.err'
42933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42934 (eval $ac_try) 2>&5
42935 ac_status=$?
42936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937 (exit $ac_status); }; } &&
42938 { ac_try='test -s conftest$ac_exeext'
42939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42940 (eval $ac_try) 2>&5
42941 ac_status=$?
42942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42943 (exit $ac_status); }; }; then
42944 eval "$as_ac_var=yes"
42945 else
42946 echo "$as_me: failed program was:" >&5
42947 sed 's/^/| /' conftest.$ac_ext >&5
42949 eval "$as_ac_var=no"
42951 rm -f conftest.err conftest.$ac_objext \
42952 conftest$ac_exeext conftest.$ac_ext
42954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42956 if test `eval echo '${'$as_ac_var'}'` = yes; then
42957 cat >>confdefs.h <<_ACEOF
42958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42959 _ACEOF
42962 done
42972 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42973 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42974 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42975 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42976 echo $ECHO_N "(cached) $ECHO_C" >&6
42977 else
42981 ac_ext=cc
42982 ac_cpp='$CXXCPP $CPPFLAGS'
42983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42987 cat >conftest.$ac_ext <<_ACEOF
42988 /* confdefs.h. */
42989 _ACEOF
42990 cat confdefs.h >>conftest.$ac_ext
42991 cat >>conftest.$ac_ext <<_ACEOF
42992 /* end confdefs.h. */
42993 #include <math.h>
42995 main ()
42997 copysignl(0, 0);
42999 return 0;
43001 _ACEOF
43002 rm -f conftest.$ac_objext
43003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43004 (eval $ac_compile) 2>conftest.er1
43005 ac_status=$?
43006 grep -v '^ *+' conftest.er1 >conftest.err
43007 rm -f conftest.er1
43008 cat conftest.err >&5
43009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43010 (exit $ac_status); } &&
43011 { ac_try='test -z "$ac_cxx_werror_flag"
43012 || test ! -s conftest.err'
43013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43014 (eval $ac_try) 2>&5
43015 ac_status=$?
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); }; } &&
43018 { ac_try='test -s conftest.$ac_objext'
43019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43020 (eval $ac_try) 2>&5
43021 ac_status=$?
43022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43023 (exit $ac_status); }; }; then
43024 glibcxx_cv_func_copysignl_use=yes
43025 else
43026 echo "$as_me: failed program was:" >&5
43027 sed 's/^/| /' conftest.$ac_ext >&5
43029 glibcxx_cv_func_copysignl_use=no
43031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43032 ac_ext=c
43033 ac_cpp='$CPP $CPPFLAGS'
43034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43042 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
43043 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
43045 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
43047 for ac_func in copysignl
43049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43050 echo "$as_me:$LINENO: checking for $ac_func" >&5
43051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43052 if eval "test \"\${$as_ac_var+set}\" = set"; then
43053 echo $ECHO_N "(cached) $ECHO_C" >&6
43054 else
43055 if test x$gcc_no_link = xyes; then
43056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43058 { (exit 1); exit 1; }; }
43060 cat >conftest.$ac_ext <<_ACEOF
43061 /* confdefs.h. */
43062 _ACEOF
43063 cat confdefs.h >>conftest.$ac_ext
43064 cat >>conftest.$ac_ext <<_ACEOF
43065 /* end confdefs.h. */
43066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43068 #define $ac_func innocuous_$ac_func
43070 /* System header to define __stub macros and hopefully few prototypes,
43071 which can conflict with char $ac_func (); below.
43072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43073 <limits.h> exists even on freestanding compilers. */
43075 #ifdef __STDC__
43076 # include <limits.h>
43077 #else
43078 # include <assert.h>
43079 #endif
43081 #undef $ac_func
43083 /* Override any gcc2 internal prototype to avoid an error. */
43084 #ifdef __cplusplus
43085 extern "C"
43087 #endif
43088 /* We use char because int might match the return type of a gcc2
43089 builtin and then its argument prototype would still apply. */
43090 char $ac_func ();
43091 /* The GNU C library defines this for functions which it implements
43092 to always fail with ENOSYS. Some functions are actually named
43093 something starting with __ and the normal name is an alias. */
43094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43095 choke me
43096 #else
43097 char (*f) () = $ac_func;
43098 #endif
43099 #ifdef __cplusplus
43101 #endif
43104 main ()
43106 return f != $ac_func;
43108 return 0;
43110 _ACEOF
43111 rm -f conftest.$ac_objext conftest$ac_exeext
43112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43113 (eval $ac_link) 2>conftest.er1
43114 ac_status=$?
43115 grep -v '^ *+' conftest.er1 >conftest.err
43116 rm -f conftest.er1
43117 cat conftest.err >&5
43118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43119 (exit $ac_status); } &&
43120 { ac_try='test -z "$ac_c_werror_flag"
43121 || test ! -s conftest.err'
43122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43123 (eval $ac_try) 2>&5
43124 ac_status=$?
43125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43126 (exit $ac_status); }; } &&
43127 { ac_try='test -s conftest$ac_exeext'
43128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43129 (eval $ac_try) 2>&5
43130 ac_status=$?
43131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43132 (exit $ac_status); }; }; then
43133 eval "$as_ac_var=yes"
43134 else
43135 echo "$as_me: failed program was:" >&5
43136 sed 's/^/| /' conftest.$ac_ext >&5
43138 eval "$as_ac_var=no"
43140 rm -f conftest.err conftest.$ac_objext \
43141 conftest$ac_exeext conftest.$ac_ext
43143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43145 if test `eval echo '${'$as_ac_var'}'` = yes; then
43146 cat >>confdefs.h <<_ACEOF
43147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43148 _ACEOF
43151 done
43153 else
43155 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
43156 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
43157 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
43158 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
43159 echo $ECHO_N "(cached) $ECHO_C" >&6
43160 else
43164 ac_ext=cc
43165 ac_cpp='$CXXCPP $CPPFLAGS'
43166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43170 cat >conftest.$ac_ext <<_ACEOF
43171 /* confdefs.h. */
43172 _ACEOF
43173 cat confdefs.h >>conftest.$ac_ext
43174 cat >>conftest.$ac_ext <<_ACEOF
43175 /* end confdefs.h. */
43176 #include <math.h>
43178 main ()
43180 _copysignl(0, 0);
43182 return 0;
43184 _ACEOF
43185 rm -f conftest.$ac_objext
43186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43187 (eval $ac_compile) 2>conftest.er1
43188 ac_status=$?
43189 grep -v '^ *+' conftest.er1 >conftest.err
43190 rm -f conftest.er1
43191 cat conftest.err >&5
43192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43193 (exit $ac_status); } &&
43194 { ac_try='test -z "$ac_cxx_werror_flag"
43195 || test ! -s conftest.err'
43196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43197 (eval $ac_try) 2>&5
43198 ac_status=$?
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); }; } &&
43201 { ac_try='test -s conftest.$ac_objext'
43202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43203 (eval $ac_try) 2>&5
43204 ac_status=$?
43205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43206 (exit $ac_status); }; }; then
43207 glibcxx_cv_func__copysignl_use=yes
43208 else
43209 echo "$as_me: failed program was:" >&5
43210 sed 's/^/| /' conftest.$ac_ext >&5
43212 glibcxx_cv_func__copysignl_use=no
43214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43215 ac_ext=c
43216 ac_cpp='$CPP $CPPFLAGS'
43217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43226 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43228 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43230 for ac_func in _copysignl
43232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43233 echo "$as_me:$LINENO: checking for $ac_func" >&5
43234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43235 if eval "test \"\${$as_ac_var+set}\" = set"; then
43236 echo $ECHO_N "(cached) $ECHO_C" >&6
43237 else
43238 if test x$gcc_no_link = xyes; then
43239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43241 { (exit 1); exit 1; }; }
43243 cat >conftest.$ac_ext <<_ACEOF
43244 /* confdefs.h. */
43245 _ACEOF
43246 cat confdefs.h >>conftest.$ac_ext
43247 cat >>conftest.$ac_ext <<_ACEOF
43248 /* end confdefs.h. */
43249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43251 #define $ac_func innocuous_$ac_func
43253 /* System header to define __stub macros and hopefully few prototypes,
43254 which can conflict with char $ac_func (); below.
43255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43256 <limits.h> exists even on freestanding compilers. */
43258 #ifdef __STDC__
43259 # include <limits.h>
43260 #else
43261 # include <assert.h>
43262 #endif
43264 #undef $ac_func
43266 /* Override any gcc2 internal prototype to avoid an error. */
43267 #ifdef __cplusplus
43268 extern "C"
43270 #endif
43271 /* We use char because int might match the return type of a gcc2
43272 builtin and then its argument prototype would still apply. */
43273 char $ac_func ();
43274 /* The GNU C library defines this for functions which it implements
43275 to always fail with ENOSYS. Some functions are actually named
43276 something starting with __ and the normal name is an alias. */
43277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43278 choke me
43279 #else
43280 char (*f) () = $ac_func;
43281 #endif
43282 #ifdef __cplusplus
43284 #endif
43287 main ()
43289 return f != $ac_func;
43291 return 0;
43293 _ACEOF
43294 rm -f conftest.$ac_objext conftest$ac_exeext
43295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43296 (eval $ac_link) 2>conftest.er1
43297 ac_status=$?
43298 grep -v '^ *+' conftest.er1 >conftest.err
43299 rm -f conftest.er1
43300 cat conftest.err >&5
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); } &&
43303 { ac_try='test -z "$ac_c_werror_flag"
43304 || test ! -s conftest.err'
43305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43306 (eval $ac_try) 2>&5
43307 ac_status=$?
43308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43309 (exit $ac_status); }; } &&
43310 { ac_try='test -s conftest$ac_exeext'
43311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43312 (eval $ac_try) 2>&5
43313 ac_status=$?
43314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43315 (exit $ac_status); }; }; then
43316 eval "$as_ac_var=yes"
43317 else
43318 echo "$as_me: failed program was:" >&5
43319 sed 's/^/| /' conftest.$ac_ext >&5
43321 eval "$as_ac_var=no"
43323 rm -f conftest.err conftest.$ac_objext \
43324 conftest$ac_exeext conftest.$ac_ext
43326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43328 if test `eval echo '${'$as_ac_var'}'` = yes; then
43329 cat >>confdefs.h <<_ACEOF
43330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43331 _ACEOF
43334 done
43344 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43345 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43346 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43347 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43348 echo $ECHO_N "(cached) $ECHO_C" >&6
43349 else
43353 ac_ext=cc
43354 ac_cpp='$CXXCPP $CPPFLAGS'
43355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43359 cat >conftest.$ac_ext <<_ACEOF
43360 /* confdefs.h. */
43361 _ACEOF
43362 cat confdefs.h >>conftest.$ac_ext
43363 cat >>conftest.$ac_ext <<_ACEOF
43364 /* end confdefs.h. */
43365 #include <math.h>
43367 main ()
43369 atan2l(0, 0);
43371 return 0;
43373 _ACEOF
43374 rm -f conftest.$ac_objext
43375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43376 (eval $ac_compile) 2>conftest.er1
43377 ac_status=$?
43378 grep -v '^ *+' conftest.er1 >conftest.err
43379 rm -f conftest.er1
43380 cat conftest.err >&5
43381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382 (exit $ac_status); } &&
43383 { ac_try='test -z "$ac_cxx_werror_flag"
43384 || test ! -s conftest.err'
43385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43386 (eval $ac_try) 2>&5
43387 ac_status=$?
43388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43389 (exit $ac_status); }; } &&
43390 { ac_try='test -s conftest.$ac_objext'
43391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43392 (eval $ac_try) 2>&5
43393 ac_status=$?
43394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43395 (exit $ac_status); }; }; then
43396 glibcxx_cv_func_atan2l_use=yes
43397 else
43398 echo "$as_me: failed program was:" >&5
43399 sed 's/^/| /' conftest.$ac_ext >&5
43401 glibcxx_cv_func_atan2l_use=no
43403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43404 ac_ext=c
43405 ac_cpp='$CPP $CPPFLAGS'
43406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43414 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
43415 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
43417 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43419 for ac_func in atan2l
43421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43422 echo "$as_me:$LINENO: checking for $ac_func" >&5
43423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43424 if eval "test \"\${$as_ac_var+set}\" = set"; then
43425 echo $ECHO_N "(cached) $ECHO_C" >&6
43426 else
43427 if test x$gcc_no_link = xyes; then
43428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43430 { (exit 1); exit 1; }; }
43432 cat >conftest.$ac_ext <<_ACEOF
43433 /* confdefs.h. */
43434 _ACEOF
43435 cat confdefs.h >>conftest.$ac_ext
43436 cat >>conftest.$ac_ext <<_ACEOF
43437 /* end confdefs.h. */
43438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43440 #define $ac_func innocuous_$ac_func
43442 /* System header to define __stub macros and hopefully few prototypes,
43443 which can conflict with char $ac_func (); below.
43444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43445 <limits.h> exists even on freestanding compilers. */
43447 #ifdef __STDC__
43448 # include <limits.h>
43449 #else
43450 # include <assert.h>
43451 #endif
43453 #undef $ac_func
43455 /* Override any gcc2 internal prototype to avoid an error. */
43456 #ifdef __cplusplus
43457 extern "C"
43459 #endif
43460 /* We use char because int might match the return type of a gcc2
43461 builtin and then its argument prototype would still apply. */
43462 char $ac_func ();
43463 /* The GNU C library defines this for functions which it implements
43464 to always fail with ENOSYS. Some functions are actually named
43465 something starting with __ and the normal name is an alias. */
43466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43467 choke me
43468 #else
43469 char (*f) () = $ac_func;
43470 #endif
43471 #ifdef __cplusplus
43473 #endif
43476 main ()
43478 return f != $ac_func;
43480 return 0;
43482 _ACEOF
43483 rm -f conftest.$ac_objext conftest$ac_exeext
43484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43485 (eval $ac_link) 2>conftest.er1
43486 ac_status=$?
43487 grep -v '^ *+' conftest.er1 >conftest.err
43488 rm -f conftest.er1
43489 cat conftest.err >&5
43490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43491 (exit $ac_status); } &&
43492 { ac_try='test -z "$ac_c_werror_flag"
43493 || test ! -s conftest.err'
43494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43495 (eval $ac_try) 2>&5
43496 ac_status=$?
43497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43498 (exit $ac_status); }; } &&
43499 { ac_try='test -s conftest$ac_exeext'
43500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43501 (eval $ac_try) 2>&5
43502 ac_status=$?
43503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504 (exit $ac_status); }; }; then
43505 eval "$as_ac_var=yes"
43506 else
43507 echo "$as_me: failed program was:" >&5
43508 sed 's/^/| /' conftest.$ac_ext >&5
43510 eval "$as_ac_var=no"
43512 rm -f conftest.err conftest.$ac_objext \
43513 conftest$ac_exeext conftest.$ac_ext
43515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43517 if test `eval echo '${'$as_ac_var'}'` = yes; then
43518 cat >>confdefs.h <<_ACEOF
43519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43520 _ACEOF
43523 done
43525 else
43527 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
43528 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
43529 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43530 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
43531 echo $ECHO_N "(cached) $ECHO_C" >&6
43532 else
43536 ac_ext=cc
43537 ac_cpp='$CXXCPP $CPPFLAGS'
43538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43542 cat >conftest.$ac_ext <<_ACEOF
43543 /* confdefs.h. */
43544 _ACEOF
43545 cat confdefs.h >>conftest.$ac_ext
43546 cat >>conftest.$ac_ext <<_ACEOF
43547 /* end confdefs.h. */
43548 #include <math.h>
43550 main ()
43552 _atan2l(0, 0);
43554 return 0;
43556 _ACEOF
43557 rm -f conftest.$ac_objext
43558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43559 (eval $ac_compile) 2>conftest.er1
43560 ac_status=$?
43561 grep -v '^ *+' conftest.er1 >conftest.err
43562 rm -f conftest.er1
43563 cat conftest.err >&5
43564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43565 (exit $ac_status); } &&
43566 { ac_try='test -z "$ac_cxx_werror_flag"
43567 || test ! -s conftest.err'
43568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43569 (eval $ac_try) 2>&5
43570 ac_status=$?
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); }; } &&
43573 { ac_try='test -s conftest.$ac_objext'
43574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43575 (eval $ac_try) 2>&5
43576 ac_status=$?
43577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43578 (exit $ac_status); }; }; then
43579 glibcxx_cv_func__atan2l_use=yes
43580 else
43581 echo "$as_me: failed program was:" >&5
43582 sed 's/^/| /' conftest.$ac_ext >&5
43584 glibcxx_cv_func__atan2l_use=no
43586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43587 ac_ext=c
43588 ac_cpp='$CPP $CPPFLAGS'
43589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43597 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
43598 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
43600 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43602 for ac_func in _atan2l
43604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43605 echo "$as_me:$LINENO: checking for $ac_func" >&5
43606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43607 if eval "test \"\${$as_ac_var+set}\" = set"; then
43608 echo $ECHO_N "(cached) $ECHO_C" >&6
43609 else
43610 if test x$gcc_no_link = xyes; then
43611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43613 { (exit 1); exit 1; }; }
43615 cat >conftest.$ac_ext <<_ACEOF
43616 /* confdefs.h. */
43617 _ACEOF
43618 cat confdefs.h >>conftest.$ac_ext
43619 cat >>conftest.$ac_ext <<_ACEOF
43620 /* end confdefs.h. */
43621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43623 #define $ac_func innocuous_$ac_func
43625 /* System header to define __stub macros and hopefully few prototypes,
43626 which can conflict with char $ac_func (); below.
43627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43628 <limits.h> exists even on freestanding compilers. */
43630 #ifdef __STDC__
43631 # include <limits.h>
43632 #else
43633 # include <assert.h>
43634 #endif
43636 #undef $ac_func
43638 /* Override any gcc2 internal prototype to avoid an error. */
43639 #ifdef __cplusplus
43640 extern "C"
43642 #endif
43643 /* We use char because int might match the return type of a gcc2
43644 builtin and then its argument prototype would still apply. */
43645 char $ac_func ();
43646 /* The GNU C library defines this for functions which it implements
43647 to always fail with ENOSYS. Some functions are actually named
43648 something starting with __ and the normal name is an alias. */
43649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43650 choke me
43651 #else
43652 char (*f) () = $ac_func;
43653 #endif
43654 #ifdef __cplusplus
43656 #endif
43659 main ()
43661 return f != $ac_func;
43663 return 0;
43665 _ACEOF
43666 rm -f conftest.$ac_objext conftest$ac_exeext
43667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43668 (eval $ac_link) 2>conftest.er1
43669 ac_status=$?
43670 grep -v '^ *+' conftest.er1 >conftest.err
43671 rm -f conftest.er1
43672 cat conftest.err >&5
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); } &&
43675 { ac_try='test -z "$ac_c_werror_flag"
43676 || test ! -s conftest.err'
43677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43678 (eval $ac_try) 2>&5
43679 ac_status=$?
43680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43681 (exit $ac_status); }; } &&
43682 { ac_try='test -s conftest$ac_exeext'
43683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43684 (eval $ac_try) 2>&5
43685 ac_status=$?
43686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43687 (exit $ac_status); }; }; then
43688 eval "$as_ac_var=yes"
43689 else
43690 echo "$as_me: failed program was:" >&5
43691 sed 's/^/| /' conftest.$ac_ext >&5
43693 eval "$as_ac_var=no"
43695 rm -f conftest.err conftest.$ac_objext \
43696 conftest$ac_exeext conftest.$ac_ext
43698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43700 if test `eval echo '${'$as_ac_var'}'` = yes; then
43701 cat >>confdefs.h <<_ACEOF
43702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43703 _ACEOF
43706 done
43716 echo "$as_me:$LINENO: checking for expl declaration" >&5
43717 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
43718 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43719 if test "${glibcxx_cv_func_expl_use+set}" = set; then
43720 echo $ECHO_N "(cached) $ECHO_C" >&6
43721 else
43725 ac_ext=cc
43726 ac_cpp='$CXXCPP $CPPFLAGS'
43727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43731 cat >conftest.$ac_ext <<_ACEOF
43732 /* confdefs.h. */
43733 _ACEOF
43734 cat confdefs.h >>conftest.$ac_ext
43735 cat >>conftest.$ac_ext <<_ACEOF
43736 /* end confdefs.h. */
43737 #include <math.h>
43738 #ifdef HAVE_IEEEFP_H
43739 #include <ieeefp.h>
43740 #endif
43743 main ()
43745 expl(0);
43747 return 0;
43749 _ACEOF
43750 rm -f conftest.$ac_objext
43751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43752 (eval $ac_compile) 2>conftest.er1
43753 ac_status=$?
43754 grep -v '^ *+' conftest.er1 >conftest.err
43755 rm -f conftest.er1
43756 cat conftest.err >&5
43757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43758 (exit $ac_status); } &&
43759 { ac_try='test -z "$ac_cxx_werror_flag"
43760 || test ! -s conftest.err'
43761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43762 (eval $ac_try) 2>&5
43763 ac_status=$?
43764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43765 (exit $ac_status); }; } &&
43766 { ac_try='test -s conftest.$ac_objext'
43767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43768 (eval $ac_try) 2>&5
43769 ac_status=$?
43770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43771 (exit $ac_status); }; }; then
43772 glibcxx_cv_func_expl_use=yes
43773 else
43774 echo "$as_me: failed program was:" >&5
43775 sed 's/^/| /' conftest.$ac_ext >&5
43777 glibcxx_cv_func_expl_use=no
43779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43780 ac_ext=c
43781 ac_cpp='$CPP $CPPFLAGS'
43782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43790 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43791 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43793 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43795 for ac_func in expl
43797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43798 echo "$as_me:$LINENO: checking for $ac_func" >&5
43799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43800 if eval "test \"\${$as_ac_var+set}\" = set"; then
43801 echo $ECHO_N "(cached) $ECHO_C" >&6
43802 else
43803 if test x$gcc_no_link = xyes; then
43804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43806 { (exit 1); exit 1; }; }
43808 cat >conftest.$ac_ext <<_ACEOF
43809 /* confdefs.h. */
43810 _ACEOF
43811 cat confdefs.h >>conftest.$ac_ext
43812 cat >>conftest.$ac_ext <<_ACEOF
43813 /* end confdefs.h. */
43814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43816 #define $ac_func innocuous_$ac_func
43818 /* System header to define __stub macros and hopefully few prototypes,
43819 which can conflict with char $ac_func (); below.
43820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43821 <limits.h> exists even on freestanding compilers. */
43823 #ifdef __STDC__
43824 # include <limits.h>
43825 #else
43826 # include <assert.h>
43827 #endif
43829 #undef $ac_func
43831 /* Override any gcc2 internal prototype to avoid an error. */
43832 #ifdef __cplusplus
43833 extern "C"
43835 #endif
43836 /* We use char because int might match the return type of a gcc2
43837 builtin and then its argument prototype would still apply. */
43838 char $ac_func ();
43839 /* The GNU C library defines this for functions which it implements
43840 to always fail with ENOSYS. Some functions are actually named
43841 something starting with __ and the normal name is an alias. */
43842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43843 choke me
43844 #else
43845 char (*f) () = $ac_func;
43846 #endif
43847 #ifdef __cplusplus
43849 #endif
43852 main ()
43854 return f != $ac_func;
43856 return 0;
43858 _ACEOF
43859 rm -f conftest.$ac_objext conftest$ac_exeext
43860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43861 (eval $ac_link) 2>conftest.er1
43862 ac_status=$?
43863 grep -v '^ *+' conftest.er1 >conftest.err
43864 rm -f conftest.er1
43865 cat conftest.err >&5
43866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43867 (exit $ac_status); } &&
43868 { ac_try='test -z "$ac_c_werror_flag"
43869 || test ! -s conftest.err'
43870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43871 (eval $ac_try) 2>&5
43872 ac_status=$?
43873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43874 (exit $ac_status); }; } &&
43875 { ac_try='test -s conftest$ac_exeext'
43876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43877 (eval $ac_try) 2>&5
43878 ac_status=$?
43879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43880 (exit $ac_status); }; }; then
43881 eval "$as_ac_var=yes"
43882 else
43883 echo "$as_me: failed program was:" >&5
43884 sed 's/^/| /' conftest.$ac_ext >&5
43886 eval "$as_ac_var=no"
43888 rm -f conftest.err conftest.$ac_objext \
43889 conftest$ac_exeext conftest.$ac_ext
43891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43893 if test `eval echo '${'$as_ac_var'}'` = yes; then
43894 cat >>confdefs.h <<_ACEOF
43895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43896 _ACEOF
43899 done
43901 else
43903 echo "$as_me:$LINENO: checking for _expl declaration" >&5
43904 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43905 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43906 if test "${glibcxx_cv_func__expl_use+set}" = set; then
43907 echo $ECHO_N "(cached) $ECHO_C" >&6
43908 else
43912 ac_ext=cc
43913 ac_cpp='$CXXCPP $CPPFLAGS'
43914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43918 cat >conftest.$ac_ext <<_ACEOF
43919 /* confdefs.h. */
43920 _ACEOF
43921 cat confdefs.h >>conftest.$ac_ext
43922 cat >>conftest.$ac_ext <<_ACEOF
43923 /* end confdefs.h. */
43924 #include <math.h>
43925 #ifdef HAVE_IEEEFP_H
43926 #include <ieeefp.h>
43927 #endif
43930 main ()
43932 _expl(0);
43934 return 0;
43936 _ACEOF
43937 rm -f conftest.$ac_objext
43938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43939 (eval $ac_compile) 2>conftest.er1
43940 ac_status=$?
43941 grep -v '^ *+' conftest.er1 >conftest.err
43942 rm -f conftest.er1
43943 cat conftest.err >&5
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); } &&
43946 { ac_try='test -z "$ac_cxx_werror_flag"
43947 || test ! -s conftest.err'
43948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43949 (eval $ac_try) 2>&5
43950 ac_status=$?
43951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43952 (exit $ac_status); }; } &&
43953 { ac_try='test -s conftest.$ac_objext'
43954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43955 (eval $ac_try) 2>&5
43956 ac_status=$?
43957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43958 (exit $ac_status); }; }; then
43959 glibcxx_cv_func__expl_use=yes
43960 else
43961 echo "$as_me: failed program was:" >&5
43962 sed 's/^/| /' conftest.$ac_ext >&5
43964 glibcxx_cv_func__expl_use=no
43966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43967 ac_ext=c
43968 ac_cpp='$CPP $CPPFLAGS'
43969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43977 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43978 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43980 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43982 for ac_func in _expl
43984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43985 echo "$as_me:$LINENO: checking for $ac_func" >&5
43986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43987 if eval "test \"\${$as_ac_var+set}\" = set"; then
43988 echo $ECHO_N "(cached) $ECHO_C" >&6
43989 else
43990 if test x$gcc_no_link = xyes; then
43991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43993 { (exit 1); exit 1; }; }
43995 cat >conftest.$ac_ext <<_ACEOF
43996 /* confdefs.h. */
43997 _ACEOF
43998 cat confdefs.h >>conftest.$ac_ext
43999 cat >>conftest.$ac_ext <<_ACEOF
44000 /* end confdefs.h. */
44001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44003 #define $ac_func innocuous_$ac_func
44005 /* System header to define __stub macros and hopefully few prototypes,
44006 which can conflict with char $ac_func (); below.
44007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44008 <limits.h> exists even on freestanding compilers. */
44010 #ifdef __STDC__
44011 # include <limits.h>
44012 #else
44013 # include <assert.h>
44014 #endif
44016 #undef $ac_func
44018 /* Override any gcc2 internal prototype to avoid an error. */
44019 #ifdef __cplusplus
44020 extern "C"
44022 #endif
44023 /* We use char because int might match the return type of a gcc2
44024 builtin and then its argument prototype would still apply. */
44025 char $ac_func ();
44026 /* The GNU C library defines this for functions which it implements
44027 to always fail with ENOSYS. Some functions are actually named
44028 something starting with __ and the normal name is an alias. */
44029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44030 choke me
44031 #else
44032 char (*f) () = $ac_func;
44033 #endif
44034 #ifdef __cplusplus
44036 #endif
44039 main ()
44041 return f != $ac_func;
44043 return 0;
44045 _ACEOF
44046 rm -f conftest.$ac_objext conftest$ac_exeext
44047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44048 (eval $ac_link) 2>conftest.er1
44049 ac_status=$?
44050 grep -v '^ *+' conftest.er1 >conftest.err
44051 rm -f conftest.er1
44052 cat conftest.err >&5
44053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44054 (exit $ac_status); } &&
44055 { ac_try='test -z "$ac_c_werror_flag"
44056 || test ! -s conftest.err'
44057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44058 (eval $ac_try) 2>&5
44059 ac_status=$?
44060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44061 (exit $ac_status); }; } &&
44062 { ac_try='test -s conftest$ac_exeext'
44063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44064 (eval $ac_try) 2>&5
44065 ac_status=$?
44066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44067 (exit $ac_status); }; }; then
44068 eval "$as_ac_var=yes"
44069 else
44070 echo "$as_me: failed program was:" >&5
44071 sed 's/^/| /' conftest.$ac_ext >&5
44073 eval "$as_ac_var=no"
44075 rm -f conftest.err conftest.$ac_objext \
44076 conftest$ac_exeext conftest.$ac_ext
44078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44080 if test `eval echo '${'$as_ac_var'}'` = yes; then
44081 cat >>confdefs.h <<_ACEOF
44082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44083 _ACEOF
44086 done
44096 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
44097 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
44098 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44099 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
44100 echo $ECHO_N "(cached) $ECHO_C" >&6
44101 else
44105 ac_ext=cc
44106 ac_cpp='$CXXCPP $CPPFLAGS'
44107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44111 cat >conftest.$ac_ext <<_ACEOF
44112 /* confdefs.h. */
44113 _ACEOF
44114 cat confdefs.h >>conftest.$ac_ext
44115 cat >>conftest.$ac_ext <<_ACEOF
44116 /* end confdefs.h. */
44117 #include <math.h>
44118 #ifdef HAVE_IEEEFP_H
44119 #include <ieeefp.h>
44120 #endif
44123 main ()
44125 fabsl(0);
44127 return 0;
44129 _ACEOF
44130 rm -f conftest.$ac_objext
44131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44132 (eval $ac_compile) 2>conftest.er1
44133 ac_status=$?
44134 grep -v '^ *+' conftest.er1 >conftest.err
44135 rm -f conftest.er1
44136 cat conftest.err >&5
44137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138 (exit $ac_status); } &&
44139 { ac_try='test -z "$ac_cxx_werror_flag"
44140 || test ! -s conftest.err'
44141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44142 (eval $ac_try) 2>&5
44143 ac_status=$?
44144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44145 (exit $ac_status); }; } &&
44146 { ac_try='test -s conftest.$ac_objext'
44147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44148 (eval $ac_try) 2>&5
44149 ac_status=$?
44150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151 (exit $ac_status); }; }; then
44152 glibcxx_cv_func_fabsl_use=yes
44153 else
44154 echo "$as_me: failed program was:" >&5
44155 sed 's/^/| /' conftest.$ac_ext >&5
44157 glibcxx_cv_func_fabsl_use=no
44159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44160 ac_ext=c
44161 ac_cpp='$CPP $CPPFLAGS'
44162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44170 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
44171 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
44173 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44175 for ac_func in fabsl
44177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44178 echo "$as_me:$LINENO: checking for $ac_func" >&5
44179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44180 if eval "test \"\${$as_ac_var+set}\" = set"; then
44181 echo $ECHO_N "(cached) $ECHO_C" >&6
44182 else
44183 if test x$gcc_no_link = xyes; then
44184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44186 { (exit 1); exit 1; }; }
44188 cat >conftest.$ac_ext <<_ACEOF
44189 /* confdefs.h. */
44190 _ACEOF
44191 cat confdefs.h >>conftest.$ac_ext
44192 cat >>conftest.$ac_ext <<_ACEOF
44193 /* end confdefs.h. */
44194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44196 #define $ac_func innocuous_$ac_func
44198 /* System header to define __stub macros and hopefully few prototypes,
44199 which can conflict with char $ac_func (); below.
44200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44201 <limits.h> exists even on freestanding compilers. */
44203 #ifdef __STDC__
44204 # include <limits.h>
44205 #else
44206 # include <assert.h>
44207 #endif
44209 #undef $ac_func
44211 /* Override any gcc2 internal prototype to avoid an error. */
44212 #ifdef __cplusplus
44213 extern "C"
44215 #endif
44216 /* We use char because int might match the return type of a gcc2
44217 builtin and then its argument prototype would still apply. */
44218 char $ac_func ();
44219 /* The GNU C library defines this for functions which it implements
44220 to always fail with ENOSYS. Some functions are actually named
44221 something starting with __ and the normal name is an alias. */
44222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44223 choke me
44224 #else
44225 char (*f) () = $ac_func;
44226 #endif
44227 #ifdef __cplusplus
44229 #endif
44232 main ()
44234 return f != $ac_func;
44236 return 0;
44238 _ACEOF
44239 rm -f conftest.$ac_objext conftest$ac_exeext
44240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44241 (eval $ac_link) 2>conftest.er1
44242 ac_status=$?
44243 grep -v '^ *+' conftest.er1 >conftest.err
44244 rm -f conftest.er1
44245 cat conftest.err >&5
44246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44247 (exit $ac_status); } &&
44248 { ac_try='test -z "$ac_c_werror_flag"
44249 || test ! -s conftest.err'
44250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44251 (eval $ac_try) 2>&5
44252 ac_status=$?
44253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44254 (exit $ac_status); }; } &&
44255 { ac_try='test -s conftest$ac_exeext'
44256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44257 (eval $ac_try) 2>&5
44258 ac_status=$?
44259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44260 (exit $ac_status); }; }; then
44261 eval "$as_ac_var=yes"
44262 else
44263 echo "$as_me: failed program was:" >&5
44264 sed 's/^/| /' conftest.$ac_ext >&5
44266 eval "$as_ac_var=no"
44268 rm -f conftest.err conftest.$ac_objext \
44269 conftest$ac_exeext conftest.$ac_ext
44271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44273 if test `eval echo '${'$as_ac_var'}'` = yes; then
44274 cat >>confdefs.h <<_ACEOF
44275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44276 _ACEOF
44279 done
44281 else
44283 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44284 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44285 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44286 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44287 echo $ECHO_N "(cached) $ECHO_C" >&6
44288 else
44292 ac_ext=cc
44293 ac_cpp='$CXXCPP $CPPFLAGS'
44294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44298 cat >conftest.$ac_ext <<_ACEOF
44299 /* confdefs.h. */
44300 _ACEOF
44301 cat confdefs.h >>conftest.$ac_ext
44302 cat >>conftest.$ac_ext <<_ACEOF
44303 /* end confdefs.h. */
44304 #include <math.h>
44305 #ifdef HAVE_IEEEFP_H
44306 #include <ieeefp.h>
44307 #endif
44310 main ()
44312 _fabsl(0);
44314 return 0;
44316 _ACEOF
44317 rm -f conftest.$ac_objext
44318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44319 (eval $ac_compile) 2>conftest.er1
44320 ac_status=$?
44321 grep -v '^ *+' conftest.er1 >conftest.err
44322 rm -f conftest.er1
44323 cat conftest.err >&5
44324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44325 (exit $ac_status); } &&
44326 { ac_try='test -z "$ac_cxx_werror_flag"
44327 || test ! -s conftest.err'
44328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44329 (eval $ac_try) 2>&5
44330 ac_status=$?
44331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332 (exit $ac_status); }; } &&
44333 { ac_try='test -s conftest.$ac_objext'
44334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44335 (eval $ac_try) 2>&5
44336 ac_status=$?
44337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44338 (exit $ac_status); }; }; then
44339 glibcxx_cv_func__fabsl_use=yes
44340 else
44341 echo "$as_me: failed program was:" >&5
44342 sed 's/^/| /' conftest.$ac_ext >&5
44344 glibcxx_cv_func__fabsl_use=no
44346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44347 ac_ext=c
44348 ac_cpp='$CPP $CPPFLAGS'
44349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44357 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44358 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44360 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44362 for ac_func in _fabsl
44364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44365 echo "$as_me:$LINENO: checking for $ac_func" >&5
44366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44367 if eval "test \"\${$as_ac_var+set}\" = set"; then
44368 echo $ECHO_N "(cached) $ECHO_C" >&6
44369 else
44370 if test x$gcc_no_link = xyes; then
44371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44373 { (exit 1); exit 1; }; }
44375 cat >conftest.$ac_ext <<_ACEOF
44376 /* confdefs.h. */
44377 _ACEOF
44378 cat confdefs.h >>conftest.$ac_ext
44379 cat >>conftest.$ac_ext <<_ACEOF
44380 /* end confdefs.h. */
44381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44383 #define $ac_func innocuous_$ac_func
44385 /* System header to define __stub macros and hopefully few prototypes,
44386 which can conflict with char $ac_func (); below.
44387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44388 <limits.h> exists even on freestanding compilers. */
44390 #ifdef __STDC__
44391 # include <limits.h>
44392 #else
44393 # include <assert.h>
44394 #endif
44396 #undef $ac_func
44398 /* Override any gcc2 internal prototype to avoid an error. */
44399 #ifdef __cplusplus
44400 extern "C"
44402 #endif
44403 /* We use char because int might match the return type of a gcc2
44404 builtin and then its argument prototype would still apply. */
44405 char $ac_func ();
44406 /* The GNU C library defines this for functions which it implements
44407 to always fail with ENOSYS. Some functions are actually named
44408 something starting with __ and the normal name is an alias. */
44409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44410 choke me
44411 #else
44412 char (*f) () = $ac_func;
44413 #endif
44414 #ifdef __cplusplus
44416 #endif
44419 main ()
44421 return f != $ac_func;
44423 return 0;
44425 _ACEOF
44426 rm -f conftest.$ac_objext conftest$ac_exeext
44427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44428 (eval $ac_link) 2>conftest.er1
44429 ac_status=$?
44430 grep -v '^ *+' conftest.er1 >conftest.err
44431 rm -f conftest.er1
44432 cat conftest.err >&5
44433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44434 (exit $ac_status); } &&
44435 { ac_try='test -z "$ac_c_werror_flag"
44436 || test ! -s conftest.err'
44437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44438 (eval $ac_try) 2>&5
44439 ac_status=$?
44440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44441 (exit $ac_status); }; } &&
44442 { ac_try='test -s conftest$ac_exeext'
44443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44444 (eval $ac_try) 2>&5
44445 ac_status=$?
44446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44447 (exit $ac_status); }; }; then
44448 eval "$as_ac_var=yes"
44449 else
44450 echo "$as_me: failed program was:" >&5
44451 sed 's/^/| /' conftest.$ac_ext >&5
44453 eval "$as_ac_var=no"
44455 rm -f conftest.err conftest.$ac_objext \
44456 conftest$ac_exeext conftest.$ac_ext
44458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44460 if test `eval echo '${'$as_ac_var'}'` = yes; then
44461 cat >>confdefs.h <<_ACEOF
44462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44463 _ACEOF
44466 done
44476 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
44477 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
44478 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44479 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
44480 echo $ECHO_N "(cached) $ECHO_C" >&6
44481 else
44485 ac_ext=cc
44486 ac_cpp='$CXXCPP $CPPFLAGS'
44487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44491 cat >conftest.$ac_ext <<_ACEOF
44492 /* confdefs.h. */
44493 _ACEOF
44494 cat confdefs.h >>conftest.$ac_ext
44495 cat >>conftest.$ac_ext <<_ACEOF
44496 /* end confdefs.h. */
44497 #include <math.h>
44499 main ()
44501 fmodl(0, 0);
44503 return 0;
44505 _ACEOF
44506 rm -f conftest.$ac_objext
44507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44508 (eval $ac_compile) 2>conftest.er1
44509 ac_status=$?
44510 grep -v '^ *+' conftest.er1 >conftest.err
44511 rm -f conftest.er1
44512 cat conftest.err >&5
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); } &&
44515 { ac_try='test -z "$ac_cxx_werror_flag"
44516 || test ! -s conftest.err'
44517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44518 (eval $ac_try) 2>&5
44519 ac_status=$?
44520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44521 (exit $ac_status); }; } &&
44522 { ac_try='test -s conftest.$ac_objext'
44523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44524 (eval $ac_try) 2>&5
44525 ac_status=$?
44526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44527 (exit $ac_status); }; }; then
44528 glibcxx_cv_func_fmodl_use=yes
44529 else
44530 echo "$as_me: failed program was:" >&5
44531 sed 's/^/| /' conftest.$ac_ext >&5
44533 glibcxx_cv_func_fmodl_use=no
44535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44536 ac_ext=c
44537 ac_cpp='$CPP $CPPFLAGS'
44538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44546 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
44547 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
44549 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44551 for ac_func in fmodl
44553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44554 echo "$as_me:$LINENO: checking for $ac_func" >&5
44555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44556 if eval "test \"\${$as_ac_var+set}\" = set"; then
44557 echo $ECHO_N "(cached) $ECHO_C" >&6
44558 else
44559 if test x$gcc_no_link = xyes; then
44560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44562 { (exit 1); exit 1; }; }
44564 cat >conftest.$ac_ext <<_ACEOF
44565 /* confdefs.h. */
44566 _ACEOF
44567 cat confdefs.h >>conftest.$ac_ext
44568 cat >>conftest.$ac_ext <<_ACEOF
44569 /* end confdefs.h. */
44570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44572 #define $ac_func innocuous_$ac_func
44574 /* System header to define __stub macros and hopefully few prototypes,
44575 which can conflict with char $ac_func (); below.
44576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44577 <limits.h> exists even on freestanding compilers. */
44579 #ifdef __STDC__
44580 # include <limits.h>
44581 #else
44582 # include <assert.h>
44583 #endif
44585 #undef $ac_func
44587 /* Override any gcc2 internal prototype to avoid an error. */
44588 #ifdef __cplusplus
44589 extern "C"
44591 #endif
44592 /* We use char because int might match the return type of a gcc2
44593 builtin and then its argument prototype would still apply. */
44594 char $ac_func ();
44595 /* The GNU C library defines this for functions which it implements
44596 to always fail with ENOSYS. Some functions are actually named
44597 something starting with __ and the normal name is an alias. */
44598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44599 choke me
44600 #else
44601 char (*f) () = $ac_func;
44602 #endif
44603 #ifdef __cplusplus
44605 #endif
44608 main ()
44610 return f != $ac_func;
44612 return 0;
44614 _ACEOF
44615 rm -f conftest.$ac_objext conftest$ac_exeext
44616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44617 (eval $ac_link) 2>conftest.er1
44618 ac_status=$?
44619 grep -v '^ *+' conftest.er1 >conftest.err
44620 rm -f conftest.er1
44621 cat conftest.err >&5
44622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44623 (exit $ac_status); } &&
44624 { ac_try='test -z "$ac_c_werror_flag"
44625 || test ! -s conftest.err'
44626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44627 (eval $ac_try) 2>&5
44628 ac_status=$?
44629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44630 (exit $ac_status); }; } &&
44631 { ac_try='test -s conftest$ac_exeext'
44632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44633 (eval $ac_try) 2>&5
44634 ac_status=$?
44635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44636 (exit $ac_status); }; }; then
44637 eval "$as_ac_var=yes"
44638 else
44639 echo "$as_me: failed program was:" >&5
44640 sed 's/^/| /' conftest.$ac_ext >&5
44642 eval "$as_ac_var=no"
44644 rm -f conftest.err conftest.$ac_objext \
44645 conftest$ac_exeext conftest.$ac_ext
44647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44649 if test `eval echo '${'$as_ac_var'}'` = yes; then
44650 cat >>confdefs.h <<_ACEOF
44651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44652 _ACEOF
44655 done
44657 else
44659 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
44660 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
44661 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44662 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
44663 echo $ECHO_N "(cached) $ECHO_C" >&6
44664 else
44668 ac_ext=cc
44669 ac_cpp='$CXXCPP $CPPFLAGS'
44670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44674 cat >conftest.$ac_ext <<_ACEOF
44675 /* confdefs.h. */
44676 _ACEOF
44677 cat confdefs.h >>conftest.$ac_ext
44678 cat >>conftest.$ac_ext <<_ACEOF
44679 /* end confdefs.h. */
44680 #include <math.h>
44682 main ()
44684 _fmodl(0, 0);
44686 return 0;
44688 _ACEOF
44689 rm -f conftest.$ac_objext
44690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44691 (eval $ac_compile) 2>conftest.er1
44692 ac_status=$?
44693 grep -v '^ *+' conftest.er1 >conftest.err
44694 rm -f conftest.er1
44695 cat conftest.err >&5
44696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44697 (exit $ac_status); } &&
44698 { ac_try='test -z "$ac_cxx_werror_flag"
44699 || test ! -s conftest.err'
44700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44701 (eval $ac_try) 2>&5
44702 ac_status=$?
44703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44704 (exit $ac_status); }; } &&
44705 { ac_try='test -s conftest.$ac_objext'
44706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44707 (eval $ac_try) 2>&5
44708 ac_status=$?
44709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710 (exit $ac_status); }; }; then
44711 glibcxx_cv_func__fmodl_use=yes
44712 else
44713 echo "$as_me: failed program was:" >&5
44714 sed 's/^/| /' conftest.$ac_ext >&5
44716 glibcxx_cv_func__fmodl_use=no
44718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44719 ac_ext=c
44720 ac_cpp='$CPP $CPPFLAGS'
44721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44729 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
44730 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
44732 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44734 for ac_func in _fmodl
44736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44737 echo "$as_me:$LINENO: checking for $ac_func" >&5
44738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44739 if eval "test \"\${$as_ac_var+set}\" = set"; then
44740 echo $ECHO_N "(cached) $ECHO_C" >&6
44741 else
44742 if test x$gcc_no_link = xyes; then
44743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44745 { (exit 1); exit 1; }; }
44747 cat >conftest.$ac_ext <<_ACEOF
44748 /* confdefs.h. */
44749 _ACEOF
44750 cat confdefs.h >>conftest.$ac_ext
44751 cat >>conftest.$ac_ext <<_ACEOF
44752 /* end confdefs.h. */
44753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44755 #define $ac_func innocuous_$ac_func
44757 /* System header to define __stub macros and hopefully few prototypes,
44758 which can conflict with char $ac_func (); below.
44759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44760 <limits.h> exists even on freestanding compilers. */
44762 #ifdef __STDC__
44763 # include <limits.h>
44764 #else
44765 # include <assert.h>
44766 #endif
44768 #undef $ac_func
44770 /* Override any gcc2 internal prototype to avoid an error. */
44771 #ifdef __cplusplus
44772 extern "C"
44774 #endif
44775 /* We use char because int might match the return type of a gcc2
44776 builtin and then its argument prototype would still apply. */
44777 char $ac_func ();
44778 /* The GNU C library defines this for functions which it implements
44779 to always fail with ENOSYS. Some functions are actually named
44780 something starting with __ and the normal name is an alias. */
44781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44782 choke me
44783 #else
44784 char (*f) () = $ac_func;
44785 #endif
44786 #ifdef __cplusplus
44788 #endif
44791 main ()
44793 return f != $ac_func;
44795 return 0;
44797 _ACEOF
44798 rm -f conftest.$ac_objext conftest$ac_exeext
44799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44800 (eval $ac_link) 2>conftest.er1
44801 ac_status=$?
44802 grep -v '^ *+' conftest.er1 >conftest.err
44803 rm -f conftest.er1
44804 cat conftest.err >&5
44805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44806 (exit $ac_status); } &&
44807 { ac_try='test -z "$ac_c_werror_flag"
44808 || test ! -s conftest.err'
44809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44810 (eval $ac_try) 2>&5
44811 ac_status=$?
44812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44813 (exit $ac_status); }; } &&
44814 { ac_try='test -s conftest$ac_exeext'
44815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44816 (eval $ac_try) 2>&5
44817 ac_status=$?
44818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44819 (exit $ac_status); }; }; then
44820 eval "$as_ac_var=yes"
44821 else
44822 echo "$as_me: failed program was:" >&5
44823 sed 's/^/| /' conftest.$ac_ext >&5
44825 eval "$as_ac_var=no"
44827 rm -f conftest.err conftest.$ac_objext \
44828 conftest$ac_exeext conftest.$ac_ext
44830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44832 if test `eval echo '${'$as_ac_var'}'` = yes; then
44833 cat >>confdefs.h <<_ACEOF
44834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44835 _ACEOF
44838 done
44848 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44849 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44850 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44851 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44852 echo $ECHO_N "(cached) $ECHO_C" >&6
44853 else
44857 ac_ext=cc
44858 ac_cpp='$CXXCPP $CPPFLAGS'
44859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44863 cat >conftest.$ac_ext <<_ACEOF
44864 /* confdefs.h. */
44865 _ACEOF
44866 cat confdefs.h >>conftest.$ac_ext
44867 cat >>conftest.$ac_ext <<_ACEOF
44868 /* end confdefs.h. */
44869 #include <math.h>
44871 main ()
44873 frexpl(0, 0);
44875 return 0;
44877 _ACEOF
44878 rm -f conftest.$ac_objext
44879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44880 (eval $ac_compile) 2>conftest.er1
44881 ac_status=$?
44882 grep -v '^ *+' conftest.er1 >conftest.err
44883 rm -f conftest.er1
44884 cat conftest.err >&5
44885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886 (exit $ac_status); } &&
44887 { ac_try='test -z "$ac_cxx_werror_flag"
44888 || test ! -s conftest.err'
44889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44890 (eval $ac_try) 2>&5
44891 ac_status=$?
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); }; } &&
44894 { ac_try='test -s conftest.$ac_objext'
44895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44896 (eval $ac_try) 2>&5
44897 ac_status=$?
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); }; }; then
44900 glibcxx_cv_func_frexpl_use=yes
44901 else
44902 echo "$as_me: failed program was:" >&5
44903 sed 's/^/| /' conftest.$ac_ext >&5
44905 glibcxx_cv_func_frexpl_use=no
44907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44908 ac_ext=c
44909 ac_cpp='$CPP $CPPFLAGS'
44910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44918 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44919 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44921 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44923 for ac_func in frexpl
44925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44926 echo "$as_me:$LINENO: checking for $ac_func" >&5
44927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44928 if eval "test \"\${$as_ac_var+set}\" = set"; then
44929 echo $ECHO_N "(cached) $ECHO_C" >&6
44930 else
44931 if test x$gcc_no_link = xyes; then
44932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44934 { (exit 1); exit 1; }; }
44936 cat >conftest.$ac_ext <<_ACEOF
44937 /* confdefs.h. */
44938 _ACEOF
44939 cat confdefs.h >>conftest.$ac_ext
44940 cat >>conftest.$ac_ext <<_ACEOF
44941 /* end confdefs.h. */
44942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44944 #define $ac_func innocuous_$ac_func
44946 /* System header to define __stub macros and hopefully few prototypes,
44947 which can conflict with char $ac_func (); below.
44948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44949 <limits.h> exists even on freestanding compilers. */
44951 #ifdef __STDC__
44952 # include <limits.h>
44953 #else
44954 # include <assert.h>
44955 #endif
44957 #undef $ac_func
44959 /* Override any gcc2 internal prototype to avoid an error. */
44960 #ifdef __cplusplus
44961 extern "C"
44963 #endif
44964 /* We use char because int might match the return type of a gcc2
44965 builtin and then its argument prototype would still apply. */
44966 char $ac_func ();
44967 /* The GNU C library defines this for functions which it implements
44968 to always fail with ENOSYS. Some functions are actually named
44969 something starting with __ and the normal name is an alias. */
44970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44971 choke me
44972 #else
44973 char (*f) () = $ac_func;
44974 #endif
44975 #ifdef __cplusplus
44977 #endif
44980 main ()
44982 return f != $ac_func;
44984 return 0;
44986 _ACEOF
44987 rm -f conftest.$ac_objext conftest$ac_exeext
44988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44989 (eval $ac_link) 2>conftest.er1
44990 ac_status=$?
44991 grep -v '^ *+' conftest.er1 >conftest.err
44992 rm -f conftest.er1
44993 cat conftest.err >&5
44994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44995 (exit $ac_status); } &&
44996 { ac_try='test -z "$ac_c_werror_flag"
44997 || test ! -s conftest.err'
44998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44999 (eval $ac_try) 2>&5
45000 ac_status=$?
45001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45002 (exit $ac_status); }; } &&
45003 { ac_try='test -s conftest$ac_exeext'
45004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45005 (eval $ac_try) 2>&5
45006 ac_status=$?
45007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45008 (exit $ac_status); }; }; then
45009 eval "$as_ac_var=yes"
45010 else
45011 echo "$as_me: failed program was:" >&5
45012 sed 's/^/| /' conftest.$ac_ext >&5
45014 eval "$as_ac_var=no"
45016 rm -f conftest.err conftest.$ac_objext \
45017 conftest$ac_exeext conftest.$ac_ext
45019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45021 if test `eval echo '${'$as_ac_var'}'` = yes; then
45022 cat >>confdefs.h <<_ACEOF
45023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45024 _ACEOF
45027 done
45029 else
45031 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
45032 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
45033 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45034 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
45035 echo $ECHO_N "(cached) $ECHO_C" >&6
45036 else
45040 ac_ext=cc
45041 ac_cpp='$CXXCPP $CPPFLAGS'
45042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45046 cat >conftest.$ac_ext <<_ACEOF
45047 /* confdefs.h. */
45048 _ACEOF
45049 cat confdefs.h >>conftest.$ac_ext
45050 cat >>conftest.$ac_ext <<_ACEOF
45051 /* end confdefs.h. */
45052 #include <math.h>
45054 main ()
45056 _frexpl(0, 0);
45058 return 0;
45060 _ACEOF
45061 rm -f conftest.$ac_objext
45062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45063 (eval $ac_compile) 2>conftest.er1
45064 ac_status=$?
45065 grep -v '^ *+' conftest.er1 >conftest.err
45066 rm -f conftest.er1
45067 cat conftest.err >&5
45068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069 (exit $ac_status); } &&
45070 { ac_try='test -z "$ac_cxx_werror_flag"
45071 || test ! -s conftest.err'
45072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45073 (eval $ac_try) 2>&5
45074 ac_status=$?
45075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45076 (exit $ac_status); }; } &&
45077 { ac_try='test -s conftest.$ac_objext'
45078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45079 (eval $ac_try) 2>&5
45080 ac_status=$?
45081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45082 (exit $ac_status); }; }; then
45083 glibcxx_cv_func__frexpl_use=yes
45084 else
45085 echo "$as_me: failed program was:" >&5
45086 sed 's/^/| /' conftest.$ac_ext >&5
45088 glibcxx_cv_func__frexpl_use=no
45090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45091 ac_ext=c
45092 ac_cpp='$CPP $CPPFLAGS'
45093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45101 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
45102 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
45104 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45106 for ac_func in _frexpl
45108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45109 echo "$as_me:$LINENO: checking for $ac_func" >&5
45110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45111 if eval "test \"\${$as_ac_var+set}\" = set"; then
45112 echo $ECHO_N "(cached) $ECHO_C" >&6
45113 else
45114 if test x$gcc_no_link = xyes; then
45115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45117 { (exit 1); exit 1; }; }
45119 cat >conftest.$ac_ext <<_ACEOF
45120 /* confdefs.h. */
45121 _ACEOF
45122 cat confdefs.h >>conftest.$ac_ext
45123 cat >>conftest.$ac_ext <<_ACEOF
45124 /* end confdefs.h. */
45125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45127 #define $ac_func innocuous_$ac_func
45129 /* System header to define __stub macros and hopefully few prototypes,
45130 which can conflict with char $ac_func (); below.
45131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45132 <limits.h> exists even on freestanding compilers. */
45134 #ifdef __STDC__
45135 # include <limits.h>
45136 #else
45137 # include <assert.h>
45138 #endif
45140 #undef $ac_func
45142 /* Override any gcc2 internal prototype to avoid an error. */
45143 #ifdef __cplusplus
45144 extern "C"
45146 #endif
45147 /* We use char because int might match the return type of a gcc2
45148 builtin and then its argument prototype would still apply. */
45149 char $ac_func ();
45150 /* The GNU C library defines this for functions which it implements
45151 to always fail with ENOSYS. Some functions are actually named
45152 something starting with __ and the normal name is an alias. */
45153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45154 choke me
45155 #else
45156 char (*f) () = $ac_func;
45157 #endif
45158 #ifdef __cplusplus
45160 #endif
45163 main ()
45165 return f != $ac_func;
45167 return 0;
45169 _ACEOF
45170 rm -f conftest.$ac_objext conftest$ac_exeext
45171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45172 (eval $ac_link) 2>conftest.er1
45173 ac_status=$?
45174 grep -v '^ *+' conftest.er1 >conftest.err
45175 rm -f conftest.er1
45176 cat conftest.err >&5
45177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45178 (exit $ac_status); } &&
45179 { ac_try='test -z "$ac_c_werror_flag"
45180 || test ! -s conftest.err'
45181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45182 (eval $ac_try) 2>&5
45183 ac_status=$?
45184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45185 (exit $ac_status); }; } &&
45186 { ac_try='test -s conftest$ac_exeext'
45187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45188 (eval $ac_try) 2>&5
45189 ac_status=$?
45190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45191 (exit $ac_status); }; }; then
45192 eval "$as_ac_var=yes"
45193 else
45194 echo "$as_me: failed program was:" >&5
45195 sed 's/^/| /' conftest.$ac_ext >&5
45197 eval "$as_ac_var=no"
45199 rm -f conftest.err conftest.$ac_objext \
45200 conftest$ac_exeext conftest.$ac_ext
45202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45204 if test `eval echo '${'$as_ac_var'}'` = yes; then
45205 cat >>confdefs.h <<_ACEOF
45206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45207 _ACEOF
45210 done
45220 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45221 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45222 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45223 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45224 echo $ECHO_N "(cached) $ECHO_C" >&6
45225 else
45229 ac_ext=cc
45230 ac_cpp='$CXXCPP $CPPFLAGS'
45231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45235 cat >conftest.$ac_ext <<_ACEOF
45236 /* confdefs.h. */
45237 _ACEOF
45238 cat confdefs.h >>conftest.$ac_ext
45239 cat >>conftest.$ac_ext <<_ACEOF
45240 /* end confdefs.h. */
45241 #include <math.h>
45243 main ()
45245 hypotl(0, 0);
45247 return 0;
45249 _ACEOF
45250 rm -f conftest.$ac_objext
45251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45252 (eval $ac_compile) 2>conftest.er1
45253 ac_status=$?
45254 grep -v '^ *+' conftest.er1 >conftest.err
45255 rm -f conftest.er1
45256 cat conftest.err >&5
45257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45258 (exit $ac_status); } &&
45259 { ac_try='test -z "$ac_cxx_werror_flag"
45260 || test ! -s conftest.err'
45261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45262 (eval $ac_try) 2>&5
45263 ac_status=$?
45264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45265 (exit $ac_status); }; } &&
45266 { ac_try='test -s conftest.$ac_objext'
45267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45268 (eval $ac_try) 2>&5
45269 ac_status=$?
45270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45271 (exit $ac_status); }; }; then
45272 glibcxx_cv_func_hypotl_use=yes
45273 else
45274 echo "$as_me: failed program was:" >&5
45275 sed 's/^/| /' conftest.$ac_ext >&5
45277 glibcxx_cv_func_hypotl_use=no
45279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45280 ac_ext=c
45281 ac_cpp='$CPP $CPPFLAGS'
45282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45291 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45293 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45295 for ac_func in hypotl
45297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45298 echo "$as_me:$LINENO: checking for $ac_func" >&5
45299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45300 if eval "test \"\${$as_ac_var+set}\" = set"; then
45301 echo $ECHO_N "(cached) $ECHO_C" >&6
45302 else
45303 if test x$gcc_no_link = xyes; then
45304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45306 { (exit 1); exit 1; }; }
45308 cat >conftest.$ac_ext <<_ACEOF
45309 /* confdefs.h. */
45310 _ACEOF
45311 cat confdefs.h >>conftest.$ac_ext
45312 cat >>conftest.$ac_ext <<_ACEOF
45313 /* end confdefs.h. */
45314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45316 #define $ac_func innocuous_$ac_func
45318 /* System header to define __stub macros and hopefully few prototypes,
45319 which can conflict with char $ac_func (); below.
45320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45321 <limits.h> exists even on freestanding compilers. */
45323 #ifdef __STDC__
45324 # include <limits.h>
45325 #else
45326 # include <assert.h>
45327 #endif
45329 #undef $ac_func
45331 /* Override any gcc2 internal prototype to avoid an error. */
45332 #ifdef __cplusplus
45333 extern "C"
45335 #endif
45336 /* We use char because int might match the return type of a gcc2
45337 builtin and then its argument prototype would still apply. */
45338 char $ac_func ();
45339 /* The GNU C library defines this for functions which it implements
45340 to always fail with ENOSYS. Some functions are actually named
45341 something starting with __ and the normal name is an alias. */
45342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45343 choke me
45344 #else
45345 char (*f) () = $ac_func;
45346 #endif
45347 #ifdef __cplusplus
45349 #endif
45352 main ()
45354 return f != $ac_func;
45356 return 0;
45358 _ACEOF
45359 rm -f conftest.$ac_objext conftest$ac_exeext
45360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45361 (eval $ac_link) 2>conftest.er1
45362 ac_status=$?
45363 grep -v '^ *+' conftest.er1 >conftest.err
45364 rm -f conftest.er1
45365 cat conftest.err >&5
45366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45367 (exit $ac_status); } &&
45368 { ac_try='test -z "$ac_c_werror_flag"
45369 || test ! -s conftest.err'
45370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45371 (eval $ac_try) 2>&5
45372 ac_status=$?
45373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45374 (exit $ac_status); }; } &&
45375 { ac_try='test -s conftest$ac_exeext'
45376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45377 (eval $ac_try) 2>&5
45378 ac_status=$?
45379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45380 (exit $ac_status); }; }; then
45381 eval "$as_ac_var=yes"
45382 else
45383 echo "$as_me: failed program was:" >&5
45384 sed 's/^/| /' conftest.$ac_ext >&5
45386 eval "$as_ac_var=no"
45388 rm -f conftest.err conftest.$ac_objext \
45389 conftest$ac_exeext conftest.$ac_ext
45391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45393 if test `eval echo '${'$as_ac_var'}'` = yes; then
45394 cat >>confdefs.h <<_ACEOF
45395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45396 _ACEOF
45399 done
45401 else
45403 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
45404 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
45405 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45406 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
45407 echo $ECHO_N "(cached) $ECHO_C" >&6
45408 else
45412 ac_ext=cc
45413 ac_cpp='$CXXCPP $CPPFLAGS'
45414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45418 cat >conftest.$ac_ext <<_ACEOF
45419 /* confdefs.h. */
45420 _ACEOF
45421 cat confdefs.h >>conftest.$ac_ext
45422 cat >>conftest.$ac_ext <<_ACEOF
45423 /* end confdefs.h. */
45424 #include <math.h>
45426 main ()
45428 _hypotl(0, 0);
45430 return 0;
45432 _ACEOF
45433 rm -f conftest.$ac_objext
45434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45435 (eval $ac_compile) 2>conftest.er1
45436 ac_status=$?
45437 grep -v '^ *+' conftest.er1 >conftest.err
45438 rm -f conftest.er1
45439 cat conftest.err >&5
45440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45441 (exit $ac_status); } &&
45442 { ac_try='test -z "$ac_cxx_werror_flag"
45443 || test ! -s conftest.err'
45444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45445 (eval $ac_try) 2>&5
45446 ac_status=$?
45447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45448 (exit $ac_status); }; } &&
45449 { ac_try='test -s conftest.$ac_objext'
45450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45451 (eval $ac_try) 2>&5
45452 ac_status=$?
45453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45454 (exit $ac_status); }; }; then
45455 glibcxx_cv_func__hypotl_use=yes
45456 else
45457 echo "$as_me: failed program was:" >&5
45458 sed 's/^/| /' conftest.$ac_ext >&5
45460 glibcxx_cv_func__hypotl_use=no
45462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45463 ac_ext=c
45464 ac_cpp='$CPP $CPPFLAGS'
45465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45473 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
45474 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
45476 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45478 for ac_func in _hypotl
45480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45481 echo "$as_me:$LINENO: checking for $ac_func" >&5
45482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45483 if eval "test \"\${$as_ac_var+set}\" = set"; then
45484 echo $ECHO_N "(cached) $ECHO_C" >&6
45485 else
45486 if test x$gcc_no_link = xyes; then
45487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45489 { (exit 1); exit 1; }; }
45491 cat >conftest.$ac_ext <<_ACEOF
45492 /* confdefs.h. */
45493 _ACEOF
45494 cat confdefs.h >>conftest.$ac_ext
45495 cat >>conftest.$ac_ext <<_ACEOF
45496 /* end confdefs.h. */
45497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45499 #define $ac_func innocuous_$ac_func
45501 /* System header to define __stub macros and hopefully few prototypes,
45502 which can conflict with char $ac_func (); below.
45503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45504 <limits.h> exists even on freestanding compilers. */
45506 #ifdef __STDC__
45507 # include <limits.h>
45508 #else
45509 # include <assert.h>
45510 #endif
45512 #undef $ac_func
45514 /* Override any gcc2 internal prototype to avoid an error. */
45515 #ifdef __cplusplus
45516 extern "C"
45518 #endif
45519 /* We use char because int might match the return type of a gcc2
45520 builtin and then its argument prototype would still apply. */
45521 char $ac_func ();
45522 /* The GNU C library defines this for functions which it implements
45523 to always fail with ENOSYS. Some functions are actually named
45524 something starting with __ and the normal name is an alias. */
45525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45526 choke me
45527 #else
45528 char (*f) () = $ac_func;
45529 #endif
45530 #ifdef __cplusplus
45532 #endif
45535 main ()
45537 return f != $ac_func;
45539 return 0;
45541 _ACEOF
45542 rm -f conftest.$ac_objext conftest$ac_exeext
45543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45544 (eval $ac_link) 2>conftest.er1
45545 ac_status=$?
45546 grep -v '^ *+' conftest.er1 >conftest.err
45547 rm -f conftest.er1
45548 cat conftest.err >&5
45549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45550 (exit $ac_status); } &&
45551 { ac_try='test -z "$ac_c_werror_flag"
45552 || test ! -s conftest.err'
45553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45554 (eval $ac_try) 2>&5
45555 ac_status=$?
45556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45557 (exit $ac_status); }; } &&
45558 { ac_try='test -s conftest$ac_exeext'
45559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45560 (eval $ac_try) 2>&5
45561 ac_status=$?
45562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45563 (exit $ac_status); }; }; then
45564 eval "$as_ac_var=yes"
45565 else
45566 echo "$as_me: failed program was:" >&5
45567 sed 's/^/| /' conftest.$ac_ext >&5
45569 eval "$as_ac_var=no"
45571 rm -f conftest.err conftest.$ac_objext \
45572 conftest$ac_exeext conftest.$ac_ext
45574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45576 if test `eval echo '${'$as_ac_var'}'` = yes; then
45577 cat >>confdefs.h <<_ACEOF
45578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45579 _ACEOF
45582 done
45592 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
45593 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
45594 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45595 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
45596 echo $ECHO_N "(cached) $ECHO_C" >&6
45597 else
45601 ac_ext=cc
45602 ac_cpp='$CXXCPP $CPPFLAGS'
45603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45607 cat >conftest.$ac_ext <<_ACEOF
45608 /* confdefs.h. */
45609 _ACEOF
45610 cat confdefs.h >>conftest.$ac_ext
45611 cat >>conftest.$ac_ext <<_ACEOF
45612 /* end confdefs.h. */
45613 #include <math.h>
45615 main ()
45617 ldexpl(0, 0);
45619 return 0;
45621 _ACEOF
45622 rm -f conftest.$ac_objext
45623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45624 (eval $ac_compile) 2>conftest.er1
45625 ac_status=$?
45626 grep -v '^ *+' conftest.er1 >conftest.err
45627 rm -f conftest.er1
45628 cat conftest.err >&5
45629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45630 (exit $ac_status); } &&
45631 { ac_try='test -z "$ac_cxx_werror_flag"
45632 || test ! -s conftest.err'
45633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634 (eval $ac_try) 2>&5
45635 ac_status=$?
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); }; } &&
45638 { ac_try='test -s conftest.$ac_objext'
45639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45640 (eval $ac_try) 2>&5
45641 ac_status=$?
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); }; }; then
45644 glibcxx_cv_func_ldexpl_use=yes
45645 else
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.$ac_ext >&5
45649 glibcxx_cv_func_ldexpl_use=no
45651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45652 ac_ext=c
45653 ac_cpp='$CPP $CPPFLAGS'
45654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45662 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
45663 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
45665 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45667 for ac_func in ldexpl
45669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45670 echo "$as_me:$LINENO: checking for $ac_func" >&5
45671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45672 if eval "test \"\${$as_ac_var+set}\" = set"; then
45673 echo $ECHO_N "(cached) $ECHO_C" >&6
45674 else
45675 if test x$gcc_no_link = xyes; then
45676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45678 { (exit 1); exit 1; }; }
45680 cat >conftest.$ac_ext <<_ACEOF
45681 /* confdefs.h. */
45682 _ACEOF
45683 cat confdefs.h >>conftest.$ac_ext
45684 cat >>conftest.$ac_ext <<_ACEOF
45685 /* end confdefs.h. */
45686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45688 #define $ac_func innocuous_$ac_func
45690 /* System header to define __stub macros and hopefully few prototypes,
45691 which can conflict with char $ac_func (); below.
45692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45693 <limits.h> exists even on freestanding compilers. */
45695 #ifdef __STDC__
45696 # include <limits.h>
45697 #else
45698 # include <assert.h>
45699 #endif
45701 #undef $ac_func
45703 /* Override any gcc2 internal prototype to avoid an error. */
45704 #ifdef __cplusplus
45705 extern "C"
45707 #endif
45708 /* We use char because int might match the return type of a gcc2
45709 builtin and then its argument prototype would still apply. */
45710 char $ac_func ();
45711 /* The GNU C library defines this for functions which it implements
45712 to always fail with ENOSYS. Some functions are actually named
45713 something starting with __ and the normal name is an alias. */
45714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45715 choke me
45716 #else
45717 char (*f) () = $ac_func;
45718 #endif
45719 #ifdef __cplusplus
45721 #endif
45724 main ()
45726 return f != $ac_func;
45728 return 0;
45730 _ACEOF
45731 rm -f conftest.$ac_objext conftest$ac_exeext
45732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45733 (eval $ac_link) 2>conftest.er1
45734 ac_status=$?
45735 grep -v '^ *+' conftest.er1 >conftest.err
45736 rm -f conftest.er1
45737 cat conftest.err >&5
45738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45739 (exit $ac_status); } &&
45740 { ac_try='test -z "$ac_c_werror_flag"
45741 || test ! -s conftest.err'
45742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45743 (eval $ac_try) 2>&5
45744 ac_status=$?
45745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45746 (exit $ac_status); }; } &&
45747 { ac_try='test -s conftest$ac_exeext'
45748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45749 (eval $ac_try) 2>&5
45750 ac_status=$?
45751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45752 (exit $ac_status); }; }; then
45753 eval "$as_ac_var=yes"
45754 else
45755 echo "$as_me: failed program was:" >&5
45756 sed 's/^/| /' conftest.$ac_ext >&5
45758 eval "$as_ac_var=no"
45760 rm -f conftest.err conftest.$ac_objext \
45761 conftest$ac_exeext conftest.$ac_ext
45763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45765 if test `eval echo '${'$as_ac_var'}'` = yes; then
45766 cat >>confdefs.h <<_ACEOF
45767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45768 _ACEOF
45771 done
45773 else
45775 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
45776 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
45777 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45778 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45779 echo $ECHO_N "(cached) $ECHO_C" >&6
45780 else
45784 ac_ext=cc
45785 ac_cpp='$CXXCPP $CPPFLAGS'
45786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45790 cat >conftest.$ac_ext <<_ACEOF
45791 /* confdefs.h. */
45792 _ACEOF
45793 cat confdefs.h >>conftest.$ac_ext
45794 cat >>conftest.$ac_ext <<_ACEOF
45795 /* end confdefs.h. */
45796 #include <math.h>
45798 main ()
45800 _ldexpl(0, 0);
45802 return 0;
45804 _ACEOF
45805 rm -f conftest.$ac_objext
45806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45807 (eval $ac_compile) 2>conftest.er1
45808 ac_status=$?
45809 grep -v '^ *+' conftest.er1 >conftest.err
45810 rm -f conftest.er1
45811 cat conftest.err >&5
45812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45813 (exit $ac_status); } &&
45814 { ac_try='test -z "$ac_cxx_werror_flag"
45815 || test ! -s conftest.err'
45816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45817 (eval $ac_try) 2>&5
45818 ac_status=$?
45819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45820 (exit $ac_status); }; } &&
45821 { ac_try='test -s conftest.$ac_objext'
45822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45823 (eval $ac_try) 2>&5
45824 ac_status=$?
45825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45826 (exit $ac_status); }; }; then
45827 glibcxx_cv_func__ldexpl_use=yes
45828 else
45829 echo "$as_me: failed program was:" >&5
45830 sed 's/^/| /' conftest.$ac_ext >&5
45832 glibcxx_cv_func__ldexpl_use=no
45834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45835 ac_ext=c
45836 ac_cpp='$CPP $CPPFLAGS'
45837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45845 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45846 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45848 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45850 for ac_func in _ldexpl
45852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45853 echo "$as_me:$LINENO: checking for $ac_func" >&5
45854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45855 if eval "test \"\${$as_ac_var+set}\" = set"; then
45856 echo $ECHO_N "(cached) $ECHO_C" >&6
45857 else
45858 if test x$gcc_no_link = xyes; then
45859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45861 { (exit 1); exit 1; }; }
45863 cat >conftest.$ac_ext <<_ACEOF
45864 /* confdefs.h. */
45865 _ACEOF
45866 cat confdefs.h >>conftest.$ac_ext
45867 cat >>conftest.$ac_ext <<_ACEOF
45868 /* end confdefs.h. */
45869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45871 #define $ac_func innocuous_$ac_func
45873 /* System header to define __stub macros and hopefully few prototypes,
45874 which can conflict with char $ac_func (); below.
45875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45876 <limits.h> exists even on freestanding compilers. */
45878 #ifdef __STDC__
45879 # include <limits.h>
45880 #else
45881 # include <assert.h>
45882 #endif
45884 #undef $ac_func
45886 /* Override any gcc2 internal prototype to avoid an error. */
45887 #ifdef __cplusplus
45888 extern "C"
45890 #endif
45891 /* We use char because int might match the return type of a gcc2
45892 builtin and then its argument prototype would still apply. */
45893 char $ac_func ();
45894 /* The GNU C library defines this for functions which it implements
45895 to always fail with ENOSYS. Some functions are actually named
45896 something starting with __ and the normal name is an alias. */
45897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45898 choke me
45899 #else
45900 char (*f) () = $ac_func;
45901 #endif
45902 #ifdef __cplusplus
45904 #endif
45907 main ()
45909 return f != $ac_func;
45911 return 0;
45913 _ACEOF
45914 rm -f conftest.$ac_objext conftest$ac_exeext
45915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45916 (eval $ac_link) 2>conftest.er1
45917 ac_status=$?
45918 grep -v '^ *+' conftest.er1 >conftest.err
45919 rm -f conftest.er1
45920 cat conftest.err >&5
45921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45922 (exit $ac_status); } &&
45923 { ac_try='test -z "$ac_c_werror_flag"
45924 || test ! -s conftest.err'
45925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45926 (eval $ac_try) 2>&5
45927 ac_status=$?
45928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45929 (exit $ac_status); }; } &&
45930 { ac_try='test -s conftest$ac_exeext'
45931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45932 (eval $ac_try) 2>&5
45933 ac_status=$?
45934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45935 (exit $ac_status); }; }; then
45936 eval "$as_ac_var=yes"
45937 else
45938 echo "$as_me: failed program was:" >&5
45939 sed 's/^/| /' conftest.$ac_ext >&5
45941 eval "$as_ac_var=no"
45943 rm -f conftest.err conftest.$ac_objext \
45944 conftest$ac_exeext conftest.$ac_ext
45946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45948 if test `eval echo '${'$as_ac_var'}'` = yes; then
45949 cat >>confdefs.h <<_ACEOF
45950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45951 _ACEOF
45954 done
45964 echo "$as_me:$LINENO: checking for logl declaration" >&5
45965 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45966 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45967 if test "${glibcxx_cv_func_logl_use+set}" = set; then
45968 echo $ECHO_N "(cached) $ECHO_C" >&6
45969 else
45973 ac_ext=cc
45974 ac_cpp='$CXXCPP $CPPFLAGS'
45975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45979 cat >conftest.$ac_ext <<_ACEOF
45980 /* confdefs.h. */
45981 _ACEOF
45982 cat confdefs.h >>conftest.$ac_ext
45983 cat >>conftest.$ac_ext <<_ACEOF
45984 /* end confdefs.h. */
45985 #include <math.h>
45986 #ifdef HAVE_IEEEFP_H
45987 #include <ieeefp.h>
45988 #endif
45991 main ()
45993 logl(0);
45995 return 0;
45997 _ACEOF
45998 rm -f conftest.$ac_objext
45999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46000 (eval $ac_compile) 2>conftest.er1
46001 ac_status=$?
46002 grep -v '^ *+' conftest.er1 >conftest.err
46003 rm -f conftest.er1
46004 cat conftest.err >&5
46005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46006 (exit $ac_status); } &&
46007 { ac_try='test -z "$ac_cxx_werror_flag"
46008 || test ! -s conftest.err'
46009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46010 (eval $ac_try) 2>&5
46011 ac_status=$?
46012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46013 (exit $ac_status); }; } &&
46014 { ac_try='test -s conftest.$ac_objext'
46015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46016 (eval $ac_try) 2>&5
46017 ac_status=$?
46018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46019 (exit $ac_status); }; }; then
46020 glibcxx_cv_func_logl_use=yes
46021 else
46022 echo "$as_me: failed program was:" >&5
46023 sed 's/^/| /' conftest.$ac_ext >&5
46025 glibcxx_cv_func_logl_use=no
46027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46028 ac_ext=c
46029 ac_cpp='$CPP $CPPFLAGS'
46030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46038 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
46039 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
46041 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46043 for ac_func in logl
46045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46046 echo "$as_me:$LINENO: checking for $ac_func" >&5
46047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46048 if eval "test \"\${$as_ac_var+set}\" = set"; then
46049 echo $ECHO_N "(cached) $ECHO_C" >&6
46050 else
46051 if test x$gcc_no_link = xyes; then
46052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46054 { (exit 1); exit 1; }; }
46056 cat >conftest.$ac_ext <<_ACEOF
46057 /* confdefs.h. */
46058 _ACEOF
46059 cat confdefs.h >>conftest.$ac_ext
46060 cat >>conftest.$ac_ext <<_ACEOF
46061 /* end confdefs.h. */
46062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46064 #define $ac_func innocuous_$ac_func
46066 /* System header to define __stub macros and hopefully few prototypes,
46067 which can conflict with char $ac_func (); below.
46068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46069 <limits.h> exists even on freestanding compilers. */
46071 #ifdef __STDC__
46072 # include <limits.h>
46073 #else
46074 # include <assert.h>
46075 #endif
46077 #undef $ac_func
46079 /* Override any gcc2 internal prototype to avoid an error. */
46080 #ifdef __cplusplus
46081 extern "C"
46083 #endif
46084 /* We use char because int might match the return type of a gcc2
46085 builtin and then its argument prototype would still apply. */
46086 char $ac_func ();
46087 /* The GNU C library defines this for functions which it implements
46088 to always fail with ENOSYS. Some functions are actually named
46089 something starting with __ and the normal name is an alias. */
46090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46091 choke me
46092 #else
46093 char (*f) () = $ac_func;
46094 #endif
46095 #ifdef __cplusplus
46097 #endif
46100 main ()
46102 return f != $ac_func;
46104 return 0;
46106 _ACEOF
46107 rm -f conftest.$ac_objext conftest$ac_exeext
46108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46109 (eval $ac_link) 2>conftest.er1
46110 ac_status=$?
46111 grep -v '^ *+' conftest.er1 >conftest.err
46112 rm -f conftest.er1
46113 cat conftest.err >&5
46114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46115 (exit $ac_status); } &&
46116 { ac_try='test -z "$ac_c_werror_flag"
46117 || test ! -s conftest.err'
46118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46119 (eval $ac_try) 2>&5
46120 ac_status=$?
46121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46122 (exit $ac_status); }; } &&
46123 { ac_try='test -s conftest$ac_exeext'
46124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46125 (eval $ac_try) 2>&5
46126 ac_status=$?
46127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46128 (exit $ac_status); }; }; then
46129 eval "$as_ac_var=yes"
46130 else
46131 echo "$as_me: failed program was:" >&5
46132 sed 's/^/| /' conftest.$ac_ext >&5
46134 eval "$as_ac_var=no"
46136 rm -f conftest.err conftest.$ac_objext \
46137 conftest$ac_exeext conftest.$ac_ext
46139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46141 if test `eval echo '${'$as_ac_var'}'` = yes; then
46142 cat >>confdefs.h <<_ACEOF
46143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46144 _ACEOF
46147 done
46149 else
46151 echo "$as_me:$LINENO: checking for _logl declaration" >&5
46152 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
46153 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46154 if test "${glibcxx_cv_func__logl_use+set}" = set; then
46155 echo $ECHO_N "(cached) $ECHO_C" >&6
46156 else
46160 ac_ext=cc
46161 ac_cpp='$CXXCPP $CPPFLAGS'
46162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46166 cat >conftest.$ac_ext <<_ACEOF
46167 /* confdefs.h. */
46168 _ACEOF
46169 cat confdefs.h >>conftest.$ac_ext
46170 cat >>conftest.$ac_ext <<_ACEOF
46171 /* end confdefs.h. */
46172 #include <math.h>
46173 #ifdef HAVE_IEEEFP_H
46174 #include <ieeefp.h>
46175 #endif
46178 main ()
46180 _logl(0);
46182 return 0;
46184 _ACEOF
46185 rm -f conftest.$ac_objext
46186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46187 (eval $ac_compile) 2>conftest.er1
46188 ac_status=$?
46189 grep -v '^ *+' conftest.er1 >conftest.err
46190 rm -f conftest.er1
46191 cat conftest.err >&5
46192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46193 (exit $ac_status); } &&
46194 { ac_try='test -z "$ac_cxx_werror_flag"
46195 || test ! -s conftest.err'
46196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46197 (eval $ac_try) 2>&5
46198 ac_status=$?
46199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46200 (exit $ac_status); }; } &&
46201 { ac_try='test -s conftest.$ac_objext'
46202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46203 (eval $ac_try) 2>&5
46204 ac_status=$?
46205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46206 (exit $ac_status); }; }; then
46207 glibcxx_cv_func__logl_use=yes
46208 else
46209 echo "$as_me: failed program was:" >&5
46210 sed 's/^/| /' conftest.$ac_ext >&5
46212 glibcxx_cv_func__logl_use=no
46214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46215 ac_ext=c
46216 ac_cpp='$CPP $CPPFLAGS'
46217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46226 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46228 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46230 for ac_func in _logl
46232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46233 echo "$as_me:$LINENO: checking for $ac_func" >&5
46234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46235 if eval "test \"\${$as_ac_var+set}\" = set"; then
46236 echo $ECHO_N "(cached) $ECHO_C" >&6
46237 else
46238 if test x$gcc_no_link = xyes; then
46239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46241 { (exit 1); exit 1; }; }
46243 cat >conftest.$ac_ext <<_ACEOF
46244 /* confdefs.h. */
46245 _ACEOF
46246 cat confdefs.h >>conftest.$ac_ext
46247 cat >>conftest.$ac_ext <<_ACEOF
46248 /* end confdefs.h. */
46249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46251 #define $ac_func innocuous_$ac_func
46253 /* System header to define __stub macros and hopefully few prototypes,
46254 which can conflict with char $ac_func (); below.
46255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46256 <limits.h> exists even on freestanding compilers. */
46258 #ifdef __STDC__
46259 # include <limits.h>
46260 #else
46261 # include <assert.h>
46262 #endif
46264 #undef $ac_func
46266 /* Override any gcc2 internal prototype to avoid an error. */
46267 #ifdef __cplusplus
46268 extern "C"
46270 #endif
46271 /* We use char because int might match the return type of a gcc2
46272 builtin and then its argument prototype would still apply. */
46273 char $ac_func ();
46274 /* The GNU C library defines this for functions which it implements
46275 to always fail with ENOSYS. Some functions are actually named
46276 something starting with __ and the normal name is an alias. */
46277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46278 choke me
46279 #else
46280 char (*f) () = $ac_func;
46281 #endif
46282 #ifdef __cplusplus
46284 #endif
46287 main ()
46289 return f != $ac_func;
46291 return 0;
46293 _ACEOF
46294 rm -f conftest.$ac_objext conftest$ac_exeext
46295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46296 (eval $ac_link) 2>conftest.er1
46297 ac_status=$?
46298 grep -v '^ *+' conftest.er1 >conftest.err
46299 rm -f conftest.er1
46300 cat conftest.err >&5
46301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46302 (exit $ac_status); } &&
46303 { ac_try='test -z "$ac_c_werror_flag"
46304 || test ! -s conftest.err'
46305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46306 (eval $ac_try) 2>&5
46307 ac_status=$?
46308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46309 (exit $ac_status); }; } &&
46310 { ac_try='test -s conftest$ac_exeext'
46311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46312 (eval $ac_try) 2>&5
46313 ac_status=$?
46314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46315 (exit $ac_status); }; }; then
46316 eval "$as_ac_var=yes"
46317 else
46318 echo "$as_me: failed program was:" >&5
46319 sed 's/^/| /' conftest.$ac_ext >&5
46321 eval "$as_ac_var=no"
46323 rm -f conftest.err conftest.$ac_objext \
46324 conftest$ac_exeext conftest.$ac_ext
46326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46328 if test `eval echo '${'$as_ac_var'}'` = yes; then
46329 cat >>confdefs.h <<_ACEOF
46330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46331 _ACEOF
46334 done
46344 echo "$as_me:$LINENO: checking for log10l declaration" >&5
46345 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46346 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46347 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46348 echo $ECHO_N "(cached) $ECHO_C" >&6
46349 else
46353 ac_ext=cc
46354 ac_cpp='$CXXCPP $CPPFLAGS'
46355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46359 cat >conftest.$ac_ext <<_ACEOF
46360 /* confdefs.h. */
46361 _ACEOF
46362 cat confdefs.h >>conftest.$ac_ext
46363 cat >>conftest.$ac_ext <<_ACEOF
46364 /* end confdefs.h. */
46365 #include <math.h>
46366 #ifdef HAVE_IEEEFP_H
46367 #include <ieeefp.h>
46368 #endif
46371 main ()
46373 log10l(0);
46375 return 0;
46377 _ACEOF
46378 rm -f conftest.$ac_objext
46379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46380 (eval $ac_compile) 2>conftest.er1
46381 ac_status=$?
46382 grep -v '^ *+' conftest.er1 >conftest.err
46383 rm -f conftest.er1
46384 cat conftest.err >&5
46385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386 (exit $ac_status); } &&
46387 { ac_try='test -z "$ac_cxx_werror_flag"
46388 || test ! -s conftest.err'
46389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46390 (eval $ac_try) 2>&5
46391 ac_status=$?
46392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46393 (exit $ac_status); }; } &&
46394 { ac_try='test -s conftest.$ac_objext'
46395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46396 (eval $ac_try) 2>&5
46397 ac_status=$?
46398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46399 (exit $ac_status); }; }; then
46400 glibcxx_cv_func_log10l_use=yes
46401 else
46402 echo "$as_me: failed program was:" >&5
46403 sed 's/^/| /' conftest.$ac_ext >&5
46405 glibcxx_cv_func_log10l_use=no
46407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46408 ac_ext=c
46409 ac_cpp='$CPP $CPPFLAGS'
46410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
46419 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
46421 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46423 for ac_func in log10l
46425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46426 echo "$as_me:$LINENO: checking for $ac_func" >&5
46427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46428 if eval "test \"\${$as_ac_var+set}\" = set"; then
46429 echo $ECHO_N "(cached) $ECHO_C" >&6
46430 else
46431 if test x$gcc_no_link = xyes; then
46432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46434 { (exit 1); exit 1; }; }
46436 cat >conftest.$ac_ext <<_ACEOF
46437 /* confdefs.h. */
46438 _ACEOF
46439 cat confdefs.h >>conftest.$ac_ext
46440 cat >>conftest.$ac_ext <<_ACEOF
46441 /* end confdefs.h. */
46442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46444 #define $ac_func innocuous_$ac_func
46446 /* System header to define __stub macros and hopefully few prototypes,
46447 which can conflict with char $ac_func (); below.
46448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46449 <limits.h> exists even on freestanding compilers. */
46451 #ifdef __STDC__
46452 # include <limits.h>
46453 #else
46454 # include <assert.h>
46455 #endif
46457 #undef $ac_func
46459 /* Override any gcc2 internal prototype to avoid an error. */
46460 #ifdef __cplusplus
46461 extern "C"
46463 #endif
46464 /* We use char because int might match the return type of a gcc2
46465 builtin and then its argument prototype would still apply. */
46466 char $ac_func ();
46467 /* The GNU C library defines this for functions which it implements
46468 to always fail with ENOSYS. Some functions are actually named
46469 something starting with __ and the normal name is an alias. */
46470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46471 choke me
46472 #else
46473 char (*f) () = $ac_func;
46474 #endif
46475 #ifdef __cplusplus
46477 #endif
46480 main ()
46482 return f != $ac_func;
46484 return 0;
46486 _ACEOF
46487 rm -f conftest.$ac_objext conftest$ac_exeext
46488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46489 (eval $ac_link) 2>conftest.er1
46490 ac_status=$?
46491 grep -v '^ *+' conftest.er1 >conftest.err
46492 rm -f conftest.er1
46493 cat conftest.err >&5
46494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46495 (exit $ac_status); } &&
46496 { ac_try='test -z "$ac_c_werror_flag"
46497 || test ! -s conftest.err'
46498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46499 (eval $ac_try) 2>&5
46500 ac_status=$?
46501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46502 (exit $ac_status); }; } &&
46503 { ac_try='test -s conftest$ac_exeext'
46504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46505 (eval $ac_try) 2>&5
46506 ac_status=$?
46507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46508 (exit $ac_status); }; }; then
46509 eval "$as_ac_var=yes"
46510 else
46511 echo "$as_me: failed program was:" >&5
46512 sed 's/^/| /' conftest.$ac_ext >&5
46514 eval "$as_ac_var=no"
46516 rm -f conftest.err conftest.$ac_objext \
46517 conftest$ac_exeext conftest.$ac_ext
46519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46521 if test `eval echo '${'$as_ac_var'}'` = yes; then
46522 cat >>confdefs.h <<_ACEOF
46523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46524 _ACEOF
46527 done
46529 else
46531 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
46532 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
46533 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46534 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
46535 echo $ECHO_N "(cached) $ECHO_C" >&6
46536 else
46540 ac_ext=cc
46541 ac_cpp='$CXXCPP $CPPFLAGS'
46542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46546 cat >conftest.$ac_ext <<_ACEOF
46547 /* confdefs.h. */
46548 _ACEOF
46549 cat confdefs.h >>conftest.$ac_ext
46550 cat >>conftest.$ac_ext <<_ACEOF
46551 /* end confdefs.h. */
46552 #include <math.h>
46553 #ifdef HAVE_IEEEFP_H
46554 #include <ieeefp.h>
46555 #endif
46558 main ()
46560 _log10l(0);
46562 return 0;
46564 _ACEOF
46565 rm -f conftest.$ac_objext
46566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46567 (eval $ac_compile) 2>conftest.er1
46568 ac_status=$?
46569 grep -v '^ *+' conftest.er1 >conftest.err
46570 rm -f conftest.er1
46571 cat conftest.err >&5
46572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46573 (exit $ac_status); } &&
46574 { ac_try='test -z "$ac_cxx_werror_flag"
46575 || test ! -s conftest.err'
46576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46577 (eval $ac_try) 2>&5
46578 ac_status=$?
46579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46580 (exit $ac_status); }; } &&
46581 { ac_try='test -s conftest.$ac_objext'
46582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46583 (eval $ac_try) 2>&5
46584 ac_status=$?
46585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46586 (exit $ac_status); }; }; then
46587 glibcxx_cv_func__log10l_use=yes
46588 else
46589 echo "$as_me: failed program was:" >&5
46590 sed 's/^/| /' conftest.$ac_ext >&5
46592 glibcxx_cv_func__log10l_use=no
46594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46595 ac_ext=c
46596 ac_cpp='$CPP $CPPFLAGS'
46597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46605 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
46606 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
46608 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46610 for ac_func in _log10l
46612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46613 echo "$as_me:$LINENO: checking for $ac_func" >&5
46614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46615 if eval "test \"\${$as_ac_var+set}\" = set"; then
46616 echo $ECHO_N "(cached) $ECHO_C" >&6
46617 else
46618 if test x$gcc_no_link = xyes; then
46619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46621 { (exit 1); exit 1; }; }
46623 cat >conftest.$ac_ext <<_ACEOF
46624 /* confdefs.h. */
46625 _ACEOF
46626 cat confdefs.h >>conftest.$ac_ext
46627 cat >>conftest.$ac_ext <<_ACEOF
46628 /* end confdefs.h. */
46629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46631 #define $ac_func innocuous_$ac_func
46633 /* System header to define __stub macros and hopefully few prototypes,
46634 which can conflict with char $ac_func (); below.
46635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46636 <limits.h> exists even on freestanding compilers. */
46638 #ifdef __STDC__
46639 # include <limits.h>
46640 #else
46641 # include <assert.h>
46642 #endif
46644 #undef $ac_func
46646 /* Override any gcc2 internal prototype to avoid an error. */
46647 #ifdef __cplusplus
46648 extern "C"
46650 #endif
46651 /* We use char because int might match the return type of a gcc2
46652 builtin and then its argument prototype would still apply. */
46653 char $ac_func ();
46654 /* The GNU C library defines this for functions which it implements
46655 to always fail with ENOSYS. Some functions are actually named
46656 something starting with __ and the normal name is an alias. */
46657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46658 choke me
46659 #else
46660 char (*f) () = $ac_func;
46661 #endif
46662 #ifdef __cplusplus
46664 #endif
46667 main ()
46669 return f != $ac_func;
46671 return 0;
46673 _ACEOF
46674 rm -f conftest.$ac_objext conftest$ac_exeext
46675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46676 (eval $ac_link) 2>conftest.er1
46677 ac_status=$?
46678 grep -v '^ *+' conftest.er1 >conftest.err
46679 rm -f conftest.er1
46680 cat conftest.err >&5
46681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46682 (exit $ac_status); } &&
46683 { ac_try='test -z "$ac_c_werror_flag"
46684 || test ! -s conftest.err'
46685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46686 (eval $ac_try) 2>&5
46687 ac_status=$?
46688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46689 (exit $ac_status); }; } &&
46690 { ac_try='test -s conftest$ac_exeext'
46691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46692 (eval $ac_try) 2>&5
46693 ac_status=$?
46694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46695 (exit $ac_status); }; }; then
46696 eval "$as_ac_var=yes"
46697 else
46698 echo "$as_me: failed program was:" >&5
46699 sed 's/^/| /' conftest.$ac_ext >&5
46701 eval "$as_ac_var=no"
46703 rm -f conftest.err conftest.$ac_objext \
46704 conftest$ac_exeext conftest.$ac_ext
46706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46708 if test `eval echo '${'$as_ac_var'}'` = yes; then
46709 cat >>confdefs.h <<_ACEOF
46710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46711 _ACEOF
46714 done
46724 echo "$as_me:$LINENO: checking for modfl declaration" >&5
46725 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
46726 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46727 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
46728 echo $ECHO_N "(cached) $ECHO_C" >&6
46729 else
46733 ac_ext=cc
46734 ac_cpp='$CXXCPP $CPPFLAGS'
46735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46739 cat >conftest.$ac_ext <<_ACEOF
46740 /* confdefs.h. */
46741 _ACEOF
46742 cat confdefs.h >>conftest.$ac_ext
46743 cat >>conftest.$ac_ext <<_ACEOF
46744 /* end confdefs.h. */
46745 #include <math.h>
46747 main ()
46749 modfl(0, 0);
46751 return 0;
46753 _ACEOF
46754 rm -f conftest.$ac_objext
46755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46756 (eval $ac_compile) 2>conftest.er1
46757 ac_status=$?
46758 grep -v '^ *+' conftest.er1 >conftest.err
46759 rm -f conftest.er1
46760 cat conftest.err >&5
46761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46762 (exit $ac_status); } &&
46763 { ac_try='test -z "$ac_cxx_werror_flag"
46764 || test ! -s conftest.err'
46765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46766 (eval $ac_try) 2>&5
46767 ac_status=$?
46768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46769 (exit $ac_status); }; } &&
46770 { ac_try='test -s conftest.$ac_objext'
46771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46772 (eval $ac_try) 2>&5
46773 ac_status=$?
46774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46775 (exit $ac_status); }; }; then
46776 glibcxx_cv_func_modfl_use=yes
46777 else
46778 echo "$as_me: failed program was:" >&5
46779 sed 's/^/| /' conftest.$ac_ext >&5
46781 glibcxx_cv_func_modfl_use=no
46783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46784 ac_ext=c
46785 ac_cpp='$CPP $CPPFLAGS'
46786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46794 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46795 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46797 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46799 for ac_func in modfl
46801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46802 echo "$as_me:$LINENO: checking for $ac_func" >&5
46803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46804 if eval "test \"\${$as_ac_var+set}\" = set"; then
46805 echo $ECHO_N "(cached) $ECHO_C" >&6
46806 else
46807 if test x$gcc_no_link = xyes; then
46808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46810 { (exit 1); exit 1; }; }
46812 cat >conftest.$ac_ext <<_ACEOF
46813 /* confdefs.h. */
46814 _ACEOF
46815 cat confdefs.h >>conftest.$ac_ext
46816 cat >>conftest.$ac_ext <<_ACEOF
46817 /* end confdefs.h. */
46818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46820 #define $ac_func innocuous_$ac_func
46822 /* System header to define __stub macros and hopefully few prototypes,
46823 which can conflict with char $ac_func (); below.
46824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46825 <limits.h> exists even on freestanding compilers. */
46827 #ifdef __STDC__
46828 # include <limits.h>
46829 #else
46830 # include <assert.h>
46831 #endif
46833 #undef $ac_func
46835 /* Override any gcc2 internal prototype to avoid an error. */
46836 #ifdef __cplusplus
46837 extern "C"
46839 #endif
46840 /* We use char because int might match the return type of a gcc2
46841 builtin and then its argument prototype would still apply. */
46842 char $ac_func ();
46843 /* The GNU C library defines this for functions which it implements
46844 to always fail with ENOSYS. Some functions are actually named
46845 something starting with __ and the normal name is an alias. */
46846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46847 choke me
46848 #else
46849 char (*f) () = $ac_func;
46850 #endif
46851 #ifdef __cplusplus
46853 #endif
46856 main ()
46858 return f != $ac_func;
46860 return 0;
46862 _ACEOF
46863 rm -f conftest.$ac_objext conftest$ac_exeext
46864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46865 (eval $ac_link) 2>conftest.er1
46866 ac_status=$?
46867 grep -v '^ *+' conftest.er1 >conftest.err
46868 rm -f conftest.er1
46869 cat conftest.err >&5
46870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46871 (exit $ac_status); } &&
46872 { ac_try='test -z "$ac_c_werror_flag"
46873 || test ! -s conftest.err'
46874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46875 (eval $ac_try) 2>&5
46876 ac_status=$?
46877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46878 (exit $ac_status); }; } &&
46879 { ac_try='test -s conftest$ac_exeext'
46880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46881 (eval $ac_try) 2>&5
46882 ac_status=$?
46883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46884 (exit $ac_status); }; }; then
46885 eval "$as_ac_var=yes"
46886 else
46887 echo "$as_me: failed program was:" >&5
46888 sed 's/^/| /' conftest.$ac_ext >&5
46890 eval "$as_ac_var=no"
46892 rm -f conftest.err conftest.$ac_objext \
46893 conftest$ac_exeext conftest.$ac_ext
46895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46897 if test `eval echo '${'$as_ac_var'}'` = yes; then
46898 cat >>confdefs.h <<_ACEOF
46899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46900 _ACEOF
46903 done
46905 else
46907 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46908 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46909 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46910 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46911 echo $ECHO_N "(cached) $ECHO_C" >&6
46912 else
46916 ac_ext=cc
46917 ac_cpp='$CXXCPP $CPPFLAGS'
46918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46922 cat >conftest.$ac_ext <<_ACEOF
46923 /* confdefs.h. */
46924 _ACEOF
46925 cat confdefs.h >>conftest.$ac_ext
46926 cat >>conftest.$ac_ext <<_ACEOF
46927 /* end confdefs.h. */
46928 #include <math.h>
46930 main ()
46932 _modfl(0, 0);
46934 return 0;
46936 _ACEOF
46937 rm -f conftest.$ac_objext
46938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46939 (eval $ac_compile) 2>conftest.er1
46940 ac_status=$?
46941 grep -v '^ *+' conftest.er1 >conftest.err
46942 rm -f conftest.er1
46943 cat conftest.err >&5
46944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46945 (exit $ac_status); } &&
46946 { ac_try='test -z "$ac_cxx_werror_flag"
46947 || test ! -s conftest.err'
46948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46949 (eval $ac_try) 2>&5
46950 ac_status=$?
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); }; } &&
46953 { ac_try='test -s conftest.$ac_objext'
46954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46955 (eval $ac_try) 2>&5
46956 ac_status=$?
46957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46958 (exit $ac_status); }; }; then
46959 glibcxx_cv_func__modfl_use=yes
46960 else
46961 echo "$as_me: failed program was:" >&5
46962 sed 's/^/| /' conftest.$ac_ext >&5
46964 glibcxx_cv_func__modfl_use=no
46966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46967 ac_ext=c
46968 ac_cpp='$CPP $CPPFLAGS'
46969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46977 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46978 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46980 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46982 for ac_func in _modfl
46984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46985 echo "$as_me:$LINENO: checking for $ac_func" >&5
46986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46987 if eval "test \"\${$as_ac_var+set}\" = set"; then
46988 echo $ECHO_N "(cached) $ECHO_C" >&6
46989 else
46990 if test x$gcc_no_link = xyes; then
46991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46993 { (exit 1); exit 1; }; }
46995 cat >conftest.$ac_ext <<_ACEOF
46996 /* confdefs.h. */
46997 _ACEOF
46998 cat confdefs.h >>conftest.$ac_ext
46999 cat >>conftest.$ac_ext <<_ACEOF
47000 /* end confdefs.h. */
47001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47003 #define $ac_func innocuous_$ac_func
47005 /* System header to define __stub macros and hopefully few prototypes,
47006 which can conflict with char $ac_func (); below.
47007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47008 <limits.h> exists even on freestanding compilers. */
47010 #ifdef __STDC__
47011 # include <limits.h>
47012 #else
47013 # include <assert.h>
47014 #endif
47016 #undef $ac_func
47018 /* Override any gcc2 internal prototype to avoid an error. */
47019 #ifdef __cplusplus
47020 extern "C"
47022 #endif
47023 /* We use char because int might match the return type of a gcc2
47024 builtin and then its argument prototype would still apply. */
47025 char $ac_func ();
47026 /* The GNU C library defines this for functions which it implements
47027 to always fail with ENOSYS. Some functions are actually named
47028 something starting with __ and the normal name is an alias. */
47029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47030 choke me
47031 #else
47032 char (*f) () = $ac_func;
47033 #endif
47034 #ifdef __cplusplus
47036 #endif
47039 main ()
47041 return f != $ac_func;
47043 return 0;
47045 _ACEOF
47046 rm -f conftest.$ac_objext conftest$ac_exeext
47047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47048 (eval $ac_link) 2>conftest.er1
47049 ac_status=$?
47050 grep -v '^ *+' conftest.er1 >conftest.err
47051 rm -f conftest.er1
47052 cat conftest.err >&5
47053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47054 (exit $ac_status); } &&
47055 { ac_try='test -z "$ac_c_werror_flag"
47056 || test ! -s conftest.err'
47057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47058 (eval $ac_try) 2>&5
47059 ac_status=$?
47060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47061 (exit $ac_status); }; } &&
47062 { ac_try='test -s conftest$ac_exeext'
47063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47064 (eval $ac_try) 2>&5
47065 ac_status=$?
47066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47067 (exit $ac_status); }; }; then
47068 eval "$as_ac_var=yes"
47069 else
47070 echo "$as_me: failed program was:" >&5
47071 sed 's/^/| /' conftest.$ac_ext >&5
47073 eval "$as_ac_var=no"
47075 rm -f conftest.err conftest.$ac_objext \
47076 conftest$ac_exeext conftest.$ac_ext
47078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47080 if test `eval echo '${'$as_ac_var'}'` = yes; then
47081 cat >>confdefs.h <<_ACEOF
47082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47083 _ACEOF
47086 done
47096 echo "$as_me:$LINENO: checking for powl declaration" >&5
47097 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
47098 if test x${glibcxx_cv_func_powl_use+set} != xset; then
47099 if test "${glibcxx_cv_func_powl_use+set}" = set; then
47100 echo $ECHO_N "(cached) $ECHO_C" >&6
47101 else
47105 ac_ext=cc
47106 ac_cpp='$CXXCPP $CPPFLAGS'
47107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47111 cat >conftest.$ac_ext <<_ACEOF
47112 /* confdefs.h. */
47113 _ACEOF
47114 cat confdefs.h >>conftest.$ac_ext
47115 cat >>conftest.$ac_ext <<_ACEOF
47116 /* end confdefs.h. */
47117 #include <math.h>
47119 main ()
47121 powl(0, 0);
47123 return 0;
47125 _ACEOF
47126 rm -f conftest.$ac_objext
47127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47128 (eval $ac_compile) 2>conftest.er1
47129 ac_status=$?
47130 grep -v '^ *+' conftest.er1 >conftest.err
47131 rm -f conftest.er1
47132 cat conftest.err >&5
47133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47134 (exit $ac_status); } &&
47135 { ac_try='test -z "$ac_cxx_werror_flag"
47136 || test ! -s conftest.err'
47137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47138 (eval $ac_try) 2>&5
47139 ac_status=$?
47140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47141 (exit $ac_status); }; } &&
47142 { ac_try='test -s conftest.$ac_objext'
47143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47144 (eval $ac_try) 2>&5
47145 ac_status=$?
47146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47147 (exit $ac_status); }; }; then
47148 glibcxx_cv_func_powl_use=yes
47149 else
47150 echo "$as_me: failed program was:" >&5
47151 sed 's/^/| /' conftest.$ac_ext >&5
47153 glibcxx_cv_func_powl_use=no
47155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47156 ac_ext=c
47157 ac_cpp='$CPP $CPPFLAGS'
47158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47166 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
47167 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
47169 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47171 for ac_func in powl
47173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47174 echo "$as_me:$LINENO: checking for $ac_func" >&5
47175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47176 if eval "test \"\${$as_ac_var+set}\" = set"; then
47177 echo $ECHO_N "(cached) $ECHO_C" >&6
47178 else
47179 if test x$gcc_no_link = xyes; then
47180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47182 { (exit 1); exit 1; }; }
47184 cat >conftest.$ac_ext <<_ACEOF
47185 /* confdefs.h. */
47186 _ACEOF
47187 cat confdefs.h >>conftest.$ac_ext
47188 cat >>conftest.$ac_ext <<_ACEOF
47189 /* end confdefs.h. */
47190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47192 #define $ac_func innocuous_$ac_func
47194 /* System header to define __stub macros and hopefully few prototypes,
47195 which can conflict with char $ac_func (); below.
47196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47197 <limits.h> exists even on freestanding compilers. */
47199 #ifdef __STDC__
47200 # include <limits.h>
47201 #else
47202 # include <assert.h>
47203 #endif
47205 #undef $ac_func
47207 /* Override any gcc2 internal prototype to avoid an error. */
47208 #ifdef __cplusplus
47209 extern "C"
47211 #endif
47212 /* We use char because int might match the return type of a gcc2
47213 builtin and then its argument prototype would still apply. */
47214 char $ac_func ();
47215 /* The GNU C library defines this for functions which it implements
47216 to always fail with ENOSYS. Some functions are actually named
47217 something starting with __ and the normal name is an alias. */
47218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47219 choke me
47220 #else
47221 char (*f) () = $ac_func;
47222 #endif
47223 #ifdef __cplusplus
47225 #endif
47228 main ()
47230 return f != $ac_func;
47232 return 0;
47234 _ACEOF
47235 rm -f conftest.$ac_objext conftest$ac_exeext
47236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47237 (eval $ac_link) 2>conftest.er1
47238 ac_status=$?
47239 grep -v '^ *+' conftest.er1 >conftest.err
47240 rm -f conftest.er1
47241 cat conftest.err >&5
47242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47243 (exit $ac_status); } &&
47244 { ac_try='test -z "$ac_c_werror_flag"
47245 || test ! -s conftest.err'
47246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47247 (eval $ac_try) 2>&5
47248 ac_status=$?
47249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47250 (exit $ac_status); }; } &&
47251 { ac_try='test -s conftest$ac_exeext'
47252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47253 (eval $ac_try) 2>&5
47254 ac_status=$?
47255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47256 (exit $ac_status); }; }; then
47257 eval "$as_ac_var=yes"
47258 else
47259 echo "$as_me: failed program was:" >&5
47260 sed 's/^/| /' conftest.$ac_ext >&5
47262 eval "$as_ac_var=no"
47264 rm -f conftest.err conftest.$ac_objext \
47265 conftest$ac_exeext conftest.$ac_ext
47267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47269 if test `eval echo '${'$as_ac_var'}'` = yes; then
47270 cat >>confdefs.h <<_ACEOF
47271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47272 _ACEOF
47275 done
47277 else
47279 echo "$as_me:$LINENO: checking for _powl declaration" >&5
47280 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47281 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47282 if test "${glibcxx_cv_func__powl_use+set}" = set; then
47283 echo $ECHO_N "(cached) $ECHO_C" >&6
47284 else
47288 ac_ext=cc
47289 ac_cpp='$CXXCPP $CPPFLAGS'
47290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47294 cat >conftest.$ac_ext <<_ACEOF
47295 /* confdefs.h. */
47296 _ACEOF
47297 cat confdefs.h >>conftest.$ac_ext
47298 cat >>conftest.$ac_ext <<_ACEOF
47299 /* end confdefs.h. */
47300 #include <math.h>
47302 main ()
47304 _powl(0, 0);
47306 return 0;
47308 _ACEOF
47309 rm -f conftest.$ac_objext
47310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47311 (eval $ac_compile) 2>conftest.er1
47312 ac_status=$?
47313 grep -v '^ *+' conftest.er1 >conftest.err
47314 rm -f conftest.er1
47315 cat conftest.err >&5
47316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47317 (exit $ac_status); } &&
47318 { ac_try='test -z "$ac_cxx_werror_flag"
47319 || test ! -s conftest.err'
47320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47321 (eval $ac_try) 2>&5
47322 ac_status=$?
47323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47324 (exit $ac_status); }; } &&
47325 { ac_try='test -s conftest.$ac_objext'
47326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47327 (eval $ac_try) 2>&5
47328 ac_status=$?
47329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47330 (exit $ac_status); }; }; then
47331 glibcxx_cv_func__powl_use=yes
47332 else
47333 echo "$as_me: failed program was:" >&5
47334 sed 's/^/| /' conftest.$ac_ext >&5
47336 glibcxx_cv_func__powl_use=no
47338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47339 ac_ext=c
47340 ac_cpp='$CPP $CPPFLAGS'
47341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47349 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47350 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47352 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47354 for ac_func in _powl
47356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47357 echo "$as_me:$LINENO: checking for $ac_func" >&5
47358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47359 if eval "test \"\${$as_ac_var+set}\" = set"; then
47360 echo $ECHO_N "(cached) $ECHO_C" >&6
47361 else
47362 if test x$gcc_no_link = xyes; then
47363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47365 { (exit 1); exit 1; }; }
47367 cat >conftest.$ac_ext <<_ACEOF
47368 /* confdefs.h. */
47369 _ACEOF
47370 cat confdefs.h >>conftest.$ac_ext
47371 cat >>conftest.$ac_ext <<_ACEOF
47372 /* end confdefs.h. */
47373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47375 #define $ac_func innocuous_$ac_func
47377 /* System header to define __stub macros and hopefully few prototypes,
47378 which can conflict with char $ac_func (); below.
47379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47380 <limits.h> exists even on freestanding compilers. */
47382 #ifdef __STDC__
47383 # include <limits.h>
47384 #else
47385 # include <assert.h>
47386 #endif
47388 #undef $ac_func
47390 /* Override any gcc2 internal prototype to avoid an error. */
47391 #ifdef __cplusplus
47392 extern "C"
47394 #endif
47395 /* We use char because int might match the return type of a gcc2
47396 builtin and then its argument prototype would still apply. */
47397 char $ac_func ();
47398 /* The GNU C library defines this for functions which it implements
47399 to always fail with ENOSYS. Some functions are actually named
47400 something starting with __ and the normal name is an alias. */
47401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47402 choke me
47403 #else
47404 char (*f) () = $ac_func;
47405 #endif
47406 #ifdef __cplusplus
47408 #endif
47411 main ()
47413 return f != $ac_func;
47415 return 0;
47417 _ACEOF
47418 rm -f conftest.$ac_objext conftest$ac_exeext
47419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47420 (eval $ac_link) 2>conftest.er1
47421 ac_status=$?
47422 grep -v '^ *+' conftest.er1 >conftest.err
47423 rm -f conftest.er1
47424 cat conftest.err >&5
47425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47426 (exit $ac_status); } &&
47427 { ac_try='test -z "$ac_c_werror_flag"
47428 || test ! -s conftest.err'
47429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47430 (eval $ac_try) 2>&5
47431 ac_status=$?
47432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47433 (exit $ac_status); }; } &&
47434 { ac_try='test -s conftest$ac_exeext'
47435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47436 (eval $ac_try) 2>&5
47437 ac_status=$?
47438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47439 (exit $ac_status); }; }; then
47440 eval "$as_ac_var=yes"
47441 else
47442 echo "$as_me: failed program was:" >&5
47443 sed 's/^/| /' conftest.$ac_ext >&5
47445 eval "$as_ac_var=no"
47447 rm -f conftest.err conftest.$ac_objext \
47448 conftest$ac_exeext conftest.$ac_ext
47450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47452 if test `eval echo '${'$as_ac_var'}'` = yes; then
47453 cat >>confdefs.h <<_ACEOF
47454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47455 _ACEOF
47458 done
47468 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
47469 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
47470 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47471 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
47472 echo $ECHO_N "(cached) $ECHO_C" >&6
47473 else
47477 ac_ext=cc
47478 ac_cpp='$CXXCPP $CPPFLAGS'
47479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47483 cat >conftest.$ac_ext <<_ACEOF
47484 /* confdefs.h. */
47485 _ACEOF
47486 cat confdefs.h >>conftest.$ac_ext
47487 cat >>conftest.$ac_ext <<_ACEOF
47488 /* end confdefs.h. */
47489 #include <math.h>
47490 #ifdef HAVE_IEEEFP_H
47491 #include <ieeefp.h>
47492 #endif
47495 main ()
47497 sqrtl(0);
47499 return 0;
47501 _ACEOF
47502 rm -f conftest.$ac_objext
47503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47504 (eval $ac_compile) 2>conftest.er1
47505 ac_status=$?
47506 grep -v '^ *+' conftest.er1 >conftest.err
47507 rm -f conftest.er1
47508 cat conftest.err >&5
47509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47510 (exit $ac_status); } &&
47511 { ac_try='test -z "$ac_cxx_werror_flag"
47512 || test ! -s conftest.err'
47513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47514 (eval $ac_try) 2>&5
47515 ac_status=$?
47516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47517 (exit $ac_status); }; } &&
47518 { ac_try='test -s conftest.$ac_objext'
47519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47520 (eval $ac_try) 2>&5
47521 ac_status=$?
47522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47523 (exit $ac_status); }; }; then
47524 glibcxx_cv_func_sqrtl_use=yes
47525 else
47526 echo "$as_me: failed program was:" >&5
47527 sed 's/^/| /' conftest.$ac_ext >&5
47529 glibcxx_cv_func_sqrtl_use=no
47531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47532 ac_ext=c
47533 ac_cpp='$CPP $CPPFLAGS'
47534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
47543 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
47545 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47547 for ac_func in sqrtl
47549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47550 echo "$as_me:$LINENO: checking for $ac_func" >&5
47551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47552 if eval "test \"\${$as_ac_var+set}\" = set"; then
47553 echo $ECHO_N "(cached) $ECHO_C" >&6
47554 else
47555 if test x$gcc_no_link = xyes; then
47556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47558 { (exit 1); exit 1; }; }
47560 cat >conftest.$ac_ext <<_ACEOF
47561 /* confdefs.h. */
47562 _ACEOF
47563 cat confdefs.h >>conftest.$ac_ext
47564 cat >>conftest.$ac_ext <<_ACEOF
47565 /* end confdefs.h. */
47566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47568 #define $ac_func innocuous_$ac_func
47570 /* System header to define __stub macros and hopefully few prototypes,
47571 which can conflict with char $ac_func (); below.
47572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47573 <limits.h> exists even on freestanding compilers. */
47575 #ifdef __STDC__
47576 # include <limits.h>
47577 #else
47578 # include <assert.h>
47579 #endif
47581 #undef $ac_func
47583 /* Override any gcc2 internal prototype to avoid an error. */
47584 #ifdef __cplusplus
47585 extern "C"
47587 #endif
47588 /* We use char because int might match the return type of a gcc2
47589 builtin and then its argument prototype would still apply. */
47590 char $ac_func ();
47591 /* The GNU C library defines this for functions which it implements
47592 to always fail with ENOSYS. Some functions are actually named
47593 something starting with __ and the normal name is an alias. */
47594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47595 choke me
47596 #else
47597 char (*f) () = $ac_func;
47598 #endif
47599 #ifdef __cplusplus
47601 #endif
47604 main ()
47606 return f != $ac_func;
47608 return 0;
47610 _ACEOF
47611 rm -f conftest.$ac_objext conftest$ac_exeext
47612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47613 (eval $ac_link) 2>conftest.er1
47614 ac_status=$?
47615 grep -v '^ *+' conftest.er1 >conftest.err
47616 rm -f conftest.er1
47617 cat conftest.err >&5
47618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47619 (exit $ac_status); } &&
47620 { ac_try='test -z "$ac_c_werror_flag"
47621 || test ! -s conftest.err'
47622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47623 (eval $ac_try) 2>&5
47624 ac_status=$?
47625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47626 (exit $ac_status); }; } &&
47627 { ac_try='test -s conftest$ac_exeext'
47628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47629 (eval $ac_try) 2>&5
47630 ac_status=$?
47631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47632 (exit $ac_status); }; }; then
47633 eval "$as_ac_var=yes"
47634 else
47635 echo "$as_me: failed program was:" >&5
47636 sed 's/^/| /' conftest.$ac_ext >&5
47638 eval "$as_ac_var=no"
47640 rm -f conftest.err conftest.$ac_objext \
47641 conftest$ac_exeext conftest.$ac_ext
47643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47645 if test `eval echo '${'$as_ac_var'}'` = yes; then
47646 cat >>confdefs.h <<_ACEOF
47647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47648 _ACEOF
47651 done
47653 else
47655 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
47656 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
47657 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47658 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
47659 echo $ECHO_N "(cached) $ECHO_C" >&6
47660 else
47664 ac_ext=cc
47665 ac_cpp='$CXXCPP $CPPFLAGS'
47666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47670 cat >conftest.$ac_ext <<_ACEOF
47671 /* confdefs.h. */
47672 _ACEOF
47673 cat confdefs.h >>conftest.$ac_ext
47674 cat >>conftest.$ac_ext <<_ACEOF
47675 /* end confdefs.h. */
47676 #include <math.h>
47677 #ifdef HAVE_IEEEFP_H
47678 #include <ieeefp.h>
47679 #endif
47682 main ()
47684 _sqrtl(0);
47686 return 0;
47688 _ACEOF
47689 rm -f conftest.$ac_objext
47690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47691 (eval $ac_compile) 2>conftest.er1
47692 ac_status=$?
47693 grep -v '^ *+' conftest.er1 >conftest.err
47694 rm -f conftest.er1
47695 cat conftest.err >&5
47696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47697 (exit $ac_status); } &&
47698 { ac_try='test -z "$ac_cxx_werror_flag"
47699 || test ! -s conftest.err'
47700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47701 (eval $ac_try) 2>&5
47702 ac_status=$?
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); }; } &&
47705 { ac_try='test -s conftest.$ac_objext'
47706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47707 (eval $ac_try) 2>&5
47708 ac_status=$?
47709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47710 (exit $ac_status); }; }; then
47711 glibcxx_cv_func__sqrtl_use=yes
47712 else
47713 echo "$as_me: failed program was:" >&5
47714 sed 's/^/| /' conftest.$ac_ext >&5
47716 glibcxx_cv_func__sqrtl_use=no
47718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47719 ac_ext=c
47720 ac_cpp='$CPP $CPPFLAGS'
47721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47729 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
47730 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
47732 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47734 for ac_func in _sqrtl
47736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47737 echo "$as_me:$LINENO: checking for $ac_func" >&5
47738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47739 if eval "test \"\${$as_ac_var+set}\" = set"; then
47740 echo $ECHO_N "(cached) $ECHO_C" >&6
47741 else
47742 if test x$gcc_no_link = xyes; then
47743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47745 { (exit 1); exit 1; }; }
47747 cat >conftest.$ac_ext <<_ACEOF
47748 /* confdefs.h. */
47749 _ACEOF
47750 cat confdefs.h >>conftest.$ac_ext
47751 cat >>conftest.$ac_ext <<_ACEOF
47752 /* end confdefs.h. */
47753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47755 #define $ac_func innocuous_$ac_func
47757 /* System header to define __stub macros and hopefully few prototypes,
47758 which can conflict with char $ac_func (); below.
47759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47760 <limits.h> exists even on freestanding compilers. */
47762 #ifdef __STDC__
47763 # include <limits.h>
47764 #else
47765 # include <assert.h>
47766 #endif
47768 #undef $ac_func
47770 /* Override any gcc2 internal prototype to avoid an error. */
47771 #ifdef __cplusplus
47772 extern "C"
47774 #endif
47775 /* We use char because int might match the return type of a gcc2
47776 builtin and then its argument prototype would still apply. */
47777 char $ac_func ();
47778 /* The GNU C library defines this for functions which it implements
47779 to always fail with ENOSYS. Some functions are actually named
47780 something starting with __ and the normal name is an alias. */
47781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47782 choke me
47783 #else
47784 char (*f) () = $ac_func;
47785 #endif
47786 #ifdef __cplusplus
47788 #endif
47791 main ()
47793 return f != $ac_func;
47795 return 0;
47797 _ACEOF
47798 rm -f conftest.$ac_objext conftest$ac_exeext
47799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47800 (eval $ac_link) 2>conftest.er1
47801 ac_status=$?
47802 grep -v '^ *+' conftest.er1 >conftest.err
47803 rm -f conftest.er1
47804 cat conftest.err >&5
47805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47806 (exit $ac_status); } &&
47807 { ac_try='test -z "$ac_c_werror_flag"
47808 || test ! -s conftest.err'
47809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47810 (eval $ac_try) 2>&5
47811 ac_status=$?
47812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47813 (exit $ac_status); }; } &&
47814 { ac_try='test -s conftest$ac_exeext'
47815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47816 (eval $ac_try) 2>&5
47817 ac_status=$?
47818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47819 (exit $ac_status); }; }; then
47820 eval "$as_ac_var=yes"
47821 else
47822 echo "$as_me: failed program was:" >&5
47823 sed 's/^/| /' conftest.$ac_ext >&5
47825 eval "$as_ac_var=no"
47827 rm -f conftest.err conftest.$ac_objext \
47828 conftest$ac_exeext conftest.$ac_ext
47830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47832 if test `eval echo '${'$as_ac_var'}'` = yes; then
47833 cat >>confdefs.h <<_ACEOF
47834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47835 _ACEOF
47838 done
47848 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47849 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47850 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47851 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47852 echo $ECHO_N "(cached) $ECHO_C" >&6
47853 else
47857 ac_ext=cc
47858 ac_cpp='$CXXCPP $CPPFLAGS'
47859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47863 cat >conftest.$ac_ext <<_ACEOF
47864 /* confdefs.h. */
47865 _ACEOF
47866 cat confdefs.h >>conftest.$ac_ext
47867 cat >>conftest.$ac_ext <<_ACEOF
47868 /* end confdefs.h. */
47869 #include <math.h>
47871 main ()
47873 sincosl(0, 0, 0);
47875 return 0;
47877 _ACEOF
47878 rm -f conftest.$ac_objext
47879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47880 (eval $ac_compile) 2>conftest.er1
47881 ac_status=$?
47882 grep -v '^ *+' conftest.er1 >conftest.err
47883 rm -f conftest.er1
47884 cat conftest.err >&5
47885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47886 (exit $ac_status); } &&
47887 { ac_try='test -z "$ac_cxx_werror_flag"
47888 || test ! -s conftest.err'
47889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47890 (eval $ac_try) 2>&5
47891 ac_status=$?
47892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47893 (exit $ac_status); }; } &&
47894 { ac_try='test -s conftest.$ac_objext'
47895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47896 (eval $ac_try) 2>&5
47897 ac_status=$?
47898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47899 (exit $ac_status); }; }; then
47900 glibcxx_cv_func_sincosl_use=yes
47901 else
47902 echo "$as_me: failed program was:" >&5
47903 sed 's/^/| /' conftest.$ac_ext >&5
47905 glibcxx_cv_func_sincosl_use=no
47907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47908 ac_ext=c
47909 ac_cpp='$CPP $CPPFLAGS'
47910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47918 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47919 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47921 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47923 for ac_func in sincosl
47925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47926 echo "$as_me:$LINENO: checking for $ac_func" >&5
47927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47928 if eval "test \"\${$as_ac_var+set}\" = set"; then
47929 echo $ECHO_N "(cached) $ECHO_C" >&6
47930 else
47931 if test x$gcc_no_link = xyes; then
47932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47934 { (exit 1); exit 1; }; }
47936 cat >conftest.$ac_ext <<_ACEOF
47937 /* confdefs.h. */
47938 _ACEOF
47939 cat confdefs.h >>conftest.$ac_ext
47940 cat >>conftest.$ac_ext <<_ACEOF
47941 /* end confdefs.h. */
47942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47944 #define $ac_func innocuous_$ac_func
47946 /* System header to define __stub macros and hopefully few prototypes,
47947 which can conflict with char $ac_func (); below.
47948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47949 <limits.h> exists even on freestanding compilers. */
47951 #ifdef __STDC__
47952 # include <limits.h>
47953 #else
47954 # include <assert.h>
47955 #endif
47957 #undef $ac_func
47959 /* Override any gcc2 internal prototype to avoid an error. */
47960 #ifdef __cplusplus
47961 extern "C"
47963 #endif
47964 /* We use char because int might match the return type of a gcc2
47965 builtin and then its argument prototype would still apply. */
47966 char $ac_func ();
47967 /* The GNU C library defines this for functions which it implements
47968 to always fail with ENOSYS. Some functions are actually named
47969 something starting with __ and the normal name is an alias. */
47970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47971 choke me
47972 #else
47973 char (*f) () = $ac_func;
47974 #endif
47975 #ifdef __cplusplus
47977 #endif
47980 main ()
47982 return f != $ac_func;
47984 return 0;
47986 _ACEOF
47987 rm -f conftest.$ac_objext conftest$ac_exeext
47988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47989 (eval $ac_link) 2>conftest.er1
47990 ac_status=$?
47991 grep -v '^ *+' conftest.er1 >conftest.err
47992 rm -f conftest.er1
47993 cat conftest.err >&5
47994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47995 (exit $ac_status); } &&
47996 { ac_try='test -z "$ac_c_werror_flag"
47997 || test ! -s conftest.err'
47998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47999 (eval $ac_try) 2>&5
48000 ac_status=$?
48001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48002 (exit $ac_status); }; } &&
48003 { ac_try='test -s conftest$ac_exeext'
48004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48005 (eval $ac_try) 2>&5
48006 ac_status=$?
48007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48008 (exit $ac_status); }; }; then
48009 eval "$as_ac_var=yes"
48010 else
48011 echo "$as_me: failed program was:" >&5
48012 sed 's/^/| /' conftest.$ac_ext >&5
48014 eval "$as_ac_var=no"
48016 rm -f conftest.err conftest.$ac_objext \
48017 conftest$ac_exeext conftest.$ac_ext
48019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48021 if test `eval echo '${'$as_ac_var'}'` = yes; then
48022 cat >>confdefs.h <<_ACEOF
48023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48024 _ACEOF
48027 done
48029 else
48031 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
48032 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
48033 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48034 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
48035 echo $ECHO_N "(cached) $ECHO_C" >&6
48036 else
48040 ac_ext=cc
48041 ac_cpp='$CXXCPP $CPPFLAGS'
48042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48046 cat >conftest.$ac_ext <<_ACEOF
48047 /* confdefs.h. */
48048 _ACEOF
48049 cat confdefs.h >>conftest.$ac_ext
48050 cat >>conftest.$ac_ext <<_ACEOF
48051 /* end confdefs.h. */
48052 #include <math.h>
48054 main ()
48056 _sincosl(0, 0, 0);
48058 return 0;
48060 _ACEOF
48061 rm -f conftest.$ac_objext
48062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48063 (eval $ac_compile) 2>conftest.er1
48064 ac_status=$?
48065 grep -v '^ *+' conftest.er1 >conftest.err
48066 rm -f conftest.er1
48067 cat conftest.err >&5
48068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48069 (exit $ac_status); } &&
48070 { ac_try='test -z "$ac_cxx_werror_flag"
48071 || test ! -s conftest.err'
48072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48073 (eval $ac_try) 2>&5
48074 ac_status=$?
48075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48076 (exit $ac_status); }; } &&
48077 { ac_try='test -s conftest.$ac_objext'
48078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48079 (eval $ac_try) 2>&5
48080 ac_status=$?
48081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48082 (exit $ac_status); }; }; then
48083 glibcxx_cv_func__sincosl_use=yes
48084 else
48085 echo "$as_me: failed program was:" >&5
48086 sed 's/^/| /' conftest.$ac_ext >&5
48088 glibcxx_cv_func__sincosl_use=no
48090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48091 ac_ext=c
48092 ac_cpp='$CPP $CPPFLAGS'
48093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48101 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
48102 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
48104 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48106 for ac_func in _sincosl
48108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48109 echo "$as_me:$LINENO: checking for $ac_func" >&5
48110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48111 if eval "test \"\${$as_ac_var+set}\" = set"; then
48112 echo $ECHO_N "(cached) $ECHO_C" >&6
48113 else
48114 if test x$gcc_no_link = xyes; then
48115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48117 { (exit 1); exit 1; }; }
48119 cat >conftest.$ac_ext <<_ACEOF
48120 /* confdefs.h. */
48121 _ACEOF
48122 cat confdefs.h >>conftest.$ac_ext
48123 cat >>conftest.$ac_ext <<_ACEOF
48124 /* end confdefs.h. */
48125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48127 #define $ac_func innocuous_$ac_func
48129 /* System header to define __stub macros and hopefully few prototypes,
48130 which can conflict with char $ac_func (); below.
48131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48132 <limits.h> exists even on freestanding compilers. */
48134 #ifdef __STDC__
48135 # include <limits.h>
48136 #else
48137 # include <assert.h>
48138 #endif
48140 #undef $ac_func
48142 /* Override any gcc2 internal prototype to avoid an error. */
48143 #ifdef __cplusplus
48144 extern "C"
48146 #endif
48147 /* We use char because int might match the return type of a gcc2
48148 builtin and then its argument prototype would still apply. */
48149 char $ac_func ();
48150 /* The GNU C library defines this for functions which it implements
48151 to always fail with ENOSYS. Some functions are actually named
48152 something starting with __ and the normal name is an alias. */
48153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48154 choke me
48155 #else
48156 char (*f) () = $ac_func;
48157 #endif
48158 #ifdef __cplusplus
48160 #endif
48163 main ()
48165 return f != $ac_func;
48167 return 0;
48169 _ACEOF
48170 rm -f conftest.$ac_objext conftest$ac_exeext
48171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48172 (eval $ac_link) 2>conftest.er1
48173 ac_status=$?
48174 grep -v '^ *+' conftest.er1 >conftest.err
48175 rm -f conftest.er1
48176 cat conftest.err >&5
48177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48178 (exit $ac_status); } &&
48179 { ac_try='test -z "$ac_c_werror_flag"
48180 || test ! -s conftest.err'
48181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48182 (eval $ac_try) 2>&5
48183 ac_status=$?
48184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48185 (exit $ac_status); }; } &&
48186 { ac_try='test -s conftest$ac_exeext'
48187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48188 (eval $ac_try) 2>&5
48189 ac_status=$?
48190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48191 (exit $ac_status); }; }; then
48192 eval "$as_ac_var=yes"
48193 else
48194 echo "$as_me: failed program was:" >&5
48195 sed 's/^/| /' conftest.$ac_ext >&5
48197 eval "$as_ac_var=no"
48199 rm -f conftest.err conftest.$ac_objext \
48200 conftest$ac_exeext conftest.$ac_ext
48202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48204 if test `eval echo '${'$as_ac_var'}'` = yes; then
48205 cat >>confdefs.h <<_ACEOF
48206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48207 _ACEOF
48210 done
48220 echo "$as_me:$LINENO: checking for finitel declaration" >&5
48221 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48222 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48223 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48224 echo $ECHO_N "(cached) $ECHO_C" >&6
48225 else
48229 ac_ext=cc
48230 ac_cpp='$CXXCPP $CPPFLAGS'
48231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48235 cat >conftest.$ac_ext <<_ACEOF
48236 /* confdefs.h. */
48237 _ACEOF
48238 cat confdefs.h >>conftest.$ac_ext
48239 cat >>conftest.$ac_ext <<_ACEOF
48240 /* end confdefs.h. */
48241 #include <math.h>
48242 #ifdef HAVE_IEEEFP_H
48243 #include <ieeefp.h>
48244 #endif
48247 main ()
48249 finitel(0);
48251 return 0;
48253 _ACEOF
48254 rm -f conftest.$ac_objext
48255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48256 (eval $ac_compile) 2>conftest.er1
48257 ac_status=$?
48258 grep -v '^ *+' conftest.er1 >conftest.err
48259 rm -f conftest.er1
48260 cat conftest.err >&5
48261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48262 (exit $ac_status); } &&
48263 { ac_try='test -z "$ac_cxx_werror_flag"
48264 || test ! -s conftest.err'
48265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48266 (eval $ac_try) 2>&5
48267 ac_status=$?
48268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48269 (exit $ac_status); }; } &&
48270 { ac_try='test -s conftest.$ac_objext'
48271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48272 (eval $ac_try) 2>&5
48273 ac_status=$?
48274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48275 (exit $ac_status); }; }; then
48276 glibcxx_cv_func_finitel_use=yes
48277 else
48278 echo "$as_me: failed program was:" >&5
48279 sed 's/^/| /' conftest.$ac_ext >&5
48281 glibcxx_cv_func_finitel_use=no
48283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48284 ac_ext=c
48285 ac_cpp='$CPP $CPPFLAGS'
48286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48294 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48295 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48297 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48299 for ac_func in finitel
48301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48302 echo "$as_me:$LINENO: checking for $ac_func" >&5
48303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48304 if eval "test \"\${$as_ac_var+set}\" = set"; then
48305 echo $ECHO_N "(cached) $ECHO_C" >&6
48306 else
48307 if test x$gcc_no_link = xyes; then
48308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48310 { (exit 1); exit 1; }; }
48312 cat >conftest.$ac_ext <<_ACEOF
48313 /* confdefs.h. */
48314 _ACEOF
48315 cat confdefs.h >>conftest.$ac_ext
48316 cat >>conftest.$ac_ext <<_ACEOF
48317 /* end confdefs.h. */
48318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48320 #define $ac_func innocuous_$ac_func
48322 /* System header to define __stub macros and hopefully few prototypes,
48323 which can conflict with char $ac_func (); below.
48324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48325 <limits.h> exists even on freestanding compilers. */
48327 #ifdef __STDC__
48328 # include <limits.h>
48329 #else
48330 # include <assert.h>
48331 #endif
48333 #undef $ac_func
48335 /* Override any gcc2 internal prototype to avoid an error. */
48336 #ifdef __cplusplus
48337 extern "C"
48339 #endif
48340 /* We use char because int might match the return type of a gcc2
48341 builtin and then its argument prototype would still apply. */
48342 char $ac_func ();
48343 /* The GNU C library defines this for functions which it implements
48344 to always fail with ENOSYS. Some functions are actually named
48345 something starting with __ and the normal name is an alias. */
48346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48347 choke me
48348 #else
48349 char (*f) () = $ac_func;
48350 #endif
48351 #ifdef __cplusplus
48353 #endif
48356 main ()
48358 return f != $ac_func;
48360 return 0;
48362 _ACEOF
48363 rm -f conftest.$ac_objext conftest$ac_exeext
48364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48365 (eval $ac_link) 2>conftest.er1
48366 ac_status=$?
48367 grep -v '^ *+' conftest.er1 >conftest.err
48368 rm -f conftest.er1
48369 cat conftest.err >&5
48370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48371 (exit $ac_status); } &&
48372 { ac_try='test -z "$ac_c_werror_flag"
48373 || test ! -s conftest.err'
48374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48375 (eval $ac_try) 2>&5
48376 ac_status=$?
48377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48378 (exit $ac_status); }; } &&
48379 { ac_try='test -s conftest$ac_exeext'
48380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48381 (eval $ac_try) 2>&5
48382 ac_status=$?
48383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48384 (exit $ac_status); }; }; then
48385 eval "$as_ac_var=yes"
48386 else
48387 echo "$as_me: failed program was:" >&5
48388 sed 's/^/| /' conftest.$ac_ext >&5
48390 eval "$as_ac_var=no"
48392 rm -f conftest.err conftest.$ac_objext \
48393 conftest$ac_exeext conftest.$ac_ext
48395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48397 if test `eval echo '${'$as_ac_var'}'` = yes; then
48398 cat >>confdefs.h <<_ACEOF
48399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48400 _ACEOF
48403 done
48405 else
48407 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
48408 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
48409 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48410 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
48411 echo $ECHO_N "(cached) $ECHO_C" >&6
48412 else
48416 ac_ext=cc
48417 ac_cpp='$CXXCPP $CPPFLAGS'
48418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48422 cat >conftest.$ac_ext <<_ACEOF
48423 /* confdefs.h. */
48424 _ACEOF
48425 cat confdefs.h >>conftest.$ac_ext
48426 cat >>conftest.$ac_ext <<_ACEOF
48427 /* end confdefs.h. */
48428 #include <math.h>
48429 #ifdef HAVE_IEEEFP_H
48430 #include <ieeefp.h>
48431 #endif
48434 main ()
48436 _finitel(0);
48438 return 0;
48440 _ACEOF
48441 rm -f conftest.$ac_objext
48442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48443 (eval $ac_compile) 2>conftest.er1
48444 ac_status=$?
48445 grep -v '^ *+' conftest.er1 >conftest.err
48446 rm -f conftest.er1
48447 cat conftest.err >&5
48448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48449 (exit $ac_status); } &&
48450 { ac_try='test -z "$ac_cxx_werror_flag"
48451 || test ! -s conftest.err'
48452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48453 (eval $ac_try) 2>&5
48454 ac_status=$?
48455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48456 (exit $ac_status); }; } &&
48457 { ac_try='test -s conftest.$ac_objext'
48458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48459 (eval $ac_try) 2>&5
48460 ac_status=$?
48461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48462 (exit $ac_status); }; }; then
48463 glibcxx_cv_func__finitel_use=yes
48464 else
48465 echo "$as_me: failed program was:" >&5
48466 sed 's/^/| /' conftest.$ac_ext >&5
48468 glibcxx_cv_func__finitel_use=no
48470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48471 ac_ext=c
48472 ac_cpp='$CPP $CPPFLAGS'
48473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48481 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
48482 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
48484 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48486 for ac_func in _finitel
48488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48489 echo "$as_me:$LINENO: checking for $ac_func" >&5
48490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48491 if eval "test \"\${$as_ac_var+set}\" = set"; then
48492 echo $ECHO_N "(cached) $ECHO_C" >&6
48493 else
48494 if test x$gcc_no_link = xyes; then
48495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48497 { (exit 1); exit 1; }; }
48499 cat >conftest.$ac_ext <<_ACEOF
48500 /* confdefs.h. */
48501 _ACEOF
48502 cat confdefs.h >>conftest.$ac_ext
48503 cat >>conftest.$ac_ext <<_ACEOF
48504 /* end confdefs.h. */
48505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48507 #define $ac_func innocuous_$ac_func
48509 /* System header to define __stub macros and hopefully few prototypes,
48510 which can conflict with char $ac_func (); below.
48511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48512 <limits.h> exists even on freestanding compilers. */
48514 #ifdef __STDC__
48515 # include <limits.h>
48516 #else
48517 # include <assert.h>
48518 #endif
48520 #undef $ac_func
48522 /* Override any gcc2 internal prototype to avoid an error. */
48523 #ifdef __cplusplus
48524 extern "C"
48526 #endif
48527 /* We use char because int might match the return type of a gcc2
48528 builtin and then its argument prototype would still apply. */
48529 char $ac_func ();
48530 /* The GNU C library defines this for functions which it implements
48531 to always fail with ENOSYS. Some functions are actually named
48532 something starting with __ and the normal name is an alias. */
48533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48534 choke me
48535 #else
48536 char (*f) () = $ac_func;
48537 #endif
48538 #ifdef __cplusplus
48540 #endif
48543 main ()
48545 return f != $ac_func;
48547 return 0;
48549 _ACEOF
48550 rm -f conftest.$ac_objext conftest$ac_exeext
48551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48552 (eval $ac_link) 2>conftest.er1
48553 ac_status=$?
48554 grep -v '^ *+' conftest.er1 >conftest.err
48555 rm -f conftest.er1
48556 cat conftest.err >&5
48557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48558 (exit $ac_status); } &&
48559 { ac_try='test -z "$ac_c_werror_flag"
48560 || test ! -s conftest.err'
48561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48562 (eval $ac_try) 2>&5
48563 ac_status=$?
48564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48565 (exit $ac_status); }; } &&
48566 { ac_try='test -s conftest$ac_exeext'
48567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48568 (eval $ac_try) 2>&5
48569 ac_status=$?
48570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48571 (exit $ac_status); }; }; then
48572 eval "$as_ac_var=yes"
48573 else
48574 echo "$as_me: failed program was:" >&5
48575 sed 's/^/| /' conftest.$ac_ext >&5
48577 eval "$as_ac_var=no"
48579 rm -f conftest.err conftest.$ac_objext \
48580 conftest$ac_exeext conftest.$ac_ext
48582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48584 if test `eval echo '${'$as_ac_var'}'` = yes; then
48585 cat >>confdefs.h <<_ACEOF
48586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48587 _ACEOF
48590 done
48599 LIBS="$ac_save_LIBS"
48600 CXXFLAGS="$ac_save_CXXFLAGS"
48604 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48605 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48606 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48607 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48608 echo $ECHO_N "(cached) $ECHO_C" >&6
48609 else
48613 ac_ext=cc
48614 ac_cpp='$CXXCPP $CPPFLAGS'
48615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48619 cat >conftest.$ac_ext <<_ACEOF
48620 /* confdefs.h. */
48621 _ACEOF
48622 cat confdefs.h >>conftest.$ac_ext
48623 cat >>conftest.$ac_ext <<_ACEOF
48624 /* end confdefs.h. */
48625 #include <math.h>
48627 main ()
48629 __builtin_abs(0);
48631 return 0;
48633 _ACEOF
48634 rm -f conftest.$ac_objext
48635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48636 (eval $ac_compile) 2>conftest.er1
48637 ac_status=$?
48638 grep -v '^ *+' conftest.er1 >conftest.err
48639 rm -f conftest.er1
48640 cat conftest.err >&5
48641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48642 (exit $ac_status); } &&
48643 { ac_try='test -z "$ac_cxx_werror_flag"
48644 || test ! -s conftest.err'
48645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48646 (eval $ac_try) 2>&5
48647 ac_status=$?
48648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48649 (exit $ac_status); }; } &&
48650 { ac_try='test -s conftest.$ac_objext'
48651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48652 (eval $ac_try) 2>&5
48653 ac_status=$?
48654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48655 (exit $ac_status); }; }; then
48656 glibcxx_cv_func___builtin_abs_use=yes
48657 else
48658 echo "$as_me: failed program was:" >&5
48659 sed 's/^/| /' conftest.$ac_ext >&5
48661 glibcxx_cv_func___builtin_abs_use=no
48663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48664 ac_ext=c
48665 ac_cpp='$CPP $CPPFLAGS'
48666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48674 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48675 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48676 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48677 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48678 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48679 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48680 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48681 echo $ECHO_N "(cached) $ECHO_C" >&6
48682 else
48684 if test x$gcc_no_link = xyes; then
48685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48687 { (exit 1); exit 1; }; }
48689 cat >conftest.$ac_ext <<_ACEOF
48690 /* confdefs.h. */
48691 _ACEOF
48692 cat confdefs.h >>conftest.$ac_ext
48693 cat >>conftest.$ac_ext <<_ACEOF
48694 /* end confdefs.h. */
48695 #include <math.h>
48697 main ()
48699 __builtin_abs(0);
48701 return 0;
48703 _ACEOF
48704 rm -f conftest.$ac_objext conftest$ac_exeext
48705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48706 (eval $ac_link) 2>conftest.er1
48707 ac_status=$?
48708 grep -v '^ *+' conftest.er1 >conftest.err
48709 rm -f conftest.er1
48710 cat conftest.err >&5
48711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48712 (exit $ac_status); } &&
48713 { ac_try='test -z "$ac_c_werror_flag"
48714 || test ! -s conftest.err'
48715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48716 (eval $ac_try) 2>&5
48717 ac_status=$?
48718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48719 (exit $ac_status); }; } &&
48720 { ac_try='test -s conftest$ac_exeext'
48721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48722 (eval $ac_try) 2>&5
48723 ac_status=$?
48724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48725 (exit $ac_status); }; }; then
48726 glibcxx_cv_func___builtin_abs_link=yes
48727 else
48728 echo "$as_me: failed program was:" >&5
48729 sed 's/^/| /' conftest.$ac_ext >&5
48731 glibcxx_cv_func___builtin_abs_link=no
48733 rm -f conftest.err conftest.$ac_objext \
48734 conftest$ac_exeext conftest.$ac_ext
48739 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48740 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48742 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48744 cat >>confdefs.h <<\_ACEOF
48745 #define HAVE___BUILTIN_ABS 1
48746 _ACEOF
48753 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48754 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48755 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48756 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48757 echo $ECHO_N "(cached) $ECHO_C" >&6
48758 else
48762 ac_ext=cc
48763 ac_cpp='$CXXCPP $CPPFLAGS'
48764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48768 cat >conftest.$ac_ext <<_ACEOF
48769 /* confdefs.h. */
48770 _ACEOF
48771 cat confdefs.h >>conftest.$ac_ext
48772 cat >>conftest.$ac_ext <<_ACEOF
48773 /* end confdefs.h. */
48774 #include <math.h>
48776 main ()
48778 __builtin_fabsf(0);
48780 return 0;
48782 _ACEOF
48783 rm -f conftest.$ac_objext
48784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48785 (eval $ac_compile) 2>conftest.er1
48786 ac_status=$?
48787 grep -v '^ *+' conftest.er1 >conftest.err
48788 rm -f conftest.er1
48789 cat conftest.err >&5
48790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48791 (exit $ac_status); } &&
48792 { ac_try='test -z "$ac_cxx_werror_flag"
48793 || test ! -s conftest.err'
48794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48795 (eval $ac_try) 2>&5
48796 ac_status=$?
48797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48798 (exit $ac_status); }; } &&
48799 { ac_try='test -s conftest.$ac_objext'
48800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48801 (eval $ac_try) 2>&5
48802 ac_status=$?
48803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48804 (exit $ac_status); }; }; then
48805 glibcxx_cv_func___builtin_fabsf_use=yes
48806 else
48807 echo "$as_me: failed program was:" >&5
48808 sed 's/^/| /' conftest.$ac_ext >&5
48810 glibcxx_cv_func___builtin_fabsf_use=no
48812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48813 ac_ext=c
48814 ac_cpp='$CPP $CPPFLAGS'
48815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48823 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48824 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48825 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48826 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48827 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48828 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48829 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48830 echo $ECHO_N "(cached) $ECHO_C" >&6
48831 else
48833 if test x$gcc_no_link = xyes; then
48834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48836 { (exit 1); exit 1; }; }
48838 cat >conftest.$ac_ext <<_ACEOF
48839 /* confdefs.h. */
48840 _ACEOF
48841 cat confdefs.h >>conftest.$ac_ext
48842 cat >>conftest.$ac_ext <<_ACEOF
48843 /* end confdefs.h. */
48844 #include <math.h>
48846 main ()
48848 __builtin_fabsf(0);
48850 return 0;
48852 _ACEOF
48853 rm -f conftest.$ac_objext conftest$ac_exeext
48854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48855 (eval $ac_link) 2>conftest.er1
48856 ac_status=$?
48857 grep -v '^ *+' conftest.er1 >conftest.err
48858 rm -f conftest.er1
48859 cat conftest.err >&5
48860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48861 (exit $ac_status); } &&
48862 { ac_try='test -z "$ac_c_werror_flag"
48863 || test ! -s conftest.err'
48864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48865 (eval $ac_try) 2>&5
48866 ac_status=$?
48867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48868 (exit $ac_status); }; } &&
48869 { ac_try='test -s conftest$ac_exeext'
48870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48871 (eval $ac_try) 2>&5
48872 ac_status=$?
48873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48874 (exit $ac_status); }; }; then
48875 glibcxx_cv_func___builtin_fabsf_link=yes
48876 else
48877 echo "$as_me: failed program was:" >&5
48878 sed 's/^/| /' conftest.$ac_ext >&5
48880 glibcxx_cv_func___builtin_fabsf_link=no
48882 rm -f conftest.err conftest.$ac_objext \
48883 conftest$ac_exeext conftest.$ac_ext
48888 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48889 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48891 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48893 cat >>confdefs.h <<\_ACEOF
48894 #define HAVE___BUILTIN_FABSF 1
48895 _ACEOF
48902 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48903 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48904 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48905 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48906 echo $ECHO_N "(cached) $ECHO_C" >&6
48907 else
48911 ac_ext=cc
48912 ac_cpp='$CXXCPP $CPPFLAGS'
48913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48917 cat >conftest.$ac_ext <<_ACEOF
48918 /* confdefs.h. */
48919 _ACEOF
48920 cat confdefs.h >>conftest.$ac_ext
48921 cat >>conftest.$ac_ext <<_ACEOF
48922 /* end confdefs.h. */
48923 #include <math.h>
48925 main ()
48927 __builtin_fabs(0);
48929 return 0;
48931 _ACEOF
48932 rm -f conftest.$ac_objext
48933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48934 (eval $ac_compile) 2>conftest.er1
48935 ac_status=$?
48936 grep -v '^ *+' conftest.er1 >conftest.err
48937 rm -f conftest.er1
48938 cat conftest.err >&5
48939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48940 (exit $ac_status); } &&
48941 { ac_try='test -z "$ac_cxx_werror_flag"
48942 || test ! -s conftest.err'
48943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48944 (eval $ac_try) 2>&5
48945 ac_status=$?
48946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48947 (exit $ac_status); }; } &&
48948 { ac_try='test -s conftest.$ac_objext'
48949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48950 (eval $ac_try) 2>&5
48951 ac_status=$?
48952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48953 (exit $ac_status); }; }; then
48954 glibcxx_cv_func___builtin_fabs_use=yes
48955 else
48956 echo "$as_me: failed program was:" >&5
48957 sed 's/^/| /' conftest.$ac_ext >&5
48959 glibcxx_cv_func___builtin_fabs_use=no
48961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48962 ac_ext=c
48963 ac_cpp='$CPP $CPPFLAGS'
48964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48972 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48973 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48974 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48975 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48976 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48977 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48978 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48979 echo $ECHO_N "(cached) $ECHO_C" >&6
48980 else
48982 if test x$gcc_no_link = xyes; then
48983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48985 { (exit 1); exit 1; }; }
48987 cat >conftest.$ac_ext <<_ACEOF
48988 /* confdefs.h. */
48989 _ACEOF
48990 cat confdefs.h >>conftest.$ac_ext
48991 cat >>conftest.$ac_ext <<_ACEOF
48992 /* end confdefs.h. */
48993 #include <math.h>
48995 main ()
48997 __builtin_fabs(0);
48999 return 0;
49001 _ACEOF
49002 rm -f conftest.$ac_objext conftest$ac_exeext
49003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49004 (eval $ac_link) 2>conftest.er1
49005 ac_status=$?
49006 grep -v '^ *+' conftest.er1 >conftest.err
49007 rm -f conftest.er1
49008 cat conftest.err >&5
49009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49010 (exit $ac_status); } &&
49011 { ac_try='test -z "$ac_c_werror_flag"
49012 || test ! -s conftest.err'
49013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49014 (eval $ac_try) 2>&5
49015 ac_status=$?
49016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49017 (exit $ac_status); }; } &&
49018 { ac_try='test -s conftest$ac_exeext'
49019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49020 (eval $ac_try) 2>&5
49021 ac_status=$?
49022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49023 (exit $ac_status); }; }; then
49024 glibcxx_cv_func___builtin_fabs_link=yes
49025 else
49026 echo "$as_me: failed program was:" >&5
49027 sed 's/^/| /' conftest.$ac_ext >&5
49029 glibcxx_cv_func___builtin_fabs_link=no
49031 rm -f conftest.err conftest.$ac_objext \
49032 conftest$ac_exeext conftest.$ac_ext
49037 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
49038 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
49040 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
49042 cat >>confdefs.h <<\_ACEOF
49043 #define HAVE___BUILTIN_FABS 1
49044 _ACEOF
49051 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
49052 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
49053 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
49054 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
49055 echo $ECHO_N "(cached) $ECHO_C" >&6
49056 else
49060 ac_ext=cc
49061 ac_cpp='$CXXCPP $CPPFLAGS'
49062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49066 cat >conftest.$ac_ext <<_ACEOF
49067 /* confdefs.h. */
49068 _ACEOF
49069 cat confdefs.h >>conftest.$ac_ext
49070 cat >>conftest.$ac_ext <<_ACEOF
49071 /* end confdefs.h. */
49072 #include <math.h>
49074 main ()
49076 __builtin_fabsl(0);
49078 return 0;
49080 _ACEOF
49081 rm -f conftest.$ac_objext
49082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49083 (eval $ac_compile) 2>conftest.er1
49084 ac_status=$?
49085 grep -v '^ *+' conftest.er1 >conftest.err
49086 rm -f conftest.er1
49087 cat conftest.err >&5
49088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49089 (exit $ac_status); } &&
49090 { ac_try='test -z "$ac_cxx_werror_flag"
49091 || test ! -s conftest.err'
49092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49093 (eval $ac_try) 2>&5
49094 ac_status=$?
49095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49096 (exit $ac_status); }; } &&
49097 { ac_try='test -s conftest.$ac_objext'
49098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49099 (eval $ac_try) 2>&5
49100 ac_status=$?
49101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49102 (exit $ac_status); }; }; then
49103 glibcxx_cv_func___builtin_fabsl_use=yes
49104 else
49105 echo "$as_me: failed program was:" >&5
49106 sed 's/^/| /' conftest.$ac_ext >&5
49108 glibcxx_cv_func___builtin_fabsl_use=no
49110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49111 ac_ext=c
49112 ac_cpp='$CPP $CPPFLAGS'
49113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49121 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
49122 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
49123 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
49124 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
49125 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
49126 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
49127 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
49128 echo $ECHO_N "(cached) $ECHO_C" >&6
49129 else
49131 if test x$gcc_no_link = xyes; then
49132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49134 { (exit 1); exit 1; }; }
49136 cat >conftest.$ac_ext <<_ACEOF
49137 /* confdefs.h. */
49138 _ACEOF
49139 cat confdefs.h >>conftest.$ac_ext
49140 cat >>conftest.$ac_ext <<_ACEOF
49141 /* end confdefs.h. */
49142 #include <math.h>
49144 main ()
49146 __builtin_fabsl(0);
49148 return 0;
49150 _ACEOF
49151 rm -f conftest.$ac_objext conftest$ac_exeext
49152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49153 (eval $ac_link) 2>conftest.er1
49154 ac_status=$?
49155 grep -v '^ *+' conftest.er1 >conftest.err
49156 rm -f conftest.er1
49157 cat conftest.err >&5
49158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49159 (exit $ac_status); } &&
49160 { ac_try='test -z "$ac_c_werror_flag"
49161 || test ! -s conftest.err'
49162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49163 (eval $ac_try) 2>&5
49164 ac_status=$?
49165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49166 (exit $ac_status); }; } &&
49167 { ac_try='test -s conftest$ac_exeext'
49168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49169 (eval $ac_try) 2>&5
49170 ac_status=$?
49171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49172 (exit $ac_status); }; }; then
49173 glibcxx_cv_func___builtin_fabsl_link=yes
49174 else
49175 echo "$as_me: failed program was:" >&5
49176 sed 's/^/| /' conftest.$ac_ext >&5
49178 glibcxx_cv_func___builtin_fabsl_link=no
49180 rm -f conftest.err conftest.$ac_objext \
49181 conftest$ac_exeext conftest.$ac_ext
49186 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
49187 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
49189 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
49191 cat >>confdefs.h <<\_ACEOF
49192 #define HAVE___BUILTIN_FABSL 1
49193 _ACEOF
49200 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49201 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49202 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49203 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49204 echo $ECHO_N "(cached) $ECHO_C" >&6
49205 else
49209 ac_ext=cc
49210 ac_cpp='$CXXCPP $CPPFLAGS'
49211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49215 cat >conftest.$ac_ext <<_ACEOF
49216 /* confdefs.h. */
49217 _ACEOF
49218 cat confdefs.h >>conftest.$ac_ext
49219 cat >>conftest.$ac_ext <<_ACEOF
49220 /* end confdefs.h. */
49221 #include <math.h>
49223 main ()
49225 __builtin_labs(0);
49227 return 0;
49229 _ACEOF
49230 rm -f conftest.$ac_objext
49231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49232 (eval $ac_compile) 2>conftest.er1
49233 ac_status=$?
49234 grep -v '^ *+' conftest.er1 >conftest.err
49235 rm -f conftest.er1
49236 cat conftest.err >&5
49237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49238 (exit $ac_status); } &&
49239 { ac_try='test -z "$ac_cxx_werror_flag"
49240 || test ! -s conftest.err'
49241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49242 (eval $ac_try) 2>&5
49243 ac_status=$?
49244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49245 (exit $ac_status); }; } &&
49246 { ac_try='test -s conftest.$ac_objext'
49247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49248 (eval $ac_try) 2>&5
49249 ac_status=$?
49250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49251 (exit $ac_status); }; }; then
49252 glibcxx_cv_func___builtin_labs_use=yes
49253 else
49254 echo "$as_me: failed program was:" >&5
49255 sed 's/^/| /' conftest.$ac_ext >&5
49257 glibcxx_cv_func___builtin_labs_use=no
49259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49260 ac_ext=c
49261 ac_cpp='$CPP $CPPFLAGS'
49262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49270 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49271 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49272 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49273 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49274 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49275 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49276 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49277 echo $ECHO_N "(cached) $ECHO_C" >&6
49278 else
49280 if test x$gcc_no_link = xyes; then
49281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49283 { (exit 1); exit 1; }; }
49285 cat >conftest.$ac_ext <<_ACEOF
49286 /* confdefs.h. */
49287 _ACEOF
49288 cat confdefs.h >>conftest.$ac_ext
49289 cat >>conftest.$ac_ext <<_ACEOF
49290 /* end confdefs.h. */
49291 #include <math.h>
49293 main ()
49295 __builtin_labs(0);
49297 return 0;
49299 _ACEOF
49300 rm -f conftest.$ac_objext conftest$ac_exeext
49301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49302 (eval $ac_link) 2>conftest.er1
49303 ac_status=$?
49304 grep -v '^ *+' conftest.er1 >conftest.err
49305 rm -f conftest.er1
49306 cat conftest.err >&5
49307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49308 (exit $ac_status); } &&
49309 { ac_try='test -z "$ac_c_werror_flag"
49310 || test ! -s conftest.err'
49311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49312 (eval $ac_try) 2>&5
49313 ac_status=$?
49314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49315 (exit $ac_status); }; } &&
49316 { ac_try='test -s conftest$ac_exeext'
49317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49318 (eval $ac_try) 2>&5
49319 ac_status=$?
49320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49321 (exit $ac_status); }; }; then
49322 glibcxx_cv_func___builtin_labs_link=yes
49323 else
49324 echo "$as_me: failed program was:" >&5
49325 sed 's/^/| /' conftest.$ac_ext >&5
49327 glibcxx_cv_func___builtin_labs_link=no
49329 rm -f conftest.err conftest.$ac_objext \
49330 conftest$ac_exeext conftest.$ac_ext
49335 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49336 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49338 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49340 cat >>confdefs.h <<\_ACEOF
49341 #define HAVE___BUILTIN_LABS 1
49342 _ACEOF
49350 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49351 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49352 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49353 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49354 echo $ECHO_N "(cached) $ECHO_C" >&6
49355 else
49359 ac_ext=cc
49360 ac_cpp='$CXXCPP $CPPFLAGS'
49361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49365 cat >conftest.$ac_ext <<_ACEOF
49366 /* confdefs.h. */
49367 _ACEOF
49368 cat confdefs.h >>conftest.$ac_ext
49369 cat >>conftest.$ac_ext <<_ACEOF
49370 /* end confdefs.h. */
49371 #include <math.h>
49373 main ()
49375 __builtin_sqrtf(0);
49377 return 0;
49379 _ACEOF
49380 rm -f conftest.$ac_objext
49381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49382 (eval $ac_compile) 2>conftest.er1
49383 ac_status=$?
49384 grep -v '^ *+' conftest.er1 >conftest.err
49385 rm -f conftest.er1
49386 cat conftest.err >&5
49387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49388 (exit $ac_status); } &&
49389 { ac_try='test -z "$ac_cxx_werror_flag"
49390 || test ! -s conftest.err'
49391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49392 (eval $ac_try) 2>&5
49393 ac_status=$?
49394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49395 (exit $ac_status); }; } &&
49396 { ac_try='test -s conftest.$ac_objext'
49397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49398 (eval $ac_try) 2>&5
49399 ac_status=$?
49400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49401 (exit $ac_status); }; }; then
49402 glibcxx_cv_func___builtin_sqrtf_use=yes
49403 else
49404 echo "$as_me: failed program was:" >&5
49405 sed 's/^/| /' conftest.$ac_ext >&5
49407 glibcxx_cv_func___builtin_sqrtf_use=no
49409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49410 ac_ext=c
49411 ac_cpp='$CPP $CPPFLAGS'
49412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49420 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49421 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49422 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49423 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49424 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49425 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49426 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49427 echo $ECHO_N "(cached) $ECHO_C" >&6
49428 else
49430 if test x$gcc_no_link = xyes; then
49431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49433 { (exit 1); exit 1; }; }
49435 cat >conftest.$ac_ext <<_ACEOF
49436 /* confdefs.h. */
49437 _ACEOF
49438 cat confdefs.h >>conftest.$ac_ext
49439 cat >>conftest.$ac_ext <<_ACEOF
49440 /* end confdefs.h. */
49441 #include <math.h>
49443 main ()
49445 __builtin_sqrtf(0);
49447 return 0;
49449 _ACEOF
49450 rm -f conftest.$ac_objext conftest$ac_exeext
49451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49452 (eval $ac_link) 2>conftest.er1
49453 ac_status=$?
49454 grep -v '^ *+' conftest.er1 >conftest.err
49455 rm -f conftest.er1
49456 cat conftest.err >&5
49457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49458 (exit $ac_status); } &&
49459 { ac_try='test -z "$ac_c_werror_flag"
49460 || test ! -s conftest.err'
49461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49462 (eval $ac_try) 2>&5
49463 ac_status=$?
49464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49465 (exit $ac_status); }; } &&
49466 { ac_try='test -s conftest$ac_exeext'
49467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49468 (eval $ac_try) 2>&5
49469 ac_status=$?
49470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49471 (exit $ac_status); }; }; then
49472 glibcxx_cv_func___builtin_sqrtf_link=yes
49473 else
49474 echo "$as_me: failed program was:" >&5
49475 sed 's/^/| /' conftest.$ac_ext >&5
49477 glibcxx_cv_func___builtin_sqrtf_link=no
49479 rm -f conftest.err conftest.$ac_objext \
49480 conftest$ac_exeext conftest.$ac_ext
49485 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49486 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49488 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49490 cat >>confdefs.h <<\_ACEOF
49491 #define HAVE___BUILTIN_SQRTF 1
49492 _ACEOF
49499 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49500 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49501 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49502 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49503 echo $ECHO_N "(cached) $ECHO_C" >&6
49504 else
49508 ac_ext=cc
49509 ac_cpp='$CXXCPP $CPPFLAGS'
49510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49514 cat >conftest.$ac_ext <<_ACEOF
49515 /* confdefs.h. */
49516 _ACEOF
49517 cat confdefs.h >>conftest.$ac_ext
49518 cat >>conftest.$ac_ext <<_ACEOF
49519 /* end confdefs.h. */
49520 #include <math.h>
49522 main ()
49524 __builtin_sqrt(0);
49526 return 0;
49528 _ACEOF
49529 rm -f conftest.$ac_objext
49530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49531 (eval $ac_compile) 2>conftest.er1
49532 ac_status=$?
49533 grep -v '^ *+' conftest.er1 >conftest.err
49534 rm -f conftest.er1
49535 cat conftest.err >&5
49536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49537 (exit $ac_status); } &&
49538 { ac_try='test -z "$ac_cxx_werror_flag"
49539 || test ! -s conftest.err'
49540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49541 (eval $ac_try) 2>&5
49542 ac_status=$?
49543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49544 (exit $ac_status); }; } &&
49545 { ac_try='test -s conftest.$ac_objext'
49546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49547 (eval $ac_try) 2>&5
49548 ac_status=$?
49549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49550 (exit $ac_status); }; }; then
49551 glibcxx_cv_func___builtin_sqrt_use=yes
49552 else
49553 echo "$as_me: failed program was:" >&5
49554 sed 's/^/| /' conftest.$ac_ext >&5
49556 glibcxx_cv_func___builtin_sqrt_use=no
49558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49559 ac_ext=c
49560 ac_cpp='$CPP $CPPFLAGS'
49561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49569 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49570 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49571 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49572 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49573 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49574 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49575 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49576 echo $ECHO_N "(cached) $ECHO_C" >&6
49577 else
49579 if test x$gcc_no_link = xyes; then
49580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49582 { (exit 1); exit 1; }; }
49584 cat >conftest.$ac_ext <<_ACEOF
49585 /* confdefs.h. */
49586 _ACEOF
49587 cat confdefs.h >>conftest.$ac_ext
49588 cat >>conftest.$ac_ext <<_ACEOF
49589 /* end confdefs.h. */
49590 #include <math.h>
49592 main ()
49594 __builtin_sqrt(0);
49596 return 0;
49598 _ACEOF
49599 rm -f conftest.$ac_objext conftest$ac_exeext
49600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49601 (eval $ac_link) 2>conftest.er1
49602 ac_status=$?
49603 grep -v '^ *+' conftest.er1 >conftest.err
49604 rm -f conftest.er1
49605 cat conftest.err >&5
49606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49607 (exit $ac_status); } &&
49608 { ac_try='test -z "$ac_c_werror_flag"
49609 || test ! -s conftest.err'
49610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49611 (eval $ac_try) 2>&5
49612 ac_status=$?
49613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49614 (exit $ac_status); }; } &&
49615 { ac_try='test -s conftest$ac_exeext'
49616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49617 (eval $ac_try) 2>&5
49618 ac_status=$?
49619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49620 (exit $ac_status); }; }; then
49621 glibcxx_cv_func___builtin_sqrt_link=yes
49622 else
49623 echo "$as_me: failed program was:" >&5
49624 sed 's/^/| /' conftest.$ac_ext >&5
49626 glibcxx_cv_func___builtin_sqrt_link=no
49628 rm -f conftest.err conftest.$ac_objext \
49629 conftest$ac_exeext conftest.$ac_ext
49634 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49635 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49637 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49639 cat >>confdefs.h <<\_ACEOF
49640 #define HAVE___BUILTIN_SQRT 1
49641 _ACEOF
49648 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49649 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49650 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49651 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49652 echo $ECHO_N "(cached) $ECHO_C" >&6
49653 else
49657 ac_ext=cc
49658 ac_cpp='$CXXCPP $CPPFLAGS'
49659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49663 cat >conftest.$ac_ext <<_ACEOF
49664 /* confdefs.h. */
49665 _ACEOF
49666 cat confdefs.h >>conftest.$ac_ext
49667 cat >>conftest.$ac_ext <<_ACEOF
49668 /* end confdefs.h. */
49669 #include <math.h>
49671 main ()
49673 __builtin_sqrtl(0);
49675 return 0;
49677 _ACEOF
49678 rm -f conftest.$ac_objext
49679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49680 (eval $ac_compile) 2>conftest.er1
49681 ac_status=$?
49682 grep -v '^ *+' conftest.er1 >conftest.err
49683 rm -f conftest.er1
49684 cat conftest.err >&5
49685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49686 (exit $ac_status); } &&
49687 { ac_try='test -z "$ac_cxx_werror_flag"
49688 || test ! -s conftest.err'
49689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49690 (eval $ac_try) 2>&5
49691 ac_status=$?
49692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49693 (exit $ac_status); }; } &&
49694 { ac_try='test -s conftest.$ac_objext'
49695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49696 (eval $ac_try) 2>&5
49697 ac_status=$?
49698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49699 (exit $ac_status); }; }; then
49700 glibcxx_cv_func___builtin_sqrtl_use=yes
49701 else
49702 echo "$as_me: failed program was:" >&5
49703 sed 's/^/| /' conftest.$ac_ext >&5
49705 glibcxx_cv_func___builtin_sqrtl_use=no
49707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49708 ac_ext=c
49709 ac_cpp='$CPP $CPPFLAGS'
49710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49718 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49719 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49720 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49721 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49722 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49723 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49724 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49725 echo $ECHO_N "(cached) $ECHO_C" >&6
49726 else
49728 if test x$gcc_no_link = xyes; then
49729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49731 { (exit 1); exit 1; }; }
49733 cat >conftest.$ac_ext <<_ACEOF
49734 /* confdefs.h. */
49735 _ACEOF
49736 cat confdefs.h >>conftest.$ac_ext
49737 cat >>conftest.$ac_ext <<_ACEOF
49738 /* end confdefs.h. */
49739 #include <math.h>
49741 main ()
49743 __builtin_sqrtl(0);
49745 return 0;
49747 _ACEOF
49748 rm -f conftest.$ac_objext conftest$ac_exeext
49749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49750 (eval $ac_link) 2>conftest.er1
49751 ac_status=$?
49752 grep -v '^ *+' conftest.er1 >conftest.err
49753 rm -f conftest.er1
49754 cat conftest.err >&5
49755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49756 (exit $ac_status); } &&
49757 { ac_try='test -z "$ac_c_werror_flag"
49758 || test ! -s conftest.err'
49759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49760 (eval $ac_try) 2>&5
49761 ac_status=$?
49762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49763 (exit $ac_status); }; } &&
49764 { ac_try='test -s conftest$ac_exeext'
49765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49766 (eval $ac_try) 2>&5
49767 ac_status=$?
49768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49769 (exit $ac_status); }; }; then
49770 glibcxx_cv_func___builtin_sqrtl_link=yes
49771 else
49772 echo "$as_me: failed program was:" >&5
49773 sed 's/^/| /' conftest.$ac_ext >&5
49775 glibcxx_cv_func___builtin_sqrtl_link=no
49777 rm -f conftest.err conftest.$ac_objext \
49778 conftest$ac_exeext conftest.$ac_ext
49783 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49784 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49786 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49788 cat >>confdefs.h <<\_ACEOF
49789 #define HAVE___BUILTIN_SQRTL 1
49790 _ACEOF
49798 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49799 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49800 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49801 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49802 echo $ECHO_N "(cached) $ECHO_C" >&6
49803 else
49807 ac_ext=cc
49808 ac_cpp='$CXXCPP $CPPFLAGS'
49809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49813 cat >conftest.$ac_ext <<_ACEOF
49814 /* confdefs.h. */
49815 _ACEOF
49816 cat confdefs.h >>conftest.$ac_ext
49817 cat >>conftest.$ac_ext <<_ACEOF
49818 /* end confdefs.h. */
49819 #include <math.h>
49821 main ()
49823 __builtin_sinf(0);
49825 return 0;
49827 _ACEOF
49828 rm -f conftest.$ac_objext
49829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49830 (eval $ac_compile) 2>conftest.er1
49831 ac_status=$?
49832 grep -v '^ *+' conftest.er1 >conftest.err
49833 rm -f conftest.er1
49834 cat conftest.err >&5
49835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49836 (exit $ac_status); } &&
49837 { ac_try='test -z "$ac_cxx_werror_flag"
49838 || test ! -s conftest.err'
49839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49840 (eval $ac_try) 2>&5
49841 ac_status=$?
49842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49843 (exit $ac_status); }; } &&
49844 { ac_try='test -s conftest.$ac_objext'
49845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49846 (eval $ac_try) 2>&5
49847 ac_status=$?
49848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49849 (exit $ac_status); }; }; then
49850 glibcxx_cv_func___builtin_sinf_use=yes
49851 else
49852 echo "$as_me: failed program was:" >&5
49853 sed 's/^/| /' conftest.$ac_ext >&5
49855 glibcxx_cv_func___builtin_sinf_use=no
49857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49858 ac_ext=c
49859 ac_cpp='$CPP $CPPFLAGS'
49860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49868 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49869 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49870 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49871 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49872 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49873 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49874 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49875 echo $ECHO_N "(cached) $ECHO_C" >&6
49876 else
49878 if test x$gcc_no_link = xyes; then
49879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49881 { (exit 1); exit 1; }; }
49883 cat >conftest.$ac_ext <<_ACEOF
49884 /* confdefs.h. */
49885 _ACEOF
49886 cat confdefs.h >>conftest.$ac_ext
49887 cat >>conftest.$ac_ext <<_ACEOF
49888 /* end confdefs.h. */
49889 #include <math.h>
49891 main ()
49893 __builtin_sinf(0);
49895 return 0;
49897 _ACEOF
49898 rm -f conftest.$ac_objext conftest$ac_exeext
49899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49900 (eval $ac_link) 2>conftest.er1
49901 ac_status=$?
49902 grep -v '^ *+' conftest.er1 >conftest.err
49903 rm -f conftest.er1
49904 cat conftest.err >&5
49905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49906 (exit $ac_status); } &&
49907 { ac_try='test -z "$ac_c_werror_flag"
49908 || test ! -s conftest.err'
49909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49910 (eval $ac_try) 2>&5
49911 ac_status=$?
49912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49913 (exit $ac_status); }; } &&
49914 { ac_try='test -s conftest$ac_exeext'
49915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49916 (eval $ac_try) 2>&5
49917 ac_status=$?
49918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49919 (exit $ac_status); }; }; then
49920 glibcxx_cv_func___builtin_sinf_link=yes
49921 else
49922 echo "$as_me: failed program was:" >&5
49923 sed 's/^/| /' conftest.$ac_ext >&5
49925 glibcxx_cv_func___builtin_sinf_link=no
49927 rm -f conftest.err conftest.$ac_objext \
49928 conftest$ac_exeext conftest.$ac_ext
49933 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49934 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49936 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49938 cat >>confdefs.h <<\_ACEOF
49939 #define HAVE___BUILTIN_SINF 1
49940 _ACEOF
49947 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49948 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49949 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49950 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49951 echo $ECHO_N "(cached) $ECHO_C" >&6
49952 else
49956 ac_ext=cc
49957 ac_cpp='$CXXCPP $CPPFLAGS'
49958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49962 cat >conftest.$ac_ext <<_ACEOF
49963 /* confdefs.h. */
49964 _ACEOF
49965 cat confdefs.h >>conftest.$ac_ext
49966 cat >>conftest.$ac_ext <<_ACEOF
49967 /* end confdefs.h. */
49968 #include <math.h>
49970 main ()
49972 __builtin_sin(0);
49974 return 0;
49976 _ACEOF
49977 rm -f conftest.$ac_objext
49978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49979 (eval $ac_compile) 2>conftest.er1
49980 ac_status=$?
49981 grep -v '^ *+' conftest.er1 >conftest.err
49982 rm -f conftest.er1
49983 cat conftest.err >&5
49984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49985 (exit $ac_status); } &&
49986 { ac_try='test -z "$ac_cxx_werror_flag"
49987 || test ! -s conftest.err'
49988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49989 (eval $ac_try) 2>&5
49990 ac_status=$?
49991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49992 (exit $ac_status); }; } &&
49993 { ac_try='test -s conftest.$ac_objext'
49994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49995 (eval $ac_try) 2>&5
49996 ac_status=$?
49997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49998 (exit $ac_status); }; }; then
49999 glibcxx_cv_func___builtin_sin_use=yes
50000 else
50001 echo "$as_me: failed program was:" >&5
50002 sed 's/^/| /' conftest.$ac_ext >&5
50004 glibcxx_cv_func___builtin_sin_use=no
50006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50007 ac_ext=c
50008 ac_cpp='$CPP $CPPFLAGS'
50009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50017 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
50018 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
50019 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
50020 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
50021 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
50022 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
50023 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
50024 echo $ECHO_N "(cached) $ECHO_C" >&6
50025 else
50027 if test x$gcc_no_link = xyes; then
50028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50030 { (exit 1); exit 1; }; }
50032 cat >conftest.$ac_ext <<_ACEOF
50033 /* confdefs.h. */
50034 _ACEOF
50035 cat confdefs.h >>conftest.$ac_ext
50036 cat >>conftest.$ac_ext <<_ACEOF
50037 /* end confdefs.h. */
50038 #include <math.h>
50040 main ()
50042 __builtin_sin(0);
50044 return 0;
50046 _ACEOF
50047 rm -f conftest.$ac_objext conftest$ac_exeext
50048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50049 (eval $ac_link) 2>conftest.er1
50050 ac_status=$?
50051 grep -v '^ *+' conftest.er1 >conftest.err
50052 rm -f conftest.er1
50053 cat conftest.err >&5
50054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50055 (exit $ac_status); } &&
50056 { ac_try='test -z "$ac_c_werror_flag"
50057 || test ! -s conftest.err'
50058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50059 (eval $ac_try) 2>&5
50060 ac_status=$?
50061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50062 (exit $ac_status); }; } &&
50063 { ac_try='test -s conftest$ac_exeext'
50064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50065 (eval $ac_try) 2>&5
50066 ac_status=$?
50067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50068 (exit $ac_status); }; }; then
50069 glibcxx_cv_func___builtin_sin_link=yes
50070 else
50071 echo "$as_me: failed program was:" >&5
50072 sed 's/^/| /' conftest.$ac_ext >&5
50074 glibcxx_cv_func___builtin_sin_link=no
50076 rm -f conftest.err conftest.$ac_objext \
50077 conftest$ac_exeext conftest.$ac_ext
50082 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
50083 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
50085 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
50087 cat >>confdefs.h <<\_ACEOF
50088 #define HAVE___BUILTIN_SIN 1
50089 _ACEOF
50096 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
50097 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
50098 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
50099 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
50100 echo $ECHO_N "(cached) $ECHO_C" >&6
50101 else
50105 ac_ext=cc
50106 ac_cpp='$CXXCPP $CPPFLAGS'
50107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50111 cat >conftest.$ac_ext <<_ACEOF
50112 /* confdefs.h. */
50113 _ACEOF
50114 cat confdefs.h >>conftest.$ac_ext
50115 cat >>conftest.$ac_ext <<_ACEOF
50116 /* end confdefs.h. */
50117 #include <math.h>
50119 main ()
50121 __builtin_sinl(0);
50123 return 0;
50125 _ACEOF
50126 rm -f conftest.$ac_objext
50127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50128 (eval $ac_compile) 2>conftest.er1
50129 ac_status=$?
50130 grep -v '^ *+' conftest.er1 >conftest.err
50131 rm -f conftest.er1
50132 cat conftest.err >&5
50133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50134 (exit $ac_status); } &&
50135 { ac_try='test -z "$ac_cxx_werror_flag"
50136 || test ! -s conftest.err'
50137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50138 (eval $ac_try) 2>&5
50139 ac_status=$?
50140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50141 (exit $ac_status); }; } &&
50142 { ac_try='test -s conftest.$ac_objext'
50143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50144 (eval $ac_try) 2>&5
50145 ac_status=$?
50146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50147 (exit $ac_status); }; }; then
50148 glibcxx_cv_func___builtin_sinl_use=yes
50149 else
50150 echo "$as_me: failed program was:" >&5
50151 sed 's/^/| /' conftest.$ac_ext >&5
50153 glibcxx_cv_func___builtin_sinl_use=no
50155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50156 ac_ext=c
50157 ac_cpp='$CPP $CPPFLAGS'
50158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50166 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
50167 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
50168 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
50169 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
50170 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
50171 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
50172 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
50173 echo $ECHO_N "(cached) $ECHO_C" >&6
50174 else
50176 if test x$gcc_no_link = xyes; then
50177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50179 { (exit 1); exit 1; }; }
50181 cat >conftest.$ac_ext <<_ACEOF
50182 /* confdefs.h. */
50183 _ACEOF
50184 cat confdefs.h >>conftest.$ac_ext
50185 cat >>conftest.$ac_ext <<_ACEOF
50186 /* end confdefs.h. */
50187 #include <math.h>
50189 main ()
50191 __builtin_sinl(0);
50193 return 0;
50195 _ACEOF
50196 rm -f conftest.$ac_objext conftest$ac_exeext
50197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50198 (eval $ac_link) 2>conftest.er1
50199 ac_status=$?
50200 grep -v '^ *+' conftest.er1 >conftest.err
50201 rm -f conftest.er1
50202 cat conftest.err >&5
50203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50204 (exit $ac_status); } &&
50205 { ac_try='test -z "$ac_c_werror_flag"
50206 || test ! -s conftest.err'
50207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50208 (eval $ac_try) 2>&5
50209 ac_status=$?
50210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50211 (exit $ac_status); }; } &&
50212 { ac_try='test -s conftest$ac_exeext'
50213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50214 (eval $ac_try) 2>&5
50215 ac_status=$?
50216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50217 (exit $ac_status); }; }; then
50218 glibcxx_cv_func___builtin_sinl_link=yes
50219 else
50220 echo "$as_me: failed program was:" >&5
50221 sed 's/^/| /' conftest.$ac_ext >&5
50223 glibcxx_cv_func___builtin_sinl_link=no
50225 rm -f conftest.err conftest.$ac_objext \
50226 conftest$ac_exeext conftest.$ac_ext
50231 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50232 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50234 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50236 cat >>confdefs.h <<\_ACEOF
50237 #define HAVE___BUILTIN_SINL 1
50238 _ACEOF
50246 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50247 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50248 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50249 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50250 echo $ECHO_N "(cached) $ECHO_C" >&6
50251 else
50255 ac_ext=cc
50256 ac_cpp='$CXXCPP $CPPFLAGS'
50257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50261 cat >conftest.$ac_ext <<_ACEOF
50262 /* confdefs.h. */
50263 _ACEOF
50264 cat confdefs.h >>conftest.$ac_ext
50265 cat >>conftest.$ac_ext <<_ACEOF
50266 /* end confdefs.h. */
50267 #include <math.h>
50269 main ()
50271 __builtin_cosf(0);
50273 return 0;
50275 _ACEOF
50276 rm -f conftest.$ac_objext
50277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50278 (eval $ac_compile) 2>conftest.er1
50279 ac_status=$?
50280 grep -v '^ *+' conftest.er1 >conftest.err
50281 rm -f conftest.er1
50282 cat conftest.err >&5
50283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50284 (exit $ac_status); } &&
50285 { ac_try='test -z "$ac_cxx_werror_flag"
50286 || test ! -s conftest.err'
50287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50288 (eval $ac_try) 2>&5
50289 ac_status=$?
50290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50291 (exit $ac_status); }; } &&
50292 { ac_try='test -s conftest.$ac_objext'
50293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50294 (eval $ac_try) 2>&5
50295 ac_status=$?
50296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50297 (exit $ac_status); }; }; then
50298 glibcxx_cv_func___builtin_cosf_use=yes
50299 else
50300 echo "$as_me: failed program was:" >&5
50301 sed 's/^/| /' conftest.$ac_ext >&5
50303 glibcxx_cv_func___builtin_cosf_use=no
50305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50306 ac_ext=c
50307 ac_cpp='$CPP $CPPFLAGS'
50308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50316 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50317 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50318 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50319 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50320 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50321 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50322 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50323 echo $ECHO_N "(cached) $ECHO_C" >&6
50324 else
50326 if test x$gcc_no_link = xyes; then
50327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50329 { (exit 1); exit 1; }; }
50331 cat >conftest.$ac_ext <<_ACEOF
50332 /* confdefs.h. */
50333 _ACEOF
50334 cat confdefs.h >>conftest.$ac_ext
50335 cat >>conftest.$ac_ext <<_ACEOF
50336 /* end confdefs.h. */
50337 #include <math.h>
50339 main ()
50341 __builtin_cosf(0);
50343 return 0;
50345 _ACEOF
50346 rm -f conftest.$ac_objext conftest$ac_exeext
50347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50348 (eval $ac_link) 2>conftest.er1
50349 ac_status=$?
50350 grep -v '^ *+' conftest.er1 >conftest.err
50351 rm -f conftest.er1
50352 cat conftest.err >&5
50353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50354 (exit $ac_status); } &&
50355 { ac_try='test -z "$ac_c_werror_flag"
50356 || test ! -s conftest.err'
50357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50358 (eval $ac_try) 2>&5
50359 ac_status=$?
50360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50361 (exit $ac_status); }; } &&
50362 { ac_try='test -s conftest$ac_exeext'
50363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50364 (eval $ac_try) 2>&5
50365 ac_status=$?
50366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50367 (exit $ac_status); }; }; then
50368 glibcxx_cv_func___builtin_cosf_link=yes
50369 else
50370 echo "$as_me: failed program was:" >&5
50371 sed 's/^/| /' conftest.$ac_ext >&5
50373 glibcxx_cv_func___builtin_cosf_link=no
50375 rm -f conftest.err conftest.$ac_objext \
50376 conftest$ac_exeext conftest.$ac_ext
50381 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50382 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50384 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50386 cat >>confdefs.h <<\_ACEOF
50387 #define HAVE___BUILTIN_COSF 1
50388 _ACEOF
50395 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50396 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50397 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50398 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50399 echo $ECHO_N "(cached) $ECHO_C" >&6
50400 else
50404 ac_ext=cc
50405 ac_cpp='$CXXCPP $CPPFLAGS'
50406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50410 cat >conftest.$ac_ext <<_ACEOF
50411 /* confdefs.h. */
50412 _ACEOF
50413 cat confdefs.h >>conftest.$ac_ext
50414 cat >>conftest.$ac_ext <<_ACEOF
50415 /* end confdefs.h. */
50416 #include <math.h>
50418 main ()
50420 __builtin_cos(0);
50422 return 0;
50424 _ACEOF
50425 rm -f conftest.$ac_objext
50426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50427 (eval $ac_compile) 2>conftest.er1
50428 ac_status=$?
50429 grep -v '^ *+' conftest.er1 >conftest.err
50430 rm -f conftest.er1
50431 cat conftest.err >&5
50432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50433 (exit $ac_status); } &&
50434 { ac_try='test -z "$ac_cxx_werror_flag"
50435 || test ! -s conftest.err'
50436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50437 (eval $ac_try) 2>&5
50438 ac_status=$?
50439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50440 (exit $ac_status); }; } &&
50441 { ac_try='test -s conftest.$ac_objext'
50442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50443 (eval $ac_try) 2>&5
50444 ac_status=$?
50445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50446 (exit $ac_status); }; }; then
50447 glibcxx_cv_func___builtin_cos_use=yes
50448 else
50449 echo "$as_me: failed program was:" >&5
50450 sed 's/^/| /' conftest.$ac_ext >&5
50452 glibcxx_cv_func___builtin_cos_use=no
50454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50455 ac_ext=c
50456 ac_cpp='$CPP $CPPFLAGS'
50457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50465 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50466 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50467 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50468 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50469 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50470 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50471 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50472 echo $ECHO_N "(cached) $ECHO_C" >&6
50473 else
50475 if test x$gcc_no_link = xyes; then
50476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50478 { (exit 1); exit 1; }; }
50480 cat >conftest.$ac_ext <<_ACEOF
50481 /* confdefs.h. */
50482 _ACEOF
50483 cat confdefs.h >>conftest.$ac_ext
50484 cat >>conftest.$ac_ext <<_ACEOF
50485 /* end confdefs.h. */
50486 #include <math.h>
50488 main ()
50490 __builtin_cos(0);
50492 return 0;
50494 _ACEOF
50495 rm -f conftest.$ac_objext conftest$ac_exeext
50496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50497 (eval $ac_link) 2>conftest.er1
50498 ac_status=$?
50499 grep -v '^ *+' conftest.er1 >conftest.err
50500 rm -f conftest.er1
50501 cat conftest.err >&5
50502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50503 (exit $ac_status); } &&
50504 { ac_try='test -z "$ac_c_werror_flag"
50505 || test ! -s conftest.err'
50506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50507 (eval $ac_try) 2>&5
50508 ac_status=$?
50509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50510 (exit $ac_status); }; } &&
50511 { ac_try='test -s conftest$ac_exeext'
50512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50513 (eval $ac_try) 2>&5
50514 ac_status=$?
50515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50516 (exit $ac_status); }; }; then
50517 glibcxx_cv_func___builtin_cos_link=yes
50518 else
50519 echo "$as_me: failed program was:" >&5
50520 sed 's/^/| /' conftest.$ac_ext >&5
50522 glibcxx_cv_func___builtin_cos_link=no
50524 rm -f conftest.err conftest.$ac_objext \
50525 conftest$ac_exeext conftest.$ac_ext
50530 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50531 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50533 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50535 cat >>confdefs.h <<\_ACEOF
50536 #define HAVE___BUILTIN_COS 1
50537 _ACEOF
50544 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50545 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50546 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50547 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50548 echo $ECHO_N "(cached) $ECHO_C" >&6
50549 else
50553 ac_ext=cc
50554 ac_cpp='$CXXCPP $CPPFLAGS'
50555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50559 cat >conftest.$ac_ext <<_ACEOF
50560 /* confdefs.h. */
50561 _ACEOF
50562 cat confdefs.h >>conftest.$ac_ext
50563 cat >>conftest.$ac_ext <<_ACEOF
50564 /* end confdefs.h. */
50565 #include <math.h>
50567 main ()
50569 __builtin_cosl(0);
50571 return 0;
50573 _ACEOF
50574 rm -f conftest.$ac_objext
50575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50576 (eval $ac_compile) 2>conftest.er1
50577 ac_status=$?
50578 grep -v '^ *+' conftest.er1 >conftest.err
50579 rm -f conftest.er1
50580 cat conftest.err >&5
50581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50582 (exit $ac_status); } &&
50583 { ac_try='test -z "$ac_cxx_werror_flag"
50584 || test ! -s conftest.err'
50585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50586 (eval $ac_try) 2>&5
50587 ac_status=$?
50588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50589 (exit $ac_status); }; } &&
50590 { ac_try='test -s conftest.$ac_objext'
50591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50592 (eval $ac_try) 2>&5
50593 ac_status=$?
50594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50595 (exit $ac_status); }; }; then
50596 glibcxx_cv_func___builtin_cosl_use=yes
50597 else
50598 echo "$as_me: failed program was:" >&5
50599 sed 's/^/| /' conftest.$ac_ext >&5
50601 glibcxx_cv_func___builtin_cosl_use=no
50603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50604 ac_ext=c
50605 ac_cpp='$CPP $CPPFLAGS'
50606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50614 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50615 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50616 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50617 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50618 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50619 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50620 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50621 echo $ECHO_N "(cached) $ECHO_C" >&6
50622 else
50624 if test x$gcc_no_link = xyes; then
50625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50627 { (exit 1); exit 1; }; }
50629 cat >conftest.$ac_ext <<_ACEOF
50630 /* confdefs.h. */
50631 _ACEOF
50632 cat confdefs.h >>conftest.$ac_ext
50633 cat >>conftest.$ac_ext <<_ACEOF
50634 /* end confdefs.h. */
50635 #include <math.h>
50637 main ()
50639 __builtin_cosl(0);
50641 return 0;
50643 _ACEOF
50644 rm -f conftest.$ac_objext conftest$ac_exeext
50645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50646 (eval $ac_link) 2>conftest.er1
50647 ac_status=$?
50648 grep -v '^ *+' conftest.er1 >conftest.err
50649 rm -f conftest.er1
50650 cat conftest.err >&5
50651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50652 (exit $ac_status); } &&
50653 { ac_try='test -z "$ac_c_werror_flag"
50654 || test ! -s conftest.err'
50655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50656 (eval $ac_try) 2>&5
50657 ac_status=$?
50658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50659 (exit $ac_status); }; } &&
50660 { ac_try='test -s conftest$ac_exeext'
50661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50662 (eval $ac_try) 2>&5
50663 ac_status=$?
50664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50665 (exit $ac_status); }; }; then
50666 glibcxx_cv_func___builtin_cosl_link=yes
50667 else
50668 echo "$as_me: failed program was:" >&5
50669 sed 's/^/| /' conftest.$ac_ext >&5
50671 glibcxx_cv_func___builtin_cosl_link=no
50673 rm -f conftest.err conftest.$ac_objext \
50674 conftest$ac_exeext conftest.$ac_ext
50679 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50680 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50682 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50684 cat >>confdefs.h <<\_ACEOF
50685 #define HAVE___BUILTIN_COSL 1
50686 _ACEOF
50695 echo "$as_me:$LINENO: checking for main in -lm" >&5
50696 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50697 if test "${ac_cv_lib_m_main+set}" = set; then
50698 echo $ECHO_N "(cached) $ECHO_C" >&6
50699 else
50700 ac_check_lib_save_LIBS=$LIBS
50701 LIBS="-lm $LIBS"
50702 if test x$gcc_no_link = xyes; then
50703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50705 { (exit 1); exit 1; }; }
50707 cat >conftest.$ac_ext <<_ACEOF
50708 /* confdefs.h. */
50709 _ACEOF
50710 cat confdefs.h >>conftest.$ac_ext
50711 cat >>conftest.$ac_ext <<_ACEOF
50712 /* end confdefs.h. */
50716 main ()
50718 main ();
50720 return 0;
50722 _ACEOF
50723 rm -f conftest.$ac_objext conftest$ac_exeext
50724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50725 (eval $ac_link) 2>conftest.er1
50726 ac_status=$?
50727 grep -v '^ *+' conftest.er1 >conftest.err
50728 rm -f conftest.er1
50729 cat conftest.err >&5
50730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50731 (exit $ac_status); } &&
50732 { ac_try='test -z "$ac_c_werror_flag"
50733 || test ! -s conftest.err'
50734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50735 (eval $ac_try) 2>&5
50736 ac_status=$?
50737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50738 (exit $ac_status); }; } &&
50739 { ac_try='test -s conftest$ac_exeext'
50740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50741 (eval $ac_try) 2>&5
50742 ac_status=$?
50743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50744 (exit $ac_status); }; }; then
50745 ac_cv_lib_m_main=yes
50746 else
50747 echo "$as_me: failed program was:" >&5
50748 sed 's/^/| /' conftest.$ac_ext >&5
50750 ac_cv_lib_m_main=no
50752 rm -f conftest.err conftest.$ac_objext \
50753 conftest$ac_exeext conftest.$ac_ext
50754 LIBS=$ac_check_lib_save_LIBS
50756 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50757 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50758 if test $ac_cv_lib_m_main = yes; then
50759 cat >>confdefs.h <<_ACEOF
50760 #define HAVE_LIBM 1
50761 _ACEOF
50763 LIBS="-lm $LIBS"
50768 for ac_func in copysignf
50770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50771 echo "$as_me:$LINENO: checking for $ac_func" >&5
50772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50773 if eval "test \"\${$as_ac_var+set}\" = set"; then
50774 echo $ECHO_N "(cached) $ECHO_C" >&6
50775 else
50776 if test x$gcc_no_link = xyes; then
50777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50779 { (exit 1); exit 1; }; }
50781 cat >conftest.$ac_ext <<_ACEOF
50782 /* confdefs.h. */
50783 _ACEOF
50784 cat confdefs.h >>conftest.$ac_ext
50785 cat >>conftest.$ac_ext <<_ACEOF
50786 /* end confdefs.h. */
50787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50789 #define $ac_func innocuous_$ac_func
50791 /* System header to define __stub macros and hopefully few prototypes,
50792 which can conflict with char $ac_func (); below.
50793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50794 <limits.h> exists even on freestanding compilers. */
50796 #ifdef __STDC__
50797 # include <limits.h>
50798 #else
50799 # include <assert.h>
50800 #endif
50802 #undef $ac_func
50804 /* Override any gcc2 internal prototype to avoid an error. */
50805 #ifdef __cplusplus
50806 extern "C"
50808 #endif
50809 /* We use char because int might match the return type of a gcc2
50810 builtin and then its argument prototype would still apply. */
50811 char $ac_func ();
50812 /* The GNU C library defines this for functions which it implements
50813 to always fail with ENOSYS. Some functions are actually named
50814 something starting with __ and the normal name is an alias. */
50815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50816 choke me
50817 #else
50818 char (*f) () = $ac_func;
50819 #endif
50820 #ifdef __cplusplus
50822 #endif
50825 main ()
50827 return f != $ac_func;
50829 return 0;
50831 _ACEOF
50832 rm -f conftest.$ac_objext conftest$ac_exeext
50833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50834 (eval $ac_link) 2>conftest.er1
50835 ac_status=$?
50836 grep -v '^ *+' conftest.er1 >conftest.err
50837 rm -f conftest.er1
50838 cat conftest.err >&5
50839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50840 (exit $ac_status); } &&
50841 { ac_try='test -z "$ac_c_werror_flag"
50842 || test ! -s conftest.err'
50843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50844 (eval $ac_try) 2>&5
50845 ac_status=$?
50846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50847 (exit $ac_status); }; } &&
50848 { ac_try='test -s conftest$ac_exeext'
50849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50850 (eval $ac_try) 2>&5
50851 ac_status=$?
50852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50853 (exit $ac_status); }; }; then
50854 eval "$as_ac_var=yes"
50855 else
50856 echo "$as_me: failed program was:" >&5
50857 sed 's/^/| /' conftest.$ac_ext >&5
50859 eval "$as_ac_var=no"
50861 rm -f conftest.err conftest.$ac_objext \
50862 conftest$ac_exeext conftest.$ac_ext
50864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50866 if test `eval echo '${'$as_ac_var'}'` = yes; then
50867 cat >>confdefs.h <<_ACEOF
50868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50869 _ACEOF
50871 else
50872 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50874 done
50878 for ac_func in __signbit
50880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50881 echo "$as_me:$LINENO: checking for $ac_func" >&5
50882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50883 if eval "test \"\${$as_ac_var+set}\" = set"; then
50884 echo $ECHO_N "(cached) $ECHO_C" >&6
50885 else
50886 if test x$gcc_no_link = xyes; then
50887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50889 { (exit 1); exit 1; }; }
50891 cat >conftest.$ac_ext <<_ACEOF
50892 /* confdefs.h. */
50893 _ACEOF
50894 cat confdefs.h >>conftest.$ac_ext
50895 cat >>conftest.$ac_ext <<_ACEOF
50896 /* end confdefs.h. */
50897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50899 #define $ac_func innocuous_$ac_func
50901 /* System header to define __stub macros and hopefully few prototypes,
50902 which can conflict with char $ac_func (); below.
50903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50904 <limits.h> exists even on freestanding compilers. */
50906 #ifdef __STDC__
50907 # include <limits.h>
50908 #else
50909 # include <assert.h>
50910 #endif
50912 #undef $ac_func
50914 /* Override any gcc2 internal prototype to avoid an error. */
50915 #ifdef __cplusplus
50916 extern "C"
50918 #endif
50919 /* We use char because int might match the return type of a gcc2
50920 builtin and then its argument prototype would still apply. */
50921 char $ac_func ();
50922 /* The GNU C library defines this for functions which it implements
50923 to always fail with ENOSYS. Some functions are actually named
50924 something starting with __ and the normal name is an alias. */
50925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50926 choke me
50927 #else
50928 char (*f) () = $ac_func;
50929 #endif
50930 #ifdef __cplusplus
50932 #endif
50935 main ()
50937 return f != $ac_func;
50939 return 0;
50941 _ACEOF
50942 rm -f conftest.$ac_objext conftest$ac_exeext
50943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50944 (eval $ac_link) 2>conftest.er1
50945 ac_status=$?
50946 grep -v '^ *+' conftest.er1 >conftest.err
50947 rm -f conftest.er1
50948 cat conftest.err >&5
50949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50950 (exit $ac_status); } &&
50951 { ac_try='test -z "$ac_c_werror_flag"
50952 || test ! -s conftest.err'
50953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50954 (eval $ac_try) 2>&5
50955 ac_status=$?
50956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50957 (exit $ac_status); }; } &&
50958 { ac_try='test -s conftest$ac_exeext'
50959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50960 (eval $ac_try) 2>&5
50961 ac_status=$?
50962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50963 (exit $ac_status); }; }; then
50964 eval "$as_ac_var=yes"
50965 else
50966 echo "$as_me: failed program was:" >&5
50967 sed 's/^/| /' conftest.$ac_ext >&5
50969 eval "$as_ac_var=no"
50971 rm -f conftest.err conftest.$ac_objext \
50972 conftest$ac_exeext conftest.$ac_ext
50974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50976 if test `eval echo '${'$as_ac_var'}'` = yes; then
50977 cat >>confdefs.h <<_ACEOF
50978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50979 _ACEOF
50981 else
50982 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50984 done
50988 for ac_func in __signbitf
50990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50991 echo "$as_me:$LINENO: checking for $ac_func" >&5
50992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50993 if eval "test \"\${$as_ac_var+set}\" = set"; then
50994 echo $ECHO_N "(cached) $ECHO_C" >&6
50995 else
50996 if test x$gcc_no_link = xyes; then
50997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50999 { (exit 1); exit 1; }; }
51001 cat >conftest.$ac_ext <<_ACEOF
51002 /* confdefs.h. */
51003 _ACEOF
51004 cat confdefs.h >>conftest.$ac_ext
51005 cat >>conftest.$ac_ext <<_ACEOF
51006 /* end confdefs.h. */
51007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51009 #define $ac_func innocuous_$ac_func
51011 /* System header to define __stub macros and hopefully few prototypes,
51012 which can conflict with char $ac_func (); below.
51013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51014 <limits.h> exists even on freestanding compilers. */
51016 #ifdef __STDC__
51017 # include <limits.h>
51018 #else
51019 # include <assert.h>
51020 #endif
51022 #undef $ac_func
51024 /* Override any gcc2 internal prototype to avoid an error. */
51025 #ifdef __cplusplus
51026 extern "C"
51028 #endif
51029 /* We use char because int might match the return type of a gcc2
51030 builtin and then its argument prototype would still apply. */
51031 char $ac_func ();
51032 /* The GNU C library defines this for functions which it implements
51033 to always fail with ENOSYS. Some functions are actually named
51034 something starting with __ and the normal name is an alias. */
51035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51036 choke me
51037 #else
51038 char (*f) () = $ac_func;
51039 #endif
51040 #ifdef __cplusplus
51042 #endif
51045 main ()
51047 return f != $ac_func;
51049 return 0;
51051 _ACEOF
51052 rm -f conftest.$ac_objext conftest$ac_exeext
51053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51054 (eval $ac_link) 2>conftest.er1
51055 ac_status=$?
51056 grep -v '^ *+' conftest.er1 >conftest.err
51057 rm -f conftest.er1
51058 cat conftest.err >&5
51059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51060 (exit $ac_status); } &&
51061 { ac_try='test -z "$ac_c_werror_flag"
51062 || test ! -s conftest.err'
51063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51064 (eval $ac_try) 2>&5
51065 ac_status=$?
51066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51067 (exit $ac_status); }; } &&
51068 { ac_try='test -s conftest$ac_exeext'
51069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51070 (eval $ac_try) 2>&5
51071 ac_status=$?
51072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51073 (exit $ac_status); }; }; then
51074 eval "$as_ac_var=yes"
51075 else
51076 echo "$as_me: failed program was:" >&5
51077 sed 's/^/| /' conftest.$ac_ext >&5
51079 eval "$as_ac_var=no"
51081 rm -f conftest.err conftest.$ac_objext \
51082 conftest$ac_exeext conftest.$ac_ext
51084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51086 if test `eval echo '${'$as_ac_var'}'` = yes; then
51087 cat >>confdefs.h <<_ACEOF
51088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51089 _ACEOF
51091 else
51092 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51094 done
51097 if test x$ac_cv_func_copysignl = x"yes"; then
51099 for ac_func in __signbitl
51101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51102 echo "$as_me:$LINENO: checking for $ac_func" >&5
51103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51104 if eval "test \"\${$as_ac_var+set}\" = set"; then
51105 echo $ECHO_N "(cached) $ECHO_C" >&6
51106 else
51107 if test x$gcc_no_link = xyes; then
51108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51110 { (exit 1); exit 1; }; }
51112 cat >conftest.$ac_ext <<_ACEOF
51113 /* confdefs.h. */
51114 _ACEOF
51115 cat confdefs.h >>conftest.$ac_ext
51116 cat >>conftest.$ac_ext <<_ACEOF
51117 /* end confdefs.h. */
51118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51120 #define $ac_func innocuous_$ac_func
51122 /* System header to define __stub macros and hopefully few prototypes,
51123 which can conflict with char $ac_func (); below.
51124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51125 <limits.h> exists even on freestanding compilers. */
51127 #ifdef __STDC__
51128 # include <limits.h>
51129 #else
51130 # include <assert.h>
51131 #endif
51133 #undef $ac_func
51135 /* Override any gcc2 internal prototype to avoid an error. */
51136 #ifdef __cplusplus
51137 extern "C"
51139 #endif
51140 /* We use char because int might match the return type of a gcc2
51141 builtin and then its argument prototype would still apply. */
51142 char $ac_func ();
51143 /* The GNU C library defines this for functions which it implements
51144 to always fail with ENOSYS. Some functions are actually named
51145 something starting with __ and the normal name is an alias. */
51146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51147 choke me
51148 #else
51149 char (*f) () = $ac_func;
51150 #endif
51151 #ifdef __cplusplus
51153 #endif
51156 main ()
51158 return f != $ac_func;
51160 return 0;
51162 _ACEOF
51163 rm -f conftest.$ac_objext conftest$ac_exeext
51164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51165 (eval $ac_link) 2>conftest.er1
51166 ac_status=$?
51167 grep -v '^ *+' conftest.er1 >conftest.err
51168 rm -f conftest.er1
51169 cat conftest.err >&5
51170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51171 (exit $ac_status); } &&
51172 { ac_try='test -z "$ac_c_werror_flag"
51173 || test ! -s conftest.err'
51174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51175 (eval $ac_try) 2>&5
51176 ac_status=$?
51177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51178 (exit $ac_status); }; } &&
51179 { ac_try='test -s conftest$ac_exeext'
51180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51181 (eval $ac_try) 2>&5
51182 ac_status=$?
51183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51184 (exit $ac_status); }; }; then
51185 eval "$as_ac_var=yes"
51186 else
51187 echo "$as_me: failed program was:" >&5
51188 sed 's/^/| /' conftest.$ac_ext >&5
51190 eval "$as_ac_var=no"
51192 rm -f conftest.err conftest.$ac_objext \
51193 conftest$ac_exeext conftest.$ac_ext
51195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51197 if test `eval echo '${'$as_ac_var'}'` = yes; then
51198 cat >>confdefs.h <<_ACEOF
51199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51200 _ACEOF
51202 else
51203 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51205 done
51209 # Used in libmath/Makefile.am.
51210 if test -n "$LIBMATHOBJS"; then
51211 need_libmath=yes
51217 enable_iconv=no
51218 # Only continue checking if the ISO C99 headers exist and support is on.
51219 if test x"$enable_wchar_t" = xyes; then
51221 # Use iconv for wchar_t to char conversions. As such, check for
51222 # X/Open Portability Guide, version 2 features (XPG2).
51223 if test "${ac_cv_header_iconv_h+set}" = set; then
51224 echo "$as_me:$LINENO: checking for iconv.h" >&5
51225 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51226 if test "${ac_cv_header_iconv_h+set}" = set; then
51227 echo $ECHO_N "(cached) $ECHO_C" >&6
51229 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51230 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51231 else
51232 # Is the header compilable?
51233 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51234 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51235 cat >conftest.$ac_ext <<_ACEOF
51236 /* confdefs.h. */
51237 _ACEOF
51238 cat confdefs.h >>conftest.$ac_ext
51239 cat >>conftest.$ac_ext <<_ACEOF
51240 /* end confdefs.h. */
51241 $ac_includes_default
51242 #include <iconv.h>
51243 _ACEOF
51244 rm -f conftest.$ac_objext
51245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51246 (eval $ac_compile) 2>conftest.er1
51247 ac_status=$?
51248 grep -v '^ *+' conftest.er1 >conftest.err
51249 rm -f conftest.er1
51250 cat conftest.err >&5
51251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51252 (exit $ac_status); } &&
51253 { ac_try='test -z "$ac_c_werror_flag"
51254 || test ! -s conftest.err'
51255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51256 (eval $ac_try) 2>&5
51257 ac_status=$?
51258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51259 (exit $ac_status); }; } &&
51260 { ac_try='test -s conftest.$ac_objext'
51261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51262 (eval $ac_try) 2>&5
51263 ac_status=$?
51264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51265 (exit $ac_status); }; }; then
51266 ac_header_compiler=yes
51267 else
51268 echo "$as_me: failed program was:" >&5
51269 sed 's/^/| /' conftest.$ac_ext >&5
51271 ac_header_compiler=no
51273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51275 echo "${ECHO_T}$ac_header_compiler" >&6
51277 # Is the header present?
51278 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51279 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51280 cat >conftest.$ac_ext <<_ACEOF
51281 /* confdefs.h. */
51282 _ACEOF
51283 cat confdefs.h >>conftest.$ac_ext
51284 cat >>conftest.$ac_ext <<_ACEOF
51285 /* end confdefs.h. */
51286 #include <iconv.h>
51287 _ACEOF
51288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51290 ac_status=$?
51291 grep -v '^ *+' conftest.er1 >conftest.err
51292 rm -f conftest.er1
51293 cat conftest.err >&5
51294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51295 (exit $ac_status); } >/dev/null; then
51296 if test -s conftest.err; then
51297 ac_cpp_err=$ac_c_preproc_warn_flag
51298 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51299 else
51300 ac_cpp_err=
51302 else
51303 ac_cpp_err=yes
51305 if test -z "$ac_cpp_err"; then
51306 ac_header_preproc=yes
51307 else
51308 echo "$as_me: failed program was:" >&5
51309 sed 's/^/| /' conftest.$ac_ext >&5
51311 ac_header_preproc=no
51313 rm -f conftest.err conftest.$ac_ext
51314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51315 echo "${ECHO_T}$ac_header_preproc" >&6
51317 # So? What about this header?
51318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51319 yes:no: )
51320 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51321 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51322 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51323 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51324 ac_header_preproc=yes
51326 no:yes:* )
51327 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51328 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51329 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51330 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51331 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51332 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51333 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51334 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51335 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51336 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51337 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51338 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51340 cat <<\_ASBOX
51341 ## ----------------------------------------- ##
51342 ## Report this to the package-unused lists. ##
51343 ## ----------------------------------------- ##
51344 _ASBOX
51346 sed "s/^/$as_me: WARNING: /" >&2
51348 esac
51349 echo "$as_me:$LINENO: checking for iconv.h" >&5
51350 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51351 if test "${ac_cv_header_iconv_h+set}" = set; then
51352 echo $ECHO_N "(cached) $ECHO_C" >&6
51353 else
51354 ac_cv_header_iconv_h=$ac_header_preproc
51356 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51357 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51360 if test $ac_cv_header_iconv_h = yes; then
51361 ac_has_iconv_h=yes
51362 else
51363 ac_has_iconv_h=no
51367 if test "${ac_cv_header_langinfo_h+set}" = set; then
51368 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51369 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51370 if test "${ac_cv_header_langinfo_h+set}" = set; then
51371 echo $ECHO_N "(cached) $ECHO_C" >&6
51373 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51374 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51375 else
51376 # Is the header compilable?
51377 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51378 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51379 cat >conftest.$ac_ext <<_ACEOF
51380 /* confdefs.h. */
51381 _ACEOF
51382 cat confdefs.h >>conftest.$ac_ext
51383 cat >>conftest.$ac_ext <<_ACEOF
51384 /* end confdefs.h. */
51385 $ac_includes_default
51386 #include <langinfo.h>
51387 _ACEOF
51388 rm -f conftest.$ac_objext
51389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51390 (eval $ac_compile) 2>conftest.er1
51391 ac_status=$?
51392 grep -v '^ *+' conftest.er1 >conftest.err
51393 rm -f conftest.er1
51394 cat conftest.err >&5
51395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51396 (exit $ac_status); } &&
51397 { ac_try='test -z "$ac_c_werror_flag"
51398 || test ! -s conftest.err'
51399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51400 (eval $ac_try) 2>&5
51401 ac_status=$?
51402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51403 (exit $ac_status); }; } &&
51404 { ac_try='test -s conftest.$ac_objext'
51405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51406 (eval $ac_try) 2>&5
51407 ac_status=$?
51408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51409 (exit $ac_status); }; }; then
51410 ac_header_compiler=yes
51411 else
51412 echo "$as_me: failed program was:" >&5
51413 sed 's/^/| /' conftest.$ac_ext >&5
51415 ac_header_compiler=no
51417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51419 echo "${ECHO_T}$ac_header_compiler" >&6
51421 # Is the header present?
51422 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51423 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51424 cat >conftest.$ac_ext <<_ACEOF
51425 /* confdefs.h. */
51426 _ACEOF
51427 cat confdefs.h >>conftest.$ac_ext
51428 cat >>conftest.$ac_ext <<_ACEOF
51429 /* end confdefs.h. */
51430 #include <langinfo.h>
51431 _ACEOF
51432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51434 ac_status=$?
51435 grep -v '^ *+' conftest.er1 >conftest.err
51436 rm -f conftest.er1
51437 cat conftest.err >&5
51438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51439 (exit $ac_status); } >/dev/null; then
51440 if test -s conftest.err; then
51441 ac_cpp_err=$ac_c_preproc_warn_flag
51442 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51443 else
51444 ac_cpp_err=
51446 else
51447 ac_cpp_err=yes
51449 if test -z "$ac_cpp_err"; then
51450 ac_header_preproc=yes
51451 else
51452 echo "$as_me: failed program was:" >&5
51453 sed 's/^/| /' conftest.$ac_ext >&5
51455 ac_header_preproc=no
51457 rm -f conftest.err conftest.$ac_ext
51458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51459 echo "${ECHO_T}$ac_header_preproc" >&6
51461 # So? What about this header?
51462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51463 yes:no: )
51464 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51465 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51466 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51467 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51468 ac_header_preproc=yes
51470 no:yes:* )
51471 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51472 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51473 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51474 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51475 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51476 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51477 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51478 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51479 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51480 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51481 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51482 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51484 cat <<\_ASBOX
51485 ## ----------------------------------------- ##
51486 ## Report this to the package-unused lists. ##
51487 ## ----------------------------------------- ##
51488 _ASBOX
51490 sed "s/^/$as_me: WARNING: /" >&2
51492 esac
51493 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51494 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51495 if test "${ac_cv_header_langinfo_h+set}" = set; then
51496 echo $ECHO_N "(cached) $ECHO_C" >&6
51497 else
51498 ac_cv_header_langinfo_h=$ac_header_preproc
51500 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51501 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51504 if test $ac_cv_header_langinfo_h = yes; then
51505 ac_has_langinfo_h=yes
51506 else
51507 ac_has_langinfo_h=no
51512 # Check for existence of libiconv.a providing XPG2 wchar_t support.
51513 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51514 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51515 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51516 echo $ECHO_N "(cached) $ECHO_C" >&6
51517 else
51518 ac_check_lib_save_LIBS=$LIBS
51519 LIBS="-liconv $LIBS"
51520 if test x$gcc_no_link = xyes; then
51521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51523 { (exit 1); exit 1; }; }
51525 cat >conftest.$ac_ext <<_ACEOF
51526 /* confdefs.h. */
51527 _ACEOF
51528 cat confdefs.h >>conftest.$ac_ext
51529 cat >>conftest.$ac_ext <<_ACEOF
51530 /* end confdefs.h. */
51532 /* Override any gcc2 internal prototype to avoid an error. */
51533 #ifdef __cplusplus
51534 extern "C"
51535 #endif
51536 /* We use char because int might match the return type of a gcc2
51537 builtin and then its argument prototype would still apply. */
51538 char iconv ();
51540 main ()
51542 iconv ();
51544 return 0;
51546 _ACEOF
51547 rm -f conftest.$ac_objext conftest$ac_exeext
51548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51549 (eval $ac_link) 2>conftest.er1
51550 ac_status=$?
51551 grep -v '^ *+' conftest.er1 >conftest.err
51552 rm -f conftest.er1
51553 cat conftest.err >&5
51554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51555 (exit $ac_status); } &&
51556 { ac_try='test -z "$ac_c_werror_flag"
51557 || test ! -s conftest.err'
51558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51559 (eval $ac_try) 2>&5
51560 ac_status=$?
51561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51562 (exit $ac_status); }; } &&
51563 { ac_try='test -s conftest$ac_exeext'
51564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51565 (eval $ac_try) 2>&5
51566 ac_status=$?
51567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51568 (exit $ac_status); }; }; then
51569 ac_cv_lib_iconv_iconv=yes
51570 else
51571 echo "$as_me: failed program was:" >&5
51572 sed 's/^/| /' conftest.$ac_ext >&5
51574 ac_cv_lib_iconv_iconv=no
51576 rm -f conftest.err conftest.$ac_objext \
51577 conftest$ac_exeext conftest.$ac_ext
51578 LIBS=$ac_check_lib_save_LIBS
51580 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51581 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51582 if test $ac_cv_lib_iconv_iconv = yes; then
51583 LIBICONV="-liconv"
51586 ac_save_LIBS="$LIBS"
51587 LIBS="$LIBS $LIBICONV"
51594 for ac_func in iconv_open iconv_close iconv nl_langinfo
51596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51597 echo "$as_me:$LINENO: checking for $ac_func" >&5
51598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51599 if eval "test \"\${$as_ac_var+set}\" = set"; then
51600 echo $ECHO_N "(cached) $ECHO_C" >&6
51601 else
51602 if test x$gcc_no_link = xyes; then
51603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51605 { (exit 1); exit 1; }; }
51607 cat >conftest.$ac_ext <<_ACEOF
51608 /* confdefs.h. */
51609 _ACEOF
51610 cat confdefs.h >>conftest.$ac_ext
51611 cat >>conftest.$ac_ext <<_ACEOF
51612 /* end confdefs.h. */
51613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51615 #define $ac_func innocuous_$ac_func
51617 /* System header to define __stub macros and hopefully few prototypes,
51618 which can conflict with char $ac_func (); below.
51619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51620 <limits.h> exists even on freestanding compilers. */
51622 #ifdef __STDC__
51623 # include <limits.h>
51624 #else
51625 # include <assert.h>
51626 #endif
51628 #undef $ac_func
51630 /* Override any gcc2 internal prototype to avoid an error. */
51631 #ifdef __cplusplus
51632 extern "C"
51634 #endif
51635 /* We use char because int might match the return type of a gcc2
51636 builtin and then its argument prototype would still apply. */
51637 char $ac_func ();
51638 /* The GNU C library defines this for functions which it implements
51639 to always fail with ENOSYS. Some functions are actually named
51640 something starting with __ and the normal name is an alias. */
51641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51642 choke me
51643 #else
51644 char (*f) () = $ac_func;
51645 #endif
51646 #ifdef __cplusplus
51648 #endif
51651 main ()
51653 return f != $ac_func;
51655 return 0;
51657 _ACEOF
51658 rm -f conftest.$ac_objext conftest$ac_exeext
51659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51660 (eval $ac_link) 2>conftest.er1
51661 ac_status=$?
51662 grep -v '^ *+' conftest.er1 >conftest.err
51663 rm -f conftest.er1
51664 cat conftest.err >&5
51665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51666 (exit $ac_status); } &&
51667 { ac_try='test -z "$ac_c_werror_flag"
51668 || test ! -s conftest.err'
51669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51670 (eval $ac_try) 2>&5
51671 ac_status=$?
51672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51673 (exit $ac_status); }; } &&
51674 { ac_try='test -s conftest$ac_exeext'
51675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51676 (eval $ac_try) 2>&5
51677 ac_status=$?
51678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51679 (exit $ac_status); }; }; then
51680 eval "$as_ac_var=yes"
51681 else
51682 echo "$as_me: failed program was:" >&5
51683 sed 's/^/| /' conftest.$ac_ext >&5
51685 eval "$as_ac_var=no"
51687 rm -f conftest.err conftest.$ac_objext \
51688 conftest$ac_exeext conftest.$ac_ext
51690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51692 if test `eval echo '${'$as_ac_var'}'` = yes; then
51693 cat >>confdefs.h <<_ACEOF
51694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51695 _ACEOF
51696 ac_XPG2funcs=yes
51697 else
51698 ac_XPG2funcs=no
51700 done
51703 LIBS="$ac_save_LIBS"
51705 if test x"$ac_has_iconv_h" = xyes &&
51706 test x"$ac_has_langinfo_h" = xyes &&
51707 test x"$ac_XPG2funcs" = xyes;
51708 then
51710 cat >>confdefs.h <<\_ACEOF
51711 #define _GLIBCXX_USE_ICONV 1
51712 _ACEOF
51714 enable_iconv=yes
51717 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51718 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51719 echo "$as_me:$LINENO: result: $enable_iconv" >&5
51720 echo "${ECHO_T}$enable_iconv" >&6
51723 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51724 ac_save_CXXFLAGS="$CXXFLAGS"
51725 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51728 echo "$as_me:$LINENO: checking for strtold declaration" >&5
51729 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51730 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51731 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51732 echo $ECHO_N "(cached) $ECHO_C" >&6
51733 else
51737 ac_ext=cc
51738 ac_cpp='$CXXCPP $CPPFLAGS'
51739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51743 cat >conftest.$ac_ext <<_ACEOF
51744 /* confdefs.h. */
51745 _ACEOF
51746 cat confdefs.h >>conftest.$ac_ext
51747 cat >>conftest.$ac_ext <<_ACEOF
51748 /* end confdefs.h. */
51749 #include <stdlib.h>
51751 main ()
51753 strtold(0, 0);
51755 return 0;
51757 _ACEOF
51758 rm -f conftest.$ac_objext
51759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51760 (eval $ac_compile) 2>conftest.er1
51761 ac_status=$?
51762 grep -v '^ *+' conftest.er1 >conftest.err
51763 rm -f conftest.er1
51764 cat conftest.err >&5
51765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51766 (exit $ac_status); } &&
51767 { ac_try='test -z "$ac_cxx_werror_flag"
51768 || test ! -s conftest.err'
51769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51770 (eval $ac_try) 2>&5
51771 ac_status=$?
51772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51773 (exit $ac_status); }; } &&
51774 { ac_try='test -s conftest.$ac_objext'
51775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51776 (eval $ac_try) 2>&5
51777 ac_status=$?
51778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51779 (exit $ac_status); }; }; then
51780 glibcxx_cv_func_strtold_use=yes
51781 else
51782 echo "$as_me: failed program was:" >&5
51783 sed 's/^/| /' conftest.$ac_ext >&5
51785 glibcxx_cv_func_strtold_use=no
51787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51788 ac_ext=c
51789 ac_cpp='$CPP $CPPFLAGS'
51790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51798 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51799 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51800 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51802 for ac_func in strtold
51804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51805 echo "$as_me:$LINENO: checking for $ac_func" >&5
51806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51807 if eval "test \"\${$as_ac_var+set}\" = set"; then
51808 echo $ECHO_N "(cached) $ECHO_C" >&6
51809 else
51810 if test x$gcc_no_link = xyes; then
51811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51813 { (exit 1); exit 1; }; }
51815 cat >conftest.$ac_ext <<_ACEOF
51816 /* confdefs.h. */
51817 _ACEOF
51818 cat confdefs.h >>conftest.$ac_ext
51819 cat >>conftest.$ac_ext <<_ACEOF
51820 /* end confdefs.h. */
51821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51823 #define $ac_func innocuous_$ac_func
51825 /* System header to define __stub macros and hopefully few prototypes,
51826 which can conflict with char $ac_func (); below.
51827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51828 <limits.h> exists even on freestanding compilers. */
51830 #ifdef __STDC__
51831 # include <limits.h>
51832 #else
51833 # include <assert.h>
51834 #endif
51836 #undef $ac_func
51838 /* Override any gcc2 internal prototype to avoid an error. */
51839 #ifdef __cplusplus
51840 extern "C"
51842 #endif
51843 /* We use char because int might match the return type of a gcc2
51844 builtin and then its argument prototype would still apply. */
51845 char $ac_func ();
51846 /* The GNU C library defines this for functions which it implements
51847 to always fail with ENOSYS. Some functions are actually named
51848 something starting with __ and the normal name is an alias. */
51849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51850 choke me
51851 #else
51852 char (*f) () = $ac_func;
51853 #endif
51854 #ifdef __cplusplus
51856 #endif
51859 main ()
51861 return f != $ac_func;
51863 return 0;
51865 _ACEOF
51866 rm -f conftest.$ac_objext conftest$ac_exeext
51867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51868 (eval $ac_link) 2>conftest.er1
51869 ac_status=$?
51870 grep -v '^ *+' conftest.er1 >conftest.err
51871 rm -f conftest.er1
51872 cat conftest.err >&5
51873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51874 (exit $ac_status); } &&
51875 { ac_try='test -z "$ac_c_werror_flag"
51876 || test ! -s conftest.err'
51877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51878 (eval $ac_try) 2>&5
51879 ac_status=$?
51880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51881 (exit $ac_status); }; } &&
51882 { ac_try='test -s conftest$ac_exeext'
51883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51884 (eval $ac_try) 2>&5
51885 ac_status=$?
51886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51887 (exit $ac_status); }; }; then
51888 eval "$as_ac_var=yes"
51889 else
51890 echo "$as_me: failed program was:" >&5
51891 sed 's/^/| /' conftest.$ac_ext >&5
51893 eval "$as_ac_var=no"
51895 rm -f conftest.err conftest.$ac_objext \
51896 conftest$ac_exeext conftest.$ac_ext
51898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51900 if test `eval echo '${'$as_ac_var'}'` = yes; then
51901 cat >>confdefs.h <<_ACEOF
51902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51903 _ACEOF
51906 done
51914 echo "$as_me:$LINENO: checking for strtof declaration" >&5
51915 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51916 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51917 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51918 echo $ECHO_N "(cached) $ECHO_C" >&6
51919 else
51923 ac_ext=cc
51924 ac_cpp='$CXXCPP $CPPFLAGS'
51925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51929 cat >conftest.$ac_ext <<_ACEOF
51930 /* confdefs.h. */
51931 _ACEOF
51932 cat confdefs.h >>conftest.$ac_ext
51933 cat >>conftest.$ac_ext <<_ACEOF
51934 /* end confdefs.h. */
51935 #include <stdlib.h>
51937 main ()
51939 strtof(0, 0);
51941 return 0;
51943 _ACEOF
51944 rm -f conftest.$ac_objext
51945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51946 (eval $ac_compile) 2>conftest.er1
51947 ac_status=$?
51948 grep -v '^ *+' conftest.er1 >conftest.err
51949 rm -f conftest.er1
51950 cat conftest.err >&5
51951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51952 (exit $ac_status); } &&
51953 { ac_try='test -z "$ac_cxx_werror_flag"
51954 || test ! -s conftest.err'
51955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51956 (eval $ac_try) 2>&5
51957 ac_status=$?
51958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51959 (exit $ac_status); }; } &&
51960 { ac_try='test -s conftest.$ac_objext'
51961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51962 (eval $ac_try) 2>&5
51963 ac_status=$?
51964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51965 (exit $ac_status); }; }; then
51966 glibcxx_cv_func_strtof_use=yes
51967 else
51968 echo "$as_me: failed program was:" >&5
51969 sed 's/^/| /' conftest.$ac_ext >&5
51971 glibcxx_cv_func_strtof_use=no
51973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51974 ac_ext=c
51975 ac_cpp='$CPP $CPPFLAGS'
51976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51984 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51985 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51986 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51988 for ac_func in strtof
51990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51991 echo "$as_me:$LINENO: checking for $ac_func" >&5
51992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51993 if eval "test \"\${$as_ac_var+set}\" = set"; then
51994 echo $ECHO_N "(cached) $ECHO_C" >&6
51995 else
51996 if test x$gcc_no_link = xyes; then
51997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51999 { (exit 1); exit 1; }; }
52001 cat >conftest.$ac_ext <<_ACEOF
52002 /* confdefs.h. */
52003 _ACEOF
52004 cat confdefs.h >>conftest.$ac_ext
52005 cat >>conftest.$ac_ext <<_ACEOF
52006 /* end confdefs.h. */
52007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52009 #define $ac_func innocuous_$ac_func
52011 /* System header to define __stub macros and hopefully few prototypes,
52012 which can conflict with char $ac_func (); below.
52013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52014 <limits.h> exists even on freestanding compilers. */
52016 #ifdef __STDC__
52017 # include <limits.h>
52018 #else
52019 # include <assert.h>
52020 #endif
52022 #undef $ac_func
52024 /* Override any gcc2 internal prototype to avoid an error. */
52025 #ifdef __cplusplus
52026 extern "C"
52028 #endif
52029 /* We use char because int might match the return type of a gcc2
52030 builtin and then its argument prototype would still apply. */
52031 char $ac_func ();
52032 /* The GNU C library defines this for functions which it implements
52033 to always fail with ENOSYS. Some functions are actually named
52034 something starting with __ and the normal name is an alias. */
52035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52036 choke me
52037 #else
52038 char (*f) () = $ac_func;
52039 #endif
52040 #ifdef __cplusplus
52042 #endif
52045 main ()
52047 return f != $ac_func;
52049 return 0;
52051 _ACEOF
52052 rm -f conftest.$ac_objext conftest$ac_exeext
52053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52054 (eval $ac_link) 2>conftest.er1
52055 ac_status=$?
52056 grep -v '^ *+' conftest.er1 >conftest.err
52057 rm -f conftest.er1
52058 cat conftest.err >&5
52059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52060 (exit $ac_status); } &&
52061 { ac_try='test -z "$ac_c_werror_flag"
52062 || test ! -s conftest.err'
52063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52064 (eval $ac_try) 2>&5
52065 ac_status=$?
52066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52067 (exit $ac_status); }; } &&
52068 { ac_try='test -s conftest$ac_exeext'
52069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52070 (eval $ac_try) 2>&5
52071 ac_status=$?
52072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52073 (exit $ac_status); }; }; then
52074 eval "$as_ac_var=yes"
52075 else
52076 echo "$as_me: failed program was:" >&5
52077 sed 's/^/| /' conftest.$ac_ext >&5
52079 eval "$as_ac_var=no"
52081 rm -f conftest.err conftest.$ac_objext \
52082 conftest$ac_exeext conftest.$ac_ext
52084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52086 if test `eval echo '${'$as_ac_var'}'` = yes; then
52087 cat >>confdefs.h <<_ACEOF
52088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52089 _ACEOF
52092 done
52100 CXXFLAGS="$ac_save_CXXFLAGS"
52103 # For showmanyc_helper().
52106 for ac_header in sys/ioctl.h sys/filio.h
52108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52110 echo "$as_me:$LINENO: checking for $ac_header" >&5
52111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52113 echo $ECHO_N "(cached) $ECHO_C" >&6
52115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52117 else
52118 # Is the header compilable?
52119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52121 cat >conftest.$ac_ext <<_ACEOF
52122 /* confdefs.h. */
52123 _ACEOF
52124 cat confdefs.h >>conftest.$ac_ext
52125 cat >>conftest.$ac_ext <<_ACEOF
52126 /* end confdefs.h. */
52127 $ac_includes_default
52128 #include <$ac_header>
52129 _ACEOF
52130 rm -f conftest.$ac_objext
52131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52132 (eval $ac_compile) 2>conftest.er1
52133 ac_status=$?
52134 grep -v '^ *+' conftest.er1 >conftest.err
52135 rm -f conftest.er1
52136 cat conftest.err >&5
52137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52138 (exit $ac_status); } &&
52139 { ac_try='test -z "$ac_c_werror_flag"
52140 || test ! -s conftest.err'
52141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52142 (eval $ac_try) 2>&5
52143 ac_status=$?
52144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52145 (exit $ac_status); }; } &&
52146 { ac_try='test -s conftest.$ac_objext'
52147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52148 (eval $ac_try) 2>&5
52149 ac_status=$?
52150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52151 (exit $ac_status); }; }; then
52152 ac_header_compiler=yes
52153 else
52154 echo "$as_me: failed program was:" >&5
52155 sed 's/^/| /' conftest.$ac_ext >&5
52157 ac_header_compiler=no
52159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52161 echo "${ECHO_T}$ac_header_compiler" >&6
52163 # Is the header present?
52164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52166 cat >conftest.$ac_ext <<_ACEOF
52167 /* confdefs.h. */
52168 _ACEOF
52169 cat confdefs.h >>conftest.$ac_ext
52170 cat >>conftest.$ac_ext <<_ACEOF
52171 /* end confdefs.h. */
52172 #include <$ac_header>
52173 _ACEOF
52174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52176 ac_status=$?
52177 grep -v '^ *+' conftest.er1 >conftest.err
52178 rm -f conftest.er1
52179 cat conftest.err >&5
52180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52181 (exit $ac_status); } >/dev/null; then
52182 if test -s conftest.err; then
52183 ac_cpp_err=$ac_c_preproc_warn_flag
52184 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52185 else
52186 ac_cpp_err=
52188 else
52189 ac_cpp_err=yes
52191 if test -z "$ac_cpp_err"; then
52192 ac_header_preproc=yes
52193 else
52194 echo "$as_me: failed program was:" >&5
52195 sed 's/^/| /' conftest.$ac_ext >&5
52197 ac_header_preproc=no
52199 rm -f conftest.err conftest.$ac_ext
52200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52201 echo "${ECHO_T}$ac_header_preproc" >&6
52203 # So? What about this header?
52204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52205 yes:no: )
52206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52210 ac_header_preproc=yes
52212 no:yes:* )
52213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52226 cat <<\_ASBOX
52227 ## ----------------------------------------- ##
52228 ## Report this to the package-unused lists. ##
52229 ## ----------------------------------------- ##
52230 _ASBOX
52232 sed "s/^/$as_me: WARNING: /" >&2
52234 esac
52235 echo "$as_me:$LINENO: checking for $ac_header" >&5
52236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52238 echo $ECHO_N "(cached) $ECHO_C" >&6
52239 else
52240 eval "$as_ac_Header=\$ac_header_preproc"
52242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52247 cat >>confdefs.h <<_ACEOF
52248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52249 _ACEOF
52253 done
52256 echo "$as_me:$LINENO: checking for poll" >&5
52257 echo $ECHO_N "checking for poll... $ECHO_C" >&6
52258 if test "${glibcxx_cv_POLL+set}" = set; then
52259 echo $ECHO_N "(cached) $ECHO_C" >&6
52260 else
52262 if test x$gcc_no_link = xyes; then
52263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52265 { (exit 1); exit 1; }; }
52267 cat >conftest.$ac_ext <<_ACEOF
52268 /* confdefs.h. */
52269 _ACEOF
52270 cat confdefs.h >>conftest.$ac_ext
52271 cat >>conftest.$ac_ext <<_ACEOF
52272 /* end confdefs.h. */
52273 #include <poll.h>
52275 main ()
52277 struct pollfd pfd[1];
52278 pfd[0].events = POLLIN;
52279 poll(pfd, 1, 0);
52281 return 0;
52283 _ACEOF
52284 rm -f conftest.$ac_objext conftest$ac_exeext
52285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52286 (eval $ac_link) 2>conftest.er1
52287 ac_status=$?
52288 grep -v '^ *+' conftest.er1 >conftest.err
52289 rm -f conftest.er1
52290 cat conftest.err >&5
52291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52292 (exit $ac_status); } &&
52293 { ac_try='test -z "$ac_c_werror_flag"
52294 || test ! -s conftest.err'
52295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52296 (eval $ac_try) 2>&5
52297 ac_status=$?
52298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52299 (exit $ac_status); }; } &&
52300 { ac_try='test -s conftest$ac_exeext'
52301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52302 (eval $ac_try) 2>&5
52303 ac_status=$?
52304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52305 (exit $ac_status); }; }; then
52306 glibcxx_cv_POLL=yes
52307 else
52308 echo "$as_me: failed program was:" >&5
52309 sed 's/^/| /' conftest.$ac_ext >&5
52311 glibcxx_cv_POLL=no
52313 rm -f conftest.err conftest.$ac_objext \
52314 conftest$ac_exeext conftest.$ac_ext
52318 if test $glibcxx_cv_POLL = yes; then
52320 cat >>confdefs.h <<\_ACEOF
52321 #define HAVE_POLL 1
52322 _ACEOF
52325 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
52326 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
52329 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
52330 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
52331 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52332 echo $ECHO_N "(cached) $ECHO_C" >&6
52333 else
52335 if test x$gcc_no_link = xyes; then
52336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52338 { (exit 1); exit 1; }; }
52340 cat >conftest.$ac_ext <<_ACEOF
52341 /* confdefs.h. */
52342 _ACEOF
52343 cat confdefs.h >>conftest.$ac_ext
52344 cat >>conftest.$ac_ext <<_ACEOF
52345 /* end confdefs.h. */
52346 #include <sys/stat.h>
52348 main ()
52350 struct stat buffer;
52351 fstat(0, &buffer);
52352 S_ISREG(buffer.st_mode);
52354 return 0;
52356 _ACEOF
52357 rm -f conftest.$ac_objext conftest$ac_exeext
52358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52359 (eval $ac_link) 2>conftest.er1
52360 ac_status=$?
52361 grep -v '^ *+' conftest.er1 >conftest.err
52362 rm -f conftest.er1
52363 cat conftest.err >&5
52364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52365 (exit $ac_status); } &&
52366 { ac_try='test -z "$ac_c_werror_flag"
52367 || test ! -s conftest.err'
52368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52369 (eval $ac_try) 2>&5
52370 ac_status=$?
52371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52372 (exit $ac_status); }; } &&
52373 { ac_try='test -s conftest$ac_exeext'
52374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52375 (eval $ac_try) 2>&5
52376 ac_status=$?
52377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52378 (exit $ac_status); }; }; then
52379 glibcxx_cv_S_ISREG=yes
52380 else
52381 echo "$as_me: failed program was:" >&5
52382 sed 's/^/| /' conftest.$ac_ext >&5
52384 glibcxx_cv_S_ISREG=no
52386 rm -f conftest.err conftest.$ac_objext \
52387 conftest$ac_exeext conftest.$ac_ext
52391 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52392 echo $ECHO_N "(cached) $ECHO_C" >&6
52393 else
52395 if test x$gcc_no_link = xyes; then
52396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52398 { (exit 1); exit 1; }; }
52400 cat >conftest.$ac_ext <<_ACEOF
52401 /* confdefs.h. */
52402 _ACEOF
52403 cat confdefs.h >>conftest.$ac_ext
52404 cat >>conftest.$ac_ext <<_ACEOF
52405 /* end confdefs.h. */
52406 #include <sys/stat.h>
52408 main ()
52410 struct stat buffer;
52411 fstat(0, &buffer);
52412 S_IFREG & buffer.st_mode;
52414 return 0;
52416 _ACEOF
52417 rm -f conftest.$ac_objext conftest$ac_exeext
52418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52419 (eval $ac_link) 2>conftest.er1
52420 ac_status=$?
52421 grep -v '^ *+' conftest.er1 >conftest.err
52422 rm -f conftest.er1
52423 cat conftest.err >&5
52424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52425 (exit $ac_status); } &&
52426 { ac_try='test -z "$ac_c_werror_flag"
52427 || test ! -s conftest.err'
52428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52429 (eval $ac_try) 2>&5
52430 ac_status=$?
52431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52432 (exit $ac_status); }; } &&
52433 { ac_try='test -s conftest$ac_exeext'
52434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52435 (eval $ac_try) 2>&5
52436 ac_status=$?
52437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52438 (exit $ac_status); }; }; then
52439 glibcxx_cv_S_IFREG=yes
52440 else
52441 echo "$as_me: failed program was:" >&5
52442 sed 's/^/| /' conftest.$ac_ext >&5
52444 glibcxx_cv_S_IFREG=no
52446 rm -f conftest.err conftest.$ac_objext \
52447 conftest$ac_exeext conftest.$ac_ext
52451 res=no
52452 if test $glibcxx_cv_S_ISREG = yes; then
52454 cat >>confdefs.h <<\_ACEOF
52455 #define HAVE_S_ISREG 1
52456 _ACEOF
52458 res=S_ISREG
52459 elif test $glibcxx_cv_S_IFREG = yes; then
52461 cat >>confdefs.h <<\_ACEOF
52462 #define HAVE_S_IFREG 1
52463 _ACEOF
52465 res=S_IFREG
52467 echo "$as_me:$LINENO: result: $res" >&5
52468 echo "${ECHO_T}$res" >&6
52471 # For xsputn_2().
52473 for ac_header in sys/uio.h
52475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52477 echo "$as_me:$LINENO: checking for $ac_header" >&5
52478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52480 echo $ECHO_N "(cached) $ECHO_C" >&6
52482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52484 else
52485 # Is the header compilable?
52486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52488 cat >conftest.$ac_ext <<_ACEOF
52489 /* confdefs.h. */
52490 _ACEOF
52491 cat confdefs.h >>conftest.$ac_ext
52492 cat >>conftest.$ac_ext <<_ACEOF
52493 /* end confdefs.h. */
52494 $ac_includes_default
52495 #include <$ac_header>
52496 _ACEOF
52497 rm -f conftest.$ac_objext
52498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52499 (eval $ac_compile) 2>conftest.er1
52500 ac_status=$?
52501 grep -v '^ *+' conftest.er1 >conftest.err
52502 rm -f conftest.er1
52503 cat conftest.err >&5
52504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52505 (exit $ac_status); } &&
52506 { ac_try='test -z "$ac_c_werror_flag"
52507 || test ! -s conftest.err'
52508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52509 (eval $ac_try) 2>&5
52510 ac_status=$?
52511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52512 (exit $ac_status); }; } &&
52513 { ac_try='test -s conftest.$ac_objext'
52514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52515 (eval $ac_try) 2>&5
52516 ac_status=$?
52517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52518 (exit $ac_status); }; }; then
52519 ac_header_compiler=yes
52520 else
52521 echo "$as_me: failed program was:" >&5
52522 sed 's/^/| /' conftest.$ac_ext >&5
52524 ac_header_compiler=no
52526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52528 echo "${ECHO_T}$ac_header_compiler" >&6
52530 # Is the header present?
52531 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52533 cat >conftest.$ac_ext <<_ACEOF
52534 /* confdefs.h. */
52535 _ACEOF
52536 cat confdefs.h >>conftest.$ac_ext
52537 cat >>conftest.$ac_ext <<_ACEOF
52538 /* end confdefs.h. */
52539 #include <$ac_header>
52540 _ACEOF
52541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52543 ac_status=$?
52544 grep -v '^ *+' conftest.er1 >conftest.err
52545 rm -f conftest.er1
52546 cat conftest.err >&5
52547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52548 (exit $ac_status); } >/dev/null; then
52549 if test -s conftest.err; then
52550 ac_cpp_err=$ac_c_preproc_warn_flag
52551 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52552 else
52553 ac_cpp_err=
52555 else
52556 ac_cpp_err=yes
52558 if test -z "$ac_cpp_err"; then
52559 ac_header_preproc=yes
52560 else
52561 echo "$as_me: failed program was:" >&5
52562 sed 's/^/| /' conftest.$ac_ext >&5
52564 ac_header_preproc=no
52566 rm -f conftest.err conftest.$ac_ext
52567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52568 echo "${ECHO_T}$ac_header_preproc" >&6
52570 # So? What about this header?
52571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52572 yes:no: )
52573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52576 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52577 ac_header_preproc=yes
52579 no:yes:* )
52580 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52581 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52582 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52583 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52584 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52585 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52586 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52587 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52590 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52591 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52593 cat <<\_ASBOX
52594 ## ----------------------------------------- ##
52595 ## Report this to the package-unused lists. ##
52596 ## ----------------------------------------- ##
52597 _ASBOX
52599 sed "s/^/$as_me: WARNING: /" >&2
52601 esac
52602 echo "$as_me:$LINENO: checking for $ac_header" >&5
52603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52605 echo $ECHO_N "(cached) $ECHO_C" >&6
52606 else
52607 eval "$as_ac_Header=\$ac_header_preproc"
52609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52614 cat >>confdefs.h <<_ACEOF
52615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52616 _ACEOF
52620 done
52623 echo "$as_me:$LINENO: checking for writev" >&5
52624 echo $ECHO_N "checking for writev... $ECHO_C" >&6
52625 if test "${glibcxx_cv_WRITEV+set}" = set; then
52626 echo $ECHO_N "(cached) $ECHO_C" >&6
52627 else
52629 if test x$gcc_no_link = xyes; then
52630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52632 { (exit 1); exit 1; }; }
52634 cat >conftest.$ac_ext <<_ACEOF
52635 /* confdefs.h. */
52636 _ACEOF
52637 cat confdefs.h >>conftest.$ac_ext
52638 cat >>conftest.$ac_ext <<_ACEOF
52639 /* end confdefs.h. */
52640 #include <sys/uio.h>
52642 main ()
52644 struct iovec iov[2];
52645 writev(0, iov, 0);
52647 return 0;
52649 _ACEOF
52650 rm -f conftest.$ac_objext conftest$ac_exeext
52651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52652 (eval $ac_link) 2>conftest.er1
52653 ac_status=$?
52654 grep -v '^ *+' conftest.er1 >conftest.err
52655 rm -f conftest.er1
52656 cat conftest.err >&5
52657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52658 (exit $ac_status); } &&
52659 { ac_try='test -z "$ac_c_werror_flag"
52660 || test ! -s conftest.err'
52661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52662 (eval $ac_try) 2>&5
52663 ac_status=$?
52664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52665 (exit $ac_status); }; } &&
52666 { ac_try='test -s conftest$ac_exeext'
52667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52668 (eval $ac_try) 2>&5
52669 ac_status=$?
52670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52671 (exit $ac_status); }; }; then
52672 glibcxx_cv_WRITEV=yes
52673 else
52674 echo "$as_me: failed program was:" >&5
52675 sed 's/^/| /' conftest.$ac_ext >&5
52677 glibcxx_cv_WRITEV=no
52679 rm -f conftest.err conftest.$ac_objext \
52680 conftest$ac_exeext conftest.$ac_ext
52684 if test $glibcxx_cv_WRITEV = yes; then
52686 cat >>confdefs.h <<\_ACEOF
52687 #define HAVE_WRITEV 1
52688 _ACEOF
52691 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
52692 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
52695 cat >>confdefs.h <<\_ACEOF
52696 #define HAVE_LC_MESSAGES 1
52697 _ACEOF
52700 cat >conftest.$ac_ext <<_ACEOF
52701 /* confdefs.h. */
52702 _ACEOF
52703 cat confdefs.h >>conftest.$ac_ext
52704 cat >>conftest.$ac_ext <<_ACEOF
52705 /* end confdefs.h. */
52706 #include <setjmp.h>
52708 main ()
52710 sigjmp_buf env;
52711 while (! sigsetjmp (env, 1))
52712 siglongjmp (env, 1);
52715 return 0;
52717 _ACEOF
52718 rm -f conftest.$ac_objext
52719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52720 (eval $ac_compile) 2>conftest.er1
52721 ac_status=$?
52722 grep -v '^ *+' conftest.er1 >conftest.err
52723 rm -f conftest.er1
52724 cat conftest.err >&5
52725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52726 (exit $ac_status); } &&
52727 { ac_try='test -z "$ac_c_werror_flag"
52728 || test ! -s conftest.err'
52729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52730 (eval $ac_try) 2>&5
52731 ac_status=$?
52732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52733 (exit $ac_status); }; } &&
52734 { ac_try='test -s conftest.$ac_objext'
52735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52736 (eval $ac_try) 2>&5
52737 ac_status=$?
52738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52739 (exit $ac_status); }; }; then
52741 cat >>confdefs.h <<\_ACEOF
52742 #define HAVE_SIGSETJMP 1
52743 _ACEOF
52745 else
52746 echo "$as_me: failed program was:" >&5
52747 sed 's/^/| /' conftest.$ac_ext >&5
52750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52752 cat >>confdefs.h <<\_ACEOF
52753 #define HAVE_MMAP 1
52754 _ACEOF
52758 *djgpp)
52779 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52780 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52781 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52782 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52786 echo "$as_me:$LINENO: checking for $ac_header" >&5
52787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52789 echo $ECHO_N "(cached) $ECHO_C" >&6
52791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52793 else
52794 # Is the header compilable?
52795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52797 cat >conftest.$ac_ext <<_ACEOF
52798 /* confdefs.h. */
52799 _ACEOF
52800 cat confdefs.h >>conftest.$ac_ext
52801 cat >>conftest.$ac_ext <<_ACEOF
52802 /* end confdefs.h. */
52803 $ac_includes_default
52804 #include <$ac_header>
52805 _ACEOF
52806 rm -f conftest.$ac_objext
52807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52808 (eval $ac_compile) 2>conftest.er1
52809 ac_status=$?
52810 grep -v '^ *+' conftest.er1 >conftest.err
52811 rm -f conftest.er1
52812 cat conftest.err >&5
52813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52814 (exit $ac_status); } &&
52815 { ac_try='test -z "$ac_c_werror_flag"
52816 || test ! -s conftest.err'
52817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52818 (eval $ac_try) 2>&5
52819 ac_status=$?
52820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52821 (exit $ac_status); }; } &&
52822 { ac_try='test -s conftest.$ac_objext'
52823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52824 (eval $ac_try) 2>&5
52825 ac_status=$?
52826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52827 (exit $ac_status); }; }; then
52828 ac_header_compiler=yes
52829 else
52830 echo "$as_me: failed program was:" >&5
52831 sed 's/^/| /' conftest.$ac_ext >&5
52833 ac_header_compiler=no
52835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52837 echo "${ECHO_T}$ac_header_compiler" >&6
52839 # Is the header present?
52840 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52842 cat >conftest.$ac_ext <<_ACEOF
52843 /* confdefs.h. */
52844 _ACEOF
52845 cat confdefs.h >>conftest.$ac_ext
52846 cat >>conftest.$ac_ext <<_ACEOF
52847 /* end confdefs.h. */
52848 #include <$ac_header>
52849 _ACEOF
52850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52852 ac_status=$?
52853 grep -v '^ *+' conftest.er1 >conftest.err
52854 rm -f conftest.er1
52855 cat conftest.err >&5
52856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52857 (exit $ac_status); } >/dev/null; then
52858 if test -s conftest.err; then
52859 ac_cpp_err=$ac_c_preproc_warn_flag
52860 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52861 else
52862 ac_cpp_err=
52864 else
52865 ac_cpp_err=yes
52867 if test -z "$ac_cpp_err"; then
52868 ac_header_preproc=yes
52869 else
52870 echo "$as_me: failed program was:" >&5
52871 sed 's/^/| /' conftest.$ac_ext >&5
52873 ac_header_preproc=no
52875 rm -f conftest.err conftest.$ac_ext
52876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52877 echo "${ECHO_T}$ac_header_preproc" >&6
52879 # So? What about this header?
52880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52881 yes:no: )
52882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52886 ac_header_preproc=yes
52888 no:yes:* )
52889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52893 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52895 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52896 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52899 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52902 cat <<\_ASBOX
52903 ## ----------------------------------------- ##
52904 ## Report this to the package-unused lists. ##
52905 ## ----------------------------------------- ##
52906 _ASBOX
52908 sed "s/^/$as_me: WARNING: /" >&2
52910 esac
52911 echo "$as_me:$LINENO: checking for $ac_header" >&5
52912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52914 echo $ECHO_N "(cached) $ECHO_C" >&6
52915 else
52916 eval "$as_ac_Header=\$ac_header_preproc"
52918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52923 cat >>confdefs.h <<_ACEOF
52924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52925 _ACEOF
52929 done
52932 # All these tests are for C++; save the language and the compiler flags.
52933 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52934 # found in GLIBCXX_CONFIGURE.
52937 ac_ext=cc
52938 ac_cpp='$CXXCPP $CPPFLAGS'
52939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52943 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52944 ac_save_CXXFLAGS="$CXXFLAGS"
52946 # Check for maintainer-mode bits.
52947 if test x"$USE_MAINTAINER_MODE" = xno; then
52948 WERROR=''
52949 else
52950 WERROR='-Werror'
52953 # Check for -ffunction-sections -fdata-sections
52954 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52955 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52956 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52957 cat >conftest.$ac_ext <<_ACEOF
52958 /* confdefs.h. */
52959 _ACEOF
52960 cat confdefs.h >>conftest.$ac_ext
52961 cat >>conftest.$ac_ext <<_ACEOF
52962 /* end confdefs.h. */
52965 main ()
52967 int foo;
52969 return 0;
52971 _ACEOF
52972 rm -f conftest.$ac_objext
52973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52974 (eval $ac_compile) 2>conftest.er1
52975 ac_status=$?
52976 grep -v '^ *+' conftest.er1 >conftest.err
52977 rm -f conftest.er1
52978 cat conftest.err >&5
52979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52980 (exit $ac_status); } &&
52981 { ac_try='test -z "$ac_cxx_werror_flag"
52982 || test ! -s conftest.err'
52983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52984 (eval $ac_try) 2>&5
52985 ac_status=$?
52986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52987 (exit $ac_status); }; } &&
52988 { ac_try='test -s conftest.$ac_objext'
52989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52990 (eval $ac_try) 2>&5
52991 ac_status=$?
52992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52993 (exit $ac_status); }; }; then
52994 ac_fdsections=yes
52995 else
52996 echo "$as_me: failed program was:" >&5
52997 sed 's/^/| /' conftest.$ac_ext >&5
52999 ac_fdsections=no
53001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53002 if test "$ac_test_CXXFLAGS" = set; then
53003 CXXFLAGS="$ac_save_CXXFLAGS"
53004 else
53005 # this is the suspicious part
53006 CXXFLAGS=''
53008 if test x"$ac_fdsections" = x"yes"; then
53009 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53011 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53012 echo "${ECHO_T}$ac_fdsections" >&6
53014 ac_ext=c
53015 ac_cpp='$CPP $CPPFLAGS'
53016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53024 # If we're not using GNU ld, then there's no point in even trying these
53025 # tests. Check for that first. We should have already tested for gld
53026 # by now (in libtool), but require it now just to be safe...
53027 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53028 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53032 # The name set by libtool depends on the version of libtool. Shame on us
53033 # for depending on an impl detail, but c'est la vie. Older versions used
53034 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53035 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53036 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53037 # set (hence we're using an older libtool), then set it.
53038 if test x${with_gnu_ld+set} != xset; then
53039 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53040 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53041 with_gnu_ld=no
53042 else
53043 with_gnu_ld=$ac_cv_prog_gnu_ld
53047 # Start by getting the version number. I think the libtool test already
53048 # does some of this, but throws away the result.
53050 ldver=`$LD --version 2>/dev/null | head -1 | \
53051 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53053 glibcxx_gnu_ld_version=`echo $ldver | \
53054 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53056 # Set --gc-sections.
53057 if test x"$with_gnu_ld" = x"yes"; then
53058 # GNU ld it is! Joy and bunny rabbits!
53060 # All these tests are for C++; save the language and the compiler flags.
53061 # Need to do this so that g++ won't try to link in libstdc++
53062 ac_test_CFLAGS="${CFLAGS+set}"
53063 ac_save_CFLAGS="$CFLAGS"
53064 CFLAGS='-x c++ -Wl,--gc-sections'
53066 # Check for -Wl,--gc-sections
53067 # Note: It's supposed to work now, so ease off until proven wrong...
53068 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53069 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53070 cat >conftest.$ac_ext <<_ACEOF
53071 /* confdefs.h. */
53072 _ACEOF
53073 cat confdefs.h >>conftest.$ac_ext
53074 cat >>conftest.$ac_ext <<_ACEOF
53075 /* end confdefs.h. */
53077 int main(void)
53079 try { throw 1; }
53080 catch (...) { };
53081 return 0;
53085 main ()
53087 ac_sectionLDflags=yes
53089 return 0;
53091 _ACEOF
53092 rm -f conftest.$ac_objext
53093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53094 (eval $ac_compile) 2>conftest.er1
53095 ac_status=$?
53096 grep -v '^ *+' conftest.er1 >conftest.err
53097 rm -f conftest.er1
53098 cat conftest.err >&5
53099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53100 (exit $ac_status); } &&
53101 { ac_try='test -z "$ac_c_werror_flag"
53102 || test ! -s conftest.err'
53103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53104 (eval $ac_try) 2>&5
53105 ac_status=$?
53106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53107 (exit $ac_status); }; } &&
53108 { ac_try='test -s conftest.$ac_objext'
53109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53110 (eval $ac_try) 2>&5
53111 ac_status=$?
53112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53113 (exit $ac_status); }; }; then
53114 ac_sectionLDflags=no
53115 else
53116 echo "$as_me: failed program was:" >&5
53117 sed 's/^/| /' conftest.$ac_ext >&5
53119 ac_sectionLDflags=yes
53121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53122 if test "$ac_test_CFLAGS" = set; then
53123 CFLAGS="$ac_save_CFLAGS"
53124 else
53125 # this is the suspicious part
53126 CFLAGS=''
53128 if test "$ac_sectionLDflags" = "yes"; then
53129 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53131 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53132 echo "${ECHO_T}$ac_sectionLDflags" >&6
53135 # Set -z,relro.
53136 # Note this is only for shared objects.
53137 ac_ld_relro=no
53138 if test x"$with_gnu_ld" = x"yes"; then
53139 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
53140 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
53141 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53142 if test -n "$cxx_z_relo"; then
53143 OPT_LDFLAGS="-Wl,-z,relro"
53144 ac_ld_relro=yes
53146 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
53147 echo "${ECHO_T}$ac_ld_relro" >&6
53150 # Set linker optimization flags.
53151 if test x"$with_gnu_ld" = x"yes"; then
53152 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53159 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53160 ac_save_CXXFLAGS="$CXXFLAGS"
53161 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53163 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53164 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53165 if test "${ac_cv_lib_m_sin+set}" = set; then
53166 echo $ECHO_N "(cached) $ECHO_C" >&6
53167 else
53168 ac_check_lib_save_LIBS=$LIBS
53169 LIBS="-lm $LIBS"
53170 if test x$gcc_no_link = xyes; then
53171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53173 { (exit 1); exit 1; }; }
53175 cat >conftest.$ac_ext <<_ACEOF
53176 /* confdefs.h. */
53177 _ACEOF
53178 cat confdefs.h >>conftest.$ac_ext
53179 cat >>conftest.$ac_ext <<_ACEOF
53180 /* end confdefs.h. */
53182 /* Override any gcc2 internal prototype to avoid an error. */
53183 #ifdef __cplusplus
53184 extern "C"
53185 #endif
53186 /* We use char because int might match the return type of a gcc2
53187 builtin and then its argument prototype would still apply. */
53188 char sin ();
53190 main ()
53192 sin ();
53194 return 0;
53196 _ACEOF
53197 rm -f conftest.$ac_objext conftest$ac_exeext
53198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53199 (eval $ac_link) 2>conftest.er1
53200 ac_status=$?
53201 grep -v '^ *+' conftest.er1 >conftest.err
53202 rm -f conftest.er1
53203 cat conftest.err >&5
53204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53205 (exit $ac_status); } &&
53206 { ac_try='test -z "$ac_c_werror_flag"
53207 || test ! -s conftest.err'
53208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53209 (eval $ac_try) 2>&5
53210 ac_status=$?
53211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53212 (exit $ac_status); }; } &&
53213 { ac_try='test -s conftest$ac_exeext'
53214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53215 (eval $ac_try) 2>&5
53216 ac_status=$?
53217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53218 (exit $ac_status); }; }; then
53219 ac_cv_lib_m_sin=yes
53220 else
53221 echo "$as_me: failed program was:" >&5
53222 sed 's/^/| /' conftest.$ac_ext >&5
53224 ac_cv_lib_m_sin=no
53226 rm -f conftest.err conftest.$ac_objext \
53227 conftest$ac_exeext conftest.$ac_ext
53228 LIBS=$ac_check_lib_save_LIBS
53230 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53231 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53232 if test $ac_cv_lib_m_sin = yes; then
53233 libm="-lm"
53236 ac_save_LIBS="$LIBS"
53237 LIBS="$LIBS $libm"
53241 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53242 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53243 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53244 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53245 echo $ECHO_N "(cached) $ECHO_C" >&6
53246 else
53250 ac_ext=cc
53251 ac_cpp='$CXXCPP $CPPFLAGS'
53252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53256 cat >conftest.$ac_ext <<_ACEOF
53257 /* confdefs.h. */
53258 _ACEOF
53259 cat confdefs.h >>conftest.$ac_ext
53260 cat >>conftest.$ac_ext <<_ACEOF
53261 /* end confdefs.h. */
53262 #include <math.h>
53263 #ifdef HAVE_IEEEFP_H
53264 #include <ieeefp.h>
53265 #endif
53268 main ()
53270 isinf(0);
53272 return 0;
53274 _ACEOF
53275 rm -f conftest.$ac_objext
53276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53277 (eval $ac_compile) 2>conftest.er1
53278 ac_status=$?
53279 grep -v '^ *+' conftest.er1 >conftest.err
53280 rm -f conftest.er1
53281 cat conftest.err >&5
53282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53283 (exit $ac_status); } &&
53284 { ac_try='test -z "$ac_cxx_werror_flag"
53285 || test ! -s conftest.err'
53286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53287 (eval $ac_try) 2>&5
53288 ac_status=$?
53289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53290 (exit $ac_status); }; } &&
53291 { ac_try='test -s conftest.$ac_objext'
53292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53293 (eval $ac_try) 2>&5
53294 ac_status=$?
53295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53296 (exit $ac_status); }; }; then
53297 glibcxx_cv_func_isinf_use=yes
53298 else
53299 echo "$as_me: failed program was:" >&5
53300 sed 's/^/| /' conftest.$ac_ext >&5
53302 glibcxx_cv_func_isinf_use=no
53304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53305 ac_ext=c
53306 ac_cpp='$CPP $CPPFLAGS'
53307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53316 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53318 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53320 for ac_func in isinf
53322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53323 echo "$as_me:$LINENO: checking for $ac_func" >&5
53324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53325 if eval "test \"\${$as_ac_var+set}\" = set"; then
53326 echo $ECHO_N "(cached) $ECHO_C" >&6
53327 else
53328 if test x$gcc_no_link = xyes; then
53329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53331 { (exit 1); exit 1; }; }
53333 cat >conftest.$ac_ext <<_ACEOF
53334 /* confdefs.h. */
53335 _ACEOF
53336 cat confdefs.h >>conftest.$ac_ext
53337 cat >>conftest.$ac_ext <<_ACEOF
53338 /* end confdefs.h. */
53339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53341 #define $ac_func innocuous_$ac_func
53343 /* System header to define __stub macros and hopefully few prototypes,
53344 which can conflict with char $ac_func (); below.
53345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53346 <limits.h> exists even on freestanding compilers. */
53348 #ifdef __STDC__
53349 # include <limits.h>
53350 #else
53351 # include <assert.h>
53352 #endif
53354 #undef $ac_func
53356 /* Override any gcc2 internal prototype to avoid an error. */
53357 #ifdef __cplusplus
53358 extern "C"
53360 #endif
53361 /* We use char because int might match the return type of a gcc2
53362 builtin and then its argument prototype would still apply. */
53363 char $ac_func ();
53364 /* The GNU C library defines this for functions which it implements
53365 to always fail with ENOSYS. Some functions are actually named
53366 something starting with __ and the normal name is an alias. */
53367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53368 choke me
53369 #else
53370 char (*f) () = $ac_func;
53371 #endif
53372 #ifdef __cplusplus
53374 #endif
53377 main ()
53379 return f != $ac_func;
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 eval "$as_ac_var=yes"
53407 else
53408 echo "$as_me: failed program was:" >&5
53409 sed 's/^/| /' conftest.$ac_ext >&5
53411 eval "$as_ac_var=no"
53413 rm -f conftest.err conftest.$ac_objext \
53414 conftest$ac_exeext conftest.$ac_ext
53416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53418 if test `eval echo '${'$as_ac_var'}'` = yes; then
53419 cat >>confdefs.h <<_ACEOF
53420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53421 _ACEOF
53424 done
53426 else
53428 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53429 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53430 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53431 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53432 echo $ECHO_N "(cached) $ECHO_C" >&6
53433 else
53437 ac_ext=cc
53438 ac_cpp='$CXXCPP $CPPFLAGS'
53439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53443 cat >conftest.$ac_ext <<_ACEOF
53444 /* confdefs.h. */
53445 _ACEOF
53446 cat confdefs.h >>conftest.$ac_ext
53447 cat >>conftest.$ac_ext <<_ACEOF
53448 /* end confdefs.h. */
53449 #include <math.h>
53450 #ifdef HAVE_IEEEFP_H
53451 #include <ieeefp.h>
53452 #endif
53455 main ()
53457 _isinf(0);
53459 return 0;
53461 _ACEOF
53462 rm -f conftest.$ac_objext
53463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53464 (eval $ac_compile) 2>conftest.er1
53465 ac_status=$?
53466 grep -v '^ *+' conftest.er1 >conftest.err
53467 rm -f conftest.er1
53468 cat conftest.err >&5
53469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53470 (exit $ac_status); } &&
53471 { ac_try='test -z "$ac_cxx_werror_flag"
53472 || test ! -s conftest.err'
53473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53474 (eval $ac_try) 2>&5
53475 ac_status=$?
53476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53477 (exit $ac_status); }; } &&
53478 { ac_try='test -s conftest.$ac_objext'
53479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53480 (eval $ac_try) 2>&5
53481 ac_status=$?
53482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53483 (exit $ac_status); }; }; then
53484 glibcxx_cv_func__isinf_use=yes
53485 else
53486 echo "$as_me: failed program was:" >&5
53487 sed 's/^/| /' conftest.$ac_ext >&5
53489 glibcxx_cv_func__isinf_use=no
53491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53492 ac_ext=c
53493 ac_cpp='$CPP $CPPFLAGS'
53494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53502 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53503 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53505 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53507 for ac_func in _isinf
53509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53510 echo "$as_me:$LINENO: checking for $ac_func" >&5
53511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53512 if eval "test \"\${$as_ac_var+set}\" = set"; then
53513 echo $ECHO_N "(cached) $ECHO_C" >&6
53514 else
53515 if test x$gcc_no_link = xyes; then
53516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53518 { (exit 1); exit 1; }; }
53520 cat >conftest.$ac_ext <<_ACEOF
53521 /* confdefs.h. */
53522 _ACEOF
53523 cat confdefs.h >>conftest.$ac_ext
53524 cat >>conftest.$ac_ext <<_ACEOF
53525 /* end confdefs.h. */
53526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53528 #define $ac_func innocuous_$ac_func
53530 /* System header to define __stub macros and hopefully few prototypes,
53531 which can conflict with char $ac_func (); below.
53532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53533 <limits.h> exists even on freestanding compilers. */
53535 #ifdef __STDC__
53536 # include <limits.h>
53537 #else
53538 # include <assert.h>
53539 #endif
53541 #undef $ac_func
53543 /* Override any gcc2 internal prototype to avoid an error. */
53544 #ifdef __cplusplus
53545 extern "C"
53547 #endif
53548 /* We use char because int might match the return type of a gcc2
53549 builtin and then its argument prototype would still apply. */
53550 char $ac_func ();
53551 /* The GNU C library defines this for functions which it implements
53552 to always fail with ENOSYS. Some functions are actually named
53553 something starting with __ and the normal name is an alias. */
53554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53555 choke me
53556 #else
53557 char (*f) () = $ac_func;
53558 #endif
53559 #ifdef __cplusplus
53561 #endif
53564 main ()
53566 return f != $ac_func;
53568 return 0;
53570 _ACEOF
53571 rm -f conftest.$ac_objext conftest$ac_exeext
53572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53573 (eval $ac_link) 2>conftest.er1
53574 ac_status=$?
53575 grep -v '^ *+' conftest.er1 >conftest.err
53576 rm -f conftest.er1
53577 cat conftest.err >&5
53578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53579 (exit $ac_status); } &&
53580 { ac_try='test -z "$ac_c_werror_flag"
53581 || test ! -s conftest.err'
53582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53583 (eval $ac_try) 2>&5
53584 ac_status=$?
53585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53586 (exit $ac_status); }; } &&
53587 { ac_try='test -s conftest$ac_exeext'
53588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53589 (eval $ac_try) 2>&5
53590 ac_status=$?
53591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53592 (exit $ac_status); }; }; then
53593 eval "$as_ac_var=yes"
53594 else
53595 echo "$as_me: failed program was:" >&5
53596 sed 's/^/| /' conftest.$ac_ext >&5
53598 eval "$as_ac_var=no"
53600 rm -f conftest.err conftest.$ac_objext \
53601 conftest$ac_exeext conftest.$ac_ext
53603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53605 if test `eval echo '${'$as_ac_var'}'` = yes; then
53606 cat >>confdefs.h <<_ACEOF
53607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53608 _ACEOF
53611 done
53621 echo "$as_me:$LINENO: checking for isnan declaration" >&5
53622 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53623 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53624 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53625 echo $ECHO_N "(cached) $ECHO_C" >&6
53626 else
53630 ac_ext=cc
53631 ac_cpp='$CXXCPP $CPPFLAGS'
53632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53636 cat >conftest.$ac_ext <<_ACEOF
53637 /* confdefs.h. */
53638 _ACEOF
53639 cat confdefs.h >>conftest.$ac_ext
53640 cat >>conftest.$ac_ext <<_ACEOF
53641 /* end confdefs.h. */
53642 #include <math.h>
53643 #ifdef HAVE_IEEEFP_H
53644 #include <ieeefp.h>
53645 #endif
53648 main ()
53650 isnan(0);
53652 return 0;
53654 _ACEOF
53655 rm -f conftest.$ac_objext
53656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53657 (eval $ac_compile) 2>conftest.er1
53658 ac_status=$?
53659 grep -v '^ *+' conftest.er1 >conftest.err
53660 rm -f conftest.er1
53661 cat conftest.err >&5
53662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53663 (exit $ac_status); } &&
53664 { ac_try='test -z "$ac_cxx_werror_flag"
53665 || test ! -s conftest.err'
53666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53667 (eval $ac_try) 2>&5
53668 ac_status=$?
53669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53670 (exit $ac_status); }; } &&
53671 { ac_try='test -s conftest.$ac_objext'
53672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53673 (eval $ac_try) 2>&5
53674 ac_status=$?
53675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53676 (exit $ac_status); }; }; then
53677 glibcxx_cv_func_isnan_use=yes
53678 else
53679 echo "$as_me: failed program was:" >&5
53680 sed 's/^/| /' conftest.$ac_ext >&5
53682 glibcxx_cv_func_isnan_use=no
53684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53685 ac_ext=c
53686 ac_cpp='$CPP $CPPFLAGS'
53687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53695 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53696 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53698 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53700 for ac_func in isnan
53702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53703 echo "$as_me:$LINENO: checking for $ac_func" >&5
53704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53705 if eval "test \"\${$as_ac_var+set}\" = set"; then
53706 echo $ECHO_N "(cached) $ECHO_C" >&6
53707 else
53708 if test x$gcc_no_link = xyes; then
53709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53711 { (exit 1); exit 1; }; }
53713 cat >conftest.$ac_ext <<_ACEOF
53714 /* confdefs.h. */
53715 _ACEOF
53716 cat confdefs.h >>conftest.$ac_ext
53717 cat >>conftest.$ac_ext <<_ACEOF
53718 /* end confdefs.h. */
53719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53721 #define $ac_func innocuous_$ac_func
53723 /* System header to define __stub macros and hopefully few prototypes,
53724 which can conflict with char $ac_func (); below.
53725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53726 <limits.h> exists even on freestanding compilers. */
53728 #ifdef __STDC__
53729 # include <limits.h>
53730 #else
53731 # include <assert.h>
53732 #endif
53734 #undef $ac_func
53736 /* Override any gcc2 internal prototype to avoid an error. */
53737 #ifdef __cplusplus
53738 extern "C"
53740 #endif
53741 /* We use char because int might match the return type of a gcc2
53742 builtin and then its argument prototype would still apply. */
53743 char $ac_func ();
53744 /* The GNU C library defines this for functions which it implements
53745 to always fail with ENOSYS. Some functions are actually named
53746 something starting with __ and the normal name is an alias. */
53747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53748 choke me
53749 #else
53750 char (*f) () = $ac_func;
53751 #endif
53752 #ifdef __cplusplus
53754 #endif
53757 main ()
53759 return f != $ac_func;
53761 return 0;
53763 _ACEOF
53764 rm -f conftest.$ac_objext conftest$ac_exeext
53765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53766 (eval $ac_link) 2>conftest.er1
53767 ac_status=$?
53768 grep -v '^ *+' conftest.er1 >conftest.err
53769 rm -f conftest.er1
53770 cat conftest.err >&5
53771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53772 (exit $ac_status); } &&
53773 { ac_try='test -z "$ac_c_werror_flag"
53774 || test ! -s conftest.err'
53775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53776 (eval $ac_try) 2>&5
53777 ac_status=$?
53778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53779 (exit $ac_status); }; } &&
53780 { ac_try='test -s conftest$ac_exeext'
53781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53782 (eval $ac_try) 2>&5
53783 ac_status=$?
53784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53785 (exit $ac_status); }; }; then
53786 eval "$as_ac_var=yes"
53787 else
53788 echo "$as_me: failed program was:" >&5
53789 sed 's/^/| /' conftest.$ac_ext >&5
53791 eval "$as_ac_var=no"
53793 rm -f conftest.err conftest.$ac_objext \
53794 conftest$ac_exeext conftest.$ac_ext
53796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53798 if test `eval echo '${'$as_ac_var'}'` = yes; then
53799 cat >>confdefs.h <<_ACEOF
53800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53801 _ACEOF
53804 done
53806 else
53808 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53809 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53810 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53811 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53812 echo $ECHO_N "(cached) $ECHO_C" >&6
53813 else
53817 ac_ext=cc
53818 ac_cpp='$CXXCPP $CPPFLAGS'
53819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53823 cat >conftest.$ac_ext <<_ACEOF
53824 /* confdefs.h. */
53825 _ACEOF
53826 cat confdefs.h >>conftest.$ac_ext
53827 cat >>conftest.$ac_ext <<_ACEOF
53828 /* end confdefs.h. */
53829 #include <math.h>
53830 #ifdef HAVE_IEEEFP_H
53831 #include <ieeefp.h>
53832 #endif
53835 main ()
53837 _isnan(0);
53839 return 0;
53841 _ACEOF
53842 rm -f conftest.$ac_objext
53843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53844 (eval $ac_compile) 2>conftest.er1
53845 ac_status=$?
53846 grep -v '^ *+' conftest.er1 >conftest.err
53847 rm -f conftest.er1
53848 cat conftest.err >&5
53849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53850 (exit $ac_status); } &&
53851 { ac_try='test -z "$ac_cxx_werror_flag"
53852 || test ! -s conftest.err'
53853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53854 (eval $ac_try) 2>&5
53855 ac_status=$?
53856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53857 (exit $ac_status); }; } &&
53858 { ac_try='test -s conftest.$ac_objext'
53859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53860 (eval $ac_try) 2>&5
53861 ac_status=$?
53862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53863 (exit $ac_status); }; }; then
53864 glibcxx_cv_func__isnan_use=yes
53865 else
53866 echo "$as_me: failed program was:" >&5
53867 sed 's/^/| /' conftest.$ac_ext >&5
53869 glibcxx_cv_func__isnan_use=no
53871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53872 ac_ext=c
53873 ac_cpp='$CPP $CPPFLAGS'
53874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53882 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53883 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53885 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53887 for ac_func in _isnan
53889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53890 echo "$as_me:$LINENO: checking for $ac_func" >&5
53891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53892 if eval "test \"\${$as_ac_var+set}\" = set"; then
53893 echo $ECHO_N "(cached) $ECHO_C" >&6
53894 else
53895 if test x$gcc_no_link = xyes; then
53896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53898 { (exit 1); exit 1; }; }
53900 cat >conftest.$ac_ext <<_ACEOF
53901 /* confdefs.h. */
53902 _ACEOF
53903 cat confdefs.h >>conftest.$ac_ext
53904 cat >>conftest.$ac_ext <<_ACEOF
53905 /* end confdefs.h. */
53906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53908 #define $ac_func innocuous_$ac_func
53910 /* System header to define __stub macros and hopefully few prototypes,
53911 which can conflict with char $ac_func (); below.
53912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53913 <limits.h> exists even on freestanding compilers. */
53915 #ifdef __STDC__
53916 # include <limits.h>
53917 #else
53918 # include <assert.h>
53919 #endif
53921 #undef $ac_func
53923 /* Override any gcc2 internal prototype to avoid an error. */
53924 #ifdef __cplusplus
53925 extern "C"
53927 #endif
53928 /* We use char because int might match the return type of a gcc2
53929 builtin and then its argument prototype would still apply. */
53930 char $ac_func ();
53931 /* The GNU C library defines this for functions which it implements
53932 to always fail with ENOSYS. Some functions are actually named
53933 something starting with __ and the normal name is an alias. */
53934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53935 choke me
53936 #else
53937 char (*f) () = $ac_func;
53938 #endif
53939 #ifdef __cplusplus
53941 #endif
53944 main ()
53946 return f != $ac_func;
53948 return 0;
53950 _ACEOF
53951 rm -f conftest.$ac_objext conftest$ac_exeext
53952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53953 (eval $ac_link) 2>conftest.er1
53954 ac_status=$?
53955 grep -v '^ *+' conftest.er1 >conftest.err
53956 rm -f conftest.er1
53957 cat conftest.err >&5
53958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53959 (exit $ac_status); } &&
53960 { ac_try='test -z "$ac_c_werror_flag"
53961 || test ! -s conftest.err'
53962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53963 (eval $ac_try) 2>&5
53964 ac_status=$?
53965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53966 (exit $ac_status); }; } &&
53967 { ac_try='test -s conftest$ac_exeext'
53968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53969 (eval $ac_try) 2>&5
53970 ac_status=$?
53971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53972 (exit $ac_status); }; }; then
53973 eval "$as_ac_var=yes"
53974 else
53975 echo "$as_me: failed program was:" >&5
53976 sed 's/^/| /' conftest.$ac_ext >&5
53978 eval "$as_ac_var=no"
53980 rm -f conftest.err conftest.$ac_objext \
53981 conftest$ac_exeext conftest.$ac_ext
53983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53985 if test `eval echo '${'$as_ac_var'}'` = yes; then
53986 cat >>confdefs.h <<_ACEOF
53987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53988 _ACEOF
53991 done
54001 echo "$as_me:$LINENO: checking for finite declaration" >&5
54002 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54003 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54004 if test "${glibcxx_cv_func_finite_use+set}" = set; then
54005 echo $ECHO_N "(cached) $ECHO_C" >&6
54006 else
54010 ac_ext=cc
54011 ac_cpp='$CXXCPP $CPPFLAGS'
54012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54016 cat >conftest.$ac_ext <<_ACEOF
54017 /* confdefs.h. */
54018 _ACEOF
54019 cat confdefs.h >>conftest.$ac_ext
54020 cat >>conftest.$ac_ext <<_ACEOF
54021 /* end confdefs.h. */
54022 #include <math.h>
54023 #ifdef HAVE_IEEEFP_H
54024 #include <ieeefp.h>
54025 #endif
54028 main ()
54030 finite(0);
54032 return 0;
54034 _ACEOF
54035 rm -f conftest.$ac_objext
54036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54037 (eval $ac_compile) 2>conftest.er1
54038 ac_status=$?
54039 grep -v '^ *+' conftest.er1 >conftest.err
54040 rm -f conftest.er1
54041 cat conftest.err >&5
54042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54043 (exit $ac_status); } &&
54044 { ac_try='test -z "$ac_cxx_werror_flag"
54045 || test ! -s conftest.err'
54046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54047 (eval $ac_try) 2>&5
54048 ac_status=$?
54049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54050 (exit $ac_status); }; } &&
54051 { ac_try='test -s conftest.$ac_objext'
54052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54053 (eval $ac_try) 2>&5
54054 ac_status=$?
54055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54056 (exit $ac_status); }; }; then
54057 glibcxx_cv_func_finite_use=yes
54058 else
54059 echo "$as_me: failed program was:" >&5
54060 sed 's/^/| /' conftest.$ac_ext >&5
54062 glibcxx_cv_func_finite_use=no
54064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54065 ac_ext=c
54066 ac_cpp='$CPP $CPPFLAGS'
54067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54076 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54078 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54080 for ac_func in finite
54082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54083 echo "$as_me:$LINENO: checking for $ac_func" >&5
54084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54085 if eval "test \"\${$as_ac_var+set}\" = set"; then
54086 echo $ECHO_N "(cached) $ECHO_C" >&6
54087 else
54088 if test x$gcc_no_link = xyes; then
54089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54091 { (exit 1); exit 1; }; }
54093 cat >conftest.$ac_ext <<_ACEOF
54094 /* confdefs.h. */
54095 _ACEOF
54096 cat confdefs.h >>conftest.$ac_ext
54097 cat >>conftest.$ac_ext <<_ACEOF
54098 /* end confdefs.h. */
54099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54101 #define $ac_func innocuous_$ac_func
54103 /* System header to define __stub macros and hopefully few prototypes,
54104 which can conflict with char $ac_func (); below.
54105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54106 <limits.h> exists even on freestanding compilers. */
54108 #ifdef __STDC__
54109 # include <limits.h>
54110 #else
54111 # include <assert.h>
54112 #endif
54114 #undef $ac_func
54116 /* Override any gcc2 internal prototype to avoid an error. */
54117 #ifdef __cplusplus
54118 extern "C"
54120 #endif
54121 /* We use char because int might match the return type of a gcc2
54122 builtin and then its argument prototype would still apply. */
54123 char $ac_func ();
54124 /* The GNU C library defines this for functions which it implements
54125 to always fail with ENOSYS. Some functions are actually named
54126 something starting with __ and the normal name is an alias. */
54127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54128 choke me
54129 #else
54130 char (*f) () = $ac_func;
54131 #endif
54132 #ifdef __cplusplus
54134 #endif
54137 main ()
54139 return f != $ac_func;
54141 return 0;
54143 _ACEOF
54144 rm -f conftest.$ac_objext conftest$ac_exeext
54145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54146 (eval $ac_link) 2>conftest.er1
54147 ac_status=$?
54148 grep -v '^ *+' conftest.er1 >conftest.err
54149 rm -f conftest.er1
54150 cat conftest.err >&5
54151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54152 (exit $ac_status); } &&
54153 { ac_try='test -z "$ac_c_werror_flag"
54154 || test ! -s conftest.err'
54155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54156 (eval $ac_try) 2>&5
54157 ac_status=$?
54158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54159 (exit $ac_status); }; } &&
54160 { ac_try='test -s conftest$ac_exeext'
54161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54162 (eval $ac_try) 2>&5
54163 ac_status=$?
54164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54165 (exit $ac_status); }; }; then
54166 eval "$as_ac_var=yes"
54167 else
54168 echo "$as_me: failed program was:" >&5
54169 sed 's/^/| /' conftest.$ac_ext >&5
54171 eval "$as_ac_var=no"
54173 rm -f conftest.err conftest.$ac_objext \
54174 conftest$ac_exeext conftest.$ac_ext
54176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54178 if test `eval echo '${'$as_ac_var'}'` = yes; then
54179 cat >>confdefs.h <<_ACEOF
54180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54181 _ACEOF
54184 done
54186 else
54188 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54189 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54190 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54191 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54192 echo $ECHO_N "(cached) $ECHO_C" >&6
54193 else
54197 ac_ext=cc
54198 ac_cpp='$CXXCPP $CPPFLAGS'
54199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54203 cat >conftest.$ac_ext <<_ACEOF
54204 /* confdefs.h. */
54205 _ACEOF
54206 cat confdefs.h >>conftest.$ac_ext
54207 cat >>conftest.$ac_ext <<_ACEOF
54208 /* end confdefs.h. */
54209 #include <math.h>
54210 #ifdef HAVE_IEEEFP_H
54211 #include <ieeefp.h>
54212 #endif
54215 main ()
54217 _finite(0);
54219 return 0;
54221 _ACEOF
54222 rm -f conftest.$ac_objext
54223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54224 (eval $ac_compile) 2>conftest.er1
54225 ac_status=$?
54226 grep -v '^ *+' conftest.er1 >conftest.err
54227 rm -f conftest.er1
54228 cat conftest.err >&5
54229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54230 (exit $ac_status); } &&
54231 { ac_try='test -z "$ac_cxx_werror_flag"
54232 || test ! -s conftest.err'
54233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54234 (eval $ac_try) 2>&5
54235 ac_status=$?
54236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54237 (exit $ac_status); }; } &&
54238 { ac_try='test -s conftest.$ac_objext'
54239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54240 (eval $ac_try) 2>&5
54241 ac_status=$?
54242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54243 (exit $ac_status); }; }; then
54244 glibcxx_cv_func__finite_use=yes
54245 else
54246 echo "$as_me: failed program was:" >&5
54247 sed 's/^/| /' conftest.$ac_ext >&5
54249 glibcxx_cv_func__finite_use=no
54251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54252 ac_ext=c
54253 ac_cpp='$CPP $CPPFLAGS'
54254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54262 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54263 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54265 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54267 for ac_func in _finite
54269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54270 echo "$as_me:$LINENO: checking for $ac_func" >&5
54271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54272 if eval "test \"\${$as_ac_var+set}\" = set"; then
54273 echo $ECHO_N "(cached) $ECHO_C" >&6
54274 else
54275 if test x$gcc_no_link = xyes; then
54276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54278 { (exit 1); exit 1; }; }
54280 cat >conftest.$ac_ext <<_ACEOF
54281 /* confdefs.h. */
54282 _ACEOF
54283 cat confdefs.h >>conftest.$ac_ext
54284 cat >>conftest.$ac_ext <<_ACEOF
54285 /* end confdefs.h. */
54286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54288 #define $ac_func innocuous_$ac_func
54290 /* System header to define __stub macros and hopefully few prototypes,
54291 which can conflict with char $ac_func (); below.
54292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54293 <limits.h> exists even on freestanding compilers. */
54295 #ifdef __STDC__
54296 # include <limits.h>
54297 #else
54298 # include <assert.h>
54299 #endif
54301 #undef $ac_func
54303 /* Override any gcc2 internal prototype to avoid an error. */
54304 #ifdef __cplusplus
54305 extern "C"
54307 #endif
54308 /* We use char because int might match the return type of a gcc2
54309 builtin and then its argument prototype would still apply. */
54310 char $ac_func ();
54311 /* The GNU C library defines this for functions which it implements
54312 to always fail with ENOSYS. Some functions are actually named
54313 something starting with __ and the normal name is an alias. */
54314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54315 choke me
54316 #else
54317 char (*f) () = $ac_func;
54318 #endif
54319 #ifdef __cplusplus
54321 #endif
54324 main ()
54326 return f != $ac_func;
54328 return 0;
54330 _ACEOF
54331 rm -f conftest.$ac_objext conftest$ac_exeext
54332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54333 (eval $ac_link) 2>conftest.er1
54334 ac_status=$?
54335 grep -v '^ *+' conftest.er1 >conftest.err
54336 rm -f conftest.er1
54337 cat conftest.err >&5
54338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54339 (exit $ac_status); } &&
54340 { ac_try='test -z "$ac_c_werror_flag"
54341 || test ! -s conftest.err'
54342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54343 (eval $ac_try) 2>&5
54344 ac_status=$?
54345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54346 (exit $ac_status); }; } &&
54347 { ac_try='test -s conftest$ac_exeext'
54348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54349 (eval $ac_try) 2>&5
54350 ac_status=$?
54351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54352 (exit $ac_status); }; }; then
54353 eval "$as_ac_var=yes"
54354 else
54355 echo "$as_me: failed program was:" >&5
54356 sed 's/^/| /' conftest.$ac_ext >&5
54358 eval "$as_ac_var=no"
54360 rm -f conftest.err conftest.$ac_objext \
54361 conftest$ac_exeext conftest.$ac_ext
54363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54365 if test `eval echo '${'$as_ac_var'}'` = yes; then
54366 cat >>confdefs.h <<_ACEOF
54367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54368 _ACEOF
54371 done
54381 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54382 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54383 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54384 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54385 echo $ECHO_N "(cached) $ECHO_C" >&6
54386 else
54390 ac_ext=cc
54391 ac_cpp='$CXXCPP $CPPFLAGS'
54392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54396 cat >conftest.$ac_ext <<_ACEOF
54397 /* confdefs.h. */
54398 _ACEOF
54399 cat confdefs.h >>conftest.$ac_ext
54400 cat >>conftest.$ac_ext <<_ACEOF
54401 /* end confdefs.h. */
54402 #include <math.h>
54404 main ()
54406 copysign(0, 0);
54408 return 0;
54410 _ACEOF
54411 rm -f conftest.$ac_objext
54412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54413 (eval $ac_compile) 2>conftest.er1
54414 ac_status=$?
54415 grep -v '^ *+' conftest.er1 >conftest.err
54416 rm -f conftest.er1
54417 cat conftest.err >&5
54418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54419 (exit $ac_status); } &&
54420 { ac_try='test -z "$ac_cxx_werror_flag"
54421 || test ! -s conftest.err'
54422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54423 (eval $ac_try) 2>&5
54424 ac_status=$?
54425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54426 (exit $ac_status); }; } &&
54427 { ac_try='test -s conftest.$ac_objext'
54428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54429 (eval $ac_try) 2>&5
54430 ac_status=$?
54431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54432 (exit $ac_status); }; }; then
54433 glibcxx_cv_func_copysign_use=yes
54434 else
54435 echo "$as_me: failed program was:" >&5
54436 sed 's/^/| /' conftest.$ac_ext >&5
54438 glibcxx_cv_func_copysign_use=no
54440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54441 ac_ext=c
54442 ac_cpp='$CPP $CPPFLAGS'
54443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54451 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54452 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54454 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54456 for ac_func in copysign
54458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54459 echo "$as_me:$LINENO: checking for $ac_func" >&5
54460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54461 if eval "test \"\${$as_ac_var+set}\" = set"; then
54462 echo $ECHO_N "(cached) $ECHO_C" >&6
54463 else
54464 if test x$gcc_no_link = xyes; then
54465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54467 { (exit 1); exit 1; }; }
54469 cat >conftest.$ac_ext <<_ACEOF
54470 /* confdefs.h. */
54471 _ACEOF
54472 cat confdefs.h >>conftest.$ac_ext
54473 cat >>conftest.$ac_ext <<_ACEOF
54474 /* end confdefs.h. */
54475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54477 #define $ac_func innocuous_$ac_func
54479 /* System header to define __stub macros and hopefully few prototypes,
54480 which can conflict with char $ac_func (); below.
54481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54482 <limits.h> exists even on freestanding compilers. */
54484 #ifdef __STDC__
54485 # include <limits.h>
54486 #else
54487 # include <assert.h>
54488 #endif
54490 #undef $ac_func
54492 /* Override any gcc2 internal prototype to avoid an error. */
54493 #ifdef __cplusplus
54494 extern "C"
54496 #endif
54497 /* We use char because int might match the return type of a gcc2
54498 builtin and then its argument prototype would still apply. */
54499 char $ac_func ();
54500 /* The GNU C library defines this for functions which it implements
54501 to always fail with ENOSYS. Some functions are actually named
54502 something starting with __ and the normal name is an alias. */
54503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54504 choke me
54505 #else
54506 char (*f) () = $ac_func;
54507 #endif
54508 #ifdef __cplusplus
54510 #endif
54513 main ()
54515 return f != $ac_func;
54517 return 0;
54519 _ACEOF
54520 rm -f conftest.$ac_objext conftest$ac_exeext
54521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54522 (eval $ac_link) 2>conftest.er1
54523 ac_status=$?
54524 grep -v '^ *+' conftest.er1 >conftest.err
54525 rm -f conftest.er1
54526 cat conftest.err >&5
54527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54528 (exit $ac_status); } &&
54529 { ac_try='test -z "$ac_c_werror_flag"
54530 || test ! -s conftest.err'
54531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54532 (eval $ac_try) 2>&5
54533 ac_status=$?
54534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54535 (exit $ac_status); }; } &&
54536 { ac_try='test -s conftest$ac_exeext'
54537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54538 (eval $ac_try) 2>&5
54539 ac_status=$?
54540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54541 (exit $ac_status); }; }; then
54542 eval "$as_ac_var=yes"
54543 else
54544 echo "$as_me: failed program was:" >&5
54545 sed 's/^/| /' conftest.$ac_ext >&5
54547 eval "$as_ac_var=no"
54549 rm -f conftest.err conftest.$ac_objext \
54550 conftest$ac_exeext conftest.$ac_ext
54552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54554 if test `eval echo '${'$as_ac_var'}'` = yes; then
54555 cat >>confdefs.h <<_ACEOF
54556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54557 _ACEOF
54560 done
54562 else
54564 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54565 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54566 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54567 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54568 echo $ECHO_N "(cached) $ECHO_C" >&6
54569 else
54573 ac_ext=cc
54574 ac_cpp='$CXXCPP $CPPFLAGS'
54575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54579 cat >conftest.$ac_ext <<_ACEOF
54580 /* confdefs.h. */
54581 _ACEOF
54582 cat confdefs.h >>conftest.$ac_ext
54583 cat >>conftest.$ac_ext <<_ACEOF
54584 /* end confdefs.h. */
54585 #include <math.h>
54587 main ()
54589 _copysign(0, 0);
54591 return 0;
54593 _ACEOF
54594 rm -f conftest.$ac_objext
54595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54596 (eval $ac_compile) 2>conftest.er1
54597 ac_status=$?
54598 grep -v '^ *+' conftest.er1 >conftest.err
54599 rm -f conftest.er1
54600 cat conftest.err >&5
54601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54602 (exit $ac_status); } &&
54603 { ac_try='test -z "$ac_cxx_werror_flag"
54604 || test ! -s conftest.err'
54605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54606 (eval $ac_try) 2>&5
54607 ac_status=$?
54608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54609 (exit $ac_status); }; } &&
54610 { ac_try='test -s conftest.$ac_objext'
54611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54612 (eval $ac_try) 2>&5
54613 ac_status=$?
54614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54615 (exit $ac_status); }; }; then
54616 glibcxx_cv_func__copysign_use=yes
54617 else
54618 echo "$as_me: failed program was:" >&5
54619 sed 's/^/| /' conftest.$ac_ext >&5
54621 glibcxx_cv_func__copysign_use=no
54623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54624 ac_ext=c
54625 ac_cpp='$CPP $CPPFLAGS'
54626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54634 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54635 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54637 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54639 for ac_func in _copysign
54641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54642 echo "$as_me:$LINENO: checking for $ac_func" >&5
54643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54644 if eval "test \"\${$as_ac_var+set}\" = set"; then
54645 echo $ECHO_N "(cached) $ECHO_C" >&6
54646 else
54647 if test x$gcc_no_link = xyes; then
54648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54650 { (exit 1); exit 1; }; }
54652 cat >conftest.$ac_ext <<_ACEOF
54653 /* confdefs.h. */
54654 _ACEOF
54655 cat confdefs.h >>conftest.$ac_ext
54656 cat >>conftest.$ac_ext <<_ACEOF
54657 /* end confdefs.h. */
54658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54660 #define $ac_func innocuous_$ac_func
54662 /* System header to define __stub macros and hopefully few prototypes,
54663 which can conflict with char $ac_func (); below.
54664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54665 <limits.h> exists even on freestanding compilers. */
54667 #ifdef __STDC__
54668 # include <limits.h>
54669 #else
54670 # include <assert.h>
54671 #endif
54673 #undef $ac_func
54675 /* Override any gcc2 internal prototype to avoid an error. */
54676 #ifdef __cplusplus
54677 extern "C"
54679 #endif
54680 /* We use char because int might match the return type of a gcc2
54681 builtin and then its argument prototype would still apply. */
54682 char $ac_func ();
54683 /* The GNU C library defines this for functions which it implements
54684 to always fail with ENOSYS. Some functions are actually named
54685 something starting with __ and the normal name is an alias. */
54686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54687 choke me
54688 #else
54689 char (*f) () = $ac_func;
54690 #endif
54691 #ifdef __cplusplus
54693 #endif
54696 main ()
54698 return f != $ac_func;
54700 return 0;
54702 _ACEOF
54703 rm -f conftest.$ac_objext conftest$ac_exeext
54704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54705 (eval $ac_link) 2>conftest.er1
54706 ac_status=$?
54707 grep -v '^ *+' conftest.er1 >conftest.err
54708 rm -f conftest.er1
54709 cat conftest.err >&5
54710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54711 (exit $ac_status); } &&
54712 { ac_try='test -z "$ac_c_werror_flag"
54713 || test ! -s conftest.err'
54714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54715 (eval $ac_try) 2>&5
54716 ac_status=$?
54717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54718 (exit $ac_status); }; } &&
54719 { ac_try='test -s conftest$ac_exeext'
54720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54721 (eval $ac_try) 2>&5
54722 ac_status=$?
54723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54724 (exit $ac_status); }; }; then
54725 eval "$as_ac_var=yes"
54726 else
54727 echo "$as_me: failed program was:" >&5
54728 sed 's/^/| /' conftest.$ac_ext >&5
54730 eval "$as_ac_var=no"
54732 rm -f conftest.err conftest.$ac_objext \
54733 conftest$ac_exeext conftest.$ac_ext
54735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54737 if test `eval echo '${'$as_ac_var'}'` = yes; then
54738 cat >>confdefs.h <<_ACEOF
54739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54740 _ACEOF
54743 done
54753 echo "$as_me:$LINENO: checking for sincos declaration" >&5
54754 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54755 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54756 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54757 echo $ECHO_N "(cached) $ECHO_C" >&6
54758 else
54762 ac_ext=cc
54763 ac_cpp='$CXXCPP $CPPFLAGS'
54764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54768 cat >conftest.$ac_ext <<_ACEOF
54769 /* confdefs.h. */
54770 _ACEOF
54771 cat confdefs.h >>conftest.$ac_ext
54772 cat >>conftest.$ac_ext <<_ACEOF
54773 /* end confdefs.h. */
54774 #include <math.h>
54776 main ()
54778 sincos(0, 0, 0);
54780 return 0;
54782 _ACEOF
54783 rm -f conftest.$ac_objext
54784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54785 (eval $ac_compile) 2>conftest.er1
54786 ac_status=$?
54787 grep -v '^ *+' conftest.er1 >conftest.err
54788 rm -f conftest.er1
54789 cat conftest.err >&5
54790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54791 (exit $ac_status); } &&
54792 { ac_try='test -z "$ac_cxx_werror_flag"
54793 || test ! -s conftest.err'
54794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54795 (eval $ac_try) 2>&5
54796 ac_status=$?
54797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54798 (exit $ac_status); }; } &&
54799 { ac_try='test -s conftest.$ac_objext'
54800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54801 (eval $ac_try) 2>&5
54802 ac_status=$?
54803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54804 (exit $ac_status); }; }; then
54805 glibcxx_cv_func_sincos_use=yes
54806 else
54807 echo "$as_me: failed program was:" >&5
54808 sed 's/^/| /' conftest.$ac_ext >&5
54810 glibcxx_cv_func_sincos_use=no
54812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54813 ac_ext=c
54814 ac_cpp='$CPP $CPPFLAGS'
54815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54823 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54824 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54826 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54828 for ac_func in sincos
54830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54831 echo "$as_me:$LINENO: checking for $ac_func" >&5
54832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54833 if eval "test \"\${$as_ac_var+set}\" = set"; then
54834 echo $ECHO_N "(cached) $ECHO_C" >&6
54835 else
54836 if test x$gcc_no_link = xyes; then
54837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54839 { (exit 1); exit 1; }; }
54841 cat >conftest.$ac_ext <<_ACEOF
54842 /* confdefs.h. */
54843 _ACEOF
54844 cat confdefs.h >>conftest.$ac_ext
54845 cat >>conftest.$ac_ext <<_ACEOF
54846 /* end confdefs.h. */
54847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54849 #define $ac_func innocuous_$ac_func
54851 /* System header to define __stub macros and hopefully few prototypes,
54852 which can conflict with char $ac_func (); below.
54853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54854 <limits.h> exists even on freestanding compilers. */
54856 #ifdef __STDC__
54857 # include <limits.h>
54858 #else
54859 # include <assert.h>
54860 #endif
54862 #undef $ac_func
54864 /* Override any gcc2 internal prototype to avoid an error. */
54865 #ifdef __cplusplus
54866 extern "C"
54868 #endif
54869 /* We use char because int might match the return type of a gcc2
54870 builtin and then its argument prototype would still apply. */
54871 char $ac_func ();
54872 /* The GNU C library defines this for functions which it implements
54873 to always fail with ENOSYS. Some functions are actually named
54874 something starting with __ and the normal name is an alias. */
54875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54876 choke me
54877 #else
54878 char (*f) () = $ac_func;
54879 #endif
54880 #ifdef __cplusplus
54882 #endif
54885 main ()
54887 return f != $ac_func;
54889 return 0;
54891 _ACEOF
54892 rm -f conftest.$ac_objext conftest$ac_exeext
54893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54894 (eval $ac_link) 2>conftest.er1
54895 ac_status=$?
54896 grep -v '^ *+' conftest.er1 >conftest.err
54897 rm -f conftest.er1
54898 cat conftest.err >&5
54899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54900 (exit $ac_status); } &&
54901 { ac_try='test -z "$ac_c_werror_flag"
54902 || test ! -s conftest.err'
54903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54904 (eval $ac_try) 2>&5
54905 ac_status=$?
54906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54907 (exit $ac_status); }; } &&
54908 { ac_try='test -s conftest$ac_exeext'
54909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54910 (eval $ac_try) 2>&5
54911 ac_status=$?
54912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54913 (exit $ac_status); }; }; then
54914 eval "$as_ac_var=yes"
54915 else
54916 echo "$as_me: failed program was:" >&5
54917 sed 's/^/| /' conftest.$ac_ext >&5
54919 eval "$as_ac_var=no"
54921 rm -f conftest.err conftest.$ac_objext \
54922 conftest$ac_exeext conftest.$ac_ext
54924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54926 if test `eval echo '${'$as_ac_var'}'` = yes; then
54927 cat >>confdefs.h <<_ACEOF
54928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54929 _ACEOF
54932 done
54934 else
54936 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54937 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54938 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54939 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54940 echo $ECHO_N "(cached) $ECHO_C" >&6
54941 else
54945 ac_ext=cc
54946 ac_cpp='$CXXCPP $CPPFLAGS'
54947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54951 cat >conftest.$ac_ext <<_ACEOF
54952 /* confdefs.h. */
54953 _ACEOF
54954 cat confdefs.h >>conftest.$ac_ext
54955 cat >>conftest.$ac_ext <<_ACEOF
54956 /* end confdefs.h. */
54957 #include <math.h>
54959 main ()
54961 _sincos(0, 0, 0);
54963 return 0;
54965 _ACEOF
54966 rm -f conftest.$ac_objext
54967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54968 (eval $ac_compile) 2>conftest.er1
54969 ac_status=$?
54970 grep -v '^ *+' conftest.er1 >conftest.err
54971 rm -f conftest.er1
54972 cat conftest.err >&5
54973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54974 (exit $ac_status); } &&
54975 { ac_try='test -z "$ac_cxx_werror_flag"
54976 || test ! -s conftest.err'
54977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54978 (eval $ac_try) 2>&5
54979 ac_status=$?
54980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54981 (exit $ac_status); }; } &&
54982 { ac_try='test -s conftest.$ac_objext'
54983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54984 (eval $ac_try) 2>&5
54985 ac_status=$?
54986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54987 (exit $ac_status); }; }; then
54988 glibcxx_cv_func__sincos_use=yes
54989 else
54990 echo "$as_me: failed program was:" >&5
54991 sed 's/^/| /' conftest.$ac_ext >&5
54993 glibcxx_cv_func__sincos_use=no
54995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54996 ac_ext=c
54997 ac_cpp='$CPP $CPPFLAGS'
54998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55006 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55007 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55009 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55011 for ac_func in _sincos
55013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55014 echo "$as_me:$LINENO: checking for $ac_func" >&5
55015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55016 if eval "test \"\${$as_ac_var+set}\" = set"; then
55017 echo $ECHO_N "(cached) $ECHO_C" >&6
55018 else
55019 if test x$gcc_no_link = xyes; then
55020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55022 { (exit 1); exit 1; }; }
55024 cat >conftest.$ac_ext <<_ACEOF
55025 /* confdefs.h. */
55026 _ACEOF
55027 cat confdefs.h >>conftest.$ac_ext
55028 cat >>conftest.$ac_ext <<_ACEOF
55029 /* end confdefs.h. */
55030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55032 #define $ac_func innocuous_$ac_func
55034 /* System header to define __stub macros and hopefully few prototypes,
55035 which can conflict with char $ac_func (); below.
55036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55037 <limits.h> exists even on freestanding compilers. */
55039 #ifdef __STDC__
55040 # include <limits.h>
55041 #else
55042 # include <assert.h>
55043 #endif
55045 #undef $ac_func
55047 /* Override any gcc2 internal prototype to avoid an error. */
55048 #ifdef __cplusplus
55049 extern "C"
55051 #endif
55052 /* We use char because int might match the return type of a gcc2
55053 builtin and then its argument prototype would still apply. */
55054 char $ac_func ();
55055 /* The GNU C library defines this for functions which it implements
55056 to always fail with ENOSYS. Some functions are actually named
55057 something starting with __ and the normal name is an alias. */
55058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55059 choke me
55060 #else
55061 char (*f) () = $ac_func;
55062 #endif
55063 #ifdef __cplusplus
55065 #endif
55068 main ()
55070 return f != $ac_func;
55072 return 0;
55074 _ACEOF
55075 rm -f conftest.$ac_objext conftest$ac_exeext
55076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55077 (eval $ac_link) 2>conftest.er1
55078 ac_status=$?
55079 grep -v '^ *+' conftest.er1 >conftest.err
55080 rm -f conftest.er1
55081 cat conftest.err >&5
55082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55083 (exit $ac_status); } &&
55084 { ac_try='test -z "$ac_c_werror_flag"
55085 || test ! -s conftest.err'
55086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55087 (eval $ac_try) 2>&5
55088 ac_status=$?
55089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55090 (exit $ac_status); }; } &&
55091 { ac_try='test -s conftest$ac_exeext'
55092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55093 (eval $ac_try) 2>&5
55094 ac_status=$?
55095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55096 (exit $ac_status); }; }; then
55097 eval "$as_ac_var=yes"
55098 else
55099 echo "$as_me: failed program was:" >&5
55100 sed 's/^/| /' conftest.$ac_ext >&5
55102 eval "$as_ac_var=no"
55104 rm -f conftest.err conftest.$ac_objext \
55105 conftest$ac_exeext conftest.$ac_ext
55107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55109 if test `eval echo '${'$as_ac_var'}'` = yes; then
55110 cat >>confdefs.h <<_ACEOF
55111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55112 _ACEOF
55115 done
55125 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55126 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55127 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55128 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55129 echo $ECHO_N "(cached) $ECHO_C" >&6
55130 else
55134 ac_ext=cc
55135 ac_cpp='$CXXCPP $CPPFLAGS'
55136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55140 cat >conftest.$ac_ext <<_ACEOF
55141 /* confdefs.h. */
55142 _ACEOF
55143 cat confdefs.h >>conftest.$ac_ext
55144 cat >>conftest.$ac_ext <<_ACEOF
55145 /* end confdefs.h. */
55146 #include <math.h>
55147 #ifdef HAVE_IEEEFP_H
55148 #include <ieeefp.h>
55149 #endif
55152 main ()
55154 fpclass(0);
55156 return 0;
55158 _ACEOF
55159 rm -f conftest.$ac_objext
55160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55161 (eval $ac_compile) 2>conftest.er1
55162 ac_status=$?
55163 grep -v '^ *+' conftest.er1 >conftest.err
55164 rm -f conftest.er1
55165 cat conftest.err >&5
55166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55167 (exit $ac_status); } &&
55168 { ac_try='test -z "$ac_cxx_werror_flag"
55169 || test ! -s conftest.err'
55170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55171 (eval $ac_try) 2>&5
55172 ac_status=$?
55173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55174 (exit $ac_status); }; } &&
55175 { ac_try='test -s conftest.$ac_objext'
55176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55177 (eval $ac_try) 2>&5
55178 ac_status=$?
55179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55180 (exit $ac_status); }; }; then
55181 glibcxx_cv_func_fpclass_use=yes
55182 else
55183 echo "$as_me: failed program was:" >&5
55184 sed 's/^/| /' conftest.$ac_ext >&5
55186 glibcxx_cv_func_fpclass_use=no
55188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55189 ac_ext=c
55190 ac_cpp='$CPP $CPPFLAGS'
55191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55199 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55200 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55202 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55204 for ac_func in fpclass
55206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55207 echo "$as_me:$LINENO: checking for $ac_func" >&5
55208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55209 if eval "test \"\${$as_ac_var+set}\" = set"; then
55210 echo $ECHO_N "(cached) $ECHO_C" >&6
55211 else
55212 if test x$gcc_no_link = xyes; then
55213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55215 { (exit 1); exit 1; }; }
55217 cat >conftest.$ac_ext <<_ACEOF
55218 /* confdefs.h. */
55219 _ACEOF
55220 cat confdefs.h >>conftest.$ac_ext
55221 cat >>conftest.$ac_ext <<_ACEOF
55222 /* end confdefs.h. */
55223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55225 #define $ac_func innocuous_$ac_func
55227 /* System header to define __stub macros and hopefully few prototypes,
55228 which can conflict with char $ac_func (); below.
55229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55230 <limits.h> exists even on freestanding compilers. */
55232 #ifdef __STDC__
55233 # include <limits.h>
55234 #else
55235 # include <assert.h>
55236 #endif
55238 #undef $ac_func
55240 /* Override any gcc2 internal prototype to avoid an error. */
55241 #ifdef __cplusplus
55242 extern "C"
55244 #endif
55245 /* We use char because int might match the return type of a gcc2
55246 builtin and then its argument prototype would still apply. */
55247 char $ac_func ();
55248 /* The GNU C library defines this for functions which it implements
55249 to always fail with ENOSYS. Some functions are actually named
55250 something starting with __ and the normal name is an alias. */
55251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55252 choke me
55253 #else
55254 char (*f) () = $ac_func;
55255 #endif
55256 #ifdef __cplusplus
55258 #endif
55261 main ()
55263 return f != $ac_func;
55265 return 0;
55267 _ACEOF
55268 rm -f conftest.$ac_objext conftest$ac_exeext
55269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55270 (eval $ac_link) 2>conftest.er1
55271 ac_status=$?
55272 grep -v '^ *+' conftest.er1 >conftest.err
55273 rm -f conftest.er1
55274 cat conftest.err >&5
55275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55276 (exit $ac_status); } &&
55277 { ac_try='test -z "$ac_c_werror_flag"
55278 || test ! -s conftest.err'
55279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55280 (eval $ac_try) 2>&5
55281 ac_status=$?
55282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55283 (exit $ac_status); }; } &&
55284 { ac_try='test -s conftest$ac_exeext'
55285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55286 (eval $ac_try) 2>&5
55287 ac_status=$?
55288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55289 (exit $ac_status); }; }; then
55290 eval "$as_ac_var=yes"
55291 else
55292 echo "$as_me: failed program was:" >&5
55293 sed 's/^/| /' conftest.$ac_ext >&5
55295 eval "$as_ac_var=no"
55297 rm -f conftest.err conftest.$ac_objext \
55298 conftest$ac_exeext conftest.$ac_ext
55300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55302 if test `eval echo '${'$as_ac_var'}'` = yes; then
55303 cat >>confdefs.h <<_ACEOF
55304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55305 _ACEOF
55308 done
55310 else
55312 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55313 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55314 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55315 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55316 echo $ECHO_N "(cached) $ECHO_C" >&6
55317 else
55321 ac_ext=cc
55322 ac_cpp='$CXXCPP $CPPFLAGS'
55323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55327 cat >conftest.$ac_ext <<_ACEOF
55328 /* confdefs.h. */
55329 _ACEOF
55330 cat confdefs.h >>conftest.$ac_ext
55331 cat >>conftest.$ac_ext <<_ACEOF
55332 /* end confdefs.h. */
55333 #include <math.h>
55334 #ifdef HAVE_IEEEFP_H
55335 #include <ieeefp.h>
55336 #endif
55339 main ()
55341 _fpclass(0);
55343 return 0;
55345 _ACEOF
55346 rm -f conftest.$ac_objext
55347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55348 (eval $ac_compile) 2>conftest.er1
55349 ac_status=$?
55350 grep -v '^ *+' conftest.er1 >conftest.err
55351 rm -f conftest.er1
55352 cat conftest.err >&5
55353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55354 (exit $ac_status); } &&
55355 { ac_try='test -z "$ac_cxx_werror_flag"
55356 || test ! -s conftest.err'
55357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55358 (eval $ac_try) 2>&5
55359 ac_status=$?
55360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55361 (exit $ac_status); }; } &&
55362 { ac_try='test -s conftest.$ac_objext'
55363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55364 (eval $ac_try) 2>&5
55365 ac_status=$?
55366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55367 (exit $ac_status); }; }; then
55368 glibcxx_cv_func__fpclass_use=yes
55369 else
55370 echo "$as_me: failed program was:" >&5
55371 sed 's/^/| /' conftest.$ac_ext >&5
55373 glibcxx_cv_func__fpclass_use=no
55375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55376 ac_ext=c
55377 ac_cpp='$CPP $CPPFLAGS'
55378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55386 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55387 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55389 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55391 for ac_func in _fpclass
55393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55394 echo "$as_me:$LINENO: checking for $ac_func" >&5
55395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55396 if eval "test \"\${$as_ac_var+set}\" = set"; then
55397 echo $ECHO_N "(cached) $ECHO_C" >&6
55398 else
55399 if test x$gcc_no_link = xyes; then
55400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55402 { (exit 1); exit 1; }; }
55404 cat >conftest.$ac_ext <<_ACEOF
55405 /* confdefs.h. */
55406 _ACEOF
55407 cat confdefs.h >>conftest.$ac_ext
55408 cat >>conftest.$ac_ext <<_ACEOF
55409 /* end confdefs.h. */
55410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55412 #define $ac_func innocuous_$ac_func
55414 /* System header to define __stub macros and hopefully few prototypes,
55415 which can conflict with char $ac_func (); below.
55416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55417 <limits.h> exists even on freestanding compilers. */
55419 #ifdef __STDC__
55420 # include <limits.h>
55421 #else
55422 # include <assert.h>
55423 #endif
55425 #undef $ac_func
55427 /* Override any gcc2 internal prototype to avoid an error. */
55428 #ifdef __cplusplus
55429 extern "C"
55431 #endif
55432 /* We use char because int might match the return type of a gcc2
55433 builtin and then its argument prototype would still apply. */
55434 char $ac_func ();
55435 /* The GNU C library defines this for functions which it implements
55436 to always fail with ENOSYS. Some functions are actually named
55437 something starting with __ and the normal name is an alias. */
55438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55439 choke me
55440 #else
55441 char (*f) () = $ac_func;
55442 #endif
55443 #ifdef __cplusplus
55445 #endif
55448 main ()
55450 return f != $ac_func;
55452 return 0;
55454 _ACEOF
55455 rm -f conftest.$ac_objext conftest$ac_exeext
55456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55457 (eval $ac_link) 2>conftest.er1
55458 ac_status=$?
55459 grep -v '^ *+' conftest.er1 >conftest.err
55460 rm -f conftest.er1
55461 cat conftest.err >&5
55462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55463 (exit $ac_status); } &&
55464 { ac_try='test -z "$ac_c_werror_flag"
55465 || test ! -s conftest.err'
55466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55467 (eval $ac_try) 2>&5
55468 ac_status=$?
55469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55470 (exit $ac_status); }; } &&
55471 { ac_try='test -s conftest$ac_exeext'
55472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55473 (eval $ac_try) 2>&5
55474 ac_status=$?
55475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55476 (exit $ac_status); }; }; then
55477 eval "$as_ac_var=yes"
55478 else
55479 echo "$as_me: failed program was:" >&5
55480 sed 's/^/| /' conftest.$ac_ext >&5
55482 eval "$as_ac_var=no"
55484 rm -f conftest.err conftest.$ac_objext \
55485 conftest$ac_exeext conftest.$ac_ext
55487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55489 if test `eval echo '${'$as_ac_var'}'` = yes; then
55490 cat >>confdefs.h <<_ACEOF
55491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55492 _ACEOF
55495 done
55505 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55506 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55507 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55508 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55509 echo $ECHO_N "(cached) $ECHO_C" >&6
55510 else
55514 ac_ext=cc
55515 ac_cpp='$CXXCPP $CPPFLAGS'
55516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55520 cat >conftest.$ac_ext <<_ACEOF
55521 /* confdefs.h. */
55522 _ACEOF
55523 cat confdefs.h >>conftest.$ac_ext
55524 cat >>conftest.$ac_ext <<_ACEOF
55525 /* end confdefs.h. */
55526 #include <math.h>
55527 #ifdef HAVE_IEEEFP_H
55528 #include <ieeefp.h>
55529 #endif
55532 main ()
55534 qfpclass(0);
55536 return 0;
55538 _ACEOF
55539 rm -f conftest.$ac_objext
55540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55541 (eval $ac_compile) 2>conftest.er1
55542 ac_status=$?
55543 grep -v '^ *+' conftest.er1 >conftest.err
55544 rm -f conftest.er1
55545 cat conftest.err >&5
55546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55547 (exit $ac_status); } &&
55548 { ac_try='test -z "$ac_cxx_werror_flag"
55549 || test ! -s conftest.err'
55550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55551 (eval $ac_try) 2>&5
55552 ac_status=$?
55553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55554 (exit $ac_status); }; } &&
55555 { ac_try='test -s conftest.$ac_objext'
55556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55557 (eval $ac_try) 2>&5
55558 ac_status=$?
55559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55560 (exit $ac_status); }; }; then
55561 glibcxx_cv_func_qfpclass_use=yes
55562 else
55563 echo "$as_me: failed program was:" >&5
55564 sed 's/^/| /' conftest.$ac_ext >&5
55566 glibcxx_cv_func_qfpclass_use=no
55568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55569 ac_ext=c
55570 ac_cpp='$CPP $CPPFLAGS'
55571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55579 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55580 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55582 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55584 for ac_func in qfpclass
55586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55587 echo "$as_me:$LINENO: checking for $ac_func" >&5
55588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55589 if eval "test \"\${$as_ac_var+set}\" = set"; then
55590 echo $ECHO_N "(cached) $ECHO_C" >&6
55591 else
55592 if test x$gcc_no_link = xyes; then
55593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55595 { (exit 1); exit 1; }; }
55597 cat >conftest.$ac_ext <<_ACEOF
55598 /* confdefs.h. */
55599 _ACEOF
55600 cat confdefs.h >>conftest.$ac_ext
55601 cat >>conftest.$ac_ext <<_ACEOF
55602 /* end confdefs.h. */
55603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55605 #define $ac_func innocuous_$ac_func
55607 /* System header to define __stub macros and hopefully few prototypes,
55608 which can conflict with char $ac_func (); below.
55609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55610 <limits.h> exists even on freestanding compilers. */
55612 #ifdef __STDC__
55613 # include <limits.h>
55614 #else
55615 # include <assert.h>
55616 #endif
55618 #undef $ac_func
55620 /* Override any gcc2 internal prototype to avoid an error. */
55621 #ifdef __cplusplus
55622 extern "C"
55624 #endif
55625 /* We use char because int might match the return type of a gcc2
55626 builtin and then its argument prototype would still apply. */
55627 char $ac_func ();
55628 /* The GNU C library defines this for functions which it implements
55629 to always fail with ENOSYS. Some functions are actually named
55630 something starting with __ and the normal name is an alias. */
55631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55632 choke me
55633 #else
55634 char (*f) () = $ac_func;
55635 #endif
55636 #ifdef __cplusplus
55638 #endif
55641 main ()
55643 return f != $ac_func;
55645 return 0;
55647 _ACEOF
55648 rm -f conftest.$ac_objext conftest$ac_exeext
55649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55650 (eval $ac_link) 2>conftest.er1
55651 ac_status=$?
55652 grep -v '^ *+' conftest.er1 >conftest.err
55653 rm -f conftest.er1
55654 cat conftest.err >&5
55655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55656 (exit $ac_status); } &&
55657 { ac_try='test -z "$ac_c_werror_flag"
55658 || test ! -s conftest.err'
55659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55660 (eval $ac_try) 2>&5
55661 ac_status=$?
55662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55663 (exit $ac_status); }; } &&
55664 { ac_try='test -s conftest$ac_exeext'
55665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55666 (eval $ac_try) 2>&5
55667 ac_status=$?
55668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55669 (exit $ac_status); }; }; then
55670 eval "$as_ac_var=yes"
55671 else
55672 echo "$as_me: failed program was:" >&5
55673 sed 's/^/| /' conftest.$ac_ext >&5
55675 eval "$as_ac_var=no"
55677 rm -f conftest.err conftest.$ac_objext \
55678 conftest$ac_exeext conftest.$ac_ext
55680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55682 if test `eval echo '${'$as_ac_var'}'` = yes; then
55683 cat >>confdefs.h <<_ACEOF
55684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55685 _ACEOF
55688 done
55690 else
55692 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55693 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55694 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55695 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55696 echo $ECHO_N "(cached) $ECHO_C" >&6
55697 else
55701 ac_ext=cc
55702 ac_cpp='$CXXCPP $CPPFLAGS'
55703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55707 cat >conftest.$ac_ext <<_ACEOF
55708 /* confdefs.h. */
55709 _ACEOF
55710 cat confdefs.h >>conftest.$ac_ext
55711 cat >>conftest.$ac_ext <<_ACEOF
55712 /* end confdefs.h. */
55713 #include <math.h>
55714 #ifdef HAVE_IEEEFP_H
55715 #include <ieeefp.h>
55716 #endif
55719 main ()
55721 _qfpclass(0);
55723 return 0;
55725 _ACEOF
55726 rm -f conftest.$ac_objext
55727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55728 (eval $ac_compile) 2>conftest.er1
55729 ac_status=$?
55730 grep -v '^ *+' conftest.er1 >conftest.err
55731 rm -f conftest.er1
55732 cat conftest.err >&5
55733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55734 (exit $ac_status); } &&
55735 { ac_try='test -z "$ac_cxx_werror_flag"
55736 || test ! -s conftest.err'
55737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55738 (eval $ac_try) 2>&5
55739 ac_status=$?
55740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55741 (exit $ac_status); }; } &&
55742 { ac_try='test -s conftest.$ac_objext'
55743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55744 (eval $ac_try) 2>&5
55745 ac_status=$?
55746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55747 (exit $ac_status); }; }; then
55748 glibcxx_cv_func__qfpclass_use=yes
55749 else
55750 echo "$as_me: failed program was:" >&5
55751 sed 's/^/| /' conftest.$ac_ext >&5
55753 glibcxx_cv_func__qfpclass_use=no
55755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55756 ac_ext=c
55757 ac_cpp='$CPP $CPPFLAGS'
55758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55767 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55769 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55771 for ac_func in _qfpclass
55773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55774 echo "$as_me:$LINENO: checking for $ac_func" >&5
55775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55776 if eval "test \"\${$as_ac_var+set}\" = set"; then
55777 echo $ECHO_N "(cached) $ECHO_C" >&6
55778 else
55779 if test x$gcc_no_link = xyes; then
55780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55782 { (exit 1); exit 1; }; }
55784 cat >conftest.$ac_ext <<_ACEOF
55785 /* confdefs.h. */
55786 _ACEOF
55787 cat confdefs.h >>conftest.$ac_ext
55788 cat >>conftest.$ac_ext <<_ACEOF
55789 /* end confdefs.h. */
55790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55792 #define $ac_func innocuous_$ac_func
55794 /* System header to define __stub macros and hopefully few prototypes,
55795 which can conflict with char $ac_func (); below.
55796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55797 <limits.h> exists even on freestanding compilers. */
55799 #ifdef __STDC__
55800 # include <limits.h>
55801 #else
55802 # include <assert.h>
55803 #endif
55805 #undef $ac_func
55807 /* Override any gcc2 internal prototype to avoid an error. */
55808 #ifdef __cplusplus
55809 extern "C"
55811 #endif
55812 /* We use char because int might match the return type of a gcc2
55813 builtin and then its argument prototype would still apply. */
55814 char $ac_func ();
55815 /* The GNU C library defines this for functions which it implements
55816 to always fail with ENOSYS. Some functions are actually named
55817 something starting with __ and the normal name is an alias. */
55818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55819 choke me
55820 #else
55821 char (*f) () = $ac_func;
55822 #endif
55823 #ifdef __cplusplus
55825 #endif
55828 main ()
55830 return f != $ac_func;
55832 return 0;
55834 _ACEOF
55835 rm -f conftest.$ac_objext conftest$ac_exeext
55836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55837 (eval $ac_link) 2>conftest.er1
55838 ac_status=$?
55839 grep -v '^ *+' conftest.er1 >conftest.err
55840 rm -f conftest.er1
55841 cat conftest.err >&5
55842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55843 (exit $ac_status); } &&
55844 { ac_try='test -z "$ac_c_werror_flag"
55845 || test ! -s conftest.err'
55846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55847 (eval $ac_try) 2>&5
55848 ac_status=$?
55849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55850 (exit $ac_status); }; } &&
55851 { ac_try='test -s conftest$ac_exeext'
55852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55853 (eval $ac_try) 2>&5
55854 ac_status=$?
55855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55856 (exit $ac_status); }; }; then
55857 eval "$as_ac_var=yes"
55858 else
55859 echo "$as_me: failed program was:" >&5
55860 sed 's/^/| /' conftest.$ac_ext >&5
55862 eval "$as_ac_var=no"
55864 rm -f conftest.err conftest.$ac_objext \
55865 conftest$ac_exeext conftest.$ac_ext
55867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55869 if test `eval echo '${'$as_ac_var'}'` = yes; then
55870 cat >>confdefs.h <<_ACEOF
55871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55872 _ACEOF
55875 done
55885 echo "$as_me:$LINENO: checking for hypot declaration" >&5
55886 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55887 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55888 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55889 echo $ECHO_N "(cached) $ECHO_C" >&6
55890 else
55894 ac_ext=cc
55895 ac_cpp='$CXXCPP $CPPFLAGS'
55896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55900 cat >conftest.$ac_ext <<_ACEOF
55901 /* confdefs.h. */
55902 _ACEOF
55903 cat confdefs.h >>conftest.$ac_ext
55904 cat >>conftest.$ac_ext <<_ACEOF
55905 /* end confdefs.h. */
55906 #include <math.h>
55908 main ()
55910 hypot(0, 0);
55912 return 0;
55914 _ACEOF
55915 rm -f conftest.$ac_objext
55916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55917 (eval $ac_compile) 2>conftest.er1
55918 ac_status=$?
55919 grep -v '^ *+' conftest.er1 >conftest.err
55920 rm -f conftest.er1
55921 cat conftest.err >&5
55922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55923 (exit $ac_status); } &&
55924 { ac_try='test -z "$ac_cxx_werror_flag"
55925 || test ! -s conftest.err'
55926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55927 (eval $ac_try) 2>&5
55928 ac_status=$?
55929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55930 (exit $ac_status); }; } &&
55931 { ac_try='test -s conftest.$ac_objext'
55932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55933 (eval $ac_try) 2>&5
55934 ac_status=$?
55935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55936 (exit $ac_status); }; }; then
55937 glibcxx_cv_func_hypot_use=yes
55938 else
55939 echo "$as_me: failed program was:" >&5
55940 sed 's/^/| /' conftest.$ac_ext >&5
55942 glibcxx_cv_func_hypot_use=no
55944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55945 ac_ext=c
55946 ac_cpp='$CPP $CPPFLAGS'
55947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55955 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55956 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55958 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55960 for ac_func in hypot
55962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55963 echo "$as_me:$LINENO: checking for $ac_func" >&5
55964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55965 if eval "test \"\${$as_ac_var+set}\" = set"; then
55966 echo $ECHO_N "(cached) $ECHO_C" >&6
55967 else
55968 if test x$gcc_no_link = xyes; then
55969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55971 { (exit 1); exit 1; }; }
55973 cat >conftest.$ac_ext <<_ACEOF
55974 /* confdefs.h. */
55975 _ACEOF
55976 cat confdefs.h >>conftest.$ac_ext
55977 cat >>conftest.$ac_ext <<_ACEOF
55978 /* end confdefs.h. */
55979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55981 #define $ac_func innocuous_$ac_func
55983 /* System header to define __stub macros and hopefully few prototypes,
55984 which can conflict with char $ac_func (); below.
55985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55986 <limits.h> exists even on freestanding compilers. */
55988 #ifdef __STDC__
55989 # include <limits.h>
55990 #else
55991 # include <assert.h>
55992 #endif
55994 #undef $ac_func
55996 /* Override any gcc2 internal prototype to avoid an error. */
55997 #ifdef __cplusplus
55998 extern "C"
56000 #endif
56001 /* We use char because int might match the return type of a gcc2
56002 builtin and then its argument prototype would still apply. */
56003 char $ac_func ();
56004 /* The GNU C library defines this for functions which it implements
56005 to always fail with ENOSYS. Some functions are actually named
56006 something starting with __ and the normal name is an alias. */
56007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56008 choke me
56009 #else
56010 char (*f) () = $ac_func;
56011 #endif
56012 #ifdef __cplusplus
56014 #endif
56017 main ()
56019 return f != $ac_func;
56021 return 0;
56023 _ACEOF
56024 rm -f conftest.$ac_objext conftest$ac_exeext
56025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56026 (eval $ac_link) 2>conftest.er1
56027 ac_status=$?
56028 grep -v '^ *+' conftest.er1 >conftest.err
56029 rm -f conftest.er1
56030 cat conftest.err >&5
56031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56032 (exit $ac_status); } &&
56033 { ac_try='test -z "$ac_c_werror_flag"
56034 || test ! -s conftest.err'
56035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56036 (eval $ac_try) 2>&5
56037 ac_status=$?
56038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56039 (exit $ac_status); }; } &&
56040 { ac_try='test -s conftest$ac_exeext'
56041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56042 (eval $ac_try) 2>&5
56043 ac_status=$?
56044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56045 (exit $ac_status); }; }; then
56046 eval "$as_ac_var=yes"
56047 else
56048 echo "$as_me: failed program was:" >&5
56049 sed 's/^/| /' conftest.$ac_ext >&5
56051 eval "$as_ac_var=no"
56053 rm -f conftest.err conftest.$ac_objext \
56054 conftest$ac_exeext conftest.$ac_ext
56056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56058 if test `eval echo '${'$as_ac_var'}'` = yes; then
56059 cat >>confdefs.h <<_ACEOF
56060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56061 _ACEOF
56064 done
56066 else
56068 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56069 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56070 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56071 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56072 echo $ECHO_N "(cached) $ECHO_C" >&6
56073 else
56077 ac_ext=cc
56078 ac_cpp='$CXXCPP $CPPFLAGS'
56079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56083 cat >conftest.$ac_ext <<_ACEOF
56084 /* confdefs.h. */
56085 _ACEOF
56086 cat confdefs.h >>conftest.$ac_ext
56087 cat >>conftest.$ac_ext <<_ACEOF
56088 /* end confdefs.h. */
56089 #include <math.h>
56091 main ()
56093 _hypot(0, 0);
56095 return 0;
56097 _ACEOF
56098 rm -f conftest.$ac_objext
56099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56100 (eval $ac_compile) 2>conftest.er1
56101 ac_status=$?
56102 grep -v '^ *+' conftest.er1 >conftest.err
56103 rm -f conftest.er1
56104 cat conftest.err >&5
56105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56106 (exit $ac_status); } &&
56107 { ac_try='test -z "$ac_cxx_werror_flag"
56108 || test ! -s conftest.err'
56109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56110 (eval $ac_try) 2>&5
56111 ac_status=$?
56112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56113 (exit $ac_status); }; } &&
56114 { ac_try='test -s conftest.$ac_objext'
56115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56116 (eval $ac_try) 2>&5
56117 ac_status=$?
56118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56119 (exit $ac_status); }; }; then
56120 glibcxx_cv_func__hypot_use=yes
56121 else
56122 echo "$as_me: failed program was:" >&5
56123 sed 's/^/| /' conftest.$ac_ext >&5
56125 glibcxx_cv_func__hypot_use=no
56127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56128 ac_ext=c
56129 ac_cpp='$CPP $CPPFLAGS'
56130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56138 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56139 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56141 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56143 for ac_func in _hypot
56145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56146 echo "$as_me:$LINENO: checking for $ac_func" >&5
56147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56148 if eval "test \"\${$as_ac_var+set}\" = set"; then
56149 echo $ECHO_N "(cached) $ECHO_C" >&6
56150 else
56151 if test x$gcc_no_link = xyes; then
56152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56154 { (exit 1); exit 1; }; }
56156 cat >conftest.$ac_ext <<_ACEOF
56157 /* confdefs.h. */
56158 _ACEOF
56159 cat confdefs.h >>conftest.$ac_ext
56160 cat >>conftest.$ac_ext <<_ACEOF
56161 /* end confdefs.h. */
56162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56164 #define $ac_func innocuous_$ac_func
56166 /* System header to define __stub macros and hopefully few prototypes,
56167 which can conflict with char $ac_func (); below.
56168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56169 <limits.h> exists even on freestanding compilers. */
56171 #ifdef __STDC__
56172 # include <limits.h>
56173 #else
56174 # include <assert.h>
56175 #endif
56177 #undef $ac_func
56179 /* Override any gcc2 internal prototype to avoid an error. */
56180 #ifdef __cplusplus
56181 extern "C"
56183 #endif
56184 /* We use char because int might match the return type of a gcc2
56185 builtin and then its argument prototype would still apply. */
56186 char $ac_func ();
56187 /* The GNU C library defines this for functions which it implements
56188 to always fail with ENOSYS. Some functions are actually named
56189 something starting with __ and the normal name is an alias. */
56190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56191 choke me
56192 #else
56193 char (*f) () = $ac_func;
56194 #endif
56195 #ifdef __cplusplus
56197 #endif
56200 main ()
56202 return f != $ac_func;
56204 return 0;
56206 _ACEOF
56207 rm -f conftest.$ac_objext conftest$ac_exeext
56208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56209 (eval $ac_link) 2>conftest.er1
56210 ac_status=$?
56211 grep -v '^ *+' conftest.er1 >conftest.err
56212 rm -f conftest.er1
56213 cat conftest.err >&5
56214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56215 (exit $ac_status); } &&
56216 { ac_try='test -z "$ac_c_werror_flag"
56217 || test ! -s conftest.err'
56218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56219 (eval $ac_try) 2>&5
56220 ac_status=$?
56221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56222 (exit $ac_status); }; } &&
56223 { ac_try='test -s conftest$ac_exeext'
56224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56225 (eval $ac_try) 2>&5
56226 ac_status=$?
56227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56228 (exit $ac_status); }; }; then
56229 eval "$as_ac_var=yes"
56230 else
56231 echo "$as_me: failed program was:" >&5
56232 sed 's/^/| /' conftest.$ac_ext >&5
56234 eval "$as_ac_var=no"
56236 rm -f conftest.err conftest.$ac_objext \
56237 conftest$ac_exeext conftest.$ac_ext
56239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56241 if test `eval echo '${'$as_ac_var'}'` = yes; then
56242 cat >>confdefs.h <<_ACEOF
56243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56244 _ACEOF
56247 done
56257 echo "$as_me:$LINENO: checking for float trig functions" >&5
56258 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56259 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56260 echo $ECHO_N "(cached) $ECHO_C" >&6
56261 else
56265 ac_ext=cc
56266 ac_cpp='$CXXCPP $CPPFLAGS'
56267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56271 cat >conftest.$ac_ext <<_ACEOF
56272 /* confdefs.h. */
56273 _ACEOF
56274 cat confdefs.h >>conftest.$ac_ext
56275 cat >>conftest.$ac_ext <<_ACEOF
56276 /* end confdefs.h. */
56277 #include <math.h>
56279 main ()
56281 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56283 return 0;
56285 _ACEOF
56286 rm -f conftest.$ac_objext
56287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56288 (eval $ac_compile) 2>conftest.er1
56289 ac_status=$?
56290 grep -v '^ *+' conftest.er1 >conftest.err
56291 rm -f conftest.er1
56292 cat conftest.err >&5
56293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56294 (exit $ac_status); } &&
56295 { ac_try='test -z "$ac_cxx_werror_flag"
56296 || test ! -s conftest.err'
56297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56298 (eval $ac_try) 2>&5
56299 ac_status=$?
56300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56301 (exit $ac_status); }; } &&
56302 { ac_try='test -s conftest.$ac_objext'
56303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56304 (eval $ac_try) 2>&5
56305 ac_status=$?
56306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56307 (exit $ac_status); }; }; then
56308 glibcxx_cv_func_float_trig_use=yes
56309 else
56310 echo "$as_me: failed program was:" >&5
56311 sed 's/^/| /' conftest.$ac_ext >&5
56313 glibcxx_cv_func_float_trig_use=no
56315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56316 ac_ext=c
56317 ac_cpp='$CPP $CPPFLAGS'
56318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56324 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56325 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56326 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56336 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56339 echo "$as_me:$LINENO: checking for $ac_func" >&5
56340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56341 if eval "test \"\${$as_ac_var+set}\" = set"; then
56342 echo $ECHO_N "(cached) $ECHO_C" >&6
56343 else
56344 if test x$gcc_no_link = xyes; then
56345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56347 { (exit 1); exit 1; }; }
56349 cat >conftest.$ac_ext <<_ACEOF
56350 /* confdefs.h. */
56351 _ACEOF
56352 cat confdefs.h >>conftest.$ac_ext
56353 cat >>conftest.$ac_ext <<_ACEOF
56354 /* end confdefs.h. */
56355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56357 #define $ac_func innocuous_$ac_func
56359 /* System header to define __stub macros and hopefully few prototypes,
56360 which can conflict with char $ac_func (); below.
56361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56362 <limits.h> exists even on freestanding compilers. */
56364 #ifdef __STDC__
56365 # include <limits.h>
56366 #else
56367 # include <assert.h>
56368 #endif
56370 #undef $ac_func
56372 /* Override any gcc2 internal prototype to avoid an error. */
56373 #ifdef __cplusplus
56374 extern "C"
56376 #endif
56377 /* We use char because int might match the return type of a gcc2
56378 builtin and then its argument prototype would still apply. */
56379 char $ac_func ();
56380 /* The GNU C library defines this for functions which it implements
56381 to always fail with ENOSYS. Some functions are actually named
56382 something starting with __ and the normal name is an alias. */
56383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56384 choke me
56385 #else
56386 char (*f) () = $ac_func;
56387 #endif
56388 #ifdef __cplusplus
56390 #endif
56393 main ()
56395 return f != $ac_func;
56397 return 0;
56399 _ACEOF
56400 rm -f conftest.$ac_objext conftest$ac_exeext
56401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56402 (eval $ac_link) 2>conftest.er1
56403 ac_status=$?
56404 grep -v '^ *+' conftest.er1 >conftest.err
56405 rm -f conftest.er1
56406 cat conftest.err >&5
56407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56408 (exit $ac_status); } &&
56409 { ac_try='test -z "$ac_c_werror_flag"
56410 || test ! -s conftest.err'
56411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56412 (eval $ac_try) 2>&5
56413 ac_status=$?
56414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56415 (exit $ac_status); }; } &&
56416 { ac_try='test -s conftest$ac_exeext'
56417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56418 (eval $ac_try) 2>&5
56419 ac_status=$?
56420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56421 (exit $ac_status); }; }; then
56422 eval "$as_ac_var=yes"
56423 else
56424 echo "$as_me: failed program was:" >&5
56425 sed 's/^/| /' conftest.$ac_ext >&5
56427 eval "$as_ac_var=no"
56429 rm -f conftest.err conftest.$ac_objext \
56430 conftest$ac_exeext conftest.$ac_ext
56432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56434 if test `eval echo '${'$as_ac_var'}'` = yes; then
56435 cat >>confdefs.h <<_ACEOF
56436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56437 _ACEOF
56440 done
56442 else
56443 echo "$as_me:$LINENO: checking for _float trig functions" >&5
56444 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
56445 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
56446 echo $ECHO_N "(cached) $ECHO_C" >&6
56447 else
56451 ac_ext=cc
56452 ac_cpp='$CXXCPP $CPPFLAGS'
56453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56457 cat >conftest.$ac_ext <<_ACEOF
56458 /* confdefs.h. */
56459 _ACEOF
56460 cat confdefs.h >>conftest.$ac_ext
56461 cat >>conftest.$ac_ext <<_ACEOF
56462 /* end confdefs.h. */
56463 #include <math.h>
56465 main ()
56467 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56469 return 0;
56471 _ACEOF
56472 rm -f conftest.$ac_objext
56473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56474 (eval $ac_compile) 2>conftest.er1
56475 ac_status=$?
56476 grep -v '^ *+' conftest.er1 >conftest.err
56477 rm -f conftest.er1
56478 cat conftest.err >&5
56479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56480 (exit $ac_status); } &&
56481 { ac_try='test -z "$ac_cxx_werror_flag"
56482 || test ! -s conftest.err'
56483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56484 (eval $ac_try) 2>&5
56485 ac_status=$?
56486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56487 (exit $ac_status); }; } &&
56488 { ac_try='test -s conftest.$ac_objext'
56489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56490 (eval $ac_try) 2>&5
56491 ac_status=$?
56492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56493 (exit $ac_status); }; }; then
56494 glibcxx_cv_func__float_trig_use=yes
56495 else
56496 echo "$as_me: failed program was:" >&5
56497 sed 's/^/| /' conftest.$ac_ext >&5
56499 glibcxx_cv_func__float_trig_use=no
56501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56502 ac_ext=c
56503 ac_cpp='$CPP $CPPFLAGS'
56504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56510 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
56511 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
56512 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56522 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56525 echo "$as_me:$LINENO: checking for $ac_func" >&5
56526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56527 if eval "test \"\${$as_ac_var+set}\" = set"; then
56528 echo $ECHO_N "(cached) $ECHO_C" >&6
56529 else
56530 if test x$gcc_no_link = xyes; then
56531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56533 { (exit 1); exit 1; }; }
56535 cat >conftest.$ac_ext <<_ACEOF
56536 /* confdefs.h. */
56537 _ACEOF
56538 cat confdefs.h >>conftest.$ac_ext
56539 cat >>conftest.$ac_ext <<_ACEOF
56540 /* end confdefs.h. */
56541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56543 #define $ac_func innocuous_$ac_func
56545 /* System header to define __stub macros and hopefully few prototypes,
56546 which can conflict with char $ac_func (); below.
56547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56548 <limits.h> exists even on freestanding compilers. */
56550 #ifdef __STDC__
56551 # include <limits.h>
56552 #else
56553 # include <assert.h>
56554 #endif
56556 #undef $ac_func
56558 /* Override any gcc2 internal prototype to avoid an error. */
56559 #ifdef __cplusplus
56560 extern "C"
56562 #endif
56563 /* We use char because int might match the return type of a gcc2
56564 builtin and then its argument prototype would still apply. */
56565 char $ac_func ();
56566 /* The GNU C library defines this for functions which it implements
56567 to always fail with ENOSYS. Some functions are actually named
56568 something starting with __ and the normal name is an alias. */
56569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56570 choke me
56571 #else
56572 char (*f) () = $ac_func;
56573 #endif
56574 #ifdef __cplusplus
56576 #endif
56579 main ()
56581 return f != $ac_func;
56583 return 0;
56585 _ACEOF
56586 rm -f conftest.$ac_objext conftest$ac_exeext
56587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56588 (eval $ac_link) 2>conftest.er1
56589 ac_status=$?
56590 grep -v '^ *+' conftest.er1 >conftest.err
56591 rm -f conftest.er1
56592 cat conftest.err >&5
56593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56594 (exit $ac_status); } &&
56595 { ac_try='test -z "$ac_c_werror_flag"
56596 || test ! -s conftest.err'
56597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56598 (eval $ac_try) 2>&5
56599 ac_status=$?
56600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56601 (exit $ac_status); }; } &&
56602 { ac_try='test -s conftest$ac_exeext'
56603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56604 (eval $ac_try) 2>&5
56605 ac_status=$?
56606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56607 (exit $ac_status); }; }; then
56608 eval "$as_ac_var=yes"
56609 else
56610 echo "$as_me: failed program was:" >&5
56611 sed 's/^/| /' conftest.$ac_ext >&5
56613 eval "$as_ac_var=no"
56615 rm -f conftest.err conftest.$ac_objext \
56616 conftest$ac_exeext conftest.$ac_ext
56618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56620 if test `eval echo '${'$as_ac_var'}'` = yes; then
56621 cat >>confdefs.h <<_ACEOF
56622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56623 _ACEOF
56626 done
56644 echo "$as_me:$LINENO: checking for float round functions" >&5
56645 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56646 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56647 echo $ECHO_N "(cached) $ECHO_C" >&6
56648 else
56652 ac_ext=cc
56653 ac_cpp='$CXXCPP $CPPFLAGS'
56654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56658 cat >conftest.$ac_ext <<_ACEOF
56659 /* confdefs.h. */
56660 _ACEOF
56661 cat confdefs.h >>conftest.$ac_ext
56662 cat >>conftest.$ac_ext <<_ACEOF
56663 /* end confdefs.h. */
56664 #include <math.h>
56666 main ()
56668 ceilf (0); floorf (0);
56670 return 0;
56672 _ACEOF
56673 rm -f conftest.$ac_objext
56674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56675 (eval $ac_compile) 2>conftest.er1
56676 ac_status=$?
56677 grep -v '^ *+' conftest.er1 >conftest.err
56678 rm -f conftest.er1
56679 cat conftest.err >&5
56680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56681 (exit $ac_status); } &&
56682 { ac_try='test -z "$ac_cxx_werror_flag"
56683 || test ! -s conftest.err'
56684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56685 (eval $ac_try) 2>&5
56686 ac_status=$?
56687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56688 (exit $ac_status); }; } &&
56689 { ac_try='test -s conftest.$ac_objext'
56690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56691 (eval $ac_try) 2>&5
56692 ac_status=$?
56693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56694 (exit $ac_status); }; }; then
56695 glibcxx_cv_func_float_round_use=yes
56696 else
56697 echo "$as_me: failed program was:" >&5
56698 sed 's/^/| /' conftest.$ac_ext >&5
56700 glibcxx_cv_func_float_round_use=no
56702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56703 ac_ext=c
56704 ac_cpp='$CPP $CPPFLAGS'
56705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56712 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56713 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56716 for ac_func in ceilf floorf
56718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56719 echo "$as_me:$LINENO: checking for $ac_func" >&5
56720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56721 if eval "test \"\${$as_ac_var+set}\" = set"; then
56722 echo $ECHO_N "(cached) $ECHO_C" >&6
56723 else
56724 if test x$gcc_no_link = xyes; then
56725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56727 { (exit 1); exit 1; }; }
56729 cat >conftest.$ac_ext <<_ACEOF
56730 /* confdefs.h. */
56731 _ACEOF
56732 cat confdefs.h >>conftest.$ac_ext
56733 cat >>conftest.$ac_ext <<_ACEOF
56734 /* end confdefs.h. */
56735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56737 #define $ac_func innocuous_$ac_func
56739 /* System header to define __stub macros and hopefully few prototypes,
56740 which can conflict with char $ac_func (); below.
56741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56742 <limits.h> exists even on freestanding compilers. */
56744 #ifdef __STDC__
56745 # include <limits.h>
56746 #else
56747 # include <assert.h>
56748 #endif
56750 #undef $ac_func
56752 /* Override any gcc2 internal prototype to avoid an error. */
56753 #ifdef __cplusplus
56754 extern "C"
56756 #endif
56757 /* We use char because int might match the return type of a gcc2
56758 builtin and then its argument prototype would still apply. */
56759 char $ac_func ();
56760 /* The GNU C library defines this for functions which it implements
56761 to always fail with ENOSYS. Some functions are actually named
56762 something starting with __ and the normal name is an alias. */
56763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56764 choke me
56765 #else
56766 char (*f) () = $ac_func;
56767 #endif
56768 #ifdef __cplusplus
56770 #endif
56773 main ()
56775 return f != $ac_func;
56777 return 0;
56779 _ACEOF
56780 rm -f conftest.$ac_objext conftest$ac_exeext
56781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56782 (eval $ac_link) 2>conftest.er1
56783 ac_status=$?
56784 grep -v '^ *+' conftest.er1 >conftest.err
56785 rm -f conftest.er1
56786 cat conftest.err >&5
56787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56788 (exit $ac_status); } &&
56789 { ac_try='test -z "$ac_c_werror_flag"
56790 || test ! -s conftest.err'
56791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56792 (eval $ac_try) 2>&5
56793 ac_status=$?
56794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56795 (exit $ac_status); }; } &&
56796 { ac_try='test -s conftest$ac_exeext'
56797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56798 (eval $ac_try) 2>&5
56799 ac_status=$?
56800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56801 (exit $ac_status); }; }; then
56802 eval "$as_ac_var=yes"
56803 else
56804 echo "$as_me: failed program was:" >&5
56805 sed 's/^/| /' conftest.$ac_ext >&5
56807 eval "$as_ac_var=no"
56809 rm -f conftest.err conftest.$ac_objext \
56810 conftest$ac_exeext conftest.$ac_ext
56812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56814 if test `eval echo '${'$as_ac_var'}'` = yes; then
56815 cat >>confdefs.h <<_ACEOF
56816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56817 _ACEOF
56820 done
56822 else
56823 echo "$as_me:$LINENO: checking for _float round functions" >&5
56824 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
56825 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
56826 echo $ECHO_N "(cached) $ECHO_C" >&6
56827 else
56831 ac_ext=cc
56832 ac_cpp='$CXXCPP $CPPFLAGS'
56833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56837 cat >conftest.$ac_ext <<_ACEOF
56838 /* confdefs.h. */
56839 _ACEOF
56840 cat confdefs.h >>conftest.$ac_ext
56841 cat >>conftest.$ac_ext <<_ACEOF
56842 /* end confdefs.h. */
56843 #include <math.h>
56845 main ()
56847 _ceilf (0); _floorf (0);
56849 return 0;
56851 _ACEOF
56852 rm -f conftest.$ac_objext
56853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56854 (eval $ac_compile) 2>conftest.er1
56855 ac_status=$?
56856 grep -v '^ *+' conftest.er1 >conftest.err
56857 rm -f conftest.er1
56858 cat conftest.err >&5
56859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56860 (exit $ac_status); } &&
56861 { ac_try='test -z "$ac_cxx_werror_flag"
56862 || test ! -s conftest.err'
56863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56864 (eval $ac_try) 2>&5
56865 ac_status=$?
56866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56867 (exit $ac_status); }; } &&
56868 { ac_try='test -s conftest.$ac_objext'
56869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56870 (eval $ac_try) 2>&5
56871 ac_status=$?
56872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56873 (exit $ac_status); }; }; then
56874 glibcxx_cv_func__float_round_use=yes
56875 else
56876 echo "$as_me: failed program was:" >&5
56877 sed 's/^/| /' conftest.$ac_ext >&5
56879 glibcxx_cv_func__float_round_use=no
56881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56882 ac_ext=c
56883 ac_cpp='$CPP $CPPFLAGS'
56884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56890 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
56891 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
56892 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56895 for ac_func in _ceilf _floorf
56897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56898 echo "$as_me:$LINENO: checking for $ac_func" >&5
56899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56900 if eval "test \"\${$as_ac_var+set}\" = set"; then
56901 echo $ECHO_N "(cached) $ECHO_C" >&6
56902 else
56903 if test x$gcc_no_link = xyes; then
56904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56906 { (exit 1); exit 1; }; }
56908 cat >conftest.$ac_ext <<_ACEOF
56909 /* confdefs.h. */
56910 _ACEOF
56911 cat confdefs.h >>conftest.$ac_ext
56912 cat >>conftest.$ac_ext <<_ACEOF
56913 /* end confdefs.h. */
56914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56916 #define $ac_func innocuous_$ac_func
56918 /* System header to define __stub macros and hopefully few prototypes,
56919 which can conflict with char $ac_func (); below.
56920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56921 <limits.h> exists even on freestanding compilers. */
56923 #ifdef __STDC__
56924 # include <limits.h>
56925 #else
56926 # include <assert.h>
56927 #endif
56929 #undef $ac_func
56931 /* Override any gcc2 internal prototype to avoid an error. */
56932 #ifdef __cplusplus
56933 extern "C"
56935 #endif
56936 /* We use char because int might match the return type of a gcc2
56937 builtin and then its argument prototype would still apply. */
56938 char $ac_func ();
56939 /* The GNU C library defines this for functions which it implements
56940 to always fail with ENOSYS. Some functions are actually named
56941 something starting with __ and the normal name is an alias. */
56942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56943 choke me
56944 #else
56945 char (*f) () = $ac_func;
56946 #endif
56947 #ifdef __cplusplus
56949 #endif
56952 main ()
56954 return f != $ac_func;
56956 return 0;
56958 _ACEOF
56959 rm -f conftest.$ac_objext conftest$ac_exeext
56960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56961 (eval $ac_link) 2>conftest.er1
56962 ac_status=$?
56963 grep -v '^ *+' conftest.er1 >conftest.err
56964 rm -f conftest.er1
56965 cat conftest.err >&5
56966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56967 (exit $ac_status); } &&
56968 { ac_try='test -z "$ac_c_werror_flag"
56969 || test ! -s conftest.err'
56970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56971 (eval $ac_try) 2>&5
56972 ac_status=$?
56973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56974 (exit $ac_status); }; } &&
56975 { ac_try='test -s conftest$ac_exeext'
56976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56977 (eval $ac_try) 2>&5
56978 ac_status=$?
56979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56980 (exit $ac_status); }; }; then
56981 eval "$as_ac_var=yes"
56982 else
56983 echo "$as_me: failed program was:" >&5
56984 sed 's/^/| /' conftest.$ac_ext >&5
56986 eval "$as_ac_var=no"
56988 rm -f conftest.err conftest.$ac_objext \
56989 conftest$ac_exeext conftest.$ac_ext
56991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56993 if test `eval echo '${'$as_ac_var'}'` = yes; then
56994 cat >>confdefs.h <<_ACEOF
56995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56996 _ACEOF
56999 done
57011 echo "$as_me:$LINENO: checking for expf declaration" >&5
57012 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57013 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57014 if test "${glibcxx_cv_func_expf_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>
57033 #ifdef HAVE_IEEEFP_H
57034 #include <ieeefp.h>
57035 #endif
57038 main ()
57040 expf(0);
57042 return 0;
57044 _ACEOF
57045 rm -f conftest.$ac_objext
57046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57047 (eval $ac_compile) 2>conftest.er1
57048 ac_status=$?
57049 grep -v '^ *+' conftest.er1 >conftest.err
57050 rm -f conftest.er1
57051 cat conftest.err >&5
57052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57053 (exit $ac_status); } &&
57054 { ac_try='test -z "$ac_cxx_werror_flag"
57055 || test ! -s conftest.err'
57056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57057 (eval $ac_try) 2>&5
57058 ac_status=$?
57059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57060 (exit $ac_status); }; } &&
57061 { ac_try='test -s conftest.$ac_objext'
57062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57063 (eval $ac_try) 2>&5
57064 ac_status=$?
57065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57066 (exit $ac_status); }; }; then
57067 glibcxx_cv_func_expf_use=yes
57068 else
57069 echo "$as_me: failed program was:" >&5
57070 sed 's/^/| /' conftest.$ac_ext >&5
57072 glibcxx_cv_func_expf_use=no
57074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57075 ac_ext=c
57076 ac_cpp='$CPP $CPPFLAGS'
57077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57086 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57088 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57090 for ac_func in expf
57092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57093 echo "$as_me:$LINENO: checking for $ac_func" >&5
57094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57095 if eval "test \"\${$as_ac_var+set}\" = set"; then
57096 echo $ECHO_N "(cached) $ECHO_C" >&6
57097 else
57098 if test x$gcc_no_link = xyes; then
57099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57101 { (exit 1); exit 1; }; }
57103 cat >conftest.$ac_ext <<_ACEOF
57104 /* confdefs.h. */
57105 _ACEOF
57106 cat confdefs.h >>conftest.$ac_ext
57107 cat >>conftest.$ac_ext <<_ACEOF
57108 /* end confdefs.h. */
57109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57111 #define $ac_func innocuous_$ac_func
57113 /* System header to define __stub macros and hopefully few prototypes,
57114 which can conflict with char $ac_func (); below.
57115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57116 <limits.h> exists even on freestanding compilers. */
57118 #ifdef __STDC__
57119 # include <limits.h>
57120 #else
57121 # include <assert.h>
57122 #endif
57124 #undef $ac_func
57126 /* Override any gcc2 internal prototype to avoid an error. */
57127 #ifdef __cplusplus
57128 extern "C"
57130 #endif
57131 /* We use char because int might match the return type of a gcc2
57132 builtin and then its argument prototype would still apply. */
57133 char $ac_func ();
57134 /* The GNU C library defines this for functions which it implements
57135 to always fail with ENOSYS. Some functions are actually named
57136 something starting with __ and the normal name is an alias. */
57137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57138 choke me
57139 #else
57140 char (*f) () = $ac_func;
57141 #endif
57142 #ifdef __cplusplus
57144 #endif
57147 main ()
57149 return f != $ac_func;
57151 return 0;
57153 _ACEOF
57154 rm -f conftest.$ac_objext conftest$ac_exeext
57155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57156 (eval $ac_link) 2>conftest.er1
57157 ac_status=$?
57158 grep -v '^ *+' conftest.er1 >conftest.err
57159 rm -f conftest.er1
57160 cat conftest.err >&5
57161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57162 (exit $ac_status); } &&
57163 { ac_try='test -z "$ac_c_werror_flag"
57164 || test ! -s conftest.err'
57165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57166 (eval $ac_try) 2>&5
57167 ac_status=$?
57168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57169 (exit $ac_status); }; } &&
57170 { ac_try='test -s conftest$ac_exeext'
57171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57172 (eval $ac_try) 2>&5
57173 ac_status=$?
57174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57175 (exit $ac_status); }; }; then
57176 eval "$as_ac_var=yes"
57177 else
57178 echo "$as_me: failed program was:" >&5
57179 sed 's/^/| /' conftest.$ac_ext >&5
57181 eval "$as_ac_var=no"
57183 rm -f conftest.err conftest.$ac_objext \
57184 conftest$ac_exeext conftest.$ac_ext
57186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57188 if test `eval echo '${'$as_ac_var'}'` = yes; then
57189 cat >>confdefs.h <<_ACEOF
57190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57191 _ACEOF
57194 done
57196 else
57198 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57199 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57200 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57201 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57202 echo $ECHO_N "(cached) $ECHO_C" >&6
57203 else
57207 ac_ext=cc
57208 ac_cpp='$CXXCPP $CPPFLAGS'
57209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57213 cat >conftest.$ac_ext <<_ACEOF
57214 /* confdefs.h. */
57215 _ACEOF
57216 cat confdefs.h >>conftest.$ac_ext
57217 cat >>conftest.$ac_ext <<_ACEOF
57218 /* end confdefs.h. */
57219 #include <math.h>
57220 #ifdef HAVE_IEEEFP_H
57221 #include <ieeefp.h>
57222 #endif
57225 main ()
57227 _expf(0);
57229 return 0;
57231 _ACEOF
57232 rm -f conftest.$ac_objext
57233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57234 (eval $ac_compile) 2>conftest.er1
57235 ac_status=$?
57236 grep -v '^ *+' conftest.er1 >conftest.err
57237 rm -f conftest.er1
57238 cat conftest.err >&5
57239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57240 (exit $ac_status); } &&
57241 { ac_try='test -z "$ac_cxx_werror_flag"
57242 || test ! -s conftest.err'
57243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57244 (eval $ac_try) 2>&5
57245 ac_status=$?
57246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57247 (exit $ac_status); }; } &&
57248 { ac_try='test -s conftest.$ac_objext'
57249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57250 (eval $ac_try) 2>&5
57251 ac_status=$?
57252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57253 (exit $ac_status); }; }; then
57254 glibcxx_cv_func__expf_use=yes
57255 else
57256 echo "$as_me: failed program was:" >&5
57257 sed 's/^/| /' conftest.$ac_ext >&5
57259 glibcxx_cv_func__expf_use=no
57261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57262 ac_ext=c
57263 ac_cpp='$CPP $CPPFLAGS'
57264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57272 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57273 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57275 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57277 for ac_func in _expf
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
57391 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57392 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57393 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57394 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57395 echo $ECHO_N "(cached) $ECHO_C" >&6
57396 else
57400 ac_ext=cc
57401 ac_cpp='$CXXCPP $CPPFLAGS'
57402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57406 cat >conftest.$ac_ext <<_ACEOF
57407 /* confdefs.h. */
57408 _ACEOF
57409 cat confdefs.h >>conftest.$ac_ext
57410 cat >>conftest.$ac_ext <<_ACEOF
57411 /* end confdefs.h. */
57412 #include <math.h>
57413 #ifdef HAVE_IEEEFP_H
57414 #include <ieeefp.h>
57415 #endif
57418 main ()
57420 isnanf(0);
57422 return 0;
57424 _ACEOF
57425 rm -f conftest.$ac_objext
57426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57427 (eval $ac_compile) 2>conftest.er1
57428 ac_status=$?
57429 grep -v '^ *+' conftest.er1 >conftest.err
57430 rm -f conftest.er1
57431 cat conftest.err >&5
57432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57433 (exit $ac_status); } &&
57434 { ac_try='test -z "$ac_cxx_werror_flag"
57435 || test ! -s conftest.err'
57436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57437 (eval $ac_try) 2>&5
57438 ac_status=$?
57439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57440 (exit $ac_status); }; } &&
57441 { ac_try='test -s conftest.$ac_objext'
57442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57443 (eval $ac_try) 2>&5
57444 ac_status=$?
57445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57446 (exit $ac_status); }; }; then
57447 glibcxx_cv_func_isnanf_use=yes
57448 else
57449 echo "$as_me: failed program was:" >&5
57450 sed 's/^/| /' conftest.$ac_ext >&5
57452 glibcxx_cv_func_isnanf_use=no
57454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57455 ac_ext=c
57456 ac_cpp='$CPP $CPPFLAGS'
57457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57466 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57468 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57470 for ac_func in isnanf
57472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57473 echo "$as_me:$LINENO: checking for $ac_func" >&5
57474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57475 if eval "test \"\${$as_ac_var+set}\" = set"; then
57476 echo $ECHO_N "(cached) $ECHO_C" >&6
57477 else
57478 if test x$gcc_no_link = xyes; then
57479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57481 { (exit 1); exit 1; }; }
57483 cat >conftest.$ac_ext <<_ACEOF
57484 /* confdefs.h. */
57485 _ACEOF
57486 cat confdefs.h >>conftest.$ac_ext
57487 cat >>conftest.$ac_ext <<_ACEOF
57488 /* end confdefs.h. */
57489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57491 #define $ac_func innocuous_$ac_func
57493 /* System header to define __stub macros and hopefully few prototypes,
57494 which can conflict with char $ac_func (); below.
57495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57496 <limits.h> exists even on freestanding compilers. */
57498 #ifdef __STDC__
57499 # include <limits.h>
57500 #else
57501 # include <assert.h>
57502 #endif
57504 #undef $ac_func
57506 /* Override any gcc2 internal prototype to avoid an error. */
57507 #ifdef __cplusplus
57508 extern "C"
57510 #endif
57511 /* We use char because int might match the return type of a gcc2
57512 builtin and then its argument prototype would still apply. */
57513 char $ac_func ();
57514 /* The GNU C library defines this for functions which it implements
57515 to always fail with ENOSYS. Some functions are actually named
57516 something starting with __ and the normal name is an alias. */
57517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57518 choke me
57519 #else
57520 char (*f) () = $ac_func;
57521 #endif
57522 #ifdef __cplusplus
57524 #endif
57527 main ()
57529 return f != $ac_func;
57531 return 0;
57533 _ACEOF
57534 rm -f conftest.$ac_objext conftest$ac_exeext
57535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57536 (eval $ac_link) 2>conftest.er1
57537 ac_status=$?
57538 grep -v '^ *+' conftest.er1 >conftest.err
57539 rm -f conftest.er1
57540 cat conftest.err >&5
57541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57542 (exit $ac_status); } &&
57543 { ac_try='test -z "$ac_c_werror_flag"
57544 || test ! -s conftest.err'
57545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57546 (eval $ac_try) 2>&5
57547 ac_status=$?
57548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57549 (exit $ac_status); }; } &&
57550 { ac_try='test -s conftest$ac_exeext'
57551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57552 (eval $ac_try) 2>&5
57553 ac_status=$?
57554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57555 (exit $ac_status); }; }; then
57556 eval "$as_ac_var=yes"
57557 else
57558 echo "$as_me: failed program was:" >&5
57559 sed 's/^/| /' conftest.$ac_ext >&5
57561 eval "$as_ac_var=no"
57563 rm -f conftest.err conftest.$ac_objext \
57564 conftest$ac_exeext conftest.$ac_ext
57566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57568 if test `eval echo '${'$as_ac_var'}'` = yes; then
57569 cat >>confdefs.h <<_ACEOF
57570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57571 _ACEOF
57574 done
57576 else
57578 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57579 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57580 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57581 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57582 echo $ECHO_N "(cached) $ECHO_C" >&6
57583 else
57587 ac_ext=cc
57588 ac_cpp='$CXXCPP $CPPFLAGS'
57589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57593 cat >conftest.$ac_ext <<_ACEOF
57594 /* confdefs.h. */
57595 _ACEOF
57596 cat confdefs.h >>conftest.$ac_ext
57597 cat >>conftest.$ac_ext <<_ACEOF
57598 /* end confdefs.h. */
57599 #include <math.h>
57600 #ifdef HAVE_IEEEFP_H
57601 #include <ieeefp.h>
57602 #endif
57605 main ()
57607 _isnanf(0);
57609 return 0;
57611 _ACEOF
57612 rm -f conftest.$ac_objext
57613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57614 (eval $ac_compile) 2>conftest.er1
57615 ac_status=$?
57616 grep -v '^ *+' conftest.er1 >conftest.err
57617 rm -f conftest.er1
57618 cat conftest.err >&5
57619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57620 (exit $ac_status); } &&
57621 { ac_try='test -z "$ac_cxx_werror_flag"
57622 || test ! -s conftest.err'
57623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57624 (eval $ac_try) 2>&5
57625 ac_status=$?
57626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57627 (exit $ac_status); }; } &&
57628 { ac_try='test -s conftest.$ac_objext'
57629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57630 (eval $ac_try) 2>&5
57631 ac_status=$?
57632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57633 (exit $ac_status); }; }; then
57634 glibcxx_cv_func__isnanf_use=yes
57635 else
57636 echo "$as_me: failed program was:" >&5
57637 sed 's/^/| /' conftest.$ac_ext >&5
57639 glibcxx_cv_func__isnanf_use=no
57641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57642 ac_ext=c
57643 ac_cpp='$CPP $CPPFLAGS'
57644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57652 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57653 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57655 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57657 for ac_func in _isnanf
57659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57660 echo "$as_me:$LINENO: checking for $ac_func" >&5
57661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57662 if eval "test \"\${$as_ac_var+set}\" = set"; then
57663 echo $ECHO_N "(cached) $ECHO_C" >&6
57664 else
57665 if test x$gcc_no_link = xyes; then
57666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57668 { (exit 1); exit 1; }; }
57670 cat >conftest.$ac_ext <<_ACEOF
57671 /* confdefs.h. */
57672 _ACEOF
57673 cat confdefs.h >>conftest.$ac_ext
57674 cat >>conftest.$ac_ext <<_ACEOF
57675 /* end confdefs.h. */
57676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57678 #define $ac_func innocuous_$ac_func
57680 /* System header to define __stub macros and hopefully few prototypes,
57681 which can conflict with char $ac_func (); below.
57682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57683 <limits.h> exists even on freestanding compilers. */
57685 #ifdef __STDC__
57686 # include <limits.h>
57687 #else
57688 # include <assert.h>
57689 #endif
57691 #undef $ac_func
57693 /* Override any gcc2 internal prototype to avoid an error. */
57694 #ifdef __cplusplus
57695 extern "C"
57697 #endif
57698 /* We use char because int might match the return type of a gcc2
57699 builtin and then its argument prototype would still apply. */
57700 char $ac_func ();
57701 /* The GNU C library defines this for functions which it implements
57702 to always fail with ENOSYS. Some functions are actually named
57703 something starting with __ and the normal name is an alias. */
57704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57705 choke me
57706 #else
57707 char (*f) () = $ac_func;
57708 #endif
57709 #ifdef __cplusplus
57711 #endif
57714 main ()
57716 return f != $ac_func;
57718 return 0;
57720 _ACEOF
57721 rm -f conftest.$ac_objext conftest$ac_exeext
57722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57723 (eval $ac_link) 2>conftest.er1
57724 ac_status=$?
57725 grep -v '^ *+' conftest.er1 >conftest.err
57726 rm -f conftest.er1
57727 cat conftest.err >&5
57728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57729 (exit $ac_status); } &&
57730 { ac_try='test -z "$ac_c_werror_flag"
57731 || test ! -s conftest.err'
57732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57733 (eval $ac_try) 2>&5
57734 ac_status=$?
57735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57736 (exit $ac_status); }; } &&
57737 { ac_try='test -s conftest$ac_exeext'
57738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57739 (eval $ac_try) 2>&5
57740 ac_status=$?
57741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57742 (exit $ac_status); }; }; then
57743 eval "$as_ac_var=yes"
57744 else
57745 echo "$as_me: failed program was:" >&5
57746 sed 's/^/| /' conftest.$ac_ext >&5
57748 eval "$as_ac_var=no"
57750 rm -f conftest.err conftest.$ac_objext \
57751 conftest$ac_exeext conftest.$ac_ext
57753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57755 if test `eval echo '${'$as_ac_var'}'` = yes; then
57756 cat >>confdefs.h <<_ACEOF
57757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57758 _ACEOF
57761 done
57771 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57772 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57773 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57774 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57775 echo $ECHO_N "(cached) $ECHO_C" >&6
57776 else
57780 ac_ext=cc
57781 ac_cpp='$CXXCPP $CPPFLAGS'
57782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57786 cat >conftest.$ac_ext <<_ACEOF
57787 /* confdefs.h. */
57788 _ACEOF
57789 cat confdefs.h >>conftest.$ac_ext
57790 cat >>conftest.$ac_ext <<_ACEOF
57791 /* end confdefs.h. */
57792 #include <math.h>
57793 #ifdef HAVE_IEEEFP_H
57794 #include <ieeefp.h>
57795 #endif
57798 main ()
57800 isinff(0);
57802 return 0;
57804 _ACEOF
57805 rm -f conftest.$ac_objext
57806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57807 (eval $ac_compile) 2>conftest.er1
57808 ac_status=$?
57809 grep -v '^ *+' conftest.er1 >conftest.err
57810 rm -f conftest.er1
57811 cat conftest.err >&5
57812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57813 (exit $ac_status); } &&
57814 { ac_try='test -z "$ac_cxx_werror_flag"
57815 || test ! -s conftest.err'
57816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57817 (eval $ac_try) 2>&5
57818 ac_status=$?
57819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57820 (exit $ac_status); }; } &&
57821 { ac_try='test -s conftest.$ac_objext'
57822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57823 (eval $ac_try) 2>&5
57824 ac_status=$?
57825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57826 (exit $ac_status); }; }; then
57827 glibcxx_cv_func_isinff_use=yes
57828 else
57829 echo "$as_me: failed program was:" >&5
57830 sed 's/^/| /' conftest.$ac_ext >&5
57832 glibcxx_cv_func_isinff_use=no
57834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57835 ac_ext=c
57836 ac_cpp='$CPP $CPPFLAGS'
57837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57846 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57848 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57850 for ac_func in isinff
57852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57853 echo "$as_me:$LINENO: checking for $ac_func" >&5
57854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57855 if eval "test \"\${$as_ac_var+set}\" = set"; then
57856 echo $ECHO_N "(cached) $ECHO_C" >&6
57857 else
57858 if test x$gcc_no_link = xyes; then
57859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57861 { (exit 1); exit 1; }; }
57863 cat >conftest.$ac_ext <<_ACEOF
57864 /* confdefs.h. */
57865 _ACEOF
57866 cat confdefs.h >>conftest.$ac_ext
57867 cat >>conftest.$ac_ext <<_ACEOF
57868 /* end confdefs.h. */
57869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57871 #define $ac_func innocuous_$ac_func
57873 /* System header to define __stub macros and hopefully few prototypes,
57874 which can conflict with char $ac_func (); below.
57875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57876 <limits.h> exists even on freestanding compilers. */
57878 #ifdef __STDC__
57879 # include <limits.h>
57880 #else
57881 # include <assert.h>
57882 #endif
57884 #undef $ac_func
57886 /* Override any gcc2 internal prototype to avoid an error. */
57887 #ifdef __cplusplus
57888 extern "C"
57890 #endif
57891 /* We use char because int might match the return type of a gcc2
57892 builtin and then its argument prototype would still apply. */
57893 char $ac_func ();
57894 /* The GNU C library defines this for functions which it implements
57895 to always fail with ENOSYS. Some functions are actually named
57896 something starting with __ and the normal name is an alias. */
57897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57898 choke me
57899 #else
57900 char (*f) () = $ac_func;
57901 #endif
57902 #ifdef __cplusplus
57904 #endif
57907 main ()
57909 return f != $ac_func;
57911 return 0;
57913 _ACEOF
57914 rm -f conftest.$ac_objext conftest$ac_exeext
57915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57916 (eval $ac_link) 2>conftest.er1
57917 ac_status=$?
57918 grep -v '^ *+' conftest.er1 >conftest.err
57919 rm -f conftest.er1
57920 cat conftest.err >&5
57921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57922 (exit $ac_status); } &&
57923 { ac_try='test -z "$ac_c_werror_flag"
57924 || test ! -s conftest.err'
57925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57926 (eval $ac_try) 2>&5
57927 ac_status=$?
57928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57929 (exit $ac_status); }; } &&
57930 { ac_try='test -s conftest$ac_exeext'
57931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57932 (eval $ac_try) 2>&5
57933 ac_status=$?
57934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57935 (exit $ac_status); }; }; then
57936 eval "$as_ac_var=yes"
57937 else
57938 echo "$as_me: failed program was:" >&5
57939 sed 's/^/| /' conftest.$ac_ext >&5
57941 eval "$as_ac_var=no"
57943 rm -f conftest.err conftest.$ac_objext \
57944 conftest$ac_exeext conftest.$ac_ext
57946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57948 if test `eval echo '${'$as_ac_var'}'` = yes; then
57949 cat >>confdefs.h <<_ACEOF
57950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57951 _ACEOF
57954 done
57956 else
57958 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57959 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57960 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57961 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57962 echo $ECHO_N "(cached) $ECHO_C" >&6
57963 else
57967 ac_ext=cc
57968 ac_cpp='$CXXCPP $CPPFLAGS'
57969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57973 cat >conftest.$ac_ext <<_ACEOF
57974 /* confdefs.h. */
57975 _ACEOF
57976 cat confdefs.h >>conftest.$ac_ext
57977 cat >>conftest.$ac_ext <<_ACEOF
57978 /* end confdefs.h. */
57979 #include <math.h>
57980 #ifdef HAVE_IEEEFP_H
57981 #include <ieeefp.h>
57982 #endif
57985 main ()
57987 _isinff(0);
57989 return 0;
57991 _ACEOF
57992 rm -f conftest.$ac_objext
57993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57994 (eval $ac_compile) 2>conftest.er1
57995 ac_status=$?
57996 grep -v '^ *+' conftest.er1 >conftest.err
57997 rm -f conftest.er1
57998 cat conftest.err >&5
57999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58000 (exit $ac_status); } &&
58001 { ac_try='test -z "$ac_cxx_werror_flag"
58002 || test ! -s conftest.err'
58003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58004 (eval $ac_try) 2>&5
58005 ac_status=$?
58006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58007 (exit $ac_status); }; } &&
58008 { ac_try='test -s conftest.$ac_objext'
58009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58010 (eval $ac_try) 2>&5
58011 ac_status=$?
58012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58013 (exit $ac_status); }; }; then
58014 glibcxx_cv_func__isinff_use=yes
58015 else
58016 echo "$as_me: failed program was:" >&5
58017 sed 's/^/| /' conftest.$ac_ext >&5
58019 glibcxx_cv_func__isinff_use=no
58021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58022 ac_ext=c
58023 ac_cpp='$CPP $CPPFLAGS'
58024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58033 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58035 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58037 for ac_func in _isinff
58039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58040 echo "$as_me:$LINENO: checking for $ac_func" >&5
58041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58042 if eval "test \"\${$as_ac_var+set}\" = set"; then
58043 echo $ECHO_N "(cached) $ECHO_C" >&6
58044 else
58045 if test x$gcc_no_link = xyes; then
58046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58048 { (exit 1); exit 1; }; }
58050 cat >conftest.$ac_ext <<_ACEOF
58051 /* confdefs.h. */
58052 _ACEOF
58053 cat confdefs.h >>conftest.$ac_ext
58054 cat >>conftest.$ac_ext <<_ACEOF
58055 /* end confdefs.h. */
58056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58058 #define $ac_func innocuous_$ac_func
58060 /* System header to define __stub macros and hopefully few prototypes,
58061 which can conflict with char $ac_func (); below.
58062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58063 <limits.h> exists even on freestanding compilers. */
58065 #ifdef __STDC__
58066 # include <limits.h>
58067 #else
58068 # include <assert.h>
58069 #endif
58071 #undef $ac_func
58073 /* Override any gcc2 internal prototype to avoid an error. */
58074 #ifdef __cplusplus
58075 extern "C"
58077 #endif
58078 /* We use char because int might match the return type of a gcc2
58079 builtin and then its argument prototype would still apply. */
58080 char $ac_func ();
58081 /* The GNU C library defines this for functions which it implements
58082 to always fail with ENOSYS. Some functions are actually named
58083 something starting with __ and the normal name is an alias. */
58084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58085 choke me
58086 #else
58087 char (*f) () = $ac_func;
58088 #endif
58089 #ifdef __cplusplus
58091 #endif
58094 main ()
58096 return f != $ac_func;
58098 return 0;
58100 _ACEOF
58101 rm -f conftest.$ac_objext conftest$ac_exeext
58102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58103 (eval $ac_link) 2>conftest.er1
58104 ac_status=$?
58105 grep -v '^ *+' conftest.er1 >conftest.err
58106 rm -f conftest.er1
58107 cat conftest.err >&5
58108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58109 (exit $ac_status); } &&
58110 { ac_try='test -z "$ac_c_werror_flag"
58111 || test ! -s conftest.err'
58112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58113 (eval $ac_try) 2>&5
58114 ac_status=$?
58115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58116 (exit $ac_status); }; } &&
58117 { ac_try='test -s conftest$ac_exeext'
58118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58119 (eval $ac_try) 2>&5
58120 ac_status=$?
58121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58122 (exit $ac_status); }; }; then
58123 eval "$as_ac_var=yes"
58124 else
58125 echo "$as_me: failed program was:" >&5
58126 sed 's/^/| /' conftest.$ac_ext >&5
58128 eval "$as_ac_var=no"
58130 rm -f conftest.err conftest.$ac_objext \
58131 conftest$ac_exeext conftest.$ac_ext
58133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58135 if test `eval echo '${'$as_ac_var'}'` = yes; then
58136 cat >>confdefs.h <<_ACEOF
58137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58138 _ACEOF
58141 done
58151 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58152 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58153 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58154 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58155 echo $ECHO_N "(cached) $ECHO_C" >&6
58156 else
58160 ac_ext=cc
58161 ac_cpp='$CXXCPP $CPPFLAGS'
58162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58166 cat >conftest.$ac_ext <<_ACEOF
58167 /* confdefs.h. */
58168 _ACEOF
58169 cat confdefs.h >>conftest.$ac_ext
58170 cat >>conftest.$ac_ext <<_ACEOF
58171 /* end confdefs.h. */
58172 #include <math.h>
58174 main ()
58176 atan2f(0, 0);
58178 return 0;
58180 _ACEOF
58181 rm -f conftest.$ac_objext
58182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58183 (eval $ac_compile) 2>conftest.er1
58184 ac_status=$?
58185 grep -v '^ *+' conftest.er1 >conftest.err
58186 rm -f conftest.er1
58187 cat conftest.err >&5
58188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58189 (exit $ac_status); } &&
58190 { ac_try='test -z "$ac_cxx_werror_flag"
58191 || test ! -s conftest.err'
58192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58193 (eval $ac_try) 2>&5
58194 ac_status=$?
58195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58196 (exit $ac_status); }; } &&
58197 { ac_try='test -s conftest.$ac_objext'
58198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58199 (eval $ac_try) 2>&5
58200 ac_status=$?
58201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58202 (exit $ac_status); }; }; then
58203 glibcxx_cv_func_atan2f_use=yes
58204 else
58205 echo "$as_me: failed program was:" >&5
58206 sed 's/^/| /' conftest.$ac_ext >&5
58208 glibcxx_cv_func_atan2f_use=no
58210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58211 ac_ext=c
58212 ac_cpp='$CPP $CPPFLAGS'
58213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58222 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58224 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58226 for ac_func in atan2f
58228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58229 echo "$as_me:$LINENO: checking for $ac_func" >&5
58230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58231 if eval "test \"\${$as_ac_var+set}\" = set"; then
58232 echo $ECHO_N "(cached) $ECHO_C" >&6
58233 else
58234 if test x$gcc_no_link = xyes; then
58235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58237 { (exit 1); exit 1; }; }
58239 cat >conftest.$ac_ext <<_ACEOF
58240 /* confdefs.h. */
58241 _ACEOF
58242 cat confdefs.h >>conftest.$ac_ext
58243 cat >>conftest.$ac_ext <<_ACEOF
58244 /* end confdefs.h. */
58245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58247 #define $ac_func innocuous_$ac_func
58249 /* System header to define __stub macros and hopefully few prototypes,
58250 which can conflict with char $ac_func (); below.
58251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58252 <limits.h> exists even on freestanding compilers. */
58254 #ifdef __STDC__
58255 # include <limits.h>
58256 #else
58257 # include <assert.h>
58258 #endif
58260 #undef $ac_func
58262 /* Override any gcc2 internal prototype to avoid an error. */
58263 #ifdef __cplusplus
58264 extern "C"
58266 #endif
58267 /* We use char because int might match the return type of a gcc2
58268 builtin and then its argument prototype would still apply. */
58269 char $ac_func ();
58270 /* The GNU C library defines this for functions which it implements
58271 to always fail with ENOSYS. Some functions are actually named
58272 something starting with __ and the normal name is an alias. */
58273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58274 choke me
58275 #else
58276 char (*f) () = $ac_func;
58277 #endif
58278 #ifdef __cplusplus
58280 #endif
58283 main ()
58285 return f != $ac_func;
58287 return 0;
58289 _ACEOF
58290 rm -f conftest.$ac_objext conftest$ac_exeext
58291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58292 (eval $ac_link) 2>conftest.er1
58293 ac_status=$?
58294 grep -v '^ *+' conftest.er1 >conftest.err
58295 rm -f conftest.er1
58296 cat conftest.err >&5
58297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58298 (exit $ac_status); } &&
58299 { ac_try='test -z "$ac_c_werror_flag"
58300 || test ! -s conftest.err'
58301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58302 (eval $ac_try) 2>&5
58303 ac_status=$?
58304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58305 (exit $ac_status); }; } &&
58306 { ac_try='test -s conftest$ac_exeext'
58307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58308 (eval $ac_try) 2>&5
58309 ac_status=$?
58310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58311 (exit $ac_status); }; }; then
58312 eval "$as_ac_var=yes"
58313 else
58314 echo "$as_me: failed program was:" >&5
58315 sed 's/^/| /' conftest.$ac_ext >&5
58317 eval "$as_ac_var=no"
58319 rm -f conftest.err conftest.$ac_objext \
58320 conftest$ac_exeext conftest.$ac_ext
58322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58324 if test `eval echo '${'$as_ac_var'}'` = yes; then
58325 cat >>confdefs.h <<_ACEOF
58326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58327 _ACEOF
58330 done
58332 else
58334 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58335 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58336 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58337 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58338 echo $ECHO_N "(cached) $ECHO_C" >&6
58339 else
58343 ac_ext=cc
58344 ac_cpp='$CXXCPP $CPPFLAGS'
58345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58349 cat >conftest.$ac_ext <<_ACEOF
58350 /* confdefs.h. */
58351 _ACEOF
58352 cat confdefs.h >>conftest.$ac_ext
58353 cat >>conftest.$ac_ext <<_ACEOF
58354 /* end confdefs.h. */
58355 #include <math.h>
58357 main ()
58359 _atan2f(0, 0);
58361 return 0;
58363 _ACEOF
58364 rm -f conftest.$ac_objext
58365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58366 (eval $ac_compile) 2>conftest.er1
58367 ac_status=$?
58368 grep -v '^ *+' conftest.er1 >conftest.err
58369 rm -f conftest.er1
58370 cat conftest.err >&5
58371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58372 (exit $ac_status); } &&
58373 { ac_try='test -z "$ac_cxx_werror_flag"
58374 || test ! -s conftest.err'
58375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58376 (eval $ac_try) 2>&5
58377 ac_status=$?
58378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58379 (exit $ac_status); }; } &&
58380 { ac_try='test -s conftest.$ac_objext'
58381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58382 (eval $ac_try) 2>&5
58383 ac_status=$?
58384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58385 (exit $ac_status); }; }; then
58386 glibcxx_cv_func__atan2f_use=yes
58387 else
58388 echo "$as_me: failed program was:" >&5
58389 sed 's/^/| /' conftest.$ac_ext >&5
58391 glibcxx_cv_func__atan2f_use=no
58393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58394 ac_ext=c
58395 ac_cpp='$CPP $CPPFLAGS'
58396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58405 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58407 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58409 for ac_func in _atan2f
58411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58412 echo "$as_me:$LINENO: checking for $ac_func" >&5
58413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58414 if eval "test \"\${$as_ac_var+set}\" = set"; then
58415 echo $ECHO_N "(cached) $ECHO_C" >&6
58416 else
58417 if test x$gcc_no_link = xyes; then
58418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58420 { (exit 1); exit 1; }; }
58422 cat >conftest.$ac_ext <<_ACEOF
58423 /* confdefs.h. */
58424 _ACEOF
58425 cat confdefs.h >>conftest.$ac_ext
58426 cat >>conftest.$ac_ext <<_ACEOF
58427 /* end confdefs.h. */
58428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58430 #define $ac_func innocuous_$ac_func
58432 /* System header to define __stub macros and hopefully few prototypes,
58433 which can conflict with char $ac_func (); below.
58434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58435 <limits.h> exists even on freestanding compilers. */
58437 #ifdef __STDC__
58438 # include <limits.h>
58439 #else
58440 # include <assert.h>
58441 #endif
58443 #undef $ac_func
58445 /* Override any gcc2 internal prototype to avoid an error. */
58446 #ifdef __cplusplus
58447 extern "C"
58449 #endif
58450 /* We use char because int might match the return type of a gcc2
58451 builtin and then its argument prototype would still apply. */
58452 char $ac_func ();
58453 /* The GNU C library defines this for functions which it implements
58454 to always fail with ENOSYS. Some functions are actually named
58455 something starting with __ and the normal name is an alias. */
58456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58457 choke me
58458 #else
58459 char (*f) () = $ac_func;
58460 #endif
58461 #ifdef __cplusplus
58463 #endif
58466 main ()
58468 return f != $ac_func;
58470 return 0;
58472 _ACEOF
58473 rm -f conftest.$ac_objext conftest$ac_exeext
58474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58475 (eval $ac_link) 2>conftest.er1
58476 ac_status=$?
58477 grep -v '^ *+' conftest.er1 >conftest.err
58478 rm -f conftest.er1
58479 cat conftest.err >&5
58480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58481 (exit $ac_status); } &&
58482 { ac_try='test -z "$ac_c_werror_flag"
58483 || test ! -s conftest.err'
58484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58485 (eval $ac_try) 2>&5
58486 ac_status=$?
58487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58488 (exit $ac_status); }; } &&
58489 { ac_try='test -s conftest$ac_exeext'
58490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58491 (eval $ac_try) 2>&5
58492 ac_status=$?
58493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58494 (exit $ac_status); }; }; then
58495 eval "$as_ac_var=yes"
58496 else
58497 echo "$as_me: failed program was:" >&5
58498 sed 's/^/| /' conftest.$ac_ext >&5
58500 eval "$as_ac_var=no"
58502 rm -f conftest.err conftest.$ac_objext \
58503 conftest$ac_exeext conftest.$ac_ext
58505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58507 if test `eval echo '${'$as_ac_var'}'` = yes; then
58508 cat >>confdefs.h <<_ACEOF
58509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58510 _ACEOF
58513 done
58523 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58524 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58525 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58526 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58527 echo $ECHO_N "(cached) $ECHO_C" >&6
58528 else
58532 ac_ext=cc
58533 ac_cpp='$CXXCPP $CPPFLAGS'
58534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58538 cat >conftest.$ac_ext <<_ACEOF
58539 /* confdefs.h. */
58540 _ACEOF
58541 cat confdefs.h >>conftest.$ac_ext
58542 cat >>conftest.$ac_ext <<_ACEOF
58543 /* end confdefs.h. */
58544 #include <math.h>
58545 #ifdef HAVE_IEEEFP_H
58546 #include <ieeefp.h>
58547 #endif
58550 main ()
58552 fabsf(0);
58554 return 0;
58556 _ACEOF
58557 rm -f conftest.$ac_objext
58558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58559 (eval $ac_compile) 2>conftest.er1
58560 ac_status=$?
58561 grep -v '^ *+' conftest.er1 >conftest.err
58562 rm -f conftest.er1
58563 cat conftest.err >&5
58564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58565 (exit $ac_status); } &&
58566 { ac_try='test -z "$ac_cxx_werror_flag"
58567 || test ! -s conftest.err'
58568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58569 (eval $ac_try) 2>&5
58570 ac_status=$?
58571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58572 (exit $ac_status); }; } &&
58573 { ac_try='test -s conftest.$ac_objext'
58574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58575 (eval $ac_try) 2>&5
58576 ac_status=$?
58577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58578 (exit $ac_status); }; }; then
58579 glibcxx_cv_func_fabsf_use=yes
58580 else
58581 echo "$as_me: failed program was:" >&5
58582 sed 's/^/| /' conftest.$ac_ext >&5
58584 glibcxx_cv_func_fabsf_use=no
58586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58587 ac_ext=c
58588 ac_cpp='$CPP $CPPFLAGS'
58589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58598 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58600 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58602 for ac_func in fabsf
58604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58605 echo "$as_me:$LINENO: checking for $ac_func" >&5
58606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58607 if eval "test \"\${$as_ac_var+set}\" = set"; then
58608 echo $ECHO_N "(cached) $ECHO_C" >&6
58609 else
58610 if test x$gcc_no_link = xyes; then
58611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58613 { (exit 1); exit 1; }; }
58615 cat >conftest.$ac_ext <<_ACEOF
58616 /* confdefs.h. */
58617 _ACEOF
58618 cat confdefs.h >>conftest.$ac_ext
58619 cat >>conftest.$ac_ext <<_ACEOF
58620 /* end confdefs.h. */
58621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58623 #define $ac_func innocuous_$ac_func
58625 /* System header to define __stub macros and hopefully few prototypes,
58626 which can conflict with char $ac_func (); below.
58627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58628 <limits.h> exists even on freestanding compilers. */
58630 #ifdef __STDC__
58631 # include <limits.h>
58632 #else
58633 # include <assert.h>
58634 #endif
58636 #undef $ac_func
58638 /* Override any gcc2 internal prototype to avoid an error. */
58639 #ifdef __cplusplus
58640 extern "C"
58642 #endif
58643 /* We use char because int might match the return type of a gcc2
58644 builtin and then its argument prototype would still apply. */
58645 char $ac_func ();
58646 /* The GNU C library defines this for functions which it implements
58647 to always fail with ENOSYS. Some functions are actually named
58648 something starting with __ and the normal name is an alias. */
58649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58650 choke me
58651 #else
58652 char (*f) () = $ac_func;
58653 #endif
58654 #ifdef __cplusplus
58656 #endif
58659 main ()
58661 return f != $ac_func;
58663 return 0;
58665 _ACEOF
58666 rm -f conftest.$ac_objext conftest$ac_exeext
58667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58668 (eval $ac_link) 2>conftest.er1
58669 ac_status=$?
58670 grep -v '^ *+' conftest.er1 >conftest.err
58671 rm -f conftest.er1
58672 cat conftest.err >&5
58673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58674 (exit $ac_status); } &&
58675 { ac_try='test -z "$ac_c_werror_flag"
58676 || test ! -s conftest.err'
58677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58678 (eval $ac_try) 2>&5
58679 ac_status=$?
58680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58681 (exit $ac_status); }; } &&
58682 { ac_try='test -s conftest$ac_exeext'
58683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58684 (eval $ac_try) 2>&5
58685 ac_status=$?
58686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58687 (exit $ac_status); }; }; then
58688 eval "$as_ac_var=yes"
58689 else
58690 echo "$as_me: failed program was:" >&5
58691 sed 's/^/| /' conftest.$ac_ext >&5
58693 eval "$as_ac_var=no"
58695 rm -f conftest.err conftest.$ac_objext \
58696 conftest$ac_exeext conftest.$ac_ext
58698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58700 if test `eval echo '${'$as_ac_var'}'` = yes; then
58701 cat >>confdefs.h <<_ACEOF
58702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58703 _ACEOF
58706 done
58708 else
58710 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58711 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58712 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58713 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58714 echo $ECHO_N "(cached) $ECHO_C" >&6
58715 else
58719 ac_ext=cc
58720 ac_cpp='$CXXCPP $CPPFLAGS'
58721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58725 cat >conftest.$ac_ext <<_ACEOF
58726 /* confdefs.h. */
58727 _ACEOF
58728 cat confdefs.h >>conftest.$ac_ext
58729 cat >>conftest.$ac_ext <<_ACEOF
58730 /* end confdefs.h. */
58731 #include <math.h>
58732 #ifdef HAVE_IEEEFP_H
58733 #include <ieeefp.h>
58734 #endif
58737 main ()
58739 _fabsf(0);
58741 return 0;
58743 _ACEOF
58744 rm -f conftest.$ac_objext
58745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58746 (eval $ac_compile) 2>conftest.er1
58747 ac_status=$?
58748 grep -v '^ *+' conftest.er1 >conftest.err
58749 rm -f conftest.er1
58750 cat conftest.err >&5
58751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58752 (exit $ac_status); } &&
58753 { ac_try='test -z "$ac_cxx_werror_flag"
58754 || test ! -s conftest.err'
58755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58756 (eval $ac_try) 2>&5
58757 ac_status=$?
58758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58759 (exit $ac_status); }; } &&
58760 { ac_try='test -s conftest.$ac_objext'
58761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58762 (eval $ac_try) 2>&5
58763 ac_status=$?
58764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58765 (exit $ac_status); }; }; then
58766 glibcxx_cv_func__fabsf_use=yes
58767 else
58768 echo "$as_me: failed program was:" >&5
58769 sed 's/^/| /' conftest.$ac_ext >&5
58771 glibcxx_cv_func__fabsf_use=no
58773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58774 ac_ext=c
58775 ac_cpp='$CPP $CPPFLAGS'
58776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58785 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58787 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58789 for ac_func in _fabsf
58791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58792 echo "$as_me:$LINENO: checking for $ac_func" >&5
58793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58794 if eval "test \"\${$as_ac_var+set}\" = set"; then
58795 echo $ECHO_N "(cached) $ECHO_C" >&6
58796 else
58797 if test x$gcc_no_link = xyes; then
58798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58800 { (exit 1); exit 1; }; }
58802 cat >conftest.$ac_ext <<_ACEOF
58803 /* confdefs.h. */
58804 _ACEOF
58805 cat confdefs.h >>conftest.$ac_ext
58806 cat >>conftest.$ac_ext <<_ACEOF
58807 /* end confdefs.h. */
58808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58810 #define $ac_func innocuous_$ac_func
58812 /* System header to define __stub macros and hopefully few prototypes,
58813 which can conflict with char $ac_func (); below.
58814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58815 <limits.h> exists even on freestanding compilers. */
58817 #ifdef __STDC__
58818 # include <limits.h>
58819 #else
58820 # include <assert.h>
58821 #endif
58823 #undef $ac_func
58825 /* Override any gcc2 internal prototype to avoid an error. */
58826 #ifdef __cplusplus
58827 extern "C"
58829 #endif
58830 /* We use char because int might match the return type of a gcc2
58831 builtin and then its argument prototype would still apply. */
58832 char $ac_func ();
58833 /* The GNU C library defines this for functions which it implements
58834 to always fail with ENOSYS. Some functions are actually named
58835 something starting with __ and the normal name is an alias. */
58836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58837 choke me
58838 #else
58839 char (*f) () = $ac_func;
58840 #endif
58841 #ifdef __cplusplus
58843 #endif
58846 main ()
58848 return f != $ac_func;
58850 return 0;
58852 _ACEOF
58853 rm -f conftest.$ac_objext conftest$ac_exeext
58854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58855 (eval $ac_link) 2>conftest.er1
58856 ac_status=$?
58857 grep -v '^ *+' conftest.er1 >conftest.err
58858 rm -f conftest.er1
58859 cat conftest.err >&5
58860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58861 (exit $ac_status); } &&
58862 { ac_try='test -z "$ac_c_werror_flag"
58863 || test ! -s conftest.err'
58864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58865 (eval $ac_try) 2>&5
58866 ac_status=$?
58867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58868 (exit $ac_status); }; } &&
58869 { ac_try='test -s conftest$ac_exeext'
58870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58871 (eval $ac_try) 2>&5
58872 ac_status=$?
58873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58874 (exit $ac_status); }; }; then
58875 eval "$as_ac_var=yes"
58876 else
58877 echo "$as_me: failed program was:" >&5
58878 sed 's/^/| /' conftest.$ac_ext >&5
58880 eval "$as_ac_var=no"
58882 rm -f conftest.err conftest.$ac_objext \
58883 conftest$ac_exeext conftest.$ac_ext
58885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58887 if test `eval echo '${'$as_ac_var'}'` = yes; then
58888 cat >>confdefs.h <<_ACEOF
58889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58890 _ACEOF
58893 done
58903 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58904 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58905 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58906 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58907 echo $ECHO_N "(cached) $ECHO_C" >&6
58908 else
58912 ac_ext=cc
58913 ac_cpp='$CXXCPP $CPPFLAGS'
58914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58918 cat >conftest.$ac_ext <<_ACEOF
58919 /* confdefs.h. */
58920 _ACEOF
58921 cat confdefs.h >>conftest.$ac_ext
58922 cat >>conftest.$ac_ext <<_ACEOF
58923 /* end confdefs.h. */
58924 #include <math.h>
58926 main ()
58928 fmodf(0, 0);
58930 return 0;
58932 _ACEOF
58933 rm -f conftest.$ac_objext
58934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58935 (eval $ac_compile) 2>conftest.er1
58936 ac_status=$?
58937 grep -v '^ *+' conftest.er1 >conftest.err
58938 rm -f conftest.er1
58939 cat conftest.err >&5
58940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58941 (exit $ac_status); } &&
58942 { ac_try='test -z "$ac_cxx_werror_flag"
58943 || test ! -s conftest.err'
58944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58945 (eval $ac_try) 2>&5
58946 ac_status=$?
58947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58948 (exit $ac_status); }; } &&
58949 { ac_try='test -s conftest.$ac_objext'
58950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58951 (eval $ac_try) 2>&5
58952 ac_status=$?
58953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58954 (exit $ac_status); }; }; then
58955 glibcxx_cv_func_fmodf_use=yes
58956 else
58957 echo "$as_me: failed program was:" >&5
58958 sed 's/^/| /' conftest.$ac_ext >&5
58960 glibcxx_cv_func_fmodf_use=no
58962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58963 ac_ext=c
58964 ac_cpp='$CPP $CPPFLAGS'
58965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58973 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58974 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58976 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58978 for ac_func in fmodf
58980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58981 echo "$as_me:$LINENO: checking for $ac_func" >&5
58982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58983 if eval "test \"\${$as_ac_var+set}\" = set"; then
58984 echo $ECHO_N "(cached) $ECHO_C" >&6
58985 else
58986 if test x$gcc_no_link = xyes; then
58987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58989 { (exit 1); exit 1; }; }
58991 cat >conftest.$ac_ext <<_ACEOF
58992 /* confdefs.h. */
58993 _ACEOF
58994 cat confdefs.h >>conftest.$ac_ext
58995 cat >>conftest.$ac_ext <<_ACEOF
58996 /* end confdefs.h. */
58997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58999 #define $ac_func innocuous_$ac_func
59001 /* System header to define __stub macros and hopefully few prototypes,
59002 which can conflict with char $ac_func (); below.
59003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59004 <limits.h> exists even on freestanding compilers. */
59006 #ifdef __STDC__
59007 # include <limits.h>
59008 #else
59009 # include <assert.h>
59010 #endif
59012 #undef $ac_func
59014 /* Override any gcc2 internal prototype to avoid an error. */
59015 #ifdef __cplusplus
59016 extern "C"
59018 #endif
59019 /* We use char because int might match the return type of a gcc2
59020 builtin and then its argument prototype would still apply. */
59021 char $ac_func ();
59022 /* The GNU C library defines this for functions which it implements
59023 to always fail with ENOSYS. Some functions are actually named
59024 something starting with __ and the normal name is an alias. */
59025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59026 choke me
59027 #else
59028 char (*f) () = $ac_func;
59029 #endif
59030 #ifdef __cplusplus
59032 #endif
59035 main ()
59037 return f != $ac_func;
59039 return 0;
59041 _ACEOF
59042 rm -f conftest.$ac_objext conftest$ac_exeext
59043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59044 (eval $ac_link) 2>conftest.er1
59045 ac_status=$?
59046 grep -v '^ *+' conftest.er1 >conftest.err
59047 rm -f conftest.er1
59048 cat conftest.err >&5
59049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59050 (exit $ac_status); } &&
59051 { ac_try='test -z "$ac_c_werror_flag"
59052 || test ! -s conftest.err'
59053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59054 (eval $ac_try) 2>&5
59055 ac_status=$?
59056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59057 (exit $ac_status); }; } &&
59058 { ac_try='test -s conftest$ac_exeext'
59059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59060 (eval $ac_try) 2>&5
59061 ac_status=$?
59062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59063 (exit $ac_status); }; }; then
59064 eval "$as_ac_var=yes"
59065 else
59066 echo "$as_me: failed program was:" >&5
59067 sed 's/^/| /' conftest.$ac_ext >&5
59069 eval "$as_ac_var=no"
59071 rm -f conftest.err conftest.$ac_objext \
59072 conftest$ac_exeext conftest.$ac_ext
59074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59076 if test `eval echo '${'$as_ac_var'}'` = yes; then
59077 cat >>confdefs.h <<_ACEOF
59078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59079 _ACEOF
59082 done
59084 else
59086 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59087 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59088 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59089 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59090 echo $ECHO_N "(cached) $ECHO_C" >&6
59091 else
59095 ac_ext=cc
59096 ac_cpp='$CXXCPP $CPPFLAGS'
59097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59101 cat >conftest.$ac_ext <<_ACEOF
59102 /* confdefs.h. */
59103 _ACEOF
59104 cat confdefs.h >>conftest.$ac_ext
59105 cat >>conftest.$ac_ext <<_ACEOF
59106 /* end confdefs.h. */
59107 #include <math.h>
59109 main ()
59111 _fmodf(0, 0);
59113 return 0;
59115 _ACEOF
59116 rm -f conftest.$ac_objext
59117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59118 (eval $ac_compile) 2>conftest.er1
59119 ac_status=$?
59120 grep -v '^ *+' conftest.er1 >conftest.err
59121 rm -f conftest.er1
59122 cat conftest.err >&5
59123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59124 (exit $ac_status); } &&
59125 { ac_try='test -z "$ac_cxx_werror_flag"
59126 || test ! -s conftest.err'
59127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59128 (eval $ac_try) 2>&5
59129 ac_status=$?
59130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59131 (exit $ac_status); }; } &&
59132 { ac_try='test -s conftest.$ac_objext'
59133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59134 (eval $ac_try) 2>&5
59135 ac_status=$?
59136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59137 (exit $ac_status); }; }; then
59138 glibcxx_cv_func__fmodf_use=yes
59139 else
59140 echo "$as_me: failed program was:" >&5
59141 sed 's/^/| /' conftest.$ac_ext >&5
59143 glibcxx_cv_func__fmodf_use=no
59145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59146 ac_ext=c
59147 ac_cpp='$CPP $CPPFLAGS'
59148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59156 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59157 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59159 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59161 for ac_func in _fmodf
59163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59164 echo "$as_me:$LINENO: checking for $ac_func" >&5
59165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59166 if eval "test \"\${$as_ac_var+set}\" = set"; then
59167 echo $ECHO_N "(cached) $ECHO_C" >&6
59168 else
59169 if test x$gcc_no_link = xyes; then
59170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59172 { (exit 1); exit 1; }; }
59174 cat >conftest.$ac_ext <<_ACEOF
59175 /* confdefs.h. */
59176 _ACEOF
59177 cat confdefs.h >>conftest.$ac_ext
59178 cat >>conftest.$ac_ext <<_ACEOF
59179 /* end confdefs.h. */
59180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59182 #define $ac_func innocuous_$ac_func
59184 /* System header to define __stub macros and hopefully few prototypes,
59185 which can conflict with char $ac_func (); below.
59186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59187 <limits.h> exists even on freestanding compilers. */
59189 #ifdef __STDC__
59190 # include <limits.h>
59191 #else
59192 # include <assert.h>
59193 #endif
59195 #undef $ac_func
59197 /* Override any gcc2 internal prototype to avoid an error. */
59198 #ifdef __cplusplus
59199 extern "C"
59201 #endif
59202 /* We use char because int might match the return type of a gcc2
59203 builtin and then its argument prototype would still apply. */
59204 char $ac_func ();
59205 /* The GNU C library defines this for functions which it implements
59206 to always fail with ENOSYS. Some functions are actually named
59207 something starting with __ and the normal name is an alias. */
59208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59209 choke me
59210 #else
59211 char (*f) () = $ac_func;
59212 #endif
59213 #ifdef __cplusplus
59215 #endif
59218 main ()
59220 return f != $ac_func;
59222 return 0;
59224 _ACEOF
59225 rm -f conftest.$ac_objext conftest$ac_exeext
59226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59227 (eval $ac_link) 2>conftest.er1
59228 ac_status=$?
59229 grep -v '^ *+' conftest.er1 >conftest.err
59230 rm -f conftest.er1
59231 cat conftest.err >&5
59232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59233 (exit $ac_status); } &&
59234 { ac_try='test -z "$ac_c_werror_flag"
59235 || test ! -s conftest.err'
59236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59237 (eval $ac_try) 2>&5
59238 ac_status=$?
59239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59240 (exit $ac_status); }; } &&
59241 { ac_try='test -s conftest$ac_exeext'
59242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59243 (eval $ac_try) 2>&5
59244 ac_status=$?
59245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59246 (exit $ac_status); }; }; then
59247 eval "$as_ac_var=yes"
59248 else
59249 echo "$as_me: failed program was:" >&5
59250 sed 's/^/| /' conftest.$ac_ext >&5
59252 eval "$as_ac_var=no"
59254 rm -f conftest.err conftest.$ac_objext \
59255 conftest$ac_exeext conftest.$ac_ext
59257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59259 if test `eval echo '${'$as_ac_var'}'` = yes; then
59260 cat >>confdefs.h <<_ACEOF
59261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59262 _ACEOF
59265 done
59275 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59276 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59277 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59278 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59279 echo $ECHO_N "(cached) $ECHO_C" >&6
59280 else
59284 ac_ext=cc
59285 ac_cpp='$CXXCPP $CPPFLAGS'
59286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59290 cat >conftest.$ac_ext <<_ACEOF
59291 /* confdefs.h. */
59292 _ACEOF
59293 cat confdefs.h >>conftest.$ac_ext
59294 cat >>conftest.$ac_ext <<_ACEOF
59295 /* end confdefs.h. */
59296 #include <math.h>
59298 main ()
59300 frexpf(0, 0);
59302 return 0;
59304 _ACEOF
59305 rm -f conftest.$ac_objext
59306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59307 (eval $ac_compile) 2>conftest.er1
59308 ac_status=$?
59309 grep -v '^ *+' conftest.er1 >conftest.err
59310 rm -f conftest.er1
59311 cat conftest.err >&5
59312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59313 (exit $ac_status); } &&
59314 { ac_try='test -z "$ac_cxx_werror_flag"
59315 || test ! -s conftest.err'
59316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59317 (eval $ac_try) 2>&5
59318 ac_status=$?
59319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59320 (exit $ac_status); }; } &&
59321 { ac_try='test -s conftest.$ac_objext'
59322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59323 (eval $ac_try) 2>&5
59324 ac_status=$?
59325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59326 (exit $ac_status); }; }; then
59327 glibcxx_cv_func_frexpf_use=yes
59328 else
59329 echo "$as_me: failed program was:" >&5
59330 sed 's/^/| /' conftest.$ac_ext >&5
59332 glibcxx_cv_func_frexpf_use=no
59334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59335 ac_ext=c
59336 ac_cpp='$CPP $CPPFLAGS'
59337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59346 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59348 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59350 for ac_func in frexpf
59352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59353 echo "$as_me:$LINENO: checking for $ac_func" >&5
59354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59355 if eval "test \"\${$as_ac_var+set}\" = set"; then
59356 echo $ECHO_N "(cached) $ECHO_C" >&6
59357 else
59358 if test x$gcc_no_link = xyes; then
59359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59361 { (exit 1); exit 1; }; }
59363 cat >conftest.$ac_ext <<_ACEOF
59364 /* confdefs.h. */
59365 _ACEOF
59366 cat confdefs.h >>conftest.$ac_ext
59367 cat >>conftest.$ac_ext <<_ACEOF
59368 /* end confdefs.h. */
59369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59371 #define $ac_func innocuous_$ac_func
59373 /* System header to define __stub macros and hopefully few prototypes,
59374 which can conflict with char $ac_func (); below.
59375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59376 <limits.h> exists even on freestanding compilers. */
59378 #ifdef __STDC__
59379 # include <limits.h>
59380 #else
59381 # include <assert.h>
59382 #endif
59384 #undef $ac_func
59386 /* Override any gcc2 internal prototype to avoid an error. */
59387 #ifdef __cplusplus
59388 extern "C"
59390 #endif
59391 /* We use char because int might match the return type of a gcc2
59392 builtin and then its argument prototype would still apply. */
59393 char $ac_func ();
59394 /* The GNU C library defines this for functions which it implements
59395 to always fail with ENOSYS. Some functions are actually named
59396 something starting with __ and the normal name is an alias. */
59397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59398 choke me
59399 #else
59400 char (*f) () = $ac_func;
59401 #endif
59402 #ifdef __cplusplus
59404 #endif
59407 main ()
59409 return f != $ac_func;
59411 return 0;
59413 _ACEOF
59414 rm -f conftest.$ac_objext conftest$ac_exeext
59415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59416 (eval $ac_link) 2>conftest.er1
59417 ac_status=$?
59418 grep -v '^ *+' conftest.er1 >conftest.err
59419 rm -f conftest.er1
59420 cat conftest.err >&5
59421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59422 (exit $ac_status); } &&
59423 { ac_try='test -z "$ac_c_werror_flag"
59424 || test ! -s conftest.err'
59425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59426 (eval $ac_try) 2>&5
59427 ac_status=$?
59428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59429 (exit $ac_status); }; } &&
59430 { ac_try='test -s conftest$ac_exeext'
59431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59432 (eval $ac_try) 2>&5
59433 ac_status=$?
59434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59435 (exit $ac_status); }; }; then
59436 eval "$as_ac_var=yes"
59437 else
59438 echo "$as_me: failed program was:" >&5
59439 sed 's/^/| /' conftest.$ac_ext >&5
59441 eval "$as_ac_var=no"
59443 rm -f conftest.err conftest.$ac_objext \
59444 conftest$ac_exeext conftest.$ac_ext
59446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59448 if test `eval echo '${'$as_ac_var'}'` = yes; then
59449 cat >>confdefs.h <<_ACEOF
59450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59451 _ACEOF
59454 done
59456 else
59458 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59459 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59460 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59461 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59462 echo $ECHO_N "(cached) $ECHO_C" >&6
59463 else
59467 ac_ext=cc
59468 ac_cpp='$CXXCPP $CPPFLAGS'
59469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59473 cat >conftest.$ac_ext <<_ACEOF
59474 /* confdefs.h. */
59475 _ACEOF
59476 cat confdefs.h >>conftest.$ac_ext
59477 cat >>conftest.$ac_ext <<_ACEOF
59478 /* end confdefs.h. */
59479 #include <math.h>
59481 main ()
59483 _frexpf(0, 0);
59485 return 0;
59487 _ACEOF
59488 rm -f conftest.$ac_objext
59489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59490 (eval $ac_compile) 2>conftest.er1
59491 ac_status=$?
59492 grep -v '^ *+' conftest.er1 >conftest.err
59493 rm -f conftest.er1
59494 cat conftest.err >&5
59495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59496 (exit $ac_status); } &&
59497 { ac_try='test -z "$ac_cxx_werror_flag"
59498 || test ! -s conftest.err'
59499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59500 (eval $ac_try) 2>&5
59501 ac_status=$?
59502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59503 (exit $ac_status); }; } &&
59504 { ac_try='test -s conftest.$ac_objext'
59505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59506 (eval $ac_try) 2>&5
59507 ac_status=$?
59508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59509 (exit $ac_status); }; }; then
59510 glibcxx_cv_func__frexpf_use=yes
59511 else
59512 echo "$as_me: failed program was:" >&5
59513 sed 's/^/| /' conftest.$ac_ext >&5
59515 glibcxx_cv_func__frexpf_use=no
59517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59518 ac_ext=c
59519 ac_cpp='$CPP $CPPFLAGS'
59520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59528 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59529 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59531 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59533 for ac_func in _frexpf
59535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59536 echo "$as_me:$LINENO: checking for $ac_func" >&5
59537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59538 if eval "test \"\${$as_ac_var+set}\" = set"; then
59539 echo $ECHO_N "(cached) $ECHO_C" >&6
59540 else
59541 if test x$gcc_no_link = xyes; then
59542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59544 { (exit 1); exit 1; }; }
59546 cat >conftest.$ac_ext <<_ACEOF
59547 /* confdefs.h. */
59548 _ACEOF
59549 cat confdefs.h >>conftest.$ac_ext
59550 cat >>conftest.$ac_ext <<_ACEOF
59551 /* end confdefs.h. */
59552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59554 #define $ac_func innocuous_$ac_func
59556 /* System header to define __stub macros and hopefully few prototypes,
59557 which can conflict with char $ac_func (); below.
59558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59559 <limits.h> exists even on freestanding compilers. */
59561 #ifdef __STDC__
59562 # include <limits.h>
59563 #else
59564 # include <assert.h>
59565 #endif
59567 #undef $ac_func
59569 /* Override any gcc2 internal prototype to avoid an error. */
59570 #ifdef __cplusplus
59571 extern "C"
59573 #endif
59574 /* We use char because int might match the return type of a gcc2
59575 builtin and then its argument prototype would still apply. */
59576 char $ac_func ();
59577 /* The GNU C library defines this for functions which it implements
59578 to always fail with ENOSYS. Some functions are actually named
59579 something starting with __ and the normal name is an alias. */
59580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59581 choke me
59582 #else
59583 char (*f) () = $ac_func;
59584 #endif
59585 #ifdef __cplusplus
59587 #endif
59590 main ()
59592 return f != $ac_func;
59594 return 0;
59596 _ACEOF
59597 rm -f conftest.$ac_objext conftest$ac_exeext
59598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59599 (eval $ac_link) 2>conftest.er1
59600 ac_status=$?
59601 grep -v '^ *+' conftest.er1 >conftest.err
59602 rm -f conftest.er1
59603 cat conftest.err >&5
59604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59605 (exit $ac_status); } &&
59606 { ac_try='test -z "$ac_c_werror_flag"
59607 || test ! -s conftest.err'
59608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59609 (eval $ac_try) 2>&5
59610 ac_status=$?
59611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59612 (exit $ac_status); }; } &&
59613 { ac_try='test -s conftest$ac_exeext'
59614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59615 (eval $ac_try) 2>&5
59616 ac_status=$?
59617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59618 (exit $ac_status); }; }; then
59619 eval "$as_ac_var=yes"
59620 else
59621 echo "$as_me: failed program was:" >&5
59622 sed 's/^/| /' conftest.$ac_ext >&5
59624 eval "$as_ac_var=no"
59626 rm -f conftest.err conftest.$ac_objext \
59627 conftest$ac_exeext conftest.$ac_ext
59629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59631 if test `eval echo '${'$as_ac_var'}'` = yes; then
59632 cat >>confdefs.h <<_ACEOF
59633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59634 _ACEOF
59637 done
59647 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59648 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59649 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59650 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59651 echo $ECHO_N "(cached) $ECHO_C" >&6
59652 else
59656 ac_ext=cc
59657 ac_cpp='$CXXCPP $CPPFLAGS'
59658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59662 cat >conftest.$ac_ext <<_ACEOF
59663 /* confdefs.h. */
59664 _ACEOF
59665 cat confdefs.h >>conftest.$ac_ext
59666 cat >>conftest.$ac_ext <<_ACEOF
59667 /* end confdefs.h. */
59668 #include <math.h>
59670 main ()
59672 hypotf(0, 0);
59674 return 0;
59676 _ACEOF
59677 rm -f conftest.$ac_objext
59678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59679 (eval $ac_compile) 2>conftest.er1
59680 ac_status=$?
59681 grep -v '^ *+' conftest.er1 >conftest.err
59682 rm -f conftest.er1
59683 cat conftest.err >&5
59684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59685 (exit $ac_status); } &&
59686 { ac_try='test -z "$ac_cxx_werror_flag"
59687 || test ! -s conftest.err'
59688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59689 (eval $ac_try) 2>&5
59690 ac_status=$?
59691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59692 (exit $ac_status); }; } &&
59693 { ac_try='test -s conftest.$ac_objext'
59694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59695 (eval $ac_try) 2>&5
59696 ac_status=$?
59697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59698 (exit $ac_status); }; }; then
59699 glibcxx_cv_func_hypotf_use=yes
59700 else
59701 echo "$as_me: failed program was:" >&5
59702 sed 's/^/| /' conftest.$ac_ext >&5
59704 glibcxx_cv_func_hypotf_use=no
59706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59707 ac_ext=c
59708 ac_cpp='$CPP $CPPFLAGS'
59709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59718 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59720 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59722 for ac_func in hypotf
59724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59725 echo "$as_me:$LINENO: checking for $ac_func" >&5
59726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59727 if eval "test \"\${$as_ac_var+set}\" = set"; then
59728 echo $ECHO_N "(cached) $ECHO_C" >&6
59729 else
59730 if test x$gcc_no_link = xyes; then
59731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59733 { (exit 1); exit 1; }; }
59735 cat >conftest.$ac_ext <<_ACEOF
59736 /* confdefs.h. */
59737 _ACEOF
59738 cat confdefs.h >>conftest.$ac_ext
59739 cat >>conftest.$ac_ext <<_ACEOF
59740 /* end confdefs.h. */
59741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59743 #define $ac_func innocuous_$ac_func
59745 /* System header to define __stub macros and hopefully few prototypes,
59746 which can conflict with char $ac_func (); below.
59747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59748 <limits.h> exists even on freestanding compilers. */
59750 #ifdef __STDC__
59751 # include <limits.h>
59752 #else
59753 # include <assert.h>
59754 #endif
59756 #undef $ac_func
59758 /* Override any gcc2 internal prototype to avoid an error. */
59759 #ifdef __cplusplus
59760 extern "C"
59762 #endif
59763 /* We use char because int might match the return type of a gcc2
59764 builtin and then its argument prototype would still apply. */
59765 char $ac_func ();
59766 /* The GNU C library defines this for functions which it implements
59767 to always fail with ENOSYS. Some functions are actually named
59768 something starting with __ and the normal name is an alias. */
59769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59770 choke me
59771 #else
59772 char (*f) () = $ac_func;
59773 #endif
59774 #ifdef __cplusplus
59776 #endif
59779 main ()
59781 return f != $ac_func;
59783 return 0;
59785 _ACEOF
59786 rm -f conftest.$ac_objext conftest$ac_exeext
59787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59788 (eval $ac_link) 2>conftest.er1
59789 ac_status=$?
59790 grep -v '^ *+' conftest.er1 >conftest.err
59791 rm -f conftest.er1
59792 cat conftest.err >&5
59793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59794 (exit $ac_status); } &&
59795 { ac_try='test -z "$ac_c_werror_flag"
59796 || test ! -s conftest.err'
59797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59798 (eval $ac_try) 2>&5
59799 ac_status=$?
59800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59801 (exit $ac_status); }; } &&
59802 { ac_try='test -s conftest$ac_exeext'
59803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59804 (eval $ac_try) 2>&5
59805 ac_status=$?
59806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59807 (exit $ac_status); }; }; then
59808 eval "$as_ac_var=yes"
59809 else
59810 echo "$as_me: failed program was:" >&5
59811 sed 's/^/| /' conftest.$ac_ext >&5
59813 eval "$as_ac_var=no"
59815 rm -f conftest.err conftest.$ac_objext \
59816 conftest$ac_exeext conftest.$ac_ext
59818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59820 if test `eval echo '${'$as_ac_var'}'` = yes; then
59821 cat >>confdefs.h <<_ACEOF
59822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59823 _ACEOF
59826 done
59828 else
59830 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59831 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59832 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59833 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59834 echo $ECHO_N "(cached) $ECHO_C" >&6
59835 else
59839 ac_ext=cc
59840 ac_cpp='$CXXCPP $CPPFLAGS'
59841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59845 cat >conftest.$ac_ext <<_ACEOF
59846 /* confdefs.h. */
59847 _ACEOF
59848 cat confdefs.h >>conftest.$ac_ext
59849 cat >>conftest.$ac_ext <<_ACEOF
59850 /* end confdefs.h. */
59851 #include <math.h>
59853 main ()
59855 _hypotf(0, 0);
59857 return 0;
59859 _ACEOF
59860 rm -f conftest.$ac_objext
59861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59862 (eval $ac_compile) 2>conftest.er1
59863 ac_status=$?
59864 grep -v '^ *+' conftest.er1 >conftest.err
59865 rm -f conftest.er1
59866 cat conftest.err >&5
59867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59868 (exit $ac_status); } &&
59869 { ac_try='test -z "$ac_cxx_werror_flag"
59870 || test ! -s conftest.err'
59871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59872 (eval $ac_try) 2>&5
59873 ac_status=$?
59874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59875 (exit $ac_status); }; } &&
59876 { ac_try='test -s conftest.$ac_objext'
59877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59878 (eval $ac_try) 2>&5
59879 ac_status=$?
59880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59881 (exit $ac_status); }; }; then
59882 glibcxx_cv_func__hypotf_use=yes
59883 else
59884 echo "$as_me: failed program was:" >&5
59885 sed 's/^/| /' conftest.$ac_ext >&5
59887 glibcxx_cv_func__hypotf_use=no
59889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59890 ac_ext=c
59891 ac_cpp='$CPP $CPPFLAGS'
59892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59900 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59901 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59903 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59905 for ac_func in _hypotf
59907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59908 echo "$as_me:$LINENO: checking for $ac_func" >&5
59909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59910 if eval "test \"\${$as_ac_var+set}\" = set"; then
59911 echo $ECHO_N "(cached) $ECHO_C" >&6
59912 else
59913 if test x$gcc_no_link = xyes; then
59914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59916 { (exit 1); exit 1; }; }
59918 cat >conftest.$ac_ext <<_ACEOF
59919 /* confdefs.h. */
59920 _ACEOF
59921 cat confdefs.h >>conftest.$ac_ext
59922 cat >>conftest.$ac_ext <<_ACEOF
59923 /* end confdefs.h. */
59924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59926 #define $ac_func innocuous_$ac_func
59928 /* System header to define __stub macros and hopefully few prototypes,
59929 which can conflict with char $ac_func (); below.
59930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59931 <limits.h> exists even on freestanding compilers. */
59933 #ifdef __STDC__
59934 # include <limits.h>
59935 #else
59936 # include <assert.h>
59937 #endif
59939 #undef $ac_func
59941 /* Override any gcc2 internal prototype to avoid an error. */
59942 #ifdef __cplusplus
59943 extern "C"
59945 #endif
59946 /* We use char because int might match the return type of a gcc2
59947 builtin and then its argument prototype would still apply. */
59948 char $ac_func ();
59949 /* The GNU C library defines this for functions which it implements
59950 to always fail with ENOSYS. Some functions are actually named
59951 something starting with __ and the normal name is an alias. */
59952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59953 choke me
59954 #else
59955 char (*f) () = $ac_func;
59956 #endif
59957 #ifdef __cplusplus
59959 #endif
59962 main ()
59964 return f != $ac_func;
59966 return 0;
59968 _ACEOF
59969 rm -f conftest.$ac_objext conftest$ac_exeext
59970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59971 (eval $ac_link) 2>conftest.er1
59972 ac_status=$?
59973 grep -v '^ *+' conftest.er1 >conftest.err
59974 rm -f conftest.er1
59975 cat conftest.err >&5
59976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59977 (exit $ac_status); } &&
59978 { ac_try='test -z "$ac_c_werror_flag"
59979 || test ! -s conftest.err'
59980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59981 (eval $ac_try) 2>&5
59982 ac_status=$?
59983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59984 (exit $ac_status); }; } &&
59985 { ac_try='test -s conftest$ac_exeext'
59986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59987 (eval $ac_try) 2>&5
59988 ac_status=$?
59989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59990 (exit $ac_status); }; }; then
59991 eval "$as_ac_var=yes"
59992 else
59993 echo "$as_me: failed program was:" >&5
59994 sed 's/^/| /' conftest.$ac_ext >&5
59996 eval "$as_ac_var=no"
59998 rm -f conftest.err conftest.$ac_objext \
59999 conftest$ac_exeext conftest.$ac_ext
60001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60003 if test `eval echo '${'$as_ac_var'}'` = yes; then
60004 cat >>confdefs.h <<_ACEOF
60005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60006 _ACEOF
60009 done
60019 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60020 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60021 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60022 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60023 echo $ECHO_N "(cached) $ECHO_C" >&6
60024 else
60028 ac_ext=cc
60029 ac_cpp='$CXXCPP $CPPFLAGS'
60030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60034 cat >conftest.$ac_ext <<_ACEOF
60035 /* confdefs.h. */
60036 _ACEOF
60037 cat confdefs.h >>conftest.$ac_ext
60038 cat >>conftest.$ac_ext <<_ACEOF
60039 /* end confdefs.h. */
60040 #include <math.h>
60042 main ()
60044 ldexpf(0, 0);
60046 return 0;
60048 _ACEOF
60049 rm -f conftest.$ac_objext
60050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60051 (eval $ac_compile) 2>conftest.er1
60052 ac_status=$?
60053 grep -v '^ *+' conftest.er1 >conftest.err
60054 rm -f conftest.er1
60055 cat conftest.err >&5
60056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60057 (exit $ac_status); } &&
60058 { ac_try='test -z "$ac_cxx_werror_flag"
60059 || test ! -s conftest.err'
60060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60061 (eval $ac_try) 2>&5
60062 ac_status=$?
60063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60064 (exit $ac_status); }; } &&
60065 { ac_try='test -s conftest.$ac_objext'
60066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60067 (eval $ac_try) 2>&5
60068 ac_status=$?
60069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60070 (exit $ac_status); }; }; then
60071 glibcxx_cv_func_ldexpf_use=yes
60072 else
60073 echo "$as_me: failed program was:" >&5
60074 sed 's/^/| /' conftest.$ac_ext >&5
60076 glibcxx_cv_func_ldexpf_use=no
60078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60079 ac_ext=c
60080 ac_cpp='$CPP $CPPFLAGS'
60081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60089 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60090 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60092 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60094 for ac_func in ldexpf
60096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60097 echo "$as_me:$LINENO: checking for $ac_func" >&5
60098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60099 if eval "test \"\${$as_ac_var+set}\" = set"; then
60100 echo $ECHO_N "(cached) $ECHO_C" >&6
60101 else
60102 if test x$gcc_no_link = xyes; then
60103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60105 { (exit 1); exit 1; }; }
60107 cat >conftest.$ac_ext <<_ACEOF
60108 /* confdefs.h. */
60109 _ACEOF
60110 cat confdefs.h >>conftest.$ac_ext
60111 cat >>conftest.$ac_ext <<_ACEOF
60112 /* end confdefs.h. */
60113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60115 #define $ac_func innocuous_$ac_func
60117 /* System header to define __stub macros and hopefully few prototypes,
60118 which can conflict with char $ac_func (); below.
60119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60120 <limits.h> exists even on freestanding compilers. */
60122 #ifdef __STDC__
60123 # include <limits.h>
60124 #else
60125 # include <assert.h>
60126 #endif
60128 #undef $ac_func
60130 /* Override any gcc2 internal prototype to avoid an error. */
60131 #ifdef __cplusplus
60132 extern "C"
60134 #endif
60135 /* We use char because int might match the return type of a gcc2
60136 builtin and then its argument prototype would still apply. */
60137 char $ac_func ();
60138 /* The GNU C library defines this for functions which it implements
60139 to always fail with ENOSYS. Some functions are actually named
60140 something starting with __ and the normal name is an alias. */
60141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60142 choke me
60143 #else
60144 char (*f) () = $ac_func;
60145 #endif
60146 #ifdef __cplusplus
60148 #endif
60151 main ()
60153 return f != $ac_func;
60155 return 0;
60157 _ACEOF
60158 rm -f conftest.$ac_objext conftest$ac_exeext
60159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60160 (eval $ac_link) 2>conftest.er1
60161 ac_status=$?
60162 grep -v '^ *+' conftest.er1 >conftest.err
60163 rm -f conftest.er1
60164 cat conftest.err >&5
60165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60166 (exit $ac_status); } &&
60167 { ac_try='test -z "$ac_c_werror_flag"
60168 || test ! -s conftest.err'
60169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60170 (eval $ac_try) 2>&5
60171 ac_status=$?
60172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60173 (exit $ac_status); }; } &&
60174 { ac_try='test -s conftest$ac_exeext'
60175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60176 (eval $ac_try) 2>&5
60177 ac_status=$?
60178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60179 (exit $ac_status); }; }; then
60180 eval "$as_ac_var=yes"
60181 else
60182 echo "$as_me: failed program was:" >&5
60183 sed 's/^/| /' conftest.$ac_ext >&5
60185 eval "$as_ac_var=no"
60187 rm -f conftest.err conftest.$ac_objext \
60188 conftest$ac_exeext conftest.$ac_ext
60190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60192 if test `eval echo '${'$as_ac_var'}'` = yes; then
60193 cat >>confdefs.h <<_ACEOF
60194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60195 _ACEOF
60198 done
60200 else
60202 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60203 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60204 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60205 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60206 echo $ECHO_N "(cached) $ECHO_C" >&6
60207 else
60211 ac_ext=cc
60212 ac_cpp='$CXXCPP $CPPFLAGS'
60213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60217 cat >conftest.$ac_ext <<_ACEOF
60218 /* confdefs.h. */
60219 _ACEOF
60220 cat confdefs.h >>conftest.$ac_ext
60221 cat >>conftest.$ac_ext <<_ACEOF
60222 /* end confdefs.h. */
60223 #include <math.h>
60225 main ()
60227 _ldexpf(0, 0);
60229 return 0;
60231 _ACEOF
60232 rm -f conftest.$ac_objext
60233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60234 (eval $ac_compile) 2>conftest.er1
60235 ac_status=$?
60236 grep -v '^ *+' conftest.er1 >conftest.err
60237 rm -f conftest.er1
60238 cat conftest.err >&5
60239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60240 (exit $ac_status); } &&
60241 { ac_try='test -z "$ac_cxx_werror_flag"
60242 || test ! -s conftest.err'
60243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60244 (eval $ac_try) 2>&5
60245 ac_status=$?
60246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60247 (exit $ac_status); }; } &&
60248 { ac_try='test -s conftest.$ac_objext'
60249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60250 (eval $ac_try) 2>&5
60251 ac_status=$?
60252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60253 (exit $ac_status); }; }; then
60254 glibcxx_cv_func__ldexpf_use=yes
60255 else
60256 echo "$as_me: failed program was:" >&5
60257 sed 's/^/| /' conftest.$ac_ext >&5
60259 glibcxx_cv_func__ldexpf_use=no
60261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60262 ac_ext=c
60263 ac_cpp='$CPP $CPPFLAGS'
60264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60272 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60273 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60275 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60277 for ac_func in _ldexpf
60279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60280 echo "$as_me:$LINENO: checking for $ac_func" >&5
60281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60282 if eval "test \"\${$as_ac_var+set}\" = set"; then
60283 echo $ECHO_N "(cached) $ECHO_C" >&6
60284 else
60285 if test x$gcc_no_link = xyes; then
60286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60288 { (exit 1); exit 1; }; }
60290 cat >conftest.$ac_ext <<_ACEOF
60291 /* confdefs.h. */
60292 _ACEOF
60293 cat confdefs.h >>conftest.$ac_ext
60294 cat >>conftest.$ac_ext <<_ACEOF
60295 /* end confdefs.h. */
60296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60298 #define $ac_func innocuous_$ac_func
60300 /* System header to define __stub macros and hopefully few prototypes,
60301 which can conflict with char $ac_func (); below.
60302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60303 <limits.h> exists even on freestanding compilers. */
60305 #ifdef __STDC__
60306 # include <limits.h>
60307 #else
60308 # include <assert.h>
60309 #endif
60311 #undef $ac_func
60313 /* Override any gcc2 internal prototype to avoid an error. */
60314 #ifdef __cplusplus
60315 extern "C"
60317 #endif
60318 /* We use char because int might match the return type of a gcc2
60319 builtin and then its argument prototype would still apply. */
60320 char $ac_func ();
60321 /* The GNU C library defines this for functions which it implements
60322 to always fail with ENOSYS. Some functions are actually named
60323 something starting with __ and the normal name is an alias. */
60324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60325 choke me
60326 #else
60327 char (*f) () = $ac_func;
60328 #endif
60329 #ifdef __cplusplus
60331 #endif
60334 main ()
60336 return f != $ac_func;
60338 return 0;
60340 _ACEOF
60341 rm -f conftest.$ac_objext conftest$ac_exeext
60342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60343 (eval $ac_link) 2>conftest.er1
60344 ac_status=$?
60345 grep -v '^ *+' conftest.er1 >conftest.err
60346 rm -f conftest.er1
60347 cat conftest.err >&5
60348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60349 (exit $ac_status); } &&
60350 { ac_try='test -z "$ac_c_werror_flag"
60351 || test ! -s conftest.err'
60352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60353 (eval $ac_try) 2>&5
60354 ac_status=$?
60355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60356 (exit $ac_status); }; } &&
60357 { ac_try='test -s conftest$ac_exeext'
60358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60359 (eval $ac_try) 2>&5
60360 ac_status=$?
60361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60362 (exit $ac_status); }; }; then
60363 eval "$as_ac_var=yes"
60364 else
60365 echo "$as_me: failed program was:" >&5
60366 sed 's/^/| /' conftest.$ac_ext >&5
60368 eval "$as_ac_var=no"
60370 rm -f conftest.err conftest.$ac_objext \
60371 conftest$ac_exeext conftest.$ac_ext
60373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60375 if test `eval echo '${'$as_ac_var'}'` = yes; then
60376 cat >>confdefs.h <<_ACEOF
60377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60378 _ACEOF
60381 done
60391 echo "$as_me:$LINENO: checking for logf declaration" >&5
60392 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60393 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60394 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60395 echo $ECHO_N "(cached) $ECHO_C" >&6
60396 else
60400 ac_ext=cc
60401 ac_cpp='$CXXCPP $CPPFLAGS'
60402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60406 cat >conftest.$ac_ext <<_ACEOF
60407 /* confdefs.h. */
60408 _ACEOF
60409 cat confdefs.h >>conftest.$ac_ext
60410 cat >>conftest.$ac_ext <<_ACEOF
60411 /* end confdefs.h. */
60412 #include <math.h>
60413 #ifdef HAVE_IEEEFP_H
60414 #include <ieeefp.h>
60415 #endif
60418 main ()
60420 logf(0);
60422 return 0;
60424 _ACEOF
60425 rm -f conftest.$ac_objext
60426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60427 (eval $ac_compile) 2>conftest.er1
60428 ac_status=$?
60429 grep -v '^ *+' conftest.er1 >conftest.err
60430 rm -f conftest.er1
60431 cat conftest.err >&5
60432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60433 (exit $ac_status); } &&
60434 { ac_try='test -z "$ac_cxx_werror_flag"
60435 || test ! -s conftest.err'
60436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60437 (eval $ac_try) 2>&5
60438 ac_status=$?
60439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60440 (exit $ac_status); }; } &&
60441 { ac_try='test -s conftest.$ac_objext'
60442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60443 (eval $ac_try) 2>&5
60444 ac_status=$?
60445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60446 (exit $ac_status); }; }; then
60447 glibcxx_cv_func_logf_use=yes
60448 else
60449 echo "$as_me: failed program was:" >&5
60450 sed 's/^/| /' conftest.$ac_ext >&5
60452 glibcxx_cv_func_logf_use=no
60454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60455 ac_ext=c
60456 ac_cpp='$CPP $CPPFLAGS'
60457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60466 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60468 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60470 for ac_func in logf
60472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60473 echo "$as_me:$LINENO: checking for $ac_func" >&5
60474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60475 if eval "test \"\${$as_ac_var+set}\" = set"; then
60476 echo $ECHO_N "(cached) $ECHO_C" >&6
60477 else
60478 if test x$gcc_no_link = xyes; then
60479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60481 { (exit 1); exit 1; }; }
60483 cat >conftest.$ac_ext <<_ACEOF
60484 /* confdefs.h. */
60485 _ACEOF
60486 cat confdefs.h >>conftest.$ac_ext
60487 cat >>conftest.$ac_ext <<_ACEOF
60488 /* end confdefs.h. */
60489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60491 #define $ac_func innocuous_$ac_func
60493 /* System header to define __stub macros and hopefully few prototypes,
60494 which can conflict with char $ac_func (); below.
60495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60496 <limits.h> exists even on freestanding compilers. */
60498 #ifdef __STDC__
60499 # include <limits.h>
60500 #else
60501 # include <assert.h>
60502 #endif
60504 #undef $ac_func
60506 /* Override any gcc2 internal prototype to avoid an error. */
60507 #ifdef __cplusplus
60508 extern "C"
60510 #endif
60511 /* We use char because int might match the return type of a gcc2
60512 builtin and then its argument prototype would still apply. */
60513 char $ac_func ();
60514 /* The GNU C library defines this for functions which it implements
60515 to always fail with ENOSYS. Some functions are actually named
60516 something starting with __ and the normal name is an alias. */
60517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60518 choke me
60519 #else
60520 char (*f) () = $ac_func;
60521 #endif
60522 #ifdef __cplusplus
60524 #endif
60527 main ()
60529 return f != $ac_func;
60531 return 0;
60533 _ACEOF
60534 rm -f conftest.$ac_objext conftest$ac_exeext
60535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60536 (eval $ac_link) 2>conftest.er1
60537 ac_status=$?
60538 grep -v '^ *+' conftest.er1 >conftest.err
60539 rm -f conftest.er1
60540 cat conftest.err >&5
60541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60542 (exit $ac_status); } &&
60543 { ac_try='test -z "$ac_c_werror_flag"
60544 || test ! -s conftest.err'
60545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60546 (eval $ac_try) 2>&5
60547 ac_status=$?
60548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60549 (exit $ac_status); }; } &&
60550 { ac_try='test -s conftest$ac_exeext'
60551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60552 (eval $ac_try) 2>&5
60553 ac_status=$?
60554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60555 (exit $ac_status); }; }; then
60556 eval "$as_ac_var=yes"
60557 else
60558 echo "$as_me: failed program was:" >&5
60559 sed 's/^/| /' conftest.$ac_ext >&5
60561 eval "$as_ac_var=no"
60563 rm -f conftest.err conftest.$ac_objext \
60564 conftest$ac_exeext conftest.$ac_ext
60566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60568 if test `eval echo '${'$as_ac_var'}'` = yes; then
60569 cat >>confdefs.h <<_ACEOF
60570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60571 _ACEOF
60574 done
60576 else
60578 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60579 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60580 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60581 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60582 echo $ECHO_N "(cached) $ECHO_C" >&6
60583 else
60587 ac_ext=cc
60588 ac_cpp='$CXXCPP $CPPFLAGS'
60589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60593 cat >conftest.$ac_ext <<_ACEOF
60594 /* confdefs.h. */
60595 _ACEOF
60596 cat confdefs.h >>conftest.$ac_ext
60597 cat >>conftest.$ac_ext <<_ACEOF
60598 /* end confdefs.h. */
60599 #include <math.h>
60600 #ifdef HAVE_IEEEFP_H
60601 #include <ieeefp.h>
60602 #endif
60605 main ()
60607 _logf(0);
60609 return 0;
60611 _ACEOF
60612 rm -f conftest.$ac_objext
60613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60614 (eval $ac_compile) 2>conftest.er1
60615 ac_status=$?
60616 grep -v '^ *+' conftest.er1 >conftest.err
60617 rm -f conftest.er1
60618 cat conftest.err >&5
60619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60620 (exit $ac_status); } &&
60621 { ac_try='test -z "$ac_cxx_werror_flag"
60622 || test ! -s conftest.err'
60623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60624 (eval $ac_try) 2>&5
60625 ac_status=$?
60626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60627 (exit $ac_status); }; } &&
60628 { ac_try='test -s conftest.$ac_objext'
60629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60630 (eval $ac_try) 2>&5
60631 ac_status=$?
60632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60633 (exit $ac_status); }; }; then
60634 glibcxx_cv_func__logf_use=yes
60635 else
60636 echo "$as_me: failed program was:" >&5
60637 sed 's/^/| /' conftest.$ac_ext >&5
60639 glibcxx_cv_func__logf_use=no
60641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60642 ac_ext=c
60643 ac_cpp='$CPP $CPPFLAGS'
60644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60652 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60653 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60655 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60657 for ac_func in _logf
60659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60660 echo "$as_me:$LINENO: checking for $ac_func" >&5
60661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60662 if eval "test \"\${$as_ac_var+set}\" = set"; then
60663 echo $ECHO_N "(cached) $ECHO_C" >&6
60664 else
60665 if test x$gcc_no_link = xyes; then
60666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60668 { (exit 1); exit 1; }; }
60670 cat >conftest.$ac_ext <<_ACEOF
60671 /* confdefs.h. */
60672 _ACEOF
60673 cat confdefs.h >>conftest.$ac_ext
60674 cat >>conftest.$ac_ext <<_ACEOF
60675 /* end confdefs.h. */
60676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60678 #define $ac_func innocuous_$ac_func
60680 /* System header to define __stub macros and hopefully few prototypes,
60681 which can conflict with char $ac_func (); below.
60682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60683 <limits.h> exists even on freestanding compilers. */
60685 #ifdef __STDC__
60686 # include <limits.h>
60687 #else
60688 # include <assert.h>
60689 #endif
60691 #undef $ac_func
60693 /* Override any gcc2 internal prototype to avoid an error. */
60694 #ifdef __cplusplus
60695 extern "C"
60697 #endif
60698 /* We use char because int might match the return type of a gcc2
60699 builtin and then its argument prototype would still apply. */
60700 char $ac_func ();
60701 /* The GNU C library defines this for functions which it implements
60702 to always fail with ENOSYS. Some functions are actually named
60703 something starting with __ and the normal name is an alias. */
60704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60705 choke me
60706 #else
60707 char (*f) () = $ac_func;
60708 #endif
60709 #ifdef __cplusplus
60711 #endif
60714 main ()
60716 return f != $ac_func;
60718 return 0;
60720 _ACEOF
60721 rm -f conftest.$ac_objext conftest$ac_exeext
60722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60723 (eval $ac_link) 2>conftest.er1
60724 ac_status=$?
60725 grep -v '^ *+' conftest.er1 >conftest.err
60726 rm -f conftest.er1
60727 cat conftest.err >&5
60728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60729 (exit $ac_status); } &&
60730 { ac_try='test -z "$ac_c_werror_flag"
60731 || test ! -s conftest.err'
60732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60733 (eval $ac_try) 2>&5
60734 ac_status=$?
60735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60736 (exit $ac_status); }; } &&
60737 { ac_try='test -s conftest$ac_exeext'
60738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60739 (eval $ac_try) 2>&5
60740 ac_status=$?
60741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60742 (exit $ac_status); }; }; then
60743 eval "$as_ac_var=yes"
60744 else
60745 echo "$as_me: failed program was:" >&5
60746 sed 's/^/| /' conftest.$ac_ext >&5
60748 eval "$as_ac_var=no"
60750 rm -f conftest.err conftest.$ac_objext \
60751 conftest$ac_exeext conftest.$ac_ext
60753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60755 if test `eval echo '${'$as_ac_var'}'` = yes; then
60756 cat >>confdefs.h <<_ACEOF
60757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60758 _ACEOF
60761 done
60771 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60772 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60773 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60774 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60775 echo $ECHO_N "(cached) $ECHO_C" >&6
60776 else
60780 ac_ext=cc
60781 ac_cpp='$CXXCPP $CPPFLAGS'
60782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60786 cat >conftest.$ac_ext <<_ACEOF
60787 /* confdefs.h. */
60788 _ACEOF
60789 cat confdefs.h >>conftest.$ac_ext
60790 cat >>conftest.$ac_ext <<_ACEOF
60791 /* end confdefs.h. */
60792 #include <math.h>
60793 #ifdef HAVE_IEEEFP_H
60794 #include <ieeefp.h>
60795 #endif
60798 main ()
60800 log10f(0);
60802 return 0;
60804 _ACEOF
60805 rm -f conftest.$ac_objext
60806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60807 (eval $ac_compile) 2>conftest.er1
60808 ac_status=$?
60809 grep -v '^ *+' conftest.er1 >conftest.err
60810 rm -f conftest.er1
60811 cat conftest.err >&5
60812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60813 (exit $ac_status); } &&
60814 { ac_try='test -z "$ac_cxx_werror_flag"
60815 || test ! -s conftest.err'
60816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60817 (eval $ac_try) 2>&5
60818 ac_status=$?
60819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60820 (exit $ac_status); }; } &&
60821 { ac_try='test -s conftest.$ac_objext'
60822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60823 (eval $ac_try) 2>&5
60824 ac_status=$?
60825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60826 (exit $ac_status); }; }; then
60827 glibcxx_cv_func_log10f_use=yes
60828 else
60829 echo "$as_me: failed program was:" >&5
60830 sed 's/^/| /' conftest.$ac_ext >&5
60832 glibcxx_cv_func_log10f_use=no
60834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60835 ac_ext=c
60836 ac_cpp='$CPP $CPPFLAGS'
60837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60846 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60848 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60850 for ac_func in log10f
60852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60853 echo "$as_me:$LINENO: checking for $ac_func" >&5
60854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60855 if eval "test \"\${$as_ac_var+set}\" = set"; then
60856 echo $ECHO_N "(cached) $ECHO_C" >&6
60857 else
60858 if test x$gcc_no_link = xyes; then
60859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60861 { (exit 1); exit 1; }; }
60863 cat >conftest.$ac_ext <<_ACEOF
60864 /* confdefs.h. */
60865 _ACEOF
60866 cat confdefs.h >>conftest.$ac_ext
60867 cat >>conftest.$ac_ext <<_ACEOF
60868 /* end confdefs.h. */
60869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60871 #define $ac_func innocuous_$ac_func
60873 /* System header to define __stub macros and hopefully few prototypes,
60874 which can conflict with char $ac_func (); below.
60875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60876 <limits.h> exists even on freestanding compilers. */
60878 #ifdef __STDC__
60879 # include <limits.h>
60880 #else
60881 # include <assert.h>
60882 #endif
60884 #undef $ac_func
60886 /* Override any gcc2 internal prototype to avoid an error. */
60887 #ifdef __cplusplus
60888 extern "C"
60890 #endif
60891 /* We use char because int might match the return type of a gcc2
60892 builtin and then its argument prototype would still apply. */
60893 char $ac_func ();
60894 /* The GNU C library defines this for functions which it implements
60895 to always fail with ENOSYS. Some functions are actually named
60896 something starting with __ and the normal name is an alias. */
60897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60898 choke me
60899 #else
60900 char (*f) () = $ac_func;
60901 #endif
60902 #ifdef __cplusplus
60904 #endif
60907 main ()
60909 return f != $ac_func;
60911 return 0;
60913 _ACEOF
60914 rm -f conftest.$ac_objext conftest$ac_exeext
60915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60916 (eval $ac_link) 2>conftest.er1
60917 ac_status=$?
60918 grep -v '^ *+' conftest.er1 >conftest.err
60919 rm -f conftest.er1
60920 cat conftest.err >&5
60921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60922 (exit $ac_status); } &&
60923 { ac_try='test -z "$ac_c_werror_flag"
60924 || test ! -s conftest.err'
60925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60926 (eval $ac_try) 2>&5
60927 ac_status=$?
60928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60929 (exit $ac_status); }; } &&
60930 { ac_try='test -s conftest$ac_exeext'
60931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60932 (eval $ac_try) 2>&5
60933 ac_status=$?
60934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60935 (exit $ac_status); }; }; then
60936 eval "$as_ac_var=yes"
60937 else
60938 echo "$as_me: failed program was:" >&5
60939 sed 's/^/| /' conftest.$ac_ext >&5
60941 eval "$as_ac_var=no"
60943 rm -f conftest.err conftest.$ac_objext \
60944 conftest$ac_exeext conftest.$ac_ext
60946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60948 if test `eval echo '${'$as_ac_var'}'` = yes; then
60949 cat >>confdefs.h <<_ACEOF
60950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60951 _ACEOF
60954 done
60956 else
60958 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60959 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60960 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60961 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60962 echo $ECHO_N "(cached) $ECHO_C" >&6
60963 else
60967 ac_ext=cc
60968 ac_cpp='$CXXCPP $CPPFLAGS'
60969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60973 cat >conftest.$ac_ext <<_ACEOF
60974 /* confdefs.h. */
60975 _ACEOF
60976 cat confdefs.h >>conftest.$ac_ext
60977 cat >>conftest.$ac_ext <<_ACEOF
60978 /* end confdefs.h. */
60979 #include <math.h>
60980 #ifdef HAVE_IEEEFP_H
60981 #include <ieeefp.h>
60982 #endif
60985 main ()
60987 _log10f(0);
60989 return 0;
60991 _ACEOF
60992 rm -f conftest.$ac_objext
60993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60994 (eval $ac_compile) 2>conftest.er1
60995 ac_status=$?
60996 grep -v '^ *+' conftest.er1 >conftest.err
60997 rm -f conftest.er1
60998 cat conftest.err >&5
60999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61000 (exit $ac_status); } &&
61001 { ac_try='test -z "$ac_cxx_werror_flag"
61002 || test ! -s conftest.err'
61003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61004 (eval $ac_try) 2>&5
61005 ac_status=$?
61006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61007 (exit $ac_status); }; } &&
61008 { ac_try='test -s conftest.$ac_objext'
61009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61010 (eval $ac_try) 2>&5
61011 ac_status=$?
61012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61013 (exit $ac_status); }; }; then
61014 glibcxx_cv_func__log10f_use=yes
61015 else
61016 echo "$as_me: failed program was:" >&5
61017 sed 's/^/| /' conftest.$ac_ext >&5
61019 glibcxx_cv_func__log10f_use=no
61021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61022 ac_ext=c
61023 ac_cpp='$CPP $CPPFLAGS'
61024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61033 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61035 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61037 for ac_func in _log10f
61039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61040 echo "$as_me:$LINENO: checking for $ac_func" >&5
61041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61042 if eval "test \"\${$as_ac_var+set}\" = set"; then
61043 echo $ECHO_N "(cached) $ECHO_C" >&6
61044 else
61045 if test x$gcc_no_link = xyes; then
61046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61048 { (exit 1); exit 1; }; }
61050 cat >conftest.$ac_ext <<_ACEOF
61051 /* confdefs.h. */
61052 _ACEOF
61053 cat confdefs.h >>conftest.$ac_ext
61054 cat >>conftest.$ac_ext <<_ACEOF
61055 /* end confdefs.h. */
61056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61058 #define $ac_func innocuous_$ac_func
61060 /* System header to define __stub macros and hopefully few prototypes,
61061 which can conflict with char $ac_func (); below.
61062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61063 <limits.h> exists even on freestanding compilers. */
61065 #ifdef __STDC__
61066 # include <limits.h>
61067 #else
61068 # include <assert.h>
61069 #endif
61071 #undef $ac_func
61073 /* Override any gcc2 internal prototype to avoid an error. */
61074 #ifdef __cplusplus
61075 extern "C"
61077 #endif
61078 /* We use char because int might match the return type of a gcc2
61079 builtin and then its argument prototype would still apply. */
61080 char $ac_func ();
61081 /* The GNU C library defines this for functions which it implements
61082 to always fail with ENOSYS. Some functions are actually named
61083 something starting with __ and the normal name is an alias. */
61084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61085 choke me
61086 #else
61087 char (*f) () = $ac_func;
61088 #endif
61089 #ifdef __cplusplus
61091 #endif
61094 main ()
61096 return f != $ac_func;
61098 return 0;
61100 _ACEOF
61101 rm -f conftest.$ac_objext conftest$ac_exeext
61102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61103 (eval $ac_link) 2>conftest.er1
61104 ac_status=$?
61105 grep -v '^ *+' conftest.er1 >conftest.err
61106 rm -f conftest.er1
61107 cat conftest.err >&5
61108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61109 (exit $ac_status); } &&
61110 { ac_try='test -z "$ac_c_werror_flag"
61111 || test ! -s conftest.err'
61112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61113 (eval $ac_try) 2>&5
61114 ac_status=$?
61115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61116 (exit $ac_status); }; } &&
61117 { ac_try='test -s conftest$ac_exeext'
61118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61119 (eval $ac_try) 2>&5
61120 ac_status=$?
61121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61122 (exit $ac_status); }; }; then
61123 eval "$as_ac_var=yes"
61124 else
61125 echo "$as_me: failed program was:" >&5
61126 sed 's/^/| /' conftest.$ac_ext >&5
61128 eval "$as_ac_var=no"
61130 rm -f conftest.err conftest.$ac_objext \
61131 conftest$ac_exeext conftest.$ac_ext
61133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61135 if test `eval echo '${'$as_ac_var'}'` = yes; then
61136 cat >>confdefs.h <<_ACEOF
61137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61138 _ACEOF
61141 done
61151 echo "$as_me:$LINENO: checking for modff declaration" >&5
61152 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61153 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61154 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61155 echo $ECHO_N "(cached) $ECHO_C" >&6
61156 else
61160 ac_ext=cc
61161 ac_cpp='$CXXCPP $CPPFLAGS'
61162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61166 cat >conftest.$ac_ext <<_ACEOF
61167 /* confdefs.h. */
61168 _ACEOF
61169 cat confdefs.h >>conftest.$ac_ext
61170 cat >>conftest.$ac_ext <<_ACEOF
61171 /* end confdefs.h. */
61172 #include <math.h>
61174 main ()
61176 modff(0, 0);
61178 return 0;
61180 _ACEOF
61181 rm -f conftest.$ac_objext
61182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61183 (eval $ac_compile) 2>conftest.er1
61184 ac_status=$?
61185 grep -v '^ *+' conftest.er1 >conftest.err
61186 rm -f conftest.er1
61187 cat conftest.err >&5
61188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61189 (exit $ac_status); } &&
61190 { ac_try='test -z "$ac_cxx_werror_flag"
61191 || test ! -s conftest.err'
61192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61193 (eval $ac_try) 2>&5
61194 ac_status=$?
61195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61196 (exit $ac_status); }; } &&
61197 { ac_try='test -s conftest.$ac_objext'
61198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61199 (eval $ac_try) 2>&5
61200 ac_status=$?
61201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61202 (exit $ac_status); }; }; then
61203 glibcxx_cv_func_modff_use=yes
61204 else
61205 echo "$as_me: failed program was:" >&5
61206 sed 's/^/| /' conftest.$ac_ext >&5
61208 glibcxx_cv_func_modff_use=no
61210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61211 ac_ext=c
61212 ac_cpp='$CPP $CPPFLAGS'
61213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61222 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61224 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61226 for ac_func in modff
61228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61229 echo "$as_me:$LINENO: checking for $ac_func" >&5
61230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61231 if eval "test \"\${$as_ac_var+set}\" = set"; then
61232 echo $ECHO_N "(cached) $ECHO_C" >&6
61233 else
61234 if test x$gcc_no_link = xyes; then
61235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61237 { (exit 1); exit 1; }; }
61239 cat >conftest.$ac_ext <<_ACEOF
61240 /* confdefs.h. */
61241 _ACEOF
61242 cat confdefs.h >>conftest.$ac_ext
61243 cat >>conftest.$ac_ext <<_ACEOF
61244 /* end confdefs.h. */
61245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61247 #define $ac_func innocuous_$ac_func
61249 /* System header to define __stub macros and hopefully few prototypes,
61250 which can conflict with char $ac_func (); below.
61251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61252 <limits.h> exists even on freestanding compilers. */
61254 #ifdef __STDC__
61255 # include <limits.h>
61256 #else
61257 # include <assert.h>
61258 #endif
61260 #undef $ac_func
61262 /* Override any gcc2 internal prototype to avoid an error. */
61263 #ifdef __cplusplus
61264 extern "C"
61266 #endif
61267 /* We use char because int might match the return type of a gcc2
61268 builtin and then its argument prototype would still apply. */
61269 char $ac_func ();
61270 /* The GNU C library defines this for functions which it implements
61271 to always fail with ENOSYS. Some functions are actually named
61272 something starting with __ and the normal name is an alias. */
61273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61274 choke me
61275 #else
61276 char (*f) () = $ac_func;
61277 #endif
61278 #ifdef __cplusplus
61280 #endif
61283 main ()
61285 return f != $ac_func;
61287 return 0;
61289 _ACEOF
61290 rm -f conftest.$ac_objext conftest$ac_exeext
61291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61292 (eval $ac_link) 2>conftest.er1
61293 ac_status=$?
61294 grep -v '^ *+' conftest.er1 >conftest.err
61295 rm -f conftest.er1
61296 cat conftest.err >&5
61297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61298 (exit $ac_status); } &&
61299 { ac_try='test -z "$ac_c_werror_flag"
61300 || test ! -s conftest.err'
61301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61302 (eval $ac_try) 2>&5
61303 ac_status=$?
61304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61305 (exit $ac_status); }; } &&
61306 { ac_try='test -s conftest$ac_exeext'
61307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61308 (eval $ac_try) 2>&5
61309 ac_status=$?
61310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61311 (exit $ac_status); }; }; then
61312 eval "$as_ac_var=yes"
61313 else
61314 echo "$as_me: failed program was:" >&5
61315 sed 's/^/| /' conftest.$ac_ext >&5
61317 eval "$as_ac_var=no"
61319 rm -f conftest.err conftest.$ac_objext \
61320 conftest$ac_exeext conftest.$ac_ext
61322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61324 if test `eval echo '${'$as_ac_var'}'` = yes; then
61325 cat >>confdefs.h <<_ACEOF
61326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61327 _ACEOF
61330 done
61332 else
61334 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61335 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61336 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61337 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61338 echo $ECHO_N "(cached) $ECHO_C" >&6
61339 else
61343 ac_ext=cc
61344 ac_cpp='$CXXCPP $CPPFLAGS'
61345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61349 cat >conftest.$ac_ext <<_ACEOF
61350 /* confdefs.h. */
61351 _ACEOF
61352 cat confdefs.h >>conftest.$ac_ext
61353 cat >>conftest.$ac_ext <<_ACEOF
61354 /* end confdefs.h. */
61355 #include <math.h>
61357 main ()
61359 _modff(0, 0);
61361 return 0;
61363 _ACEOF
61364 rm -f conftest.$ac_objext
61365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61366 (eval $ac_compile) 2>conftest.er1
61367 ac_status=$?
61368 grep -v '^ *+' conftest.er1 >conftest.err
61369 rm -f conftest.er1
61370 cat conftest.err >&5
61371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61372 (exit $ac_status); } &&
61373 { ac_try='test -z "$ac_cxx_werror_flag"
61374 || test ! -s conftest.err'
61375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61376 (eval $ac_try) 2>&5
61377 ac_status=$?
61378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61379 (exit $ac_status); }; } &&
61380 { ac_try='test -s conftest.$ac_objext'
61381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61382 (eval $ac_try) 2>&5
61383 ac_status=$?
61384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61385 (exit $ac_status); }; }; then
61386 glibcxx_cv_func__modff_use=yes
61387 else
61388 echo "$as_me: failed program was:" >&5
61389 sed 's/^/| /' conftest.$ac_ext >&5
61391 glibcxx_cv_func__modff_use=no
61393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61394 ac_ext=c
61395 ac_cpp='$CPP $CPPFLAGS'
61396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61405 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61407 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61409 for ac_func in _modff
61411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61412 echo "$as_me:$LINENO: checking for $ac_func" >&5
61413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61414 if eval "test \"\${$as_ac_var+set}\" = set"; then
61415 echo $ECHO_N "(cached) $ECHO_C" >&6
61416 else
61417 if test x$gcc_no_link = xyes; then
61418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61420 { (exit 1); exit 1; }; }
61422 cat >conftest.$ac_ext <<_ACEOF
61423 /* confdefs.h. */
61424 _ACEOF
61425 cat confdefs.h >>conftest.$ac_ext
61426 cat >>conftest.$ac_ext <<_ACEOF
61427 /* end confdefs.h. */
61428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61430 #define $ac_func innocuous_$ac_func
61432 /* System header to define __stub macros and hopefully few prototypes,
61433 which can conflict with char $ac_func (); below.
61434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61435 <limits.h> exists even on freestanding compilers. */
61437 #ifdef __STDC__
61438 # include <limits.h>
61439 #else
61440 # include <assert.h>
61441 #endif
61443 #undef $ac_func
61445 /* Override any gcc2 internal prototype to avoid an error. */
61446 #ifdef __cplusplus
61447 extern "C"
61449 #endif
61450 /* We use char because int might match the return type of a gcc2
61451 builtin and then its argument prototype would still apply. */
61452 char $ac_func ();
61453 /* The GNU C library defines this for functions which it implements
61454 to always fail with ENOSYS. Some functions are actually named
61455 something starting with __ and the normal name is an alias. */
61456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61457 choke me
61458 #else
61459 char (*f) () = $ac_func;
61460 #endif
61461 #ifdef __cplusplus
61463 #endif
61466 main ()
61468 return f != $ac_func;
61470 return 0;
61472 _ACEOF
61473 rm -f conftest.$ac_objext conftest$ac_exeext
61474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61475 (eval $ac_link) 2>conftest.er1
61476 ac_status=$?
61477 grep -v '^ *+' conftest.er1 >conftest.err
61478 rm -f conftest.er1
61479 cat conftest.err >&5
61480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61481 (exit $ac_status); } &&
61482 { ac_try='test -z "$ac_c_werror_flag"
61483 || test ! -s conftest.err'
61484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61485 (eval $ac_try) 2>&5
61486 ac_status=$?
61487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61488 (exit $ac_status); }; } &&
61489 { ac_try='test -s conftest$ac_exeext'
61490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61491 (eval $ac_try) 2>&5
61492 ac_status=$?
61493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61494 (exit $ac_status); }; }; then
61495 eval "$as_ac_var=yes"
61496 else
61497 echo "$as_me: failed program was:" >&5
61498 sed 's/^/| /' conftest.$ac_ext >&5
61500 eval "$as_ac_var=no"
61502 rm -f conftest.err conftest.$ac_objext \
61503 conftest$ac_exeext conftest.$ac_ext
61505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61507 if test `eval echo '${'$as_ac_var'}'` = yes; then
61508 cat >>confdefs.h <<_ACEOF
61509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61510 _ACEOF
61513 done
61523 echo "$as_me:$LINENO: checking for modf declaration" >&5
61524 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
61525 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61526 if test "${glibcxx_cv_func_modf_use+set}" = set; then
61527 echo $ECHO_N "(cached) $ECHO_C" >&6
61528 else
61532 ac_ext=cc
61533 ac_cpp='$CXXCPP $CPPFLAGS'
61534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61538 cat >conftest.$ac_ext <<_ACEOF
61539 /* confdefs.h. */
61540 _ACEOF
61541 cat confdefs.h >>conftest.$ac_ext
61542 cat >>conftest.$ac_ext <<_ACEOF
61543 /* end confdefs.h. */
61544 #include <math.h>
61546 main ()
61548 modf(0, 0);
61550 return 0;
61552 _ACEOF
61553 rm -f conftest.$ac_objext
61554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61555 (eval $ac_compile) 2>conftest.er1
61556 ac_status=$?
61557 grep -v '^ *+' conftest.er1 >conftest.err
61558 rm -f conftest.er1
61559 cat conftest.err >&5
61560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61561 (exit $ac_status); } &&
61562 { ac_try='test -z "$ac_cxx_werror_flag"
61563 || test ! -s conftest.err'
61564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61565 (eval $ac_try) 2>&5
61566 ac_status=$?
61567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61568 (exit $ac_status); }; } &&
61569 { ac_try='test -s conftest.$ac_objext'
61570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61571 (eval $ac_try) 2>&5
61572 ac_status=$?
61573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61574 (exit $ac_status); }; }; then
61575 glibcxx_cv_func_modf_use=yes
61576 else
61577 echo "$as_me: failed program was:" >&5
61578 sed 's/^/| /' conftest.$ac_ext >&5
61580 glibcxx_cv_func_modf_use=no
61582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61583 ac_ext=c
61584 ac_cpp='$CPP $CPPFLAGS'
61585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
61594 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
61596 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61598 for ac_func in modf
61600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61601 echo "$as_me:$LINENO: checking for $ac_func" >&5
61602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61603 if eval "test \"\${$as_ac_var+set}\" = set"; then
61604 echo $ECHO_N "(cached) $ECHO_C" >&6
61605 else
61606 if test x$gcc_no_link = xyes; then
61607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61609 { (exit 1); exit 1; }; }
61611 cat >conftest.$ac_ext <<_ACEOF
61612 /* confdefs.h. */
61613 _ACEOF
61614 cat confdefs.h >>conftest.$ac_ext
61615 cat >>conftest.$ac_ext <<_ACEOF
61616 /* end confdefs.h. */
61617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61619 #define $ac_func innocuous_$ac_func
61621 /* System header to define __stub macros and hopefully few prototypes,
61622 which can conflict with char $ac_func (); below.
61623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61624 <limits.h> exists even on freestanding compilers. */
61626 #ifdef __STDC__
61627 # include <limits.h>
61628 #else
61629 # include <assert.h>
61630 #endif
61632 #undef $ac_func
61634 /* Override any gcc2 internal prototype to avoid an error. */
61635 #ifdef __cplusplus
61636 extern "C"
61638 #endif
61639 /* We use char because int might match the return type of a gcc2
61640 builtin and then its argument prototype would still apply. */
61641 char $ac_func ();
61642 /* The GNU C library defines this for functions which it implements
61643 to always fail with ENOSYS. Some functions are actually named
61644 something starting with __ and the normal name is an alias. */
61645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61646 choke me
61647 #else
61648 char (*f) () = $ac_func;
61649 #endif
61650 #ifdef __cplusplus
61652 #endif
61655 main ()
61657 return f != $ac_func;
61659 return 0;
61661 _ACEOF
61662 rm -f conftest.$ac_objext conftest$ac_exeext
61663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61664 (eval $ac_link) 2>conftest.er1
61665 ac_status=$?
61666 grep -v '^ *+' conftest.er1 >conftest.err
61667 rm -f conftest.er1
61668 cat conftest.err >&5
61669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61670 (exit $ac_status); } &&
61671 { ac_try='test -z "$ac_c_werror_flag"
61672 || test ! -s conftest.err'
61673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61674 (eval $ac_try) 2>&5
61675 ac_status=$?
61676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61677 (exit $ac_status); }; } &&
61678 { ac_try='test -s conftest$ac_exeext'
61679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61680 (eval $ac_try) 2>&5
61681 ac_status=$?
61682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61683 (exit $ac_status); }; }; then
61684 eval "$as_ac_var=yes"
61685 else
61686 echo "$as_me: failed program was:" >&5
61687 sed 's/^/| /' conftest.$ac_ext >&5
61689 eval "$as_ac_var=no"
61691 rm -f conftest.err conftest.$ac_objext \
61692 conftest$ac_exeext conftest.$ac_ext
61694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61696 if test `eval echo '${'$as_ac_var'}'` = yes; then
61697 cat >>confdefs.h <<_ACEOF
61698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61699 _ACEOF
61702 done
61704 else
61706 echo "$as_me:$LINENO: checking for _modf declaration" >&5
61707 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
61708 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61709 if test "${glibcxx_cv_func__modf_use+set}" = set; then
61710 echo $ECHO_N "(cached) $ECHO_C" >&6
61711 else
61715 ac_ext=cc
61716 ac_cpp='$CXXCPP $CPPFLAGS'
61717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61721 cat >conftest.$ac_ext <<_ACEOF
61722 /* confdefs.h. */
61723 _ACEOF
61724 cat confdefs.h >>conftest.$ac_ext
61725 cat >>conftest.$ac_ext <<_ACEOF
61726 /* end confdefs.h. */
61727 #include <math.h>
61729 main ()
61731 _modf(0, 0);
61733 return 0;
61735 _ACEOF
61736 rm -f conftest.$ac_objext
61737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61738 (eval $ac_compile) 2>conftest.er1
61739 ac_status=$?
61740 grep -v '^ *+' conftest.er1 >conftest.err
61741 rm -f conftest.er1
61742 cat conftest.err >&5
61743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61744 (exit $ac_status); } &&
61745 { ac_try='test -z "$ac_cxx_werror_flag"
61746 || test ! -s conftest.err'
61747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61748 (eval $ac_try) 2>&5
61749 ac_status=$?
61750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61751 (exit $ac_status); }; } &&
61752 { ac_try='test -s conftest.$ac_objext'
61753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61754 (eval $ac_try) 2>&5
61755 ac_status=$?
61756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61757 (exit $ac_status); }; }; then
61758 glibcxx_cv_func__modf_use=yes
61759 else
61760 echo "$as_me: failed program was:" >&5
61761 sed 's/^/| /' conftest.$ac_ext >&5
61763 glibcxx_cv_func__modf_use=no
61765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61766 ac_ext=c
61767 ac_cpp='$CPP $CPPFLAGS'
61768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61776 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
61777 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
61779 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61781 for ac_func in _modf
61783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61784 echo "$as_me:$LINENO: checking for $ac_func" >&5
61785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61786 if eval "test \"\${$as_ac_var+set}\" = set"; then
61787 echo $ECHO_N "(cached) $ECHO_C" >&6
61788 else
61789 if test x$gcc_no_link = xyes; then
61790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61792 { (exit 1); exit 1; }; }
61794 cat >conftest.$ac_ext <<_ACEOF
61795 /* confdefs.h. */
61796 _ACEOF
61797 cat confdefs.h >>conftest.$ac_ext
61798 cat >>conftest.$ac_ext <<_ACEOF
61799 /* end confdefs.h. */
61800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61802 #define $ac_func innocuous_$ac_func
61804 /* System header to define __stub macros and hopefully few prototypes,
61805 which can conflict with char $ac_func (); below.
61806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61807 <limits.h> exists even on freestanding compilers. */
61809 #ifdef __STDC__
61810 # include <limits.h>
61811 #else
61812 # include <assert.h>
61813 #endif
61815 #undef $ac_func
61817 /* Override any gcc2 internal prototype to avoid an error. */
61818 #ifdef __cplusplus
61819 extern "C"
61821 #endif
61822 /* We use char because int might match the return type of a gcc2
61823 builtin and then its argument prototype would still apply. */
61824 char $ac_func ();
61825 /* The GNU C library defines this for functions which it implements
61826 to always fail with ENOSYS. Some functions are actually named
61827 something starting with __ and the normal name is an alias. */
61828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61829 choke me
61830 #else
61831 char (*f) () = $ac_func;
61832 #endif
61833 #ifdef __cplusplus
61835 #endif
61838 main ()
61840 return f != $ac_func;
61842 return 0;
61844 _ACEOF
61845 rm -f conftest.$ac_objext conftest$ac_exeext
61846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61847 (eval $ac_link) 2>conftest.er1
61848 ac_status=$?
61849 grep -v '^ *+' conftest.er1 >conftest.err
61850 rm -f conftest.er1
61851 cat conftest.err >&5
61852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61853 (exit $ac_status); } &&
61854 { ac_try='test -z "$ac_c_werror_flag"
61855 || test ! -s conftest.err'
61856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61857 (eval $ac_try) 2>&5
61858 ac_status=$?
61859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61860 (exit $ac_status); }; } &&
61861 { ac_try='test -s conftest$ac_exeext'
61862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61863 (eval $ac_try) 2>&5
61864 ac_status=$?
61865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61866 (exit $ac_status); }; }; then
61867 eval "$as_ac_var=yes"
61868 else
61869 echo "$as_me: failed program was:" >&5
61870 sed 's/^/| /' conftest.$ac_ext >&5
61872 eval "$as_ac_var=no"
61874 rm -f conftest.err conftest.$ac_objext \
61875 conftest$ac_exeext conftest.$ac_ext
61877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61879 if test `eval echo '${'$as_ac_var'}'` = yes; then
61880 cat >>confdefs.h <<_ACEOF
61881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61882 _ACEOF
61885 done
61895 echo "$as_me:$LINENO: checking for powf declaration" >&5
61896 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61897 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61898 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61899 echo $ECHO_N "(cached) $ECHO_C" >&6
61900 else
61904 ac_ext=cc
61905 ac_cpp='$CXXCPP $CPPFLAGS'
61906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61910 cat >conftest.$ac_ext <<_ACEOF
61911 /* confdefs.h. */
61912 _ACEOF
61913 cat confdefs.h >>conftest.$ac_ext
61914 cat >>conftest.$ac_ext <<_ACEOF
61915 /* end confdefs.h. */
61916 #include <math.h>
61918 main ()
61920 powf(0, 0);
61922 return 0;
61924 _ACEOF
61925 rm -f conftest.$ac_objext
61926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61927 (eval $ac_compile) 2>conftest.er1
61928 ac_status=$?
61929 grep -v '^ *+' conftest.er1 >conftest.err
61930 rm -f conftest.er1
61931 cat conftest.err >&5
61932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61933 (exit $ac_status); } &&
61934 { ac_try='test -z "$ac_cxx_werror_flag"
61935 || test ! -s conftest.err'
61936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61937 (eval $ac_try) 2>&5
61938 ac_status=$?
61939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61940 (exit $ac_status); }; } &&
61941 { ac_try='test -s conftest.$ac_objext'
61942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61943 (eval $ac_try) 2>&5
61944 ac_status=$?
61945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61946 (exit $ac_status); }; }; then
61947 glibcxx_cv_func_powf_use=yes
61948 else
61949 echo "$as_me: failed program was:" >&5
61950 sed 's/^/| /' conftest.$ac_ext >&5
61952 glibcxx_cv_func_powf_use=no
61954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61955 ac_ext=c
61956 ac_cpp='$CPP $CPPFLAGS'
61957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61965 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61966 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61968 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61970 for ac_func in powf
61972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61973 echo "$as_me:$LINENO: checking for $ac_func" >&5
61974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61975 if eval "test \"\${$as_ac_var+set}\" = set"; then
61976 echo $ECHO_N "(cached) $ECHO_C" >&6
61977 else
61978 if test x$gcc_no_link = xyes; then
61979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61981 { (exit 1); exit 1; }; }
61983 cat >conftest.$ac_ext <<_ACEOF
61984 /* confdefs.h. */
61985 _ACEOF
61986 cat confdefs.h >>conftest.$ac_ext
61987 cat >>conftest.$ac_ext <<_ACEOF
61988 /* end confdefs.h. */
61989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61991 #define $ac_func innocuous_$ac_func
61993 /* System header to define __stub macros and hopefully few prototypes,
61994 which can conflict with char $ac_func (); below.
61995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61996 <limits.h> exists even on freestanding compilers. */
61998 #ifdef __STDC__
61999 # include <limits.h>
62000 #else
62001 # include <assert.h>
62002 #endif
62004 #undef $ac_func
62006 /* Override any gcc2 internal prototype to avoid an error. */
62007 #ifdef __cplusplus
62008 extern "C"
62010 #endif
62011 /* We use char because int might match the return type of a gcc2
62012 builtin and then its argument prototype would still apply. */
62013 char $ac_func ();
62014 /* The GNU C library defines this for functions which it implements
62015 to always fail with ENOSYS. Some functions are actually named
62016 something starting with __ and the normal name is an alias. */
62017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62018 choke me
62019 #else
62020 char (*f) () = $ac_func;
62021 #endif
62022 #ifdef __cplusplus
62024 #endif
62027 main ()
62029 return f != $ac_func;
62031 return 0;
62033 _ACEOF
62034 rm -f conftest.$ac_objext conftest$ac_exeext
62035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62036 (eval $ac_link) 2>conftest.er1
62037 ac_status=$?
62038 grep -v '^ *+' conftest.er1 >conftest.err
62039 rm -f conftest.er1
62040 cat conftest.err >&5
62041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62042 (exit $ac_status); } &&
62043 { ac_try='test -z "$ac_c_werror_flag"
62044 || test ! -s conftest.err'
62045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62046 (eval $ac_try) 2>&5
62047 ac_status=$?
62048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62049 (exit $ac_status); }; } &&
62050 { ac_try='test -s conftest$ac_exeext'
62051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62052 (eval $ac_try) 2>&5
62053 ac_status=$?
62054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62055 (exit $ac_status); }; }; then
62056 eval "$as_ac_var=yes"
62057 else
62058 echo "$as_me: failed program was:" >&5
62059 sed 's/^/| /' conftest.$ac_ext >&5
62061 eval "$as_ac_var=no"
62063 rm -f conftest.err conftest.$ac_objext \
62064 conftest$ac_exeext conftest.$ac_ext
62066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62068 if test `eval echo '${'$as_ac_var'}'` = yes; then
62069 cat >>confdefs.h <<_ACEOF
62070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62071 _ACEOF
62074 done
62076 else
62078 echo "$as_me:$LINENO: checking for _powf declaration" >&5
62079 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
62080 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62081 if test "${glibcxx_cv_func__powf_use+set}" = set; then
62082 echo $ECHO_N "(cached) $ECHO_C" >&6
62083 else
62087 ac_ext=cc
62088 ac_cpp='$CXXCPP $CPPFLAGS'
62089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62093 cat >conftest.$ac_ext <<_ACEOF
62094 /* confdefs.h. */
62095 _ACEOF
62096 cat confdefs.h >>conftest.$ac_ext
62097 cat >>conftest.$ac_ext <<_ACEOF
62098 /* end confdefs.h. */
62099 #include <math.h>
62101 main ()
62103 _powf(0, 0);
62105 return 0;
62107 _ACEOF
62108 rm -f conftest.$ac_objext
62109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62110 (eval $ac_compile) 2>conftest.er1
62111 ac_status=$?
62112 grep -v '^ *+' conftest.er1 >conftest.err
62113 rm -f conftest.er1
62114 cat conftest.err >&5
62115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62116 (exit $ac_status); } &&
62117 { ac_try='test -z "$ac_cxx_werror_flag"
62118 || test ! -s conftest.err'
62119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62120 (eval $ac_try) 2>&5
62121 ac_status=$?
62122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62123 (exit $ac_status); }; } &&
62124 { ac_try='test -s conftest.$ac_objext'
62125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62126 (eval $ac_try) 2>&5
62127 ac_status=$?
62128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62129 (exit $ac_status); }; }; then
62130 glibcxx_cv_func__powf_use=yes
62131 else
62132 echo "$as_me: failed program was:" >&5
62133 sed 's/^/| /' conftest.$ac_ext >&5
62135 glibcxx_cv_func__powf_use=no
62137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62138 ac_ext=c
62139 ac_cpp='$CPP $CPPFLAGS'
62140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62148 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
62149 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
62151 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62153 for ac_func in _powf
62155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62156 echo "$as_me:$LINENO: checking for $ac_func" >&5
62157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62158 if eval "test \"\${$as_ac_var+set}\" = set"; then
62159 echo $ECHO_N "(cached) $ECHO_C" >&6
62160 else
62161 if test x$gcc_no_link = xyes; then
62162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62164 { (exit 1); exit 1; }; }
62166 cat >conftest.$ac_ext <<_ACEOF
62167 /* confdefs.h. */
62168 _ACEOF
62169 cat confdefs.h >>conftest.$ac_ext
62170 cat >>conftest.$ac_ext <<_ACEOF
62171 /* end confdefs.h. */
62172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62174 #define $ac_func innocuous_$ac_func
62176 /* System header to define __stub macros and hopefully few prototypes,
62177 which can conflict with char $ac_func (); below.
62178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62179 <limits.h> exists even on freestanding compilers. */
62181 #ifdef __STDC__
62182 # include <limits.h>
62183 #else
62184 # include <assert.h>
62185 #endif
62187 #undef $ac_func
62189 /* Override any gcc2 internal prototype to avoid an error. */
62190 #ifdef __cplusplus
62191 extern "C"
62193 #endif
62194 /* We use char because int might match the return type of a gcc2
62195 builtin and then its argument prototype would still apply. */
62196 char $ac_func ();
62197 /* The GNU C library defines this for functions which it implements
62198 to always fail with ENOSYS. Some functions are actually named
62199 something starting with __ and the normal name is an alias. */
62200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62201 choke me
62202 #else
62203 char (*f) () = $ac_func;
62204 #endif
62205 #ifdef __cplusplus
62207 #endif
62210 main ()
62212 return f != $ac_func;
62214 return 0;
62216 _ACEOF
62217 rm -f conftest.$ac_objext conftest$ac_exeext
62218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62219 (eval $ac_link) 2>conftest.er1
62220 ac_status=$?
62221 grep -v '^ *+' conftest.er1 >conftest.err
62222 rm -f conftest.er1
62223 cat conftest.err >&5
62224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62225 (exit $ac_status); } &&
62226 { ac_try='test -z "$ac_c_werror_flag"
62227 || test ! -s conftest.err'
62228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62229 (eval $ac_try) 2>&5
62230 ac_status=$?
62231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62232 (exit $ac_status); }; } &&
62233 { ac_try='test -s conftest$ac_exeext'
62234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62235 (eval $ac_try) 2>&5
62236 ac_status=$?
62237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62238 (exit $ac_status); }; }; then
62239 eval "$as_ac_var=yes"
62240 else
62241 echo "$as_me: failed program was:" >&5
62242 sed 's/^/| /' conftest.$ac_ext >&5
62244 eval "$as_ac_var=no"
62246 rm -f conftest.err conftest.$ac_objext \
62247 conftest$ac_exeext conftest.$ac_ext
62249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62251 if test `eval echo '${'$as_ac_var'}'` = yes; then
62252 cat >>confdefs.h <<_ACEOF
62253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62254 _ACEOF
62257 done
62267 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62268 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62269 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62270 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62271 echo $ECHO_N "(cached) $ECHO_C" >&6
62272 else
62276 ac_ext=cc
62277 ac_cpp='$CXXCPP $CPPFLAGS'
62278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62282 cat >conftest.$ac_ext <<_ACEOF
62283 /* confdefs.h. */
62284 _ACEOF
62285 cat confdefs.h >>conftest.$ac_ext
62286 cat >>conftest.$ac_ext <<_ACEOF
62287 /* end confdefs.h. */
62288 #include <math.h>
62289 #ifdef HAVE_IEEEFP_H
62290 #include <ieeefp.h>
62291 #endif
62294 main ()
62296 sqrtf(0);
62298 return 0;
62300 _ACEOF
62301 rm -f conftest.$ac_objext
62302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62303 (eval $ac_compile) 2>conftest.er1
62304 ac_status=$?
62305 grep -v '^ *+' conftest.er1 >conftest.err
62306 rm -f conftest.er1
62307 cat conftest.err >&5
62308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62309 (exit $ac_status); } &&
62310 { ac_try='test -z "$ac_cxx_werror_flag"
62311 || test ! -s conftest.err'
62312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62313 (eval $ac_try) 2>&5
62314 ac_status=$?
62315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62316 (exit $ac_status); }; } &&
62317 { ac_try='test -s conftest.$ac_objext'
62318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62319 (eval $ac_try) 2>&5
62320 ac_status=$?
62321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62322 (exit $ac_status); }; }; then
62323 glibcxx_cv_func_sqrtf_use=yes
62324 else
62325 echo "$as_me: failed program was:" >&5
62326 sed 's/^/| /' conftest.$ac_ext >&5
62328 glibcxx_cv_func_sqrtf_use=no
62330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62331 ac_ext=c
62332 ac_cpp='$CPP $CPPFLAGS'
62333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62341 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62342 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62344 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62346 for ac_func in sqrtf
62348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62349 echo "$as_me:$LINENO: checking for $ac_func" >&5
62350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62351 if eval "test \"\${$as_ac_var+set}\" = set"; then
62352 echo $ECHO_N "(cached) $ECHO_C" >&6
62353 else
62354 if test x$gcc_no_link = xyes; then
62355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62357 { (exit 1); exit 1; }; }
62359 cat >conftest.$ac_ext <<_ACEOF
62360 /* confdefs.h. */
62361 _ACEOF
62362 cat confdefs.h >>conftest.$ac_ext
62363 cat >>conftest.$ac_ext <<_ACEOF
62364 /* end confdefs.h. */
62365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62367 #define $ac_func innocuous_$ac_func
62369 /* System header to define __stub macros and hopefully few prototypes,
62370 which can conflict with char $ac_func (); below.
62371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62372 <limits.h> exists even on freestanding compilers. */
62374 #ifdef __STDC__
62375 # include <limits.h>
62376 #else
62377 # include <assert.h>
62378 #endif
62380 #undef $ac_func
62382 /* Override any gcc2 internal prototype to avoid an error. */
62383 #ifdef __cplusplus
62384 extern "C"
62386 #endif
62387 /* We use char because int might match the return type of a gcc2
62388 builtin and then its argument prototype would still apply. */
62389 char $ac_func ();
62390 /* The GNU C library defines this for functions which it implements
62391 to always fail with ENOSYS. Some functions are actually named
62392 something starting with __ and the normal name is an alias. */
62393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62394 choke me
62395 #else
62396 char (*f) () = $ac_func;
62397 #endif
62398 #ifdef __cplusplus
62400 #endif
62403 main ()
62405 return f != $ac_func;
62407 return 0;
62409 _ACEOF
62410 rm -f conftest.$ac_objext conftest$ac_exeext
62411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62412 (eval $ac_link) 2>conftest.er1
62413 ac_status=$?
62414 grep -v '^ *+' conftest.er1 >conftest.err
62415 rm -f conftest.er1
62416 cat conftest.err >&5
62417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62418 (exit $ac_status); } &&
62419 { ac_try='test -z "$ac_c_werror_flag"
62420 || test ! -s conftest.err'
62421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62422 (eval $ac_try) 2>&5
62423 ac_status=$?
62424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62425 (exit $ac_status); }; } &&
62426 { ac_try='test -s conftest$ac_exeext'
62427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62428 (eval $ac_try) 2>&5
62429 ac_status=$?
62430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62431 (exit $ac_status); }; }; then
62432 eval "$as_ac_var=yes"
62433 else
62434 echo "$as_me: failed program was:" >&5
62435 sed 's/^/| /' conftest.$ac_ext >&5
62437 eval "$as_ac_var=no"
62439 rm -f conftest.err conftest.$ac_objext \
62440 conftest$ac_exeext conftest.$ac_ext
62442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62444 if test `eval echo '${'$as_ac_var'}'` = yes; then
62445 cat >>confdefs.h <<_ACEOF
62446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62447 _ACEOF
62450 done
62452 else
62454 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62455 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62456 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62457 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62458 echo $ECHO_N "(cached) $ECHO_C" >&6
62459 else
62463 ac_ext=cc
62464 ac_cpp='$CXXCPP $CPPFLAGS'
62465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62469 cat >conftest.$ac_ext <<_ACEOF
62470 /* confdefs.h. */
62471 _ACEOF
62472 cat confdefs.h >>conftest.$ac_ext
62473 cat >>conftest.$ac_ext <<_ACEOF
62474 /* end confdefs.h. */
62475 #include <math.h>
62476 #ifdef HAVE_IEEEFP_H
62477 #include <ieeefp.h>
62478 #endif
62481 main ()
62483 _sqrtf(0);
62485 return 0;
62487 _ACEOF
62488 rm -f conftest.$ac_objext
62489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62490 (eval $ac_compile) 2>conftest.er1
62491 ac_status=$?
62492 grep -v '^ *+' conftest.er1 >conftest.err
62493 rm -f conftest.er1
62494 cat conftest.err >&5
62495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62496 (exit $ac_status); } &&
62497 { ac_try='test -z "$ac_cxx_werror_flag"
62498 || test ! -s conftest.err'
62499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62500 (eval $ac_try) 2>&5
62501 ac_status=$?
62502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62503 (exit $ac_status); }; } &&
62504 { ac_try='test -s conftest.$ac_objext'
62505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62506 (eval $ac_try) 2>&5
62507 ac_status=$?
62508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62509 (exit $ac_status); }; }; then
62510 glibcxx_cv_func__sqrtf_use=yes
62511 else
62512 echo "$as_me: failed program was:" >&5
62513 sed 's/^/| /' conftest.$ac_ext >&5
62515 glibcxx_cv_func__sqrtf_use=no
62517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62518 ac_ext=c
62519 ac_cpp='$CPP $CPPFLAGS'
62520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62528 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62529 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62531 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62533 for ac_func in _sqrtf
62535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62536 echo "$as_me:$LINENO: checking for $ac_func" >&5
62537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62538 if eval "test \"\${$as_ac_var+set}\" = set"; then
62539 echo $ECHO_N "(cached) $ECHO_C" >&6
62540 else
62541 if test x$gcc_no_link = xyes; then
62542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62544 { (exit 1); exit 1; }; }
62546 cat >conftest.$ac_ext <<_ACEOF
62547 /* confdefs.h. */
62548 _ACEOF
62549 cat confdefs.h >>conftest.$ac_ext
62550 cat >>conftest.$ac_ext <<_ACEOF
62551 /* end confdefs.h. */
62552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62554 #define $ac_func innocuous_$ac_func
62556 /* System header to define __stub macros and hopefully few prototypes,
62557 which can conflict with char $ac_func (); below.
62558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62559 <limits.h> exists even on freestanding compilers. */
62561 #ifdef __STDC__
62562 # include <limits.h>
62563 #else
62564 # include <assert.h>
62565 #endif
62567 #undef $ac_func
62569 /* Override any gcc2 internal prototype to avoid an error. */
62570 #ifdef __cplusplus
62571 extern "C"
62573 #endif
62574 /* We use char because int might match the return type of a gcc2
62575 builtin and then its argument prototype would still apply. */
62576 char $ac_func ();
62577 /* The GNU C library defines this for functions which it implements
62578 to always fail with ENOSYS. Some functions are actually named
62579 something starting with __ and the normal name is an alias. */
62580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62581 choke me
62582 #else
62583 char (*f) () = $ac_func;
62584 #endif
62585 #ifdef __cplusplus
62587 #endif
62590 main ()
62592 return f != $ac_func;
62594 return 0;
62596 _ACEOF
62597 rm -f conftest.$ac_objext conftest$ac_exeext
62598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62599 (eval $ac_link) 2>conftest.er1
62600 ac_status=$?
62601 grep -v '^ *+' conftest.er1 >conftest.err
62602 rm -f conftest.er1
62603 cat conftest.err >&5
62604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62605 (exit $ac_status); } &&
62606 { ac_try='test -z "$ac_c_werror_flag"
62607 || test ! -s conftest.err'
62608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62609 (eval $ac_try) 2>&5
62610 ac_status=$?
62611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62612 (exit $ac_status); }; } &&
62613 { ac_try='test -s conftest$ac_exeext'
62614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62615 (eval $ac_try) 2>&5
62616 ac_status=$?
62617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62618 (exit $ac_status); }; }; then
62619 eval "$as_ac_var=yes"
62620 else
62621 echo "$as_me: failed program was:" >&5
62622 sed 's/^/| /' conftest.$ac_ext >&5
62624 eval "$as_ac_var=no"
62626 rm -f conftest.err conftest.$ac_objext \
62627 conftest$ac_exeext conftest.$ac_ext
62629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62631 if test `eval echo '${'$as_ac_var'}'` = yes; then
62632 cat >>confdefs.h <<_ACEOF
62633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62634 _ACEOF
62637 done
62647 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62648 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62649 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62650 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62651 echo $ECHO_N "(cached) $ECHO_C" >&6
62652 else
62656 ac_ext=cc
62657 ac_cpp='$CXXCPP $CPPFLAGS'
62658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62662 cat >conftest.$ac_ext <<_ACEOF
62663 /* confdefs.h. */
62664 _ACEOF
62665 cat confdefs.h >>conftest.$ac_ext
62666 cat >>conftest.$ac_ext <<_ACEOF
62667 /* end confdefs.h. */
62668 #include <math.h>
62670 main ()
62672 sincosf(0, 0, 0);
62674 return 0;
62676 _ACEOF
62677 rm -f conftest.$ac_objext
62678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62679 (eval $ac_compile) 2>conftest.er1
62680 ac_status=$?
62681 grep -v '^ *+' conftest.er1 >conftest.err
62682 rm -f conftest.er1
62683 cat conftest.err >&5
62684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62685 (exit $ac_status); } &&
62686 { ac_try='test -z "$ac_cxx_werror_flag"
62687 || test ! -s conftest.err'
62688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62689 (eval $ac_try) 2>&5
62690 ac_status=$?
62691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62692 (exit $ac_status); }; } &&
62693 { ac_try='test -s conftest.$ac_objext'
62694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62695 (eval $ac_try) 2>&5
62696 ac_status=$?
62697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62698 (exit $ac_status); }; }; then
62699 glibcxx_cv_func_sincosf_use=yes
62700 else
62701 echo "$as_me: failed program was:" >&5
62702 sed 's/^/| /' conftest.$ac_ext >&5
62704 glibcxx_cv_func_sincosf_use=no
62706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62707 ac_ext=c
62708 ac_cpp='$CPP $CPPFLAGS'
62709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62718 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62720 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62722 for ac_func in sincosf
62724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62725 echo "$as_me:$LINENO: checking for $ac_func" >&5
62726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62727 if eval "test \"\${$as_ac_var+set}\" = set"; then
62728 echo $ECHO_N "(cached) $ECHO_C" >&6
62729 else
62730 if test x$gcc_no_link = xyes; then
62731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62733 { (exit 1); exit 1; }; }
62735 cat >conftest.$ac_ext <<_ACEOF
62736 /* confdefs.h. */
62737 _ACEOF
62738 cat confdefs.h >>conftest.$ac_ext
62739 cat >>conftest.$ac_ext <<_ACEOF
62740 /* end confdefs.h. */
62741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62743 #define $ac_func innocuous_$ac_func
62745 /* System header to define __stub macros and hopefully few prototypes,
62746 which can conflict with char $ac_func (); below.
62747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62748 <limits.h> exists even on freestanding compilers. */
62750 #ifdef __STDC__
62751 # include <limits.h>
62752 #else
62753 # include <assert.h>
62754 #endif
62756 #undef $ac_func
62758 /* Override any gcc2 internal prototype to avoid an error. */
62759 #ifdef __cplusplus
62760 extern "C"
62762 #endif
62763 /* We use char because int might match the return type of a gcc2
62764 builtin and then its argument prototype would still apply. */
62765 char $ac_func ();
62766 /* The GNU C library defines this for functions which it implements
62767 to always fail with ENOSYS. Some functions are actually named
62768 something starting with __ and the normal name is an alias. */
62769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62770 choke me
62771 #else
62772 char (*f) () = $ac_func;
62773 #endif
62774 #ifdef __cplusplus
62776 #endif
62779 main ()
62781 return f != $ac_func;
62783 return 0;
62785 _ACEOF
62786 rm -f conftest.$ac_objext conftest$ac_exeext
62787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62788 (eval $ac_link) 2>conftest.er1
62789 ac_status=$?
62790 grep -v '^ *+' conftest.er1 >conftest.err
62791 rm -f conftest.er1
62792 cat conftest.err >&5
62793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62794 (exit $ac_status); } &&
62795 { ac_try='test -z "$ac_c_werror_flag"
62796 || test ! -s conftest.err'
62797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62798 (eval $ac_try) 2>&5
62799 ac_status=$?
62800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62801 (exit $ac_status); }; } &&
62802 { ac_try='test -s conftest$ac_exeext'
62803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62804 (eval $ac_try) 2>&5
62805 ac_status=$?
62806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62807 (exit $ac_status); }; }; then
62808 eval "$as_ac_var=yes"
62809 else
62810 echo "$as_me: failed program was:" >&5
62811 sed 's/^/| /' conftest.$ac_ext >&5
62813 eval "$as_ac_var=no"
62815 rm -f conftest.err conftest.$ac_objext \
62816 conftest$ac_exeext conftest.$ac_ext
62818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62820 if test `eval echo '${'$as_ac_var'}'` = yes; then
62821 cat >>confdefs.h <<_ACEOF
62822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62823 _ACEOF
62826 done
62828 else
62830 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62831 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62832 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62833 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62834 echo $ECHO_N "(cached) $ECHO_C" >&6
62835 else
62839 ac_ext=cc
62840 ac_cpp='$CXXCPP $CPPFLAGS'
62841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62845 cat >conftest.$ac_ext <<_ACEOF
62846 /* confdefs.h. */
62847 _ACEOF
62848 cat confdefs.h >>conftest.$ac_ext
62849 cat >>conftest.$ac_ext <<_ACEOF
62850 /* end confdefs.h. */
62851 #include <math.h>
62853 main ()
62855 _sincosf(0, 0, 0);
62857 return 0;
62859 _ACEOF
62860 rm -f conftest.$ac_objext
62861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62862 (eval $ac_compile) 2>conftest.er1
62863 ac_status=$?
62864 grep -v '^ *+' conftest.er1 >conftest.err
62865 rm -f conftest.er1
62866 cat conftest.err >&5
62867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62868 (exit $ac_status); } &&
62869 { ac_try='test -z "$ac_cxx_werror_flag"
62870 || test ! -s conftest.err'
62871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62872 (eval $ac_try) 2>&5
62873 ac_status=$?
62874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62875 (exit $ac_status); }; } &&
62876 { ac_try='test -s conftest.$ac_objext'
62877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62878 (eval $ac_try) 2>&5
62879 ac_status=$?
62880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62881 (exit $ac_status); }; }; then
62882 glibcxx_cv_func__sincosf_use=yes
62883 else
62884 echo "$as_me: failed program was:" >&5
62885 sed 's/^/| /' conftest.$ac_ext >&5
62887 glibcxx_cv_func__sincosf_use=no
62889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62890 ac_ext=c
62891 ac_cpp='$CPP $CPPFLAGS'
62892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62900 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62901 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62903 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62905 for ac_func in _sincosf
62907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62908 echo "$as_me:$LINENO: checking for $ac_func" >&5
62909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62910 if eval "test \"\${$as_ac_var+set}\" = set"; then
62911 echo $ECHO_N "(cached) $ECHO_C" >&6
62912 else
62913 if test x$gcc_no_link = xyes; then
62914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62916 { (exit 1); exit 1; }; }
62918 cat >conftest.$ac_ext <<_ACEOF
62919 /* confdefs.h. */
62920 _ACEOF
62921 cat confdefs.h >>conftest.$ac_ext
62922 cat >>conftest.$ac_ext <<_ACEOF
62923 /* end confdefs.h. */
62924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62926 #define $ac_func innocuous_$ac_func
62928 /* System header to define __stub macros and hopefully few prototypes,
62929 which can conflict with char $ac_func (); below.
62930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62931 <limits.h> exists even on freestanding compilers. */
62933 #ifdef __STDC__
62934 # include <limits.h>
62935 #else
62936 # include <assert.h>
62937 #endif
62939 #undef $ac_func
62941 /* Override any gcc2 internal prototype to avoid an error. */
62942 #ifdef __cplusplus
62943 extern "C"
62945 #endif
62946 /* We use char because int might match the return type of a gcc2
62947 builtin and then its argument prototype would still apply. */
62948 char $ac_func ();
62949 /* The GNU C library defines this for functions which it implements
62950 to always fail with ENOSYS. Some functions are actually named
62951 something starting with __ and the normal name is an alias. */
62952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62953 choke me
62954 #else
62955 char (*f) () = $ac_func;
62956 #endif
62957 #ifdef __cplusplus
62959 #endif
62962 main ()
62964 return f != $ac_func;
62966 return 0;
62968 _ACEOF
62969 rm -f conftest.$ac_objext conftest$ac_exeext
62970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62971 (eval $ac_link) 2>conftest.er1
62972 ac_status=$?
62973 grep -v '^ *+' conftest.er1 >conftest.err
62974 rm -f conftest.er1
62975 cat conftest.err >&5
62976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62977 (exit $ac_status); } &&
62978 { ac_try='test -z "$ac_c_werror_flag"
62979 || test ! -s conftest.err'
62980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62981 (eval $ac_try) 2>&5
62982 ac_status=$?
62983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62984 (exit $ac_status); }; } &&
62985 { ac_try='test -s conftest$ac_exeext'
62986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62987 (eval $ac_try) 2>&5
62988 ac_status=$?
62989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62990 (exit $ac_status); }; }; then
62991 eval "$as_ac_var=yes"
62992 else
62993 echo "$as_me: failed program was:" >&5
62994 sed 's/^/| /' conftest.$ac_ext >&5
62996 eval "$as_ac_var=no"
62998 rm -f conftest.err conftest.$ac_objext \
62999 conftest$ac_exeext conftest.$ac_ext
63001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63003 if test `eval echo '${'$as_ac_var'}'` = yes; then
63004 cat >>confdefs.h <<_ACEOF
63005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63006 _ACEOF
63009 done
63019 echo "$as_me:$LINENO: checking for finitef declaration" >&5
63020 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
63021 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63022 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
63023 echo $ECHO_N "(cached) $ECHO_C" >&6
63024 else
63028 ac_ext=cc
63029 ac_cpp='$CXXCPP $CPPFLAGS'
63030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63034 cat >conftest.$ac_ext <<_ACEOF
63035 /* confdefs.h. */
63036 _ACEOF
63037 cat confdefs.h >>conftest.$ac_ext
63038 cat >>conftest.$ac_ext <<_ACEOF
63039 /* end confdefs.h. */
63040 #include <math.h>
63041 #ifdef HAVE_IEEEFP_H
63042 #include <ieeefp.h>
63043 #endif
63046 main ()
63048 finitef(0);
63050 return 0;
63052 _ACEOF
63053 rm -f conftest.$ac_objext
63054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63055 (eval $ac_compile) 2>conftest.er1
63056 ac_status=$?
63057 grep -v '^ *+' conftest.er1 >conftest.err
63058 rm -f conftest.er1
63059 cat conftest.err >&5
63060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63061 (exit $ac_status); } &&
63062 { ac_try='test -z "$ac_cxx_werror_flag"
63063 || test ! -s conftest.err'
63064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63065 (eval $ac_try) 2>&5
63066 ac_status=$?
63067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63068 (exit $ac_status); }; } &&
63069 { ac_try='test -s conftest.$ac_objext'
63070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63071 (eval $ac_try) 2>&5
63072 ac_status=$?
63073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63074 (exit $ac_status); }; }; then
63075 glibcxx_cv_func_finitef_use=yes
63076 else
63077 echo "$as_me: failed program was:" >&5
63078 sed 's/^/| /' conftest.$ac_ext >&5
63080 glibcxx_cv_func_finitef_use=no
63082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63083 ac_ext=c
63084 ac_cpp='$CPP $CPPFLAGS'
63085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63093 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
63094 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
63096 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63098 for ac_func in finitef
63100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63101 echo "$as_me:$LINENO: checking for $ac_func" >&5
63102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63103 if eval "test \"\${$as_ac_var+set}\" = set"; then
63104 echo $ECHO_N "(cached) $ECHO_C" >&6
63105 else
63106 if test x$gcc_no_link = xyes; then
63107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63109 { (exit 1); exit 1; }; }
63111 cat >conftest.$ac_ext <<_ACEOF
63112 /* confdefs.h. */
63113 _ACEOF
63114 cat confdefs.h >>conftest.$ac_ext
63115 cat >>conftest.$ac_ext <<_ACEOF
63116 /* end confdefs.h. */
63117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63119 #define $ac_func innocuous_$ac_func
63121 /* System header to define __stub macros and hopefully few prototypes,
63122 which can conflict with char $ac_func (); below.
63123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63124 <limits.h> exists even on freestanding compilers. */
63126 #ifdef __STDC__
63127 # include <limits.h>
63128 #else
63129 # include <assert.h>
63130 #endif
63132 #undef $ac_func
63134 /* Override any gcc2 internal prototype to avoid an error. */
63135 #ifdef __cplusplus
63136 extern "C"
63138 #endif
63139 /* We use char because int might match the return type of a gcc2
63140 builtin and then its argument prototype would still apply. */
63141 char $ac_func ();
63142 /* The GNU C library defines this for functions which it implements
63143 to always fail with ENOSYS. Some functions are actually named
63144 something starting with __ and the normal name is an alias. */
63145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63146 choke me
63147 #else
63148 char (*f) () = $ac_func;
63149 #endif
63150 #ifdef __cplusplus
63152 #endif
63155 main ()
63157 return f != $ac_func;
63159 return 0;
63161 _ACEOF
63162 rm -f conftest.$ac_objext conftest$ac_exeext
63163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63164 (eval $ac_link) 2>conftest.er1
63165 ac_status=$?
63166 grep -v '^ *+' conftest.er1 >conftest.err
63167 rm -f conftest.er1
63168 cat conftest.err >&5
63169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63170 (exit $ac_status); } &&
63171 { ac_try='test -z "$ac_c_werror_flag"
63172 || test ! -s conftest.err'
63173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63174 (eval $ac_try) 2>&5
63175 ac_status=$?
63176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63177 (exit $ac_status); }; } &&
63178 { ac_try='test -s conftest$ac_exeext'
63179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63180 (eval $ac_try) 2>&5
63181 ac_status=$?
63182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63183 (exit $ac_status); }; }; then
63184 eval "$as_ac_var=yes"
63185 else
63186 echo "$as_me: failed program was:" >&5
63187 sed 's/^/| /' conftest.$ac_ext >&5
63189 eval "$as_ac_var=no"
63191 rm -f conftest.err conftest.$ac_objext \
63192 conftest$ac_exeext conftest.$ac_ext
63194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63196 if test `eval echo '${'$as_ac_var'}'` = yes; then
63197 cat >>confdefs.h <<_ACEOF
63198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63199 _ACEOF
63202 done
63204 else
63206 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
63207 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
63208 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63209 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
63210 echo $ECHO_N "(cached) $ECHO_C" >&6
63211 else
63215 ac_ext=cc
63216 ac_cpp='$CXXCPP $CPPFLAGS'
63217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63221 cat >conftest.$ac_ext <<_ACEOF
63222 /* confdefs.h. */
63223 _ACEOF
63224 cat confdefs.h >>conftest.$ac_ext
63225 cat >>conftest.$ac_ext <<_ACEOF
63226 /* end confdefs.h. */
63227 #include <math.h>
63228 #ifdef HAVE_IEEEFP_H
63229 #include <ieeefp.h>
63230 #endif
63233 main ()
63235 _finitef(0);
63237 return 0;
63239 _ACEOF
63240 rm -f conftest.$ac_objext
63241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63242 (eval $ac_compile) 2>conftest.er1
63243 ac_status=$?
63244 grep -v '^ *+' conftest.er1 >conftest.err
63245 rm -f conftest.er1
63246 cat conftest.err >&5
63247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63248 (exit $ac_status); } &&
63249 { ac_try='test -z "$ac_cxx_werror_flag"
63250 || test ! -s conftest.err'
63251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63252 (eval $ac_try) 2>&5
63253 ac_status=$?
63254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63255 (exit $ac_status); }; } &&
63256 { ac_try='test -s conftest.$ac_objext'
63257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63258 (eval $ac_try) 2>&5
63259 ac_status=$?
63260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63261 (exit $ac_status); }; }; then
63262 glibcxx_cv_func__finitef_use=yes
63263 else
63264 echo "$as_me: failed program was:" >&5
63265 sed 's/^/| /' conftest.$ac_ext >&5
63267 glibcxx_cv_func__finitef_use=no
63269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63270 ac_ext=c
63271 ac_cpp='$CPP $CPPFLAGS'
63272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63280 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63281 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63283 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63285 for ac_func in _finitef
63287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63288 echo "$as_me:$LINENO: checking for $ac_func" >&5
63289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63290 if eval "test \"\${$as_ac_var+set}\" = set"; then
63291 echo $ECHO_N "(cached) $ECHO_C" >&6
63292 else
63293 if test x$gcc_no_link = xyes; then
63294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63296 { (exit 1); exit 1; }; }
63298 cat >conftest.$ac_ext <<_ACEOF
63299 /* confdefs.h. */
63300 _ACEOF
63301 cat confdefs.h >>conftest.$ac_ext
63302 cat >>conftest.$ac_ext <<_ACEOF
63303 /* end confdefs.h. */
63304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63306 #define $ac_func innocuous_$ac_func
63308 /* System header to define __stub macros and hopefully few prototypes,
63309 which can conflict with char $ac_func (); below.
63310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63311 <limits.h> exists even on freestanding compilers. */
63313 #ifdef __STDC__
63314 # include <limits.h>
63315 #else
63316 # include <assert.h>
63317 #endif
63319 #undef $ac_func
63321 /* Override any gcc2 internal prototype to avoid an error. */
63322 #ifdef __cplusplus
63323 extern "C"
63325 #endif
63326 /* We use char because int might match the return type of a gcc2
63327 builtin and then its argument prototype would still apply. */
63328 char $ac_func ();
63329 /* The GNU C library defines this for functions which it implements
63330 to always fail with ENOSYS. Some functions are actually named
63331 something starting with __ and the normal name is an alias. */
63332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63333 choke me
63334 #else
63335 char (*f) () = $ac_func;
63336 #endif
63337 #ifdef __cplusplus
63339 #endif
63342 main ()
63344 return f != $ac_func;
63346 return 0;
63348 _ACEOF
63349 rm -f conftest.$ac_objext conftest$ac_exeext
63350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63351 (eval $ac_link) 2>conftest.er1
63352 ac_status=$?
63353 grep -v '^ *+' conftest.er1 >conftest.err
63354 rm -f conftest.er1
63355 cat conftest.err >&5
63356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63357 (exit $ac_status); } &&
63358 { ac_try='test -z "$ac_c_werror_flag"
63359 || test ! -s conftest.err'
63360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63361 (eval $ac_try) 2>&5
63362 ac_status=$?
63363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63364 (exit $ac_status); }; } &&
63365 { ac_try='test -s conftest$ac_exeext'
63366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63367 (eval $ac_try) 2>&5
63368 ac_status=$?
63369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63370 (exit $ac_status); }; }; then
63371 eval "$as_ac_var=yes"
63372 else
63373 echo "$as_me: failed program was:" >&5
63374 sed 's/^/| /' conftest.$ac_ext >&5
63376 eval "$as_ac_var=no"
63378 rm -f conftest.err conftest.$ac_objext \
63379 conftest$ac_exeext conftest.$ac_ext
63381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63383 if test `eval echo '${'$as_ac_var'}'` = yes; then
63384 cat >>confdefs.h <<_ACEOF
63385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63386 _ACEOF
63389 done
63399 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63400 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63401 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63402 echo $ECHO_N "(cached) $ECHO_C" >&6
63403 else
63407 ac_ext=cc
63408 ac_cpp='$CXXCPP $CPPFLAGS'
63409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63413 cat >conftest.$ac_ext <<_ACEOF
63414 /* confdefs.h. */
63415 _ACEOF
63416 cat confdefs.h >>conftest.$ac_ext
63417 cat >>conftest.$ac_ext <<_ACEOF
63418 /* end confdefs.h. */
63419 #include <math.h>
63421 main ()
63423 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63425 return 0;
63427 _ACEOF
63428 rm -f conftest.$ac_objext
63429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63430 (eval $ac_compile) 2>conftest.er1
63431 ac_status=$?
63432 grep -v '^ *+' conftest.er1 >conftest.err
63433 rm -f conftest.er1
63434 cat conftest.err >&5
63435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63436 (exit $ac_status); } &&
63437 { ac_try='test -z "$ac_cxx_werror_flag"
63438 || test ! -s conftest.err'
63439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63440 (eval $ac_try) 2>&5
63441 ac_status=$?
63442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63443 (exit $ac_status); }; } &&
63444 { ac_try='test -s conftest.$ac_objext'
63445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63446 (eval $ac_try) 2>&5
63447 ac_status=$?
63448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63449 (exit $ac_status); }; }; then
63450 glibcxx_cv_func_long_double_trig_use=yes
63451 else
63452 echo "$as_me: failed program was:" >&5
63453 sed 's/^/| /' conftest.$ac_ext >&5
63455 glibcxx_cv_func_long_double_trig_use=no
63457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63458 ac_ext=c
63459 ac_cpp='$CPP $CPPFLAGS'
63460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63466 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63467 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63468 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63478 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63481 echo "$as_me:$LINENO: checking for $ac_func" >&5
63482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63483 if eval "test \"\${$as_ac_var+set}\" = set"; then
63484 echo $ECHO_N "(cached) $ECHO_C" >&6
63485 else
63486 if test x$gcc_no_link = xyes; then
63487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63489 { (exit 1); exit 1; }; }
63491 cat >conftest.$ac_ext <<_ACEOF
63492 /* confdefs.h. */
63493 _ACEOF
63494 cat confdefs.h >>conftest.$ac_ext
63495 cat >>conftest.$ac_ext <<_ACEOF
63496 /* end confdefs.h. */
63497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63499 #define $ac_func innocuous_$ac_func
63501 /* System header to define __stub macros and hopefully few prototypes,
63502 which can conflict with char $ac_func (); below.
63503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63504 <limits.h> exists even on freestanding compilers. */
63506 #ifdef __STDC__
63507 # include <limits.h>
63508 #else
63509 # include <assert.h>
63510 #endif
63512 #undef $ac_func
63514 /* Override any gcc2 internal prototype to avoid an error. */
63515 #ifdef __cplusplus
63516 extern "C"
63518 #endif
63519 /* We use char because int might match the return type of a gcc2
63520 builtin and then its argument prototype would still apply. */
63521 char $ac_func ();
63522 /* The GNU C library defines this for functions which it implements
63523 to always fail with ENOSYS. Some functions are actually named
63524 something starting with __ and the normal name is an alias. */
63525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63526 choke me
63527 #else
63528 char (*f) () = $ac_func;
63529 #endif
63530 #ifdef __cplusplus
63532 #endif
63535 main ()
63537 return f != $ac_func;
63539 return 0;
63541 _ACEOF
63542 rm -f conftest.$ac_objext conftest$ac_exeext
63543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63544 (eval $ac_link) 2>conftest.er1
63545 ac_status=$?
63546 grep -v '^ *+' conftest.er1 >conftest.err
63547 rm -f conftest.er1
63548 cat conftest.err >&5
63549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63550 (exit $ac_status); } &&
63551 { ac_try='test -z "$ac_c_werror_flag"
63552 || test ! -s conftest.err'
63553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63554 (eval $ac_try) 2>&5
63555 ac_status=$?
63556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63557 (exit $ac_status); }; } &&
63558 { ac_try='test -s conftest$ac_exeext'
63559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63560 (eval $ac_try) 2>&5
63561 ac_status=$?
63562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63563 (exit $ac_status); }; }; then
63564 eval "$as_ac_var=yes"
63565 else
63566 echo "$as_me: failed program was:" >&5
63567 sed 's/^/| /' conftest.$ac_ext >&5
63569 eval "$as_ac_var=no"
63571 rm -f conftest.err conftest.$ac_objext \
63572 conftest$ac_exeext conftest.$ac_ext
63574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63576 if test `eval echo '${'$as_ac_var'}'` = yes; then
63577 cat >>confdefs.h <<_ACEOF
63578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63579 _ACEOF
63582 done
63584 else
63585 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
63586 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
63587 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
63588 echo $ECHO_N "(cached) $ECHO_C" >&6
63589 else
63593 ac_ext=cc
63594 ac_cpp='$CXXCPP $CPPFLAGS'
63595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63599 cat >conftest.$ac_ext <<_ACEOF
63600 /* confdefs.h. */
63601 _ACEOF
63602 cat confdefs.h >>conftest.$ac_ext
63603 cat >>conftest.$ac_ext <<_ACEOF
63604 /* end confdefs.h. */
63605 #include <math.h>
63607 main ()
63609 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63611 return 0;
63613 _ACEOF
63614 rm -f conftest.$ac_objext
63615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63616 (eval $ac_compile) 2>conftest.er1
63617 ac_status=$?
63618 grep -v '^ *+' conftest.er1 >conftest.err
63619 rm -f conftest.er1
63620 cat conftest.err >&5
63621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63622 (exit $ac_status); } &&
63623 { ac_try='test -z "$ac_cxx_werror_flag"
63624 || test ! -s conftest.err'
63625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63626 (eval $ac_try) 2>&5
63627 ac_status=$?
63628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63629 (exit $ac_status); }; } &&
63630 { ac_try='test -s conftest.$ac_objext'
63631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63632 (eval $ac_try) 2>&5
63633 ac_status=$?
63634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63635 (exit $ac_status); }; }; then
63636 glibcxx_cv_func__long_double_trig_use=yes
63637 else
63638 echo "$as_me: failed program was:" >&5
63639 sed 's/^/| /' conftest.$ac_ext >&5
63641 glibcxx_cv_func__long_double_trig_use=no
63643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63644 ac_ext=c
63645 ac_cpp='$CPP $CPPFLAGS'
63646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63652 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
63653 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
63654 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63664 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63667 echo "$as_me:$LINENO: checking for $ac_func" >&5
63668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63669 if eval "test \"\${$as_ac_var+set}\" = set"; then
63670 echo $ECHO_N "(cached) $ECHO_C" >&6
63671 else
63672 if test x$gcc_no_link = xyes; then
63673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63675 { (exit 1); exit 1; }; }
63677 cat >conftest.$ac_ext <<_ACEOF
63678 /* confdefs.h. */
63679 _ACEOF
63680 cat confdefs.h >>conftest.$ac_ext
63681 cat >>conftest.$ac_ext <<_ACEOF
63682 /* end confdefs.h. */
63683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63685 #define $ac_func innocuous_$ac_func
63687 /* System header to define __stub macros and hopefully few prototypes,
63688 which can conflict with char $ac_func (); below.
63689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63690 <limits.h> exists even on freestanding compilers. */
63692 #ifdef __STDC__
63693 # include <limits.h>
63694 #else
63695 # include <assert.h>
63696 #endif
63698 #undef $ac_func
63700 /* Override any gcc2 internal prototype to avoid an error. */
63701 #ifdef __cplusplus
63702 extern "C"
63704 #endif
63705 /* We use char because int might match the return type of a gcc2
63706 builtin and then its argument prototype would still apply. */
63707 char $ac_func ();
63708 /* The GNU C library defines this for functions which it implements
63709 to always fail with ENOSYS. Some functions are actually named
63710 something starting with __ and the normal name is an alias. */
63711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63712 choke me
63713 #else
63714 char (*f) () = $ac_func;
63715 #endif
63716 #ifdef __cplusplus
63718 #endif
63721 main ()
63723 return f != $ac_func;
63725 return 0;
63727 _ACEOF
63728 rm -f conftest.$ac_objext conftest$ac_exeext
63729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63730 (eval $ac_link) 2>conftest.er1
63731 ac_status=$?
63732 grep -v '^ *+' conftest.er1 >conftest.err
63733 rm -f conftest.er1
63734 cat conftest.err >&5
63735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63736 (exit $ac_status); } &&
63737 { ac_try='test -z "$ac_c_werror_flag"
63738 || test ! -s conftest.err'
63739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63740 (eval $ac_try) 2>&5
63741 ac_status=$?
63742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63743 (exit $ac_status); }; } &&
63744 { ac_try='test -s conftest$ac_exeext'
63745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63746 (eval $ac_try) 2>&5
63747 ac_status=$?
63748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63749 (exit $ac_status); }; }; then
63750 eval "$as_ac_var=yes"
63751 else
63752 echo "$as_me: failed program was:" >&5
63753 sed 's/^/| /' conftest.$ac_ext >&5
63755 eval "$as_ac_var=no"
63757 rm -f conftest.err conftest.$ac_objext \
63758 conftest$ac_exeext conftest.$ac_ext
63760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63762 if test `eval echo '${'$as_ac_var'}'` = yes; then
63763 cat >>confdefs.h <<_ACEOF
63764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63765 _ACEOF
63768 done
63786 echo "$as_me:$LINENO: checking for long double round functions" >&5
63787 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63788 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63789 echo $ECHO_N "(cached) $ECHO_C" >&6
63790 else
63794 ac_ext=cc
63795 ac_cpp='$CXXCPP $CPPFLAGS'
63796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63800 cat >conftest.$ac_ext <<_ACEOF
63801 /* confdefs.h. */
63802 _ACEOF
63803 cat confdefs.h >>conftest.$ac_ext
63804 cat >>conftest.$ac_ext <<_ACEOF
63805 /* end confdefs.h. */
63806 #include <math.h>
63808 main ()
63810 ceill (0); floorl (0);
63812 return 0;
63814 _ACEOF
63815 rm -f conftest.$ac_objext
63816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63817 (eval $ac_compile) 2>conftest.er1
63818 ac_status=$?
63819 grep -v '^ *+' conftest.er1 >conftest.err
63820 rm -f conftest.er1
63821 cat conftest.err >&5
63822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63823 (exit $ac_status); } &&
63824 { ac_try='test -z "$ac_cxx_werror_flag"
63825 || test ! -s conftest.err'
63826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63827 (eval $ac_try) 2>&5
63828 ac_status=$?
63829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63830 (exit $ac_status); }; } &&
63831 { ac_try='test -s conftest.$ac_objext'
63832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63833 (eval $ac_try) 2>&5
63834 ac_status=$?
63835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63836 (exit $ac_status); }; }; then
63837 glibcxx_cv_func_long_double_round_use=yes
63838 else
63839 echo "$as_me: failed program was:" >&5
63840 sed 's/^/| /' conftest.$ac_ext >&5
63842 glibcxx_cv_func_long_double_round_use=no
63844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63845 ac_ext=c
63846 ac_cpp='$CPP $CPPFLAGS'
63847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63854 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63855 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63858 for ac_func in ceill floorl
63860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63861 echo "$as_me:$LINENO: checking for $ac_func" >&5
63862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63863 if eval "test \"\${$as_ac_var+set}\" = set"; then
63864 echo $ECHO_N "(cached) $ECHO_C" >&6
63865 else
63866 if test x$gcc_no_link = xyes; then
63867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63869 { (exit 1); exit 1; }; }
63871 cat >conftest.$ac_ext <<_ACEOF
63872 /* confdefs.h. */
63873 _ACEOF
63874 cat confdefs.h >>conftest.$ac_ext
63875 cat >>conftest.$ac_ext <<_ACEOF
63876 /* end confdefs.h. */
63877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63879 #define $ac_func innocuous_$ac_func
63881 /* System header to define __stub macros and hopefully few prototypes,
63882 which can conflict with char $ac_func (); below.
63883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63884 <limits.h> exists even on freestanding compilers. */
63886 #ifdef __STDC__
63887 # include <limits.h>
63888 #else
63889 # include <assert.h>
63890 #endif
63892 #undef $ac_func
63894 /* Override any gcc2 internal prototype to avoid an error. */
63895 #ifdef __cplusplus
63896 extern "C"
63898 #endif
63899 /* We use char because int might match the return type of a gcc2
63900 builtin and then its argument prototype would still apply. */
63901 char $ac_func ();
63902 /* The GNU C library defines this for functions which it implements
63903 to always fail with ENOSYS. Some functions are actually named
63904 something starting with __ and the normal name is an alias. */
63905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63906 choke me
63907 #else
63908 char (*f) () = $ac_func;
63909 #endif
63910 #ifdef __cplusplus
63912 #endif
63915 main ()
63917 return f != $ac_func;
63919 return 0;
63921 _ACEOF
63922 rm -f conftest.$ac_objext conftest$ac_exeext
63923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63924 (eval $ac_link) 2>conftest.er1
63925 ac_status=$?
63926 grep -v '^ *+' conftest.er1 >conftest.err
63927 rm -f conftest.er1
63928 cat conftest.err >&5
63929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63930 (exit $ac_status); } &&
63931 { ac_try='test -z "$ac_c_werror_flag"
63932 || test ! -s conftest.err'
63933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63934 (eval $ac_try) 2>&5
63935 ac_status=$?
63936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63937 (exit $ac_status); }; } &&
63938 { ac_try='test -s conftest$ac_exeext'
63939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63940 (eval $ac_try) 2>&5
63941 ac_status=$?
63942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63943 (exit $ac_status); }; }; then
63944 eval "$as_ac_var=yes"
63945 else
63946 echo "$as_me: failed program was:" >&5
63947 sed 's/^/| /' conftest.$ac_ext >&5
63949 eval "$as_ac_var=no"
63951 rm -f conftest.err conftest.$ac_objext \
63952 conftest$ac_exeext conftest.$ac_ext
63954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63956 if test `eval echo '${'$as_ac_var'}'` = yes; then
63957 cat >>confdefs.h <<_ACEOF
63958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63959 _ACEOF
63962 done
63964 else
63965 echo "$as_me:$LINENO: checking for _long double round functions" >&5
63966 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
63967 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
63968 echo $ECHO_N "(cached) $ECHO_C" >&6
63969 else
63973 ac_ext=cc
63974 ac_cpp='$CXXCPP $CPPFLAGS'
63975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63979 cat >conftest.$ac_ext <<_ACEOF
63980 /* confdefs.h. */
63981 _ACEOF
63982 cat confdefs.h >>conftest.$ac_ext
63983 cat >>conftest.$ac_ext <<_ACEOF
63984 /* end confdefs.h. */
63985 #include <math.h>
63987 main ()
63989 _ceill (0); _floorl (0);
63991 return 0;
63993 _ACEOF
63994 rm -f conftest.$ac_objext
63995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63996 (eval $ac_compile) 2>conftest.er1
63997 ac_status=$?
63998 grep -v '^ *+' conftest.er1 >conftest.err
63999 rm -f conftest.er1
64000 cat conftest.err >&5
64001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64002 (exit $ac_status); } &&
64003 { ac_try='test -z "$ac_cxx_werror_flag"
64004 || test ! -s conftest.err'
64005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64006 (eval $ac_try) 2>&5
64007 ac_status=$?
64008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64009 (exit $ac_status); }; } &&
64010 { ac_try='test -s conftest.$ac_objext'
64011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64012 (eval $ac_try) 2>&5
64013 ac_status=$?
64014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64015 (exit $ac_status); }; }; then
64016 glibcxx_cv_func__long_double_round_use=yes
64017 else
64018 echo "$as_me: failed program was:" >&5
64019 sed 's/^/| /' conftest.$ac_ext >&5
64021 glibcxx_cv_func__long_double_round_use=no
64023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64024 ac_ext=c
64025 ac_cpp='$CPP $CPPFLAGS'
64026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
64033 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
64034 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64037 for ac_func in _ceill _floorl
64039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64040 echo "$as_me:$LINENO: checking for $ac_func" >&5
64041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64042 if eval "test \"\${$as_ac_var+set}\" = set"; then
64043 echo $ECHO_N "(cached) $ECHO_C" >&6
64044 else
64045 if test x$gcc_no_link = xyes; then
64046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64048 { (exit 1); exit 1; }; }
64050 cat >conftest.$ac_ext <<_ACEOF
64051 /* confdefs.h. */
64052 _ACEOF
64053 cat confdefs.h >>conftest.$ac_ext
64054 cat >>conftest.$ac_ext <<_ACEOF
64055 /* end confdefs.h. */
64056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64058 #define $ac_func innocuous_$ac_func
64060 /* System header to define __stub macros and hopefully few prototypes,
64061 which can conflict with char $ac_func (); below.
64062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64063 <limits.h> exists even on freestanding compilers. */
64065 #ifdef __STDC__
64066 # include <limits.h>
64067 #else
64068 # include <assert.h>
64069 #endif
64071 #undef $ac_func
64073 /* Override any gcc2 internal prototype to avoid an error. */
64074 #ifdef __cplusplus
64075 extern "C"
64077 #endif
64078 /* We use char because int might match the return type of a gcc2
64079 builtin and then its argument prototype would still apply. */
64080 char $ac_func ();
64081 /* The GNU C library defines this for functions which it implements
64082 to always fail with ENOSYS. Some functions are actually named
64083 something starting with __ and the normal name is an alias. */
64084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64085 choke me
64086 #else
64087 char (*f) () = $ac_func;
64088 #endif
64089 #ifdef __cplusplus
64091 #endif
64094 main ()
64096 return f != $ac_func;
64098 return 0;
64100 _ACEOF
64101 rm -f conftest.$ac_objext conftest$ac_exeext
64102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64103 (eval $ac_link) 2>conftest.er1
64104 ac_status=$?
64105 grep -v '^ *+' conftest.er1 >conftest.err
64106 rm -f conftest.er1
64107 cat conftest.err >&5
64108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64109 (exit $ac_status); } &&
64110 { ac_try='test -z "$ac_c_werror_flag"
64111 || test ! -s conftest.err'
64112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64113 (eval $ac_try) 2>&5
64114 ac_status=$?
64115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64116 (exit $ac_status); }; } &&
64117 { ac_try='test -s conftest$ac_exeext'
64118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64119 (eval $ac_try) 2>&5
64120 ac_status=$?
64121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64122 (exit $ac_status); }; }; then
64123 eval "$as_ac_var=yes"
64124 else
64125 echo "$as_me: failed program was:" >&5
64126 sed 's/^/| /' conftest.$ac_ext >&5
64128 eval "$as_ac_var=no"
64130 rm -f conftest.err conftest.$ac_objext \
64131 conftest$ac_exeext conftest.$ac_ext
64133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64135 if test `eval echo '${'$as_ac_var'}'` = yes; then
64136 cat >>confdefs.h <<_ACEOF
64137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64138 _ACEOF
64141 done
64153 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
64154 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
64155 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64156 if test "${glibcxx_cv_func_isnanl_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>
64175 #ifdef HAVE_IEEEFP_H
64176 #include <ieeefp.h>
64177 #endif
64180 main ()
64182 isnanl(0);
64184 return 0;
64186 _ACEOF
64187 rm -f conftest.$ac_objext
64188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64189 (eval $ac_compile) 2>conftest.er1
64190 ac_status=$?
64191 grep -v '^ *+' conftest.er1 >conftest.err
64192 rm -f conftest.er1
64193 cat conftest.err >&5
64194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64195 (exit $ac_status); } &&
64196 { ac_try='test -z "$ac_cxx_werror_flag"
64197 || test ! -s conftest.err'
64198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64199 (eval $ac_try) 2>&5
64200 ac_status=$?
64201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64202 (exit $ac_status); }; } &&
64203 { ac_try='test -s conftest.$ac_objext'
64204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64205 (eval $ac_try) 2>&5
64206 ac_status=$?
64207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64208 (exit $ac_status); }; }; then
64209 glibcxx_cv_func_isnanl_use=yes
64210 else
64211 echo "$as_me: failed program was:" >&5
64212 sed 's/^/| /' conftest.$ac_ext >&5
64214 glibcxx_cv_func_isnanl_use=no
64216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64217 ac_ext=c
64218 ac_cpp='$CPP $CPPFLAGS'
64219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64227 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
64228 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
64230 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64232 for ac_func in isnanl
64234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64235 echo "$as_me:$LINENO: checking for $ac_func" >&5
64236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64237 if eval "test \"\${$as_ac_var+set}\" = set"; then
64238 echo $ECHO_N "(cached) $ECHO_C" >&6
64239 else
64240 if test x$gcc_no_link = xyes; then
64241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64243 { (exit 1); exit 1; }; }
64245 cat >conftest.$ac_ext <<_ACEOF
64246 /* confdefs.h. */
64247 _ACEOF
64248 cat confdefs.h >>conftest.$ac_ext
64249 cat >>conftest.$ac_ext <<_ACEOF
64250 /* end confdefs.h. */
64251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64253 #define $ac_func innocuous_$ac_func
64255 /* System header to define __stub macros and hopefully few prototypes,
64256 which can conflict with char $ac_func (); below.
64257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64258 <limits.h> exists even on freestanding compilers. */
64260 #ifdef __STDC__
64261 # include <limits.h>
64262 #else
64263 # include <assert.h>
64264 #endif
64266 #undef $ac_func
64268 /* Override any gcc2 internal prototype to avoid an error. */
64269 #ifdef __cplusplus
64270 extern "C"
64272 #endif
64273 /* We use char because int might match the return type of a gcc2
64274 builtin and then its argument prototype would still apply. */
64275 char $ac_func ();
64276 /* The GNU C library defines this for functions which it implements
64277 to always fail with ENOSYS. Some functions are actually named
64278 something starting with __ and the normal name is an alias. */
64279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64280 choke me
64281 #else
64282 char (*f) () = $ac_func;
64283 #endif
64284 #ifdef __cplusplus
64286 #endif
64289 main ()
64291 return f != $ac_func;
64293 return 0;
64295 _ACEOF
64296 rm -f conftest.$ac_objext conftest$ac_exeext
64297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64298 (eval $ac_link) 2>conftest.er1
64299 ac_status=$?
64300 grep -v '^ *+' conftest.er1 >conftest.err
64301 rm -f conftest.er1
64302 cat conftest.err >&5
64303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64304 (exit $ac_status); } &&
64305 { ac_try='test -z "$ac_c_werror_flag"
64306 || test ! -s conftest.err'
64307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64308 (eval $ac_try) 2>&5
64309 ac_status=$?
64310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64311 (exit $ac_status); }; } &&
64312 { ac_try='test -s conftest$ac_exeext'
64313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64314 (eval $ac_try) 2>&5
64315 ac_status=$?
64316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64317 (exit $ac_status); }; }; then
64318 eval "$as_ac_var=yes"
64319 else
64320 echo "$as_me: failed program was:" >&5
64321 sed 's/^/| /' conftest.$ac_ext >&5
64323 eval "$as_ac_var=no"
64325 rm -f conftest.err conftest.$ac_objext \
64326 conftest$ac_exeext conftest.$ac_ext
64328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64330 if test `eval echo '${'$as_ac_var'}'` = yes; then
64331 cat >>confdefs.h <<_ACEOF
64332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64333 _ACEOF
64336 done
64338 else
64340 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64341 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64342 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64343 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64344 echo $ECHO_N "(cached) $ECHO_C" >&6
64345 else
64349 ac_ext=cc
64350 ac_cpp='$CXXCPP $CPPFLAGS'
64351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64355 cat >conftest.$ac_ext <<_ACEOF
64356 /* confdefs.h. */
64357 _ACEOF
64358 cat confdefs.h >>conftest.$ac_ext
64359 cat >>conftest.$ac_ext <<_ACEOF
64360 /* end confdefs.h. */
64361 #include <math.h>
64362 #ifdef HAVE_IEEEFP_H
64363 #include <ieeefp.h>
64364 #endif
64367 main ()
64369 _isnanl(0);
64371 return 0;
64373 _ACEOF
64374 rm -f conftest.$ac_objext
64375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64376 (eval $ac_compile) 2>conftest.er1
64377 ac_status=$?
64378 grep -v '^ *+' conftest.er1 >conftest.err
64379 rm -f conftest.er1
64380 cat conftest.err >&5
64381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64382 (exit $ac_status); } &&
64383 { ac_try='test -z "$ac_cxx_werror_flag"
64384 || test ! -s conftest.err'
64385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64386 (eval $ac_try) 2>&5
64387 ac_status=$?
64388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64389 (exit $ac_status); }; } &&
64390 { ac_try='test -s conftest.$ac_objext'
64391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64392 (eval $ac_try) 2>&5
64393 ac_status=$?
64394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64395 (exit $ac_status); }; }; then
64396 glibcxx_cv_func__isnanl_use=yes
64397 else
64398 echo "$as_me: failed program was:" >&5
64399 sed 's/^/| /' conftest.$ac_ext >&5
64401 glibcxx_cv_func__isnanl_use=no
64403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64404 ac_ext=c
64405 ac_cpp='$CPP $CPPFLAGS'
64406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64414 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64415 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64417 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64419 for ac_func in _isnanl
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
64533 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
64534 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
64535 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64536 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
64537 echo $ECHO_N "(cached) $ECHO_C" >&6
64538 else
64542 ac_ext=cc
64543 ac_cpp='$CXXCPP $CPPFLAGS'
64544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64548 cat >conftest.$ac_ext <<_ACEOF
64549 /* confdefs.h. */
64550 _ACEOF
64551 cat confdefs.h >>conftest.$ac_ext
64552 cat >>conftest.$ac_ext <<_ACEOF
64553 /* end confdefs.h. */
64554 #include <math.h>
64555 #ifdef HAVE_IEEEFP_H
64556 #include <ieeefp.h>
64557 #endif
64560 main ()
64562 isinfl(0);
64564 return 0;
64566 _ACEOF
64567 rm -f conftest.$ac_objext
64568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64569 (eval $ac_compile) 2>conftest.er1
64570 ac_status=$?
64571 grep -v '^ *+' conftest.er1 >conftest.err
64572 rm -f conftest.er1
64573 cat conftest.err >&5
64574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64575 (exit $ac_status); } &&
64576 { ac_try='test -z "$ac_cxx_werror_flag"
64577 || test ! -s conftest.err'
64578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64579 (eval $ac_try) 2>&5
64580 ac_status=$?
64581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64582 (exit $ac_status); }; } &&
64583 { ac_try='test -s conftest.$ac_objext'
64584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64585 (eval $ac_try) 2>&5
64586 ac_status=$?
64587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64588 (exit $ac_status); }; }; then
64589 glibcxx_cv_func_isinfl_use=yes
64590 else
64591 echo "$as_me: failed program was:" >&5
64592 sed 's/^/| /' conftest.$ac_ext >&5
64594 glibcxx_cv_func_isinfl_use=no
64596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64597 ac_ext=c
64598 ac_cpp='$CPP $CPPFLAGS'
64599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64607 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
64608 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
64610 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64612 for ac_func in isinfl
64614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64615 echo "$as_me:$LINENO: checking for $ac_func" >&5
64616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64617 if eval "test \"\${$as_ac_var+set}\" = set"; then
64618 echo $ECHO_N "(cached) $ECHO_C" >&6
64619 else
64620 if test x$gcc_no_link = xyes; then
64621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64623 { (exit 1); exit 1; }; }
64625 cat >conftest.$ac_ext <<_ACEOF
64626 /* confdefs.h. */
64627 _ACEOF
64628 cat confdefs.h >>conftest.$ac_ext
64629 cat >>conftest.$ac_ext <<_ACEOF
64630 /* end confdefs.h. */
64631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64633 #define $ac_func innocuous_$ac_func
64635 /* System header to define __stub macros and hopefully few prototypes,
64636 which can conflict with char $ac_func (); below.
64637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64638 <limits.h> exists even on freestanding compilers. */
64640 #ifdef __STDC__
64641 # include <limits.h>
64642 #else
64643 # include <assert.h>
64644 #endif
64646 #undef $ac_func
64648 /* Override any gcc2 internal prototype to avoid an error. */
64649 #ifdef __cplusplus
64650 extern "C"
64652 #endif
64653 /* We use char because int might match the return type of a gcc2
64654 builtin and then its argument prototype would still apply. */
64655 char $ac_func ();
64656 /* The GNU C library defines this for functions which it implements
64657 to always fail with ENOSYS. Some functions are actually named
64658 something starting with __ and the normal name is an alias. */
64659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64660 choke me
64661 #else
64662 char (*f) () = $ac_func;
64663 #endif
64664 #ifdef __cplusplus
64666 #endif
64669 main ()
64671 return f != $ac_func;
64673 return 0;
64675 _ACEOF
64676 rm -f conftest.$ac_objext conftest$ac_exeext
64677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64678 (eval $ac_link) 2>conftest.er1
64679 ac_status=$?
64680 grep -v '^ *+' conftest.er1 >conftest.err
64681 rm -f conftest.er1
64682 cat conftest.err >&5
64683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64684 (exit $ac_status); } &&
64685 { ac_try='test -z "$ac_c_werror_flag"
64686 || test ! -s conftest.err'
64687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64688 (eval $ac_try) 2>&5
64689 ac_status=$?
64690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64691 (exit $ac_status); }; } &&
64692 { ac_try='test -s conftest$ac_exeext'
64693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64694 (eval $ac_try) 2>&5
64695 ac_status=$?
64696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64697 (exit $ac_status); }; }; then
64698 eval "$as_ac_var=yes"
64699 else
64700 echo "$as_me: failed program was:" >&5
64701 sed 's/^/| /' conftest.$ac_ext >&5
64703 eval "$as_ac_var=no"
64705 rm -f conftest.err conftest.$ac_objext \
64706 conftest$ac_exeext conftest.$ac_ext
64708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64710 if test `eval echo '${'$as_ac_var'}'` = yes; then
64711 cat >>confdefs.h <<_ACEOF
64712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64713 _ACEOF
64716 done
64718 else
64720 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64721 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64722 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64723 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64724 echo $ECHO_N "(cached) $ECHO_C" >&6
64725 else
64729 ac_ext=cc
64730 ac_cpp='$CXXCPP $CPPFLAGS'
64731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64735 cat >conftest.$ac_ext <<_ACEOF
64736 /* confdefs.h. */
64737 _ACEOF
64738 cat confdefs.h >>conftest.$ac_ext
64739 cat >>conftest.$ac_ext <<_ACEOF
64740 /* end confdefs.h. */
64741 #include <math.h>
64742 #ifdef HAVE_IEEEFP_H
64743 #include <ieeefp.h>
64744 #endif
64747 main ()
64749 _isinfl(0);
64751 return 0;
64753 _ACEOF
64754 rm -f conftest.$ac_objext
64755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64756 (eval $ac_compile) 2>conftest.er1
64757 ac_status=$?
64758 grep -v '^ *+' conftest.er1 >conftest.err
64759 rm -f conftest.er1
64760 cat conftest.err >&5
64761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64762 (exit $ac_status); } &&
64763 { ac_try='test -z "$ac_cxx_werror_flag"
64764 || test ! -s conftest.err'
64765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64766 (eval $ac_try) 2>&5
64767 ac_status=$?
64768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64769 (exit $ac_status); }; } &&
64770 { ac_try='test -s conftest.$ac_objext'
64771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64772 (eval $ac_try) 2>&5
64773 ac_status=$?
64774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64775 (exit $ac_status); }; }; then
64776 glibcxx_cv_func__isinfl_use=yes
64777 else
64778 echo "$as_me: failed program was:" >&5
64779 sed 's/^/| /' conftest.$ac_ext >&5
64781 glibcxx_cv_func__isinfl_use=no
64783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64784 ac_ext=c
64785 ac_cpp='$CPP $CPPFLAGS'
64786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64794 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64795 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64797 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64799 for ac_func in _isinfl
64801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64802 echo "$as_me:$LINENO: checking for $ac_func" >&5
64803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64804 if eval "test \"\${$as_ac_var+set}\" = set"; then
64805 echo $ECHO_N "(cached) $ECHO_C" >&6
64806 else
64807 if test x$gcc_no_link = xyes; then
64808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64810 { (exit 1); exit 1; }; }
64812 cat >conftest.$ac_ext <<_ACEOF
64813 /* confdefs.h. */
64814 _ACEOF
64815 cat confdefs.h >>conftest.$ac_ext
64816 cat >>conftest.$ac_ext <<_ACEOF
64817 /* end confdefs.h. */
64818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64820 #define $ac_func innocuous_$ac_func
64822 /* System header to define __stub macros and hopefully few prototypes,
64823 which can conflict with char $ac_func (); below.
64824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64825 <limits.h> exists even on freestanding compilers. */
64827 #ifdef __STDC__
64828 # include <limits.h>
64829 #else
64830 # include <assert.h>
64831 #endif
64833 #undef $ac_func
64835 /* Override any gcc2 internal prototype to avoid an error. */
64836 #ifdef __cplusplus
64837 extern "C"
64839 #endif
64840 /* We use char because int might match the return type of a gcc2
64841 builtin and then its argument prototype would still apply. */
64842 char $ac_func ();
64843 /* The GNU C library defines this for functions which it implements
64844 to always fail with ENOSYS. Some functions are actually named
64845 something starting with __ and the normal name is an alias. */
64846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64847 choke me
64848 #else
64849 char (*f) () = $ac_func;
64850 #endif
64851 #ifdef __cplusplus
64853 #endif
64856 main ()
64858 return f != $ac_func;
64860 return 0;
64862 _ACEOF
64863 rm -f conftest.$ac_objext conftest$ac_exeext
64864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64865 (eval $ac_link) 2>conftest.er1
64866 ac_status=$?
64867 grep -v '^ *+' conftest.er1 >conftest.err
64868 rm -f conftest.er1
64869 cat conftest.err >&5
64870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64871 (exit $ac_status); } &&
64872 { ac_try='test -z "$ac_c_werror_flag"
64873 || test ! -s conftest.err'
64874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64875 (eval $ac_try) 2>&5
64876 ac_status=$?
64877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64878 (exit $ac_status); }; } &&
64879 { ac_try='test -s conftest$ac_exeext'
64880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64881 (eval $ac_try) 2>&5
64882 ac_status=$?
64883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64884 (exit $ac_status); }; }; then
64885 eval "$as_ac_var=yes"
64886 else
64887 echo "$as_me: failed program was:" >&5
64888 sed 's/^/| /' conftest.$ac_ext >&5
64890 eval "$as_ac_var=no"
64892 rm -f conftest.err conftest.$ac_objext \
64893 conftest$ac_exeext conftest.$ac_ext
64895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64897 if test `eval echo '${'$as_ac_var'}'` = yes; then
64898 cat >>confdefs.h <<_ACEOF
64899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64900 _ACEOF
64903 done
64913 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64914 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64915 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64916 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64917 echo $ECHO_N "(cached) $ECHO_C" >&6
64918 else
64922 ac_ext=cc
64923 ac_cpp='$CXXCPP $CPPFLAGS'
64924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64928 cat >conftest.$ac_ext <<_ACEOF
64929 /* confdefs.h. */
64930 _ACEOF
64931 cat confdefs.h >>conftest.$ac_ext
64932 cat >>conftest.$ac_ext <<_ACEOF
64933 /* end confdefs.h. */
64934 #include <math.h>
64936 main ()
64938 copysignl(0, 0);
64940 return 0;
64942 _ACEOF
64943 rm -f conftest.$ac_objext
64944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64945 (eval $ac_compile) 2>conftest.er1
64946 ac_status=$?
64947 grep -v '^ *+' conftest.er1 >conftest.err
64948 rm -f conftest.er1
64949 cat conftest.err >&5
64950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64951 (exit $ac_status); } &&
64952 { ac_try='test -z "$ac_cxx_werror_flag"
64953 || test ! -s conftest.err'
64954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64955 (eval $ac_try) 2>&5
64956 ac_status=$?
64957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64958 (exit $ac_status); }; } &&
64959 { ac_try='test -s conftest.$ac_objext'
64960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64961 (eval $ac_try) 2>&5
64962 ac_status=$?
64963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64964 (exit $ac_status); }; }; then
64965 glibcxx_cv_func_copysignl_use=yes
64966 else
64967 echo "$as_me: failed program was:" >&5
64968 sed 's/^/| /' conftest.$ac_ext >&5
64970 glibcxx_cv_func_copysignl_use=no
64972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64973 ac_ext=c
64974 ac_cpp='$CPP $CPPFLAGS'
64975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64983 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64984 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64986 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64988 for ac_func in copysignl
64990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64991 echo "$as_me:$LINENO: checking for $ac_func" >&5
64992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64993 if eval "test \"\${$as_ac_var+set}\" = set"; then
64994 echo $ECHO_N "(cached) $ECHO_C" >&6
64995 else
64996 if test x$gcc_no_link = xyes; then
64997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64999 { (exit 1); exit 1; }; }
65001 cat >conftest.$ac_ext <<_ACEOF
65002 /* confdefs.h. */
65003 _ACEOF
65004 cat confdefs.h >>conftest.$ac_ext
65005 cat >>conftest.$ac_ext <<_ACEOF
65006 /* end confdefs.h. */
65007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65009 #define $ac_func innocuous_$ac_func
65011 /* System header to define __stub macros and hopefully few prototypes,
65012 which can conflict with char $ac_func (); below.
65013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65014 <limits.h> exists even on freestanding compilers. */
65016 #ifdef __STDC__
65017 # include <limits.h>
65018 #else
65019 # include <assert.h>
65020 #endif
65022 #undef $ac_func
65024 /* Override any gcc2 internal prototype to avoid an error. */
65025 #ifdef __cplusplus
65026 extern "C"
65028 #endif
65029 /* We use char because int might match the return type of a gcc2
65030 builtin and then its argument prototype would still apply. */
65031 char $ac_func ();
65032 /* The GNU C library defines this for functions which it implements
65033 to always fail with ENOSYS. Some functions are actually named
65034 something starting with __ and the normal name is an alias. */
65035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65036 choke me
65037 #else
65038 char (*f) () = $ac_func;
65039 #endif
65040 #ifdef __cplusplus
65042 #endif
65045 main ()
65047 return f != $ac_func;
65049 return 0;
65051 _ACEOF
65052 rm -f conftest.$ac_objext conftest$ac_exeext
65053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65054 (eval $ac_link) 2>conftest.er1
65055 ac_status=$?
65056 grep -v '^ *+' conftest.er1 >conftest.err
65057 rm -f conftest.er1
65058 cat conftest.err >&5
65059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65060 (exit $ac_status); } &&
65061 { ac_try='test -z "$ac_c_werror_flag"
65062 || test ! -s conftest.err'
65063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65064 (eval $ac_try) 2>&5
65065 ac_status=$?
65066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65067 (exit $ac_status); }; } &&
65068 { ac_try='test -s conftest$ac_exeext'
65069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65070 (eval $ac_try) 2>&5
65071 ac_status=$?
65072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65073 (exit $ac_status); }; }; then
65074 eval "$as_ac_var=yes"
65075 else
65076 echo "$as_me: failed program was:" >&5
65077 sed 's/^/| /' conftest.$ac_ext >&5
65079 eval "$as_ac_var=no"
65081 rm -f conftest.err conftest.$ac_objext \
65082 conftest$ac_exeext conftest.$ac_ext
65084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65086 if test `eval echo '${'$as_ac_var'}'` = yes; then
65087 cat >>confdefs.h <<_ACEOF
65088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65089 _ACEOF
65092 done
65094 else
65096 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
65097 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
65098 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
65099 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
65100 echo $ECHO_N "(cached) $ECHO_C" >&6
65101 else
65105 ac_ext=cc
65106 ac_cpp='$CXXCPP $CPPFLAGS'
65107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65111 cat >conftest.$ac_ext <<_ACEOF
65112 /* confdefs.h. */
65113 _ACEOF
65114 cat confdefs.h >>conftest.$ac_ext
65115 cat >>conftest.$ac_ext <<_ACEOF
65116 /* end confdefs.h. */
65117 #include <math.h>
65119 main ()
65121 _copysignl(0, 0);
65123 return 0;
65125 _ACEOF
65126 rm -f conftest.$ac_objext
65127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65128 (eval $ac_compile) 2>conftest.er1
65129 ac_status=$?
65130 grep -v '^ *+' conftest.er1 >conftest.err
65131 rm -f conftest.er1
65132 cat conftest.err >&5
65133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65134 (exit $ac_status); } &&
65135 { ac_try='test -z "$ac_cxx_werror_flag"
65136 || test ! -s conftest.err'
65137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65138 (eval $ac_try) 2>&5
65139 ac_status=$?
65140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65141 (exit $ac_status); }; } &&
65142 { ac_try='test -s conftest.$ac_objext'
65143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65144 (eval $ac_try) 2>&5
65145 ac_status=$?
65146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65147 (exit $ac_status); }; }; then
65148 glibcxx_cv_func__copysignl_use=yes
65149 else
65150 echo "$as_me: failed program was:" >&5
65151 sed 's/^/| /' conftest.$ac_ext >&5
65153 glibcxx_cv_func__copysignl_use=no
65155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65156 ac_ext=c
65157 ac_cpp='$CPP $CPPFLAGS'
65158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65166 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
65167 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
65169 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
65171 for ac_func in _copysignl
65173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65174 echo "$as_me:$LINENO: checking for $ac_func" >&5
65175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65176 if eval "test \"\${$as_ac_var+set}\" = set"; then
65177 echo $ECHO_N "(cached) $ECHO_C" >&6
65178 else
65179 if test x$gcc_no_link = xyes; then
65180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65182 { (exit 1); exit 1; }; }
65184 cat >conftest.$ac_ext <<_ACEOF
65185 /* confdefs.h. */
65186 _ACEOF
65187 cat confdefs.h >>conftest.$ac_ext
65188 cat >>conftest.$ac_ext <<_ACEOF
65189 /* end confdefs.h. */
65190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65192 #define $ac_func innocuous_$ac_func
65194 /* System header to define __stub macros and hopefully few prototypes,
65195 which can conflict with char $ac_func (); below.
65196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65197 <limits.h> exists even on freestanding compilers. */
65199 #ifdef __STDC__
65200 # include <limits.h>
65201 #else
65202 # include <assert.h>
65203 #endif
65205 #undef $ac_func
65207 /* Override any gcc2 internal prototype to avoid an error. */
65208 #ifdef __cplusplus
65209 extern "C"
65211 #endif
65212 /* We use char because int might match the return type of a gcc2
65213 builtin and then its argument prototype would still apply. */
65214 char $ac_func ();
65215 /* The GNU C library defines this for functions which it implements
65216 to always fail with ENOSYS. Some functions are actually named
65217 something starting with __ and the normal name is an alias. */
65218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65219 choke me
65220 #else
65221 char (*f) () = $ac_func;
65222 #endif
65223 #ifdef __cplusplus
65225 #endif
65228 main ()
65230 return f != $ac_func;
65232 return 0;
65234 _ACEOF
65235 rm -f conftest.$ac_objext conftest$ac_exeext
65236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65237 (eval $ac_link) 2>conftest.er1
65238 ac_status=$?
65239 grep -v '^ *+' conftest.er1 >conftest.err
65240 rm -f conftest.er1
65241 cat conftest.err >&5
65242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65243 (exit $ac_status); } &&
65244 { ac_try='test -z "$ac_c_werror_flag"
65245 || test ! -s conftest.err'
65246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65247 (eval $ac_try) 2>&5
65248 ac_status=$?
65249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65250 (exit $ac_status); }; } &&
65251 { ac_try='test -s conftest$ac_exeext'
65252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65253 (eval $ac_try) 2>&5
65254 ac_status=$?
65255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65256 (exit $ac_status); }; }; then
65257 eval "$as_ac_var=yes"
65258 else
65259 echo "$as_me: failed program was:" >&5
65260 sed 's/^/| /' conftest.$ac_ext >&5
65262 eval "$as_ac_var=no"
65264 rm -f conftest.err conftest.$ac_objext \
65265 conftest$ac_exeext conftest.$ac_ext
65267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65269 if test `eval echo '${'$as_ac_var'}'` = yes; then
65270 cat >>confdefs.h <<_ACEOF
65271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65272 _ACEOF
65275 done
65285 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65286 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65287 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65288 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65289 echo $ECHO_N "(cached) $ECHO_C" >&6
65290 else
65294 ac_ext=cc
65295 ac_cpp='$CXXCPP $CPPFLAGS'
65296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65300 cat >conftest.$ac_ext <<_ACEOF
65301 /* confdefs.h. */
65302 _ACEOF
65303 cat confdefs.h >>conftest.$ac_ext
65304 cat >>conftest.$ac_ext <<_ACEOF
65305 /* end confdefs.h. */
65306 #include <math.h>
65308 main ()
65310 atan2l(0, 0);
65312 return 0;
65314 _ACEOF
65315 rm -f conftest.$ac_objext
65316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65317 (eval $ac_compile) 2>conftest.er1
65318 ac_status=$?
65319 grep -v '^ *+' conftest.er1 >conftest.err
65320 rm -f conftest.er1
65321 cat conftest.err >&5
65322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65323 (exit $ac_status); } &&
65324 { ac_try='test -z "$ac_cxx_werror_flag"
65325 || test ! -s conftest.err'
65326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65327 (eval $ac_try) 2>&5
65328 ac_status=$?
65329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65330 (exit $ac_status); }; } &&
65331 { ac_try='test -s conftest.$ac_objext'
65332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65333 (eval $ac_try) 2>&5
65334 ac_status=$?
65335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65336 (exit $ac_status); }; }; then
65337 glibcxx_cv_func_atan2l_use=yes
65338 else
65339 echo "$as_me: failed program was:" >&5
65340 sed 's/^/| /' conftest.$ac_ext >&5
65342 glibcxx_cv_func_atan2l_use=no
65344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65345 ac_ext=c
65346 ac_cpp='$CPP $CPPFLAGS'
65347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65355 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65356 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65358 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65360 for ac_func in atan2l
65362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65363 echo "$as_me:$LINENO: checking for $ac_func" >&5
65364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65365 if eval "test \"\${$as_ac_var+set}\" = set"; then
65366 echo $ECHO_N "(cached) $ECHO_C" >&6
65367 else
65368 if test x$gcc_no_link = xyes; then
65369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65371 { (exit 1); exit 1; }; }
65373 cat >conftest.$ac_ext <<_ACEOF
65374 /* confdefs.h. */
65375 _ACEOF
65376 cat confdefs.h >>conftest.$ac_ext
65377 cat >>conftest.$ac_ext <<_ACEOF
65378 /* end confdefs.h. */
65379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65381 #define $ac_func innocuous_$ac_func
65383 /* System header to define __stub macros and hopefully few prototypes,
65384 which can conflict with char $ac_func (); below.
65385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65386 <limits.h> exists even on freestanding compilers. */
65388 #ifdef __STDC__
65389 # include <limits.h>
65390 #else
65391 # include <assert.h>
65392 #endif
65394 #undef $ac_func
65396 /* Override any gcc2 internal prototype to avoid an error. */
65397 #ifdef __cplusplus
65398 extern "C"
65400 #endif
65401 /* We use char because int might match the return type of a gcc2
65402 builtin and then its argument prototype would still apply. */
65403 char $ac_func ();
65404 /* The GNU C library defines this for functions which it implements
65405 to always fail with ENOSYS. Some functions are actually named
65406 something starting with __ and the normal name is an alias. */
65407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65408 choke me
65409 #else
65410 char (*f) () = $ac_func;
65411 #endif
65412 #ifdef __cplusplus
65414 #endif
65417 main ()
65419 return f != $ac_func;
65421 return 0;
65423 _ACEOF
65424 rm -f conftest.$ac_objext conftest$ac_exeext
65425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65426 (eval $ac_link) 2>conftest.er1
65427 ac_status=$?
65428 grep -v '^ *+' conftest.er1 >conftest.err
65429 rm -f conftest.er1
65430 cat conftest.err >&5
65431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65432 (exit $ac_status); } &&
65433 { ac_try='test -z "$ac_c_werror_flag"
65434 || test ! -s conftest.err'
65435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65436 (eval $ac_try) 2>&5
65437 ac_status=$?
65438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65439 (exit $ac_status); }; } &&
65440 { ac_try='test -s conftest$ac_exeext'
65441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65442 (eval $ac_try) 2>&5
65443 ac_status=$?
65444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65445 (exit $ac_status); }; }; then
65446 eval "$as_ac_var=yes"
65447 else
65448 echo "$as_me: failed program was:" >&5
65449 sed 's/^/| /' conftest.$ac_ext >&5
65451 eval "$as_ac_var=no"
65453 rm -f conftest.err conftest.$ac_objext \
65454 conftest$ac_exeext conftest.$ac_ext
65456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65458 if test `eval echo '${'$as_ac_var'}'` = yes; then
65459 cat >>confdefs.h <<_ACEOF
65460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65461 _ACEOF
65464 done
65466 else
65468 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
65469 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
65470 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65471 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
65472 echo $ECHO_N "(cached) $ECHO_C" >&6
65473 else
65477 ac_ext=cc
65478 ac_cpp='$CXXCPP $CPPFLAGS'
65479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65483 cat >conftest.$ac_ext <<_ACEOF
65484 /* confdefs.h. */
65485 _ACEOF
65486 cat confdefs.h >>conftest.$ac_ext
65487 cat >>conftest.$ac_ext <<_ACEOF
65488 /* end confdefs.h. */
65489 #include <math.h>
65491 main ()
65493 _atan2l(0, 0);
65495 return 0;
65497 _ACEOF
65498 rm -f conftest.$ac_objext
65499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65500 (eval $ac_compile) 2>conftest.er1
65501 ac_status=$?
65502 grep -v '^ *+' conftest.er1 >conftest.err
65503 rm -f conftest.er1
65504 cat conftest.err >&5
65505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65506 (exit $ac_status); } &&
65507 { ac_try='test -z "$ac_cxx_werror_flag"
65508 || test ! -s conftest.err'
65509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65510 (eval $ac_try) 2>&5
65511 ac_status=$?
65512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65513 (exit $ac_status); }; } &&
65514 { ac_try='test -s conftest.$ac_objext'
65515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65516 (eval $ac_try) 2>&5
65517 ac_status=$?
65518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65519 (exit $ac_status); }; }; then
65520 glibcxx_cv_func__atan2l_use=yes
65521 else
65522 echo "$as_me: failed program was:" >&5
65523 sed 's/^/| /' conftest.$ac_ext >&5
65525 glibcxx_cv_func__atan2l_use=no
65527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65528 ac_ext=c
65529 ac_cpp='$CPP $CPPFLAGS'
65530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
65539 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
65541 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65543 for ac_func in _atan2l
65545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65546 echo "$as_me:$LINENO: checking for $ac_func" >&5
65547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65548 if eval "test \"\${$as_ac_var+set}\" = set"; then
65549 echo $ECHO_N "(cached) $ECHO_C" >&6
65550 else
65551 if test x$gcc_no_link = xyes; then
65552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65554 { (exit 1); exit 1; }; }
65556 cat >conftest.$ac_ext <<_ACEOF
65557 /* confdefs.h. */
65558 _ACEOF
65559 cat confdefs.h >>conftest.$ac_ext
65560 cat >>conftest.$ac_ext <<_ACEOF
65561 /* end confdefs.h. */
65562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65564 #define $ac_func innocuous_$ac_func
65566 /* System header to define __stub macros and hopefully few prototypes,
65567 which can conflict with char $ac_func (); below.
65568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65569 <limits.h> exists even on freestanding compilers. */
65571 #ifdef __STDC__
65572 # include <limits.h>
65573 #else
65574 # include <assert.h>
65575 #endif
65577 #undef $ac_func
65579 /* Override any gcc2 internal prototype to avoid an error. */
65580 #ifdef __cplusplus
65581 extern "C"
65583 #endif
65584 /* We use char because int might match the return type of a gcc2
65585 builtin and then its argument prototype would still apply. */
65586 char $ac_func ();
65587 /* The GNU C library defines this for functions which it implements
65588 to always fail with ENOSYS. Some functions are actually named
65589 something starting with __ and the normal name is an alias. */
65590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65591 choke me
65592 #else
65593 char (*f) () = $ac_func;
65594 #endif
65595 #ifdef __cplusplus
65597 #endif
65600 main ()
65602 return f != $ac_func;
65604 return 0;
65606 _ACEOF
65607 rm -f conftest.$ac_objext conftest$ac_exeext
65608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65609 (eval $ac_link) 2>conftest.er1
65610 ac_status=$?
65611 grep -v '^ *+' conftest.er1 >conftest.err
65612 rm -f conftest.er1
65613 cat conftest.err >&5
65614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65615 (exit $ac_status); } &&
65616 { ac_try='test -z "$ac_c_werror_flag"
65617 || test ! -s conftest.err'
65618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65619 (eval $ac_try) 2>&5
65620 ac_status=$?
65621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65622 (exit $ac_status); }; } &&
65623 { ac_try='test -s conftest$ac_exeext'
65624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65625 (eval $ac_try) 2>&5
65626 ac_status=$?
65627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65628 (exit $ac_status); }; }; then
65629 eval "$as_ac_var=yes"
65630 else
65631 echo "$as_me: failed program was:" >&5
65632 sed 's/^/| /' conftest.$ac_ext >&5
65634 eval "$as_ac_var=no"
65636 rm -f conftest.err conftest.$ac_objext \
65637 conftest$ac_exeext conftest.$ac_ext
65639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65641 if test `eval echo '${'$as_ac_var'}'` = yes; then
65642 cat >>confdefs.h <<_ACEOF
65643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65644 _ACEOF
65647 done
65657 echo "$as_me:$LINENO: checking for expl declaration" >&5
65658 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
65659 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65660 if test "${glibcxx_cv_func_expl_use+set}" = set; then
65661 echo $ECHO_N "(cached) $ECHO_C" >&6
65662 else
65666 ac_ext=cc
65667 ac_cpp='$CXXCPP $CPPFLAGS'
65668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65672 cat >conftest.$ac_ext <<_ACEOF
65673 /* confdefs.h. */
65674 _ACEOF
65675 cat confdefs.h >>conftest.$ac_ext
65676 cat >>conftest.$ac_ext <<_ACEOF
65677 /* end confdefs.h. */
65678 #include <math.h>
65679 #ifdef HAVE_IEEEFP_H
65680 #include <ieeefp.h>
65681 #endif
65684 main ()
65686 expl(0);
65688 return 0;
65690 _ACEOF
65691 rm -f conftest.$ac_objext
65692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65693 (eval $ac_compile) 2>conftest.er1
65694 ac_status=$?
65695 grep -v '^ *+' conftest.er1 >conftest.err
65696 rm -f conftest.er1
65697 cat conftest.err >&5
65698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65699 (exit $ac_status); } &&
65700 { ac_try='test -z "$ac_cxx_werror_flag"
65701 || test ! -s conftest.err'
65702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65703 (eval $ac_try) 2>&5
65704 ac_status=$?
65705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65706 (exit $ac_status); }; } &&
65707 { ac_try='test -s conftest.$ac_objext'
65708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65709 (eval $ac_try) 2>&5
65710 ac_status=$?
65711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65712 (exit $ac_status); }; }; then
65713 glibcxx_cv_func_expl_use=yes
65714 else
65715 echo "$as_me: failed program was:" >&5
65716 sed 's/^/| /' conftest.$ac_ext >&5
65718 glibcxx_cv_func_expl_use=no
65720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65721 ac_ext=c
65722 ac_cpp='$CPP $CPPFLAGS'
65723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65732 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65734 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65736 for ac_func in expl
65738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65739 echo "$as_me:$LINENO: checking for $ac_func" >&5
65740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65741 if eval "test \"\${$as_ac_var+set}\" = set"; then
65742 echo $ECHO_N "(cached) $ECHO_C" >&6
65743 else
65744 if test x$gcc_no_link = xyes; then
65745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65747 { (exit 1); exit 1; }; }
65749 cat >conftest.$ac_ext <<_ACEOF
65750 /* confdefs.h. */
65751 _ACEOF
65752 cat confdefs.h >>conftest.$ac_ext
65753 cat >>conftest.$ac_ext <<_ACEOF
65754 /* end confdefs.h. */
65755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65757 #define $ac_func innocuous_$ac_func
65759 /* System header to define __stub macros and hopefully few prototypes,
65760 which can conflict with char $ac_func (); below.
65761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65762 <limits.h> exists even on freestanding compilers. */
65764 #ifdef __STDC__
65765 # include <limits.h>
65766 #else
65767 # include <assert.h>
65768 #endif
65770 #undef $ac_func
65772 /* Override any gcc2 internal prototype to avoid an error. */
65773 #ifdef __cplusplus
65774 extern "C"
65776 #endif
65777 /* We use char because int might match the return type of a gcc2
65778 builtin and then its argument prototype would still apply. */
65779 char $ac_func ();
65780 /* The GNU C library defines this for functions which it implements
65781 to always fail with ENOSYS. Some functions are actually named
65782 something starting with __ and the normal name is an alias. */
65783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65784 choke me
65785 #else
65786 char (*f) () = $ac_func;
65787 #endif
65788 #ifdef __cplusplus
65790 #endif
65793 main ()
65795 return f != $ac_func;
65797 return 0;
65799 _ACEOF
65800 rm -f conftest.$ac_objext conftest$ac_exeext
65801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65802 (eval $ac_link) 2>conftest.er1
65803 ac_status=$?
65804 grep -v '^ *+' conftest.er1 >conftest.err
65805 rm -f conftest.er1
65806 cat conftest.err >&5
65807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65808 (exit $ac_status); } &&
65809 { ac_try='test -z "$ac_c_werror_flag"
65810 || test ! -s conftest.err'
65811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65812 (eval $ac_try) 2>&5
65813 ac_status=$?
65814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65815 (exit $ac_status); }; } &&
65816 { ac_try='test -s conftest$ac_exeext'
65817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65818 (eval $ac_try) 2>&5
65819 ac_status=$?
65820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65821 (exit $ac_status); }; }; then
65822 eval "$as_ac_var=yes"
65823 else
65824 echo "$as_me: failed program was:" >&5
65825 sed 's/^/| /' conftest.$ac_ext >&5
65827 eval "$as_ac_var=no"
65829 rm -f conftest.err conftest.$ac_objext \
65830 conftest$ac_exeext conftest.$ac_ext
65832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65834 if test `eval echo '${'$as_ac_var'}'` = yes; then
65835 cat >>confdefs.h <<_ACEOF
65836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65837 _ACEOF
65840 done
65842 else
65844 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65845 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65846 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65847 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65848 echo $ECHO_N "(cached) $ECHO_C" >&6
65849 else
65853 ac_ext=cc
65854 ac_cpp='$CXXCPP $CPPFLAGS'
65855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65859 cat >conftest.$ac_ext <<_ACEOF
65860 /* confdefs.h. */
65861 _ACEOF
65862 cat confdefs.h >>conftest.$ac_ext
65863 cat >>conftest.$ac_ext <<_ACEOF
65864 /* end confdefs.h. */
65865 #include <math.h>
65866 #ifdef HAVE_IEEEFP_H
65867 #include <ieeefp.h>
65868 #endif
65871 main ()
65873 _expl(0);
65875 return 0;
65877 _ACEOF
65878 rm -f conftest.$ac_objext
65879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65880 (eval $ac_compile) 2>conftest.er1
65881 ac_status=$?
65882 grep -v '^ *+' conftest.er1 >conftest.err
65883 rm -f conftest.er1
65884 cat conftest.err >&5
65885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65886 (exit $ac_status); } &&
65887 { ac_try='test -z "$ac_cxx_werror_flag"
65888 || test ! -s conftest.err'
65889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65890 (eval $ac_try) 2>&5
65891 ac_status=$?
65892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65893 (exit $ac_status); }; } &&
65894 { ac_try='test -s conftest.$ac_objext'
65895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65896 (eval $ac_try) 2>&5
65897 ac_status=$?
65898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65899 (exit $ac_status); }; }; then
65900 glibcxx_cv_func__expl_use=yes
65901 else
65902 echo "$as_me: failed program was:" >&5
65903 sed 's/^/| /' conftest.$ac_ext >&5
65905 glibcxx_cv_func__expl_use=no
65907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65908 ac_ext=c
65909 ac_cpp='$CPP $CPPFLAGS'
65910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65918 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65919 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65921 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65923 for ac_func in _expl
65925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65926 echo "$as_me:$LINENO: checking for $ac_func" >&5
65927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65928 if eval "test \"\${$as_ac_var+set}\" = set"; then
65929 echo $ECHO_N "(cached) $ECHO_C" >&6
65930 else
65931 if test x$gcc_no_link = xyes; then
65932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65934 { (exit 1); exit 1; }; }
65936 cat >conftest.$ac_ext <<_ACEOF
65937 /* confdefs.h. */
65938 _ACEOF
65939 cat confdefs.h >>conftest.$ac_ext
65940 cat >>conftest.$ac_ext <<_ACEOF
65941 /* end confdefs.h. */
65942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65944 #define $ac_func innocuous_$ac_func
65946 /* System header to define __stub macros and hopefully few prototypes,
65947 which can conflict with char $ac_func (); below.
65948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65949 <limits.h> exists even on freestanding compilers. */
65951 #ifdef __STDC__
65952 # include <limits.h>
65953 #else
65954 # include <assert.h>
65955 #endif
65957 #undef $ac_func
65959 /* Override any gcc2 internal prototype to avoid an error. */
65960 #ifdef __cplusplus
65961 extern "C"
65963 #endif
65964 /* We use char because int might match the return type of a gcc2
65965 builtin and then its argument prototype would still apply. */
65966 char $ac_func ();
65967 /* The GNU C library defines this for functions which it implements
65968 to always fail with ENOSYS. Some functions are actually named
65969 something starting with __ and the normal name is an alias. */
65970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65971 choke me
65972 #else
65973 char (*f) () = $ac_func;
65974 #endif
65975 #ifdef __cplusplus
65977 #endif
65980 main ()
65982 return f != $ac_func;
65984 return 0;
65986 _ACEOF
65987 rm -f conftest.$ac_objext conftest$ac_exeext
65988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65989 (eval $ac_link) 2>conftest.er1
65990 ac_status=$?
65991 grep -v '^ *+' conftest.er1 >conftest.err
65992 rm -f conftest.er1
65993 cat conftest.err >&5
65994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65995 (exit $ac_status); } &&
65996 { ac_try='test -z "$ac_c_werror_flag"
65997 || test ! -s conftest.err'
65998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65999 (eval $ac_try) 2>&5
66000 ac_status=$?
66001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66002 (exit $ac_status); }; } &&
66003 { ac_try='test -s conftest$ac_exeext'
66004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66005 (eval $ac_try) 2>&5
66006 ac_status=$?
66007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66008 (exit $ac_status); }; }; then
66009 eval "$as_ac_var=yes"
66010 else
66011 echo "$as_me: failed program was:" >&5
66012 sed 's/^/| /' conftest.$ac_ext >&5
66014 eval "$as_ac_var=no"
66016 rm -f conftest.err conftest.$ac_objext \
66017 conftest$ac_exeext conftest.$ac_ext
66019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66021 if test `eval echo '${'$as_ac_var'}'` = yes; then
66022 cat >>confdefs.h <<_ACEOF
66023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66024 _ACEOF
66027 done
66037 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
66038 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
66039 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
66040 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
66041 echo $ECHO_N "(cached) $ECHO_C" >&6
66042 else
66046 ac_ext=cc
66047 ac_cpp='$CXXCPP $CPPFLAGS'
66048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66052 cat >conftest.$ac_ext <<_ACEOF
66053 /* confdefs.h. */
66054 _ACEOF
66055 cat confdefs.h >>conftest.$ac_ext
66056 cat >>conftest.$ac_ext <<_ACEOF
66057 /* end confdefs.h. */
66058 #include <math.h>
66059 #ifdef HAVE_IEEEFP_H
66060 #include <ieeefp.h>
66061 #endif
66064 main ()
66066 fabsl(0);
66068 return 0;
66070 _ACEOF
66071 rm -f conftest.$ac_objext
66072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66073 (eval $ac_compile) 2>conftest.er1
66074 ac_status=$?
66075 grep -v '^ *+' conftest.er1 >conftest.err
66076 rm -f conftest.er1
66077 cat conftest.err >&5
66078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66079 (exit $ac_status); } &&
66080 { ac_try='test -z "$ac_cxx_werror_flag"
66081 || test ! -s conftest.err'
66082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66083 (eval $ac_try) 2>&5
66084 ac_status=$?
66085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66086 (exit $ac_status); }; } &&
66087 { ac_try='test -s conftest.$ac_objext'
66088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66089 (eval $ac_try) 2>&5
66090 ac_status=$?
66091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66092 (exit $ac_status); }; }; then
66093 glibcxx_cv_func_fabsl_use=yes
66094 else
66095 echo "$as_me: failed program was:" >&5
66096 sed 's/^/| /' conftest.$ac_ext >&5
66098 glibcxx_cv_func_fabsl_use=no
66100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66101 ac_ext=c
66102 ac_cpp='$CPP $CPPFLAGS'
66103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
66112 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
66114 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
66116 for ac_func in fabsl
66118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66119 echo "$as_me:$LINENO: checking for $ac_func" >&5
66120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66121 if eval "test \"\${$as_ac_var+set}\" = set"; then
66122 echo $ECHO_N "(cached) $ECHO_C" >&6
66123 else
66124 if test x$gcc_no_link = xyes; then
66125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66127 { (exit 1); exit 1; }; }
66129 cat >conftest.$ac_ext <<_ACEOF
66130 /* confdefs.h. */
66131 _ACEOF
66132 cat confdefs.h >>conftest.$ac_ext
66133 cat >>conftest.$ac_ext <<_ACEOF
66134 /* end confdefs.h. */
66135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66137 #define $ac_func innocuous_$ac_func
66139 /* System header to define __stub macros and hopefully few prototypes,
66140 which can conflict with char $ac_func (); below.
66141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66142 <limits.h> exists even on freestanding compilers. */
66144 #ifdef __STDC__
66145 # include <limits.h>
66146 #else
66147 # include <assert.h>
66148 #endif
66150 #undef $ac_func
66152 /* Override any gcc2 internal prototype to avoid an error. */
66153 #ifdef __cplusplus
66154 extern "C"
66156 #endif
66157 /* We use char because int might match the return type of a gcc2
66158 builtin and then its argument prototype would still apply. */
66159 char $ac_func ();
66160 /* The GNU C library defines this for functions which it implements
66161 to always fail with ENOSYS. Some functions are actually named
66162 something starting with __ and the normal name is an alias. */
66163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66164 choke me
66165 #else
66166 char (*f) () = $ac_func;
66167 #endif
66168 #ifdef __cplusplus
66170 #endif
66173 main ()
66175 return f != $ac_func;
66177 return 0;
66179 _ACEOF
66180 rm -f conftest.$ac_objext conftest$ac_exeext
66181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66182 (eval $ac_link) 2>conftest.er1
66183 ac_status=$?
66184 grep -v '^ *+' conftest.er1 >conftest.err
66185 rm -f conftest.er1
66186 cat conftest.err >&5
66187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66188 (exit $ac_status); } &&
66189 { ac_try='test -z "$ac_c_werror_flag"
66190 || test ! -s conftest.err'
66191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66192 (eval $ac_try) 2>&5
66193 ac_status=$?
66194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66195 (exit $ac_status); }; } &&
66196 { ac_try='test -s conftest$ac_exeext'
66197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66198 (eval $ac_try) 2>&5
66199 ac_status=$?
66200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66201 (exit $ac_status); }; }; then
66202 eval "$as_ac_var=yes"
66203 else
66204 echo "$as_me: failed program was:" >&5
66205 sed 's/^/| /' conftest.$ac_ext >&5
66207 eval "$as_ac_var=no"
66209 rm -f conftest.err conftest.$ac_objext \
66210 conftest$ac_exeext conftest.$ac_ext
66212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66214 if test `eval echo '${'$as_ac_var'}'` = yes; then
66215 cat >>confdefs.h <<_ACEOF
66216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66217 _ACEOF
66220 done
66222 else
66224 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
66225 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
66226 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66227 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
66228 echo $ECHO_N "(cached) $ECHO_C" >&6
66229 else
66233 ac_ext=cc
66234 ac_cpp='$CXXCPP $CPPFLAGS'
66235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66239 cat >conftest.$ac_ext <<_ACEOF
66240 /* confdefs.h. */
66241 _ACEOF
66242 cat confdefs.h >>conftest.$ac_ext
66243 cat >>conftest.$ac_ext <<_ACEOF
66244 /* end confdefs.h. */
66245 #include <math.h>
66246 #ifdef HAVE_IEEEFP_H
66247 #include <ieeefp.h>
66248 #endif
66251 main ()
66253 _fabsl(0);
66255 return 0;
66257 _ACEOF
66258 rm -f conftest.$ac_objext
66259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66260 (eval $ac_compile) 2>conftest.er1
66261 ac_status=$?
66262 grep -v '^ *+' conftest.er1 >conftest.err
66263 rm -f conftest.er1
66264 cat conftest.err >&5
66265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66266 (exit $ac_status); } &&
66267 { ac_try='test -z "$ac_cxx_werror_flag"
66268 || test ! -s conftest.err'
66269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66270 (eval $ac_try) 2>&5
66271 ac_status=$?
66272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66273 (exit $ac_status); }; } &&
66274 { ac_try='test -s conftest.$ac_objext'
66275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66276 (eval $ac_try) 2>&5
66277 ac_status=$?
66278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66279 (exit $ac_status); }; }; then
66280 glibcxx_cv_func__fabsl_use=yes
66281 else
66282 echo "$as_me: failed program was:" >&5
66283 sed 's/^/| /' conftest.$ac_ext >&5
66285 glibcxx_cv_func__fabsl_use=no
66287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66288 ac_ext=c
66289 ac_cpp='$CPP $CPPFLAGS'
66290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66298 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66299 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66301 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66303 for ac_func in _fabsl
66305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66306 echo "$as_me:$LINENO: checking for $ac_func" >&5
66307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66308 if eval "test \"\${$as_ac_var+set}\" = set"; then
66309 echo $ECHO_N "(cached) $ECHO_C" >&6
66310 else
66311 if test x$gcc_no_link = xyes; then
66312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66314 { (exit 1); exit 1; }; }
66316 cat >conftest.$ac_ext <<_ACEOF
66317 /* confdefs.h. */
66318 _ACEOF
66319 cat confdefs.h >>conftest.$ac_ext
66320 cat >>conftest.$ac_ext <<_ACEOF
66321 /* end confdefs.h. */
66322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66324 #define $ac_func innocuous_$ac_func
66326 /* System header to define __stub macros and hopefully few prototypes,
66327 which can conflict with char $ac_func (); below.
66328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66329 <limits.h> exists even on freestanding compilers. */
66331 #ifdef __STDC__
66332 # include <limits.h>
66333 #else
66334 # include <assert.h>
66335 #endif
66337 #undef $ac_func
66339 /* Override any gcc2 internal prototype to avoid an error. */
66340 #ifdef __cplusplus
66341 extern "C"
66343 #endif
66344 /* We use char because int might match the return type of a gcc2
66345 builtin and then its argument prototype would still apply. */
66346 char $ac_func ();
66347 /* The GNU C library defines this for functions which it implements
66348 to always fail with ENOSYS. Some functions are actually named
66349 something starting with __ and the normal name is an alias. */
66350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66351 choke me
66352 #else
66353 char (*f) () = $ac_func;
66354 #endif
66355 #ifdef __cplusplus
66357 #endif
66360 main ()
66362 return f != $ac_func;
66364 return 0;
66366 _ACEOF
66367 rm -f conftest.$ac_objext conftest$ac_exeext
66368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66369 (eval $ac_link) 2>conftest.er1
66370 ac_status=$?
66371 grep -v '^ *+' conftest.er1 >conftest.err
66372 rm -f conftest.er1
66373 cat conftest.err >&5
66374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66375 (exit $ac_status); } &&
66376 { ac_try='test -z "$ac_c_werror_flag"
66377 || test ! -s conftest.err'
66378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66379 (eval $ac_try) 2>&5
66380 ac_status=$?
66381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66382 (exit $ac_status); }; } &&
66383 { ac_try='test -s conftest$ac_exeext'
66384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66385 (eval $ac_try) 2>&5
66386 ac_status=$?
66387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66388 (exit $ac_status); }; }; then
66389 eval "$as_ac_var=yes"
66390 else
66391 echo "$as_me: failed program was:" >&5
66392 sed 's/^/| /' conftest.$ac_ext >&5
66394 eval "$as_ac_var=no"
66396 rm -f conftest.err conftest.$ac_objext \
66397 conftest$ac_exeext conftest.$ac_ext
66399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66401 if test `eval echo '${'$as_ac_var'}'` = yes; then
66402 cat >>confdefs.h <<_ACEOF
66403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66404 _ACEOF
66407 done
66417 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66418 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66419 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66420 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66421 echo $ECHO_N "(cached) $ECHO_C" >&6
66422 else
66426 ac_ext=cc
66427 ac_cpp='$CXXCPP $CPPFLAGS'
66428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66432 cat >conftest.$ac_ext <<_ACEOF
66433 /* confdefs.h. */
66434 _ACEOF
66435 cat confdefs.h >>conftest.$ac_ext
66436 cat >>conftest.$ac_ext <<_ACEOF
66437 /* end confdefs.h. */
66438 #include <math.h>
66440 main ()
66442 fmodl(0, 0);
66444 return 0;
66446 _ACEOF
66447 rm -f conftest.$ac_objext
66448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66449 (eval $ac_compile) 2>conftest.er1
66450 ac_status=$?
66451 grep -v '^ *+' conftest.er1 >conftest.err
66452 rm -f conftest.er1
66453 cat conftest.err >&5
66454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66455 (exit $ac_status); } &&
66456 { ac_try='test -z "$ac_cxx_werror_flag"
66457 || test ! -s conftest.err'
66458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66459 (eval $ac_try) 2>&5
66460 ac_status=$?
66461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66462 (exit $ac_status); }; } &&
66463 { ac_try='test -s conftest.$ac_objext'
66464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66465 (eval $ac_try) 2>&5
66466 ac_status=$?
66467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66468 (exit $ac_status); }; }; then
66469 glibcxx_cv_func_fmodl_use=yes
66470 else
66471 echo "$as_me: failed program was:" >&5
66472 sed 's/^/| /' conftest.$ac_ext >&5
66474 glibcxx_cv_func_fmodl_use=no
66476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66477 ac_ext=c
66478 ac_cpp='$CPP $CPPFLAGS'
66479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66487 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
66488 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
66490 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66492 for ac_func in fmodl
66494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66495 echo "$as_me:$LINENO: checking for $ac_func" >&5
66496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66497 if eval "test \"\${$as_ac_var+set}\" = set"; then
66498 echo $ECHO_N "(cached) $ECHO_C" >&6
66499 else
66500 if test x$gcc_no_link = xyes; then
66501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66503 { (exit 1); exit 1; }; }
66505 cat >conftest.$ac_ext <<_ACEOF
66506 /* confdefs.h. */
66507 _ACEOF
66508 cat confdefs.h >>conftest.$ac_ext
66509 cat >>conftest.$ac_ext <<_ACEOF
66510 /* end confdefs.h. */
66511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66513 #define $ac_func innocuous_$ac_func
66515 /* System header to define __stub macros and hopefully few prototypes,
66516 which can conflict with char $ac_func (); below.
66517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66518 <limits.h> exists even on freestanding compilers. */
66520 #ifdef __STDC__
66521 # include <limits.h>
66522 #else
66523 # include <assert.h>
66524 #endif
66526 #undef $ac_func
66528 /* Override any gcc2 internal prototype to avoid an error. */
66529 #ifdef __cplusplus
66530 extern "C"
66532 #endif
66533 /* We use char because int might match the return type of a gcc2
66534 builtin and then its argument prototype would still apply. */
66535 char $ac_func ();
66536 /* The GNU C library defines this for functions which it implements
66537 to always fail with ENOSYS. Some functions are actually named
66538 something starting with __ and the normal name is an alias. */
66539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66540 choke me
66541 #else
66542 char (*f) () = $ac_func;
66543 #endif
66544 #ifdef __cplusplus
66546 #endif
66549 main ()
66551 return f != $ac_func;
66553 return 0;
66555 _ACEOF
66556 rm -f conftest.$ac_objext conftest$ac_exeext
66557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66558 (eval $ac_link) 2>conftest.er1
66559 ac_status=$?
66560 grep -v '^ *+' conftest.er1 >conftest.err
66561 rm -f conftest.er1
66562 cat conftest.err >&5
66563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66564 (exit $ac_status); } &&
66565 { ac_try='test -z "$ac_c_werror_flag"
66566 || test ! -s conftest.err'
66567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66568 (eval $ac_try) 2>&5
66569 ac_status=$?
66570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66571 (exit $ac_status); }; } &&
66572 { ac_try='test -s conftest$ac_exeext'
66573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66574 (eval $ac_try) 2>&5
66575 ac_status=$?
66576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66577 (exit $ac_status); }; }; then
66578 eval "$as_ac_var=yes"
66579 else
66580 echo "$as_me: failed program was:" >&5
66581 sed 's/^/| /' conftest.$ac_ext >&5
66583 eval "$as_ac_var=no"
66585 rm -f conftest.err conftest.$ac_objext \
66586 conftest$ac_exeext conftest.$ac_ext
66588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66590 if test `eval echo '${'$as_ac_var'}'` = yes; then
66591 cat >>confdefs.h <<_ACEOF
66592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66593 _ACEOF
66596 done
66598 else
66600 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
66601 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
66602 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66603 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
66604 echo $ECHO_N "(cached) $ECHO_C" >&6
66605 else
66609 ac_ext=cc
66610 ac_cpp='$CXXCPP $CPPFLAGS'
66611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66615 cat >conftest.$ac_ext <<_ACEOF
66616 /* confdefs.h. */
66617 _ACEOF
66618 cat confdefs.h >>conftest.$ac_ext
66619 cat >>conftest.$ac_ext <<_ACEOF
66620 /* end confdefs.h. */
66621 #include <math.h>
66623 main ()
66625 _fmodl(0, 0);
66627 return 0;
66629 _ACEOF
66630 rm -f conftest.$ac_objext
66631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66632 (eval $ac_compile) 2>conftest.er1
66633 ac_status=$?
66634 grep -v '^ *+' conftest.er1 >conftest.err
66635 rm -f conftest.er1
66636 cat conftest.err >&5
66637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66638 (exit $ac_status); } &&
66639 { ac_try='test -z "$ac_cxx_werror_flag"
66640 || test ! -s conftest.err'
66641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66642 (eval $ac_try) 2>&5
66643 ac_status=$?
66644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66645 (exit $ac_status); }; } &&
66646 { ac_try='test -s conftest.$ac_objext'
66647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66648 (eval $ac_try) 2>&5
66649 ac_status=$?
66650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66651 (exit $ac_status); }; }; then
66652 glibcxx_cv_func__fmodl_use=yes
66653 else
66654 echo "$as_me: failed program was:" >&5
66655 sed 's/^/| /' conftest.$ac_ext >&5
66657 glibcxx_cv_func__fmodl_use=no
66659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66660 ac_ext=c
66661 ac_cpp='$CPP $CPPFLAGS'
66662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66670 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
66671 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
66673 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66675 for ac_func in _fmodl
66677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66678 echo "$as_me:$LINENO: checking for $ac_func" >&5
66679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66680 if eval "test \"\${$as_ac_var+set}\" = set"; then
66681 echo $ECHO_N "(cached) $ECHO_C" >&6
66682 else
66683 if test x$gcc_no_link = xyes; then
66684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66686 { (exit 1); exit 1; }; }
66688 cat >conftest.$ac_ext <<_ACEOF
66689 /* confdefs.h. */
66690 _ACEOF
66691 cat confdefs.h >>conftest.$ac_ext
66692 cat >>conftest.$ac_ext <<_ACEOF
66693 /* end confdefs.h. */
66694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66696 #define $ac_func innocuous_$ac_func
66698 /* System header to define __stub macros and hopefully few prototypes,
66699 which can conflict with char $ac_func (); below.
66700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66701 <limits.h> exists even on freestanding compilers. */
66703 #ifdef __STDC__
66704 # include <limits.h>
66705 #else
66706 # include <assert.h>
66707 #endif
66709 #undef $ac_func
66711 /* Override any gcc2 internal prototype to avoid an error. */
66712 #ifdef __cplusplus
66713 extern "C"
66715 #endif
66716 /* We use char because int might match the return type of a gcc2
66717 builtin and then its argument prototype would still apply. */
66718 char $ac_func ();
66719 /* The GNU C library defines this for functions which it implements
66720 to always fail with ENOSYS. Some functions are actually named
66721 something starting with __ and the normal name is an alias. */
66722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66723 choke me
66724 #else
66725 char (*f) () = $ac_func;
66726 #endif
66727 #ifdef __cplusplus
66729 #endif
66732 main ()
66734 return f != $ac_func;
66736 return 0;
66738 _ACEOF
66739 rm -f conftest.$ac_objext conftest$ac_exeext
66740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66741 (eval $ac_link) 2>conftest.er1
66742 ac_status=$?
66743 grep -v '^ *+' conftest.er1 >conftest.err
66744 rm -f conftest.er1
66745 cat conftest.err >&5
66746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66747 (exit $ac_status); } &&
66748 { ac_try='test -z "$ac_c_werror_flag"
66749 || test ! -s conftest.err'
66750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66751 (eval $ac_try) 2>&5
66752 ac_status=$?
66753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66754 (exit $ac_status); }; } &&
66755 { ac_try='test -s conftest$ac_exeext'
66756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66757 (eval $ac_try) 2>&5
66758 ac_status=$?
66759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66760 (exit $ac_status); }; }; then
66761 eval "$as_ac_var=yes"
66762 else
66763 echo "$as_me: failed program was:" >&5
66764 sed 's/^/| /' conftest.$ac_ext >&5
66766 eval "$as_ac_var=no"
66768 rm -f conftest.err conftest.$ac_objext \
66769 conftest$ac_exeext conftest.$ac_ext
66771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66773 if test `eval echo '${'$as_ac_var'}'` = yes; then
66774 cat >>confdefs.h <<_ACEOF
66775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66776 _ACEOF
66779 done
66789 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66790 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66791 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66792 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66793 echo $ECHO_N "(cached) $ECHO_C" >&6
66794 else
66798 ac_ext=cc
66799 ac_cpp='$CXXCPP $CPPFLAGS'
66800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66804 cat >conftest.$ac_ext <<_ACEOF
66805 /* confdefs.h. */
66806 _ACEOF
66807 cat confdefs.h >>conftest.$ac_ext
66808 cat >>conftest.$ac_ext <<_ACEOF
66809 /* end confdefs.h. */
66810 #include <math.h>
66812 main ()
66814 frexpl(0, 0);
66816 return 0;
66818 _ACEOF
66819 rm -f conftest.$ac_objext
66820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66821 (eval $ac_compile) 2>conftest.er1
66822 ac_status=$?
66823 grep -v '^ *+' conftest.er1 >conftest.err
66824 rm -f conftest.er1
66825 cat conftest.err >&5
66826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66827 (exit $ac_status); } &&
66828 { ac_try='test -z "$ac_cxx_werror_flag"
66829 || test ! -s conftest.err'
66830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66831 (eval $ac_try) 2>&5
66832 ac_status=$?
66833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66834 (exit $ac_status); }; } &&
66835 { ac_try='test -s conftest.$ac_objext'
66836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66837 (eval $ac_try) 2>&5
66838 ac_status=$?
66839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66840 (exit $ac_status); }; }; then
66841 glibcxx_cv_func_frexpl_use=yes
66842 else
66843 echo "$as_me: failed program was:" >&5
66844 sed 's/^/| /' conftest.$ac_ext >&5
66846 glibcxx_cv_func_frexpl_use=no
66848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66849 ac_ext=c
66850 ac_cpp='$CPP $CPPFLAGS'
66851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66860 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66862 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66864 for ac_func in frexpl
66866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66867 echo "$as_me:$LINENO: checking for $ac_func" >&5
66868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66869 if eval "test \"\${$as_ac_var+set}\" = set"; then
66870 echo $ECHO_N "(cached) $ECHO_C" >&6
66871 else
66872 if test x$gcc_no_link = xyes; then
66873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66875 { (exit 1); exit 1; }; }
66877 cat >conftest.$ac_ext <<_ACEOF
66878 /* confdefs.h. */
66879 _ACEOF
66880 cat confdefs.h >>conftest.$ac_ext
66881 cat >>conftest.$ac_ext <<_ACEOF
66882 /* end confdefs.h. */
66883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66885 #define $ac_func innocuous_$ac_func
66887 /* System header to define __stub macros and hopefully few prototypes,
66888 which can conflict with char $ac_func (); below.
66889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66890 <limits.h> exists even on freestanding compilers. */
66892 #ifdef __STDC__
66893 # include <limits.h>
66894 #else
66895 # include <assert.h>
66896 #endif
66898 #undef $ac_func
66900 /* Override any gcc2 internal prototype to avoid an error. */
66901 #ifdef __cplusplus
66902 extern "C"
66904 #endif
66905 /* We use char because int might match the return type of a gcc2
66906 builtin and then its argument prototype would still apply. */
66907 char $ac_func ();
66908 /* The GNU C library defines this for functions which it implements
66909 to always fail with ENOSYS. Some functions are actually named
66910 something starting with __ and the normal name is an alias. */
66911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66912 choke me
66913 #else
66914 char (*f) () = $ac_func;
66915 #endif
66916 #ifdef __cplusplus
66918 #endif
66921 main ()
66923 return f != $ac_func;
66925 return 0;
66927 _ACEOF
66928 rm -f conftest.$ac_objext conftest$ac_exeext
66929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66930 (eval $ac_link) 2>conftest.er1
66931 ac_status=$?
66932 grep -v '^ *+' conftest.er1 >conftest.err
66933 rm -f conftest.er1
66934 cat conftest.err >&5
66935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66936 (exit $ac_status); } &&
66937 { ac_try='test -z "$ac_c_werror_flag"
66938 || test ! -s conftest.err'
66939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66940 (eval $ac_try) 2>&5
66941 ac_status=$?
66942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66943 (exit $ac_status); }; } &&
66944 { ac_try='test -s conftest$ac_exeext'
66945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66946 (eval $ac_try) 2>&5
66947 ac_status=$?
66948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66949 (exit $ac_status); }; }; then
66950 eval "$as_ac_var=yes"
66951 else
66952 echo "$as_me: failed program was:" >&5
66953 sed 's/^/| /' conftest.$ac_ext >&5
66955 eval "$as_ac_var=no"
66957 rm -f conftest.err conftest.$ac_objext \
66958 conftest$ac_exeext conftest.$ac_ext
66960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66962 if test `eval echo '${'$as_ac_var'}'` = yes; then
66963 cat >>confdefs.h <<_ACEOF
66964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66965 _ACEOF
66968 done
66970 else
66972 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66973 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66974 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66975 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66976 echo $ECHO_N "(cached) $ECHO_C" >&6
66977 else
66981 ac_ext=cc
66982 ac_cpp='$CXXCPP $CPPFLAGS'
66983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66987 cat >conftest.$ac_ext <<_ACEOF
66988 /* confdefs.h. */
66989 _ACEOF
66990 cat confdefs.h >>conftest.$ac_ext
66991 cat >>conftest.$ac_ext <<_ACEOF
66992 /* end confdefs.h. */
66993 #include <math.h>
66995 main ()
66997 _frexpl(0, 0);
66999 return 0;
67001 _ACEOF
67002 rm -f conftest.$ac_objext
67003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67004 (eval $ac_compile) 2>conftest.er1
67005 ac_status=$?
67006 grep -v '^ *+' conftest.er1 >conftest.err
67007 rm -f conftest.er1
67008 cat conftest.err >&5
67009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67010 (exit $ac_status); } &&
67011 { ac_try='test -z "$ac_cxx_werror_flag"
67012 || test ! -s conftest.err'
67013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67014 (eval $ac_try) 2>&5
67015 ac_status=$?
67016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67017 (exit $ac_status); }; } &&
67018 { ac_try='test -s conftest.$ac_objext'
67019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67020 (eval $ac_try) 2>&5
67021 ac_status=$?
67022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67023 (exit $ac_status); }; }; then
67024 glibcxx_cv_func__frexpl_use=yes
67025 else
67026 echo "$as_me: failed program was:" >&5
67027 sed 's/^/| /' conftest.$ac_ext >&5
67029 glibcxx_cv_func__frexpl_use=no
67031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67032 ac_ext=c
67033 ac_cpp='$CPP $CPPFLAGS'
67034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67042 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
67043 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
67045 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67047 for ac_func in _frexpl
67049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67050 echo "$as_me:$LINENO: checking for $ac_func" >&5
67051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67052 if eval "test \"\${$as_ac_var+set}\" = set"; then
67053 echo $ECHO_N "(cached) $ECHO_C" >&6
67054 else
67055 if test x$gcc_no_link = xyes; then
67056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67058 { (exit 1); exit 1; }; }
67060 cat >conftest.$ac_ext <<_ACEOF
67061 /* confdefs.h. */
67062 _ACEOF
67063 cat confdefs.h >>conftest.$ac_ext
67064 cat >>conftest.$ac_ext <<_ACEOF
67065 /* end confdefs.h. */
67066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67068 #define $ac_func innocuous_$ac_func
67070 /* System header to define __stub macros and hopefully few prototypes,
67071 which can conflict with char $ac_func (); below.
67072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67073 <limits.h> exists even on freestanding compilers. */
67075 #ifdef __STDC__
67076 # include <limits.h>
67077 #else
67078 # include <assert.h>
67079 #endif
67081 #undef $ac_func
67083 /* Override any gcc2 internal prototype to avoid an error. */
67084 #ifdef __cplusplus
67085 extern "C"
67087 #endif
67088 /* We use char because int might match the return type of a gcc2
67089 builtin and then its argument prototype would still apply. */
67090 char $ac_func ();
67091 /* The GNU C library defines this for functions which it implements
67092 to always fail with ENOSYS. Some functions are actually named
67093 something starting with __ and the normal name is an alias. */
67094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67095 choke me
67096 #else
67097 char (*f) () = $ac_func;
67098 #endif
67099 #ifdef __cplusplus
67101 #endif
67104 main ()
67106 return f != $ac_func;
67108 return 0;
67110 _ACEOF
67111 rm -f conftest.$ac_objext conftest$ac_exeext
67112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67113 (eval $ac_link) 2>conftest.er1
67114 ac_status=$?
67115 grep -v '^ *+' conftest.er1 >conftest.err
67116 rm -f conftest.er1
67117 cat conftest.err >&5
67118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67119 (exit $ac_status); } &&
67120 { ac_try='test -z "$ac_c_werror_flag"
67121 || test ! -s conftest.err'
67122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67123 (eval $ac_try) 2>&5
67124 ac_status=$?
67125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67126 (exit $ac_status); }; } &&
67127 { ac_try='test -s conftest$ac_exeext'
67128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67129 (eval $ac_try) 2>&5
67130 ac_status=$?
67131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67132 (exit $ac_status); }; }; then
67133 eval "$as_ac_var=yes"
67134 else
67135 echo "$as_me: failed program was:" >&5
67136 sed 's/^/| /' conftest.$ac_ext >&5
67138 eval "$as_ac_var=no"
67140 rm -f conftest.err conftest.$ac_objext \
67141 conftest$ac_exeext conftest.$ac_ext
67143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67145 if test `eval echo '${'$as_ac_var'}'` = yes; then
67146 cat >>confdefs.h <<_ACEOF
67147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67148 _ACEOF
67151 done
67161 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
67162 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
67163 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
67164 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
67165 echo $ECHO_N "(cached) $ECHO_C" >&6
67166 else
67170 ac_ext=cc
67171 ac_cpp='$CXXCPP $CPPFLAGS'
67172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67176 cat >conftest.$ac_ext <<_ACEOF
67177 /* confdefs.h. */
67178 _ACEOF
67179 cat confdefs.h >>conftest.$ac_ext
67180 cat >>conftest.$ac_ext <<_ACEOF
67181 /* end confdefs.h. */
67182 #include <math.h>
67184 main ()
67186 hypotl(0, 0);
67188 return 0;
67190 _ACEOF
67191 rm -f conftest.$ac_objext
67192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67193 (eval $ac_compile) 2>conftest.er1
67194 ac_status=$?
67195 grep -v '^ *+' conftest.er1 >conftest.err
67196 rm -f conftest.er1
67197 cat conftest.err >&5
67198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67199 (exit $ac_status); } &&
67200 { ac_try='test -z "$ac_cxx_werror_flag"
67201 || test ! -s conftest.err'
67202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67203 (eval $ac_try) 2>&5
67204 ac_status=$?
67205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67206 (exit $ac_status); }; } &&
67207 { ac_try='test -s conftest.$ac_objext'
67208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67209 (eval $ac_try) 2>&5
67210 ac_status=$?
67211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67212 (exit $ac_status); }; }; then
67213 glibcxx_cv_func_hypotl_use=yes
67214 else
67215 echo "$as_me: failed program was:" >&5
67216 sed 's/^/| /' conftest.$ac_ext >&5
67218 glibcxx_cv_func_hypotl_use=no
67220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67221 ac_ext=c
67222 ac_cpp='$CPP $CPPFLAGS'
67223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67231 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67232 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67234 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67236 for ac_func in hypotl
67238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67239 echo "$as_me:$LINENO: checking for $ac_func" >&5
67240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67241 if eval "test \"\${$as_ac_var+set}\" = set"; then
67242 echo $ECHO_N "(cached) $ECHO_C" >&6
67243 else
67244 if test x$gcc_no_link = xyes; then
67245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67247 { (exit 1); exit 1; }; }
67249 cat >conftest.$ac_ext <<_ACEOF
67250 /* confdefs.h. */
67251 _ACEOF
67252 cat confdefs.h >>conftest.$ac_ext
67253 cat >>conftest.$ac_ext <<_ACEOF
67254 /* end confdefs.h. */
67255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67257 #define $ac_func innocuous_$ac_func
67259 /* System header to define __stub macros and hopefully few prototypes,
67260 which can conflict with char $ac_func (); below.
67261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67262 <limits.h> exists even on freestanding compilers. */
67264 #ifdef __STDC__
67265 # include <limits.h>
67266 #else
67267 # include <assert.h>
67268 #endif
67270 #undef $ac_func
67272 /* Override any gcc2 internal prototype to avoid an error. */
67273 #ifdef __cplusplus
67274 extern "C"
67276 #endif
67277 /* We use char because int might match the return type of a gcc2
67278 builtin and then its argument prototype would still apply. */
67279 char $ac_func ();
67280 /* The GNU C library defines this for functions which it implements
67281 to always fail with ENOSYS. Some functions are actually named
67282 something starting with __ and the normal name is an alias. */
67283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67284 choke me
67285 #else
67286 char (*f) () = $ac_func;
67287 #endif
67288 #ifdef __cplusplus
67290 #endif
67293 main ()
67295 return f != $ac_func;
67297 return 0;
67299 _ACEOF
67300 rm -f conftest.$ac_objext conftest$ac_exeext
67301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67302 (eval $ac_link) 2>conftest.er1
67303 ac_status=$?
67304 grep -v '^ *+' conftest.er1 >conftest.err
67305 rm -f conftest.er1
67306 cat conftest.err >&5
67307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67308 (exit $ac_status); } &&
67309 { ac_try='test -z "$ac_c_werror_flag"
67310 || test ! -s conftest.err'
67311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67312 (eval $ac_try) 2>&5
67313 ac_status=$?
67314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67315 (exit $ac_status); }; } &&
67316 { ac_try='test -s conftest$ac_exeext'
67317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67318 (eval $ac_try) 2>&5
67319 ac_status=$?
67320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67321 (exit $ac_status); }; }; then
67322 eval "$as_ac_var=yes"
67323 else
67324 echo "$as_me: failed program was:" >&5
67325 sed 's/^/| /' conftest.$ac_ext >&5
67327 eval "$as_ac_var=no"
67329 rm -f conftest.err conftest.$ac_objext \
67330 conftest$ac_exeext conftest.$ac_ext
67332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67334 if test `eval echo '${'$as_ac_var'}'` = yes; then
67335 cat >>confdefs.h <<_ACEOF
67336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67337 _ACEOF
67340 done
67342 else
67344 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67345 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67346 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67347 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67348 echo $ECHO_N "(cached) $ECHO_C" >&6
67349 else
67353 ac_ext=cc
67354 ac_cpp='$CXXCPP $CPPFLAGS'
67355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67359 cat >conftest.$ac_ext <<_ACEOF
67360 /* confdefs.h. */
67361 _ACEOF
67362 cat confdefs.h >>conftest.$ac_ext
67363 cat >>conftest.$ac_ext <<_ACEOF
67364 /* end confdefs.h. */
67365 #include <math.h>
67367 main ()
67369 _hypotl(0, 0);
67371 return 0;
67373 _ACEOF
67374 rm -f conftest.$ac_objext
67375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67376 (eval $ac_compile) 2>conftest.er1
67377 ac_status=$?
67378 grep -v '^ *+' conftest.er1 >conftest.err
67379 rm -f conftest.er1
67380 cat conftest.err >&5
67381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67382 (exit $ac_status); } &&
67383 { ac_try='test -z "$ac_cxx_werror_flag"
67384 || test ! -s conftest.err'
67385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67386 (eval $ac_try) 2>&5
67387 ac_status=$?
67388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67389 (exit $ac_status); }; } &&
67390 { ac_try='test -s conftest.$ac_objext'
67391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67392 (eval $ac_try) 2>&5
67393 ac_status=$?
67394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67395 (exit $ac_status); }; }; then
67396 glibcxx_cv_func__hypotl_use=yes
67397 else
67398 echo "$as_me: failed program was:" >&5
67399 sed 's/^/| /' conftest.$ac_ext >&5
67401 glibcxx_cv_func__hypotl_use=no
67403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67404 ac_ext=c
67405 ac_cpp='$CPP $CPPFLAGS'
67406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67414 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67415 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67417 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67419 for ac_func in _hypotl
67421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67422 echo "$as_me:$LINENO: checking for $ac_func" >&5
67423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67424 if eval "test \"\${$as_ac_var+set}\" = set"; then
67425 echo $ECHO_N "(cached) $ECHO_C" >&6
67426 else
67427 if test x$gcc_no_link = xyes; then
67428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67430 { (exit 1); exit 1; }; }
67432 cat >conftest.$ac_ext <<_ACEOF
67433 /* confdefs.h. */
67434 _ACEOF
67435 cat confdefs.h >>conftest.$ac_ext
67436 cat >>conftest.$ac_ext <<_ACEOF
67437 /* end confdefs.h. */
67438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67440 #define $ac_func innocuous_$ac_func
67442 /* System header to define __stub macros and hopefully few prototypes,
67443 which can conflict with char $ac_func (); below.
67444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67445 <limits.h> exists even on freestanding compilers. */
67447 #ifdef __STDC__
67448 # include <limits.h>
67449 #else
67450 # include <assert.h>
67451 #endif
67453 #undef $ac_func
67455 /* Override any gcc2 internal prototype to avoid an error. */
67456 #ifdef __cplusplus
67457 extern "C"
67459 #endif
67460 /* We use char because int might match the return type of a gcc2
67461 builtin and then its argument prototype would still apply. */
67462 char $ac_func ();
67463 /* The GNU C library defines this for functions which it implements
67464 to always fail with ENOSYS. Some functions are actually named
67465 something starting with __ and the normal name is an alias. */
67466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67467 choke me
67468 #else
67469 char (*f) () = $ac_func;
67470 #endif
67471 #ifdef __cplusplus
67473 #endif
67476 main ()
67478 return f != $ac_func;
67480 return 0;
67482 _ACEOF
67483 rm -f conftest.$ac_objext conftest$ac_exeext
67484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67485 (eval $ac_link) 2>conftest.er1
67486 ac_status=$?
67487 grep -v '^ *+' conftest.er1 >conftest.err
67488 rm -f conftest.er1
67489 cat conftest.err >&5
67490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67491 (exit $ac_status); } &&
67492 { ac_try='test -z "$ac_c_werror_flag"
67493 || test ! -s conftest.err'
67494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67495 (eval $ac_try) 2>&5
67496 ac_status=$?
67497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67498 (exit $ac_status); }; } &&
67499 { ac_try='test -s conftest$ac_exeext'
67500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67501 (eval $ac_try) 2>&5
67502 ac_status=$?
67503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67504 (exit $ac_status); }; }; then
67505 eval "$as_ac_var=yes"
67506 else
67507 echo "$as_me: failed program was:" >&5
67508 sed 's/^/| /' conftest.$ac_ext >&5
67510 eval "$as_ac_var=no"
67512 rm -f conftest.err conftest.$ac_objext \
67513 conftest$ac_exeext conftest.$ac_ext
67515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67517 if test `eval echo '${'$as_ac_var'}'` = yes; then
67518 cat >>confdefs.h <<_ACEOF
67519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67520 _ACEOF
67523 done
67533 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
67534 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
67535 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67536 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
67537 echo $ECHO_N "(cached) $ECHO_C" >&6
67538 else
67542 ac_ext=cc
67543 ac_cpp='$CXXCPP $CPPFLAGS'
67544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67548 cat >conftest.$ac_ext <<_ACEOF
67549 /* confdefs.h. */
67550 _ACEOF
67551 cat confdefs.h >>conftest.$ac_ext
67552 cat >>conftest.$ac_ext <<_ACEOF
67553 /* end confdefs.h. */
67554 #include <math.h>
67556 main ()
67558 ldexpl(0, 0);
67560 return 0;
67562 _ACEOF
67563 rm -f conftest.$ac_objext
67564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67565 (eval $ac_compile) 2>conftest.er1
67566 ac_status=$?
67567 grep -v '^ *+' conftest.er1 >conftest.err
67568 rm -f conftest.er1
67569 cat conftest.err >&5
67570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67571 (exit $ac_status); } &&
67572 { ac_try='test -z "$ac_cxx_werror_flag"
67573 || test ! -s conftest.err'
67574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67575 (eval $ac_try) 2>&5
67576 ac_status=$?
67577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67578 (exit $ac_status); }; } &&
67579 { ac_try='test -s conftest.$ac_objext'
67580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67581 (eval $ac_try) 2>&5
67582 ac_status=$?
67583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67584 (exit $ac_status); }; }; then
67585 glibcxx_cv_func_ldexpl_use=yes
67586 else
67587 echo "$as_me: failed program was:" >&5
67588 sed 's/^/| /' conftest.$ac_ext >&5
67590 glibcxx_cv_func_ldexpl_use=no
67592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67593 ac_ext=c
67594 ac_cpp='$CPP $CPPFLAGS'
67595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
67604 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
67606 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67608 for ac_func in ldexpl
67610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67611 echo "$as_me:$LINENO: checking for $ac_func" >&5
67612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67613 if eval "test \"\${$as_ac_var+set}\" = set"; then
67614 echo $ECHO_N "(cached) $ECHO_C" >&6
67615 else
67616 if test x$gcc_no_link = xyes; then
67617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67619 { (exit 1); exit 1; }; }
67621 cat >conftest.$ac_ext <<_ACEOF
67622 /* confdefs.h. */
67623 _ACEOF
67624 cat confdefs.h >>conftest.$ac_ext
67625 cat >>conftest.$ac_ext <<_ACEOF
67626 /* end confdefs.h. */
67627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67629 #define $ac_func innocuous_$ac_func
67631 /* System header to define __stub macros and hopefully few prototypes,
67632 which can conflict with char $ac_func (); below.
67633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67634 <limits.h> exists even on freestanding compilers. */
67636 #ifdef __STDC__
67637 # include <limits.h>
67638 #else
67639 # include <assert.h>
67640 #endif
67642 #undef $ac_func
67644 /* Override any gcc2 internal prototype to avoid an error. */
67645 #ifdef __cplusplus
67646 extern "C"
67648 #endif
67649 /* We use char because int might match the return type of a gcc2
67650 builtin and then its argument prototype would still apply. */
67651 char $ac_func ();
67652 /* The GNU C library defines this for functions which it implements
67653 to always fail with ENOSYS. Some functions are actually named
67654 something starting with __ and the normal name is an alias. */
67655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67656 choke me
67657 #else
67658 char (*f) () = $ac_func;
67659 #endif
67660 #ifdef __cplusplus
67662 #endif
67665 main ()
67667 return f != $ac_func;
67669 return 0;
67671 _ACEOF
67672 rm -f conftest.$ac_objext conftest$ac_exeext
67673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67674 (eval $ac_link) 2>conftest.er1
67675 ac_status=$?
67676 grep -v '^ *+' conftest.er1 >conftest.err
67677 rm -f conftest.er1
67678 cat conftest.err >&5
67679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67680 (exit $ac_status); } &&
67681 { ac_try='test -z "$ac_c_werror_flag"
67682 || test ! -s conftest.err'
67683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67684 (eval $ac_try) 2>&5
67685 ac_status=$?
67686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67687 (exit $ac_status); }; } &&
67688 { ac_try='test -s conftest$ac_exeext'
67689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67690 (eval $ac_try) 2>&5
67691 ac_status=$?
67692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67693 (exit $ac_status); }; }; then
67694 eval "$as_ac_var=yes"
67695 else
67696 echo "$as_me: failed program was:" >&5
67697 sed 's/^/| /' conftest.$ac_ext >&5
67699 eval "$as_ac_var=no"
67701 rm -f conftest.err conftest.$ac_objext \
67702 conftest$ac_exeext conftest.$ac_ext
67704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67706 if test `eval echo '${'$as_ac_var'}'` = yes; then
67707 cat >>confdefs.h <<_ACEOF
67708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67709 _ACEOF
67712 done
67714 else
67716 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
67717 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
67718 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67719 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
67720 echo $ECHO_N "(cached) $ECHO_C" >&6
67721 else
67725 ac_ext=cc
67726 ac_cpp='$CXXCPP $CPPFLAGS'
67727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67731 cat >conftest.$ac_ext <<_ACEOF
67732 /* confdefs.h. */
67733 _ACEOF
67734 cat confdefs.h >>conftest.$ac_ext
67735 cat >>conftest.$ac_ext <<_ACEOF
67736 /* end confdefs.h. */
67737 #include <math.h>
67739 main ()
67741 _ldexpl(0, 0);
67743 return 0;
67745 _ACEOF
67746 rm -f conftest.$ac_objext
67747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67748 (eval $ac_compile) 2>conftest.er1
67749 ac_status=$?
67750 grep -v '^ *+' conftest.er1 >conftest.err
67751 rm -f conftest.er1
67752 cat conftest.err >&5
67753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67754 (exit $ac_status); } &&
67755 { ac_try='test -z "$ac_cxx_werror_flag"
67756 || test ! -s conftest.err'
67757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67758 (eval $ac_try) 2>&5
67759 ac_status=$?
67760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67761 (exit $ac_status); }; } &&
67762 { ac_try='test -s conftest.$ac_objext'
67763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67764 (eval $ac_try) 2>&5
67765 ac_status=$?
67766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67767 (exit $ac_status); }; }; then
67768 glibcxx_cv_func__ldexpl_use=yes
67769 else
67770 echo "$as_me: failed program was:" >&5
67771 sed 's/^/| /' conftest.$ac_ext >&5
67773 glibcxx_cv_func__ldexpl_use=no
67775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67776 ac_ext=c
67777 ac_cpp='$CPP $CPPFLAGS'
67778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67786 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67787 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67789 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67791 for ac_func in _ldexpl
67793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67794 echo "$as_me:$LINENO: checking for $ac_func" >&5
67795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67796 if eval "test \"\${$as_ac_var+set}\" = set"; then
67797 echo $ECHO_N "(cached) $ECHO_C" >&6
67798 else
67799 if test x$gcc_no_link = xyes; then
67800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67802 { (exit 1); exit 1; }; }
67804 cat >conftest.$ac_ext <<_ACEOF
67805 /* confdefs.h. */
67806 _ACEOF
67807 cat confdefs.h >>conftest.$ac_ext
67808 cat >>conftest.$ac_ext <<_ACEOF
67809 /* end confdefs.h. */
67810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67812 #define $ac_func innocuous_$ac_func
67814 /* System header to define __stub macros and hopefully few prototypes,
67815 which can conflict with char $ac_func (); below.
67816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67817 <limits.h> exists even on freestanding compilers. */
67819 #ifdef __STDC__
67820 # include <limits.h>
67821 #else
67822 # include <assert.h>
67823 #endif
67825 #undef $ac_func
67827 /* Override any gcc2 internal prototype to avoid an error. */
67828 #ifdef __cplusplus
67829 extern "C"
67831 #endif
67832 /* We use char because int might match the return type of a gcc2
67833 builtin and then its argument prototype would still apply. */
67834 char $ac_func ();
67835 /* The GNU C library defines this for functions which it implements
67836 to always fail with ENOSYS. Some functions are actually named
67837 something starting with __ and the normal name is an alias. */
67838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67839 choke me
67840 #else
67841 char (*f) () = $ac_func;
67842 #endif
67843 #ifdef __cplusplus
67845 #endif
67848 main ()
67850 return f != $ac_func;
67852 return 0;
67854 _ACEOF
67855 rm -f conftest.$ac_objext conftest$ac_exeext
67856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67857 (eval $ac_link) 2>conftest.er1
67858 ac_status=$?
67859 grep -v '^ *+' conftest.er1 >conftest.err
67860 rm -f conftest.er1
67861 cat conftest.err >&5
67862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67863 (exit $ac_status); } &&
67864 { ac_try='test -z "$ac_c_werror_flag"
67865 || test ! -s conftest.err'
67866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67867 (eval $ac_try) 2>&5
67868 ac_status=$?
67869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67870 (exit $ac_status); }; } &&
67871 { ac_try='test -s conftest$ac_exeext'
67872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67873 (eval $ac_try) 2>&5
67874 ac_status=$?
67875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67876 (exit $ac_status); }; }; then
67877 eval "$as_ac_var=yes"
67878 else
67879 echo "$as_me: failed program was:" >&5
67880 sed 's/^/| /' conftest.$ac_ext >&5
67882 eval "$as_ac_var=no"
67884 rm -f conftest.err conftest.$ac_objext \
67885 conftest$ac_exeext conftest.$ac_ext
67887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67889 if test `eval echo '${'$as_ac_var'}'` = yes; then
67890 cat >>confdefs.h <<_ACEOF
67891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67892 _ACEOF
67895 done
67905 echo "$as_me:$LINENO: checking for logl declaration" >&5
67906 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67907 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67908 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67909 echo $ECHO_N "(cached) $ECHO_C" >&6
67910 else
67914 ac_ext=cc
67915 ac_cpp='$CXXCPP $CPPFLAGS'
67916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67920 cat >conftest.$ac_ext <<_ACEOF
67921 /* confdefs.h. */
67922 _ACEOF
67923 cat confdefs.h >>conftest.$ac_ext
67924 cat >>conftest.$ac_ext <<_ACEOF
67925 /* end confdefs.h. */
67926 #include <math.h>
67927 #ifdef HAVE_IEEEFP_H
67928 #include <ieeefp.h>
67929 #endif
67932 main ()
67934 logl(0);
67936 return 0;
67938 _ACEOF
67939 rm -f conftest.$ac_objext
67940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67941 (eval $ac_compile) 2>conftest.er1
67942 ac_status=$?
67943 grep -v '^ *+' conftest.er1 >conftest.err
67944 rm -f conftest.er1
67945 cat conftest.err >&5
67946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67947 (exit $ac_status); } &&
67948 { ac_try='test -z "$ac_cxx_werror_flag"
67949 || test ! -s conftest.err'
67950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67951 (eval $ac_try) 2>&5
67952 ac_status=$?
67953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67954 (exit $ac_status); }; } &&
67955 { ac_try='test -s conftest.$ac_objext'
67956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67957 (eval $ac_try) 2>&5
67958 ac_status=$?
67959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67960 (exit $ac_status); }; }; then
67961 glibcxx_cv_func_logl_use=yes
67962 else
67963 echo "$as_me: failed program was:" >&5
67964 sed 's/^/| /' conftest.$ac_ext >&5
67966 glibcxx_cv_func_logl_use=no
67968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67969 ac_ext=c
67970 ac_cpp='$CPP $CPPFLAGS'
67971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67980 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67982 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67984 for ac_func in logl
67986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67987 echo "$as_me:$LINENO: checking for $ac_func" >&5
67988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67989 if eval "test \"\${$as_ac_var+set}\" = set"; then
67990 echo $ECHO_N "(cached) $ECHO_C" >&6
67991 else
67992 if test x$gcc_no_link = xyes; then
67993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67995 { (exit 1); exit 1; }; }
67997 cat >conftest.$ac_ext <<_ACEOF
67998 /* confdefs.h. */
67999 _ACEOF
68000 cat confdefs.h >>conftest.$ac_ext
68001 cat >>conftest.$ac_ext <<_ACEOF
68002 /* end confdefs.h. */
68003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68005 #define $ac_func innocuous_$ac_func
68007 /* System header to define __stub macros and hopefully few prototypes,
68008 which can conflict with char $ac_func (); below.
68009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68010 <limits.h> exists even on freestanding compilers. */
68012 #ifdef __STDC__
68013 # include <limits.h>
68014 #else
68015 # include <assert.h>
68016 #endif
68018 #undef $ac_func
68020 /* Override any gcc2 internal prototype to avoid an error. */
68021 #ifdef __cplusplus
68022 extern "C"
68024 #endif
68025 /* We use char because int might match the return type of a gcc2
68026 builtin and then its argument prototype would still apply. */
68027 char $ac_func ();
68028 /* The GNU C library defines this for functions which it implements
68029 to always fail with ENOSYS. Some functions are actually named
68030 something starting with __ and the normal name is an alias. */
68031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68032 choke me
68033 #else
68034 char (*f) () = $ac_func;
68035 #endif
68036 #ifdef __cplusplus
68038 #endif
68041 main ()
68043 return f != $ac_func;
68045 return 0;
68047 _ACEOF
68048 rm -f conftest.$ac_objext conftest$ac_exeext
68049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68050 (eval $ac_link) 2>conftest.er1
68051 ac_status=$?
68052 grep -v '^ *+' conftest.er1 >conftest.err
68053 rm -f conftest.er1
68054 cat conftest.err >&5
68055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68056 (exit $ac_status); } &&
68057 { ac_try='test -z "$ac_c_werror_flag"
68058 || test ! -s conftest.err'
68059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68060 (eval $ac_try) 2>&5
68061 ac_status=$?
68062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68063 (exit $ac_status); }; } &&
68064 { ac_try='test -s conftest$ac_exeext'
68065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68066 (eval $ac_try) 2>&5
68067 ac_status=$?
68068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68069 (exit $ac_status); }; }; then
68070 eval "$as_ac_var=yes"
68071 else
68072 echo "$as_me: failed program was:" >&5
68073 sed 's/^/| /' conftest.$ac_ext >&5
68075 eval "$as_ac_var=no"
68077 rm -f conftest.err conftest.$ac_objext \
68078 conftest$ac_exeext conftest.$ac_ext
68080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68082 if test `eval echo '${'$as_ac_var'}'` = yes; then
68083 cat >>confdefs.h <<_ACEOF
68084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68085 _ACEOF
68088 done
68090 else
68092 echo "$as_me:$LINENO: checking for _logl declaration" >&5
68093 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
68094 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68095 if test "${glibcxx_cv_func__logl_use+set}" = set; then
68096 echo $ECHO_N "(cached) $ECHO_C" >&6
68097 else
68101 ac_ext=cc
68102 ac_cpp='$CXXCPP $CPPFLAGS'
68103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68107 cat >conftest.$ac_ext <<_ACEOF
68108 /* confdefs.h. */
68109 _ACEOF
68110 cat confdefs.h >>conftest.$ac_ext
68111 cat >>conftest.$ac_ext <<_ACEOF
68112 /* end confdefs.h. */
68113 #include <math.h>
68114 #ifdef HAVE_IEEEFP_H
68115 #include <ieeefp.h>
68116 #endif
68119 main ()
68121 _logl(0);
68123 return 0;
68125 _ACEOF
68126 rm -f conftest.$ac_objext
68127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68128 (eval $ac_compile) 2>conftest.er1
68129 ac_status=$?
68130 grep -v '^ *+' conftest.er1 >conftest.err
68131 rm -f conftest.er1
68132 cat conftest.err >&5
68133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68134 (exit $ac_status); } &&
68135 { ac_try='test -z "$ac_cxx_werror_flag"
68136 || test ! -s conftest.err'
68137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68138 (eval $ac_try) 2>&5
68139 ac_status=$?
68140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68141 (exit $ac_status); }; } &&
68142 { ac_try='test -s conftest.$ac_objext'
68143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68144 (eval $ac_try) 2>&5
68145 ac_status=$?
68146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68147 (exit $ac_status); }; }; then
68148 glibcxx_cv_func__logl_use=yes
68149 else
68150 echo "$as_me: failed program was:" >&5
68151 sed 's/^/| /' conftest.$ac_ext >&5
68153 glibcxx_cv_func__logl_use=no
68155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68156 ac_ext=c
68157 ac_cpp='$CPP $CPPFLAGS'
68158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68166 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
68167 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
68169 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68171 for ac_func in _logl
68173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68174 echo "$as_me:$LINENO: checking for $ac_func" >&5
68175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68176 if eval "test \"\${$as_ac_var+set}\" = set"; then
68177 echo $ECHO_N "(cached) $ECHO_C" >&6
68178 else
68179 if test x$gcc_no_link = xyes; then
68180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68182 { (exit 1); exit 1; }; }
68184 cat >conftest.$ac_ext <<_ACEOF
68185 /* confdefs.h. */
68186 _ACEOF
68187 cat confdefs.h >>conftest.$ac_ext
68188 cat >>conftest.$ac_ext <<_ACEOF
68189 /* end confdefs.h. */
68190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68192 #define $ac_func innocuous_$ac_func
68194 /* System header to define __stub macros and hopefully few prototypes,
68195 which can conflict with char $ac_func (); below.
68196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68197 <limits.h> exists even on freestanding compilers. */
68199 #ifdef __STDC__
68200 # include <limits.h>
68201 #else
68202 # include <assert.h>
68203 #endif
68205 #undef $ac_func
68207 /* Override any gcc2 internal prototype to avoid an error. */
68208 #ifdef __cplusplus
68209 extern "C"
68211 #endif
68212 /* We use char because int might match the return type of a gcc2
68213 builtin and then its argument prototype would still apply. */
68214 char $ac_func ();
68215 /* The GNU C library defines this for functions which it implements
68216 to always fail with ENOSYS. Some functions are actually named
68217 something starting with __ and the normal name is an alias. */
68218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68219 choke me
68220 #else
68221 char (*f) () = $ac_func;
68222 #endif
68223 #ifdef __cplusplus
68225 #endif
68228 main ()
68230 return f != $ac_func;
68232 return 0;
68234 _ACEOF
68235 rm -f conftest.$ac_objext conftest$ac_exeext
68236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68237 (eval $ac_link) 2>conftest.er1
68238 ac_status=$?
68239 grep -v '^ *+' conftest.er1 >conftest.err
68240 rm -f conftest.er1
68241 cat conftest.err >&5
68242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68243 (exit $ac_status); } &&
68244 { ac_try='test -z "$ac_c_werror_flag"
68245 || test ! -s conftest.err'
68246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68247 (eval $ac_try) 2>&5
68248 ac_status=$?
68249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68250 (exit $ac_status); }; } &&
68251 { ac_try='test -s conftest$ac_exeext'
68252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68253 (eval $ac_try) 2>&5
68254 ac_status=$?
68255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68256 (exit $ac_status); }; }; then
68257 eval "$as_ac_var=yes"
68258 else
68259 echo "$as_me: failed program was:" >&5
68260 sed 's/^/| /' conftest.$ac_ext >&5
68262 eval "$as_ac_var=no"
68264 rm -f conftest.err conftest.$ac_objext \
68265 conftest$ac_exeext conftest.$ac_ext
68267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68269 if test `eval echo '${'$as_ac_var'}'` = yes; then
68270 cat >>confdefs.h <<_ACEOF
68271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68272 _ACEOF
68275 done
68285 echo "$as_me:$LINENO: checking for log10l declaration" >&5
68286 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68287 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68288 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68289 echo $ECHO_N "(cached) $ECHO_C" >&6
68290 else
68294 ac_ext=cc
68295 ac_cpp='$CXXCPP $CPPFLAGS'
68296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68300 cat >conftest.$ac_ext <<_ACEOF
68301 /* confdefs.h. */
68302 _ACEOF
68303 cat confdefs.h >>conftest.$ac_ext
68304 cat >>conftest.$ac_ext <<_ACEOF
68305 /* end confdefs.h. */
68306 #include <math.h>
68307 #ifdef HAVE_IEEEFP_H
68308 #include <ieeefp.h>
68309 #endif
68312 main ()
68314 log10l(0);
68316 return 0;
68318 _ACEOF
68319 rm -f conftest.$ac_objext
68320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68321 (eval $ac_compile) 2>conftest.er1
68322 ac_status=$?
68323 grep -v '^ *+' conftest.er1 >conftest.err
68324 rm -f conftest.er1
68325 cat conftest.err >&5
68326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68327 (exit $ac_status); } &&
68328 { ac_try='test -z "$ac_cxx_werror_flag"
68329 || test ! -s conftest.err'
68330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68331 (eval $ac_try) 2>&5
68332 ac_status=$?
68333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68334 (exit $ac_status); }; } &&
68335 { ac_try='test -s conftest.$ac_objext'
68336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68337 (eval $ac_try) 2>&5
68338 ac_status=$?
68339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68340 (exit $ac_status); }; }; then
68341 glibcxx_cv_func_log10l_use=yes
68342 else
68343 echo "$as_me: failed program was:" >&5
68344 sed 's/^/| /' conftest.$ac_ext >&5
68346 glibcxx_cv_func_log10l_use=no
68348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68349 ac_ext=c
68350 ac_cpp='$CPP $CPPFLAGS'
68351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68359 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68360 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68362 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68364 for ac_func in log10l
68366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68367 echo "$as_me:$LINENO: checking for $ac_func" >&5
68368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68369 if eval "test \"\${$as_ac_var+set}\" = set"; then
68370 echo $ECHO_N "(cached) $ECHO_C" >&6
68371 else
68372 if test x$gcc_no_link = xyes; then
68373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68375 { (exit 1); exit 1; }; }
68377 cat >conftest.$ac_ext <<_ACEOF
68378 /* confdefs.h. */
68379 _ACEOF
68380 cat confdefs.h >>conftest.$ac_ext
68381 cat >>conftest.$ac_ext <<_ACEOF
68382 /* end confdefs.h. */
68383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68385 #define $ac_func innocuous_$ac_func
68387 /* System header to define __stub macros and hopefully few prototypes,
68388 which can conflict with char $ac_func (); below.
68389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68390 <limits.h> exists even on freestanding compilers. */
68392 #ifdef __STDC__
68393 # include <limits.h>
68394 #else
68395 # include <assert.h>
68396 #endif
68398 #undef $ac_func
68400 /* Override any gcc2 internal prototype to avoid an error. */
68401 #ifdef __cplusplus
68402 extern "C"
68404 #endif
68405 /* We use char because int might match the return type of a gcc2
68406 builtin and then its argument prototype would still apply. */
68407 char $ac_func ();
68408 /* The GNU C library defines this for functions which it implements
68409 to always fail with ENOSYS. Some functions are actually named
68410 something starting with __ and the normal name is an alias. */
68411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68412 choke me
68413 #else
68414 char (*f) () = $ac_func;
68415 #endif
68416 #ifdef __cplusplus
68418 #endif
68421 main ()
68423 return f != $ac_func;
68425 return 0;
68427 _ACEOF
68428 rm -f conftest.$ac_objext conftest$ac_exeext
68429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68430 (eval $ac_link) 2>conftest.er1
68431 ac_status=$?
68432 grep -v '^ *+' conftest.er1 >conftest.err
68433 rm -f conftest.er1
68434 cat conftest.err >&5
68435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68436 (exit $ac_status); } &&
68437 { ac_try='test -z "$ac_c_werror_flag"
68438 || test ! -s conftest.err'
68439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68440 (eval $ac_try) 2>&5
68441 ac_status=$?
68442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68443 (exit $ac_status); }; } &&
68444 { ac_try='test -s conftest$ac_exeext'
68445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68446 (eval $ac_try) 2>&5
68447 ac_status=$?
68448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68449 (exit $ac_status); }; }; then
68450 eval "$as_ac_var=yes"
68451 else
68452 echo "$as_me: failed program was:" >&5
68453 sed 's/^/| /' conftest.$ac_ext >&5
68455 eval "$as_ac_var=no"
68457 rm -f conftest.err conftest.$ac_objext \
68458 conftest$ac_exeext conftest.$ac_ext
68460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68462 if test `eval echo '${'$as_ac_var'}'` = yes; then
68463 cat >>confdefs.h <<_ACEOF
68464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68465 _ACEOF
68468 done
68470 else
68472 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
68473 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
68474 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68475 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
68476 echo $ECHO_N "(cached) $ECHO_C" >&6
68477 else
68481 ac_ext=cc
68482 ac_cpp='$CXXCPP $CPPFLAGS'
68483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68487 cat >conftest.$ac_ext <<_ACEOF
68488 /* confdefs.h. */
68489 _ACEOF
68490 cat confdefs.h >>conftest.$ac_ext
68491 cat >>conftest.$ac_ext <<_ACEOF
68492 /* end confdefs.h. */
68493 #include <math.h>
68494 #ifdef HAVE_IEEEFP_H
68495 #include <ieeefp.h>
68496 #endif
68499 main ()
68501 _log10l(0);
68503 return 0;
68505 _ACEOF
68506 rm -f conftest.$ac_objext
68507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68508 (eval $ac_compile) 2>conftest.er1
68509 ac_status=$?
68510 grep -v '^ *+' conftest.er1 >conftest.err
68511 rm -f conftest.er1
68512 cat conftest.err >&5
68513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68514 (exit $ac_status); } &&
68515 { ac_try='test -z "$ac_cxx_werror_flag"
68516 || test ! -s conftest.err'
68517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68518 (eval $ac_try) 2>&5
68519 ac_status=$?
68520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68521 (exit $ac_status); }; } &&
68522 { ac_try='test -s conftest.$ac_objext'
68523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68524 (eval $ac_try) 2>&5
68525 ac_status=$?
68526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68527 (exit $ac_status); }; }; then
68528 glibcxx_cv_func__log10l_use=yes
68529 else
68530 echo "$as_me: failed program was:" >&5
68531 sed 's/^/| /' conftest.$ac_ext >&5
68533 glibcxx_cv_func__log10l_use=no
68535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68536 ac_ext=c
68537 ac_cpp='$CPP $CPPFLAGS'
68538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68546 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
68547 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
68549 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68551 for ac_func in _log10l
68553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68554 echo "$as_me:$LINENO: checking for $ac_func" >&5
68555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68556 if eval "test \"\${$as_ac_var+set}\" = set"; then
68557 echo $ECHO_N "(cached) $ECHO_C" >&6
68558 else
68559 if test x$gcc_no_link = xyes; then
68560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68562 { (exit 1); exit 1; }; }
68564 cat >conftest.$ac_ext <<_ACEOF
68565 /* confdefs.h. */
68566 _ACEOF
68567 cat confdefs.h >>conftest.$ac_ext
68568 cat >>conftest.$ac_ext <<_ACEOF
68569 /* end confdefs.h. */
68570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68572 #define $ac_func innocuous_$ac_func
68574 /* System header to define __stub macros and hopefully few prototypes,
68575 which can conflict with char $ac_func (); below.
68576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68577 <limits.h> exists even on freestanding compilers. */
68579 #ifdef __STDC__
68580 # include <limits.h>
68581 #else
68582 # include <assert.h>
68583 #endif
68585 #undef $ac_func
68587 /* Override any gcc2 internal prototype to avoid an error. */
68588 #ifdef __cplusplus
68589 extern "C"
68591 #endif
68592 /* We use char because int might match the return type of a gcc2
68593 builtin and then its argument prototype would still apply. */
68594 char $ac_func ();
68595 /* The GNU C library defines this for functions which it implements
68596 to always fail with ENOSYS. Some functions are actually named
68597 something starting with __ and the normal name is an alias. */
68598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68599 choke me
68600 #else
68601 char (*f) () = $ac_func;
68602 #endif
68603 #ifdef __cplusplus
68605 #endif
68608 main ()
68610 return f != $ac_func;
68612 return 0;
68614 _ACEOF
68615 rm -f conftest.$ac_objext conftest$ac_exeext
68616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68617 (eval $ac_link) 2>conftest.er1
68618 ac_status=$?
68619 grep -v '^ *+' conftest.er1 >conftest.err
68620 rm -f conftest.er1
68621 cat conftest.err >&5
68622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68623 (exit $ac_status); } &&
68624 { ac_try='test -z "$ac_c_werror_flag"
68625 || test ! -s conftest.err'
68626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68627 (eval $ac_try) 2>&5
68628 ac_status=$?
68629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68630 (exit $ac_status); }; } &&
68631 { ac_try='test -s conftest$ac_exeext'
68632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68633 (eval $ac_try) 2>&5
68634 ac_status=$?
68635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68636 (exit $ac_status); }; }; then
68637 eval "$as_ac_var=yes"
68638 else
68639 echo "$as_me: failed program was:" >&5
68640 sed 's/^/| /' conftest.$ac_ext >&5
68642 eval "$as_ac_var=no"
68644 rm -f conftest.err conftest.$ac_objext \
68645 conftest$ac_exeext conftest.$ac_ext
68647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68649 if test `eval echo '${'$as_ac_var'}'` = yes; then
68650 cat >>confdefs.h <<_ACEOF
68651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68652 _ACEOF
68655 done
68665 echo "$as_me:$LINENO: checking for modfl declaration" >&5
68666 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
68667 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68668 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
68669 echo $ECHO_N "(cached) $ECHO_C" >&6
68670 else
68674 ac_ext=cc
68675 ac_cpp='$CXXCPP $CPPFLAGS'
68676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68680 cat >conftest.$ac_ext <<_ACEOF
68681 /* confdefs.h. */
68682 _ACEOF
68683 cat confdefs.h >>conftest.$ac_ext
68684 cat >>conftest.$ac_ext <<_ACEOF
68685 /* end confdefs.h. */
68686 #include <math.h>
68688 main ()
68690 modfl(0, 0);
68692 return 0;
68694 _ACEOF
68695 rm -f conftest.$ac_objext
68696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68697 (eval $ac_compile) 2>conftest.er1
68698 ac_status=$?
68699 grep -v '^ *+' conftest.er1 >conftest.err
68700 rm -f conftest.er1
68701 cat conftest.err >&5
68702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68703 (exit $ac_status); } &&
68704 { ac_try='test -z "$ac_cxx_werror_flag"
68705 || test ! -s conftest.err'
68706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68707 (eval $ac_try) 2>&5
68708 ac_status=$?
68709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68710 (exit $ac_status); }; } &&
68711 { ac_try='test -s conftest.$ac_objext'
68712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68713 (eval $ac_try) 2>&5
68714 ac_status=$?
68715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68716 (exit $ac_status); }; }; then
68717 glibcxx_cv_func_modfl_use=yes
68718 else
68719 echo "$as_me: failed program was:" >&5
68720 sed 's/^/| /' conftest.$ac_ext >&5
68722 glibcxx_cv_func_modfl_use=no
68724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68725 ac_ext=c
68726 ac_cpp='$CPP $CPPFLAGS'
68727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68735 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68736 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68738 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68740 for ac_func in modfl
68742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68743 echo "$as_me:$LINENO: checking for $ac_func" >&5
68744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68745 if eval "test \"\${$as_ac_var+set}\" = set"; then
68746 echo $ECHO_N "(cached) $ECHO_C" >&6
68747 else
68748 if test x$gcc_no_link = xyes; then
68749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68751 { (exit 1); exit 1; }; }
68753 cat >conftest.$ac_ext <<_ACEOF
68754 /* confdefs.h. */
68755 _ACEOF
68756 cat confdefs.h >>conftest.$ac_ext
68757 cat >>conftest.$ac_ext <<_ACEOF
68758 /* end confdefs.h. */
68759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68761 #define $ac_func innocuous_$ac_func
68763 /* System header to define __stub macros and hopefully few prototypes,
68764 which can conflict with char $ac_func (); below.
68765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68766 <limits.h> exists even on freestanding compilers. */
68768 #ifdef __STDC__
68769 # include <limits.h>
68770 #else
68771 # include <assert.h>
68772 #endif
68774 #undef $ac_func
68776 /* Override any gcc2 internal prototype to avoid an error. */
68777 #ifdef __cplusplus
68778 extern "C"
68780 #endif
68781 /* We use char because int might match the return type of a gcc2
68782 builtin and then its argument prototype would still apply. */
68783 char $ac_func ();
68784 /* The GNU C library defines this for functions which it implements
68785 to always fail with ENOSYS. Some functions are actually named
68786 something starting with __ and the normal name is an alias. */
68787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68788 choke me
68789 #else
68790 char (*f) () = $ac_func;
68791 #endif
68792 #ifdef __cplusplus
68794 #endif
68797 main ()
68799 return f != $ac_func;
68801 return 0;
68803 _ACEOF
68804 rm -f conftest.$ac_objext conftest$ac_exeext
68805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68806 (eval $ac_link) 2>conftest.er1
68807 ac_status=$?
68808 grep -v '^ *+' conftest.er1 >conftest.err
68809 rm -f conftest.er1
68810 cat conftest.err >&5
68811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68812 (exit $ac_status); } &&
68813 { ac_try='test -z "$ac_c_werror_flag"
68814 || test ! -s conftest.err'
68815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68816 (eval $ac_try) 2>&5
68817 ac_status=$?
68818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68819 (exit $ac_status); }; } &&
68820 { ac_try='test -s conftest$ac_exeext'
68821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68822 (eval $ac_try) 2>&5
68823 ac_status=$?
68824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68825 (exit $ac_status); }; }; then
68826 eval "$as_ac_var=yes"
68827 else
68828 echo "$as_me: failed program was:" >&5
68829 sed 's/^/| /' conftest.$ac_ext >&5
68831 eval "$as_ac_var=no"
68833 rm -f conftest.err conftest.$ac_objext \
68834 conftest$ac_exeext conftest.$ac_ext
68836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68838 if test `eval echo '${'$as_ac_var'}'` = yes; then
68839 cat >>confdefs.h <<_ACEOF
68840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68841 _ACEOF
68844 done
68846 else
68848 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68849 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68850 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68851 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68852 echo $ECHO_N "(cached) $ECHO_C" >&6
68853 else
68857 ac_ext=cc
68858 ac_cpp='$CXXCPP $CPPFLAGS'
68859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68863 cat >conftest.$ac_ext <<_ACEOF
68864 /* confdefs.h. */
68865 _ACEOF
68866 cat confdefs.h >>conftest.$ac_ext
68867 cat >>conftest.$ac_ext <<_ACEOF
68868 /* end confdefs.h. */
68869 #include <math.h>
68871 main ()
68873 _modfl(0, 0);
68875 return 0;
68877 _ACEOF
68878 rm -f conftest.$ac_objext
68879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68880 (eval $ac_compile) 2>conftest.er1
68881 ac_status=$?
68882 grep -v '^ *+' conftest.er1 >conftest.err
68883 rm -f conftest.er1
68884 cat conftest.err >&5
68885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68886 (exit $ac_status); } &&
68887 { ac_try='test -z "$ac_cxx_werror_flag"
68888 || test ! -s conftest.err'
68889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68890 (eval $ac_try) 2>&5
68891 ac_status=$?
68892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68893 (exit $ac_status); }; } &&
68894 { ac_try='test -s conftest.$ac_objext'
68895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68896 (eval $ac_try) 2>&5
68897 ac_status=$?
68898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68899 (exit $ac_status); }; }; then
68900 glibcxx_cv_func__modfl_use=yes
68901 else
68902 echo "$as_me: failed program was:" >&5
68903 sed 's/^/| /' conftest.$ac_ext >&5
68905 glibcxx_cv_func__modfl_use=no
68907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68908 ac_ext=c
68909 ac_cpp='$CPP $CPPFLAGS'
68910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68918 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68919 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68921 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68923 for ac_func in _modfl
68925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68926 echo "$as_me:$LINENO: checking for $ac_func" >&5
68927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68928 if eval "test \"\${$as_ac_var+set}\" = set"; then
68929 echo $ECHO_N "(cached) $ECHO_C" >&6
68930 else
68931 if test x$gcc_no_link = xyes; then
68932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68934 { (exit 1); exit 1; }; }
68936 cat >conftest.$ac_ext <<_ACEOF
68937 /* confdefs.h. */
68938 _ACEOF
68939 cat confdefs.h >>conftest.$ac_ext
68940 cat >>conftest.$ac_ext <<_ACEOF
68941 /* end confdefs.h. */
68942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68944 #define $ac_func innocuous_$ac_func
68946 /* System header to define __stub macros and hopefully few prototypes,
68947 which can conflict with char $ac_func (); below.
68948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68949 <limits.h> exists even on freestanding compilers. */
68951 #ifdef __STDC__
68952 # include <limits.h>
68953 #else
68954 # include <assert.h>
68955 #endif
68957 #undef $ac_func
68959 /* Override any gcc2 internal prototype to avoid an error. */
68960 #ifdef __cplusplus
68961 extern "C"
68963 #endif
68964 /* We use char because int might match the return type of a gcc2
68965 builtin and then its argument prototype would still apply. */
68966 char $ac_func ();
68967 /* The GNU C library defines this for functions which it implements
68968 to always fail with ENOSYS. Some functions are actually named
68969 something starting with __ and the normal name is an alias. */
68970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68971 choke me
68972 #else
68973 char (*f) () = $ac_func;
68974 #endif
68975 #ifdef __cplusplus
68977 #endif
68980 main ()
68982 return f != $ac_func;
68984 return 0;
68986 _ACEOF
68987 rm -f conftest.$ac_objext conftest$ac_exeext
68988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68989 (eval $ac_link) 2>conftest.er1
68990 ac_status=$?
68991 grep -v '^ *+' conftest.er1 >conftest.err
68992 rm -f conftest.er1
68993 cat conftest.err >&5
68994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68995 (exit $ac_status); } &&
68996 { ac_try='test -z "$ac_c_werror_flag"
68997 || test ! -s conftest.err'
68998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68999 (eval $ac_try) 2>&5
69000 ac_status=$?
69001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69002 (exit $ac_status); }; } &&
69003 { ac_try='test -s conftest$ac_exeext'
69004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69005 (eval $ac_try) 2>&5
69006 ac_status=$?
69007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69008 (exit $ac_status); }; }; then
69009 eval "$as_ac_var=yes"
69010 else
69011 echo "$as_me: failed program was:" >&5
69012 sed 's/^/| /' conftest.$ac_ext >&5
69014 eval "$as_ac_var=no"
69016 rm -f conftest.err conftest.$ac_objext \
69017 conftest$ac_exeext conftest.$ac_ext
69019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69021 if test `eval echo '${'$as_ac_var'}'` = yes; then
69022 cat >>confdefs.h <<_ACEOF
69023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69024 _ACEOF
69027 done
69037 echo "$as_me:$LINENO: checking for powl declaration" >&5
69038 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
69039 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69040 if test "${glibcxx_cv_func_powl_use+set}" = set; then
69041 echo $ECHO_N "(cached) $ECHO_C" >&6
69042 else
69046 ac_ext=cc
69047 ac_cpp='$CXXCPP $CPPFLAGS'
69048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69052 cat >conftest.$ac_ext <<_ACEOF
69053 /* confdefs.h. */
69054 _ACEOF
69055 cat confdefs.h >>conftest.$ac_ext
69056 cat >>conftest.$ac_ext <<_ACEOF
69057 /* end confdefs.h. */
69058 #include <math.h>
69060 main ()
69062 powl(0, 0);
69064 return 0;
69066 _ACEOF
69067 rm -f conftest.$ac_objext
69068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69069 (eval $ac_compile) 2>conftest.er1
69070 ac_status=$?
69071 grep -v '^ *+' conftest.er1 >conftest.err
69072 rm -f conftest.er1
69073 cat conftest.err >&5
69074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69075 (exit $ac_status); } &&
69076 { ac_try='test -z "$ac_cxx_werror_flag"
69077 || test ! -s conftest.err'
69078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69079 (eval $ac_try) 2>&5
69080 ac_status=$?
69081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69082 (exit $ac_status); }; } &&
69083 { ac_try='test -s conftest.$ac_objext'
69084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69085 (eval $ac_try) 2>&5
69086 ac_status=$?
69087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69088 (exit $ac_status); }; }; then
69089 glibcxx_cv_func_powl_use=yes
69090 else
69091 echo "$as_me: failed program was:" >&5
69092 sed 's/^/| /' conftest.$ac_ext >&5
69094 glibcxx_cv_func_powl_use=no
69096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69097 ac_ext=c
69098 ac_cpp='$CPP $CPPFLAGS'
69099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69107 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
69108 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
69110 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69112 for ac_func in powl
69114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69115 echo "$as_me:$LINENO: checking for $ac_func" >&5
69116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69117 if eval "test \"\${$as_ac_var+set}\" = set"; then
69118 echo $ECHO_N "(cached) $ECHO_C" >&6
69119 else
69120 if test x$gcc_no_link = xyes; then
69121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69123 { (exit 1); exit 1; }; }
69125 cat >conftest.$ac_ext <<_ACEOF
69126 /* confdefs.h. */
69127 _ACEOF
69128 cat confdefs.h >>conftest.$ac_ext
69129 cat >>conftest.$ac_ext <<_ACEOF
69130 /* end confdefs.h. */
69131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69133 #define $ac_func innocuous_$ac_func
69135 /* System header to define __stub macros and hopefully few prototypes,
69136 which can conflict with char $ac_func (); below.
69137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69138 <limits.h> exists even on freestanding compilers. */
69140 #ifdef __STDC__
69141 # include <limits.h>
69142 #else
69143 # include <assert.h>
69144 #endif
69146 #undef $ac_func
69148 /* Override any gcc2 internal prototype to avoid an error. */
69149 #ifdef __cplusplus
69150 extern "C"
69152 #endif
69153 /* We use char because int might match the return type of a gcc2
69154 builtin and then its argument prototype would still apply. */
69155 char $ac_func ();
69156 /* The GNU C library defines this for functions which it implements
69157 to always fail with ENOSYS. Some functions are actually named
69158 something starting with __ and the normal name is an alias. */
69159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69160 choke me
69161 #else
69162 char (*f) () = $ac_func;
69163 #endif
69164 #ifdef __cplusplus
69166 #endif
69169 main ()
69171 return f != $ac_func;
69173 return 0;
69175 _ACEOF
69176 rm -f conftest.$ac_objext conftest$ac_exeext
69177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69178 (eval $ac_link) 2>conftest.er1
69179 ac_status=$?
69180 grep -v '^ *+' conftest.er1 >conftest.err
69181 rm -f conftest.er1
69182 cat conftest.err >&5
69183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69184 (exit $ac_status); } &&
69185 { ac_try='test -z "$ac_c_werror_flag"
69186 || test ! -s conftest.err'
69187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69188 (eval $ac_try) 2>&5
69189 ac_status=$?
69190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69191 (exit $ac_status); }; } &&
69192 { ac_try='test -s conftest$ac_exeext'
69193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69194 (eval $ac_try) 2>&5
69195 ac_status=$?
69196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69197 (exit $ac_status); }; }; then
69198 eval "$as_ac_var=yes"
69199 else
69200 echo "$as_me: failed program was:" >&5
69201 sed 's/^/| /' conftest.$ac_ext >&5
69203 eval "$as_ac_var=no"
69205 rm -f conftest.err conftest.$ac_objext \
69206 conftest$ac_exeext conftest.$ac_ext
69208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69210 if test `eval echo '${'$as_ac_var'}'` = yes; then
69211 cat >>confdefs.h <<_ACEOF
69212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69213 _ACEOF
69216 done
69218 else
69220 echo "$as_me:$LINENO: checking for _powl declaration" >&5
69221 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
69222 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69223 if test "${glibcxx_cv_func__powl_use+set}" = set; then
69224 echo $ECHO_N "(cached) $ECHO_C" >&6
69225 else
69229 ac_ext=cc
69230 ac_cpp='$CXXCPP $CPPFLAGS'
69231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69235 cat >conftest.$ac_ext <<_ACEOF
69236 /* confdefs.h. */
69237 _ACEOF
69238 cat confdefs.h >>conftest.$ac_ext
69239 cat >>conftest.$ac_ext <<_ACEOF
69240 /* end confdefs.h. */
69241 #include <math.h>
69243 main ()
69245 _powl(0, 0);
69247 return 0;
69249 _ACEOF
69250 rm -f conftest.$ac_objext
69251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69252 (eval $ac_compile) 2>conftest.er1
69253 ac_status=$?
69254 grep -v '^ *+' conftest.er1 >conftest.err
69255 rm -f conftest.er1
69256 cat conftest.err >&5
69257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69258 (exit $ac_status); } &&
69259 { ac_try='test -z "$ac_cxx_werror_flag"
69260 || test ! -s conftest.err'
69261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69262 (eval $ac_try) 2>&5
69263 ac_status=$?
69264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69265 (exit $ac_status); }; } &&
69266 { ac_try='test -s conftest.$ac_objext'
69267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69268 (eval $ac_try) 2>&5
69269 ac_status=$?
69270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69271 (exit $ac_status); }; }; then
69272 glibcxx_cv_func__powl_use=yes
69273 else
69274 echo "$as_me: failed program was:" >&5
69275 sed 's/^/| /' conftest.$ac_ext >&5
69277 glibcxx_cv_func__powl_use=no
69279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69280 ac_ext=c
69281 ac_cpp='$CPP $CPPFLAGS'
69282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69290 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69291 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69293 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69295 for ac_func in _powl
69297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69298 echo "$as_me:$LINENO: checking for $ac_func" >&5
69299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69300 if eval "test \"\${$as_ac_var+set}\" = set"; then
69301 echo $ECHO_N "(cached) $ECHO_C" >&6
69302 else
69303 if test x$gcc_no_link = xyes; then
69304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69306 { (exit 1); exit 1; }; }
69308 cat >conftest.$ac_ext <<_ACEOF
69309 /* confdefs.h. */
69310 _ACEOF
69311 cat confdefs.h >>conftest.$ac_ext
69312 cat >>conftest.$ac_ext <<_ACEOF
69313 /* end confdefs.h. */
69314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69316 #define $ac_func innocuous_$ac_func
69318 /* System header to define __stub macros and hopefully few prototypes,
69319 which can conflict with char $ac_func (); below.
69320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69321 <limits.h> exists even on freestanding compilers. */
69323 #ifdef __STDC__
69324 # include <limits.h>
69325 #else
69326 # include <assert.h>
69327 #endif
69329 #undef $ac_func
69331 /* Override any gcc2 internal prototype to avoid an error. */
69332 #ifdef __cplusplus
69333 extern "C"
69335 #endif
69336 /* We use char because int might match the return type of a gcc2
69337 builtin and then its argument prototype would still apply. */
69338 char $ac_func ();
69339 /* The GNU C library defines this for functions which it implements
69340 to always fail with ENOSYS. Some functions are actually named
69341 something starting with __ and the normal name is an alias. */
69342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69343 choke me
69344 #else
69345 char (*f) () = $ac_func;
69346 #endif
69347 #ifdef __cplusplus
69349 #endif
69352 main ()
69354 return f != $ac_func;
69356 return 0;
69358 _ACEOF
69359 rm -f conftest.$ac_objext conftest$ac_exeext
69360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69361 (eval $ac_link) 2>conftest.er1
69362 ac_status=$?
69363 grep -v '^ *+' conftest.er1 >conftest.err
69364 rm -f conftest.er1
69365 cat conftest.err >&5
69366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69367 (exit $ac_status); } &&
69368 { ac_try='test -z "$ac_c_werror_flag"
69369 || test ! -s conftest.err'
69370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69371 (eval $ac_try) 2>&5
69372 ac_status=$?
69373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69374 (exit $ac_status); }; } &&
69375 { ac_try='test -s conftest$ac_exeext'
69376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69377 (eval $ac_try) 2>&5
69378 ac_status=$?
69379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69380 (exit $ac_status); }; }; then
69381 eval "$as_ac_var=yes"
69382 else
69383 echo "$as_me: failed program was:" >&5
69384 sed 's/^/| /' conftest.$ac_ext >&5
69386 eval "$as_ac_var=no"
69388 rm -f conftest.err conftest.$ac_objext \
69389 conftest$ac_exeext conftest.$ac_ext
69391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69393 if test `eval echo '${'$as_ac_var'}'` = yes; then
69394 cat >>confdefs.h <<_ACEOF
69395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69396 _ACEOF
69399 done
69409 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69410 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69411 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69412 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69413 echo $ECHO_N "(cached) $ECHO_C" >&6
69414 else
69418 ac_ext=cc
69419 ac_cpp='$CXXCPP $CPPFLAGS'
69420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69424 cat >conftest.$ac_ext <<_ACEOF
69425 /* confdefs.h. */
69426 _ACEOF
69427 cat confdefs.h >>conftest.$ac_ext
69428 cat >>conftest.$ac_ext <<_ACEOF
69429 /* end confdefs.h. */
69430 #include <math.h>
69431 #ifdef HAVE_IEEEFP_H
69432 #include <ieeefp.h>
69433 #endif
69436 main ()
69438 sqrtl(0);
69440 return 0;
69442 _ACEOF
69443 rm -f conftest.$ac_objext
69444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69445 (eval $ac_compile) 2>conftest.er1
69446 ac_status=$?
69447 grep -v '^ *+' conftest.er1 >conftest.err
69448 rm -f conftest.er1
69449 cat conftest.err >&5
69450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69451 (exit $ac_status); } &&
69452 { ac_try='test -z "$ac_cxx_werror_flag"
69453 || test ! -s conftest.err'
69454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69455 (eval $ac_try) 2>&5
69456 ac_status=$?
69457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69458 (exit $ac_status); }; } &&
69459 { ac_try='test -s conftest.$ac_objext'
69460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69461 (eval $ac_try) 2>&5
69462 ac_status=$?
69463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69464 (exit $ac_status); }; }; then
69465 glibcxx_cv_func_sqrtl_use=yes
69466 else
69467 echo "$as_me: failed program was:" >&5
69468 sed 's/^/| /' conftest.$ac_ext >&5
69470 glibcxx_cv_func_sqrtl_use=no
69472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69473 ac_ext=c
69474 ac_cpp='$CPP $CPPFLAGS'
69475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69483 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
69484 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
69486 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69488 for ac_func in sqrtl
69490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69491 echo "$as_me:$LINENO: checking for $ac_func" >&5
69492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69493 if eval "test \"\${$as_ac_var+set}\" = set"; then
69494 echo $ECHO_N "(cached) $ECHO_C" >&6
69495 else
69496 if test x$gcc_no_link = xyes; then
69497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69499 { (exit 1); exit 1; }; }
69501 cat >conftest.$ac_ext <<_ACEOF
69502 /* confdefs.h. */
69503 _ACEOF
69504 cat confdefs.h >>conftest.$ac_ext
69505 cat >>conftest.$ac_ext <<_ACEOF
69506 /* end confdefs.h. */
69507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69509 #define $ac_func innocuous_$ac_func
69511 /* System header to define __stub macros and hopefully few prototypes,
69512 which can conflict with char $ac_func (); below.
69513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69514 <limits.h> exists even on freestanding compilers. */
69516 #ifdef __STDC__
69517 # include <limits.h>
69518 #else
69519 # include <assert.h>
69520 #endif
69522 #undef $ac_func
69524 /* Override any gcc2 internal prototype to avoid an error. */
69525 #ifdef __cplusplus
69526 extern "C"
69528 #endif
69529 /* We use char because int might match the return type of a gcc2
69530 builtin and then its argument prototype would still apply. */
69531 char $ac_func ();
69532 /* The GNU C library defines this for functions which it implements
69533 to always fail with ENOSYS. Some functions are actually named
69534 something starting with __ and the normal name is an alias. */
69535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69536 choke me
69537 #else
69538 char (*f) () = $ac_func;
69539 #endif
69540 #ifdef __cplusplus
69542 #endif
69545 main ()
69547 return f != $ac_func;
69549 return 0;
69551 _ACEOF
69552 rm -f conftest.$ac_objext conftest$ac_exeext
69553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69554 (eval $ac_link) 2>conftest.er1
69555 ac_status=$?
69556 grep -v '^ *+' conftest.er1 >conftest.err
69557 rm -f conftest.er1
69558 cat conftest.err >&5
69559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69560 (exit $ac_status); } &&
69561 { ac_try='test -z "$ac_c_werror_flag"
69562 || test ! -s conftest.err'
69563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69564 (eval $ac_try) 2>&5
69565 ac_status=$?
69566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69567 (exit $ac_status); }; } &&
69568 { ac_try='test -s conftest$ac_exeext'
69569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69570 (eval $ac_try) 2>&5
69571 ac_status=$?
69572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69573 (exit $ac_status); }; }; then
69574 eval "$as_ac_var=yes"
69575 else
69576 echo "$as_me: failed program was:" >&5
69577 sed 's/^/| /' conftest.$ac_ext >&5
69579 eval "$as_ac_var=no"
69581 rm -f conftest.err conftest.$ac_objext \
69582 conftest$ac_exeext conftest.$ac_ext
69584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69586 if test `eval echo '${'$as_ac_var'}'` = yes; then
69587 cat >>confdefs.h <<_ACEOF
69588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69589 _ACEOF
69592 done
69594 else
69596 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
69597 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
69598 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69599 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
69600 echo $ECHO_N "(cached) $ECHO_C" >&6
69601 else
69605 ac_ext=cc
69606 ac_cpp='$CXXCPP $CPPFLAGS'
69607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69611 cat >conftest.$ac_ext <<_ACEOF
69612 /* confdefs.h. */
69613 _ACEOF
69614 cat confdefs.h >>conftest.$ac_ext
69615 cat >>conftest.$ac_ext <<_ACEOF
69616 /* end confdefs.h. */
69617 #include <math.h>
69618 #ifdef HAVE_IEEEFP_H
69619 #include <ieeefp.h>
69620 #endif
69623 main ()
69625 _sqrtl(0);
69627 return 0;
69629 _ACEOF
69630 rm -f conftest.$ac_objext
69631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69632 (eval $ac_compile) 2>conftest.er1
69633 ac_status=$?
69634 grep -v '^ *+' conftest.er1 >conftest.err
69635 rm -f conftest.er1
69636 cat conftest.err >&5
69637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69638 (exit $ac_status); } &&
69639 { ac_try='test -z "$ac_cxx_werror_flag"
69640 || test ! -s conftest.err'
69641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69642 (eval $ac_try) 2>&5
69643 ac_status=$?
69644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69645 (exit $ac_status); }; } &&
69646 { ac_try='test -s conftest.$ac_objext'
69647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69648 (eval $ac_try) 2>&5
69649 ac_status=$?
69650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69651 (exit $ac_status); }; }; then
69652 glibcxx_cv_func__sqrtl_use=yes
69653 else
69654 echo "$as_me: failed program was:" >&5
69655 sed 's/^/| /' conftest.$ac_ext >&5
69657 glibcxx_cv_func__sqrtl_use=no
69659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69660 ac_ext=c
69661 ac_cpp='$CPP $CPPFLAGS'
69662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69670 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
69671 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
69673 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69675 for ac_func in _sqrtl
69677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69678 echo "$as_me:$LINENO: checking for $ac_func" >&5
69679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69680 if eval "test \"\${$as_ac_var+set}\" = set"; then
69681 echo $ECHO_N "(cached) $ECHO_C" >&6
69682 else
69683 if test x$gcc_no_link = xyes; then
69684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69686 { (exit 1); exit 1; }; }
69688 cat >conftest.$ac_ext <<_ACEOF
69689 /* confdefs.h. */
69690 _ACEOF
69691 cat confdefs.h >>conftest.$ac_ext
69692 cat >>conftest.$ac_ext <<_ACEOF
69693 /* end confdefs.h. */
69694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69696 #define $ac_func innocuous_$ac_func
69698 /* System header to define __stub macros and hopefully few prototypes,
69699 which can conflict with char $ac_func (); below.
69700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69701 <limits.h> exists even on freestanding compilers. */
69703 #ifdef __STDC__
69704 # include <limits.h>
69705 #else
69706 # include <assert.h>
69707 #endif
69709 #undef $ac_func
69711 /* Override any gcc2 internal prototype to avoid an error. */
69712 #ifdef __cplusplus
69713 extern "C"
69715 #endif
69716 /* We use char because int might match the return type of a gcc2
69717 builtin and then its argument prototype would still apply. */
69718 char $ac_func ();
69719 /* The GNU C library defines this for functions which it implements
69720 to always fail with ENOSYS. Some functions are actually named
69721 something starting with __ and the normal name is an alias. */
69722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69723 choke me
69724 #else
69725 char (*f) () = $ac_func;
69726 #endif
69727 #ifdef __cplusplus
69729 #endif
69732 main ()
69734 return f != $ac_func;
69736 return 0;
69738 _ACEOF
69739 rm -f conftest.$ac_objext conftest$ac_exeext
69740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69741 (eval $ac_link) 2>conftest.er1
69742 ac_status=$?
69743 grep -v '^ *+' conftest.er1 >conftest.err
69744 rm -f conftest.er1
69745 cat conftest.err >&5
69746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69747 (exit $ac_status); } &&
69748 { ac_try='test -z "$ac_c_werror_flag"
69749 || test ! -s conftest.err'
69750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69751 (eval $ac_try) 2>&5
69752 ac_status=$?
69753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69754 (exit $ac_status); }; } &&
69755 { ac_try='test -s conftest$ac_exeext'
69756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69757 (eval $ac_try) 2>&5
69758 ac_status=$?
69759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69760 (exit $ac_status); }; }; then
69761 eval "$as_ac_var=yes"
69762 else
69763 echo "$as_me: failed program was:" >&5
69764 sed 's/^/| /' conftest.$ac_ext >&5
69766 eval "$as_ac_var=no"
69768 rm -f conftest.err conftest.$ac_objext \
69769 conftest$ac_exeext conftest.$ac_ext
69771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69773 if test `eval echo '${'$as_ac_var'}'` = yes; then
69774 cat >>confdefs.h <<_ACEOF
69775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69776 _ACEOF
69779 done
69789 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69790 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69791 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69792 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69793 echo $ECHO_N "(cached) $ECHO_C" >&6
69794 else
69798 ac_ext=cc
69799 ac_cpp='$CXXCPP $CPPFLAGS'
69800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69804 cat >conftest.$ac_ext <<_ACEOF
69805 /* confdefs.h. */
69806 _ACEOF
69807 cat confdefs.h >>conftest.$ac_ext
69808 cat >>conftest.$ac_ext <<_ACEOF
69809 /* end confdefs.h. */
69810 #include <math.h>
69812 main ()
69814 sincosl(0, 0, 0);
69816 return 0;
69818 _ACEOF
69819 rm -f conftest.$ac_objext
69820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69821 (eval $ac_compile) 2>conftest.er1
69822 ac_status=$?
69823 grep -v '^ *+' conftest.er1 >conftest.err
69824 rm -f conftest.er1
69825 cat conftest.err >&5
69826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69827 (exit $ac_status); } &&
69828 { ac_try='test -z "$ac_cxx_werror_flag"
69829 || test ! -s conftest.err'
69830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69831 (eval $ac_try) 2>&5
69832 ac_status=$?
69833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69834 (exit $ac_status); }; } &&
69835 { ac_try='test -s conftest.$ac_objext'
69836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69837 (eval $ac_try) 2>&5
69838 ac_status=$?
69839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69840 (exit $ac_status); }; }; then
69841 glibcxx_cv_func_sincosl_use=yes
69842 else
69843 echo "$as_me: failed program was:" >&5
69844 sed 's/^/| /' conftest.$ac_ext >&5
69846 glibcxx_cv_func_sincosl_use=no
69848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69849 ac_ext=c
69850 ac_cpp='$CPP $CPPFLAGS'
69851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69860 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69862 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69864 for ac_func in sincosl
69866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69867 echo "$as_me:$LINENO: checking for $ac_func" >&5
69868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69869 if eval "test \"\${$as_ac_var+set}\" = set"; then
69870 echo $ECHO_N "(cached) $ECHO_C" >&6
69871 else
69872 if test x$gcc_no_link = xyes; then
69873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69875 { (exit 1); exit 1; }; }
69877 cat >conftest.$ac_ext <<_ACEOF
69878 /* confdefs.h. */
69879 _ACEOF
69880 cat confdefs.h >>conftest.$ac_ext
69881 cat >>conftest.$ac_ext <<_ACEOF
69882 /* end confdefs.h. */
69883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69885 #define $ac_func innocuous_$ac_func
69887 /* System header to define __stub macros and hopefully few prototypes,
69888 which can conflict with char $ac_func (); below.
69889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69890 <limits.h> exists even on freestanding compilers. */
69892 #ifdef __STDC__
69893 # include <limits.h>
69894 #else
69895 # include <assert.h>
69896 #endif
69898 #undef $ac_func
69900 /* Override any gcc2 internal prototype to avoid an error. */
69901 #ifdef __cplusplus
69902 extern "C"
69904 #endif
69905 /* We use char because int might match the return type of a gcc2
69906 builtin and then its argument prototype would still apply. */
69907 char $ac_func ();
69908 /* The GNU C library defines this for functions which it implements
69909 to always fail with ENOSYS. Some functions are actually named
69910 something starting with __ and the normal name is an alias. */
69911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69912 choke me
69913 #else
69914 char (*f) () = $ac_func;
69915 #endif
69916 #ifdef __cplusplus
69918 #endif
69921 main ()
69923 return f != $ac_func;
69925 return 0;
69927 _ACEOF
69928 rm -f conftest.$ac_objext conftest$ac_exeext
69929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69930 (eval $ac_link) 2>conftest.er1
69931 ac_status=$?
69932 grep -v '^ *+' conftest.er1 >conftest.err
69933 rm -f conftest.er1
69934 cat conftest.err >&5
69935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69936 (exit $ac_status); } &&
69937 { ac_try='test -z "$ac_c_werror_flag"
69938 || test ! -s conftest.err'
69939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69940 (eval $ac_try) 2>&5
69941 ac_status=$?
69942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69943 (exit $ac_status); }; } &&
69944 { ac_try='test -s conftest$ac_exeext'
69945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69946 (eval $ac_try) 2>&5
69947 ac_status=$?
69948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69949 (exit $ac_status); }; }; then
69950 eval "$as_ac_var=yes"
69951 else
69952 echo "$as_me: failed program was:" >&5
69953 sed 's/^/| /' conftest.$ac_ext >&5
69955 eval "$as_ac_var=no"
69957 rm -f conftest.err conftest.$ac_objext \
69958 conftest$ac_exeext conftest.$ac_ext
69960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69962 if test `eval echo '${'$as_ac_var'}'` = yes; then
69963 cat >>confdefs.h <<_ACEOF
69964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69965 _ACEOF
69968 done
69970 else
69972 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69973 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69974 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69975 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69976 echo $ECHO_N "(cached) $ECHO_C" >&6
69977 else
69981 ac_ext=cc
69982 ac_cpp='$CXXCPP $CPPFLAGS'
69983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69987 cat >conftest.$ac_ext <<_ACEOF
69988 /* confdefs.h. */
69989 _ACEOF
69990 cat confdefs.h >>conftest.$ac_ext
69991 cat >>conftest.$ac_ext <<_ACEOF
69992 /* end confdefs.h. */
69993 #include <math.h>
69995 main ()
69997 _sincosl(0, 0, 0);
69999 return 0;
70001 _ACEOF
70002 rm -f conftest.$ac_objext
70003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70004 (eval $ac_compile) 2>conftest.er1
70005 ac_status=$?
70006 grep -v '^ *+' conftest.er1 >conftest.err
70007 rm -f conftest.er1
70008 cat conftest.err >&5
70009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70010 (exit $ac_status); } &&
70011 { ac_try='test -z "$ac_cxx_werror_flag"
70012 || test ! -s conftest.err'
70013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70014 (eval $ac_try) 2>&5
70015 ac_status=$?
70016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70017 (exit $ac_status); }; } &&
70018 { ac_try='test -s conftest.$ac_objext'
70019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70020 (eval $ac_try) 2>&5
70021 ac_status=$?
70022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70023 (exit $ac_status); }; }; then
70024 glibcxx_cv_func__sincosl_use=yes
70025 else
70026 echo "$as_me: failed program was:" >&5
70027 sed 's/^/| /' conftest.$ac_ext >&5
70029 glibcxx_cv_func__sincosl_use=no
70031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70032 ac_ext=c
70033 ac_cpp='$CPP $CPPFLAGS'
70034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70042 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
70043 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
70045 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70047 for ac_func in _sincosl
70049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70050 echo "$as_me:$LINENO: checking for $ac_func" >&5
70051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70052 if eval "test \"\${$as_ac_var+set}\" = set"; then
70053 echo $ECHO_N "(cached) $ECHO_C" >&6
70054 else
70055 if test x$gcc_no_link = xyes; then
70056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70058 { (exit 1); exit 1; }; }
70060 cat >conftest.$ac_ext <<_ACEOF
70061 /* confdefs.h. */
70062 _ACEOF
70063 cat confdefs.h >>conftest.$ac_ext
70064 cat >>conftest.$ac_ext <<_ACEOF
70065 /* end confdefs.h. */
70066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70068 #define $ac_func innocuous_$ac_func
70070 /* System header to define __stub macros and hopefully few prototypes,
70071 which can conflict with char $ac_func (); below.
70072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70073 <limits.h> exists even on freestanding compilers. */
70075 #ifdef __STDC__
70076 # include <limits.h>
70077 #else
70078 # include <assert.h>
70079 #endif
70081 #undef $ac_func
70083 /* Override any gcc2 internal prototype to avoid an error. */
70084 #ifdef __cplusplus
70085 extern "C"
70087 #endif
70088 /* We use char because int might match the return type of a gcc2
70089 builtin and then its argument prototype would still apply. */
70090 char $ac_func ();
70091 /* The GNU C library defines this for functions which it implements
70092 to always fail with ENOSYS. Some functions are actually named
70093 something starting with __ and the normal name is an alias. */
70094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70095 choke me
70096 #else
70097 char (*f) () = $ac_func;
70098 #endif
70099 #ifdef __cplusplus
70101 #endif
70104 main ()
70106 return f != $ac_func;
70108 return 0;
70110 _ACEOF
70111 rm -f conftest.$ac_objext conftest$ac_exeext
70112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70113 (eval $ac_link) 2>conftest.er1
70114 ac_status=$?
70115 grep -v '^ *+' conftest.er1 >conftest.err
70116 rm -f conftest.er1
70117 cat conftest.err >&5
70118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70119 (exit $ac_status); } &&
70120 { ac_try='test -z "$ac_c_werror_flag"
70121 || test ! -s conftest.err'
70122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70123 (eval $ac_try) 2>&5
70124 ac_status=$?
70125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70126 (exit $ac_status); }; } &&
70127 { ac_try='test -s conftest$ac_exeext'
70128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70129 (eval $ac_try) 2>&5
70130 ac_status=$?
70131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70132 (exit $ac_status); }; }; then
70133 eval "$as_ac_var=yes"
70134 else
70135 echo "$as_me: failed program was:" >&5
70136 sed 's/^/| /' conftest.$ac_ext >&5
70138 eval "$as_ac_var=no"
70140 rm -f conftest.err conftest.$ac_objext \
70141 conftest$ac_exeext conftest.$ac_ext
70143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70145 if test `eval echo '${'$as_ac_var'}'` = yes; then
70146 cat >>confdefs.h <<_ACEOF
70147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70148 _ACEOF
70151 done
70161 echo "$as_me:$LINENO: checking for finitel declaration" >&5
70162 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
70163 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70164 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
70165 echo $ECHO_N "(cached) $ECHO_C" >&6
70166 else
70170 ac_ext=cc
70171 ac_cpp='$CXXCPP $CPPFLAGS'
70172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70176 cat >conftest.$ac_ext <<_ACEOF
70177 /* confdefs.h. */
70178 _ACEOF
70179 cat confdefs.h >>conftest.$ac_ext
70180 cat >>conftest.$ac_ext <<_ACEOF
70181 /* end confdefs.h. */
70182 #include <math.h>
70183 #ifdef HAVE_IEEEFP_H
70184 #include <ieeefp.h>
70185 #endif
70188 main ()
70190 finitel(0);
70192 return 0;
70194 _ACEOF
70195 rm -f conftest.$ac_objext
70196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70197 (eval $ac_compile) 2>conftest.er1
70198 ac_status=$?
70199 grep -v '^ *+' conftest.er1 >conftest.err
70200 rm -f conftest.er1
70201 cat conftest.err >&5
70202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70203 (exit $ac_status); } &&
70204 { ac_try='test -z "$ac_cxx_werror_flag"
70205 || test ! -s conftest.err'
70206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70207 (eval $ac_try) 2>&5
70208 ac_status=$?
70209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70210 (exit $ac_status); }; } &&
70211 { ac_try='test -s conftest.$ac_objext'
70212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70213 (eval $ac_try) 2>&5
70214 ac_status=$?
70215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70216 (exit $ac_status); }; }; then
70217 glibcxx_cv_func_finitel_use=yes
70218 else
70219 echo "$as_me: failed program was:" >&5
70220 sed 's/^/| /' conftest.$ac_ext >&5
70222 glibcxx_cv_func_finitel_use=no
70224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70225 ac_ext=c
70226 ac_cpp='$CPP $CPPFLAGS'
70227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70235 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70236 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70238 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70240 for ac_func in finitel
70242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70243 echo "$as_me:$LINENO: checking for $ac_func" >&5
70244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70245 if eval "test \"\${$as_ac_var+set}\" = set"; then
70246 echo $ECHO_N "(cached) $ECHO_C" >&6
70247 else
70248 if test x$gcc_no_link = xyes; then
70249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70251 { (exit 1); exit 1; }; }
70253 cat >conftest.$ac_ext <<_ACEOF
70254 /* confdefs.h. */
70255 _ACEOF
70256 cat confdefs.h >>conftest.$ac_ext
70257 cat >>conftest.$ac_ext <<_ACEOF
70258 /* end confdefs.h. */
70259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70261 #define $ac_func innocuous_$ac_func
70263 /* System header to define __stub macros and hopefully few prototypes,
70264 which can conflict with char $ac_func (); below.
70265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70266 <limits.h> exists even on freestanding compilers. */
70268 #ifdef __STDC__
70269 # include <limits.h>
70270 #else
70271 # include <assert.h>
70272 #endif
70274 #undef $ac_func
70276 /* Override any gcc2 internal prototype to avoid an error. */
70277 #ifdef __cplusplus
70278 extern "C"
70280 #endif
70281 /* We use char because int might match the return type of a gcc2
70282 builtin and then its argument prototype would still apply. */
70283 char $ac_func ();
70284 /* The GNU C library defines this for functions which it implements
70285 to always fail with ENOSYS. Some functions are actually named
70286 something starting with __ and the normal name is an alias. */
70287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70288 choke me
70289 #else
70290 char (*f) () = $ac_func;
70291 #endif
70292 #ifdef __cplusplus
70294 #endif
70297 main ()
70299 return f != $ac_func;
70301 return 0;
70303 _ACEOF
70304 rm -f conftest.$ac_objext conftest$ac_exeext
70305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70306 (eval $ac_link) 2>conftest.er1
70307 ac_status=$?
70308 grep -v '^ *+' conftest.er1 >conftest.err
70309 rm -f conftest.er1
70310 cat conftest.err >&5
70311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70312 (exit $ac_status); } &&
70313 { ac_try='test -z "$ac_c_werror_flag"
70314 || test ! -s conftest.err'
70315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70316 (eval $ac_try) 2>&5
70317 ac_status=$?
70318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70319 (exit $ac_status); }; } &&
70320 { ac_try='test -s conftest$ac_exeext'
70321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70322 (eval $ac_try) 2>&5
70323 ac_status=$?
70324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70325 (exit $ac_status); }; }; then
70326 eval "$as_ac_var=yes"
70327 else
70328 echo "$as_me: failed program was:" >&5
70329 sed 's/^/| /' conftest.$ac_ext >&5
70331 eval "$as_ac_var=no"
70333 rm -f conftest.err conftest.$ac_objext \
70334 conftest$ac_exeext conftest.$ac_ext
70336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70338 if test `eval echo '${'$as_ac_var'}'` = yes; then
70339 cat >>confdefs.h <<_ACEOF
70340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70341 _ACEOF
70344 done
70346 else
70348 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70349 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70350 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70351 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70352 echo $ECHO_N "(cached) $ECHO_C" >&6
70353 else
70357 ac_ext=cc
70358 ac_cpp='$CXXCPP $CPPFLAGS'
70359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70363 cat >conftest.$ac_ext <<_ACEOF
70364 /* confdefs.h. */
70365 _ACEOF
70366 cat confdefs.h >>conftest.$ac_ext
70367 cat >>conftest.$ac_ext <<_ACEOF
70368 /* end confdefs.h. */
70369 #include <math.h>
70370 #ifdef HAVE_IEEEFP_H
70371 #include <ieeefp.h>
70372 #endif
70375 main ()
70377 _finitel(0);
70379 return 0;
70381 _ACEOF
70382 rm -f conftest.$ac_objext
70383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70384 (eval $ac_compile) 2>conftest.er1
70385 ac_status=$?
70386 grep -v '^ *+' conftest.er1 >conftest.err
70387 rm -f conftest.er1
70388 cat conftest.err >&5
70389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70390 (exit $ac_status); } &&
70391 { ac_try='test -z "$ac_cxx_werror_flag"
70392 || test ! -s conftest.err'
70393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70394 (eval $ac_try) 2>&5
70395 ac_status=$?
70396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70397 (exit $ac_status); }; } &&
70398 { ac_try='test -s conftest.$ac_objext'
70399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70400 (eval $ac_try) 2>&5
70401 ac_status=$?
70402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70403 (exit $ac_status); }; }; then
70404 glibcxx_cv_func__finitel_use=yes
70405 else
70406 echo "$as_me: failed program was:" >&5
70407 sed 's/^/| /' conftest.$ac_ext >&5
70409 glibcxx_cv_func__finitel_use=no
70411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70412 ac_ext=c
70413 ac_cpp='$CPP $CPPFLAGS'
70414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70422 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70423 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70425 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70427 for ac_func in _finitel
70429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70430 echo "$as_me:$LINENO: checking for $ac_func" >&5
70431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70432 if eval "test \"\${$as_ac_var+set}\" = set"; then
70433 echo $ECHO_N "(cached) $ECHO_C" >&6
70434 else
70435 if test x$gcc_no_link = xyes; then
70436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70438 { (exit 1); exit 1; }; }
70440 cat >conftest.$ac_ext <<_ACEOF
70441 /* confdefs.h. */
70442 _ACEOF
70443 cat confdefs.h >>conftest.$ac_ext
70444 cat >>conftest.$ac_ext <<_ACEOF
70445 /* end confdefs.h. */
70446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70448 #define $ac_func innocuous_$ac_func
70450 /* System header to define __stub macros and hopefully few prototypes,
70451 which can conflict with char $ac_func (); below.
70452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70453 <limits.h> exists even on freestanding compilers. */
70455 #ifdef __STDC__
70456 # include <limits.h>
70457 #else
70458 # include <assert.h>
70459 #endif
70461 #undef $ac_func
70463 /* Override any gcc2 internal prototype to avoid an error. */
70464 #ifdef __cplusplus
70465 extern "C"
70467 #endif
70468 /* We use char because int might match the return type of a gcc2
70469 builtin and then its argument prototype would still apply. */
70470 char $ac_func ();
70471 /* The GNU C library defines this for functions which it implements
70472 to always fail with ENOSYS. Some functions are actually named
70473 something starting with __ and the normal name is an alias. */
70474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70475 choke me
70476 #else
70477 char (*f) () = $ac_func;
70478 #endif
70479 #ifdef __cplusplus
70481 #endif
70484 main ()
70486 return f != $ac_func;
70488 return 0;
70490 _ACEOF
70491 rm -f conftest.$ac_objext conftest$ac_exeext
70492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70493 (eval $ac_link) 2>conftest.er1
70494 ac_status=$?
70495 grep -v '^ *+' conftest.er1 >conftest.err
70496 rm -f conftest.er1
70497 cat conftest.err >&5
70498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70499 (exit $ac_status); } &&
70500 { ac_try='test -z "$ac_c_werror_flag"
70501 || test ! -s conftest.err'
70502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70503 (eval $ac_try) 2>&5
70504 ac_status=$?
70505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70506 (exit $ac_status); }; } &&
70507 { ac_try='test -s conftest$ac_exeext'
70508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70509 (eval $ac_try) 2>&5
70510 ac_status=$?
70511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70512 (exit $ac_status); }; }; then
70513 eval "$as_ac_var=yes"
70514 else
70515 echo "$as_me: failed program was:" >&5
70516 sed 's/^/| /' conftest.$ac_ext >&5
70518 eval "$as_ac_var=no"
70520 rm -f conftest.err conftest.$ac_objext \
70521 conftest$ac_exeext conftest.$ac_ext
70523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70525 if test `eval echo '${'$as_ac_var'}'` = yes; then
70526 cat >>confdefs.h <<_ACEOF
70527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70528 _ACEOF
70531 done
70540 LIBS="$ac_save_LIBS"
70541 CXXFLAGS="$ac_save_CXXFLAGS"
70545 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70546 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70547 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70548 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70549 echo $ECHO_N "(cached) $ECHO_C" >&6
70550 else
70554 ac_ext=cc
70555 ac_cpp='$CXXCPP $CPPFLAGS'
70556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70560 cat >conftest.$ac_ext <<_ACEOF
70561 /* confdefs.h. */
70562 _ACEOF
70563 cat confdefs.h >>conftest.$ac_ext
70564 cat >>conftest.$ac_ext <<_ACEOF
70565 /* end confdefs.h. */
70566 #include <math.h>
70568 main ()
70570 __builtin_abs(0);
70572 return 0;
70574 _ACEOF
70575 rm -f conftest.$ac_objext
70576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70577 (eval $ac_compile) 2>conftest.er1
70578 ac_status=$?
70579 grep -v '^ *+' conftest.er1 >conftest.err
70580 rm -f conftest.er1
70581 cat conftest.err >&5
70582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70583 (exit $ac_status); } &&
70584 { ac_try='test -z "$ac_cxx_werror_flag"
70585 || test ! -s conftest.err'
70586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70587 (eval $ac_try) 2>&5
70588 ac_status=$?
70589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70590 (exit $ac_status); }; } &&
70591 { ac_try='test -s conftest.$ac_objext'
70592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70593 (eval $ac_try) 2>&5
70594 ac_status=$?
70595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70596 (exit $ac_status); }; }; then
70597 glibcxx_cv_func___builtin_abs_use=yes
70598 else
70599 echo "$as_me: failed program was:" >&5
70600 sed 's/^/| /' conftest.$ac_ext >&5
70602 glibcxx_cv_func___builtin_abs_use=no
70604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70605 ac_ext=c
70606 ac_cpp='$CPP $CPPFLAGS'
70607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70615 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70616 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70617 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70618 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70619 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70620 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70621 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70622 echo $ECHO_N "(cached) $ECHO_C" >&6
70623 else
70625 if test x$gcc_no_link = xyes; then
70626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70628 { (exit 1); exit 1; }; }
70630 cat >conftest.$ac_ext <<_ACEOF
70631 /* confdefs.h. */
70632 _ACEOF
70633 cat confdefs.h >>conftest.$ac_ext
70634 cat >>conftest.$ac_ext <<_ACEOF
70635 /* end confdefs.h. */
70636 #include <math.h>
70638 main ()
70640 __builtin_abs(0);
70642 return 0;
70644 _ACEOF
70645 rm -f conftest.$ac_objext conftest$ac_exeext
70646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70647 (eval $ac_link) 2>conftest.er1
70648 ac_status=$?
70649 grep -v '^ *+' conftest.er1 >conftest.err
70650 rm -f conftest.er1
70651 cat conftest.err >&5
70652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70653 (exit $ac_status); } &&
70654 { ac_try='test -z "$ac_c_werror_flag"
70655 || test ! -s conftest.err'
70656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70657 (eval $ac_try) 2>&5
70658 ac_status=$?
70659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70660 (exit $ac_status); }; } &&
70661 { ac_try='test -s conftest$ac_exeext'
70662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70663 (eval $ac_try) 2>&5
70664 ac_status=$?
70665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70666 (exit $ac_status); }; }; then
70667 glibcxx_cv_func___builtin_abs_link=yes
70668 else
70669 echo "$as_me: failed program was:" >&5
70670 sed 's/^/| /' conftest.$ac_ext >&5
70672 glibcxx_cv_func___builtin_abs_link=no
70674 rm -f conftest.err conftest.$ac_objext \
70675 conftest$ac_exeext conftest.$ac_ext
70680 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70681 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70683 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70685 cat >>confdefs.h <<\_ACEOF
70686 #define HAVE___BUILTIN_ABS 1
70687 _ACEOF
70694 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70695 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70696 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70697 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70698 echo $ECHO_N "(cached) $ECHO_C" >&6
70699 else
70703 ac_ext=cc
70704 ac_cpp='$CXXCPP $CPPFLAGS'
70705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70709 cat >conftest.$ac_ext <<_ACEOF
70710 /* confdefs.h. */
70711 _ACEOF
70712 cat confdefs.h >>conftest.$ac_ext
70713 cat >>conftest.$ac_ext <<_ACEOF
70714 /* end confdefs.h. */
70715 #include <math.h>
70717 main ()
70719 __builtin_fabsf(0);
70721 return 0;
70723 _ACEOF
70724 rm -f conftest.$ac_objext
70725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70726 (eval $ac_compile) 2>conftest.er1
70727 ac_status=$?
70728 grep -v '^ *+' conftest.er1 >conftest.err
70729 rm -f conftest.er1
70730 cat conftest.err >&5
70731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70732 (exit $ac_status); } &&
70733 { ac_try='test -z "$ac_cxx_werror_flag"
70734 || test ! -s conftest.err'
70735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70736 (eval $ac_try) 2>&5
70737 ac_status=$?
70738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70739 (exit $ac_status); }; } &&
70740 { ac_try='test -s conftest.$ac_objext'
70741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70742 (eval $ac_try) 2>&5
70743 ac_status=$?
70744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70745 (exit $ac_status); }; }; then
70746 glibcxx_cv_func___builtin_fabsf_use=yes
70747 else
70748 echo "$as_me: failed program was:" >&5
70749 sed 's/^/| /' conftest.$ac_ext >&5
70751 glibcxx_cv_func___builtin_fabsf_use=no
70753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70754 ac_ext=c
70755 ac_cpp='$CPP $CPPFLAGS'
70756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70764 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70765 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70766 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70767 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70768 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70769 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70770 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70771 echo $ECHO_N "(cached) $ECHO_C" >&6
70772 else
70774 if test x$gcc_no_link = xyes; then
70775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70777 { (exit 1); exit 1; }; }
70779 cat >conftest.$ac_ext <<_ACEOF
70780 /* confdefs.h. */
70781 _ACEOF
70782 cat confdefs.h >>conftest.$ac_ext
70783 cat >>conftest.$ac_ext <<_ACEOF
70784 /* end confdefs.h. */
70785 #include <math.h>
70787 main ()
70789 __builtin_fabsf(0);
70791 return 0;
70793 _ACEOF
70794 rm -f conftest.$ac_objext conftest$ac_exeext
70795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70796 (eval $ac_link) 2>conftest.er1
70797 ac_status=$?
70798 grep -v '^ *+' conftest.er1 >conftest.err
70799 rm -f conftest.er1
70800 cat conftest.err >&5
70801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70802 (exit $ac_status); } &&
70803 { ac_try='test -z "$ac_c_werror_flag"
70804 || test ! -s conftest.err'
70805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70806 (eval $ac_try) 2>&5
70807 ac_status=$?
70808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70809 (exit $ac_status); }; } &&
70810 { ac_try='test -s conftest$ac_exeext'
70811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70812 (eval $ac_try) 2>&5
70813 ac_status=$?
70814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70815 (exit $ac_status); }; }; then
70816 glibcxx_cv_func___builtin_fabsf_link=yes
70817 else
70818 echo "$as_me: failed program was:" >&5
70819 sed 's/^/| /' conftest.$ac_ext >&5
70821 glibcxx_cv_func___builtin_fabsf_link=no
70823 rm -f conftest.err conftest.$ac_objext \
70824 conftest$ac_exeext conftest.$ac_ext
70829 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70830 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70832 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70834 cat >>confdefs.h <<\_ACEOF
70835 #define HAVE___BUILTIN_FABSF 1
70836 _ACEOF
70843 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70844 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70845 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70846 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70847 echo $ECHO_N "(cached) $ECHO_C" >&6
70848 else
70852 ac_ext=cc
70853 ac_cpp='$CXXCPP $CPPFLAGS'
70854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70858 cat >conftest.$ac_ext <<_ACEOF
70859 /* confdefs.h. */
70860 _ACEOF
70861 cat confdefs.h >>conftest.$ac_ext
70862 cat >>conftest.$ac_ext <<_ACEOF
70863 /* end confdefs.h. */
70864 #include <math.h>
70866 main ()
70868 __builtin_fabs(0);
70870 return 0;
70872 _ACEOF
70873 rm -f conftest.$ac_objext
70874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70875 (eval $ac_compile) 2>conftest.er1
70876 ac_status=$?
70877 grep -v '^ *+' conftest.er1 >conftest.err
70878 rm -f conftest.er1
70879 cat conftest.err >&5
70880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70881 (exit $ac_status); } &&
70882 { ac_try='test -z "$ac_cxx_werror_flag"
70883 || test ! -s conftest.err'
70884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70885 (eval $ac_try) 2>&5
70886 ac_status=$?
70887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70888 (exit $ac_status); }; } &&
70889 { ac_try='test -s conftest.$ac_objext'
70890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70891 (eval $ac_try) 2>&5
70892 ac_status=$?
70893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70894 (exit $ac_status); }; }; then
70895 glibcxx_cv_func___builtin_fabs_use=yes
70896 else
70897 echo "$as_me: failed program was:" >&5
70898 sed 's/^/| /' conftest.$ac_ext >&5
70900 glibcxx_cv_func___builtin_fabs_use=no
70902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70903 ac_ext=c
70904 ac_cpp='$CPP $CPPFLAGS'
70905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70913 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70914 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70915 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70916 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70917 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70918 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70919 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70920 echo $ECHO_N "(cached) $ECHO_C" >&6
70921 else
70923 if test x$gcc_no_link = xyes; then
70924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70926 { (exit 1); exit 1; }; }
70928 cat >conftest.$ac_ext <<_ACEOF
70929 /* confdefs.h. */
70930 _ACEOF
70931 cat confdefs.h >>conftest.$ac_ext
70932 cat >>conftest.$ac_ext <<_ACEOF
70933 /* end confdefs.h. */
70934 #include <math.h>
70936 main ()
70938 __builtin_fabs(0);
70940 return 0;
70942 _ACEOF
70943 rm -f conftest.$ac_objext conftest$ac_exeext
70944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70945 (eval $ac_link) 2>conftest.er1
70946 ac_status=$?
70947 grep -v '^ *+' conftest.er1 >conftest.err
70948 rm -f conftest.er1
70949 cat conftest.err >&5
70950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70951 (exit $ac_status); } &&
70952 { ac_try='test -z "$ac_c_werror_flag"
70953 || test ! -s conftest.err'
70954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70955 (eval $ac_try) 2>&5
70956 ac_status=$?
70957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70958 (exit $ac_status); }; } &&
70959 { ac_try='test -s conftest$ac_exeext'
70960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70961 (eval $ac_try) 2>&5
70962 ac_status=$?
70963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70964 (exit $ac_status); }; }; then
70965 glibcxx_cv_func___builtin_fabs_link=yes
70966 else
70967 echo "$as_me: failed program was:" >&5
70968 sed 's/^/| /' conftest.$ac_ext >&5
70970 glibcxx_cv_func___builtin_fabs_link=no
70972 rm -f conftest.err conftest.$ac_objext \
70973 conftest$ac_exeext conftest.$ac_ext
70978 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70979 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70981 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70983 cat >>confdefs.h <<\_ACEOF
70984 #define HAVE___BUILTIN_FABS 1
70985 _ACEOF
70992 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70993 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70994 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70995 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70996 echo $ECHO_N "(cached) $ECHO_C" >&6
70997 else
71001 ac_ext=cc
71002 ac_cpp='$CXXCPP $CPPFLAGS'
71003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71007 cat >conftest.$ac_ext <<_ACEOF
71008 /* confdefs.h. */
71009 _ACEOF
71010 cat confdefs.h >>conftest.$ac_ext
71011 cat >>conftest.$ac_ext <<_ACEOF
71012 /* end confdefs.h. */
71013 #include <math.h>
71015 main ()
71017 __builtin_fabsl(0);
71019 return 0;
71021 _ACEOF
71022 rm -f conftest.$ac_objext
71023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71024 (eval $ac_compile) 2>conftest.er1
71025 ac_status=$?
71026 grep -v '^ *+' conftest.er1 >conftest.err
71027 rm -f conftest.er1
71028 cat conftest.err >&5
71029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71030 (exit $ac_status); } &&
71031 { ac_try='test -z "$ac_cxx_werror_flag"
71032 || test ! -s conftest.err'
71033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71034 (eval $ac_try) 2>&5
71035 ac_status=$?
71036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71037 (exit $ac_status); }; } &&
71038 { ac_try='test -s conftest.$ac_objext'
71039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71040 (eval $ac_try) 2>&5
71041 ac_status=$?
71042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71043 (exit $ac_status); }; }; then
71044 glibcxx_cv_func___builtin_fabsl_use=yes
71045 else
71046 echo "$as_me: failed program was:" >&5
71047 sed 's/^/| /' conftest.$ac_ext >&5
71049 glibcxx_cv_func___builtin_fabsl_use=no
71051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71052 ac_ext=c
71053 ac_cpp='$CPP $CPPFLAGS'
71054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71062 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71063 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71064 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71065 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71066 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71067 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71068 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71069 echo $ECHO_N "(cached) $ECHO_C" >&6
71070 else
71072 if test x$gcc_no_link = xyes; then
71073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71075 { (exit 1); exit 1; }; }
71077 cat >conftest.$ac_ext <<_ACEOF
71078 /* confdefs.h. */
71079 _ACEOF
71080 cat confdefs.h >>conftest.$ac_ext
71081 cat >>conftest.$ac_ext <<_ACEOF
71082 /* end confdefs.h. */
71083 #include <math.h>
71085 main ()
71087 __builtin_fabsl(0);
71089 return 0;
71091 _ACEOF
71092 rm -f conftest.$ac_objext conftest$ac_exeext
71093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71094 (eval $ac_link) 2>conftest.er1
71095 ac_status=$?
71096 grep -v '^ *+' conftest.er1 >conftest.err
71097 rm -f conftest.er1
71098 cat conftest.err >&5
71099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71100 (exit $ac_status); } &&
71101 { ac_try='test -z "$ac_c_werror_flag"
71102 || test ! -s conftest.err'
71103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71104 (eval $ac_try) 2>&5
71105 ac_status=$?
71106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71107 (exit $ac_status); }; } &&
71108 { ac_try='test -s conftest$ac_exeext'
71109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71110 (eval $ac_try) 2>&5
71111 ac_status=$?
71112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71113 (exit $ac_status); }; }; then
71114 glibcxx_cv_func___builtin_fabsl_link=yes
71115 else
71116 echo "$as_me: failed program was:" >&5
71117 sed 's/^/| /' conftest.$ac_ext >&5
71119 glibcxx_cv_func___builtin_fabsl_link=no
71121 rm -f conftest.err conftest.$ac_objext \
71122 conftest$ac_exeext conftest.$ac_ext
71127 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71128 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71130 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71132 cat >>confdefs.h <<\_ACEOF
71133 #define HAVE___BUILTIN_FABSL 1
71134 _ACEOF
71141 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71142 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71143 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71144 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71145 echo $ECHO_N "(cached) $ECHO_C" >&6
71146 else
71150 ac_ext=cc
71151 ac_cpp='$CXXCPP $CPPFLAGS'
71152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71156 cat >conftest.$ac_ext <<_ACEOF
71157 /* confdefs.h. */
71158 _ACEOF
71159 cat confdefs.h >>conftest.$ac_ext
71160 cat >>conftest.$ac_ext <<_ACEOF
71161 /* end confdefs.h. */
71162 #include <math.h>
71164 main ()
71166 __builtin_labs(0);
71168 return 0;
71170 _ACEOF
71171 rm -f conftest.$ac_objext
71172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71173 (eval $ac_compile) 2>conftest.er1
71174 ac_status=$?
71175 grep -v '^ *+' conftest.er1 >conftest.err
71176 rm -f conftest.er1
71177 cat conftest.err >&5
71178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71179 (exit $ac_status); } &&
71180 { ac_try='test -z "$ac_cxx_werror_flag"
71181 || test ! -s conftest.err'
71182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71183 (eval $ac_try) 2>&5
71184 ac_status=$?
71185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71186 (exit $ac_status); }; } &&
71187 { ac_try='test -s conftest.$ac_objext'
71188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71189 (eval $ac_try) 2>&5
71190 ac_status=$?
71191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71192 (exit $ac_status); }; }; then
71193 glibcxx_cv_func___builtin_labs_use=yes
71194 else
71195 echo "$as_me: failed program was:" >&5
71196 sed 's/^/| /' conftest.$ac_ext >&5
71198 glibcxx_cv_func___builtin_labs_use=no
71200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71201 ac_ext=c
71202 ac_cpp='$CPP $CPPFLAGS'
71203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71211 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71212 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71213 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71214 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71215 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71216 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71217 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71218 echo $ECHO_N "(cached) $ECHO_C" >&6
71219 else
71221 if test x$gcc_no_link = xyes; then
71222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71224 { (exit 1); exit 1; }; }
71226 cat >conftest.$ac_ext <<_ACEOF
71227 /* confdefs.h. */
71228 _ACEOF
71229 cat confdefs.h >>conftest.$ac_ext
71230 cat >>conftest.$ac_ext <<_ACEOF
71231 /* end confdefs.h. */
71232 #include <math.h>
71234 main ()
71236 __builtin_labs(0);
71238 return 0;
71240 _ACEOF
71241 rm -f conftest.$ac_objext conftest$ac_exeext
71242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71243 (eval $ac_link) 2>conftest.er1
71244 ac_status=$?
71245 grep -v '^ *+' conftest.er1 >conftest.err
71246 rm -f conftest.er1
71247 cat conftest.err >&5
71248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71249 (exit $ac_status); } &&
71250 { ac_try='test -z "$ac_c_werror_flag"
71251 || test ! -s conftest.err'
71252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71253 (eval $ac_try) 2>&5
71254 ac_status=$?
71255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71256 (exit $ac_status); }; } &&
71257 { ac_try='test -s conftest$ac_exeext'
71258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71259 (eval $ac_try) 2>&5
71260 ac_status=$?
71261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71262 (exit $ac_status); }; }; then
71263 glibcxx_cv_func___builtin_labs_link=yes
71264 else
71265 echo "$as_me: failed program was:" >&5
71266 sed 's/^/| /' conftest.$ac_ext >&5
71268 glibcxx_cv_func___builtin_labs_link=no
71270 rm -f conftest.err conftest.$ac_objext \
71271 conftest$ac_exeext conftest.$ac_ext
71276 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71277 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71279 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71281 cat >>confdefs.h <<\_ACEOF
71282 #define HAVE___BUILTIN_LABS 1
71283 _ACEOF
71291 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71292 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71293 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71294 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71295 echo $ECHO_N "(cached) $ECHO_C" >&6
71296 else
71300 ac_ext=cc
71301 ac_cpp='$CXXCPP $CPPFLAGS'
71302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71306 cat >conftest.$ac_ext <<_ACEOF
71307 /* confdefs.h. */
71308 _ACEOF
71309 cat confdefs.h >>conftest.$ac_ext
71310 cat >>conftest.$ac_ext <<_ACEOF
71311 /* end confdefs.h. */
71312 #include <math.h>
71314 main ()
71316 __builtin_sqrtf(0);
71318 return 0;
71320 _ACEOF
71321 rm -f conftest.$ac_objext
71322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71323 (eval $ac_compile) 2>conftest.er1
71324 ac_status=$?
71325 grep -v '^ *+' conftest.er1 >conftest.err
71326 rm -f conftest.er1
71327 cat conftest.err >&5
71328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71329 (exit $ac_status); } &&
71330 { ac_try='test -z "$ac_cxx_werror_flag"
71331 || test ! -s conftest.err'
71332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71333 (eval $ac_try) 2>&5
71334 ac_status=$?
71335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71336 (exit $ac_status); }; } &&
71337 { ac_try='test -s conftest.$ac_objext'
71338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71339 (eval $ac_try) 2>&5
71340 ac_status=$?
71341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71342 (exit $ac_status); }; }; then
71343 glibcxx_cv_func___builtin_sqrtf_use=yes
71344 else
71345 echo "$as_me: failed program was:" >&5
71346 sed 's/^/| /' conftest.$ac_ext >&5
71348 glibcxx_cv_func___builtin_sqrtf_use=no
71350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71351 ac_ext=c
71352 ac_cpp='$CPP $CPPFLAGS'
71353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71361 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71362 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71363 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71364 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71365 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71366 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71367 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71368 echo $ECHO_N "(cached) $ECHO_C" >&6
71369 else
71371 if test x$gcc_no_link = xyes; then
71372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71374 { (exit 1); exit 1; }; }
71376 cat >conftest.$ac_ext <<_ACEOF
71377 /* confdefs.h. */
71378 _ACEOF
71379 cat confdefs.h >>conftest.$ac_ext
71380 cat >>conftest.$ac_ext <<_ACEOF
71381 /* end confdefs.h. */
71382 #include <math.h>
71384 main ()
71386 __builtin_sqrtf(0);
71388 return 0;
71390 _ACEOF
71391 rm -f conftest.$ac_objext conftest$ac_exeext
71392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71393 (eval $ac_link) 2>conftest.er1
71394 ac_status=$?
71395 grep -v '^ *+' conftest.er1 >conftest.err
71396 rm -f conftest.er1
71397 cat conftest.err >&5
71398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71399 (exit $ac_status); } &&
71400 { ac_try='test -z "$ac_c_werror_flag"
71401 || test ! -s conftest.err'
71402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71403 (eval $ac_try) 2>&5
71404 ac_status=$?
71405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71406 (exit $ac_status); }; } &&
71407 { ac_try='test -s conftest$ac_exeext'
71408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71409 (eval $ac_try) 2>&5
71410 ac_status=$?
71411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71412 (exit $ac_status); }; }; then
71413 glibcxx_cv_func___builtin_sqrtf_link=yes
71414 else
71415 echo "$as_me: failed program was:" >&5
71416 sed 's/^/| /' conftest.$ac_ext >&5
71418 glibcxx_cv_func___builtin_sqrtf_link=no
71420 rm -f conftest.err conftest.$ac_objext \
71421 conftest$ac_exeext conftest.$ac_ext
71426 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71427 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71429 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71431 cat >>confdefs.h <<\_ACEOF
71432 #define HAVE___BUILTIN_SQRTF 1
71433 _ACEOF
71440 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71441 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71442 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71443 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71444 echo $ECHO_N "(cached) $ECHO_C" >&6
71445 else
71449 ac_ext=cc
71450 ac_cpp='$CXXCPP $CPPFLAGS'
71451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71455 cat >conftest.$ac_ext <<_ACEOF
71456 /* confdefs.h. */
71457 _ACEOF
71458 cat confdefs.h >>conftest.$ac_ext
71459 cat >>conftest.$ac_ext <<_ACEOF
71460 /* end confdefs.h. */
71461 #include <math.h>
71463 main ()
71465 __builtin_sqrt(0);
71467 return 0;
71469 _ACEOF
71470 rm -f conftest.$ac_objext
71471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71472 (eval $ac_compile) 2>conftest.er1
71473 ac_status=$?
71474 grep -v '^ *+' conftest.er1 >conftest.err
71475 rm -f conftest.er1
71476 cat conftest.err >&5
71477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71478 (exit $ac_status); } &&
71479 { ac_try='test -z "$ac_cxx_werror_flag"
71480 || test ! -s conftest.err'
71481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71482 (eval $ac_try) 2>&5
71483 ac_status=$?
71484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71485 (exit $ac_status); }; } &&
71486 { ac_try='test -s conftest.$ac_objext'
71487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71488 (eval $ac_try) 2>&5
71489 ac_status=$?
71490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71491 (exit $ac_status); }; }; then
71492 glibcxx_cv_func___builtin_sqrt_use=yes
71493 else
71494 echo "$as_me: failed program was:" >&5
71495 sed 's/^/| /' conftest.$ac_ext >&5
71497 glibcxx_cv_func___builtin_sqrt_use=no
71499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71500 ac_ext=c
71501 ac_cpp='$CPP $CPPFLAGS'
71502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71510 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71511 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71512 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71513 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71514 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71515 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71516 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71517 echo $ECHO_N "(cached) $ECHO_C" >&6
71518 else
71520 if test x$gcc_no_link = xyes; then
71521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71523 { (exit 1); exit 1; }; }
71525 cat >conftest.$ac_ext <<_ACEOF
71526 /* confdefs.h. */
71527 _ACEOF
71528 cat confdefs.h >>conftest.$ac_ext
71529 cat >>conftest.$ac_ext <<_ACEOF
71530 /* end confdefs.h. */
71531 #include <math.h>
71533 main ()
71535 __builtin_sqrt(0);
71537 return 0;
71539 _ACEOF
71540 rm -f conftest.$ac_objext conftest$ac_exeext
71541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71542 (eval $ac_link) 2>conftest.er1
71543 ac_status=$?
71544 grep -v '^ *+' conftest.er1 >conftest.err
71545 rm -f conftest.er1
71546 cat conftest.err >&5
71547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71548 (exit $ac_status); } &&
71549 { ac_try='test -z "$ac_c_werror_flag"
71550 || test ! -s conftest.err'
71551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71552 (eval $ac_try) 2>&5
71553 ac_status=$?
71554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71555 (exit $ac_status); }; } &&
71556 { ac_try='test -s conftest$ac_exeext'
71557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71558 (eval $ac_try) 2>&5
71559 ac_status=$?
71560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71561 (exit $ac_status); }; }; then
71562 glibcxx_cv_func___builtin_sqrt_link=yes
71563 else
71564 echo "$as_me: failed program was:" >&5
71565 sed 's/^/| /' conftest.$ac_ext >&5
71567 glibcxx_cv_func___builtin_sqrt_link=no
71569 rm -f conftest.err conftest.$ac_objext \
71570 conftest$ac_exeext conftest.$ac_ext
71575 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71576 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71578 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71580 cat >>confdefs.h <<\_ACEOF
71581 #define HAVE___BUILTIN_SQRT 1
71582 _ACEOF
71589 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71590 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71591 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71592 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71593 echo $ECHO_N "(cached) $ECHO_C" >&6
71594 else
71598 ac_ext=cc
71599 ac_cpp='$CXXCPP $CPPFLAGS'
71600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71604 cat >conftest.$ac_ext <<_ACEOF
71605 /* confdefs.h. */
71606 _ACEOF
71607 cat confdefs.h >>conftest.$ac_ext
71608 cat >>conftest.$ac_ext <<_ACEOF
71609 /* end confdefs.h. */
71610 #include <math.h>
71612 main ()
71614 __builtin_sqrtl(0);
71616 return 0;
71618 _ACEOF
71619 rm -f conftest.$ac_objext
71620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71621 (eval $ac_compile) 2>conftest.er1
71622 ac_status=$?
71623 grep -v '^ *+' conftest.er1 >conftest.err
71624 rm -f conftest.er1
71625 cat conftest.err >&5
71626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71627 (exit $ac_status); } &&
71628 { ac_try='test -z "$ac_cxx_werror_flag"
71629 || test ! -s conftest.err'
71630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71631 (eval $ac_try) 2>&5
71632 ac_status=$?
71633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71634 (exit $ac_status); }; } &&
71635 { ac_try='test -s conftest.$ac_objext'
71636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71637 (eval $ac_try) 2>&5
71638 ac_status=$?
71639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71640 (exit $ac_status); }; }; then
71641 glibcxx_cv_func___builtin_sqrtl_use=yes
71642 else
71643 echo "$as_me: failed program was:" >&5
71644 sed 's/^/| /' conftest.$ac_ext >&5
71646 glibcxx_cv_func___builtin_sqrtl_use=no
71648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71649 ac_ext=c
71650 ac_cpp='$CPP $CPPFLAGS'
71651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71659 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71660 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71661 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71662 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71663 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71664 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71665 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71666 echo $ECHO_N "(cached) $ECHO_C" >&6
71667 else
71669 if test x$gcc_no_link = xyes; then
71670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71672 { (exit 1); exit 1; }; }
71674 cat >conftest.$ac_ext <<_ACEOF
71675 /* confdefs.h. */
71676 _ACEOF
71677 cat confdefs.h >>conftest.$ac_ext
71678 cat >>conftest.$ac_ext <<_ACEOF
71679 /* end confdefs.h. */
71680 #include <math.h>
71682 main ()
71684 __builtin_sqrtl(0);
71686 return 0;
71688 _ACEOF
71689 rm -f conftest.$ac_objext conftest$ac_exeext
71690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71691 (eval $ac_link) 2>conftest.er1
71692 ac_status=$?
71693 grep -v '^ *+' conftest.er1 >conftest.err
71694 rm -f conftest.er1
71695 cat conftest.err >&5
71696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71697 (exit $ac_status); } &&
71698 { ac_try='test -z "$ac_c_werror_flag"
71699 || test ! -s conftest.err'
71700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71701 (eval $ac_try) 2>&5
71702 ac_status=$?
71703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71704 (exit $ac_status); }; } &&
71705 { ac_try='test -s conftest$ac_exeext'
71706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71707 (eval $ac_try) 2>&5
71708 ac_status=$?
71709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71710 (exit $ac_status); }; }; then
71711 glibcxx_cv_func___builtin_sqrtl_link=yes
71712 else
71713 echo "$as_me: failed program was:" >&5
71714 sed 's/^/| /' conftest.$ac_ext >&5
71716 glibcxx_cv_func___builtin_sqrtl_link=no
71718 rm -f conftest.err conftest.$ac_objext \
71719 conftest$ac_exeext conftest.$ac_ext
71724 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71725 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71727 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71729 cat >>confdefs.h <<\_ACEOF
71730 #define HAVE___BUILTIN_SQRTL 1
71731 _ACEOF
71739 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71740 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71741 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71742 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71743 echo $ECHO_N "(cached) $ECHO_C" >&6
71744 else
71748 ac_ext=cc
71749 ac_cpp='$CXXCPP $CPPFLAGS'
71750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71754 cat >conftest.$ac_ext <<_ACEOF
71755 /* confdefs.h. */
71756 _ACEOF
71757 cat confdefs.h >>conftest.$ac_ext
71758 cat >>conftest.$ac_ext <<_ACEOF
71759 /* end confdefs.h. */
71760 #include <math.h>
71762 main ()
71764 __builtin_sinf(0);
71766 return 0;
71768 _ACEOF
71769 rm -f conftest.$ac_objext
71770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71771 (eval $ac_compile) 2>conftest.er1
71772 ac_status=$?
71773 grep -v '^ *+' conftest.er1 >conftest.err
71774 rm -f conftest.er1
71775 cat conftest.err >&5
71776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71777 (exit $ac_status); } &&
71778 { ac_try='test -z "$ac_cxx_werror_flag"
71779 || test ! -s conftest.err'
71780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71781 (eval $ac_try) 2>&5
71782 ac_status=$?
71783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71784 (exit $ac_status); }; } &&
71785 { ac_try='test -s conftest.$ac_objext'
71786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71787 (eval $ac_try) 2>&5
71788 ac_status=$?
71789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71790 (exit $ac_status); }; }; then
71791 glibcxx_cv_func___builtin_sinf_use=yes
71792 else
71793 echo "$as_me: failed program was:" >&5
71794 sed 's/^/| /' conftest.$ac_ext >&5
71796 glibcxx_cv_func___builtin_sinf_use=no
71798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71799 ac_ext=c
71800 ac_cpp='$CPP $CPPFLAGS'
71801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71809 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71810 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71811 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71812 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71813 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71814 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71815 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71816 echo $ECHO_N "(cached) $ECHO_C" >&6
71817 else
71819 if test x$gcc_no_link = xyes; then
71820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71822 { (exit 1); exit 1; }; }
71824 cat >conftest.$ac_ext <<_ACEOF
71825 /* confdefs.h. */
71826 _ACEOF
71827 cat confdefs.h >>conftest.$ac_ext
71828 cat >>conftest.$ac_ext <<_ACEOF
71829 /* end confdefs.h. */
71830 #include <math.h>
71832 main ()
71834 __builtin_sinf(0);
71836 return 0;
71838 _ACEOF
71839 rm -f conftest.$ac_objext conftest$ac_exeext
71840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71841 (eval $ac_link) 2>conftest.er1
71842 ac_status=$?
71843 grep -v '^ *+' conftest.er1 >conftest.err
71844 rm -f conftest.er1
71845 cat conftest.err >&5
71846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71847 (exit $ac_status); } &&
71848 { ac_try='test -z "$ac_c_werror_flag"
71849 || test ! -s conftest.err'
71850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71851 (eval $ac_try) 2>&5
71852 ac_status=$?
71853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71854 (exit $ac_status); }; } &&
71855 { ac_try='test -s conftest$ac_exeext'
71856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71857 (eval $ac_try) 2>&5
71858 ac_status=$?
71859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71860 (exit $ac_status); }; }; then
71861 glibcxx_cv_func___builtin_sinf_link=yes
71862 else
71863 echo "$as_me: failed program was:" >&5
71864 sed 's/^/| /' conftest.$ac_ext >&5
71866 glibcxx_cv_func___builtin_sinf_link=no
71868 rm -f conftest.err conftest.$ac_objext \
71869 conftest$ac_exeext conftest.$ac_ext
71874 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71875 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71877 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71879 cat >>confdefs.h <<\_ACEOF
71880 #define HAVE___BUILTIN_SINF 1
71881 _ACEOF
71888 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71889 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71890 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71891 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71892 echo $ECHO_N "(cached) $ECHO_C" >&6
71893 else
71897 ac_ext=cc
71898 ac_cpp='$CXXCPP $CPPFLAGS'
71899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71903 cat >conftest.$ac_ext <<_ACEOF
71904 /* confdefs.h. */
71905 _ACEOF
71906 cat confdefs.h >>conftest.$ac_ext
71907 cat >>conftest.$ac_ext <<_ACEOF
71908 /* end confdefs.h. */
71909 #include <math.h>
71911 main ()
71913 __builtin_sin(0);
71915 return 0;
71917 _ACEOF
71918 rm -f conftest.$ac_objext
71919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71920 (eval $ac_compile) 2>conftest.er1
71921 ac_status=$?
71922 grep -v '^ *+' conftest.er1 >conftest.err
71923 rm -f conftest.er1
71924 cat conftest.err >&5
71925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71926 (exit $ac_status); } &&
71927 { ac_try='test -z "$ac_cxx_werror_flag"
71928 || test ! -s conftest.err'
71929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71930 (eval $ac_try) 2>&5
71931 ac_status=$?
71932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71933 (exit $ac_status); }; } &&
71934 { ac_try='test -s conftest.$ac_objext'
71935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71936 (eval $ac_try) 2>&5
71937 ac_status=$?
71938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71939 (exit $ac_status); }; }; then
71940 glibcxx_cv_func___builtin_sin_use=yes
71941 else
71942 echo "$as_me: failed program was:" >&5
71943 sed 's/^/| /' conftest.$ac_ext >&5
71945 glibcxx_cv_func___builtin_sin_use=no
71947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71948 ac_ext=c
71949 ac_cpp='$CPP $CPPFLAGS'
71950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71958 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71959 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71960 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71961 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71962 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71963 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71964 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71965 echo $ECHO_N "(cached) $ECHO_C" >&6
71966 else
71968 if test x$gcc_no_link = xyes; then
71969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71971 { (exit 1); exit 1; }; }
71973 cat >conftest.$ac_ext <<_ACEOF
71974 /* confdefs.h. */
71975 _ACEOF
71976 cat confdefs.h >>conftest.$ac_ext
71977 cat >>conftest.$ac_ext <<_ACEOF
71978 /* end confdefs.h. */
71979 #include <math.h>
71981 main ()
71983 __builtin_sin(0);
71985 return 0;
71987 _ACEOF
71988 rm -f conftest.$ac_objext conftest$ac_exeext
71989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71990 (eval $ac_link) 2>conftest.er1
71991 ac_status=$?
71992 grep -v '^ *+' conftest.er1 >conftest.err
71993 rm -f conftest.er1
71994 cat conftest.err >&5
71995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71996 (exit $ac_status); } &&
71997 { ac_try='test -z "$ac_c_werror_flag"
71998 || test ! -s conftest.err'
71999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72000 (eval $ac_try) 2>&5
72001 ac_status=$?
72002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72003 (exit $ac_status); }; } &&
72004 { ac_try='test -s conftest$ac_exeext'
72005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72006 (eval $ac_try) 2>&5
72007 ac_status=$?
72008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72009 (exit $ac_status); }; }; then
72010 glibcxx_cv_func___builtin_sin_link=yes
72011 else
72012 echo "$as_me: failed program was:" >&5
72013 sed 's/^/| /' conftest.$ac_ext >&5
72015 glibcxx_cv_func___builtin_sin_link=no
72017 rm -f conftest.err conftest.$ac_objext \
72018 conftest$ac_exeext conftest.$ac_ext
72023 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
72024 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
72026 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
72028 cat >>confdefs.h <<\_ACEOF
72029 #define HAVE___BUILTIN_SIN 1
72030 _ACEOF
72037 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72038 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72039 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72040 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72041 echo $ECHO_N "(cached) $ECHO_C" >&6
72042 else
72046 ac_ext=cc
72047 ac_cpp='$CXXCPP $CPPFLAGS'
72048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72052 cat >conftest.$ac_ext <<_ACEOF
72053 /* confdefs.h. */
72054 _ACEOF
72055 cat confdefs.h >>conftest.$ac_ext
72056 cat >>conftest.$ac_ext <<_ACEOF
72057 /* end confdefs.h. */
72058 #include <math.h>
72060 main ()
72062 __builtin_sinl(0);
72064 return 0;
72066 _ACEOF
72067 rm -f conftest.$ac_objext
72068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72069 (eval $ac_compile) 2>conftest.er1
72070 ac_status=$?
72071 grep -v '^ *+' conftest.er1 >conftest.err
72072 rm -f conftest.er1
72073 cat conftest.err >&5
72074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72075 (exit $ac_status); } &&
72076 { ac_try='test -z "$ac_cxx_werror_flag"
72077 || test ! -s conftest.err'
72078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72079 (eval $ac_try) 2>&5
72080 ac_status=$?
72081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72082 (exit $ac_status); }; } &&
72083 { ac_try='test -s conftest.$ac_objext'
72084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72085 (eval $ac_try) 2>&5
72086 ac_status=$?
72087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72088 (exit $ac_status); }; }; then
72089 glibcxx_cv_func___builtin_sinl_use=yes
72090 else
72091 echo "$as_me: failed program was:" >&5
72092 sed 's/^/| /' conftest.$ac_ext >&5
72094 glibcxx_cv_func___builtin_sinl_use=no
72096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72097 ac_ext=c
72098 ac_cpp='$CPP $CPPFLAGS'
72099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72107 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72108 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72109 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72110 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72111 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72112 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72113 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72114 echo $ECHO_N "(cached) $ECHO_C" >&6
72115 else
72117 if test x$gcc_no_link = xyes; then
72118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72120 { (exit 1); exit 1; }; }
72122 cat >conftest.$ac_ext <<_ACEOF
72123 /* confdefs.h. */
72124 _ACEOF
72125 cat confdefs.h >>conftest.$ac_ext
72126 cat >>conftest.$ac_ext <<_ACEOF
72127 /* end confdefs.h. */
72128 #include <math.h>
72130 main ()
72132 __builtin_sinl(0);
72134 return 0;
72136 _ACEOF
72137 rm -f conftest.$ac_objext conftest$ac_exeext
72138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72139 (eval $ac_link) 2>conftest.er1
72140 ac_status=$?
72141 grep -v '^ *+' conftest.er1 >conftest.err
72142 rm -f conftest.er1
72143 cat conftest.err >&5
72144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72145 (exit $ac_status); } &&
72146 { ac_try='test -z "$ac_c_werror_flag"
72147 || test ! -s conftest.err'
72148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72149 (eval $ac_try) 2>&5
72150 ac_status=$?
72151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72152 (exit $ac_status); }; } &&
72153 { ac_try='test -s conftest$ac_exeext'
72154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72155 (eval $ac_try) 2>&5
72156 ac_status=$?
72157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72158 (exit $ac_status); }; }; then
72159 glibcxx_cv_func___builtin_sinl_link=yes
72160 else
72161 echo "$as_me: failed program was:" >&5
72162 sed 's/^/| /' conftest.$ac_ext >&5
72164 glibcxx_cv_func___builtin_sinl_link=no
72166 rm -f conftest.err conftest.$ac_objext \
72167 conftest$ac_exeext conftest.$ac_ext
72172 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72173 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72175 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72177 cat >>confdefs.h <<\_ACEOF
72178 #define HAVE___BUILTIN_SINL 1
72179 _ACEOF
72187 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72188 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72189 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72190 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72191 echo $ECHO_N "(cached) $ECHO_C" >&6
72192 else
72196 ac_ext=cc
72197 ac_cpp='$CXXCPP $CPPFLAGS'
72198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72202 cat >conftest.$ac_ext <<_ACEOF
72203 /* confdefs.h. */
72204 _ACEOF
72205 cat confdefs.h >>conftest.$ac_ext
72206 cat >>conftest.$ac_ext <<_ACEOF
72207 /* end confdefs.h. */
72208 #include <math.h>
72210 main ()
72212 __builtin_cosf(0);
72214 return 0;
72216 _ACEOF
72217 rm -f conftest.$ac_objext
72218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72219 (eval $ac_compile) 2>conftest.er1
72220 ac_status=$?
72221 grep -v '^ *+' conftest.er1 >conftest.err
72222 rm -f conftest.er1
72223 cat conftest.err >&5
72224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72225 (exit $ac_status); } &&
72226 { ac_try='test -z "$ac_cxx_werror_flag"
72227 || test ! -s conftest.err'
72228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72229 (eval $ac_try) 2>&5
72230 ac_status=$?
72231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72232 (exit $ac_status); }; } &&
72233 { ac_try='test -s conftest.$ac_objext'
72234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72235 (eval $ac_try) 2>&5
72236 ac_status=$?
72237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72238 (exit $ac_status); }; }; then
72239 glibcxx_cv_func___builtin_cosf_use=yes
72240 else
72241 echo "$as_me: failed program was:" >&5
72242 sed 's/^/| /' conftest.$ac_ext >&5
72244 glibcxx_cv_func___builtin_cosf_use=no
72246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72247 ac_ext=c
72248 ac_cpp='$CPP $CPPFLAGS'
72249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72257 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72258 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72259 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72260 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72261 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72262 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72263 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72264 echo $ECHO_N "(cached) $ECHO_C" >&6
72265 else
72267 if test x$gcc_no_link = xyes; then
72268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72270 { (exit 1); exit 1; }; }
72272 cat >conftest.$ac_ext <<_ACEOF
72273 /* confdefs.h. */
72274 _ACEOF
72275 cat confdefs.h >>conftest.$ac_ext
72276 cat >>conftest.$ac_ext <<_ACEOF
72277 /* end confdefs.h. */
72278 #include <math.h>
72280 main ()
72282 __builtin_cosf(0);
72284 return 0;
72286 _ACEOF
72287 rm -f conftest.$ac_objext conftest$ac_exeext
72288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72289 (eval $ac_link) 2>conftest.er1
72290 ac_status=$?
72291 grep -v '^ *+' conftest.er1 >conftest.err
72292 rm -f conftest.er1
72293 cat conftest.err >&5
72294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72295 (exit $ac_status); } &&
72296 { ac_try='test -z "$ac_c_werror_flag"
72297 || test ! -s conftest.err'
72298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72299 (eval $ac_try) 2>&5
72300 ac_status=$?
72301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72302 (exit $ac_status); }; } &&
72303 { ac_try='test -s conftest$ac_exeext'
72304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72305 (eval $ac_try) 2>&5
72306 ac_status=$?
72307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72308 (exit $ac_status); }; }; then
72309 glibcxx_cv_func___builtin_cosf_link=yes
72310 else
72311 echo "$as_me: failed program was:" >&5
72312 sed 's/^/| /' conftest.$ac_ext >&5
72314 glibcxx_cv_func___builtin_cosf_link=no
72316 rm -f conftest.err conftest.$ac_objext \
72317 conftest$ac_exeext conftest.$ac_ext
72322 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72323 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72325 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72327 cat >>confdefs.h <<\_ACEOF
72328 #define HAVE___BUILTIN_COSF 1
72329 _ACEOF
72336 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72337 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72338 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72339 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72340 echo $ECHO_N "(cached) $ECHO_C" >&6
72341 else
72345 ac_ext=cc
72346 ac_cpp='$CXXCPP $CPPFLAGS'
72347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72351 cat >conftest.$ac_ext <<_ACEOF
72352 /* confdefs.h. */
72353 _ACEOF
72354 cat confdefs.h >>conftest.$ac_ext
72355 cat >>conftest.$ac_ext <<_ACEOF
72356 /* end confdefs.h. */
72357 #include <math.h>
72359 main ()
72361 __builtin_cos(0);
72363 return 0;
72365 _ACEOF
72366 rm -f conftest.$ac_objext
72367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72368 (eval $ac_compile) 2>conftest.er1
72369 ac_status=$?
72370 grep -v '^ *+' conftest.er1 >conftest.err
72371 rm -f conftest.er1
72372 cat conftest.err >&5
72373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72374 (exit $ac_status); } &&
72375 { ac_try='test -z "$ac_cxx_werror_flag"
72376 || test ! -s conftest.err'
72377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72378 (eval $ac_try) 2>&5
72379 ac_status=$?
72380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72381 (exit $ac_status); }; } &&
72382 { ac_try='test -s conftest.$ac_objext'
72383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72384 (eval $ac_try) 2>&5
72385 ac_status=$?
72386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72387 (exit $ac_status); }; }; then
72388 glibcxx_cv_func___builtin_cos_use=yes
72389 else
72390 echo "$as_me: failed program was:" >&5
72391 sed 's/^/| /' conftest.$ac_ext >&5
72393 glibcxx_cv_func___builtin_cos_use=no
72395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72396 ac_ext=c
72397 ac_cpp='$CPP $CPPFLAGS'
72398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72406 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72407 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72408 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72409 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72410 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72411 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72412 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72413 echo $ECHO_N "(cached) $ECHO_C" >&6
72414 else
72416 if test x$gcc_no_link = xyes; then
72417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72419 { (exit 1); exit 1; }; }
72421 cat >conftest.$ac_ext <<_ACEOF
72422 /* confdefs.h. */
72423 _ACEOF
72424 cat confdefs.h >>conftest.$ac_ext
72425 cat >>conftest.$ac_ext <<_ACEOF
72426 /* end confdefs.h. */
72427 #include <math.h>
72429 main ()
72431 __builtin_cos(0);
72433 return 0;
72435 _ACEOF
72436 rm -f conftest.$ac_objext conftest$ac_exeext
72437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72438 (eval $ac_link) 2>conftest.er1
72439 ac_status=$?
72440 grep -v '^ *+' conftest.er1 >conftest.err
72441 rm -f conftest.er1
72442 cat conftest.err >&5
72443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72444 (exit $ac_status); } &&
72445 { ac_try='test -z "$ac_c_werror_flag"
72446 || test ! -s conftest.err'
72447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72448 (eval $ac_try) 2>&5
72449 ac_status=$?
72450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72451 (exit $ac_status); }; } &&
72452 { ac_try='test -s conftest$ac_exeext'
72453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72454 (eval $ac_try) 2>&5
72455 ac_status=$?
72456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72457 (exit $ac_status); }; }; then
72458 glibcxx_cv_func___builtin_cos_link=yes
72459 else
72460 echo "$as_me: failed program was:" >&5
72461 sed 's/^/| /' conftest.$ac_ext >&5
72463 glibcxx_cv_func___builtin_cos_link=no
72465 rm -f conftest.err conftest.$ac_objext \
72466 conftest$ac_exeext conftest.$ac_ext
72471 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72472 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72474 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72476 cat >>confdefs.h <<\_ACEOF
72477 #define HAVE___BUILTIN_COS 1
72478 _ACEOF
72485 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72486 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72487 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72488 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72489 echo $ECHO_N "(cached) $ECHO_C" >&6
72490 else
72494 ac_ext=cc
72495 ac_cpp='$CXXCPP $CPPFLAGS'
72496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72500 cat >conftest.$ac_ext <<_ACEOF
72501 /* confdefs.h. */
72502 _ACEOF
72503 cat confdefs.h >>conftest.$ac_ext
72504 cat >>conftest.$ac_ext <<_ACEOF
72505 /* end confdefs.h. */
72506 #include <math.h>
72508 main ()
72510 __builtin_cosl(0);
72512 return 0;
72514 _ACEOF
72515 rm -f conftest.$ac_objext
72516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72517 (eval $ac_compile) 2>conftest.er1
72518 ac_status=$?
72519 grep -v '^ *+' conftest.er1 >conftest.err
72520 rm -f conftest.er1
72521 cat conftest.err >&5
72522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72523 (exit $ac_status); } &&
72524 { ac_try='test -z "$ac_cxx_werror_flag"
72525 || test ! -s conftest.err'
72526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72527 (eval $ac_try) 2>&5
72528 ac_status=$?
72529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72530 (exit $ac_status); }; } &&
72531 { ac_try='test -s conftest.$ac_objext'
72532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72533 (eval $ac_try) 2>&5
72534 ac_status=$?
72535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72536 (exit $ac_status); }; }; then
72537 glibcxx_cv_func___builtin_cosl_use=yes
72538 else
72539 echo "$as_me: failed program was:" >&5
72540 sed 's/^/| /' conftest.$ac_ext >&5
72542 glibcxx_cv_func___builtin_cosl_use=no
72544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72545 ac_ext=c
72546 ac_cpp='$CPP $CPPFLAGS'
72547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72555 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72556 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72557 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72558 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72559 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72560 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72561 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72562 echo $ECHO_N "(cached) $ECHO_C" >&6
72563 else
72565 if test x$gcc_no_link = xyes; then
72566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72568 { (exit 1); exit 1; }; }
72570 cat >conftest.$ac_ext <<_ACEOF
72571 /* confdefs.h. */
72572 _ACEOF
72573 cat confdefs.h >>conftest.$ac_ext
72574 cat >>conftest.$ac_ext <<_ACEOF
72575 /* end confdefs.h. */
72576 #include <math.h>
72578 main ()
72580 __builtin_cosl(0);
72582 return 0;
72584 _ACEOF
72585 rm -f conftest.$ac_objext conftest$ac_exeext
72586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72587 (eval $ac_link) 2>conftest.er1
72588 ac_status=$?
72589 grep -v '^ *+' conftest.er1 >conftest.err
72590 rm -f conftest.er1
72591 cat conftest.err >&5
72592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72593 (exit $ac_status); } &&
72594 { ac_try='test -z "$ac_c_werror_flag"
72595 || test ! -s conftest.err'
72596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72597 (eval $ac_try) 2>&5
72598 ac_status=$?
72599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72600 (exit $ac_status); }; } &&
72601 { ac_try='test -s conftest$ac_exeext'
72602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72603 (eval $ac_try) 2>&5
72604 ac_status=$?
72605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72606 (exit $ac_status); }; }; then
72607 glibcxx_cv_func___builtin_cosl_link=yes
72608 else
72609 echo "$as_me: failed program was:" >&5
72610 sed 's/^/| /' conftest.$ac_ext >&5
72612 glibcxx_cv_func___builtin_cosl_link=no
72614 rm -f conftest.err conftest.$ac_objext \
72615 conftest$ac_exeext conftest.$ac_ext
72620 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72621 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72623 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72625 cat >>confdefs.h <<\_ACEOF
72626 #define HAVE___BUILTIN_COSL 1
72627 _ACEOF
72636 echo "$as_me:$LINENO: checking for main in -lm" >&5
72637 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72638 if test "${ac_cv_lib_m_main+set}" = set; then
72639 echo $ECHO_N "(cached) $ECHO_C" >&6
72640 else
72641 ac_check_lib_save_LIBS=$LIBS
72642 LIBS="-lm $LIBS"
72643 if test x$gcc_no_link = xyes; then
72644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72646 { (exit 1); exit 1; }; }
72648 cat >conftest.$ac_ext <<_ACEOF
72649 /* confdefs.h. */
72650 _ACEOF
72651 cat confdefs.h >>conftest.$ac_ext
72652 cat >>conftest.$ac_ext <<_ACEOF
72653 /* end confdefs.h. */
72657 main ()
72659 main ();
72661 return 0;
72663 _ACEOF
72664 rm -f conftest.$ac_objext conftest$ac_exeext
72665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72666 (eval $ac_link) 2>conftest.er1
72667 ac_status=$?
72668 grep -v '^ *+' conftest.er1 >conftest.err
72669 rm -f conftest.er1
72670 cat conftest.err >&5
72671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72672 (exit $ac_status); } &&
72673 { ac_try='test -z "$ac_c_werror_flag"
72674 || test ! -s conftest.err'
72675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72676 (eval $ac_try) 2>&5
72677 ac_status=$?
72678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72679 (exit $ac_status); }; } &&
72680 { ac_try='test -s conftest$ac_exeext'
72681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72682 (eval $ac_try) 2>&5
72683 ac_status=$?
72684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72685 (exit $ac_status); }; }; then
72686 ac_cv_lib_m_main=yes
72687 else
72688 echo "$as_me: failed program was:" >&5
72689 sed 's/^/| /' conftest.$ac_ext >&5
72691 ac_cv_lib_m_main=no
72693 rm -f conftest.err conftest.$ac_objext \
72694 conftest$ac_exeext conftest.$ac_ext
72695 LIBS=$ac_check_lib_save_LIBS
72697 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72698 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72699 if test $ac_cv_lib_m_main = yes; then
72700 cat >>confdefs.h <<_ACEOF
72701 #define HAVE_LIBM 1
72702 _ACEOF
72704 LIBS="-lm $LIBS"
72709 for ac_func in copysignf
72711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72712 echo "$as_me:$LINENO: checking for $ac_func" >&5
72713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72714 if eval "test \"\${$as_ac_var+set}\" = set"; then
72715 echo $ECHO_N "(cached) $ECHO_C" >&6
72716 else
72717 if test x$gcc_no_link = xyes; then
72718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72720 { (exit 1); exit 1; }; }
72722 cat >conftest.$ac_ext <<_ACEOF
72723 /* confdefs.h. */
72724 _ACEOF
72725 cat confdefs.h >>conftest.$ac_ext
72726 cat >>conftest.$ac_ext <<_ACEOF
72727 /* end confdefs.h. */
72728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72730 #define $ac_func innocuous_$ac_func
72732 /* System header to define __stub macros and hopefully few prototypes,
72733 which can conflict with char $ac_func (); below.
72734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72735 <limits.h> exists even on freestanding compilers. */
72737 #ifdef __STDC__
72738 # include <limits.h>
72739 #else
72740 # include <assert.h>
72741 #endif
72743 #undef $ac_func
72745 /* Override any gcc2 internal prototype to avoid an error. */
72746 #ifdef __cplusplus
72747 extern "C"
72749 #endif
72750 /* We use char because int might match the return type of a gcc2
72751 builtin and then its argument prototype would still apply. */
72752 char $ac_func ();
72753 /* The GNU C library defines this for functions which it implements
72754 to always fail with ENOSYS. Some functions are actually named
72755 something starting with __ and the normal name is an alias. */
72756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72757 choke me
72758 #else
72759 char (*f) () = $ac_func;
72760 #endif
72761 #ifdef __cplusplus
72763 #endif
72766 main ()
72768 return f != $ac_func;
72770 return 0;
72772 _ACEOF
72773 rm -f conftest.$ac_objext conftest$ac_exeext
72774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72775 (eval $ac_link) 2>conftest.er1
72776 ac_status=$?
72777 grep -v '^ *+' conftest.er1 >conftest.err
72778 rm -f conftest.er1
72779 cat conftest.err >&5
72780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72781 (exit $ac_status); } &&
72782 { ac_try='test -z "$ac_c_werror_flag"
72783 || test ! -s conftest.err'
72784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72785 (eval $ac_try) 2>&5
72786 ac_status=$?
72787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72788 (exit $ac_status); }; } &&
72789 { ac_try='test -s conftest$ac_exeext'
72790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72791 (eval $ac_try) 2>&5
72792 ac_status=$?
72793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72794 (exit $ac_status); }; }; then
72795 eval "$as_ac_var=yes"
72796 else
72797 echo "$as_me: failed program was:" >&5
72798 sed 's/^/| /' conftest.$ac_ext >&5
72800 eval "$as_ac_var=no"
72802 rm -f conftest.err conftest.$ac_objext \
72803 conftest$ac_exeext conftest.$ac_ext
72805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72807 if test `eval echo '${'$as_ac_var'}'` = yes; then
72808 cat >>confdefs.h <<_ACEOF
72809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72810 _ACEOF
72812 else
72813 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72815 done
72819 for ac_func in __signbit
72821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72822 echo "$as_me:$LINENO: checking for $ac_func" >&5
72823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72824 if eval "test \"\${$as_ac_var+set}\" = set"; then
72825 echo $ECHO_N "(cached) $ECHO_C" >&6
72826 else
72827 if test x$gcc_no_link = xyes; then
72828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72830 { (exit 1); exit 1; }; }
72832 cat >conftest.$ac_ext <<_ACEOF
72833 /* confdefs.h. */
72834 _ACEOF
72835 cat confdefs.h >>conftest.$ac_ext
72836 cat >>conftest.$ac_ext <<_ACEOF
72837 /* end confdefs.h. */
72838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72840 #define $ac_func innocuous_$ac_func
72842 /* System header to define __stub macros and hopefully few prototypes,
72843 which can conflict with char $ac_func (); below.
72844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72845 <limits.h> exists even on freestanding compilers. */
72847 #ifdef __STDC__
72848 # include <limits.h>
72849 #else
72850 # include <assert.h>
72851 #endif
72853 #undef $ac_func
72855 /* Override any gcc2 internal prototype to avoid an error. */
72856 #ifdef __cplusplus
72857 extern "C"
72859 #endif
72860 /* We use char because int might match the return type of a gcc2
72861 builtin and then its argument prototype would still apply. */
72862 char $ac_func ();
72863 /* The GNU C library defines this for functions which it implements
72864 to always fail with ENOSYS. Some functions are actually named
72865 something starting with __ and the normal name is an alias. */
72866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72867 choke me
72868 #else
72869 char (*f) () = $ac_func;
72870 #endif
72871 #ifdef __cplusplus
72873 #endif
72876 main ()
72878 return f != $ac_func;
72880 return 0;
72882 _ACEOF
72883 rm -f conftest.$ac_objext conftest$ac_exeext
72884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72885 (eval $ac_link) 2>conftest.er1
72886 ac_status=$?
72887 grep -v '^ *+' conftest.er1 >conftest.err
72888 rm -f conftest.er1
72889 cat conftest.err >&5
72890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72891 (exit $ac_status); } &&
72892 { ac_try='test -z "$ac_c_werror_flag"
72893 || test ! -s conftest.err'
72894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72895 (eval $ac_try) 2>&5
72896 ac_status=$?
72897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72898 (exit $ac_status); }; } &&
72899 { ac_try='test -s conftest$ac_exeext'
72900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72901 (eval $ac_try) 2>&5
72902 ac_status=$?
72903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72904 (exit $ac_status); }; }; then
72905 eval "$as_ac_var=yes"
72906 else
72907 echo "$as_me: failed program was:" >&5
72908 sed 's/^/| /' conftest.$ac_ext >&5
72910 eval "$as_ac_var=no"
72912 rm -f conftest.err conftest.$ac_objext \
72913 conftest$ac_exeext conftest.$ac_ext
72915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72917 if test `eval echo '${'$as_ac_var'}'` = yes; then
72918 cat >>confdefs.h <<_ACEOF
72919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72920 _ACEOF
72922 else
72923 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72925 done
72929 for ac_func in __signbitf
72931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72932 echo "$as_me:$LINENO: checking for $ac_func" >&5
72933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72934 if eval "test \"\${$as_ac_var+set}\" = set"; then
72935 echo $ECHO_N "(cached) $ECHO_C" >&6
72936 else
72937 if test x$gcc_no_link = xyes; then
72938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72940 { (exit 1); exit 1; }; }
72942 cat >conftest.$ac_ext <<_ACEOF
72943 /* confdefs.h. */
72944 _ACEOF
72945 cat confdefs.h >>conftest.$ac_ext
72946 cat >>conftest.$ac_ext <<_ACEOF
72947 /* end confdefs.h. */
72948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72950 #define $ac_func innocuous_$ac_func
72952 /* System header to define __stub macros and hopefully few prototypes,
72953 which can conflict with char $ac_func (); below.
72954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72955 <limits.h> exists even on freestanding compilers. */
72957 #ifdef __STDC__
72958 # include <limits.h>
72959 #else
72960 # include <assert.h>
72961 #endif
72963 #undef $ac_func
72965 /* Override any gcc2 internal prototype to avoid an error. */
72966 #ifdef __cplusplus
72967 extern "C"
72969 #endif
72970 /* We use char because int might match the return type of a gcc2
72971 builtin and then its argument prototype would still apply. */
72972 char $ac_func ();
72973 /* The GNU C library defines this for functions which it implements
72974 to always fail with ENOSYS. Some functions are actually named
72975 something starting with __ and the normal name is an alias. */
72976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72977 choke me
72978 #else
72979 char (*f) () = $ac_func;
72980 #endif
72981 #ifdef __cplusplus
72983 #endif
72986 main ()
72988 return f != $ac_func;
72990 return 0;
72992 _ACEOF
72993 rm -f conftest.$ac_objext conftest$ac_exeext
72994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72995 (eval $ac_link) 2>conftest.er1
72996 ac_status=$?
72997 grep -v '^ *+' conftest.er1 >conftest.err
72998 rm -f conftest.er1
72999 cat conftest.err >&5
73000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73001 (exit $ac_status); } &&
73002 { ac_try='test -z "$ac_c_werror_flag"
73003 || test ! -s conftest.err'
73004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73005 (eval $ac_try) 2>&5
73006 ac_status=$?
73007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73008 (exit $ac_status); }; } &&
73009 { ac_try='test -s conftest$ac_exeext'
73010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73011 (eval $ac_try) 2>&5
73012 ac_status=$?
73013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73014 (exit $ac_status); }; }; then
73015 eval "$as_ac_var=yes"
73016 else
73017 echo "$as_me: failed program was:" >&5
73018 sed 's/^/| /' conftest.$ac_ext >&5
73020 eval "$as_ac_var=no"
73022 rm -f conftest.err conftest.$ac_objext \
73023 conftest$ac_exeext conftest.$ac_ext
73025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73027 if test `eval echo '${'$as_ac_var'}'` = yes; then
73028 cat >>confdefs.h <<_ACEOF
73029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73030 _ACEOF
73032 else
73033 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
73035 done
73038 if test x$ac_cv_func_copysignl = x"yes"; then
73040 for ac_func in __signbitl
73042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73043 echo "$as_me:$LINENO: checking for $ac_func" >&5
73044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73045 if eval "test \"\${$as_ac_var+set}\" = set"; then
73046 echo $ECHO_N "(cached) $ECHO_C" >&6
73047 else
73048 if test x$gcc_no_link = xyes; then
73049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73051 { (exit 1); exit 1; }; }
73053 cat >conftest.$ac_ext <<_ACEOF
73054 /* confdefs.h. */
73055 _ACEOF
73056 cat confdefs.h >>conftest.$ac_ext
73057 cat >>conftest.$ac_ext <<_ACEOF
73058 /* end confdefs.h. */
73059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73061 #define $ac_func innocuous_$ac_func
73063 /* System header to define __stub macros and hopefully few prototypes,
73064 which can conflict with char $ac_func (); below.
73065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73066 <limits.h> exists even on freestanding compilers. */
73068 #ifdef __STDC__
73069 # include <limits.h>
73070 #else
73071 # include <assert.h>
73072 #endif
73074 #undef $ac_func
73076 /* Override any gcc2 internal prototype to avoid an error. */
73077 #ifdef __cplusplus
73078 extern "C"
73080 #endif
73081 /* We use char because int might match the return type of a gcc2
73082 builtin and then its argument prototype would still apply. */
73083 char $ac_func ();
73084 /* The GNU C library defines this for functions which it implements
73085 to always fail with ENOSYS. Some functions are actually named
73086 something starting with __ and the normal name is an alias. */
73087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73088 choke me
73089 #else
73090 char (*f) () = $ac_func;
73091 #endif
73092 #ifdef __cplusplus
73094 #endif
73097 main ()
73099 return f != $ac_func;
73101 return 0;
73103 _ACEOF
73104 rm -f conftest.$ac_objext conftest$ac_exeext
73105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73106 (eval $ac_link) 2>conftest.er1
73107 ac_status=$?
73108 grep -v '^ *+' conftest.er1 >conftest.err
73109 rm -f conftest.er1
73110 cat conftest.err >&5
73111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73112 (exit $ac_status); } &&
73113 { ac_try='test -z "$ac_c_werror_flag"
73114 || test ! -s conftest.err'
73115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73116 (eval $ac_try) 2>&5
73117 ac_status=$?
73118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73119 (exit $ac_status); }; } &&
73120 { ac_try='test -s conftest$ac_exeext'
73121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73122 (eval $ac_try) 2>&5
73123 ac_status=$?
73124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73125 (exit $ac_status); }; }; then
73126 eval "$as_ac_var=yes"
73127 else
73128 echo "$as_me: failed program was:" >&5
73129 sed 's/^/| /' conftest.$ac_ext >&5
73131 eval "$as_ac_var=no"
73133 rm -f conftest.err conftest.$ac_objext \
73134 conftest$ac_exeext conftest.$ac_ext
73136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73138 if test `eval echo '${'$as_ac_var'}'` = yes; then
73139 cat >>confdefs.h <<_ACEOF
73140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73141 _ACEOF
73143 else
73144 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73146 done
73150 # Used in libmath/Makefile.am.
73151 if test -n "$LIBMATHOBJS"; then
73152 need_libmath=yes
73158 enable_iconv=no
73159 # Only continue checking if the ISO C99 headers exist and support is on.
73160 if test x"$enable_wchar_t" = xyes; then
73162 # Use iconv for wchar_t to char conversions. As such, check for
73163 # X/Open Portability Guide, version 2 features (XPG2).
73164 if test "${ac_cv_header_iconv_h+set}" = set; then
73165 echo "$as_me:$LINENO: checking for iconv.h" >&5
73166 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73167 if test "${ac_cv_header_iconv_h+set}" = set; then
73168 echo $ECHO_N "(cached) $ECHO_C" >&6
73170 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73171 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73172 else
73173 # Is the header compilable?
73174 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73175 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
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 $ac_includes_default
73183 #include <iconv.h>
73184 _ACEOF
73185 rm -f conftest.$ac_objext
73186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73187 (eval $ac_compile) 2>conftest.er1
73188 ac_status=$?
73189 grep -v '^ *+' conftest.er1 >conftest.err
73190 rm -f conftest.er1
73191 cat conftest.err >&5
73192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73193 (exit $ac_status); } &&
73194 { ac_try='test -z "$ac_c_werror_flag"
73195 || test ! -s conftest.err'
73196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73197 (eval $ac_try) 2>&5
73198 ac_status=$?
73199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73200 (exit $ac_status); }; } &&
73201 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
73207 ac_header_compiler=yes
73208 else
73209 echo "$as_me: failed program was:" >&5
73210 sed 's/^/| /' conftest.$ac_ext >&5
73212 ac_header_compiler=no
73214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73216 echo "${ECHO_T}$ac_header_compiler" >&6
73218 # Is the header present?
73219 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73220 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73221 cat >conftest.$ac_ext <<_ACEOF
73222 /* confdefs.h. */
73223 _ACEOF
73224 cat confdefs.h >>conftest.$ac_ext
73225 cat >>conftest.$ac_ext <<_ACEOF
73226 /* end confdefs.h. */
73227 #include <iconv.h>
73228 _ACEOF
73229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73231 ac_status=$?
73232 grep -v '^ *+' conftest.er1 >conftest.err
73233 rm -f conftest.er1
73234 cat conftest.err >&5
73235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73236 (exit $ac_status); } >/dev/null; then
73237 if test -s conftest.err; then
73238 ac_cpp_err=$ac_c_preproc_warn_flag
73239 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73240 else
73241 ac_cpp_err=
73243 else
73244 ac_cpp_err=yes
73246 if test -z "$ac_cpp_err"; then
73247 ac_header_preproc=yes
73248 else
73249 echo "$as_me: failed program was:" >&5
73250 sed 's/^/| /' conftest.$ac_ext >&5
73252 ac_header_preproc=no
73254 rm -f conftest.err conftest.$ac_ext
73255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73256 echo "${ECHO_T}$ac_header_preproc" >&6
73258 # So? What about this header?
73259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73260 yes:no: )
73261 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73262 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73263 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73264 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73265 ac_header_preproc=yes
73267 no:yes:* )
73268 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73269 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73270 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73271 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73272 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73273 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73274 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73275 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73276 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73277 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73278 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73279 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73281 cat <<\_ASBOX
73282 ## ----------------------------------------- ##
73283 ## Report this to the package-unused lists. ##
73284 ## ----------------------------------------- ##
73285 _ASBOX
73287 sed "s/^/$as_me: WARNING: /" >&2
73289 esac
73290 echo "$as_me:$LINENO: checking for iconv.h" >&5
73291 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73292 if test "${ac_cv_header_iconv_h+set}" = set; then
73293 echo $ECHO_N "(cached) $ECHO_C" >&6
73294 else
73295 ac_cv_header_iconv_h=$ac_header_preproc
73297 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73298 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73301 if test $ac_cv_header_iconv_h = yes; then
73302 ac_has_iconv_h=yes
73303 else
73304 ac_has_iconv_h=no
73308 if test "${ac_cv_header_langinfo_h+set}" = set; then
73309 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73310 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73311 if test "${ac_cv_header_langinfo_h+set}" = set; then
73312 echo $ECHO_N "(cached) $ECHO_C" >&6
73314 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73315 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73316 else
73317 # Is the header compilable?
73318 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73319 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73320 cat >conftest.$ac_ext <<_ACEOF
73321 /* confdefs.h. */
73322 _ACEOF
73323 cat confdefs.h >>conftest.$ac_ext
73324 cat >>conftest.$ac_ext <<_ACEOF
73325 /* end confdefs.h. */
73326 $ac_includes_default
73327 #include <langinfo.h>
73328 _ACEOF
73329 rm -f conftest.$ac_objext
73330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73331 (eval $ac_compile) 2>conftest.er1
73332 ac_status=$?
73333 grep -v '^ *+' conftest.er1 >conftest.err
73334 rm -f conftest.er1
73335 cat conftest.err >&5
73336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73337 (exit $ac_status); } &&
73338 { ac_try='test -z "$ac_c_werror_flag"
73339 || test ! -s conftest.err'
73340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73341 (eval $ac_try) 2>&5
73342 ac_status=$?
73343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73344 (exit $ac_status); }; } &&
73345 { ac_try='test -s conftest.$ac_objext'
73346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73347 (eval $ac_try) 2>&5
73348 ac_status=$?
73349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73350 (exit $ac_status); }; }; then
73351 ac_header_compiler=yes
73352 else
73353 echo "$as_me: failed program was:" >&5
73354 sed 's/^/| /' conftest.$ac_ext >&5
73356 ac_header_compiler=no
73358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73360 echo "${ECHO_T}$ac_header_compiler" >&6
73362 # Is the header present?
73363 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73364 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73365 cat >conftest.$ac_ext <<_ACEOF
73366 /* confdefs.h. */
73367 _ACEOF
73368 cat confdefs.h >>conftest.$ac_ext
73369 cat >>conftest.$ac_ext <<_ACEOF
73370 /* end confdefs.h. */
73371 #include <langinfo.h>
73372 _ACEOF
73373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73375 ac_status=$?
73376 grep -v '^ *+' conftest.er1 >conftest.err
73377 rm -f conftest.er1
73378 cat conftest.err >&5
73379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73380 (exit $ac_status); } >/dev/null; then
73381 if test -s conftest.err; then
73382 ac_cpp_err=$ac_c_preproc_warn_flag
73383 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73384 else
73385 ac_cpp_err=
73387 else
73388 ac_cpp_err=yes
73390 if test -z "$ac_cpp_err"; then
73391 ac_header_preproc=yes
73392 else
73393 echo "$as_me: failed program was:" >&5
73394 sed 's/^/| /' conftest.$ac_ext >&5
73396 ac_header_preproc=no
73398 rm -f conftest.err conftest.$ac_ext
73399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73400 echo "${ECHO_T}$ac_header_preproc" >&6
73402 # So? What about this header?
73403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73404 yes:no: )
73405 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73406 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73407 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73408 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73409 ac_header_preproc=yes
73411 no:yes:* )
73412 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73413 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73414 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73415 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73416 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73417 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73418 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73419 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73420 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73421 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73422 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73423 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73425 cat <<\_ASBOX
73426 ## ----------------------------------------- ##
73427 ## Report this to the package-unused lists. ##
73428 ## ----------------------------------------- ##
73429 _ASBOX
73431 sed "s/^/$as_me: WARNING: /" >&2
73433 esac
73434 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73435 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73436 if test "${ac_cv_header_langinfo_h+set}" = set; then
73437 echo $ECHO_N "(cached) $ECHO_C" >&6
73438 else
73439 ac_cv_header_langinfo_h=$ac_header_preproc
73441 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73442 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73445 if test $ac_cv_header_langinfo_h = yes; then
73446 ac_has_langinfo_h=yes
73447 else
73448 ac_has_langinfo_h=no
73453 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73454 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73455 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73456 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73457 echo $ECHO_N "(cached) $ECHO_C" >&6
73458 else
73459 ac_check_lib_save_LIBS=$LIBS
73460 LIBS="-liconv $LIBS"
73461 if test x$gcc_no_link = xyes; then
73462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73464 { (exit 1); exit 1; }; }
73466 cat >conftest.$ac_ext <<_ACEOF
73467 /* confdefs.h. */
73468 _ACEOF
73469 cat confdefs.h >>conftest.$ac_ext
73470 cat >>conftest.$ac_ext <<_ACEOF
73471 /* end confdefs.h. */
73473 /* Override any gcc2 internal prototype to avoid an error. */
73474 #ifdef __cplusplus
73475 extern "C"
73476 #endif
73477 /* We use char because int might match the return type of a gcc2
73478 builtin and then its argument prototype would still apply. */
73479 char iconv ();
73481 main ()
73483 iconv ();
73485 return 0;
73487 _ACEOF
73488 rm -f conftest.$ac_objext conftest$ac_exeext
73489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73490 (eval $ac_link) 2>conftest.er1
73491 ac_status=$?
73492 grep -v '^ *+' conftest.er1 >conftest.err
73493 rm -f conftest.er1
73494 cat conftest.err >&5
73495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73496 (exit $ac_status); } &&
73497 { ac_try='test -z "$ac_c_werror_flag"
73498 || test ! -s conftest.err'
73499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73500 (eval $ac_try) 2>&5
73501 ac_status=$?
73502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73503 (exit $ac_status); }; } &&
73504 { ac_try='test -s conftest$ac_exeext'
73505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73506 (eval $ac_try) 2>&5
73507 ac_status=$?
73508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73509 (exit $ac_status); }; }; then
73510 ac_cv_lib_iconv_iconv=yes
73511 else
73512 echo "$as_me: failed program was:" >&5
73513 sed 's/^/| /' conftest.$ac_ext >&5
73515 ac_cv_lib_iconv_iconv=no
73517 rm -f conftest.err conftest.$ac_objext \
73518 conftest$ac_exeext conftest.$ac_ext
73519 LIBS=$ac_check_lib_save_LIBS
73521 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73522 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73523 if test $ac_cv_lib_iconv_iconv = yes; then
73524 LIBICONV="-liconv"
73527 ac_save_LIBS="$LIBS"
73528 LIBS="$LIBS $LIBICONV"
73535 for ac_func in iconv_open iconv_close iconv nl_langinfo
73537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73538 echo "$as_me:$LINENO: checking for $ac_func" >&5
73539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73540 if eval "test \"\${$as_ac_var+set}\" = set"; then
73541 echo $ECHO_N "(cached) $ECHO_C" >&6
73542 else
73543 if test x$gcc_no_link = xyes; then
73544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73546 { (exit 1); exit 1; }; }
73548 cat >conftest.$ac_ext <<_ACEOF
73549 /* confdefs.h. */
73550 _ACEOF
73551 cat confdefs.h >>conftest.$ac_ext
73552 cat >>conftest.$ac_ext <<_ACEOF
73553 /* end confdefs.h. */
73554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73556 #define $ac_func innocuous_$ac_func
73558 /* System header to define __stub macros and hopefully few prototypes,
73559 which can conflict with char $ac_func (); below.
73560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73561 <limits.h> exists even on freestanding compilers. */
73563 #ifdef __STDC__
73564 # include <limits.h>
73565 #else
73566 # include <assert.h>
73567 #endif
73569 #undef $ac_func
73571 /* Override any gcc2 internal prototype to avoid an error. */
73572 #ifdef __cplusplus
73573 extern "C"
73575 #endif
73576 /* We use char because int might match the return type of a gcc2
73577 builtin and then its argument prototype would still apply. */
73578 char $ac_func ();
73579 /* The GNU C library defines this for functions which it implements
73580 to always fail with ENOSYS. Some functions are actually named
73581 something starting with __ and the normal name is an alias. */
73582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73583 choke me
73584 #else
73585 char (*f) () = $ac_func;
73586 #endif
73587 #ifdef __cplusplus
73589 #endif
73592 main ()
73594 return f != $ac_func;
73596 return 0;
73598 _ACEOF
73599 rm -f conftest.$ac_objext conftest$ac_exeext
73600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73601 (eval $ac_link) 2>conftest.er1
73602 ac_status=$?
73603 grep -v '^ *+' conftest.er1 >conftest.err
73604 rm -f conftest.er1
73605 cat conftest.err >&5
73606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73607 (exit $ac_status); } &&
73608 { ac_try='test -z "$ac_c_werror_flag"
73609 || test ! -s conftest.err'
73610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73611 (eval $ac_try) 2>&5
73612 ac_status=$?
73613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73614 (exit $ac_status); }; } &&
73615 { ac_try='test -s conftest$ac_exeext'
73616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73617 (eval $ac_try) 2>&5
73618 ac_status=$?
73619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73620 (exit $ac_status); }; }; then
73621 eval "$as_ac_var=yes"
73622 else
73623 echo "$as_me: failed program was:" >&5
73624 sed 's/^/| /' conftest.$ac_ext >&5
73626 eval "$as_ac_var=no"
73628 rm -f conftest.err conftest.$ac_objext \
73629 conftest$ac_exeext conftest.$ac_ext
73631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73633 if test `eval echo '${'$as_ac_var'}'` = yes; then
73634 cat >>confdefs.h <<_ACEOF
73635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73636 _ACEOF
73637 ac_XPG2funcs=yes
73638 else
73639 ac_XPG2funcs=no
73641 done
73644 LIBS="$ac_save_LIBS"
73646 if test x"$ac_has_iconv_h" = xyes &&
73647 test x"$ac_has_langinfo_h" = xyes &&
73648 test x"$ac_XPG2funcs" = xyes;
73649 then
73651 cat >>confdefs.h <<\_ACEOF
73652 #define _GLIBCXX_USE_ICONV 1
73653 _ACEOF
73655 enable_iconv=yes
73658 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73659 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73660 echo "$as_me:$LINENO: result: $enable_iconv" >&5
73661 echo "${ECHO_T}$enable_iconv" >&6
73664 ac_test_CXXFLAGS="${CXXFLAGS+set}"
73665 ac_save_CXXFLAGS="$CXXFLAGS"
73666 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73669 echo "$as_me:$LINENO: checking for strtold declaration" >&5
73670 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73671 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73672 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73673 echo $ECHO_N "(cached) $ECHO_C" >&6
73674 else
73678 ac_ext=cc
73679 ac_cpp='$CXXCPP $CPPFLAGS'
73680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73684 cat >conftest.$ac_ext <<_ACEOF
73685 /* confdefs.h. */
73686 _ACEOF
73687 cat confdefs.h >>conftest.$ac_ext
73688 cat >>conftest.$ac_ext <<_ACEOF
73689 /* end confdefs.h. */
73690 #include <stdlib.h>
73692 main ()
73694 strtold(0, 0);
73696 return 0;
73698 _ACEOF
73699 rm -f conftest.$ac_objext
73700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73701 (eval $ac_compile) 2>conftest.er1
73702 ac_status=$?
73703 grep -v '^ *+' conftest.er1 >conftest.err
73704 rm -f conftest.er1
73705 cat conftest.err >&5
73706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73707 (exit $ac_status); } &&
73708 { ac_try='test -z "$ac_cxx_werror_flag"
73709 || test ! -s conftest.err'
73710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73711 (eval $ac_try) 2>&5
73712 ac_status=$?
73713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73714 (exit $ac_status); }; } &&
73715 { ac_try='test -s conftest.$ac_objext'
73716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73717 (eval $ac_try) 2>&5
73718 ac_status=$?
73719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73720 (exit $ac_status); }; }; then
73721 glibcxx_cv_func_strtold_use=yes
73722 else
73723 echo "$as_me: failed program was:" >&5
73724 sed 's/^/| /' conftest.$ac_ext >&5
73726 glibcxx_cv_func_strtold_use=no
73728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73729 ac_ext=c
73730 ac_cpp='$CPP $CPPFLAGS'
73731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73739 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73740 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73741 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73743 for ac_func in strtold
73745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73746 echo "$as_me:$LINENO: checking for $ac_func" >&5
73747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73748 if eval "test \"\${$as_ac_var+set}\" = set"; then
73749 echo $ECHO_N "(cached) $ECHO_C" >&6
73750 else
73751 if test x$gcc_no_link = xyes; then
73752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73754 { (exit 1); exit 1; }; }
73756 cat >conftest.$ac_ext <<_ACEOF
73757 /* confdefs.h. */
73758 _ACEOF
73759 cat confdefs.h >>conftest.$ac_ext
73760 cat >>conftest.$ac_ext <<_ACEOF
73761 /* end confdefs.h. */
73762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73764 #define $ac_func innocuous_$ac_func
73766 /* System header to define __stub macros and hopefully few prototypes,
73767 which can conflict with char $ac_func (); below.
73768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73769 <limits.h> exists even on freestanding compilers. */
73771 #ifdef __STDC__
73772 # include <limits.h>
73773 #else
73774 # include <assert.h>
73775 #endif
73777 #undef $ac_func
73779 /* Override any gcc2 internal prototype to avoid an error. */
73780 #ifdef __cplusplus
73781 extern "C"
73783 #endif
73784 /* We use char because int might match the return type of a gcc2
73785 builtin and then its argument prototype would still apply. */
73786 char $ac_func ();
73787 /* The GNU C library defines this for functions which it implements
73788 to always fail with ENOSYS. Some functions are actually named
73789 something starting with __ and the normal name is an alias. */
73790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73791 choke me
73792 #else
73793 char (*f) () = $ac_func;
73794 #endif
73795 #ifdef __cplusplus
73797 #endif
73800 main ()
73802 return f != $ac_func;
73804 return 0;
73806 _ACEOF
73807 rm -f conftest.$ac_objext conftest$ac_exeext
73808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73809 (eval $ac_link) 2>conftest.er1
73810 ac_status=$?
73811 grep -v '^ *+' conftest.er1 >conftest.err
73812 rm -f conftest.er1
73813 cat conftest.err >&5
73814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73815 (exit $ac_status); } &&
73816 { ac_try='test -z "$ac_c_werror_flag"
73817 || test ! -s conftest.err'
73818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73819 (eval $ac_try) 2>&5
73820 ac_status=$?
73821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73822 (exit $ac_status); }; } &&
73823 { ac_try='test -s conftest$ac_exeext'
73824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73825 (eval $ac_try) 2>&5
73826 ac_status=$?
73827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73828 (exit $ac_status); }; }; then
73829 eval "$as_ac_var=yes"
73830 else
73831 echo "$as_me: failed program was:" >&5
73832 sed 's/^/| /' conftest.$ac_ext >&5
73834 eval "$as_ac_var=no"
73836 rm -f conftest.err conftest.$ac_objext \
73837 conftest$ac_exeext conftest.$ac_ext
73839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73841 if test `eval echo '${'$as_ac_var'}'` = yes; then
73842 cat >>confdefs.h <<_ACEOF
73843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73844 _ACEOF
73847 done
73855 echo "$as_me:$LINENO: checking for strtof declaration" >&5
73856 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73857 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73858 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73859 echo $ECHO_N "(cached) $ECHO_C" >&6
73860 else
73864 ac_ext=cc
73865 ac_cpp='$CXXCPP $CPPFLAGS'
73866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73870 cat >conftest.$ac_ext <<_ACEOF
73871 /* confdefs.h. */
73872 _ACEOF
73873 cat confdefs.h >>conftest.$ac_ext
73874 cat >>conftest.$ac_ext <<_ACEOF
73875 /* end confdefs.h. */
73876 #include <stdlib.h>
73878 main ()
73880 strtof(0, 0);
73882 return 0;
73884 _ACEOF
73885 rm -f conftest.$ac_objext
73886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73887 (eval $ac_compile) 2>conftest.er1
73888 ac_status=$?
73889 grep -v '^ *+' conftest.er1 >conftest.err
73890 rm -f conftest.er1
73891 cat conftest.err >&5
73892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73893 (exit $ac_status); } &&
73894 { ac_try='test -z "$ac_cxx_werror_flag"
73895 || test ! -s conftest.err'
73896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73897 (eval $ac_try) 2>&5
73898 ac_status=$?
73899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73900 (exit $ac_status); }; } &&
73901 { ac_try='test -s conftest.$ac_objext'
73902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73903 (eval $ac_try) 2>&5
73904 ac_status=$?
73905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73906 (exit $ac_status); }; }; then
73907 glibcxx_cv_func_strtof_use=yes
73908 else
73909 echo "$as_me: failed program was:" >&5
73910 sed 's/^/| /' conftest.$ac_ext >&5
73912 glibcxx_cv_func_strtof_use=no
73914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73915 ac_ext=c
73916 ac_cpp='$CPP $CPPFLAGS'
73917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73925 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73926 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73927 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73929 for ac_func in strtof
73931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73932 echo "$as_me:$LINENO: checking for $ac_func" >&5
73933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73934 if eval "test \"\${$as_ac_var+set}\" = set"; then
73935 echo $ECHO_N "(cached) $ECHO_C" >&6
73936 else
73937 if test x$gcc_no_link = xyes; then
73938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73940 { (exit 1); exit 1; }; }
73942 cat >conftest.$ac_ext <<_ACEOF
73943 /* confdefs.h. */
73944 _ACEOF
73945 cat confdefs.h >>conftest.$ac_ext
73946 cat >>conftest.$ac_ext <<_ACEOF
73947 /* end confdefs.h. */
73948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73950 #define $ac_func innocuous_$ac_func
73952 /* System header to define __stub macros and hopefully few prototypes,
73953 which can conflict with char $ac_func (); below.
73954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73955 <limits.h> exists even on freestanding compilers. */
73957 #ifdef __STDC__
73958 # include <limits.h>
73959 #else
73960 # include <assert.h>
73961 #endif
73963 #undef $ac_func
73965 /* Override any gcc2 internal prototype to avoid an error. */
73966 #ifdef __cplusplus
73967 extern "C"
73969 #endif
73970 /* We use char because int might match the return type of a gcc2
73971 builtin and then its argument prototype would still apply. */
73972 char $ac_func ();
73973 /* The GNU C library defines this for functions which it implements
73974 to always fail with ENOSYS. Some functions are actually named
73975 something starting with __ and the normal name is an alias. */
73976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73977 choke me
73978 #else
73979 char (*f) () = $ac_func;
73980 #endif
73981 #ifdef __cplusplus
73983 #endif
73986 main ()
73988 return f != $ac_func;
73990 return 0;
73992 _ACEOF
73993 rm -f conftest.$ac_objext conftest$ac_exeext
73994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73995 (eval $ac_link) 2>conftest.er1
73996 ac_status=$?
73997 grep -v '^ *+' conftest.er1 >conftest.err
73998 rm -f conftest.er1
73999 cat conftest.err >&5
74000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74001 (exit $ac_status); } &&
74002 { ac_try='test -z "$ac_c_werror_flag"
74003 || test ! -s conftest.err'
74004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74005 (eval $ac_try) 2>&5
74006 ac_status=$?
74007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74008 (exit $ac_status); }; } &&
74009 { ac_try='test -s conftest$ac_exeext'
74010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74011 (eval $ac_try) 2>&5
74012 ac_status=$?
74013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74014 (exit $ac_status); }; }; then
74015 eval "$as_ac_var=yes"
74016 else
74017 echo "$as_me: failed program was:" >&5
74018 sed 's/^/| /' conftest.$ac_ext >&5
74020 eval "$as_ac_var=no"
74022 rm -f conftest.err conftest.$ac_objext \
74023 conftest$ac_exeext conftest.$ac_ext
74025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74027 if test `eval echo '${'$as_ac_var'}'` = yes; then
74028 cat >>confdefs.h <<_ACEOF
74029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74030 _ACEOF
74033 done
74041 CXXFLAGS="$ac_save_CXXFLAGS"
74044 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
74045 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
74046 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74047 echo $ECHO_N "(cached) $ECHO_C" >&6
74048 else
74050 if test x$gcc_no_link = xyes; then
74051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74053 { (exit 1); exit 1; }; }
74055 cat >conftest.$ac_ext <<_ACEOF
74056 /* confdefs.h. */
74057 _ACEOF
74058 cat confdefs.h >>conftest.$ac_ext
74059 cat >>conftest.$ac_ext <<_ACEOF
74060 /* end confdefs.h. */
74061 #include <sys/stat.h>
74063 main ()
74065 struct stat buffer;
74066 fstat(0, &buffer);
74067 S_ISREG(buffer.st_mode);
74069 return 0;
74071 _ACEOF
74072 rm -f conftest.$ac_objext conftest$ac_exeext
74073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74074 (eval $ac_link) 2>conftest.er1
74075 ac_status=$?
74076 grep -v '^ *+' conftest.er1 >conftest.err
74077 rm -f conftest.er1
74078 cat conftest.err >&5
74079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74080 (exit $ac_status); } &&
74081 { ac_try='test -z "$ac_c_werror_flag"
74082 || test ! -s conftest.err'
74083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74084 (eval $ac_try) 2>&5
74085 ac_status=$?
74086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74087 (exit $ac_status); }; } &&
74088 { ac_try='test -s conftest$ac_exeext'
74089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74090 (eval $ac_try) 2>&5
74091 ac_status=$?
74092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74093 (exit $ac_status); }; }; then
74094 glibcxx_cv_S_ISREG=yes
74095 else
74096 echo "$as_me: failed program was:" >&5
74097 sed 's/^/| /' conftest.$ac_ext >&5
74099 glibcxx_cv_S_ISREG=no
74101 rm -f conftest.err conftest.$ac_objext \
74102 conftest$ac_exeext conftest.$ac_ext
74106 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74107 echo $ECHO_N "(cached) $ECHO_C" >&6
74108 else
74110 if test x$gcc_no_link = xyes; then
74111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74113 { (exit 1); exit 1; }; }
74115 cat >conftest.$ac_ext <<_ACEOF
74116 /* confdefs.h. */
74117 _ACEOF
74118 cat confdefs.h >>conftest.$ac_ext
74119 cat >>conftest.$ac_ext <<_ACEOF
74120 /* end confdefs.h. */
74121 #include <sys/stat.h>
74123 main ()
74125 struct stat buffer;
74126 fstat(0, &buffer);
74127 S_IFREG & buffer.st_mode;
74129 return 0;
74131 _ACEOF
74132 rm -f conftest.$ac_objext conftest$ac_exeext
74133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74134 (eval $ac_link) 2>conftest.er1
74135 ac_status=$?
74136 grep -v '^ *+' conftest.er1 >conftest.err
74137 rm -f conftest.er1
74138 cat conftest.err >&5
74139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74140 (exit $ac_status); } &&
74141 { ac_try='test -z "$ac_c_werror_flag"
74142 || test ! -s conftest.err'
74143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74144 (eval $ac_try) 2>&5
74145 ac_status=$?
74146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74147 (exit $ac_status); }; } &&
74148 { ac_try='test -s conftest$ac_exeext'
74149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74150 (eval $ac_try) 2>&5
74151 ac_status=$?
74152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74153 (exit $ac_status); }; }; then
74154 glibcxx_cv_S_IFREG=yes
74155 else
74156 echo "$as_me: failed program was:" >&5
74157 sed 's/^/| /' conftest.$ac_ext >&5
74159 glibcxx_cv_S_IFREG=no
74161 rm -f conftest.err conftest.$ac_objext \
74162 conftest$ac_exeext conftest.$ac_ext
74166 res=no
74167 if test $glibcxx_cv_S_ISREG = yes; then
74169 cat >>confdefs.h <<\_ACEOF
74170 #define HAVE_S_ISREG 1
74171 _ACEOF
74173 res=S_ISREG
74174 elif test $glibcxx_cv_S_IFREG = yes; then
74176 cat >>confdefs.h <<\_ACEOF
74177 #define HAVE_S_IFREG 1
74178 _ACEOF
74180 res=S_IFREG
74182 echo "$as_me:$LINENO: result: $res" >&5
74183 echo "${ECHO_T}$res" >&6
74185 cat >>confdefs.h <<\_ACEOF
74186 #define HAVE_WRITEV 1
74187 _ACEOF
74191 *-freebsd*)
74208 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74209 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74210 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74211 sys/time.h unistd.h
74213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74215 echo "$as_me:$LINENO: checking for $ac_header" >&5
74216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74218 echo $ECHO_N "(cached) $ECHO_C" >&6
74220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74222 else
74223 # Is the header compilable?
74224 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74226 cat >conftest.$ac_ext <<_ACEOF
74227 /* confdefs.h. */
74228 _ACEOF
74229 cat confdefs.h >>conftest.$ac_ext
74230 cat >>conftest.$ac_ext <<_ACEOF
74231 /* end confdefs.h. */
74232 $ac_includes_default
74233 #include <$ac_header>
74234 _ACEOF
74235 rm -f conftest.$ac_objext
74236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74237 (eval $ac_compile) 2>conftest.er1
74238 ac_status=$?
74239 grep -v '^ *+' conftest.er1 >conftest.err
74240 rm -f conftest.er1
74241 cat conftest.err >&5
74242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74243 (exit $ac_status); } &&
74244 { ac_try='test -z "$ac_c_werror_flag"
74245 || test ! -s conftest.err'
74246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74247 (eval $ac_try) 2>&5
74248 ac_status=$?
74249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74250 (exit $ac_status); }; } &&
74251 { ac_try='test -s conftest.$ac_objext'
74252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74253 (eval $ac_try) 2>&5
74254 ac_status=$?
74255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74256 (exit $ac_status); }; }; then
74257 ac_header_compiler=yes
74258 else
74259 echo "$as_me: failed program was:" >&5
74260 sed 's/^/| /' conftest.$ac_ext >&5
74262 ac_header_compiler=no
74264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74266 echo "${ECHO_T}$ac_header_compiler" >&6
74268 # Is the header present?
74269 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74270 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74271 cat >conftest.$ac_ext <<_ACEOF
74272 /* confdefs.h. */
74273 _ACEOF
74274 cat confdefs.h >>conftest.$ac_ext
74275 cat >>conftest.$ac_ext <<_ACEOF
74276 /* end confdefs.h. */
74277 #include <$ac_header>
74278 _ACEOF
74279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74281 ac_status=$?
74282 grep -v '^ *+' conftest.er1 >conftest.err
74283 rm -f conftest.er1
74284 cat conftest.err >&5
74285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74286 (exit $ac_status); } >/dev/null; then
74287 if test -s conftest.err; then
74288 ac_cpp_err=$ac_c_preproc_warn_flag
74289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74290 else
74291 ac_cpp_err=
74293 else
74294 ac_cpp_err=yes
74296 if test -z "$ac_cpp_err"; then
74297 ac_header_preproc=yes
74298 else
74299 echo "$as_me: failed program was:" >&5
74300 sed 's/^/| /' conftest.$ac_ext >&5
74302 ac_header_preproc=no
74304 rm -f conftest.err conftest.$ac_ext
74305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74306 echo "${ECHO_T}$ac_header_preproc" >&6
74308 # So? What about this header?
74309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74310 yes:no: )
74311 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74312 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74314 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74315 ac_header_preproc=yes
74317 no:yes:* )
74318 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74319 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74320 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74321 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74322 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74323 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74324 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
74325 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
74326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74328 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74329 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74331 cat <<\_ASBOX
74332 ## ----------------------------------------- ##
74333 ## Report this to the package-unused lists. ##
74334 ## ----------------------------------------- ##
74335 _ASBOX
74337 sed "s/^/$as_me: WARNING: /" >&2
74339 esac
74340 echo "$as_me:$LINENO: checking for $ac_header" >&5
74341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74343 echo $ECHO_N "(cached) $ECHO_C" >&6
74344 else
74345 eval "$as_ac_Header=\$ac_header_preproc"
74347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74352 cat >>confdefs.h <<_ACEOF
74353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74354 _ACEOF
74358 done
74360 SECTION_FLAGS='-ffunction-sections -fdata-sections'
74363 # If we're not using GNU ld, then there's no point in even trying these
74364 # tests. Check for that first. We should have already tested for gld
74365 # by now (in libtool), but require it now just to be safe...
74366 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74367 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74371 # The name set by libtool depends on the version of libtool. Shame on us
74372 # for depending on an impl detail, but c'est la vie. Older versions used
74373 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74374 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74375 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
74376 # set (hence we're using an older libtool), then set it.
74377 if test x${with_gnu_ld+set} != xset; then
74378 if test x${ac_cv_prog_gnu_ld+set} != xset; then
74379 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
74380 with_gnu_ld=no
74381 else
74382 with_gnu_ld=$ac_cv_prog_gnu_ld
74386 # Start by getting the version number. I think the libtool test already
74387 # does some of this, but throws away the result.
74389 ldver=`$LD --version 2>/dev/null | head -1 | \
74390 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74392 glibcxx_gnu_ld_version=`echo $ldver | \
74393 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74395 # Set --gc-sections.
74396 if test x"$with_gnu_ld" = x"yes"; then
74397 # GNU ld it is! Joy and bunny rabbits!
74399 # All these tests are for C++; save the language and the compiler flags.
74400 # Need to do this so that g++ won't try to link in libstdc++
74401 ac_test_CFLAGS="${CFLAGS+set}"
74402 ac_save_CFLAGS="$CFLAGS"
74403 CFLAGS='-x c++ -Wl,--gc-sections'
74405 # Check for -Wl,--gc-sections
74406 # Note: It's supposed to work now, so ease off until proven wrong...
74407 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74408 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74409 cat >conftest.$ac_ext <<_ACEOF
74410 /* confdefs.h. */
74411 _ACEOF
74412 cat confdefs.h >>conftest.$ac_ext
74413 cat >>conftest.$ac_ext <<_ACEOF
74414 /* end confdefs.h. */
74416 int main(void)
74418 try { throw 1; }
74419 catch (...) { };
74420 return 0;
74424 main ()
74426 ac_sectionLDflags=yes
74428 return 0;
74430 _ACEOF
74431 rm -f conftest.$ac_objext
74432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74433 (eval $ac_compile) 2>conftest.er1
74434 ac_status=$?
74435 grep -v '^ *+' conftest.er1 >conftest.err
74436 rm -f conftest.er1
74437 cat conftest.err >&5
74438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74439 (exit $ac_status); } &&
74440 { ac_try='test -z "$ac_c_werror_flag"
74441 || test ! -s conftest.err'
74442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74443 (eval $ac_try) 2>&5
74444 ac_status=$?
74445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74446 (exit $ac_status); }; } &&
74447 { ac_try='test -s conftest.$ac_objext'
74448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74449 (eval $ac_try) 2>&5
74450 ac_status=$?
74451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74452 (exit $ac_status); }; }; then
74453 ac_sectionLDflags=no
74454 else
74455 echo "$as_me: failed program was:" >&5
74456 sed 's/^/| /' conftest.$ac_ext >&5
74458 ac_sectionLDflags=yes
74460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74461 if test "$ac_test_CFLAGS" = set; then
74462 CFLAGS="$ac_save_CFLAGS"
74463 else
74464 # this is the suspicious part
74465 CFLAGS=''
74467 if test "$ac_sectionLDflags" = "yes"; then
74468 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74470 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74471 echo "${ECHO_T}$ac_sectionLDflags" >&6
74474 # Set -z,relro.
74475 # Note this is only for shared objects.
74476 ac_ld_relro=no
74477 if test x"$with_gnu_ld" = x"yes"; then
74478 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
74479 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
74480 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
74481 if test -n "$cxx_z_relo"; then
74482 OPT_LDFLAGS="-Wl,-z,relro"
74483 ac_ld_relro=yes
74485 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
74486 echo "${ECHO_T}$ac_ld_relro" >&6
74489 # Set linker optimization flags.
74490 if test x"$with_gnu_ld" = x"yes"; then
74491 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74499 echo "$as_me:$LINENO: checking for main in -lm" >&5
74500 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74501 if test "${ac_cv_lib_m_main+set}" = set; then
74502 echo $ECHO_N "(cached) $ECHO_C" >&6
74503 else
74504 ac_check_lib_save_LIBS=$LIBS
74505 LIBS="-lm $LIBS"
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. */
74520 main ()
74522 main ();
74524 return 0;
74526 _ACEOF
74527 rm -f conftest.$ac_objext conftest$ac_exeext
74528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74529 (eval $ac_link) 2>conftest.er1
74530 ac_status=$?
74531 grep -v '^ *+' conftest.er1 >conftest.err
74532 rm -f conftest.er1
74533 cat conftest.err >&5
74534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74535 (exit $ac_status); } &&
74536 { ac_try='test -z "$ac_c_werror_flag"
74537 || test ! -s conftest.err'
74538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74539 (eval $ac_try) 2>&5
74540 ac_status=$?
74541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74542 (exit $ac_status); }; } &&
74543 { ac_try='test -s conftest$ac_exeext'
74544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74545 (eval $ac_try) 2>&5
74546 ac_status=$?
74547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74548 (exit $ac_status); }; }; then
74549 ac_cv_lib_m_main=yes
74550 else
74551 echo "$as_me: failed program was:" >&5
74552 sed 's/^/| /' conftest.$ac_ext >&5
74554 ac_cv_lib_m_main=no
74556 rm -f conftest.err conftest.$ac_objext \
74557 conftest$ac_exeext conftest.$ac_ext
74558 LIBS=$ac_check_lib_save_LIBS
74560 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74561 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74562 if test $ac_cv_lib_m_main = yes; then
74563 cat >>confdefs.h <<_ACEOF
74564 #define HAVE_LIBM 1
74565 _ACEOF
74567 LIBS="-lm $LIBS"
74572 for ac_func in copysignf
74574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74575 echo "$as_me:$LINENO: checking for $ac_func" >&5
74576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74577 if eval "test \"\${$as_ac_var+set}\" = set"; then
74578 echo $ECHO_N "(cached) $ECHO_C" >&6
74579 else
74580 if test x$gcc_no_link = xyes; then
74581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74583 { (exit 1); exit 1; }; }
74585 cat >conftest.$ac_ext <<_ACEOF
74586 /* confdefs.h. */
74587 _ACEOF
74588 cat confdefs.h >>conftest.$ac_ext
74589 cat >>conftest.$ac_ext <<_ACEOF
74590 /* end confdefs.h. */
74591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74593 #define $ac_func innocuous_$ac_func
74595 /* System header to define __stub macros and hopefully few prototypes,
74596 which can conflict with char $ac_func (); below.
74597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74598 <limits.h> exists even on freestanding compilers. */
74600 #ifdef __STDC__
74601 # include <limits.h>
74602 #else
74603 # include <assert.h>
74604 #endif
74606 #undef $ac_func
74608 /* Override any gcc2 internal prototype to avoid an error. */
74609 #ifdef __cplusplus
74610 extern "C"
74612 #endif
74613 /* We use char because int might match the return type of a gcc2
74614 builtin and then its argument prototype would still apply. */
74615 char $ac_func ();
74616 /* The GNU C library defines this for functions which it implements
74617 to always fail with ENOSYS. Some functions are actually named
74618 something starting with __ and the normal name is an alias. */
74619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74620 choke me
74621 #else
74622 char (*f) () = $ac_func;
74623 #endif
74624 #ifdef __cplusplus
74626 #endif
74629 main ()
74631 return f != $ac_func;
74633 return 0;
74635 _ACEOF
74636 rm -f conftest.$ac_objext conftest$ac_exeext
74637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74638 (eval $ac_link) 2>conftest.er1
74639 ac_status=$?
74640 grep -v '^ *+' conftest.er1 >conftest.err
74641 rm -f conftest.er1
74642 cat conftest.err >&5
74643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74644 (exit $ac_status); } &&
74645 { ac_try='test -z "$ac_c_werror_flag"
74646 || test ! -s conftest.err'
74647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74648 (eval $ac_try) 2>&5
74649 ac_status=$?
74650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74651 (exit $ac_status); }; } &&
74652 { ac_try='test -s conftest$ac_exeext'
74653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74654 (eval $ac_try) 2>&5
74655 ac_status=$?
74656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74657 (exit $ac_status); }; }; then
74658 eval "$as_ac_var=yes"
74659 else
74660 echo "$as_me: failed program was:" >&5
74661 sed 's/^/| /' conftest.$ac_ext >&5
74663 eval "$as_ac_var=no"
74665 rm -f conftest.err conftest.$ac_objext \
74666 conftest$ac_exeext conftest.$ac_ext
74668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74670 if test `eval echo '${'$as_ac_var'}'` = yes; then
74671 cat >>confdefs.h <<_ACEOF
74672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74673 _ACEOF
74675 else
74676 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74678 done
74682 for ac_func in __signbit
74684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74685 echo "$as_me:$LINENO: checking for $ac_func" >&5
74686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74687 if eval "test \"\${$as_ac_var+set}\" = set"; then
74688 echo $ECHO_N "(cached) $ECHO_C" >&6
74689 else
74690 if test x$gcc_no_link = xyes; then
74691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74693 { (exit 1); exit 1; }; }
74695 cat >conftest.$ac_ext <<_ACEOF
74696 /* confdefs.h. */
74697 _ACEOF
74698 cat confdefs.h >>conftest.$ac_ext
74699 cat >>conftest.$ac_ext <<_ACEOF
74700 /* end confdefs.h. */
74701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74703 #define $ac_func innocuous_$ac_func
74705 /* System header to define __stub macros and hopefully few prototypes,
74706 which can conflict with char $ac_func (); below.
74707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74708 <limits.h> exists even on freestanding compilers. */
74710 #ifdef __STDC__
74711 # include <limits.h>
74712 #else
74713 # include <assert.h>
74714 #endif
74716 #undef $ac_func
74718 /* Override any gcc2 internal prototype to avoid an error. */
74719 #ifdef __cplusplus
74720 extern "C"
74722 #endif
74723 /* We use char because int might match the return type of a gcc2
74724 builtin and then its argument prototype would still apply. */
74725 char $ac_func ();
74726 /* The GNU C library defines this for functions which it implements
74727 to always fail with ENOSYS. Some functions are actually named
74728 something starting with __ and the normal name is an alias. */
74729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74730 choke me
74731 #else
74732 char (*f) () = $ac_func;
74733 #endif
74734 #ifdef __cplusplus
74736 #endif
74739 main ()
74741 return f != $ac_func;
74743 return 0;
74745 _ACEOF
74746 rm -f conftest.$ac_objext conftest$ac_exeext
74747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74748 (eval $ac_link) 2>conftest.er1
74749 ac_status=$?
74750 grep -v '^ *+' conftest.er1 >conftest.err
74751 rm -f conftest.er1
74752 cat conftest.err >&5
74753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74754 (exit $ac_status); } &&
74755 { ac_try='test -z "$ac_c_werror_flag"
74756 || test ! -s conftest.err'
74757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74758 (eval $ac_try) 2>&5
74759 ac_status=$?
74760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74761 (exit $ac_status); }; } &&
74762 { ac_try='test -s conftest$ac_exeext'
74763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74764 (eval $ac_try) 2>&5
74765 ac_status=$?
74766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74767 (exit $ac_status); }; }; then
74768 eval "$as_ac_var=yes"
74769 else
74770 echo "$as_me: failed program was:" >&5
74771 sed 's/^/| /' conftest.$ac_ext >&5
74773 eval "$as_ac_var=no"
74775 rm -f conftest.err conftest.$ac_objext \
74776 conftest$ac_exeext conftest.$ac_ext
74778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74780 if test `eval echo '${'$as_ac_var'}'` = yes; then
74781 cat >>confdefs.h <<_ACEOF
74782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74783 _ACEOF
74785 else
74786 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74788 done
74792 for ac_func in __signbitf
74794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74795 echo "$as_me:$LINENO: checking for $ac_func" >&5
74796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74797 if eval "test \"\${$as_ac_var+set}\" = set"; then
74798 echo $ECHO_N "(cached) $ECHO_C" >&6
74799 else
74800 if test x$gcc_no_link = xyes; then
74801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74803 { (exit 1); exit 1; }; }
74805 cat >conftest.$ac_ext <<_ACEOF
74806 /* confdefs.h. */
74807 _ACEOF
74808 cat confdefs.h >>conftest.$ac_ext
74809 cat >>conftest.$ac_ext <<_ACEOF
74810 /* end confdefs.h. */
74811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74813 #define $ac_func innocuous_$ac_func
74815 /* System header to define __stub macros and hopefully few prototypes,
74816 which can conflict with char $ac_func (); below.
74817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74818 <limits.h> exists even on freestanding compilers. */
74820 #ifdef __STDC__
74821 # include <limits.h>
74822 #else
74823 # include <assert.h>
74824 #endif
74826 #undef $ac_func
74828 /* Override any gcc2 internal prototype to avoid an error. */
74829 #ifdef __cplusplus
74830 extern "C"
74832 #endif
74833 /* We use char because int might match the return type of a gcc2
74834 builtin and then its argument prototype would still apply. */
74835 char $ac_func ();
74836 /* The GNU C library defines this for functions which it implements
74837 to always fail with ENOSYS. Some functions are actually named
74838 something starting with __ and the normal name is an alias. */
74839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74840 choke me
74841 #else
74842 char (*f) () = $ac_func;
74843 #endif
74844 #ifdef __cplusplus
74846 #endif
74849 main ()
74851 return f != $ac_func;
74853 return 0;
74855 _ACEOF
74856 rm -f conftest.$ac_objext conftest$ac_exeext
74857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74858 (eval $ac_link) 2>conftest.er1
74859 ac_status=$?
74860 grep -v '^ *+' conftest.er1 >conftest.err
74861 rm -f conftest.er1
74862 cat conftest.err >&5
74863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74864 (exit $ac_status); } &&
74865 { ac_try='test -z "$ac_c_werror_flag"
74866 || test ! -s conftest.err'
74867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74868 (eval $ac_try) 2>&5
74869 ac_status=$?
74870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74871 (exit $ac_status); }; } &&
74872 { ac_try='test -s conftest$ac_exeext'
74873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74874 (eval $ac_try) 2>&5
74875 ac_status=$?
74876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74877 (exit $ac_status); }; }; then
74878 eval "$as_ac_var=yes"
74879 else
74880 echo "$as_me: failed program was:" >&5
74881 sed 's/^/| /' conftest.$ac_ext >&5
74883 eval "$as_ac_var=no"
74885 rm -f conftest.err conftest.$ac_objext \
74886 conftest$ac_exeext conftest.$ac_ext
74888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74890 if test `eval echo '${'$as_ac_var'}'` = yes; then
74891 cat >>confdefs.h <<_ACEOF
74892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74893 _ACEOF
74895 else
74896 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74898 done
74901 if test x$ac_cv_func_copysignl = x"yes"; then
74903 for ac_func in __signbitl
74905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74906 echo "$as_me:$LINENO: checking for $ac_func" >&5
74907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74908 if eval "test \"\${$as_ac_var+set}\" = set"; then
74909 echo $ECHO_N "(cached) $ECHO_C" >&6
74910 else
74911 if test x$gcc_no_link = xyes; then
74912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74914 { (exit 1); exit 1; }; }
74916 cat >conftest.$ac_ext <<_ACEOF
74917 /* confdefs.h. */
74918 _ACEOF
74919 cat confdefs.h >>conftest.$ac_ext
74920 cat >>conftest.$ac_ext <<_ACEOF
74921 /* end confdefs.h. */
74922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74924 #define $ac_func innocuous_$ac_func
74926 /* System header to define __stub macros and hopefully few prototypes,
74927 which can conflict with char $ac_func (); below.
74928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74929 <limits.h> exists even on freestanding compilers. */
74931 #ifdef __STDC__
74932 # include <limits.h>
74933 #else
74934 # include <assert.h>
74935 #endif
74937 #undef $ac_func
74939 /* Override any gcc2 internal prototype to avoid an error. */
74940 #ifdef __cplusplus
74941 extern "C"
74943 #endif
74944 /* We use char because int might match the return type of a gcc2
74945 builtin and then its argument prototype would still apply. */
74946 char $ac_func ();
74947 /* The GNU C library defines this for functions which it implements
74948 to always fail with ENOSYS. Some functions are actually named
74949 something starting with __ and the normal name is an alias. */
74950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74951 choke me
74952 #else
74953 char (*f) () = $ac_func;
74954 #endif
74955 #ifdef __cplusplus
74957 #endif
74960 main ()
74962 return f != $ac_func;
74964 return 0;
74966 _ACEOF
74967 rm -f conftest.$ac_objext conftest$ac_exeext
74968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74969 (eval $ac_link) 2>conftest.er1
74970 ac_status=$?
74971 grep -v '^ *+' conftest.er1 >conftest.err
74972 rm -f conftest.er1
74973 cat conftest.err >&5
74974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74975 (exit $ac_status); } &&
74976 { ac_try='test -z "$ac_c_werror_flag"
74977 || test ! -s conftest.err'
74978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74979 (eval $ac_try) 2>&5
74980 ac_status=$?
74981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74982 (exit $ac_status); }; } &&
74983 { ac_try='test -s conftest$ac_exeext'
74984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74985 (eval $ac_try) 2>&5
74986 ac_status=$?
74987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74988 (exit $ac_status); }; }; then
74989 eval "$as_ac_var=yes"
74990 else
74991 echo "$as_me: failed program was:" >&5
74992 sed 's/^/| /' conftest.$ac_ext >&5
74994 eval "$as_ac_var=no"
74996 rm -f conftest.err conftest.$ac_objext \
74997 conftest$ac_exeext conftest.$ac_ext
74999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75001 if test `eval echo '${'$as_ac_var'}'` = yes; then
75002 cat >>confdefs.h <<_ACEOF
75003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75004 _ACEOF
75006 else
75007 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75009 done
75013 # Used in libmath/Makefile.am.
75014 if test -n "$LIBMATHOBJS"; then
75015 need_libmath=yes
75021 enable_iconv=no
75022 # Only continue checking if the ISO C99 headers exist and support is on.
75023 if test x"$enable_wchar_t" = xyes; then
75025 # Use iconv for wchar_t to char conversions. As such, check for
75026 # X/Open Portability Guide, version 2 features (XPG2).
75027 if test "${ac_cv_header_iconv_h+set}" = set; then
75028 echo "$as_me:$LINENO: checking for iconv.h" >&5
75029 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75030 if test "${ac_cv_header_iconv_h+set}" = set; then
75031 echo $ECHO_N "(cached) $ECHO_C" >&6
75033 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75034 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75035 else
75036 # Is the header compilable?
75037 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75038 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75039 cat >conftest.$ac_ext <<_ACEOF
75040 /* confdefs.h. */
75041 _ACEOF
75042 cat confdefs.h >>conftest.$ac_ext
75043 cat >>conftest.$ac_ext <<_ACEOF
75044 /* end confdefs.h. */
75045 $ac_includes_default
75046 #include <iconv.h>
75047 _ACEOF
75048 rm -f conftest.$ac_objext
75049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75050 (eval $ac_compile) 2>conftest.er1
75051 ac_status=$?
75052 grep -v '^ *+' conftest.er1 >conftest.err
75053 rm -f conftest.er1
75054 cat conftest.err >&5
75055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75056 (exit $ac_status); } &&
75057 { ac_try='test -z "$ac_c_werror_flag"
75058 || test ! -s conftest.err'
75059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75060 (eval $ac_try) 2>&5
75061 ac_status=$?
75062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75063 (exit $ac_status); }; } &&
75064 { ac_try='test -s conftest.$ac_objext'
75065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75066 (eval $ac_try) 2>&5
75067 ac_status=$?
75068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75069 (exit $ac_status); }; }; then
75070 ac_header_compiler=yes
75071 else
75072 echo "$as_me: failed program was:" >&5
75073 sed 's/^/| /' conftest.$ac_ext >&5
75075 ac_header_compiler=no
75077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75078 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75079 echo "${ECHO_T}$ac_header_compiler" >&6
75081 # Is the header present?
75082 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75083 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75084 cat >conftest.$ac_ext <<_ACEOF
75085 /* confdefs.h. */
75086 _ACEOF
75087 cat confdefs.h >>conftest.$ac_ext
75088 cat >>conftest.$ac_ext <<_ACEOF
75089 /* end confdefs.h. */
75090 #include <iconv.h>
75091 _ACEOF
75092 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75093 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75094 ac_status=$?
75095 grep -v '^ *+' conftest.er1 >conftest.err
75096 rm -f conftest.er1
75097 cat conftest.err >&5
75098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75099 (exit $ac_status); } >/dev/null; then
75100 if test -s conftest.err; then
75101 ac_cpp_err=$ac_c_preproc_warn_flag
75102 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75103 else
75104 ac_cpp_err=
75106 else
75107 ac_cpp_err=yes
75109 if test -z "$ac_cpp_err"; then
75110 ac_header_preproc=yes
75111 else
75112 echo "$as_me: failed program was:" >&5
75113 sed 's/^/| /' conftest.$ac_ext >&5
75115 ac_header_preproc=no
75117 rm -f conftest.err conftest.$ac_ext
75118 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75119 echo "${ECHO_T}$ac_header_preproc" >&6
75121 # So? What about this header?
75122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75123 yes:no: )
75124 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75125 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75126 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
75127 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
75128 ac_header_preproc=yes
75130 no:yes:* )
75131 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75132 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75133 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
75134 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
75135 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
75136 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
75137 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
75138 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
75139 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75140 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75141 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
75142 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
75144 cat <<\_ASBOX
75145 ## ----------------------------------------- ##
75146 ## Report this to the package-unused lists. ##
75147 ## ----------------------------------------- ##
75148 _ASBOX
75150 sed "s/^/$as_me: WARNING: /" >&2
75152 esac
75153 echo "$as_me:$LINENO: checking for iconv.h" >&5
75154 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75155 if test "${ac_cv_header_iconv_h+set}" = set; then
75156 echo $ECHO_N "(cached) $ECHO_C" >&6
75157 else
75158 ac_cv_header_iconv_h=$ac_header_preproc
75160 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75161 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75164 if test $ac_cv_header_iconv_h = yes; then
75165 ac_has_iconv_h=yes
75166 else
75167 ac_has_iconv_h=no
75171 if test "${ac_cv_header_langinfo_h+set}" = set; then
75172 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75173 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75174 if test "${ac_cv_header_langinfo_h+set}" = set; then
75175 echo $ECHO_N "(cached) $ECHO_C" >&6
75177 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75178 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75179 else
75180 # Is the header compilable?
75181 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
75182 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
75183 cat >conftest.$ac_ext <<_ACEOF
75184 /* confdefs.h. */
75185 _ACEOF
75186 cat confdefs.h >>conftest.$ac_ext
75187 cat >>conftest.$ac_ext <<_ACEOF
75188 /* end confdefs.h. */
75189 $ac_includes_default
75190 #include <langinfo.h>
75191 _ACEOF
75192 rm -f conftest.$ac_objext
75193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75194 (eval $ac_compile) 2>conftest.er1
75195 ac_status=$?
75196 grep -v '^ *+' conftest.er1 >conftest.err
75197 rm -f conftest.er1
75198 cat conftest.err >&5
75199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75200 (exit $ac_status); } &&
75201 { ac_try='test -z "$ac_c_werror_flag"
75202 || test ! -s conftest.err'
75203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75204 (eval $ac_try) 2>&5
75205 ac_status=$?
75206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75207 (exit $ac_status); }; } &&
75208 { ac_try='test -s conftest.$ac_objext'
75209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75210 (eval $ac_try) 2>&5
75211 ac_status=$?
75212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75213 (exit $ac_status); }; }; then
75214 ac_header_compiler=yes
75215 else
75216 echo "$as_me: failed program was:" >&5
75217 sed 's/^/| /' conftest.$ac_ext >&5
75219 ac_header_compiler=no
75221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75222 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75223 echo "${ECHO_T}$ac_header_compiler" >&6
75225 # Is the header present?
75226 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75227 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75228 cat >conftest.$ac_ext <<_ACEOF
75229 /* confdefs.h. */
75230 _ACEOF
75231 cat confdefs.h >>conftest.$ac_ext
75232 cat >>conftest.$ac_ext <<_ACEOF
75233 /* end confdefs.h. */
75234 #include <langinfo.h>
75235 _ACEOF
75236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75238 ac_status=$?
75239 grep -v '^ *+' conftest.er1 >conftest.err
75240 rm -f conftest.er1
75241 cat conftest.err >&5
75242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75243 (exit $ac_status); } >/dev/null; then
75244 if test -s conftest.err; then
75245 ac_cpp_err=$ac_c_preproc_warn_flag
75246 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75247 else
75248 ac_cpp_err=
75250 else
75251 ac_cpp_err=yes
75253 if test -z "$ac_cpp_err"; then
75254 ac_header_preproc=yes
75255 else
75256 echo "$as_me: failed program was:" >&5
75257 sed 's/^/| /' conftest.$ac_ext >&5
75259 ac_header_preproc=no
75261 rm -f conftest.err conftest.$ac_ext
75262 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75263 echo "${ECHO_T}$ac_header_preproc" >&6
75265 # So? What about this header?
75266 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75267 yes:no: )
75268 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75269 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75270 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75271 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75272 ac_header_preproc=yes
75274 no:yes:* )
75275 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75276 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75277 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75278 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75279 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75280 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75281 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
75282 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
75283 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75284 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75285 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75286 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75288 cat <<\_ASBOX
75289 ## ----------------------------------------- ##
75290 ## Report this to the package-unused lists. ##
75291 ## ----------------------------------------- ##
75292 _ASBOX
75294 sed "s/^/$as_me: WARNING: /" >&2
75296 esac
75297 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75298 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75299 if test "${ac_cv_header_langinfo_h+set}" = set; then
75300 echo $ECHO_N "(cached) $ECHO_C" >&6
75301 else
75302 ac_cv_header_langinfo_h=$ac_header_preproc
75304 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75305 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75308 if test $ac_cv_header_langinfo_h = yes; then
75309 ac_has_langinfo_h=yes
75310 else
75311 ac_has_langinfo_h=no
75316 # Check for existence of libiconv.a providing XPG2 wchar_t support.
75317 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75318 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75319 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75320 echo $ECHO_N "(cached) $ECHO_C" >&6
75321 else
75322 ac_check_lib_save_LIBS=$LIBS
75323 LIBS="-liconv $LIBS"
75324 if test x$gcc_no_link = xyes; then
75325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75327 { (exit 1); exit 1; }; }
75329 cat >conftest.$ac_ext <<_ACEOF
75330 /* confdefs.h. */
75331 _ACEOF
75332 cat confdefs.h >>conftest.$ac_ext
75333 cat >>conftest.$ac_ext <<_ACEOF
75334 /* end confdefs.h. */
75336 /* Override any gcc2 internal prototype to avoid an error. */
75337 #ifdef __cplusplus
75338 extern "C"
75339 #endif
75340 /* We use char because int might match the return type of a gcc2
75341 builtin and then its argument prototype would still apply. */
75342 char iconv ();
75344 main ()
75346 iconv ();
75348 return 0;
75350 _ACEOF
75351 rm -f conftest.$ac_objext conftest$ac_exeext
75352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75353 (eval $ac_link) 2>conftest.er1
75354 ac_status=$?
75355 grep -v '^ *+' conftest.er1 >conftest.err
75356 rm -f conftest.er1
75357 cat conftest.err >&5
75358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75359 (exit $ac_status); } &&
75360 { ac_try='test -z "$ac_c_werror_flag"
75361 || test ! -s conftest.err'
75362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75363 (eval $ac_try) 2>&5
75364 ac_status=$?
75365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75366 (exit $ac_status); }; } &&
75367 { ac_try='test -s conftest$ac_exeext'
75368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75369 (eval $ac_try) 2>&5
75370 ac_status=$?
75371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75372 (exit $ac_status); }; }; then
75373 ac_cv_lib_iconv_iconv=yes
75374 else
75375 echo "$as_me: failed program was:" >&5
75376 sed 's/^/| /' conftest.$ac_ext >&5
75378 ac_cv_lib_iconv_iconv=no
75380 rm -f conftest.err conftest.$ac_objext \
75381 conftest$ac_exeext conftest.$ac_ext
75382 LIBS=$ac_check_lib_save_LIBS
75384 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75385 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75386 if test $ac_cv_lib_iconv_iconv = yes; then
75387 LIBICONV="-liconv"
75390 ac_save_LIBS="$LIBS"
75391 LIBS="$LIBS $LIBICONV"
75398 for ac_func in iconv_open iconv_close iconv nl_langinfo
75400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75401 echo "$as_me:$LINENO: checking for $ac_func" >&5
75402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75403 if eval "test \"\${$as_ac_var+set}\" = set"; then
75404 echo $ECHO_N "(cached) $ECHO_C" >&6
75405 else
75406 if test x$gcc_no_link = xyes; then
75407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75409 { (exit 1); exit 1; }; }
75411 cat >conftest.$ac_ext <<_ACEOF
75412 /* confdefs.h. */
75413 _ACEOF
75414 cat confdefs.h >>conftest.$ac_ext
75415 cat >>conftest.$ac_ext <<_ACEOF
75416 /* end confdefs.h. */
75417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75419 #define $ac_func innocuous_$ac_func
75421 /* System header to define __stub macros and hopefully few prototypes,
75422 which can conflict with char $ac_func (); below.
75423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75424 <limits.h> exists even on freestanding compilers. */
75426 #ifdef __STDC__
75427 # include <limits.h>
75428 #else
75429 # include <assert.h>
75430 #endif
75432 #undef $ac_func
75434 /* Override any gcc2 internal prototype to avoid an error. */
75435 #ifdef __cplusplus
75436 extern "C"
75438 #endif
75439 /* We use char because int might match the return type of a gcc2
75440 builtin and then its argument prototype would still apply. */
75441 char $ac_func ();
75442 /* The GNU C library defines this for functions which it implements
75443 to always fail with ENOSYS. Some functions are actually named
75444 something starting with __ and the normal name is an alias. */
75445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75446 choke me
75447 #else
75448 char (*f) () = $ac_func;
75449 #endif
75450 #ifdef __cplusplus
75452 #endif
75455 main ()
75457 return f != $ac_func;
75459 return 0;
75461 _ACEOF
75462 rm -f conftest.$ac_objext conftest$ac_exeext
75463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75464 (eval $ac_link) 2>conftest.er1
75465 ac_status=$?
75466 grep -v '^ *+' conftest.er1 >conftest.err
75467 rm -f conftest.er1
75468 cat conftest.err >&5
75469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75470 (exit $ac_status); } &&
75471 { ac_try='test -z "$ac_c_werror_flag"
75472 || test ! -s conftest.err'
75473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75474 (eval $ac_try) 2>&5
75475 ac_status=$?
75476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75477 (exit $ac_status); }; } &&
75478 { ac_try='test -s conftest$ac_exeext'
75479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75480 (eval $ac_try) 2>&5
75481 ac_status=$?
75482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75483 (exit $ac_status); }; }; then
75484 eval "$as_ac_var=yes"
75485 else
75486 echo "$as_me: failed program was:" >&5
75487 sed 's/^/| /' conftest.$ac_ext >&5
75489 eval "$as_ac_var=no"
75491 rm -f conftest.err conftest.$ac_objext \
75492 conftest$ac_exeext conftest.$ac_ext
75494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75496 if test `eval echo '${'$as_ac_var'}'` = yes; then
75497 cat >>confdefs.h <<_ACEOF
75498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75499 _ACEOF
75500 ac_XPG2funcs=yes
75501 else
75502 ac_XPG2funcs=no
75504 done
75507 LIBS="$ac_save_LIBS"
75509 if test x"$ac_has_iconv_h" = xyes &&
75510 test x"$ac_has_langinfo_h" = xyes &&
75511 test x"$ac_XPG2funcs" = xyes;
75512 then
75514 cat >>confdefs.h <<\_ACEOF
75515 #define _GLIBCXX_USE_ICONV 1
75516 _ACEOF
75518 enable_iconv=yes
75521 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75522 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75523 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75524 echo "${ECHO_T}$enable_iconv" >&6
75526 cat >>confdefs.h <<\_ACEOF
75527 #define HAVE_LC_MESSAGES 1
75528 _ACEOF
75530 cat >>confdefs.h <<\_ACEOF
75531 #define HAVE_GETPAGESIZE 1
75532 _ACEOF
75534 cat >>confdefs.h <<\_ACEOF
75535 #define HAVE_SETENV 1
75536 _ACEOF
75538 cat >>confdefs.h <<\_ACEOF
75539 #define HAVE_SIGSETJMP 1
75540 _ACEOF
75542 cat >>confdefs.h <<\_ACEOF
75543 #define HAVE_COPYSIGN 1
75544 _ACEOF
75546 cat >>confdefs.h <<\_ACEOF
75547 #define HAVE_COPYSIGNF 1
75548 _ACEOF
75550 cat >>confdefs.h <<\_ACEOF
75551 #define HAVE_FINITEF 1
75552 _ACEOF
75554 cat >>confdefs.h <<\_ACEOF
75555 #define HAVE_FINITE 1
75556 _ACEOF
75558 cat >>confdefs.h <<\_ACEOF
75559 #define HAVE_FREXPF 1
75560 _ACEOF
75562 cat >>confdefs.h <<\_ACEOF
75563 #define HAVE_HYPOT 1
75564 _ACEOF
75566 cat >>confdefs.h <<\_ACEOF
75567 #define HAVE_HYPOTF 1
75568 _ACEOF
75570 cat >>confdefs.h <<\_ACEOF
75571 #define HAVE_ISINF 1
75572 _ACEOF
75574 cat >>confdefs.h <<\_ACEOF
75575 #define HAVE_ISNAN 1
75576 _ACEOF
75578 cat >>confdefs.h <<\_ACEOF
75579 #define HAVE_ISNANF 1
75580 _ACEOF
75583 cat >>confdefs.h <<\_ACEOF
75584 #define HAVE_MMAP 1
75585 _ACEOF
75587 cat >>confdefs.h <<\_ACEOF
75588 #define HAVE_ACOSF 1
75589 _ACEOF
75591 cat >>confdefs.h <<\_ACEOF
75592 #define HAVE_ASINF 1
75593 _ACEOF
75595 cat >>confdefs.h <<\_ACEOF
75596 #define HAVE_ATAN2F 1
75597 _ACEOF
75599 cat >>confdefs.h <<\_ACEOF
75600 #define HAVE_ATANF 1
75601 _ACEOF
75603 cat >>confdefs.h <<\_ACEOF
75604 #define HAVE_CEILF 1
75605 _ACEOF
75607 cat >>confdefs.h <<\_ACEOF
75608 #define HAVE_COPYSIGN 1
75609 _ACEOF
75611 cat >>confdefs.h <<\_ACEOF
75612 #define HAVE_COPYSIGNF 1
75613 _ACEOF
75615 cat >>confdefs.h <<\_ACEOF
75616 #define HAVE_COSF 1
75617 _ACEOF
75619 cat >>confdefs.h <<\_ACEOF
75620 #define HAVE_COSHF 1
75621 _ACEOF
75623 cat >>confdefs.h <<\_ACEOF
75624 #define HAVE_EXPF 1
75625 _ACEOF
75627 cat >>confdefs.h <<\_ACEOF
75628 #define HAVE_FABSF 1
75629 _ACEOF
75631 cat >>confdefs.h <<\_ACEOF
75632 #define HAVE_FLOORF 1
75633 _ACEOF
75635 cat >>confdefs.h <<\_ACEOF
75636 #define HAVE_FMODF 1
75637 _ACEOF
75639 cat >>confdefs.h <<\_ACEOF
75640 #define HAVE_FREXPF 1
75641 _ACEOF
75643 cat >>confdefs.h <<\_ACEOF
75644 #define HAVE_LDEXPF 1
75645 _ACEOF
75647 cat >>confdefs.h <<\_ACEOF
75648 #define HAVE_LOG10F 1
75649 _ACEOF
75651 cat >>confdefs.h <<\_ACEOF
75652 #define HAVE_LOGF 1
75653 _ACEOF
75655 cat >>confdefs.h <<\_ACEOF
75656 #define HAVE_MODFF 1
75657 _ACEOF
75659 cat >>confdefs.h <<\_ACEOF
75660 #define HAVE_POWF 1
75661 _ACEOF
75663 cat >>confdefs.h <<\_ACEOF
75664 #define HAVE_SINF 1
75665 _ACEOF
75667 cat >>confdefs.h <<\_ACEOF
75668 #define HAVE_SINHF 1
75669 _ACEOF
75671 cat >>confdefs.h <<\_ACEOF
75672 #define HAVE_SQRTF 1
75673 _ACEOF
75675 cat >>confdefs.h <<\_ACEOF
75676 #define HAVE_TANF 1
75677 _ACEOF
75679 cat >>confdefs.h <<\_ACEOF
75680 #define HAVE_TANHF 1
75681 _ACEOF
75683 if test x"long_double_math_on_this_cpu" = x"yes"; then
75684 cat >>confdefs.h <<\_ACEOF
75685 #define HAVE_FINITEL 1
75686 _ACEOF
75688 cat >>confdefs.h <<\_ACEOF
75689 #define HAVE_ISINFL 1
75690 _ACEOF
75692 cat >>confdefs.h <<\_ACEOF
75693 #define HAVE_ISNANL 1
75694 _ACEOF
75698 *-hpux*)
75711 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75712 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75713 fp.h locale.h float.h inttypes.h
75715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75717 echo "$as_me:$LINENO: checking for $ac_header" >&5
75718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75720 echo $ECHO_N "(cached) $ECHO_C" >&6
75722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75724 else
75725 # Is the header compilable?
75726 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75727 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75728 cat >conftest.$ac_ext <<_ACEOF
75729 /* confdefs.h. */
75730 _ACEOF
75731 cat confdefs.h >>conftest.$ac_ext
75732 cat >>conftest.$ac_ext <<_ACEOF
75733 /* end confdefs.h. */
75734 $ac_includes_default
75735 #include <$ac_header>
75736 _ACEOF
75737 rm -f conftest.$ac_objext
75738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75739 (eval $ac_compile) 2>conftest.er1
75740 ac_status=$?
75741 grep -v '^ *+' conftest.er1 >conftest.err
75742 rm -f conftest.er1
75743 cat conftest.err >&5
75744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75745 (exit $ac_status); } &&
75746 { ac_try='test -z "$ac_c_werror_flag"
75747 || test ! -s conftest.err'
75748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75749 (eval $ac_try) 2>&5
75750 ac_status=$?
75751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75752 (exit $ac_status); }; } &&
75753 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
75759 ac_header_compiler=yes
75760 else
75761 echo "$as_me: failed program was:" >&5
75762 sed 's/^/| /' conftest.$ac_ext >&5
75764 ac_header_compiler=no
75766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75768 echo "${ECHO_T}$ac_header_compiler" >&6
75770 # Is the header present?
75771 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75772 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75773 cat >conftest.$ac_ext <<_ACEOF
75774 /* confdefs.h. */
75775 _ACEOF
75776 cat confdefs.h >>conftest.$ac_ext
75777 cat >>conftest.$ac_ext <<_ACEOF
75778 /* end confdefs.h. */
75779 #include <$ac_header>
75780 _ACEOF
75781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75782 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75783 ac_status=$?
75784 grep -v '^ *+' conftest.er1 >conftest.err
75785 rm -f conftest.er1
75786 cat conftest.err >&5
75787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75788 (exit $ac_status); } >/dev/null; then
75789 if test -s conftest.err; then
75790 ac_cpp_err=$ac_c_preproc_warn_flag
75791 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75792 else
75793 ac_cpp_err=
75795 else
75796 ac_cpp_err=yes
75798 if test -z "$ac_cpp_err"; then
75799 ac_header_preproc=yes
75800 else
75801 echo "$as_me: failed program was:" >&5
75802 sed 's/^/| /' conftest.$ac_ext >&5
75804 ac_header_preproc=no
75806 rm -f conftest.err conftest.$ac_ext
75807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75808 echo "${ECHO_T}$ac_header_preproc" >&6
75810 # So? What about this header?
75811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75812 yes:no: )
75813 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75814 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75816 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75817 ac_header_preproc=yes
75819 no:yes:* )
75820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75824 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75825 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75826 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75827 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75830 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75831 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75833 cat <<\_ASBOX
75834 ## ----------------------------------------- ##
75835 ## Report this to the package-unused lists. ##
75836 ## ----------------------------------------- ##
75837 _ASBOX
75839 sed "s/^/$as_me: WARNING: /" >&2
75841 esac
75842 echo "$as_me:$LINENO: checking for $ac_header" >&5
75843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75845 echo $ECHO_N "(cached) $ECHO_C" >&6
75846 else
75847 eval "$as_ac_Header=\$ac_header_preproc"
75849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75854 cat >>confdefs.h <<_ACEOF
75855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75856 _ACEOF
75860 done
75862 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75865 # If we're not using GNU ld, then there's no point in even trying these
75866 # tests. Check for that first. We should have already tested for gld
75867 # by now (in libtool), but require it now just to be safe...
75868 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75869 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75873 # The name set by libtool depends on the version of libtool. Shame on us
75874 # for depending on an impl detail, but c'est la vie. Older versions used
75875 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75876 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75877 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75878 # set (hence we're using an older libtool), then set it.
75879 if test x${with_gnu_ld+set} != xset; then
75880 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75881 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75882 with_gnu_ld=no
75883 else
75884 with_gnu_ld=$ac_cv_prog_gnu_ld
75888 # Start by getting the version number. I think the libtool test already
75889 # does some of this, but throws away the result.
75891 ldver=`$LD --version 2>/dev/null | head -1 | \
75892 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75894 glibcxx_gnu_ld_version=`echo $ldver | \
75895 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75897 # Set --gc-sections.
75898 if test x"$with_gnu_ld" = x"yes"; then
75899 # GNU ld it is! Joy and bunny rabbits!
75901 # All these tests are for C++; save the language and the compiler flags.
75902 # Need to do this so that g++ won't try to link in libstdc++
75903 ac_test_CFLAGS="${CFLAGS+set}"
75904 ac_save_CFLAGS="$CFLAGS"
75905 CFLAGS='-x c++ -Wl,--gc-sections'
75907 # Check for -Wl,--gc-sections
75908 # Note: It's supposed to work now, so ease off until proven wrong...
75909 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75910 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75911 cat >conftest.$ac_ext <<_ACEOF
75912 /* confdefs.h. */
75913 _ACEOF
75914 cat confdefs.h >>conftest.$ac_ext
75915 cat >>conftest.$ac_ext <<_ACEOF
75916 /* end confdefs.h. */
75918 int main(void)
75920 try { throw 1; }
75921 catch (...) { };
75922 return 0;
75926 main ()
75928 ac_sectionLDflags=yes
75930 return 0;
75932 _ACEOF
75933 rm -f conftest.$ac_objext
75934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75935 (eval $ac_compile) 2>conftest.er1
75936 ac_status=$?
75937 grep -v '^ *+' conftest.er1 >conftest.err
75938 rm -f conftest.er1
75939 cat conftest.err >&5
75940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75941 (exit $ac_status); } &&
75942 { ac_try='test -z "$ac_c_werror_flag"
75943 || test ! -s conftest.err'
75944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75945 (eval $ac_try) 2>&5
75946 ac_status=$?
75947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75948 (exit $ac_status); }; } &&
75949 { ac_try='test -s conftest.$ac_objext'
75950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75951 (eval $ac_try) 2>&5
75952 ac_status=$?
75953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75954 (exit $ac_status); }; }; then
75955 ac_sectionLDflags=no
75956 else
75957 echo "$as_me: failed program was:" >&5
75958 sed 's/^/| /' conftest.$ac_ext >&5
75960 ac_sectionLDflags=yes
75962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75963 if test "$ac_test_CFLAGS" = set; then
75964 CFLAGS="$ac_save_CFLAGS"
75965 else
75966 # this is the suspicious part
75967 CFLAGS=''
75969 if test "$ac_sectionLDflags" = "yes"; then
75970 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75972 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75973 echo "${ECHO_T}$ac_sectionLDflags" >&6
75976 # Set -z,relro.
75977 # Note this is only for shared objects.
75978 ac_ld_relro=no
75979 if test x"$with_gnu_ld" = x"yes"; then
75980 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75981 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75982 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75983 if test -n "$cxx_z_relo"; then
75984 OPT_LDFLAGS="-Wl,-z,relro"
75985 ac_ld_relro=yes
75987 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75988 echo "${ECHO_T}$ac_ld_relro" >&6
75991 # Set linker optimization flags.
75992 if test x"$with_gnu_ld" = x"yes"; then
75993 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76001 echo "$as_me:$LINENO: checking for main in -lm" >&5
76002 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76003 if test "${ac_cv_lib_m_main+set}" = set; then
76004 echo $ECHO_N "(cached) $ECHO_C" >&6
76005 else
76006 ac_check_lib_save_LIBS=$LIBS
76007 LIBS="-lm $LIBS"
76008 if test x$gcc_no_link = xyes; then
76009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76011 { (exit 1); exit 1; }; }
76013 cat >conftest.$ac_ext <<_ACEOF
76014 /* confdefs.h. */
76015 _ACEOF
76016 cat confdefs.h >>conftest.$ac_ext
76017 cat >>conftest.$ac_ext <<_ACEOF
76018 /* end confdefs.h. */
76022 main ()
76024 main ();
76026 return 0;
76028 _ACEOF
76029 rm -f conftest.$ac_objext conftest$ac_exeext
76030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76031 (eval $ac_link) 2>conftest.er1
76032 ac_status=$?
76033 grep -v '^ *+' conftest.er1 >conftest.err
76034 rm -f conftest.er1
76035 cat conftest.err >&5
76036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76037 (exit $ac_status); } &&
76038 { ac_try='test -z "$ac_c_werror_flag"
76039 || test ! -s conftest.err'
76040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76041 (eval $ac_try) 2>&5
76042 ac_status=$?
76043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76044 (exit $ac_status); }; } &&
76045 { ac_try='test -s conftest$ac_exeext'
76046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76047 (eval $ac_try) 2>&5
76048 ac_status=$?
76049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76050 (exit $ac_status); }; }; then
76051 ac_cv_lib_m_main=yes
76052 else
76053 echo "$as_me: failed program was:" >&5
76054 sed 's/^/| /' conftest.$ac_ext >&5
76056 ac_cv_lib_m_main=no
76058 rm -f conftest.err conftest.$ac_objext \
76059 conftest$ac_exeext conftest.$ac_ext
76060 LIBS=$ac_check_lib_save_LIBS
76062 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76063 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76064 if test $ac_cv_lib_m_main = yes; then
76065 cat >>confdefs.h <<_ACEOF
76066 #define HAVE_LIBM 1
76067 _ACEOF
76069 LIBS="-lm $LIBS"
76074 for ac_func in copysignf
76076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76077 echo "$as_me:$LINENO: checking for $ac_func" >&5
76078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76079 if eval "test \"\${$as_ac_var+set}\" = set"; then
76080 echo $ECHO_N "(cached) $ECHO_C" >&6
76081 else
76082 if test x$gcc_no_link = xyes; then
76083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76085 { (exit 1); exit 1; }; }
76087 cat >conftest.$ac_ext <<_ACEOF
76088 /* confdefs.h. */
76089 _ACEOF
76090 cat confdefs.h >>conftest.$ac_ext
76091 cat >>conftest.$ac_ext <<_ACEOF
76092 /* end confdefs.h. */
76093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76095 #define $ac_func innocuous_$ac_func
76097 /* System header to define __stub macros and hopefully few prototypes,
76098 which can conflict with char $ac_func (); below.
76099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76100 <limits.h> exists even on freestanding compilers. */
76102 #ifdef __STDC__
76103 # include <limits.h>
76104 #else
76105 # include <assert.h>
76106 #endif
76108 #undef $ac_func
76110 /* Override any gcc2 internal prototype to avoid an error. */
76111 #ifdef __cplusplus
76112 extern "C"
76114 #endif
76115 /* We use char because int might match the return type of a gcc2
76116 builtin and then its argument prototype would still apply. */
76117 char $ac_func ();
76118 /* The GNU C library defines this for functions which it implements
76119 to always fail with ENOSYS. Some functions are actually named
76120 something starting with __ and the normal name is an alias. */
76121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76122 choke me
76123 #else
76124 char (*f) () = $ac_func;
76125 #endif
76126 #ifdef __cplusplus
76128 #endif
76131 main ()
76133 return f != $ac_func;
76135 return 0;
76137 _ACEOF
76138 rm -f conftest.$ac_objext conftest$ac_exeext
76139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76140 (eval $ac_link) 2>conftest.er1
76141 ac_status=$?
76142 grep -v '^ *+' conftest.er1 >conftest.err
76143 rm -f conftest.er1
76144 cat conftest.err >&5
76145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76146 (exit $ac_status); } &&
76147 { ac_try='test -z "$ac_c_werror_flag"
76148 || test ! -s conftest.err'
76149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76150 (eval $ac_try) 2>&5
76151 ac_status=$?
76152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76153 (exit $ac_status); }; } &&
76154 { ac_try='test -s conftest$ac_exeext'
76155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76156 (eval $ac_try) 2>&5
76157 ac_status=$?
76158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76159 (exit $ac_status); }; }; then
76160 eval "$as_ac_var=yes"
76161 else
76162 echo "$as_me: failed program was:" >&5
76163 sed 's/^/| /' conftest.$ac_ext >&5
76165 eval "$as_ac_var=no"
76167 rm -f conftest.err conftest.$ac_objext \
76168 conftest$ac_exeext conftest.$ac_ext
76170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76172 if test `eval echo '${'$as_ac_var'}'` = yes; then
76173 cat >>confdefs.h <<_ACEOF
76174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76175 _ACEOF
76177 else
76178 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76180 done
76184 for ac_func in __signbit
76186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76187 echo "$as_me:$LINENO: checking for $ac_func" >&5
76188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76189 if eval "test \"\${$as_ac_var+set}\" = set"; then
76190 echo $ECHO_N "(cached) $ECHO_C" >&6
76191 else
76192 if test x$gcc_no_link = xyes; then
76193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76195 { (exit 1); exit 1; }; }
76197 cat >conftest.$ac_ext <<_ACEOF
76198 /* confdefs.h. */
76199 _ACEOF
76200 cat confdefs.h >>conftest.$ac_ext
76201 cat >>conftest.$ac_ext <<_ACEOF
76202 /* end confdefs.h. */
76203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76205 #define $ac_func innocuous_$ac_func
76207 /* System header to define __stub macros and hopefully few prototypes,
76208 which can conflict with char $ac_func (); below.
76209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76210 <limits.h> exists even on freestanding compilers. */
76212 #ifdef __STDC__
76213 # include <limits.h>
76214 #else
76215 # include <assert.h>
76216 #endif
76218 #undef $ac_func
76220 /* Override any gcc2 internal prototype to avoid an error. */
76221 #ifdef __cplusplus
76222 extern "C"
76224 #endif
76225 /* We use char because int might match the return type of a gcc2
76226 builtin and then its argument prototype would still apply. */
76227 char $ac_func ();
76228 /* The GNU C library defines this for functions which it implements
76229 to always fail with ENOSYS. Some functions are actually named
76230 something starting with __ and the normal name is an alias. */
76231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76232 choke me
76233 #else
76234 char (*f) () = $ac_func;
76235 #endif
76236 #ifdef __cplusplus
76238 #endif
76241 main ()
76243 return f != $ac_func;
76245 return 0;
76247 _ACEOF
76248 rm -f conftest.$ac_objext conftest$ac_exeext
76249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76250 (eval $ac_link) 2>conftest.er1
76251 ac_status=$?
76252 grep -v '^ *+' conftest.er1 >conftest.err
76253 rm -f conftest.er1
76254 cat conftest.err >&5
76255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76256 (exit $ac_status); } &&
76257 { ac_try='test -z "$ac_c_werror_flag"
76258 || test ! -s conftest.err'
76259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76260 (eval $ac_try) 2>&5
76261 ac_status=$?
76262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76263 (exit $ac_status); }; } &&
76264 { ac_try='test -s conftest$ac_exeext'
76265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76266 (eval $ac_try) 2>&5
76267 ac_status=$?
76268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76269 (exit $ac_status); }; }; then
76270 eval "$as_ac_var=yes"
76271 else
76272 echo "$as_me: failed program was:" >&5
76273 sed 's/^/| /' conftest.$ac_ext >&5
76275 eval "$as_ac_var=no"
76277 rm -f conftest.err conftest.$ac_objext \
76278 conftest$ac_exeext conftest.$ac_ext
76280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76282 if test `eval echo '${'$as_ac_var'}'` = yes; then
76283 cat >>confdefs.h <<_ACEOF
76284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76285 _ACEOF
76287 else
76288 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76290 done
76294 for ac_func in __signbitf
76296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76297 echo "$as_me:$LINENO: checking for $ac_func" >&5
76298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76299 if eval "test \"\${$as_ac_var+set}\" = set"; then
76300 echo $ECHO_N "(cached) $ECHO_C" >&6
76301 else
76302 if test x$gcc_no_link = xyes; then
76303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76305 { (exit 1); exit 1; }; }
76307 cat >conftest.$ac_ext <<_ACEOF
76308 /* confdefs.h. */
76309 _ACEOF
76310 cat confdefs.h >>conftest.$ac_ext
76311 cat >>conftest.$ac_ext <<_ACEOF
76312 /* end confdefs.h. */
76313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76315 #define $ac_func innocuous_$ac_func
76317 /* System header to define __stub macros and hopefully few prototypes,
76318 which can conflict with char $ac_func (); below.
76319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76320 <limits.h> exists even on freestanding compilers. */
76322 #ifdef __STDC__
76323 # include <limits.h>
76324 #else
76325 # include <assert.h>
76326 #endif
76328 #undef $ac_func
76330 /* Override any gcc2 internal prototype to avoid an error. */
76331 #ifdef __cplusplus
76332 extern "C"
76334 #endif
76335 /* We use char because int might match the return type of a gcc2
76336 builtin and then its argument prototype would still apply. */
76337 char $ac_func ();
76338 /* The GNU C library defines this for functions which it implements
76339 to always fail with ENOSYS. Some functions are actually named
76340 something starting with __ and the normal name is an alias. */
76341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76342 choke me
76343 #else
76344 char (*f) () = $ac_func;
76345 #endif
76346 #ifdef __cplusplus
76348 #endif
76351 main ()
76353 return f != $ac_func;
76355 return 0;
76357 _ACEOF
76358 rm -f conftest.$ac_objext conftest$ac_exeext
76359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76360 (eval $ac_link) 2>conftest.er1
76361 ac_status=$?
76362 grep -v '^ *+' conftest.er1 >conftest.err
76363 rm -f conftest.er1
76364 cat conftest.err >&5
76365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76366 (exit $ac_status); } &&
76367 { ac_try='test -z "$ac_c_werror_flag"
76368 || test ! -s conftest.err'
76369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76370 (eval $ac_try) 2>&5
76371 ac_status=$?
76372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76373 (exit $ac_status); }; } &&
76374 { ac_try='test -s conftest$ac_exeext'
76375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76376 (eval $ac_try) 2>&5
76377 ac_status=$?
76378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76379 (exit $ac_status); }; }; then
76380 eval "$as_ac_var=yes"
76381 else
76382 echo "$as_me: failed program was:" >&5
76383 sed 's/^/| /' conftest.$ac_ext >&5
76385 eval "$as_ac_var=no"
76387 rm -f conftest.err conftest.$ac_objext \
76388 conftest$ac_exeext conftest.$ac_ext
76390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76392 if test `eval echo '${'$as_ac_var'}'` = yes; then
76393 cat >>confdefs.h <<_ACEOF
76394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76395 _ACEOF
76397 else
76398 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76400 done
76403 if test x$ac_cv_func_copysignl = x"yes"; then
76405 for ac_func in __signbitl
76407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76408 echo "$as_me:$LINENO: checking for $ac_func" >&5
76409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76410 if eval "test \"\${$as_ac_var+set}\" = set"; then
76411 echo $ECHO_N "(cached) $ECHO_C" >&6
76412 else
76413 if test x$gcc_no_link = xyes; then
76414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76416 { (exit 1); exit 1; }; }
76418 cat >conftest.$ac_ext <<_ACEOF
76419 /* confdefs.h. */
76420 _ACEOF
76421 cat confdefs.h >>conftest.$ac_ext
76422 cat >>conftest.$ac_ext <<_ACEOF
76423 /* end confdefs.h. */
76424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76426 #define $ac_func innocuous_$ac_func
76428 /* System header to define __stub macros and hopefully few prototypes,
76429 which can conflict with char $ac_func (); below.
76430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76431 <limits.h> exists even on freestanding compilers. */
76433 #ifdef __STDC__
76434 # include <limits.h>
76435 #else
76436 # include <assert.h>
76437 #endif
76439 #undef $ac_func
76441 /* Override any gcc2 internal prototype to avoid an error. */
76442 #ifdef __cplusplus
76443 extern "C"
76445 #endif
76446 /* We use char because int might match the return type of a gcc2
76447 builtin and then its argument prototype would still apply. */
76448 char $ac_func ();
76449 /* The GNU C library defines this for functions which it implements
76450 to always fail with ENOSYS. Some functions are actually named
76451 something starting with __ and the normal name is an alias. */
76452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76453 choke me
76454 #else
76455 char (*f) () = $ac_func;
76456 #endif
76457 #ifdef __cplusplus
76459 #endif
76462 main ()
76464 return f != $ac_func;
76466 return 0;
76468 _ACEOF
76469 rm -f conftest.$ac_objext conftest$ac_exeext
76470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76471 (eval $ac_link) 2>conftest.er1
76472 ac_status=$?
76473 grep -v '^ *+' conftest.er1 >conftest.err
76474 rm -f conftest.er1
76475 cat conftest.err >&5
76476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76477 (exit $ac_status); } &&
76478 { ac_try='test -z "$ac_c_werror_flag"
76479 || test ! -s conftest.err'
76480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76481 (eval $ac_try) 2>&5
76482 ac_status=$?
76483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76484 (exit $ac_status); }; } &&
76485 { ac_try='test -s conftest$ac_exeext'
76486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76487 (eval $ac_try) 2>&5
76488 ac_status=$?
76489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76490 (exit $ac_status); }; }; then
76491 eval "$as_ac_var=yes"
76492 else
76493 echo "$as_me: failed program was:" >&5
76494 sed 's/^/| /' conftest.$ac_ext >&5
76496 eval "$as_ac_var=no"
76498 rm -f conftest.err conftest.$ac_objext \
76499 conftest$ac_exeext conftest.$ac_ext
76501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76503 if test `eval echo '${'$as_ac_var'}'` = yes; then
76504 cat >>confdefs.h <<_ACEOF
76505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76506 _ACEOF
76508 else
76509 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76511 done
76515 # Used in libmath/Makefile.am.
76516 if test -n "$LIBMATHOBJS"; then
76517 need_libmath=yes
76523 enable_iconv=no
76524 # Only continue checking if the ISO C99 headers exist and support is on.
76525 if test x"$enable_wchar_t" = xyes; then
76527 # Use iconv for wchar_t to char conversions. As such, check for
76528 # X/Open Portability Guide, version 2 features (XPG2).
76529 if test "${ac_cv_header_iconv_h+set}" = set; then
76530 echo "$as_me:$LINENO: checking for iconv.h" >&5
76531 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76532 if test "${ac_cv_header_iconv_h+set}" = set; then
76533 echo $ECHO_N "(cached) $ECHO_C" >&6
76535 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76536 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76537 else
76538 # Is the header compilable?
76539 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76540 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76541 cat >conftest.$ac_ext <<_ACEOF
76542 /* confdefs.h. */
76543 _ACEOF
76544 cat confdefs.h >>conftest.$ac_ext
76545 cat >>conftest.$ac_ext <<_ACEOF
76546 /* end confdefs.h. */
76547 $ac_includes_default
76548 #include <iconv.h>
76549 _ACEOF
76550 rm -f conftest.$ac_objext
76551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76552 (eval $ac_compile) 2>conftest.er1
76553 ac_status=$?
76554 grep -v '^ *+' conftest.er1 >conftest.err
76555 rm -f conftest.er1
76556 cat conftest.err >&5
76557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76558 (exit $ac_status); } &&
76559 { ac_try='test -z "$ac_c_werror_flag"
76560 || test ! -s conftest.err'
76561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76562 (eval $ac_try) 2>&5
76563 ac_status=$?
76564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76565 (exit $ac_status); }; } &&
76566 { ac_try='test -s conftest.$ac_objext'
76567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76568 (eval $ac_try) 2>&5
76569 ac_status=$?
76570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76571 (exit $ac_status); }; }; then
76572 ac_header_compiler=yes
76573 else
76574 echo "$as_me: failed program was:" >&5
76575 sed 's/^/| /' conftest.$ac_ext >&5
76577 ac_header_compiler=no
76579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76580 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76581 echo "${ECHO_T}$ac_header_compiler" >&6
76583 # Is the header present?
76584 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76585 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76586 cat >conftest.$ac_ext <<_ACEOF
76587 /* confdefs.h. */
76588 _ACEOF
76589 cat confdefs.h >>conftest.$ac_ext
76590 cat >>conftest.$ac_ext <<_ACEOF
76591 /* end confdefs.h. */
76592 #include <iconv.h>
76593 _ACEOF
76594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76596 ac_status=$?
76597 grep -v '^ *+' conftest.er1 >conftest.err
76598 rm -f conftest.er1
76599 cat conftest.err >&5
76600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76601 (exit $ac_status); } >/dev/null; then
76602 if test -s conftest.err; then
76603 ac_cpp_err=$ac_c_preproc_warn_flag
76604 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76605 else
76606 ac_cpp_err=
76608 else
76609 ac_cpp_err=yes
76611 if test -z "$ac_cpp_err"; then
76612 ac_header_preproc=yes
76613 else
76614 echo "$as_me: failed program was:" >&5
76615 sed 's/^/| /' conftest.$ac_ext >&5
76617 ac_header_preproc=no
76619 rm -f conftest.err conftest.$ac_ext
76620 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76621 echo "${ECHO_T}$ac_header_preproc" >&6
76623 # So? What about this header?
76624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76625 yes:no: )
76626 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76627 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76628 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76629 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76630 ac_header_preproc=yes
76632 no:yes:* )
76633 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76634 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76635 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76636 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76637 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76638 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76639 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76640 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76641 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76642 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76643 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76644 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76646 cat <<\_ASBOX
76647 ## ----------------------------------------- ##
76648 ## Report this to the package-unused lists. ##
76649 ## ----------------------------------------- ##
76650 _ASBOX
76652 sed "s/^/$as_me: WARNING: /" >&2
76654 esac
76655 echo "$as_me:$LINENO: checking for iconv.h" >&5
76656 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76657 if test "${ac_cv_header_iconv_h+set}" = set; then
76658 echo $ECHO_N "(cached) $ECHO_C" >&6
76659 else
76660 ac_cv_header_iconv_h=$ac_header_preproc
76662 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76663 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76666 if test $ac_cv_header_iconv_h = yes; then
76667 ac_has_iconv_h=yes
76668 else
76669 ac_has_iconv_h=no
76673 if test "${ac_cv_header_langinfo_h+set}" = set; then
76674 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76675 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76676 if test "${ac_cv_header_langinfo_h+set}" = set; then
76677 echo $ECHO_N "(cached) $ECHO_C" >&6
76679 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76680 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76681 else
76682 # Is the header compilable?
76683 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76684 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76685 cat >conftest.$ac_ext <<_ACEOF
76686 /* confdefs.h. */
76687 _ACEOF
76688 cat confdefs.h >>conftest.$ac_ext
76689 cat >>conftest.$ac_ext <<_ACEOF
76690 /* end confdefs.h. */
76691 $ac_includes_default
76692 #include <langinfo.h>
76693 _ACEOF
76694 rm -f conftest.$ac_objext
76695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76696 (eval $ac_compile) 2>conftest.er1
76697 ac_status=$?
76698 grep -v '^ *+' conftest.er1 >conftest.err
76699 rm -f conftest.er1
76700 cat conftest.err >&5
76701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76702 (exit $ac_status); } &&
76703 { ac_try='test -z "$ac_c_werror_flag"
76704 || test ! -s conftest.err'
76705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76706 (eval $ac_try) 2>&5
76707 ac_status=$?
76708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76709 (exit $ac_status); }; } &&
76710 { ac_try='test -s conftest.$ac_objext'
76711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76712 (eval $ac_try) 2>&5
76713 ac_status=$?
76714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76715 (exit $ac_status); }; }; then
76716 ac_header_compiler=yes
76717 else
76718 echo "$as_me: failed program was:" >&5
76719 sed 's/^/| /' conftest.$ac_ext >&5
76721 ac_header_compiler=no
76723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76725 echo "${ECHO_T}$ac_header_compiler" >&6
76727 # Is the header present?
76728 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76729 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76730 cat >conftest.$ac_ext <<_ACEOF
76731 /* confdefs.h. */
76732 _ACEOF
76733 cat confdefs.h >>conftest.$ac_ext
76734 cat >>conftest.$ac_ext <<_ACEOF
76735 /* end confdefs.h. */
76736 #include <langinfo.h>
76737 _ACEOF
76738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76740 ac_status=$?
76741 grep -v '^ *+' conftest.er1 >conftest.err
76742 rm -f conftest.er1
76743 cat conftest.err >&5
76744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76745 (exit $ac_status); } >/dev/null; then
76746 if test -s conftest.err; then
76747 ac_cpp_err=$ac_c_preproc_warn_flag
76748 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76749 else
76750 ac_cpp_err=
76752 else
76753 ac_cpp_err=yes
76755 if test -z "$ac_cpp_err"; then
76756 ac_header_preproc=yes
76757 else
76758 echo "$as_me: failed program was:" >&5
76759 sed 's/^/| /' conftest.$ac_ext >&5
76761 ac_header_preproc=no
76763 rm -f conftest.err conftest.$ac_ext
76764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76765 echo "${ECHO_T}$ac_header_preproc" >&6
76767 # So? What about this header?
76768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76769 yes:no: )
76770 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76771 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76772 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76773 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76774 ac_header_preproc=yes
76776 no:yes:* )
76777 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76778 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76779 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76780 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76781 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76782 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76783 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76784 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76785 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76786 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76787 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76788 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76790 cat <<\_ASBOX
76791 ## ----------------------------------------- ##
76792 ## Report this to the package-unused lists. ##
76793 ## ----------------------------------------- ##
76794 _ASBOX
76796 sed "s/^/$as_me: WARNING: /" >&2
76798 esac
76799 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76800 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76801 if test "${ac_cv_header_langinfo_h+set}" = set; then
76802 echo $ECHO_N "(cached) $ECHO_C" >&6
76803 else
76804 ac_cv_header_langinfo_h=$ac_header_preproc
76806 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76807 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76810 if test $ac_cv_header_langinfo_h = yes; then
76811 ac_has_langinfo_h=yes
76812 else
76813 ac_has_langinfo_h=no
76818 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76819 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76820 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76821 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76822 echo $ECHO_N "(cached) $ECHO_C" >&6
76823 else
76824 ac_check_lib_save_LIBS=$LIBS
76825 LIBS="-liconv $LIBS"
76826 if test x$gcc_no_link = xyes; then
76827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76829 { (exit 1); exit 1; }; }
76831 cat >conftest.$ac_ext <<_ACEOF
76832 /* confdefs.h. */
76833 _ACEOF
76834 cat confdefs.h >>conftest.$ac_ext
76835 cat >>conftest.$ac_ext <<_ACEOF
76836 /* end confdefs.h. */
76838 /* Override any gcc2 internal prototype to avoid an error. */
76839 #ifdef __cplusplus
76840 extern "C"
76841 #endif
76842 /* We use char because int might match the return type of a gcc2
76843 builtin and then its argument prototype would still apply. */
76844 char iconv ();
76846 main ()
76848 iconv ();
76850 return 0;
76852 _ACEOF
76853 rm -f conftest.$ac_objext conftest$ac_exeext
76854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76855 (eval $ac_link) 2>conftest.er1
76856 ac_status=$?
76857 grep -v '^ *+' conftest.er1 >conftest.err
76858 rm -f conftest.er1
76859 cat conftest.err >&5
76860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76861 (exit $ac_status); } &&
76862 { ac_try='test -z "$ac_c_werror_flag"
76863 || test ! -s conftest.err'
76864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76865 (eval $ac_try) 2>&5
76866 ac_status=$?
76867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76868 (exit $ac_status); }; } &&
76869 { ac_try='test -s conftest$ac_exeext'
76870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76871 (eval $ac_try) 2>&5
76872 ac_status=$?
76873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76874 (exit $ac_status); }; }; then
76875 ac_cv_lib_iconv_iconv=yes
76876 else
76877 echo "$as_me: failed program was:" >&5
76878 sed 's/^/| /' conftest.$ac_ext >&5
76880 ac_cv_lib_iconv_iconv=no
76882 rm -f conftest.err conftest.$ac_objext \
76883 conftest$ac_exeext conftest.$ac_ext
76884 LIBS=$ac_check_lib_save_LIBS
76886 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76887 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76888 if test $ac_cv_lib_iconv_iconv = yes; then
76889 LIBICONV="-liconv"
76892 ac_save_LIBS="$LIBS"
76893 LIBS="$LIBS $LIBICONV"
76900 for ac_func in iconv_open iconv_close iconv nl_langinfo
76902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76903 echo "$as_me:$LINENO: checking for $ac_func" >&5
76904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76905 if eval "test \"\${$as_ac_var+set}\" = set"; then
76906 echo $ECHO_N "(cached) $ECHO_C" >&6
76907 else
76908 if test x$gcc_no_link = xyes; then
76909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76911 { (exit 1); exit 1; }; }
76913 cat >conftest.$ac_ext <<_ACEOF
76914 /* confdefs.h. */
76915 _ACEOF
76916 cat confdefs.h >>conftest.$ac_ext
76917 cat >>conftest.$ac_ext <<_ACEOF
76918 /* end confdefs.h. */
76919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76921 #define $ac_func innocuous_$ac_func
76923 /* System header to define __stub macros and hopefully few prototypes,
76924 which can conflict with char $ac_func (); below.
76925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76926 <limits.h> exists even on freestanding compilers. */
76928 #ifdef __STDC__
76929 # include <limits.h>
76930 #else
76931 # include <assert.h>
76932 #endif
76934 #undef $ac_func
76936 /* Override any gcc2 internal prototype to avoid an error. */
76937 #ifdef __cplusplus
76938 extern "C"
76940 #endif
76941 /* We use char because int might match the return type of a gcc2
76942 builtin and then its argument prototype would still apply. */
76943 char $ac_func ();
76944 /* The GNU C library defines this for functions which it implements
76945 to always fail with ENOSYS. Some functions are actually named
76946 something starting with __ and the normal name is an alias. */
76947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76948 choke me
76949 #else
76950 char (*f) () = $ac_func;
76951 #endif
76952 #ifdef __cplusplus
76954 #endif
76957 main ()
76959 return f != $ac_func;
76961 return 0;
76963 _ACEOF
76964 rm -f conftest.$ac_objext conftest$ac_exeext
76965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76966 (eval $ac_link) 2>conftest.er1
76967 ac_status=$?
76968 grep -v '^ *+' conftest.er1 >conftest.err
76969 rm -f conftest.er1
76970 cat conftest.err >&5
76971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76972 (exit $ac_status); } &&
76973 { ac_try='test -z "$ac_c_werror_flag"
76974 || test ! -s conftest.err'
76975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76976 (eval $ac_try) 2>&5
76977 ac_status=$?
76978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76979 (exit $ac_status); }; } &&
76980 { ac_try='test -s conftest$ac_exeext'
76981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76982 (eval $ac_try) 2>&5
76983 ac_status=$?
76984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76985 (exit $ac_status); }; }; then
76986 eval "$as_ac_var=yes"
76987 else
76988 echo "$as_me: failed program was:" >&5
76989 sed 's/^/| /' conftest.$ac_ext >&5
76991 eval "$as_ac_var=no"
76993 rm -f conftest.err conftest.$ac_objext \
76994 conftest$ac_exeext conftest.$ac_ext
76996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76998 if test `eval echo '${'$as_ac_var'}'` = yes; then
76999 cat >>confdefs.h <<_ACEOF
77000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77001 _ACEOF
77002 ac_XPG2funcs=yes
77003 else
77004 ac_XPG2funcs=no
77006 done
77009 LIBS="$ac_save_LIBS"
77011 if test x"$ac_has_iconv_h" = xyes &&
77012 test x"$ac_has_langinfo_h" = xyes &&
77013 test x"$ac_XPG2funcs" = xyes;
77014 then
77016 cat >>confdefs.h <<\_ACEOF
77017 #define _GLIBCXX_USE_ICONV 1
77018 _ACEOF
77020 enable_iconv=yes
77023 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
77024 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
77025 echo "$as_me:$LINENO: result: $enable_iconv" >&5
77026 echo "${ECHO_T}$enable_iconv" >&6
77028 cat >>confdefs.h <<\_ACEOF
77029 #define HAVE_COPYSIGN 1
77030 _ACEOF
77032 cat >>confdefs.h <<\_ACEOF
77033 #define HAVE_COPYSIGNF 1
77034 _ACEOF
77036 cat >>confdefs.h <<\_ACEOF
77037 #define HAVE_FREXPF 1
77038 _ACEOF
77040 cat >>confdefs.h <<\_ACEOF
77041 #define HAVE_HYPOT 1
77042 _ACEOF
77044 case "$target" in
77045 *-hpux10*)
77046 cat >>confdefs.h <<\_ACEOF
77047 #define HAVE_FINITE 1
77048 _ACEOF
77050 cat >>confdefs.h <<\_ACEOF
77051 #define HAVE_FINITEF 1
77052 _ACEOF
77054 cat >>confdefs.h <<\_ACEOF
77055 #define HAVE_ISINF 1
77056 _ACEOF
77058 cat >>confdefs.h <<\_ACEOF
77059 #define HAVE_ISINFF 1
77060 _ACEOF
77062 cat >>confdefs.h <<\_ACEOF
77063 #define HAVE_ISNAN 1
77064 _ACEOF
77066 cat >>confdefs.h <<\_ACEOF
77067 #define HAVE_ISNANF 1
77068 _ACEOF
77071 esac
77073 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
77089 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77090 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77091 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
77093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77095 echo "$as_me:$LINENO: checking for $ac_header" >&5
77096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77098 echo $ECHO_N "(cached) $ECHO_C" >&6
77100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77102 else
77103 # Is the header compilable?
77104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77106 cat >conftest.$ac_ext <<_ACEOF
77107 /* confdefs.h. */
77108 _ACEOF
77109 cat confdefs.h >>conftest.$ac_ext
77110 cat >>conftest.$ac_ext <<_ACEOF
77111 /* end confdefs.h. */
77112 $ac_includes_default
77113 #include <$ac_header>
77114 _ACEOF
77115 rm -f conftest.$ac_objext
77116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77117 (eval $ac_compile) 2>conftest.er1
77118 ac_status=$?
77119 grep -v '^ *+' conftest.er1 >conftest.err
77120 rm -f conftest.er1
77121 cat conftest.err >&5
77122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77123 (exit $ac_status); } &&
77124 { ac_try='test -z "$ac_c_werror_flag"
77125 || test ! -s conftest.err'
77126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77127 (eval $ac_try) 2>&5
77128 ac_status=$?
77129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77130 (exit $ac_status); }; } &&
77131 { ac_try='test -s conftest.$ac_objext'
77132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77133 (eval $ac_try) 2>&5
77134 ac_status=$?
77135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77136 (exit $ac_status); }; }; then
77137 ac_header_compiler=yes
77138 else
77139 echo "$as_me: failed program was:" >&5
77140 sed 's/^/| /' conftest.$ac_ext >&5
77142 ac_header_compiler=no
77144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77146 echo "${ECHO_T}$ac_header_compiler" >&6
77148 # Is the header present?
77149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77151 cat >conftest.$ac_ext <<_ACEOF
77152 /* confdefs.h. */
77153 _ACEOF
77154 cat confdefs.h >>conftest.$ac_ext
77155 cat >>conftest.$ac_ext <<_ACEOF
77156 /* end confdefs.h. */
77157 #include <$ac_header>
77158 _ACEOF
77159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77160 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77161 ac_status=$?
77162 grep -v '^ *+' conftest.er1 >conftest.err
77163 rm -f conftest.er1
77164 cat conftest.err >&5
77165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77166 (exit $ac_status); } >/dev/null; then
77167 if test -s conftest.err; then
77168 ac_cpp_err=$ac_c_preproc_warn_flag
77169 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77170 else
77171 ac_cpp_err=
77173 else
77174 ac_cpp_err=yes
77176 if test -z "$ac_cpp_err"; then
77177 ac_header_preproc=yes
77178 else
77179 echo "$as_me: failed program was:" >&5
77180 sed 's/^/| /' conftest.$ac_ext >&5
77182 ac_header_preproc=no
77184 rm -f conftest.err conftest.$ac_ext
77185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77186 echo "${ECHO_T}$ac_header_preproc" >&6
77188 # So? What about this header?
77189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77190 yes:no: )
77191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77195 ac_header_preproc=yes
77197 no:yes:* )
77198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77202 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77204 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77205 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77208 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77211 cat <<\_ASBOX
77212 ## ----------------------------------------- ##
77213 ## Report this to the package-unused lists. ##
77214 ## ----------------------------------------- ##
77215 _ASBOX
77217 sed "s/^/$as_me: WARNING: /" >&2
77219 esac
77220 echo "$as_me:$LINENO: checking for $ac_header" >&5
77221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77223 echo $ECHO_N "(cached) $ECHO_C" >&6
77224 else
77225 eval "$as_ac_Header=\$ac_header_preproc"
77227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77232 cat >>confdefs.h <<_ACEOF
77233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77234 _ACEOF
77238 done
77240 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77243 # If we're not using GNU ld, then there's no point in even trying these
77244 # tests. Check for that first. We should have already tested for gld
77245 # by now (in libtool), but require it now just to be safe...
77246 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77247 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77251 # The name set by libtool depends on the version of libtool. Shame on us
77252 # for depending on an impl detail, but c'est la vie. Older versions used
77253 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77254 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77255 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77256 # set (hence we're using an older libtool), then set it.
77257 if test x${with_gnu_ld+set} != xset; then
77258 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77259 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77260 with_gnu_ld=no
77261 else
77262 with_gnu_ld=$ac_cv_prog_gnu_ld
77266 # Start by getting the version number. I think the libtool test already
77267 # does some of this, but throws away the result.
77269 ldver=`$LD --version 2>/dev/null | head -1 | \
77270 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77272 glibcxx_gnu_ld_version=`echo $ldver | \
77273 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77275 # Set --gc-sections.
77276 if test x"$with_gnu_ld" = x"yes"; then
77277 # GNU ld it is! Joy and bunny rabbits!
77279 # All these tests are for C++; save the language and the compiler flags.
77280 # Need to do this so that g++ won't try to link in libstdc++
77281 ac_test_CFLAGS="${CFLAGS+set}"
77282 ac_save_CFLAGS="$CFLAGS"
77283 CFLAGS='-x c++ -Wl,--gc-sections'
77285 # Check for -Wl,--gc-sections
77286 # Note: It's supposed to work now, so ease off until proven wrong...
77287 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77288 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77289 cat >conftest.$ac_ext <<_ACEOF
77290 /* confdefs.h. */
77291 _ACEOF
77292 cat confdefs.h >>conftest.$ac_ext
77293 cat >>conftest.$ac_ext <<_ACEOF
77294 /* end confdefs.h. */
77296 int main(void)
77298 try { throw 1; }
77299 catch (...) { };
77300 return 0;
77304 main ()
77306 ac_sectionLDflags=yes
77308 return 0;
77310 _ACEOF
77311 rm -f conftest.$ac_objext
77312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77313 (eval $ac_compile) 2>conftest.er1
77314 ac_status=$?
77315 grep -v '^ *+' conftest.er1 >conftest.err
77316 rm -f conftest.er1
77317 cat conftest.err >&5
77318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77319 (exit $ac_status); } &&
77320 { ac_try='test -z "$ac_c_werror_flag"
77321 || test ! -s conftest.err'
77322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77323 (eval $ac_try) 2>&5
77324 ac_status=$?
77325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77326 (exit $ac_status); }; } &&
77327 { ac_try='test -s conftest.$ac_objext'
77328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77329 (eval $ac_try) 2>&5
77330 ac_status=$?
77331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77332 (exit $ac_status); }; }; then
77333 ac_sectionLDflags=no
77334 else
77335 echo "$as_me: failed program was:" >&5
77336 sed 's/^/| /' conftest.$ac_ext >&5
77338 ac_sectionLDflags=yes
77340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77341 if test "$ac_test_CFLAGS" = set; then
77342 CFLAGS="$ac_save_CFLAGS"
77343 else
77344 # this is the suspicious part
77345 CFLAGS=''
77347 if test "$ac_sectionLDflags" = "yes"; then
77348 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77350 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77351 echo "${ECHO_T}$ac_sectionLDflags" >&6
77354 # Set -z,relro.
77355 # Note this is only for shared objects.
77356 ac_ld_relro=no
77357 if test x"$with_gnu_ld" = x"yes"; then
77358 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77359 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77360 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77361 if test -n "$cxx_z_relo"; then
77362 OPT_LDFLAGS="-Wl,-z,relro"
77363 ac_ld_relro=yes
77365 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77366 echo "${ECHO_T}$ac_ld_relro" >&6
77369 # Set linker optimization flags.
77370 if test x"$with_gnu_ld" = x"yes"; then
77371 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77379 echo "$as_me:$LINENO: checking for main in -lm" >&5
77380 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77381 if test "${ac_cv_lib_m_main+set}" = set; then
77382 echo $ECHO_N "(cached) $ECHO_C" >&6
77383 else
77384 ac_check_lib_save_LIBS=$LIBS
77385 LIBS="-lm $LIBS"
77386 if test x$gcc_no_link = xyes; then
77387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77389 { (exit 1); exit 1; }; }
77391 cat >conftest.$ac_ext <<_ACEOF
77392 /* confdefs.h. */
77393 _ACEOF
77394 cat confdefs.h >>conftest.$ac_ext
77395 cat >>conftest.$ac_ext <<_ACEOF
77396 /* end confdefs.h. */
77400 main ()
77402 main ();
77404 return 0;
77406 _ACEOF
77407 rm -f conftest.$ac_objext conftest$ac_exeext
77408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77409 (eval $ac_link) 2>conftest.er1
77410 ac_status=$?
77411 grep -v '^ *+' conftest.er1 >conftest.err
77412 rm -f conftest.er1
77413 cat conftest.err >&5
77414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77415 (exit $ac_status); } &&
77416 { ac_try='test -z "$ac_c_werror_flag"
77417 || test ! -s conftest.err'
77418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77419 (eval $ac_try) 2>&5
77420 ac_status=$?
77421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77422 (exit $ac_status); }; } &&
77423 { ac_try='test -s conftest$ac_exeext'
77424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77425 (eval $ac_try) 2>&5
77426 ac_status=$?
77427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77428 (exit $ac_status); }; }; then
77429 ac_cv_lib_m_main=yes
77430 else
77431 echo "$as_me: failed program was:" >&5
77432 sed 's/^/| /' conftest.$ac_ext >&5
77434 ac_cv_lib_m_main=no
77436 rm -f conftest.err conftest.$ac_objext \
77437 conftest$ac_exeext conftest.$ac_ext
77438 LIBS=$ac_check_lib_save_LIBS
77440 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77441 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77442 if test $ac_cv_lib_m_main = yes; then
77443 cat >>confdefs.h <<_ACEOF
77444 #define HAVE_LIBM 1
77445 _ACEOF
77447 LIBS="-lm $LIBS"
77452 for ac_func in copysignf
77454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77455 echo "$as_me:$LINENO: checking for $ac_func" >&5
77456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77457 if eval "test \"\${$as_ac_var+set}\" = set"; then
77458 echo $ECHO_N "(cached) $ECHO_C" >&6
77459 else
77460 if test x$gcc_no_link = xyes; then
77461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77463 { (exit 1); exit 1; }; }
77465 cat >conftest.$ac_ext <<_ACEOF
77466 /* confdefs.h. */
77467 _ACEOF
77468 cat confdefs.h >>conftest.$ac_ext
77469 cat >>conftest.$ac_ext <<_ACEOF
77470 /* end confdefs.h. */
77471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77473 #define $ac_func innocuous_$ac_func
77475 /* System header to define __stub macros and hopefully few prototypes,
77476 which can conflict with char $ac_func (); below.
77477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77478 <limits.h> exists even on freestanding compilers. */
77480 #ifdef __STDC__
77481 # include <limits.h>
77482 #else
77483 # include <assert.h>
77484 #endif
77486 #undef $ac_func
77488 /* Override any gcc2 internal prototype to avoid an error. */
77489 #ifdef __cplusplus
77490 extern "C"
77492 #endif
77493 /* We use char because int might match the return type of a gcc2
77494 builtin and then its argument prototype would still apply. */
77495 char $ac_func ();
77496 /* The GNU C library defines this for functions which it implements
77497 to always fail with ENOSYS. Some functions are actually named
77498 something starting with __ and the normal name is an alias. */
77499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77500 choke me
77501 #else
77502 char (*f) () = $ac_func;
77503 #endif
77504 #ifdef __cplusplus
77506 #endif
77509 main ()
77511 return f != $ac_func;
77513 return 0;
77515 _ACEOF
77516 rm -f conftest.$ac_objext conftest$ac_exeext
77517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77518 (eval $ac_link) 2>conftest.er1
77519 ac_status=$?
77520 grep -v '^ *+' conftest.er1 >conftest.err
77521 rm -f conftest.er1
77522 cat conftest.err >&5
77523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77524 (exit $ac_status); } &&
77525 { ac_try='test -z "$ac_c_werror_flag"
77526 || test ! -s conftest.err'
77527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77528 (eval $ac_try) 2>&5
77529 ac_status=$?
77530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77531 (exit $ac_status); }; } &&
77532 { ac_try='test -s conftest$ac_exeext'
77533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77534 (eval $ac_try) 2>&5
77535 ac_status=$?
77536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77537 (exit $ac_status); }; }; then
77538 eval "$as_ac_var=yes"
77539 else
77540 echo "$as_me: failed program was:" >&5
77541 sed 's/^/| /' conftest.$ac_ext >&5
77543 eval "$as_ac_var=no"
77545 rm -f conftest.err conftest.$ac_objext \
77546 conftest$ac_exeext conftest.$ac_ext
77548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77550 if test `eval echo '${'$as_ac_var'}'` = yes; then
77551 cat >>confdefs.h <<_ACEOF
77552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77553 _ACEOF
77555 else
77556 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77558 done
77562 for ac_func in __signbit
77564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77565 echo "$as_me:$LINENO: checking for $ac_func" >&5
77566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77567 if eval "test \"\${$as_ac_var+set}\" = set"; then
77568 echo $ECHO_N "(cached) $ECHO_C" >&6
77569 else
77570 if test x$gcc_no_link = xyes; then
77571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77573 { (exit 1); exit 1; }; }
77575 cat >conftest.$ac_ext <<_ACEOF
77576 /* confdefs.h. */
77577 _ACEOF
77578 cat confdefs.h >>conftest.$ac_ext
77579 cat >>conftest.$ac_ext <<_ACEOF
77580 /* end confdefs.h. */
77581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77583 #define $ac_func innocuous_$ac_func
77585 /* System header to define __stub macros and hopefully few prototypes,
77586 which can conflict with char $ac_func (); below.
77587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77588 <limits.h> exists even on freestanding compilers. */
77590 #ifdef __STDC__
77591 # include <limits.h>
77592 #else
77593 # include <assert.h>
77594 #endif
77596 #undef $ac_func
77598 /* Override any gcc2 internal prototype to avoid an error. */
77599 #ifdef __cplusplus
77600 extern "C"
77602 #endif
77603 /* We use char because int might match the return type of a gcc2
77604 builtin and then its argument prototype would still apply. */
77605 char $ac_func ();
77606 /* The GNU C library defines this for functions which it implements
77607 to always fail with ENOSYS. Some functions are actually named
77608 something starting with __ and the normal name is an alias. */
77609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77610 choke me
77611 #else
77612 char (*f) () = $ac_func;
77613 #endif
77614 #ifdef __cplusplus
77616 #endif
77619 main ()
77621 return f != $ac_func;
77623 return 0;
77625 _ACEOF
77626 rm -f conftest.$ac_objext conftest$ac_exeext
77627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77628 (eval $ac_link) 2>conftest.er1
77629 ac_status=$?
77630 grep -v '^ *+' conftest.er1 >conftest.err
77631 rm -f conftest.er1
77632 cat conftest.err >&5
77633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77634 (exit $ac_status); } &&
77635 { ac_try='test -z "$ac_c_werror_flag"
77636 || test ! -s conftest.err'
77637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77638 (eval $ac_try) 2>&5
77639 ac_status=$?
77640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77641 (exit $ac_status); }; } &&
77642 { ac_try='test -s conftest$ac_exeext'
77643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77644 (eval $ac_try) 2>&5
77645 ac_status=$?
77646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77647 (exit $ac_status); }; }; then
77648 eval "$as_ac_var=yes"
77649 else
77650 echo "$as_me: failed program was:" >&5
77651 sed 's/^/| /' conftest.$ac_ext >&5
77653 eval "$as_ac_var=no"
77655 rm -f conftest.err conftest.$ac_objext \
77656 conftest$ac_exeext conftest.$ac_ext
77658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77660 if test `eval echo '${'$as_ac_var'}'` = yes; then
77661 cat >>confdefs.h <<_ACEOF
77662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77663 _ACEOF
77665 else
77666 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77668 done
77672 for ac_func in __signbitf
77674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77675 echo "$as_me:$LINENO: checking for $ac_func" >&5
77676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77677 if eval "test \"\${$as_ac_var+set}\" = set"; then
77678 echo $ECHO_N "(cached) $ECHO_C" >&6
77679 else
77680 if test x$gcc_no_link = xyes; then
77681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77683 { (exit 1); exit 1; }; }
77685 cat >conftest.$ac_ext <<_ACEOF
77686 /* confdefs.h. */
77687 _ACEOF
77688 cat confdefs.h >>conftest.$ac_ext
77689 cat >>conftest.$ac_ext <<_ACEOF
77690 /* end confdefs.h. */
77691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77693 #define $ac_func innocuous_$ac_func
77695 /* System header to define __stub macros and hopefully few prototypes,
77696 which can conflict with char $ac_func (); below.
77697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77698 <limits.h> exists even on freestanding compilers. */
77700 #ifdef __STDC__
77701 # include <limits.h>
77702 #else
77703 # include <assert.h>
77704 #endif
77706 #undef $ac_func
77708 /* Override any gcc2 internal prototype to avoid an error. */
77709 #ifdef __cplusplus
77710 extern "C"
77712 #endif
77713 /* We use char because int might match the return type of a gcc2
77714 builtin and then its argument prototype would still apply. */
77715 char $ac_func ();
77716 /* The GNU C library defines this for functions which it implements
77717 to always fail with ENOSYS. Some functions are actually named
77718 something starting with __ and the normal name is an alias. */
77719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77720 choke me
77721 #else
77722 char (*f) () = $ac_func;
77723 #endif
77724 #ifdef __cplusplus
77726 #endif
77729 main ()
77731 return f != $ac_func;
77733 return 0;
77735 _ACEOF
77736 rm -f conftest.$ac_objext conftest$ac_exeext
77737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77738 (eval $ac_link) 2>conftest.er1
77739 ac_status=$?
77740 grep -v '^ *+' conftest.er1 >conftest.err
77741 rm -f conftest.er1
77742 cat conftest.err >&5
77743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77744 (exit $ac_status); } &&
77745 { ac_try='test -z "$ac_c_werror_flag"
77746 || test ! -s conftest.err'
77747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77748 (eval $ac_try) 2>&5
77749 ac_status=$?
77750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77751 (exit $ac_status); }; } &&
77752 { ac_try='test -s conftest$ac_exeext'
77753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77754 (eval $ac_try) 2>&5
77755 ac_status=$?
77756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77757 (exit $ac_status); }; }; then
77758 eval "$as_ac_var=yes"
77759 else
77760 echo "$as_me: failed program was:" >&5
77761 sed 's/^/| /' conftest.$ac_ext >&5
77763 eval "$as_ac_var=no"
77765 rm -f conftest.err conftest.$ac_objext \
77766 conftest$ac_exeext conftest.$ac_ext
77768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77770 if test `eval echo '${'$as_ac_var'}'` = yes; then
77771 cat >>confdefs.h <<_ACEOF
77772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77773 _ACEOF
77775 else
77776 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77778 done
77781 if test x$ac_cv_func_copysignl = x"yes"; then
77783 for ac_func in __signbitl
77785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77786 echo "$as_me:$LINENO: checking for $ac_func" >&5
77787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77788 if eval "test \"\${$as_ac_var+set}\" = set"; then
77789 echo $ECHO_N "(cached) $ECHO_C" >&6
77790 else
77791 if test x$gcc_no_link = xyes; then
77792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77794 { (exit 1); exit 1; }; }
77796 cat >conftest.$ac_ext <<_ACEOF
77797 /* confdefs.h. */
77798 _ACEOF
77799 cat confdefs.h >>conftest.$ac_ext
77800 cat >>conftest.$ac_ext <<_ACEOF
77801 /* end confdefs.h. */
77802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77804 #define $ac_func innocuous_$ac_func
77806 /* System header to define __stub macros and hopefully few prototypes,
77807 which can conflict with char $ac_func (); below.
77808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77809 <limits.h> exists even on freestanding compilers. */
77811 #ifdef __STDC__
77812 # include <limits.h>
77813 #else
77814 # include <assert.h>
77815 #endif
77817 #undef $ac_func
77819 /* Override any gcc2 internal prototype to avoid an error. */
77820 #ifdef __cplusplus
77821 extern "C"
77823 #endif
77824 /* We use char because int might match the return type of a gcc2
77825 builtin and then its argument prototype would still apply. */
77826 char $ac_func ();
77827 /* The GNU C library defines this for functions which it implements
77828 to always fail with ENOSYS. Some functions are actually named
77829 something starting with __ and the normal name is an alias. */
77830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77831 choke me
77832 #else
77833 char (*f) () = $ac_func;
77834 #endif
77835 #ifdef __cplusplus
77837 #endif
77840 main ()
77842 return f != $ac_func;
77844 return 0;
77846 _ACEOF
77847 rm -f conftest.$ac_objext conftest$ac_exeext
77848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77849 (eval $ac_link) 2>conftest.er1
77850 ac_status=$?
77851 grep -v '^ *+' conftest.er1 >conftest.err
77852 rm -f conftest.er1
77853 cat conftest.err >&5
77854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77855 (exit $ac_status); } &&
77856 { ac_try='test -z "$ac_c_werror_flag"
77857 || test ! -s conftest.err'
77858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77859 (eval $ac_try) 2>&5
77860 ac_status=$?
77861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77862 (exit $ac_status); }; } &&
77863 { ac_try='test -s conftest$ac_exeext'
77864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77865 (eval $ac_try) 2>&5
77866 ac_status=$?
77867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77868 (exit $ac_status); }; }; then
77869 eval "$as_ac_var=yes"
77870 else
77871 echo "$as_me: failed program was:" >&5
77872 sed 's/^/| /' conftest.$ac_ext >&5
77874 eval "$as_ac_var=no"
77876 rm -f conftest.err conftest.$ac_objext \
77877 conftest$ac_exeext conftest.$ac_ext
77879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77881 if test `eval echo '${'$as_ac_var'}'` = yes; then
77882 cat >>confdefs.h <<_ACEOF
77883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77884 _ACEOF
77886 else
77887 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77889 done
77893 # Used in libmath/Makefile.am.
77894 if test -n "$LIBMATHOBJS"; then
77895 need_libmath=yes
77901 enable_iconv=no
77902 # Only continue checking if the ISO C99 headers exist and support is on.
77903 if test x"$enable_wchar_t" = xyes; then
77905 # Use iconv for wchar_t to char conversions. As such, check for
77906 # X/Open Portability Guide, version 2 features (XPG2).
77907 if test "${ac_cv_header_iconv_h+set}" = set; then
77908 echo "$as_me:$LINENO: checking for iconv.h" >&5
77909 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77910 if test "${ac_cv_header_iconv_h+set}" = set; then
77911 echo $ECHO_N "(cached) $ECHO_C" >&6
77913 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77914 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77915 else
77916 # Is the header compilable?
77917 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77918 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77919 cat >conftest.$ac_ext <<_ACEOF
77920 /* confdefs.h. */
77921 _ACEOF
77922 cat confdefs.h >>conftest.$ac_ext
77923 cat >>conftest.$ac_ext <<_ACEOF
77924 /* end confdefs.h. */
77925 $ac_includes_default
77926 #include <iconv.h>
77927 _ACEOF
77928 rm -f conftest.$ac_objext
77929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77930 (eval $ac_compile) 2>conftest.er1
77931 ac_status=$?
77932 grep -v '^ *+' conftest.er1 >conftest.err
77933 rm -f conftest.er1
77934 cat conftest.err >&5
77935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77936 (exit $ac_status); } &&
77937 { ac_try='test -z "$ac_c_werror_flag"
77938 || test ! -s conftest.err'
77939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77940 (eval $ac_try) 2>&5
77941 ac_status=$?
77942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77943 (exit $ac_status); }; } &&
77944 { ac_try='test -s conftest.$ac_objext'
77945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77946 (eval $ac_try) 2>&5
77947 ac_status=$?
77948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77949 (exit $ac_status); }; }; then
77950 ac_header_compiler=yes
77951 else
77952 echo "$as_me: failed program was:" >&5
77953 sed 's/^/| /' conftest.$ac_ext >&5
77955 ac_header_compiler=no
77957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77959 echo "${ECHO_T}$ac_header_compiler" >&6
77961 # Is the header present?
77962 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77963 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77964 cat >conftest.$ac_ext <<_ACEOF
77965 /* confdefs.h. */
77966 _ACEOF
77967 cat confdefs.h >>conftest.$ac_ext
77968 cat >>conftest.$ac_ext <<_ACEOF
77969 /* end confdefs.h. */
77970 #include <iconv.h>
77971 _ACEOF
77972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77973 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77974 ac_status=$?
77975 grep -v '^ *+' conftest.er1 >conftest.err
77976 rm -f conftest.er1
77977 cat conftest.err >&5
77978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77979 (exit $ac_status); } >/dev/null; then
77980 if test -s conftest.err; then
77981 ac_cpp_err=$ac_c_preproc_warn_flag
77982 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77983 else
77984 ac_cpp_err=
77986 else
77987 ac_cpp_err=yes
77989 if test -z "$ac_cpp_err"; then
77990 ac_header_preproc=yes
77991 else
77992 echo "$as_me: failed program was:" >&5
77993 sed 's/^/| /' conftest.$ac_ext >&5
77995 ac_header_preproc=no
77997 rm -f conftest.err conftest.$ac_ext
77998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77999 echo "${ECHO_T}$ac_header_preproc" >&6
78001 # So? What about this header?
78002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78003 yes:no: )
78004 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78005 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78006 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78007 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78008 ac_header_preproc=yes
78010 no:yes:* )
78011 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
78012 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
78013 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
78014 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
78015 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
78016 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
78017 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
78018 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
78019 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
78020 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
78021 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
78022 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
78024 cat <<\_ASBOX
78025 ## ----------------------------------------- ##
78026 ## Report this to the package-unused lists. ##
78027 ## ----------------------------------------- ##
78028 _ASBOX
78030 sed "s/^/$as_me: WARNING: /" >&2
78032 esac
78033 echo "$as_me:$LINENO: checking for iconv.h" >&5
78034 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78035 if test "${ac_cv_header_iconv_h+set}" = set; then
78036 echo $ECHO_N "(cached) $ECHO_C" >&6
78037 else
78038 ac_cv_header_iconv_h=$ac_header_preproc
78040 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78041 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78044 if test $ac_cv_header_iconv_h = yes; then
78045 ac_has_iconv_h=yes
78046 else
78047 ac_has_iconv_h=no
78051 if test "${ac_cv_header_langinfo_h+set}" = set; then
78052 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78053 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78054 if test "${ac_cv_header_langinfo_h+set}" = set; then
78055 echo $ECHO_N "(cached) $ECHO_C" >&6
78057 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78058 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78059 else
78060 # Is the header compilable?
78061 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78062 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78063 cat >conftest.$ac_ext <<_ACEOF
78064 /* confdefs.h. */
78065 _ACEOF
78066 cat confdefs.h >>conftest.$ac_ext
78067 cat >>conftest.$ac_ext <<_ACEOF
78068 /* end confdefs.h. */
78069 $ac_includes_default
78070 #include <langinfo.h>
78071 _ACEOF
78072 rm -f conftest.$ac_objext
78073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78074 (eval $ac_compile) 2>conftest.er1
78075 ac_status=$?
78076 grep -v '^ *+' conftest.er1 >conftest.err
78077 rm -f conftest.er1
78078 cat conftest.err >&5
78079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78080 (exit $ac_status); } &&
78081 { ac_try='test -z "$ac_c_werror_flag"
78082 || test ! -s conftest.err'
78083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78084 (eval $ac_try) 2>&5
78085 ac_status=$?
78086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78087 (exit $ac_status); }; } &&
78088 { ac_try='test -s conftest.$ac_objext'
78089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78090 (eval $ac_try) 2>&5
78091 ac_status=$?
78092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78093 (exit $ac_status); }; }; then
78094 ac_header_compiler=yes
78095 else
78096 echo "$as_me: failed program was:" >&5
78097 sed 's/^/| /' conftest.$ac_ext >&5
78099 ac_header_compiler=no
78101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78102 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78103 echo "${ECHO_T}$ac_header_compiler" >&6
78105 # Is the header present?
78106 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78107 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78108 cat >conftest.$ac_ext <<_ACEOF
78109 /* confdefs.h. */
78110 _ACEOF
78111 cat confdefs.h >>conftest.$ac_ext
78112 cat >>conftest.$ac_ext <<_ACEOF
78113 /* end confdefs.h. */
78114 #include <langinfo.h>
78115 _ACEOF
78116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78118 ac_status=$?
78119 grep -v '^ *+' conftest.er1 >conftest.err
78120 rm -f conftest.er1
78121 cat conftest.err >&5
78122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78123 (exit $ac_status); } >/dev/null; then
78124 if test -s conftest.err; then
78125 ac_cpp_err=$ac_c_preproc_warn_flag
78126 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78127 else
78128 ac_cpp_err=
78130 else
78131 ac_cpp_err=yes
78133 if test -z "$ac_cpp_err"; then
78134 ac_header_preproc=yes
78135 else
78136 echo "$as_me: failed program was:" >&5
78137 sed 's/^/| /' conftest.$ac_ext >&5
78139 ac_header_preproc=no
78141 rm -f conftest.err conftest.$ac_ext
78142 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78143 echo "${ECHO_T}$ac_header_preproc" >&6
78145 # So? What about this header?
78146 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78147 yes:no: )
78148 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78149 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78150 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78151 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78152 ac_header_preproc=yes
78154 no:yes:* )
78155 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78156 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78157 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78158 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78159 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78160 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78161 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78162 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78163 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78164 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78165 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78166 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78168 cat <<\_ASBOX
78169 ## ----------------------------------------- ##
78170 ## Report this to the package-unused lists. ##
78171 ## ----------------------------------------- ##
78172 _ASBOX
78174 sed "s/^/$as_me: WARNING: /" >&2
78176 esac
78177 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78178 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78179 if test "${ac_cv_header_langinfo_h+set}" = set; then
78180 echo $ECHO_N "(cached) $ECHO_C" >&6
78181 else
78182 ac_cv_header_langinfo_h=$ac_header_preproc
78184 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78185 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78188 if test $ac_cv_header_langinfo_h = yes; then
78189 ac_has_langinfo_h=yes
78190 else
78191 ac_has_langinfo_h=no
78196 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78197 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78198 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78199 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78200 echo $ECHO_N "(cached) $ECHO_C" >&6
78201 else
78202 ac_check_lib_save_LIBS=$LIBS
78203 LIBS="-liconv $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. */
78216 /* Override any gcc2 internal prototype to avoid an error. */
78217 #ifdef __cplusplus
78218 extern "C"
78219 #endif
78220 /* We use char because int might match the return type of a gcc2
78221 builtin and then its argument prototype would still apply. */
78222 char iconv ();
78224 main ()
78226 iconv ();
78228 return 0;
78230 _ACEOF
78231 rm -f conftest.$ac_objext conftest$ac_exeext
78232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78233 (eval $ac_link) 2>conftest.er1
78234 ac_status=$?
78235 grep -v '^ *+' conftest.er1 >conftest.err
78236 rm -f conftest.er1
78237 cat conftest.err >&5
78238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78239 (exit $ac_status); } &&
78240 { ac_try='test -z "$ac_c_werror_flag"
78241 || test ! -s conftest.err'
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); }; } &&
78247 { ac_try='test -s conftest$ac_exeext'
78248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78249 (eval $ac_try) 2>&5
78250 ac_status=$?
78251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78252 (exit $ac_status); }; }; then
78253 ac_cv_lib_iconv_iconv=yes
78254 else
78255 echo "$as_me: failed program was:" >&5
78256 sed 's/^/| /' conftest.$ac_ext >&5
78258 ac_cv_lib_iconv_iconv=no
78260 rm -f conftest.err conftest.$ac_objext \
78261 conftest$ac_exeext conftest.$ac_ext
78262 LIBS=$ac_check_lib_save_LIBS
78264 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78265 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78266 if test $ac_cv_lib_iconv_iconv = yes; then
78267 LIBICONV="-liconv"
78270 ac_save_LIBS="$LIBS"
78271 LIBS="$LIBS $LIBICONV"
78278 for ac_func in iconv_open iconv_close iconv nl_langinfo
78280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78281 echo "$as_me:$LINENO: checking for $ac_func" >&5
78282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78283 if eval "test \"\${$as_ac_var+set}\" = set"; then
78284 echo $ECHO_N "(cached) $ECHO_C" >&6
78285 else
78286 if test x$gcc_no_link = xyes; then
78287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78289 { (exit 1); exit 1; }; }
78291 cat >conftest.$ac_ext <<_ACEOF
78292 /* confdefs.h. */
78293 _ACEOF
78294 cat confdefs.h >>conftest.$ac_ext
78295 cat >>conftest.$ac_ext <<_ACEOF
78296 /* end confdefs.h. */
78297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78299 #define $ac_func innocuous_$ac_func
78301 /* System header to define __stub macros and hopefully few prototypes,
78302 which can conflict with char $ac_func (); below.
78303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78304 <limits.h> exists even on freestanding compilers. */
78306 #ifdef __STDC__
78307 # include <limits.h>
78308 #else
78309 # include <assert.h>
78310 #endif
78312 #undef $ac_func
78314 /* Override any gcc2 internal prototype to avoid an error. */
78315 #ifdef __cplusplus
78316 extern "C"
78318 #endif
78319 /* We use char because int might match the return type of a gcc2
78320 builtin and then its argument prototype would still apply. */
78321 char $ac_func ();
78322 /* The GNU C library defines this for functions which it implements
78323 to always fail with ENOSYS. Some functions are actually named
78324 something starting with __ and the normal name is an alias. */
78325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78326 choke me
78327 #else
78328 char (*f) () = $ac_func;
78329 #endif
78330 #ifdef __cplusplus
78332 #endif
78335 main ()
78337 return f != $ac_func;
78339 return 0;
78341 _ACEOF
78342 rm -f conftest.$ac_objext conftest$ac_exeext
78343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78344 (eval $ac_link) 2>conftest.er1
78345 ac_status=$?
78346 grep -v '^ *+' conftest.er1 >conftest.err
78347 rm -f conftest.er1
78348 cat conftest.err >&5
78349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78350 (exit $ac_status); } &&
78351 { ac_try='test -z "$ac_c_werror_flag"
78352 || test ! -s conftest.err'
78353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78354 (eval $ac_try) 2>&5
78355 ac_status=$?
78356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78357 (exit $ac_status); }; } &&
78358 { ac_try='test -s conftest$ac_exeext'
78359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78360 (eval $ac_try) 2>&5
78361 ac_status=$?
78362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78363 (exit $ac_status); }; }; then
78364 eval "$as_ac_var=yes"
78365 else
78366 echo "$as_me: failed program was:" >&5
78367 sed 's/^/| /' conftest.$ac_ext >&5
78369 eval "$as_ac_var=no"
78371 rm -f conftest.err conftest.$ac_objext \
78372 conftest$ac_exeext conftest.$ac_ext
78374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78376 if test `eval echo '${'$as_ac_var'}'` = yes; then
78377 cat >>confdefs.h <<_ACEOF
78378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78379 _ACEOF
78380 ac_XPG2funcs=yes
78381 else
78382 ac_XPG2funcs=no
78384 done
78387 LIBS="$ac_save_LIBS"
78389 if test x"$ac_has_iconv_h" = xyes &&
78390 test x"$ac_has_langinfo_h" = xyes &&
78391 test x"$ac_XPG2funcs" = xyes;
78392 then
78394 cat >>confdefs.h <<\_ACEOF
78395 #define _GLIBCXX_USE_ICONV 1
78396 _ACEOF
78398 enable_iconv=yes
78401 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78402 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78403 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78404 echo "${ECHO_T}$enable_iconv" >&6
78407 # For LFS.
78408 cat >>confdefs.h <<\_ACEOF
78409 #define HAVE_INT64_T 1
78410 _ACEOF
78412 case "$target" in
78413 *-uclinux*)
78414 # Don't enable LFS with uClibc
78417 cat >>confdefs.h <<\_ACEOF
78418 #define _GLIBCXX_USE_LFS 1
78419 _ACEOF
78421 esac
78423 # For showmanyc_helper().
78426 for ac_header in sys/ioctl.h sys/filio.h
78428 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78430 echo "$as_me:$LINENO: checking for $ac_header" >&5
78431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78433 echo $ECHO_N "(cached) $ECHO_C" >&6
78435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78437 else
78438 # Is the header compilable?
78439 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78441 cat >conftest.$ac_ext <<_ACEOF
78442 /* confdefs.h. */
78443 _ACEOF
78444 cat confdefs.h >>conftest.$ac_ext
78445 cat >>conftest.$ac_ext <<_ACEOF
78446 /* end confdefs.h. */
78447 $ac_includes_default
78448 #include <$ac_header>
78449 _ACEOF
78450 rm -f conftest.$ac_objext
78451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78452 (eval $ac_compile) 2>conftest.er1
78453 ac_status=$?
78454 grep -v '^ *+' conftest.er1 >conftest.err
78455 rm -f conftest.er1
78456 cat conftest.err >&5
78457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78458 (exit $ac_status); } &&
78459 { ac_try='test -z "$ac_c_werror_flag"
78460 || test ! -s conftest.err'
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); }; } &&
78466 { ac_try='test -s conftest.$ac_objext'
78467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78468 (eval $ac_try) 2>&5
78469 ac_status=$?
78470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78471 (exit $ac_status); }; }; then
78472 ac_header_compiler=yes
78473 else
78474 echo "$as_me: failed program was:" >&5
78475 sed 's/^/| /' conftest.$ac_ext >&5
78477 ac_header_compiler=no
78479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78481 echo "${ECHO_T}$ac_header_compiler" >&6
78483 # Is the header present?
78484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78486 cat >conftest.$ac_ext <<_ACEOF
78487 /* confdefs.h. */
78488 _ACEOF
78489 cat confdefs.h >>conftest.$ac_ext
78490 cat >>conftest.$ac_ext <<_ACEOF
78491 /* end confdefs.h. */
78492 #include <$ac_header>
78493 _ACEOF
78494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78496 ac_status=$?
78497 grep -v '^ *+' conftest.er1 >conftest.err
78498 rm -f conftest.er1
78499 cat conftest.err >&5
78500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78501 (exit $ac_status); } >/dev/null; then
78502 if test -s conftest.err; then
78503 ac_cpp_err=$ac_c_preproc_warn_flag
78504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78505 else
78506 ac_cpp_err=
78508 else
78509 ac_cpp_err=yes
78511 if test -z "$ac_cpp_err"; then
78512 ac_header_preproc=yes
78513 else
78514 echo "$as_me: failed program was:" >&5
78515 sed 's/^/| /' conftest.$ac_ext >&5
78517 ac_header_preproc=no
78519 rm -f conftest.err conftest.$ac_ext
78520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78521 echo "${ECHO_T}$ac_header_preproc" >&6
78523 # So? What about this header?
78524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78525 yes:no: )
78526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78530 ac_header_preproc=yes
78532 no:yes:* )
78533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78546 cat <<\_ASBOX
78547 ## ----------------------------------------- ##
78548 ## Report this to the package-unused lists. ##
78549 ## ----------------------------------------- ##
78550 _ASBOX
78552 sed "s/^/$as_me: WARNING: /" >&2
78554 esac
78555 echo "$as_me:$LINENO: checking for $ac_header" >&5
78556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78558 echo $ECHO_N "(cached) $ECHO_C" >&6
78559 else
78560 eval "$as_ac_Header=\$ac_header_preproc"
78562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78567 cat >>confdefs.h <<_ACEOF
78568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78569 _ACEOF
78573 done
78576 echo "$as_me:$LINENO: checking for poll" >&5
78577 echo $ECHO_N "checking for poll... $ECHO_C" >&6
78578 if test "${glibcxx_cv_POLL+set}" = set; then
78579 echo $ECHO_N "(cached) $ECHO_C" >&6
78580 else
78582 if test x$gcc_no_link = xyes; then
78583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78585 { (exit 1); exit 1; }; }
78587 cat >conftest.$ac_ext <<_ACEOF
78588 /* confdefs.h. */
78589 _ACEOF
78590 cat confdefs.h >>conftest.$ac_ext
78591 cat >>conftest.$ac_ext <<_ACEOF
78592 /* end confdefs.h. */
78593 #include <poll.h>
78595 main ()
78597 struct pollfd pfd[1];
78598 pfd[0].events = POLLIN;
78599 poll(pfd, 1, 0);
78601 return 0;
78603 _ACEOF
78604 rm -f conftest.$ac_objext conftest$ac_exeext
78605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78606 (eval $ac_link) 2>conftest.er1
78607 ac_status=$?
78608 grep -v '^ *+' conftest.er1 >conftest.err
78609 rm -f conftest.er1
78610 cat conftest.err >&5
78611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78612 (exit $ac_status); } &&
78613 { ac_try='test -z "$ac_c_werror_flag"
78614 || test ! -s conftest.err'
78615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78616 (eval $ac_try) 2>&5
78617 ac_status=$?
78618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78619 (exit $ac_status); }; } &&
78620 { ac_try='test -s conftest$ac_exeext'
78621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78622 (eval $ac_try) 2>&5
78623 ac_status=$?
78624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78625 (exit $ac_status); }; }; then
78626 glibcxx_cv_POLL=yes
78627 else
78628 echo "$as_me: failed program was:" >&5
78629 sed 's/^/| /' conftest.$ac_ext >&5
78631 glibcxx_cv_POLL=no
78633 rm -f conftest.err conftest.$ac_objext \
78634 conftest$ac_exeext conftest.$ac_ext
78638 if test $glibcxx_cv_POLL = yes; then
78640 cat >>confdefs.h <<\_ACEOF
78641 #define HAVE_POLL 1
78642 _ACEOF
78645 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
78646 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
78649 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
78650 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
78651 if test "${glibcxx_cv_S_ISREG+set}" = set; then
78652 echo $ECHO_N "(cached) $ECHO_C" >&6
78653 else
78655 if test x$gcc_no_link = xyes; then
78656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78658 { (exit 1); exit 1; }; }
78660 cat >conftest.$ac_ext <<_ACEOF
78661 /* confdefs.h. */
78662 _ACEOF
78663 cat confdefs.h >>conftest.$ac_ext
78664 cat >>conftest.$ac_ext <<_ACEOF
78665 /* end confdefs.h. */
78666 #include <sys/stat.h>
78668 main ()
78670 struct stat buffer;
78671 fstat(0, &buffer);
78672 S_ISREG(buffer.st_mode);
78674 return 0;
78676 _ACEOF
78677 rm -f conftest.$ac_objext conftest$ac_exeext
78678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78679 (eval $ac_link) 2>conftest.er1
78680 ac_status=$?
78681 grep -v '^ *+' conftest.er1 >conftest.err
78682 rm -f conftest.er1
78683 cat conftest.err >&5
78684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78685 (exit $ac_status); } &&
78686 { ac_try='test -z "$ac_c_werror_flag"
78687 || test ! -s conftest.err'
78688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78689 (eval $ac_try) 2>&5
78690 ac_status=$?
78691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78692 (exit $ac_status); }; } &&
78693 { ac_try='test -s conftest$ac_exeext'
78694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78695 (eval $ac_try) 2>&5
78696 ac_status=$?
78697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78698 (exit $ac_status); }; }; then
78699 glibcxx_cv_S_ISREG=yes
78700 else
78701 echo "$as_me: failed program was:" >&5
78702 sed 's/^/| /' conftest.$ac_ext >&5
78704 glibcxx_cv_S_ISREG=no
78706 rm -f conftest.err conftest.$ac_objext \
78707 conftest$ac_exeext conftest.$ac_ext
78711 if test "${glibcxx_cv_S_IFREG+set}" = set; then
78712 echo $ECHO_N "(cached) $ECHO_C" >&6
78713 else
78715 if test x$gcc_no_link = xyes; then
78716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78718 { (exit 1); exit 1; }; }
78720 cat >conftest.$ac_ext <<_ACEOF
78721 /* confdefs.h. */
78722 _ACEOF
78723 cat confdefs.h >>conftest.$ac_ext
78724 cat >>conftest.$ac_ext <<_ACEOF
78725 /* end confdefs.h. */
78726 #include <sys/stat.h>
78728 main ()
78730 struct stat buffer;
78731 fstat(0, &buffer);
78732 S_IFREG & buffer.st_mode;
78734 return 0;
78736 _ACEOF
78737 rm -f conftest.$ac_objext conftest$ac_exeext
78738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78739 (eval $ac_link) 2>conftest.er1
78740 ac_status=$?
78741 grep -v '^ *+' conftest.er1 >conftest.err
78742 rm -f conftest.er1
78743 cat conftest.err >&5
78744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78745 (exit $ac_status); } &&
78746 { ac_try='test -z "$ac_c_werror_flag"
78747 || test ! -s conftest.err'
78748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78749 (eval $ac_try) 2>&5
78750 ac_status=$?
78751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78752 (exit $ac_status); }; } &&
78753 { ac_try='test -s conftest$ac_exeext'
78754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78755 (eval $ac_try) 2>&5
78756 ac_status=$?
78757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78758 (exit $ac_status); }; }; then
78759 glibcxx_cv_S_IFREG=yes
78760 else
78761 echo "$as_me: failed program was:" >&5
78762 sed 's/^/| /' conftest.$ac_ext >&5
78764 glibcxx_cv_S_IFREG=no
78766 rm -f conftest.err conftest.$ac_objext \
78767 conftest$ac_exeext conftest.$ac_ext
78771 res=no
78772 if test $glibcxx_cv_S_ISREG = yes; then
78774 cat >>confdefs.h <<\_ACEOF
78775 #define HAVE_S_ISREG 1
78776 _ACEOF
78778 res=S_ISREG
78779 elif test $glibcxx_cv_S_IFREG = yes; then
78781 cat >>confdefs.h <<\_ACEOF
78782 #define HAVE_S_IFREG 1
78783 _ACEOF
78785 res=S_IFREG
78787 echo "$as_me:$LINENO: result: $res" >&5
78788 echo "${ECHO_T}$res" >&6
78791 # For xsputn_2().
78793 for ac_header in sys/uio.h
78795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78797 echo "$as_me:$LINENO: checking for $ac_header" >&5
78798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78800 echo $ECHO_N "(cached) $ECHO_C" >&6
78802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78804 else
78805 # Is the header compilable?
78806 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78808 cat >conftest.$ac_ext <<_ACEOF
78809 /* confdefs.h. */
78810 _ACEOF
78811 cat confdefs.h >>conftest.$ac_ext
78812 cat >>conftest.$ac_ext <<_ACEOF
78813 /* end confdefs.h. */
78814 $ac_includes_default
78815 #include <$ac_header>
78816 _ACEOF
78817 rm -f conftest.$ac_objext
78818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78819 (eval $ac_compile) 2>conftest.er1
78820 ac_status=$?
78821 grep -v '^ *+' conftest.er1 >conftest.err
78822 rm -f conftest.er1
78823 cat conftest.err >&5
78824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78825 (exit $ac_status); } &&
78826 { ac_try='test -z "$ac_c_werror_flag"
78827 || test ! -s conftest.err'
78828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78829 (eval $ac_try) 2>&5
78830 ac_status=$?
78831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78832 (exit $ac_status); }; } &&
78833 { ac_try='test -s conftest.$ac_objext'
78834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78835 (eval $ac_try) 2>&5
78836 ac_status=$?
78837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78838 (exit $ac_status); }; }; then
78839 ac_header_compiler=yes
78840 else
78841 echo "$as_me: failed program was:" >&5
78842 sed 's/^/| /' conftest.$ac_ext >&5
78844 ac_header_compiler=no
78846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78848 echo "${ECHO_T}$ac_header_compiler" >&6
78850 # Is the header present?
78851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78853 cat >conftest.$ac_ext <<_ACEOF
78854 /* confdefs.h. */
78855 _ACEOF
78856 cat confdefs.h >>conftest.$ac_ext
78857 cat >>conftest.$ac_ext <<_ACEOF
78858 /* end confdefs.h. */
78859 #include <$ac_header>
78860 _ACEOF
78861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78862 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78863 ac_status=$?
78864 grep -v '^ *+' conftest.er1 >conftest.err
78865 rm -f conftest.er1
78866 cat conftest.err >&5
78867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78868 (exit $ac_status); } >/dev/null; then
78869 if test -s conftest.err; then
78870 ac_cpp_err=$ac_c_preproc_warn_flag
78871 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78872 else
78873 ac_cpp_err=
78875 else
78876 ac_cpp_err=yes
78878 if test -z "$ac_cpp_err"; then
78879 ac_header_preproc=yes
78880 else
78881 echo "$as_me: failed program was:" >&5
78882 sed 's/^/| /' conftest.$ac_ext >&5
78884 ac_header_preproc=no
78886 rm -f conftest.err conftest.$ac_ext
78887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78888 echo "${ECHO_T}$ac_header_preproc" >&6
78890 # So? What about this header?
78891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78892 yes:no: )
78893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78897 ac_header_preproc=yes
78899 no:yes:* )
78900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78913 cat <<\_ASBOX
78914 ## ----------------------------------------- ##
78915 ## Report this to the package-unused lists. ##
78916 ## ----------------------------------------- ##
78917 _ASBOX
78919 sed "s/^/$as_me: WARNING: /" >&2
78921 esac
78922 echo "$as_me:$LINENO: checking for $ac_header" >&5
78923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78925 echo $ECHO_N "(cached) $ECHO_C" >&6
78926 else
78927 eval "$as_ac_Header=\$ac_header_preproc"
78929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78934 cat >>confdefs.h <<_ACEOF
78935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78936 _ACEOF
78940 done
78943 echo "$as_me:$LINENO: checking for writev" >&5
78944 echo $ECHO_N "checking for writev... $ECHO_C" >&6
78945 if test "${glibcxx_cv_WRITEV+set}" = set; then
78946 echo $ECHO_N "(cached) $ECHO_C" >&6
78947 else
78949 if test x$gcc_no_link = xyes; then
78950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78952 { (exit 1); exit 1; }; }
78954 cat >conftest.$ac_ext <<_ACEOF
78955 /* confdefs.h. */
78956 _ACEOF
78957 cat confdefs.h >>conftest.$ac_ext
78958 cat >>conftest.$ac_ext <<_ACEOF
78959 /* end confdefs.h. */
78960 #include <sys/uio.h>
78962 main ()
78964 struct iovec iov[2];
78965 writev(0, iov, 0);
78967 return 0;
78969 _ACEOF
78970 rm -f conftest.$ac_objext conftest$ac_exeext
78971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78972 (eval $ac_link) 2>conftest.er1
78973 ac_status=$?
78974 grep -v '^ *+' conftest.er1 >conftest.err
78975 rm -f conftest.er1
78976 cat conftest.err >&5
78977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78978 (exit $ac_status); } &&
78979 { ac_try='test -z "$ac_c_werror_flag"
78980 || test ! -s conftest.err'
78981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78982 (eval $ac_try) 2>&5
78983 ac_status=$?
78984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78985 (exit $ac_status); }; } &&
78986 { ac_try='test -s conftest$ac_exeext'
78987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78988 (eval $ac_try) 2>&5
78989 ac_status=$?
78990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78991 (exit $ac_status); }; }; then
78992 glibcxx_cv_WRITEV=yes
78993 else
78994 echo "$as_me: failed program was:" >&5
78995 sed 's/^/| /' conftest.$ac_ext >&5
78997 glibcxx_cv_WRITEV=no
78999 rm -f conftest.err conftest.$ac_objext \
79000 conftest$ac_exeext conftest.$ac_ext
79004 if test $glibcxx_cv_WRITEV = yes; then
79006 cat >>confdefs.h <<\_ACEOF
79007 #define HAVE_WRITEV 1
79008 _ACEOF
79011 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
79012 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
79015 cat >>confdefs.h <<\_ACEOF
79016 #define HAVE_ACOSF 1
79017 _ACEOF
79019 cat >>confdefs.h <<\_ACEOF
79020 #define HAVE_ASINF 1
79021 _ACEOF
79023 cat >>confdefs.h <<\_ACEOF
79024 #define HAVE_ATANF 1
79025 _ACEOF
79027 cat >>confdefs.h <<\_ACEOF
79028 #define HAVE_ATAN2F 1
79029 _ACEOF
79031 cat >>confdefs.h <<\_ACEOF
79032 #define HAVE_CEILF 1
79033 _ACEOF
79035 cat >>confdefs.h <<\_ACEOF
79036 #define HAVE_COPYSIGN 1
79037 _ACEOF
79039 cat >>confdefs.h <<\_ACEOF
79040 #define HAVE_COPYSIGNF 1
79041 _ACEOF
79043 cat >>confdefs.h <<\_ACEOF
79044 #define HAVE_COSF 1
79045 _ACEOF
79047 cat >>confdefs.h <<\_ACEOF
79048 #define HAVE_COSHF 1
79049 _ACEOF
79051 cat >>confdefs.h <<\_ACEOF
79052 #define HAVE_EXPF 1
79053 _ACEOF
79055 cat >>confdefs.h <<\_ACEOF
79056 #define HAVE_FABSF 1
79057 _ACEOF
79059 cat >>confdefs.h <<\_ACEOF
79060 #define HAVE_FINITE 1
79061 _ACEOF
79063 cat >>confdefs.h <<\_ACEOF
79064 #define HAVE_FINITEF 1
79065 _ACEOF
79067 cat >>confdefs.h <<\_ACEOF
79068 #define HAVE_FLOORF 1
79069 _ACEOF
79071 cat >>confdefs.h <<\_ACEOF
79072 #define HAVE_FMODF 1
79073 _ACEOF
79075 cat >>confdefs.h <<\_ACEOF
79076 #define HAVE_FREXPF 1
79077 _ACEOF
79079 cat >>confdefs.h <<\_ACEOF
79080 #define HAVE_HYPOT 1
79081 _ACEOF
79083 cat >>confdefs.h <<\_ACEOF
79084 #define HAVE_HYPOTF 1
79085 _ACEOF
79087 cat >>confdefs.h <<\_ACEOF
79088 #define HAVE_ISINF 1
79089 _ACEOF
79091 cat >>confdefs.h <<\_ACEOF
79092 #define HAVE_ISINFF 1
79093 _ACEOF
79095 cat >>confdefs.h <<\_ACEOF
79096 #define HAVE_ISNAN 1
79097 _ACEOF
79099 cat >>confdefs.h <<\_ACEOF
79100 #define HAVE_ISNANF 1
79101 _ACEOF
79103 cat >>confdefs.h <<\_ACEOF
79104 #define HAVE_LOGF 1
79105 _ACEOF
79107 cat >>confdefs.h <<\_ACEOF
79108 #define HAVE_LOG10F 1
79109 _ACEOF
79111 cat >>confdefs.h <<\_ACEOF
79112 #define HAVE_MODFF 1
79113 _ACEOF
79115 cat >>confdefs.h <<\_ACEOF
79116 #define HAVE_SINF 1
79117 _ACEOF
79119 cat >>confdefs.h <<\_ACEOF
79120 #define HAVE_SINHF 1
79121 _ACEOF
79123 cat >>confdefs.h <<\_ACEOF
79124 #define HAVE_SINCOS 1
79125 _ACEOF
79127 cat >>confdefs.h <<\_ACEOF
79128 #define HAVE_SINCOSF 1
79129 _ACEOF
79131 cat >>confdefs.h <<\_ACEOF
79132 #define HAVE_SQRTF 1
79133 _ACEOF
79135 cat >>confdefs.h <<\_ACEOF
79136 #define HAVE_TANF 1
79137 _ACEOF
79139 cat >>confdefs.h <<\_ACEOF
79140 #define HAVE_TANHF 1
79141 _ACEOF
79143 if test x"long_double_math_on_this_cpu" = x"yes"; then
79144 cat >>confdefs.h <<\_ACEOF
79145 #define HAVE_ACOSL 1
79146 _ACEOF
79148 cat >>confdefs.h <<\_ACEOF
79149 #define HAVE_ASINL 1
79150 _ACEOF
79152 cat >>confdefs.h <<\_ACEOF
79153 #define HAVE_ATANL 1
79154 _ACEOF
79156 cat >>confdefs.h <<\_ACEOF
79157 #define HAVE_ATAN2L 1
79158 _ACEOF
79160 cat >>confdefs.h <<\_ACEOF
79161 #define HAVE_CEILL 1
79162 _ACEOF
79164 cat >>confdefs.h <<\_ACEOF
79165 #define HAVE_COPYSIGNL 1
79166 _ACEOF
79168 cat >>confdefs.h <<\_ACEOF
79169 #define HAVE_COSL 1
79170 _ACEOF
79172 cat >>confdefs.h <<\_ACEOF
79173 #define HAVE_COSHL 1
79174 _ACEOF
79176 cat >>confdefs.h <<\_ACEOF
79177 #define HAVE_EXPL 1
79178 _ACEOF
79180 cat >>confdefs.h <<\_ACEOF
79181 #define HAVE_FABSL 1
79182 _ACEOF
79184 cat >>confdefs.h <<\_ACEOF
79185 #define HAVE_FINITEL 1
79186 _ACEOF
79188 cat >>confdefs.h <<\_ACEOF
79189 #define HAVE_FLOORL 1
79190 _ACEOF
79192 cat >>confdefs.h <<\_ACEOF
79193 #define HAVE_FMODL 1
79194 _ACEOF
79196 cat >>confdefs.h <<\_ACEOF
79197 #define HAVE_FREXPL 1
79198 _ACEOF
79200 cat >>confdefs.h <<\_ACEOF
79201 #define HAVE_HYPOTL 1
79202 _ACEOF
79204 cat >>confdefs.h <<\_ACEOF
79205 #define HAVE_ISINFL 1
79206 _ACEOF
79208 cat >>confdefs.h <<\_ACEOF
79209 #define HAVE_ISNANL 1
79210 _ACEOF
79212 cat >>confdefs.h <<\_ACEOF
79213 #define HAVE_LOGL 1
79214 _ACEOF
79216 cat >>confdefs.h <<\_ACEOF
79217 #define HAVE_LOG10L 1
79218 _ACEOF
79220 cat >>confdefs.h <<\_ACEOF
79221 #define HAVE_MODFL 1
79222 _ACEOF
79224 cat >>confdefs.h <<\_ACEOF
79225 #define HAVE_POWL 1
79226 _ACEOF
79228 cat >>confdefs.h <<\_ACEOF
79229 #define HAVE_SINL 1
79230 _ACEOF
79232 cat >>confdefs.h <<\_ACEOF
79233 #define HAVE_SINHL 1
79234 _ACEOF
79236 cat >>confdefs.h <<\_ACEOF
79237 #define HAVE_SINCOSL 1
79238 _ACEOF
79240 cat >>confdefs.h <<\_ACEOF
79241 #define HAVE_SQRTL 1
79242 _ACEOF
79244 cat >>confdefs.h <<\_ACEOF
79245 #define HAVE_TANL 1
79246 _ACEOF
79248 cat >>confdefs.h <<\_ACEOF
79249 #define HAVE_TANHL 1
79250 _ACEOF
79254 *-mingw32*)
79258 for ac_header in sys/types.h locale.h float.h
79260 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79262 echo "$as_me:$LINENO: checking for $ac_header" >&5
79263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79265 echo $ECHO_N "(cached) $ECHO_C" >&6
79267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79269 else
79270 # Is the header compilable?
79271 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79272 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79273 cat >conftest.$ac_ext <<_ACEOF
79274 /* confdefs.h. */
79275 _ACEOF
79276 cat confdefs.h >>conftest.$ac_ext
79277 cat >>conftest.$ac_ext <<_ACEOF
79278 /* end confdefs.h. */
79279 $ac_includes_default
79280 #include <$ac_header>
79281 _ACEOF
79282 rm -f conftest.$ac_objext
79283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79284 (eval $ac_compile) 2>conftest.er1
79285 ac_status=$?
79286 grep -v '^ *+' conftest.er1 >conftest.err
79287 rm -f conftest.er1
79288 cat conftest.err >&5
79289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79290 (exit $ac_status); } &&
79291 { ac_try='test -z "$ac_c_werror_flag"
79292 || test ! -s conftest.err'
79293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79294 (eval $ac_try) 2>&5
79295 ac_status=$?
79296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79297 (exit $ac_status); }; } &&
79298 { ac_try='test -s conftest.$ac_objext'
79299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79300 (eval $ac_try) 2>&5
79301 ac_status=$?
79302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79303 (exit $ac_status); }; }; then
79304 ac_header_compiler=yes
79305 else
79306 echo "$as_me: failed program was:" >&5
79307 sed 's/^/| /' conftest.$ac_ext >&5
79309 ac_header_compiler=no
79311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79313 echo "${ECHO_T}$ac_header_compiler" >&6
79315 # Is the header present?
79316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79318 cat >conftest.$ac_ext <<_ACEOF
79319 /* confdefs.h. */
79320 _ACEOF
79321 cat confdefs.h >>conftest.$ac_ext
79322 cat >>conftest.$ac_ext <<_ACEOF
79323 /* end confdefs.h. */
79324 #include <$ac_header>
79325 _ACEOF
79326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79328 ac_status=$?
79329 grep -v '^ *+' conftest.er1 >conftest.err
79330 rm -f conftest.er1
79331 cat conftest.err >&5
79332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79333 (exit $ac_status); } >/dev/null; then
79334 if test -s conftest.err; then
79335 ac_cpp_err=$ac_c_preproc_warn_flag
79336 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79337 else
79338 ac_cpp_err=
79340 else
79341 ac_cpp_err=yes
79343 if test -z "$ac_cpp_err"; then
79344 ac_header_preproc=yes
79345 else
79346 echo "$as_me: failed program was:" >&5
79347 sed 's/^/| /' conftest.$ac_ext >&5
79349 ac_header_preproc=no
79351 rm -f conftest.err conftest.$ac_ext
79352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79353 echo "${ECHO_T}$ac_header_preproc" >&6
79355 # So? What about this header?
79356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79357 yes:no: )
79358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79361 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79362 ac_header_preproc=yes
79364 no:yes:* )
79365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79366 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79368 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79369 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79370 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79371 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79372 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79375 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79376 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79378 cat <<\_ASBOX
79379 ## ----------------------------------------- ##
79380 ## Report this to the package-unused lists. ##
79381 ## ----------------------------------------- ##
79382 _ASBOX
79384 sed "s/^/$as_me: WARNING: /" >&2
79386 esac
79387 echo "$as_me:$LINENO: checking for $ac_header" >&5
79388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79390 echo $ECHO_N "(cached) $ECHO_C" >&6
79391 else
79392 eval "$as_ac_Header=\$ac_header_preproc"
79394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79399 cat >>confdefs.h <<_ACEOF
79400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79401 _ACEOF
79405 done
79408 # If we're not using GNU ld, then there's no point in even trying these
79409 # tests. Check for that first. We should have already tested for gld
79410 # by now (in libtool), but require it now just to be safe...
79411 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79412 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79416 # The name set by libtool depends on the version of libtool. Shame on us
79417 # for depending on an impl detail, but c'est la vie. Older versions used
79418 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79419 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79420 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79421 # set (hence we're using an older libtool), then set it.
79422 if test x${with_gnu_ld+set} != xset; then
79423 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79424 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79425 with_gnu_ld=no
79426 else
79427 with_gnu_ld=$ac_cv_prog_gnu_ld
79431 # Start by getting the version number. I think the libtool test already
79432 # does some of this, but throws away the result.
79434 ldver=`$LD --version 2>/dev/null | head -1 | \
79435 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79437 glibcxx_gnu_ld_version=`echo $ldver | \
79438 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79440 # Set --gc-sections.
79441 if test x"$with_gnu_ld" = x"yes"; then
79442 # GNU ld it is! Joy and bunny rabbits!
79444 # All these tests are for C++; save the language and the compiler flags.
79445 # Need to do this so that g++ won't try to link in libstdc++
79446 ac_test_CFLAGS="${CFLAGS+set}"
79447 ac_save_CFLAGS="$CFLAGS"
79448 CFLAGS='-x c++ -Wl,--gc-sections'
79450 # Check for -Wl,--gc-sections
79451 # Note: It's supposed to work now, so ease off until proven wrong...
79452 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79453 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79454 cat >conftest.$ac_ext <<_ACEOF
79455 /* confdefs.h. */
79456 _ACEOF
79457 cat confdefs.h >>conftest.$ac_ext
79458 cat >>conftest.$ac_ext <<_ACEOF
79459 /* end confdefs.h. */
79461 int main(void)
79463 try { throw 1; }
79464 catch (...) { };
79465 return 0;
79469 main ()
79471 ac_sectionLDflags=yes
79473 return 0;
79475 _ACEOF
79476 rm -f conftest.$ac_objext
79477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79478 (eval $ac_compile) 2>conftest.er1
79479 ac_status=$?
79480 grep -v '^ *+' conftest.er1 >conftest.err
79481 rm -f conftest.er1
79482 cat conftest.err >&5
79483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79484 (exit $ac_status); } &&
79485 { ac_try='test -z "$ac_c_werror_flag"
79486 || test ! -s conftest.err'
79487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79488 (eval $ac_try) 2>&5
79489 ac_status=$?
79490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79491 (exit $ac_status); }; } &&
79492 { ac_try='test -s conftest.$ac_objext'
79493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79494 (eval $ac_try) 2>&5
79495 ac_status=$?
79496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79497 (exit $ac_status); }; }; then
79498 ac_sectionLDflags=no
79499 else
79500 echo "$as_me: failed program was:" >&5
79501 sed 's/^/| /' conftest.$ac_ext >&5
79503 ac_sectionLDflags=yes
79505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79506 if test "$ac_test_CFLAGS" = set; then
79507 CFLAGS="$ac_save_CFLAGS"
79508 else
79509 # this is the suspicious part
79510 CFLAGS=''
79512 if test "$ac_sectionLDflags" = "yes"; then
79513 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79515 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79516 echo "${ECHO_T}$ac_sectionLDflags" >&6
79519 # Set -z,relro.
79520 # Note this is only for shared objects.
79521 ac_ld_relro=no
79522 if test x"$with_gnu_ld" = x"yes"; then
79523 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
79524 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
79525 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
79526 if test -n "$cxx_z_relo"; then
79527 OPT_LDFLAGS="-Wl,-z,relro"
79528 ac_ld_relro=yes
79530 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
79531 echo "${ECHO_T}$ac_ld_relro" >&6
79534 # Set linker optimization flags.
79535 if test x"$with_gnu_ld" = x"yes"; then
79536 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79544 echo "$as_me:$LINENO: checking for main in -lm" >&5
79545 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79546 if test "${ac_cv_lib_m_main+set}" = set; then
79547 echo $ECHO_N "(cached) $ECHO_C" >&6
79548 else
79549 ac_check_lib_save_LIBS=$LIBS
79550 LIBS="-lm $LIBS"
79551 if test x$gcc_no_link = xyes; then
79552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79554 { (exit 1); exit 1; }; }
79556 cat >conftest.$ac_ext <<_ACEOF
79557 /* confdefs.h. */
79558 _ACEOF
79559 cat confdefs.h >>conftest.$ac_ext
79560 cat >>conftest.$ac_ext <<_ACEOF
79561 /* end confdefs.h. */
79565 main ()
79567 main ();
79569 return 0;
79571 _ACEOF
79572 rm -f conftest.$ac_objext conftest$ac_exeext
79573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79574 (eval $ac_link) 2>conftest.er1
79575 ac_status=$?
79576 grep -v '^ *+' conftest.er1 >conftest.err
79577 rm -f conftest.er1
79578 cat conftest.err >&5
79579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79580 (exit $ac_status); } &&
79581 { ac_try='test -z "$ac_c_werror_flag"
79582 || test ! -s conftest.err'
79583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79584 (eval $ac_try) 2>&5
79585 ac_status=$?
79586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79587 (exit $ac_status); }; } &&
79588 { ac_try='test -s conftest$ac_exeext'
79589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79590 (eval $ac_try) 2>&5
79591 ac_status=$?
79592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79593 (exit $ac_status); }; }; then
79594 ac_cv_lib_m_main=yes
79595 else
79596 echo "$as_me: failed program was:" >&5
79597 sed 's/^/| /' conftest.$ac_ext >&5
79599 ac_cv_lib_m_main=no
79601 rm -f conftest.err conftest.$ac_objext \
79602 conftest$ac_exeext conftest.$ac_ext
79603 LIBS=$ac_check_lib_save_LIBS
79605 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79606 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79607 if test $ac_cv_lib_m_main = yes; then
79608 cat >>confdefs.h <<_ACEOF
79609 #define HAVE_LIBM 1
79610 _ACEOF
79612 LIBS="-lm $LIBS"
79617 for ac_func in copysignf
79619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79620 echo "$as_me:$LINENO: checking for $ac_func" >&5
79621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79622 if eval "test \"\${$as_ac_var+set}\" = set"; then
79623 echo $ECHO_N "(cached) $ECHO_C" >&6
79624 else
79625 if test x$gcc_no_link = xyes; then
79626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79628 { (exit 1); exit 1; }; }
79630 cat >conftest.$ac_ext <<_ACEOF
79631 /* confdefs.h. */
79632 _ACEOF
79633 cat confdefs.h >>conftest.$ac_ext
79634 cat >>conftest.$ac_ext <<_ACEOF
79635 /* end confdefs.h. */
79636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79638 #define $ac_func innocuous_$ac_func
79640 /* System header to define __stub macros and hopefully few prototypes,
79641 which can conflict with char $ac_func (); below.
79642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79643 <limits.h> exists even on freestanding compilers. */
79645 #ifdef __STDC__
79646 # include <limits.h>
79647 #else
79648 # include <assert.h>
79649 #endif
79651 #undef $ac_func
79653 /* Override any gcc2 internal prototype to avoid an error. */
79654 #ifdef __cplusplus
79655 extern "C"
79657 #endif
79658 /* We use char because int might match the return type of a gcc2
79659 builtin and then its argument prototype would still apply. */
79660 char $ac_func ();
79661 /* The GNU C library defines this for functions which it implements
79662 to always fail with ENOSYS. Some functions are actually named
79663 something starting with __ and the normal name is an alias. */
79664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79665 choke me
79666 #else
79667 char (*f) () = $ac_func;
79668 #endif
79669 #ifdef __cplusplus
79671 #endif
79674 main ()
79676 return f != $ac_func;
79678 return 0;
79680 _ACEOF
79681 rm -f conftest.$ac_objext conftest$ac_exeext
79682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79683 (eval $ac_link) 2>conftest.er1
79684 ac_status=$?
79685 grep -v '^ *+' conftest.er1 >conftest.err
79686 rm -f conftest.er1
79687 cat conftest.err >&5
79688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79689 (exit $ac_status); } &&
79690 { ac_try='test -z "$ac_c_werror_flag"
79691 || test ! -s conftest.err'
79692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79693 (eval $ac_try) 2>&5
79694 ac_status=$?
79695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79696 (exit $ac_status); }; } &&
79697 { ac_try='test -s conftest$ac_exeext'
79698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79699 (eval $ac_try) 2>&5
79700 ac_status=$?
79701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79702 (exit $ac_status); }; }; then
79703 eval "$as_ac_var=yes"
79704 else
79705 echo "$as_me: failed program was:" >&5
79706 sed 's/^/| /' conftest.$ac_ext >&5
79708 eval "$as_ac_var=no"
79710 rm -f conftest.err conftest.$ac_objext \
79711 conftest$ac_exeext conftest.$ac_ext
79713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79715 if test `eval echo '${'$as_ac_var'}'` = yes; then
79716 cat >>confdefs.h <<_ACEOF
79717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79718 _ACEOF
79720 else
79721 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79723 done
79727 for ac_func in __signbit
79729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79730 echo "$as_me:$LINENO: checking for $ac_func" >&5
79731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79732 if eval "test \"\${$as_ac_var+set}\" = set"; then
79733 echo $ECHO_N "(cached) $ECHO_C" >&6
79734 else
79735 if test x$gcc_no_link = xyes; then
79736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79738 { (exit 1); exit 1; }; }
79740 cat >conftest.$ac_ext <<_ACEOF
79741 /* confdefs.h. */
79742 _ACEOF
79743 cat confdefs.h >>conftest.$ac_ext
79744 cat >>conftest.$ac_ext <<_ACEOF
79745 /* end confdefs.h. */
79746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79748 #define $ac_func innocuous_$ac_func
79750 /* System header to define __stub macros and hopefully few prototypes,
79751 which can conflict with char $ac_func (); below.
79752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79753 <limits.h> exists even on freestanding compilers. */
79755 #ifdef __STDC__
79756 # include <limits.h>
79757 #else
79758 # include <assert.h>
79759 #endif
79761 #undef $ac_func
79763 /* Override any gcc2 internal prototype to avoid an error. */
79764 #ifdef __cplusplus
79765 extern "C"
79767 #endif
79768 /* We use char because int might match the return type of a gcc2
79769 builtin and then its argument prototype would still apply. */
79770 char $ac_func ();
79771 /* The GNU C library defines this for functions which it implements
79772 to always fail with ENOSYS. Some functions are actually named
79773 something starting with __ and the normal name is an alias. */
79774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79775 choke me
79776 #else
79777 char (*f) () = $ac_func;
79778 #endif
79779 #ifdef __cplusplus
79781 #endif
79784 main ()
79786 return f != $ac_func;
79788 return 0;
79790 _ACEOF
79791 rm -f conftest.$ac_objext conftest$ac_exeext
79792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79793 (eval $ac_link) 2>conftest.er1
79794 ac_status=$?
79795 grep -v '^ *+' conftest.er1 >conftest.err
79796 rm -f conftest.er1
79797 cat conftest.err >&5
79798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79799 (exit $ac_status); } &&
79800 { ac_try='test -z "$ac_c_werror_flag"
79801 || test ! -s conftest.err'
79802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79803 (eval $ac_try) 2>&5
79804 ac_status=$?
79805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79806 (exit $ac_status); }; } &&
79807 { ac_try='test -s conftest$ac_exeext'
79808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79809 (eval $ac_try) 2>&5
79810 ac_status=$?
79811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79812 (exit $ac_status); }; }; then
79813 eval "$as_ac_var=yes"
79814 else
79815 echo "$as_me: failed program was:" >&5
79816 sed 's/^/| /' conftest.$ac_ext >&5
79818 eval "$as_ac_var=no"
79820 rm -f conftest.err conftest.$ac_objext \
79821 conftest$ac_exeext conftest.$ac_ext
79823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79825 if test `eval echo '${'$as_ac_var'}'` = yes; then
79826 cat >>confdefs.h <<_ACEOF
79827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79828 _ACEOF
79830 else
79831 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79833 done
79837 for ac_func in __signbitf
79839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79840 echo "$as_me:$LINENO: checking for $ac_func" >&5
79841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79842 if eval "test \"\${$as_ac_var+set}\" = set"; then
79843 echo $ECHO_N "(cached) $ECHO_C" >&6
79844 else
79845 if test x$gcc_no_link = xyes; then
79846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79848 { (exit 1); exit 1; }; }
79850 cat >conftest.$ac_ext <<_ACEOF
79851 /* confdefs.h. */
79852 _ACEOF
79853 cat confdefs.h >>conftest.$ac_ext
79854 cat >>conftest.$ac_ext <<_ACEOF
79855 /* end confdefs.h. */
79856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79858 #define $ac_func innocuous_$ac_func
79860 /* System header to define __stub macros and hopefully few prototypes,
79861 which can conflict with char $ac_func (); below.
79862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79863 <limits.h> exists even on freestanding compilers. */
79865 #ifdef __STDC__
79866 # include <limits.h>
79867 #else
79868 # include <assert.h>
79869 #endif
79871 #undef $ac_func
79873 /* Override any gcc2 internal prototype to avoid an error. */
79874 #ifdef __cplusplus
79875 extern "C"
79877 #endif
79878 /* We use char because int might match the return type of a gcc2
79879 builtin and then its argument prototype would still apply. */
79880 char $ac_func ();
79881 /* The GNU C library defines this for functions which it implements
79882 to always fail with ENOSYS. Some functions are actually named
79883 something starting with __ and the normal name is an alias. */
79884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79885 choke me
79886 #else
79887 char (*f) () = $ac_func;
79888 #endif
79889 #ifdef __cplusplus
79891 #endif
79894 main ()
79896 return f != $ac_func;
79898 return 0;
79900 _ACEOF
79901 rm -f conftest.$ac_objext conftest$ac_exeext
79902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79903 (eval $ac_link) 2>conftest.er1
79904 ac_status=$?
79905 grep -v '^ *+' conftest.er1 >conftest.err
79906 rm -f conftest.er1
79907 cat conftest.err >&5
79908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79909 (exit $ac_status); } &&
79910 { ac_try='test -z "$ac_c_werror_flag"
79911 || test ! -s conftest.err'
79912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79913 (eval $ac_try) 2>&5
79914 ac_status=$?
79915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79916 (exit $ac_status); }; } &&
79917 { ac_try='test -s conftest$ac_exeext'
79918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79919 (eval $ac_try) 2>&5
79920 ac_status=$?
79921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79922 (exit $ac_status); }; }; then
79923 eval "$as_ac_var=yes"
79924 else
79925 echo "$as_me: failed program was:" >&5
79926 sed 's/^/| /' conftest.$ac_ext >&5
79928 eval "$as_ac_var=no"
79930 rm -f conftest.err conftest.$ac_objext \
79931 conftest$ac_exeext conftest.$ac_ext
79933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79935 if test `eval echo '${'$as_ac_var'}'` = yes; then
79936 cat >>confdefs.h <<_ACEOF
79937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79938 _ACEOF
79940 else
79941 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79943 done
79946 if test x$ac_cv_func_copysignl = x"yes"; then
79948 for ac_func in __signbitl
79950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79951 echo "$as_me:$LINENO: checking for $ac_func" >&5
79952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79953 if eval "test \"\${$as_ac_var+set}\" = set"; then
79954 echo $ECHO_N "(cached) $ECHO_C" >&6
79955 else
79956 if test x$gcc_no_link = xyes; then
79957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79959 { (exit 1); exit 1; }; }
79961 cat >conftest.$ac_ext <<_ACEOF
79962 /* confdefs.h. */
79963 _ACEOF
79964 cat confdefs.h >>conftest.$ac_ext
79965 cat >>conftest.$ac_ext <<_ACEOF
79966 /* end confdefs.h. */
79967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79969 #define $ac_func innocuous_$ac_func
79971 /* System header to define __stub macros and hopefully few prototypes,
79972 which can conflict with char $ac_func (); below.
79973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79974 <limits.h> exists even on freestanding compilers. */
79976 #ifdef __STDC__
79977 # include <limits.h>
79978 #else
79979 # include <assert.h>
79980 #endif
79982 #undef $ac_func
79984 /* Override any gcc2 internal prototype to avoid an error. */
79985 #ifdef __cplusplus
79986 extern "C"
79988 #endif
79989 /* We use char because int might match the return type of a gcc2
79990 builtin and then its argument prototype would still apply. */
79991 char $ac_func ();
79992 /* The GNU C library defines this for functions which it implements
79993 to always fail with ENOSYS. Some functions are actually named
79994 something starting with __ and the normal name is an alias. */
79995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79996 choke me
79997 #else
79998 char (*f) () = $ac_func;
79999 #endif
80000 #ifdef __cplusplus
80002 #endif
80005 main ()
80007 return f != $ac_func;
80009 return 0;
80011 _ACEOF
80012 rm -f conftest.$ac_objext conftest$ac_exeext
80013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80014 (eval $ac_link) 2>conftest.er1
80015 ac_status=$?
80016 grep -v '^ *+' conftest.er1 >conftest.err
80017 rm -f conftest.er1
80018 cat conftest.err >&5
80019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80020 (exit $ac_status); } &&
80021 { ac_try='test -z "$ac_c_werror_flag"
80022 || test ! -s conftest.err'
80023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80024 (eval $ac_try) 2>&5
80025 ac_status=$?
80026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80027 (exit $ac_status); }; } &&
80028 { ac_try='test -s conftest$ac_exeext'
80029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80030 (eval $ac_try) 2>&5
80031 ac_status=$?
80032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80033 (exit $ac_status); }; }; then
80034 eval "$as_ac_var=yes"
80035 else
80036 echo "$as_me: failed program was:" >&5
80037 sed 's/^/| /' conftest.$ac_ext >&5
80039 eval "$as_ac_var=no"
80041 rm -f conftest.err conftest.$ac_objext \
80042 conftest$ac_exeext conftest.$ac_ext
80044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80046 if test `eval echo '${'$as_ac_var'}'` = yes; then
80047 cat >>confdefs.h <<_ACEOF
80048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80049 _ACEOF
80051 else
80052 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80054 done
80058 # Used in libmath/Makefile.am.
80059 if test -n "$LIBMATHOBJS"; then
80060 need_libmath=yes
80066 enable_iconv=no
80067 # Only continue checking if the ISO C99 headers exist and support is on.
80068 if test x"$enable_wchar_t" = xyes; then
80070 # Use iconv for wchar_t to char conversions. As such, check for
80071 # X/Open Portability Guide, version 2 features (XPG2).
80072 if test "${ac_cv_header_iconv_h+set}" = set; then
80073 echo "$as_me:$LINENO: checking for iconv.h" >&5
80074 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80075 if test "${ac_cv_header_iconv_h+set}" = set; then
80076 echo $ECHO_N "(cached) $ECHO_C" >&6
80078 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80079 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80080 else
80081 # Is the header compilable?
80082 echo "$as_me:$LINENO: checking iconv.h usability" >&5
80083 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
80084 cat >conftest.$ac_ext <<_ACEOF
80085 /* confdefs.h. */
80086 _ACEOF
80087 cat confdefs.h >>conftest.$ac_ext
80088 cat >>conftest.$ac_ext <<_ACEOF
80089 /* end confdefs.h. */
80090 $ac_includes_default
80091 #include <iconv.h>
80092 _ACEOF
80093 rm -f conftest.$ac_objext
80094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80095 (eval $ac_compile) 2>conftest.er1
80096 ac_status=$?
80097 grep -v '^ *+' conftest.er1 >conftest.err
80098 rm -f conftest.er1
80099 cat conftest.err >&5
80100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80101 (exit $ac_status); } &&
80102 { ac_try='test -z "$ac_c_werror_flag"
80103 || test ! -s conftest.err'
80104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80105 (eval $ac_try) 2>&5
80106 ac_status=$?
80107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80108 (exit $ac_status); }; } &&
80109 { ac_try='test -s conftest.$ac_objext'
80110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80111 (eval $ac_try) 2>&5
80112 ac_status=$?
80113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80114 (exit $ac_status); }; }; then
80115 ac_header_compiler=yes
80116 else
80117 echo "$as_me: failed program was:" >&5
80118 sed 's/^/| /' conftest.$ac_ext >&5
80120 ac_header_compiler=no
80122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80124 echo "${ECHO_T}$ac_header_compiler" >&6
80126 # Is the header present?
80127 echo "$as_me:$LINENO: checking iconv.h presence" >&5
80128 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
80129 cat >conftest.$ac_ext <<_ACEOF
80130 /* confdefs.h. */
80131 _ACEOF
80132 cat confdefs.h >>conftest.$ac_ext
80133 cat >>conftest.$ac_ext <<_ACEOF
80134 /* end confdefs.h. */
80135 #include <iconv.h>
80136 _ACEOF
80137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80139 ac_status=$?
80140 grep -v '^ *+' conftest.er1 >conftest.err
80141 rm -f conftest.er1
80142 cat conftest.err >&5
80143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80144 (exit $ac_status); } >/dev/null; then
80145 if test -s conftest.err; then
80146 ac_cpp_err=$ac_c_preproc_warn_flag
80147 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80148 else
80149 ac_cpp_err=
80151 else
80152 ac_cpp_err=yes
80154 if test -z "$ac_cpp_err"; then
80155 ac_header_preproc=yes
80156 else
80157 echo "$as_me: failed program was:" >&5
80158 sed 's/^/| /' conftest.$ac_ext >&5
80160 ac_header_preproc=no
80162 rm -f conftest.err conftest.$ac_ext
80163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80164 echo "${ECHO_T}$ac_header_preproc" >&6
80166 # So? What about this header?
80167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80168 yes:no: )
80169 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
80170 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80171 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
80172 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
80173 ac_header_preproc=yes
80175 no:yes:* )
80176 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
80177 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
80178 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
80179 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
80180 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
80181 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
80182 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
80183 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
80184 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
80185 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
80186 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
80187 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
80189 cat <<\_ASBOX
80190 ## ----------------------------------------- ##
80191 ## Report this to the package-unused lists. ##
80192 ## ----------------------------------------- ##
80193 _ASBOX
80195 sed "s/^/$as_me: WARNING: /" >&2
80197 esac
80198 echo "$as_me:$LINENO: checking for iconv.h" >&5
80199 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80200 if test "${ac_cv_header_iconv_h+set}" = set; then
80201 echo $ECHO_N "(cached) $ECHO_C" >&6
80202 else
80203 ac_cv_header_iconv_h=$ac_header_preproc
80205 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80206 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80209 if test $ac_cv_header_iconv_h = yes; then
80210 ac_has_iconv_h=yes
80211 else
80212 ac_has_iconv_h=no
80216 if test "${ac_cv_header_langinfo_h+set}" = set; then
80217 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80218 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80219 if test "${ac_cv_header_langinfo_h+set}" = set; then
80220 echo $ECHO_N "(cached) $ECHO_C" >&6
80222 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80223 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80224 else
80225 # Is the header compilable?
80226 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
80227 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
80228 cat >conftest.$ac_ext <<_ACEOF
80229 /* confdefs.h. */
80230 _ACEOF
80231 cat confdefs.h >>conftest.$ac_ext
80232 cat >>conftest.$ac_ext <<_ACEOF
80233 /* end confdefs.h. */
80234 $ac_includes_default
80235 #include <langinfo.h>
80236 _ACEOF
80237 rm -f conftest.$ac_objext
80238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80239 (eval $ac_compile) 2>conftest.er1
80240 ac_status=$?
80241 grep -v '^ *+' conftest.er1 >conftest.err
80242 rm -f conftest.er1
80243 cat conftest.err >&5
80244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80245 (exit $ac_status); } &&
80246 { ac_try='test -z "$ac_c_werror_flag"
80247 || test ! -s conftest.err'
80248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80249 (eval $ac_try) 2>&5
80250 ac_status=$?
80251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80252 (exit $ac_status); }; } &&
80253 { ac_try='test -s conftest.$ac_objext'
80254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80255 (eval $ac_try) 2>&5
80256 ac_status=$?
80257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80258 (exit $ac_status); }; }; then
80259 ac_header_compiler=yes
80260 else
80261 echo "$as_me: failed program was:" >&5
80262 sed 's/^/| /' conftest.$ac_ext >&5
80264 ac_header_compiler=no
80266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80268 echo "${ECHO_T}$ac_header_compiler" >&6
80270 # Is the header present?
80271 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80272 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80273 cat >conftest.$ac_ext <<_ACEOF
80274 /* confdefs.h. */
80275 _ACEOF
80276 cat confdefs.h >>conftest.$ac_ext
80277 cat >>conftest.$ac_ext <<_ACEOF
80278 /* end confdefs.h. */
80279 #include <langinfo.h>
80280 _ACEOF
80281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80283 ac_status=$?
80284 grep -v '^ *+' conftest.er1 >conftest.err
80285 rm -f conftest.er1
80286 cat conftest.err >&5
80287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80288 (exit $ac_status); } >/dev/null; then
80289 if test -s conftest.err; then
80290 ac_cpp_err=$ac_c_preproc_warn_flag
80291 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80292 else
80293 ac_cpp_err=
80295 else
80296 ac_cpp_err=yes
80298 if test -z "$ac_cpp_err"; then
80299 ac_header_preproc=yes
80300 else
80301 echo "$as_me: failed program was:" >&5
80302 sed 's/^/| /' conftest.$ac_ext >&5
80304 ac_header_preproc=no
80306 rm -f conftest.err conftest.$ac_ext
80307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80308 echo "${ECHO_T}$ac_header_preproc" >&6
80310 # So? What about this header?
80311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80312 yes:no: )
80313 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
80314 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80315 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
80316 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
80317 ac_header_preproc=yes
80319 no:yes:* )
80320 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
80321 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
80322 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
80323 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
80324 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
80325 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
80326 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
80327 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
80328 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
80329 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
80330 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
80331 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
80333 cat <<\_ASBOX
80334 ## ----------------------------------------- ##
80335 ## Report this to the package-unused lists. ##
80336 ## ----------------------------------------- ##
80337 _ASBOX
80339 sed "s/^/$as_me: WARNING: /" >&2
80341 esac
80342 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80343 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80344 if test "${ac_cv_header_langinfo_h+set}" = set; then
80345 echo $ECHO_N "(cached) $ECHO_C" >&6
80346 else
80347 ac_cv_header_langinfo_h=$ac_header_preproc
80349 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80350 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80353 if test $ac_cv_header_langinfo_h = yes; then
80354 ac_has_langinfo_h=yes
80355 else
80356 ac_has_langinfo_h=no
80361 # Check for existence of libiconv.a providing XPG2 wchar_t support.
80362 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80363 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80364 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80365 echo $ECHO_N "(cached) $ECHO_C" >&6
80366 else
80367 ac_check_lib_save_LIBS=$LIBS
80368 LIBS="-liconv $LIBS"
80369 if test x$gcc_no_link = xyes; then
80370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80372 { (exit 1); exit 1; }; }
80374 cat >conftest.$ac_ext <<_ACEOF
80375 /* confdefs.h. */
80376 _ACEOF
80377 cat confdefs.h >>conftest.$ac_ext
80378 cat >>conftest.$ac_ext <<_ACEOF
80379 /* end confdefs.h. */
80381 /* Override any gcc2 internal prototype to avoid an error. */
80382 #ifdef __cplusplus
80383 extern "C"
80384 #endif
80385 /* We use char because int might match the return type of a gcc2
80386 builtin and then its argument prototype would still apply. */
80387 char iconv ();
80389 main ()
80391 iconv ();
80393 return 0;
80395 _ACEOF
80396 rm -f conftest.$ac_objext conftest$ac_exeext
80397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80398 (eval $ac_link) 2>conftest.er1
80399 ac_status=$?
80400 grep -v '^ *+' conftest.er1 >conftest.err
80401 rm -f conftest.er1
80402 cat conftest.err >&5
80403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80404 (exit $ac_status); } &&
80405 { ac_try='test -z "$ac_c_werror_flag"
80406 || test ! -s conftest.err'
80407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80408 (eval $ac_try) 2>&5
80409 ac_status=$?
80410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80411 (exit $ac_status); }; } &&
80412 { ac_try='test -s conftest$ac_exeext'
80413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80414 (eval $ac_try) 2>&5
80415 ac_status=$?
80416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80417 (exit $ac_status); }; }; then
80418 ac_cv_lib_iconv_iconv=yes
80419 else
80420 echo "$as_me: failed program was:" >&5
80421 sed 's/^/| /' conftest.$ac_ext >&5
80423 ac_cv_lib_iconv_iconv=no
80425 rm -f conftest.err conftest.$ac_objext \
80426 conftest$ac_exeext conftest.$ac_ext
80427 LIBS=$ac_check_lib_save_LIBS
80429 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80430 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80431 if test $ac_cv_lib_iconv_iconv = yes; then
80432 LIBICONV="-liconv"
80435 ac_save_LIBS="$LIBS"
80436 LIBS="$LIBS $LIBICONV"
80443 for ac_func in iconv_open iconv_close iconv nl_langinfo
80445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80446 echo "$as_me:$LINENO: checking for $ac_func" >&5
80447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80448 if eval "test \"\${$as_ac_var+set}\" = set"; then
80449 echo $ECHO_N "(cached) $ECHO_C" >&6
80450 else
80451 if test x$gcc_no_link = xyes; then
80452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80454 { (exit 1); exit 1; }; }
80456 cat >conftest.$ac_ext <<_ACEOF
80457 /* confdefs.h. */
80458 _ACEOF
80459 cat confdefs.h >>conftest.$ac_ext
80460 cat >>conftest.$ac_ext <<_ACEOF
80461 /* end confdefs.h. */
80462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80464 #define $ac_func innocuous_$ac_func
80466 /* System header to define __stub macros and hopefully few prototypes,
80467 which can conflict with char $ac_func (); below.
80468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80469 <limits.h> exists even on freestanding compilers. */
80471 #ifdef __STDC__
80472 # include <limits.h>
80473 #else
80474 # include <assert.h>
80475 #endif
80477 #undef $ac_func
80479 /* Override any gcc2 internal prototype to avoid an error. */
80480 #ifdef __cplusplus
80481 extern "C"
80483 #endif
80484 /* We use char because int might match the return type of a gcc2
80485 builtin and then its argument prototype would still apply. */
80486 char $ac_func ();
80487 /* The GNU C library defines this for functions which it implements
80488 to always fail with ENOSYS. Some functions are actually named
80489 something starting with __ and the normal name is an alias. */
80490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80491 choke me
80492 #else
80493 char (*f) () = $ac_func;
80494 #endif
80495 #ifdef __cplusplus
80497 #endif
80500 main ()
80502 return f != $ac_func;
80504 return 0;
80506 _ACEOF
80507 rm -f conftest.$ac_objext conftest$ac_exeext
80508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80509 (eval $ac_link) 2>conftest.er1
80510 ac_status=$?
80511 grep -v '^ *+' conftest.er1 >conftest.err
80512 rm -f conftest.er1
80513 cat conftest.err >&5
80514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80515 (exit $ac_status); } &&
80516 { ac_try='test -z "$ac_c_werror_flag"
80517 || test ! -s conftest.err'
80518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80519 (eval $ac_try) 2>&5
80520 ac_status=$?
80521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80522 (exit $ac_status); }; } &&
80523 { ac_try='test -s conftest$ac_exeext'
80524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80525 (eval $ac_try) 2>&5
80526 ac_status=$?
80527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80528 (exit $ac_status); }; }; then
80529 eval "$as_ac_var=yes"
80530 else
80531 echo "$as_me: failed program was:" >&5
80532 sed 's/^/| /' conftest.$ac_ext >&5
80534 eval "$as_ac_var=no"
80536 rm -f conftest.err conftest.$ac_objext \
80537 conftest$ac_exeext conftest.$ac_ext
80539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80541 if test `eval echo '${'$as_ac_var'}'` = yes; then
80542 cat >>confdefs.h <<_ACEOF
80543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80544 _ACEOF
80545 ac_XPG2funcs=yes
80546 else
80547 ac_XPG2funcs=no
80549 done
80552 LIBS="$ac_save_LIBS"
80554 if test x"$ac_has_iconv_h" = xyes &&
80555 test x"$ac_has_langinfo_h" = xyes &&
80556 test x"$ac_XPG2funcs" = xyes;
80557 then
80559 cat >>confdefs.h <<\_ACEOF
80560 #define _GLIBCXX_USE_ICONV 1
80561 _ACEOF
80563 enable_iconv=yes
80566 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
80567 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
80568 echo "$as_me:$LINENO: result: $enable_iconv" >&5
80569 echo "${ECHO_T}$enable_iconv" >&6
80572 *-netbsd*)
80585 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
80586 machine/endian.h machine/param.h sys/machine.h sys/types.h \
80587 fp.h locale.h float.h inttypes.h
80589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80591 echo "$as_me:$LINENO: checking for $ac_header" >&5
80592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80594 echo $ECHO_N "(cached) $ECHO_C" >&6
80596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80598 else
80599 # Is the header compilable?
80600 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80601 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80602 cat >conftest.$ac_ext <<_ACEOF
80603 /* confdefs.h. */
80604 _ACEOF
80605 cat confdefs.h >>conftest.$ac_ext
80606 cat >>conftest.$ac_ext <<_ACEOF
80607 /* end confdefs.h. */
80608 $ac_includes_default
80609 #include <$ac_header>
80610 _ACEOF
80611 rm -f conftest.$ac_objext
80612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80613 (eval $ac_compile) 2>conftest.er1
80614 ac_status=$?
80615 grep -v '^ *+' conftest.er1 >conftest.err
80616 rm -f conftest.er1
80617 cat conftest.err >&5
80618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80619 (exit $ac_status); } &&
80620 { ac_try='test -z "$ac_c_werror_flag"
80621 || test ! -s conftest.err'
80622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80623 (eval $ac_try) 2>&5
80624 ac_status=$?
80625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80626 (exit $ac_status); }; } &&
80627 { ac_try='test -s conftest.$ac_objext'
80628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80629 (eval $ac_try) 2>&5
80630 ac_status=$?
80631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80632 (exit $ac_status); }; }; then
80633 ac_header_compiler=yes
80634 else
80635 echo "$as_me: failed program was:" >&5
80636 sed 's/^/| /' conftest.$ac_ext >&5
80638 ac_header_compiler=no
80640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80642 echo "${ECHO_T}$ac_header_compiler" >&6
80644 # Is the header present?
80645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80647 cat >conftest.$ac_ext <<_ACEOF
80648 /* confdefs.h. */
80649 _ACEOF
80650 cat confdefs.h >>conftest.$ac_ext
80651 cat >>conftest.$ac_ext <<_ACEOF
80652 /* end confdefs.h. */
80653 #include <$ac_header>
80654 _ACEOF
80655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80657 ac_status=$?
80658 grep -v '^ *+' conftest.er1 >conftest.err
80659 rm -f conftest.er1
80660 cat conftest.err >&5
80661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80662 (exit $ac_status); } >/dev/null; then
80663 if test -s conftest.err; then
80664 ac_cpp_err=$ac_c_preproc_warn_flag
80665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80666 else
80667 ac_cpp_err=
80669 else
80670 ac_cpp_err=yes
80672 if test -z "$ac_cpp_err"; then
80673 ac_header_preproc=yes
80674 else
80675 echo "$as_me: failed program was:" >&5
80676 sed 's/^/| /' conftest.$ac_ext >&5
80678 ac_header_preproc=no
80680 rm -f conftest.err conftest.$ac_ext
80681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80682 echo "${ECHO_T}$ac_header_preproc" >&6
80684 # So? What about this header?
80685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80686 yes:no: )
80687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80691 ac_header_preproc=yes
80693 no:yes:* )
80694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80707 cat <<\_ASBOX
80708 ## ----------------------------------------- ##
80709 ## Report this to the package-unused lists. ##
80710 ## ----------------------------------------- ##
80711 _ASBOX
80713 sed "s/^/$as_me: WARNING: /" >&2
80715 esac
80716 echo "$as_me:$LINENO: checking for $ac_header" >&5
80717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80719 echo $ECHO_N "(cached) $ECHO_C" >&6
80720 else
80721 eval "$as_ac_Header=\$ac_header_preproc"
80723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80728 cat >>confdefs.h <<_ACEOF
80729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80730 _ACEOF
80734 done
80736 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80739 # If we're not using GNU ld, then there's no point in even trying these
80740 # tests. Check for that first. We should have already tested for gld
80741 # by now (in libtool), but require it now just to be safe...
80742 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80743 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80747 # The name set by libtool depends on the version of libtool. Shame on us
80748 # for depending on an impl detail, but c'est la vie. Older versions used
80749 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80750 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80751 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80752 # set (hence we're using an older libtool), then set it.
80753 if test x${with_gnu_ld+set} != xset; then
80754 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80755 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80756 with_gnu_ld=no
80757 else
80758 with_gnu_ld=$ac_cv_prog_gnu_ld
80762 # Start by getting the version number. I think the libtool test already
80763 # does some of this, but throws away the result.
80765 ldver=`$LD --version 2>/dev/null | head -1 | \
80766 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80768 glibcxx_gnu_ld_version=`echo $ldver | \
80769 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80771 # Set --gc-sections.
80772 if test x"$with_gnu_ld" = x"yes"; then
80773 # GNU ld it is! Joy and bunny rabbits!
80775 # All these tests are for C++; save the language and the compiler flags.
80776 # Need to do this so that g++ won't try to link in libstdc++
80777 ac_test_CFLAGS="${CFLAGS+set}"
80778 ac_save_CFLAGS="$CFLAGS"
80779 CFLAGS='-x c++ -Wl,--gc-sections'
80781 # Check for -Wl,--gc-sections
80782 # Note: It's supposed to work now, so ease off until proven wrong...
80783 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80784 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80785 cat >conftest.$ac_ext <<_ACEOF
80786 /* confdefs.h. */
80787 _ACEOF
80788 cat confdefs.h >>conftest.$ac_ext
80789 cat >>conftest.$ac_ext <<_ACEOF
80790 /* end confdefs.h. */
80792 int main(void)
80794 try { throw 1; }
80795 catch (...) { };
80796 return 0;
80800 main ()
80802 ac_sectionLDflags=yes
80804 return 0;
80806 _ACEOF
80807 rm -f conftest.$ac_objext
80808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80809 (eval $ac_compile) 2>conftest.er1
80810 ac_status=$?
80811 grep -v '^ *+' conftest.er1 >conftest.err
80812 rm -f conftest.er1
80813 cat conftest.err >&5
80814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80815 (exit $ac_status); } &&
80816 { ac_try='test -z "$ac_c_werror_flag"
80817 || test ! -s conftest.err'
80818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80819 (eval $ac_try) 2>&5
80820 ac_status=$?
80821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80822 (exit $ac_status); }; } &&
80823 { ac_try='test -s conftest.$ac_objext'
80824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80825 (eval $ac_try) 2>&5
80826 ac_status=$?
80827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80828 (exit $ac_status); }; }; then
80829 ac_sectionLDflags=no
80830 else
80831 echo "$as_me: failed program was:" >&5
80832 sed 's/^/| /' conftest.$ac_ext >&5
80834 ac_sectionLDflags=yes
80836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80837 if test "$ac_test_CFLAGS" = set; then
80838 CFLAGS="$ac_save_CFLAGS"
80839 else
80840 # this is the suspicious part
80841 CFLAGS=''
80843 if test "$ac_sectionLDflags" = "yes"; then
80844 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80846 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80847 echo "${ECHO_T}$ac_sectionLDflags" >&6
80850 # Set -z,relro.
80851 # Note this is only for shared objects.
80852 ac_ld_relro=no
80853 if test x"$with_gnu_ld" = x"yes"; then
80854 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80855 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80856 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80857 if test -n "$cxx_z_relo"; then
80858 OPT_LDFLAGS="-Wl,-z,relro"
80859 ac_ld_relro=yes
80861 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80862 echo "${ECHO_T}$ac_ld_relro" >&6
80865 # Set linker optimization flags.
80866 if test x"$with_gnu_ld" = x"yes"; then
80867 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80875 echo "$as_me:$LINENO: checking for main in -lm" >&5
80876 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80877 if test "${ac_cv_lib_m_main+set}" = set; then
80878 echo $ECHO_N "(cached) $ECHO_C" >&6
80879 else
80880 ac_check_lib_save_LIBS=$LIBS
80881 LIBS="-lm $LIBS"
80882 if test x$gcc_no_link = xyes; then
80883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80885 { (exit 1); exit 1; }; }
80887 cat >conftest.$ac_ext <<_ACEOF
80888 /* confdefs.h. */
80889 _ACEOF
80890 cat confdefs.h >>conftest.$ac_ext
80891 cat >>conftest.$ac_ext <<_ACEOF
80892 /* end confdefs.h. */
80896 main ()
80898 main ();
80900 return 0;
80902 _ACEOF
80903 rm -f conftest.$ac_objext conftest$ac_exeext
80904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80905 (eval $ac_link) 2>conftest.er1
80906 ac_status=$?
80907 grep -v '^ *+' conftest.er1 >conftest.err
80908 rm -f conftest.er1
80909 cat conftest.err >&5
80910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80911 (exit $ac_status); } &&
80912 { ac_try='test -z "$ac_c_werror_flag"
80913 || test ! -s conftest.err'
80914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80915 (eval $ac_try) 2>&5
80916 ac_status=$?
80917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80918 (exit $ac_status); }; } &&
80919 { ac_try='test -s conftest$ac_exeext'
80920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80921 (eval $ac_try) 2>&5
80922 ac_status=$?
80923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80924 (exit $ac_status); }; }; then
80925 ac_cv_lib_m_main=yes
80926 else
80927 echo "$as_me: failed program was:" >&5
80928 sed 's/^/| /' conftest.$ac_ext >&5
80930 ac_cv_lib_m_main=no
80932 rm -f conftest.err conftest.$ac_objext \
80933 conftest$ac_exeext conftest.$ac_ext
80934 LIBS=$ac_check_lib_save_LIBS
80936 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80937 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80938 if test $ac_cv_lib_m_main = yes; then
80939 cat >>confdefs.h <<_ACEOF
80940 #define HAVE_LIBM 1
80941 _ACEOF
80943 LIBS="-lm $LIBS"
80948 for ac_func in copysignf
80950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80951 echo "$as_me:$LINENO: checking for $ac_func" >&5
80952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80953 if eval "test \"\${$as_ac_var+set}\" = set"; then
80954 echo $ECHO_N "(cached) $ECHO_C" >&6
80955 else
80956 if test x$gcc_no_link = xyes; then
80957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80959 { (exit 1); exit 1; }; }
80961 cat >conftest.$ac_ext <<_ACEOF
80962 /* confdefs.h. */
80963 _ACEOF
80964 cat confdefs.h >>conftest.$ac_ext
80965 cat >>conftest.$ac_ext <<_ACEOF
80966 /* end confdefs.h. */
80967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80969 #define $ac_func innocuous_$ac_func
80971 /* System header to define __stub macros and hopefully few prototypes,
80972 which can conflict with char $ac_func (); below.
80973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80974 <limits.h> exists even on freestanding compilers. */
80976 #ifdef __STDC__
80977 # include <limits.h>
80978 #else
80979 # include <assert.h>
80980 #endif
80982 #undef $ac_func
80984 /* Override any gcc2 internal prototype to avoid an error. */
80985 #ifdef __cplusplus
80986 extern "C"
80988 #endif
80989 /* We use char because int might match the return type of a gcc2
80990 builtin and then its argument prototype would still apply. */
80991 char $ac_func ();
80992 /* The GNU C library defines this for functions which it implements
80993 to always fail with ENOSYS. Some functions are actually named
80994 something starting with __ and the normal name is an alias. */
80995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80996 choke me
80997 #else
80998 char (*f) () = $ac_func;
80999 #endif
81000 #ifdef __cplusplus
81002 #endif
81005 main ()
81007 return f != $ac_func;
81009 return 0;
81011 _ACEOF
81012 rm -f conftest.$ac_objext conftest$ac_exeext
81013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81014 (eval $ac_link) 2>conftest.er1
81015 ac_status=$?
81016 grep -v '^ *+' conftest.er1 >conftest.err
81017 rm -f conftest.er1
81018 cat conftest.err >&5
81019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81020 (exit $ac_status); } &&
81021 { ac_try='test -z "$ac_c_werror_flag"
81022 || test ! -s conftest.err'
81023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81024 (eval $ac_try) 2>&5
81025 ac_status=$?
81026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81027 (exit $ac_status); }; } &&
81028 { ac_try='test -s conftest$ac_exeext'
81029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81030 (eval $ac_try) 2>&5
81031 ac_status=$?
81032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81033 (exit $ac_status); }; }; then
81034 eval "$as_ac_var=yes"
81035 else
81036 echo "$as_me: failed program was:" >&5
81037 sed 's/^/| /' conftest.$ac_ext >&5
81039 eval "$as_ac_var=no"
81041 rm -f conftest.err conftest.$ac_objext \
81042 conftest$ac_exeext conftest.$ac_ext
81044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81046 if test `eval echo '${'$as_ac_var'}'` = yes; then
81047 cat >>confdefs.h <<_ACEOF
81048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81049 _ACEOF
81051 else
81052 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81054 done
81058 for ac_func in __signbit
81060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81061 echo "$as_me:$LINENO: checking for $ac_func" >&5
81062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81063 if eval "test \"\${$as_ac_var+set}\" = set"; then
81064 echo $ECHO_N "(cached) $ECHO_C" >&6
81065 else
81066 if test x$gcc_no_link = xyes; then
81067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81069 { (exit 1); exit 1; }; }
81071 cat >conftest.$ac_ext <<_ACEOF
81072 /* confdefs.h. */
81073 _ACEOF
81074 cat confdefs.h >>conftest.$ac_ext
81075 cat >>conftest.$ac_ext <<_ACEOF
81076 /* end confdefs.h. */
81077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81079 #define $ac_func innocuous_$ac_func
81081 /* System header to define __stub macros and hopefully few prototypes,
81082 which can conflict with char $ac_func (); below.
81083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81084 <limits.h> exists even on freestanding compilers. */
81086 #ifdef __STDC__
81087 # include <limits.h>
81088 #else
81089 # include <assert.h>
81090 #endif
81092 #undef $ac_func
81094 /* Override any gcc2 internal prototype to avoid an error. */
81095 #ifdef __cplusplus
81096 extern "C"
81098 #endif
81099 /* We use char because int might match the return type of a gcc2
81100 builtin and then its argument prototype would still apply. */
81101 char $ac_func ();
81102 /* The GNU C library defines this for functions which it implements
81103 to always fail with ENOSYS. Some functions are actually named
81104 something starting with __ and the normal name is an alias. */
81105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81106 choke me
81107 #else
81108 char (*f) () = $ac_func;
81109 #endif
81110 #ifdef __cplusplus
81112 #endif
81115 main ()
81117 return f != $ac_func;
81119 return 0;
81121 _ACEOF
81122 rm -f conftest.$ac_objext conftest$ac_exeext
81123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81124 (eval $ac_link) 2>conftest.er1
81125 ac_status=$?
81126 grep -v '^ *+' conftest.er1 >conftest.err
81127 rm -f conftest.er1
81128 cat conftest.err >&5
81129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81130 (exit $ac_status); } &&
81131 { ac_try='test -z "$ac_c_werror_flag"
81132 || test ! -s conftest.err'
81133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81134 (eval $ac_try) 2>&5
81135 ac_status=$?
81136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81137 (exit $ac_status); }; } &&
81138 { ac_try='test -s conftest$ac_exeext'
81139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81140 (eval $ac_try) 2>&5
81141 ac_status=$?
81142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81143 (exit $ac_status); }; }; then
81144 eval "$as_ac_var=yes"
81145 else
81146 echo "$as_me: failed program was:" >&5
81147 sed 's/^/| /' conftest.$ac_ext >&5
81149 eval "$as_ac_var=no"
81151 rm -f conftest.err conftest.$ac_objext \
81152 conftest$ac_exeext conftest.$ac_ext
81154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81156 if test `eval echo '${'$as_ac_var'}'` = yes; then
81157 cat >>confdefs.h <<_ACEOF
81158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81159 _ACEOF
81161 else
81162 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81164 done
81168 for ac_func in __signbitf
81170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81171 echo "$as_me:$LINENO: checking for $ac_func" >&5
81172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81173 if eval "test \"\${$as_ac_var+set}\" = set"; then
81174 echo $ECHO_N "(cached) $ECHO_C" >&6
81175 else
81176 if test x$gcc_no_link = xyes; then
81177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81179 { (exit 1); exit 1; }; }
81181 cat >conftest.$ac_ext <<_ACEOF
81182 /* confdefs.h. */
81183 _ACEOF
81184 cat confdefs.h >>conftest.$ac_ext
81185 cat >>conftest.$ac_ext <<_ACEOF
81186 /* end confdefs.h. */
81187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81189 #define $ac_func innocuous_$ac_func
81191 /* System header to define __stub macros and hopefully few prototypes,
81192 which can conflict with char $ac_func (); below.
81193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81194 <limits.h> exists even on freestanding compilers. */
81196 #ifdef __STDC__
81197 # include <limits.h>
81198 #else
81199 # include <assert.h>
81200 #endif
81202 #undef $ac_func
81204 /* Override any gcc2 internal prototype to avoid an error. */
81205 #ifdef __cplusplus
81206 extern "C"
81208 #endif
81209 /* We use char because int might match the return type of a gcc2
81210 builtin and then its argument prototype would still apply. */
81211 char $ac_func ();
81212 /* The GNU C library defines this for functions which it implements
81213 to always fail with ENOSYS. Some functions are actually named
81214 something starting with __ and the normal name is an alias. */
81215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81216 choke me
81217 #else
81218 char (*f) () = $ac_func;
81219 #endif
81220 #ifdef __cplusplus
81222 #endif
81225 main ()
81227 return f != $ac_func;
81229 return 0;
81231 _ACEOF
81232 rm -f conftest.$ac_objext conftest$ac_exeext
81233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81234 (eval $ac_link) 2>conftest.er1
81235 ac_status=$?
81236 grep -v '^ *+' conftest.er1 >conftest.err
81237 rm -f conftest.er1
81238 cat conftest.err >&5
81239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81240 (exit $ac_status); } &&
81241 { ac_try='test -z "$ac_c_werror_flag"
81242 || test ! -s conftest.err'
81243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81244 (eval $ac_try) 2>&5
81245 ac_status=$?
81246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81247 (exit $ac_status); }; } &&
81248 { ac_try='test -s conftest$ac_exeext'
81249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81250 (eval $ac_try) 2>&5
81251 ac_status=$?
81252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81253 (exit $ac_status); }; }; then
81254 eval "$as_ac_var=yes"
81255 else
81256 echo "$as_me: failed program was:" >&5
81257 sed 's/^/| /' conftest.$ac_ext >&5
81259 eval "$as_ac_var=no"
81261 rm -f conftest.err conftest.$ac_objext \
81262 conftest$ac_exeext conftest.$ac_ext
81264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81266 if test `eval echo '${'$as_ac_var'}'` = yes; then
81267 cat >>confdefs.h <<_ACEOF
81268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81269 _ACEOF
81271 else
81272 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81274 done
81277 if test x$ac_cv_func_copysignl = x"yes"; then
81279 for ac_func in __signbitl
81281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81282 echo "$as_me:$LINENO: checking for $ac_func" >&5
81283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81284 if eval "test \"\${$as_ac_var+set}\" = set"; then
81285 echo $ECHO_N "(cached) $ECHO_C" >&6
81286 else
81287 if test x$gcc_no_link = xyes; then
81288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81290 { (exit 1); exit 1; }; }
81292 cat >conftest.$ac_ext <<_ACEOF
81293 /* confdefs.h. */
81294 _ACEOF
81295 cat confdefs.h >>conftest.$ac_ext
81296 cat >>conftest.$ac_ext <<_ACEOF
81297 /* end confdefs.h. */
81298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81300 #define $ac_func innocuous_$ac_func
81302 /* System header to define __stub macros and hopefully few prototypes,
81303 which can conflict with char $ac_func (); below.
81304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81305 <limits.h> exists even on freestanding compilers. */
81307 #ifdef __STDC__
81308 # include <limits.h>
81309 #else
81310 # include <assert.h>
81311 #endif
81313 #undef $ac_func
81315 /* Override any gcc2 internal prototype to avoid an error. */
81316 #ifdef __cplusplus
81317 extern "C"
81319 #endif
81320 /* We use char because int might match the return type of a gcc2
81321 builtin and then its argument prototype would still apply. */
81322 char $ac_func ();
81323 /* The GNU C library defines this for functions which it implements
81324 to always fail with ENOSYS. Some functions are actually named
81325 something starting with __ and the normal name is an alias. */
81326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81327 choke me
81328 #else
81329 char (*f) () = $ac_func;
81330 #endif
81331 #ifdef __cplusplus
81333 #endif
81336 main ()
81338 return f != $ac_func;
81340 return 0;
81342 _ACEOF
81343 rm -f conftest.$ac_objext conftest$ac_exeext
81344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81345 (eval $ac_link) 2>conftest.er1
81346 ac_status=$?
81347 grep -v '^ *+' conftest.er1 >conftest.err
81348 rm -f conftest.er1
81349 cat conftest.err >&5
81350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81351 (exit $ac_status); } &&
81352 { ac_try='test -z "$ac_c_werror_flag"
81353 || test ! -s conftest.err'
81354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81355 (eval $ac_try) 2>&5
81356 ac_status=$?
81357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81358 (exit $ac_status); }; } &&
81359 { ac_try='test -s conftest$ac_exeext'
81360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81361 (eval $ac_try) 2>&5
81362 ac_status=$?
81363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81364 (exit $ac_status); }; }; then
81365 eval "$as_ac_var=yes"
81366 else
81367 echo "$as_me: failed program was:" >&5
81368 sed 's/^/| /' conftest.$ac_ext >&5
81370 eval "$as_ac_var=no"
81372 rm -f conftest.err conftest.$ac_objext \
81373 conftest$ac_exeext conftest.$ac_ext
81375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81377 if test `eval echo '${'$as_ac_var'}'` = yes; then
81378 cat >>confdefs.h <<_ACEOF
81379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81380 _ACEOF
81382 else
81383 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81385 done
81389 # Used in libmath/Makefile.am.
81390 if test -n "$LIBMATHOBJS"; then
81391 need_libmath=yes
81397 enable_iconv=no
81398 # Only continue checking if the ISO C99 headers exist and support is on.
81399 if test x"$enable_wchar_t" = xyes; then
81401 # Use iconv for wchar_t to char conversions. As such, check for
81402 # X/Open Portability Guide, version 2 features (XPG2).
81403 if test "${ac_cv_header_iconv_h+set}" = set; then
81404 echo "$as_me:$LINENO: checking for iconv.h" >&5
81405 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81406 if test "${ac_cv_header_iconv_h+set}" = set; then
81407 echo $ECHO_N "(cached) $ECHO_C" >&6
81409 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81410 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81411 else
81412 # Is the header compilable?
81413 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81414 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81415 cat >conftest.$ac_ext <<_ACEOF
81416 /* confdefs.h. */
81417 _ACEOF
81418 cat confdefs.h >>conftest.$ac_ext
81419 cat >>conftest.$ac_ext <<_ACEOF
81420 /* end confdefs.h. */
81421 $ac_includes_default
81422 #include <iconv.h>
81423 _ACEOF
81424 rm -f conftest.$ac_objext
81425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81426 (eval $ac_compile) 2>conftest.er1
81427 ac_status=$?
81428 grep -v '^ *+' conftest.er1 >conftest.err
81429 rm -f conftest.er1
81430 cat conftest.err >&5
81431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81432 (exit $ac_status); } &&
81433 { ac_try='test -z "$ac_c_werror_flag"
81434 || test ! -s conftest.err'
81435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81436 (eval $ac_try) 2>&5
81437 ac_status=$?
81438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81439 (exit $ac_status); }; } &&
81440 { ac_try='test -s conftest.$ac_objext'
81441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81442 (eval $ac_try) 2>&5
81443 ac_status=$?
81444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81445 (exit $ac_status); }; }; then
81446 ac_header_compiler=yes
81447 else
81448 echo "$as_me: failed program was:" >&5
81449 sed 's/^/| /' conftest.$ac_ext >&5
81451 ac_header_compiler=no
81453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81455 echo "${ECHO_T}$ac_header_compiler" >&6
81457 # Is the header present?
81458 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81459 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81460 cat >conftest.$ac_ext <<_ACEOF
81461 /* confdefs.h. */
81462 _ACEOF
81463 cat confdefs.h >>conftest.$ac_ext
81464 cat >>conftest.$ac_ext <<_ACEOF
81465 /* end confdefs.h. */
81466 #include <iconv.h>
81467 _ACEOF
81468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81470 ac_status=$?
81471 grep -v '^ *+' conftest.er1 >conftest.err
81472 rm -f conftest.er1
81473 cat conftest.err >&5
81474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81475 (exit $ac_status); } >/dev/null; then
81476 if test -s conftest.err; then
81477 ac_cpp_err=$ac_c_preproc_warn_flag
81478 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81479 else
81480 ac_cpp_err=
81482 else
81483 ac_cpp_err=yes
81485 if test -z "$ac_cpp_err"; then
81486 ac_header_preproc=yes
81487 else
81488 echo "$as_me: failed program was:" >&5
81489 sed 's/^/| /' conftest.$ac_ext >&5
81491 ac_header_preproc=no
81493 rm -f conftest.err conftest.$ac_ext
81494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81495 echo "${ECHO_T}$ac_header_preproc" >&6
81497 # So? What about this header?
81498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81499 yes:no: )
81500 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81501 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81502 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81503 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81504 ac_header_preproc=yes
81506 no:yes:* )
81507 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81508 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81509 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81510 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81511 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81512 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81513 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81514 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81515 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81516 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81517 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81518 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81520 cat <<\_ASBOX
81521 ## ----------------------------------------- ##
81522 ## Report this to the package-unused lists. ##
81523 ## ----------------------------------------- ##
81524 _ASBOX
81526 sed "s/^/$as_me: WARNING: /" >&2
81528 esac
81529 echo "$as_me:$LINENO: checking for iconv.h" >&5
81530 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81531 if test "${ac_cv_header_iconv_h+set}" = set; then
81532 echo $ECHO_N "(cached) $ECHO_C" >&6
81533 else
81534 ac_cv_header_iconv_h=$ac_header_preproc
81536 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81537 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81540 if test $ac_cv_header_iconv_h = yes; then
81541 ac_has_iconv_h=yes
81542 else
81543 ac_has_iconv_h=no
81547 if test "${ac_cv_header_langinfo_h+set}" = set; then
81548 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81549 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81550 if test "${ac_cv_header_langinfo_h+set}" = set; then
81551 echo $ECHO_N "(cached) $ECHO_C" >&6
81553 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81554 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81555 else
81556 # Is the header compilable?
81557 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81558 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81559 cat >conftest.$ac_ext <<_ACEOF
81560 /* confdefs.h. */
81561 _ACEOF
81562 cat confdefs.h >>conftest.$ac_ext
81563 cat >>conftest.$ac_ext <<_ACEOF
81564 /* end confdefs.h. */
81565 $ac_includes_default
81566 #include <langinfo.h>
81567 _ACEOF
81568 rm -f conftest.$ac_objext
81569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81570 (eval $ac_compile) 2>conftest.er1
81571 ac_status=$?
81572 grep -v '^ *+' conftest.er1 >conftest.err
81573 rm -f conftest.er1
81574 cat conftest.err >&5
81575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81576 (exit $ac_status); } &&
81577 { ac_try='test -z "$ac_c_werror_flag"
81578 || test ! -s conftest.err'
81579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81580 (eval $ac_try) 2>&5
81581 ac_status=$?
81582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81583 (exit $ac_status); }; } &&
81584 { ac_try='test -s conftest.$ac_objext'
81585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81586 (eval $ac_try) 2>&5
81587 ac_status=$?
81588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81589 (exit $ac_status); }; }; then
81590 ac_header_compiler=yes
81591 else
81592 echo "$as_me: failed program was:" >&5
81593 sed 's/^/| /' conftest.$ac_ext >&5
81595 ac_header_compiler=no
81597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81598 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81599 echo "${ECHO_T}$ac_header_compiler" >&6
81601 # Is the header present?
81602 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81603 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81604 cat >conftest.$ac_ext <<_ACEOF
81605 /* confdefs.h. */
81606 _ACEOF
81607 cat confdefs.h >>conftest.$ac_ext
81608 cat >>conftest.$ac_ext <<_ACEOF
81609 /* end confdefs.h. */
81610 #include <langinfo.h>
81611 _ACEOF
81612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81613 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81614 ac_status=$?
81615 grep -v '^ *+' conftest.er1 >conftest.err
81616 rm -f conftest.er1
81617 cat conftest.err >&5
81618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81619 (exit $ac_status); } >/dev/null; then
81620 if test -s conftest.err; then
81621 ac_cpp_err=$ac_c_preproc_warn_flag
81622 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81623 else
81624 ac_cpp_err=
81626 else
81627 ac_cpp_err=yes
81629 if test -z "$ac_cpp_err"; then
81630 ac_header_preproc=yes
81631 else
81632 echo "$as_me: failed program was:" >&5
81633 sed 's/^/| /' conftest.$ac_ext >&5
81635 ac_header_preproc=no
81637 rm -f conftest.err conftest.$ac_ext
81638 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81639 echo "${ECHO_T}$ac_header_preproc" >&6
81641 # So? What about this header?
81642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81643 yes:no: )
81644 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81645 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81646 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81647 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81648 ac_header_preproc=yes
81650 no:yes:* )
81651 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81652 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81653 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81654 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81655 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81656 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81657 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81658 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81659 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81660 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81661 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81662 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81664 cat <<\_ASBOX
81665 ## ----------------------------------------- ##
81666 ## Report this to the package-unused lists. ##
81667 ## ----------------------------------------- ##
81668 _ASBOX
81670 sed "s/^/$as_me: WARNING: /" >&2
81672 esac
81673 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81674 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81675 if test "${ac_cv_header_langinfo_h+set}" = set; then
81676 echo $ECHO_N "(cached) $ECHO_C" >&6
81677 else
81678 ac_cv_header_langinfo_h=$ac_header_preproc
81680 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81681 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81684 if test $ac_cv_header_langinfo_h = yes; then
81685 ac_has_langinfo_h=yes
81686 else
81687 ac_has_langinfo_h=no
81692 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81693 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81694 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81695 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81696 echo $ECHO_N "(cached) $ECHO_C" >&6
81697 else
81698 ac_check_lib_save_LIBS=$LIBS
81699 LIBS="-liconv $LIBS"
81700 if test x$gcc_no_link = xyes; then
81701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81703 { (exit 1); exit 1; }; }
81705 cat >conftest.$ac_ext <<_ACEOF
81706 /* confdefs.h. */
81707 _ACEOF
81708 cat confdefs.h >>conftest.$ac_ext
81709 cat >>conftest.$ac_ext <<_ACEOF
81710 /* end confdefs.h. */
81712 /* Override any gcc2 internal prototype to avoid an error. */
81713 #ifdef __cplusplus
81714 extern "C"
81715 #endif
81716 /* We use char because int might match the return type of a gcc2
81717 builtin and then its argument prototype would still apply. */
81718 char iconv ();
81720 main ()
81722 iconv ();
81724 return 0;
81726 _ACEOF
81727 rm -f conftest.$ac_objext conftest$ac_exeext
81728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81729 (eval $ac_link) 2>conftest.er1
81730 ac_status=$?
81731 grep -v '^ *+' conftest.er1 >conftest.err
81732 rm -f conftest.er1
81733 cat conftest.err >&5
81734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81735 (exit $ac_status); } &&
81736 { ac_try='test -z "$ac_c_werror_flag"
81737 || test ! -s conftest.err'
81738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81739 (eval $ac_try) 2>&5
81740 ac_status=$?
81741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81742 (exit $ac_status); }; } &&
81743 { ac_try='test -s conftest$ac_exeext'
81744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81745 (eval $ac_try) 2>&5
81746 ac_status=$?
81747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81748 (exit $ac_status); }; }; then
81749 ac_cv_lib_iconv_iconv=yes
81750 else
81751 echo "$as_me: failed program was:" >&5
81752 sed 's/^/| /' conftest.$ac_ext >&5
81754 ac_cv_lib_iconv_iconv=no
81756 rm -f conftest.err conftest.$ac_objext \
81757 conftest$ac_exeext conftest.$ac_ext
81758 LIBS=$ac_check_lib_save_LIBS
81760 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81761 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81762 if test $ac_cv_lib_iconv_iconv = yes; then
81763 LIBICONV="-liconv"
81766 ac_save_LIBS="$LIBS"
81767 LIBS="$LIBS $LIBICONV"
81774 for ac_func in iconv_open iconv_close iconv nl_langinfo
81776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81777 echo "$as_me:$LINENO: checking for $ac_func" >&5
81778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81779 if eval "test \"\${$as_ac_var+set}\" = set"; then
81780 echo $ECHO_N "(cached) $ECHO_C" >&6
81781 else
81782 if test x$gcc_no_link = xyes; then
81783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81785 { (exit 1); exit 1; }; }
81787 cat >conftest.$ac_ext <<_ACEOF
81788 /* confdefs.h. */
81789 _ACEOF
81790 cat confdefs.h >>conftest.$ac_ext
81791 cat >>conftest.$ac_ext <<_ACEOF
81792 /* end confdefs.h. */
81793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81795 #define $ac_func innocuous_$ac_func
81797 /* System header to define __stub macros and hopefully few prototypes,
81798 which can conflict with char $ac_func (); below.
81799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81800 <limits.h> exists even on freestanding compilers. */
81802 #ifdef __STDC__
81803 # include <limits.h>
81804 #else
81805 # include <assert.h>
81806 #endif
81808 #undef $ac_func
81810 /* Override any gcc2 internal prototype to avoid an error. */
81811 #ifdef __cplusplus
81812 extern "C"
81814 #endif
81815 /* We use char because int might match the return type of a gcc2
81816 builtin and then its argument prototype would still apply. */
81817 char $ac_func ();
81818 /* The GNU C library defines this for functions which it implements
81819 to always fail with ENOSYS. Some functions are actually named
81820 something starting with __ and the normal name is an alias. */
81821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81822 choke me
81823 #else
81824 char (*f) () = $ac_func;
81825 #endif
81826 #ifdef __cplusplus
81828 #endif
81831 main ()
81833 return f != $ac_func;
81835 return 0;
81837 _ACEOF
81838 rm -f conftest.$ac_objext conftest$ac_exeext
81839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81840 (eval $ac_link) 2>conftest.er1
81841 ac_status=$?
81842 grep -v '^ *+' conftest.er1 >conftest.err
81843 rm -f conftest.er1
81844 cat conftest.err >&5
81845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81846 (exit $ac_status); } &&
81847 { ac_try='test -z "$ac_c_werror_flag"
81848 || test ! -s conftest.err'
81849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81850 (eval $ac_try) 2>&5
81851 ac_status=$?
81852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81853 (exit $ac_status); }; } &&
81854 { ac_try='test -s conftest$ac_exeext'
81855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81856 (eval $ac_try) 2>&5
81857 ac_status=$?
81858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81859 (exit $ac_status); }; }; then
81860 eval "$as_ac_var=yes"
81861 else
81862 echo "$as_me: failed program was:" >&5
81863 sed 's/^/| /' conftest.$ac_ext >&5
81865 eval "$as_ac_var=no"
81867 rm -f conftest.err conftest.$ac_objext \
81868 conftest$ac_exeext conftest.$ac_ext
81870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81872 if test `eval echo '${'$as_ac_var'}'` = yes; then
81873 cat >>confdefs.h <<_ACEOF
81874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81875 _ACEOF
81876 ac_XPG2funcs=yes
81877 else
81878 ac_XPG2funcs=no
81880 done
81883 LIBS="$ac_save_LIBS"
81885 if test x"$ac_has_iconv_h" = xyes &&
81886 test x"$ac_has_langinfo_h" = xyes &&
81887 test x"$ac_XPG2funcs" = xyes;
81888 then
81890 cat >>confdefs.h <<\_ACEOF
81891 #define _GLIBCXX_USE_ICONV 1
81892 _ACEOF
81894 enable_iconv=yes
81897 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81898 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81899 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81900 echo "${ECHO_T}$enable_iconv" >&6
81902 cat >>confdefs.h <<\_ACEOF
81903 #define HAVE_COPYSIGN 1
81904 _ACEOF
81906 cat >>confdefs.h <<\_ACEOF
81907 #define HAVE_COPYSIGNF 1
81908 _ACEOF
81910 cat >>confdefs.h <<\_ACEOF
81911 #define HAVE_FINITEF 1
81912 _ACEOF
81914 cat >>confdefs.h <<\_ACEOF
81915 #define HAVE_FINITE 1
81916 _ACEOF
81918 cat >>confdefs.h <<\_ACEOF
81919 #define HAVE_FREXPF 1
81920 _ACEOF
81922 cat >>confdefs.h <<\_ACEOF
81923 #define HAVE_HYPOTF 1
81924 _ACEOF
81926 cat >>confdefs.h <<\_ACEOF
81927 #define HAVE_ISINF 1
81928 _ACEOF
81930 cat >>confdefs.h <<\_ACEOF
81931 #define HAVE_ISINFF 1
81932 _ACEOF
81934 cat >>confdefs.h <<\_ACEOF
81935 #define HAVE_ISNAN 1
81936 _ACEOF
81938 cat >>confdefs.h <<\_ACEOF
81939 #define HAVE_ISNANF 1
81940 _ACEOF
81942 if test x"long_double_math_on_this_cpu" = x"yes"; then
81943 cat >>confdefs.h <<\_ACEOF
81944 #define HAVE_FINITEL 1
81945 _ACEOF
81947 cat >>confdefs.h <<\_ACEOF
81948 #define HAVE_ISINFL 1
81949 _ACEOF
81951 cat >>confdefs.h <<\_ACEOF
81952 #define HAVE_ISNANL 1
81953 _ACEOF
81957 *-netware)
81966 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81967 sys/types.h locale.h float.h inttypes.h
81969 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81971 echo "$as_me:$LINENO: checking for $ac_header" >&5
81972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81974 echo $ECHO_N "(cached) $ECHO_C" >&6
81976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81978 else
81979 # Is the header compilable?
81980 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81982 cat >conftest.$ac_ext <<_ACEOF
81983 /* confdefs.h. */
81984 _ACEOF
81985 cat confdefs.h >>conftest.$ac_ext
81986 cat >>conftest.$ac_ext <<_ACEOF
81987 /* end confdefs.h. */
81988 $ac_includes_default
81989 #include <$ac_header>
81990 _ACEOF
81991 rm -f conftest.$ac_objext
81992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81993 (eval $ac_compile) 2>conftest.er1
81994 ac_status=$?
81995 grep -v '^ *+' conftest.er1 >conftest.err
81996 rm -f conftest.er1
81997 cat conftest.err >&5
81998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81999 (exit $ac_status); } &&
82000 { ac_try='test -z "$ac_c_werror_flag"
82001 || test ! -s conftest.err'
82002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82003 (eval $ac_try) 2>&5
82004 ac_status=$?
82005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82006 (exit $ac_status); }; } &&
82007 { ac_try='test -s conftest.$ac_objext'
82008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82009 (eval $ac_try) 2>&5
82010 ac_status=$?
82011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82012 (exit $ac_status); }; }; then
82013 ac_header_compiler=yes
82014 else
82015 echo "$as_me: failed program was:" >&5
82016 sed 's/^/| /' conftest.$ac_ext >&5
82018 ac_header_compiler=no
82020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82022 echo "${ECHO_T}$ac_header_compiler" >&6
82024 # Is the header present?
82025 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82027 cat >conftest.$ac_ext <<_ACEOF
82028 /* confdefs.h. */
82029 _ACEOF
82030 cat confdefs.h >>conftest.$ac_ext
82031 cat >>conftest.$ac_ext <<_ACEOF
82032 /* end confdefs.h. */
82033 #include <$ac_header>
82034 _ACEOF
82035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82036 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82037 ac_status=$?
82038 grep -v '^ *+' conftest.er1 >conftest.err
82039 rm -f conftest.er1
82040 cat conftest.err >&5
82041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82042 (exit $ac_status); } >/dev/null; then
82043 if test -s conftest.err; then
82044 ac_cpp_err=$ac_c_preproc_warn_flag
82045 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82046 else
82047 ac_cpp_err=
82049 else
82050 ac_cpp_err=yes
82052 if test -z "$ac_cpp_err"; then
82053 ac_header_preproc=yes
82054 else
82055 echo "$as_me: failed program was:" >&5
82056 sed 's/^/| /' conftest.$ac_ext >&5
82058 ac_header_preproc=no
82060 rm -f conftest.err conftest.$ac_ext
82061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82062 echo "${ECHO_T}$ac_header_preproc" >&6
82064 # So? What about this header?
82065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82066 yes:no: )
82067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82071 ac_header_preproc=yes
82073 no:yes:* )
82074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82087 cat <<\_ASBOX
82088 ## ----------------------------------------- ##
82089 ## Report this to the package-unused lists. ##
82090 ## ----------------------------------------- ##
82091 _ASBOX
82093 sed "s/^/$as_me: WARNING: /" >&2
82095 esac
82096 echo "$as_me:$LINENO: checking for $ac_header" >&5
82097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82099 echo $ECHO_N "(cached) $ECHO_C" >&6
82100 else
82101 eval "$as_ac_Header=\$ac_header_preproc"
82103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82108 cat >>confdefs.h <<_ACEOF
82109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82110 _ACEOF
82114 done
82116 SECTION_FLAGS='-ffunction-sections -fdata-sections'
82119 # If we're not using GNU ld, then there's no point in even trying these
82120 # tests. Check for that first. We should have already tested for gld
82121 # by now (in libtool), but require it now just to be safe...
82122 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82123 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82127 # The name set by libtool depends on the version of libtool. Shame on us
82128 # for depending on an impl detail, but c'est la vie. Older versions used
82129 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82130 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82131 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82132 # set (hence we're using an older libtool), then set it.
82133 if test x${with_gnu_ld+set} != xset; then
82134 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82135 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82136 with_gnu_ld=no
82137 else
82138 with_gnu_ld=$ac_cv_prog_gnu_ld
82142 # Start by getting the version number. I think the libtool test already
82143 # does some of this, but throws away the result.
82145 ldver=`$LD --version 2>/dev/null | head -1 | \
82146 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82148 glibcxx_gnu_ld_version=`echo $ldver | \
82149 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82151 # Set --gc-sections.
82152 if test x"$with_gnu_ld" = x"yes"; then
82153 # GNU ld it is! Joy and bunny rabbits!
82155 # All these tests are for C++; save the language and the compiler flags.
82156 # Need to do this so that g++ won't try to link in libstdc++
82157 ac_test_CFLAGS="${CFLAGS+set}"
82158 ac_save_CFLAGS="$CFLAGS"
82159 CFLAGS='-x c++ -Wl,--gc-sections'
82161 # Check for -Wl,--gc-sections
82162 # Note: It's supposed to work now, so ease off until proven wrong...
82163 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82164 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82165 cat >conftest.$ac_ext <<_ACEOF
82166 /* confdefs.h. */
82167 _ACEOF
82168 cat confdefs.h >>conftest.$ac_ext
82169 cat >>conftest.$ac_ext <<_ACEOF
82170 /* end confdefs.h. */
82172 int main(void)
82174 try { throw 1; }
82175 catch (...) { };
82176 return 0;
82180 main ()
82182 ac_sectionLDflags=yes
82184 return 0;
82186 _ACEOF
82187 rm -f conftest.$ac_objext
82188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82189 (eval $ac_compile) 2>conftest.er1
82190 ac_status=$?
82191 grep -v '^ *+' conftest.er1 >conftest.err
82192 rm -f conftest.er1
82193 cat conftest.err >&5
82194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82195 (exit $ac_status); } &&
82196 { ac_try='test -z "$ac_c_werror_flag"
82197 || test ! -s conftest.err'
82198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82199 (eval $ac_try) 2>&5
82200 ac_status=$?
82201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82202 (exit $ac_status); }; } &&
82203 { ac_try='test -s conftest.$ac_objext'
82204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82205 (eval $ac_try) 2>&5
82206 ac_status=$?
82207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82208 (exit $ac_status); }; }; then
82209 ac_sectionLDflags=no
82210 else
82211 echo "$as_me: failed program was:" >&5
82212 sed 's/^/| /' conftest.$ac_ext >&5
82214 ac_sectionLDflags=yes
82216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82217 if test "$ac_test_CFLAGS" = set; then
82218 CFLAGS="$ac_save_CFLAGS"
82219 else
82220 # this is the suspicious part
82221 CFLAGS=''
82223 if test "$ac_sectionLDflags" = "yes"; then
82224 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82226 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82227 echo "${ECHO_T}$ac_sectionLDflags" >&6
82230 # Set -z,relro.
82231 # Note this is only for shared objects.
82232 ac_ld_relro=no
82233 if test x"$with_gnu_ld" = x"yes"; then
82234 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
82235 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
82236 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
82237 if test -n "$cxx_z_relo"; then
82238 OPT_LDFLAGS="-Wl,-z,relro"
82239 ac_ld_relro=yes
82241 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
82242 echo "${ECHO_T}$ac_ld_relro" >&6
82245 # Set linker optimization flags.
82246 if test x"$with_gnu_ld" = x"yes"; then
82247 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82255 echo "$as_me:$LINENO: checking for main in -lm" >&5
82256 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82257 if test "${ac_cv_lib_m_main+set}" = set; then
82258 echo $ECHO_N "(cached) $ECHO_C" >&6
82259 else
82260 ac_check_lib_save_LIBS=$LIBS
82261 LIBS="-lm $LIBS"
82262 if test x$gcc_no_link = xyes; then
82263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82265 { (exit 1); exit 1; }; }
82267 cat >conftest.$ac_ext <<_ACEOF
82268 /* confdefs.h. */
82269 _ACEOF
82270 cat confdefs.h >>conftest.$ac_ext
82271 cat >>conftest.$ac_ext <<_ACEOF
82272 /* end confdefs.h. */
82276 main ()
82278 main ();
82280 return 0;
82282 _ACEOF
82283 rm -f conftest.$ac_objext conftest$ac_exeext
82284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82285 (eval $ac_link) 2>conftest.er1
82286 ac_status=$?
82287 grep -v '^ *+' conftest.er1 >conftest.err
82288 rm -f conftest.er1
82289 cat conftest.err >&5
82290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82291 (exit $ac_status); } &&
82292 { ac_try='test -z "$ac_c_werror_flag"
82293 || test ! -s conftest.err'
82294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82295 (eval $ac_try) 2>&5
82296 ac_status=$?
82297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82298 (exit $ac_status); }; } &&
82299 { ac_try='test -s conftest$ac_exeext'
82300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82301 (eval $ac_try) 2>&5
82302 ac_status=$?
82303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82304 (exit $ac_status); }; }; then
82305 ac_cv_lib_m_main=yes
82306 else
82307 echo "$as_me: failed program was:" >&5
82308 sed 's/^/| /' conftest.$ac_ext >&5
82310 ac_cv_lib_m_main=no
82312 rm -f conftest.err conftest.$ac_objext \
82313 conftest$ac_exeext conftest.$ac_ext
82314 LIBS=$ac_check_lib_save_LIBS
82316 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82317 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82318 if test $ac_cv_lib_m_main = yes; then
82319 cat >>confdefs.h <<_ACEOF
82320 #define HAVE_LIBM 1
82321 _ACEOF
82323 LIBS="-lm $LIBS"
82328 for ac_func in copysignf
82330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82331 echo "$as_me:$LINENO: checking for $ac_func" >&5
82332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82333 if eval "test \"\${$as_ac_var+set}\" = set"; then
82334 echo $ECHO_N "(cached) $ECHO_C" >&6
82335 else
82336 if test x$gcc_no_link = xyes; then
82337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82339 { (exit 1); exit 1; }; }
82341 cat >conftest.$ac_ext <<_ACEOF
82342 /* confdefs.h. */
82343 _ACEOF
82344 cat confdefs.h >>conftest.$ac_ext
82345 cat >>conftest.$ac_ext <<_ACEOF
82346 /* end confdefs.h. */
82347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82349 #define $ac_func innocuous_$ac_func
82351 /* System header to define __stub macros and hopefully few prototypes,
82352 which can conflict with char $ac_func (); below.
82353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82354 <limits.h> exists even on freestanding compilers. */
82356 #ifdef __STDC__
82357 # include <limits.h>
82358 #else
82359 # include <assert.h>
82360 #endif
82362 #undef $ac_func
82364 /* Override any gcc2 internal prototype to avoid an error. */
82365 #ifdef __cplusplus
82366 extern "C"
82368 #endif
82369 /* We use char because int might match the return type of a gcc2
82370 builtin and then its argument prototype would still apply. */
82371 char $ac_func ();
82372 /* The GNU C library defines this for functions which it implements
82373 to always fail with ENOSYS. Some functions are actually named
82374 something starting with __ and the normal name is an alias. */
82375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82376 choke me
82377 #else
82378 char (*f) () = $ac_func;
82379 #endif
82380 #ifdef __cplusplus
82382 #endif
82385 main ()
82387 return f != $ac_func;
82389 return 0;
82391 _ACEOF
82392 rm -f conftest.$ac_objext conftest$ac_exeext
82393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82394 (eval $ac_link) 2>conftest.er1
82395 ac_status=$?
82396 grep -v '^ *+' conftest.er1 >conftest.err
82397 rm -f conftest.er1
82398 cat conftest.err >&5
82399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82400 (exit $ac_status); } &&
82401 { ac_try='test -z "$ac_c_werror_flag"
82402 || test ! -s conftest.err'
82403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82404 (eval $ac_try) 2>&5
82405 ac_status=$?
82406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82407 (exit $ac_status); }; } &&
82408 { ac_try='test -s conftest$ac_exeext'
82409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82410 (eval $ac_try) 2>&5
82411 ac_status=$?
82412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82413 (exit $ac_status); }; }; then
82414 eval "$as_ac_var=yes"
82415 else
82416 echo "$as_me: failed program was:" >&5
82417 sed 's/^/| /' conftest.$ac_ext >&5
82419 eval "$as_ac_var=no"
82421 rm -f conftest.err conftest.$ac_objext \
82422 conftest$ac_exeext conftest.$ac_ext
82424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82426 if test `eval echo '${'$as_ac_var'}'` = yes; then
82427 cat >>confdefs.h <<_ACEOF
82428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82429 _ACEOF
82431 else
82432 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82434 done
82438 for ac_func in __signbit
82440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82441 echo "$as_me:$LINENO: checking for $ac_func" >&5
82442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82443 if eval "test \"\${$as_ac_var+set}\" = set"; then
82444 echo $ECHO_N "(cached) $ECHO_C" >&6
82445 else
82446 if test x$gcc_no_link = xyes; then
82447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82449 { (exit 1); exit 1; }; }
82451 cat >conftest.$ac_ext <<_ACEOF
82452 /* confdefs.h. */
82453 _ACEOF
82454 cat confdefs.h >>conftest.$ac_ext
82455 cat >>conftest.$ac_ext <<_ACEOF
82456 /* end confdefs.h. */
82457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82459 #define $ac_func innocuous_$ac_func
82461 /* System header to define __stub macros and hopefully few prototypes,
82462 which can conflict with char $ac_func (); below.
82463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82464 <limits.h> exists even on freestanding compilers. */
82466 #ifdef __STDC__
82467 # include <limits.h>
82468 #else
82469 # include <assert.h>
82470 #endif
82472 #undef $ac_func
82474 /* Override any gcc2 internal prototype to avoid an error. */
82475 #ifdef __cplusplus
82476 extern "C"
82478 #endif
82479 /* We use char because int might match the return type of a gcc2
82480 builtin and then its argument prototype would still apply. */
82481 char $ac_func ();
82482 /* The GNU C library defines this for functions which it implements
82483 to always fail with ENOSYS. Some functions are actually named
82484 something starting with __ and the normal name is an alias. */
82485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82486 choke me
82487 #else
82488 char (*f) () = $ac_func;
82489 #endif
82490 #ifdef __cplusplus
82492 #endif
82495 main ()
82497 return f != $ac_func;
82499 return 0;
82501 _ACEOF
82502 rm -f conftest.$ac_objext conftest$ac_exeext
82503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82504 (eval $ac_link) 2>conftest.er1
82505 ac_status=$?
82506 grep -v '^ *+' conftest.er1 >conftest.err
82507 rm -f conftest.er1
82508 cat conftest.err >&5
82509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82510 (exit $ac_status); } &&
82511 { ac_try='test -z "$ac_c_werror_flag"
82512 || test ! -s conftest.err'
82513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82514 (eval $ac_try) 2>&5
82515 ac_status=$?
82516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82517 (exit $ac_status); }; } &&
82518 { ac_try='test -s conftest$ac_exeext'
82519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82520 (eval $ac_try) 2>&5
82521 ac_status=$?
82522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82523 (exit $ac_status); }; }; then
82524 eval "$as_ac_var=yes"
82525 else
82526 echo "$as_me: failed program was:" >&5
82527 sed 's/^/| /' conftest.$ac_ext >&5
82529 eval "$as_ac_var=no"
82531 rm -f conftest.err conftest.$ac_objext \
82532 conftest$ac_exeext conftest.$ac_ext
82534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82536 if test `eval echo '${'$as_ac_var'}'` = yes; then
82537 cat >>confdefs.h <<_ACEOF
82538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82539 _ACEOF
82541 else
82542 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82544 done
82548 for ac_func in __signbitf
82550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82551 echo "$as_me:$LINENO: checking for $ac_func" >&5
82552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82553 if eval "test \"\${$as_ac_var+set}\" = set"; then
82554 echo $ECHO_N "(cached) $ECHO_C" >&6
82555 else
82556 if test x$gcc_no_link = xyes; then
82557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82559 { (exit 1); exit 1; }; }
82561 cat >conftest.$ac_ext <<_ACEOF
82562 /* confdefs.h. */
82563 _ACEOF
82564 cat confdefs.h >>conftest.$ac_ext
82565 cat >>conftest.$ac_ext <<_ACEOF
82566 /* end confdefs.h. */
82567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82569 #define $ac_func innocuous_$ac_func
82571 /* System header to define __stub macros and hopefully few prototypes,
82572 which can conflict with char $ac_func (); below.
82573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82574 <limits.h> exists even on freestanding compilers. */
82576 #ifdef __STDC__
82577 # include <limits.h>
82578 #else
82579 # include <assert.h>
82580 #endif
82582 #undef $ac_func
82584 /* Override any gcc2 internal prototype to avoid an error. */
82585 #ifdef __cplusplus
82586 extern "C"
82588 #endif
82589 /* We use char because int might match the return type of a gcc2
82590 builtin and then its argument prototype would still apply. */
82591 char $ac_func ();
82592 /* The GNU C library defines this for functions which it implements
82593 to always fail with ENOSYS. Some functions are actually named
82594 something starting with __ and the normal name is an alias. */
82595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82596 choke me
82597 #else
82598 char (*f) () = $ac_func;
82599 #endif
82600 #ifdef __cplusplus
82602 #endif
82605 main ()
82607 return f != $ac_func;
82609 return 0;
82611 _ACEOF
82612 rm -f conftest.$ac_objext conftest$ac_exeext
82613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82614 (eval $ac_link) 2>conftest.er1
82615 ac_status=$?
82616 grep -v '^ *+' conftest.er1 >conftest.err
82617 rm -f conftest.er1
82618 cat conftest.err >&5
82619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82620 (exit $ac_status); } &&
82621 { ac_try='test -z "$ac_c_werror_flag"
82622 || test ! -s conftest.err'
82623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82624 (eval $ac_try) 2>&5
82625 ac_status=$?
82626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82627 (exit $ac_status); }; } &&
82628 { ac_try='test -s conftest$ac_exeext'
82629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82630 (eval $ac_try) 2>&5
82631 ac_status=$?
82632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82633 (exit $ac_status); }; }; then
82634 eval "$as_ac_var=yes"
82635 else
82636 echo "$as_me: failed program was:" >&5
82637 sed 's/^/| /' conftest.$ac_ext >&5
82639 eval "$as_ac_var=no"
82641 rm -f conftest.err conftest.$ac_objext \
82642 conftest$ac_exeext conftest.$ac_ext
82644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82646 if test `eval echo '${'$as_ac_var'}'` = yes; then
82647 cat >>confdefs.h <<_ACEOF
82648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82649 _ACEOF
82651 else
82652 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82654 done
82657 if test x$ac_cv_func_copysignl = x"yes"; then
82659 for ac_func in __signbitl
82661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82662 echo "$as_me:$LINENO: checking for $ac_func" >&5
82663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82664 if eval "test \"\${$as_ac_var+set}\" = set"; then
82665 echo $ECHO_N "(cached) $ECHO_C" >&6
82666 else
82667 if test x$gcc_no_link = xyes; then
82668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82670 { (exit 1); exit 1; }; }
82672 cat >conftest.$ac_ext <<_ACEOF
82673 /* confdefs.h. */
82674 _ACEOF
82675 cat confdefs.h >>conftest.$ac_ext
82676 cat >>conftest.$ac_ext <<_ACEOF
82677 /* end confdefs.h. */
82678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82680 #define $ac_func innocuous_$ac_func
82682 /* System header to define __stub macros and hopefully few prototypes,
82683 which can conflict with char $ac_func (); below.
82684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82685 <limits.h> exists even on freestanding compilers. */
82687 #ifdef __STDC__
82688 # include <limits.h>
82689 #else
82690 # include <assert.h>
82691 #endif
82693 #undef $ac_func
82695 /* Override any gcc2 internal prototype to avoid an error. */
82696 #ifdef __cplusplus
82697 extern "C"
82699 #endif
82700 /* We use char because int might match the return type of a gcc2
82701 builtin and then its argument prototype would still apply. */
82702 char $ac_func ();
82703 /* The GNU C library defines this for functions which it implements
82704 to always fail with ENOSYS. Some functions are actually named
82705 something starting with __ and the normal name is an alias. */
82706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82707 choke me
82708 #else
82709 char (*f) () = $ac_func;
82710 #endif
82711 #ifdef __cplusplus
82713 #endif
82716 main ()
82718 return f != $ac_func;
82720 return 0;
82722 _ACEOF
82723 rm -f conftest.$ac_objext conftest$ac_exeext
82724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82725 (eval $ac_link) 2>conftest.er1
82726 ac_status=$?
82727 grep -v '^ *+' conftest.er1 >conftest.err
82728 rm -f conftest.er1
82729 cat conftest.err >&5
82730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82731 (exit $ac_status); } &&
82732 { ac_try='test -z "$ac_c_werror_flag"
82733 || test ! -s conftest.err'
82734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82735 (eval $ac_try) 2>&5
82736 ac_status=$?
82737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82738 (exit $ac_status); }; } &&
82739 { ac_try='test -s conftest$ac_exeext'
82740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82741 (eval $ac_try) 2>&5
82742 ac_status=$?
82743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82744 (exit $ac_status); }; }; then
82745 eval "$as_ac_var=yes"
82746 else
82747 echo "$as_me: failed program was:" >&5
82748 sed 's/^/| /' conftest.$ac_ext >&5
82750 eval "$as_ac_var=no"
82752 rm -f conftest.err conftest.$ac_objext \
82753 conftest$ac_exeext conftest.$ac_ext
82755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82757 if test `eval echo '${'$as_ac_var'}'` = yes; then
82758 cat >>confdefs.h <<_ACEOF
82759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82760 _ACEOF
82762 else
82763 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82765 done
82769 # Used in libmath/Makefile.am.
82770 if test -n "$LIBMATHOBJS"; then
82771 need_libmath=yes
82777 enable_iconv=no
82778 # Only continue checking if the ISO C99 headers exist and support is on.
82779 if test x"$enable_wchar_t" = xyes; then
82781 # Use iconv for wchar_t to char conversions. As such, check for
82782 # X/Open Portability Guide, version 2 features (XPG2).
82783 if test "${ac_cv_header_iconv_h+set}" = set; then
82784 echo "$as_me:$LINENO: checking for iconv.h" >&5
82785 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82786 if test "${ac_cv_header_iconv_h+set}" = set; then
82787 echo $ECHO_N "(cached) $ECHO_C" >&6
82789 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82790 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82791 else
82792 # Is the header compilable?
82793 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82794 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82795 cat >conftest.$ac_ext <<_ACEOF
82796 /* confdefs.h. */
82797 _ACEOF
82798 cat confdefs.h >>conftest.$ac_ext
82799 cat >>conftest.$ac_ext <<_ACEOF
82800 /* end confdefs.h. */
82801 $ac_includes_default
82802 #include <iconv.h>
82803 _ACEOF
82804 rm -f conftest.$ac_objext
82805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82806 (eval $ac_compile) 2>conftest.er1
82807 ac_status=$?
82808 grep -v '^ *+' conftest.er1 >conftest.err
82809 rm -f conftest.er1
82810 cat conftest.err >&5
82811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82812 (exit $ac_status); } &&
82813 { ac_try='test -z "$ac_c_werror_flag"
82814 || test ! -s conftest.err'
82815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82816 (eval $ac_try) 2>&5
82817 ac_status=$?
82818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82819 (exit $ac_status); }; } &&
82820 { ac_try='test -s conftest.$ac_objext'
82821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82822 (eval $ac_try) 2>&5
82823 ac_status=$?
82824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82825 (exit $ac_status); }; }; then
82826 ac_header_compiler=yes
82827 else
82828 echo "$as_me: failed program was:" >&5
82829 sed 's/^/| /' conftest.$ac_ext >&5
82831 ac_header_compiler=no
82833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82835 echo "${ECHO_T}$ac_header_compiler" >&6
82837 # Is the header present?
82838 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82839 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82840 cat >conftest.$ac_ext <<_ACEOF
82841 /* confdefs.h. */
82842 _ACEOF
82843 cat confdefs.h >>conftest.$ac_ext
82844 cat >>conftest.$ac_ext <<_ACEOF
82845 /* end confdefs.h. */
82846 #include <iconv.h>
82847 _ACEOF
82848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82850 ac_status=$?
82851 grep -v '^ *+' conftest.er1 >conftest.err
82852 rm -f conftest.er1
82853 cat conftest.err >&5
82854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82855 (exit $ac_status); } >/dev/null; then
82856 if test -s conftest.err; then
82857 ac_cpp_err=$ac_c_preproc_warn_flag
82858 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82859 else
82860 ac_cpp_err=
82862 else
82863 ac_cpp_err=yes
82865 if test -z "$ac_cpp_err"; then
82866 ac_header_preproc=yes
82867 else
82868 echo "$as_me: failed program was:" >&5
82869 sed 's/^/| /' conftest.$ac_ext >&5
82871 ac_header_preproc=no
82873 rm -f conftest.err conftest.$ac_ext
82874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82875 echo "${ECHO_T}$ac_header_preproc" >&6
82877 # So? What about this header?
82878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82879 yes:no: )
82880 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82881 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82882 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82883 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82884 ac_header_preproc=yes
82886 no:yes:* )
82887 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82888 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82889 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82890 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82891 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82892 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82893 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82894 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82895 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82896 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82897 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82898 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82900 cat <<\_ASBOX
82901 ## ----------------------------------------- ##
82902 ## Report this to the package-unused lists. ##
82903 ## ----------------------------------------- ##
82904 _ASBOX
82906 sed "s/^/$as_me: WARNING: /" >&2
82908 esac
82909 echo "$as_me:$LINENO: checking for iconv.h" >&5
82910 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82911 if test "${ac_cv_header_iconv_h+set}" = set; then
82912 echo $ECHO_N "(cached) $ECHO_C" >&6
82913 else
82914 ac_cv_header_iconv_h=$ac_header_preproc
82916 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82917 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82920 if test $ac_cv_header_iconv_h = yes; then
82921 ac_has_iconv_h=yes
82922 else
82923 ac_has_iconv_h=no
82927 if test "${ac_cv_header_langinfo_h+set}" = set; then
82928 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82929 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82930 if test "${ac_cv_header_langinfo_h+set}" = set; then
82931 echo $ECHO_N "(cached) $ECHO_C" >&6
82933 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82934 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82935 else
82936 # Is the header compilable?
82937 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82938 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82939 cat >conftest.$ac_ext <<_ACEOF
82940 /* confdefs.h. */
82941 _ACEOF
82942 cat confdefs.h >>conftest.$ac_ext
82943 cat >>conftest.$ac_ext <<_ACEOF
82944 /* end confdefs.h. */
82945 $ac_includes_default
82946 #include <langinfo.h>
82947 _ACEOF
82948 rm -f conftest.$ac_objext
82949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82950 (eval $ac_compile) 2>conftest.er1
82951 ac_status=$?
82952 grep -v '^ *+' conftest.er1 >conftest.err
82953 rm -f conftest.er1
82954 cat conftest.err >&5
82955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82956 (exit $ac_status); } &&
82957 { ac_try='test -z "$ac_c_werror_flag"
82958 || test ! -s conftest.err'
82959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82960 (eval $ac_try) 2>&5
82961 ac_status=$?
82962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82963 (exit $ac_status); }; } &&
82964 { ac_try='test -s conftest.$ac_objext'
82965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82966 (eval $ac_try) 2>&5
82967 ac_status=$?
82968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82969 (exit $ac_status); }; }; then
82970 ac_header_compiler=yes
82971 else
82972 echo "$as_me: failed program was:" >&5
82973 sed 's/^/| /' conftest.$ac_ext >&5
82975 ac_header_compiler=no
82977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82978 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82979 echo "${ECHO_T}$ac_header_compiler" >&6
82981 # Is the header present?
82982 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82983 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82984 cat >conftest.$ac_ext <<_ACEOF
82985 /* confdefs.h. */
82986 _ACEOF
82987 cat confdefs.h >>conftest.$ac_ext
82988 cat >>conftest.$ac_ext <<_ACEOF
82989 /* end confdefs.h. */
82990 #include <langinfo.h>
82991 _ACEOF
82992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82993 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82994 ac_status=$?
82995 grep -v '^ *+' conftest.er1 >conftest.err
82996 rm -f conftest.er1
82997 cat conftest.err >&5
82998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82999 (exit $ac_status); } >/dev/null; then
83000 if test -s conftest.err; then
83001 ac_cpp_err=$ac_c_preproc_warn_flag
83002 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83003 else
83004 ac_cpp_err=
83006 else
83007 ac_cpp_err=yes
83009 if test -z "$ac_cpp_err"; then
83010 ac_header_preproc=yes
83011 else
83012 echo "$as_me: failed program was:" >&5
83013 sed 's/^/| /' conftest.$ac_ext >&5
83015 ac_header_preproc=no
83017 rm -f conftest.err conftest.$ac_ext
83018 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83019 echo "${ECHO_T}$ac_header_preproc" >&6
83021 # So? What about this header?
83022 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83023 yes:no: )
83024 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
83025 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83026 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
83027 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
83028 ac_header_preproc=yes
83030 no:yes:* )
83031 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
83032 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
83033 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
83034 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
83035 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
83036 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
83037 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
83038 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
83039 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
83040 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
83041 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
83042 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
83044 cat <<\_ASBOX
83045 ## ----------------------------------------- ##
83046 ## Report this to the package-unused lists. ##
83047 ## ----------------------------------------- ##
83048 _ASBOX
83050 sed "s/^/$as_me: WARNING: /" >&2
83052 esac
83053 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83054 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83055 if test "${ac_cv_header_langinfo_h+set}" = set; then
83056 echo $ECHO_N "(cached) $ECHO_C" >&6
83057 else
83058 ac_cv_header_langinfo_h=$ac_header_preproc
83060 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83061 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83064 if test $ac_cv_header_langinfo_h = yes; then
83065 ac_has_langinfo_h=yes
83066 else
83067 ac_has_langinfo_h=no
83072 # Check for existence of libiconv.a providing XPG2 wchar_t support.
83073 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
83074 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
83075 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
83076 echo $ECHO_N "(cached) $ECHO_C" >&6
83077 else
83078 ac_check_lib_save_LIBS=$LIBS
83079 LIBS="-liconv $LIBS"
83080 if test x$gcc_no_link = xyes; then
83081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83083 { (exit 1); exit 1; }; }
83085 cat >conftest.$ac_ext <<_ACEOF
83086 /* confdefs.h. */
83087 _ACEOF
83088 cat confdefs.h >>conftest.$ac_ext
83089 cat >>conftest.$ac_ext <<_ACEOF
83090 /* end confdefs.h. */
83092 /* Override any gcc2 internal prototype to avoid an error. */
83093 #ifdef __cplusplus
83094 extern "C"
83095 #endif
83096 /* We use char because int might match the return type of a gcc2
83097 builtin and then its argument prototype would still apply. */
83098 char iconv ();
83100 main ()
83102 iconv ();
83104 return 0;
83106 _ACEOF
83107 rm -f conftest.$ac_objext conftest$ac_exeext
83108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83109 (eval $ac_link) 2>conftest.er1
83110 ac_status=$?
83111 grep -v '^ *+' conftest.er1 >conftest.err
83112 rm -f conftest.er1
83113 cat conftest.err >&5
83114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83115 (exit $ac_status); } &&
83116 { ac_try='test -z "$ac_c_werror_flag"
83117 || test ! -s conftest.err'
83118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83119 (eval $ac_try) 2>&5
83120 ac_status=$?
83121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83122 (exit $ac_status); }; } &&
83123 { ac_try='test -s conftest$ac_exeext'
83124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83125 (eval $ac_try) 2>&5
83126 ac_status=$?
83127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83128 (exit $ac_status); }; }; then
83129 ac_cv_lib_iconv_iconv=yes
83130 else
83131 echo "$as_me: failed program was:" >&5
83132 sed 's/^/| /' conftest.$ac_ext >&5
83134 ac_cv_lib_iconv_iconv=no
83136 rm -f conftest.err conftest.$ac_objext \
83137 conftest$ac_exeext conftest.$ac_ext
83138 LIBS=$ac_check_lib_save_LIBS
83140 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
83141 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
83142 if test $ac_cv_lib_iconv_iconv = yes; then
83143 LIBICONV="-liconv"
83146 ac_save_LIBS="$LIBS"
83147 LIBS="$LIBS $LIBICONV"
83154 for ac_func in iconv_open iconv_close iconv nl_langinfo
83156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83157 echo "$as_me:$LINENO: checking for $ac_func" >&5
83158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83159 if eval "test \"\${$as_ac_var+set}\" = set"; then
83160 echo $ECHO_N "(cached) $ECHO_C" >&6
83161 else
83162 if test x$gcc_no_link = xyes; then
83163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83165 { (exit 1); exit 1; }; }
83167 cat >conftest.$ac_ext <<_ACEOF
83168 /* confdefs.h. */
83169 _ACEOF
83170 cat confdefs.h >>conftest.$ac_ext
83171 cat >>conftest.$ac_ext <<_ACEOF
83172 /* end confdefs.h. */
83173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83175 #define $ac_func innocuous_$ac_func
83177 /* System header to define __stub macros and hopefully few prototypes,
83178 which can conflict with char $ac_func (); below.
83179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83180 <limits.h> exists even on freestanding compilers. */
83182 #ifdef __STDC__
83183 # include <limits.h>
83184 #else
83185 # include <assert.h>
83186 #endif
83188 #undef $ac_func
83190 /* Override any gcc2 internal prototype to avoid an error. */
83191 #ifdef __cplusplus
83192 extern "C"
83194 #endif
83195 /* We use char because int might match the return type of a gcc2
83196 builtin and then its argument prototype would still apply. */
83197 char $ac_func ();
83198 /* The GNU C library defines this for functions which it implements
83199 to always fail with ENOSYS. Some functions are actually named
83200 something starting with __ and the normal name is an alias. */
83201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83202 choke me
83203 #else
83204 char (*f) () = $ac_func;
83205 #endif
83206 #ifdef __cplusplus
83208 #endif
83211 main ()
83213 return f != $ac_func;
83215 return 0;
83217 _ACEOF
83218 rm -f conftest.$ac_objext conftest$ac_exeext
83219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83220 (eval $ac_link) 2>conftest.er1
83221 ac_status=$?
83222 grep -v '^ *+' conftest.er1 >conftest.err
83223 rm -f conftest.er1
83224 cat conftest.err >&5
83225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83226 (exit $ac_status); } &&
83227 { ac_try='test -z "$ac_c_werror_flag"
83228 || test ! -s conftest.err'
83229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83230 (eval $ac_try) 2>&5
83231 ac_status=$?
83232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83233 (exit $ac_status); }; } &&
83234 { ac_try='test -s conftest$ac_exeext'
83235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83236 (eval $ac_try) 2>&5
83237 ac_status=$?
83238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83239 (exit $ac_status); }; }; then
83240 eval "$as_ac_var=yes"
83241 else
83242 echo "$as_me: failed program was:" >&5
83243 sed 's/^/| /' conftest.$ac_ext >&5
83245 eval "$as_ac_var=no"
83247 rm -f conftest.err conftest.$ac_objext \
83248 conftest$ac_exeext conftest.$ac_ext
83250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83252 if test `eval echo '${'$as_ac_var'}'` = yes; then
83253 cat >>confdefs.h <<_ACEOF
83254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83255 _ACEOF
83256 ac_XPG2funcs=yes
83257 else
83258 ac_XPG2funcs=no
83260 done
83263 LIBS="$ac_save_LIBS"
83265 if test x"$ac_has_iconv_h" = xyes &&
83266 test x"$ac_has_langinfo_h" = xyes &&
83267 test x"$ac_XPG2funcs" = xyes;
83268 then
83270 cat >>confdefs.h <<\_ACEOF
83271 #define _GLIBCXX_USE_ICONV 1
83272 _ACEOF
83274 enable_iconv=yes
83277 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
83278 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
83279 echo "$as_me:$LINENO: result: $enable_iconv" >&5
83280 echo "${ECHO_T}$enable_iconv" >&6
83282 cat >>confdefs.h <<\_ACEOF
83283 #define HAVE_HYPOT 1
83284 _ACEOF
83286 cat >>confdefs.h <<\_ACEOF
83287 #define HAVE_ISINF 1
83288 _ACEOF
83290 cat >>confdefs.h <<\_ACEOF
83291 #define HAVE_ISNAN 1
83292 _ACEOF
83295 # For showmanyc_helper().
83298 for ac_header in sys/ioctl.h sys/filio.h
83300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83302 echo "$as_me:$LINENO: checking for $ac_header" >&5
83303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83305 echo $ECHO_N "(cached) $ECHO_C" >&6
83307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83309 else
83310 # Is the header compilable?
83311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83313 cat >conftest.$ac_ext <<_ACEOF
83314 /* confdefs.h. */
83315 _ACEOF
83316 cat confdefs.h >>conftest.$ac_ext
83317 cat >>conftest.$ac_ext <<_ACEOF
83318 /* end confdefs.h. */
83319 $ac_includes_default
83320 #include <$ac_header>
83321 _ACEOF
83322 rm -f conftest.$ac_objext
83323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83324 (eval $ac_compile) 2>conftest.er1
83325 ac_status=$?
83326 grep -v '^ *+' conftest.er1 >conftest.err
83327 rm -f conftest.er1
83328 cat conftest.err >&5
83329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83330 (exit $ac_status); } &&
83331 { ac_try='test -z "$ac_c_werror_flag"
83332 || test ! -s conftest.err'
83333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83334 (eval $ac_try) 2>&5
83335 ac_status=$?
83336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83337 (exit $ac_status); }; } &&
83338 { ac_try='test -s conftest.$ac_objext'
83339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83340 (eval $ac_try) 2>&5
83341 ac_status=$?
83342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83343 (exit $ac_status); }; }; then
83344 ac_header_compiler=yes
83345 else
83346 echo "$as_me: failed program was:" >&5
83347 sed 's/^/| /' conftest.$ac_ext >&5
83349 ac_header_compiler=no
83351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83353 echo "${ECHO_T}$ac_header_compiler" >&6
83355 # Is the header present?
83356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83358 cat >conftest.$ac_ext <<_ACEOF
83359 /* confdefs.h. */
83360 _ACEOF
83361 cat confdefs.h >>conftest.$ac_ext
83362 cat >>conftest.$ac_ext <<_ACEOF
83363 /* end confdefs.h. */
83364 #include <$ac_header>
83365 _ACEOF
83366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83368 ac_status=$?
83369 grep -v '^ *+' conftest.er1 >conftest.err
83370 rm -f conftest.er1
83371 cat conftest.err >&5
83372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83373 (exit $ac_status); } >/dev/null; then
83374 if test -s conftest.err; then
83375 ac_cpp_err=$ac_c_preproc_warn_flag
83376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83377 else
83378 ac_cpp_err=
83380 else
83381 ac_cpp_err=yes
83383 if test -z "$ac_cpp_err"; then
83384 ac_header_preproc=yes
83385 else
83386 echo "$as_me: failed program was:" >&5
83387 sed 's/^/| /' conftest.$ac_ext >&5
83389 ac_header_preproc=no
83391 rm -f conftest.err conftest.$ac_ext
83392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83393 echo "${ECHO_T}$ac_header_preproc" >&6
83395 # So? What about this header?
83396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83397 yes:no: )
83398 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83401 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83402 ac_header_preproc=yes
83404 no:yes:* )
83405 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83406 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83407 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83408 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83409 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83410 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83411 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83412 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83415 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83416 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83418 cat <<\_ASBOX
83419 ## ----------------------------------------- ##
83420 ## Report this to the package-unused lists. ##
83421 ## ----------------------------------------- ##
83422 _ASBOX
83424 sed "s/^/$as_me: WARNING: /" >&2
83426 esac
83427 echo "$as_me:$LINENO: checking for $ac_header" >&5
83428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83430 echo $ECHO_N "(cached) $ECHO_C" >&6
83431 else
83432 eval "$as_ac_Header=\$ac_header_preproc"
83434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83439 cat >>confdefs.h <<_ACEOF
83440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83441 _ACEOF
83445 done
83448 echo "$as_me:$LINENO: checking for poll" >&5
83449 echo $ECHO_N "checking for poll... $ECHO_C" >&6
83450 if test "${glibcxx_cv_POLL+set}" = set; then
83451 echo $ECHO_N "(cached) $ECHO_C" >&6
83452 else
83454 if test x$gcc_no_link = xyes; then
83455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83457 { (exit 1); exit 1; }; }
83459 cat >conftest.$ac_ext <<_ACEOF
83460 /* confdefs.h. */
83461 _ACEOF
83462 cat confdefs.h >>conftest.$ac_ext
83463 cat >>conftest.$ac_ext <<_ACEOF
83464 /* end confdefs.h. */
83465 #include <poll.h>
83467 main ()
83469 struct pollfd pfd[1];
83470 pfd[0].events = POLLIN;
83471 poll(pfd, 1, 0);
83473 return 0;
83475 _ACEOF
83476 rm -f conftest.$ac_objext conftest$ac_exeext
83477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83478 (eval $ac_link) 2>conftest.er1
83479 ac_status=$?
83480 grep -v '^ *+' conftest.er1 >conftest.err
83481 rm -f conftest.er1
83482 cat conftest.err >&5
83483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83484 (exit $ac_status); } &&
83485 { ac_try='test -z "$ac_c_werror_flag"
83486 || test ! -s conftest.err'
83487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83488 (eval $ac_try) 2>&5
83489 ac_status=$?
83490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83491 (exit $ac_status); }; } &&
83492 { ac_try='test -s conftest$ac_exeext'
83493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83494 (eval $ac_try) 2>&5
83495 ac_status=$?
83496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83497 (exit $ac_status); }; }; then
83498 glibcxx_cv_POLL=yes
83499 else
83500 echo "$as_me: failed program was:" >&5
83501 sed 's/^/| /' conftest.$ac_ext >&5
83503 glibcxx_cv_POLL=no
83505 rm -f conftest.err conftest.$ac_objext \
83506 conftest$ac_exeext conftest.$ac_ext
83510 if test $glibcxx_cv_POLL = yes; then
83512 cat >>confdefs.h <<\_ACEOF
83513 #define HAVE_POLL 1
83514 _ACEOF
83517 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
83518 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
83521 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
83522 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
83523 if test "${glibcxx_cv_S_ISREG+set}" = set; then
83524 echo $ECHO_N "(cached) $ECHO_C" >&6
83525 else
83527 if test x$gcc_no_link = xyes; then
83528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83530 { (exit 1); exit 1; }; }
83532 cat >conftest.$ac_ext <<_ACEOF
83533 /* confdefs.h. */
83534 _ACEOF
83535 cat confdefs.h >>conftest.$ac_ext
83536 cat >>conftest.$ac_ext <<_ACEOF
83537 /* end confdefs.h. */
83538 #include <sys/stat.h>
83540 main ()
83542 struct stat buffer;
83543 fstat(0, &buffer);
83544 S_ISREG(buffer.st_mode);
83546 return 0;
83548 _ACEOF
83549 rm -f conftest.$ac_objext conftest$ac_exeext
83550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83551 (eval $ac_link) 2>conftest.er1
83552 ac_status=$?
83553 grep -v '^ *+' conftest.er1 >conftest.err
83554 rm -f conftest.er1
83555 cat conftest.err >&5
83556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83557 (exit $ac_status); } &&
83558 { ac_try='test -z "$ac_c_werror_flag"
83559 || test ! -s conftest.err'
83560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83561 (eval $ac_try) 2>&5
83562 ac_status=$?
83563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83564 (exit $ac_status); }; } &&
83565 { ac_try='test -s conftest$ac_exeext'
83566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83567 (eval $ac_try) 2>&5
83568 ac_status=$?
83569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83570 (exit $ac_status); }; }; then
83571 glibcxx_cv_S_ISREG=yes
83572 else
83573 echo "$as_me: failed program was:" >&5
83574 sed 's/^/| /' conftest.$ac_ext >&5
83576 glibcxx_cv_S_ISREG=no
83578 rm -f conftest.err conftest.$ac_objext \
83579 conftest$ac_exeext conftest.$ac_ext
83583 if test "${glibcxx_cv_S_IFREG+set}" = set; then
83584 echo $ECHO_N "(cached) $ECHO_C" >&6
83585 else
83587 if test x$gcc_no_link = xyes; then
83588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83590 { (exit 1); exit 1; }; }
83592 cat >conftest.$ac_ext <<_ACEOF
83593 /* confdefs.h. */
83594 _ACEOF
83595 cat confdefs.h >>conftest.$ac_ext
83596 cat >>conftest.$ac_ext <<_ACEOF
83597 /* end confdefs.h. */
83598 #include <sys/stat.h>
83600 main ()
83602 struct stat buffer;
83603 fstat(0, &buffer);
83604 S_IFREG & buffer.st_mode;
83606 return 0;
83608 _ACEOF
83609 rm -f conftest.$ac_objext conftest$ac_exeext
83610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83611 (eval $ac_link) 2>conftest.er1
83612 ac_status=$?
83613 grep -v '^ *+' conftest.er1 >conftest.err
83614 rm -f conftest.er1
83615 cat conftest.err >&5
83616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83617 (exit $ac_status); } &&
83618 { ac_try='test -z "$ac_c_werror_flag"
83619 || test ! -s conftest.err'
83620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83621 (eval $ac_try) 2>&5
83622 ac_status=$?
83623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83624 (exit $ac_status); }; } &&
83625 { ac_try='test -s conftest$ac_exeext'
83626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83627 (eval $ac_try) 2>&5
83628 ac_status=$?
83629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83630 (exit $ac_status); }; }; then
83631 glibcxx_cv_S_IFREG=yes
83632 else
83633 echo "$as_me: failed program was:" >&5
83634 sed 's/^/| /' conftest.$ac_ext >&5
83636 glibcxx_cv_S_IFREG=no
83638 rm -f conftest.err conftest.$ac_objext \
83639 conftest$ac_exeext conftest.$ac_ext
83643 res=no
83644 if test $glibcxx_cv_S_ISREG = yes; then
83646 cat >>confdefs.h <<\_ACEOF
83647 #define HAVE_S_ISREG 1
83648 _ACEOF
83650 res=S_ISREG
83651 elif test $glibcxx_cv_S_IFREG = yes; then
83653 cat >>confdefs.h <<\_ACEOF
83654 #define HAVE_S_IFREG 1
83655 _ACEOF
83657 res=S_IFREG
83659 echo "$as_me:$LINENO: result: $res" >&5
83660 echo "${ECHO_T}$res" >&6
83663 # For xsputn_2().
83665 for ac_header in sys/uio.h
83667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83669 echo "$as_me:$LINENO: checking for $ac_header" >&5
83670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83672 echo $ECHO_N "(cached) $ECHO_C" >&6
83674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83676 else
83677 # Is the header compilable?
83678 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83680 cat >conftest.$ac_ext <<_ACEOF
83681 /* confdefs.h. */
83682 _ACEOF
83683 cat confdefs.h >>conftest.$ac_ext
83684 cat >>conftest.$ac_ext <<_ACEOF
83685 /* end confdefs.h. */
83686 $ac_includes_default
83687 #include <$ac_header>
83688 _ACEOF
83689 rm -f conftest.$ac_objext
83690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83691 (eval $ac_compile) 2>conftest.er1
83692 ac_status=$?
83693 grep -v '^ *+' conftest.er1 >conftest.err
83694 rm -f conftest.er1
83695 cat conftest.err >&5
83696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83697 (exit $ac_status); } &&
83698 { ac_try='test -z "$ac_c_werror_flag"
83699 || test ! -s conftest.err'
83700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83701 (eval $ac_try) 2>&5
83702 ac_status=$?
83703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83704 (exit $ac_status); }; } &&
83705 { ac_try='test -s conftest.$ac_objext'
83706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83707 (eval $ac_try) 2>&5
83708 ac_status=$?
83709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83710 (exit $ac_status); }; }; then
83711 ac_header_compiler=yes
83712 else
83713 echo "$as_me: failed program was:" >&5
83714 sed 's/^/| /' conftest.$ac_ext >&5
83716 ac_header_compiler=no
83718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83720 echo "${ECHO_T}$ac_header_compiler" >&6
83722 # Is the header present?
83723 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83725 cat >conftest.$ac_ext <<_ACEOF
83726 /* confdefs.h. */
83727 _ACEOF
83728 cat confdefs.h >>conftest.$ac_ext
83729 cat >>conftest.$ac_ext <<_ACEOF
83730 /* end confdefs.h. */
83731 #include <$ac_header>
83732 _ACEOF
83733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83735 ac_status=$?
83736 grep -v '^ *+' conftest.er1 >conftest.err
83737 rm -f conftest.er1
83738 cat conftest.err >&5
83739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83740 (exit $ac_status); } >/dev/null; then
83741 if test -s conftest.err; then
83742 ac_cpp_err=$ac_c_preproc_warn_flag
83743 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83744 else
83745 ac_cpp_err=
83747 else
83748 ac_cpp_err=yes
83750 if test -z "$ac_cpp_err"; then
83751 ac_header_preproc=yes
83752 else
83753 echo "$as_me: failed program was:" >&5
83754 sed 's/^/| /' conftest.$ac_ext >&5
83756 ac_header_preproc=no
83758 rm -f conftest.err conftest.$ac_ext
83759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83760 echo "${ECHO_T}$ac_header_preproc" >&6
83762 # So? What about this header?
83763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83764 yes:no: )
83765 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83768 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83769 ac_header_preproc=yes
83771 no:yes:* )
83772 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83774 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83775 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83776 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83777 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83778 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83779 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83782 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83783 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83785 cat <<\_ASBOX
83786 ## ----------------------------------------- ##
83787 ## Report this to the package-unused lists. ##
83788 ## ----------------------------------------- ##
83789 _ASBOX
83791 sed "s/^/$as_me: WARNING: /" >&2
83793 esac
83794 echo "$as_me:$LINENO: checking for $ac_header" >&5
83795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83797 echo $ECHO_N "(cached) $ECHO_C" >&6
83798 else
83799 eval "$as_ac_Header=\$ac_header_preproc"
83801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83806 cat >>confdefs.h <<_ACEOF
83807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83808 _ACEOF
83812 done
83815 echo "$as_me:$LINENO: checking for writev" >&5
83816 echo $ECHO_N "checking for writev... $ECHO_C" >&6
83817 if test "${glibcxx_cv_WRITEV+set}" = set; then
83818 echo $ECHO_N "(cached) $ECHO_C" >&6
83819 else
83821 if test x$gcc_no_link = xyes; then
83822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83824 { (exit 1); exit 1; }; }
83826 cat >conftest.$ac_ext <<_ACEOF
83827 /* confdefs.h. */
83828 _ACEOF
83829 cat confdefs.h >>conftest.$ac_ext
83830 cat >>conftest.$ac_ext <<_ACEOF
83831 /* end confdefs.h. */
83832 #include <sys/uio.h>
83834 main ()
83836 struct iovec iov[2];
83837 writev(0, iov, 0);
83839 return 0;
83841 _ACEOF
83842 rm -f conftest.$ac_objext conftest$ac_exeext
83843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83844 (eval $ac_link) 2>conftest.er1
83845 ac_status=$?
83846 grep -v '^ *+' conftest.er1 >conftest.err
83847 rm -f conftest.er1
83848 cat conftest.err >&5
83849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83850 (exit $ac_status); } &&
83851 { ac_try='test -z "$ac_c_werror_flag"
83852 || test ! -s conftest.err'
83853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83854 (eval $ac_try) 2>&5
83855 ac_status=$?
83856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83857 (exit $ac_status); }; } &&
83858 { ac_try='test -s conftest$ac_exeext'
83859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83860 (eval $ac_try) 2>&5
83861 ac_status=$?
83862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83863 (exit $ac_status); }; }; then
83864 glibcxx_cv_WRITEV=yes
83865 else
83866 echo "$as_me: failed program was:" >&5
83867 sed 's/^/| /' conftest.$ac_ext >&5
83869 glibcxx_cv_WRITEV=no
83871 rm -f conftest.err conftest.$ac_objext \
83872 conftest$ac_exeext conftest.$ac_ext
83876 if test $glibcxx_cv_WRITEV = yes; then
83878 cat >>confdefs.h <<\_ACEOF
83879 #define HAVE_WRITEV 1
83880 _ACEOF
83883 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
83884 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
83887 *-qnx6.1* | *-qnx6.2*)
83888 SECTION_FLAGS='-ffunction-sections -fdata-sections'
83891 # If we're not using GNU ld, then there's no point in even trying these
83892 # tests. Check for that first. We should have already tested for gld
83893 # by now (in libtool), but require it now just to be safe...
83894 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83895 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83899 # The name set by libtool depends on the version of libtool. Shame on us
83900 # for depending on an impl detail, but c'est la vie. Older versions used
83901 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83902 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83903 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
83904 # set (hence we're using an older libtool), then set it.
83905 if test x${with_gnu_ld+set} != xset; then
83906 if test x${ac_cv_prog_gnu_ld+set} != xset; then
83907 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
83908 with_gnu_ld=no
83909 else
83910 with_gnu_ld=$ac_cv_prog_gnu_ld
83914 # Start by getting the version number. I think the libtool test already
83915 # does some of this, but throws away the result.
83917 ldver=`$LD --version 2>/dev/null | head -1 | \
83918 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83920 glibcxx_gnu_ld_version=`echo $ldver | \
83921 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83923 # Set --gc-sections.
83924 if test x"$with_gnu_ld" = x"yes"; then
83925 # GNU ld it is! Joy and bunny rabbits!
83927 # All these tests are for C++; save the language and the compiler flags.
83928 # Need to do this so that g++ won't try to link in libstdc++
83929 ac_test_CFLAGS="${CFLAGS+set}"
83930 ac_save_CFLAGS="$CFLAGS"
83931 CFLAGS='-x c++ -Wl,--gc-sections'
83933 # Check for -Wl,--gc-sections
83934 # Note: It's supposed to work now, so ease off until proven wrong...
83935 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83936 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83937 cat >conftest.$ac_ext <<_ACEOF
83938 /* confdefs.h. */
83939 _ACEOF
83940 cat confdefs.h >>conftest.$ac_ext
83941 cat >>conftest.$ac_ext <<_ACEOF
83942 /* end confdefs.h. */
83944 int main(void)
83946 try { throw 1; }
83947 catch (...) { };
83948 return 0;
83952 main ()
83954 ac_sectionLDflags=yes
83956 return 0;
83958 _ACEOF
83959 rm -f conftest.$ac_objext
83960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83961 (eval $ac_compile) 2>conftest.er1
83962 ac_status=$?
83963 grep -v '^ *+' conftest.er1 >conftest.err
83964 rm -f conftest.er1
83965 cat conftest.err >&5
83966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83967 (exit $ac_status); } &&
83968 { ac_try='test -z "$ac_c_werror_flag"
83969 || test ! -s conftest.err'
83970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83971 (eval $ac_try) 2>&5
83972 ac_status=$?
83973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83974 (exit $ac_status); }; } &&
83975 { ac_try='test -s conftest.$ac_objext'
83976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83977 (eval $ac_try) 2>&5
83978 ac_status=$?
83979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83980 (exit $ac_status); }; }; then
83981 ac_sectionLDflags=no
83982 else
83983 echo "$as_me: failed program was:" >&5
83984 sed 's/^/| /' conftest.$ac_ext >&5
83986 ac_sectionLDflags=yes
83988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83989 if test "$ac_test_CFLAGS" = set; then
83990 CFLAGS="$ac_save_CFLAGS"
83991 else
83992 # this is the suspicious part
83993 CFLAGS=''
83995 if test "$ac_sectionLDflags" = "yes"; then
83996 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83998 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83999 echo "${ECHO_T}$ac_sectionLDflags" >&6
84002 # Set -z,relro.
84003 # Note this is only for shared objects.
84004 ac_ld_relro=no
84005 if test x"$with_gnu_ld" = x"yes"; then
84006 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
84007 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
84008 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
84009 if test -n "$cxx_z_relo"; then
84010 OPT_LDFLAGS="-Wl,-z,relro"
84011 ac_ld_relro=yes
84013 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
84014 echo "${ECHO_T}$ac_ld_relro" >&6
84017 # Set linker optimization flags.
84018 if test x"$with_gnu_ld" = x"yes"; then
84019 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
84027 echo "$as_me:$LINENO: checking for main in -lm" >&5
84028 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84029 if test "${ac_cv_lib_m_main+set}" = set; then
84030 echo $ECHO_N "(cached) $ECHO_C" >&6
84031 else
84032 ac_check_lib_save_LIBS=$LIBS
84033 LIBS="-lm $LIBS"
84034 if test x$gcc_no_link = xyes; then
84035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84037 { (exit 1); exit 1; }; }
84039 cat >conftest.$ac_ext <<_ACEOF
84040 /* confdefs.h. */
84041 _ACEOF
84042 cat confdefs.h >>conftest.$ac_ext
84043 cat >>conftest.$ac_ext <<_ACEOF
84044 /* end confdefs.h. */
84048 main ()
84050 main ();
84052 return 0;
84054 _ACEOF
84055 rm -f conftest.$ac_objext conftest$ac_exeext
84056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84057 (eval $ac_link) 2>conftest.er1
84058 ac_status=$?
84059 grep -v '^ *+' conftest.er1 >conftest.err
84060 rm -f conftest.er1
84061 cat conftest.err >&5
84062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84063 (exit $ac_status); } &&
84064 { ac_try='test -z "$ac_c_werror_flag"
84065 || test ! -s conftest.err'
84066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84067 (eval $ac_try) 2>&5
84068 ac_status=$?
84069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84070 (exit $ac_status); }; } &&
84071 { ac_try='test -s conftest$ac_exeext'
84072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84073 (eval $ac_try) 2>&5
84074 ac_status=$?
84075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84076 (exit $ac_status); }; }; then
84077 ac_cv_lib_m_main=yes
84078 else
84079 echo "$as_me: failed program was:" >&5
84080 sed 's/^/| /' conftest.$ac_ext >&5
84082 ac_cv_lib_m_main=no
84084 rm -f conftest.err conftest.$ac_objext \
84085 conftest$ac_exeext conftest.$ac_ext
84086 LIBS=$ac_check_lib_save_LIBS
84088 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84089 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84090 if test $ac_cv_lib_m_main = yes; then
84091 cat >>confdefs.h <<_ACEOF
84092 #define HAVE_LIBM 1
84093 _ACEOF
84095 LIBS="-lm $LIBS"
84100 for ac_func in copysignf
84102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84103 echo "$as_me:$LINENO: checking for $ac_func" >&5
84104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84105 if eval "test \"\${$as_ac_var+set}\" = set"; then
84106 echo $ECHO_N "(cached) $ECHO_C" >&6
84107 else
84108 if test x$gcc_no_link = xyes; then
84109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84111 { (exit 1); exit 1; }; }
84113 cat >conftest.$ac_ext <<_ACEOF
84114 /* confdefs.h. */
84115 _ACEOF
84116 cat confdefs.h >>conftest.$ac_ext
84117 cat >>conftest.$ac_ext <<_ACEOF
84118 /* end confdefs.h. */
84119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84121 #define $ac_func innocuous_$ac_func
84123 /* System header to define __stub macros and hopefully few prototypes,
84124 which can conflict with char $ac_func (); below.
84125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84126 <limits.h> exists even on freestanding compilers. */
84128 #ifdef __STDC__
84129 # include <limits.h>
84130 #else
84131 # include <assert.h>
84132 #endif
84134 #undef $ac_func
84136 /* Override any gcc2 internal prototype to avoid an error. */
84137 #ifdef __cplusplus
84138 extern "C"
84140 #endif
84141 /* We use char because int might match the return type of a gcc2
84142 builtin and then its argument prototype would still apply. */
84143 char $ac_func ();
84144 /* The GNU C library defines this for functions which it implements
84145 to always fail with ENOSYS. Some functions are actually named
84146 something starting with __ and the normal name is an alias. */
84147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84148 choke me
84149 #else
84150 char (*f) () = $ac_func;
84151 #endif
84152 #ifdef __cplusplus
84154 #endif
84157 main ()
84159 return f != $ac_func;
84161 return 0;
84163 _ACEOF
84164 rm -f conftest.$ac_objext conftest$ac_exeext
84165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84166 (eval $ac_link) 2>conftest.er1
84167 ac_status=$?
84168 grep -v '^ *+' conftest.er1 >conftest.err
84169 rm -f conftest.er1
84170 cat conftest.err >&5
84171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84172 (exit $ac_status); } &&
84173 { ac_try='test -z "$ac_c_werror_flag"
84174 || test ! -s conftest.err'
84175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84176 (eval $ac_try) 2>&5
84177 ac_status=$?
84178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84179 (exit $ac_status); }; } &&
84180 { ac_try='test -s conftest$ac_exeext'
84181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84182 (eval $ac_try) 2>&5
84183 ac_status=$?
84184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84185 (exit $ac_status); }; }; then
84186 eval "$as_ac_var=yes"
84187 else
84188 echo "$as_me: failed program was:" >&5
84189 sed 's/^/| /' conftest.$ac_ext >&5
84191 eval "$as_ac_var=no"
84193 rm -f conftest.err conftest.$ac_objext \
84194 conftest$ac_exeext conftest.$ac_ext
84196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84198 if test `eval echo '${'$as_ac_var'}'` = yes; then
84199 cat >>confdefs.h <<_ACEOF
84200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84201 _ACEOF
84203 else
84204 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84206 done
84210 for ac_func in __signbit
84212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84213 echo "$as_me:$LINENO: checking for $ac_func" >&5
84214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84215 if eval "test \"\${$as_ac_var+set}\" = set"; then
84216 echo $ECHO_N "(cached) $ECHO_C" >&6
84217 else
84218 if test x$gcc_no_link = xyes; then
84219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84221 { (exit 1); exit 1; }; }
84223 cat >conftest.$ac_ext <<_ACEOF
84224 /* confdefs.h. */
84225 _ACEOF
84226 cat confdefs.h >>conftest.$ac_ext
84227 cat >>conftest.$ac_ext <<_ACEOF
84228 /* end confdefs.h. */
84229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84231 #define $ac_func innocuous_$ac_func
84233 /* System header to define __stub macros and hopefully few prototypes,
84234 which can conflict with char $ac_func (); below.
84235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84236 <limits.h> exists even on freestanding compilers. */
84238 #ifdef __STDC__
84239 # include <limits.h>
84240 #else
84241 # include <assert.h>
84242 #endif
84244 #undef $ac_func
84246 /* Override any gcc2 internal prototype to avoid an error. */
84247 #ifdef __cplusplus
84248 extern "C"
84250 #endif
84251 /* We use char because int might match the return type of a gcc2
84252 builtin and then its argument prototype would still apply. */
84253 char $ac_func ();
84254 /* The GNU C library defines this for functions which it implements
84255 to always fail with ENOSYS. Some functions are actually named
84256 something starting with __ and the normal name is an alias. */
84257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84258 choke me
84259 #else
84260 char (*f) () = $ac_func;
84261 #endif
84262 #ifdef __cplusplus
84264 #endif
84267 main ()
84269 return f != $ac_func;
84271 return 0;
84273 _ACEOF
84274 rm -f conftest.$ac_objext conftest$ac_exeext
84275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84276 (eval $ac_link) 2>conftest.er1
84277 ac_status=$?
84278 grep -v '^ *+' conftest.er1 >conftest.err
84279 rm -f conftest.er1
84280 cat conftest.err >&5
84281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84282 (exit $ac_status); } &&
84283 { ac_try='test -z "$ac_c_werror_flag"
84284 || test ! -s conftest.err'
84285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84286 (eval $ac_try) 2>&5
84287 ac_status=$?
84288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84289 (exit $ac_status); }; } &&
84290 { ac_try='test -s conftest$ac_exeext'
84291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84292 (eval $ac_try) 2>&5
84293 ac_status=$?
84294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84295 (exit $ac_status); }; }; then
84296 eval "$as_ac_var=yes"
84297 else
84298 echo "$as_me: failed program was:" >&5
84299 sed 's/^/| /' conftest.$ac_ext >&5
84301 eval "$as_ac_var=no"
84303 rm -f conftest.err conftest.$ac_objext \
84304 conftest$ac_exeext conftest.$ac_ext
84306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84308 if test `eval echo '${'$as_ac_var'}'` = yes; then
84309 cat >>confdefs.h <<_ACEOF
84310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84311 _ACEOF
84313 else
84314 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84316 done
84320 for ac_func in __signbitf
84322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84323 echo "$as_me:$LINENO: checking for $ac_func" >&5
84324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84325 if eval "test \"\${$as_ac_var+set}\" = set"; then
84326 echo $ECHO_N "(cached) $ECHO_C" >&6
84327 else
84328 if test x$gcc_no_link = xyes; then
84329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84331 { (exit 1); exit 1; }; }
84333 cat >conftest.$ac_ext <<_ACEOF
84334 /* confdefs.h. */
84335 _ACEOF
84336 cat confdefs.h >>conftest.$ac_ext
84337 cat >>conftest.$ac_ext <<_ACEOF
84338 /* end confdefs.h. */
84339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84341 #define $ac_func innocuous_$ac_func
84343 /* System header to define __stub macros and hopefully few prototypes,
84344 which can conflict with char $ac_func (); below.
84345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84346 <limits.h> exists even on freestanding compilers. */
84348 #ifdef __STDC__
84349 # include <limits.h>
84350 #else
84351 # include <assert.h>
84352 #endif
84354 #undef $ac_func
84356 /* Override any gcc2 internal prototype to avoid an error. */
84357 #ifdef __cplusplus
84358 extern "C"
84360 #endif
84361 /* We use char because int might match the return type of a gcc2
84362 builtin and then its argument prototype would still apply. */
84363 char $ac_func ();
84364 /* The GNU C library defines this for functions which it implements
84365 to always fail with ENOSYS. Some functions are actually named
84366 something starting with __ and the normal name is an alias. */
84367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84368 choke me
84369 #else
84370 char (*f) () = $ac_func;
84371 #endif
84372 #ifdef __cplusplus
84374 #endif
84377 main ()
84379 return f != $ac_func;
84381 return 0;
84383 _ACEOF
84384 rm -f conftest.$ac_objext conftest$ac_exeext
84385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84386 (eval $ac_link) 2>conftest.er1
84387 ac_status=$?
84388 grep -v '^ *+' conftest.er1 >conftest.err
84389 rm -f conftest.er1
84390 cat conftest.err >&5
84391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84392 (exit $ac_status); } &&
84393 { ac_try='test -z "$ac_c_werror_flag"
84394 || test ! -s conftest.err'
84395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84396 (eval $ac_try) 2>&5
84397 ac_status=$?
84398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84399 (exit $ac_status); }; } &&
84400 { ac_try='test -s conftest$ac_exeext'
84401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84402 (eval $ac_try) 2>&5
84403 ac_status=$?
84404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84405 (exit $ac_status); }; }; then
84406 eval "$as_ac_var=yes"
84407 else
84408 echo "$as_me: failed program was:" >&5
84409 sed 's/^/| /' conftest.$ac_ext >&5
84411 eval "$as_ac_var=no"
84413 rm -f conftest.err conftest.$ac_objext \
84414 conftest$ac_exeext conftest.$ac_ext
84416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84418 if test `eval echo '${'$as_ac_var'}'` = yes; then
84419 cat >>confdefs.h <<_ACEOF
84420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84421 _ACEOF
84423 else
84424 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84426 done
84429 if test x$ac_cv_func_copysignl = x"yes"; then
84431 for ac_func in __signbitl
84433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84434 echo "$as_me:$LINENO: checking for $ac_func" >&5
84435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84436 if eval "test \"\${$as_ac_var+set}\" = set"; then
84437 echo $ECHO_N "(cached) $ECHO_C" >&6
84438 else
84439 if test x$gcc_no_link = xyes; then
84440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84442 { (exit 1); exit 1; }; }
84444 cat >conftest.$ac_ext <<_ACEOF
84445 /* confdefs.h. */
84446 _ACEOF
84447 cat confdefs.h >>conftest.$ac_ext
84448 cat >>conftest.$ac_ext <<_ACEOF
84449 /* end confdefs.h. */
84450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84452 #define $ac_func innocuous_$ac_func
84454 /* System header to define __stub macros and hopefully few prototypes,
84455 which can conflict with char $ac_func (); below.
84456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84457 <limits.h> exists even on freestanding compilers. */
84459 #ifdef __STDC__
84460 # include <limits.h>
84461 #else
84462 # include <assert.h>
84463 #endif
84465 #undef $ac_func
84467 /* Override any gcc2 internal prototype to avoid an error. */
84468 #ifdef __cplusplus
84469 extern "C"
84471 #endif
84472 /* We use char because int might match the return type of a gcc2
84473 builtin and then its argument prototype would still apply. */
84474 char $ac_func ();
84475 /* The GNU C library defines this for functions which it implements
84476 to always fail with ENOSYS. Some functions are actually named
84477 something starting with __ and the normal name is an alias. */
84478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84479 choke me
84480 #else
84481 char (*f) () = $ac_func;
84482 #endif
84483 #ifdef __cplusplus
84485 #endif
84488 main ()
84490 return f != $ac_func;
84492 return 0;
84494 _ACEOF
84495 rm -f conftest.$ac_objext conftest$ac_exeext
84496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84497 (eval $ac_link) 2>conftest.er1
84498 ac_status=$?
84499 grep -v '^ *+' conftest.er1 >conftest.err
84500 rm -f conftest.er1
84501 cat conftest.err >&5
84502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84503 (exit $ac_status); } &&
84504 { ac_try='test -z "$ac_c_werror_flag"
84505 || test ! -s conftest.err'
84506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84507 (eval $ac_try) 2>&5
84508 ac_status=$?
84509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84510 (exit $ac_status); }; } &&
84511 { ac_try='test -s conftest$ac_exeext'
84512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84513 (eval $ac_try) 2>&5
84514 ac_status=$?
84515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84516 (exit $ac_status); }; }; then
84517 eval "$as_ac_var=yes"
84518 else
84519 echo "$as_me: failed program was:" >&5
84520 sed 's/^/| /' conftest.$ac_ext >&5
84522 eval "$as_ac_var=no"
84524 rm -f conftest.err conftest.$ac_objext \
84525 conftest$ac_exeext conftest.$ac_ext
84527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84529 if test `eval echo '${'$as_ac_var'}'` = yes; then
84530 cat >>confdefs.h <<_ACEOF
84531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84532 _ACEOF
84534 else
84535 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84537 done
84541 # Used in libmath/Makefile.am.
84542 if test -n "$LIBMATHOBJS"; then
84543 need_libmath=yes
84549 enable_iconv=no
84550 # Only continue checking if the ISO C99 headers exist and support is on.
84551 if test x"$enable_wchar_t" = xyes; then
84553 # Use iconv for wchar_t to char conversions. As such, check for
84554 # X/Open Portability Guide, version 2 features (XPG2).
84555 if test "${ac_cv_header_iconv_h+set}" = set; then
84556 echo "$as_me:$LINENO: checking for iconv.h" >&5
84557 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84558 if test "${ac_cv_header_iconv_h+set}" = set; then
84559 echo $ECHO_N "(cached) $ECHO_C" >&6
84561 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84562 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84563 else
84564 # Is the header compilable?
84565 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84566 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84567 cat >conftest.$ac_ext <<_ACEOF
84568 /* confdefs.h. */
84569 _ACEOF
84570 cat confdefs.h >>conftest.$ac_ext
84571 cat >>conftest.$ac_ext <<_ACEOF
84572 /* end confdefs.h. */
84573 $ac_includes_default
84574 #include <iconv.h>
84575 _ACEOF
84576 rm -f conftest.$ac_objext
84577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84578 (eval $ac_compile) 2>conftest.er1
84579 ac_status=$?
84580 grep -v '^ *+' conftest.er1 >conftest.err
84581 rm -f conftest.er1
84582 cat conftest.err >&5
84583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84584 (exit $ac_status); } &&
84585 { ac_try='test -z "$ac_c_werror_flag"
84586 || test ! -s conftest.err'
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); }; } &&
84592 { ac_try='test -s conftest.$ac_objext'
84593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84594 (eval $ac_try) 2>&5
84595 ac_status=$?
84596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84597 (exit $ac_status); }; }; then
84598 ac_header_compiler=yes
84599 else
84600 echo "$as_me: failed program was:" >&5
84601 sed 's/^/| /' conftest.$ac_ext >&5
84603 ac_header_compiler=no
84605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84607 echo "${ECHO_T}$ac_header_compiler" >&6
84609 # Is the header present?
84610 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84611 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84612 cat >conftest.$ac_ext <<_ACEOF
84613 /* confdefs.h. */
84614 _ACEOF
84615 cat confdefs.h >>conftest.$ac_ext
84616 cat >>conftest.$ac_ext <<_ACEOF
84617 /* end confdefs.h. */
84618 #include <iconv.h>
84619 _ACEOF
84620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84622 ac_status=$?
84623 grep -v '^ *+' conftest.er1 >conftest.err
84624 rm -f conftest.er1
84625 cat conftest.err >&5
84626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84627 (exit $ac_status); } >/dev/null; then
84628 if test -s conftest.err; then
84629 ac_cpp_err=$ac_c_preproc_warn_flag
84630 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84631 else
84632 ac_cpp_err=
84634 else
84635 ac_cpp_err=yes
84637 if test -z "$ac_cpp_err"; then
84638 ac_header_preproc=yes
84639 else
84640 echo "$as_me: failed program was:" >&5
84641 sed 's/^/| /' conftest.$ac_ext >&5
84643 ac_header_preproc=no
84645 rm -f conftest.err conftest.$ac_ext
84646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84647 echo "${ECHO_T}$ac_header_preproc" >&6
84649 # So? What about this header?
84650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84651 yes:no: )
84652 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84653 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84654 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84655 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84656 ac_header_preproc=yes
84658 no:yes:* )
84659 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84660 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84661 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84662 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84663 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84664 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84665 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84666 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84667 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84668 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84669 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84670 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84672 cat <<\_ASBOX
84673 ## ----------------------------------------- ##
84674 ## Report this to the package-unused lists. ##
84675 ## ----------------------------------------- ##
84676 _ASBOX
84678 sed "s/^/$as_me: WARNING: /" >&2
84680 esac
84681 echo "$as_me:$LINENO: checking for iconv.h" >&5
84682 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84683 if test "${ac_cv_header_iconv_h+set}" = set; then
84684 echo $ECHO_N "(cached) $ECHO_C" >&6
84685 else
84686 ac_cv_header_iconv_h=$ac_header_preproc
84688 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84689 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84692 if test $ac_cv_header_iconv_h = yes; then
84693 ac_has_iconv_h=yes
84694 else
84695 ac_has_iconv_h=no
84699 if test "${ac_cv_header_langinfo_h+set}" = set; then
84700 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84701 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84702 if test "${ac_cv_header_langinfo_h+set}" = set; then
84703 echo $ECHO_N "(cached) $ECHO_C" >&6
84705 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84706 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84707 else
84708 # Is the header compilable?
84709 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84710 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84711 cat >conftest.$ac_ext <<_ACEOF
84712 /* confdefs.h. */
84713 _ACEOF
84714 cat confdefs.h >>conftest.$ac_ext
84715 cat >>conftest.$ac_ext <<_ACEOF
84716 /* end confdefs.h. */
84717 $ac_includes_default
84718 #include <langinfo.h>
84719 _ACEOF
84720 rm -f conftest.$ac_objext
84721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84722 (eval $ac_compile) 2>conftest.er1
84723 ac_status=$?
84724 grep -v '^ *+' conftest.er1 >conftest.err
84725 rm -f conftest.er1
84726 cat conftest.err >&5
84727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84728 (exit $ac_status); } &&
84729 { ac_try='test -z "$ac_c_werror_flag"
84730 || test ! -s conftest.err'
84731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84732 (eval $ac_try) 2>&5
84733 ac_status=$?
84734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84735 (exit $ac_status); }; } &&
84736 { ac_try='test -s conftest.$ac_objext'
84737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84738 (eval $ac_try) 2>&5
84739 ac_status=$?
84740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84741 (exit $ac_status); }; }; then
84742 ac_header_compiler=yes
84743 else
84744 echo "$as_me: failed program was:" >&5
84745 sed 's/^/| /' conftest.$ac_ext >&5
84747 ac_header_compiler=no
84749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84750 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84751 echo "${ECHO_T}$ac_header_compiler" >&6
84753 # Is the header present?
84754 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84755 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84756 cat >conftest.$ac_ext <<_ACEOF
84757 /* confdefs.h. */
84758 _ACEOF
84759 cat confdefs.h >>conftest.$ac_ext
84760 cat >>conftest.$ac_ext <<_ACEOF
84761 /* end confdefs.h. */
84762 #include <langinfo.h>
84763 _ACEOF
84764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84766 ac_status=$?
84767 grep -v '^ *+' conftest.er1 >conftest.err
84768 rm -f conftest.er1
84769 cat conftest.err >&5
84770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84771 (exit $ac_status); } >/dev/null; then
84772 if test -s conftest.err; then
84773 ac_cpp_err=$ac_c_preproc_warn_flag
84774 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84775 else
84776 ac_cpp_err=
84778 else
84779 ac_cpp_err=yes
84781 if test -z "$ac_cpp_err"; then
84782 ac_header_preproc=yes
84783 else
84784 echo "$as_me: failed program was:" >&5
84785 sed 's/^/| /' conftest.$ac_ext >&5
84787 ac_header_preproc=no
84789 rm -f conftest.err conftest.$ac_ext
84790 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84791 echo "${ECHO_T}$ac_header_preproc" >&6
84793 # So? What about this header?
84794 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84795 yes:no: )
84796 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84797 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84798 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84799 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84800 ac_header_preproc=yes
84802 no:yes:* )
84803 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84804 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84805 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84806 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84807 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84808 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84809 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84810 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84811 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84812 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84813 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84814 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84816 cat <<\_ASBOX
84817 ## ----------------------------------------- ##
84818 ## Report this to the package-unused lists. ##
84819 ## ----------------------------------------- ##
84820 _ASBOX
84822 sed "s/^/$as_me: WARNING: /" >&2
84824 esac
84825 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84826 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84827 if test "${ac_cv_header_langinfo_h+set}" = set; then
84828 echo $ECHO_N "(cached) $ECHO_C" >&6
84829 else
84830 ac_cv_header_langinfo_h=$ac_header_preproc
84832 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84833 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84836 if test $ac_cv_header_langinfo_h = yes; then
84837 ac_has_langinfo_h=yes
84838 else
84839 ac_has_langinfo_h=no
84844 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84845 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84846 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84847 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84848 echo $ECHO_N "(cached) $ECHO_C" >&6
84849 else
84850 ac_check_lib_save_LIBS=$LIBS
84851 LIBS="-liconv $LIBS"
84852 if test x$gcc_no_link = xyes; then
84853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84855 { (exit 1); exit 1; }; }
84857 cat >conftest.$ac_ext <<_ACEOF
84858 /* confdefs.h. */
84859 _ACEOF
84860 cat confdefs.h >>conftest.$ac_ext
84861 cat >>conftest.$ac_ext <<_ACEOF
84862 /* end confdefs.h. */
84864 /* Override any gcc2 internal prototype to avoid an error. */
84865 #ifdef __cplusplus
84866 extern "C"
84867 #endif
84868 /* We use char because int might match the return type of a gcc2
84869 builtin and then its argument prototype would still apply. */
84870 char iconv ();
84872 main ()
84874 iconv ();
84876 return 0;
84878 _ACEOF
84879 rm -f conftest.$ac_objext conftest$ac_exeext
84880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84881 (eval $ac_link) 2>conftest.er1
84882 ac_status=$?
84883 grep -v '^ *+' conftest.er1 >conftest.err
84884 rm -f conftest.er1
84885 cat conftest.err >&5
84886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84887 (exit $ac_status); } &&
84888 { ac_try='test -z "$ac_c_werror_flag"
84889 || test ! -s conftest.err'
84890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84891 (eval $ac_try) 2>&5
84892 ac_status=$?
84893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84894 (exit $ac_status); }; } &&
84895 { ac_try='test -s conftest$ac_exeext'
84896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84897 (eval $ac_try) 2>&5
84898 ac_status=$?
84899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84900 (exit $ac_status); }; }; then
84901 ac_cv_lib_iconv_iconv=yes
84902 else
84903 echo "$as_me: failed program was:" >&5
84904 sed 's/^/| /' conftest.$ac_ext >&5
84906 ac_cv_lib_iconv_iconv=no
84908 rm -f conftest.err conftest.$ac_objext \
84909 conftest$ac_exeext conftest.$ac_ext
84910 LIBS=$ac_check_lib_save_LIBS
84912 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84913 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84914 if test $ac_cv_lib_iconv_iconv = yes; then
84915 LIBICONV="-liconv"
84918 ac_save_LIBS="$LIBS"
84919 LIBS="$LIBS $LIBICONV"
84926 for ac_func in iconv_open iconv_close iconv nl_langinfo
84928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84929 echo "$as_me:$LINENO: checking for $ac_func" >&5
84930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84931 if eval "test \"\${$as_ac_var+set}\" = set"; then
84932 echo $ECHO_N "(cached) $ECHO_C" >&6
84933 else
84934 if test x$gcc_no_link = xyes; then
84935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84937 { (exit 1); exit 1; }; }
84939 cat >conftest.$ac_ext <<_ACEOF
84940 /* confdefs.h. */
84941 _ACEOF
84942 cat confdefs.h >>conftest.$ac_ext
84943 cat >>conftest.$ac_ext <<_ACEOF
84944 /* end confdefs.h. */
84945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84947 #define $ac_func innocuous_$ac_func
84949 /* System header to define __stub macros and hopefully few prototypes,
84950 which can conflict with char $ac_func (); below.
84951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84952 <limits.h> exists even on freestanding compilers. */
84954 #ifdef __STDC__
84955 # include <limits.h>
84956 #else
84957 # include <assert.h>
84958 #endif
84960 #undef $ac_func
84962 /* Override any gcc2 internal prototype to avoid an error. */
84963 #ifdef __cplusplus
84964 extern "C"
84966 #endif
84967 /* We use char because int might match the return type of a gcc2
84968 builtin and then its argument prototype would still apply. */
84969 char $ac_func ();
84970 /* The GNU C library defines this for functions which it implements
84971 to always fail with ENOSYS. Some functions are actually named
84972 something starting with __ and the normal name is an alias. */
84973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84974 choke me
84975 #else
84976 char (*f) () = $ac_func;
84977 #endif
84978 #ifdef __cplusplus
84980 #endif
84983 main ()
84985 return f != $ac_func;
84987 return 0;
84989 _ACEOF
84990 rm -f conftest.$ac_objext conftest$ac_exeext
84991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84992 (eval $ac_link) 2>conftest.er1
84993 ac_status=$?
84994 grep -v '^ *+' conftest.er1 >conftest.err
84995 rm -f conftest.er1
84996 cat conftest.err >&5
84997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84998 (exit $ac_status); } &&
84999 { ac_try='test -z "$ac_c_werror_flag"
85000 || test ! -s conftest.err'
85001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85002 (eval $ac_try) 2>&5
85003 ac_status=$?
85004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85005 (exit $ac_status); }; } &&
85006 { ac_try='test -s conftest$ac_exeext'
85007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85008 (eval $ac_try) 2>&5
85009 ac_status=$?
85010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85011 (exit $ac_status); }; }; then
85012 eval "$as_ac_var=yes"
85013 else
85014 echo "$as_me: failed program was:" >&5
85015 sed 's/^/| /' conftest.$ac_ext >&5
85017 eval "$as_ac_var=no"
85019 rm -f conftest.err conftest.$ac_objext \
85020 conftest$ac_exeext conftest.$ac_ext
85022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85024 if test `eval echo '${'$as_ac_var'}'` = yes; then
85025 cat >>confdefs.h <<_ACEOF
85026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85027 _ACEOF
85028 ac_XPG2funcs=yes
85029 else
85030 ac_XPG2funcs=no
85032 done
85035 LIBS="$ac_save_LIBS"
85037 if test x"$ac_has_iconv_h" = xyes &&
85038 test x"$ac_has_langinfo_h" = xyes &&
85039 test x"$ac_XPG2funcs" = xyes;
85040 then
85042 cat >>confdefs.h <<\_ACEOF
85043 #define _GLIBCXX_USE_ICONV 1
85044 _ACEOF
85046 enable_iconv=yes
85049 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85050 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85051 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85052 echo "${ECHO_T}$enable_iconv" >&6
85054 cat >>confdefs.h <<\_ACEOF
85055 #define HAVE_COSF 1
85056 _ACEOF
85058 cat >>confdefs.h <<\_ACEOF
85059 #define HAVE_COSL 1
85060 _ACEOF
85062 cat >>confdefs.h <<\_ACEOF
85063 #define HAVE_COSHF 1
85064 _ACEOF
85066 cat >>confdefs.h <<\_ACEOF
85067 #define HAVE_COSHL 1
85068 _ACEOF
85070 cat >>confdefs.h <<\_ACEOF
85071 #define HAVE_LOGF 1
85072 _ACEOF
85074 cat >>confdefs.h <<\_ACEOF
85075 #define HAVE_LOGL 1
85076 _ACEOF
85078 cat >>confdefs.h <<\_ACEOF
85079 #define HAVE_LOG10F 1
85080 _ACEOF
85082 cat >>confdefs.h <<\_ACEOF
85083 #define HAVE_LOG10L 1
85084 _ACEOF
85086 cat >>confdefs.h <<\_ACEOF
85087 #define HAVE_SINF 1
85088 _ACEOF
85090 cat >>confdefs.h <<\_ACEOF
85091 #define HAVE_SINL 1
85092 _ACEOF
85094 cat >>confdefs.h <<\_ACEOF
85095 #define HAVE_SINHF 1
85096 _ACEOF
85098 cat >>confdefs.h <<\_ACEOF
85099 #define HAVE_SINHL 1
85100 _ACEOF
85103 *-solaris*)
85104 case "$target" in
85105 # *-solaris2.5)
85106 # os_include_dir="os/solaris/solaris2.5"
85107 # ;;
85108 # *-solaris2.6)
85109 # os_include_dir="os/solaris/solaris2.6"
85110 # ;;
85111 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
85112 cat >>confdefs.h <<\_ACEOF
85113 #define HAVE_GETPAGESIZE 1
85114 _ACEOF
85116 cat >>confdefs.h <<\_ACEOF
85117 #define HAVE_SIGSETJMP 1
85118 _ACEOF
85120 cat >>confdefs.h <<\_ACEOF
85121 #define HAVE_MBSTATE_T 1
85122 _ACEOF
85124 cat >>confdefs.h <<\_ACEOF
85125 #define HAVE_POLL 1
85126 _ACEOF
85128 cat >>confdefs.h <<\_ACEOF
85129 #define HAVE_S_ISREG 1
85130 _ACEOF
85132 cat >>confdefs.h <<\_ACEOF
85133 #define HAVE_LC_MESSAGES 1
85134 _ACEOF
85136 cat >>confdefs.h <<\_ACEOF
85137 #define HAVE_FINITE 1
85138 _ACEOF
85140 cat >>confdefs.h <<\_ACEOF
85141 #define HAVE_FPCLASS 1
85142 _ACEOF
85144 cat >>confdefs.h <<\_ACEOF
85145 #define HAVE_GETPAGESIZE 1
85146 _ACEOF
85148 cat >>confdefs.h <<\_ACEOF
85149 #define HAVE_NL_LANGINFO 1
85150 _ACEOF
85152 cat >>confdefs.h <<\_ACEOF
85153 #define HAVE_ICONV 1
85154 _ACEOF
85156 cat >>confdefs.h <<\_ACEOF
85157 #define HAVE_ICONV_CLOSE 1
85158 _ACEOF
85160 cat >>confdefs.h <<\_ACEOF
85161 #define HAVE_ICONV_OPEN 1
85162 _ACEOF
85164 # Look for the pieces required for wchar_t support in order to
85165 # get all the right HAVE_* macros defined.
85168 enable_iconv=no
85169 # Only continue checking if the ISO C99 headers exist and support is on.
85170 if test x"$enable_wchar_t" = xyes; then
85172 # Use iconv for wchar_t to char conversions. As such, check for
85173 # X/Open Portability Guide, version 2 features (XPG2).
85174 if test "${ac_cv_header_iconv_h+set}" = set; then
85175 echo "$as_me:$LINENO: checking for iconv.h" >&5
85176 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85177 if test "${ac_cv_header_iconv_h+set}" = set; then
85178 echo $ECHO_N "(cached) $ECHO_C" >&6
85180 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85181 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85182 else
85183 # Is the header compilable?
85184 echo "$as_me:$LINENO: checking iconv.h usability" >&5
85185 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
85186 cat >conftest.$ac_ext <<_ACEOF
85187 /* confdefs.h. */
85188 _ACEOF
85189 cat confdefs.h >>conftest.$ac_ext
85190 cat >>conftest.$ac_ext <<_ACEOF
85191 /* end confdefs.h. */
85192 $ac_includes_default
85193 #include <iconv.h>
85194 _ACEOF
85195 rm -f conftest.$ac_objext
85196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85197 (eval $ac_compile) 2>conftest.er1
85198 ac_status=$?
85199 grep -v '^ *+' conftest.er1 >conftest.err
85200 rm -f conftest.er1
85201 cat conftest.err >&5
85202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85203 (exit $ac_status); } &&
85204 { ac_try='test -z "$ac_c_werror_flag"
85205 || test ! -s conftest.err'
85206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85207 (eval $ac_try) 2>&5
85208 ac_status=$?
85209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85210 (exit $ac_status); }; } &&
85211 { ac_try='test -s conftest.$ac_objext'
85212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85213 (eval $ac_try) 2>&5
85214 ac_status=$?
85215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85216 (exit $ac_status); }; }; then
85217 ac_header_compiler=yes
85218 else
85219 echo "$as_me: failed program was:" >&5
85220 sed 's/^/| /' conftest.$ac_ext >&5
85222 ac_header_compiler=no
85224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85226 echo "${ECHO_T}$ac_header_compiler" >&6
85228 # Is the header present?
85229 echo "$as_me:$LINENO: checking iconv.h presence" >&5
85230 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
85231 cat >conftest.$ac_ext <<_ACEOF
85232 /* confdefs.h. */
85233 _ACEOF
85234 cat confdefs.h >>conftest.$ac_ext
85235 cat >>conftest.$ac_ext <<_ACEOF
85236 /* end confdefs.h. */
85237 #include <iconv.h>
85238 _ACEOF
85239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85241 ac_status=$?
85242 grep -v '^ *+' conftest.er1 >conftest.err
85243 rm -f conftest.er1
85244 cat conftest.err >&5
85245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85246 (exit $ac_status); } >/dev/null; then
85247 if test -s conftest.err; then
85248 ac_cpp_err=$ac_c_preproc_warn_flag
85249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85250 else
85251 ac_cpp_err=
85253 else
85254 ac_cpp_err=yes
85256 if test -z "$ac_cpp_err"; then
85257 ac_header_preproc=yes
85258 else
85259 echo "$as_me: failed program was:" >&5
85260 sed 's/^/| /' conftest.$ac_ext >&5
85262 ac_header_preproc=no
85264 rm -f conftest.err conftest.$ac_ext
85265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85266 echo "${ECHO_T}$ac_header_preproc" >&6
85268 # So? What about this header?
85269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85270 yes:no: )
85271 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
85272 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85273 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
85274 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
85275 ac_header_preproc=yes
85277 no:yes:* )
85278 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
85279 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
85280 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
85281 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
85282 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
85283 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
85284 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
85285 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
85286 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
85287 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
85288 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
85289 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
85291 cat <<\_ASBOX
85292 ## ----------------------------------------- ##
85293 ## Report this to the package-unused lists. ##
85294 ## ----------------------------------------- ##
85295 _ASBOX
85297 sed "s/^/$as_me: WARNING: /" >&2
85299 esac
85300 echo "$as_me:$LINENO: checking for iconv.h" >&5
85301 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85302 if test "${ac_cv_header_iconv_h+set}" = set; then
85303 echo $ECHO_N "(cached) $ECHO_C" >&6
85304 else
85305 ac_cv_header_iconv_h=$ac_header_preproc
85307 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85308 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85311 if test $ac_cv_header_iconv_h = yes; then
85312 ac_has_iconv_h=yes
85313 else
85314 ac_has_iconv_h=no
85318 if test "${ac_cv_header_langinfo_h+set}" = set; then
85319 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85320 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85321 if test "${ac_cv_header_langinfo_h+set}" = set; then
85322 echo $ECHO_N "(cached) $ECHO_C" >&6
85324 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85325 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85326 else
85327 # Is the header compilable?
85328 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
85329 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
85330 cat >conftest.$ac_ext <<_ACEOF
85331 /* confdefs.h. */
85332 _ACEOF
85333 cat confdefs.h >>conftest.$ac_ext
85334 cat >>conftest.$ac_ext <<_ACEOF
85335 /* end confdefs.h. */
85336 $ac_includes_default
85337 #include <langinfo.h>
85338 _ACEOF
85339 rm -f conftest.$ac_objext
85340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85341 (eval $ac_compile) 2>conftest.er1
85342 ac_status=$?
85343 grep -v '^ *+' conftest.er1 >conftest.err
85344 rm -f conftest.er1
85345 cat conftest.err >&5
85346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85347 (exit $ac_status); } &&
85348 { ac_try='test -z "$ac_c_werror_flag"
85349 || test ! -s conftest.err'
85350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85351 (eval $ac_try) 2>&5
85352 ac_status=$?
85353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85354 (exit $ac_status); }; } &&
85355 { ac_try='test -s conftest.$ac_objext'
85356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85357 (eval $ac_try) 2>&5
85358 ac_status=$?
85359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85360 (exit $ac_status); }; }; then
85361 ac_header_compiler=yes
85362 else
85363 echo "$as_me: failed program was:" >&5
85364 sed 's/^/| /' conftest.$ac_ext >&5
85366 ac_header_compiler=no
85368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85370 echo "${ECHO_T}$ac_header_compiler" >&6
85372 # Is the header present?
85373 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
85374 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
85375 cat >conftest.$ac_ext <<_ACEOF
85376 /* confdefs.h. */
85377 _ACEOF
85378 cat confdefs.h >>conftest.$ac_ext
85379 cat >>conftest.$ac_ext <<_ACEOF
85380 /* end confdefs.h. */
85381 #include <langinfo.h>
85382 _ACEOF
85383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85384 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85385 ac_status=$?
85386 grep -v '^ *+' conftest.er1 >conftest.err
85387 rm -f conftest.er1
85388 cat conftest.err >&5
85389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85390 (exit $ac_status); } >/dev/null; then
85391 if test -s conftest.err; then
85392 ac_cpp_err=$ac_c_preproc_warn_flag
85393 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85394 else
85395 ac_cpp_err=
85397 else
85398 ac_cpp_err=yes
85400 if test -z "$ac_cpp_err"; then
85401 ac_header_preproc=yes
85402 else
85403 echo "$as_me: failed program was:" >&5
85404 sed 's/^/| /' conftest.$ac_ext >&5
85406 ac_header_preproc=no
85408 rm -f conftest.err conftest.$ac_ext
85409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85410 echo "${ECHO_T}$ac_header_preproc" >&6
85412 # So? What about this header?
85413 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85414 yes:no: )
85415 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
85416 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85417 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
85418 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
85419 ac_header_preproc=yes
85421 no:yes:* )
85422 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
85423 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
85424 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
85425 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
85426 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
85427 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
85428 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
85429 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
85430 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85431 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85432 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85433 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85435 cat <<\_ASBOX
85436 ## ----------------------------------------- ##
85437 ## Report this to the package-unused lists. ##
85438 ## ----------------------------------------- ##
85439 _ASBOX
85441 sed "s/^/$as_me: WARNING: /" >&2
85443 esac
85444 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85445 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85446 if test "${ac_cv_header_langinfo_h+set}" = set; then
85447 echo $ECHO_N "(cached) $ECHO_C" >&6
85448 else
85449 ac_cv_header_langinfo_h=$ac_header_preproc
85451 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85452 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85455 if test $ac_cv_header_langinfo_h = yes; then
85456 ac_has_langinfo_h=yes
85457 else
85458 ac_has_langinfo_h=no
85463 # Check for existence of libiconv.a providing XPG2 wchar_t support.
85464 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85465 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85466 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85467 echo $ECHO_N "(cached) $ECHO_C" >&6
85468 else
85469 ac_check_lib_save_LIBS=$LIBS
85470 LIBS="-liconv $LIBS"
85471 if test x$gcc_no_link = xyes; then
85472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85474 { (exit 1); exit 1; }; }
85476 cat >conftest.$ac_ext <<_ACEOF
85477 /* confdefs.h. */
85478 _ACEOF
85479 cat confdefs.h >>conftest.$ac_ext
85480 cat >>conftest.$ac_ext <<_ACEOF
85481 /* end confdefs.h. */
85483 /* Override any gcc2 internal prototype to avoid an error. */
85484 #ifdef __cplusplus
85485 extern "C"
85486 #endif
85487 /* We use char because int might match the return type of a gcc2
85488 builtin and then its argument prototype would still apply. */
85489 char iconv ();
85491 main ()
85493 iconv ();
85495 return 0;
85497 _ACEOF
85498 rm -f conftest.$ac_objext conftest$ac_exeext
85499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85500 (eval $ac_link) 2>conftest.er1
85501 ac_status=$?
85502 grep -v '^ *+' conftest.er1 >conftest.err
85503 rm -f conftest.er1
85504 cat conftest.err >&5
85505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85506 (exit $ac_status); } &&
85507 { ac_try='test -z "$ac_c_werror_flag"
85508 || test ! -s conftest.err'
85509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85510 (eval $ac_try) 2>&5
85511 ac_status=$?
85512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85513 (exit $ac_status); }; } &&
85514 { ac_try='test -s conftest$ac_exeext'
85515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85516 (eval $ac_try) 2>&5
85517 ac_status=$?
85518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85519 (exit $ac_status); }; }; then
85520 ac_cv_lib_iconv_iconv=yes
85521 else
85522 echo "$as_me: failed program was:" >&5
85523 sed 's/^/| /' conftest.$ac_ext >&5
85525 ac_cv_lib_iconv_iconv=no
85527 rm -f conftest.err conftest.$ac_objext \
85528 conftest$ac_exeext conftest.$ac_ext
85529 LIBS=$ac_check_lib_save_LIBS
85531 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85532 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85533 if test $ac_cv_lib_iconv_iconv = yes; then
85534 LIBICONV="-liconv"
85537 ac_save_LIBS="$LIBS"
85538 LIBS="$LIBS $LIBICONV"
85545 for ac_func in iconv_open iconv_close iconv nl_langinfo
85547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85548 echo "$as_me:$LINENO: checking for $ac_func" >&5
85549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85550 if eval "test \"\${$as_ac_var+set}\" = set"; then
85551 echo $ECHO_N "(cached) $ECHO_C" >&6
85552 else
85553 if test x$gcc_no_link = xyes; then
85554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85556 { (exit 1); exit 1; }; }
85558 cat >conftest.$ac_ext <<_ACEOF
85559 /* confdefs.h. */
85560 _ACEOF
85561 cat confdefs.h >>conftest.$ac_ext
85562 cat >>conftest.$ac_ext <<_ACEOF
85563 /* end confdefs.h. */
85564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85566 #define $ac_func innocuous_$ac_func
85568 /* System header to define __stub macros and hopefully few prototypes,
85569 which can conflict with char $ac_func (); below.
85570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85571 <limits.h> exists even on freestanding compilers. */
85573 #ifdef __STDC__
85574 # include <limits.h>
85575 #else
85576 # include <assert.h>
85577 #endif
85579 #undef $ac_func
85581 /* Override any gcc2 internal prototype to avoid an error. */
85582 #ifdef __cplusplus
85583 extern "C"
85585 #endif
85586 /* We use char because int might match the return type of a gcc2
85587 builtin and then its argument prototype would still apply. */
85588 char $ac_func ();
85589 /* The GNU C library defines this for functions which it implements
85590 to always fail with ENOSYS. Some functions are actually named
85591 something starting with __ and the normal name is an alias. */
85592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85593 choke me
85594 #else
85595 char (*f) () = $ac_func;
85596 #endif
85597 #ifdef __cplusplus
85599 #endif
85602 main ()
85604 return f != $ac_func;
85606 return 0;
85608 _ACEOF
85609 rm -f conftest.$ac_objext conftest$ac_exeext
85610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85611 (eval $ac_link) 2>conftest.er1
85612 ac_status=$?
85613 grep -v '^ *+' conftest.er1 >conftest.err
85614 rm -f conftest.er1
85615 cat conftest.err >&5
85616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85617 (exit $ac_status); } &&
85618 { ac_try='test -z "$ac_c_werror_flag"
85619 || test ! -s conftest.err'
85620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85621 (eval $ac_try) 2>&5
85622 ac_status=$?
85623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85624 (exit $ac_status); }; } &&
85625 { ac_try='test -s conftest$ac_exeext'
85626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85627 (eval $ac_try) 2>&5
85628 ac_status=$?
85629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85630 (exit $ac_status); }; }; then
85631 eval "$as_ac_var=yes"
85632 else
85633 echo "$as_me: failed program was:" >&5
85634 sed 's/^/| /' conftest.$ac_ext >&5
85636 eval "$as_ac_var=no"
85638 rm -f conftest.err conftest.$ac_objext \
85639 conftest$ac_exeext conftest.$ac_ext
85641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85643 if test `eval echo '${'$as_ac_var'}'` = yes; then
85644 cat >>confdefs.h <<_ACEOF
85645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85646 _ACEOF
85647 ac_XPG2funcs=yes
85648 else
85649 ac_XPG2funcs=no
85651 done
85654 LIBS="$ac_save_LIBS"
85656 if test x"$ac_has_iconv_h" = xyes &&
85657 test x"$ac_has_langinfo_h" = xyes &&
85658 test x"$ac_XPG2funcs" = xyes;
85659 then
85661 cat >>confdefs.h <<\_ACEOF
85662 #define _GLIBCXX_USE_ICONV 1
85663 _ACEOF
85665 enable_iconv=yes
85668 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85669 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85670 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85671 echo "${ECHO_T}$enable_iconv" >&6
85673 # All of the dependencies for wide character support are here, so
85674 # turn it on. This requires some syncronization with the
85675 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
85676 cat >>confdefs.h <<\_ACEOF
85677 #define _GLIBCXX_USE_WCHAR_T 1
85678 _ACEOF
85680 # Are these tested for even when cross?
85681 cat >>confdefs.h <<\_ACEOF
85682 #define HAVE_FLOAT_H 1
85683 _ACEOF
85685 cat >>confdefs.h <<\_ACEOF
85686 #define HAVE_IEEEFP_H 1
85687 _ACEOF
85689 cat >>confdefs.h <<\_ACEOF
85690 #define HAVE_INTTYPES_H 1
85691 _ACEOF
85693 cat >>confdefs.h <<\_ACEOF
85694 #define HAVE_LOCALE_H 1
85695 _ACEOF
85697 cat >>confdefs.h <<\_ACEOF
85698 #define HAVE_NAN_H 1
85699 _ACEOF
85701 cat >>confdefs.h <<\_ACEOF
85702 #define HAVE_SYS_FILIO_H 1
85703 _ACEOF
85705 cat >>confdefs.h <<\_ACEOF
85706 #define HAVE_SYS_IOCTL_H 1
85707 _ACEOF
85709 cat >>confdefs.h <<\_ACEOF
85710 #define HAVE_SYS_ISA_DEFS_H 1
85711 _ACEOF
85713 cat >>confdefs.h <<\_ACEOF
85714 #define HAVE_SYS_RESOURCE_H 1
85715 _ACEOF
85717 cat >>confdefs.h <<\_ACEOF
85718 #define HAVE_SYS_TIME_H 1
85719 _ACEOF
85721 cat >>confdefs.h <<\_ACEOF
85722 #define HAVE_SYS_TYPES_H 1
85723 _ACEOF
85725 cat >>confdefs.h <<\_ACEOF
85726 #define HAVE_UNISTD_H 1
85727 _ACEOF
85729 cat >>confdefs.h <<\_ACEOF
85730 #define HAVE_WCHAR_H 1
85731 _ACEOF
85733 cat >>confdefs.h <<\_ACEOF
85734 #define HAVE_WCTYPE_H 1
85735 _ACEOF
85737 cat >>confdefs.h <<\_ACEOF
85738 #define HAVE_LIBM 1
85739 _ACEOF
85742 esac
85743 case "$target" in
85744 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
85745 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
85746 cat >>confdefs.h <<\_ACEOF
85747 #define HAVE___BUILTIN_ABS 1
85748 _ACEOF
85750 cat >>confdefs.h <<\_ACEOF
85751 #define HAVE___BUILTIN_LABS 1
85752 _ACEOF
85754 cat >>confdefs.h <<\_ACEOF
85755 #define HAVE___BUILTIN_FABS 1
85756 _ACEOF
85758 cat >>confdefs.h <<\_ACEOF
85759 #define HAVE___BUILTIN_FABSF 1
85760 _ACEOF
85762 cat >>confdefs.h <<\_ACEOF
85763 #define HAVE___BUILTIN_FABSL 1
85764 _ACEOF
85766 cat >>confdefs.h <<\_ACEOF
85767 #define HAVE___BUILTIN_COS 1
85768 _ACEOF
85770 cat >>confdefs.h <<\_ACEOF
85771 #define HAVE___BUILTIN_COSF 1
85772 _ACEOF
85774 cat >>confdefs.h <<\_ACEOF
85775 #define HAVE___BUILTIN_SIN 1
85776 _ACEOF
85778 cat >>confdefs.h <<\_ACEOF
85779 #define HAVE___BUILTIN_SINF 1
85780 _ACEOF
85783 esac
85784 case "$target" in
85785 *-*-solaris2.10)
85786 # These two C99 functions are present only in Solaris >= 10
85787 cat >>confdefs.h <<\_ACEOF
85788 #define HAVE_STRTOF 1
85789 _ACEOF
85791 cat >>confdefs.h <<\_ACEOF
85792 #define HAVE_STRTOLD 1
85793 _ACEOF
85796 esac
85797 cat >>confdefs.h <<\_ACEOF
85798 #define HAVE_MMAP 1
85799 _ACEOF
85801 cat >>confdefs.h <<\_ACEOF
85802 #define HAVE_COPYSIGN 1
85803 _ACEOF
85805 cat >>confdefs.h <<\_ACEOF
85806 #define HAVE_ISNAN 1
85807 _ACEOF
85809 cat >>confdefs.h <<\_ACEOF
85810 #define HAVE_ISNANF 1
85811 _ACEOF
85813 cat >>confdefs.h <<\_ACEOF
85814 #define HAVE_MODFF 1
85815 _ACEOF
85817 cat >>confdefs.h <<\_ACEOF
85818 #define HAVE_HYPOT 1
85819 _ACEOF
85822 *-tpf)
85831 for ac_header in nan.h endian.h machine/endian.h \
85832 sys/param.h sys/types.h locale.h float.h inttypes.h
85834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85836 echo "$as_me:$LINENO: checking for $ac_header" >&5
85837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85839 echo $ECHO_N "(cached) $ECHO_C" >&6
85841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85843 else
85844 # Is the header compilable?
85845 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85846 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85847 cat >conftest.$ac_ext <<_ACEOF
85848 /* confdefs.h. */
85849 _ACEOF
85850 cat confdefs.h >>conftest.$ac_ext
85851 cat >>conftest.$ac_ext <<_ACEOF
85852 /* end confdefs.h. */
85853 $ac_includes_default
85854 #include <$ac_header>
85855 _ACEOF
85856 rm -f conftest.$ac_objext
85857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85858 (eval $ac_compile) 2>conftest.er1
85859 ac_status=$?
85860 grep -v '^ *+' conftest.er1 >conftest.err
85861 rm -f conftest.er1
85862 cat conftest.err >&5
85863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85864 (exit $ac_status); } &&
85865 { ac_try='test -z "$ac_c_werror_flag"
85866 || test ! -s conftest.err'
85867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85868 (eval $ac_try) 2>&5
85869 ac_status=$?
85870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85871 (exit $ac_status); }; } &&
85872 { ac_try='test -s conftest.$ac_objext'
85873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85874 (eval $ac_try) 2>&5
85875 ac_status=$?
85876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85877 (exit $ac_status); }; }; then
85878 ac_header_compiler=yes
85879 else
85880 echo "$as_me: failed program was:" >&5
85881 sed 's/^/| /' conftest.$ac_ext >&5
85883 ac_header_compiler=no
85885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85887 echo "${ECHO_T}$ac_header_compiler" >&6
85889 # Is the header present?
85890 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85891 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85892 cat >conftest.$ac_ext <<_ACEOF
85893 /* confdefs.h. */
85894 _ACEOF
85895 cat confdefs.h >>conftest.$ac_ext
85896 cat >>conftest.$ac_ext <<_ACEOF
85897 /* end confdefs.h. */
85898 #include <$ac_header>
85899 _ACEOF
85900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85901 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85902 ac_status=$?
85903 grep -v '^ *+' conftest.er1 >conftest.err
85904 rm -f conftest.er1
85905 cat conftest.err >&5
85906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85907 (exit $ac_status); } >/dev/null; then
85908 if test -s conftest.err; then
85909 ac_cpp_err=$ac_c_preproc_warn_flag
85910 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85911 else
85912 ac_cpp_err=
85914 else
85915 ac_cpp_err=yes
85917 if test -z "$ac_cpp_err"; then
85918 ac_header_preproc=yes
85919 else
85920 echo "$as_me: failed program was:" >&5
85921 sed 's/^/| /' conftest.$ac_ext >&5
85923 ac_header_preproc=no
85925 rm -f conftest.err conftest.$ac_ext
85926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85927 echo "${ECHO_T}$ac_header_preproc" >&6
85929 # So? What about this header?
85930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85931 yes:no: )
85932 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85933 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85935 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85936 ac_header_preproc=yes
85938 no:yes:* )
85939 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85940 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85941 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85942 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85943 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85944 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85945 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85946 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85949 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85950 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85952 cat <<\_ASBOX
85953 ## ----------------------------------------- ##
85954 ## Report this to the package-unused lists. ##
85955 ## ----------------------------------------- ##
85956 _ASBOX
85958 sed "s/^/$as_me: WARNING: /" >&2
85960 esac
85961 echo "$as_me:$LINENO: checking for $ac_header" >&5
85962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85964 echo $ECHO_N "(cached) $ECHO_C" >&6
85965 else
85966 eval "$as_ac_Header=\$ac_header_preproc"
85968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85973 cat >>confdefs.h <<_ACEOF
85974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85975 _ACEOF
85979 done
85981 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85984 # If we're not using GNU ld, then there's no point in even trying these
85985 # tests. Check for that first. We should have already tested for gld
85986 # by now (in libtool), but require it now just to be safe...
85987 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85988 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85992 # The name set by libtool depends on the version of libtool. Shame on us
85993 # for depending on an impl detail, but c'est la vie. Older versions used
85994 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85995 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85996 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85997 # set (hence we're using an older libtool), then set it.
85998 if test x${with_gnu_ld+set} != xset; then
85999 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86000 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86001 with_gnu_ld=no
86002 else
86003 with_gnu_ld=$ac_cv_prog_gnu_ld
86007 # Start by getting the version number. I think the libtool test already
86008 # does some of this, but throws away the result.
86010 ldver=`$LD --version 2>/dev/null | head -1 | \
86011 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
86013 glibcxx_gnu_ld_version=`echo $ldver | \
86014 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86016 # Set --gc-sections.
86017 if test x"$with_gnu_ld" = x"yes"; then
86018 # GNU ld it is! Joy and bunny rabbits!
86020 # All these tests are for C++; save the language and the compiler flags.
86021 # Need to do this so that g++ won't try to link in libstdc++
86022 ac_test_CFLAGS="${CFLAGS+set}"
86023 ac_save_CFLAGS="$CFLAGS"
86024 CFLAGS='-x c++ -Wl,--gc-sections'
86026 # Check for -Wl,--gc-sections
86027 # Note: It's supposed to work now, so ease off until proven wrong...
86028 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86029 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86030 cat >conftest.$ac_ext <<_ACEOF
86031 /* confdefs.h. */
86032 _ACEOF
86033 cat confdefs.h >>conftest.$ac_ext
86034 cat >>conftest.$ac_ext <<_ACEOF
86035 /* end confdefs.h. */
86037 int main(void)
86039 try { throw 1; }
86040 catch (...) { };
86041 return 0;
86045 main ()
86047 ac_sectionLDflags=yes
86049 return 0;
86051 _ACEOF
86052 rm -f conftest.$ac_objext
86053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86054 (eval $ac_compile) 2>conftest.er1
86055 ac_status=$?
86056 grep -v '^ *+' conftest.er1 >conftest.err
86057 rm -f conftest.er1
86058 cat conftest.err >&5
86059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86060 (exit $ac_status); } &&
86061 { ac_try='test -z "$ac_c_werror_flag"
86062 || test ! -s conftest.err'
86063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86064 (eval $ac_try) 2>&5
86065 ac_status=$?
86066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86067 (exit $ac_status); }; } &&
86068 { ac_try='test -s conftest.$ac_objext'
86069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86070 (eval $ac_try) 2>&5
86071 ac_status=$?
86072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86073 (exit $ac_status); }; }; then
86074 ac_sectionLDflags=no
86075 else
86076 echo "$as_me: failed program was:" >&5
86077 sed 's/^/| /' conftest.$ac_ext >&5
86079 ac_sectionLDflags=yes
86081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86082 if test "$ac_test_CFLAGS" = set; then
86083 CFLAGS="$ac_save_CFLAGS"
86084 else
86085 # this is the suspicious part
86086 CFLAGS=''
86088 if test "$ac_sectionLDflags" = "yes"; then
86089 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86091 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
86092 echo "${ECHO_T}$ac_sectionLDflags" >&6
86095 # Set -z,relro.
86096 # Note this is only for shared objects.
86097 ac_ld_relro=no
86098 if test x"$with_gnu_ld" = x"yes"; then
86099 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86100 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86101 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86102 if test -n "$cxx_z_relo"; then
86103 OPT_LDFLAGS="-Wl,-z,relro"
86104 ac_ld_relro=yes
86106 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86107 echo "${ECHO_T}$ac_ld_relro" >&6
86110 # Set linker optimization flags.
86111 if test x"$with_gnu_ld" = x"yes"; then
86112 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86120 echo "$as_me:$LINENO: checking for main in -lm" >&5
86121 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86122 if test "${ac_cv_lib_m_main+set}" = set; then
86123 echo $ECHO_N "(cached) $ECHO_C" >&6
86124 else
86125 ac_check_lib_save_LIBS=$LIBS
86126 LIBS="-lm $LIBS"
86127 if test x$gcc_no_link = xyes; then
86128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86130 { (exit 1); exit 1; }; }
86132 cat >conftest.$ac_ext <<_ACEOF
86133 /* confdefs.h. */
86134 _ACEOF
86135 cat confdefs.h >>conftest.$ac_ext
86136 cat >>conftest.$ac_ext <<_ACEOF
86137 /* end confdefs.h. */
86141 main ()
86143 main ();
86145 return 0;
86147 _ACEOF
86148 rm -f conftest.$ac_objext conftest$ac_exeext
86149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86150 (eval $ac_link) 2>conftest.er1
86151 ac_status=$?
86152 grep -v '^ *+' conftest.er1 >conftest.err
86153 rm -f conftest.er1
86154 cat conftest.err >&5
86155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86156 (exit $ac_status); } &&
86157 { ac_try='test -z "$ac_c_werror_flag"
86158 || test ! -s conftest.err'
86159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86160 (eval $ac_try) 2>&5
86161 ac_status=$?
86162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86163 (exit $ac_status); }; } &&
86164 { ac_try='test -s conftest$ac_exeext'
86165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86166 (eval $ac_try) 2>&5
86167 ac_status=$?
86168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86169 (exit $ac_status); }; }; then
86170 ac_cv_lib_m_main=yes
86171 else
86172 echo "$as_me: failed program was:" >&5
86173 sed 's/^/| /' conftest.$ac_ext >&5
86175 ac_cv_lib_m_main=no
86177 rm -f conftest.err conftest.$ac_objext \
86178 conftest$ac_exeext conftest.$ac_ext
86179 LIBS=$ac_check_lib_save_LIBS
86181 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86182 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86183 if test $ac_cv_lib_m_main = yes; then
86184 cat >>confdefs.h <<_ACEOF
86185 #define HAVE_LIBM 1
86186 _ACEOF
86188 LIBS="-lm $LIBS"
86193 for ac_func in copysignf
86195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86196 echo "$as_me:$LINENO: checking for $ac_func" >&5
86197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86198 if eval "test \"\${$as_ac_var+set}\" = set"; then
86199 echo $ECHO_N "(cached) $ECHO_C" >&6
86200 else
86201 if test x$gcc_no_link = xyes; then
86202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86204 { (exit 1); exit 1; }; }
86206 cat >conftest.$ac_ext <<_ACEOF
86207 /* confdefs.h. */
86208 _ACEOF
86209 cat confdefs.h >>conftest.$ac_ext
86210 cat >>conftest.$ac_ext <<_ACEOF
86211 /* end confdefs.h. */
86212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86214 #define $ac_func innocuous_$ac_func
86216 /* System header to define __stub macros and hopefully few prototypes,
86217 which can conflict with char $ac_func (); below.
86218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86219 <limits.h> exists even on freestanding compilers. */
86221 #ifdef __STDC__
86222 # include <limits.h>
86223 #else
86224 # include <assert.h>
86225 #endif
86227 #undef $ac_func
86229 /* Override any gcc2 internal prototype to avoid an error. */
86230 #ifdef __cplusplus
86231 extern "C"
86233 #endif
86234 /* We use char because int might match the return type of a gcc2
86235 builtin and then its argument prototype would still apply. */
86236 char $ac_func ();
86237 /* The GNU C library defines this for functions which it implements
86238 to always fail with ENOSYS. Some functions are actually named
86239 something starting with __ and the normal name is an alias. */
86240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86241 choke me
86242 #else
86243 char (*f) () = $ac_func;
86244 #endif
86245 #ifdef __cplusplus
86247 #endif
86250 main ()
86252 return f != $ac_func;
86254 return 0;
86256 _ACEOF
86257 rm -f conftest.$ac_objext conftest$ac_exeext
86258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86259 (eval $ac_link) 2>conftest.er1
86260 ac_status=$?
86261 grep -v '^ *+' conftest.er1 >conftest.err
86262 rm -f conftest.er1
86263 cat conftest.err >&5
86264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86265 (exit $ac_status); } &&
86266 { ac_try='test -z "$ac_c_werror_flag"
86267 || test ! -s conftest.err'
86268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86269 (eval $ac_try) 2>&5
86270 ac_status=$?
86271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86272 (exit $ac_status); }; } &&
86273 { ac_try='test -s conftest$ac_exeext'
86274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86275 (eval $ac_try) 2>&5
86276 ac_status=$?
86277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86278 (exit $ac_status); }; }; then
86279 eval "$as_ac_var=yes"
86280 else
86281 echo "$as_me: failed program was:" >&5
86282 sed 's/^/| /' conftest.$ac_ext >&5
86284 eval "$as_ac_var=no"
86286 rm -f conftest.err conftest.$ac_objext \
86287 conftest$ac_exeext conftest.$ac_ext
86289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86291 if test `eval echo '${'$as_ac_var'}'` = yes; then
86292 cat >>confdefs.h <<_ACEOF
86293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86294 _ACEOF
86296 else
86297 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86299 done
86303 for ac_func in __signbit
86305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86306 echo "$as_me:$LINENO: checking for $ac_func" >&5
86307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86308 if eval "test \"\${$as_ac_var+set}\" = set"; then
86309 echo $ECHO_N "(cached) $ECHO_C" >&6
86310 else
86311 if test x$gcc_no_link = xyes; then
86312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86314 { (exit 1); exit 1; }; }
86316 cat >conftest.$ac_ext <<_ACEOF
86317 /* confdefs.h. */
86318 _ACEOF
86319 cat confdefs.h >>conftest.$ac_ext
86320 cat >>conftest.$ac_ext <<_ACEOF
86321 /* end confdefs.h. */
86322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86324 #define $ac_func innocuous_$ac_func
86326 /* System header to define __stub macros and hopefully few prototypes,
86327 which can conflict with char $ac_func (); below.
86328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86329 <limits.h> exists even on freestanding compilers. */
86331 #ifdef __STDC__
86332 # include <limits.h>
86333 #else
86334 # include <assert.h>
86335 #endif
86337 #undef $ac_func
86339 /* Override any gcc2 internal prototype to avoid an error. */
86340 #ifdef __cplusplus
86341 extern "C"
86343 #endif
86344 /* We use char because int might match the return type of a gcc2
86345 builtin and then its argument prototype would still apply. */
86346 char $ac_func ();
86347 /* The GNU C library defines this for functions which it implements
86348 to always fail with ENOSYS. Some functions are actually named
86349 something starting with __ and the normal name is an alias. */
86350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86351 choke me
86352 #else
86353 char (*f) () = $ac_func;
86354 #endif
86355 #ifdef __cplusplus
86357 #endif
86360 main ()
86362 return f != $ac_func;
86364 return 0;
86366 _ACEOF
86367 rm -f conftest.$ac_objext conftest$ac_exeext
86368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86369 (eval $ac_link) 2>conftest.er1
86370 ac_status=$?
86371 grep -v '^ *+' conftest.er1 >conftest.err
86372 rm -f conftest.er1
86373 cat conftest.err >&5
86374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86375 (exit $ac_status); } &&
86376 { ac_try='test -z "$ac_c_werror_flag"
86377 || test ! -s conftest.err'
86378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86379 (eval $ac_try) 2>&5
86380 ac_status=$?
86381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86382 (exit $ac_status); }; } &&
86383 { ac_try='test -s conftest$ac_exeext'
86384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86385 (eval $ac_try) 2>&5
86386 ac_status=$?
86387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86388 (exit $ac_status); }; }; then
86389 eval "$as_ac_var=yes"
86390 else
86391 echo "$as_me: failed program was:" >&5
86392 sed 's/^/| /' conftest.$ac_ext >&5
86394 eval "$as_ac_var=no"
86396 rm -f conftest.err conftest.$ac_objext \
86397 conftest$ac_exeext conftest.$ac_ext
86399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86401 if test `eval echo '${'$as_ac_var'}'` = yes; then
86402 cat >>confdefs.h <<_ACEOF
86403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86404 _ACEOF
86406 else
86407 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86409 done
86413 for ac_func in __signbitf
86415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86416 echo "$as_me:$LINENO: checking for $ac_func" >&5
86417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86418 if eval "test \"\${$as_ac_var+set}\" = set"; then
86419 echo $ECHO_N "(cached) $ECHO_C" >&6
86420 else
86421 if test x$gcc_no_link = xyes; then
86422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86424 { (exit 1); exit 1; }; }
86426 cat >conftest.$ac_ext <<_ACEOF
86427 /* confdefs.h. */
86428 _ACEOF
86429 cat confdefs.h >>conftest.$ac_ext
86430 cat >>conftest.$ac_ext <<_ACEOF
86431 /* end confdefs.h. */
86432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86434 #define $ac_func innocuous_$ac_func
86436 /* System header to define __stub macros and hopefully few prototypes,
86437 which can conflict with char $ac_func (); below.
86438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86439 <limits.h> exists even on freestanding compilers. */
86441 #ifdef __STDC__
86442 # include <limits.h>
86443 #else
86444 # include <assert.h>
86445 #endif
86447 #undef $ac_func
86449 /* Override any gcc2 internal prototype to avoid an error. */
86450 #ifdef __cplusplus
86451 extern "C"
86453 #endif
86454 /* We use char because int might match the return type of a gcc2
86455 builtin and then its argument prototype would still apply. */
86456 char $ac_func ();
86457 /* The GNU C library defines this for functions which it implements
86458 to always fail with ENOSYS. Some functions are actually named
86459 something starting with __ and the normal name is an alias. */
86460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86461 choke me
86462 #else
86463 char (*f) () = $ac_func;
86464 #endif
86465 #ifdef __cplusplus
86467 #endif
86470 main ()
86472 return f != $ac_func;
86474 return 0;
86476 _ACEOF
86477 rm -f conftest.$ac_objext conftest$ac_exeext
86478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86479 (eval $ac_link) 2>conftest.er1
86480 ac_status=$?
86481 grep -v '^ *+' conftest.er1 >conftest.err
86482 rm -f conftest.er1
86483 cat conftest.err >&5
86484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86485 (exit $ac_status); } &&
86486 { ac_try='test -z "$ac_c_werror_flag"
86487 || test ! -s conftest.err'
86488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86489 (eval $ac_try) 2>&5
86490 ac_status=$?
86491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86492 (exit $ac_status); }; } &&
86493 { ac_try='test -s conftest$ac_exeext'
86494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86495 (eval $ac_try) 2>&5
86496 ac_status=$?
86497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86498 (exit $ac_status); }; }; then
86499 eval "$as_ac_var=yes"
86500 else
86501 echo "$as_me: failed program was:" >&5
86502 sed 's/^/| /' conftest.$ac_ext >&5
86504 eval "$as_ac_var=no"
86506 rm -f conftest.err conftest.$ac_objext \
86507 conftest$ac_exeext conftest.$ac_ext
86509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86511 if test `eval echo '${'$as_ac_var'}'` = yes; then
86512 cat >>confdefs.h <<_ACEOF
86513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86514 _ACEOF
86516 else
86517 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86519 done
86522 if test x$ac_cv_func_copysignl = x"yes"; then
86524 for ac_func in __signbitl
86526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86527 echo "$as_me:$LINENO: checking for $ac_func" >&5
86528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86529 if eval "test \"\${$as_ac_var+set}\" = set"; then
86530 echo $ECHO_N "(cached) $ECHO_C" >&6
86531 else
86532 if test x$gcc_no_link = xyes; then
86533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86535 { (exit 1); exit 1; }; }
86537 cat >conftest.$ac_ext <<_ACEOF
86538 /* confdefs.h. */
86539 _ACEOF
86540 cat confdefs.h >>conftest.$ac_ext
86541 cat >>conftest.$ac_ext <<_ACEOF
86542 /* end confdefs.h. */
86543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86545 #define $ac_func innocuous_$ac_func
86547 /* System header to define __stub macros and hopefully few prototypes,
86548 which can conflict with char $ac_func (); below.
86549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86550 <limits.h> exists even on freestanding compilers. */
86552 #ifdef __STDC__
86553 # include <limits.h>
86554 #else
86555 # include <assert.h>
86556 #endif
86558 #undef $ac_func
86560 /* Override any gcc2 internal prototype to avoid an error. */
86561 #ifdef __cplusplus
86562 extern "C"
86564 #endif
86565 /* We use char because int might match the return type of a gcc2
86566 builtin and then its argument prototype would still apply. */
86567 char $ac_func ();
86568 /* The GNU C library defines this for functions which it implements
86569 to always fail with ENOSYS. Some functions are actually named
86570 something starting with __ and the normal name is an alias. */
86571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86572 choke me
86573 #else
86574 char (*f) () = $ac_func;
86575 #endif
86576 #ifdef __cplusplus
86578 #endif
86581 main ()
86583 return f != $ac_func;
86585 return 0;
86587 _ACEOF
86588 rm -f conftest.$ac_objext conftest$ac_exeext
86589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86590 (eval $ac_link) 2>conftest.er1
86591 ac_status=$?
86592 grep -v '^ *+' conftest.er1 >conftest.err
86593 rm -f conftest.er1
86594 cat conftest.err >&5
86595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86596 (exit $ac_status); } &&
86597 { ac_try='test -z "$ac_c_werror_flag"
86598 || test ! -s conftest.err'
86599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86600 (eval $ac_try) 2>&5
86601 ac_status=$?
86602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86603 (exit $ac_status); }; } &&
86604 { ac_try='test -s conftest$ac_exeext'
86605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86606 (eval $ac_try) 2>&5
86607 ac_status=$?
86608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86609 (exit $ac_status); }; }; then
86610 eval "$as_ac_var=yes"
86611 else
86612 echo "$as_me: failed program was:" >&5
86613 sed 's/^/| /' conftest.$ac_ext >&5
86615 eval "$as_ac_var=no"
86617 rm -f conftest.err conftest.$ac_objext \
86618 conftest$ac_exeext conftest.$ac_ext
86620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86622 if test `eval echo '${'$as_ac_var'}'` = yes; then
86623 cat >>confdefs.h <<_ACEOF
86624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86625 _ACEOF
86627 else
86628 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86630 done
86634 # Used in libmath/Makefile.am.
86635 if test -n "$LIBMATHOBJS"; then
86636 need_libmath=yes
86642 enable_iconv=no
86643 # Only continue checking if the ISO C99 headers exist and support is on.
86644 if test x"$enable_wchar_t" = xyes; then
86646 # Use iconv for wchar_t to char conversions. As such, check for
86647 # X/Open Portability Guide, version 2 features (XPG2).
86648 if test "${ac_cv_header_iconv_h+set}" = set; then
86649 echo "$as_me:$LINENO: checking for iconv.h" >&5
86650 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86651 if test "${ac_cv_header_iconv_h+set}" = set; then
86652 echo $ECHO_N "(cached) $ECHO_C" >&6
86654 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86655 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86656 else
86657 # Is the header compilable?
86658 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86659 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86660 cat >conftest.$ac_ext <<_ACEOF
86661 /* confdefs.h. */
86662 _ACEOF
86663 cat confdefs.h >>conftest.$ac_ext
86664 cat >>conftest.$ac_ext <<_ACEOF
86665 /* end confdefs.h. */
86666 $ac_includes_default
86667 #include <iconv.h>
86668 _ACEOF
86669 rm -f conftest.$ac_objext
86670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86671 (eval $ac_compile) 2>conftest.er1
86672 ac_status=$?
86673 grep -v '^ *+' conftest.er1 >conftest.err
86674 rm -f conftest.er1
86675 cat conftest.err >&5
86676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86677 (exit $ac_status); } &&
86678 { ac_try='test -z "$ac_c_werror_flag"
86679 || test ! -s conftest.err'
86680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86681 (eval $ac_try) 2>&5
86682 ac_status=$?
86683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86684 (exit $ac_status); }; } &&
86685 { ac_try='test -s conftest.$ac_objext'
86686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86687 (eval $ac_try) 2>&5
86688 ac_status=$?
86689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86690 (exit $ac_status); }; }; then
86691 ac_header_compiler=yes
86692 else
86693 echo "$as_me: failed program was:" >&5
86694 sed 's/^/| /' conftest.$ac_ext >&5
86696 ac_header_compiler=no
86698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86700 echo "${ECHO_T}$ac_header_compiler" >&6
86702 # Is the header present?
86703 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86704 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86705 cat >conftest.$ac_ext <<_ACEOF
86706 /* confdefs.h. */
86707 _ACEOF
86708 cat confdefs.h >>conftest.$ac_ext
86709 cat >>conftest.$ac_ext <<_ACEOF
86710 /* end confdefs.h. */
86711 #include <iconv.h>
86712 _ACEOF
86713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86715 ac_status=$?
86716 grep -v '^ *+' conftest.er1 >conftest.err
86717 rm -f conftest.er1
86718 cat conftest.err >&5
86719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86720 (exit $ac_status); } >/dev/null; then
86721 if test -s conftest.err; then
86722 ac_cpp_err=$ac_c_preproc_warn_flag
86723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86724 else
86725 ac_cpp_err=
86727 else
86728 ac_cpp_err=yes
86730 if test -z "$ac_cpp_err"; then
86731 ac_header_preproc=yes
86732 else
86733 echo "$as_me: failed program was:" >&5
86734 sed 's/^/| /' conftest.$ac_ext >&5
86736 ac_header_preproc=no
86738 rm -f conftest.err conftest.$ac_ext
86739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86740 echo "${ECHO_T}$ac_header_preproc" >&6
86742 # So? What about this header?
86743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86744 yes:no: )
86745 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86746 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86747 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86748 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86749 ac_header_preproc=yes
86751 no:yes:* )
86752 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86753 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86754 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86755 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86756 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86757 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86758 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86759 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86760 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86761 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86762 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86763 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86765 cat <<\_ASBOX
86766 ## ----------------------------------------- ##
86767 ## Report this to the package-unused lists. ##
86768 ## ----------------------------------------- ##
86769 _ASBOX
86771 sed "s/^/$as_me: WARNING: /" >&2
86773 esac
86774 echo "$as_me:$LINENO: checking for iconv.h" >&5
86775 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86776 if test "${ac_cv_header_iconv_h+set}" = set; then
86777 echo $ECHO_N "(cached) $ECHO_C" >&6
86778 else
86779 ac_cv_header_iconv_h=$ac_header_preproc
86781 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86782 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86785 if test $ac_cv_header_iconv_h = yes; then
86786 ac_has_iconv_h=yes
86787 else
86788 ac_has_iconv_h=no
86792 if test "${ac_cv_header_langinfo_h+set}" = set; then
86793 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86794 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86795 if test "${ac_cv_header_langinfo_h+set}" = set; then
86796 echo $ECHO_N "(cached) $ECHO_C" >&6
86798 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86799 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86800 else
86801 # Is the header compilable?
86802 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86803 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86804 cat >conftest.$ac_ext <<_ACEOF
86805 /* confdefs.h. */
86806 _ACEOF
86807 cat confdefs.h >>conftest.$ac_ext
86808 cat >>conftest.$ac_ext <<_ACEOF
86809 /* end confdefs.h. */
86810 $ac_includes_default
86811 #include <langinfo.h>
86812 _ACEOF
86813 rm -f conftest.$ac_objext
86814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86815 (eval $ac_compile) 2>conftest.er1
86816 ac_status=$?
86817 grep -v '^ *+' conftest.er1 >conftest.err
86818 rm -f conftest.er1
86819 cat conftest.err >&5
86820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86821 (exit $ac_status); } &&
86822 { ac_try='test -z "$ac_c_werror_flag"
86823 || test ! -s conftest.err'
86824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86825 (eval $ac_try) 2>&5
86826 ac_status=$?
86827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86828 (exit $ac_status); }; } &&
86829 { ac_try='test -s conftest.$ac_objext'
86830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86831 (eval $ac_try) 2>&5
86832 ac_status=$?
86833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86834 (exit $ac_status); }; }; then
86835 ac_header_compiler=yes
86836 else
86837 echo "$as_me: failed program was:" >&5
86838 sed 's/^/| /' conftest.$ac_ext >&5
86840 ac_header_compiler=no
86842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86844 echo "${ECHO_T}$ac_header_compiler" >&6
86846 # Is the header present?
86847 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86848 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86849 cat >conftest.$ac_ext <<_ACEOF
86850 /* confdefs.h. */
86851 _ACEOF
86852 cat confdefs.h >>conftest.$ac_ext
86853 cat >>conftest.$ac_ext <<_ACEOF
86854 /* end confdefs.h. */
86855 #include <langinfo.h>
86856 _ACEOF
86857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86858 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86859 ac_status=$?
86860 grep -v '^ *+' conftest.er1 >conftest.err
86861 rm -f conftest.er1
86862 cat conftest.err >&5
86863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86864 (exit $ac_status); } >/dev/null; then
86865 if test -s conftest.err; then
86866 ac_cpp_err=$ac_c_preproc_warn_flag
86867 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86868 else
86869 ac_cpp_err=
86871 else
86872 ac_cpp_err=yes
86874 if test -z "$ac_cpp_err"; then
86875 ac_header_preproc=yes
86876 else
86877 echo "$as_me: failed program was:" >&5
86878 sed 's/^/| /' conftest.$ac_ext >&5
86880 ac_header_preproc=no
86882 rm -f conftest.err conftest.$ac_ext
86883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86884 echo "${ECHO_T}$ac_header_preproc" >&6
86886 # So? What about this header?
86887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86888 yes:no: )
86889 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86890 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86891 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86892 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86893 ac_header_preproc=yes
86895 no:yes:* )
86896 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86897 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86898 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86899 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86900 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86901 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86902 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86903 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86904 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86905 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86906 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86907 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86909 cat <<\_ASBOX
86910 ## ----------------------------------------- ##
86911 ## Report this to the package-unused lists. ##
86912 ## ----------------------------------------- ##
86913 _ASBOX
86915 sed "s/^/$as_me: WARNING: /" >&2
86917 esac
86918 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86919 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86920 if test "${ac_cv_header_langinfo_h+set}" = set; then
86921 echo $ECHO_N "(cached) $ECHO_C" >&6
86922 else
86923 ac_cv_header_langinfo_h=$ac_header_preproc
86925 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86926 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86929 if test $ac_cv_header_langinfo_h = yes; then
86930 ac_has_langinfo_h=yes
86931 else
86932 ac_has_langinfo_h=no
86937 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86938 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86939 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86940 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86941 echo $ECHO_N "(cached) $ECHO_C" >&6
86942 else
86943 ac_check_lib_save_LIBS=$LIBS
86944 LIBS="-liconv $LIBS"
86945 if test x$gcc_no_link = xyes; then
86946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86948 { (exit 1); exit 1; }; }
86950 cat >conftest.$ac_ext <<_ACEOF
86951 /* confdefs.h. */
86952 _ACEOF
86953 cat confdefs.h >>conftest.$ac_ext
86954 cat >>conftest.$ac_ext <<_ACEOF
86955 /* end confdefs.h. */
86957 /* Override any gcc2 internal prototype to avoid an error. */
86958 #ifdef __cplusplus
86959 extern "C"
86960 #endif
86961 /* We use char because int might match the return type of a gcc2
86962 builtin and then its argument prototype would still apply. */
86963 char iconv ();
86965 main ()
86967 iconv ();
86969 return 0;
86971 _ACEOF
86972 rm -f conftest.$ac_objext conftest$ac_exeext
86973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86974 (eval $ac_link) 2>conftest.er1
86975 ac_status=$?
86976 grep -v '^ *+' conftest.er1 >conftest.err
86977 rm -f conftest.er1
86978 cat conftest.err >&5
86979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86980 (exit $ac_status); } &&
86981 { ac_try='test -z "$ac_c_werror_flag"
86982 || test ! -s conftest.err'
86983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86984 (eval $ac_try) 2>&5
86985 ac_status=$?
86986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86987 (exit $ac_status); }; } &&
86988 { ac_try='test -s conftest$ac_exeext'
86989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86990 (eval $ac_try) 2>&5
86991 ac_status=$?
86992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86993 (exit $ac_status); }; }; then
86994 ac_cv_lib_iconv_iconv=yes
86995 else
86996 echo "$as_me: failed program was:" >&5
86997 sed 's/^/| /' conftest.$ac_ext >&5
86999 ac_cv_lib_iconv_iconv=no
87001 rm -f conftest.err conftest.$ac_objext \
87002 conftest$ac_exeext conftest.$ac_ext
87003 LIBS=$ac_check_lib_save_LIBS
87005 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
87006 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
87007 if test $ac_cv_lib_iconv_iconv = yes; then
87008 LIBICONV="-liconv"
87011 ac_save_LIBS="$LIBS"
87012 LIBS="$LIBS $LIBICONV"
87019 for ac_func in iconv_open iconv_close iconv nl_langinfo
87021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87022 echo "$as_me:$LINENO: checking for $ac_func" >&5
87023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87024 if eval "test \"\${$as_ac_var+set}\" = set"; then
87025 echo $ECHO_N "(cached) $ECHO_C" >&6
87026 else
87027 if test x$gcc_no_link = xyes; then
87028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87030 { (exit 1); exit 1; }; }
87032 cat >conftest.$ac_ext <<_ACEOF
87033 /* confdefs.h. */
87034 _ACEOF
87035 cat confdefs.h >>conftest.$ac_ext
87036 cat >>conftest.$ac_ext <<_ACEOF
87037 /* end confdefs.h. */
87038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87040 #define $ac_func innocuous_$ac_func
87042 /* System header to define __stub macros and hopefully few prototypes,
87043 which can conflict with char $ac_func (); below.
87044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87045 <limits.h> exists even on freestanding compilers. */
87047 #ifdef __STDC__
87048 # include <limits.h>
87049 #else
87050 # include <assert.h>
87051 #endif
87053 #undef $ac_func
87055 /* Override any gcc2 internal prototype to avoid an error. */
87056 #ifdef __cplusplus
87057 extern "C"
87059 #endif
87060 /* We use char because int might match the return type of a gcc2
87061 builtin and then its argument prototype would still apply. */
87062 char $ac_func ();
87063 /* The GNU C library defines this for functions which it implements
87064 to always fail with ENOSYS. Some functions are actually named
87065 something starting with __ and the normal name is an alias. */
87066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87067 choke me
87068 #else
87069 char (*f) () = $ac_func;
87070 #endif
87071 #ifdef __cplusplus
87073 #endif
87076 main ()
87078 return f != $ac_func;
87080 return 0;
87082 _ACEOF
87083 rm -f conftest.$ac_objext conftest$ac_exeext
87084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87085 (eval $ac_link) 2>conftest.er1
87086 ac_status=$?
87087 grep -v '^ *+' conftest.er1 >conftest.err
87088 rm -f conftest.er1
87089 cat conftest.err >&5
87090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87091 (exit $ac_status); } &&
87092 { ac_try='test -z "$ac_c_werror_flag"
87093 || test ! -s conftest.err'
87094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87095 (eval $ac_try) 2>&5
87096 ac_status=$?
87097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87098 (exit $ac_status); }; } &&
87099 { ac_try='test -s conftest$ac_exeext'
87100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87101 (eval $ac_try) 2>&5
87102 ac_status=$?
87103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87104 (exit $ac_status); }; }; then
87105 eval "$as_ac_var=yes"
87106 else
87107 echo "$as_me: failed program was:" >&5
87108 sed 's/^/| /' conftest.$ac_ext >&5
87110 eval "$as_ac_var=no"
87112 rm -f conftest.err conftest.$ac_objext \
87113 conftest$ac_exeext conftest.$ac_ext
87115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87117 if test `eval echo '${'$as_ac_var'}'` = yes; then
87118 cat >>confdefs.h <<_ACEOF
87119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87120 _ACEOF
87121 ac_XPG2funcs=yes
87122 else
87123 ac_XPG2funcs=no
87125 done
87128 LIBS="$ac_save_LIBS"
87130 if test x"$ac_has_iconv_h" = xyes &&
87131 test x"$ac_has_langinfo_h" = xyes &&
87132 test x"$ac_XPG2funcs" = xyes;
87133 then
87135 cat >>confdefs.h <<\_ACEOF
87136 #define _GLIBCXX_USE_ICONV 1
87137 _ACEOF
87139 enable_iconv=yes
87142 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
87143 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
87144 echo "$as_me:$LINENO: result: $enable_iconv" >&5
87145 echo "${ECHO_T}$enable_iconv" >&6
87147 cat >>confdefs.h <<\_ACEOF
87148 #define HAVE_COPYSIGN 1
87149 _ACEOF
87151 cat >>confdefs.h <<\_ACEOF
87152 #define HAVE_COPYSIGNF 1
87153 _ACEOF
87155 cat >>confdefs.h <<\_ACEOF
87156 #define HAVE_FINITE 1
87157 _ACEOF
87159 cat >>confdefs.h <<\_ACEOF
87160 #define HAVE_FINITEF 1
87161 _ACEOF
87163 cat >>confdefs.h <<\_ACEOF
87164 #define HAVE_FREXPF 1
87165 _ACEOF
87167 cat >>confdefs.h <<\_ACEOF
87168 #define HAVE_HYPOTF 1
87169 _ACEOF
87171 cat >>confdefs.h <<\_ACEOF
87172 #define HAVE_ISINF 1
87173 _ACEOF
87175 cat >>confdefs.h <<\_ACEOF
87176 #define HAVE_ISINFF 1
87177 _ACEOF
87179 cat >>confdefs.h <<\_ACEOF
87180 #define HAVE_ISNAN 1
87181 _ACEOF
87183 cat >>confdefs.h <<\_ACEOF
87184 #define HAVE_ISNANF 1
87185 _ACEOF
87187 cat >>confdefs.h <<\_ACEOF
87188 #define HAVE_SINCOS 1
87189 _ACEOF
87191 cat >>confdefs.h <<\_ACEOF
87192 #define HAVE_SINCOSF 1
87193 _ACEOF
87195 if test x"long_double_math_on_this_cpu" = x"yes"; then
87196 cat >>confdefs.h <<\_ACEOF
87197 #define HAVE_FINITEL 1
87198 _ACEOF
87200 cat >>confdefs.h <<\_ACEOF
87201 #define HAVE_HYPOTL 1
87202 _ACEOF
87204 cat >>confdefs.h <<\_ACEOF
87205 #define HAVE_ISINFL 1
87206 _ACEOF
87208 cat >>confdefs.h <<\_ACEOF
87209 #define HAVE_ISNANL 1
87210 _ACEOF
87214 *-vxworks)
87215 cat >>confdefs.h <<\_ACEOF
87216 #define HAVE_MMAP 1
87217 _ACEOF
87219 cat >>confdefs.h <<\_ACEOF
87220 #define HAVE_ACOSF 1
87221 _ACEOF
87223 cat >>confdefs.h <<\_ACEOF
87224 #define HAVE_ASINF 1
87225 _ACEOF
87227 cat >>confdefs.h <<\_ACEOF
87228 #define HAVE_ATAN2F 1
87229 _ACEOF
87231 cat >>confdefs.h <<\_ACEOF
87232 #define HAVE_ATANF 1
87233 _ACEOF
87235 cat >>confdefs.h <<\_ACEOF
87236 #define HAVE_CEILF 1
87237 _ACEOF
87239 cat >>confdefs.h <<\_ACEOF
87240 #define HAVE_COSF 1
87241 _ACEOF
87243 cat >>confdefs.h <<\_ACEOF
87244 #define HAVE_COSHF 1
87245 _ACEOF
87247 cat >>confdefs.h <<\_ACEOF
87248 #define HAVE_EXPF 1
87249 _ACEOF
87251 cat >>confdefs.h <<\_ACEOF
87252 #define HAVE_FABSF 1
87253 _ACEOF
87255 cat >>confdefs.h <<\_ACEOF
87256 #define HAVE_FLOORF 1
87257 _ACEOF
87259 cat >>confdefs.h <<\_ACEOF
87260 #define HAVE_FMODF 1
87261 _ACEOF
87263 cat >>confdefs.h <<\_ACEOF
87264 #define HAVE_HYPOT 1
87265 _ACEOF
87267 cat >>confdefs.h <<\_ACEOF
87268 #define HAVE_LOG10F 1
87269 _ACEOF
87271 cat >>confdefs.h <<\_ACEOF
87272 #define HAVE_LOGF 1
87273 _ACEOF
87275 cat >>confdefs.h <<\_ACEOF
87276 #define HAVE_POWF 1
87277 _ACEOF
87279 cat >>confdefs.h <<\_ACEOF
87280 #define HAVE_SINF 1
87281 _ACEOF
87283 cat >>confdefs.h <<\_ACEOF
87284 #define HAVE_SINHF 1
87285 _ACEOF
87287 cat >>confdefs.h <<\_ACEOF
87288 #define HAVE_SQRTF 1
87289 _ACEOF
87291 cat >>confdefs.h <<\_ACEOF
87292 #define HAVE_TANF 1
87293 _ACEOF
87295 cat >>confdefs.h <<\_ACEOF
87296 #define HAVE_TANHF 1
87297 _ACEOF
87300 *-windiss*)
87301 cat >>confdefs.h <<\_ACEOF
87302 #define HAVE_ACOSF 1
87303 _ACEOF
87305 cat >>confdefs.h <<\_ACEOF
87306 #define HAVE_ACOSL 1
87307 _ACEOF
87309 cat >>confdefs.h <<\_ACEOF
87310 #define HAVE_ASINF 1
87311 _ACEOF
87313 cat >>confdefs.h <<\_ACEOF
87314 #define HAVE_ASINL 1
87315 _ACEOF
87317 cat >>confdefs.h <<\_ACEOF
87318 #define HAVE_ATAN2F 1
87319 _ACEOF
87321 cat >>confdefs.h <<\_ACEOF
87322 #define HAVE_ATAN2L 1
87323 _ACEOF
87325 cat >>confdefs.h <<\_ACEOF
87326 #define HAVE_ATANF 1
87327 _ACEOF
87329 cat >>confdefs.h <<\_ACEOF
87330 #define HAVE_ATANL 1
87331 _ACEOF
87333 cat >>confdefs.h <<\_ACEOF
87334 #define HAVE_CEILF 1
87335 _ACEOF
87337 cat >>confdefs.h <<\_ACEOF
87338 #define HAVE_CEILL 1
87339 _ACEOF
87341 cat >>confdefs.h <<\_ACEOF
87342 #define HAVE_COPYSIGN 1
87343 _ACEOF
87345 cat >>confdefs.h <<\_ACEOF
87346 #define HAVE_COPYSIGNF 1
87347 _ACEOF
87349 cat >>confdefs.h <<\_ACEOF
87350 #define HAVE_COSF 1
87351 _ACEOF
87353 cat >>confdefs.h <<\_ACEOF
87354 #define HAVE_COSL 1
87355 _ACEOF
87357 cat >>confdefs.h <<\_ACEOF
87358 #define HAVE_COSHF 1
87359 _ACEOF
87361 cat >>confdefs.h <<\_ACEOF
87362 #define HAVE_COSHL 1
87363 _ACEOF
87365 cat >>confdefs.h <<\_ACEOF
87366 #define HAVE_EXPF 1
87367 _ACEOF
87369 cat >>confdefs.h <<\_ACEOF
87370 #define HAVE_EXPL 1
87371 _ACEOF
87373 cat >>confdefs.h <<\_ACEOF
87374 #define HAVE_FABSF 1
87375 _ACEOF
87377 cat >>confdefs.h <<\_ACEOF
87378 #define HAVE_FABSL 1
87379 _ACEOF
87381 cat >>confdefs.h <<\_ACEOF
87382 #define HAVE_FLOORF 1
87383 _ACEOF
87385 cat >>confdefs.h <<\_ACEOF
87386 #define HAVE_FLOORL 1
87387 _ACEOF
87389 cat >>confdefs.h <<\_ACEOF
87390 #define HAVE_FMODF 1
87391 _ACEOF
87393 cat >>confdefs.h <<\_ACEOF
87394 #define HAVE_FMODL 1
87395 _ACEOF
87397 cat >>confdefs.h <<\_ACEOF
87398 #define HAVE_FREXPF 1
87399 _ACEOF
87401 cat >>confdefs.h <<\_ACEOF
87402 #define HAVE_FREXPL 1
87403 _ACEOF
87405 cat >>confdefs.h <<\_ACEOF
87406 #define HAVE_LDEXPF 1
87407 _ACEOF
87409 cat >>confdefs.h <<\_ACEOF
87410 #define HAVE_LDEXPL 1
87411 _ACEOF
87413 cat >>confdefs.h <<\_ACEOF
87414 #define HAVE_LOG10F 1
87415 _ACEOF
87417 cat >>confdefs.h <<\_ACEOF
87418 #define HAVE_LOG10L 1
87419 _ACEOF
87421 cat >>confdefs.h <<\_ACEOF
87422 #define HAVE_LOGF 1
87423 _ACEOF
87425 cat >>confdefs.h <<\_ACEOF
87426 #define HAVE_MODFF 1
87427 _ACEOF
87429 cat >>confdefs.h <<\_ACEOF
87430 #define HAVE_MODFL 1
87431 _ACEOF
87433 cat >>confdefs.h <<\_ACEOF
87434 #define HAVE_POWF 1
87435 _ACEOF
87437 cat >>confdefs.h <<\_ACEOF
87438 #define HAVE_POWL 1
87439 _ACEOF
87441 cat >>confdefs.h <<\_ACEOF
87442 #define HAVE_SINF 1
87443 _ACEOF
87445 cat >>confdefs.h <<\_ACEOF
87446 #define HAVE_SINL 1
87447 _ACEOF
87449 cat >>confdefs.h <<\_ACEOF
87450 #define HAVE_SINHF 1
87451 _ACEOF
87453 cat >>confdefs.h <<\_ACEOF
87454 #define HAVE_SINHL 1
87455 _ACEOF
87457 cat >>confdefs.h <<\_ACEOF
87458 #define HAVE_SQRTF 1
87459 _ACEOF
87461 cat >>confdefs.h <<\_ACEOF
87462 #define HAVE_SQRTL 1
87463 _ACEOF
87465 cat >>confdefs.h <<\_ACEOF
87466 #define HAVE_TANF 1
87467 _ACEOF
87469 cat >>confdefs.h <<\_ACEOF
87470 #define HAVE_TANL 1
87471 _ACEOF
87473 cat >>confdefs.h <<\_ACEOF
87474 #define HAVE_TANHF 1
87475 _ACEOF
87477 cat >>confdefs.h <<\_ACEOF
87478 #define HAVE_TANHL 1
87479 _ACEOF
87483 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
87484 echo "$as_me: error: No support for this host/target combination." >&2;}
87485 { (exit 1); exit 1; }; }
87487 esac
87491 # At some point, we should differentiate between architectures
87492 # like x86, which have long double versions, and alpha/powerpc/etc.,
87493 # which don't. For the time being, punt.
87494 if test x"long_double_math_on_this_cpu" = x"yes"; then
87495 cat >>confdefs.h <<\_ACEOF
87496 #define HAVE_ACOSL 1
87497 _ACEOF
87499 cat >>confdefs.h <<\_ACEOF
87500 #define HAVE_ASINL 1
87501 _ACEOF
87503 cat >>confdefs.h <<\_ACEOF
87504 #define HAVE_ATAN2L 1
87505 _ACEOF
87507 cat >>confdefs.h <<\_ACEOF
87508 #define HAVE_ATANL 1
87509 _ACEOF
87511 cat >>confdefs.h <<\_ACEOF
87512 #define HAVE_CEILL 1
87513 _ACEOF
87515 cat >>confdefs.h <<\_ACEOF
87516 #define HAVE_COPYSIGNL 1
87517 _ACEOF
87519 cat >>confdefs.h <<\_ACEOF
87520 #define HAVE_COSL 1
87521 _ACEOF
87523 cat >>confdefs.h <<\_ACEOF
87524 #define HAVE_COSHL 1
87525 _ACEOF
87527 cat >>confdefs.h <<\_ACEOF
87528 #define HAVE_EXPL 1
87529 _ACEOF
87531 cat >>confdefs.h <<\_ACEOF
87532 #define HAVE_FABSL 1
87533 _ACEOF
87535 cat >>confdefs.h <<\_ACEOF
87536 #define HAVE_FLOORL 1
87537 _ACEOF
87539 cat >>confdefs.h <<\_ACEOF
87540 #define HAVE_FMODL 1
87541 _ACEOF
87543 cat >>confdefs.h <<\_ACEOF
87544 #define HAVE_FREXPL 1
87545 _ACEOF
87547 cat >>confdefs.h <<\_ACEOF
87548 #define HAVE_LDEXPL 1
87549 _ACEOF
87551 cat >>confdefs.h <<\_ACEOF
87552 #define HAVE_LOG10L 1
87553 _ACEOF
87555 cat >>confdefs.h <<\_ACEOF
87556 #define HAVE_LOGL 1
87557 _ACEOF
87559 cat >>confdefs.h <<\_ACEOF
87560 #define HAVE_MODFL 1
87561 _ACEOF
87563 cat >>confdefs.h <<\_ACEOF
87564 #define HAVE_POWL 1
87565 _ACEOF
87567 cat >>confdefs.h <<\_ACEOF
87568 #define HAVE_SINCOSL 1
87569 _ACEOF
87571 cat >>confdefs.h <<\_ACEOF
87572 #define HAVE_SINL 1
87573 _ACEOF
87575 cat >>confdefs.h <<\_ACEOF
87576 #define HAVE_SINHL 1
87577 _ACEOF
87579 cat >>confdefs.h <<\_ACEOF
87580 #define HAVE_SQRTL 1
87581 _ACEOF
87583 cat >>confdefs.h <<\_ACEOF
87584 #define HAVE_TANL 1
87585 _ACEOF
87587 cat >>confdefs.h <<\_ACEOF
87588 #define HAVE_TANHL 1
87589 _ACEOF
87595 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
87598 # Check whether --enable-symvers or --disable-symvers was given.
87599 if test "${enable_symvers+set}" = set; then
87600 enableval="$enable_symvers"
87602 case "$enableval" in
87603 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
87604 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
87605 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
87606 { (exit 1); exit 1; }; } ;;
87607 esac
87609 else
87610 enable_symvers=yes
87614 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
87615 # don't know enough about $LD to do tricks...
87618 # Turn a 'yes' into a suitable default.
87619 if test x$enable_symvers = xyes ; then
87620 if test $enable_shared = no || test "x$LD" = x ; then
87621 enable_symvers=no
87622 else
87623 if test $with_gnu_ld = yes ; then
87624 enable_symvers=gnu
87625 else
87626 case ${target_os} in
87627 darwin*)
87628 enable_symvers=darwin ;;
87630 enable_symvers=no ;;
87631 esac
87636 # Check to see if 'darwin' or 'darwin-export' can win.
87637 if test x$enable_symvers = xdarwin-export ; then
87638 enable_symvers=darwin
87641 # Check to see if 'gnu' can win.
87642 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
87643 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
87644 echo "$as_me:$LINENO: checking for shared libgcc" >&5
87645 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
87646 ac_save_CFLAGS="$CFLAGS"
87647 CFLAGS=' -lgcc_s'
87648 if test x$gcc_no_link = xyes; then
87649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87651 { (exit 1); exit 1; }; }
87653 cat >conftest.$ac_ext <<_ACEOF
87654 /* confdefs.h. */
87655 _ACEOF
87656 cat confdefs.h >>conftest.$ac_ext
87657 cat >>conftest.$ac_ext <<_ACEOF
87658 /* end confdefs.h. */
87661 main ()
87663 return 0;
87665 return 0;
87667 _ACEOF
87668 rm -f conftest.$ac_objext conftest$ac_exeext
87669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87670 (eval $ac_link) 2>conftest.er1
87671 ac_status=$?
87672 grep -v '^ *+' conftest.er1 >conftest.err
87673 rm -f conftest.er1
87674 cat conftest.err >&5
87675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87676 (exit $ac_status); } &&
87677 { ac_try='test -z "$ac_c_werror_flag"
87678 || test ! -s conftest.err'
87679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87680 (eval $ac_try) 2>&5
87681 ac_status=$?
87682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87683 (exit $ac_status); }; } &&
87684 { ac_try='test -s conftest$ac_exeext'
87685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87686 (eval $ac_try) 2>&5
87687 ac_status=$?
87688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87689 (exit $ac_status); }; }; then
87690 glibcxx_shared_libgcc=yes
87691 else
87692 echo "$as_me: failed program was:" >&5
87693 sed 's/^/| /' conftest.$ac_ext >&5
87695 glibcxx_shared_libgcc=no
87697 rm -f conftest.err conftest.$ac_objext \
87698 conftest$ac_exeext conftest.$ac_ext
87699 CFLAGS="$ac_save_CFLAGS"
87700 if test $glibcxx_shared_libgcc = no; then
87701 cat > conftest.c <<EOF
87702 int main (void) { return 0; }
87704 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
87705 -shared -shared-libgcc -o conftest.so \
87706 conftest.c -v 2>&1 >/dev/null \
87707 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
87708 rm -f conftest.c conftest.so
87709 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
87710 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
87711 if test x$gcc_no_link = xyes; then
87712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87714 { (exit 1); exit 1; }; }
87716 cat >conftest.$ac_ext <<_ACEOF
87717 /* confdefs.h. */
87718 _ACEOF
87719 cat confdefs.h >>conftest.$ac_ext
87720 cat >>conftest.$ac_ext <<_ACEOF
87721 /* end confdefs.h. */
87724 main ()
87726 return 0;
87728 return 0;
87730 _ACEOF
87731 rm -f conftest.$ac_objext conftest$ac_exeext
87732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87733 (eval $ac_link) 2>conftest.er1
87734 ac_status=$?
87735 grep -v '^ *+' conftest.er1 >conftest.err
87736 rm -f conftest.er1
87737 cat conftest.err >&5
87738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87739 (exit $ac_status); } &&
87740 { ac_try='test -z "$ac_c_werror_flag"
87741 || test ! -s conftest.err'
87742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87743 (eval $ac_try) 2>&5
87744 ac_status=$?
87745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87746 (exit $ac_status); }; } &&
87747 { ac_try='test -s conftest$ac_exeext'
87748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87749 (eval $ac_try) 2>&5
87750 ac_status=$?
87751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87752 (exit $ac_status); }; }; then
87753 glibcxx_shared_libgcc=yes
87754 else
87755 echo "$as_me: failed program was:" >&5
87756 sed 's/^/| /' conftest.$ac_ext >&5
87759 rm -f conftest.err conftest.$ac_objext \
87760 conftest$ac_exeext conftest.$ac_ext
87761 CFLAGS="$ac_save_CFLAGS"
87764 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
87765 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
87767 # For GNU ld, we need at least this version. The format is described in
87768 # GLIBCXX_CHECK_LINKER_FEATURES above.
87769 glibcxx_min_gnu_ld_version=21400
87771 # If no shared libgcc, can't win.
87772 if test $glibcxx_shared_libgcc != yes; then
87773 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87774 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87775 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
87776 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
87777 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87778 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87779 enable_symvers=no
87780 elif test $with_gnu_ld != yes ; then
87781 # just fail for now
87782 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87783 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87784 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
87785 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
87786 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87787 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87788 enable_symvers=no
87789 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
87790 # The right tools, the right setup, but too old. Fallbacks?
87791 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
87792 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
87793 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
87794 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
87795 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
87796 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
87797 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
87798 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
87799 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87800 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87801 enable_symvers=no
87805 # Everything parsed; figure out what file to use.
87806 case $enable_symvers in
87808 SYMVER_FILE=config/abi/pre/none.ver
87810 gnu)
87811 SYMVER_FILE=config/abi/pre/gnu.ver
87813 cat >>confdefs.h <<\_ACEOF
87814 #define _GLIBCXX_SYMVER_GNU 1
87815 _ACEOF
87818 gnu-versioned-namespace)
87819 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
87821 cat >>confdefs.h <<\_ACEOF
87822 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
87823 _ACEOF
87826 darwin)
87827 SYMVER_FILE=config/abi/pre/gnu.ver
87829 cat >>confdefs.h <<\_ACEOF
87830 #define _GLIBCXX_SYMVER_DARWIN 1
87831 _ACEOF
87834 esac
87836 if test x$enable_symvers != xno ; then
87838 cat >>confdefs.h <<\_ACEOF
87839 #define _GLIBCXX_SYMVER 1
87840 _ACEOF
87850 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
87851 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
87853 # Now, set up compatibility support, if any.
87854 # In addition, need this to deal with std::size_t mangling in
87855 # src/compatibility.cc. In a perfect world, could use
87856 # typeid(std::size_t).name()[0] to do direct substitution.
87857 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
87858 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
87859 ac_save_CFLAGS="$CFLAGS"
87860 CFLAGS="-Werror"
87861 cat >conftest.$ac_ext <<_ACEOF
87862 /* confdefs.h. */
87863 _ACEOF
87864 cat confdefs.h >>conftest.$ac_ext
87865 cat >>conftest.$ac_ext <<_ACEOF
87866 /* end confdefs.h. */
87869 main ()
87871 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
87873 return 0;
87875 _ACEOF
87876 rm -f conftest.$ac_objext
87877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87878 (eval $ac_compile) 2>conftest.er1
87879 ac_status=$?
87880 grep -v '^ *+' conftest.er1 >conftest.err
87881 rm -f conftest.er1
87882 cat conftest.err >&5
87883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87884 (exit $ac_status); } &&
87885 { ac_try='test -z "$ac_c_werror_flag"
87886 || test ! -s conftest.err'
87887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87888 (eval $ac_try) 2>&5
87889 ac_status=$?
87890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87891 (exit $ac_status); }; } &&
87892 { ac_try='test -s conftest.$ac_objext'
87893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87894 (eval $ac_try) 2>&5
87895 ac_status=$?
87896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87897 (exit $ac_status); }; }; then
87898 glibcxx_size_t_is_i=yes
87899 else
87900 echo "$as_me: failed program was:" >&5
87901 sed 's/^/| /' conftest.$ac_ext >&5
87903 glibcxx_size_t_is_i=no
87905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87906 CFLAGS=$ac_save_CFLAGS
87907 if test "$glibcxx_size_t_is_i" = yes; then
87909 cat >>confdefs.h <<\_ACEOF
87910 #define _GLIBCXX_SIZE_T_IS_UINT 1
87911 _ACEOF
87914 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
87915 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
87917 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
87918 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
87919 ac_save_CFLAGS="$CFLAGS"
87920 CFLAGS="-Werror"
87921 cat >conftest.$ac_ext <<_ACEOF
87922 /* confdefs.h. */
87923 _ACEOF
87924 cat confdefs.h >>conftest.$ac_ext
87925 cat >>conftest.$ac_ext <<_ACEOF
87926 /* end confdefs.h. */
87929 main ()
87931 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
87933 return 0;
87935 _ACEOF
87936 rm -f conftest.$ac_objext
87937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87938 (eval $ac_compile) 2>conftest.er1
87939 ac_status=$?
87940 grep -v '^ *+' conftest.er1 >conftest.err
87941 rm -f conftest.er1
87942 cat conftest.err >&5
87943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87944 (exit $ac_status); } &&
87945 { ac_try='test -z "$ac_c_werror_flag"
87946 || test ! -s conftest.err'
87947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87948 (eval $ac_try) 2>&5
87949 ac_status=$?
87950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87951 (exit $ac_status); }; } &&
87952 { ac_try='test -s conftest.$ac_objext'
87953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87954 (eval $ac_try) 2>&5
87955 ac_status=$?
87956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87957 (exit $ac_status); }; }; then
87958 glibcxx_ptrdiff_t_is_i=yes
87959 else
87960 echo "$as_me: failed program was:" >&5
87961 sed 's/^/| /' conftest.$ac_ext >&5
87963 glibcxx_ptrdiff_t_is_i=no
87965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87966 CFLAGS=$ac_save_CFLAGS
87967 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
87969 cat >>confdefs.h <<\_ACEOF
87970 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
87971 _ACEOF
87974 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
87975 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
87978 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
87980 if $GLIBCXX_IS_NATIVE ; then
87981 # Do checks for resource limit functions.
87983 setrlimit_have_headers=yes
87987 for ac_header in unistd.h sys/time.h sys/resource.h
87989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87991 echo "$as_me:$LINENO: checking for $ac_header" >&5
87992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87994 echo $ECHO_N "(cached) $ECHO_C" >&6
87996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87998 else
87999 # Is the header compilable?
88000 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88001 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88002 cat >conftest.$ac_ext <<_ACEOF
88003 /* confdefs.h. */
88004 _ACEOF
88005 cat confdefs.h >>conftest.$ac_ext
88006 cat >>conftest.$ac_ext <<_ACEOF
88007 /* end confdefs.h. */
88008 $ac_includes_default
88009 #include <$ac_header>
88010 _ACEOF
88011 rm -f conftest.$ac_objext
88012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88013 (eval $ac_compile) 2>conftest.er1
88014 ac_status=$?
88015 grep -v '^ *+' conftest.er1 >conftest.err
88016 rm -f conftest.er1
88017 cat conftest.err >&5
88018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88019 (exit $ac_status); } &&
88020 { ac_try='test -z "$ac_c_werror_flag"
88021 || test ! -s conftest.err'
88022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88023 (eval $ac_try) 2>&5
88024 ac_status=$?
88025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88026 (exit $ac_status); }; } &&
88027 { ac_try='test -s conftest.$ac_objext'
88028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88029 (eval $ac_try) 2>&5
88030 ac_status=$?
88031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88032 (exit $ac_status); }; }; then
88033 ac_header_compiler=yes
88034 else
88035 echo "$as_me: failed program was:" >&5
88036 sed 's/^/| /' conftest.$ac_ext >&5
88038 ac_header_compiler=no
88040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88042 echo "${ECHO_T}$ac_header_compiler" >&6
88044 # Is the header present?
88045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88047 cat >conftest.$ac_ext <<_ACEOF
88048 /* confdefs.h. */
88049 _ACEOF
88050 cat confdefs.h >>conftest.$ac_ext
88051 cat >>conftest.$ac_ext <<_ACEOF
88052 /* end confdefs.h. */
88053 #include <$ac_header>
88054 _ACEOF
88055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88057 ac_status=$?
88058 grep -v '^ *+' conftest.er1 >conftest.err
88059 rm -f conftest.er1
88060 cat conftest.err >&5
88061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88062 (exit $ac_status); } >/dev/null; then
88063 if test -s conftest.err; then
88064 ac_cpp_err=$ac_c_preproc_warn_flag
88065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88066 else
88067 ac_cpp_err=
88069 else
88070 ac_cpp_err=yes
88072 if test -z "$ac_cpp_err"; then
88073 ac_header_preproc=yes
88074 else
88075 echo "$as_me: failed program was:" >&5
88076 sed 's/^/| /' conftest.$ac_ext >&5
88078 ac_header_preproc=no
88080 rm -f conftest.err conftest.$ac_ext
88081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88082 echo "${ECHO_T}$ac_header_preproc" >&6
88084 # So? What about this header?
88085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88086 yes:no: )
88087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88091 ac_header_preproc=yes
88093 no:yes:* )
88094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88107 cat <<\_ASBOX
88108 ## ----------------------------------------- ##
88109 ## Report this to the package-unused lists. ##
88110 ## ----------------------------------------- ##
88111 _ASBOX
88113 sed "s/^/$as_me: WARNING: /" >&2
88115 esac
88116 echo "$as_me:$LINENO: checking for $ac_header" >&5
88117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88119 echo $ECHO_N "(cached) $ECHO_C" >&6
88120 else
88121 eval "$as_ac_Header=\$ac_header_preproc"
88123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88128 cat >>confdefs.h <<_ACEOF
88129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88130 _ACEOF
88132 else
88133 setrlimit_have_headers=no
88136 done
88138 # If don't have the headers, then we can't run the tests now, and we
88139 # won't be seeing any of these during testsuite compilation.
88140 if test $setrlimit_have_headers = yes; then
88141 # Can't do these in a loop, else the resulting syntax is wrong.
88143 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
88144 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
88145 cat >conftest.$ac_ext <<_ACEOF
88146 /* confdefs.h. */
88147 _ACEOF
88148 cat confdefs.h >>conftest.$ac_ext
88149 cat >>conftest.$ac_ext <<_ACEOF
88150 /* end confdefs.h. */
88151 #include <unistd.h>
88152 #include <sys/time.h>
88153 #include <sys/resource.h>
88156 main ()
88158 int f = RLIMIT_DATA ;
88160 return 0;
88162 _ACEOF
88163 rm -f conftest.$ac_objext
88164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88165 (eval $ac_compile) 2>conftest.er1
88166 ac_status=$?
88167 grep -v '^ *+' conftest.er1 >conftest.err
88168 rm -f conftest.er1
88169 cat conftest.err >&5
88170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88171 (exit $ac_status); } &&
88172 { ac_try='test -z "$ac_c_werror_flag"
88173 || test ! -s conftest.err'
88174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88175 (eval $ac_try) 2>&5
88176 ac_status=$?
88177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88178 (exit $ac_status); }; } &&
88179 { ac_try='test -s conftest.$ac_objext'
88180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88181 (eval $ac_try) 2>&5
88182 ac_status=$?
88183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88184 (exit $ac_status); }; }; then
88185 glibcxx_mresult=1
88186 else
88187 echo "$as_me: failed program was:" >&5
88188 sed 's/^/| /' conftest.$ac_ext >&5
88190 glibcxx_mresult=0
88192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88194 cat >>confdefs.h <<_ACEOF
88195 #define HAVE_LIMIT_DATA $glibcxx_mresult
88196 _ACEOF
88198 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88199 echo "$as_me:$LINENO: result: $res" >&5
88200 echo "${ECHO_T}$res" >&6
88203 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
88204 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
88205 cat >conftest.$ac_ext <<_ACEOF
88206 /* confdefs.h. */
88207 _ACEOF
88208 cat confdefs.h >>conftest.$ac_ext
88209 cat >>conftest.$ac_ext <<_ACEOF
88210 /* end confdefs.h. */
88211 #include <unistd.h>
88212 #include <sys/time.h>
88213 #include <sys/resource.h>
88216 main ()
88218 int f = RLIMIT_RSS ;
88220 return 0;
88222 _ACEOF
88223 rm -f conftest.$ac_objext
88224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88225 (eval $ac_compile) 2>conftest.er1
88226 ac_status=$?
88227 grep -v '^ *+' conftest.er1 >conftest.err
88228 rm -f conftest.er1
88229 cat conftest.err >&5
88230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88231 (exit $ac_status); } &&
88232 { ac_try='test -z "$ac_c_werror_flag"
88233 || test ! -s conftest.err'
88234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88235 (eval $ac_try) 2>&5
88236 ac_status=$?
88237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88238 (exit $ac_status); }; } &&
88239 { ac_try='test -s conftest.$ac_objext'
88240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88241 (eval $ac_try) 2>&5
88242 ac_status=$?
88243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88244 (exit $ac_status); }; }; then
88245 glibcxx_mresult=1
88246 else
88247 echo "$as_me: failed program was:" >&5
88248 sed 's/^/| /' conftest.$ac_ext >&5
88250 glibcxx_mresult=0
88252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88254 cat >>confdefs.h <<_ACEOF
88255 #define HAVE_LIMIT_RSS $glibcxx_mresult
88256 _ACEOF
88258 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88259 echo "$as_me:$LINENO: result: $res" >&5
88260 echo "${ECHO_T}$res" >&6
88263 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
88264 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
88265 cat >conftest.$ac_ext <<_ACEOF
88266 /* confdefs.h. */
88267 _ACEOF
88268 cat confdefs.h >>conftest.$ac_ext
88269 cat >>conftest.$ac_ext <<_ACEOF
88270 /* end confdefs.h. */
88271 #include <unistd.h>
88272 #include <sys/time.h>
88273 #include <sys/resource.h>
88276 main ()
88278 int f = RLIMIT_VMEM ;
88280 return 0;
88282 _ACEOF
88283 rm -f conftest.$ac_objext
88284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88285 (eval $ac_compile) 2>conftest.er1
88286 ac_status=$?
88287 grep -v '^ *+' conftest.er1 >conftest.err
88288 rm -f conftest.er1
88289 cat conftest.err >&5
88290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88291 (exit $ac_status); } &&
88292 { ac_try='test -z "$ac_c_werror_flag"
88293 || test ! -s conftest.err'
88294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88295 (eval $ac_try) 2>&5
88296 ac_status=$?
88297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88298 (exit $ac_status); }; } &&
88299 { ac_try='test -s conftest.$ac_objext'
88300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88301 (eval $ac_try) 2>&5
88302 ac_status=$?
88303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88304 (exit $ac_status); }; }; then
88305 glibcxx_mresult=1
88306 else
88307 echo "$as_me: failed program was:" >&5
88308 sed 's/^/| /' conftest.$ac_ext >&5
88310 glibcxx_mresult=0
88312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88314 cat >>confdefs.h <<_ACEOF
88315 #define HAVE_LIMIT_VMEM $glibcxx_mresult
88316 _ACEOF
88318 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88319 echo "$as_me:$LINENO: result: $res" >&5
88320 echo "${ECHO_T}$res" >&6
88323 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
88324 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
88325 cat >conftest.$ac_ext <<_ACEOF
88326 /* confdefs.h. */
88327 _ACEOF
88328 cat confdefs.h >>conftest.$ac_ext
88329 cat >>conftest.$ac_ext <<_ACEOF
88330 /* end confdefs.h. */
88331 #include <unistd.h>
88332 #include <sys/time.h>
88333 #include <sys/resource.h>
88336 main ()
88338 int f = RLIMIT_AS ;
88340 return 0;
88342 _ACEOF
88343 rm -f conftest.$ac_objext
88344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88345 (eval $ac_compile) 2>conftest.er1
88346 ac_status=$?
88347 grep -v '^ *+' conftest.er1 >conftest.err
88348 rm -f conftest.er1
88349 cat conftest.err >&5
88350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88351 (exit $ac_status); } &&
88352 { ac_try='test -z "$ac_c_werror_flag"
88353 || test ! -s conftest.err'
88354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88355 (eval $ac_try) 2>&5
88356 ac_status=$?
88357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88358 (exit $ac_status); }; } &&
88359 { ac_try='test -s conftest.$ac_objext'
88360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88361 (eval $ac_try) 2>&5
88362 ac_status=$?
88363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88364 (exit $ac_status); }; }; then
88365 glibcxx_mresult=1
88366 else
88367 echo "$as_me: failed program was:" >&5
88368 sed 's/^/| /' conftest.$ac_ext >&5
88370 glibcxx_mresult=0
88372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88374 cat >>confdefs.h <<_ACEOF
88375 #define HAVE_LIMIT_AS $glibcxx_mresult
88376 _ACEOF
88378 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88379 echo "$as_me:$LINENO: result: $res" >&5
88380 echo "${ECHO_T}$res" >&6
88383 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
88384 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
88385 cat >conftest.$ac_ext <<_ACEOF
88386 /* confdefs.h. */
88387 _ACEOF
88388 cat confdefs.h >>conftest.$ac_ext
88389 cat >>conftest.$ac_ext <<_ACEOF
88390 /* end confdefs.h. */
88391 #include <unistd.h>
88392 #include <sys/time.h>
88393 #include <sys/resource.h>
88396 main ()
88398 int f = RLIMIT_FSIZE ;
88400 return 0;
88402 _ACEOF
88403 rm -f conftest.$ac_objext
88404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88405 (eval $ac_compile) 2>conftest.er1
88406 ac_status=$?
88407 grep -v '^ *+' conftest.er1 >conftest.err
88408 rm -f conftest.er1
88409 cat conftest.err >&5
88410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88411 (exit $ac_status); } &&
88412 { ac_try='test -z "$ac_c_werror_flag"
88413 || test ! -s conftest.err'
88414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88415 (eval $ac_try) 2>&5
88416 ac_status=$?
88417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88418 (exit $ac_status); }; } &&
88419 { ac_try='test -s conftest.$ac_objext'
88420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88421 (eval $ac_try) 2>&5
88422 ac_status=$?
88423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88424 (exit $ac_status); }; }; then
88425 glibcxx_mresult=1
88426 else
88427 echo "$as_me: failed program was:" >&5
88428 sed 's/^/| /' conftest.$ac_ext >&5
88430 glibcxx_mresult=0
88432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88434 cat >>confdefs.h <<_ACEOF
88435 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
88436 _ACEOF
88438 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88439 echo "$as_me:$LINENO: result: $res" >&5
88440 echo "${ECHO_T}$res" >&6
88443 # Check for rlimit, setrlimit.
88444 if test "${ac_setrlimit+set}" = set; then
88445 echo $ECHO_N "(cached) $ECHO_C" >&6
88446 else
88448 cat >conftest.$ac_ext <<_ACEOF
88449 /* confdefs.h. */
88450 _ACEOF
88451 cat confdefs.h >>conftest.$ac_ext
88452 cat >>conftest.$ac_ext <<_ACEOF
88453 /* end confdefs.h. */
88454 #include <unistd.h>
88455 #include <sys/time.h>
88456 #include <sys/resource.h>
88459 main ()
88461 struct rlimit r;
88462 setrlimit(0, &r);
88464 return 0;
88466 _ACEOF
88467 rm -f conftest.$ac_objext
88468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88469 (eval $ac_compile) 2>conftest.er1
88470 ac_status=$?
88471 grep -v '^ *+' conftest.er1 >conftest.err
88472 rm -f conftest.er1
88473 cat conftest.err >&5
88474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88475 (exit $ac_status); } &&
88476 { ac_try='test -z "$ac_c_werror_flag"
88477 || test ! -s conftest.err'
88478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88479 (eval $ac_try) 2>&5
88480 ac_status=$?
88481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88482 (exit $ac_status); }; } &&
88483 { ac_try='test -s conftest.$ac_objext'
88484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88485 (eval $ac_try) 2>&5
88486 ac_status=$?
88487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88488 (exit $ac_status); }; }; then
88489 ac_setrlimit=yes
88490 else
88491 echo "$as_me: failed program was:" >&5
88492 sed 's/^/| /' conftest.$ac_ext >&5
88494 ac_setrlimit=no
88496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88502 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
88503 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
88504 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
88505 ac_res_limits=yes
88507 cat >>confdefs.h <<\_ACEOF
88508 #define _GLIBCXX_RES_LIMITS 1
88509 _ACEOF
88511 else
88512 ac_res_limits=no
88514 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
88515 echo "${ECHO_T}$ac_res_limits" >&6
88518 # Look for setenv, so that extended locale tests can be performed.
88520 echo "$as_me:$LINENO: checking for setenv declaration" >&5
88521 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
88522 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
88523 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
88524 echo $ECHO_N "(cached) $ECHO_C" >&6
88525 else
88529 ac_ext=cc
88530 ac_cpp='$CXXCPP $CPPFLAGS'
88531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88535 cat >conftest.$ac_ext <<_ACEOF
88536 /* confdefs.h. */
88537 _ACEOF
88538 cat confdefs.h >>conftest.$ac_ext
88539 cat >>conftest.$ac_ext <<_ACEOF
88540 /* end confdefs.h. */
88541 #include <stdlib.h>
88543 main ()
88545 setenv(0, 0, 0);
88547 return 0;
88549 _ACEOF
88550 rm -f conftest.$ac_objext
88551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88552 (eval $ac_compile) 2>conftest.er1
88553 ac_status=$?
88554 grep -v '^ *+' conftest.er1 >conftest.err
88555 rm -f conftest.er1
88556 cat conftest.err >&5
88557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88558 (exit $ac_status); } &&
88559 { ac_try='test -z "$ac_cxx_werror_flag"
88560 || test ! -s conftest.err'
88561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88562 (eval $ac_try) 2>&5
88563 ac_status=$?
88564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88565 (exit $ac_status); }; } &&
88566 { ac_try='test -s conftest.$ac_objext'
88567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88568 (eval $ac_try) 2>&5
88569 ac_status=$?
88570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88571 (exit $ac_status); }; }; then
88572 glibcxx_cv_func_setenv_use=yes
88573 else
88574 echo "$as_me: failed program was:" >&5
88575 sed 's/^/| /' conftest.$ac_ext >&5
88577 glibcxx_cv_func_setenv_use=no
88579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88580 ac_ext=c
88581 ac_cpp='$CPP $CPPFLAGS'
88582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88590 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
88591 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
88592 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
88594 for ac_func in setenv
88596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88597 echo "$as_me:$LINENO: checking for $ac_func" >&5
88598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88599 if eval "test \"\${$as_ac_var+set}\" = set"; then
88600 echo $ECHO_N "(cached) $ECHO_C" >&6
88601 else
88602 if test x$gcc_no_link = xyes; then
88603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88605 { (exit 1); exit 1; }; }
88607 cat >conftest.$ac_ext <<_ACEOF
88608 /* confdefs.h. */
88609 _ACEOF
88610 cat confdefs.h >>conftest.$ac_ext
88611 cat >>conftest.$ac_ext <<_ACEOF
88612 /* end confdefs.h. */
88613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88615 #define $ac_func innocuous_$ac_func
88617 /* System header to define __stub macros and hopefully few prototypes,
88618 which can conflict with char $ac_func (); below.
88619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88620 <limits.h> exists even on freestanding compilers. */
88622 #ifdef __STDC__
88623 # include <limits.h>
88624 #else
88625 # include <assert.h>
88626 #endif
88628 #undef $ac_func
88630 /* Override any gcc2 internal prototype to avoid an error. */
88631 #ifdef __cplusplus
88632 extern "C"
88634 #endif
88635 /* We use char because int might match the return type of a gcc2
88636 builtin and then its argument prototype would still apply. */
88637 char $ac_func ();
88638 /* The GNU C library defines this for functions which it implements
88639 to always fail with ENOSYS. Some functions are actually named
88640 something starting with __ and the normal name is an alias. */
88641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88642 choke me
88643 #else
88644 char (*f) () = $ac_func;
88645 #endif
88646 #ifdef __cplusplus
88648 #endif
88651 main ()
88653 return f != $ac_func;
88655 return 0;
88657 _ACEOF
88658 rm -f conftest.$ac_objext conftest$ac_exeext
88659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88660 (eval $ac_link) 2>conftest.er1
88661 ac_status=$?
88662 grep -v '^ *+' conftest.er1 >conftest.err
88663 rm -f conftest.er1
88664 cat conftest.err >&5
88665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88666 (exit $ac_status); } &&
88667 { ac_try='test -z "$ac_c_werror_flag"
88668 || test ! -s conftest.err'
88669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88670 (eval $ac_try) 2>&5
88671 ac_status=$?
88672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88673 (exit $ac_status); }; } &&
88674 { ac_try='test -s conftest$ac_exeext'
88675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88676 (eval $ac_try) 2>&5
88677 ac_status=$?
88678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88679 (exit $ac_status); }; }; then
88680 eval "$as_ac_var=yes"
88681 else
88682 echo "$as_me: failed program was:" >&5
88683 sed 's/^/| /' conftest.$ac_ext >&5
88685 eval "$as_ac_var=no"
88687 rm -f conftest.err conftest.$ac_objext \
88688 conftest$ac_exeext conftest.$ac_ext
88690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88692 if test `eval echo '${'$as_ac_var'}'` = yes; then
88693 cat >>confdefs.h <<_ACEOF
88694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88695 _ACEOF
88698 done
88704 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
88705 test $enable_symvers != no; then
88706 case "$host" in
88707 *-*-cygwin*)
88708 enable_abi_check=no ;;
88710 enable_abi_check=yes ;;
88711 esac
88712 else
88713 # Only build this as native, since automake does not understand
88714 # CXX_FOR_BUILD.
88715 enable_abi_check=no
88718 # Export file names for ABI checking.
88719 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
88723 # Propagate the target-specific source directories through the build chain.
88724 ATOMICITY_SRCDIR=config/${atomicity_dir}
88725 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
88726 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
88727 OS_INC_SRCDIR=config/${os_include_dir}
88728 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
88735 # Determine cross-compile flags and AM_CONDITIONALs.
88736 #AC_SUBST(GLIBCXX_IS_NATIVE)
88737 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
88738 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
88739 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
88742 if test $is_hosted = yes; then
88743 GLIBCXX_HOSTED_TRUE=
88744 GLIBCXX_HOSTED_FALSE='#'
88745 else
88746 GLIBCXX_HOSTED_TRUE='#'
88747 GLIBCXX_HOSTED_FALSE=
88753 if test $enable_libstdcxx_pch = yes; then
88754 GLIBCXX_BUILD_PCH_TRUE=
88755 GLIBCXX_BUILD_PCH_FALSE='#'
88756 else
88757 GLIBCXX_BUILD_PCH_TRUE='#'
88758 GLIBCXX_BUILD_PCH_FALSE=
88764 if test $enable_cheaders = c; then
88765 GLIBCXX_C_HEADERS_C_TRUE=
88766 GLIBCXX_C_HEADERS_C_FALSE='#'
88767 else
88768 GLIBCXX_C_HEADERS_C_TRUE='#'
88769 GLIBCXX_C_HEADERS_C_FALSE=
88775 if test $enable_cheaders = c_std; then
88776 GLIBCXX_C_HEADERS_C_STD_TRUE=
88777 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
88778 else
88779 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
88780 GLIBCXX_C_HEADERS_C_STD_FALSE=
88786 if test $c_compatibility = yes; then
88787 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
88788 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
88789 else
88790 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
88791 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
88797 if test $enable_libstdcxx_debug = yes; then
88798 GLIBCXX_BUILD_DEBUG_TRUE=
88799 GLIBCXX_BUILD_DEBUG_FALSE='#'
88800 else
88801 GLIBCXX_BUILD_DEBUG_TRUE='#'
88802 GLIBCXX_BUILD_DEBUG_FALSE=
88808 if test $enable_symvers != no; then
88809 ENABLE_SYMVERS_TRUE=
88810 ENABLE_SYMVERS_FALSE='#'
88811 else
88812 ENABLE_SYMVERS_TRUE='#'
88813 ENABLE_SYMVERS_FALSE=
88819 if test $enable_symvers = gnu; then
88820 ENABLE_SYMVERS_GNU_TRUE=
88821 ENABLE_SYMVERS_GNU_FALSE='#'
88822 else
88823 ENABLE_SYMVERS_GNU_TRUE='#'
88824 ENABLE_SYMVERS_GNU_FALSE=
88830 if test $enable_symvers = gnu-versioned-namespace; then
88831 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
88832 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
88833 else
88834 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
88835 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
88841 if test $enable_symvers = darwin; then
88842 ENABLE_SYMVERS_DARWIN_TRUE=
88843 ENABLE_SYMVERS_DARWIN_FALSE='#'
88844 else
88845 ENABLE_SYMVERS_DARWIN_TRUE='#'
88846 ENABLE_SYMVERS_DARWIN_FALSE=
88852 cat >confcache <<\_ACEOF
88853 # This file is a shell script that caches the results of configure
88854 # tests run on this system so they can be shared between configure
88855 # scripts and configure runs, see configure's option --config-cache.
88856 # It is not useful on other systems. If it contains results you don't
88857 # want to keep, you may remove or edit it.
88859 # config.status only pays attention to the cache file if you give it
88860 # the --recheck option to rerun configure.
88862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88864 # following values.
88866 _ACEOF
88868 # The following way of writing the cache mishandles newlines in values,
88869 # but we know of no workaround that is simple, portable, and efficient.
88870 # So, don't put newlines in cache variables' values.
88871 # Ultrix sh set writes to stderr and can't be redirected directly,
88872 # and sets the high bit in the cache file unless we assign to the vars.
88874 (set) 2>&1 |
88875 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88876 *ac_space=\ *)
88877 # `set' does not quote correctly, so add quotes (double-quote
88878 # substitution turns \\\\ into \\, and sed turns \\ into \).
88879 sed -n \
88880 "s/'/'\\\\''/g;
88881 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88884 # `set' quotes correctly as required by POSIX, so do not add quotes.
88885 sed -n \
88886 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88888 esac;
88890 sed '
88891 t clear
88892 : clear
88893 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88894 t end
88895 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88896 : end' >>confcache
88897 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88898 if test -w $cache_file; then
88899 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88900 cat confcache >$cache_file
88901 else
88902 echo "not updating unwritable cache $cache_file"
88905 rm -f confcache
88907 if test ${multilib} = yes; then
88908 multilib_arg="--enable-multilib"
88909 else
88910 multilib_arg=
88913 # Export all the install information.
88915 glibcxx_toolexecdir=no
88916 glibcxx_toolexeclibdir=no
88917 glibcxx_prefixdir=$prefix
88919 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
88920 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
88922 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
88923 if test "${with_gxx_include_dir+set}" = set; then
88924 withval="$with_gxx_include_dir"
88925 case "$withval" in
88926 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
88927 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
88928 { (exit 1); exit 1; }; } ;;
88929 no) gxx_include_dir=no ;;
88930 *) gxx_include_dir=$withval ;;
88931 esac
88932 else
88933 gxx_include_dir=no
88935 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88936 echo "${ECHO_T}$gxx_include_dir" >&6
88938 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
88939 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
88940 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
88941 if test "${enable_version_specific_runtime_libs+set}" = set; then
88942 enableval="$enable_version_specific_runtime_libs"
88943 case "$enableval" in
88944 yes) version_specific_libs=yes ;;
88945 no) version_specific_libs=no ;;
88946 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
88947 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
88948 { (exit 1); exit 1; }; };;
88949 esac
88950 else
88951 version_specific_libs=no
88953 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
88954 echo "${ECHO_T}$version_specific_libs" >&6
88956 # Default case for install directory for include files.
88957 if test $version_specific_libs = no && test $gxx_include_dir = no; then
88958 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
88961 # Version-specific runtime libs processing.
88962 if test $version_specific_libs = yes; then
88963 # Need the gcc compiler version to know where to install libraries
88964 # and header files if --enable-version-specific-runtime-libs option
88965 # is selected. FIXME: these variables are misnamed, there are
88966 # no executables installed in _toolexecdir or _toolexeclibdir.
88967 if test x"$gxx_include_dir" = x"no"; then
88968 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
88970 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88971 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
88974 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
88975 # Install a library built with a cross compiler in tooldir, not libdir.
88976 if test x"$glibcxx_toolexecdir" = x"no"; then
88977 if test -n "$with_cross_host" &&
88978 test x"$with_cross_host" != x"no"; then
88979 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
88980 glibcxx_toolexeclibdir='${toolexecdir}/lib'
88981 else
88982 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88983 glibcxx_toolexeclibdir='${libdir}'
88985 multi_os_directory=`$CXX -print-multi-os-directory`
88986 case $multi_os_directory in
88987 .) ;; # Avoid trailing /.
88988 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
88989 esac
88992 echo "$as_me:$LINENO: checking for install location" >&5
88993 echo $ECHO_N "checking for install location... $ECHO_C" >&6
88994 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88995 echo "${ECHO_T}$gxx_include_dir" >&6
89003 # Export all the include and flag information to Makefiles.
89005 # Used for every C++ compile we perform.
89006 GLIBCXX_INCLUDES="\
89007 -I$glibcxx_builddir/include/$host_alias \
89008 -I$glibcxx_builddir/include \
89009 -I$glibcxx_srcdir/libsupc++"
89011 # For Canadian crosses, pick this up too.
89012 if test $CANADIAN = yes; then
89013 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
89016 # Stuff in the actual top level. Currently only used by libsupc++ to
89017 # get unwind* headers from the gcc dir.
89018 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
89019 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
89021 # Now, export this to all the little Makefiles....
89026 # Optimization flags that are probably a good idea for thrill-seekers. Just
89027 # uncomment the lines below and make, everything else is ready to go...
89028 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
89029 OPTIMIZE_CXXFLAGS=
89032 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
89036 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
89037 grep "enable shared" > /dev/null;
89038 then
89039 LIBSUPCXX_PICFLAGS=-prefer-pic
89040 else
89041 LIBSUPCXX_PICFLAGS=
89045 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
89047 ac_config_files="$ac_config_files scripts/testsuite_flags"
89050 ac_config_commands="$ac_config_commands default"
89053 cat >confcache <<\_ACEOF
89054 # This file is a shell script that caches the results of configure
89055 # tests run on this system so they can be shared between configure
89056 # scripts and configure runs, see configure's option --config-cache.
89057 # It is not useful on other systems. If it contains results you don't
89058 # want to keep, you may remove or edit it.
89060 # config.status only pays attention to the cache file if you give it
89061 # the --recheck option to rerun configure.
89063 # `ac_cv_env_foo' variables (set or unset) will be overridden when
89064 # loading this file, other *unset* `ac_cv_foo' will be assigned the
89065 # following values.
89067 _ACEOF
89069 # The following way of writing the cache mishandles newlines in values,
89070 # but we know of no workaround that is simple, portable, and efficient.
89071 # So, don't put newlines in cache variables' values.
89072 # Ultrix sh set writes to stderr and can't be redirected directly,
89073 # and sets the high bit in the cache file unless we assign to the vars.
89075 (set) 2>&1 |
89076 case `(ac_space=' '; set | grep ac_space) 2>&1` in
89077 *ac_space=\ *)
89078 # `set' does not quote correctly, so add quotes (double-quote
89079 # substitution turns \\\\ into \\, and sed turns \\ into \).
89080 sed -n \
89081 "s/'/'\\\\''/g;
89082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
89085 # `set' quotes correctly as required by POSIX, so do not add quotes.
89086 sed -n \
89087 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
89089 esac;
89091 sed '
89092 t clear
89093 : clear
89094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
89095 t end
89096 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
89097 : end' >>confcache
89098 if diff $cache_file confcache >/dev/null 2>&1; then :; else
89099 if test -w $cache_file; then
89100 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
89101 cat confcache >$cache_file
89102 else
89103 echo "not updating unwritable cache $cache_file"
89106 rm -f confcache
89108 test "x$prefix" = xNONE && prefix=$ac_default_prefix
89109 # Let make expand exec_prefix.
89110 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
89112 # VPATH may cause trouble with some makes, so we remove $(srcdir),
89113 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
89114 # trailing colons and then remove the whole line if VPATH becomes empty
89115 # (actually we leave an empty line to preserve line numbers).
89116 if test "x$srcdir" = x.; then
89117 ac_vpsub='/^[ ]*VPATH[ ]*=/{
89118 s/:*\$(srcdir):*/:/;
89119 s/:*\${srcdir}:*/:/;
89120 s/:*@srcdir@:*/:/;
89121 s/^\([^=]*=[ ]*\):*/\1/;
89122 s/:*$//;
89123 s/^[^=]*=[ ]*$//;
89127 DEFS=-DHAVE_CONFIG_H
89129 ac_libobjs=
89130 ac_ltlibobjs=
89131 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
89132 # 1. Remove the extension, and $U if already installed.
89133 ac_i=`echo "$ac_i" |
89134 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
89135 # 2. Add them.
89136 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
89137 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
89138 done
89139 LIBOBJS=$ac_libobjs
89141 LTLIBOBJS=$ac_ltlibobjs
89144 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
89145 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
89146 Usually this means the macro was only invoked conditionally." >&5
89147 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
89148 Usually this means the macro was only invoked conditionally." >&2;}
89149 { (exit 1); exit 1; }; }
89151 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
89152 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
89153 Usually this means the macro was only invoked conditionally." >&5
89154 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
89155 Usually this means the macro was only invoked conditionally." >&2;}
89156 { (exit 1); exit 1; }; }
89158 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
89159 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
89160 Usually this means the macro was only invoked conditionally." >&5
89161 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
89162 Usually this means the macro was only invoked conditionally." >&2;}
89163 { (exit 1); exit 1; }; }
89165 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
89166 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
89167 Usually this means the macro was only invoked conditionally." >&5
89168 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
89169 Usually this means the macro was only invoked conditionally." >&2;}
89170 { (exit 1); exit 1; }; }
89172 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
89173 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
89174 Usually this means the macro was only invoked conditionally." >&5
89175 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
89176 Usually this means the macro was only invoked conditionally." >&2;}
89177 { (exit 1); exit 1; }; }
89179 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
89180 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
89181 Usually this means the macro was only invoked conditionally." >&5
89182 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
89183 Usually this means the macro was only invoked conditionally." >&2;}
89184 { (exit 1); exit 1; }; }
89186 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
89187 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
89188 Usually this means the macro was only invoked conditionally." >&5
89189 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
89190 Usually this means the macro was only invoked conditionally." >&2;}
89191 { (exit 1); exit 1; }; }
89193 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
89194 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
89195 Usually this means the macro was only invoked conditionally." >&5
89196 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
89197 Usually this means the macro was only invoked conditionally." >&2;}
89198 { (exit 1); exit 1; }; }
89200 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
89201 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
89202 Usually this means the macro was only invoked conditionally." >&5
89203 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
89204 Usually this means the macro was only invoked conditionally." >&2;}
89205 { (exit 1); exit 1; }; }
89207 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
89208 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
89209 Usually this means the macro was only invoked conditionally." >&5
89210 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
89211 Usually this means the macro was only invoked conditionally." >&2;}
89212 { (exit 1); exit 1; }; }
89214 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
89215 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
89216 Usually this means the macro was only invoked conditionally." >&5
89217 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
89218 Usually this means the macro was only invoked conditionally." >&2;}
89219 { (exit 1); exit 1; }; }
89222 : ${CONFIG_STATUS=./config.status}
89223 ac_clean_files_save=$ac_clean_files
89224 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
89225 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
89226 echo "$as_me: creating $CONFIG_STATUS" >&6;}
89227 cat >$CONFIG_STATUS <<_ACEOF
89228 #! $SHELL
89229 # Generated by $as_me.
89230 # Run this file to recreate the current configuration.
89231 # Compiler output produced by configure, useful for debugging
89232 # configure, is in config.log if it exists.
89234 debug=false
89235 ac_cs_recheck=false
89236 ac_cs_silent=false
89237 SHELL=\${CONFIG_SHELL-$SHELL}
89238 _ACEOF
89240 cat >>$CONFIG_STATUS <<\_ACEOF
89241 ## --------------------- ##
89242 ## M4sh Initialization. ##
89243 ## --------------------- ##
89245 # Be Bourne compatible
89246 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
89247 emulate sh
89248 NULLCMD=:
89249 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
89250 # is contrary to our usage. Disable this feature.
89251 alias -g '${1+"$@"}'='"$@"'
89252 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
89253 set -o posix
89255 DUALCASE=1; export DUALCASE # for MKS sh
89257 # Support unset when possible.
89258 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
89259 as_unset=unset
89260 else
89261 as_unset=false
89265 # Work around bugs in pre-3.0 UWIN ksh.
89266 $as_unset ENV MAIL MAILPATH
89267 PS1='$ '
89268 PS2='> '
89269 PS4='+ '
89271 # NLS nuisances.
89272 for as_var in \
89273 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
89274 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
89275 LC_TELEPHONE LC_TIME
89277 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
89278 eval $as_var=C; export $as_var
89279 else
89280 $as_unset $as_var
89282 done
89284 # Required to use basename.
89285 if expr a : '\(a\)' >/dev/null 2>&1; then
89286 as_expr=expr
89287 else
89288 as_expr=false
89291 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
89292 as_basename=basename
89293 else
89294 as_basename=false
89298 # Name of the executable.
89299 as_me=`$as_basename "$0" ||
89300 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
89301 X"$0" : 'X\(//\)$' \| \
89302 X"$0" : 'X\(/\)$' \| \
89303 . : '\(.\)' 2>/dev/null ||
89304 echo X/"$0" |
89305 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
89306 /^X\/\(\/\/\)$/{ s//\1/; q; }
89307 /^X\/\(\/\).*/{ s//\1/; q; }
89308 s/.*/./; q'`
89311 # PATH needs CR, and LINENO needs CR and PATH.
89312 # Avoid depending upon Character Ranges.
89313 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
89314 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
89315 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
89316 as_cr_digits='0123456789'
89317 as_cr_alnum=$as_cr_Letters$as_cr_digits
89319 # The user is always right.
89320 if test "${PATH_SEPARATOR+set}" != set; then
89321 echo "#! /bin/sh" >conf$$.sh
89322 echo "exit 0" >>conf$$.sh
89323 chmod +x conf$$.sh
89324 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
89325 PATH_SEPARATOR=';'
89326 else
89327 PATH_SEPARATOR=:
89329 rm -f conf$$.sh
89333 as_lineno_1=$LINENO
89334 as_lineno_2=$LINENO
89335 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89336 test "x$as_lineno_1" != "x$as_lineno_2" &&
89337 test "x$as_lineno_3" = "x$as_lineno_2" || {
89338 # Find who we are. Look in the path if we contain no path at all
89339 # relative or not.
89340 case $0 in
89341 *[\\/]* ) as_myself=$0 ;;
89342 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89343 for as_dir in $PATH
89345 IFS=$as_save_IFS
89346 test -z "$as_dir" && as_dir=.
89347 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
89348 done
89351 esac
89352 # We did not find ourselves, most probably we were run as `sh COMMAND'
89353 # in which case we are not to be found in the path.
89354 if test "x$as_myself" = x; then
89355 as_myself=$0
89357 if test ! -f "$as_myself"; then
89358 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
89359 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
89360 { (exit 1); exit 1; }; }
89362 case $CONFIG_SHELL in
89364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89365 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
89367 IFS=$as_save_IFS
89368 test -z "$as_dir" && as_dir=.
89369 for as_base in sh bash ksh sh5; do
89370 case $as_dir in
89372 if ("$as_dir/$as_base" -c '
89373 as_lineno_1=$LINENO
89374 as_lineno_2=$LINENO
89375 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89376 test "x$as_lineno_1" != "x$as_lineno_2" &&
89377 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
89378 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
89379 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
89380 CONFIG_SHELL=$as_dir/$as_base
89381 export CONFIG_SHELL
89382 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
89383 fi;;
89384 esac
89385 done
89386 done
89388 esac
89390 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
89391 # uniformly replaced by the line number. The first 'sed' inserts a
89392 # line-number line before each line; the second 'sed' does the real
89393 # work. The second script uses 'N' to pair each line-number line
89394 # with the numbered line, and appends trailing '-' during
89395 # substitution so that $LINENO is not a special case at line end.
89396 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
89397 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
89398 sed '=' <$as_myself |
89399 sed '
89401 s,$,-,
89402 : loop
89403 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
89404 t loop
89405 s,-$,,
89406 s,^['$as_cr_digits']*\n,,
89407 ' >$as_me.lineno &&
89408 chmod +x $as_me.lineno ||
89409 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
89410 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
89411 { (exit 1); exit 1; }; }
89413 # Don't try to exec as it changes $[0], causing all sort of problems
89414 # (the dirname of $[0] is not the place where we might find the
89415 # original and so on. Autoconf is especially sensible to this).
89416 . ./$as_me.lineno
89417 # Exit status is that of the last command.
89418 exit
89422 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
89423 *c*,-n*) ECHO_N= ECHO_C='
89424 ' ECHO_T=' ' ;;
89425 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
89426 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
89427 esac
89429 if expr a : '\(a\)' >/dev/null 2>&1; then
89430 as_expr=expr
89431 else
89432 as_expr=false
89435 rm -f conf$$ conf$$.exe conf$$.file
89436 echo >conf$$.file
89437 if ln -s conf$$.file conf$$ 2>/dev/null; then
89438 # We could just check for DJGPP; but this test a) works b) is more generic
89439 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
89440 if test -f conf$$.exe; then
89441 # Don't use ln at all; we don't have any links
89442 as_ln_s='cp -p'
89443 else
89444 as_ln_s='ln -s'
89446 elif ln conf$$.file conf$$ 2>/dev/null; then
89447 as_ln_s=ln
89448 else
89449 as_ln_s='cp -p'
89451 rm -f conf$$ conf$$.exe conf$$.file
89453 if mkdir -p . 2>/dev/null; then
89454 as_mkdir_p=:
89455 else
89456 test -d ./-p && rmdir ./-p
89457 as_mkdir_p=false
89460 as_executable_p="test -f"
89462 # Sed expression to map a string onto a valid CPP name.
89463 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
89465 # Sed expression to map a string onto a valid variable name.
89466 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
89469 # IFS
89470 # We need space, tab and new line, in precisely that order.
89471 as_nl='
89473 IFS=" $as_nl"
89475 # CDPATH.
89476 $as_unset CDPATH
89478 exec 6>&1
89480 # Open the log real soon, to keep \$[0] and so on meaningful, and to
89481 # report actual input values of CONFIG_FILES etc. instead of their
89482 # values after options handling. Logging --version etc. is OK.
89483 exec 5>>config.log
89485 echo
89486 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
89487 ## Running $as_me. ##
89488 _ASBOX
89489 } >&5
89490 cat >&5 <<_CSEOF
89492 This file was extended by package-unused $as_me version-unused, which was
89493 generated by GNU Autoconf 2.59. Invocation command line was
89495 CONFIG_FILES = $CONFIG_FILES
89496 CONFIG_HEADERS = $CONFIG_HEADERS
89497 CONFIG_LINKS = $CONFIG_LINKS
89498 CONFIG_COMMANDS = $CONFIG_COMMANDS
89499 $ $0 $@
89501 _CSEOF
89502 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
89503 echo >&5
89504 _ACEOF
89506 # Files that config.status was made for.
89507 if test -n "$ac_config_files"; then
89508 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
89511 if test -n "$ac_config_headers"; then
89512 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
89515 if test -n "$ac_config_links"; then
89516 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
89519 if test -n "$ac_config_commands"; then
89520 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
89523 cat >>$CONFIG_STATUS <<\_ACEOF
89525 ac_cs_usage="\
89526 \`$as_me' instantiates files from templates according to the
89527 current configuration.
89529 Usage: $0 [OPTIONS] [FILE]...
89531 -h, --help print this help, then exit
89532 -V, --version print version number, then exit
89533 -q, --quiet do not print progress messages
89534 -d, --debug don't remove temporary files
89535 --recheck update $as_me by reconfiguring in the same conditions
89536 --file=FILE[:TEMPLATE]
89537 instantiate the configuration file FILE
89538 --header=FILE[:TEMPLATE]
89539 instantiate the configuration header FILE
89541 Configuration files:
89542 $config_files
89544 Configuration headers:
89545 $config_headers
89547 Configuration commands:
89548 $config_commands
89550 Report bugs to <bug-autoconf@gnu.org>."
89551 _ACEOF
89553 cat >>$CONFIG_STATUS <<_ACEOF
89554 ac_cs_version="\\
89555 package-unused config.status version-unused
89556 configured by $0, generated by GNU Autoconf 2.59,
89557 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
89559 Copyright (C) 2003 Free Software Foundation, Inc.
89560 This config.status script is free software; the Free Software Foundation
89561 gives unlimited permission to copy, distribute and modify it."
89562 srcdir=$srcdir
89563 INSTALL="$INSTALL"
89564 _ACEOF
89566 cat >>$CONFIG_STATUS <<\_ACEOF
89567 # If no file are specified by the user, then we need to provide default
89568 # value. By we need to know if files were specified by the user.
89569 ac_need_defaults=:
89570 while test $# != 0
89572 case $1 in
89573 --*=*)
89574 ac_option=`expr "x$1" : 'x\([^=]*\)='`
89575 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
89576 ac_shift=:
89579 ac_option=$1
89580 ac_optarg=$2
89581 ac_shift=shift
89583 *) # This is not an option, so the user has probably given explicit
89584 # arguments.
89585 ac_option=$1
89586 ac_need_defaults=false;;
89587 esac
89589 case $ac_option in
89590 # Handling of the options.
89591 _ACEOF
89592 cat >>$CONFIG_STATUS <<\_ACEOF
89593 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
89594 ac_cs_recheck=: ;;
89595 --version | --vers* | -V )
89596 echo "$ac_cs_version"; exit 0 ;;
89597 --he | --h)
89598 # Conflict between --help and --header
89599 { { echo "$as_me:$LINENO: error: ambiguous option: $1
89600 Try \`$0 --help' for more information." >&5
89601 echo "$as_me: error: ambiguous option: $1
89602 Try \`$0 --help' for more information." >&2;}
89603 { (exit 1); exit 1; }; };;
89604 --help | --hel | -h )
89605 echo "$ac_cs_usage"; exit 0 ;;
89606 --debug | --d* | -d )
89607 debug=: ;;
89608 --file | --fil | --fi | --f )
89609 $ac_shift
89610 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
89611 ac_need_defaults=false;;
89612 --header | --heade | --head | --hea )
89613 $ac_shift
89614 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
89615 ac_need_defaults=false;;
89616 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
89617 | -silent | --silent | --silen | --sile | --sil | --si | --s)
89618 ac_cs_silent=: ;;
89620 # This is an error.
89621 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
89622 Try \`$0 --help' for more information." >&5
89623 echo "$as_me: error: unrecognized option: $1
89624 Try \`$0 --help' for more information." >&2;}
89625 { (exit 1); exit 1; }; } ;;
89627 *) ac_config_targets="$ac_config_targets $1" ;;
89629 esac
89630 shift
89631 done
89633 ac_configure_extra_args=
89635 if $ac_cs_silent; then
89636 exec 6>/dev/null
89637 ac_configure_extra_args="$ac_configure_extra_args --silent"
89640 _ACEOF
89641 cat >>$CONFIG_STATUS <<_ACEOF
89642 if \$ac_cs_recheck; then
89643 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
89644 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
89647 _ACEOF
89649 cat >>$CONFIG_STATUS <<_ACEOF
89651 # INIT-COMMANDS section.
89655 srcdir="$srcdir"
89656 host="$host"
89657 target="$target"
89658 with_multisubdir="$with_multisubdir"
89659 with_multisrctop="$with_multisrctop"
89660 with_target_subdir="$with_target_subdir"
89661 ac_configure_args="${multilib_arg} ${ac_configure_args}"
89662 multi_basedir="$multi_basedir"
89663 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
89664 CC="$CC"
89666 # Variables needed in config.status (file generation) which aren't already
89667 # passed by autoconf.
89668 SUBDIRS="$SUBDIRS"
89671 _ACEOF
89675 cat >>$CONFIG_STATUS <<\_ACEOF
89676 for ac_config_target in $ac_config_targets
89678 case "$ac_config_target" in
89679 # Handling of arguments.
89680 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
89681 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
89682 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
89683 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
89684 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
89685 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
89686 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
89687 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
89688 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
89689 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
89690 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
89691 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
89692 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
89693 { (exit 1); exit 1; }; };;
89694 esac
89695 done
89697 # If the user did not use the arguments to specify the items to instantiate,
89698 # then the envvar interface is used. Set only those that are not.
89699 # We use the long form for the default assignment because of an extremely
89700 # bizarre bug on SunOS 4.1.3.
89701 if $ac_need_defaults; then
89702 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
89703 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
89704 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
89707 # Have a temporary directory for convenience. Make it in the build tree
89708 # simply because there is no reason to put it here, and in addition,
89709 # creating and moving files from /tmp can sometimes cause problems.
89710 # Create a temporary directory, and hook for its removal unless debugging.
89711 $debug ||
89713 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
89714 trap '{ (exit 1); exit 1; }' 1 2 13 15
89717 # Create a (secure) tmp directory for tmp files.
89720 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
89721 test -n "$tmp" && test -d "$tmp"
89722 } ||
89724 tmp=./confstat$$-$RANDOM
89725 (umask 077 && mkdir $tmp)
89726 } ||
89728 echo "$me: cannot create a temporary directory in ." >&2
89729 { (exit 1); exit 1; }
89732 _ACEOF
89734 cat >>$CONFIG_STATUS <<_ACEOF
89737 # CONFIG_FILES section.
89740 # No need to generate the scripts if there are no CONFIG_FILES.
89741 # This happens for instance when ./config.status config.h
89742 if test -n "\$CONFIG_FILES"; then
89743 # Protect against being on the right side of a sed subst in config.status.
89744 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
89745 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
89746 s,@SHELL@,$SHELL,;t t
89747 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
89748 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
89749 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
89750 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
89751 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
89752 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
89753 s,@exec_prefix@,$exec_prefix,;t t
89754 s,@prefix@,$prefix,;t t
89755 s,@program_transform_name@,$program_transform_name,;t t
89756 s,@bindir@,$bindir,;t t
89757 s,@sbindir@,$sbindir,;t t
89758 s,@libexecdir@,$libexecdir,;t t
89759 s,@datadir@,$datadir,;t t
89760 s,@sysconfdir@,$sysconfdir,;t t
89761 s,@sharedstatedir@,$sharedstatedir,;t t
89762 s,@localstatedir@,$localstatedir,;t t
89763 s,@libdir@,$libdir,;t t
89764 s,@includedir@,$includedir,;t t
89765 s,@oldincludedir@,$oldincludedir,;t t
89766 s,@infodir@,$infodir,;t t
89767 s,@mandir@,$mandir,;t t
89768 s,@build_alias@,$build_alias,;t t
89769 s,@host_alias@,$host_alias,;t t
89770 s,@target_alias@,$target_alias,;t t
89771 s,@DEFS@,$DEFS,;t t
89772 s,@ECHO_C@,$ECHO_C,;t t
89773 s,@ECHO_N@,$ECHO_N,;t t
89774 s,@ECHO_T@,$ECHO_T,;t t
89775 s,@LIBS@,$LIBS,;t t
89776 s,@libtool_VERSION@,$libtool_VERSION,;t t
89777 s,@multi_basedir@,$multi_basedir,;t t
89778 s,@build@,$build,;t t
89779 s,@build_cpu@,$build_cpu,;t t
89780 s,@build_vendor@,$build_vendor,;t t
89781 s,@build_os@,$build_os,;t t
89782 s,@host@,$host,;t t
89783 s,@host_cpu@,$host_cpu,;t t
89784 s,@host_vendor@,$host_vendor,;t t
89785 s,@host_os@,$host_os,;t t
89786 s,@target@,$target,;t t
89787 s,@target_cpu@,$target_cpu,;t t
89788 s,@target_vendor@,$target_vendor,;t t
89789 s,@target_os@,$target_os,;t t
89790 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
89791 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
89792 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
89793 s,@CYGPATH_W@,$CYGPATH_W,;t t
89794 s,@PACKAGE@,$PACKAGE,;t t
89795 s,@VERSION@,$VERSION,;t t
89796 s,@ACLOCAL@,$ACLOCAL,;t t
89797 s,@AUTOCONF@,$AUTOCONF,;t t
89798 s,@AUTOMAKE@,$AUTOMAKE,;t t
89799 s,@AUTOHEADER@,$AUTOHEADER,;t t
89800 s,@MAKEINFO@,$MAKEINFO,;t t
89801 s,@install_sh@,$install_sh,;t t
89802 s,@STRIP@,$STRIP,;t t
89803 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
89804 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
89805 s,@mkdir_p@,$mkdir_p,;t t
89806 s,@AWK@,$AWK,;t t
89807 s,@SET_MAKE@,$SET_MAKE,;t t
89808 s,@am__leading_dot@,$am__leading_dot,;t t
89809 s,@AMTAR@,$AMTAR,;t t
89810 s,@am__tar@,$am__tar,;t t
89811 s,@am__untar@,$am__untar,;t t
89812 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
89813 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
89814 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
89815 s,@CC@,$CC,;t t
89816 s,@ac_ct_CC@,$ac_ct_CC,;t t
89817 s,@EXEEXT@,$EXEEXT,;t t
89818 s,@OBJEXT@,$OBJEXT,;t t
89819 s,@CXX@,$CXX,;t t
89820 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
89821 s,@CFLAGS@,$CFLAGS,;t t
89822 s,@CXXFLAGS@,$CXXFLAGS,;t t
89823 s,@LN_S@,$LN_S,;t t
89824 s,@AS@,$AS,;t t
89825 s,@ac_ct_AS@,$ac_ct_AS,;t t
89826 s,@AR@,$AR,;t t
89827 s,@ac_ct_AR@,$ac_ct_AR,;t t
89828 s,@RANLIB@,$RANLIB,;t t
89829 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
89830 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
89831 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
89832 s,@MAINT@,$MAINT,;t t
89833 s,@LIBTOOL@,$LIBTOOL,;t t
89834 s,@CXXCPP@,$CXXCPP,;t t
89835 s,@CPPFLAGS@,$CPPFLAGS,;t t
89836 s,@enable_shared@,$enable_shared,;t t
89837 s,@enable_static@,$enable_static,;t t
89838 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
89839 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
89840 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
89841 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
89842 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
89843 s,@CSTDIO_H@,$CSTDIO_H,;t t
89844 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
89845 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
89846 s,@CPP@,$CPP,;t t
89847 s,@EGREP@,$EGREP,;t t
89848 s,@check_msgfmt@,$check_msgfmt,;t t
89849 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
89850 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
89851 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
89852 s,@USE_NLS@,$USE_NLS,;t t
89853 s,@CLOCALE_H@,$CLOCALE_H,;t t
89854 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
89855 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
89856 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
89857 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
89858 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
89859 s,@CMONEY_CC@,$CMONEY_CC,;t t
89860 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
89861 s,@CTIME_H@,$CTIME_H,;t t
89862 s,@CTIME_CC@,$CTIME_CC,;t t
89863 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
89864 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
89865 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
89866 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
89867 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
89868 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
89869 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
89870 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
89871 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
89872 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
89873 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
89874 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
89875 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
89876 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
89877 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
89878 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
89879 s,@WERROR@,$WERROR,;t t
89880 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
89881 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
89882 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
89883 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
89884 s,@LIBICONV@,$LIBICONV,;t t
89885 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
89886 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
89887 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
89888 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
89889 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
89890 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
89891 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
89892 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
89893 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
89894 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
89895 s,@baseline_dir@,$baseline_dir,;t t
89896 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
89897 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
89898 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
89899 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
89900 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
89901 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
89902 s,@gxx_include_dir@,$gxx_include_dir,;t t
89903 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
89904 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
89905 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
89906 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
89907 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
89908 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
89909 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
89910 s,@LIBOBJS@,$LIBOBJS,;t t
89911 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
89912 CEOF
89914 _ACEOF
89916 cat >>$CONFIG_STATUS <<\_ACEOF
89917 # Split the substitutions into bite-sized pieces for seds with
89918 # small command number limits, like on Digital OSF/1 and HP-UX.
89919 ac_max_sed_lines=48
89920 ac_sed_frag=1 # Number of current file.
89921 ac_beg=1 # First line for current file.
89922 ac_end=$ac_max_sed_lines # Line after last line for current file.
89923 ac_more_lines=:
89924 ac_sed_cmds=
89925 while $ac_more_lines; do
89926 if test $ac_beg -gt 1; then
89927 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89928 else
89929 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89931 if test ! -s $tmp/subs.frag; then
89932 ac_more_lines=false
89933 else
89934 # The purpose of the label and of the branching condition is to
89935 # speed up the sed processing (if there are no `@' at all, there
89936 # is no need to browse any of the substitutions).
89937 # These are the two extra sed commands mentioned above.
89938 (echo ':t
89939 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
89940 if test -z "$ac_sed_cmds"; then
89941 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
89942 else
89943 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
89945 ac_sed_frag=`expr $ac_sed_frag + 1`
89946 ac_beg=$ac_end
89947 ac_end=`expr $ac_end + $ac_max_sed_lines`
89949 done
89950 if test -z "$ac_sed_cmds"; then
89951 ac_sed_cmds=cat
89953 fi # test -n "$CONFIG_FILES"
89955 _ACEOF
89956 cat >>$CONFIG_STATUS <<\_ACEOF
89957 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
89958 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89959 case $ac_file in
89960 - | *:- | *:-:* ) # input from stdin
89961 cat >$tmp/stdin
89962 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89963 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89964 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89965 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89966 * ) ac_file_in=$ac_file.in ;;
89967 esac
89969 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
89970 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89971 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89972 X"$ac_file" : 'X\(//\)[^/]' \| \
89973 X"$ac_file" : 'X\(//\)$' \| \
89974 X"$ac_file" : 'X\(/\)' \| \
89975 . : '\(.\)' 2>/dev/null ||
89976 echo X"$ac_file" |
89977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89978 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89979 /^X\(\/\/\)$/{ s//\1/; q; }
89980 /^X\(\/\).*/{ s//\1/; q; }
89981 s/.*/./; q'`
89982 { if $as_mkdir_p; then
89983 mkdir -p "$ac_dir"
89984 else
89985 as_dir="$ac_dir"
89986 as_dirs=
89987 while test ! -d "$as_dir"; do
89988 as_dirs="$as_dir $as_dirs"
89989 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89990 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89991 X"$as_dir" : 'X\(//\)[^/]' \| \
89992 X"$as_dir" : 'X\(//\)$' \| \
89993 X"$as_dir" : 'X\(/\)' \| \
89994 . : '\(.\)' 2>/dev/null ||
89995 echo X"$as_dir" |
89996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89997 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89998 /^X\(\/\/\)$/{ s//\1/; q; }
89999 /^X\(\/\).*/{ s//\1/; q; }
90000 s/.*/./; q'`
90001 done
90002 test ! -n "$as_dirs" || mkdir $as_dirs
90003 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90004 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90005 { (exit 1); exit 1; }; }; }
90007 ac_builddir=.
90009 if test "$ac_dir" != .; then
90010 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90011 # A "../" for each directory in $ac_dir_suffix.
90012 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90013 else
90014 ac_dir_suffix= ac_top_builddir=
90017 case $srcdir in
90018 .) # No --srcdir option. We are building in place.
90019 ac_srcdir=.
90020 if test -z "$ac_top_builddir"; then
90021 ac_top_srcdir=.
90022 else
90023 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90024 fi ;;
90025 [\\/]* | ?:[\\/]* ) # Absolute path.
90026 ac_srcdir=$srcdir$ac_dir_suffix;
90027 ac_top_srcdir=$srcdir ;;
90028 *) # Relative path.
90029 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90030 ac_top_srcdir=$ac_top_builddir$srcdir ;;
90031 esac
90033 # Do not use `cd foo && pwd` to compute absolute paths, because
90034 # the directories may not exist.
90035 case `pwd` in
90036 .) ac_abs_builddir="$ac_dir";;
90038 case "$ac_dir" in
90039 .) ac_abs_builddir=`pwd`;;
90040 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90041 *) ac_abs_builddir=`pwd`/"$ac_dir";;
90042 esac;;
90043 esac
90044 case $ac_abs_builddir in
90045 .) ac_abs_top_builddir=${ac_top_builddir}.;;
90047 case ${ac_top_builddir}. in
90048 .) ac_abs_top_builddir=$ac_abs_builddir;;
90049 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90050 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90051 esac;;
90052 esac
90053 case $ac_abs_builddir in
90054 .) ac_abs_srcdir=$ac_srcdir;;
90056 case $ac_srcdir in
90057 .) ac_abs_srcdir=$ac_abs_builddir;;
90058 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90059 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90060 esac;;
90061 esac
90062 case $ac_abs_builddir in
90063 .) ac_abs_top_srcdir=$ac_top_srcdir;;
90065 case $ac_top_srcdir in
90066 .) ac_abs_top_srcdir=$ac_abs_builddir;;
90067 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90068 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90069 esac;;
90070 esac
90073 case $INSTALL in
90074 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
90075 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
90076 esac
90078 if test x"$ac_file" != x-; then
90079 { echo "$as_me:$LINENO: creating $ac_file" >&5
90080 echo "$as_me: creating $ac_file" >&6;}
90081 rm -f "$ac_file"
90083 # Let's still pretend it is `configure' which instantiates (i.e., don't
90084 # use $as_me), people would be surprised to read:
90085 # /* config.h. Generated by config.status. */
90086 if test x"$ac_file" = x-; then
90087 configure_input=
90088 else
90089 configure_input="$ac_file. "
90091 configure_input=$configure_input"Generated from `echo $ac_file_in |
90092 sed 's,.*/,,'` by configure."
90094 # First look for the input files in the build tree, otherwise in the
90095 # src tree.
90096 ac_file_inputs=`IFS=:
90097 for f in $ac_file_in; do
90098 case $f in
90099 -) echo $tmp/stdin ;;
90100 [\\/$]*)
90101 # Absolute (can't be DOS-style, as IFS=:)
90102 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
90103 echo "$as_me: error: cannot find input file: $f" >&2;}
90104 { (exit 1); exit 1; }; }
90105 echo "$f";;
90106 *) # Relative
90107 if test -f "$f"; then
90108 # Build tree
90109 echo "$f"
90110 elif test -f "$srcdir/$f"; then
90111 # Source tree
90112 echo "$srcdir/$f"
90113 else
90114 # /dev/null tree
90115 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
90116 echo "$as_me: error: cannot find input file: $f" >&2;}
90117 { (exit 1); exit 1; }; }
90118 fi;;
90119 esac
90120 done` || { (exit 1); exit 1; }
90121 _ACEOF
90122 cat >>$CONFIG_STATUS <<_ACEOF
90123 sed "$ac_vpsub
90124 $extrasub
90125 _ACEOF
90126 cat >>$CONFIG_STATUS <<\_ACEOF
90128 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
90129 s,@configure_input@,$configure_input,;t t
90130 s,@srcdir@,$ac_srcdir,;t t
90131 s,@abs_srcdir@,$ac_abs_srcdir,;t t
90132 s,@top_srcdir@,$ac_top_srcdir,;t t
90133 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
90134 s,@builddir@,$ac_builddir,;t t
90135 s,@abs_builddir@,$ac_abs_builddir,;t t
90136 s,@top_builddir@,$ac_top_builddir,;t t
90137 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
90138 s,@INSTALL@,$ac_INSTALL,;t t
90139 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
90140 rm -f $tmp/stdin
90141 if test x"$ac_file" != x-; then
90142 mv $tmp/out $ac_file
90143 else
90144 cat $tmp/out
90145 rm -f $tmp/out
90148 # Run the commands associated with the file.
90149 case $ac_file in
90150 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
90151 esac
90152 done
90153 _ACEOF
90154 cat >>$CONFIG_STATUS <<\_ACEOF
90157 # CONFIG_HEADER section.
90160 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
90161 # NAME is the cpp macro being defined and VALUE is the value it is being given.
90163 # ac_d sets the value in "#define NAME VALUE" lines.
90164 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
90165 ac_dB='[ ].*$,\1#\2'
90166 ac_dC=' '
90167 ac_dD=',;t'
90168 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
90169 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
90170 ac_uB='$,\1#\2define\3'
90171 ac_uC=' '
90172 ac_uD=',;t'
90174 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
90175 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
90176 case $ac_file in
90177 - | *:- | *:-:* ) # input from stdin
90178 cat >$tmp/stdin
90179 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
90180 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
90181 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
90182 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
90183 * ) ac_file_in=$ac_file.in ;;
90184 esac
90186 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
90187 echo "$as_me: creating $ac_file" >&6;}
90189 # First look for the input files in the build tree, otherwise in the
90190 # src tree.
90191 ac_file_inputs=`IFS=:
90192 for f in $ac_file_in; do
90193 case $f in
90194 -) echo $tmp/stdin ;;
90195 [\\/$]*)
90196 # Absolute (can't be DOS-style, as IFS=:)
90197 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
90198 echo "$as_me: error: cannot find input file: $f" >&2;}
90199 { (exit 1); exit 1; }; }
90200 # Do quote $f, to prevent DOS paths from being IFS'd.
90201 echo "$f";;
90202 *) # Relative
90203 if test -f "$f"; then
90204 # Build tree
90205 echo "$f"
90206 elif test -f "$srcdir/$f"; then
90207 # Source tree
90208 echo "$srcdir/$f"
90209 else
90210 # /dev/null tree
90211 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
90212 echo "$as_me: error: cannot find input file: $f" >&2;}
90213 { (exit 1); exit 1; }; }
90214 fi;;
90215 esac
90216 done` || { (exit 1); exit 1; }
90217 # Remove the trailing spaces.
90218 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
90220 _ACEOF
90222 # Transform confdefs.h into two sed scripts, `conftest.defines' and
90223 # `conftest.undefs', that substitutes the proper values into
90224 # config.h.in to produce config.h. The first handles `#define'
90225 # templates, and the second `#undef' templates.
90226 # And first: Protect against being on the right side of a sed subst in
90227 # config.status. Protect against being in an unquoted here document
90228 # in config.status.
90229 rm -f conftest.defines conftest.undefs
90230 # Using a here document instead of a string reduces the quoting nightmare.
90231 # Putting comments in sed scripts is not portable.
90233 # `end' is used to avoid that the second main sed command (meant for
90234 # 0-ary CPP macros) applies to n-ary macro definitions.
90235 # See the Autoconf documentation for `clear'.
90236 cat >confdef2sed.sed <<\_ACEOF
90237 s/[\\&,]/\\&/g
90238 s,[\\$`],\\&,g
90239 t clear
90240 : clear
90241 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
90242 t end
90243 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
90244 : end
90245 _ACEOF
90246 # If some macros were called several times there might be several times
90247 # the same #defines, which is useless. Nevertheless, we may not want to
90248 # sort them, since we want the *last* AC-DEFINE to be honored.
90249 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
90250 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
90251 rm -f confdef2sed.sed
90253 # This sed command replaces #undef with comments. This is necessary, for
90254 # example, in the case of _POSIX_SOURCE, which is predefined and required
90255 # on some systems where configure will not decide to define it.
90256 cat >>conftest.undefs <<\_ACEOF
90257 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
90258 _ACEOF
90260 # Break up conftest.defines because some shells have a limit on the size
90261 # of here documents, and old seds have small limits too (100 cmds).
90262 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
90263 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
90264 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
90265 echo ' :' >>$CONFIG_STATUS
90266 rm -f conftest.tail
90267 while grep . conftest.defines >/dev/null
90269 # Write a limited-size here document to $tmp/defines.sed.
90270 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
90271 # Speed up: don't consider the non `#define' lines.
90272 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
90273 # Work around the forget-to-reset-the-flag bug.
90274 echo 't clr' >>$CONFIG_STATUS
90275 echo ': clr' >>$CONFIG_STATUS
90276 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
90277 echo 'CEOF
90278 sed -f $tmp/defines.sed $tmp/in >$tmp/out
90279 rm -f $tmp/in
90280 mv $tmp/out $tmp/in
90281 ' >>$CONFIG_STATUS
90282 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
90283 rm -f conftest.defines
90284 mv conftest.tail conftest.defines
90285 done
90286 rm -f conftest.defines
90287 echo ' fi # grep' >>$CONFIG_STATUS
90288 echo >>$CONFIG_STATUS
90290 # Break up conftest.undefs because some shells have a limit on the size
90291 # of here documents, and old seds have small limits too (100 cmds).
90292 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
90293 rm -f conftest.tail
90294 while grep . conftest.undefs >/dev/null
90296 # Write a limited-size here document to $tmp/undefs.sed.
90297 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
90298 # Speed up: don't consider the non `#undef'
90299 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
90300 # Work around the forget-to-reset-the-flag bug.
90301 echo 't clr' >>$CONFIG_STATUS
90302 echo ': clr' >>$CONFIG_STATUS
90303 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
90304 echo 'CEOF
90305 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
90306 rm -f $tmp/in
90307 mv $tmp/out $tmp/in
90308 ' >>$CONFIG_STATUS
90309 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
90310 rm -f conftest.undefs
90311 mv conftest.tail conftest.undefs
90312 done
90313 rm -f conftest.undefs
90315 cat >>$CONFIG_STATUS <<\_ACEOF
90316 # Let's still pretend it is `configure' which instantiates (i.e., don't
90317 # use $as_me), people would be surprised to read:
90318 # /* config.h. Generated by config.status. */
90319 if test x"$ac_file" = x-; then
90320 echo "/* Generated by configure. */" >$tmp/config.h
90321 else
90322 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
90324 cat $tmp/in >>$tmp/config.h
90325 rm -f $tmp/in
90326 if test x"$ac_file" != x-; then
90327 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
90328 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
90329 echo "$as_me: $ac_file is unchanged" >&6;}
90330 else
90331 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
90332 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90333 X"$ac_file" : 'X\(//\)[^/]' \| \
90334 X"$ac_file" : 'X\(//\)$' \| \
90335 X"$ac_file" : 'X\(/\)' \| \
90336 . : '\(.\)' 2>/dev/null ||
90337 echo X"$ac_file" |
90338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90339 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90340 /^X\(\/\/\)$/{ s//\1/; q; }
90341 /^X\(\/\).*/{ s//\1/; q; }
90342 s/.*/./; q'`
90343 { if $as_mkdir_p; then
90344 mkdir -p "$ac_dir"
90345 else
90346 as_dir="$ac_dir"
90347 as_dirs=
90348 while test ! -d "$as_dir"; do
90349 as_dirs="$as_dir $as_dirs"
90350 as_dir=`(dirname "$as_dir") 2>/dev/null ||
90351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90352 X"$as_dir" : 'X\(//\)[^/]' \| \
90353 X"$as_dir" : 'X\(//\)$' \| \
90354 X"$as_dir" : 'X\(/\)' \| \
90355 . : '\(.\)' 2>/dev/null ||
90356 echo X"$as_dir" |
90357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90358 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90359 /^X\(\/\/\)$/{ s//\1/; q; }
90360 /^X\(\/\).*/{ s//\1/; q; }
90361 s/.*/./; q'`
90362 done
90363 test ! -n "$as_dirs" || mkdir $as_dirs
90364 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90365 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90366 { (exit 1); exit 1; }; }; }
90368 rm -f $ac_file
90369 mv $tmp/config.h $ac_file
90371 else
90372 cat $tmp/config.h
90373 rm -f $tmp/config.h
90375 # Compute $ac_file's index in $config_headers.
90376 _am_stamp_count=1
90377 for _am_header in $config_headers :; do
90378 case $_am_header in
90379 $ac_file | $ac_file:* )
90380 break ;;
90382 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
90383 esac
90384 done
90385 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
90386 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90387 X$ac_file : 'X\(//\)[^/]' \| \
90388 X$ac_file : 'X\(//\)$' \| \
90389 X$ac_file : 'X\(/\)' \| \
90390 . : '\(.\)' 2>/dev/null ||
90391 echo X$ac_file |
90392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90393 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90394 /^X\(\/\/\)$/{ s//\1/; q; }
90395 /^X\(\/\).*/{ s//\1/; q; }
90396 s/.*/./; q'`/stamp-h$_am_stamp_count
90397 done
90398 _ACEOF
90399 cat >>$CONFIG_STATUS <<\_ACEOF
90402 # CONFIG_COMMANDS section.
90404 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
90405 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
90406 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
90407 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
90408 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90409 X"$ac_dest" : 'X\(//\)[^/]' \| \
90410 X"$ac_dest" : 'X\(//\)$' \| \
90411 X"$ac_dest" : 'X\(/\)' \| \
90412 . : '\(.\)' 2>/dev/null ||
90413 echo X"$ac_dest" |
90414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90415 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90416 /^X\(\/\/\)$/{ s//\1/; q; }
90417 /^X\(\/\).*/{ s//\1/; q; }
90418 s/.*/./; q'`
90419 { if $as_mkdir_p; then
90420 mkdir -p "$ac_dir"
90421 else
90422 as_dir="$ac_dir"
90423 as_dirs=
90424 while test ! -d "$as_dir"; do
90425 as_dirs="$as_dir $as_dirs"
90426 as_dir=`(dirname "$as_dir") 2>/dev/null ||
90427 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90428 X"$as_dir" : 'X\(//\)[^/]' \| \
90429 X"$as_dir" : 'X\(//\)$' \| \
90430 X"$as_dir" : 'X\(/\)' \| \
90431 . : '\(.\)' 2>/dev/null ||
90432 echo X"$as_dir" |
90433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90434 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90435 /^X\(\/\/\)$/{ s//\1/; q; }
90436 /^X\(\/\).*/{ s//\1/; q; }
90437 s/.*/./; q'`
90438 done
90439 test ! -n "$as_dirs" || mkdir $as_dirs
90440 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90441 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90442 { (exit 1); exit 1; }; }; }
90444 ac_builddir=.
90446 if test "$ac_dir" != .; then
90447 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90448 # A "../" for each directory in $ac_dir_suffix.
90449 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90450 else
90451 ac_dir_suffix= ac_top_builddir=
90454 case $srcdir in
90455 .) # No --srcdir option. We are building in place.
90456 ac_srcdir=.
90457 if test -z "$ac_top_builddir"; then
90458 ac_top_srcdir=.
90459 else
90460 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90461 fi ;;
90462 [\\/]* | ?:[\\/]* ) # Absolute path.
90463 ac_srcdir=$srcdir$ac_dir_suffix;
90464 ac_top_srcdir=$srcdir ;;
90465 *) # Relative path.
90466 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90467 ac_top_srcdir=$ac_top_builddir$srcdir ;;
90468 esac
90470 # Do not use `cd foo && pwd` to compute absolute paths, because
90471 # the directories may not exist.
90472 case `pwd` in
90473 .) ac_abs_builddir="$ac_dir";;
90475 case "$ac_dir" in
90476 .) ac_abs_builddir=`pwd`;;
90477 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90478 *) ac_abs_builddir=`pwd`/"$ac_dir";;
90479 esac;;
90480 esac
90481 case $ac_abs_builddir in
90482 .) ac_abs_top_builddir=${ac_top_builddir}.;;
90484 case ${ac_top_builddir}. in
90485 .) ac_abs_top_builddir=$ac_abs_builddir;;
90486 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90487 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90488 esac;;
90489 esac
90490 case $ac_abs_builddir in
90491 .) ac_abs_srcdir=$ac_srcdir;;
90493 case $ac_srcdir in
90494 .) ac_abs_srcdir=$ac_abs_builddir;;
90495 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90496 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90497 esac;;
90498 esac
90499 case $ac_abs_builddir in
90500 .) ac_abs_top_srcdir=$ac_top_srcdir;;
90502 case $ac_top_srcdir in
90503 .) ac_abs_top_srcdir=$ac_abs_builddir;;
90504 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90505 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90506 esac;;
90507 esac
90510 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
90511 echo "$as_me: executing $ac_dest commands" >&6;}
90512 case $ac_dest in
90513 default-1 )
90514 # Only add multilib support code if we just rebuilt the top-level
90515 # Makefile.
90516 case " $CONFIG_FILES " in
90517 *" Makefile "*)
90518 ac_file=Makefile . ${multi_basedir}/config-ml.in
90520 esac ;;
90521 default ) if test -n "$CONFIG_FILES"; then
90522 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
90523 # that multilib installs will end up installed in the correct place.
90524 # The testsuite needs it for multilib-aware ABI baseline files.
90525 # To work around this not being passed down from config-ml.in ->
90526 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
90527 # append it here. Only modify Makefiles that have just been created.
90529 # Also, get rid of this simulated-VPATH thing that automake does.
90530 cat > vpsed << \_EOF
90531 s!`test -f '$<' || echo '$(srcdir)/'`!!
90532 _EOF
90533 for i in $SUBDIRS; do
90534 case $CONFIG_FILES in
90535 *${i}/Makefile*)
90536 #echo "Adding MULTISUBDIR to $i/Makefile"
90537 sed -f vpsed $i/Makefile > tmp
90538 grep '^MULTISUBDIR =' Makefile >> tmp
90539 mv tmp $i/Makefile
90541 esac
90542 done
90543 rm vpsed
90545 (cd include && ${MAKE-make})
90547 esac
90548 done
90549 _ACEOF
90551 cat >>$CONFIG_STATUS <<\_ACEOF
90553 { (exit 0); exit 0; }
90554 _ACEOF
90555 chmod +x $CONFIG_STATUS
90556 ac_clean_files=$ac_clean_files_save
90559 # configure is writing to config.log, and then calls config.status.
90560 # config.status does its own redirection, appending to config.log.
90561 # Unfortunately, on DOS this fails, as config.log is still kept open
90562 # by configure, so config.status won't be able to write to it; its
90563 # output is simply discarded. So we exec the FD to /dev/null,
90564 # effectively closing config.log, so it can be properly (re)opened and
90565 # appended to by config.status. When coming back to configure, we
90566 # need to make the FD available again.
90567 if test "$no_create" != yes; then
90568 ac_cs_success=:
90569 ac_config_status_args=
90570 test "$silent" = yes &&
90571 ac_config_status_args="$ac_config_status_args --quiet"
90572 exec 5>/dev/null
90573 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
90574 exec 5>>config.log
90575 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
90576 # would make configure fail if this is the last instruction.
90577 $ac_cs_success || { (exit 1); exit 1; }