PR target/592
[official-gcc.git] / libstdc++-v3 / configure
blobf7ac1a1fc7f5cc1bafc74e617bf8999e77af58fe
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++, but run with the "C" compiler driver.
8215 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8216 ac_test_CFLAGS="${CFLAGS+set}"
8217 ac_save_CFLAGS="$CFLAGS"
8218 CFLAGS='-x c++ -Werror -Wl,--gc-sections'
8220 # Check for -Wl,--gc-sections
8221 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8222 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8223 if test x$gcc_no_link = xyes; then
8224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8226 { (exit 1); exit 1; }; }
8228 cat >conftest.$ac_ext <<_ACEOF
8229 /* confdefs.h. */
8230 _ACEOF
8231 cat confdefs.h >>conftest.$ac_ext
8232 cat >>conftest.$ac_ext <<_ACEOF
8233 /* end confdefs.h. */
8234 int one(void) { return 1; }
8235 int two(void) { return 2; }
8238 main ()
8240 two();
8242 return 0;
8244 _ACEOF
8245 rm -f conftest.$ac_objext conftest$ac_exeext
8246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8247 (eval $ac_link) 2>conftest.er1
8248 ac_status=$?
8249 grep -v '^ *+' conftest.er1 >conftest.err
8250 rm -f conftest.er1
8251 cat conftest.err >&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); } &&
8254 { ac_try='test -z "$ac_c_werror_flag"
8255 || test ! -s conftest.err'
8256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8257 (eval $ac_try) 2>&5
8258 ac_status=$?
8259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260 (exit $ac_status); }; } &&
8261 { ac_try='test -s conftest$ac_exeext'
8262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8263 (eval $ac_try) 2>&5
8264 ac_status=$?
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); }; }; then
8267 ac_gcsections=yes
8268 else
8269 echo "$as_me: failed program was:" >&5
8270 sed 's/^/| /' conftest.$ac_ext >&5
8272 ac_gcsections=no
8274 rm -f conftest.err conftest.$ac_objext \
8275 conftest$ac_exeext conftest.$ac_ext
8276 if test "$ac_gcsections" = "yes"; then
8277 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8279 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8280 echo "${ECHO_T}$ac_gcsections" >&6
8282 if test "$ac_test_CFLAGS" = set; then
8283 CFLAGS="$ac_save_CFLAGS"
8284 else
8285 # this is the suspicious part
8286 CFLAGS=''
8290 # Set -z,relro.
8291 # Note this is only for shared objects.
8292 ac_ld_relro=no
8293 if test x"$with_gnu_ld" = x"yes"; then
8294 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8295 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8296 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8297 if test -n "$cxx_z_relo"; then
8298 OPT_LDFLAGS="-Wl,-z,relro"
8299 ac_ld_relro=yes
8301 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8302 echo "${ECHO_T}$ac_ld_relro" >&6
8305 # Set linker optimization flags.
8306 if test x"$with_gnu_ld" = x"yes"; then
8307 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8314 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8315 ac_save_CXXFLAGS="$CXXFLAGS"
8316 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8318 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8319 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8320 if test "${ac_cv_lib_m_sin+set}" = set; then
8321 echo $ECHO_N "(cached) $ECHO_C" >&6
8322 else
8323 ac_check_lib_save_LIBS=$LIBS
8324 LIBS="-lm $LIBS"
8325 if test x$gcc_no_link = xyes; then
8326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8328 { (exit 1); exit 1; }; }
8330 cat >conftest.$ac_ext <<_ACEOF
8331 /* confdefs.h. */
8332 _ACEOF
8333 cat confdefs.h >>conftest.$ac_ext
8334 cat >>conftest.$ac_ext <<_ACEOF
8335 /* end confdefs.h. */
8337 /* Override any gcc2 internal prototype to avoid an error. */
8338 #ifdef __cplusplus
8339 extern "C"
8340 #endif
8341 /* We use char because int might match the return type of a gcc2
8342 builtin and then its argument prototype would still apply. */
8343 char sin ();
8345 main ()
8347 sin ();
8349 return 0;
8351 _ACEOF
8352 rm -f conftest.$ac_objext conftest$ac_exeext
8353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8354 (eval $ac_link) 2>conftest.er1
8355 ac_status=$?
8356 grep -v '^ *+' conftest.er1 >conftest.err
8357 rm -f conftest.er1
8358 cat conftest.err >&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); } &&
8361 { ac_try='test -z "$ac_c_werror_flag"
8362 || test ! -s conftest.err'
8363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8364 (eval $ac_try) 2>&5
8365 ac_status=$?
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); }; } &&
8368 { ac_try='test -s conftest$ac_exeext'
8369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8370 (eval $ac_try) 2>&5
8371 ac_status=$?
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 (exit $ac_status); }; }; then
8374 ac_cv_lib_m_sin=yes
8375 else
8376 echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.$ac_ext >&5
8379 ac_cv_lib_m_sin=no
8381 rm -f conftest.err conftest.$ac_objext \
8382 conftest$ac_exeext conftest.$ac_ext
8383 LIBS=$ac_check_lib_save_LIBS
8385 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8386 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8387 if test $ac_cv_lib_m_sin = yes; then
8388 libm="-lm"
8391 ac_save_LIBS="$LIBS"
8392 LIBS="$LIBS $libm"
8396 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8397 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8398 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8399 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8400 echo $ECHO_N "(cached) $ECHO_C" >&6
8401 else
8405 ac_ext=cc
8406 ac_cpp='$CXXCPP $CPPFLAGS'
8407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8411 cat >conftest.$ac_ext <<_ACEOF
8412 /* confdefs.h. */
8413 _ACEOF
8414 cat confdefs.h >>conftest.$ac_ext
8415 cat >>conftest.$ac_ext <<_ACEOF
8416 /* end confdefs.h. */
8417 #include <math.h>
8418 #ifdef HAVE_IEEEFP_H
8419 #include <ieeefp.h>
8420 #endif
8423 main ()
8425 isinf(0);
8427 return 0;
8429 _ACEOF
8430 rm -f conftest.$ac_objext
8431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8432 (eval $ac_compile) 2>conftest.er1
8433 ac_status=$?
8434 grep -v '^ *+' conftest.er1 >conftest.err
8435 rm -f conftest.er1
8436 cat conftest.err >&5
8437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438 (exit $ac_status); } &&
8439 { ac_try='test -z "$ac_cxx_werror_flag"
8440 || test ! -s conftest.err'
8441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8442 (eval $ac_try) 2>&5
8443 ac_status=$?
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); }; } &&
8446 { ac_try='test -s conftest.$ac_objext'
8447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8448 (eval $ac_try) 2>&5
8449 ac_status=$?
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); }; }; then
8452 glibcxx_cv_func_isinf_use=yes
8453 else
8454 echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.$ac_ext >&5
8457 glibcxx_cv_func_isinf_use=no
8459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8460 ac_ext=c
8461 ac_cpp='$CPP $CPPFLAGS'
8462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8470 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8471 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8473 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8475 for ac_func in isinf
8477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8478 echo "$as_me:$LINENO: checking for $ac_func" >&5
8479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8480 if eval "test \"\${$as_ac_var+set}\" = set"; then
8481 echo $ECHO_N "(cached) $ECHO_C" >&6
8482 else
8483 if test x$gcc_no_link = xyes; then
8484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8486 { (exit 1); exit 1; }; }
8488 cat >conftest.$ac_ext <<_ACEOF
8489 /* confdefs.h. */
8490 _ACEOF
8491 cat confdefs.h >>conftest.$ac_ext
8492 cat >>conftest.$ac_ext <<_ACEOF
8493 /* end confdefs.h. */
8494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8496 #define $ac_func innocuous_$ac_func
8498 /* System header to define __stub macros and hopefully few prototypes,
8499 which can conflict with char $ac_func (); below.
8500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8501 <limits.h> exists even on freestanding compilers. */
8503 #ifdef __STDC__
8504 # include <limits.h>
8505 #else
8506 # include <assert.h>
8507 #endif
8509 #undef $ac_func
8511 /* Override any gcc2 internal prototype to avoid an error. */
8512 #ifdef __cplusplus
8513 extern "C"
8515 #endif
8516 /* We use char because int might match the return type of a gcc2
8517 builtin and then its argument prototype would still apply. */
8518 char $ac_func ();
8519 /* The GNU C library defines this for functions which it implements
8520 to always fail with ENOSYS. Some functions are actually named
8521 something starting with __ and the normal name is an alias. */
8522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8523 choke me
8524 #else
8525 char (*f) () = $ac_func;
8526 #endif
8527 #ifdef __cplusplus
8529 #endif
8532 main ()
8534 return f != $ac_func;
8536 return 0;
8538 _ACEOF
8539 rm -f conftest.$ac_objext conftest$ac_exeext
8540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8541 (eval $ac_link) 2>conftest.er1
8542 ac_status=$?
8543 grep -v '^ *+' conftest.er1 >conftest.err
8544 rm -f conftest.er1
8545 cat conftest.err >&5
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); } &&
8548 { ac_try='test -z "$ac_c_werror_flag"
8549 || test ! -s conftest.err'
8550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8551 (eval $ac_try) 2>&5
8552 ac_status=$?
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); }; } &&
8555 { ac_try='test -s conftest$ac_exeext'
8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8557 (eval $ac_try) 2>&5
8558 ac_status=$?
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); }; }; then
8561 eval "$as_ac_var=yes"
8562 else
8563 echo "$as_me: failed program was:" >&5
8564 sed 's/^/| /' conftest.$ac_ext >&5
8566 eval "$as_ac_var=no"
8568 rm -f conftest.err conftest.$ac_objext \
8569 conftest$ac_exeext conftest.$ac_ext
8571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8573 if test `eval echo '${'$as_ac_var'}'` = yes; then
8574 cat >>confdefs.h <<_ACEOF
8575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8576 _ACEOF
8579 done
8581 else
8583 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8584 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8585 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8586 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8588 else
8592 ac_ext=cc
8593 ac_cpp='$CXXCPP $CPPFLAGS'
8594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8598 cat >conftest.$ac_ext <<_ACEOF
8599 /* confdefs.h. */
8600 _ACEOF
8601 cat confdefs.h >>conftest.$ac_ext
8602 cat >>conftest.$ac_ext <<_ACEOF
8603 /* end confdefs.h. */
8604 #include <math.h>
8605 #ifdef HAVE_IEEEFP_H
8606 #include <ieeefp.h>
8607 #endif
8610 main ()
8612 _isinf(0);
8614 return 0;
8616 _ACEOF
8617 rm -f conftest.$ac_objext
8618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8619 (eval $ac_compile) 2>conftest.er1
8620 ac_status=$?
8621 grep -v '^ *+' conftest.er1 >conftest.err
8622 rm -f conftest.er1
8623 cat conftest.err >&5
8624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 (exit $ac_status); } &&
8626 { ac_try='test -z "$ac_cxx_werror_flag"
8627 || test ! -s conftest.err'
8628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8629 (eval $ac_try) 2>&5
8630 ac_status=$?
8631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 (exit $ac_status); }; } &&
8633 { ac_try='test -s conftest.$ac_objext'
8634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8635 (eval $ac_try) 2>&5
8636 ac_status=$?
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); }; }; then
8639 glibcxx_cv_func__isinf_use=yes
8640 else
8641 echo "$as_me: failed program was:" >&5
8642 sed 's/^/| /' conftest.$ac_ext >&5
8644 glibcxx_cv_func__isinf_use=no
8646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8647 ac_ext=c
8648 ac_cpp='$CPP $CPPFLAGS'
8649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8657 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8658 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8660 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8662 for ac_func in _isinf
8664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8665 echo "$as_me:$LINENO: checking for $ac_func" >&5
8666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8667 if eval "test \"\${$as_ac_var+set}\" = set"; then
8668 echo $ECHO_N "(cached) $ECHO_C" >&6
8669 else
8670 if test x$gcc_no_link = xyes; then
8671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8673 { (exit 1); exit 1; }; }
8675 cat >conftest.$ac_ext <<_ACEOF
8676 /* confdefs.h. */
8677 _ACEOF
8678 cat confdefs.h >>conftest.$ac_ext
8679 cat >>conftest.$ac_ext <<_ACEOF
8680 /* end confdefs.h. */
8681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8683 #define $ac_func innocuous_$ac_func
8685 /* System header to define __stub macros and hopefully few prototypes,
8686 which can conflict with char $ac_func (); below.
8687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8688 <limits.h> exists even on freestanding compilers. */
8690 #ifdef __STDC__
8691 # include <limits.h>
8692 #else
8693 # include <assert.h>
8694 #endif
8696 #undef $ac_func
8698 /* Override any gcc2 internal prototype to avoid an error. */
8699 #ifdef __cplusplus
8700 extern "C"
8702 #endif
8703 /* We use char because int might match the return type of a gcc2
8704 builtin and then its argument prototype would still apply. */
8705 char $ac_func ();
8706 /* The GNU C library defines this for functions which it implements
8707 to always fail with ENOSYS. Some functions are actually named
8708 something starting with __ and the normal name is an alias. */
8709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8710 choke me
8711 #else
8712 char (*f) () = $ac_func;
8713 #endif
8714 #ifdef __cplusplus
8716 #endif
8719 main ()
8721 return f != $ac_func;
8723 return 0;
8725 _ACEOF
8726 rm -f conftest.$ac_objext conftest$ac_exeext
8727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8728 (eval $ac_link) 2>conftest.er1
8729 ac_status=$?
8730 grep -v '^ *+' conftest.er1 >conftest.err
8731 rm -f conftest.er1
8732 cat conftest.err >&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); } &&
8735 { ac_try='test -z "$ac_c_werror_flag"
8736 || test ! -s conftest.err'
8737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8738 (eval $ac_try) 2>&5
8739 ac_status=$?
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); }; } &&
8742 { ac_try='test -s conftest$ac_exeext'
8743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8744 (eval $ac_try) 2>&5
8745 ac_status=$?
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); }; }; then
8748 eval "$as_ac_var=yes"
8749 else
8750 echo "$as_me: failed program was:" >&5
8751 sed 's/^/| /' conftest.$ac_ext >&5
8753 eval "$as_ac_var=no"
8755 rm -f conftest.err conftest.$ac_objext \
8756 conftest$ac_exeext conftest.$ac_ext
8758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8760 if test `eval echo '${'$as_ac_var'}'` = yes; then
8761 cat >>confdefs.h <<_ACEOF
8762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8763 _ACEOF
8766 done
8776 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8777 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8778 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8779 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8780 echo $ECHO_N "(cached) $ECHO_C" >&6
8781 else
8785 ac_ext=cc
8786 ac_cpp='$CXXCPP $CPPFLAGS'
8787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8791 cat >conftest.$ac_ext <<_ACEOF
8792 /* confdefs.h. */
8793 _ACEOF
8794 cat confdefs.h >>conftest.$ac_ext
8795 cat >>conftest.$ac_ext <<_ACEOF
8796 /* end confdefs.h. */
8797 #include <math.h>
8798 #ifdef HAVE_IEEEFP_H
8799 #include <ieeefp.h>
8800 #endif
8803 main ()
8805 isnan(0);
8807 return 0;
8809 _ACEOF
8810 rm -f conftest.$ac_objext
8811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8812 (eval $ac_compile) 2>conftest.er1
8813 ac_status=$?
8814 grep -v '^ *+' conftest.er1 >conftest.err
8815 rm -f conftest.er1
8816 cat conftest.err >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); } &&
8819 { ac_try='test -z "$ac_cxx_werror_flag"
8820 || test ! -s conftest.err'
8821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8822 (eval $ac_try) 2>&5
8823 ac_status=$?
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); }; } &&
8826 { ac_try='test -s conftest.$ac_objext'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8828 (eval $ac_try) 2>&5
8829 ac_status=$?
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; }; then
8832 glibcxx_cv_func_isnan_use=yes
8833 else
8834 echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.$ac_ext >&5
8837 glibcxx_cv_func_isnan_use=no
8839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8840 ac_ext=c
8841 ac_cpp='$CPP $CPPFLAGS'
8842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8850 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8851 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8853 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8855 for ac_func in isnan
8857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8858 echo "$as_me:$LINENO: checking for $ac_func" >&5
8859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8860 if eval "test \"\${$as_ac_var+set}\" = set"; then
8861 echo $ECHO_N "(cached) $ECHO_C" >&6
8862 else
8863 if test x$gcc_no_link = xyes; then
8864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8866 { (exit 1); exit 1; }; }
8868 cat >conftest.$ac_ext <<_ACEOF
8869 /* confdefs.h. */
8870 _ACEOF
8871 cat confdefs.h >>conftest.$ac_ext
8872 cat >>conftest.$ac_ext <<_ACEOF
8873 /* end confdefs.h. */
8874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8876 #define $ac_func innocuous_$ac_func
8878 /* System header to define __stub macros and hopefully few prototypes,
8879 which can conflict with char $ac_func (); below.
8880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8881 <limits.h> exists even on freestanding compilers. */
8883 #ifdef __STDC__
8884 # include <limits.h>
8885 #else
8886 # include <assert.h>
8887 #endif
8889 #undef $ac_func
8891 /* Override any gcc2 internal prototype to avoid an error. */
8892 #ifdef __cplusplus
8893 extern "C"
8895 #endif
8896 /* We use char because int might match the return type of a gcc2
8897 builtin and then its argument prototype would still apply. */
8898 char $ac_func ();
8899 /* The GNU C library defines this for functions which it implements
8900 to always fail with ENOSYS. Some functions are actually named
8901 something starting with __ and the normal name is an alias. */
8902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8903 choke me
8904 #else
8905 char (*f) () = $ac_func;
8906 #endif
8907 #ifdef __cplusplus
8909 #endif
8912 main ()
8914 return f != $ac_func;
8916 return 0;
8918 _ACEOF
8919 rm -f conftest.$ac_objext conftest$ac_exeext
8920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8921 (eval $ac_link) 2>conftest.er1
8922 ac_status=$?
8923 grep -v '^ *+' conftest.er1 >conftest.err
8924 rm -f conftest.er1
8925 cat conftest.err >&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); } &&
8928 { ac_try='test -z "$ac_c_werror_flag"
8929 || test ! -s conftest.err'
8930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8931 (eval $ac_try) 2>&5
8932 ac_status=$?
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 (exit $ac_status); }; } &&
8935 { ac_try='test -s conftest$ac_exeext'
8936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8937 (eval $ac_try) 2>&5
8938 ac_status=$?
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); }; }; then
8941 eval "$as_ac_var=yes"
8942 else
8943 echo "$as_me: failed program was:" >&5
8944 sed 's/^/| /' conftest.$ac_ext >&5
8946 eval "$as_ac_var=no"
8948 rm -f conftest.err conftest.$ac_objext \
8949 conftest$ac_exeext conftest.$ac_ext
8951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8953 if test `eval echo '${'$as_ac_var'}'` = yes; then
8954 cat >>confdefs.h <<_ACEOF
8955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8956 _ACEOF
8959 done
8961 else
8963 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8964 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8965 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8966 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8967 echo $ECHO_N "(cached) $ECHO_C" >&6
8968 else
8972 ac_ext=cc
8973 ac_cpp='$CXXCPP $CPPFLAGS'
8974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8978 cat >conftest.$ac_ext <<_ACEOF
8979 /* confdefs.h. */
8980 _ACEOF
8981 cat confdefs.h >>conftest.$ac_ext
8982 cat >>conftest.$ac_ext <<_ACEOF
8983 /* end confdefs.h. */
8984 #include <math.h>
8985 #ifdef HAVE_IEEEFP_H
8986 #include <ieeefp.h>
8987 #endif
8990 main ()
8992 _isnan(0);
8994 return 0;
8996 _ACEOF
8997 rm -f conftest.$ac_objext
8998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8999 (eval $ac_compile) 2>conftest.er1
9000 ac_status=$?
9001 grep -v '^ *+' conftest.er1 >conftest.err
9002 rm -f conftest.er1
9003 cat conftest.err >&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); } &&
9006 { ac_try='test -z "$ac_cxx_werror_flag"
9007 || test ! -s conftest.err'
9008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9009 (eval $ac_try) 2>&5
9010 ac_status=$?
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); }; } &&
9013 { ac_try='test -s conftest.$ac_objext'
9014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9015 (eval $ac_try) 2>&5
9016 ac_status=$?
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); }; }; then
9019 glibcxx_cv_func__isnan_use=yes
9020 else
9021 echo "$as_me: failed program was:" >&5
9022 sed 's/^/| /' conftest.$ac_ext >&5
9024 glibcxx_cv_func__isnan_use=no
9026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9027 ac_ext=c
9028 ac_cpp='$CPP $CPPFLAGS'
9029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9037 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9038 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9040 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9042 for ac_func in _isnan
9044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9045 echo "$as_me:$LINENO: checking for $ac_func" >&5
9046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9047 if eval "test \"\${$as_ac_var+set}\" = set"; then
9048 echo $ECHO_N "(cached) $ECHO_C" >&6
9049 else
9050 if test x$gcc_no_link = xyes; then
9051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9053 { (exit 1); exit 1; }; }
9055 cat >conftest.$ac_ext <<_ACEOF
9056 /* confdefs.h. */
9057 _ACEOF
9058 cat confdefs.h >>conftest.$ac_ext
9059 cat >>conftest.$ac_ext <<_ACEOF
9060 /* end confdefs.h. */
9061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9063 #define $ac_func innocuous_$ac_func
9065 /* System header to define __stub macros and hopefully few prototypes,
9066 which can conflict with char $ac_func (); below.
9067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9068 <limits.h> exists even on freestanding compilers. */
9070 #ifdef __STDC__
9071 # include <limits.h>
9072 #else
9073 # include <assert.h>
9074 #endif
9076 #undef $ac_func
9078 /* Override any gcc2 internal prototype to avoid an error. */
9079 #ifdef __cplusplus
9080 extern "C"
9082 #endif
9083 /* We use char because int might match the return type of a gcc2
9084 builtin and then its argument prototype would still apply. */
9085 char $ac_func ();
9086 /* The GNU C library defines this for functions which it implements
9087 to always fail with ENOSYS. Some functions are actually named
9088 something starting with __ and the normal name is an alias. */
9089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9090 choke me
9091 #else
9092 char (*f) () = $ac_func;
9093 #endif
9094 #ifdef __cplusplus
9096 #endif
9099 main ()
9101 return f != $ac_func;
9103 return 0;
9105 _ACEOF
9106 rm -f conftest.$ac_objext conftest$ac_exeext
9107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9108 (eval $ac_link) 2>conftest.er1
9109 ac_status=$?
9110 grep -v '^ *+' conftest.er1 >conftest.err
9111 rm -f conftest.er1
9112 cat conftest.err >&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); } &&
9115 { ac_try='test -z "$ac_c_werror_flag"
9116 || test ! -s conftest.err'
9117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9118 (eval $ac_try) 2>&5
9119 ac_status=$?
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); }; } &&
9122 { ac_try='test -s conftest$ac_exeext'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 (eval $ac_try) 2>&5
9125 ac_status=$?
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; }; then
9128 eval "$as_ac_var=yes"
9129 else
9130 echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.$ac_ext >&5
9133 eval "$as_ac_var=no"
9135 rm -f conftest.err conftest.$ac_objext \
9136 conftest$ac_exeext conftest.$ac_ext
9138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9140 if test `eval echo '${'$as_ac_var'}'` = yes; then
9141 cat >>confdefs.h <<_ACEOF
9142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9143 _ACEOF
9146 done
9156 echo "$as_me:$LINENO: checking for finite declaration" >&5
9157 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9158 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9159 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9160 echo $ECHO_N "(cached) $ECHO_C" >&6
9161 else
9165 ac_ext=cc
9166 ac_cpp='$CXXCPP $CPPFLAGS'
9167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9171 cat >conftest.$ac_ext <<_ACEOF
9172 /* confdefs.h. */
9173 _ACEOF
9174 cat confdefs.h >>conftest.$ac_ext
9175 cat >>conftest.$ac_ext <<_ACEOF
9176 /* end confdefs.h. */
9177 #include <math.h>
9178 #ifdef HAVE_IEEEFP_H
9179 #include <ieeefp.h>
9180 #endif
9183 main ()
9185 finite(0);
9187 return 0;
9189 _ACEOF
9190 rm -f conftest.$ac_objext
9191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9192 (eval $ac_compile) 2>conftest.er1
9193 ac_status=$?
9194 grep -v '^ *+' conftest.er1 >conftest.err
9195 rm -f conftest.er1
9196 cat conftest.err >&5
9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 (exit $ac_status); } &&
9199 { ac_try='test -z "$ac_cxx_werror_flag"
9200 || test ! -s conftest.err'
9201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9202 (eval $ac_try) 2>&5
9203 ac_status=$?
9204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 (exit $ac_status); }; } &&
9206 { ac_try='test -s conftest.$ac_objext'
9207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9208 (eval $ac_try) 2>&5
9209 ac_status=$?
9210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211 (exit $ac_status); }; }; then
9212 glibcxx_cv_func_finite_use=yes
9213 else
9214 echo "$as_me: failed program was:" >&5
9215 sed 's/^/| /' conftest.$ac_ext >&5
9217 glibcxx_cv_func_finite_use=no
9219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9220 ac_ext=c
9221 ac_cpp='$CPP $CPPFLAGS'
9222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9230 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9231 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9233 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9235 for ac_func in finite
9237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9238 echo "$as_me:$LINENO: checking for $ac_func" >&5
9239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9240 if eval "test \"\${$as_ac_var+set}\" = set"; then
9241 echo $ECHO_N "(cached) $ECHO_C" >&6
9242 else
9243 if test x$gcc_no_link = xyes; then
9244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9246 { (exit 1); exit 1; }; }
9248 cat >conftest.$ac_ext <<_ACEOF
9249 /* confdefs.h. */
9250 _ACEOF
9251 cat confdefs.h >>conftest.$ac_ext
9252 cat >>conftest.$ac_ext <<_ACEOF
9253 /* end confdefs.h. */
9254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9256 #define $ac_func innocuous_$ac_func
9258 /* System header to define __stub macros and hopefully few prototypes,
9259 which can conflict with char $ac_func (); below.
9260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9261 <limits.h> exists even on freestanding compilers. */
9263 #ifdef __STDC__
9264 # include <limits.h>
9265 #else
9266 # include <assert.h>
9267 #endif
9269 #undef $ac_func
9271 /* Override any gcc2 internal prototype to avoid an error. */
9272 #ifdef __cplusplus
9273 extern "C"
9275 #endif
9276 /* We use char because int might match the return type of a gcc2
9277 builtin and then its argument prototype would still apply. */
9278 char $ac_func ();
9279 /* The GNU C library defines this for functions which it implements
9280 to always fail with ENOSYS. Some functions are actually named
9281 something starting with __ and the normal name is an alias. */
9282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9283 choke me
9284 #else
9285 char (*f) () = $ac_func;
9286 #endif
9287 #ifdef __cplusplus
9289 #endif
9292 main ()
9294 return f != $ac_func;
9296 return 0;
9298 _ACEOF
9299 rm -f conftest.$ac_objext conftest$ac_exeext
9300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9301 (eval $ac_link) 2>conftest.er1
9302 ac_status=$?
9303 grep -v '^ *+' conftest.er1 >conftest.err
9304 rm -f conftest.er1
9305 cat conftest.err >&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); } &&
9308 { ac_try='test -z "$ac_c_werror_flag"
9309 || test ! -s conftest.err'
9310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9311 (eval $ac_try) 2>&5
9312 ac_status=$?
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); }; } &&
9315 { ac_try='test -s conftest$ac_exeext'
9316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 (eval $ac_try) 2>&5
9318 ac_status=$?
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); }; }; then
9321 eval "$as_ac_var=yes"
9322 else
9323 echo "$as_me: failed program was:" >&5
9324 sed 's/^/| /' conftest.$ac_ext >&5
9326 eval "$as_ac_var=no"
9328 rm -f conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9333 if test `eval echo '${'$as_ac_var'}'` = yes; then
9334 cat >>confdefs.h <<_ACEOF
9335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9336 _ACEOF
9339 done
9341 else
9343 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9344 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9345 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9346 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 else
9352 ac_ext=cc
9353 ac_cpp='$CXXCPP $CPPFLAGS'
9354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9358 cat >conftest.$ac_ext <<_ACEOF
9359 /* confdefs.h. */
9360 _ACEOF
9361 cat confdefs.h >>conftest.$ac_ext
9362 cat >>conftest.$ac_ext <<_ACEOF
9363 /* end confdefs.h. */
9364 #include <math.h>
9365 #ifdef HAVE_IEEEFP_H
9366 #include <ieeefp.h>
9367 #endif
9370 main ()
9372 _finite(0);
9374 return 0;
9376 _ACEOF
9377 rm -f conftest.$ac_objext
9378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9379 (eval $ac_compile) 2>conftest.er1
9380 ac_status=$?
9381 grep -v '^ *+' conftest.er1 >conftest.err
9382 rm -f conftest.er1
9383 cat conftest.err >&5
9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9385 (exit $ac_status); } &&
9386 { ac_try='test -z "$ac_cxx_werror_flag"
9387 || test ! -s conftest.err'
9388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9389 (eval $ac_try) 2>&5
9390 ac_status=$?
9391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392 (exit $ac_status); }; } &&
9393 { ac_try='test -s conftest.$ac_objext'
9394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 (eval $ac_try) 2>&5
9396 ac_status=$?
9397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 (exit $ac_status); }; }; then
9399 glibcxx_cv_func__finite_use=yes
9400 else
9401 echo "$as_me: failed program was:" >&5
9402 sed 's/^/| /' conftest.$ac_ext >&5
9404 glibcxx_cv_func__finite_use=no
9406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9407 ac_ext=c
9408 ac_cpp='$CPP $CPPFLAGS'
9409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9417 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9418 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9420 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9422 for ac_func in _finite
9424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9425 echo "$as_me:$LINENO: checking for $ac_func" >&5
9426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9427 if eval "test \"\${$as_ac_var+set}\" = set"; then
9428 echo $ECHO_N "(cached) $ECHO_C" >&6
9429 else
9430 if test x$gcc_no_link = xyes; then
9431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9433 { (exit 1); exit 1; }; }
9435 cat >conftest.$ac_ext <<_ACEOF
9436 /* confdefs.h. */
9437 _ACEOF
9438 cat confdefs.h >>conftest.$ac_ext
9439 cat >>conftest.$ac_ext <<_ACEOF
9440 /* end confdefs.h. */
9441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9443 #define $ac_func innocuous_$ac_func
9445 /* System header to define __stub macros and hopefully few prototypes,
9446 which can conflict with char $ac_func (); below.
9447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9448 <limits.h> exists even on freestanding compilers. */
9450 #ifdef __STDC__
9451 # include <limits.h>
9452 #else
9453 # include <assert.h>
9454 #endif
9456 #undef $ac_func
9458 /* Override any gcc2 internal prototype to avoid an error. */
9459 #ifdef __cplusplus
9460 extern "C"
9462 #endif
9463 /* We use char because int might match the return type of a gcc2
9464 builtin and then its argument prototype would still apply. */
9465 char $ac_func ();
9466 /* The GNU C library defines this for functions which it implements
9467 to always fail with ENOSYS. Some functions are actually named
9468 something starting with __ and the normal name is an alias. */
9469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9470 choke me
9471 #else
9472 char (*f) () = $ac_func;
9473 #endif
9474 #ifdef __cplusplus
9476 #endif
9479 main ()
9481 return f != $ac_func;
9483 return 0;
9485 _ACEOF
9486 rm -f conftest.$ac_objext conftest$ac_exeext
9487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9488 (eval $ac_link) 2>conftest.er1
9489 ac_status=$?
9490 grep -v '^ *+' conftest.er1 >conftest.err
9491 rm -f conftest.er1
9492 cat conftest.err >&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); } &&
9495 { ac_try='test -z "$ac_c_werror_flag"
9496 || test ! -s conftest.err'
9497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9498 (eval $ac_try) 2>&5
9499 ac_status=$?
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); }; } &&
9502 { ac_try='test -s conftest$ac_exeext'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504 (eval $ac_try) 2>&5
9505 ac_status=$?
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; }; then
9508 eval "$as_ac_var=yes"
9509 else
9510 echo "$as_me: failed program was:" >&5
9511 sed 's/^/| /' conftest.$ac_ext >&5
9513 eval "$as_ac_var=no"
9515 rm -f conftest.err conftest.$ac_objext \
9516 conftest$ac_exeext conftest.$ac_ext
9518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9520 if test `eval echo '${'$as_ac_var'}'` = yes; then
9521 cat >>confdefs.h <<_ACEOF
9522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9523 _ACEOF
9526 done
9536 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9537 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9538 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9539 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9541 else
9545 ac_ext=cc
9546 ac_cpp='$CXXCPP $CPPFLAGS'
9547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9551 cat >conftest.$ac_ext <<_ACEOF
9552 /* confdefs.h. */
9553 _ACEOF
9554 cat confdefs.h >>conftest.$ac_ext
9555 cat >>conftest.$ac_ext <<_ACEOF
9556 /* end confdefs.h. */
9557 #include <math.h>
9559 main ()
9561 copysign(0, 0);
9563 return 0;
9565 _ACEOF
9566 rm -f conftest.$ac_objext
9567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9568 (eval $ac_compile) 2>conftest.er1
9569 ac_status=$?
9570 grep -v '^ *+' conftest.er1 >conftest.err
9571 rm -f conftest.er1
9572 cat conftest.err >&5
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 (exit $ac_status); } &&
9575 { ac_try='test -z "$ac_cxx_werror_flag"
9576 || test ! -s conftest.err'
9577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9578 (eval $ac_try) 2>&5
9579 ac_status=$?
9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581 (exit $ac_status); }; } &&
9582 { ac_try='test -s conftest.$ac_objext'
9583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9584 (eval $ac_try) 2>&5
9585 ac_status=$?
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }; }; then
9588 glibcxx_cv_func_copysign_use=yes
9589 else
9590 echo "$as_me: failed program was:" >&5
9591 sed 's/^/| /' conftest.$ac_ext >&5
9593 glibcxx_cv_func_copysign_use=no
9595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9596 ac_ext=c
9597 ac_cpp='$CPP $CPPFLAGS'
9598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9606 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9607 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9609 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9611 for ac_func in copysign
9613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9614 echo "$as_me:$LINENO: checking for $ac_func" >&5
9615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9616 if eval "test \"\${$as_ac_var+set}\" = set"; then
9617 echo $ECHO_N "(cached) $ECHO_C" >&6
9618 else
9619 if test x$gcc_no_link = xyes; then
9620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9622 { (exit 1); exit 1; }; }
9624 cat >conftest.$ac_ext <<_ACEOF
9625 /* confdefs.h. */
9626 _ACEOF
9627 cat confdefs.h >>conftest.$ac_ext
9628 cat >>conftest.$ac_ext <<_ACEOF
9629 /* end confdefs.h. */
9630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9632 #define $ac_func innocuous_$ac_func
9634 /* System header to define __stub macros and hopefully few prototypes,
9635 which can conflict with char $ac_func (); below.
9636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9637 <limits.h> exists even on freestanding compilers. */
9639 #ifdef __STDC__
9640 # include <limits.h>
9641 #else
9642 # include <assert.h>
9643 #endif
9645 #undef $ac_func
9647 /* Override any gcc2 internal prototype to avoid an error. */
9648 #ifdef __cplusplus
9649 extern "C"
9651 #endif
9652 /* We use char because int might match the return type of a gcc2
9653 builtin and then its argument prototype would still apply. */
9654 char $ac_func ();
9655 /* The GNU C library defines this for functions which it implements
9656 to always fail with ENOSYS. Some functions are actually named
9657 something starting with __ and the normal name is an alias. */
9658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9659 choke me
9660 #else
9661 char (*f) () = $ac_func;
9662 #endif
9663 #ifdef __cplusplus
9665 #endif
9668 main ()
9670 return f != $ac_func;
9672 return 0;
9674 _ACEOF
9675 rm -f conftest.$ac_objext conftest$ac_exeext
9676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9677 (eval $ac_link) 2>conftest.er1
9678 ac_status=$?
9679 grep -v '^ *+' conftest.er1 >conftest.err
9680 rm -f conftest.er1
9681 cat conftest.err >&5
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); } &&
9684 { ac_try='test -z "$ac_c_werror_flag"
9685 || test ! -s conftest.err'
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9687 (eval $ac_try) 2>&5
9688 ac_status=$?
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; } &&
9691 { ac_try='test -s conftest$ac_exeext'
9692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693 (eval $ac_try) 2>&5
9694 ac_status=$?
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); }; }; then
9697 eval "$as_ac_var=yes"
9698 else
9699 echo "$as_me: failed program was:" >&5
9700 sed 's/^/| /' conftest.$ac_ext >&5
9702 eval "$as_ac_var=no"
9704 rm -f conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9709 if test `eval echo '${'$as_ac_var'}'` = yes; then
9710 cat >>confdefs.h <<_ACEOF
9711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9712 _ACEOF
9715 done
9717 else
9719 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9720 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9721 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9722 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9723 echo $ECHO_N "(cached) $ECHO_C" >&6
9724 else
9728 ac_ext=cc
9729 ac_cpp='$CXXCPP $CPPFLAGS'
9730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9734 cat >conftest.$ac_ext <<_ACEOF
9735 /* confdefs.h. */
9736 _ACEOF
9737 cat confdefs.h >>conftest.$ac_ext
9738 cat >>conftest.$ac_ext <<_ACEOF
9739 /* end confdefs.h. */
9740 #include <math.h>
9742 main ()
9744 _copysign(0, 0);
9746 return 0;
9748 _ACEOF
9749 rm -f conftest.$ac_objext
9750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9751 (eval $ac_compile) 2>conftest.er1
9752 ac_status=$?
9753 grep -v '^ *+' conftest.er1 >conftest.err
9754 rm -f conftest.er1
9755 cat conftest.err >&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); } &&
9758 { ac_try='test -z "$ac_cxx_werror_flag"
9759 || test ! -s conftest.err'
9760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9761 (eval $ac_try) 2>&5
9762 ac_status=$?
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); }; } &&
9765 { ac_try='test -s conftest.$ac_objext'
9766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9767 (eval $ac_try) 2>&5
9768 ac_status=$?
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); }; }; then
9771 glibcxx_cv_func__copysign_use=yes
9772 else
9773 echo "$as_me: failed program was:" >&5
9774 sed 's/^/| /' conftest.$ac_ext >&5
9776 glibcxx_cv_func__copysign_use=no
9778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9779 ac_ext=c
9780 ac_cpp='$CPP $CPPFLAGS'
9781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9789 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9790 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9792 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9794 for ac_func in _copysign
9796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9797 echo "$as_me:$LINENO: checking for $ac_func" >&5
9798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9799 if eval "test \"\${$as_ac_var+set}\" = set"; then
9800 echo $ECHO_N "(cached) $ECHO_C" >&6
9801 else
9802 if test x$gcc_no_link = xyes; then
9803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9805 { (exit 1); exit 1; }; }
9807 cat >conftest.$ac_ext <<_ACEOF
9808 /* confdefs.h. */
9809 _ACEOF
9810 cat confdefs.h >>conftest.$ac_ext
9811 cat >>conftest.$ac_ext <<_ACEOF
9812 /* end confdefs.h. */
9813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9815 #define $ac_func innocuous_$ac_func
9817 /* System header to define __stub macros and hopefully few prototypes,
9818 which can conflict with char $ac_func (); below.
9819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9820 <limits.h> exists even on freestanding compilers. */
9822 #ifdef __STDC__
9823 # include <limits.h>
9824 #else
9825 # include <assert.h>
9826 #endif
9828 #undef $ac_func
9830 /* Override any gcc2 internal prototype to avoid an error. */
9831 #ifdef __cplusplus
9832 extern "C"
9834 #endif
9835 /* We use char because int might match the return type of a gcc2
9836 builtin and then its argument prototype would still apply. */
9837 char $ac_func ();
9838 /* The GNU C library defines this for functions which it implements
9839 to always fail with ENOSYS. Some functions are actually named
9840 something starting with __ and the normal name is an alias. */
9841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9842 choke me
9843 #else
9844 char (*f) () = $ac_func;
9845 #endif
9846 #ifdef __cplusplus
9848 #endif
9851 main ()
9853 return f != $ac_func;
9855 return 0;
9857 _ACEOF
9858 rm -f conftest.$ac_objext conftest$ac_exeext
9859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9860 (eval $ac_link) 2>conftest.er1
9861 ac_status=$?
9862 grep -v '^ *+' conftest.er1 >conftest.err
9863 rm -f conftest.er1
9864 cat conftest.err >&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); } &&
9867 { ac_try='test -z "$ac_c_werror_flag"
9868 || test ! -s conftest.err'
9869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9870 (eval $ac_try) 2>&5
9871 ac_status=$?
9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 (exit $ac_status); }; } &&
9874 { ac_try='test -s conftest$ac_exeext'
9875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9876 (eval $ac_try) 2>&5
9877 ac_status=$?
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); }; }; then
9880 eval "$as_ac_var=yes"
9881 else
9882 echo "$as_me: failed program was:" >&5
9883 sed 's/^/| /' conftest.$ac_ext >&5
9885 eval "$as_ac_var=no"
9887 rm -f conftest.err conftest.$ac_objext \
9888 conftest$ac_exeext conftest.$ac_ext
9890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9892 if test `eval echo '${'$as_ac_var'}'` = yes; then
9893 cat >>confdefs.h <<_ACEOF
9894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9895 _ACEOF
9898 done
9908 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9909 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9910 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9911 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9912 echo $ECHO_N "(cached) $ECHO_C" >&6
9913 else
9917 ac_ext=cc
9918 ac_cpp='$CXXCPP $CPPFLAGS'
9919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9923 cat >conftest.$ac_ext <<_ACEOF
9924 /* confdefs.h. */
9925 _ACEOF
9926 cat confdefs.h >>conftest.$ac_ext
9927 cat >>conftest.$ac_ext <<_ACEOF
9928 /* end confdefs.h. */
9929 #include <math.h>
9931 main ()
9933 sincos(0, 0, 0);
9935 return 0;
9937 _ACEOF
9938 rm -f conftest.$ac_objext
9939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9940 (eval $ac_compile) 2>conftest.er1
9941 ac_status=$?
9942 grep -v '^ *+' conftest.er1 >conftest.err
9943 rm -f conftest.er1
9944 cat conftest.err >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } &&
9947 { ac_try='test -z "$ac_cxx_werror_flag"
9948 || test ! -s conftest.err'
9949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9950 (eval $ac_try) 2>&5
9951 ac_status=$?
9952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953 (exit $ac_status); }; } &&
9954 { ac_try='test -s conftest.$ac_objext'
9955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956 (eval $ac_try) 2>&5
9957 ac_status=$?
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); }; }; then
9960 glibcxx_cv_func_sincos_use=yes
9961 else
9962 echo "$as_me: failed program was:" >&5
9963 sed 's/^/| /' conftest.$ac_ext >&5
9965 glibcxx_cv_func_sincos_use=no
9967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9968 ac_ext=c
9969 ac_cpp='$CPP $CPPFLAGS'
9970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9978 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9979 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9981 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9983 for ac_func in sincos
9985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9986 echo "$as_me:$LINENO: checking for $ac_func" >&5
9987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9988 if eval "test \"\${$as_ac_var+set}\" = set"; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9990 else
9991 if test x$gcc_no_link = xyes; then
9992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9994 { (exit 1); exit 1; }; }
9996 cat >conftest.$ac_ext <<_ACEOF
9997 /* confdefs.h. */
9998 _ACEOF
9999 cat confdefs.h >>conftest.$ac_ext
10000 cat >>conftest.$ac_ext <<_ACEOF
10001 /* end confdefs.h. */
10002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10004 #define $ac_func innocuous_$ac_func
10006 /* System header to define __stub macros and hopefully few prototypes,
10007 which can conflict with char $ac_func (); below.
10008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10009 <limits.h> exists even on freestanding compilers. */
10011 #ifdef __STDC__
10012 # include <limits.h>
10013 #else
10014 # include <assert.h>
10015 #endif
10017 #undef $ac_func
10019 /* Override any gcc2 internal prototype to avoid an error. */
10020 #ifdef __cplusplus
10021 extern "C"
10023 #endif
10024 /* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10026 char $ac_func ();
10027 /* The GNU C library defines this for functions which it implements
10028 to always fail with ENOSYS. Some functions are actually named
10029 something starting with __ and the normal name is an alias. */
10030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10031 choke me
10032 #else
10033 char (*f) () = $ac_func;
10034 #endif
10035 #ifdef __cplusplus
10037 #endif
10040 main ()
10042 return f != $ac_func;
10044 return 0;
10046 _ACEOF
10047 rm -f conftest.$ac_objext conftest$ac_exeext
10048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10049 (eval $ac_link) 2>conftest.er1
10050 ac_status=$?
10051 grep -v '^ *+' conftest.er1 >conftest.err
10052 rm -f conftest.er1
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } &&
10056 { ac_try='test -z "$ac_c_werror_flag"
10057 || test ! -s conftest.err'
10058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10059 (eval $ac_try) 2>&5
10060 ac_status=$?
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); }; } &&
10063 { ac_try='test -s conftest$ac_exeext'
10064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10065 (eval $ac_try) 2>&5
10066 ac_status=$?
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); }; }; then
10069 eval "$as_ac_var=yes"
10070 else
10071 echo "$as_me: failed program was:" >&5
10072 sed 's/^/| /' conftest.$ac_ext >&5
10074 eval "$as_ac_var=no"
10076 rm -f conftest.err conftest.$ac_objext \
10077 conftest$ac_exeext conftest.$ac_ext
10079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10081 if test `eval echo '${'$as_ac_var'}'` = yes; then
10082 cat >>confdefs.h <<_ACEOF
10083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10084 _ACEOF
10087 done
10089 else
10091 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10092 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10093 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10094 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10095 echo $ECHO_N "(cached) $ECHO_C" >&6
10096 else
10100 ac_ext=cc
10101 ac_cpp='$CXXCPP $CPPFLAGS'
10102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10106 cat >conftest.$ac_ext <<_ACEOF
10107 /* confdefs.h. */
10108 _ACEOF
10109 cat confdefs.h >>conftest.$ac_ext
10110 cat >>conftest.$ac_ext <<_ACEOF
10111 /* end confdefs.h. */
10112 #include <math.h>
10114 main ()
10116 _sincos(0, 0, 0);
10118 return 0;
10120 _ACEOF
10121 rm -f conftest.$ac_objext
10122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10123 (eval $ac_compile) 2>conftest.er1
10124 ac_status=$?
10125 grep -v '^ *+' conftest.er1 >conftest.err
10126 rm -f conftest.er1
10127 cat conftest.err >&5
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); } &&
10130 { ac_try='test -z "$ac_cxx_werror_flag"
10131 || test ! -s conftest.err'
10132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10133 (eval $ac_try) 2>&5
10134 ac_status=$?
10135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136 (exit $ac_status); }; } &&
10137 { ac_try='test -s conftest.$ac_objext'
10138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10139 (eval $ac_try) 2>&5
10140 ac_status=$?
10141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142 (exit $ac_status); }; }; then
10143 glibcxx_cv_func__sincos_use=yes
10144 else
10145 echo "$as_me: failed program was:" >&5
10146 sed 's/^/| /' conftest.$ac_ext >&5
10148 glibcxx_cv_func__sincos_use=no
10150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10151 ac_ext=c
10152 ac_cpp='$CPP $CPPFLAGS'
10153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10161 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10162 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10164 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10166 for ac_func in _sincos
10168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10169 echo "$as_me:$LINENO: checking for $ac_func" >&5
10170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10171 if eval "test \"\${$as_ac_var+set}\" = set"; then
10172 echo $ECHO_N "(cached) $ECHO_C" >&6
10173 else
10174 if test x$gcc_no_link = xyes; then
10175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10177 { (exit 1); exit 1; }; }
10179 cat >conftest.$ac_ext <<_ACEOF
10180 /* confdefs.h. */
10181 _ACEOF
10182 cat confdefs.h >>conftest.$ac_ext
10183 cat >>conftest.$ac_ext <<_ACEOF
10184 /* end confdefs.h. */
10185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10187 #define $ac_func innocuous_$ac_func
10189 /* System header to define __stub macros and hopefully few prototypes,
10190 which can conflict with char $ac_func (); below.
10191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10192 <limits.h> exists even on freestanding compilers. */
10194 #ifdef __STDC__
10195 # include <limits.h>
10196 #else
10197 # include <assert.h>
10198 #endif
10200 #undef $ac_func
10202 /* Override any gcc2 internal prototype to avoid an error. */
10203 #ifdef __cplusplus
10204 extern "C"
10206 #endif
10207 /* We use char because int might match the return type of a gcc2
10208 builtin and then its argument prototype would still apply. */
10209 char $ac_func ();
10210 /* The GNU C library defines this for functions which it implements
10211 to always fail with ENOSYS. Some functions are actually named
10212 something starting with __ and the normal name is an alias. */
10213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10214 choke me
10215 #else
10216 char (*f) () = $ac_func;
10217 #endif
10218 #ifdef __cplusplus
10220 #endif
10223 main ()
10225 return f != $ac_func;
10227 return 0;
10229 _ACEOF
10230 rm -f conftest.$ac_objext conftest$ac_exeext
10231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10232 (eval $ac_link) 2>conftest.er1
10233 ac_status=$?
10234 grep -v '^ *+' conftest.er1 >conftest.err
10235 rm -f conftest.er1
10236 cat conftest.err >&5
10237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10238 (exit $ac_status); } &&
10239 { ac_try='test -z "$ac_c_werror_flag"
10240 || test ! -s conftest.err'
10241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10242 (eval $ac_try) 2>&5
10243 ac_status=$?
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 (exit $ac_status); }; } &&
10246 { ac_try='test -s conftest$ac_exeext'
10247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10248 (eval $ac_try) 2>&5
10249 ac_status=$?
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); }; }; then
10252 eval "$as_ac_var=yes"
10253 else
10254 echo "$as_me: failed program was:" >&5
10255 sed 's/^/| /' conftest.$ac_ext >&5
10257 eval "$as_ac_var=no"
10259 rm -f conftest.err conftest.$ac_objext \
10260 conftest$ac_exeext conftest.$ac_ext
10262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10264 if test `eval echo '${'$as_ac_var'}'` = yes; then
10265 cat >>confdefs.h <<_ACEOF
10266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10267 _ACEOF
10270 done
10280 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10281 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10282 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10283 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10284 echo $ECHO_N "(cached) $ECHO_C" >&6
10285 else
10289 ac_ext=cc
10290 ac_cpp='$CXXCPP $CPPFLAGS'
10291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10295 cat >conftest.$ac_ext <<_ACEOF
10296 /* confdefs.h. */
10297 _ACEOF
10298 cat confdefs.h >>conftest.$ac_ext
10299 cat >>conftest.$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10301 #include <math.h>
10302 #ifdef HAVE_IEEEFP_H
10303 #include <ieeefp.h>
10304 #endif
10307 main ()
10309 fpclass(0);
10311 return 0;
10313 _ACEOF
10314 rm -f conftest.$ac_objext
10315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10316 (eval $ac_compile) 2>conftest.er1
10317 ac_status=$?
10318 grep -v '^ *+' conftest.er1 >conftest.err
10319 rm -f conftest.er1
10320 cat conftest.err >&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); } &&
10323 { ac_try='test -z "$ac_cxx_werror_flag"
10324 || test ! -s conftest.err'
10325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326 (eval $ac_try) 2>&5
10327 ac_status=$?
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }; } &&
10330 { ac_try='test -s conftest.$ac_objext'
10331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10332 (eval $ac_try) 2>&5
10333 ac_status=$?
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); }; }; then
10336 glibcxx_cv_func_fpclass_use=yes
10337 else
10338 echo "$as_me: failed program was:" >&5
10339 sed 's/^/| /' conftest.$ac_ext >&5
10341 glibcxx_cv_func_fpclass_use=no
10343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10344 ac_ext=c
10345 ac_cpp='$CPP $CPPFLAGS'
10346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10354 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10355 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10357 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10359 for ac_func in fpclass
10361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10362 echo "$as_me:$LINENO: checking for $ac_func" >&5
10363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10364 if eval "test \"\${$as_ac_var+set}\" = set"; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10366 else
10367 if test x$gcc_no_link = xyes; then
10368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10370 { (exit 1); exit 1; }; }
10372 cat >conftest.$ac_ext <<_ACEOF
10373 /* confdefs.h. */
10374 _ACEOF
10375 cat confdefs.h >>conftest.$ac_ext
10376 cat >>conftest.$ac_ext <<_ACEOF
10377 /* end confdefs.h. */
10378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10380 #define $ac_func innocuous_$ac_func
10382 /* System header to define __stub macros and hopefully few prototypes,
10383 which can conflict with char $ac_func (); below.
10384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10385 <limits.h> exists even on freestanding compilers. */
10387 #ifdef __STDC__
10388 # include <limits.h>
10389 #else
10390 # include <assert.h>
10391 #endif
10393 #undef $ac_func
10395 /* Override any gcc2 internal prototype to avoid an error. */
10396 #ifdef __cplusplus
10397 extern "C"
10399 #endif
10400 /* We use char because int might match the return type of a gcc2
10401 builtin and then its argument prototype would still apply. */
10402 char $ac_func ();
10403 /* The GNU C library defines this for functions which it implements
10404 to always fail with ENOSYS. Some functions are actually named
10405 something starting with __ and the normal name is an alias. */
10406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10407 choke me
10408 #else
10409 char (*f) () = $ac_func;
10410 #endif
10411 #ifdef __cplusplus
10413 #endif
10416 main ()
10418 return f != $ac_func;
10420 return 0;
10422 _ACEOF
10423 rm -f conftest.$ac_objext conftest$ac_exeext
10424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10425 (eval $ac_link) 2>conftest.er1
10426 ac_status=$?
10427 grep -v '^ *+' conftest.er1 >conftest.err
10428 rm -f conftest.er1
10429 cat conftest.err >&5
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); } &&
10432 { ac_try='test -z "$ac_c_werror_flag"
10433 || test ! -s conftest.err'
10434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10435 (eval $ac_try) 2>&5
10436 ac_status=$?
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); }; } &&
10439 { ac_try='test -s conftest$ac_exeext'
10440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10441 (eval $ac_try) 2>&5
10442 ac_status=$?
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); }; }; then
10445 eval "$as_ac_var=yes"
10446 else
10447 echo "$as_me: failed program was:" >&5
10448 sed 's/^/| /' conftest.$ac_ext >&5
10450 eval "$as_ac_var=no"
10452 rm -f conftest.err conftest.$ac_objext \
10453 conftest$ac_exeext conftest.$ac_ext
10455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10457 if test `eval echo '${'$as_ac_var'}'` = yes; then
10458 cat >>confdefs.h <<_ACEOF
10459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10460 _ACEOF
10463 done
10465 else
10467 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10468 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10469 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10470 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10471 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 else
10476 ac_ext=cc
10477 ac_cpp='$CXXCPP $CPPFLAGS'
10478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10482 cat >conftest.$ac_ext <<_ACEOF
10483 /* confdefs.h. */
10484 _ACEOF
10485 cat confdefs.h >>conftest.$ac_ext
10486 cat >>conftest.$ac_ext <<_ACEOF
10487 /* end confdefs.h. */
10488 #include <math.h>
10489 #ifdef HAVE_IEEEFP_H
10490 #include <ieeefp.h>
10491 #endif
10494 main ()
10496 _fpclass(0);
10498 return 0;
10500 _ACEOF
10501 rm -f conftest.$ac_objext
10502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10503 (eval $ac_compile) 2>conftest.er1
10504 ac_status=$?
10505 grep -v '^ *+' conftest.er1 >conftest.err
10506 rm -f conftest.er1
10507 cat conftest.err >&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try='test -z "$ac_cxx_werror_flag"
10511 || test ! -s conftest.err'
10512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10513 (eval $ac_try) 2>&5
10514 ac_status=$?
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; } &&
10517 { ac_try='test -s conftest.$ac_objext'
10518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10519 (eval $ac_try) 2>&5
10520 ac_status=$?
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 (exit $ac_status); }; }; then
10523 glibcxx_cv_func__fpclass_use=yes
10524 else
10525 echo "$as_me: failed program was:" >&5
10526 sed 's/^/| /' conftest.$ac_ext >&5
10528 glibcxx_cv_func__fpclass_use=no
10530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10531 ac_ext=c
10532 ac_cpp='$CPP $CPPFLAGS'
10533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10541 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10542 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10544 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10546 for ac_func in _fpclass
10548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10549 echo "$as_me:$LINENO: checking for $ac_func" >&5
10550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10551 if eval "test \"\${$as_ac_var+set}\" = set"; then
10552 echo $ECHO_N "(cached) $ECHO_C" >&6
10553 else
10554 if test x$gcc_no_link = xyes; then
10555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10557 { (exit 1); exit 1; }; }
10559 cat >conftest.$ac_ext <<_ACEOF
10560 /* confdefs.h. */
10561 _ACEOF
10562 cat confdefs.h >>conftest.$ac_ext
10563 cat >>conftest.$ac_ext <<_ACEOF
10564 /* end confdefs.h. */
10565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10567 #define $ac_func innocuous_$ac_func
10569 /* System header to define __stub macros and hopefully few prototypes,
10570 which can conflict with char $ac_func (); below.
10571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10572 <limits.h> exists even on freestanding compilers. */
10574 #ifdef __STDC__
10575 # include <limits.h>
10576 #else
10577 # include <assert.h>
10578 #endif
10580 #undef $ac_func
10582 /* Override any gcc2 internal prototype to avoid an error. */
10583 #ifdef __cplusplus
10584 extern "C"
10586 #endif
10587 /* We use char because int might match the return type of a gcc2
10588 builtin and then its argument prototype would still apply. */
10589 char $ac_func ();
10590 /* The GNU C library defines this for functions which it implements
10591 to always fail with ENOSYS. Some functions are actually named
10592 something starting with __ and the normal name is an alias. */
10593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10594 choke me
10595 #else
10596 char (*f) () = $ac_func;
10597 #endif
10598 #ifdef __cplusplus
10600 #endif
10603 main ()
10605 return f != $ac_func;
10607 return 0;
10609 _ACEOF
10610 rm -f conftest.$ac_objext conftest$ac_exeext
10611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10612 (eval $ac_link) 2>conftest.er1
10613 ac_status=$?
10614 grep -v '^ *+' conftest.er1 >conftest.err
10615 rm -f conftest.er1
10616 cat conftest.err >&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); } &&
10619 { ac_try='test -z "$ac_c_werror_flag"
10620 || test ! -s conftest.err'
10621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10622 (eval $ac_try) 2>&5
10623 ac_status=$?
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); }; } &&
10626 { ac_try='test -s conftest$ac_exeext'
10627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10628 (eval $ac_try) 2>&5
10629 ac_status=$?
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); }; }; then
10632 eval "$as_ac_var=yes"
10633 else
10634 echo "$as_me: failed program was:" >&5
10635 sed 's/^/| /' conftest.$ac_ext >&5
10637 eval "$as_ac_var=no"
10639 rm -f conftest.err conftest.$ac_objext \
10640 conftest$ac_exeext conftest.$ac_ext
10642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10644 if test `eval echo '${'$as_ac_var'}'` = yes; then
10645 cat >>confdefs.h <<_ACEOF
10646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10647 _ACEOF
10650 done
10660 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10661 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10662 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10663 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10664 echo $ECHO_N "(cached) $ECHO_C" >&6
10665 else
10669 ac_ext=cc
10670 ac_cpp='$CXXCPP $CPPFLAGS'
10671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10675 cat >conftest.$ac_ext <<_ACEOF
10676 /* confdefs.h. */
10677 _ACEOF
10678 cat confdefs.h >>conftest.$ac_ext
10679 cat >>conftest.$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10681 #include <math.h>
10682 #ifdef HAVE_IEEEFP_H
10683 #include <ieeefp.h>
10684 #endif
10687 main ()
10689 qfpclass(0);
10691 return 0;
10693 _ACEOF
10694 rm -f conftest.$ac_objext
10695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10696 (eval $ac_compile) 2>conftest.er1
10697 ac_status=$?
10698 grep -v '^ *+' conftest.er1 >conftest.err
10699 rm -f conftest.er1
10700 cat conftest.err >&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); } &&
10703 { ac_try='test -z "$ac_cxx_werror_flag"
10704 || test ! -s conftest.err'
10705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10706 (eval $ac_try) 2>&5
10707 ac_status=$?
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); }; } &&
10710 { ac_try='test -s conftest.$ac_objext'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10713 ac_status=$?
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; }; then
10716 glibcxx_cv_func_qfpclass_use=yes
10717 else
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.$ac_ext >&5
10721 glibcxx_cv_func_qfpclass_use=no
10723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10724 ac_ext=c
10725 ac_cpp='$CPP $CPPFLAGS'
10726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10734 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10735 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10737 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10739 for ac_func in qfpclass
10741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10742 echo "$as_me:$LINENO: checking for $ac_func" >&5
10743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10744 if eval "test \"\${$as_ac_var+set}\" = set"; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10746 else
10747 if test x$gcc_no_link = xyes; then
10748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10750 { (exit 1); exit 1; }; }
10752 cat >conftest.$ac_ext <<_ACEOF
10753 /* confdefs.h. */
10754 _ACEOF
10755 cat confdefs.h >>conftest.$ac_ext
10756 cat >>conftest.$ac_ext <<_ACEOF
10757 /* end confdefs.h. */
10758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10760 #define $ac_func innocuous_$ac_func
10762 /* System header to define __stub macros and hopefully few prototypes,
10763 which can conflict with char $ac_func (); below.
10764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10765 <limits.h> exists even on freestanding compilers. */
10767 #ifdef __STDC__
10768 # include <limits.h>
10769 #else
10770 # include <assert.h>
10771 #endif
10773 #undef $ac_func
10775 /* Override any gcc2 internal prototype to avoid an error. */
10776 #ifdef __cplusplus
10777 extern "C"
10779 #endif
10780 /* We use char because int might match the return type of a gcc2
10781 builtin and then its argument prototype would still apply. */
10782 char $ac_func ();
10783 /* The GNU C library defines this for functions which it implements
10784 to always fail with ENOSYS. Some functions are actually named
10785 something starting with __ and the normal name is an alias. */
10786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10787 choke me
10788 #else
10789 char (*f) () = $ac_func;
10790 #endif
10791 #ifdef __cplusplus
10793 #endif
10796 main ()
10798 return f != $ac_func;
10800 return 0;
10802 _ACEOF
10803 rm -f conftest.$ac_objext conftest$ac_exeext
10804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10805 (eval $ac_link) 2>conftest.er1
10806 ac_status=$?
10807 grep -v '^ *+' conftest.er1 >conftest.err
10808 rm -f conftest.er1
10809 cat conftest.err >&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } &&
10812 { ac_try='test -z "$ac_c_werror_flag"
10813 || test ! -s conftest.err'
10814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10815 (eval $ac_try) 2>&5
10816 ac_status=$?
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); }; } &&
10819 { ac_try='test -s conftest$ac_exeext'
10820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10821 (eval $ac_try) 2>&5
10822 ac_status=$?
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); }; }; then
10825 eval "$as_ac_var=yes"
10826 else
10827 echo "$as_me: failed program was:" >&5
10828 sed 's/^/| /' conftest.$ac_ext >&5
10830 eval "$as_ac_var=no"
10832 rm -f conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10837 if test `eval echo '${'$as_ac_var'}'` = yes; then
10838 cat >>confdefs.h <<_ACEOF
10839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10840 _ACEOF
10843 done
10845 else
10847 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10848 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10849 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10850 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10851 echo $ECHO_N "(cached) $ECHO_C" >&6
10852 else
10856 ac_ext=cc
10857 ac_cpp='$CXXCPP $CPPFLAGS'
10858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10862 cat >conftest.$ac_ext <<_ACEOF
10863 /* confdefs.h. */
10864 _ACEOF
10865 cat confdefs.h >>conftest.$ac_ext
10866 cat >>conftest.$ac_ext <<_ACEOF
10867 /* end confdefs.h. */
10868 #include <math.h>
10869 #ifdef HAVE_IEEEFP_H
10870 #include <ieeefp.h>
10871 #endif
10874 main ()
10876 _qfpclass(0);
10878 return 0;
10880 _ACEOF
10881 rm -f conftest.$ac_objext
10882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10883 (eval $ac_compile) 2>conftest.er1
10884 ac_status=$?
10885 grep -v '^ *+' conftest.er1 >conftest.err
10886 rm -f conftest.er1
10887 cat conftest.err >&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); } &&
10890 { ac_try='test -z "$ac_cxx_werror_flag"
10891 || test ! -s conftest.err'
10892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10893 (eval $ac_try) 2>&5
10894 ac_status=$?
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; } &&
10897 { ac_try='test -s conftest.$ac_objext'
10898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10899 (eval $ac_try) 2>&5
10900 ac_status=$?
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); }; }; then
10903 glibcxx_cv_func__qfpclass_use=yes
10904 else
10905 echo "$as_me: failed program was:" >&5
10906 sed 's/^/| /' conftest.$ac_ext >&5
10908 glibcxx_cv_func__qfpclass_use=no
10910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10911 ac_ext=c
10912 ac_cpp='$CPP $CPPFLAGS'
10913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10921 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10922 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10924 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10926 for ac_func in _qfpclass
10928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10929 echo "$as_me:$LINENO: checking for $ac_func" >&5
10930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10931 if eval "test \"\${$as_ac_var+set}\" = set"; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10933 else
10934 if test x$gcc_no_link = xyes; then
10935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10937 { (exit 1); exit 1; }; }
10939 cat >conftest.$ac_ext <<_ACEOF
10940 /* confdefs.h. */
10941 _ACEOF
10942 cat confdefs.h >>conftest.$ac_ext
10943 cat >>conftest.$ac_ext <<_ACEOF
10944 /* end confdefs.h. */
10945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10947 #define $ac_func innocuous_$ac_func
10949 /* System header to define __stub macros and hopefully few prototypes,
10950 which can conflict with char $ac_func (); below.
10951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10952 <limits.h> exists even on freestanding compilers. */
10954 #ifdef __STDC__
10955 # include <limits.h>
10956 #else
10957 # include <assert.h>
10958 #endif
10960 #undef $ac_func
10962 /* Override any gcc2 internal prototype to avoid an error. */
10963 #ifdef __cplusplus
10964 extern "C"
10966 #endif
10967 /* We use char because int might match the return type of a gcc2
10968 builtin and then its argument prototype would still apply. */
10969 char $ac_func ();
10970 /* The GNU C library defines this for functions which it implements
10971 to always fail with ENOSYS. Some functions are actually named
10972 something starting with __ and the normal name is an alias. */
10973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10974 choke me
10975 #else
10976 char (*f) () = $ac_func;
10977 #endif
10978 #ifdef __cplusplus
10980 #endif
10983 main ()
10985 return f != $ac_func;
10987 return 0;
10989 _ACEOF
10990 rm -f conftest.$ac_objext conftest$ac_exeext
10991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10992 (eval $ac_link) 2>conftest.er1
10993 ac_status=$?
10994 grep -v '^ *+' conftest.er1 >conftest.err
10995 rm -f conftest.er1
10996 cat conftest.err >&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } &&
10999 { ac_try='test -z "$ac_c_werror_flag"
11000 || test ! -s conftest.err'
11001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11002 (eval $ac_try) 2>&5
11003 ac_status=$?
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); }; } &&
11006 { ac_try='test -s conftest$ac_exeext'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5
11009 ac_status=$?
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; }; then
11012 eval "$as_ac_var=yes"
11013 else
11014 echo "$as_me: failed program was:" >&5
11015 sed 's/^/| /' conftest.$ac_ext >&5
11017 eval "$as_ac_var=no"
11019 rm -f conftest.err conftest.$ac_objext \
11020 conftest$ac_exeext conftest.$ac_ext
11022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11024 if test `eval echo '${'$as_ac_var'}'` = yes; then
11025 cat >>confdefs.h <<_ACEOF
11026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11027 _ACEOF
11030 done
11040 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11041 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11042 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11043 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11045 else
11049 ac_ext=cc
11050 ac_cpp='$CXXCPP $CPPFLAGS'
11051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11055 cat >conftest.$ac_ext <<_ACEOF
11056 /* confdefs.h. */
11057 _ACEOF
11058 cat confdefs.h >>conftest.$ac_ext
11059 cat >>conftest.$ac_ext <<_ACEOF
11060 /* end confdefs.h. */
11061 #include <math.h>
11063 main ()
11065 hypot(0, 0);
11067 return 0;
11069 _ACEOF
11070 rm -f conftest.$ac_objext
11071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11072 (eval $ac_compile) 2>conftest.er1
11073 ac_status=$?
11074 grep -v '^ *+' conftest.er1 >conftest.err
11075 rm -f conftest.er1
11076 cat conftest.err >&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } &&
11079 { ac_try='test -z "$ac_cxx_werror_flag"
11080 || test ! -s conftest.err'
11081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11082 (eval $ac_try) 2>&5
11083 ac_status=$?
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); }; } &&
11086 { ac_try='test -s conftest.$ac_objext'
11087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11088 (eval $ac_try) 2>&5
11089 ac_status=$?
11090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091 (exit $ac_status); }; }; then
11092 glibcxx_cv_func_hypot_use=yes
11093 else
11094 echo "$as_me: failed program was:" >&5
11095 sed 's/^/| /' conftest.$ac_ext >&5
11097 glibcxx_cv_func_hypot_use=no
11099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11100 ac_ext=c
11101 ac_cpp='$CPP $CPPFLAGS'
11102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11110 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11111 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11113 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11115 for ac_func in hypot
11117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11118 echo "$as_me:$LINENO: checking for $ac_func" >&5
11119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11120 if eval "test \"\${$as_ac_var+set}\" = set"; then
11121 echo $ECHO_N "(cached) $ECHO_C" >&6
11122 else
11123 if test x$gcc_no_link = xyes; then
11124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11126 { (exit 1); exit 1; }; }
11128 cat >conftest.$ac_ext <<_ACEOF
11129 /* confdefs.h. */
11130 _ACEOF
11131 cat confdefs.h >>conftest.$ac_ext
11132 cat >>conftest.$ac_ext <<_ACEOF
11133 /* end confdefs.h. */
11134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11136 #define $ac_func innocuous_$ac_func
11138 /* System header to define __stub macros and hopefully few prototypes,
11139 which can conflict with char $ac_func (); below.
11140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11141 <limits.h> exists even on freestanding compilers. */
11143 #ifdef __STDC__
11144 # include <limits.h>
11145 #else
11146 # include <assert.h>
11147 #endif
11149 #undef $ac_func
11151 /* Override any gcc2 internal prototype to avoid an error. */
11152 #ifdef __cplusplus
11153 extern "C"
11155 #endif
11156 /* We use char because int might match the return type of a gcc2
11157 builtin and then its argument prototype would still apply. */
11158 char $ac_func ();
11159 /* The GNU C library defines this for functions which it implements
11160 to always fail with ENOSYS. Some functions are actually named
11161 something starting with __ and the normal name is an alias. */
11162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11163 choke me
11164 #else
11165 char (*f) () = $ac_func;
11166 #endif
11167 #ifdef __cplusplus
11169 #endif
11172 main ()
11174 return f != $ac_func;
11176 return 0;
11178 _ACEOF
11179 rm -f conftest.$ac_objext conftest$ac_exeext
11180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11181 (eval $ac_link) 2>conftest.er1
11182 ac_status=$?
11183 grep -v '^ *+' conftest.er1 >conftest.err
11184 rm -f conftest.er1
11185 cat conftest.err >&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); } &&
11188 { ac_try='test -z "$ac_c_werror_flag"
11189 || test ! -s conftest.err'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11192 ac_status=$?
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; } &&
11195 { ac_try='test -s conftest$ac_exeext'
11196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5
11198 ac_status=$?
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; }; then
11201 eval "$as_ac_var=yes"
11202 else
11203 echo "$as_me: failed program was:" >&5
11204 sed 's/^/| /' conftest.$ac_ext >&5
11206 eval "$as_ac_var=no"
11208 rm -f conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11213 if test `eval echo '${'$as_ac_var'}'` = yes; then
11214 cat >>confdefs.h <<_ACEOF
11215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11216 _ACEOF
11219 done
11221 else
11223 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11224 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11225 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11226 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11227 echo $ECHO_N "(cached) $ECHO_C" >&6
11228 else
11232 ac_ext=cc
11233 ac_cpp='$CXXCPP $CPPFLAGS'
11234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11238 cat >conftest.$ac_ext <<_ACEOF
11239 /* confdefs.h. */
11240 _ACEOF
11241 cat confdefs.h >>conftest.$ac_ext
11242 cat >>conftest.$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11244 #include <math.h>
11246 main ()
11248 _hypot(0, 0);
11250 return 0;
11252 _ACEOF
11253 rm -f conftest.$ac_objext
11254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11255 (eval $ac_compile) 2>conftest.er1
11256 ac_status=$?
11257 grep -v '^ *+' conftest.er1 >conftest.err
11258 rm -f conftest.er1
11259 cat conftest.err >&5
11260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11261 (exit $ac_status); } &&
11262 { ac_try='test -z "$ac_cxx_werror_flag"
11263 || test ! -s conftest.err'
11264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11265 (eval $ac_try) 2>&5
11266 ac_status=$?
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); }; } &&
11269 { ac_try='test -s conftest.$ac_objext'
11270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11271 (eval $ac_try) 2>&5
11272 ac_status=$?
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); }; }; then
11275 glibcxx_cv_func__hypot_use=yes
11276 else
11277 echo "$as_me: failed program was:" >&5
11278 sed 's/^/| /' conftest.$ac_ext >&5
11280 glibcxx_cv_func__hypot_use=no
11282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11283 ac_ext=c
11284 ac_cpp='$CPP $CPPFLAGS'
11285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11293 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11294 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11296 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11298 for ac_func in _hypot
11300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11301 echo "$as_me:$LINENO: checking for $ac_func" >&5
11302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11303 if eval "test \"\${$as_ac_var+set}\" = set"; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 else
11306 if test x$gcc_no_link = xyes; then
11307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11309 { (exit 1); exit 1; }; }
11311 cat >conftest.$ac_ext <<_ACEOF
11312 /* confdefs.h. */
11313 _ACEOF
11314 cat confdefs.h >>conftest.$ac_ext
11315 cat >>conftest.$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11319 #define $ac_func innocuous_$ac_func
11321 /* System header to define __stub macros and hopefully few prototypes,
11322 which can conflict with char $ac_func (); below.
11323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11324 <limits.h> exists even on freestanding compilers. */
11326 #ifdef __STDC__
11327 # include <limits.h>
11328 #else
11329 # include <assert.h>
11330 #endif
11332 #undef $ac_func
11334 /* Override any gcc2 internal prototype to avoid an error. */
11335 #ifdef __cplusplus
11336 extern "C"
11338 #endif
11339 /* We use char because int might match the return type of a gcc2
11340 builtin and then its argument prototype would still apply. */
11341 char $ac_func ();
11342 /* The GNU C library defines this for functions which it implements
11343 to always fail with ENOSYS. Some functions are actually named
11344 something starting with __ and the normal name is an alias. */
11345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11346 choke me
11347 #else
11348 char (*f) () = $ac_func;
11349 #endif
11350 #ifdef __cplusplus
11352 #endif
11355 main ()
11357 return f != $ac_func;
11359 return 0;
11361 _ACEOF
11362 rm -f conftest.$ac_objext conftest$ac_exeext
11363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11364 (eval $ac_link) 2>conftest.er1
11365 ac_status=$?
11366 grep -v '^ *+' conftest.er1 >conftest.err
11367 rm -f conftest.er1
11368 cat conftest.err >&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); } &&
11371 { ac_try='test -z "$ac_c_werror_flag"
11372 || test ! -s conftest.err'
11373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11374 (eval $ac_try) 2>&5
11375 ac_status=$?
11376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11377 (exit $ac_status); }; } &&
11378 { ac_try='test -s conftest$ac_exeext'
11379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11380 (eval $ac_try) 2>&5
11381 ac_status=$?
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); }; }; then
11384 eval "$as_ac_var=yes"
11385 else
11386 echo "$as_me: failed program was:" >&5
11387 sed 's/^/| /' conftest.$ac_ext >&5
11389 eval "$as_ac_var=no"
11391 rm -f conftest.err conftest.$ac_objext \
11392 conftest$ac_exeext conftest.$ac_ext
11394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11396 if test `eval echo '${'$as_ac_var'}'` = yes; then
11397 cat >>confdefs.h <<_ACEOF
11398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11399 _ACEOF
11402 done
11412 echo "$as_me:$LINENO: checking for float trig functions" >&5
11413 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11414 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11415 echo $ECHO_N "(cached) $ECHO_C" >&6
11416 else
11420 ac_ext=cc
11421 ac_cpp='$CXXCPP $CPPFLAGS'
11422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11426 cat >conftest.$ac_ext <<_ACEOF
11427 /* confdefs.h. */
11428 _ACEOF
11429 cat confdefs.h >>conftest.$ac_ext
11430 cat >>conftest.$ac_ext <<_ACEOF
11431 /* end confdefs.h. */
11432 #include <math.h>
11434 main ()
11436 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11438 return 0;
11440 _ACEOF
11441 rm -f conftest.$ac_objext
11442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11443 (eval $ac_compile) 2>conftest.er1
11444 ac_status=$?
11445 grep -v '^ *+' conftest.er1 >conftest.err
11446 rm -f conftest.er1
11447 cat conftest.err >&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } &&
11450 { ac_try='test -z "$ac_cxx_werror_flag"
11451 || test ! -s conftest.err'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11454 ac_status=$?
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; } &&
11457 { ac_try='test -s conftest.$ac_objext'
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5
11460 ac_status=$?
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; }; then
11463 glibcxx_cv_func_float_trig_use=yes
11464 else
11465 echo "$as_me: failed program was:" >&5
11466 sed 's/^/| /' conftest.$ac_ext >&5
11468 glibcxx_cv_func_float_trig_use=no
11470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11471 ac_ext=c
11472 ac_cpp='$CPP $CPPFLAGS'
11473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11479 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11480 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11481 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11491 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11494 echo "$as_me:$LINENO: checking for $ac_func" >&5
11495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11496 if eval "test \"\${$as_ac_var+set}\" = set"; then
11497 echo $ECHO_N "(cached) $ECHO_C" >&6
11498 else
11499 if test x$gcc_no_link = xyes; then
11500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11502 { (exit 1); exit 1; }; }
11504 cat >conftest.$ac_ext <<_ACEOF
11505 /* confdefs.h. */
11506 _ACEOF
11507 cat confdefs.h >>conftest.$ac_ext
11508 cat >>conftest.$ac_ext <<_ACEOF
11509 /* end confdefs.h. */
11510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11512 #define $ac_func innocuous_$ac_func
11514 /* System header to define __stub macros and hopefully few prototypes,
11515 which can conflict with char $ac_func (); below.
11516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11517 <limits.h> exists even on freestanding compilers. */
11519 #ifdef __STDC__
11520 # include <limits.h>
11521 #else
11522 # include <assert.h>
11523 #endif
11525 #undef $ac_func
11527 /* Override any gcc2 internal prototype to avoid an error. */
11528 #ifdef __cplusplus
11529 extern "C"
11531 #endif
11532 /* We use char because int might match the return type of a gcc2
11533 builtin and then its argument prototype would still apply. */
11534 char $ac_func ();
11535 /* The GNU C library defines this for functions which it implements
11536 to always fail with ENOSYS. Some functions are actually named
11537 something starting with __ and the normal name is an alias. */
11538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11539 choke me
11540 #else
11541 char (*f) () = $ac_func;
11542 #endif
11543 #ifdef __cplusplus
11545 #endif
11548 main ()
11550 return f != $ac_func;
11552 return 0;
11554 _ACEOF
11555 rm -f conftest.$ac_objext conftest$ac_exeext
11556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11557 (eval $ac_link) 2>conftest.er1
11558 ac_status=$?
11559 grep -v '^ *+' conftest.er1 >conftest.err
11560 rm -f conftest.er1
11561 cat conftest.err >&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } &&
11564 { ac_try='test -z "$ac_c_werror_flag"
11565 || test ! -s conftest.err'
11566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11567 (eval $ac_try) 2>&5
11568 ac_status=$?
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }; } &&
11571 { ac_try='test -s conftest$ac_exeext'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573 (eval $ac_try) 2>&5
11574 ac_status=$?
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; }; then
11577 eval "$as_ac_var=yes"
11578 else
11579 echo "$as_me: failed program was:" >&5
11580 sed 's/^/| /' conftest.$ac_ext >&5
11582 eval "$as_ac_var=no"
11584 rm -f conftest.err conftest.$ac_objext \
11585 conftest$ac_exeext conftest.$ac_ext
11587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11589 if test `eval echo '${'$as_ac_var'}'` = yes; then
11590 cat >>confdefs.h <<_ACEOF
11591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11592 _ACEOF
11595 done
11597 else
11598 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11599 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11600 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11601 echo $ECHO_N "(cached) $ECHO_C" >&6
11602 else
11606 ac_ext=cc
11607 ac_cpp='$CXXCPP $CPPFLAGS'
11608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11612 cat >conftest.$ac_ext <<_ACEOF
11613 /* confdefs.h. */
11614 _ACEOF
11615 cat confdefs.h >>conftest.$ac_ext
11616 cat >>conftest.$ac_ext <<_ACEOF
11617 /* end confdefs.h. */
11618 #include <math.h>
11620 main ()
11622 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11624 return 0;
11626 _ACEOF
11627 rm -f conftest.$ac_objext
11628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11629 (eval $ac_compile) 2>conftest.er1
11630 ac_status=$?
11631 grep -v '^ *+' conftest.er1 >conftest.err
11632 rm -f conftest.er1
11633 cat conftest.err >&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); } &&
11636 { ac_try='test -z "$ac_cxx_werror_flag"
11637 || test ! -s conftest.err'
11638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11639 (eval $ac_try) 2>&5
11640 ac_status=$?
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); }; } &&
11643 { ac_try='test -s conftest.$ac_objext'
11644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11645 (eval $ac_try) 2>&5
11646 ac_status=$?
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); }; }; then
11649 glibcxx_cv_func__float_trig_use=yes
11650 else
11651 echo "$as_me: failed program was:" >&5
11652 sed 's/^/| /' conftest.$ac_ext >&5
11654 glibcxx_cv_func__float_trig_use=no
11656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11657 ac_ext=c
11658 ac_cpp='$CPP $CPPFLAGS'
11659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11665 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11666 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11667 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11677 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11680 echo "$as_me:$LINENO: checking for $ac_func" >&5
11681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11682 if eval "test \"\${$as_ac_var+set}\" = set"; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 else
11685 if test x$gcc_no_link = xyes; then
11686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11688 { (exit 1); exit 1; }; }
11690 cat >conftest.$ac_ext <<_ACEOF
11691 /* confdefs.h. */
11692 _ACEOF
11693 cat confdefs.h >>conftest.$ac_ext
11694 cat >>conftest.$ac_ext <<_ACEOF
11695 /* end confdefs.h. */
11696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11698 #define $ac_func innocuous_$ac_func
11700 /* System header to define __stub macros and hopefully few prototypes,
11701 which can conflict with char $ac_func (); below.
11702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11703 <limits.h> exists even on freestanding compilers. */
11705 #ifdef __STDC__
11706 # include <limits.h>
11707 #else
11708 # include <assert.h>
11709 #endif
11711 #undef $ac_func
11713 /* Override any gcc2 internal prototype to avoid an error. */
11714 #ifdef __cplusplus
11715 extern "C"
11717 #endif
11718 /* We use char because int might match the return type of a gcc2
11719 builtin and then its argument prototype would still apply. */
11720 char $ac_func ();
11721 /* The GNU C library defines this for functions which it implements
11722 to always fail with ENOSYS. Some functions are actually named
11723 something starting with __ and the normal name is an alias. */
11724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11725 choke me
11726 #else
11727 char (*f) () = $ac_func;
11728 #endif
11729 #ifdef __cplusplus
11731 #endif
11734 main ()
11736 return f != $ac_func;
11738 return 0;
11740 _ACEOF
11741 rm -f conftest.$ac_objext conftest$ac_exeext
11742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11743 (eval $ac_link) 2>conftest.er1
11744 ac_status=$?
11745 grep -v '^ *+' conftest.er1 >conftest.err
11746 rm -f conftest.er1
11747 cat conftest.err >&5
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); } &&
11750 { ac_try='test -z "$ac_c_werror_flag"
11751 || test ! -s conftest.err'
11752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11753 (eval $ac_try) 2>&5
11754 ac_status=$?
11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756 (exit $ac_status); }; } &&
11757 { ac_try='test -s conftest$ac_exeext'
11758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11759 (eval $ac_try) 2>&5
11760 ac_status=$?
11761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11762 (exit $ac_status); }; }; then
11763 eval "$as_ac_var=yes"
11764 else
11765 echo "$as_me: failed program was:" >&5
11766 sed 's/^/| /' conftest.$ac_ext >&5
11768 eval "$as_ac_var=no"
11770 rm -f conftest.err conftest.$ac_objext \
11771 conftest$ac_exeext conftest.$ac_ext
11773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11775 if test `eval echo '${'$as_ac_var'}'` = yes; then
11776 cat >>confdefs.h <<_ACEOF
11777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11778 _ACEOF
11781 done
11799 echo "$as_me:$LINENO: checking for float round functions" >&5
11800 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11801 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11802 echo $ECHO_N "(cached) $ECHO_C" >&6
11803 else
11807 ac_ext=cc
11808 ac_cpp='$CXXCPP $CPPFLAGS'
11809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11813 cat >conftest.$ac_ext <<_ACEOF
11814 /* confdefs.h. */
11815 _ACEOF
11816 cat confdefs.h >>conftest.$ac_ext
11817 cat >>conftest.$ac_ext <<_ACEOF
11818 /* end confdefs.h. */
11819 #include <math.h>
11821 main ()
11823 ceilf (0); floorf (0);
11825 return 0;
11827 _ACEOF
11828 rm -f conftest.$ac_objext
11829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11830 (eval $ac_compile) 2>conftest.er1
11831 ac_status=$?
11832 grep -v '^ *+' conftest.er1 >conftest.err
11833 rm -f conftest.er1
11834 cat conftest.err >&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); } &&
11837 { ac_try='test -z "$ac_cxx_werror_flag"
11838 || test ! -s conftest.err'
11839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11840 (eval $ac_try) 2>&5
11841 ac_status=$?
11842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11843 (exit $ac_status); }; } &&
11844 { ac_try='test -s conftest.$ac_objext'
11845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11846 (eval $ac_try) 2>&5
11847 ac_status=$?
11848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 (exit $ac_status); }; }; then
11850 glibcxx_cv_func_float_round_use=yes
11851 else
11852 echo "$as_me: failed program was:" >&5
11853 sed 's/^/| /' conftest.$ac_ext >&5
11855 glibcxx_cv_func_float_round_use=no
11857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11858 ac_ext=c
11859 ac_cpp='$CPP $CPPFLAGS'
11860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11867 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11868 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11871 for ac_func in ceilf floorf
11873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11874 echo "$as_me:$LINENO: checking for $ac_func" >&5
11875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11876 if eval "test \"\${$as_ac_var+set}\" = set"; then
11877 echo $ECHO_N "(cached) $ECHO_C" >&6
11878 else
11879 if test x$gcc_no_link = xyes; then
11880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11882 { (exit 1); exit 1; }; }
11884 cat >conftest.$ac_ext <<_ACEOF
11885 /* confdefs.h. */
11886 _ACEOF
11887 cat confdefs.h >>conftest.$ac_ext
11888 cat >>conftest.$ac_ext <<_ACEOF
11889 /* end confdefs.h. */
11890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11892 #define $ac_func innocuous_$ac_func
11894 /* System header to define __stub macros and hopefully few prototypes,
11895 which can conflict with char $ac_func (); below.
11896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11897 <limits.h> exists even on freestanding compilers. */
11899 #ifdef __STDC__
11900 # include <limits.h>
11901 #else
11902 # include <assert.h>
11903 #endif
11905 #undef $ac_func
11907 /* Override any gcc2 internal prototype to avoid an error. */
11908 #ifdef __cplusplus
11909 extern "C"
11911 #endif
11912 /* We use char because int might match the return type of a gcc2
11913 builtin and then its argument prototype would still apply. */
11914 char $ac_func ();
11915 /* The GNU C library defines this for functions which it implements
11916 to always fail with ENOSYS. Some functions are actually named
11917 something starting with __ and the normal name is an alias. */
11918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11919 choke me
11920 #else
11921 char (*f) () = $ac_func;
11922 #endif
11923 #ifdef __cplusplus
11925 #endif
11928 main ()
11930 return f != $ac_func;
11932 return 0;
11934 _ACEOF
11935 rm -f conftest.$ac_objext conftest$ac_exeext
11936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11937 (eval $ac_link) 2>conftest.er1
11938 ac_status=$?
11939 grep -v '^ *+' conftest.er1 >conftest.err
11940 rm -f conftest.er1
11941 cat conftest.err >&5
11942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); } &&
11944 { ac_try='test -z "$ac_c_werror_flag"
11945 || test ! -s conftest.err'
11946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11947 (eval $ac_try) 2>&5
11948 ac_status=$?
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }; } &&
11951 { ac_try='test -s conftest$ac_exeext'
11952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11953 (eval $ac_try) 2>&5
11954 ac_status=$?
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); }; }; then
11957 eval "$as_ac_var=yes"
11958 else
11959 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.$ac_ext >&5
11962 eval "$as_ac_var=no"
11964 rm -f conftest.err conftest.$ac_objext \
11965 conftest$ac_exeext conftest.$ac_ext
11967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11969 if test `eval echo '${'$as_ac_var'}'` = yes; then
11970 cat >>confdefs.h <<_ACEOF
11971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11972 _ACEOF
11975 done
11977 else
11978 echo "$as_me:$LINENO: checking for _float round functions" >&5
11979 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
11980 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
11981 echo $ECHO_N "(cached) $ECHO_C" >&6
11982 else
11986 ac_ext=cc
11987 ac_cpp='$CXXCPP $CPPFLAGS'
11988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11992 cat >conftest.$ac_ext <<_ACEOF
11993 /* confdefs.h. */
11994 _ACEOF
11995 cat confdefs.h >>conftest.$ac_ext
11996 cat >>conftest.$ac_ext <<_ACEOF
11997 /* end confdefs.h. */
11998 #include <math.h>
12000 main ()
12002 _ceilf (0); _floorf (0);
12004 return 0;
12006 _ACEOF
12007 rm -f conftest.$ac_objext
12008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12009 (eval $ac_compile) 2>conftest.er1
12010 ac_status=$?
12011 grep -v '^ *+' conftest.er1 >conftest.err
12012 rm -f conftest.er1
12013 cat conftest.err >&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); } &&
12016 { ac_try='test -z "$ac_cxx_werror_flag"
12017 || test ! -s conftest.err'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12020 ac_status=$?
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; } &&
12023 { ac_try='test -s conftest.$ac_objext'
12024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12025 (eval $ac_try) 2>&5
12026 ac_status=$?
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); }; }; then
12029 glibcxx_cv_func__float_round_use=yes
12030 else
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.$ac_ext >&5
12034 glibcxx_cv_func__float_round_use=no
12036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12037 ac_ext=c
12038 ac_cpp='$CPP $CPPFLAGS'
12039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12045 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12046 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12047 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12050 for ac_func in _ceilf _floorf
12052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12053 echo "$as_me:$LINENO: checking for $ac_func" >&5
12054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12055 if eval "test \"\${$as_ac_var+set}\" = set"; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12057 else
12058 if test x$gcc_no_link = xyes; then
12059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12061 { (exit 1); exit 1; }; }
12063 cat >conftest.$ac_ext <<_ACEOF
12064 /* confdefs.h. */
12065 _ACEOF
12066 cat confdefs.h >>conftest.$ac_ext
12067 cat >>conftest.$ac_ext <<_ACEOF
12068 /* end confdefs.h. */
12069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12071 #define $ac_func innocuous_$ac_func
12073 /* System header to define __stub macros and hopefully few prototypes,
12074 which can conflict with char $ac_func (); below.
12075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12076 <limits.h> exists even on freestanding compilers. */
12078 #ifdef __STDC__
12079 # include <limits.h>
12080 #else
12081 # include <assert.h>
12082 #endif
12084 #undef $ac_func
12086 /* Override any gcc2 internal prototype to avoid an error. */
12087 #ifdef __cplusplus
12088 extern "C"
12090 #endif
12091 /* We use char because int might match the return type of a gcc2
12092 builtin and then its argument prototype would still apply. */
12093 char $ac_func ();
12094 /* The GNU C library defines this for functions which it implements
12095 to always fail with ENOSYS. Some functions are actually named
12096 something starting with __ and the normal name is an alias. */
12097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12098 choke me
12099 #else
12100 char (*f) () = $ac_func;
12101 #endif
12102 #ifdef __cplusplus
12104 #endif
12107 main ()
12109 return f != $ac_func;
12111 return 0;
12113 _ACEOF
12114 rm -f conftest.$ac_objext conftest$ac_exeext
12115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12116 (eval $ac_link) 2>conftest.er1
12117 ac_status=$?
12118 grep -v '^ *+' conftest.er1 >conftest.err
12119 rm -f conftest.er1
12120 cat conftest.err >&5
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); } &&
12123 { ac_try='test -z "$ac_c_werror_flag"
12124 || test ! -s conftest.err'
12125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12126 (eval $ac_try) 2>&5
12127 ac_status=$?
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); }; } &&
12130 { ac_try='test -s conftest$ac_exeext'
12131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12132 (eval $ac_try) 2>&5
12133 ac_status=$?
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); }; }; then
12136 eval "$as_ac_var=yes"
12137 else
12138 echo "$as_me: failed program was:" >&5
12139 sed 's/^/| /' conftest.$ac_ext >&5
12141 eval "$as_ac_var=no"
12143 rm -f conftest.err conftest.$ac_objext \
12144 conftest$ac_exeext conftest.$ac_ext
12146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12148 if test `eval echo '${'$as_ac_var'}'` = yes; then
12149 cat >>confdefs.h <<_ACEOF
12150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12151 _ACEOF
12154 done
12166 echo "$as_me:$LINENO: checking for expf declaration" >&5
12167 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12168 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12169 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 else
12175 ac_ext=cc
12176 ac_cpp='$CXXCPP $CPPFLAGS'
12177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12181 cat >conftest.$ac_ext <<_ACEOF
12182 /* confdefs.h. */
12183 _ACEOF
12184 cat confdefs.h >>conftest.$ac_ext
12185 cat >>conftest.$ac_ext <<_ACEOF
12186 /* end confdefs.h. */
12187 #include <math.h>
12188 #ifdef HAVE_IEEEFP_H
12189 #include <ieeefp.h>
12190 #endif
12193 main ()
12195 expf(0);
12197 return 0;
12199 _ACEOF
12200 rm -f conftest.$ac_objext
12201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12202 (eval $ac_compile) 2>conftest.er1
12203 ac_status=$?
12204 grep -v '^ *+' conftest.er1 >conftest.err
12205 rm -f conftest.er1
12206 cat conftest.err >&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); } &&
12209 { ac_try='test -z "$ac_cxx_werror_flag"
12210 || test ! -s conftest.err'
12211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12212 (eval $ac_try) 2>&5
12213 ac_status=$?
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); }; } &&
12216 { ac_try='test -s conftest.$ac_objext'
12217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12218 (eval $ac_try) 2>&5
12219 ac_status=$?
12220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221 (exit $ac_status); }; }; then
12222 glibcxx_cv_func_expf_use=yes
12223 else
12224 echo "$as_me: failed program was:" >&5
12225 sed 's/^/| /' conftest.$ac_ext >&5
12227 glibcxx_cv_func_expf_use=no
12229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12230 ac_ext=c
12231 ac_cpp='$CPP $CPPFLAGS'
12232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12241 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12243 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12245 for ac_func in expf
12247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12248 echo "$as_me:$LINENO: checking for $ac_func" >&5
12249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12250 if eval "test \"\${$as_ac_var+set}\" = set"; then
12251 echo $ECHO_N "(cached) $ECHO_C" >&6
12252 else
12253 if test x$gcc_no_link = xyes; then
12254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12256 { (exit 1); exit 1; }; }
12258 cat >conftest.$ac_ext <<_ACEOF
12259 /* confdefs.h. */
12260 _ACEOF
12261 cat confdefs.h >>conftest.$ac_ext
12262 cat >>conftest.$ac_ext <<_ACEOF
12263 /* end confdefs.h. */
12264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12266 #define $ac_func innocuous_$ac_func
12268 /* System header to define __stub macros and hopefully few prototypes,
12269 which can conflict with char $ac_func (); below.
12270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12271 <limits.h> exists even on freestanding compilers. */
12273 #ifdef __STDC__
12274 # include <limits.h>
12275 #else
12276 # include <assert.h>
12277 #endif
12279 #undef $ac_func
12281 /* Override any gcc2 internal prototype to avoid an error. */
12282 #ifdef __cplusplus
12283 extern "C"
12285 #endif
12286 /* We use char because int might match the return type of a gcc2
12287 builtin and then its argument prototype would still apply. */
12288 char $ac_func ();
12289 /* The GNU C library defines this for functions which it implements
12290 to always fail with ENOSYS. Some functions are actually named
12291 something starting with __ and the normal name is an alias. */
12292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12293 choke me
12294 #else
12295 char (*f) () = $ac_func;
12296 #endif
12297 #ifdef __cplusplus
12299 #endif
12302 main ()
12304 return f != $ac_func;
12306 return 0;
12308 _ACEOF
12309 rm -f conftest.$ac_objext conftest$ac_exeext
12310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12311 (eval $ac_link) 2>conftest.er1
12312 ac_status=$?
12313 grep -v '^ *+' conftest.er1 >conftest.err
12314 rm -f conftest.er1
12315 cat conftest.err >&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); } &&
12318 { ac_try='test -z "$ac_c_werror_flag"
12319 || test ! -s conftest.err'
12320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321 (eval $ac_try) 2>&5
12322 ac_status=$?
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); }; } &&
12325 { ac_try='test -s conftest$ac_exeext'
12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327 (eval $ac_try) 2>&5
12328 ac_status=$?
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); }; }; then
12331 eval "$as_ac_var=yes"
12332 else
12333 echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.$ac_ext >&5
12336 eval "$as_ac_var=no"
12338 rm -f conftest.err conftest.$ac_objext \
12339 conftest$ac_exeext conftest.$ac_ext
12341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12343 if test `eval echo '${'$as_ac_var'}'` = yes; then
12344 cat >>confdefs.h <<_ACEOF
12345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12346 _ACEOF
12349 done
12351 else
12353 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12354 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12355 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12356 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12358 else
12362 ac_ext=cc
12363 ac_cpp='$CXXCPP $CPPFLAGS'
12364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12368 cat >conftest.$ac_ext <<_ACEOF
12369 /* confdefs.h. */
12370 _ACEOF
12371 cat confdefs.h >>conftest.$ac_ext
12372 cat >>conftest.$ac_ext <<_ACEOF
12373 /* end confdefs.h. */
12374 #include <math.h>
12375 #ifdef HAVE_IEEEFP_H
12376 #include <ieeefp.h>
12377 #endif
12380 main ()
12382 _expf(0);
12384 return 0;
12386 _ACEOF
12387 rm -f conftest.$ac_objext
12388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12389 (eval $ac_compile) 2>conftest.er1
12390 ac_status=$?
12391 grep -v '^ *+' conftest.er1 >conftest.err
12392 rm -f conftest.er1
12393 cat conftest.err >&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); } &&
12396 { ac_try='test -z "$ac_cxx_werror_flag"
12397 || test ! -s conftest.err'
12398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12399 (eval $ac_try) 2>&5
12400 ac_status=$?
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; } &&
12403 { ac_try='test -s conftest.$ac_objext'
12404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12405 (eval $ac_try) 2>&5
12406 ac_status=$?
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); }; }; then
12409 glibcxx_cv_func__expf_use=yes
12410 else
12411 echo "$as_me: failed program was:" >&5
12412 sed 's/^/| /' conftest.$ac_ext >&5
12414 glibcxx_cv_func__expf_use=no
12416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12417 ac_ext=c
12418 ac_cpp='$CPP $CPPFLAGS'
12419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12427 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12428 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12430 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12432 for ac_func in _expf
12434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12435 echo "$as_me:$LINENO: checking for $ac_func" >&5
12436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12437 if eval "test \"\${$as_ac_var+set}\" = set"; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 else
12440 if test x$gcc_no_link = xyes; then
12441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12443 { (exit 1); exit 1; }; }
12445 cat >conftest.$ac_ext <<_ACEOF
12446 /* confdefs.h. */
12447 _ACEOF
12448 cat confdefs.h >>conftest.$ac_ext
12449 cat >>conftest.$ac_ext <<_ACEOF
12450 /* end confdefs.h. */
12451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12453 #define $ac_func innocuous_$ac_func
12455 /* System header to define __stub macros and hopefully few prototypes,
12456 which can conflict with char $ac_func (); below.
12457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12458 <limits.h> exists even on freestanding compilers. */
12460 #ifdef __STDC__
12461 # include <limits.h>
12462 #else
12463 # include <assert.h>
12464 #endif
12466 #undef $ac_func
12468 /* Override any gcc2 internal prototype to avoid an error. */
12469 #ifdef __cplusplus
12470 extern "C"
12472 #endif
12473 /* We use char because int might match the return type of a gcc2
12474 builtin and then its argument prototype would still apply. */
12475 char $ac_func ();
12476 /* The GNU C library defines this for functions which it implements
12477 to always fail with ENOSYS. Some functions are actually named
12478 something starting with __ and the normal name is an alias. */
12479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12480 choke me
12481 #else
12482 char (*f) () = $ac_func;
12483 #endif
12484 #ifdef __cplusplus
12486 #endif
12489 main ()
12491 return f != $ac_func;
12493 return 0;
12495 _ACEOF
12496 rm -f conftest.$ac_objext conftest$ac_exeext
12497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12498 (eval $ac_link) 2>conftest.er1
12499 ac_status=$?
12500 grep -v '^ *+' conftest.er1 >conftest.err
12501 rm -f conftest.er1
12502 cat conftest.err >&5
12503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504 (exit $ac_status); } &&
12505 { ac_try='test -z "$ac_c_werror_flag"
12506 || test ! -s conftest.err'
12507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12508 (eval $ac_try) 2>&5
12509 ac_status=$?
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); }; } &&
12512 { ac_try='test -s conftest$ac_exeext'
12513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12514 (eval $ac_try) 2>&5
12515 ac_status=$?
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); }; }; then
12518 eval "$as_ac_var=yes"
12519 else
12520 echo "$as_me: failed program was:" >&5
12521 sed 's/^/| /' conftest.$ac_ext >&5
12523 eval "$as_ac_var=no"
12525 rm -f conftest.err conftest.$ac_objext \
12526 conftest$ac_exeext conftest.$ac_ext
12528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12530 if test `eval echo '${'$as_ac_var'}'` = yes; then
12531 cat >>confdefs.h <<_ACEOF
12532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12533 _ACEOF
12536 done
12546 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12547 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12548 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12549 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12550 echo $ECHO_N "(cached) $ECHO_C" >&6
12551 else
12555 ac_ext=cc
12556 ac_cpp='$CXXCPP $CPPFLAGS'
12557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12561 cat >conftest.$ac_ext <<_ACEOF
12562 /* confdefs.h. */
12563 _ACEOF
12564 cat confdefs.h >>conftest.$ac_ext
12565 cat >>conftest.$ac_ext <<_ACEOF
12566 /* end confdefs.h. */
12567 #include <math.h>
12568 #ifdef HAVE_IEEEFP_H
12569 #include <ieeefp.h>
12570 #endif
12573 main ()
12575 isnanf(0);
12577 return 0;
12579 _ACEOF
12580 rm -f conftest.$ac_objext
12581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12582 (eval $ac_compile) 2>conftest.er1
12583 ac_status=$?
12584 grep -v '^ *+' conftest.er1 >conftest.err
12585 rm -f conftest.er1
12586 cat conftest.err >&5
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); } &&
12589 { ac_try='test -z "$ac_cxx_werror_flag"
12590 || test ! -s conftest.err'
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12593 ac_status=$?
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); }; } &&
12596 { ac_try='test -s conftest.$ac_objext'
12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598 (eval $ac_try) 2>&5
12599 ac_status=$?
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; }; then
12602 glibcxx_cv_func_isnanf_use=yes
12603 else
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.$ac_ext >&5
12607 glibcxx_cv_func_isnanf_use=no
12609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12610 ac_ext=c
12611 ac_cpp='$CPP $CPPFLAGS'
12612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12620 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12621 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12623 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12625 for ac_func in isnanf
12627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12628 echo "$as_me:$LINENO: checking for $ac_func" >&5
12629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12630 if eval "test \"\${$as_ac_var+set}\" = set"; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12632 else
12633 if test x$gcc_no_link = xyes; then
12634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12636 { (exit 1); exit 1; }; }
12638 cat >conftest.$ac_ext <<_ACEOF
12639 /* confdefs.h. */
12640 _ACEOF
12641 cat confdefs.h >>conftest.$ac_ext
12642 cat >>conftest.$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12646 #define $ac_func innocuous_$ac_func
12648 /* System header to define __stub macros and hopefully few prototypes,
12649 which can conflict with char $ac_func (); below.
12650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12651 <limits.h> exists even on freestanding compilers. */
12653 #ifdef __STDC__
12654 # include <limits.h>
12655 #else
12656 # include <assert.h>
12657 #endif
12659 #undef $ac_func
12661 /* Override any gcc2 internal prototype to avoid an error. */
12662 #ifdef __cplusplus
12663 extern "C"
12665 #endif
12666 /* We use char because int might match the return type of a gcc2
12667 builtin and then its argument prototype would still apply. */
12668 char $ac_func ();
12669 /* The GNU C library defines this for functions which it implements
12670 to always fail with ENOSYS. Some functions are actually named
12671 something starting with __ and the normal name is an alias. */
12672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12673 choke me
12674 #else
12675 char (*f) () = $ac_func;
12676 #endif
12677 #ifdef __cplusplus
12679 #endif
12682 main ()
12684 return f != $ac_func;
12686 return 0;
12688 _ACEOF
12689 rm -f conftest.$ac_objext conftest$ac_exeext
12690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12691 (eval $ac_link) 2>conftest.er1
12692 ac_status=$?
12693 grep -v '^ *+' conftest.er1 >conftest.err
12694 rm -f conftest.er1
12695 cat conftest.err >&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); } &&
12698 { ac_try='test -z "$ac_c_werror_flag"
12699 || test ! -s conftest.err'
12700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12701 (eval $ac_try) 2>&5
12702 ac_status=$?
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); }; } &&
12705 { ac_try='test -s conftest$ac_exeext'
12706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12707 (eval $ac_try) 2>&5
12708 ac_status=$?
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); }; }; then
12711 eval "$as_ac_var=yes"
12712 else
12713 echo "$as_me: failed program was:" >&5
12714 sed 's/^/| /' conftest.$ac_ext >&5
12716 eval "$as_ac_var=no"
12718 rm -f conftest.err conftest.$ac_objext \
12719 conftest$ac_exeext conftest.$ac_ext
12721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12723 if test `eval echo '${'$as_ac_var'}'` = yes; then
12724 cat >>confdefs.h <<_ACEOF
12725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12726 _ACEOF
12729 done
12731 else
12733 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12734 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12735 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12736 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 else
12742 ac_ext=cc
12743 ac_cpp='$CXXCPP $CPPFLAGS'
12744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12748 cat >conftest.$ac_ext <<_ACEOF
12749 /* confdefs.h. */
12750 _ACEOF
12751 cat confdefs.h >>conftest.$ac_ext
12752 cat >>conftest.$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12754 #include <math.h>
12755 #ifdef HAVE_IEEEFP_H
12756 #include <ieeefp.h>
12757 #endif
12760 main ()
12762 _isnanf(0);
12764 return 0;
12766 _ACEOF
12767 rm -f conftest.$ac_objext
12768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12769 (eval $ac_compile) 2>conftest.er1
12770 ac_status=$?
12771 grep -v '^ *+' conftest.er1 >conftest.err
12772 rm -f conftest.er1
12773 cat conftest.err >&5
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); } &&
12776 { ac_try='test -z "$ac_cxx_werror_flag"
12777 || test ! -s conftest.err'
12778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12779 (eval $ac_try) 2>&5
12780 ac_status=$?
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; } &&
12783 { ac_try='test -s conftest.$ac_objext'
12784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12785 (eval $ac_try) 2>&5
12786 ac_status=$?
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); }; }; then
12789 glibcxx_cv_func__isnanf_use=yes
12790 else
12791 echo "$as_me: failed program was:" >&5
12792 sed 's/^/| /' conftest.$ac_ext >&5
12794 glibcxx_cv_func__isnanf_use=no
12796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12797 ac_ext=c
12798 ac_cpp='$CPP $CPPFLAGS'
12799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12808 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12810 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12812 for ac_func in _isnanf
12814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12815 echo "$as_me:$LINENO: checking for $ac_func" >&5
12816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12817 if eval "test \"\${$as_ac_var+set}\" = set"; then
12818 echo $ECHO_N "(cached) $ECHO_C" >&6
12819 else
12820 if test x$gcc_no_link = xyes; then
12821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12823 { (exit 1); exit 1; }; }
12825 cat >conftest.$ac_ext <<_ACEOF
12826 /* confdefs.h. */
12827 _ACEOF
12828 cat confdefs.h >>conftest.$ac_ext
12829 cat >>conftest.$ac_ext <<_ACEOF
12830 /* end confdefs.h. */
12831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12833 #define $ac_func innocuous_$ac_func
12835 /* System header to define __stub macros and hopefully few prototypes,
12836 which can conflict with char $ac_func (); below.
12837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12838 <limits.h> exists even on freestanding compilers. */
12840 #ifdef __STDC__
12841 # include <limits.h>
12842 #else
12843 # include <assert.h>
12844 #endif
12846 #undef $ac_func
12848 /* Override any gcc2 internal prototype to avoid an error. */
12849 #ifdef __cplusplus
12850 extern "C"
12852 #endif
12853 /* We use char because int might match the return type of a gcc2
12854 builtin and then its argument prototype would still apply. */
12855 char $ac_func ();
12856 /* The GNU C library defines this for functions which it implements
12857 to always fail with ENOSYS. Some functions are actually named
12858 something starting with __ and the normal name is an alias. */
12859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12860 choke me
12861 #else
12862 char (*f) () = $ac_func;
12863 #endif
12864 #ifdef __cplusplus
12866 #endif
12869 main ()
12871 return f != $ac_func;
12873 return 0;
12875 _ACEOF
12876 rm -f conftest.$ac_objext conftest$ac_exeext
12877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12878 (eval $ac_link) 2>conftest.er1
12879 ac_status=$?
12880 grep -v '^ *+' conftest.er1 >conftest.err
12881 rm -f conftest.er1
12882 cat conftest.err >&5
12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); } &&
12885 { ac_try='test -z "$ac_c_werror_flag"
12886 || test ! -s conftest.err'
12887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12888 (eval $ac_try) 2>&5
12889 ac_status=$?
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); }; } &&
12892 { ac_try='test -s conftest$ac_exeext'
12893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12894 (eval $ac_try) 2>&5
12895 ac_status=$?
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; }; then
12898 eval "$as_ac_var=yes"
12899 else
12900 echo "$as_me: failed program was:" >&5
12901 sed 's/^/| /' conftest.$ac_ext >&5
12903 eval "$as_ac_var=no"
12905 rm -f conftest.err conftest.$ac_objext \
12906 conftest$ac_exeext conftest.$ac_ext
12908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12910 if test `eval echo '${'$as_ac_var'}'` = yes; then
12911 cat >>confdefs.h <<_ACEOF
12912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12913 _ACEOF
12916 done
12926 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12927 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12928 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12929 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12930 echo $ECHO_N "(cached) $ECHO_C" >&6
12931 else
12935 ac_ext=cc
12936 ac_cpp='$CXXCPP $CPPFLAGS'
12937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12941 cat >conftest.$ac_ext <<_ACEOF
12942 /* confdefs.h. */
12943 _ACEOF
12944 cat confdefs.h >>conftest.$ac_ext
12945 cat >>conftest.$ac_ext <<_ACEOF
12946 /* end confdefs.h. */
12947 #include <math.h>
12948 #ifdef HAVE_IEEEFP_H
12949 #include <ieeefp.h>
12950 #endif
12953 main ()
12955 isinff(0);
12957 return 0;
12959 _ACEOF
12960 rm -f conftest.$ac_objext
12961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12962 (eval $ac_compile) 2>conftest.er1
12963 ac_status=$?
12964 grep -v '^ *+' conftest.er1 >conftest.err
12965 rm -f conftest.er1
12966 cat conftest.err >&5
12967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 (exit $ac_status); } &&
12969 { ac_try='test -z "$ac_cxx_werror_flag"
12970 || test ! -s conftest.err'
12971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12972 (eval $ac_try) 2>&5
12973 ac_status=$?
12974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975 (exit $ac_status); }; } &&
12976 { ac_try='test -s conftest.$ac_objext'
12977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12978 (eval $ac_try) 2>&5
12979 ac_status=$?
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); }; }; then
12982 glibcxx_cv_func_isinff_use=yes
12983 else
12984 echo "$as_me: failed program was:" >&5
12985 sed 's/^/| /' conftest.$ac_ext >&5
12987 glibcxx_cv_func_isinff_use=no
12989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12990 ac_ext=c
12991 ac_cpp='$CPP $CPPFLAGS'
12992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13001 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13003 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13005 for ac_func in isinff
13007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13008 echo "$as_me:$LINENO: checking for $ac_func" >&5
13009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13010 if eval "test \"\${$as_ac_var+set}\" = set"; then
13011 echo $ECHO_N "(cached) $ECHO_C" >&6
13012 else
13013 if test x$gcc_no_link = xyes; then
13014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13016 { (exit 1); exit 1; }; }
13018 cat >conftest.$ac_ext <<_ACEOF
13019 /* confdefs.h. */
13020 _ACEOF
13021 cat confdefs.h >>conftest.$ac_ext
13022 cat >>conftest.$ac_ext <<_ACEOF
13023 /* end confdefs.h. */
13024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13026 #define $ac_func innocuous_$ac_func
13028 /* System header to define __stub macros and hopefully few prototypes,
13029 which can conflict with char $ac_func (); below.
13030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13031 <limits.h> exists even on freestanding compilers. */
13033 #ifdef __STDC__
13034 # include <limits.h>
13035 #else
13036 # include <assert.h>
13037 #endif
13039 #undef $ac_func
13041 /* Override any gcc2 internal prototype to avoid an error. */
13042 #ifdef __cplusplus
13043 extern "C"
13045 #endif
13046 /* We use char because int might match the return type of a gcc2
13047 builtin and then its argument prototype would still apply. */
13048 char $ac_func ();
13049 /* The GNU C library defines this for functions which it implements
13050 to always fail with ENOSYS. Some functions are actually named
13051 something starting with __ and the normal name is an alias. */
13052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13053 choke me
13054 #else
13055 char (*f) () = $ac_func;
13056 #endif
13057 #ifdef __cplusplus
13059 #endif
13062 main ()
13064 return f != $ac_func;
13066 return 0;
13068 _ACEOF
13069 rm -f conftest.$ac_objext conftest$ac_exeext
13070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13071 (eval $ac_link) 2>conftest.er1
13072 ac_status=$?
13073 grep -v '^ *+' conftest.er1 >conftest.err
13074 rm -f conftest.er1
13075 cat conftest.err >&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); } &&
13078 { ac_try='test -z "$ac_c_werror_flag"
13079 || test ! -s conftest.err'
13080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13081 (eval $ac_try) 2>&5
13082 ac_status=$?
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; } &&
13085 { ac_try='test -s conftest$ac_exeext'
13086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13087 (eval $ac_try) 2>&5
13088 ac_status=$?
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); }; }; then
13091 eval "$as_ac_var=yes"
13092 else
13093 echo "$as_me: failed program was:" >&5
13094 sed 's/^/| /' conftest.$ac_ext >&5
13096 eval "$as_ac_var=no"
13098 rm -f conftest.err conftest.$ac_objext \
13099 conftest$ac_exeext conftest.$ac_ext
13101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13103 if test `eval echo '${'$as_ac_var'}'` = yes; then
13104 cat >>confdefs.h <<_ACEOF
13105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13106 _ACEOF
13109 done
13111 else
13113 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13114 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13115 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13116 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13118 else
13122 ac_ext=cc
13123 ac_cpp='$CXXCPP $CPPFLAGS'
13124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13128 cat >conftest.$ac_ext <<_ACEOF
13129 /* confdefs.h. */
13130 _ACEOF
13131 cat confdefs.h >>conftest.$ac_ext
13132 cat >>conftest.$ac_ext <<_ACEOF
13133 /* end confdefs.h. */
13134 #include <math.h>
13135 #ifdef HAVE_IEEEFP_H
13136 #include <ieeefp.h>
13137 #endif
13140 main ()
13142 _isinff(0);
13144 return 0;
13146 _ACEOF
13147 rm -f conftest.$ac_objext
13148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13149 (eval $ac_compile) 2>conftest.er1
13150 ac_status=$?
13151 grep -v '^ *+' conftest.er1 >conftest.err
13152 rm -f conftest.er1
13153 cat conftest.err >&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); } &&
13156 { ac_try='test -z "$ac_cxx_werror_flag"
13157 || test ! -s conftest.err'
13158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13159 (eval $ac_try) 2>&5
13160 ac_status=$?
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; } &&
13163 { ac_try='test -s conftest.$ac_objext'
13164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165 (eval $ac_try) 2>&5
13166 ac_status=$?
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; }; then
13169 glibcxx_cv_func__isinff_use=yes
13170 else
13171 echo "$as_me: failed program was:" >&5
13172 sed 's/^/| /' conftest.$ac_ext >&5
13174 glibcxx_cv_func__isinff_use=no
13176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13177 ac_ext=c
13178 ac_cpp='$CPP $CPPFLAGS'
13179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13188 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13190 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13192 for ac_func in _isinff
13194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13195 echo "$as_me:$LINENO: checking for $ac_func" >&5
13196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13197 if eval "test \"\${$as_ac_var+set}\" = set"; then
13198 echo $ECHO_N "(cached) $ECHO_C" >&6
13199 else
13200 if test x$gcc_no_link = xyes; then
13201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13203 { (exit 1); exit 1; }; }
13205 cat >conftest.$ac_ext <<_ACEOF
13206 /* confdefs.h. */
13207 _ACEOF
13208 cat confdefs.h >>conftest.$ac_ext
13209 cat >>conftest.$ac_ext <<_ACEOF
13210 /* end confdefs.h. */
13211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13213 #define $ac_func innocuous_$ac_func
13215 /* System header to define __stub macros and hopefully few prototypes,
13216 which can conflict with char $ac_func (); below.
13217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13218 <limits.h> exists even on freestanding compilers. */
13220 #ifdef __STDC__
13221 # include <limits.h>
13222 #else
13223 # include <assert.h>
13224 #endif
13226 #undef $ac_func
13228 /* Override any gcc2 internal prototype to avoid an error. */
13229 #ifdef __cplusplus
13230 extern "C"
13232 #endif
13233 /* We use char because int might match the return type of a gcc2
13234 builtin and then its argument prototype would still apply. */
13235 char $ac_func ();
13236 /* The GNU C library defines this for functions which it implements
13237 to always fail with ENOSYS. Some functions are actually named
13238 something starting with __ and the normal name is an alias. */
13239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13240 choke me
13241 #else
13242 char (*f) () = $ac_func;
13243 #endif
13244 #ifdef __cplusplus
13246 #endif
13249 main ()
13251 return f != $ac_func;
13253 return 0;
13255 _ACEOF
13256 rm -f conftest.$ac_objext conftest$ac_exeext
13257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13258 (eval $ac_link) 2>conftest.er1
13259 ac_status=$?
13260 grep -v '^ *+' conftest.er1 >conftest.err
13261 rm -f conftest.er1
13262 cat conftest.err >&5
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); } &&
13265 { ac_try='test -z "$ac_c_werror_flag"
13266 || test ! -s conftest.err'
13267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13268 (eval $ac_try) 2>&5
13269 ac_status=$?
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); }; } &&
13272 { ac_try='test -s conftest$ac_exeext'
13273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13274 (eval $ac_try) 2>&5
13275 ac_status=$?
13276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); }; }; then
13278 eval "$as_ac_var=yes"
13279 else
13280 echo "$as_me: failed program was:" >&5
13281 sed 's/^/| /' conftest.$ac_ext >&5
13283 eval "$as_ac_var=no"
13285 rm -f conftest.err conftest.$ac_objext \
13286 conftest$ac_exeext conftest.$ac_ext
13288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13290 if test `eval echo '${'$as_ac_var'}'` = yes; then
13291 cat >>confdefs.h <<_ACEOF
13292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13293 _ACEOF
13296 done
13306 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13307 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13308 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13309 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13311 else
13315 ac_ext=cc
13316 ac_cpp='$CXXCPP $CPPFLAGS'
13317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13321 cat >conftest.$ac_ext <<_ACEOF
13322 /* confdefs.h. */
13323 _ACEOF
13324 cat confdefs.h >>conftest.$ac_ext
13325 cat >>conftest.$ac_ext <<_ACEOF
13326 /* end confdefs.h. */
13327 #include <math.h>
13329 main ()
13331 atan2f(0, 0);
13333 return 0;
13335 _ACEOF
13336 rm -f conftest.$ac_objext
13337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13338 (eval $ac_compile) 2>conftest.er1
13339 ac_status=$?
13340 grep -v '^ *+' conftest.er1 >conftest.err
13341 rm -f conftest.er1
13342 cat conftest.err >&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); } &&
13345 { ac_try='test -z "$ac_cxx_werror_flag"
13346 || test ! -s conftest.err'
13347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13348 (eval $ac_try) 2>&5
13349 ac_status=$?
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); }; } &&
13352 { ac_try='test -s conftest.$ac_objext'
13353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13354 (eval $ac_try) 2>&5
13355 ac_status=$?
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); }; }; then
13358 glibcxx_cv_func_atan2f_use=yes
13359 else
13360 echo "$as_me: failed program was:" >&5
13361 sed 's/^/| /' conftest.$ac_ext >&5
13363 glibcxx_cv_func_atan2f_use=no
13365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13366 ac_ext=c
13367 ac_cpp='$CPP $CPPFLAGS'
13368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13376 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13377 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13379 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13381 for ac_func in atan2f
13383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13384 echo "$as_me:$LINENO: checking for $ac_func" >&5
13385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13386 if eval "test \"\${$as_ac_var+set}\" = set"; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13388 else
13389 if test x$gcc_no_link = xyes; then
13390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13392 { (exit 1); exit 1; }; }
13394 cat >conftest.$ac_ext <<_ACEOF
13395 /* confdefs.h. */
13396 _ACEOF
13397 cat confdefs.h >>conftest.$ac_ext
13398 cat >>conftest.$ac_ext <<_ACEOF
13399 /* end confdefs.h. */
13400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13402 #define $ac_func innocuous_$ac_func
13404 /* System header to define __stub macros and hopefully few prototypes,
13405 which can conflict with char $ac_func (); below.
13406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13407 <limits.h> exists even on freestanding compilers. */
13409 #ifdef __STDC__
13410 # include <limits.h>
13411 #else
13412 # include <assert.h>
13413 #endif
13415 #undef $ac_func
13417 /* Override any gcc2 internal prototype to avoid an error. */
13418 #ifdef __cplusplus
13419 extern "C"
13421 #endif
13422 /* We use char because int might match the return type of a gcc2
13423 builtin and then its argument prototype would still apply. */
13424 char $ac_func ();
13425 /* The GNU C library defines this for functions which it implements
13426 to always fail with ENOSYS. Some functions are actually named
13427 something starting with __ and the normal name is an alias. */
13428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13429 choke me
13430 #else
13431 char (*f) () = $ac_func;
13432 #endif
13433 #ifdef __cplusplus
13435 #endif
13438 main ()
13440 return f != $ac_func;
13442 return 0;
13444 _ACEOF
13445 rm -f conftest.$ac_objext conftest$ac_exeext
13446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13447 (eval $ac_link) 2>conftest.er1
13448 ac_status=$?
13449 grep -v '^ *+' conftest.er1 >conftest.err
13450 rm -f conftest.er1
13451 cat conftest.err >&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } &&
13454 { ac_try='test -z "$ac_c_werror_flag"
13455 || test ! -s conftest.err'
13456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13457 (eval $ac_try) 2>&5
13458 ac_status=$?
13459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460 (exit $ac_status); }; } &&
13461 { ac_try='test -s conftest$ac_exeext'
13462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13463 (eval $ac_try) 2>&5
13464 ac_status=$?
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); }; }; then
13467 eval "$as_ac_var=yes"
13468 else
13469 echo "$as_me: failed program was:" >&5
13470 sed 's/^/| /' conftest.$ac_ext >&5
13472 eval "$as_ac_var=no"
13474 rm -f conftest.err conftest.$ac_objext \
13475 conftest$ac_exeext conftest.$ac_ext
13477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13479 if test `eval echo '${'$as_ac_var'}'` = yes; then
13480 cat >>confdefs.h <<_ACEOF
13481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13482 _ACEOF
13485 done
13487 else
13489 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13490 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13491 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13492 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13493 echo $ECHO_N "(cached) $ECHO_C" >&6
13494 else
13498 ac_ext=cc
13499 ac_cpp='$CXXCPP $CPPFLAGS'
13500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13504 cat >conftest.$ac_ext <<_ACEOF
13505 /* confdefs.h. */
13506 _ACEOF
13507 cat confdefs.h >>conftest.$ac_ext
13508 cat >>conftest.$ac_ext <<_ACEOF
13509 /* end confdefs.h. */
13510 #include <math.h>
13512 main ()
13514 _atan2f(0, 0);
13516 return 0;
13518 _ACEOF
13519 rm -f conftest.$ac_objext
13520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13521 (eval $ac_compile) 2>conftest.er1
13522 ac_status=$?
13523 grep -v '^ *+' conftest.er1 >conftest.err
13524 rm -f conftest.er1
13525 cat conftest.err >&5
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); } &&
13528 { ac_try='test -z "$ac_cxx_werror_flag"
13529 || test ! -s conftest.err'
13530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13531 (eval $ac_try) 2>&5
13532 ac_status=$?
13533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13534 (exit $ac_status); }; } &&
13535 { ac_try='test -s conftest.$ac_objext'
13536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13537 (eval $ac_try) 2>&5
13538 ac_status=$?
13539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540 (exit $ac_status); }; }; then
13541 glibcxx_cv_func__atan2f_use=yes
13542 else
13543 echo "$as_me: failed program was:" >&5
13544 sed 's/^/| /' conftest.$ac_ext >&5
13546 glibcxx_cv_func__atan2f_use=no
13548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13549 ac_ext=c
13550 ac_cpp='$CPP $CPPFLAGS'
13551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13559 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13560 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13562 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13564 for ac_func in _atan2f
13566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13567 echo "$as_me:$LINENO: checking for $ac_func" >&5
13568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13569 if eval "test \"\${$as_ac_var+set}\" = set"; then
13570 echo $ECHO_N "(cached) $ECHO_C" >&6
13571 else
13572 if test x$gcc_no_link = xyes; then
13573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13575 { (exit 1); exit 1; }; }
13577 cat >conftest.$ac_ext <<_ACEOF
13578 /* confdefs.h. */
13579 _ACEOF
13580 cat confdefs.h >>conftest.$ac_ext
13581 cat >>conftest.$ac_ext <<_ACEOF
13582 /* end confdefs.h. */
13583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13585 #define $ac_func innocuous_$ac_func
13587 /* System header to define __stub macros and hopefully few prototypes,
13588 which can conflict with char $ac_func (); below.
13589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13590 <limits.h> exists even on freestanding compilers. */
13592 #ifdef __STDC__
13593 # include <limits.h>
13594 #else
13595 # include <assert.h>
13596 #endif
13598 #undef $ac_func
13600 /* Override any gcc2 internal prototype to avoid an error. */
13601 #ifdef __cplusplus
13602 extern "C"
13604 #endif
13605 /* We use char because int might match the return type of a gcc2
13606 builtin and then its argument prototype would still apply. */
13607 char $ac_func ();
13608 /* The GNU C library defines this for functions which it implements
13609 to always fail with ENOSYS. Some functions are actually named
13610 something starting with __ and the normal name is an alias. */
13611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13612 choke me
13613 #else
13614 char (*f) () = $ac_func;
13615 #endif
13616 #ifdef __cplusplus
13618 #endif
13621 main ()
13623 return f != $ac_func;
13625 return 0;
13627 _ACEOF
13628 rm -f conftest.$ac_objext conftest$ac_exeext
13629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13630 (eval $ac_link) 2>conftest.er1
13631 ac_status=$?
13632 grep -v '^ *+' conftest.er1 >conftest.err
13633 rm -f conftest.er1
13634 cat conftest.err >&5
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); } &&
13637 { ac_try='test -z "$ac_c_werror_flag"
13638 || test ! -s conftest.err'
13639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13640 (eval $ac_try) 2>&5
13641 ac_status=$?
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); }; } &&
13644 { ac_try='test -s conftest$ac_exeext'
13645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13646 (eval $ac_try) 2>&5
13647 ac_status=$?
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); }; }; then
13650 eval "$as_ac_var=yes"
13651 else
13652 echo "$as_me: failed program was:" >&5
13653 sed 's/^/| /' conftest.$ac_ext >&5
13655 eval "$as_ac_var=no"
13657 rm -f conftest.err conftest.$ac_objext \
13658 conftest$ac_exeext conftest.$ac_ext
13660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13662 if test `eval echo '${'$as_ac_var'}'` = yes; then
13663 cat >>confdefs.h <<_ACEOF
13664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13665 _ACEOF
13668 done
13678 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13679 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13680 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13681 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13683 else
13687 ac_ext=cc
13688 ac_cpp='$CXXCPP $CPPFLAGS'
13689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13693 cat >conftest.$ac_ext <<_ACEOF
13694 /* confdefs.h. */
13695 _ACEOF
13696 cat confdefs.h >>conftest.$ac_ext
13697 cat >>conftest.$ac_ext <<_ACEOF
13698 /* end confdefs.h. */
13699 #include <math.h>
13700 #ifdef HAVE_IEEEFP_H
13701 #include <ieeefp.h>
13702 #endif
13705 main ()
13707 fabsf(0);
13709 return 0;
13711 _ACEOF
13712 rm -f conftest.$ac_objext
13713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13714 (eval $ac_compile) 2>conftest.er1
13715 ac_status=$?
13716 grep -v '^ *+' conftest.er1 >conftest.err
13717 rm -f conftest.er1
13718 cat conftest.err >&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); } &&
13721 { ac_try='test -z "$ac_cxx_werror_flag"
13722 || test ! -s conftest.err'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13725 ac_status=$?
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; } &&
13728 { ac_try='test -s conftest.$ac_objext'
13729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13730 (eval $ac_try) 2>&5
13731 ac_status=$?
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); }; }; then
13734 glibcxx_cv_func_fabsf_use=yes
13735 else
13736 echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.$ac_ext >&5
13739 glibcxx_cv_func_fabsf_use=no
13741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13742 ac_ext=c
13743 ac_cpp='$CPP $CPPFLAGS'
13744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13752 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13753 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13755 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13757 for ac_func in fabsf
13759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13760 echo "$as_me:$LINENO: checking for $ac_func" >&5
13761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13762 if eval "test \"\${$as_ac_var+set}\" = set"; then
13763 echo $ECHO_N "(cached) $ECHO_C" >&6
13764 else
13765 if test x$gcc_no_link = xyes; then
13766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13768 { (exit 1); exit 1; }; }
13770 cat >conftest.$ac_ext <<_ACEOF
13771 /* confdefs.h. */
13772 _ACEOF
13773 cat confdefs.h >>conftest.$ac_ext
13774 cat >>conftest.$ac_ext <<_ACEOF
13775 /* end confdefs.h. */
13776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13778 #define $ac_func innocuous_$ac_func
13780 /* System header to define __stub macros and hopefully few prototypes,
13781 which can conflict with char $ac_func (); below.
13782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13783 <limits.h> exists even on freestanding compilers. */
13785 #ifdef __STDC__
13786 # include <limits.h>
13787 #else
13788 # include <assert.h>
13789 #endif
13791 #undef $ac_func
13793 /* Override any gcc2 internal prototype to avoid an error. */
13794 #ifdef __cplusplus
13795 extern "C"
13797 #endif
13798 /* We use char because int might match the return type of a gcc2
13799 builtin and then its argument prototype would still apply. */
13800 char $ac_func ();
13801 /* The GNU C library defines this for functions which it implements
13802 to always fail with ENOSYS. Some functions are actually named
13803 something starting with __ and the normal name is an alias. */
13804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13805 choke me
13806 #else
13807 char (*f) () = $ac_func;
13808 #endif
13809 #ifdef __cplusplus
13811 #endif
13814 main ()
13816 return f != $ac_func;
13818 return 0;
13820 _ACEOF
13821 rm -f conftest.$ac_objext conftest$ac_exeext
13822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13823 (eval $ac_link) 2>conftest.er1
13824 ac_status=$?
13825 grep -v '^ *+' conftest.er1 >conftest.err
13826 rm -f conftest.er1
13827 cat conftest.err >&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); } &&
13830 { ac_try='test -z "$ac_c_werror_flag"
13831 || test ! -s conftest.err'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13834 ac_status=$?
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; } &&
13837 { ac_try='test -s conftest$ac_exeext'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13840 ac_status=$?
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; }; then
13843 eval "$as_ac_var=yes"
13844 else
13845 echo "$as_me: failed program was:" >&5
13846 sed 's/^/| /' conftest.$ac_ext >&5
13848 eval "$as_ac_var=no"
13850 rm -f conftest.err conftest.$ac_objext \
13851 conftest$ac_exeext conftest.$ac_ext
13853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13855 if test `eval echo '${'$as_ac_var'}'` = yes; then
13856 cat >>confdefs.h <<_ACEOF
13857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13858 _ACEOF
13861 done
13863 else
13865 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13866 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13867 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13868 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13869 echo $ECHO_N "(cached) $ECHO_C" >&6
13870 else
13874 ac_ext=cc
13875 ac_cpp='$CXXCPP $CPPFLAGS'
13876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13880 cat >conftest.$ac_ext <<_ACEOF
13881 /* confdefs.h. */
13882 _ACEOF
13883 cat confdefs.h >>conftest.$ac_ext
13884 cat >>conftest.$ac_ext <<_ACEOF
13885 /* end confdefs.h. */
13886 #include <math.h>
13887 #ifdef HAVE_IEEEFP_H
13888 #include <ieeefp.h>
13889 #endif
13892 main ()
13894 _fabsf(0);
13896 return 0;
13898 _ACEOF
13899 rm -f conftest.$ac_objext
13900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13901 (eval $ac_compile) 2>conftest.er1
13902 ac_status=$?
13903 grep -v '^ *+' conftest.er1 >conftest.err
13904 rm -f conftest.er1
13905 cat conftest.err >&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } &&
13908 { ac_try='test -z "$ac_cxx_werror_flag"
13909 || test ! -s conftest.err'
13910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13911 (eval $ac_try) 2>&5
13912 ac_status=$?
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; } &&
13915 { ac_try='test -s conftest.$ac_objext'
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917 (eval $ac_try) 2>&5
13918 ac_status=$?
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; }; then
13921 glibcxx_cv_func__fabsf_use=yes
13922 else
13923 echo "$as_me: failed program was:" >&5
13924 sed 's/^/| /' conftest.$ac_ext >&5
13926 glibcxx_cv_func__fabsf_use=no
13928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13929 ac_ext=c
13930 ac_cpp='$CPP $CPPFLAGS'
13931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13939 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13940 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13942 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13944 for ac_func in _fabsf
13946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13947 echo "$as_me:$LINENO: checking for $ac_func" >&5
13948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13949 if eval "test \"\${$as_ac_var+set}\" = set"; then
13950 echo $ECHO_N "(cached) $ECHO_C" >&6
13951 else
13952 if test x$gcc_no_link = xyes; then
13953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13955 { (exit 1); exit 1; }; }
13957 cat >conftest.$ac_ext <<_ACEOF
13958 /* confdefs.h. */
13959 _ACEOF
13960 cat confdefs.h >>conftest.$ac_ext
13961 cat >>conftest.$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13965 #define $ac_func innocuous_$ac_func
13967 /* System header to define __stub macros and hopefully few prototypes,
13968 which can conflict with char $ac_func (); below.
13969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13970 <limits.h> exists even on freestanding compilers. */
13972 #ifdef __STDC__
13973 # include <limits.h>
13974 #else
13975 # include <assert.h>
13976 #endif
13978 #undef $ac_func
13980 /* Override any gcc2 internal prototype to avoid an error. */
13981 #ifdef __cplusplus
13982 extern "C"
13984 #endif
13985 /* We use char because int might match the return type of a gcc2
13986 builtin and then its argument prototype would still apply. */
13987 char $ac_func ();
13988 /* The GNU C library defines this for functions which it implements
13989 to always fail with ENOSYS. Some functions are actually named
13990 something starting with __ and the normal name is an alias. */
13991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13992 choke me
13993 #else
13994 char (*f) () = $ac_func;
13995 #endif
13996 #ifdef __cplusplus
13998 #endif
14001 main ()
14003 return f != $ac_func;
14005 return 0;
14007 _ACEOF
14008 rm -f conftest.$ac_objext conftest$ac_exeext
14009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14010 (eval $ac_link) 2>conftest.er1
14011 ac_status=$?
14012 grep -v '^ *+' conftest.er1 >conftest.err
14013 rm -f conftest.er1
14014 cat conftest.err >&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); } &&
14017 { ac_try='test -z "$ac_c_werror_flag"
14018 || test ! -s conftest.err'
14019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14020 (eval $ac_try) 2>&5
14021 ac_status=$?
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); }; } &&
14024 { ac_try='test -s conftest$ac_exeext'
14025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026 (eval $ac_try) 2>&5
14027 ac_status=$?
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; }; then
14030 eval "$as_ac_var=yes"
14031 else
14032 echo "$as_me: failed program was:" >&5
14033 sed 's/^/| /' conftest.$ac_ext >&5
14035 eval "$as_ac_var=no"
14037 rm -f conftest.err conftest.$ac_objext \
14038 conftest$ac_exeext conftest.$ac_ext
14040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14042 if test `eval echo '${'$as_ac_var'}'` = yes; then
14043 cat >>confdefs.h <<_ACEOF
14044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14045 _ACEOF
14048 done
14058 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14059 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14060 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14061 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14062 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 else
14067 ac_ext=cc
14068 ac_cpp='$CXXCPP $CPPFLAGS'
14069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14073 cat >conftest.$ac_ext <<_ACEOF
14074 /* confdefs.h. */
14075 _ACEOF
14076 cat confdefs.h >>conftest.$ac_ext
14077 cat >>conftest.$ac_ext <<_ACEOF
14078 /* end confdefs.h. */
14079 #include <math.h>
14081 main ()
14083 fmodf(0, 0);
14085 return 0;
14087 _ACEOF
14088 rm -f conftest.$ac_objext
14089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14090 (eval $ac_compile) 2>conftest.er1
14091 ac_status=$?
14092 grep -v '^ *+' conftest.er1 >conftest.err
14093 rm -f conftest.er1
14094 cat conftest.err >&5
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 (exit $ac_status); } &&
14097 { ac_try='test -z "$ac_cxx_werror_flag"
14098 || test ! -s conftest.err'
14099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14100 (eval $ac_try) 2>&5
14101 ac_status=$?
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); }; } &&
14104 { ac_try='test -s conftest.$ac_objext'
14105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14106 (eval $ac_try) 2>&5
14107 ac_status=$?
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); }; }; then
14110 glibcxx_cv_func_fmodf_use=yes
14111 else
14112 echo "$as_me: failed program was:" >&5
14113 sed 's/^/| /' conftest.$ac_ext >&5
14115 glibcxx_cv_func_fmodf_use=no
14117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14118 ac_ext=c
14119 ac_cpp='$CPP $CPPFLAGS'
14120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14129 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14131 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14133 for ac_func in fmodf
14135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14136 echo "$as_me:$LINENO: checking for $ac_func" >&5
14137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14138 if eval "test \"\${$as_ac_var+set}\" = set"; then
14139 echo $ECHO_N "(cached) $ECHO_C" >&6
14140 else
14141 if test x$gcc_no_link = xyes; then
14142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14144 { (exit 1); exit 1; }; }
14146 cat >conftest.$ac_ext <<_ACEOF
14147 /* confdefs.h. */
14148 _ACEOF
14149 cat confdefs.h >>conftest.$ac_ext
14150 cat >>conftest.$ac_ext <<_ACEOF
14151 /* end confdefs.h. */
14152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14154 #define $ac_func innocuous_$ac_func
14156 /* System header to define __stub macros and hopefully few prototypes,
14157 which can conflict with char $ac_func (); below.
14158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14159 <limits.h> exists even on freestanding compilers. */
14161 #ifdef __STDC__
14162 # include <limits.h>
14163 #else
14164 # include <assert.h>
14165 #endif
14167 #undef $ac_func
14169 /* Override any gcc2 internal prototype to avoid an error. */
14170 #ifdef __cplusplus
14171 extern "C"
14173 #endif
14174 /* We use char because int might match the return type of a gcc2
14175 builtin and then its argument prototype would still apply. */
14176 char $ac_func ();
14177 /* The GNU C library defines this for functions which it implements
14178 to always fail with ENOSYS. Some functions are actually named
14179 something starting with __ and the normal name is an alias. */
14180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14181 choke me
14182 #else
14183 char (*f) () = $ac_func;
14184 #endif
14185 #ifdef __cplusplus
14187 #endif
14190 main ()
14192 return f != $ac_func;
14194 return 0;
14196 _ACEOF
14197 rm -f conftest.$ac_objext conftest$ac_exeext
14198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14199 (eval $ac_link) 2>conftest.er1
14200 ac_status=$?
14201 grep -v '^ *+' conftest.er1 >conftest.err
14202 rm -f conftest.er1
14203 cat conftest.err >&5
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); } &&
14206 { ac_try='test -z "$ac_c_werror_flag"
14207 || test ! -s conftest.err'
14208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14209 (eval $ac_try) 2>&5
14210 ac_status=$?
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; } &&
14213 { ac_try='test -s conftest$ac_exeext'
14214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215 (eval $ac_try) 2>&5
14216 ac_status=$?
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); }; }; then
14219 eval "$as_ac_var=yes"
14220 else
14221 echo "$as_me: failed program was:" >&5
14222 sed 's/^/| /' conftest.$ac_ext >&5
14224 eval "$as_ac_var=no"
14226 rm -f conftest.err conftest.$ac_objext \
14227 conftest$ac_exeext conftest.$ac_ext
14229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14231 if test `eval echo '${'$as_ac_var'}'` = yes; then
14232 cat >>confdefs.h <<_ACEOF
14233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14234 _ACEOF
14237 done
14239 else
14241 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14242 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14243 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14244 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14245 echo $ECHO_N "(cached) $ECHO_C" >&6
14246 else
14250 ac_ext=cc
14251 ac_cpp='$CXXCPP $CPPFLAGS'
14252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14256 cat >conftest.$ac_ext <<_ACEOF
14257 /* confdefs.h. */
14258 _ACEOF
14259 cat confdefs.h >>conftest.$ac_ext
14260 cat >>conftest.$ac_ext <<_ACEOF
14261 /* end confdefs.h. */
14262 #include <math.h>
14264 main ()
14266 _fmodf(0, 0);
14268 return 0;
14270 _ACEOF
14271 rm -f conftest.$ac_objext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14273 (eval $ac_compile) 2>conftest.er1
14274 ac_status=$?
14275 grep -v '^ *+' conftest.er1 >conftest.err
14276 rm -f conftest.er1
14277 cat conftest.err >&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } &&
14280 { ac_try='test -z "$ac_cxx_werror_flag"
14281 || test ! -s conftest.err'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14284 ac_status=$?
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; } &&
14287 { ac_try='test -s conftest.$ac_objext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14290 ac_status=$?
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 glibcxx_cv_func__fmodf_use=yes
14294 else
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.$ac_ext >&5
14298 glibcxx_cv_func__fmodf_use=no
14300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14301 ac_ext=c
14302 ac_cpp='$CPP $CPPFLAGS'
14303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14311 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14312 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14314 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14316 for ac_func in _fmodf
14318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14319 echo "$as_me:$LINENO: checking for $ac_func" >&5
14320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14321 if eval "test \"\${$as_ac_var+set}\" = set"; then
14322 echo $ECHO_N "(cached) $ECHO_C" >&6
14323 else
14324 if test x$gcc_no_link = xyes; then
14325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14327 { (exit 1); exit 1; }; }
14329 cat >conftest.$ac_ext <<_ACEOF
14330 /* confdefs.h. */
14331 _ACEOF
14332 cat confdefs.h >>conftest.$ac_ext
14333 cat >>conftest.$ac_ext <<_ACEOF
14334 /* end confdefs.h. */
14335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14337 #define $ac_func innocuous_$ac_func
14339 /* System header to define __stub macros and hopefully few prototypes,
14340 which can conflict with char $ac_func (); below.
14341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14342 <limits.h> exists even on freestanding compilers. */
14344 #ifdef __STDC__
14345 # include <limits.h>
14346 #else
14347 # include <assert.h>
14348 #endif
14350 #undef $ac_func
14352 /* Override any gcc2 internal prototype to avoid an error. */
14353 #ifdef __cplusplus
14354 extern "C"
14356 #endif
14357 /* We use char because int might match the return type of a gcc2
14358 builtin and then its argument prototype would still apply. */
14359 char $ac_func ();
14360 /* The GNU C library defines this for functions which it implements
14361 to always fail with ENOSYS. Some functions are actually named
14362 something starting with __ and the normal name is an alias. */
14363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14364 choke me
14365 #else
14366 char (*f) () = $ac_func;
14367 #endif
14368 #ifdef __cplusplus
14370 #endif
14373 main ()
14375 return f != $ac_func;
14377 return 0;
14379 _ACEOF
14380 rm -f conftest.$ac_objext conftest$ac_exeext
14381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14382 (eval $ac_link) 2>conftest.er1
14383 ac_status=$?
14384 grep -v '^ *+' conftest.er1 >conftest.err
14385 rm -f conftest.er1
14386 cat conftest.err >&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); } &&
14389 { ac_try='test -z "$ac_c_werror_flag"
14390 || test ! -s conftest.err'
14391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14392 (eval $ac_try) 2>&5
14393 ac_status=$?
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; } &&
14396 { ac_try='test -s conftest$ac_exeext'
14397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14398 (eval $ac_try) 2>&5
14399 ac_status=$?
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }; }; then
14402 eval "$as_ac_var=yes"
14403 else
14404 echo "$as_me: failed program was:" >&5
14405 sed 's/^/| /' conftest.$ac_ext >&5
14407 eval "$as_ac_var=no"
14409 rm -f conftest.err conftest.$ac_objext \
14410 conftest$ac_exeext conftest.$ac_ext
14412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14414 if test `eval echo '${'$as_ac_var'}'` = yes; then
14415 cat >>confdefs.h <<_ACEOF
14416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14417 _ACEOF
14420 done
14430 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14431 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14432 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14433 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14434 echo $ECHO_N "(cached) $ECHO_C" >&6
14435 else
14439 ac_ext=cc
14440 ac_cpp='$CXXCPP $CPPFLAGS'
14441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14445 cat >conftest.$ac_ext <<_ACEOF
14446 /* confdefs.h. */
14447 _ACEOF
14448 cat confdefs.h >>conftest.$ac_ext
14449 cat >>conftest.$ac_ext <<_ACEOF
14450 /* end confdefs.h. */
14451 #include <math.h>
14453 main ()
14455 frexpf(0, 0);
14457 return 0;
14459 _ACEOF
14460 rm -f conftest.$ac_objext
14461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14462 (eval $ac_compile) 2>conftest.er1
14463 ac_status=$?
14464 grep -v '^ *+' conftest.er1 >conftest.err
14465 rm -f conftest.er1
14466 cat conftest.err >&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); } &&
14469 { ac_try='test -z "$ac_cxx_werror_flag"
14470 || test ! -s conftest.err'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14473 ac_status=$?
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; } &&
14476 { ac_try='test -s conftest.$ac_objext'
14477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478 (eval $ac_try) 2>&5
14479 ac_status=$?
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; }; then
14482 glibcxx_cv_func_frexpf_use=yes
14483 else
14484 echo "$as_me: failed program was:" >&5
14485 sed 's/^/| /' conftest.$ac_ext >&5
14487 glibcxx_cv_func_frexpf_use=no
14489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14490 ac_ext=c
14491 ac_cpp='$CPP $CPPFLAGS'
14492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14500 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14501 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14503 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14505 for ac_func in frexpf
14507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14508 echo "$as_me:$LINENO: checking for $ac_func" >&5
14509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14510 if eval "test \"\${$as_ac_var+set}\" = set"; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14512 else
14513 if test x$gcc_no_link = xyes; then
14514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14516 { (exit 1); exit 1; }; }
14518 cat >conftest.$ac_ext <<_ACEOF
14519 /* confdefs.h. */
14520 _ACEOF
14521 cat confdefs.h >>conftest.$ac_ext
14522 cat >>conftest.$ac_ext <<_ACEOF
14523 /* end confdefs.h. */
14524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14526 #define $ac_func innocuous_$ac_func
14528 /* System header to define __stub macros and hopefully few prototypes,
14529 which can conflict with char $ac_func (); below.
14530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14531 <limits.h> exists even on freestanding compilers. */
14533 #ifdef __STDC__
14534 # include <limits.h>
14535 #else
14536 # include <assert.h>
14537 #endif
14539 #undef $ac_func
14541 /* Override any gcc2 internal prototype to avoid an error. */
14542 #ifdef __cplusplus
14543 extern "C"
14545 #endif
14546 /* We use char because int might match the return type of a gcc2
14547 builtin and then its argument prototype would still apply. */
14548 char $ac_func ();
14549 /* The GNU C library defines this for functions which it implements
14550 to always fail with ENOSYS. Some functions are actually named
14551 something starting with __ and the normal name is an alias. */
14552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14553 choke me
14554 #else
14555 char (*f) () = $ac_func;
14556 #endif
14557 #ifdef __cplusplus
14559 #endif
14562 main ()
14564 return f != $ac_func;
14566 return 0;
14568 _ACEOF
14569 rm -f conftest.$ac_objext conftest$ac_exeext
14570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14571 (eval $ac_link) 2>conftest.er1
14572 ac_status=$?
14573 grep -v '^ *+' conftest.er1 >conftest.err
14574 rm -f conftest.er1
14575 cat conftest.err >&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); } &&
14578 { ac_try='test -z "$ac_c_werror_flag"
14579 || test ! -s conftest.err'
14580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14581 (eval $ac_try) 2>&5
14582 ac_status=$?
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); }; } &&
14585 { ac_try='test -s conftest$ac_exeext'
14586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587 (eval $ac_try) 2>&5
14588 ac_status=$?
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; }; then
14591 eval "$as_ac_var=yes"
14592 else
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.$ac_ext >&5
14596 eval "$as_ac_var=no"
14598 rm -f conftest.err conftest.$ac_objext \
14599 conftest$ac_exeext conftest.$ac_ext
14601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14603 if test `eval echo '${'$as_ac_var'}'` = yes; then
14604 cat >>confdefs.h <<_ACEOF
14605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14606 _ACEOF
14609 done
14611 else
14613 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14614 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14615 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14616 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14617 echo $ECHO_N "(cached) $ECHO_C" >&6
14618 else
14622 ac_ext=cc
14623 ac_cpp='$CXXCPP $CPPFLAGS'
14624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14628 cat >conftest.$ac_ext <<_ACEOF
14629 /* confdefs.h. */
14630 _ACEOF
14631 cat confdefs.h >>conftest.$ac_ext
14632 cat >>conftest.$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14634 #include <math.h>
14636 main ()
14638 _frexpf(0, 0);
14640 return 0;
14642 _ACEOF
14643 rm -f conftest.$ac_objext
14644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14645 (eval $ac_compile) 2>conftest.er1
14646 ac_status=$?
14647 grep -v '^ *+' conftest.er1 >conftest.err
14648 rm -f conftest.er1
14649 cat conftest.err >&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try='test -z "$ac_cxx_werror_flag"
14653 || test ! -s conftest.err'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14656 ac_status=$?
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; } &&
14659 { ac_try='test -s conftest.$ac_objext'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14662 ac_status=$?
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14665 glibcxx_cv_func__frexpf_use=yes
14666 else
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14670 glibcxx_cv_func__frexpf_use=no
14672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14673 ac_ext=c
14674 ac_cpp='$CPP $CPPFLAGS'
14675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14683 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14684 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14686 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14688 for ac_func in _frexpf
14690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14691 echo "$as_me:$LINENO: checking for $ac_func" >&5
14692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14693 if eval "test \"\${$as_ac_var+set}\" = set"; then
14694 echo $ECHO_N "(cached) $ECHO_C" >&6
14695 else
14696 if test x$gcc_no_link = xyes; then
14697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14699 { (exit 1); exit 1; }; }
14701 cat >conftest.$ac_ext <<_ACEOF
14702 /* confdefs.h. */
14703 _ACEOF
14704 cat confdefs.h >>conftest.$ac_ext
14705 cat >>conftest.$ac_ext <<_ACEOF
14706 /* end confdefs.h. */
14707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14709 #define $ac_func innocuous_$ac_func
14711 /* System header to define __stub macros and hopefully few prototypes,
14712 which can conflict with char $ac_func (); below.
14713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14714 <limits.h> exists even on freestanding compilers. */
14716 #ifdef __STDC__
14717 # include <limits.h>
14718 #else
14719 # include <assert.h>
14720 #endif
14722 #undef $ac_func
14724 /* Override any gcc2 internal prototype to avoid an error. */
14725 #ifdef __cplusplus
14726 extern "C"
14728 #endif
14729 /* We use char because int might match the return type of a gcc2
14730 builtin and then its argument prototype would still apply. */
14731 char $ac_func ();
14732 /* The GNU C library defines this for functions which it implements
14733 to always fail with ENOSYS. Some functions are actually named
14734 something starting with __ and the normal name is an alias. */
14735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14736 choke me
14737 #else
14738 char (*f) () = $ac_func;
14739 #endif
14740 #ifdef __cplusplus
14742 #endif
14745 main ()
14747 return f != $ac_func;
14749 return 0;
14751 _ACEOF
14752 rm -f conftest.$ac_objext conftest$ac_exeext
14753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14754 (eval $ac_link) 2>conftest.er1
14755 ac_status=$?
14756 grep -v '^ *+' conftest.er1 >conftest.err
14757 rm -f conftest.er1
14758 cat conftest.err >&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); } &&
14761 { ac_try='test -z "$ac_c_werror_flag"
14762 || test ! -s conftest.err'
14763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764 (eval $ac_try) 2>&5
14765 ac_status=$?
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; } &&
14768 { ac_try='test -s conftest$ac_exeext'
14769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14770 (eval $ac_try) 2>&5
14771 ac_status=$?
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); }; }; then
14774 eval "$as_ac_var=yes"
14775 else
14776 echo "$as_me: failed program was:" >&5
14777 sed 's/^/| /' conftest.$ac_ext >&5
14779 eval "$as_ac_var=no"
14781 rm -f conftest.err conftest.$ac_objext \
14782 conftest$ac_exeext conftest.$ac_ext
14784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14786 if test `eval echo '${'$as_ac_var'}'` = yes; then
14787 cat >>confdefs.h <<_ACEOF
14788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14789 _ACEOF
14792 done
14802 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14803 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14804 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14805 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14806 echo $ECHO_N "(cached) $ECHO_C" >&6
14807 else
14811 ac_ext=cc
14812 ac_cpp='$CXXCPP $CPPFLAGS'
14813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14817 cat >conftest.$ac_ext <<_ACEOF
14818 /* confdefs.h. */
14819 _ACEOF
14820 cat confdefs.h >>conftest.$ac_ext
14821 cat >>conftest.$ac_ext <<_ACEOF
14822 /* end confdefs.h. */
14823 #include <math.h>
14825 main ()
14827 hypotf(0, 0);
14829 return 0;
14831 _ACEOF
14832 rm -f conftest.$ac_objext
14833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14834 (eval $ac_compile) 2>conftest.er1
14835 ac_status=$?
14836 grep -v '^ *+' conftest.er1 >conftest.err
14837 rm -f conftest.er1
14838 cat conftest.err >&5
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); } &&
14841 { ac_try='test -z "$ac_cxx_werror_flag"
14842 || test ! -s conftest.err'
14843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14844 (eval $ac_try) 2>&5
14845 ac_status=$?
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); }; } &&
14848 { ac_try='test -s conftest.$ac_objext'
14849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850 (eval $ac_try) 2>&5
14851 ac_status=$?
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; }; then
14854 glibcxx_cv_func_hypotf_use=yes
14855 else
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.$ac_ext >&5
14859 glibcxx_cv_func_hypotf_use=no
14861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14862 ac_ext=c
14863 ac_cpp='$CPP $CPPFLAGS'
14864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14872 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14873 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14875 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14877 for ac_func in hypotf
14879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14880 echo "$as_me:$LINENO: checking for $ac_func" >&5
14881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14882 if eval "test \"\${$as_ac_var+set}\" = set"; then
14883 echo $ECHO_N "(cached) $ECHO_C" >&6
14884 else
14885 if test x$gcc_no_link = xyes; then
14886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14888 { (exit 1); exit 1; }; }
14890 cat >conftest.$ac_ext <<_ACEOF
14891 /* confdefs.h. */
14892 _ACEOF
14893 cat confdefs.h >>conftest.$ac_ext
14894 cat >>conftest.$ac_ext <<_ACEOF
14895 /* end confdefs.h. */
14896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14898 #define $ac_func innocuous_$ac_func
14900 /* System header to define __stub macros and hopefully few prototypes,
14901 which can conflict with char $ac_func (); below.
14902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14903 <limits.h> exists even on freestanding compilers. */
14905 #ifdef __STDC__
14906 # include <limits.h>
14907 #else
14908 # include <assert.h>
14909 #endif
14911 #undef $ac_func
14913 /* Override any gcc2 internal prototype to avoid an error. */
14914 #ifdef __cplusplus
14915 extern "C"
14917 #endif
14918 /* We use char because int might match the return type of a gcc2
14919 builtin and then its argument prototype would still apply. */
14920 char $ac_func ();
14921 /* The GNU C library defines this for functions which it implements
14922 to always fail with ENOSYS. Some functions are actually named
14923 something starting with __ and the normal name is an alias. */
14924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14925 choke me
14926 #else
14927 char (*f) () = $ac_func;
14928 #endif
14929 #ifdef __cplusplus
14931 #endif
14934 main ()
14936 return f != $ac_func;
14938 return 0;
14940 _ACEOF
14941 rm -f conftest.$ac_objext conftest$ac_exeext
14942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14943 (eval $ac_link) 2>conftest.er1
14944 ac_status=$?
14945 grep -v '^ *+' conftest.er1 >conftest.err
14946 rm -f conftest.er1
14947 cat conftest.err >&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); } &&
14950 { ac_try='test -z "$ac_c_werror_flag"
14951 || test ! -s conftest.err'
14952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14953 (eval $ac_try) 2>&5
14954 ac_status=$?
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); }; } &&
14957 { ac_try='test -s conftest$ac_exeext'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14960 ac_status=$?
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; }; then
14963 eval "$as_ac_var=yes"
14964 else
14965 echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.$ac_ext >&5
14968 eval "$as_ac_var=no"
14970 rm -f conftest.err conftest.$ac_objext \
14971 conftest$ac_exeext conftest.$ac_ext
14973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14975 if test `eval echo '${'$as_ac_var'}'` = yes; then
14976 cat >>confdefs.h <<_ACEOF
14977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14978 _ACEOF
14981 done
14983 else
14985 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14986 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14987 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14988 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14989 echo $ECHO_N "(cached) $ECHO_C" >&6
14990 else
14994 ac_ext=cc
14995 ac_cpp='$CXXCPP $CPPFLAGS'
14996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15000 cat >conftest.$ac_ext <<_ACEOF
15001 /* confdefs.h. */
15002 _ACEOF
15003 cat confdefs.h >>conftest.$ac_ext
15004 cat >>conftest.$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15006 #include <math.h>
15008 main ()
15010 _hypotf(0, 0);
15012 return 0;
15014 _ACEOF
15015 rm -f conftest.$ac_objext
15016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15017 (eval $ac_compile) 2>conftest.er1
15018 ac_status=$?
15019 grep -v '^ *+' conftest.er1 >conftest.err
15020 rm -f conftest.er1
15021 cat conftest.err >&5
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); } &&
15024 { ac_try='test -z "$ac_cxx_werror_flag"
15025 || test ! -s conftest.err'
15026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15027 (eval $ac_try) 2>&5
15028 ac_status=$?
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); }; } &&
15031 { ac_try='test -s conftest.$ac_objext'
15032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15033 (eval $ac_try) 2>&5
15034 ac_status=$?
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; }; then
15037 glibcxx_cv_func__hypotf_use=yes
15038 else
15039 echo "$as_me: failed program was:" >&5
15040 sed 's/^/| /' conftest.$ac_ext >&5
15042 glibcxx_cv_func__hypotf_use=no
15044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15045 ac_ext=c
15046 ac_cpp='$CPP $CPPFLAGS'
15047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15056 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15058 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15060 for ac_func in _hypotf
15062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15063 echo "$as_me:$LINENO: checking for $ac_func" >&5
15064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15065 if eval "test \"\${$as_ac_var+set}\" = set"; then
15066 echo $ECHO_N "(cached) $ECHO_C" >&6
15067 else
15068 if test x$gcc_no_link = xyes; then
15069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15071 { (exit 1); exit 1; }; }
15073 cat >conftest.$ac_ext <<_ACEOF
15074 /* confdefs.h. */
15075 _ACEOF
15076 cat confdefs.h >>conftest.$ac_ext
15077 cat >>conftest.$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15081 #define $ac_func innocuous_$ac_func
15083 /* System header to define __stub macros and hopefully few prototypes,
15084 which can conflict with char $ac_func (); below.
15085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15086 <limits.h> exists even on freestanding compilers. */
15088 #ifdef __STDC__
15089 # include <limits.h>
15090 #else
15091 # include <assert.h>
15092 #endif
15094 #undef $ac_func
15096 /* Override any gcc2 internal prototype to avoid an error. */
15097 #ifdef __cplusplus
15098 extern "C"
15100 #endif
15101 /* We use char because int might match the return type of a gcc2
15102 builtin and then its argument prototype would still apply. */
15103 char $ac_func ();
15104 /* The GNU C library defines this for functions which it implements
15105 to always fail with ENOSYS. Some functions are actually named
15106 something starting with __ and the normal name is an alias. */
15107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15108 choke me
15109 #else
15110 char (*f) () = $ac_func;
15111 #endif
15112 #ifdef __cplusplus
15114 #endif
15117 main ()
15119 return f != $ac_func;
15121 return 0;
15123 _ACEOF
15124 rm -f conftest.$ac_objext conftest$ac_exeext
15125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15126 (eval $ac_link) 2>conftest.er1
15127 ac_status=$?
15128 grep -v '^ *+' conftest.er1 >conftest.err
15129 rm -f conftest.er1
15130 cat conftest.err >&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); } &&
15133 { ac_try='test -z "$ac_c_werror_flag"
15134 || test ! -s conftest.err'
15135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15136 (eval $ac_try) 2>&5
15137 ac_status=$?
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); }; } &&
15140 { ac_try='test -s conftest$ac_exeext'
15141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142 (eval $ac_try) 2>&5
15143 ac_status=$?
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); }; }; then
15146 eval "$as_ac_var=yes"
15147 else
15148 echo "$as_me: failed program was:" >&5
15149 sed 's/^/| /' conftest.$ac_ext >&5
15151 eval "$as_ac_var=no"
15153 rm -f conftest.err conftest.$ac_objext \
15154 conftest$ac_exeext conftest.$ac_ext
15156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15158 if test `eval echo '${'$as_ac_var'}'` = yes; then
15159 cat >>confdefs.h <<_ACEOF
15160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15161 _ACEOF
15164 done
15174 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15175 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15176 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15177 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15179 else
15183 ac_ext=cc
15184 ac_cpp='$CXXCPP $CPPFLAGS'
15185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15189 cat >conftest.$ac_ext <<_ACEOF
15190 /* confdefs.h. */
15191 _ACEOF
15192 cat confdefs.h >>conftest.$ac_ext
15193 cat >>conftest.$ac_ext <<_ACEOF
15194 /* end confdefs.h. */
15195 #include <math.h>
15197 main ()
15199 ldexpf(0, 0);
15201 return 0;
15203 _ACEOF
15204 rm -f conftest.$ac_objext
15205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15206 (eval $ac_compile) 2>conftest.er1
15207 ac_status=$?
15208 grep -v '^ *+' conftest.er1 >conftest.err
15209 rm -f conftest.er1
15210 cat conftest.err >&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); } &&
15213 { ac_try='test -z "$ac_cxx_werror_flag"
15214 || test ! -s conftest.err'
15215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15216 (eval $ac_try) 2>&5
15217 ac_status=$?
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); }; } &&
15220 { ac_try='test -s conftest.$ac_objext'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15223 ac_status=$?
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; }; then
15226 glibcxx_cv_func_ldexpf_use=yes
15227 else
15228 echo "$as_me: failed program was:" >&5
15229 sed 's/^/| /' conftest.$ac_ext >&5
15231 glibcxx_cv_func_ldexpf_use=no
15233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15234 ac_ext=c
15235 ac_cpp='$CPP $CPPFLAGS'
15236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15245 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15247 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15249 for ac_func in ldexpf
15251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15252 echo "$as_me:$LINENO: checking for $ac_func" >&5
15253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15254 if eval "test \"\${$as_ac_var+set}\" = set"; then
15255 echo $ECHO_N "(cached) $ECHO_C" >&6
15256 else
15257 if test x$gcc_no_link = xyes; then
15258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15260 { (exit 1); exit 1; }; }
15262 cat >conftest.$ac_ext <<_ACEOF
15263 /* confdefs.h. */
15264 _ACEOF
15265 cat confdefs.h >>conftest.$ac_ext
15266 cat >>conftest.$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15270 #define $ac_func innocuous_$ac_func
15272 /* System header to define __stub macros and hopefully few prototypes,
15273 which can conflict with char $ac_func (); below.
15274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15275 <limits.h> exists even on freestanding compilers. */
15277 #ifdef __STDC__
15278 # include <limits.h>
15279 #else
15280 # include <assert.h>
15281 #endif
15283 #undef $ac_func
15285 /* Override any gcc2 internal prototype to avoid an error. */
15286 #ifdef __cplusplus
15287 extern "C"
15289 #endif
15290 /* We use char because int might match the return type of a gcc2
15291 builtin and then its argument prototype would still apply. */
15292 char $ac_func ();
15293 /* The GNU C library defines this for functions which it implements
15294 to always fail with ENOSYS. Some functions are actually named
15295 something starting with __ and the normal name is an alias. */
15296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15297 choke me
15298 #else
15299 char (*f) () = $ac_func;
15300 #endif
15301 #ifdef __cplusplus
15303 #endif
15306 main ()
15308 return f != $ac_func;
15310 return 0;
15312 _ACEOF
15313 rm -f conftest.$ac_objext conftest$ac_exeext
15314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15315 (eval $ac_link) 2>conftest.er1
15316 ac_status=$?
15317 grep -v '^ *+' conftest.er1 >conftest.err
15318 rm -f conftest.er1
15319 cat conftest.err >&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } &&
15322 { ac_try='test -z "$ac_c_werror_flag"
15323 || test ! -s conftest.err'
15324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15325 (eval $ac_try) 2>&5
15326 ac_status=$?
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); }; } &&
15329 { ac_try='test -s conftest$ac_exeext'
15330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15331 (eval $ac_try) 2>&5
15332 ac_status=$?
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); }; }; then
15335 eval "$as_ac_var=yes"
15336 else
15337 echo "$as_me: failed program was:" >&5
15338 sed 's/^/| /' conftest.$ac_ext >&5
15340 eval "$as_ac_var=no"
15342 rm -f conftest.err conftest.$ac_objext \
15343 conftest$ac_exeext conftest.$ac_ext
15345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15347 if test `eval echo '${'$as_ac_var'}'` = yes; then
15348 cat >>confdefs.h <<_ACEOF
15349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15350 _ACEOF
15353 done
15355 else
15357 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15358 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15359 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15360 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15361 echo $ECHO_N "(cached) $ECHO_C" >&6
15362 else
15366 ac_ext=cc
15367 ac_cpp='$CXXCPP $CPPFLAGS'
15368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15372 cat >conftest.$ac_ext <<_ACEOF
15373 /* confdefs.h. */
15374 _ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378 #include <math.h>
15380 main ()
15382 _ldexpf(0, 0);
15384 return 0;
15386 _ACEOF
15387 rm -f conftest.$ac_objext
15388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15389 (eval $ac_compile) 2>conftest.er1
15390 ac_status=$?
15391 grep -v '^ *+' conftest.er1 >conftest.err
15392 rm -f conftest.er1
15393 cat conftest.err >&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); } &&
15396 { ac_try='test -z "$ac_cxx_werror_flag"
15397 || test ! -s conftest.err'
15398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15399 (eval $ac_try) 2>&5
15400 ac_status=$?
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); }; } &&
15403 { ac_try='test -s conftest.$ac_objext'
15404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15405 (eval $ac_try) 2>&5
15406 ac_status=$?
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); }; }; then
15409 glibcxx_cv_func__ldexpf_use=yes
15410 else
15411 echo "$as_me: failed program was:" >&5
15412 sed 's/^/| /' conftest.$ac_ext >&5
15414 glibcxx_cv_func__ldexpf_use=no
15416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15417 ac_ext=c
15418 ac_cpp='$CPP $CPPFLAGS'
15419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15427 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15428 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15430 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15432 for ac_func in _ldexpf
15434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15435 echo "$as_me:$LINENO: checking for $ac_func" >&5
15436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15437 if eval "test \"\${$as_ac_var+set}\" = set"; then
15438 echo $ECHO_N "(cached) $ECHO_C" >&6
15439 else
15440 if test x$gcc_no_link = xyes; then
15441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15443 { (exit 1); exit 1; }; }
15445 cat >conftest.$ac_ext <<_ACEOF
15446 /* confdefs.h. */
15447 _ACEOF
15448 cat confdefs.h >>conftest.$ac_ext
15449 cat >>conftest.$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15453 #define $ac_func innocuous_$ac_func
15455 /* System header to define __stub macros and hopefully few prototypes,
15456 which can conflict with char $ac_func (); below.
15457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15458 <limits.h> exists even on freestanding compilers. */
15460 #ifdef __STDC__
15461 # include <limits.h>
15462 #else
15463 # include <assert.h>
15464 #endif
15466 #undef $ac_func
15468 /* Override any gcc2 internal prototype to avoid an error. */
15469 #ifdef __cplusplus
15470 extern "C"
15472 #endif
15473 /* We use char because int might match the return type of a gcc2
15474 builtin and then its argument prototype would still apply. */
15475 char $ac_func ();
15476 /* The GNU C library defines this for functions which it implements
15477 to always fail with ENOSYS. Some functions are actually named
15478 something starting with __ and the normal name is an alias. */
15479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15480 choke me
15481 #else
15482 char (*f) () = $ac_func;
15483 #endif
15484 #ifdef __cplusplus
15486 #endif
15489 main ()
15491 return f != $ac_func;
15493 return 0;
15495 _ACEOF
15496 rm -f conftest.$ac_objext conftest$ac_exeext
15497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15498 (eval $ac_link) 2>conftest.er1
15499 ac_status=$?
15500 grep -v '^ *+' conftest.er1 >conftest.err
15501 rm -f conftest.er1
15502 cat conftest.err >&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); } &&
15505 { ac_try='test -z "$ac_c_werror_flag"
15506 || test ! -s conftest.err'
15507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15508 (eval $ac_try) 2>&5
15509 ac_status=$?
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }; } &&
15512 { ac_try='test -s conftest$ac_exeext'
15513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15514 (eval $ac_try) 2>&5
15515 ac_status=$?
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); }; }; then
15518 eval "$as_ac_var=yes"
15519 else
15520 echo "$as_me: failed program was:" >&5
15521 sed 's/^/| /' conftest.$ac_ext >&5
15523 eval "$as_ac_var=no"
15525 rm -f conftest.err conftest.$ac_objext \
15526 conftest$ac_exeext conftest.$ac_ext
15528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15530 if test `eval echo '${'$as_ac_var'}'` = yes; then
15531 cat >>confdefs.h <<_ACEOF
15532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15533 _ACEOF
15536 done
15546 echo "$as_me:$LINENO: checking for logf declaration" >&5
15547 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15548 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15549 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15550 echo $ECHO_N "(cached) $ECHO_C" >&6
15551 else
15555 ac_ext=cc
15556 ac_cpp='$CXXCPP $CPPFLAGS'
15557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15561 cat >conftest.$ac_ext <<_ACEOF
15562 /* confdefs.h. */
15563 _ACEOF
15564 cat confdefs.h >>conftest.$ac_ext
15565 cat >>conftest.$ac_ext <<_ACEOF
15566 /* end confdefs.h. */
15567 #include <math.h>
15568 #ifdef HAVE_IEEEFP_H
15569 #include <ieeefp.h>
15570 #endif
15573 main ()
15575 logf(0);
15577 return 0;
15579 _ACEOF
15580 rm -f conftest.$ac_objext
15581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15582 (eval $ac_compile) 2>conftest.er1
15583 ac_status=$?
15584 grep -v '^ *+' conftest.er1 >conftest.err
15585 rm -f conftest.er1
15586 cat conftest.err >&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); } &&
15589 { ac_try='test -z "$ac_cxx_werror_flag"
15590 || test ! -s conftest.err'
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15593 ac_status=$?
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; } &&
15596 { ac_try='test -s conftest.$ac_objext'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15599 ac_status=$?
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; }; then
15602 glibcxx_cv_func_logf_use=yes
15603 else
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.$ac_ext >&5
15607 glibcxx_cv_func_logf_use=no
15609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15610 ac_ext=c
15611 ac_cpp='$CPP $CPPFLAGS'
15612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15620 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15621 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15623 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15625 for ac_func in logf
15627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15628 echo "$as_me:$LINENO: checking for $ac_func" >&5
15629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15630 if eval "test \"\${$as_ac_var+set}\" = set"; then
15631 echo $ECHO_N "(cached) $ECHO_C" >&6
15632 else
15633 if test x$gcc_no_link = xyes; then
15634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15636 { (exit 1); exit 1; }; }
15638 cat >conftest.$ac_ext <<_ACEOF
15639 /* confdefs.h. */
15640 _ACEOF
15641 cat confdefs.h >>conftest.$ac_ext
15642 cat >>conftest.$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15646 #define $ac_func innocuous_$ac_func
15648 /* System header to define __stub macros and hopefully few prototypes,
15649 which can conflict with char $ac_func (); below.
15650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15651 <limits.h> exists even on freestanding compilers. */
15653 #ifdef __STDC__
15654 # include <limits.h>
15655 #else
15656 # include <assert.h>
15657 #endif
15659 #undef $ac_func
15661 /* Override any gcc2 internal prototype to avoid an error. */
15662 #ifdef __cplusplus
15663 extern "C"
15665 #endif
15666 /* We use char because int might match the return type of a gcc2
15667 builtin and then its argument prototype would still apply. */
15668 char $ac_func ();
15669 /* The GNU C library defines this for functions which it implements
15670 to always fail with ENOSYS. Some functions are actually named
15671 something starting with __ and the normal name is an alias. */
15672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15673 choke me
15674 #else
15675 char (*f) () = $ac_func;
15676 #endif
15677 #ifdef __cplusplus
15679 #endif
15682 main ()
15684 return f != $ac_func;
15686 return 0;
15688 _ACEOF
15689 rm -f conftest.$ac_objext conftest$ac_exeext
15690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15691 (eval $ac_link) 2>conftest.er1
15692 ac_status=$?
15693 grep -v '^ *+' conftest.er1 >conftest.err
15694 rm -f conftest.er1
15695 cat conftest.err >&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); } &&
15698 { ac_try='test -z "$ac_c_werror_flag"
15699 || test ! -s conftest.err'
15700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15701 (eval $ac_try) 2>&5
15702 ac_status=$?
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); }; } &&
15705 { ac_try='test -s conftest$ac_exeext'
15706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15707 (eval $ac_try) 2>&5
15708 ac_status=$?
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); }; }; then
15711 eval "$as_ac_var=yes"
15712 else
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15716 eval "$as_ac_var=no"
15718 rm -f conftest.err conftest.$ac_objext \
15719 conftest$ac_exeext conftest.$ac_ext
15721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15723 if test `eval echo '${'$as_ac_var'}'` = yes; then
15724 cat >>confdefs.h <<_ACEOF
15725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15726 _ACEOF
15729 done
15731 else
15733 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15734 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15735 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15736 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15737 echo $ECHO_N "(cached) $ECHO_C" >&6
15738 else
15742 ac_ext=cc
15743 ac_cpp='$CXXCPP $CPPFLAGS'
15744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15748 cat >conftest.$ac_ext <<_ACEOF
15749 /* confdefs.h. */
15750 _ACEOF
15751 cat confdefs.h >>conftest.$ac_ext
15752 cat >>conftest.$ac_ext <<_ACEOF
15753 /* end confdefs.h. */
15754 #include <math.h>
15755 #ifdef HAVE_IEEEFP_H
15756 #include <ieeefp.h>
15757 #endif
15760 main ()
15762 _logf(0);
15764 return 0;
15766 _ACEOF
15767 rm -f conftest.$ac_objext
15768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15769 (eval $ac_compile) 2>conftest.er1
15770 ac_status=$?
15771 grep -v '^ *+' conftest.er1 >conftest.err
15772 rm -f conftest.er1
15773 cat conftest.err >&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); } &&
15776 { ac_try='test -z "$ac_cxx_werror_flag"
15777 || test ! -s conftest.err'
15778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15779 (eval $ac_try) 2>&5
15780 ac_status=$?
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); }; } &&
15783 { ac_try='test -s conftest.$ac_objext'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15786 ac_status=$?
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; }; then
15789 glibcxx_cv_func__logf_use=yes
15790 else
15791 echo "$as_me: failed program was:" >&5
15792 sed 's/^/| /' conftest.$ac_ext >&5
15794 glibcxx_cv_func__logf_use=no
15796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15797 ac_ext=c
15798 ac_cpp='$CPP $CPPFLAGS'
15799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15808 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15810 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15812 for ac_func in _logf
15814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15815 echo "$as_me:$LINENO: checking for $ac_func" >&5
15816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15817 if eval "test \"\${$as_ac_var+set}\" = set"; then
15818 echo $ECHO_N "(cached) $ECHO_C" >&6
15819 else
15820 if test x$gcc_no_link = xyes; then
15821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15823 { (exit 1); exit 1; }; }
15825 cat >conftest.$ac_ext <<_ACEOF
15826 /* confdefs.h. */
15827 _ACEOF
15828 cat confdefs.h >>conftest.$ac_ext
15829 cat >>conftest.$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15833 #define $ac_func innocuous_$ac_func
15835 /* System header to define __stub macros and hopefully few prototypes,
15836 which can conflict with char $ac_func (); below.
15837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15838 <limits.h> exists even on freestanding compilers. */
15840 #ifdef __STDC__
15841 # include <limits.h>
15842 #else
15843 # include <assert.h>
15844 #endif
15846 #undef $ac_func
15848 /* Override any gcc2 internal prototype to avoid an error. */
15849 #ifdef __cplusplus
15850 extern "C"
15852 #endif
15853 /* We use char because int might match the return type of a gcc2
15854 builtin and then its argument prototype would still apply. */
15855 char $ac_func ();
15856 /* The GNU C library defines this for functions which it implements
15857 to always fail with ENOSYS. Some functions are actually named
15858 something starting with __ and the normal name is an alias. */
15859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15860 choke me
15861 #else
15862 char (*f) () = $ac_func;
15863 #endif
15864 #ifdef __cplusplus
15866 #endif
15869 main ()
15871 return f != $ac_func;
15873 return 0;
15875 _ACEOF
15876 rm -f conftest.$ac_objext conftest$ac_exeext
15877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15878 (eval $ac_link) 2>conftest.er1
15879 ac_status=$?
15880 grep -v '^ *+' conftest.er1 >conftest.err
15881 rm -f conftest.er1
15882 cat conftest.err >&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); } &&
15885 { ac_try='test -z "$ac_c_werror_flag"
15886 || test ! -s conftest.err'
15887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15888 (eval $ac_try) 2>&5
15889 ac_status=$?
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); }; } &&
15892 { ac_try='test -s conftest$ac_exeext'
15893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15894 (eval $ac_try) 2>&5
15895 ac_status=$?
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); }; }; then
15898 eval "$as_ac_var=yes"
15899 else
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.$ac_ext >&5
15903 eval "$as_ac_var=no"
15905 rm -f conftest.err conftest.$ac_objext \
15906 conftest$ac_exeext conftest.$ac_ext
15908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15910 if test `eval echo '${'$as_ac_var'}'` = yes; then
15911 cat >>confdefs.h <<_ACEOF
15912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15913 _ACEOF
15916 done
15926 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15927 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15928 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15929 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15931 else
15935 ac_ext=cc
15936 ac_cpp='$CXXCPP $CPPFLAGS'
15937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15941 cat >conftest.$ac_ext <<_ACEOF
15942 /* confdefs.h. */
15943 _ACEOF
15944 cat confdefs.h >>conftest.$ac_ext
15945 cat >>conftest.$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15947 #include <math.h>
15948 #ifdef HAVE_IEEEFP_H
15949 #include <ieeefp.h>
15950 #endif
15953 main ()
15955 log10f(0);
15957 return 0;
15959 _ACEOF
15960 rm -f conftest.$ac_objext
15961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15962 (eval $ac_compile) 2>conftest.er1
15963 ac_status=$?
15964 grep -v '^ *+' conftest.er1 >conftest.err
15965 rm -f conftest.er1
15966 cat conftest.err >&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); } &&
15969 { ac_try='test -z "$ac_cxx_werror_flag"
15970 || test ! -s conftest.err'
15971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15972 (eval $ac_try) 2>&5
15973 ac_status=$?
15974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975 (exit $ac_status); }; } &&
15976 { ac_try='test -s conftest.$ac_objext'
15977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978 (eval $ac_try) 2>&5
15979 ac_status=$?
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; }; then
15982 glibcxx_cv_func_log10f_use=yes
15983 else
15984 echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.$ac_ext >&5
15987 glibcxx_cv_func_log10f_use=no
15989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15990 ac_ext=c
15991 ac_cpp='$CPP $CPPFLAGS'
15992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16001 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16003 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16005 for ac_func in log10f
16007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16008 echo "$as_me:$LINENO: checking for $ac_func" >&5
16009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16010 if eval "test \"\${$as_ac_var+set}\" = set"; then
16011 echo $ECHO_N "(cached) $ECHO_C" >&6
16012 else
16013 if test x$gcc_no_link = xyes; then
16014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16016 { (exit 1); exit 1; }; }
16018 cat >conftest.$ac_ext <<_ACEOF
16019 /* confdefs.h. */
16020 _ACEOF
16021 cat confdefs.h >>conftest.$ac_ext
16022 cat >>conftest.$ac_ext <<_ACEOF
16023 /* end confdefs.h. */
16024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16026 #define $ac_func innocuous_$ac_func
16028 /* System header to define __stub macros and hopefully few prototypes,
16029 which can conflict with char $ac_func (); below.
16030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16031 <limits.h> exists even on freestanding compilers. */
16033 #ifdef __STDC__
16034 # include <limits.h>
16035 #else
16036 # include <assert.h>
16037 #endif
16039 #undef $ac_func
16041 /* Override any gcc2 internal prototype to avoid an error. */
16042 #ifdef __cplusplus
16043 extern "C"
16045 #endif
16046 /* We use char because int might match the return type of a gcc2
16047 builtin and then its argument prototype would still apply. */
16048 char $ac_func ();
16049 /* The GNU C library defines this for functions which it implements
16050 to always fail with ENOSYS. Some functions are actually named
16051 something starting with __ and the normal name is an alias. */
16052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16053 choke me
16054 #else
16055 char (*f) () = $ac_func;
16056 #endif
16057 #ifdef __cplusplus
16059 #endif
16062 main ()
16064 return f != $ac_func;
16066 return 0;
16068 _ACEOF
16069 rm -f conftest.$ac_objext conftest$ac_exeext
16070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16071 (eval $ac_link) 2>conftest.er1
16072 ac_status=$?
16073 grep -v '^ *+' conftest.er1 >conftest.err
16074 rm -f conftest.er1
16075 cat conftest.err >&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); } &&
16078 { ac_try='test -z "$ac_c_werror_flag"
16079 || test ! -s conftest.err'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16082 ac_status=$?
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; } &&
16085 { ac_try='test -s conftest$ac_exeext'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16088 ac_status=$?
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; }; then
16091 eval "$as_ac_var=yes"
16092 else
16093 echo "$as_me: failed program was:" >&5
16094 sed 's/^/| /' conftest.$ac_ext >&5
16096 eval "$as_ac_var=no"
16098 rm -f conftest.err conftest.$ac_objext \
16099 conftest$ac_exeext conftest.$ac_ext
16101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16103 if test `eval echo '${'$as_ac_var'}'` = yes; then
16104 cat >>confdefs.h <<_ACEOF
16105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16106 _ACEOF
16109 done
16111 else
16113 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16114 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16115 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16116 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16117 echo $ECHO_N "(cached) $ECHO_C" >&6
16118 else
16122 ac_ext=cc
16123 ac_cpp='$CXXCPP $CPPFLAGS'
16124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16128 cat >conftest.$ac_ext <<_ACEOF
16129 /* confdefs.h. */
16130 _ACEOF
16131 cat confdefs.h >>conftest.$ac_ext
16132 cat >>conftest.$ac_ext <<_ACEOF
16133 /* end confdefs.h. */
16134 #include <math.h>
16135 #ifdef HAVE_IEEEFP_H
16136 #include <ieeefp.h>
16137 #endif
16140 main ()
16142 _log10f(0);
16144 return 0;
16146 _ACEOF
16147 rm -f conftest.$ac_objext
16148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16149 (eval $ac_compile) 2>conftest.er1
16150 ac_status=$?
16151 grep -v '^ *+' conftest.er1 >conftest.err
16152 rm -f conftest.er1
16153 cat conftest.err >&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); } &&
16156 { ac_try='test -z "$ac_cxx_werror_flag"
16157 || test ! -s conftest.err'
16158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16159 (eval $ac_try) 2>&5
16160 ac_status=$?
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); }; } &&
16163 { ac_try='test -s conftest.$ac_objext'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16166 ac_status=$?
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; }; then
16169 glibcxx_cv_func__log10f_use=yes
16170 else
16171 echo "$as_me: failed program was:" >&5
16172 sed 's/^/| /' conftest.$ac_ext >&5
16174 glibcxx_cv_func__log10f_use=no
16176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16177 ac_ext=c
16178 ac_cpp='$CPP $CPPFLAGS'
16179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16188 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16190 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16192 for ac_func in _log10f
16194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16195 echo "$as_me:$LINENO: checking for $ac_func" >&5
16196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16197 if eval "test \"\${$as_ac_var+set}\" = set"; then
16198 echo $ECHO_N "(cached) $ECHO_C" >&6
16199 else
16200 if test x$gcc_no_link = xyes; then
16201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16203 { (exit 1); exit 1; }; }
16205 cat >conftest.$ac_ext <<_ACEOF
16206 /* confdefs.h. */
16207 _ACEOF
16208 cat confdefs.h >>conftest.$ac_ext
16209 cat >>conftest.$ac_ext <<_ACEOF
16210 /* end confdefs.h. */
16211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16213 #define $ac_func innocuous_$ac_func
16215 /* System header to define __stub macros and hopefully few prototypes,
16216 which can conflict with char $ac_func (); below.
16217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16218 <limits.h> exists even on freestanding compilers. */
16220 #ifdef __STDC__
16221 # include <limits.h>
16222 #else
16223 # include <assert.h>
16224 #endif
16226 #undef $ac_func
16228 /* Override any gcc2 internal prototype to avoid an error. */
16229 #ifdef __cplusplus
16230 extern "C"
16232 #endif
16233 /* We use char because int might match the return type of a gcc2
16234 builtin and then its argument prototype would still apply. */
16235 char $ac_func ();
16236 /* The GNU C library defines this for functions which it implements
16237 to always fail with ENOSYS. Some functions are actually named
16238 something starting with __ and the normal name is an alias. */
16239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16240 choke me
16241 #else
16242 char (*f) () = $ac_func;
16243 #endif
16244 #ifdef __cplusplus
16246 #endif
16249 main ()
16251 return f != $ac_func;
16253 return 0;
16255 _ACEOF
16256 rm -f conftest.$ac_objext conftest$ac_exeext
16257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16258 (eval $ac_link) 2>conftest.er1
16259 ac_status=$?
16260 grep -v '^ *+' conftest.er1 >conftest.err
16261 rm -f conftest.er1
16262 cat conftest.err >&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); } &&
16265 { ac_try='test -z "$ac_c_werror_flag"
16266 || test ! -s conftest.err'
16267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16268 (eval $ac_try) 2>&5
16269 ac_status=$?
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); }; } &&
16272 { ac_try='test -s conftest$ac_exeext'
16273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16274 (eval $ac_try) 2>&5
16275 ac_status=$?
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); }; }; then
16278 eval "$as_ac_var=yes"
16279 else
16280 echo "$as_me: failed program was:" >&5
16281 sed 's/^/| /' conftest.$ac_ext >&5
16283 eval "$as_ac_var=no"
16285 rm -f conftest.err conftest.$ac_objext \
16286 conftest$ac_exeext conftest.$ac_ext
16288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16290 if test `eval echo '${'$as_ac_var'}'` = yes; then
16291 cat >>confdefs.h <<_ACEOF
16292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16293 _ACEOF
16296 done
16306 echo "$as_me:$LINENO: checking for modff declaration" >&5
16307 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16308 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16309 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16310 echo $ECHO_N "(cached) $ECHO_C" >&6
16311 else
16315 ac_ext=cc
16316 ac_cpp='$CXXCPP $CPPFLAGS'
16317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16321 cat >conftest.$ac_ext <<_ACEOF
16322 /* confdefs.h. */
16323 _ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327 #include <math.h>
16329 main ()
16331 modff(0, 0);
16333 return 0;
16335 _ACEOF
16336 rm -f conftest.$ac_objext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16338 (eval $ac_compile) 2>conftest.er1
16339 ac_status=$?
16340 grep -v '^ *+' conftest.er1 >conftest.err
16341 rm -f conftest.er1
16342 cat conftest.err >&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -z "$ac_cxx_werror_flag"
16346 || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16349 ac_status=$?
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 glibcxx_cv_func_modff_use=yes
16359 else
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.$ac_ext >&5
16363 glibcxx_cv_func_modff_use=no
16365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16366 ac_ext=c
16367 ac_cpp='$CPP $CPPFLAGS'
16368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16376 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16377 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16379 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16381 for ac_func in modff
16383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16384 echo "$as_me:$LINENO: checking for $ac_func" >&5
16385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16386 if eval "test \"\${$as_ac_var+set}\" = set"; then
16387 echo $ECHO_N "(cached) $ECHO_C" >&6
16388 else
16389 if test x$gcc_no_link = xyes; then
16390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16392 { (exit 1); exit 1; }; }
16394 cat >conftest.$ac_ext <<_ACEOF
16395 /* confdefs.h. */
16396 _ACEOF
16397 cat confdefs.h >>conftest.$ac_ext
16398 cat >>conftest.$ac_ext <<_ACEOF
16399 /* end confdefs.h. */
16400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16402 #define $ac_func innocuous_$ac_func
16404 /* System header to define __stub macros and hopefully few prototypes,
16405 which can conflict with char $ac_func (); below.
16406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16407 <limits.h> exists even on freestanding compilers. */
16409 #ifdef __STDC__
16410 # include <limits.h>
16411 #else
16412 # include <assert.h>
16413 #endif
16415 #undef $ac_func
16417 /* Override any gcc2 internal prototype to avoid an error. */
16418 #ifdef __cplusplus
16419 extern "C"
16421 #endif
16422 /* We use char because int might match the return type of a gcc2
16423 builtin and then its argument prototype would still apply. */
16424 char $ac_func ();
16425 /* The GNU C library defines this for functions which it implements
16426 to always fail with ENOSYS. Some functions are actually named
16427 something starting with __ and the normal name is an alias. */
16428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16429 choke me
16430 #else
16431 char (*f) () = $ac_func;
16432 #endif
16433 #ifdef __cplusplus
16435 #endif
16438 main ()
16440 return f != $ac_func;
16442 return 0;
16444 _ACEOF
16445 rm -f conftest.$ac_objext conftest$ac_exeext
16446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16447 (eval $ac_link) 2>conftest.er1
16448 ac_status=$?
16449 grep -v '^ *+' conftest.er1 >conftest.err
16450 rm -f conftest.er1
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } &&
16454 { ac_try='test -z "$ac_c_werror_flag"
16455 || test ! -s conftest.err'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16458 ac_status=$?
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; } &&
16461 { ac_try='test -s conftest$ac_exeext'
16462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16463 (eval $ac_try) 2>&5
16464 ac_status=$?
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); }; }; then
16467 eval "$as_ac_var=yes"
16468 else
16469 echo "$as_me: failed program was:" >&5
16470 sed 's/^/| /' conftest.$ac_ext >&5
16472 eval "$as_ac_var=no"
16474 rm -f conftest.err conftest.$ac_objext \
16475 conftest$ac_exeext conftest.$ac_ext
16477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16479 if test `eval echo '${'$as_ac_var'}'` = yes; then
16480 cat >>confdefs.h <<_ACEOF
16481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16482 _ACEOF
16485 done
16487 else
16489 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16490 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16491 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16492 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16494 else
16498 ac_ext=cc
16499 ac_cpp='$CXXCPP $CPPFLAGS'
16500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16504 cat >conftest.$ac_ext <<_ACEOF
16505 /* confdefs.h. */
16506 _ACEOF
16507 cat confdefs.h >>conftest.$ac_ext
16508 cat >>conftest.$ac_ext <<_ACEOF
16509 /* end confdefs.h. */
16510 #include <math.h>
16512 main ()
16514 _modff(0, 0);
16516 return 0;
16518 _ACEOF
16519 rm -f conftest.$ac_objext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16521 (eval $ac_compile) 2>conftest.er1
16522 ac_status=$?
16523 grep -v '^ *+' conftest.er1 >conftest.err
16524 rm -f conftest.er1
16525 cat conftest.err >&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } &&
16528 { ac_try='test -z "$ac_cxx_werror_flag"
16529 || test ! -s conftest.err'
16530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16531 (eval $ac_try) 2>&5
16532 ac_status=$?
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); }; } &&
16535 { ac_try='test -s conftest.$ac_objext'
16536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16537 (eval $ac_try) 2>&5
16538 ac_status=$?
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; }; then
16541 glibcxx_cv_func__modff_use=yes
16542 else
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.$ac_ext >&5
16546 glibcxx_cv_func__modff_use=no
16548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16549 ac_ext=c
16550 ac_cpp='$CPP $CPPFLAGS'
16551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16559 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16560 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16562 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16564 for ac_func in _modff
16566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16567 echo "$as_me:$LINENO: checking for $ac_func" >&5
16568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16569 if eval "test \"\${$as_ac_var+set}\" = set"; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 else
16572 if test x$gcc_no_link = xyes; then
16573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16575 { (exit 1); exit 1; }; }
16577 cat >conftest.$ac_ext <<_ACEOF
16578 /* confdefs.h. */
16579 _ACEOF
16580 cat confdefs.h >>conftest.$ac_ext
16581 cat >>conftest.$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16585 #define $ac_func innocuous_$ac_func
16587 /* System header to define __stub macros and hopefully few prototypes,
16588 which can conflict with char $ac_func (); below.
16589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16590 <limits.h> exists even on freestanding compilers. */
16592 #ifdef __STDC__
16593 # include <limits.h>
16594 #else
16595 # include <assert.h>
16596 #endif
16598 #undef $ac_func
16600 /* Override any gcc2 internal prototype to avoid an error. */
16601 #ifdef __cplusplus
16602 extern "C"
16604 #endif
16605 /* We use char because int might match the return type of a gcc2
16606 builtin and then its argument prototype would still apply. */
16607 char $ac_func ();
16608 /* The GNU C library defines this for functions which it implements
16609 to always fail with ENOSYS. Some functions are actually named
16610 something starting with __ and the normal name is an alias. */
16611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16612 choke me
16613 #else
16614 char (*f) () = $ac_func;
16615 #endif
16616 #ifdef __cplusplus
16618 #endif
16621 main ()
16623 return f != $ac_func;
16625 return 0;
16627 _ACEOF
16628 rm -f conftest.$ac_objext conftest$ac_exeext
16629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16630 (eval $ac_link) 2>conftest.er1
16631 ac_status=$?
16632 grep -v '^ *+' conftest.er1 >conftest.err
16633 rm -f conftest.er1
16634 cat conftest.err >&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); } &&
16637 { ac_try='test -z "$ac_c_werror_flag"
16638 || test ! -s conftest.err'
16639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640 (eval $ac_try) 2>&5
16641 ac_status=$?
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; } &&
16644 { ac_try='test -s conftest$ac_exeext'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16647 ac_status=$?
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; }; then
16650 eval "$as_ac_var=yes"
16651 else
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.$ac_ext >&5
16655 eval "$as_ac_var=no"
16657 rm -f conftest.err conftest.$ac_objext \
16658 conftest$ac_exeext conftest.$ac_ext
16660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16662 if test `eval echo '${'$as_ac_var'}'` = yes; then
16663 cat >>confdefs.h <<_ACEOF
16664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16665 _ACEOF
16668 done
16678 echo "$as_me:$LINENO: checking for modf declaration" >&5
16679 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16680 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16681 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16682 echo $ECHO_N "(cached) $ECHO_C" >&6
16683 else
16687 ac_ext=cc
16688 ac_cpp='$CXXCPP $CPPFLAGS'
16689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16693 cat >conftest.$ac_ext <<_ACEOF
16694 /* confdefs.h. */
16695 _ACEOF
16696 cat confdefs.h >>conftest.$ac_ext
16697 cat >>conftest.$ac_ext <<_ACEOF
16698 /* end confdefs.h. */
16699 #include <math.h>
16701 main ()
16703 modf(0, 0);
16705 return 0;
16707 _ACEOF
16708 rm -f conftest.$ac_objext
16709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16710 (eval $ac_compile) 2>conftest.er1
16711 ac_status=$?
16712 grep -v '^ *+' conftest.er1 >conftest.err
16713 rm -f conftest.er1
16714 cat conftest.err >&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } &&
16717 { ac_try='test -z "$ac_cxx_werror_flag"
16718 || test ! -s conftest.err'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16720 (eval $ac_try) 2>&5
16721 ac_status=$?
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; } &&
16724 { ac_try='test -s conftest.$ac_objext'
16725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726 (eval $ac_try) 2>&5
16727 ac_status=$?
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); }; }; then
16730 glibcxx_cv_func_modf_use=yes
16731 else
16732 echo "$as_me: failed program was:" >&5
16733 sed 's/^/| /' conftest.$ac_ext >&5
16735 glibcxx_cv_func_modf_use=no
16737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16738 ac_ext=c
16739 ac_cpp='$CPP $CPPFLAGS'
16740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16749 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16751 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16753 for ac_func in modf
16755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16756 echo "$as_me:$LINENO: checking for $ac_func" >&5
16757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16758 if eval "test \"\${$as_ac_var+set}\" = set"; then
16759 echo $ECHO_N "(cached) $ECHO_C" >&6
16760 else
16761 if test x$gcc_no_link = xyes; then
16762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16764 { (exit 1); exit 1; }; }
16766 cat >conftest.$ac_ext <<_ACEOF
16767 /* confdefs.h. */
16768 _ACEOF
16769 cat confdefs.h >>conftest.$ac_ext
16770 cat >>conftest.$ac_ext <<_ACEOF
16771 /* end confdefs.h. */
16772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16774 #define $ac_func innocuous_$ac_func
16776 /* System header to define __stub macros and hopefully few prototypes,
16777 which can conflict with char $ac_func (); below.
16778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16779 <limits.h> exists even on freestanding compilers. */
16781 #ifdef __STDC__
16782 # include <limits.h>
16783 #else
16784 # include <assert.h>
16785 #endif
16787 #undef $ac_func
16789 /* Override any gcc2 internal prototype to avoid an error. */
16790 #ifdef __cplusplus
16791 extern "C"
16793 #endif
16794 /* We use char because int might match the return type of a gcc2
16795 builtin and then its argument prototype would still apply. */
16796 char $ac_func ();
16797 /* The GNU C library defines this for functions which it implements
16798 to always fail with ENOSYS. Some functions are actually named
16799 something starting with __ and the normal name is an alias. */
16800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16801 choke me
16802 #else
16803 char (*f) () = $ac_func;
16804 #endif
16805 #ifdef __cplusplus
16807 #endif
16810 main ()
16812 return f != $ac_func;
16814 return 0;
16816 _ACEOF
16817 rm -f conftest.$ac_objext conftest$ac_exeext
16818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16819 (eval $ac_link) 2>conftest.er1
16820 ac_status=$?
16821 grep -v '^ *+' conftest.er1 >conftest.err
16822 rm -f conftest.er1
16823 cat conftest.err >&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); } &&
16826 { ac_try='test -z "$ac_c_werror_flag"
16827 || test ! -s conftest.err'
16828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16829 (eval $ac_try) 2>&5
16830 ac_status=$?
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; } &&
16833 { ac_try='test -s conftest$ac_exeext'
16834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16835 (eval $ac_try) 2>&5
16836 ac_status=$?
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }; }; then
16839 eval "$as_ac_var=yes"
16840 else
16841 echo "$as_me: failed program was:" >&5
16842 sed 's/^/| /' conftest.$ac_ext >&5
16844 eval "$as_ac_var=no"
16846 rm -f conftest.err conftest.$ac_objext \
16847 conftest$ac_exeext conftest.$ac_ext
16849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16851 if test `eval echo '${'$as_ac_var'}'` = yes; then
16852 cat >>confdefs.h <<_ACEOF
16853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16854 _ACEOF
16857 done
16859 else
16861 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16862 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16863 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16864 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16866 else
16870 ac_ext=cc
16871 ac_cpp='$CXXCPP $CPPFLAGS'
16872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16876 cat >conftest.$ac_ext <<_ACEOF
16877 /* confdefs.h. */
16878 _ACEOF
16879 cat confdefs.h >>conftest.$ac_ext
16880 cat >>conftest.$ac_ext <<_ACEOF
16881 /* end confdefs.h. */
16882 #include <math.h>
16884 main ()
16886 _modf(0, 0);
16888 return 0;
16890 _ACEOF
16891 rm -f conftest.$ac_objext
16892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16893 (eval $ac_compile) 2>conftest.er1
16894 ac_status=$?
16895 grep -v '^ *+' conftest.er1 >conftest.err
16896 rm -f conftest.er1
16897 cat conftest.err >&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } &&
16900 { ac_try='test -z "$ac_cxx_werror_flag"
16901 || test ! -s conftest.err'
16902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16903 (eval $ac_try) 2>&5
16904 ac_status=$?
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); }; } &&
16907 { ac_try='test -s conftest.$ac_objext'
16908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16909 (eval $ac_try) 2>&5
16910 ac_status=$?
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); }; }; then
16913 glibcxx_cv_func__modf_use=yes
16914 else
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.$ac_ext >&5
16918 glibcxx_cv_func__modf_use=no
16920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16921 ac_ext=c
16922 ac_cpp='$CPP $CPPFLAGS'
16923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16931 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16932 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16934 if test x$glibcxx_cv_func__modf_use = x"yes"; then
16936 for ac_func in _modf
16938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16939 echo "$as_me:$LINENO: checking for $ac_func" >&5
16940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16941 if eval "test \"\${$as_ac_var+set}\" = set"; then
16942 echo $ECHO_N "(cached) $ECHO_C" >&6
16943 else
16944 if test x$gcc_no_link = xyes; then
16945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16947 { (exit 1); exit 1; }; }
16949 cat >conftest.$ac_ext <<_ACEOF
16950 /* confdefs.h. */
16951 _ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16957 #define $ac_func innocuous_$ac_func
16959 /* System header to define __stub macros and hopefully few prototypes,
16960 which can conflict with char $ac_func (); below.
16961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16962 <limits.h> exists even on freestanding compilers. */
16964 #ifdef __STDC__
16965 # include <limits.h>
16966 #else
16967 # include <assert.h>
16968 #endif
16970 #undef $ac_func
16972 /* Override any gcc2 internal prototype to avoid an error. */
16973 #ifdef __cplusplus
16974 extern "C"
16976 #endif
16977 /* We use char because int might match the return type of a gcc2
16978 builtin and then its argument prototype would still apply. */
16979 char $ac_func ();
16980 /* The GNU C library defines this for functions which it implements
16981 to always fail with ENOSYS. Some functions are actually named
16982 something starting with __ and the normal name is an alias. */
16983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16984 choke me
16985 #else
16986 char (*f) () = $ac_func;
16987 #endif
16988 #ifdef __cplusplus
16990 #endif
16993 main ()
16995 return f != $ac_func;
16997 return 0;
16999 _ACEOF
17000 rm -f conftest.$ac_objext conftest$ac_exeext
17001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17002 (eval $ac_link) 2>conftest.er1
17003 ac_status=$?
17004 grep -v '^ *+' conftest.er1 >conftest.err
17005 rm -f conftest.er1
17006 cat conftest.err >&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); } &&
17009 { ac_try='test -z "$ac_c_werror_flag"
17010 || test ! -s conftest.err'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17013 ac_status=$?
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; } &&
17016 { ac_try='test -s conftest$ac_exeext'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17019 ac_status=$?
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; }; then
17022 eval "$as_ac_var=yes"
17023 else
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17027 eval "$as_ac_var=no"
17029 rm -f conftest.err conftest.$ac_objext \
17030 conftest$ac_exeext conftest.$ac_ext
17032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17034 if test `eval echo '${'$as_ac_var'}'` = yes; then
17035 cat >>confdefs.h <<_ACEOF
17036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17037 _ACEOF
17040 done
17050 echo "$as_me:$LINENO: checking for powf declaration" >&5
17051 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17052 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17053 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17055 else
17059 ac_ext=cc
17060 ac_cpp='$CXXCPP $CPPFLAGS'
17061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17065 cat >conftest.$ac_ext <<_ACEOF
17066 /* confdefs.h. */
17067 _ACEOF
17068 cat confdefs.h >>conftest.$ac_ext
17069 cat >>conftest.$ac_ext <<_ACEOF
17070 /* end confdefs.h. */
17071 #include <math.h>
17073 main ()
17075 powf(0, 0);
17077 return 0;
17079 _ACEOF
17080 rm -f conftest.$ac_objext
17081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17082 (eval $ac_compile) 2>conftest.er1
17083 ac_status=$?
17084 grep -v '^ *+' conftest.er1 >conftest.err
17085 rm -f conftest.er1
17086 cat conftest.err >&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } &&
17089 { ac_try='test -z "$ac_cxx_werror_flag"
17090 || test ! -s conftest.err'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17093 ac_status=$?
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; } &&
17096 { ac_try='test -s conftest.$ac_objext'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17099 ac_status=$?
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; }; then
17102 glibcxx_cv_func_powf_use=yes
17103 else
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.$ac_ext >&5
17107 glibcxx_cv_func_powf_use=no
17109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17110 ac_ext=c
17111 ac_cpp='$CPP $CPPFLAGS'
17112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17121 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17123 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17125 for ac_func in powf
17127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17128 echo "$as_me:$LINENO: checking for $ac_func" >&5
17129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17130 if eval "test \"\${$as_ac_var+set}\" = set"; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17132 else
17133 if test x$gcc_no_link = xyes; then
17134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17136 { (exit 1); exit 1; }; }
17138 cat >conftest.$ac_ext <<_ACEOF
17139 /* confdefs.h. */
17140 _ACEOF
17141 cat confdefs.h >>conftest.$ac_ext
17142 cat >>conftest.$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17146 #define $ac_func innocuous_$ac_func
17148 /* System header to define __stub macros and hopefully few prototypes,
17149 which can conflict with char $ac_func (); below.
17150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17151 <limits.h> exists even on freestanding compilers. */
17153 #ifdef __STDC__
17154 # include <limits.h>
17155 #else
17156 # include <assert.h>
17157 #endif
17159 #undef $ac_func
17161 /* Override any gcc2 internal prototype to avoid an error. */
17162 #ifdef __cplusplus
17163 extern "C"
17165 #endif
17166 /* We use char because int might match the return type of a gcc2
17167 builtin and then its argument prototype would still apply. */
17168 char $ac_func ();
17169 /* The GNU C library defines this for functions which it implements
17170 to always fail with ENOSYS. Some functions are actually named
17171 something starting with __ and the normal name is an alias. */
17172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17173 choke me
17174 #else
17175 char (*f) () = $ac_func;
17176 #endif
17177 #ifdef __cplusplus
17179 #endif
17182 main ()
17184 return f != $ac_func;
17186 return 0;
17188 _ACEOF
17189 rm -f conftest.$ac_objext conftest$ac_exeext
17190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17191 (eval $ac_link) 2>conftest.er1
17192 ac_status=$?
17193 grep -v '^ *+' conftest.er1 >conftest.err
17194 rm -f conftest.er1
17195 cat conftest.err >&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); } &&
17198 { ac_try='test -z "$ac_c_werror_flag"
17199 || test ! -s conftest.err'
17200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17201 (eval $ac_try) 2>&5
17202 ac_status=$?
17203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 (exit $ac_status); }; } &&
17205 { ac_try='test -s conftest$ac_exeext'
17206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17207 (eval $ac_try) 2>&5
17208 ac_status=$?
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); }; }; then
17211 eval "$as_ac_var=yes"
17212 else
17213 echo "$as_me: failed program was:" >&5
17214 sed 's/^/| /' conftest.$ac_ext >&5
17216 eval "$as_ac_var=no"
17218 rm -f conftest.err conftest.$ac_objext \
17219 conftest$ac_exeext conftest.$ac_ext
17221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17223 if test `eval echo '${'$as_ac_var'}'` = yes; then
17224 cat >>confdefs.h <<_ACEOF
17225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17226 _ACEOF
17229 done
17231 else
17233 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17234 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17235 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17236 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17238 else
17242 ac_ext=cc
17243 ac_cpp='$CXXCPP $CPPFLAGS'
17244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17248 cat >conftest.$ac_ext <<_ACEOF
17249 /* confdefs.h. */
17250 _ACEOF
17251 cat confdefs.h >>conftest.$ac_ext
17252 cat >>conftest.$ac_ext <<_ACEOF
17253 /* end confdefs.h. */
17254 #include <math.h>
17256 main ()
17258 _powf(0, 0);
17260 return 0;
17262 _ACEOF
17263 rm -f conftest.$ac_objext
17264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17265 (eval $ac_compile) 2>conftest.er1
17266 ac_status=$?
17267 grep -v '^ *+' conftest.er1 >conftest.err
17268 rm -f conftest.er1
17269 cat conftest.err >&5
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); } &&
17272 { ac_try='test -z "$ac_cxx_werror_flag"
17273 || test ! -s conftest.err'
17274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17275 (eval $ac_try) 2>&5
17276 ac_status=$?
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); }; } &&
17279 { ac_try='test -s conftest.$ac_objext'
17280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17281 (eval $ac_try) 2>&5
17282 ac_status=$?
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284 (exit $ac_status); }; }; then
17285 glibcxx_cv_func__powf_use=yes
17286 else
17287 echo "$as_me: failed program was:" >&5
17288 sed 's/^/| /' conftest.$ac_ext >&5
17290 glibcxx_cv_func__powf_use=no
17292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17293 ac_ext=c
17294 ac_cpp='$CPP $CPPFLAGS'
17295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17304 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17306 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17308 for ac_func in _powf
17310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17311 echo "$as_me:$LINENO: checking for $ac_func" >&5
17312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17313 if eval "test \"\${$as_ac_var+set}\" = set"; then
17314 echo $ECHO_N "(cached) $ECHO_C" >&6
17315 else
17316 if test x$gcc_no_link = xyes; then
17317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17319 { (exit 1); exit 1; }; }
17321 cat >conftest.$ac_ext <<_ACEOF
17322 /* confdefs.h. */
17323 _ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17329 #define $ac_func innocuous_$ac_func
17331 /* System header to define __stub macros and hopefully few prototypes,
17332 which can conflict with char $ac_func (); below.
17333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17334 <limits.h> exists even on freestanding compilers. */
17336 #ifdef __STDC__
17337 # include <limits.h>
17338 #else
17339 # include <assert.h>
17340 #endif
17342 #undef $ac_func
17344 /* Override any gcc2 internal prototype to avoid an error. */
17345 #ifdef __cplusplus
17346 extern "C"
17348 #endif
17349 /* We use char because int might match the return type of a gcc2
17350 builtin and then its argument prototype would still apply. */
17351 char $ac_func ();
17352 /* The GNU C library defines this for functions which it implements
17353 to always fail with ENOSYS. Some functions are actually named
17354 something starting with __ and the normal name is an alias. */
17355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17356 choke me
17357 #else
17358 char (*f) () = $ac_func;
17359 #endif
17360 #ifdef __cplusplus
17362 #endif
17365 main ()
17367 return f != $ac_func;
17369 return 0;
17371 _ACEOF
17372 rm -f conftest.$ac_objext conftest$ac_exeext
17373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17374 (eval $ac_link) 2>conftest.er1
17375 ac_status=$?
17376 grep -v '^ *+' conftest.er1 >conftest.err
17377 rm -f conftest.er1
17378 cat conftest.err >&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); } &&
17381 { ac_try='test -z "$ac_c_werror_flag"
17382 || test ! -s conftest.err'
17383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17384 (eval $ac_try) 2>&5
17385 ac_status=$?
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); }; } &&
17388 { ac_try='test -s conftest$ac_exeext'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17391 ac_status=$?
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; }; then
17394 eval "$as_ac_var=yes"
17395 else
17396 echo "$as_me: failed program was:" >&5
17397 sed 's/^/| /' conftest.$ac_ext >&5
17399 eval "$as_ac_var=no"
17401 rm -f conftest.err conftest.$ac_objext \
17402 conftest$ac_exeext conftest.$ac_ext
17404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17406 if test `eval echo '${'$as_ac_var'}'` = yes; then
17407 cat >>confdefs.h <<_ACEOF
17408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17409 _ACEOF
17412 done
17422 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17423 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17424 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17425 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 else
17431 ac_ext=cc
17432 ac_cpp='$CXXCPP $CPPFLAGS'
17433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17437 cat >conftest.$ac_ext <<_ACEOF
17438 /* confdefs.h. */
17439 _ACEOF
17440 cat confdefs.h >>conftest.$ac_ext
17441 cat >>conftest.$ac_ext <<_ACEOF
17442 /* end confdefs.h. */
17443 #include <math.h>
17444 #ifdef HAVE_IEEEFP_H
17445 #include <ieeefp.h>
17446 #endif
17449 main ()
17451 sqrtf(0);
17453 return 0;
17455 _ACEOF
17456 rm -f conftest.$ac_objext
17457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17458 (eval $ac_compile) 2>conftest.er1
17459 ac_status=$?
17460 grep -v '^ *+' conftest.er1 >conftest.err
17461 rm -f conftest.er1
17462 cat conftest.err >&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); } &&
17465 { ac_try='test -z "$ac_cxx_werror_flag"
17466 || test ! -s conftest.err'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17469 ac_status=$?
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; } &&
17472 { ac_try='test -s conftest.$ac_objext'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17475 ac_status=$?
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; }; then
17478 glibcxx_cv_func_sqrtf_use=yes
17479 else
17480 echo "$as_me: failed program was:" >&5
17481 sed 's/^/| /' conftest.$ac_ext >&5
17483 glibcxx_cv_func_sqrtf_use=no
17485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17486 ac_ext=c
17487 ac_cpp='$CPP $CPPFLAGS'
17488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17496 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17497 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17499 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17501 for ac_func in sqrtf
17503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17504 echo "$as_me:$LINENO: checking for $ac_func" >&5
17505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17506 if eval "test \"\${$as_ac_var+set}\" = set"; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17508 else
17509 if test x$gcc_no_link = xyes; then
17510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17512 { (exit 1); exit 1; }; }
17514 cat >conftest.$ac_ext <<_ACEOF
17515 /* confdefs.h. */
17516 _ACEOF
17517 cat confdefs.h >>conftest.$ac_ext
17518 cat >>conftest.$ac_ext <<_ACEOF
17519 /* end confdefs.h. */
17520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17522 #define $ac_func innocuous_$ac_func
17524 /* System header to define __stub macros and hopefully few prototypes,
17525 which can conflict with char $ac_func (); below.
17526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17527 <limits.h> exists even on freestanding compilers. */
17529 #ifdef __STDC__
17530 # include <limits.h>
17531 #else
17532 # include <assert.h>
17533 #endif
17535 #undef $ac_func
17537 /* Override any gcc2 internal prototype to avoid an error. */
17538 #ifdef __cplusplus
17539 extern "C"
17541 #endif
17542 /* We use char because int might match the return type of a gcc2
17543 builtin and then its argument prototype would still apply. */
17544 char $ac_func ();
17545 /* The GNU C library defines this for functions which it implements
17546 to always fail with ENOSYS. Some functions are actually named
17547 something starting with __ and the normal name is an alias. */
17548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17549 choke me
17550 #else
17551 char (*f) () = $ac_func;
17552 #endif
17553 #ifdef __cplusplus
17555 #endif
17558 main ()
17560 return f != $ac_func;
17562 return 0;
17564 _ACEOF
17565 rm -f conftest.$ac_objext conftest$ac_exeext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17567 (eval $ac_link) 2>conftest.er1
17568 ac_status=$?
17569 grep -v '^ *+' conftest.er1 >conftest.err
17570 rm -f conftest.er1
17571 cat conftest.err >&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try='test -z "$ac_c_werror_flag"
17575 || test ! -s conftest.err'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17578 ac_status=$?
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; } &&
17581 { ac_try='test -s conftest$ac_exeext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17584 ac_status=$?
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 eval "$as_ac_var=yes"
17588 else
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.$ac_ext >&5
17592 eval "$as_ac_var=no"
17594 rm -f conftest.err conftest.$ac_objext \
17595 conftest$ac_exeext conftest.$ac_ext
17597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17599 if test `eval echo '${'$as_ac_var'}'` = yes; then
17600 cat >>confdefs.h <<_ACEOF
17601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17602 _ACEOF
17605 done
17607 else
17609 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17610 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17611 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17612 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17613 echo $ECHO_N "(cached) $ECHO_C" >&6
17614 else
17618 ac_ext=cc
17619 ac_cpp='$CXXCPP $CPPFLAGS'
17620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17624 cat >conftest.$ac_ext <<_ACEOF
17625 /* confdefs.h. */
17626 _ACEOF
17627 cat confdefs.h >>conftest.$ac_ext
17628 cat >>conftest.$ac_ext <<_ACEOF
17629 /* end confdefs.h. */
17630 #include <math.h>
17631 #ifdef HAVE_IEEEFP_H
17632 #include <ieeefp.h>
17633 #endif
17636 main ()
17638 _sqrtf(0);
17640 return 0;
17642 _ACEOF
17643 rm -f conftest.$ac_objext
17644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17645 (eval $ac_compile) 2>conftest.er1
17646 ac_status=$?
17647 grep -v '^ *+' conftest.er1 >conftest.err
17648 rm -f conftest.er1
17649 cat conftest.err >&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try='test -z "$ac_cxx_werror_flag"
17653 || test ! -s conftest.err'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17656 ac_status=$?
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; } &&
17659 { ac_try='test -s conftest.$ac_objext'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17662 ac_status=$?
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; }; then
17665 glibcxx_cv_func__sqrtf_use=yes
17666 else
17667 echo "$as_me: failed program was:" >&5
17668 sed 's/^/| /' conftest.$ac_ext >&5
17670 glibcxx_cv_func__sqrtf_use=no
17672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17673 ac_ext=c
17674 ac_cpp='$CPP $CPPFLAGS'
17675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17683 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17684 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17686 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17688 for ac_func in _sqrtf
17690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17691 echo "$as_me:$LINENO: checking for $ac_func" >&5
17692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17693 if eval "test \"\${$as_ac_var+set}\" = set"; then
17694 echo $ECHO_N "(cached) $ECHO_C" >&6
17695 else
17696 if test x$gcc_no_link = xyes; then
17697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17699 { (exit 1); exit 1; }; }
17701 cat >conftest.$ac_ext <<_ACEOF
17702 /* confdefs.h. */
17703 _ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17709 #define $ac_func innocuous_$ac_func
17711 /* System header to define __stub macros and hopefully few prototypes,
17712 which can conflict with char $ac_func (); below.
17713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17714 <limits.h> exists even on freestanding compilers. */
17716 #ifdef __STDC__
17717 # include <limits.h>
17718 #else
17719 # include <assert.h>
17720 #endif
17722 #undef $ac_func
17724 /* Override any gcc2 internal prototype to avoid an error. */
17725 #ifdef __cplusplus
17726 extern "C"
17728 #endif
17729 /* We use char because int might match the return type of a gcc2
17730 builtin and then its argument prototype would still apply. */
17731 char $ac_func ();
17732 /* The GNU C library defines this for functions which it implements
17733 to always fail with ENOSYS. Some functions are actually named
17734 something starting with __ and the normal name is an alias. */
17735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17736 choke me
17737 #else
17738 char (*f) () = $ac_func;
17739 #endif
17740 #ifdef __cplusplus
17742 #endif
17745 main ()
17747 return f != $ac_func;
17749 return 0;
17751 _ACEOF
17752 rm -f conftest.$ac_objext conftest$ac_exeext
17753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17754 (eval $ac_link) 2>conftest.er1
17755 ac_status=$?
17756 grep -v '^ *+' conftest.er1 >conftest.err
17757 rm -f conftest.er1
17758 cat conftest.err >&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } &&
17761 { ac_try='test -z "$ac_c_werror_flag"
17762 || test ! -s conftest.err'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17765 ac_status=$?
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; } &&
17768 { ac_try='test -s conftest$ac_exeext'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17771 ac_status=$?
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; }; then
17774 eval "$as_ac_var=yes"
17775 else
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.$ac_ext >&5
17779 eval "$as_ac_var=no"
17781 rm -f conftest.err conftest.$ac_objext \
17782 conftest$ac_exeext conftest.$ac_ext
17784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17786 if test `eval echo '${'$as_ac_var'}'` = yes; then
17787 cat >>confdefs.h <<_ACEOF
17788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17789 _ACEOF
17792 done
17802 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17803 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17804 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17805 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17806 echo $ECHO_N "(cached) $ECHO_C" >&6
17807 else
17811 ac_ext=cc
17812 ac_cpp='$CXXCPP $CPPFLAGS'
17813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17817 cat >conftest.$ac_ext <<_ACEOF
17818 /* confdefs.h. */
17819 _ACEOF
17820 cat confdefs.h >>conftest.$ac_ext
17821 cat >>conftest.$ac_ext <<_ACEOF
17822 /* end confdefs.h. */
17823 #include <math.h>
17825 main ()
17827 sincosf(0, 0, 0);
17829 return 0;
17831 _ACEOF
17832 rm -f conftest.$ac_objext
17833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17834 (eval $ac_compile) 2>conftest.er1
17835 ac_status=$?
17836 grep -v '^ *+' conftest.er1 >conftest.err
17837 rm -f conftest.er1
17838 cat conftest.err >&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } &&
17841 { ac_try='test -z "$ac_cxx_werror_flag"
17842 || test ! -s conftest.err'
17843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17844 (eval $ac_try) 2>&5
17845 ac_status=$?
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; } &&
17848 { ac_try='test -s conftest.$ac_objext'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17851 ac_status=$?
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; }; then
17854 glibcxx_cv_func_sincosf_use=yes
17855 else
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17859 glibcxx_cv_func_sincosf_use=no
17861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17862 ac_ext=c
17863 ac_cpp='$CPP $CPPFLAGS'
17864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17872 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17873 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17875 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17877 for ac_func in sincosf
17879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17880 echo "$as_me:$LINENO: checking for $ac_func" >&5
17881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17882 if eval "test \"\${$as_ac_var+set}\" = set"; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17884 else
17885 if test x$gcc_no_link = xyes; then
17886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17888 { (exit 1); exit 1; }; }
17890 cat >conftest.$ac_ext <<_ACEOF
17891 /* confdefs.h. */
17892 _ACEOF
17893 cat confdefs.h >>conftest.$ac_ext
17894 cat >>conftest.$ac_ext <<_ACEOF
17895 /* end confdefs.h. */
17896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17898 #define $ac_func innocuous_$ac_func
17900 /* System header to define __stub macros and hopefully few prototypes,
17901 which can conflict with char $ac_func (); below.
17902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17903 <limits.h> exists even on freestanding compilers. */
17905 #ifdef __STDC__
17906 # include <limits.h>
17907 #else
17908 # include <assert.h>
17909 #endif
17911 #undef $ac_func
17913 /* Override any gcc2 internal prototype to avoid an error. */
17914 #ifdef __cplusplus
17915 extern "C"
17917 #endif
17918 /* We use char because int might match the return type of a gcc2
17919 builtin and then its argument prototype would still apply. */
17920 char $ac_func ();
17921 /* The GNU C library defines this for functions which it implements
17922 to always fail with ENOSYS. Some functions are actually named
17923 something starting with __ and the normal name is an alias. */
17924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17925 choke me
17926 #else
17927 char (*f) () = $ac_func;
17928 #endif
17929 #ifdef __cplusplus
17931 #endif
17934 main ()
17936 return f != $ac_func;
17938 return 0;
17940 _ACEOF
17941 rm -f conftest.$ac_objext conftest$ac_exeext
17942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17943 (eval $ac_link) 2>conftest.er1
17944 ac_status=$?
17945 grep -v '^ *+' conftest.er1 >conftest.err
17946 rm -f conftest.er1
17947 cat conftest.err >&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } &&
17950 { ac_try='test -z "$ac_c_werror_flag"
17951 || test ! -s conftest.err'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17954 ac_status=$?
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; } &&
17957 { ac_try='test -s conftest$ac_exeext'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17960 ac_status=$?
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); }; }; then
17963 eval "$as_ac_var=yes"
17964 else
17965 echo "$as_me: failed program was:" >&5
17966 sed 's/^/| /' conftest.$ac_ext >&5
17968 eval "$as_ac_var=no"
17970 rm -f conftest.err conftest.$ac_objext \
17971 conftest$ac_exeext conftest.$ac_ext
17973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17975 if test `eval echo '${'$as_ac_var'}'` = yes; then
17976 cat >>confdefs.h <<_ACEOF
17977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17978 _ACEOF
17981 done
17983 else
17985 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17986 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17987 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17988 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17989 echo $ECHO_N "(cached) $ECHO_C" >&6
17990 else
17994 ac_ext=cc
17995 ac_cpp='$CXXCPP $CPPFLAGS'
17996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18000 cat >conftest.$ac_ext <<_ACEOF
18001 /* confdefs.h. */
18002 _ACEOF
18003 cat confdefs.h >>conftest.$ac_ext
18004 cat >>conftest.$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 #include <math.h>
18008 main ()
18010 _sincosf(0, 0, 0);
18012 return 0;
18014 _ACEOF
18015 rm -f conftest.$ac_objext
18016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18017 (eval $ac_compile) 2>conftest.er1
18018 ac_status=$?
18019 grep -v '^ *+' conftest.er1 >conftest.err
18020 rm -f conftest.er1
18021 cat conftest.err >&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); } &&
18024 { ac_try='test -z "$ac_cxx_werror_flag"
18025 || test ! -s conftest.err'
18026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18027 (eval $ac_try) 2>&5
18028 ac_status=$?
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); }; } &&
18031 { ac_try='test -s conftest.$ac_objext'
18032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18033 (eval $ac_try) 2>&5
18034 ac_status=$?
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); }; }; then
18037 glibcxx_cv_func__sincosf_use=yes
18038 else
18039 echo "$as_me: failed program was:" >&5
18040 sed 's/^/| /' conftest.$ac_ext >&5
18042 glibcxx_cv_func__sincosf_use=no
18044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18045 ac_ext=c
18046 ac_cpp='$CPP $CPPFLAGS'
18047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18056 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18058 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18060 for ac_func in _sincosf
18062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18063 echo "$as_me:$LINENO: checking for $ac_func" >&5
18064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18065 if eval "test \"\${$as_ac_var+set}\" = set"; then
18066 echo $ECHO_N "(cached) $ECHO_C" >&6
18067 else
18068 if test x$gcc_no_link = xyes; then
18069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18071 { (exit 1); exit 1; }; }
18073 cat >conftest.$ac_ext <<_ACEOF
18074 /* confdefs.h. */
18075 _ACEOF
18076 cat confdefs.h >>conftest.$ac_ext
18077 cat >>conftest.$ac_ext <<_ACEOF
18078 /* end confdefs.h. */
18079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18081 #define $ac_func innocuous_$ac_func
18083 /* System header to define __stub macros and hopefully few prototypes,
18084 which can conflict with char $ac_func (); below.
18085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18086 <limits.h> exists even on freestanding compilers. */
18088 #ifdef __STDC__
18089 # include <limits.h>
18090 #else
18091 # include <assert.h>
18092 #endif
18094 #undef $ac_func
18096 /* Override any gcc2 internal prototype to avoid an error. */
18097 #ifdef __cplusplus
18098 extern "C"
18100 #endif
18101 /* We use char because int might match the return type of a gcc2
18102 builtin and then its argument prototype would still apply. */
18103 char $ac_func ();
18104 /* The GNU C library defines this for functions which it implements
18105 to always fail with ENOSYS. Some functions are actually named
18106 something starting with __ and the normal name is an alias. */
18107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18108 choke me
18109 #else
18110 char (*f) () = $ac_func;
18111 #endif
18112 #ifdef __cplusplus
18114 #endif
18117 main ()
18119 return f != $ac_func;
18121 return 0;
18123 _ACEOF
18124 rm -f conftest.$ac_objext conftest$ac_exeext
18125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18126 (eval $ac_link) 2>conftest.er1
18127 ac_status=$?
18128 grep -v '^ *+' conftest.er1 >conftest.err
18129 rm -f conftest.er1
18130 cat conftest.err >&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } &&
18133 { ac_try='test -z "$ac_c_werror_flag"
18134 || test ! -s conftest.err'
18135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18136 (eval $ac_try) 2>&5
18137 ac_status=$?
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); }; } &&
18140 { ac_try='test -s conftest$ac_exeext'
18141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18142 (eval $ac_try) 2>&5
18143 ac_status=$?
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); }; }; then
18146 eval "$as_ac_var=yes"
18147 else
18148 echo "$as_me: failed program was:" >&5
18149 sed 's/^/| /' conftest.$ac_ext >&5
18151 eval "$as_ac_var=no"
18153 rm -f conftest.err conftest.$ac_objext \
18154 conftest$ac_exeext conftest.$ac_ext
18156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18158 if test `eval echo '${'$as_ac_var'}'` = yes; then
18159 cat >>confdefs.h <<_ACEOF
18160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18161 _ACEOF
18164 done
18174 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18175 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18176 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18177 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18178 echo $ECHO_N "(cached) $ECHO_C" >&6
18179 else
18183 ac_ext=cc
18184 ac_cpp='$CXXCPP $CPPFLAGS'
18185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18189 cat >conftest.$ac_ext <<_ACEOF
18190 /* confdefs.h. */
18191 _ACEOF
18192 cat confdefs.h >>conftest.$ac_ext
18193 cat >>conftest.$ac_ext <<_ACEOF
18194 /* end confdefs.h. */
18195 #include <math.h>
18196 #ifdef HAVE_IEEEFP_H
18197 #include <ieeefp.h>
18198 #endif
18201 main ()
18203 finitef(0);
18205 return 0;
18207 _ACEOF
18208 rm -f conftest.$ac_objext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18210 (eval $ac_compile) 2>conftest.er1
18211 ac_status=$?
18212 grep -v '^ *+' conftest.er1 >conftest.err
18213 rm -f conftest.er1
18214 cat conftest.err >&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } &&
18217 { ac_try='test -z "$ac_cxx_werror_flag"
18218 || test ! -s conftest.err'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; } &&
18224 { ac_try='test -s conftest.$ac_objext'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18227 ac_status=$?
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; }; then
18230 glibcxx_cv_func_finitef_use=yes
18231 else
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18235 glibcxx_cv_func_finitef_use=no
18237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18238 ac_ext=c
18239 ac_cpp='$CPP $CPPFLAGS'
18240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18248 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18249 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18251 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18253 for ac_func in finitef
18255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18256 echo "$as_me:$LINENO: checking for $ac_func" >&5
18257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18258 if eval "test \"\${$as_ac_var+set}\" = set"; then
18259 echo $ECHO_N "(cached) $ECHO_C" >&6
18260 else
18261 if test x$gcc_no_link = xyes; then
18262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18264 { (exit 1); exit 1; }; }
18266 cat >conftest.$ac_ext <<_ACEOF
18267 /* confdefs.h. */
18268 _ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18274 #define $ac_func innocuous_$ac_func
18276 /* System header to define __stub macros and hopefully few prototypes,
18277 which can conflict with char $ac_func (); below.
18278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18279 <limits.h> exists even on freestanding compilers. */
18281 #ifdef __STDC__
18282 # include <limits.h>
18283 #else
18284 # include <assert.h>
18285 #endif
18287 #undef $ac_func
18289 /* Override any gcc2 internal prototype to avoid an error. */
18290 #ifdef __cplusplus
18291 extern "C"
18293 #endif
18294 /* We use char because int might match the return type of a gcc2
18295 builtin and then its argument prototype would still apply. */
18296 char $ac_func ();
18297 /* The GNU C library defines this for functions which it implements
18298 to always fail with ENOSYS. Some functions are actually named
18299 something starting with __ and the normal name is an alias. */
18300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18301 choke me
18302 #else
18303 char (*f) () = $ac_func;
18304 #endif
18305 #ifdef __cplusplus
18307 #endif
18310 main ()
18312 return f != $ac_func;
18314 return 0;
18316 _ACEOF
18317 rm -f conftest.$ac_objext conftest$ac_exeext
18318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18319 (eval $ac_link) 2>conftest.er1
18320 ac_status=$?
18321 grep -v '^ *+' conftest.er1 >conftest.err
18322 rm -f conftest.er1
18323 cat conftest.err >&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); } &&
18326 { ac_try='test -z "$ac_c_werror_flag"
18327 || test ! -s conftest.err'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18330 ac_status=$?
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; } &&
18333 { ac_try='test -s conftest$ac_exeext'
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335 (eval $ac_try) 2>&5
18336 ac_status=$?
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; }; then
18339 eval "$as_ac_var=yes"
18340 else
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18344 eval "$as_ac_var=no"
18346 rm -f conftest.err conftest.$ac_objext \
18347 conftest$ac_exeext conftest.$ac_ext
18349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18351 if test `eval echo '${'$as_ac_var'}'` = yes; then
18352 cat >>confdefs.h <<_ACEOF
18353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18354 _ACEOF
18357 done
18359 else
18361 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18362 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18363 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18364 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18365 echo $ECHO_N "(cached) $ECHO_C" >&6
18366 else
18370 ac_ext=cc
18371 ac_cpp='$CXXCPP $CPPFLAGS'
18372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18376 cat >conftest.$ac_ext <<_ACEOF
18377 /* confdefs.h. */
18378 _ACEOF
18379 cat confdefs.h >>conftest.$ac_ext
18380 cat >>conftest.$ac_ext <<_ACEOF
18381 /* end confdefs.h. */
18382 #include <math.h>
18383 #ifdef HAVE_IEEEFP_H
18384 #include <ieeefp.h>
18385 #endif
18388 main ()
18390 _finitef(0);
18392 return 0;
18394 _ACEOF
18395 rm -f conftest.$ac_objext
18396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18397 (eval $ac_compile) 2>conftest.er1
18398 ac_status=$?
18399 grep -v '^ *+' conftest.er1 >conftest.err
18400 rm -f conftest.er1
18401 cat conftest.err >&5
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); } &&
18404 { ac_try='test -z "$ac_cxx_werror_flag"
18405 || test ! -s conftest.err'
18406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18407 (eval $ac_try) 2>&5
18408 ac_status=$?
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); }; } &&
18411 { ac_try='test -s conftest.$ac_objext'
18412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18413 (eval $ac_try) 2>&5
18414 ac_status=$?
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); }; }; then
18417 glibcxx_cv_func__finitef_use=yes
18418 else
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18422 glibcxx_cv_func__finitef_use=no
18424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18425 ac_ext=c
18426 ac_cpp='$CPP $CPPFLAGS'
18427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18435 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18436 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18438 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18440 for ac_func in _finitef
18442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18443 echo "$as_me:$LINENO: checking for $ac_func" >&5
18444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18445 if eval "test \"\${$as_ac_var+set}\" = set"; then
18446 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 else
18448 if test x$gcc_no_link = xyes; then
18449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18451 { (exit 1); exit 1; }; }
18453 cat >conftest.$ac_ext <<_ACEOF
18454 /* confdefs.h. */
18455 _ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18461 #define $ac_func innocuous_$ac_func
18463 /* System header to define __stub macros and hopefully few prototypes,
18464 which can conflict with char $ac_func (); below.
18465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18466 <limits.h> exists even on freestanding compilers. */
18468 #ifdef __STDC__
18469 # include <limits.h>
18470 #else
18471 # include <assert.h>
18472 #endif
18474 #undef $ac_func
18476 /* Override any gcc2 internal prototype to avoid an error. */
18477 #ifdef __cplusplus
18478 extern "C"
18480 #endif
18481 /* We use char because int might match the return type of a gcc2
18482 builtin and then its argument prototype would still apply. */
18483 char $ac_func ();
18484 /* The GNU C library defines this for functions which it implements
18485 to always fail with ENOSYS. Some functions are actually named
18486 something starting with __ and the normal name is an alias. */
18487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18488 choke me
18489 #else
18490 char (*f) () = $ac_func;
18491 #endif
18492 #ifdef __cplusplus
18494 #endif
18497 main ()
18499 return f != $ac_func;
18501 return 0;
18503 _ACEOF
18504 rm -f conftest.$ac_objext conftest$ac_exeext
18505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18506 (eval $ac_link) 2>conftest.er1
18507 ac_status=$?
18508 grep -v '^ *+' conftest.er1 >conftest.err
18509 rm -f conftest.er1
18510 cat conftest.err >&5
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); } &&
18513 { ac_try='test -z "$ac_c_werror_flag"
18514 || test ! -s conftest.err'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18517 ac_status=$?
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; } &&
18520 { ac_try='test -s conftest$ac_exeext'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18523 ac_status=$?
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; }; then
18526 eval "$as_ac_var=yes"
18527 else
18528 echo "$as_me: failed program was:" >&5
18529 sed 's/^/| /' conftest.$ac_ext >&5
18531 eval "$as_ac_var=no"
18533 rm -f conftest.err conftest.$ac_objext \
18534 conftest$ac_exeext conftest.$ac_ext
18536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18538 if test `eval echo '${'$as_ac_var'}'` = yes; then
18539 cat >>confdefs.h <<_ACEOF
18540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18541 _ACEOF
18544 done
18554 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18555 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18556 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18557 echo $ECHO_N "(cached) $ECHO_C" >&6
18558 else
18562 ac_ext=cc
18563 ac_cpp='$CXXCPP $CPPFLAGS'
18564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18568 cat >conftest.$ac_ext <<_ACEOF
18569 /* confdefs.h. */
18570 _ACEOF
18571 cat confdefs.h >>conftest.$ac_ext
18572 cat >>conftest.$ac_ext <<_ACEOF
18573 /* end confdefs.h. */
18574 #include <math.h>
18576 main ()
18578 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18580 return 0;
18582 _ACEOF
18583 rm -f conftest.$ac_objext
18584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18585 (eval $ac_compile) 2>conftest.er1
18586 ac_status=$?
18587 grep -v '^ *+' conftest.er1 >conftest.err
18588 rm -f conftest.er1
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try='test -z "$ac_cxx_werror_flag"
18593 || test ! -s conftest.err'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18596 ac_status=$?
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try='test -s conftest.$ac_objext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18602 ac_status=$?
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18605 glibcxx_cv_func_long_double_trig_use=yes
18606 else
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18610 glibcxx_cv_func_long_double_trig_use=no
18612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18613 ac_ext=c
18614 ac_cpp='$CPP $CPPFLAGS'
18615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18622 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18623 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18633 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18636 echo "$as_me:$LINENO: checking for $ac_func" >&5
18637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18638 if eval "test \"\${$as_ac_var+set}\" = set"; then
18639 echo $ECHO_N "(cached) $ECHO_C" >&6
18640 else
18641 if test x$gcc_no_link = xyes; then
18642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18644 { (exit 1); exit 1; }; }
18646 cat >conftest.$ac_ext <<_ACEOF
18647 /* confdefs.h. */
18648 _ACEOF
18649 cat confdefs.h >>conftest.$ac_ext
18650 cat >>conftest.$ac_ext <<_ACEOF
18651 /* end confdefs.h. */
18652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18654 #define $ac_func innocuous_$ac_func
18656 /* System header to define __stub macros and hopefully few prototypes,
18657 which can conflict with char $ac_func (); below.
18658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18659 <limits.h> exists even on freestanding compilers. */
18661 #ifdef __STDC__
18662 # include <limits.h>
18663 #else
18664 # include <assert.h>
18665 #endif
18667 #undef $ac_func
18669 /* Override any gcc2 internal prototype to avoid an error. */
18670 #ifdef __cplusplus
18671 extern "C"
18673 #endif
18674 /* We use char because int might match the return type of a gcc2
18675 builtin and then its argument prototype would still apply. */
18676 char $ac_func ();
18677 /* The GNU C library defines this for functions which it implements
18678 to always fail with ENOSYS. Some functions are actually named
18679 something starting with __ and the normal name is an alias. */
18680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18681 choke me
18682 #else
18683 char (*f) () = $ac_func;
18684 #endif
18685 #ifdef __cplusplus
18687 #endif
18690 main ()
18692 return f != $ac_func;
18694 return 0;
18696 _ACEOF
18697 rm -f conftest.$ac_objext conftest$ac_exeext
18698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18699 (eval $ac_link) 2>conftest.er1
18700 ac_status=$?
18701 grep -v '^ *+' conftest.er1 >conftest.err
18702 rm -f conftest.er1
18703 cat conftest.err >&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); } &&
18706 { ac_try='test -z "$ac_c_werror_flag"
18707 || test ! -s conftest.err'
18708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18709 (eval $ac_try) 2>&5
18710 ac_status=$?
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; } &&
18713 { ac_try='test -s conftest$ac_exeext'
18714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18715 (eval $ac_try) 2>&5
18716 ac_status=$?
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); }; }; then
18719 eval "$as_ac_var=yes"
18720 else
18721 echo "$as_me: failed program was:" >&5
18722 sed 's/^/| /' conftest.$ac_ext >&5
18724 eval "$as_ac_var=no"
18726 rm -f conftest.err conftest.$ac_objext \
18727 conftest$ac_exeext conftest.$ac_ext
18729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18731 if test `eval echo '${'$as_ac_var'}'` = yes; then
18732 cat >>confdefs.h <<_ACEOF
18733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18734 _ACEOF
18737 done
18739 else
18740 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18741 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18742 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18744 else
18748 ac_ext=cc
18749 ac_cpp='$CXXCPP $CPPFLAGS'
18750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18754 cat >conftest.$ac_ext <<_ACEOF
18755 /* confdefs.h. */
18756 _ACEOF
18757 cat confdefs.h >>conftest.$ac_ext
18758 cat >>conftest.$ac_ext <<_ACEOF
18759 /* end confdefs.h. */
18760 #include <math.h>
18762 main ()
18764 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18766 return 0;
18768 _ACEOF
18769 rm -f conftest.$ac_objext
18770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18771 (eval $ac_compile) 2>conftest.er1
18772 ac_status=$?
18773 grep -v '^ *+' conftest.er1 >conftest.err
18774 rm -f conftest.er1
18775 cat conftest.err >&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } &&
18778 { ac_try='test -z "$ac_cxx_werror_flag"
18779 || test ! -s conftest.err'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18782 ac_status=$?
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; } &&
18785 { ac_try='test -s conftest.$ac_objext'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18788 ac_status=$?
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 glibcxx_cv_func__long_double_trig_use=yes
18792 else
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18796 glibcxx_cv_func__long_double_trig_use=no
18798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18799 ac_ext=c
18800 ac_cpp='$CPP $CPPFLAGS'
18801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18808 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18809 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18819 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18822 echo "$as_me:$LINENO: checking for $ac_func" >&5
18823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18824 if eval "test \"\${$as_ac_var+set}\" = set"; then
18825 echo $ECHO_N "(cached) $ECHO_C" >&6
18826 else
18827 if test x$gcc_no_link = xyes; then
18828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18830 { (exit 1); exit 1; }; }
18832 cat >conftest.$ac_ext <<_ACEOF
18833 /* confdefs.h. */
18834 _ACEOF
18835 cat confdefs.h >>conftest.$ac_ext
18836 cat >>conftest.$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18840 #define $ac_func innocuous_$ac_func
18842 /* System header to define __stub macros and hopefully few prototypes,
18843 which can conflict with char $ac_func (); below.
18844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18845 <limits.h> exists even on freestanding compilers. */
18847 #ifdef __STDC__
18848 # include <limits.h>
18849 #else
18850 # include <assert.h>
18851 #endif
18853 #undef $ac_func
18855 /* Override any gcc2 internal prototype to avoid an error. */
18856 #ifdef __cplusplus
18857 extern "C"
18859 #endif
18860 /* We use char because int might match the return type of a gcc2
18861 builtin and then its argument prototype would still apply. */
18862 char $ac_func ();
18863 /* The GNU C library defines this for functions which it implements
18864 to always fail with ENOSYS. Some functions are actually named
18865 something starting with __ and the normal name is an alias. */
18866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18867 choke me
18868 #else
18869 char (*f) () = $ac_func;
18870 #endif
18871 #ifdef __cplusplus
18873 #endif
18876 main ()
18878 return f != $ac_func;
18880 return 0;
18882 _ACEOF
18883 rm -f conftest.$ac_objext conftest$ac_exeext
18884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18885 (eval $ac_link) 2>conftest.er1
18886 ac_status=$?
18887 grep -v '^ *+' conftest.er1 >conftest.err
18888 rm -f conftest.er1
18889 cat conftest.err >&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } &&
18892 { ac_try='test -z "$ac_c_werror_flag"
18893 || test ! -s conftest.err'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18896 ac_status=$?
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; } &&
18899 { ac_try='test -s conftest$ac_exeext'
18900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18901 (eval $ac_try) 2>&5
18902 ac_status=$?
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); }; }; then
18905 eval "$as_ac_var=yes"
18906 else
18907 echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.$ac_ext >&5
18910 eval "$as_ac_var=no"
18912 rm -f conftest.err conftest.$ac_objext \
18913 conftest$ac_exeext conftest.$ac_ext
18915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18917 if test `eval echo '${'$as_ac_var'}'` = yes; then
18918 cat >>confdefs.h <<_ACEOF
18919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18920 _ACEOF
18923 done
18941 echo "$as_me:$LINENO: checking for long double round functions" >&5
18942 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18943 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 else
18949 ac_ext=cc
18950 ac_cpp='$CXXCPP $CPPFLAGS'
18951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18955 cat >conftest.$ac_ext <<_ACEOF
18956 /* confdefs.h. */
18957 _ACEOF
18958 cat confdefs.h >>conftest.$ac_ext
18959 cat >>conftest.$ac_ext <<_ACEOF
18960 /* end confdefs.h. */
18961 #include <math.h>
18963 main ()
18965 ceill (0); floorl (0);
18967 return 0;
18969 _ACEOF
18970 rm -f conftest.$ac_objext
18971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18972 (eval $ac_compile) 2>conftest.er1
18973 ac_status=$?
18974 grep -v '^ *+' conftest.er1 >conftest.err
18975 rm -f conftest.er1
18976 cat conftest.err >&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); } &&
18979 { ac_try='test -z "$ac_cxx_werror_flag"
18980 || test ! -s conftest.err'
18981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18982 (eval $ac_try) 2>&5
18983 ac_status=$?
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); }; } &&
18986 { ac_try='test -s conftest.$ac_objext'
18987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18988 (eval $ac_try) 2>&5
18989 ac_status=$?
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); }; }; then
18992 glibcxx_cv_func_long_double_round_use=yes
18993 else
18994 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.$ac_ext >&5
18997 glibcxx_cv_func_long_double_round_use=no
18999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19000 ac_ext=c
19001 ac_cpp='$CPP $CPPFLAGS'
19002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19009 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19010 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19013 for ac_func in ceill floorl
19015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19016 echo "$as_me:$LINENO: checking for $ac_func" >&5
19017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19018 if eval "test \"\${$as_ac_var+set}\" = set"; then
19019 echo $ECHO_N "(cached) $ECHO_C" >&6
19020 else
19021 if test x$gcc_no_link = xyes; then
19022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19024 { (exit 1); exit 1; }; }
19026 cat >conftest.$ac_ext <<_ACEOF
19027 /* confdefs.h. */
19028 _ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19034 #define $ac_func innocuous_$ac_func
19036 /* System header to define __stub macros and hopefully few prototypes,
19037 which can conflict with char $ac_func (); below.
19038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19039 <limits.h> exists even on freestanding compilers. */
19041 #ifdef __STDC__
19042 # include <limits.h>
19043 #else
19044 # include <assert.h>
19045 #endif
19047 #undef $ac_func
19049 /* Override any gcc2 internal prototype to avoid an error. */
19050 #ifdef __cplusplus
19051 extern "C"
19053 #endif
19054 /* We use char because int might match the return type of a gcc2
19055 builtin and then its argument prototype would still apply. */
19056 char $ac_func ();
19057 /* The GNU C library defines this for functions which it implements
19058 to always fail with ENOSYS. Some functions are actually named
19059 something starting with __ and the normal name is an alias. */
19060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19061 choke me
19062 #else
19063 char (*f) () = $ac_func;
19064 #endif
19065 #ifdef __cplusplus
19067 #endif
19070 main ()
19072 return f != $ac_func;
19074 return 0;
19076 _ACEOF
19077 rm -f conftest.$ac_objext conftest$ac_exeext
19078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19079 (eval $ac_link) 2>conftest.er1
19080 ac_status=$?
19081 grep -v '^ *+' conftest.er1 >conftest.err
19082 rm -f conftest.er1
19083 cat conftest.err >&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); } &&
19086 { ac_try='test -z "$ac_c_werror_flag"
19087 || test ! -s conftest.err'
19088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089 (eval $ac_try) 2>&5
19090 ac_status=$?
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }; } &&
19093 { ac_try='test -s conftest$ac_exeext'
19094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19095 (eval $ac_try) 2>&5
19096 ac_status=$?
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); }; }; then
19099 eval "$as_ac_var=yes"
19100 else
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.$ac_ext >&5
19104 eval "$as_ac_var=no"
19106 rm -f conftest.err conftest.$ac_objext \
19107 conftest$ac_exeext conftest.$ac_ext
19109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19111 if test `eval echo '${'$as_ac_var'}'` = yes; then
19112 cat >>confdefs.h <<_ACEOF
19113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19114 _ACEOF
19117 done
19119 else
19120 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19121 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19122 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19123 echo $ECHO_N "(cached) $ECHO_C" >&6
19124 else
19128 ac_ext=cc
19129 ac_cpp='$CXXCPP $CPPFLAGS'
19130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19134 cat >conftest.$ac_ext <<_ACEOF
19135 /* confdefs.h. */
19136 _ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 #include <math.h>
19142 main ()
19144 _ceill (0); _floorl (0);
19146 return 0;
19148 _ACEOF
19149 rm -f conftest.$ac_objext
19150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19151 (eval $ac_compile) 2>conftest.er1
19152 ac_status=$?
19153 grep -v '^ *+' conftest.er1 >conftest.err
19154 rm -f conftest.er1
19155 cat conftest.err >&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); } &&
19158 { ac_try='test -z "$ac_cxx_werror_flag"
19159 || test ! -s conftest.err'
19160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19161 (eval $ac_try) 2>&5
19162 ac_status=$?
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); }; } &&
19165 { ac_try='test -s conftest.$ac_objext'
19166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19167 (eval $ac_try) 2>&5
19168 ac_status=$?
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); }; }; then
19171 glibcxx_cv_func__long_double_round_use=yes
19172 else
19173 echo "$as_me: failed program was:" >&5
19174 sed 's/^/| /' conftest.$ac_ext >&5
19176 glibcxx_cv_func__long_double_round_use=no
19178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19179 ac_ext=c
19180 ac_cpp='$CPP $CPPFLAGS'
19181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19188 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19189 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19192 for ac_func in _ceill _floorl
19194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19195 echo "$as_me:$LINENO: checking for $ac_func" >&5
19196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19197 if eval "test \"\${$as_ac_var+set}\" = set"; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 else
19200 if test x$gcc_no_link = xyes; then
19201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19203 { (exit 1); exit 1; }; }
19205 cat >conftest.$ac_ext <<_ACEOF
19206 /* confdefs.h. */
19207 _ACEOF
19208 cat confdefs.h >>conftest.$ac_ext
19209 cat >>conftest.$ac_ext <<_ACEOF
19210 /* end confdefs.h. */
19211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19213 #define $ac_func innocuous_$ac_func
19215 /* System header to define __stub macros and hopefully few prototypes,
19216 which can conflict with char $ac_func (); below.
19217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19218 <limits.h> exists even on freestanding compilers. */
19220 #ifdef __STDC__
19221 # include <limits.h>
19222 #else
19223 # include <assert.h>
19224 #endif
19226 #undef $ac_func
19228 /* Override any gcc2 internal prototype to avoid an error. */
19229 #ifdef __cplusplus
19230 extern "C"
19232 #endif
19233 /* We use char because int might match the return type of a gcc2
19234 builtin and then its argument prototype would still apply. */
19235 char $ac_func ();
19236 /* The GNU C library defines this for functions which it implements
19237 to always fail with ENOSYS. Some functions are actually named
19238 something starting with __ and the normal name is an alias. */
19239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19240 choke me
19241 #else
19242 char (*f) () = $ac_func;
19243 #endif
19244 #ifdef __cplusplus
19246 #endif
19249 main ()
19251 return f != $ac_func;
19253 return 0;
19255 _ACEOF
19256 rm -f conftest.$ac_objext conftest$ac_exeext
19257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19258 (eval $ac_link) 2>conftest.er1
19259 ac_status=$?
19260 grep -v '^ *+' conftest.er1 >conftest.err
19261 rm -f conftest.er1
19262 cat conftest.err >&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } &&
19265 { ac_try='test -z "$ac_c_werror_flag"
19266 || test ! -s conftest.err'
19267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19268 (eval $ac_try) 2>&5
19269 ac_status=$?
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); }; } &&
19272 { ac_try='test -s conftest$ac_exeext'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19275 ac_status=$?
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19278 eval "$as_ac_var=yes"
19279 else
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19283 eval "$as_ac_var=no"
19285 rm -f conftest.err conftest.$ac_objext \
19286 conftest$ac_exeext conftest.$ac_ext
19288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19290 if test `eval echo '${'$as_ac_var'}'` = yes; then
19291 cat >>confdefs.h <<_ACEOF
19292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19293 _ACEOF
19296 done
19308 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19309 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19310 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19311 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19312 echo $ECHO_N "(cached) $ECHO_C" >&6
19313 else
19317 ac_ext=cc
19318 ac_cpp='$CXXCPP $CPPFLAGS'
19319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19323 cat >conftest.$ac_ext <<_ACEOF
19324 /* confdefs.h. */
19325 _ACEOF
19326 cat confdefs.h >>conftest.$ac_ext
19327 cat >>conftest.$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329 #include <math.h>
19330 #ifdef HAVE_IEEEFP_H
19331 #include <ieeefp.h>
19332 #endif
19335 main ()
19337 isnanl(0);
19339 return 0;
19341 _ACEOF
19342 rm -f conftest.$ac_objext
19343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19344 (eval $ac_compile) 2>conftest.er1
19345 ac_status=$?
19346 grep -v '^ *+' conftest.er1 >conftest.err
19347 rm -f conftest.er1
19348 cat conftest.err >&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); } &&
19351 { ac_try='test -z "$ac_cxx_werror_flag"
19352 || test ! -s conftest.err'
19353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19354 (eval $ac_try) 2>&5
19355 ac_status=$?
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); }; } &&
19358 { ac_try='test -s conftest.$ac_objext'
19359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360 (eval $ac_try) 2>&5
19361 ac_status=$?
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); }; }; then
19364 glibcxx_cv_func_isnanl_use=yes
19365 else
19366 echo "$as_me: failed program was:" >&5
19367 sed 's/^/| /' conftest.$ac_ext >&5
19369 glibcxx_cv_func_isnanl_use=no
19371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19372 ac_ext=c
19373 ac_cpp='$CPP $CPPFLAGS'
19374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19382 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19383 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19385 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19387 for ac_func in isnanl
19389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19390 echo "$as_me:$LINENO: checking for $ac_func" >&5
19391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19392 if eval "test \"\${$as_ac_var+set}\" = set"; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 else
19395 if test x$gcc_no_link = xyes; then
19396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19398 { (exit 1); exit 1; }; }
19400 cat >conftest.$ac_ext <<_ACEOF
19401 /* confdefs.h. */
19402 _ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19408 #define $ac_func innocuous_$ac_func
19410 /* System header to define __stub macros and hopefully few prototypes,
19411 which can conflict with char $ac_func (); below.
19412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19413 <limits.h> exists even on freestanding compilers. */
19415 #ifdef __STDC__
19416 # include <limits.h>
19417 #else
19418 # include <assert.h>
19419 #endif
19421 #undef $ac_func
19423 /* Override any gcc2 internal prototype to avoid an error. */
19424 #ifdef __cplusplus
19425 extern "C"
19427 #endif
19428 /* We use char because int might match the return type of a gcc2
19429 builtin and then its argument prototype would still apply. */
19430 char $ac_func ();
19431 /* The GNU C library defines this for functions which it implements
19432 to always fail with ENOSYS. Some functions are actually named
19433 something starting with __ and the normal name is an alias. */
19434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19435 choke me
19436 #else
19437 char (*f) () = $ac_func;
19438 #endif
19439 #ifdef __cplusplus
19441 #endif
19444 main ()
19446 return f != $ac_func;
19448 return 0;
19450 _ACEOF
19451 rm -f conftest.$ac_objext conftest$ac_exeext
19452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19453 (eval $ac_link) 2>conftest.er1
19454 ac_status=$?
19455 grep -v '^ *+' conftest.er1 >conftest.err
19456 rm -f conftest.er1
19457 cat conftest.err >&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); } &&
19460 { ac_try='test -z "$ac_c_werror_flag"
19461 || test ! -s conftest.err'
19462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19463 (eval $ac_try) 2>&5
19464 ac_status=$?
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); }; } &&
19467 { ac_try='test -s conftest$ac_exeext'
19468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19469 (eval $ac_try) 2>&5
19470 ac_status=$?
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); }; }; then
19473 eval "$as_ac_var=yes"
19474 else
19475 echo "$as_me: failed program was:" >&5
19476 sed 's/^/| /' conftest.$ac_ext >&5
19478 eval "$as_ac_var=no"
19480 rm -f conftest.err conftest.$ac_objext \
19481 conftest$ac_exeext conftest.$ac_ext
19483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19485 if test `eval echo '${'$as_ac_var'}'` = yes; then
19486 cat >>confdefs.h <<_ACEOF
19487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19488 _ACEOF
19491 done
19493 else
19495 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19496 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19497 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19498 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19500 else
19504 ac_ext=cc
19505 ac_cpp='$CXXCPP $CPPFLAGS'
19506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19510 cat >conftest.$ac_ext <<_ACEOF
19511 /* confdefs.h. */
19512 _ACEOF
19513 cat confdefs.h >>conftest.$ac_ext
19514 cat >>conftest.$ac_ext <<_ACEOF
19515 /* end confdefs.h. */
19516 #include <math.h>
19517 #ifdef HAVE_IEEEFP_H
19518 #include <ieeefp.h>
19519 #endif
19522 main ()
19524 _isnanl(0);
19526 return 0;
19528 _ACEOF
19529 rm -f conftest.$ac_objext
19530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19531 (eval $ac_compile) 2>conftest.er1
19532 ac_status=$?
19533 grep -v '^ *+' conftest.er1 >conftest.err
19534 rm -f conftest.er1
19535 cat conftest.err >&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); } &&
19538 { ac_try='test -z "$ac_cxx_werror_flag"
19539 || test ! -s conftest.err'
19540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19541 (eval $ac_try) 2>&5
19542 ac_status=$?
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; } &&
19545 { ac_try='test -s conftest.$ac_objext'
19546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547 (eval $ac_try) 2>&5
19548 ac_status=$?
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); }; }; then
19551 glibcxx_cv_func__isnanl_use=yes
19552 else
19553 echo "$as_me: failed program was:" >&5
19554 sed 's/^/| /' conftest.$ac_ext >&5
19556 glibcxx_cv_func__isnanl_use=no
19558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19559 ac_ext=c
19560 ac_cpp='$CPP $CPPFLAGS'
19561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19569 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19570 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19572 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19574 for ac_func in _isnanl
19576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19577 echo "$as_me:$LINENO: checking for $ac_func" >&5
19578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19579 if eval "test \"\${$as_ac_var+set}\" = set"; then
19580 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 else
19582 if test x$gcc_no_link = xyes; then
19583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19585 { (exit 1); exit 1; }; }
19587 cat >conftest.$ac_ext <<_ACEOF
19588 /* confdefs.h. */
19589 _ACEOF
19590 cat confdefs.h >>conftest.$ac_ext
19591 cat >>conftest.$ac_ext <<_ACEOF
19592 /* end confdefs.h. */
19593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19595 #define $ac_func innocuous_$ac_func
19597 /* System header to define __stub macros and hopefully few prototypes,
19598 which can conflict with char $ac_func (); below.
19599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19600 <limits.h> exists even on freestanding compilers. */
19602 #ifdef __STDC__
19603 # include <limits.h>
19604 #else
19605 # include <assert.h>
19606 #endif
19608 #undef $ac_func
19610 /* Override any gcc2 internal prototype to avoid an error. */
19611 #ifdef __cplusplus
19612 extern "C"
19614 #endif
19615 /* We use char because int might match the return type of a gcc2
19616 builtin and then its argument prototype would still apply. */
19617 char $ac_func ();
19618 /* The GNU C library defines this for functions which it implements
19619 to always fail with ENOSYS. Some functions are actually named
19620 something starting with __ and the normal name is an alias. */
19621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19622 choke me
19623 #else
19624 char (*f) () = $ac_func;
19625 #endif
19626 #ifdef __cplusplus
19628 #endif
19631 main ()
19633 return f != $ac_func;
19635 return 0;
19637 _ACEOF
19638 rm -f conftest.$ac_objext conftest$ac_exeext
19639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19640 (eval $ac_link) 2>conftest.er1
19641 ac_status=$?
19642 grep -v '^ *+' conftest.er1 >conftest.err
19643 rm -f conftest.er1
19644 cat conftest.err >&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } &&
19647 { ac_try='test -z "$ac_c_werror_flag"
19648 || test ! -s conftest.err'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19651 ac_status=$?
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; } &&
19654 { ac_try='test -s conftest$ac_exeext'
19655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656 (eval $ac_try) 2>&5
19657 ac_status=$?
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); }; }; then
19660 eval "$as_ac_var=yes"
19661 else
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.$ac_ext >&5
19665 eval "$as_ac_var=no"
19667 rm -f conftest.err conftest.$ac_objext \
19668 conftest$ac_exeext conftest.$ac_ext
19670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19672 if test `eval echo '${'$as_ac_var'}'` = yes; then
19673 cat >>confdefs.h <<_ACEOF
19674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19675 _ACEOF
19678 done
19688 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19689 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19690 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19691 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19692 echo $ECHO_N "(cached) $ECHO_C" >&6
19693 else
19697 ac_ext=cc
19698 ac_cpp='$CXXCPP $CPPFLAGS'
19699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19703 cat >conftest.$ac_ext <<_ACEOF
19704 /* confdefs.h. */
19705 _ACEOF
19706 cat confdefs.h >>conftest.$ac_ext
19707 cat >>conftest.$ac_ext <<_ACEOF
19708 /* end confdefs.h. */
19709 #include <math.h>
19710 #ifdef HAVE_IEEEFP_H
19711 #include <ieeefp.h>
19712 #endif
19715 main ()
19717 isinfl(0);
19719 return 0;
19721 _ACEOF
19722 rm -f conftest.$ac_objext
19723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19724 (eval $ac_compile) 2>conftest.er1
19725 ac_status=$?
19726 grep -v '^ *+' conftest.er1 >conftest.err
19727 rm -f conftest.er1
19728 cat conftest.err >&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); } &&
19731 { ac_try='test -z "$ac_cxx_werror_flag"
19732 || test ! -s conftest.err'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19735 ac_status=$?
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; } &&
19738 { ac_try='test -s conftest.$ac_objext'
19739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19740 (eval $ac_try) 2>&5
19741 ac_status=$?
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); }; }; then
19744 glibcxx_cv_func_isinfl_use=yes
19745 else
19746 echo "$as_me: failed program was:" >&5
19747 sed 's/^/| /' conftest.$ac_ext >&5
19749 glibcxx_cv_func_isinfl_use=no
19751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19752 ac_ext=c
19753 ac_cpp='$CPP $CPPFLAGS'
19754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19762 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19763 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19765 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19767 for ac_func in isinfl
19769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19770 echo "$as_me:$LINENO: checking for $ac_func" >&5
19771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19772 if eval "test \"\${$as_ac_var+set}\" = set"; then
19773 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 else
19775 if test x$gcc_no_link = xyes; then
19776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19778 { (exit 1); exit 1; }; }
19780 cat >conftest.$ac_ext <<_ACEOF
19781 /* confdefs.h. */
19782 _ACEOF
19783 cat confdefs.h >>conftest.$ac_ext
19784 cat >>conftest.$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19788 #define $ac_func innocuous_$ac_func
19790 /* System header to define __stub macros and hopefully few prototypes,
19791 which can conflict with char $ac_func (); below.
19792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19793 <limits.h> exists even on freestanding compilers. */
19795 #ifdef __STDC__
19796 # include <limits.h>
19797 #else
19798 # include <assert.h>
19799 #endif
19801 #undef $ac_func
19803 /* Override any gcc2 internal prototype to avoid an error. */
19804 #ifdef __cplusplus
19805 extern "C"
19807 #endif
19808 /* We use char because int might match the return type of a gcc2
19809 builtin and then its argument prototype would still apply. */
19810 char $ac_func ();
19811 /* The GNU C library defines this for functions which it implements
19812 to always fail with ENOSYS. Some functions are actually named
19813 something starting with __ and the normal name is an alias. */
19814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19815 choke me
19816 #else
19817 char (*f) () = $ac_func;
19818 #endif
19819 #ifdef __cplusplus
19821 #endif
19824 main ()
19826 return f != $ac_func;
19828 return 0;
19830 _ACEOF
19831 rm -f conftest.$ac_objext conftest$ac_exeext
19832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19833 (eval $ac_link) 2>conftest.er1
19834 ac_status=$?
19835 grep -v '^ *+' conftest.er1 >conftest.err
19836 rm -f conftest.er1
19837 cat conftest.err >&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); } &&
19840 { ac_try='test -z "$ac_c_werror_flag"
19841 || test ! -s conftest.err'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19844 ac_status=$?
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; } &&
19847 { ac_try='test -s conftest$ac_exeext'
19848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849 (eval $ac_try) 2>&5
19850 ac_status=$?
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; }; then
19853 eval "$as_ac_var=yes"
19854 else
19855 echo "$as_me: failed program was:" >&5
19856 sed 's/^/| /' conftest.$ac_ext >&5
19858 eval "$as_ac_var=no"
19860 rm -f conftest.err conftest.$ac_objext \
19861 conftest$ac_exeext conftest.$ac_ext
19863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19865 if test `eval echo '${'$as_ac_var'}'` = yes; then
19866 cat >>confdefs.h <<_ACEOF
19867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19868 _ACEOF
19871 done
19873 else
19875 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19876 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19877 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19878 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19879 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 else
19884 ac_ext=cc
19885 ac_cpp='$CXXCPP $CPPFLAGS'
19886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19890 cat >conftest.$ac_ext <<_ACEOF
19891 /* confdefs.h. */
19892 _ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 #include <math.h>
19897 #ifdef HAVE_IEEEFP_H
19898 #include <ieeefp.h>
19899 #endif
19902 main ()
19904 _isinfl(0);
19906 return 0;
19908 _ACEOF
19909 rm -f conftest.$ac_objext
19910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19911 (eval $ac_compile) 2>conftest.er1
19912 ac_status=$?
19913 grep -v '^ *+' conftest.er1 >conftest.err
19914 rm -f conftest.er1
19915 cat conftest.err >&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try='test -z "$ac_cxx_werror_flag"
19919 || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19922 ac_status=$?
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try='test -s conftest.$ac_objext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19928 ac_status=$?
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19931 glibcxx_cv_func__isinfl_use=yes
19932 else
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.$ac_ext >&5
19936 glibcxx_cv_func__isinfl_use=no
19938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19939 ac_ext=c
19940 ac_cpp='$CPP $CPPFLAGS'
19941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19949 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19950 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19952 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19954 for ac_func in _isinfl
19956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19957 echo "$as_me:$LINENO: checking for $ac_func" >&5
19958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19959 if eval "test \"\${$as_ac_var+set}\" = set"; then
19960 echo $ECHO_N "(cached) $ECHO_C" >&6
19961 else
19962 if test x$gcc_no_link = xyes; then
19963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19965 { (exit 1); exit 1; }; }
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h. */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19975 #define $ac_func innocuous_$ac_func
19977 /* System header to define __stub macros and hopefully few prototypes,
19978 which can conflict with char $ac_func (); below.
19979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19980 <limits.h> exists even on freestanding compilers. */
19982 #ifdef __STDC__
19983 # include <limits.h>
19984 #else
19985 # include <assert.h>
19986 #endif
19988 #undef $ac_func
19990 /* Override any gcc2 internal prototype to avoid an error. */
19991 #ifdef __cplusplus
19992 extern "C"
19994 #endif
19995 /* We use char because int might match the return type of a gcc2
19996 builtin and then its argument prototype would still apply. */
19997 char $ac_func ();
19998 /* The GNU C library defines this for functions which it implements
19999 to always fail with ENOSYS. Some functions are actually named
20000 something starting with __ and the normal name is an alias. */
20001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20002 choke me
20003 #else
20004 char (*f) () = $ac_func;
20005 #endif
20006 #ifdef __cplusplus
20008 #endif
20011 main ()
20013 return f != $ac_func;
20015 return 0;
20017 _ACEOF
20018 rm -f conftest.$ac_objext conftest$ac_exeext
20019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20020 (eval $ac_link) 2>conftest.er1
20021 ac_status=$?
20022 grep -v '^ *+' conftest.er1 >conftest.err
20023 rm -f conftest.er1
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try='test -z "$ac_c_werror_flag"
20028 || test ! -s conftest.err'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 eval "$as_ac_var=yes"
20041 else
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20045 eval "$as_ac_var=no"
20047 rm -f conftest.err conftest.$ac_objext \
20048 conftest$ac_exeext conftest.$ac_ext
20050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20052 if test `eval echo '${'$as_ac_var'}'` = yes; then
20053 cat >>confdefs.h <<_ACEOF
20054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20055 _ACEOF
20058 done
20068 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20069 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20070 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20071 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 else
20077 ac_ext=cc
20078 ac_cpp='$CXXCPP $CPPFLAGS'
20079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 #include <math.h>
20091 main ()
20093 copysignl(0, 0);
20095 return 0;
20097 _ACEOF
20098 rm -f conftest.$ac_objext
20099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20100 (eval $ac_compile) 2>conftest.er1
20101 ac_status=$?
20102 grep -v '^ *+' conftest.er1 >conftest.err
20103 rm -f conftest.er1
20104 cat conftest.err >&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } &&
20107 { ac_try='test -z "$ac_cxx_werror_flag"
20108 || test ! -s conftest.err'
20109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20110 (eval $ac_try) 2>&5
20111 ac_status=$?
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); }; } &&
20114 { ac_try='test -s conftest.$ac_objext'
20115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20116 (eval $ac_try) 2>&5
20117 ac_status=$?
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); }; }; then
20120 glibcxx_cv_func_copysignl_use=yes
20121 else
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.$ac_ext >&5
20125 glibcxx_cv_func_copysignl_use=no
20127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20128 ac_ext=c
20129 ac_cpp='$CPP $CPPFLAGS'
20130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20139 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20141 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20143 for ac_func in copysignl
20145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20146 echo "$as_me:$LINENO: checking for $ac_func" >&5
20147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20148 if eval "test \"\${$as_ac_var+set}\" = set"; then
20149 echo $ECHO_N "(cached) $ECHO_C" >&6
20150 else
20151 if test x$gcc_no_link = xyes; then
20152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20154 { (exit 1); exit 1; }; }
20156 cat >conftest.$ac_ext <<_ACEOF
20157 /* confdefs.h. */
20158 _ACEOF
20159 cat confdefs.h >>conftest.$ac_ext
20160 cat >>conftest.$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20164 #define $ac_func innocuous_$ac_func
20166 /* System header to define __stub macros and hopefully few prototypes,
20167 which can conflict with char $ac_func (); below.
20168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20169 <limits.h> exists even on freestanding compilers. */
20171 #ifdef __STDC__
20172 # include <limits.h>
20173 #else
20174 # include <assert.h>
20175 #endif
20177 #undef $ac_func
20179 /* Override any gcc2 internal prototype to avoid an error. */
20180 #ifdef __cplusplus
20181 extern "C"
20183 #endif
20184 /* We use char because int might match the return type of a gcc2
20185 builtin and then its argument prototype would still apply. */
20186 char $ac_func ();
20187 /* The GNU C library defines this for functions which it implements
20188 to always fail with ENOSYS. Some functions are actually named
20189 something starting with __ and the normal name is an alias. */
20190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20191 choke me
20192 #else
20193 char (*f) () = $ac_func;
20194 #endif
20195 #ifdef __cplusplus
20197 #endif
20200 main ()
20202 return f != $ac_func;
20204 return 0;
20206 _ACEOF
20207 rm -f conftest.$ac_objext conftest$ac_exeext
20208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20209 (eval $ac_link) 2>conftest.er1
20210 ac_status=$?
20211 grep -v '^ *+' conftest.er1 >conftest.err
20212 rm -f conftest.er1
20213 cat conftest.err >&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); } &&
20216 { ac_try='test -z "$ac_c_werror_flag"
20217 || test ! -s conftest.err'
20218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20219 (eval $ac_try) 2>&5
20220 ac_status=$?
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); }; } &&
20223 { ac_try='test -s conftest$ac_exeext'
20224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20225 (eval $ac_try) 2>&5
20226 ac_status=$?
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); }; }; then
20229 eval "$as_ac_var=yes"
20230 else
20231 echo "$as_me: failed program was:" >&5
20232 sed 's/^/| /' conftest.$ac_ext >&5
20234 eval "$as_ac_var=no"
20236 rm -f conftest.err conftest.$ac_objext \
20237 conftest$ac_exeext conftest.$ac_ext
20239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20241 if test `eval echo '${'$as_ac_var'}'` = yes; then
20242 cat >>confdefs.h <<_ACEOF
20243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20244 _ACEOF
20247 done
20249 else
20251 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20252 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20253 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20254 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20255 echo $ECHO_N "(cached) $ECHO_C" >&6
20256 else
20260 ac_ext=cc
20261 ac_cpp='$CXXCPP $CPPFLAGS'
20262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20266 cat >conftest.$ac_ext <<_ACEOF
20267 /* confdefs.h. */
20268 _ACEOF
20269 cat confdefs.h >>conftest.$ac_ext
20270 cat >>conftest.$ac_ext <<_ACEOF
20271 /* end confdefs.h. */
20272 #include <math.h>
20274 main ()
20276 _copysignl(0, 0);
20278 return 0;
20280 _ACEOF
20281 rm -f conftest.$ac_objext
20282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20283 (eval $ac_compile) 2>conftest.er1
20284 ac_status=$?
20285 grep -v '^ *+' conftest.er1 >conftest.err
20286 rm -f conftest.er1
20287 cat conftest.err >&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } &&
20290 { ac_try='test -z "$ac_cxx_werror_flag"
20291 || test ! -s conftest.err'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20294 ac_status=$?
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; } &&
20297 { ac_try='test -s conftest.$ac_objext'
20298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299 (eval $ac_try) 2>&5
20300 ac_status=$?
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; }; then
20303 glibcxx_cv_func__copysignl_use=yes
20304 else
20305 echo "$as_me: failed program was:" >&5
20306 sed 's/^/| /' conftest.$ac_ext >&5
20308 glibcxx_cv_func__copysignl_use=no
20310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20311 ac_ext=c
20312 ac_cpp='$CPP $CPPFLAGS'
20313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20321 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20322 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20324 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20326 for ac_func in _copysignl
20328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20329 echo "$as_me:$LINENO: checking for $ac_func" >&5
20330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20331 if eval "test \"\${$as_ac_var+set}\" = set"; then
20332 echo $ECHO_N "(cached) $ECHO_C" >&6
20333 else
20334 if test x$gcc_no_link = xyes; then
20335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20337 { (exit 1); exit 1; }; }
20339 cat >conftest.$ac_ext <<_ACEOF
20340 /* confdefs.h. */
20341 _ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20347 #define $ac_func innocuous_$ac_func
20349 /* System header to define __stub macros and hopefully few prototypes,
20350 which can conflict with char $ac_func (); below.
20351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20352 <limits.h> exists even on freestanding compilers. */
20354 #ifdef __STDC__
20355 # include <limits.h>
20356 #else
20357 # include <assert.h>
20358 #endif
20360 #undef $ac_func
20362 /* Override any gcc2 internal prototype to avoid an error. */
20363 #ifdef __cplusplus
20364 extern "C"
20366 #endif
20367 /* We use char because int might match the return type of a gcc2
20368 builtin and then its argument prototype would still apply. */
20369 char $ac_func ();
20370 /* The GNU C library defines this for functions which it implements
20371 to always fail with ENOSYS. Some functions are actually named
20372 something starting with __ and the normal name is an alias. */
20373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20374 choke me
20375 #else
20376 char (*f) () = $ac_func;
20377 #endif
20378 #ifdef __cplusplus
20380 #endif
20383 main ()
20385 return f != $ac_func;
20387 return 0;
20389 _ACEOF
20390 rm -f conftest.$ac_objext conftest$ac_exeext
20391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20392 (eval $ac_link) 2>conftest.er1
20393 ac_status=$?
20394 grep -v '^ *+' conftest.er1 >conftest.err
20395 rm -f conftest.er1
20396 cat conftest.err >&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } &&
20399 { ac_try='test -z "$ac_c_werror_flag"
20400 || test ! -s conftest.err'
20401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20402 (eval $ac_try) 2>&5
20403 ac_status=$?
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); }; } &&
20406 { ac_try='test -s conftest$ac_exeext'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20409 ac_status=$?
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; }; then
20412 eval "$as_ac_var=yes"
20413 else
20414 echo "$as_me: failed program was:" >&5
20415 sed 's/^/| /' conftest.$ac_ext >&5
20417 eval "$as_ac_var=no"
20419 rm -f conftest.err conftest.$ac_objext \
20420 conftest$ac_exeext conftest.$ac_ext
20422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20424 if test `eval echo '${'$as_ac_var'}'` = yes; then
20425 cat >>confdefs.h <<_ACEOF
20426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20427 _ACEOF
20430 done
20440 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20441 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20442 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20443 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20444 echo $ECHO_N "(cached) $ECHO_C" >&6
20445 else
20449 ac_ext=cc
20450 ac_cpp='$CXXCPP $CPPFLAGS'
20451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20455 cat >conftest.$ac_ext <<_ACEOF
20456 /* confdefs.h. */
20457 _ACEOF
20458 cat confdefs.h >>conftest.$ac_ext
20459 cat >>conftest.$ac_ext <<_ACEOF
20460 /* end confdefs.h. */
20461 #include <math.h>
20463 main ()
20465 atan2l(0, 0);
20467 return 0;
20469 _ACEOF
20470 rm -f conftest.$ac_objext
20471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20472 (eval $ac_compile) 2>conftest.er1
20473 ac_status=$?
20474 grep -v '^ *+' conftest.er1 >conftest.err
20475 rm -f conftest.er1
20476 cat conftest.err >&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); } &&
20479 { ac_try='test -z "$ac_cxx_werror_flag"
20480 || test ! -s conftest.err'
20481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20482 (eval $ac_try) 2>&5
20483 ac_status=$?
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); }; } &&
20486 { ac_try='test -s conftest.$ac_objext'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20489 ac_status=$?
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; }; then
20492 glibcxx_cv_func_atan2l_use=yes
20493 else
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.$ac_ext >&5
20497 glibcxx_cv_func_atan2l_use=no
20499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20500 ac_ext=c
20501 ac_cpp='$CPP $CPPFLAGS'
20502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20511 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20513 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20515 for ac_func in atan2l
20517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20518 echo "$as_me:$LINENO: checking for $ac_func" >&5
20519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20520 if eval "test \"\${$as_ac_var+set}\" = set"; then
20521 echo $ECHO_N "(cached) $ECHO_C" >&6
20522 else
20523 if test x$gcc_no_link = xyes; then
20524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20526 { (exit 1); exit 1; }; }
20528 cat >conftest.$ac_ext <<_ACEOF
20529 /* confdefs.h. */
20530 _ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20536 #define $ac_func innocuous_$ac_func
20538 /* System header to define __stub macros and hopefully few prototypes,
20539 which can conflict with char $ac_func (); below.
20540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20541 <limits.h> exists even on freestanding compilers. */
20543 #ifdef __STDC__
20544 # include <limits.h>
20545 #else
20546 # include <assert.h>
20547 #endif
20549 #undef $ac_func
20551 /* Override any gcc2 internal prototype to avoid an error. */
20552 #ifdef __cplusplus
20553 extern "C"
20555 #endif
20556 /* We use char because int might match the return type of a gcc2
20557 builtin and then its argument prototype would still apply. */
20558 char $ac_func ();
20559 /* The GNU C library defines this for functions which it implements
20560 to always fail with ENOSYS. Some functions are actually named
20561 something starting with __ and the normal name is an alias. */
20562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20563 choke me
20564 #else
20565 char (*f) () = $ac_func;
20566 #endif
20567 #ifdef __cplusplus
20569 #endif
20572 main ()
20574 return f != $ac_func;
20576 return 0;
20578 _ACEOF
20579 rm -f conftest.$ac_objext conftest$ac_exeext
20580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20581 (eval $ac_link) 2>conftest.er1
20582 ac_status=$?
20583 grep -v '^ *+' conftest.er1 >conftest.err
20584 rm -f conftest.er1
20585 cat conftest.err >&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } &&
20588 { ac_try='test -z "$ac_c_werror_flag"
20589 || test ! -s conftest.err'
20590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20591 (eval $ac_try) 2>&5
20592 ac_status=$?
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); }; } &&
20595 { ac_try='test -s conftest$ac_exeext'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20598 ac_status=$?
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 eval "$as_ac_var=yes"
20602 else
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.$ac_ext >&5
20606 eval "$as_ac_var=no"
20608 rm -f conftest.err conftest.$ac_objext \
20609 conftest$ac_exeext conftest.$ac_ext
20611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20613 if test `eval echo '${'$as_ac_var'}'` = yes; then
20614 cat >>confdefs.h <<_ACEOF
20615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20616 _ACEOF
20619 done
20621 else
20623 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20624 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20625 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20626 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20627 echo $ECHO_N "(cached) $ECHO_C" >&6
20628 else
20632 ac_ext=cc
20633 ac_cpp='$CXXCPP $CPPFLAGS'
20634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20638 cat >conftest.$ac_ext <<_ACEOF
20639 /* confdefs.h. */
20640 _ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 #include <math.h>
20646 main ()
20648 _atan2l(0, 0);
20650 return 0;
20652 _ACEOF
20653 rm -f conftest.$ac_objext
20654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20655 (eval $ac_compile) 2>conftest.er1
20656 ac_status=$?
20657 grep -v '^ *+' conftest.er1 >conftest.err
20658 rm -f conftest.er1
20659 cat conftest.err >&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); } &&
20662 { ac_try='test -z "$ac_cxx_werror_flag"
20663 || test ! -s conftest.err'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20666 ac_status=$?
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; } &&
20669 { ac_try='test -s conftest.$ac_objext'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20672 ac_status=$?
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20675 glibcxx_cv_func__atan2l_use=yes
20676 else
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 glibcxx_cv_func__atan2l_use=no
20682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20683 ac_ext=c
20684 ac_cpp='$CPP $CPPFLAGS'
20685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20694 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20696 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20698 for ac_func in _atan2l
20700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20701 echo "$as_me:$LINENO: checking for $ac_func" >&5
20702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20703 if eval "test \"\${$as_ac_var+set}\" = set"; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20705 else
20706 if test x$gcc_no_link = xyes; then
20707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20709 { (exit 1); exit 1; }; }
20711 cat >conftest.$ac_ext <<_ACEOF
20712 /* confdefs.h. */
20713 _ACEOF
20714 cat confdefs.h >>conftest.$ac_ext
20715 cat >>conftest.$ac_ext <<_ACEOF
20716 /* end confdefs.h. */
20717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20719 #define $ac_func innocuous_$ac_func
20721 /* System header to define __stub macros and hopefully few prototypes,
20722 which can conflict with char $ac_func (); below.
20723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20724 <limits.h> exists even on freestanding compilers. */
20726 #ifdef __STDC__
20727 # include <limits.h>
20728 #else
20729 # include <assert.h>
20730 #endif
20732 #undef $ac_func
20734 /* Override any gcc2 internal prototype to avoid an error. */
20735 #ifdef __cplusplus
20736 extern "C"
20738 #endif
20739 /* We use char because int might match the return type of a gcc2
20740 builtin and then its argument prototype would still apply. */
20741 char $ac_func ();
20742 /* The GNU C library defines this for functions which it implements
20743 to always fail with ENOSYS. Some functions are actually named
20744 something starting with __ and the normal name is an alias. */
20745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20746 choke me
20747 #else
20748 char (*f) () = $ac_func;
20749 #endif
20750 #ifdef __cplusplus
20752 #endif
20755 main ()
20757 return f != $ac_func;
20759 return 0;
20761 _ACEOF
20762 rm -f conftest.$ac_objext conftest$ac_exeext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20764 (eval $ac_link) 2>conftest.er1
20765 ac_status=$?
20766 grep -v '^ *+' conftest.er1 >conftest.err
20767 rm -f conftest.er1
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } &&
20771 { ac_try='test -z "$ac_c_werror_flag"
20772 || test ! -s conftest.err'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20775 ac_status=$?
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try='test -s conftest$ac_exeext'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20781 ac_status=$?
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20784 eval "$as_ac_var=yes"
20785 else
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20789 eval "$as_ac_var=no"
20791 rm -f conftest.err conftest.$ac_objext \
20792 conftest$ac_exeext conftest.$ac_ext
20794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20796 if test `eval echo '${'$as_ac_var'}'` = yes; then
20797 cat >>confdefs.h <<_ACEOF
20798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20799 _ACEOF
20802 done
20812 echo "$as_me:$LINENO: checking for expl declaration" >&5
20813 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20814 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20815 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20816 echo $ECHO_N "(cached) $ECHO_C" >&6
20817 else
20821 ac_ext=cc
20822 ac_cpp='$CXXCPP $CPPFLAGS'
20823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20827 cat >conftest.$ac_ext <<_ACEOF
20828 /* confdefs.h. */
20829 _ACEOF
20830 cat confdefs.h >>conftest.$ac_ext
20831 cat >>conftest.$ac_ext <<_ACEOF
20832 /* end confdefs.h. */
20833 #include <math.h>
20834 #ifdef HAVE_IEEEFP_H
20835 #include <ieeefp.h>
20836 #endif
20839 main ()
20841 expl(0);
20843 return 0;
20845 _ACEOF
20846 rm -f conftest.$ac_objext
20847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20848 (eval $ac_compile) 2>conftest.er1
20849 ac_status=$?
20850 grep -v '^ *+' conftest.er1 >conftest.err
20851 rm -f conftest.er1
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } &&
20855 { ac_try='test -z "$ac_cxx_werror_flag"
20856 || test ! -s conftest.err'
20857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20858 (eval $ac_try) 2>&5
20859 ac_status=$?
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); }; } &&
20862 { ac_try='test -s conftest.$ac_objext'
20863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20864 (eval $ac_try) 2>&5
20865 ac_status=$?
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); }; }; then
20868 glibcxx_cv_func_expl_use=yes
20869 else
20870 echo "$as_me: failed program was:" >&5
20871 sed 's/^/| /' conftest.$ac_ext >&5
20873 glibcxx_cv_func_expl_use=no
20875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20876 ac_ext=c
20877 ac_cpp='$CPP $CPPFLAGS'
20878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20886 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20887 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20889 if test x$glibcxx_cv_func_expl_use = x"yes"; then
20891 for ac_func in expl
20893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20894 echo "$as_me:$LINENO: checking for $ac_func" >&5
20895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20896 if eval "test \"\${$as_ac_var+set}\" = set"; then
20897 echo $ECHO_N "(cached) $ECHO_C" >&6
20898 else
20899 if test x$gcc_no_link = xyes; then
20900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20902 { (exit 1); exit 1; }; }
20904 cat >conftest.$ac_ext <<_ACEOF
20905 /* confdefs.h. */
20906 _ACEOF
20907 cat confdefs.h >>conftest.$ac_ext
20908 cat >>conftest.$ac_ext <<_ACEOF
20909 /* end confdefs.h. */
20910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20912 #define $ac_func innocuous_$ac_func
20914 /* System header to define __stub macros and hopefully few prototypes,
20915 which can conflict with char $ac_func (); below.
20916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20917 <limits.h> exists even on freestanding compilers. */
20919 #ifdef __STDC__
20920 # include <limits.h>
20921 #else
20922 # include <assert.h>
20923 #endif
20925 #undef $ac_func
20927 /* Override any gcc2 internal prototype to avoid an error. */
20928 #ifdef __cplusplus
20929 extern "C"
20931 #endif
20932 /* We use char because int might match the return type of a gcc2
20933 builtin and then its argument prototype would still apply. */
20934 char $ac_func ();
20935 /* The GNU C library defines this for functions which it implements
20936 to always fail with ENOSYS. Some functions are actually named
20937 something starting with __ and the normal name is an alias. */
20938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20939 choke me
20940 #else
20941 char (*f) () = $ac_func;
20942 #endif
20943 #ifdef __cplusplus
20945 #endif
20948 main ()
20950 return f != $ac_func;
20952 return 0;
20954 _ACEOF
20955 rm -f conftest.$ac_objext conftest$ac_exeext
20956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20957 (eval $ac_link) 2>conftest.er1
20958 ac_status=$?
20959 grep -v '^ *+' conftest.er1 >conftest.err
20960 rm -f conftest.er1
20961 cat conftest.err >&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } &&
20964 { ac_try='test -z "$ac_c_werror_flag"
20965 || test ! -s conftest.err'
20966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20967 (eval $ac_try) 2>&5
20968 ac_status=$?
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; } &&
20971 { ac_try='test -s conftest$ac_exeext'
20972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20973 (eval $ac_try) 2>&5
20974 ac_status=$?
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); }; }; then
20977 eval "$as_ac_var=yes"
20978 else
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20982 eval "$as_ac_var=no"
20984 rm -f conftest.err conftest.$ac_objext \
20985 conftest$ac_exeext conftest.$ac_ext
20987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20989 if test `eval echo '${'$as_ac_var'}'` = yes; then
20990 cat >>confdefs.h <<_ACEOF
20991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20992 _ACEOF
20995 done
20997 else
20999 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21000 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21001 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21002 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21004 else
21008 ac_ext=cc
21009 ac_cpp='$CXXCPP $CPPFLAGS'
21010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21014 cat >conftest.$ac_ext <<_ACEOF
21015 /* confdefs.h. */
21016 _ACEOF
21017 cat confdefs.h >>conftest.$ac_ext
21018 cat >>conftest.$ac_ext <<_ACEOF
21019 /* end confdefs.h. */
21020 #include <math.h>
21021 #ifdef HAVE_IEEEFP_H
21022 #include <ieeefp.h>
21023 #endif
21026 main ()
21028 _expl(0);
21030 return 0;
21032 _ACEOF
21033 rm -f conftest.$ac_objext
21034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21035 (eval $ac_compile) 2>conftest.er1
21036 ac_status=$?
21037 grep -v '^ *+' conftest.er1 >conftest.err
21038 rm -f conftest.er1
21039 cat conftest.err >&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); } &&
21042 { ac_try='test -z "$ac_cxx_werror_flag"
21043 || test ! -s conftest.err'
21044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21045 (eval $ac_try) 2>&5
21046 ac_status=$?
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); }; } &&
21049 { ac_try='test -s conftest.$ac_objext'
21050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21051 (eval $ac_try) 2>&5
21052 ac_status=$?
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); }; }; then
21055 glibcxx_cv_func__expl_use=yes
21056 else
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.$ac_ext >&5
21060 glibcxx_cv_func__expl_use=no
21062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21063 ac_ext=c
21064 ac_cpp='$CPP $CPPFLAGS'
21065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21074 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21076 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21078 for ac_func in _expl
21080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21081 echo "$as_me:$LINENO: checking for $ac_func" >&5
21082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21083 if eval "test \"\${$as_ac_var+set}\" = set"; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21085 else
21086 if test x$gcc_no_link = xyes; then
21087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21089 { (exit 1); exit 1; }; }
21091 cat >conftest.$ac_ext <<_ACEOF
21092 /* confdefs.h. */
21093 _ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21099 #define $ac_func innocuous_$ac_func
21101 /* System header to define __stub macros and hopefully few prototypes,
21102 which can conflict with char $ac_func (); below.
21103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21104 <limits.h> exists even on freestanding compilers. */
21106 #ifdef __STDC__
21107 # include <limits.h>
21108 #else
21109 # include <assert.h>
21110 #endif
21112 #undef $ac_func
21114 /* Override any gcc2 internal prototype to avoid an error. */
21115 #ifdef __cplusplus
21116 extern "C"
21118 #endif
21119 /* We use char because int might match the return type of a gcc2
21120 builtin and then its argument prototype would still apply. */
21121 char $ac_func ();
21122 /* The GNU C library defines this for functions which it implements
21123 to always fail with ENOSYS. Some functions are actually named
21124 something starting with __ and the normal name is an alias. */
21125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21126 choke me
21127 #else
21128 char (*f) () = $ac_func;
21129 #endif
21130 #ifdef __cplusplus
21132 #endif
21135 main ()
21137 return f != $ac_func;
21139 return 0;
21141 _ACEOF
21142 rm -f conftest.$ac_objext conftest$ac_exeext
21143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21144 (eval $ac_link) 2>conftest.er1
21145 ac_status=$?
21146 grep -v '^ *+' conftest.er1 >conftest.err
21147 rm -f conftest.er1
21148 cat conftest.err >&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); } &&
21151 { ac_try='test -z "$ac_c_werror_flag"
21152 || test ! -s conftest.err'
21153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21154 (eval $ac_try) 2>&5
21155 ac_status=$?
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; } &&
21158 { ac_try='test -s conftest$ac_exeext'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21161 ac_status=$?
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; }; then
21164 eval "$as_ac_var=yes"
21165 else
21166 echo "$as_me: failed program was:" >&5
21167 sed 's/^/| /' conftest.$ac_ext >&5
21169 eval "$as_ac_var=no"
21171 rm -f conftest.err conftest.$ac_objext \
21172 conftest$ac_exeext conftest.$ac_ext
21174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21176 if test `eval echo '${'$as_ac_var'}'` = yes; then
21177 cat >>confdefs.h <<_ACEOF
21178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21179 _ACEOF
21182 done
21192 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21193 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21194 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21195 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21196 echo $ECHO_N "(cached) $ECHO_C" >&6
21197 else
21201 ac_ext=cc
21202 ac_cpp='$CXXCPP $CPPFLAGS'
21203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21207 cat >conftest.$ac_ext <<_ACEOF
21208 /* confdefs.h. */
21209 _ACEOF
21210 cat confdefs.h >>conftest.$ac_ext
21211 cat >>conftest.$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21213 #include <math.h>
21214 #ifdef HAVE_IEEEFP_H
21215 #include <ieeefp.h>
21216 #endif
21219 main ()
21221 fabsl(0);
21223 return 0;
21225 _ACEOF
21226 rm -f conftest.$ac_objext
21227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21228 (eval $ac_compile) 2>conftest.er1
21229 ac_status=$?
21230 grep -v '^ *+' conftest.er1 >conftest.err
21231 rm -f conftest.er1
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } &&
21235 { ac_try='test -z "$ac_cxx_werror_flag"
21236 || test ! -s conftest.err'
21237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238 (eval $ac_try) 2>&5
21239 ac_status=$?
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); }; } &&
21242 { ac_try='test -s conftest.$ac_objext'
21243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21244 (eval $ac_try) 2>&5
21245 ac_status=$?
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); }; }; then
21248 glibcxx_cv_func_fabsl_use=yes
21249 else
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21253 glibcxx_cv_func_fabsl_use=no
21255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21256 ac_ext=c
21257 ac_cpp='$CPP $CPPFLAGS'
21258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21267 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21269 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21271 for ac_func in fabsl
21273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21274 echo "$as_me:$LINENO: checking for $ac_func" >&5
21275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21276 if eval "test \"\${$as_ac_var+set}\" = set"; then
21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21278 else
21279 if test x$gcc_no_link = xyes; then
21280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21282 { (exit 1); exit 1; }; }
21284 cat >conftest.$ac_ext <<_ACEOF
21285 /* confdefs.h. */
21286 _ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21292 #define $ac_func innocuous_$ac_func
21294 /* System header to define __stub macros and hopefully few prototypes,
21295 which can conflict with char $ac_func (); below.
21296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21297 <limits.h> exists even on freestanding compilers. */
21299 #ifdef __STDC__
21300 # include <limits.h>
21301 #else
21302 # include <assert.h>
21303 #endif
21305 #undef $ac_func
21307 /* Override any gcc2 internal prototype to avoid an error. */
21308 #ifdef __cplusplus
21309 extern "C"
21311 #endif
21312 /* We use char because int might match the return type of a gcc2
21313 builtin and then its argument prototype would still apply. */
21314 char $ac_func ();
21315 /* The GNU C library defines this for functions which it implements
21316 to always fail with ENOSYS. Some functions are actually named
21317 something starting with __ and the normal name is an alias. */
21318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21319 choke me
21320 #else
21321 char (*f) () = $ac_func;
21322 #endif
21323 #ifdef __cplusplus
21325 #endif
21328 main ()
21330 return f != $ac_func;
21332 return 0;
21334 _ACEOF
21335 rm -f conftest.$ac_objext conftest$ac_exeext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21337 (eval $ac_link) 2>conftest.er1
21338 ac_status=$?
21339 grep -v '^ *+' conftest.er1 >conftest.err
21340 rm -f conftest.er1
21341 cat conftest.err >&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } &&
21344 { ac_try='test -z "$ac_c_werror_flag"
21345 || test ! -s conftest.err'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21348 ac_status=$?
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; } &&
21351 { ac_try='test -s conftest$ac_exeext'
21352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353 (eval $ac_try) 2>&5
21354 ac_status=$?
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); }; }; then
21357 eval "$as_ac_var=yes"
21358 else
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21362 eval "$as_ac_var=no"
21364 rm -f conftest.err conftest.$ac_objext \
21365 conftest$ac_exeext conftest.$ac_ext
21367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21369 if test `eval echo '${'$as_ac_var'}'` = yes; then
21370 cat >>confdefs.h <<_ACEOF
21371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21372 _ACEOF
21375 done
21377 else
21379 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21380 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21381 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21382 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21383 echo $ECHO_N "(cached) $ECHO_C" >&6
21384 else
21388 ac_ext=cc
21389 ac_cpp='$CXXCPP $CPPFLAGS'
21390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21394 cat >conftest.$ac_ext <<_ACEOF
21395 /* confdefs.h. */
21396 _ACEOF
21397 cat confdefs.h >>conftest.$ac_ext
21398 cat >>conftest.$ac_ext <<_ACEOF
21399 /* end confdefs.h. */
21400 #include <math.h>
21401 #ifdef HAVE_IEEEFP_H
21402 #include <ieeefp.h>
21403 #endif
21406 main ()
21408 _fabsl(0);
21410 return 0;
21412 _ACEOF
21413 rm -f conftest.$ac_objext
21414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21415 (eval $ac_compile) 2>conftest.er1
21416 ac_status=$?
21417 grep -v '^ *+' conftest.er1 >conftest.err
21418 rm -f conftest.er1
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } &&
21422 { ac_try='test -z "$ac_cxx_werror_flag"
21423 || test ! -s conftest.err'
21424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425 (eval $ac_try) 2>&5
21426 ac_status=$?
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; } &&
21429 { ac_try='test -s conftest.$ac_objext'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21432 ac_status=$?
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; }; then
21435 glibcxx_cv_func__fabsl_use=yes
21436 else
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.$ac_ext >&5
21440 glibcxx_cv_func__fabsl_use=no
21442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21443 ac_ext=c
21444 ac_cpp='$CPP $CPPFLAGS'
21445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21453 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21454 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21456 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21458 for ac_func in _fabsl
21460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21461 echo "$as_me:$LINENO: checking for $ac_func" >&5
21462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21463 if eval "test \"\${$as_ac_var+set}\" = set"; then
21464 echo $ECHO_N "(cached) $ECHO_C" >&6
21465 else
21466 if test x$gcc_no_link = xyes; then
21467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21469 { (exit 1); exit 1; }; }
21471 cat >conftest.$ac_ext <<_ACEOF
21472 /* confdefs.h. */
21473 _ACEOF
21474 cat confdefs.h >>conftest.$ac_ext
21475 cat >>conftest.$ac_ext <<_ACEOF
21476 /* end confdefs.h. */
21477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21479 #define $ac_func innocuous_$ac_func
21481 /* System header to define __stub macros and hopefully few prototypes,
21482 which can conflict with char $ac_func (); below.
21483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21484 <limits.h> exists even on freestanding compilers. */
21486 #ifdef __STDC__
21487 # include <limits.h>
21488 #else
21489 # include <assert.h>
21490 #endif
21492 #undef $ac_func
21494 /* Override any gcc2 internal prototype to avoid an error. */
21495 #ifdef __cplusplus
21496 extern "C"
21498 #endif
21499 /* We use char because int might match the return type of a gcc2
21500 builtin and then its argument prototype would still apply. */
21501 char $ac_func ();
21502 /* The GNU C library defines this for functions which it implements
21503 to always fail with ENOSYS. Some functions are actually named
21504 something starting with __ and the normal name is an alias. */
21505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21506 choke me
21507 #else
21508 char (*f) () = $ac_func;
21509 #endif
21510 #ifdef __cplusplus
21512 #endif
21515 main ()
21517 return f != $ac_func;
21519 return 0;
21521 _ACEOF
21522 rm -f conftest.$ac_objext conftest$ac_exeext
21523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21524 (eval $ac_link) 2>conftest.er1
21525 ac_status=$?
21526 grep -v '^ *+' conftest.er1 >conftest.err
21527 rm -f conftest.er1
21528 cat conftest.err >&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } &&
21531 { ac_try='test -z "$ac_c_werror_flag"
21532 || test ! -s conftest.err'
21533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21534 (eval $ac_try) 2>&5
21535 ac_status=$?
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); }; } &&
21538 { ac_try='test -s conftest$ac_exeext'
21539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21540 (eval $ac_try) 2>&5
21541 ac_status=$?
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; }; then
21544 eval "$as_ac_var=yes"
21545 else
21546 echo "$as_me: failed program was:" >&5
21547 sed 's/^/| /' conftest.$ac_ext >&5
21549 eval "$as_ac_var=no"
21551 rm -f conftest.err conftest.$ac_objext \
21552 conftest$ac_exeext conftest.$ac_ext
21554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21556 if test `eval echo '${'$as_ac_var'}'` = yes; then
21557 cat >>confdefs.h <<_ACEOF
21558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21559 _ACEOF
21562 done
21572 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21573 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21574 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21575 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21576 echo $ECHO_N "(cached) $ECHO_C" >&6
21577 else
21581 ac_ext=cc
21582 ac_cpp='$CXXCPP $CPPFLAGS'
21583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21587 cat >conftest.$ac_ext <<_ACEOF
21588 /* confdefs.h. */
21589 _ACEOF
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21593 #include <math.h>
21595 main ()
21597 fmodl(0, 0);
21599 return 0;
21601 _ACEOF
21602 rm -f conftest.$ac_objext
21603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21604 (eval $ac_compile) 2>conftest.er1
21605 ac_status=$?
21606 grep -v '^ *+' conftest.er1 >conftest.err
21607 rm -f conftest.er1
21608 cat conftest.err >&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); } &&
21611 { ac_try='test -z "$ac_cxx_werror_flag"
21612 || test ! -s conftest.err'
21613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614 (eval $ac_try) 2>&5
21615 ac_status=$?
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; } &&
21618 { ac_try='test -s conftest.$ac_objext'
21619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21620 (eval $ac_try) 2>&5
21621 ac_status=$?
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); }; }; then
21624 glibcxx_cv_func_fmodl_use=yes
21625 else
21626 echo "$as_me: failed program was:" >&5
21627 sed 's/^/| /' conftest.$ac_ext >&5
21629 glibcxx_cv_func_fmodl_use=no
21631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21632 ac_ext=c
21633 ac_cpp='$CPP $CPPFLAGS'
21634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21642 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21643 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21645 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21647 for ac_func in fmodl
21649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21650 echo "$as_me:$LINENO: checking for $ac_func" >&5
21651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21652 if eval "test \"\${$as_ac_var+set}\" = set"; then
21653 echo $ECHO_N "(cached) $ECHO_C" >&6
21654 else
21655 if test x$gcc_no_link = xyes; then
21656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21658 { (exit 1); exit 1; }; }
21660 cat >conftest.$ac_ext <<_ACEOF
21661 /* confdefs.h. */
21662 _ACEOF
21663 cat confdefs.h >>conftest.$ac_ext
21664 cat >>conftest.$ac_ext <<_ACEOF
21665 /* end confdefs.h. */
21666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21668 #define $ac_func innocuous_$ac_func
21670 /* System header to define __stub macros and hopefully few prototypes,
21671 which can conflict with char $ac_func (); below.
21672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21673 <limits.h> exists even on freestanding compilers. */
21675 #ifdef __STDC__
21676 # include <limits.h>
21677 #else
21678 # include <assert.h>
21679 #endif
21681 #undef $ac_func
21683 /* Override any gcc2 internal prototype to avoid an error. */
21684 #ifdef __cplusplus
21685 extern "C"
21687 #endif
21688 /* We use char because int might match the return type of a gcc2
21689 builtin and then its argument prototype would still apply. */
21690 char $ac_func ();
21691 /* The GNU C library defines this for functions which it implements
21692 to always fail with ENOSYS. Some functions are actually named
21693 something starting with __ and the normal name is an alias. */
21694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21695 choke me
21696 #else
21697 char (*f) () = $ac_func;
21698 #endif
21699 #ifdef __cplusplus
21701 #endif
21704 main ()
21706 return f != $ac_func;
21708 return 0;
21710 _ACEOF
21711 rm -f conftest.$ac_objext conftest$ac_exeext
21712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21713 (eval $ac_link) 2>conftest.er1
21714 ac_status=$?
21715 grep -v '^ *+' conftest.er1 >conftest.err
21716 rm -f conftest.er1
21717 cat conftest.err >&5
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); } &&
21720 { ac_try='test -z "$ac_c_werror_flag"
21721 || test ! -s conftest.err'
21722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21723 (eval $ac_try) 2>&5
21724 ac_status=$?
21725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726 (exit $ac_status); }; } &&
21727 { ac_try='test -s conftest$ac_exeext'
21728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21729 (eval $ac_try) 2>&5
21730 ac_status=$?
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); }; }; then
21733 eval "$as_ac_var=yes"
21734 else
21735 echo "$as_me: failed program was:" >&5
21736 sed 's/^/| /' conftest.$ac_ext >&5
21738 eval "$as_ac_var=no"
21740 rm -f conftest.err conftest.$ac_objext \
21741 conftest$ac_exeext conftest.$ac_ext
21743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21745 if test `eval echo '${'$as_ac_var'}'` = yes; then
21746 cat >>confdefs.h <<_ACEOF
21747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21748 _ACEOF
21751 done
21753 else
21755 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21756 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21757 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21758 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21759 echo $ECHO_N "(cached) $ECHO_C" >&6
21760 else
21764 ac_ext=cc
21765 ac_cpp='$CXXCPP $CPPFLAGS'
21766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21770 cat >conftest.$ac_ext <<_ACEOF
21771 /* confdefs.h. */
21772 _ACEOF
21773 cat confdefs.h >>conftest.$ac_ext
21774 cat >>conftest.$ac_ext <<_ACEOF
21775 /* end confdefs.h. */
21776 #include <math.h>
21778 main ()
21780 _fmodl(0, 0);
21782 return 0;
21784 _ACEOF
21785 rm -f conftest.$ac_objext
21786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21787 (eval $ac_compile) 2>conftest.er1
21788 ac_status=$?
21789 grep -v '^ *+' conftest.er1 >conftest.err
21790 rm -f conftest.er1
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } &&
21794 { ac_try='test -z "$ac_cxx_werror_flag"
21795 || test ! -s conftest.err'
21796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21797 (eval $ac_try) 2>&5
21798 ac_status=$?
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); }; } &&
21801 { ac_try='test -s conftest.$ac_objext'
21802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21803 (eval $ac_try) 2>&5
21804 ac_status=$?
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); }; }; then
21807 glibcxx_cv_func__fmodl_use=yes
21808 else
21809 echo "$as_me: failed program was:" >&5
21810 sed 's/^/| /' conftest.$ac_ext >&5
21812 glibcxx_cv_func__fmodl_use=no
21814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21815 ac_ext=c
21816 ac_cpp='$CPP $CPPFLAGS'
21817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21825 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21826 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21828 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21830 for ac_func in _fmodl
21832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21833 echo "$as_me:$LINENO: checking for $ac_func" >&5
21834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21835 if eval "test \"\${$as_ac_var+set}\" = set"; then
21836 echo $ECHO_N "(cached) $ECHO_C" >&6
21837 else
21838 if test x$gcc_no_link = xyes; then
21839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21841 { (exit 1); exit 1; }; }
21843 cat >conftest.$ac_ext <<_ACEOF
21844 /* confdefs.h. */
21845 _ACEOF
21846 cat confdefs.h >>conftest.$ac_ext
21847 cat >>conftest.$ac_ext <<_ACEOF
21848 /* end confdefs.h. */
21849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21851 #define $ac_func innocuous_$ac_func
21853 /* System header to define __stub macros and hopefully few prototypes,
21854 which can conflict with char $ac_func (); below.
21855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21856 <limits.h> exists even on freestanding compilers. */
21858 #ifdef __STDC__
21859 # include <limits.h>
21860 #else
21861 # include <assert.h>
21862 #endif
21864 #undef $ac_func
21866 /* Override any gcc2 internal prototype to avoid an error. */
21867 #ifdef __cplusplus
21868 extern "C"
21870 #endif
21871 /* We use char because int might match the return type of a gcc2
21872 builtin and then its argument prototype would still apply. */
21873 char $ac_func ();
21874 /* The GNU C library defines this for functions which it implements
21875 to always fail with ENOSYS. Some functions are actually named
21876 something starting with __ and the normal name is an alias. */
21877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21878 choke me
21879 #else
21880 char (*f) () = $ac_func;
21881 #endif
21882 #ifdef __cplusplus
21884 #endif
21887 main ()
21889 return f != $ac_func;
21891 return 0;
21893 _ACEOF
21894 rm -f conftest.$ac_objext conftest$ac_exeext
21895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21896 (eval $ac_link) 2>conftest.er1
21897 ac_status=$?
21898 grep -v '^ *+' conftest.er1 >conftest.err
21899 rm -f conftest.er1
21900 cat conftest.err >&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } &&
21903 { ac_try='test -z "$ac_c_werror_flag"
21904 || test ! -s conftest.err'
21905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21906 (eval $ac_try) 2>&5
21907 ac_status=$?
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); }; } &&
21910 { ac_try='test -s conftest$ac_exeext'
21911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21912 (eval $ac_try) 2>&5
21913 ac_status=$?
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; }; then
21916 eval "$as_ac_var=yes"
21917 else
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.$ac_ext >&5
21921 eval "$as_ac_var=no"
21923 rm -f conftest.err conftest.$ac_objext \
21924 conftest$ac_exeext conftest.$ac_ext
21926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21928 if test `eval echo '${'$as_ac_var'}'` = yes; then
21929 cat >>confdefs.h <<_ACEOF
21930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21931 _ACEOF
21934 done
21944 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21945 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21946 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21947 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21948 echo $ECHO_N "(cached) $ECHO_C" >&6
21949 else
21953 ac_ext=cc
21954 ac_cpp='$CXXCPP $CPPFLAGS'
21955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21959 cat >conftest.$ac_ext <<_ACEOF
21960 /* confdefs.h. */
21961 _ACEOF
21962 cat confdefs.h >>conftest.$ac_ext
21963 cat >>conftest.$ac_ext <<_ACEOF
21964 /* end confdefs.h. */
21965 #include <math.h>
21967 main ()
21969 frexpl(0, 0);
21971 return 0;
21973 _ACEOF
21974 rm -f conftest.$ac_objext
21975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21976 (eval $ac_compile) 2>conftest.er1
21977 ac_status=$?
21978 grep -v '^ *+' conftest.er1 >conftest.err
21979 rm -f conftest.er1
21980 cat conftest.err >&5
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); } &&
21983 { ac_try='test -z "$ac_cxx_werror_flag"
21984 || test ! -s conftest.err'
21985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21986 (eval $ac_try) 2>&5
21987 ac_status=$?
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); }; } &&
21990 { ac_try='test -s conftest.$ac_objext'
21991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21992 (eval $ac_try) 2>&5
21993 ac_status=$?
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; }; then
21996 glibcxx_cv_func_frexpl_use=yes
21997 else
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.$ac_ext >&5
22001 glibcxx_cv_func_frexpl_use=no
22003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22004 ac_ext=c
22005 ac_cpp='$CPP $CPPFLAGS'
22006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22014 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22015 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22017 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22019 for ac_func in frexpl
22021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22022 echo "$as_me:$LINENO: checking for $ac_func" >&5
22023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22024 if eval "test \"\${$as_ac_var+set}\" = set"; then
22025 echo $ECHO_N "(cached) $ECHO_C" >&6
22026 else
22027 if test x$gcc_no_link = xyes; then
22028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22030 { (exit 1); exit 1; }; }
22032 cat >conftest.$ac_ext <<_ACEOF
22033 /* confdefs.h. */
22034 _ACEOF
22035 cat confdefs.h >>conftest.$ac_ext
22036 cat >>conftest.$ac_ext <<_ACEOF
22037 /* end confdefs.h. */
22038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22040 #define $ac_func innocuous_$ac_func
22042 /* System header to define __stub macros and hopefully few prototypes,
22043 which can conflict with char $ac_func (); below.
22044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22045 <limits.h> exists even on freestanding compilers. */
22047 #ifdef __STDC__
22048 # include <limits.h>
22049 #else
22050 # include <assert.h>
22051 #endif
22053 #undef $ac_func
22055 /* Override any gcc2 internal prototype to avoid an error. */
22056 #ifdef __cplusplus
22057 extern "C"
22059 #endif
22060 /* We use char because int might match the return type of a gcc2
22061 builtin and then its argument prototype would still apply. */
22062 char $ac_func ();
22063 /* The GNU C library defines this for functions which it implements
22064 to always fail with ENOSYS. Some functions are actually named
22065 something starting with __ and the normal name is an alias. */
22066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22067 choke me
22068 #else
22069 char (*f) () = $ac_func;
22070 #endif
22071 #ifdef __cplusplus
22073 #endif
22076 main ()
22078 return f != $ac_func;
22080 return 0;
22082 _ACEOF
22083 rm -f conftest.$ac_objext conftest$ac_exeext
22084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22085 (eval $ac_link) 2>conftest.er1
22086 ac_status=$?
22087 grep -v '^ *+' conftest.er1 >conftest.err
22088 rm -f conftest.er1
22089 cat conftest.err >&5
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); } &&
22092 { ac_try='test -z "$ac_c_werror_flag"
22093 || test ! -s conftest.err'
22094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22095 (eval $ac_try) 2>&5
22096 ac_status=$?
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); }; } &&
22099 { ac_try='test -s conftest$ac_exeext'
22100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22101 (eval $ac_try) 2>&5
22102 ac_status=$?
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); }; }; then
22105 eval "$as_ac_var=yes"
22106 else
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.$ac_ext >&5
22110 eval "$as_ac_var=no"
22112 rm -f conftest.err conftest.$ac_objext \
22113 conftest$ac_exeext conftest.$ac_ext
22115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22117 if test `eval echo '${'$as_ac_var'}'` = yes; then
22118 cat >>confdefs.h <<_ACEOF
22119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22120 _ACEOF
22123 done
22125 else
22127 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22128 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22129 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22130 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22131 echo $ECHO_N "(cached) $ECHO_C" >&6
22132 else
22136 ac_ext=cc
22137 ac_cpp='$CXXCPP $CPPFLAGS'
22138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22142 cat >conftest.$ac_ext <<_ACEOF
22143 /* confdefs.h. */
22144 _ACEOF
22145 cat confdefs.h >>conftest.$ac_ext
22146 cat >>conftest.$ac_ext <<_ACEOF
22147 /* end confdefs.h. */
22148 #include <math.h>
22150 main ()
22152 _frexpl(0, 0);
22154 return 0;
22156 _ACEOF
22157 rm -f conftest.$ac_objext
22158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22159 (eval $ac_compile) 2>conftest.er1
22160 ac_status=$?
22161 grep -v '^ *+' conftest.er1 >conftest.err
22162 rm -f conftest.er1
22163 cat conftest.err >&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); } &&
22166 { ac_try='test -z "$ac_cxx_werror_flag"
22167 || test ! -s conftest.err'
22168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22169 (eval $ac_try) 2>&5
22170 ac_status=$?
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); }; } &&
22173 { ac_try='test -s conftest.$ac_objext'
22174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22175 (eval $ac_try) 2>&5
22176 ac_status=$?
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); }; }; then
22179 glibcxx_cv_func__frexpl_use=yes
22180 else
22181 echo "$as_me: failed program was:" >&5
22182 sed 's/^/| /' conftest.$ac_ext >&5
22184 glibcxx_cv_func__frexpl_use=no
22186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22187 ac_ext=c
22188 ac_cpp='$CPP $CPPFLAGS'
22189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22197 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22198 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22200 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22202 for ac_func in _frexpl
22204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22205 echo "$as_me:$LINENO: checking for $ac_func" >&5
22206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22207 if eval "test \"\${$as_ac_var+set}\" = set"; then
22208 echo $ECHO_N "(cached) $ECHO_C" >&6
22209 else
22210 if test x$gcc_no_link = xyes; then
22211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22213 { (exit 1); exit 1; }; }
22215 cat >conftest.$ac_ext <<_ACEOF
22216 /* confdefs.h. */
22217 _ACEOF
22218 cat confdefs.h >>conftest.$ac_ext
22219 cat >>conftest.$ac_ext <<_ACEOF
22220 /* end confdefs.h. */
22221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22223 #define $ac_func innocuous_$ac_func
22225 /* System header to define __stub macros and hopefully few prototypes,
22226 which can conflict with char $ac_func (); below.
22227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22228 <limits.h> exists even on freestanding compilers. */
22230 #ifdef __STDC__
22231 # include <limits.h>
22232 #else
22233 # include <assert.h>
22234 #endif
22236 #undef $ac_func
22238 /* Override any gcc2 internal prototype to avoid an error. */
22239 #ifdef __cplusplus
22240 extern "C"
22242 #endif
22243 /* We use char because int might match the return type of a gcc2
22244 builtin and then its argument prototype would still apply. */
22245 char $ac_func ();
22246 /* The GNU C library defines this for functions which it implements
22247 to always fail with ENOSYS. Some functions are actually named
22248 something starting with __ and the normal name is an alias. */
22249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22250 choke me
22251 #else
22252 char (*f) () = $ac_func;
22253 #endif
22254 #ifdef __cplusplus
22256 #endif
22259 main ()
22261 return f != $ac_func;
22263 return 0;
22265 _ACEOF
22266 rm -f conftest.$ac_objext conftest$ac_exeext
22267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22268 (eval $ac_link) 2>conftest.er1
22269 ac_status=$?
22270 grep -v '^ *+' conftest.er1 >conftest.err
22271 rm -f conftest.er1
22272 cat conftest.err >&5
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); } &&
22275 { ac_try='test -z "$ac_c_werror_flag"
22276 || test ! -s conftest.err'
22277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22278 (eval $ac_try) 2>&5
22279 ac_status=$?
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); }; } &&
22282 { ac_try='test -s conftest$ac_exeext'
22283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284 (eval $ac_try) 2>&5
22285 ac_status=$?
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; }; then
22288 eval "$as_ac_var=yes"
22289 else
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22293 eval "$as_ac_var=no"
22295 rm -f conftest.err conftest.$ac_objext \
22296 conftest$ac_exeext conftest.$ac_ext
22298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22300 if test `eval echo '${'$as_ac_var'}'` = yes; then
22301 cat >>confdefs.h <<_ACEOF
22302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22303 _ACEOF
22306 done
22316 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22317 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22318 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22319 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22320 echo $ECHO_N "(cached) $ECHO_C" >&6
22321 else
22325 ac_ext=cc
22326 ac_cpp='$CXXCPP $CPPFLAGS'
22327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 #include <math.h>
22339 main ()
22341 hypotl(0, 0);
22343 return 0;
22345 _ACEOF
22346 rm -f conftest.$ac_objext
22347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22348 (eval $ac_compile) 2>conftest.er1
22349 ac_status=$?
22350 grep -v '^ *+' conftest.er1 >conftest.err
22351 rm -f conftest.er1
22352 cat conftest.err >&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); } &&
22355 { ac_try='test -z "$ac_cxx_werror_flag"
22356 || test ! -s conftest.err'
22357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22358 (eval $ac_try) 2>&5
22359 ac_status=$?
22360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22361 (exit $ac_status); }; } &&
22362 { ac_try='test -s conftest.$ac_objext'
22363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22364 (eval $ac_try) 2>&5
22365 ac_status=$?
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); }; }; then
22368 glibcxx_cv_func_hypotl_use=yes
22369 else
22370 echo "$as_me: failed program was:" >&5
22371 sed 's/^/| /' conftest.$ac_ext >&5
22373 glibcxx_cv_func_hypotl_use=no
22375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22376 ac_ext=c
22377 ac_cpp='$CPP $CPPFLAGS'
22378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22386 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22387 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22389 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22391 for ac_func in hypotl
22393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22394 echo "$as_me:$LINENO: checking for $ac_func" >&5
22395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22396 if eval "test \"\${$as_ac_var+set}\" = set"; then
22397 echo $ECHO_N "(cached) $ECHO_C" >&6
22398 else
22399 if test x$gcc_no_link = xyes; then
22400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22402 { (exit 1); exit 1; }; }
22404 cat >conftest.$ac_ext <<_ACEOF
22405 /* confdefs.h. */
22406 _ACEOF
22407 cat confdefs.h >>conftest.$ac_ext
22408 cat >>conftest.$ac_ext <<_ACEOF
22409 /* end confdefs.h. */
22410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22412 #define $ac_func innocuous_$ac_func
22414 /* System header to define __stub macros and hopefully few prototypes,
22415 which can conflict with char $ac_func (); below.
22416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22417 <limits.h> exists even on freestanding compilers. */
22419 #ifdef __STDC__
22420 # include <limits.h>
22421 #else
22422 # include <assert.h>
22423 #endif
22425 #undef $ac_func
22427 /* Override any gcc2 internal prototype to avoid an error. */
22428 #ifdef __cplusplus
22429 extern "C"
22431 #endif
22432 /* We use char because int might match the return type of a gcc2
22433 builtin and then its argument prototype would still apply. */
22434 char $ac_func ();
22435 /* The GNU C library defines this for functions which it implements
22436 to always fail with ENOSYS. Some functions are actually named
22437 something starting with __ and the normal name is an alias. */
22438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22439 choke me
22440 #else
22441 char (*f) () = $ac_func;
22442 #endif
22443 #ifdef __cplusplus
22445 #endif
22448 main ()
22450 return f != $ac_func;
22452 return 0;
22454 _ACEOF
22455 rm -f conftest.$ac_objext conftest$ac_exeext
22456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22457 (eval $ac_link) 2>conftest.er1
22458 ac_status=$?
22459 grep -v '^ *+' conftest.er1 >conftest.err
22460 rm -f conftest.er1
22461 cat conftest.err >&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); } &&
22464 { ac_try='test -z "$ac_c_werror_flag"
22465 || test ! -s conftest.err'
22466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22467 (eval $ac_try) 2>&5
22468 ac_status=$?
22469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22470 (exit $ac_status); }; } &&
22471 { ac_try='test -s conftest$ac_exeext'
22472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22473 (eval $ac_try) 2>&5
22474 ac_status=$?
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); }; }; then
22477 eval "$as_ac_var=yes"
22478 else
22479 echo "$as_me: failed program was:" >&5
22480 sed 's/^/| /' conftest.$ac_ext >&5
22482 eval "$as_ac_var=no"
22484 rm -f conftest.err conftest.$ac_objext \
22485 conftest$ac_exeext conftest.$ac_ext
22487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22489 if test `eval echo '${'$as_ac_var'}'` = yes; then
22490 cat >>confdefs.h <<_ACEOF
22491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22492 _ACEOF
22495 done
22497 else
22499 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22500 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22501 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22502 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22503 echo $ECHO_N "(cached) $ECHO_C" >&6
22504 else
22508 ac_ext=cc
22509 ac_cpp='$CXXCPP $CPPFLAGS'
22510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22514 cat >conftest.$ac_ext <<_ACEOF
22515 /* confdefs.h. */
22516 _ACEOF
22517 cat confdefs.h >>conftest.$ac_ext
22518 cat >>conftest.$ac_ext <<_ACEOF
22519 /* end confdefs.h. */
22520 #include <math.h>
22522 main ()
22524 _hypotl(0, 0);
22526 return 0;
22528 _ACEOF
22529 rm -f conftest.$ac_objext
22530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22531 (eval $ac_compile) 2>conftest.er1
22532 ac_status=$?
22533 grep -v '^ *+' conftest.er1 >conftest.err
22534 rm -f conftest.er1
22535 cat conftest.err >&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } &&
22538 { ac_try='test -z "$ac_cxx_werror_flag"
22539 || test ! -s conftest.err'
22540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22541 (eval $ac_try) 2>&5
22542 ac_status=$?
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); }; } &&
22545 { ac_try='test -s conftest.$ac_objext'
22546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22547 (eval $ac_try) 2>&5
22548 ac_status=$?
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); }; }; then
22551 glibcxx_cv_func__hypotl_use=yes
22552 else
22553 echo "$as_me: failed program was:" >&5
22554 sed 's/^/| /' conftest.$ac_ext >&5
22556 glibcxx_cv_func__hypotl_use=no
22558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22559 ac_ext=c
22560 ac_cpp='$CPP $CPPFLAGS'
22561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22569 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22570 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22572 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22574 for ac_func in _hypotl
22576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22577 echo "$as_me:$LINENO: checking for $ac_func" >&5
22578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22579 if eval "test \"\${$as_ac_var+set}\" = set"; then
22580 echo $ECHO_N "(cached) $ECHO_C" >&6
22581 else
22582 if test x$gcc_no_link = xyes; then
22583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22585 { (exit 1); exit 1; }; }
22587 cat >conftest.$ac_ext <<_ACEOF
22588 /* confdefs.h. */
22589 _ACEOF
22590 cat confdefs.h >>conftest.$ac_ext
22591 cat >>conftest.$ac_ext <<_ACEOF
22592 /* end confdefs.h. */
22593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22595 #define $ac_func innocuous_$ac_func
22597 /* System header to define __stub macros and hopefully few prototypes,
22598 which can conflict with char $ac_func (); below.
22599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22600 <limits.h> exists even on freestanding compilers. */
22602 #ifdef __STDC__
22603 # include <limits.h>
22604 #else
22605 # include <assert.h>
22606 #endif
22608 #undef $ac_func
22610 /* Override any gcc2 internal prototype to avoid an error. */
22611 #ifdef __cplusplus
22612 extern "C"
22614 #endif
22615 /* We use char because int might match the return type of a gcc2
22616 builtin and then its argument prototype would still apply. */
22617 char $ac_func ();
22618 /* The GNU C library defines this for functions which it implements
22619 to always fail with ENOSYS. Some functions are actually named
22620 something starting with __ and the normal name is an alias. */
22621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22622 choke me
22623 #else
22624 char (*f) () = $ac_func;
22625 #endif
22626 #ifdef __cplusplus
22628 #endif
22631 main ()
22633 return f != $ac_func;
22635 return 0;
22637 _ACEOF
22638 rm -f conftest.$ac_objext conftest$ac_exeext
22639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22640 (eval $ac_link) 2>conftest.er1
22641 ac_status=$?
22642 grep -v '^ *+' conftest.er1 >conftest.err
22643 rm -f conftest.er1
22644 cat conftest.err >&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } &&
22647 { ac_try='test -z "$ac_c_werror_flag"
22648 || test ! -s conftest.err'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22651 ac_status=$?
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; } &&
22654 { ac_try='test -s conftest$ac_exeext'
22655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22656 (eval $ac_try) 2>&5
22657 ac_status=$?
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); }; }; then
22660 eval "$as_ac_var=yes"
22661 else
22662 echo "$as_me: failed program was:" >&5
22663 sed 's/^/| /' conftest.$ac_ext >&5
22665 eval "$as_ac_var=no"
22667 rm -f conftest.err conftest.$ac_objext \
22668 conftest$ac_exeext conftest.$ac_ext
22670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22672 if test `eval echo '${'$as_ac_var'}'` = yes; then
22673 cat >>confdefs.h <<_ACEOF
22674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22675 _ACEOF
22678 done
22688 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22689 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22690 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22691 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22692 echo $ECHO_N "(cached) $ECHO_C" >&6
22693 else
22697 ac_ext=cc
22698 ac_cpp='$CXXCPP $CPPFLAGS'
22699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22703 cat >conftest.$ac_ext <<_ACEOF
22704 /* confdefs.h. */
22705 _ACEOF
22706 cat confdefs.h >>conftest.$ac_ext
22707 cat >>conftest.$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22709 #include <math.h>
22711 main ()
22713 ldexpl(0, 0);
22715 return 0;
22717 _ACEOF
22718 rm -f conftest.$ac_objext
22719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22720 (eval $ac_compile) 2>conftest.er1
22721 ac_status=$?
22722 grep -v '^ *+' conftest.er1 >conftest.err
22723 rm -f conftest.er1
22724 cat conftest.err >&5
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); } &&
22727 { ac_try='test -z "$ac_cxx_werror_flag"
22728 || test ! -s conftest.err'
22729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22730 (eval $ac_try) 2>&5
22731 ac_status=$?
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); }; } &&
22734 { ac_try='test -s conftest.$ac_objext'
22735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22736 (eval $ac_try) 2>&5
22737 ac_status=$?
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); }; }; then
22740 glibcxx_cv_func_ldexpl_use=yes
22741 else
22742 echo "$as_me: failed program was:" >&5
22743 sed 's/^/| /' conftest.$ac_ext >&5
22745 glibcxx_cv_func_ldexpl_use=no
22747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22748 ac_ext=c
22749 ac_cpp='$CPP $CPPFLAGS'
22750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22758 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22759 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22761 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22763 for ac_func in ldexpl
22765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22766 echo "$as_me:$LINENO: checking for $ac_func" >&5
22767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22768 if eval "test \"\${$as_ac_var+set}\" = set"; then
22769 echo $ECHO_N "(cached) $ECHO_C" >&6
22770 else
22771 if test x$gcc_no_link = xyes; then
22772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22774 { (exit 1); exit 1; }; }
22776 cat >conftest.$ac_ext <<_ACEOF
22777 /* confdefs.h. */
22778 _ACEOF
22779 cat confdefs.h >>conftest.$ac_ext
22780 cat >>conftest.$ac_ext <<_ACEOF
22781 /* end confdefs.h. */
22782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22784 #define $ac_func innocuous_$ac_func
22786 /* System header to define __stub macros and hopefully few prototypes,
22787 which can conflict with char $ac_func (); below.
22788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22789 <limits.h> exists even on freestanding compilers. */
22791 #ifdef __STDC__
22792 # include <limits.h>
22793 #else
22794 # include <assert.h>
22795 #endif
22797 #undef $ac_func
22799 /* Override any gcc2 internal prototype to avoid an error. */
22800 #ifdef __cplusplus
22801 extern "C"
22803 #endif
22804 /* We use char because int might match the return type of a gcc2
22805 builtin and then its argument prototype would still apply. */
22806 char $ac_func ();
22807 /* The GNU C library defines this for functions which it implements
22808 to always fail with ENOSYS. Some functions are actually named
22809 something starting with __ and the normal name is an alias. */
22810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22811 choke me
22812 #else
22813 char (*f) () = $ac_func;
22814 #endif
22815 #ifdef __cplusplus
22817 #endif
22820 main ()
22822 return f != $ac_func;
22824 return 0;
22826 _ACEOF
22827 rm -f conftest.$ac_objext conftest$ac_exeext
22828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22829 (eval $ac_link) 2>conftest.er1
22830 ac_status=$?
22831 grep -v '^ *+' conftest.er1 >conftest.err
22832 rm -f conftest.er1
22833 cat conftest.err >&5
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); } &&
22836 { ac_try='test -z "$ac_c_werror_flag"
22837 || test ! -s conftest.err'
22838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22839 (eval $ac_try) 2>&5
22840 ac_status=$?
22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842 (exit $ac_status); }; } &&
22843 { ac_try='test -s conftest$ac_exeext'
22844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22845 (eval $ac_try) 2>&5
22846 ac_status=$?
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); }; }; then
22849 eval "$as_ac_var=yes"
22850 else
22851 echo "$as_me: failed program was:" >&5
22852 sed 's/^/| /' conftest.$ac_ext >&5
22854 eval "$as_ac_var=no"
22856 rm -f conftest.err conftest.$ac_objext \
22857 conftest$ac_exeext conftest.$ac_ext
22859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22861 if test `eval echo '${'$as_ac_var'}'` = yes; then
22862 cat >>confdefs.h <<_ACEOF
22863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22864 _ACEOF
22867 done
22869 else
22871 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22872 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22873 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22874 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22875 echo $ECHO_N "(cached) $ECHO_C" >&6
22876 else
22880 ac_ext=cc
22881 ac_cpp='$CXXCPP $CPPFLAGS'
22882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22886 cat >conftest.$ac_ext <<_ACEOF
22887 /* confdefs.h. */
22888 _ACEOF
22889 cat confdefs.h >>conftest.$ac_ext
22890 cat >>conftest.$ac_ext <<_ACEOF
22891 /* end confdefs.h. */
22892 #include <math.h>
22894 main ()
22896 _ldexpl(0, 0);
22898 return 0;
22900 _ACEOF
22901 rm -f conftest.$ac_objext
22902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22903 (eval $ac_compile) 2>conftest.er1
22904 ac_status=$?
22905 grep -v '^ *+' conftest.er1 >conftest.err
22906 rm -f conftest.er1
22907 cat conftest.err >&5
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); } &&
22910 { ac_try='test -z "$ac_cxx_werror_flag"
22911 || test ! -s conftest.err'
22912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22913 (eval $ac_try) 2>&5
22914 ac_status=$?
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); }; } &&
22917 { ac_try='test -s conftest.$ac_objext'
22918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22919 (eval $ac_try) 2>&5
22920 ac_status=$?
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); }; }; then
22923 glibcxx_cv_func__ldexpl_use=yes
22924 else
22925 echo "$as_me: failed program was:" >&5
22926 sed 's/^/| /' conftest.$ac_ext >&5
22928 glibcxx_cv_func__ldexpl_use=no
22930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22931 ac_ext=c
22932 ac_cpp='$CPP $CPPFLAGS'
22933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22941 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22942 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22944 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22946 for ac_func in _ldexpl
22948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22949 echo "$as_me:$LINENO: checking for $ac_func" >&5
22950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22951 if eval "test \"\${$as_ac_var+set}\" = set"; then
22952 echo $ECHO_N "(cached) $ECHO_C" >&6
22953 else
22954 if test x$gcc_no_link = xyes; then
22955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22957 { (exit 1); exit 1; }; }
22959 cat >conftest.$ac_ext <<_ACEOF
22960 /* confdefs.h. */
22961 _ACEOF
22962 cat confdefs.h >>conftest.$ac_ext
22963 cat >>conftest.$ac_ext <<_ACEOF
22964 /* end confdefs.h. */
22965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22967 #define $ac_func innocuous_$ac_func
22969 /* System header to define __stub macros and hopefully few prototypes,
22970 which can conflict with char $ac_func (); below.
22971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22972 <limits.h> exists even on freestanding compilers. */
22974 #ifdef __STDC__
22975 # include <limits.h>
22976 #else
22977 # include <assert.h>
22978 #endif
22980 #undef $ac_func
22982 /* Override any gcc2 internal prototype to avoid an error. */
22983 #ifdef __cplusplus
22984 extern "C"
22986 #endif
22987 /* We use char because int might match the return type of a gcc2
22988 builtin and then its argument prototype would still apply. */
22989 char $ac_func ();
22990 /* The GNU C library defines this for functions which it implements
22991 to always fail with ENOSYS. Some functions are actually named
22992 something starting with __ and the normal name is an alias. */
22993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22994 choke me
22995 #else
22996 char (*f) () = $ac_func;
22997 #endif
22998 #ifdef __cplusplus
23000 #endif
23003 main ()
23005 return f != $ac_func;
23007 return 0;
23009 _ACEOF
23010 rm -f conftest.$ac_objext conftest$ac_exeext
23011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23012 (eval $ac_link) 2>conftest.er1
23013 ac_status=$?
23014 grep -v '^ *+' conftest.er1 >conftest.err
23015 rm -f conftest.er1
23016 cat conftest.err >&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); } &&
23019 { ac_try='test -z "$ac_c_werror_flag"
23020 || test ! -s conftest.err'
23021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23022 (eval $ac_try) 2>&5
23023 ac_status=$?
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); }; } &&
23026 { ac_try='test -s conftest$ac_exeext'
23027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23028 (eval $ac_try) 2>&5
23029 ac_status=$?
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); }; }; then
23032 eval "$as_ac_var=yes"
23033 else
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.$ac_ext >&5
23037 eval "$as_ac_var=no"
23039 rm -f conftest.err conftest.$ac_objext \
23040 conftest$ac_exeext conftest.$ac_ext
23042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23044 if test `eval echo '${'$as_ac_var'}'` = yes; then
23045 cat >>confdefs.h <<_ACEOF
23046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23047 _ACEOF
23050 done
23060 echo "$as_me:$LINENO: checking for logl declaration" >&5
23061 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23062 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23063 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23064 echo $ECHO_N "(cached) $ECHO_C" >&6
23065 else
23069 ac_ext=cc
23070 ac_cpp='$CXXCPP $CPPFLAGS'
23071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23075 cat >conftest.$ac_ext <<_ACEOF
23076 /* confdefs.h. */
23077 _ACEOF
23078 cat confdefs.h >>conftest.$ac_ext
23079 cat >>conftest.$ac_ext <<_ACEOF
23080 /* end confdefs.h. */
23081 #include <math.h>
23082 #ifdef HAVE_IEEEFP_H
23083 #include <ieeefp.h>
23084 #endif
23087 main ()
23089 logl(0);
23091 return 0;
23093 _ACEOF
23094 rm -f conftest.$ac_objext
23095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23096 (eval $ac_compile) 2>conftest.er1
23097 ac_status=$?
23098 grep -v '^ *+' conftest.er1 >conftest.err
23099 rm -f conftest.er1
23100 cat conftest.err >&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); } &&
23103 { ac_try='test -z "$ac_cxx_werror_flag"
23104 || test ! -s conftest.err'
23105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23106 (eval $ac_try) 2>&5
23107 ac_status=$?
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); }; } &&
23110 { ac_try='test -s conftest.$ac_objext'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23113 ac_status=$?
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; }; then
23116 glibcxx_cv_func_logl_use=yes
23117 else
23118 echo "$as_me: failed program was:" >&5
23119 sed 's/^/| /' conftest.$ac_ext >&5
23121 glibcxx_cv_func_logl_use=no
23123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23124 ac_ext=c
23125 ac_cpp='$CPP $CPPFLAGS'
23126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23134 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23135 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23137 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23139 for ac_func in logl
23141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23142 echo "$as_me:$LINENO: checking for $ac_func" >&5
23143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23144 if eval "test \"\${$as_ac_var+set}\" = set"; then
23145 echo $ECHO_N "(cached) $ECHO_C" >&6
23146 else
23147 if test x$gcc_no_link = xyes; then
23148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23150 { (exit 1); exit 1; }; }
23152 cat >conftest.$ac_ext <<_ACEOF
23153 /* confdefs.h. */
23154 _ACEOF
23155 cat confdefs.h >>conftest.$ac_ext
23156 cat >>conftest.$ac_ext <<_ACEOF
23157 /* end confdefs.h. */
23158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23160 #define $ac_func innocuous_$ac_func
23162 /* System header to define __stub macros and hopefully few prototypes,
23163 which can conflict with char $ac_func (); below.
23164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23165 <limits.h> exists even on freestanding compilers. */
23167 #ifdef __STDC__
23168 # include <limits.h>
23169 #else
23170 # include <assert.h>
23171 #endif
23173 #undef $ac_func
23175 /* Override any gcc2 internal prototype to avoid an error. */
23176 #ifdef __cplusplus
23177 extern "C"
23179 #endif
23180 /* We use char because int might match the return type of a gcc2
23181 builtin and then its argument prototype would still apply. */
23182 char $ac_func ();
23183 /* The GNU C library defines this for functions which it implements
23184 to always fail with ENOSYS. Some functions are actually named
23185 something starting with __ and the normal name is an alias. */
23186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23187 choke me
23188 #else
23189 char (*f) () = $ac_func;
23190 #endif
23191 #ifdef __cplusplus
23193 #endif
23196 main ()
23198 return f != $ac_func;
23200 return 0;
23202 _ACEOF
23203 rm -f conftest.$ac_objext conftest$ac_exeext
23204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23205 (eval $ac_link) 2>conftest.er1
23206 ac_status=$?
23207 grep -v '^ *+' conftest.er1 >conftest.err
23208 rm -f conftest.er1
23209 cat conftest.err >&5
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); } &&
23212 { ac_try='test -z "$ac_c_werror_flag"
23213 || test ! -s conftest.err'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23216 ac_status=$?
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; } &&
23219 { ac_try='test -s conftest$ac_exeext'
23220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23221 (eval $ac_try) 2>&5
23222 ac_status=$?
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); }; }; then
23225 eval "$as_ac_var=yes"
23226 else
23227 echo "$as_me: failed program was:" >&5
23228 sed 's/^/| /' conftest.$ac_ext >&5
23230 eval "$as_ac_var=no"
23232 rm -f conftest.err conftest.$ac_objext \
23233 conftest$ac_exeext conftest.$ac_ext
23235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23237 if test `eval echo '${'$as_ac_var'}'` = yes; then
23238 cat >>confdefs.h <<_ACEOF
23239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23240 _ACEOF
23243 done
23245 else
23247 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23248 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23249 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23250 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23251 echo $ECHO_N "(cached) $ECHO_C" >&6
23252 else
23256 ac_ext=cc
23257 ac_cpp='$CXXCPP $CPPFLAGS'
23258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23262 cat >conftest.$ac_ext <<_ACEOF
23263 /* confdefs.h. */
23264 _ACEOF
23265 cat confdefs.h >>conftest.$ac_ext
23266 cat >>conftest.$ac_ext <<_ACEOF
23267 /* end confdefs.h. */
23268 #include <math.h>
23269 #ifdef HAVE_IEEEFP_H
23270 #include <ieeefp.h>
23271 #endif
23274 main ()
23276 _logl(0);
23278 return 0;
23280 _ACEOF
23281 rm -f conftest.$ac_objext
23282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23283 (eval $ac_compile) 2>conftest.er1
23284 ac_status=$?
23285 grep -v '^ *+' conftest.er1 >conftest.err
23286 rm -f conftest.er1
23287 cat conftest.err >&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); } &&
23290 { ac_try='test -z "$ac_cxx_werror_flag"
23291 || test ! -s conftest.err'
23292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23293 (eval $ac_try) 2>&5
23294 ac_status=$?
23295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); }; } &&
23297 { ac_try='test -s conftest.$ac_objext'
23298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23299 (eval $ac_try) 2>&5
23300 ac_status=$?
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); }; }; then
23303 glibcxx_cv_func__logl_use=yes
23304 else
23305 echo "$as_me: failed program was:" >&5
23306 sed 's/^/| /' conftest.$ac_ext >&5
23308 glibcxx_cv_func__logl_use=no
23310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23311 ac_ext=c
23312 ac_cpp='$CPP $CPPFLAGS'
23313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23321 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23322 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23324 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23326 for ac_func in _logl
23328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23329 echo "$as_me:$LINENO: checking for $ac_func" >&5
23330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23331 if eval "test \"\${$as_ac_var+set}\" = set"; then
23332 echo $ECHO_N "(cached) $ECHO_C" >&6
23333 else
23334 if test x$gcc_no_link = xyes; then
23335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23337 { (exit 1); exit 1; }; }
23339 cat >conftest.$ac_ext <<_ACEOF
23340 /* confdefs.h. */
23341 _ACEOF
23342 cat confdefs.h >>conftest.$ac_ext
23343 cat >>conftest.$ac_ext <<_ACEOF
23344 /* end confdefs.h. */
23345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23347 #define $ac_func innocuous_$ac_func
23349 /* System header to define __stub macros and hopefully few prototypes,
23350 which can conflict with char $ac_func (); below.
23351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23352 <limits.h> exists even on freestanding compilers. */
23354 #ifdef __STDC__
23355 # include <limits.h>
23356 #else
23357 # include <assert.h>
23358 #endif
23360 #undef $ac_func
23362 /* Override any gcc2 internal prototype to avoid an error. */
23363 #ifdef __cplusplus
23364 extern "C"
23366 #endif
23367 /* We use char because int might match the return type of a gcc2
23368 builtin and then its argument prototype would still apply. */
23369 char $ac_func ();
23370 /* The GNU C library defines this for functions which it implements
23371 to always fail with ENOSYS. Some functions are actually named
23372 something starting with __ and the normal name is an alias. */
23373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23374 choke me
23375 #else
23376 char (*f) () = $ac_func;
23377 #endif
23378 #ifdef __cplusplus
23380 #endif
23383 main ()
23385 return f != $ac_func;
23387 return 0;
23389 _ACEOF
23390 rm -f conftest.$ac_objext conftest$ac_exeext
23391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23392 (eval $ac_link) 2>conftest.er1
23393 ac_status=$?
23394 grep -v '^ *+' conftest.er1 >conftest.err
23395 rm -f conftest.er1
23396 cat conftest.err >&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); } &&
23399 { ac_try='test -z "$ac_c_werror_flag"
23400 || test ! -s conftest.err'
23401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23402 (eval $ac_try) 2>&5
23403 ac_status=$?
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; } &&
23406 { ac_try='test -s conftest$ac_exeext'
23407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408 (eval $ac_try) 2>&5
23409 ac_status=$?
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; }; then
23412 eval "$as_ac_var=yes"
23413 else
23414 echo "$as_me: failed program was:" >&5
23415 sed 's/^/| /' conftest.$ac_ext >&5
23417 eval "$as_ac_var=no"
23419 rm -f conftest.err conftest.$ac_objext \
23420 conftest$ac_exeext conftest.$ac_ext
23422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23424 if test `eval echo '${'$as_ac_var'}'` = yes; then
23425 cat >>confdefs.h <<_ACEOF
23426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23427 _ACEOF
23430 done
23440 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23441 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23442 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23443 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23444 echo $ECHO_N "(cached) $ECHO_C" >&6
23445 else
23449 ac_ext=cc
23450 ac_cpp='$CXXCPP $CPPFLAGS'
23451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23455 cat >conftest.$ac_ext <<_ACEOF
23456 /* confdefs.h. */
23457 _ACEOF
23458 cat confdefs.h >>conftest.$ac_ext
23459 cat >>conftest.$ac_ext <<_ACEOF
23460 /* end confdefs.h. */
23461 #include <math.h>
23462 #ifdef HAVE_IEEEFP_H
23463 #include <ieeefp.h>
23464 #endif
23467 main ()
23469 log10l(0);
23471 return 0;
23473 _ACEOF
23474 rm -f conftest.$ac_objext
23475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23476 (eval $ac_compile) 2>conftest.er1
23477 ac_status=$?
23478 grep -v '^ *+' conftest.er1 >conftest.err
23479 rm -f conftest.er1
23480 cat conftest.err >&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); } &&
23483 { ac_try='test -z "$ac_cxx_werror_flag"
23484 || test ! -s conftest.err'
23485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23486 (eval $ac_try) 2>&5
23487 ac_status=$?
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); }; } &&
23490 { ac_try='test -s conftest.$ac_objext'
23491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23492 (eval $ac_try) 2>&5
23493 ac_status=$?
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); }; }; then
23496 glibcxx_cv_func_log10l_use=yes
23497 else
23498 echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.$ac_ext >&5
23501 glibcxx_cv_func_log10l_use=no
23503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23504 ac_ext=c
23505 ac_cpp='$CPP $CPPFLAGS'
23506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23514 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23515 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23517 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23519 for ac_func in log10l
23521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23522 echo "$as_me:$LINENO: checking for $ac_func" >&5
23523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23524 if eval "test \"\${$as_ac_var+set}\" = set"; then
23525 echo $ECHO_N "(cached) $ECHO_C" >&6
23526 else
23527 if test x$gcc_no_link = xyes; then
23528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23530 { (exit 1); exit 1; }; }
23532 cat >conftest.$ac_ext <<_ACEOF
23533 /* confdefs.h. */
23534 _ACEOF
23535 cat confdefs.h >>conftest.$ac_ext
23536 cat >>conftest.$ac_ext <<_ACEOF
23537 /* end confdefs.h. */
23538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23540 #define $ac_func innocuous_$ac_func
23542 /* System header to define __stub macros and hopefully few prototypes,
23543 which can conflict with char $ac_func (); below.
23544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23545 <limits.h> exists even on freestanding compilers. */
23547 #ifdef __STDC__
23548 # include <limits.h>
23549 #else
23550 # include <assert.h>
23551 #endif
23553 #undef $ac_func
23555 /* Override any gcc2 internal prototype to avoid an error. */
23556 #ifdef __cplusplus
23557 extern "C"
23559 #endif
23560 /* We use char because int might match the return type of a gcc2
23561 builtin and then its argument prototype would still apply. */
23562 char $ac_func ();
23563 /* The GNU C library defines this for functions which it implements
23564 to always fail with ENOSYS. Some functions are actually named
23565 something starting with __ and the normal name is an alias. */
23566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23567 choke me
23568 #else
23569 char (*f) () = $ac_func;
23570 #endif
23571 #ifdef __cplusplus
23573 #endif
23576 main ()
23578 return f != $ac_func;
23580 return 0;
23582 _ACEOF
23583 rm -f conftest.$ac_objext conftest$ac_exeext
23584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23585 (eval $ac_link) 2>conftest.er1
23586 ac_status=$?
23587 grep -v '^ *+' conftest.er1 >conftest.err
23588 rm -f conftest.er1
23589 cat conftest.err >&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); } &&
23592 { ac_try='test -z "$ac_c_werror_flag"
23593 || test ! -s conftest.err'
23594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23595 (eval $ac_try) 2>&5
23596 ac_status=$?
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); }; } &&
23599 { ac_try='test -s conftest$ac_exeext'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23602 ac_status=$?
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; }; then
23605 eval "$as_ac_var=yes"
23606 else
23607 echo "$as_me: failed program was:" >&5
23608 sed 's/^/| /' conftest.$ac_ext >&5
23610 eval "$as_ac_var=no"
23612 rm -f conftest.err conftest.$ac_objext \
23613 conftest$ac_exeext conftest.$ac_ext
23615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23617 if test `eval echo '${'$as_ac_var'}'` = yes; then
23618 cat >>confdefs.h <<_ACEOF
23619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23620 _ACEOF
23623 done
23625 else
23627 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23628 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23629 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23630 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23631 echo $ECHO_N "(cached) $ECHO_C" >&6
23632 else
23636 ac_ext=cc
23637 ac_cpp='$CXXCPP $CPPFLAGS'
23638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23642 cat >conftest.$ac_ext <<_ACEOF
23643 /* confdefs.h. */
23644 _ACEOF
23645 cat confdefs.h >>conftest.$ac_ext
23646 cat >>conftest.$ac_ext <<_ACEOF
23647 /* end confdefs.h. */
23648 #include <math.h>
23649 #ifdef HAVE_IEEEFP_H
23650 #include <ieeefp.h>
23651 #endif
23654 main ()
23656 _log10l(0);
23658 return 0;
23660 _ACEOF
23661 rm -f conftest.$ac_objext
23662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23663 (eval $ac_compile) 2>conftest.er1
23664 ac_status=$?
23665 grep -v '^ *+' conftest.er1 >conftest.err
23666 rm -f conftest.er1
23667 cat conftest.err >&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } &&
23670 { ac_try='test -z "$ac_cxx_werror_flag"
23671 || test ! -s conftest.err'
23672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23673 (eval $ac_try) 2>&5
23674 ac_status=$?
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); }; } &&
23677 { ac_try='test -s conftest.$ac_objext'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23680 ac_status=$?
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; }; then
23683 glibcxx_cv_func__log10l_use=yes
23684 else
23685 echo "$as_me: failed program was:" >&5
23686 sed 's/^/| /' conftest.$ac_ext >&5
23688 glibcxx_cv_func__log10l_use=no
23690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23691 ac_ext=c
23692 ac_cpp='$CPP $CPPFLAGS'
23693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23701 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23702 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23704 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23706 for ac_func in _log10l
23708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23709 echo "$as_me:$LINENO: checking for $ac_func" >&5
23710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23711 if eval "test \"\${$as_ac_var+set}\" = set"; then
23712 echo $ECHO_N "(cached) $ECHO_C" >&6
23713 else
23714 if test x$gcc_no_link = xyes; then
23715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23717 { (exit 1); exit 1; }; }
23719 cat >conftest.$ac_ext <<_ACEOF
23720 /* confdefs.h. */
23721 _ACEOF
23722 cat confdefs.h >>conftest.$ac_ext
23723 cat >>conftest.$ac_ext <<_ACEOF
23724 /* end confdefs.h. */
23725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23727 #define $ac_func innocuous_$ac_func
23729 /* System header to define __stub macros and hopefully few prototypes,
23730 which can conflict with char $ac_func (); below.
23731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23732 <limits.h> exists even on freestanding compilers. */
23734 #ifdef __STDC__
23735 # include <limits.h>
23736 #else
23737 # include <assert.h>
23738 #endif
23740 #undef $ac_func
23742 /* Override any gcc2 internal prototype to avoid an error. */
23743 #ifdef __cplusplus
23744 extern "C"
23746 #endif
23747 /* We use char because int might match the return type of a gcc2
23748 builtin and then its argument prototype would still apply. */
23749 char $ac_func ();
23750 /* The GNU C library defines this for functions which it implements
23751 to always fail with ENOSYS. Some functions are actually named
23752 something starting with __ and the normal name is an alias. */
23753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23754 choke me
23755 #else
23756 char (*f) () = $ac_func;
23757 #endif
23758 #ifdef __cplusplus
23760 #endif
23763 main ()
23765 return f != $ac_func;
23767 return 0;
23769 _ACEOF
23770 rm -f conftest.$ac_objext conftest$ac_exeext
23771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23772 (eval $ac_link) 2>conftest.er1
23773 ac_status=$?
23774 grep -v '^ *+' conftest.er1 >conftest.err
23775 rm -f conftest.er1
23776 cat conftest.err >&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); } &&
23779 { ac_try='test -z "$ac_c_werror_flag"
23780 || test ! -s conftest.err'
23781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23782 (eval $ac_try) 2>&5
23783 ac_status=$?
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); }; } &&
23786 { ac_try='test -s conftest$ac_exeext'
23787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23788 (eval $ac_try) 2>&5
23789 ac_status=$?
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); }; }; then
23792 eval "$as_ac_var=yes"
23793 else
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.$ac_ext >&5
23797 eval "$as_ac_var=no"
23799 rm -f conftest.err conftest.$ac_objext \
23800 conftest$ac_exeext conftest.$ac_ext
23802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23804 if test `eval echo '${'$as_ac_var'}'` = yes; then
23805 cat >>confdefs.h <<_ACEOF
23806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23807 _ACEOF
23810 done
23820 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23821 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23822 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23823 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23824 echo $ECHO_N "(cached) $ECHO_C" >&6
23825 else
23829 ac_ext=cc
23830 ac_cpp='$CXXCPP $CPPFLAGS'
23831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23835 cat >conftest.$ac_ext <<_ACEOF
23836 /* confdefs.h. */
23837 _ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841 #include <math.h>
23843 main ()
23845 modfl(0, 0);
23847 return 0;
23849 _ACEOF
23850 rm -f conftest.$ac_objext
23851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23852 (eval $ac_compile) 2>conftest.er1
23853 ac_status=$?
23854 grep -v '^ *+' conftest.er1 >conftest.err
23855 rm -f conftest.er1
23856 cat conftest.err >&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } &&
23859 { ac_try='test -z "$ac_cxx_werror_flag"
23860 || test ! -s conftest.err'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23863 ac_status=$?
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; } &&
23866 { ac_try='test -s conftest.$ac_objext'
23867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23868 (eval $ac_try) 2>&5
23869 ac_status=$?
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); }; }; then
23872 glibcxx_cv_func_modfl_use=yes
23873 else
23874 echo "$as_me: failed program was:" >&5
23875 sed 's/^/| /' conftest.$ac_ext >&5
23877 glibcxx_cv_func_modfl_use=no
23879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23880 ac_ext=c
23881 ac_cpp='$CPP $CPPFLAGS'
23882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23891 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23893 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23895 for ac_func in modfl
23897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23898 echo "$as_me:$LINENO: checking for $ac_func" >&5
23899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23900 if eval "test \"\${$as_ac_var+set}\" = set"; then
23901 echo $ECHO_N "(cached) $ECHO_C" >&6
23902 else
23903 if test x$gcc_no_link = xyes; then
23904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23906 { (exit 1); exit 1; }; }
23908 cat >conftest.$ac_ext <<_ACEOF
23909 /* confdefs.h. */
23910 _ACEOF
23911 cat confdefs.h >>conftest.$ac_ext
23912 cat >>conftest.$ac_ext <<_ACEOF
23913 /* end confdefs.h. */
23914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23916 #define $ac_func innocuous_$ac_func
23918 /* System header to define __stub macros and hopefully few prototypes,
23919 which can conflict with char $ac_func (); below.
23920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23921 <limits.h> exists even on freestanding compilers. */
23923 #ifdef __STDC__
23924 # include <limits.h>
23925 #else
23926 # include <assert.h>
23927 #endif
23929 #undef $ac_func
23931 /* Override any gcc2 internal prototype to avoid an error. */
23932 #ifdef __cplusplus
23933 extern "C"
23935 #endif
23936 /* We use char because int might match the return type of a gcc2
23937 builtin and then its argument prototype would still apply. */
23938 char $ac_func ();
23939 /* The GNU C library defines this for functions which it implements
23940 to always fail with ENOSYS. Some functions are actually named
23941 something starting with __ and the normal name is an alias. */
23942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23943 choke me
23944 #else
23945 char (*f) () = $ac_func;
23946 #endif
23947 #ifdef __cplusplus
23949 #endif
23952 main ()
23954 return f != $ac_func;
23956 return 0;
23958 _ACEOF
23959 rm -f conftest.$ac_objext conftest$ac_exeext
23960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23961 (eval $ac_link) 2>conftest.er1
23962 ac_status=$?
23963 grep -v '^ *+' conftest.er1 >conftest.err
23964 rm -f conftest.er1
23965 cat conftest.err >&5
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); } &&
23968 { ac_try='test -z "$ac_c_werror_flag"
23969 || test ! -s conftest.err'
23970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23971 (eval $ac_try) 2>&5
23972 ac_status=$?
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); }; } &&
23975 { ac_try='test -s conftest$ac_exeext'
23976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23977 (eval $ac_try) 2>&5
23978 ac_status=$?
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); }; }; then
23981 eval "$as_ac_var=yes"
23982 else
23983 echo "$as_me: failed program was:" >&5
23984 sed 's/^/| /' conftest.$ac_ext >&5
23986 eval "$as_ac_var=no"
23988 rm -f conftest.err conftest.$ac_objext \
23989 conftest$ac_exeext conftest.$ac_ext
23991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23993 if test `eval echo '${'$as_ac_var'}'` = yes; then
23994 cat >>confdefs.h <<_ACEOF
23995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23996 _ACEOF
23999 done
24001 else
24003 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24004 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24005 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24006 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24007 echo $ECHO_N "(cached) $ECHO_C" >&6
24008 else
24012 ac_ext=cc
24013 ac_cpp='$CXXCPP $CPPFLAGS'
24014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24018 cat >conftest.$ac_ext <<_ACEOF
24019 /* confdefs.h. */
24020 _ACEOF
24021 cat confdefs.h >>conftest.$ac_ext
24022 cat >>conftest.$ac_ext <<_ACEOF
24023 /* end confdefs.h. */
24024 #include <math.h>
24026 main ()
24028 _modfl(0, 0);
24030 return 0;
24032 _ACEOF
24033 rm -f conftest.$ac_objext
24034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24035 (eval $ac_compile) 2>conftest.er1
24036 ac_status=$?
24037 grep -v '^ *+' conftest.er1 >conftest.err
24038 rm -f conftest.er1
24039 cat conftest.err >&5
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); } &&
24042 { ac_try='test -z "$ac_cxx_werror_flag"
24043 || test ! -s conftest.err'
24044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24045 (eval $ac_try) 2>&5
24046 ac_status=$?
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); }; } &&
24049 { ac_try='test -s conftest.$ac_objext'
24050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24051 (eval $ac_try) 2>&5
24052 ac_status=$?
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); }; }; then
24055 glibcxx_cv_func__modfl_use=yes
24056 else
24057 echo "$as_me: failed program was:" >&5
24058 sed 's/^/| /' conftest.$ac_ext >&5
24060 glibcxx_cv_func__modfl_use=no
24062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24063 ac_ext=c
24064 ac_cpp='$CPP $CPPFLAGS'
24065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24074 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24076 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24078 for ac_func in _modfl
24080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24081 echo "$as_me:$LINENO: checking for $ac_func" >&5
24082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24083 if eval "test \"\${$as_ac_var+set}\" = set"; then
24084 echo $ECHO_N "(cached) $ECHO_C" >&6
24085 else
24086 if test x$gcc_no_link = xyes; then
24087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24089 { (exit 1); exit 1; }; }
24091 cat >conftest.$ac_ext <<_ACEOF
24092 /* confdefs.h. */
24093 _ACEOF
24094 cat confdefs.h >>conftest.$ac_ext
24095 cat >>conftest.$ac_ext <<_ACEOF
24096 /* end confdefs.h. */
24097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24099 #define $ac_func innocuous_$ac_func
24101 /* System header to define __stub macros and hopefully few prototypes,
24102 which can conflict with char $ac_func (); below.
24103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24104 <limits.h> exists even on freestanding compilers. */
24106 #ifdef __STDC__
24107 # include <limits.h>
24108 #else
24109 # include <assert.h>
24110 #endif
24112 #undef $ac_func
24114 /* Override any gcc2 internal prototype to avoid an error. */
24115 #ifdef __cplusplus
24116 extern "C"
24118 #endif
24119 /* We use char because int might match the return type of a gcc2
24120 builtin and then its argument prototype would still apply. */
24121 char $ac_func ();
24122 /* The GNU C library defines this for functions which it implements
24123 to always fail with ENOSYS. Some functions are actually named
24124 something starting with __ and the normal name is an alias. */
24125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24126 choke me
24127 #else
24128 char (*f) () = $ac_func;
24129 #endif
24130 #ifdef __cplusplus
24132 #endif
24135 main ()
24137 return f != $ac_func;
24139 return 0;
24141 _ACEOF
24142 rm -f conftest.$ac_objext conftest$ac_exeext
24143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24144 (eval $ac_link) 2>conftest.er1
24145 ac_status=$?
24146 grep -v '^ *+' conftest.er1 >conftest.err
24147 rm -f conftest.er1
24148 cat conftest.err >&5
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); } &&
24151 { ac_try='test -z "$ac_c_werror_flag"
24152 || test ! -s conftest.err'
24153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24154 (eval $ac_try) 2>&5
24155 ac_status=$?
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); }; } &&
24158 { ac_try='test -s conftest$ac_exeext'
24159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24160 (eval $ac_try) 2>&5
24161 ac_status=$?
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); }; }; then
24164 eval "$as_ac_var=yes"
24165 else
24166 echo "$as_me: failed program was:" >&5
24167 sed 's/^/| /' conftest.$ac_ext >&5
24169 eval "$as_ac_var=no"
24171 rm -f conftest.err conftest.$ac_objext \
24172 conftest$ac_exeext conftest.$ac_ext
24174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24176 if test `eval echo '${'$as_ac_var'}'` = yes; then
24177 cat >>confdefs.h <<_ACEOF
24178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24179 _ACEOF
24182 done
24192 echo "$as_me:$LINENO: checking for powl declaration" >&5
24193 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24194 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24195 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24196 echo $ECHO_N "(cached) $ECHO_C" >&6
24197 else
24201 ac_ext=cc
24202 ac_cpp='$CXXCPP $CPPFLAGS'
24203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24207 cat >conftest.$ac_ext <<_ACEOF
24208 /* confdefs.h. */
24209 _ACEOF
24210 cat confdefs.h >>conftest.$ac_ext
24211 cat >>conftest.$ac_ext <<_ACEOF
24212 /* end confdefs.h. */
24213 #include <math.h>
24215 main ()
24217 powl(0, 0);
24219 return 0;
24221 _ACEOF
24222 rm -f conftest.$ac_objext
24223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24224 (eval $ac_compile) 2>conftest.er1
24225 ac_status=$?
24226 grep -v '^ *+' conftest.er1 >conftest.err
24227 rm -f conftest.er1
24228 cat conftest.err >&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); } &&
24231 { ac_try='test -z "$ac_cxx_werror_flag"
24232 || test ! -s conftest.err'
24233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24234 (eval $ac_try) 2>&5
24235 ac_status=$?
24236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237 (exit $ac_status); }; } &&
24238 { ac_try='test -s conftest.$ac_objext'
24239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24240 (eval $ac_try) 2>&5
24241 ac_status=$?
24242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24243 (exit $ac_status); }; }; then
24244 glibcxx_cv_func_powl_use=yes
24245 else
24246 echo "$as_me: failed program was:" >&5
24247 sed 's/^/| /' conftest.$ac_ext >&5
24249 glibcxx_cv_func_powl_use=no
24251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24252 ac_ext=c
24253 ac_cpp='$CPP $CPPFLAGS'
24254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24262 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24263 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24265 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24267 for ac_func in powl
24269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24270 echo "$as_me:$LINENO: checking for $ac_func" >&5
24271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24272 if eval "test \"\${$as_ac_var+set}\" = set"; then
24273 echo $ECHO_N "(cached) $ECHO_C" >&6
24274 else
24275 if test x$gcc_no_link = xyes; then
24276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24278 { (exit 1); exit 1; }; }
24280 cat >conftest.$ac_ext <<_ACEOF
24281 /* confdefs.h. */
24282 _ACEOF
24283 cat confdefs.h >>conftest.$ac_ext
24284 cat >>conftest.$ac_ext <<_ACEOF
24285 /* end confdefs.h. */
24286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24288 #define $ac_func innocuous_$ac_func
24290 /* System header to define __stub macros and hopefully few prototypes,
24291 which can conflict with char $ac_func (); below.
24292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24293 <limits.h> exists even on freestanding compilers. */
24295 #ifdef __STDC__
24296 # include <limits.h>
24297 #else
24298 # include <assert.h>
24299 #endif
24301 #undef $ac_func
24303 /* Override any gcc2 internal prototype to avoid an error. */
24304 #ifdef __cplusplus
24305 extern "C"
24307 #endif
24308 /* We use char because int might match the return type of a gcc2
24309 builtin and then its argument prototype would still apply. */
24310 char $ac_func ();
24311 /* The GNU C library defines this for functions which it implements
24312 to always fail with ENOSYS. Some functions are actually named
24313 something starting with __ and the normal name is an alias. */
24314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24315 choke me
24316 #else
24317 char (*f) () = $ac_func;
24318 #endif
24319 #ifdef __cplusplus
24321 #endif
24324 main ()
24326 return f != $ac_func;
24328 return 0;
24330 _ACEOF
24331 rm -f conftest.$ac_objext conftest$ac_exeext
24332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24333 (eval $ac_link) 2>conftest.er1
24334 ac_status=$?
24335 grep -v '^ *+' conftest.er1 >conftest.err
24336 rm -f conftest.er1
24337 cat conftest.err >&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); } &&
24340 { ac_try='test -z "$ac_c_werror_flag"
24341 || test ! -s conftest.err'
24342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24343 (eval $ac_try) 2>&5
24344 ac_status=$?
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); }; } &&
24347 { ac_try='test -s conftest$ac_exeext'
24348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24349 (eval $ac_try) 2>&5
24350 ac_status=$?
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); }; }; then
24353 eval "$as_ac_var=yes"
24354 else
24355 echo "$as_me: failed program was:" >&5
24356 sed 's/^/| /' conftest.$ac_ext >&5
24358 eval "$as_ac_var=no"
24360 rm -f conftest.err conftest.$ac_objext \
24361 conftest$ac_exeext conftest.$ac_ext
24363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24365 if test `eval echo '${'$as_ac_var'}'` = yes; then
24366 cat >>confdefs.h <<_ACEOF
24367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24368 _ACEOF
24371 done
24373 else
24375 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24376 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24377 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24378 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24379 echo $ECHO_N "(cached) $ECHO_C" >&6
24380 else
24384 ac_ext=cc
24385 ac_cpp='$CXXCPP $CPPFLAGS'
24386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24390 cat >conftest.$ac_ext <<_ACEOF
24391 /* confdefs.h. */
24392 _ACEOF
24393 cat confdefs.h >>conftest.$ac_ext
24394 cat >>conftest.$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24396 #include <math.h>
24398 main ()
24400 _powl(0, 0);
24402 return 0;
24404 _ACEOF
24405 rm -f conftest.$ac_objext
24406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24407 (eval $ac_compile) 2>conftest.er1
24408 ac_status=$?
24409 grep -v '^ *+' conftest.er1 >conftest.err
24410 rm -f conftest.er1
24411 cat conftest.err >&5
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); } &&
24414 { ac_try='test -z "$ac_cxx_werror_flag"
24415 || test ! -s conftest.err'
24416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24417 (eval $ac_try) 2>&5
24418 ac_status=$?
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); }; } &&
24421 { ac_try='test -s conftest.$ac_objext'
24422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24423 (eval $ac_try) 2>&5
24424 ac_status=$?
24425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); }; }; then
24427 glibcxx_cv_func__powl_use=yes
24428 else
24429 echo "$as_me: failed program was:" >&5
24430 sed 's/^/| /' conftest.$ac_ext >&5
24432 glibcxx_cv_func__powl_use=no
24434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24435 ac_ext=c
24436 ac_cpp='$CPP $CPPFLAGS'
24437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24445 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24446 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24448 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24450 for ac_func in _powl
24452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24453 echo "$as_me:$LINENO: checking for $ac_func" >&5
24454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24455 if eval "test \"\${$as_ac_var+set}\" = set"; then
24456 echo $ECHO_N "(cached) $ECHO_C" >&6
24457 else
24458 if test x$gcc_no_link = xyes; then
24459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24461 { (exit 1); exit 1; }; }
24463 cat >conftest.$ac_ext <<_ACEOF
24464 /* confdefs.h. */
24465 _ACEOF
24466 cat confdefs.h >>conftest.$ac_ext
24467 cat >>conftest.$ac_ext <<_ACEOF
24468 /* end confdefs.h. */
24469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24471 #define $ac_func innocuous_$ac_func
24473 /* System header to define __stub macros and hopefully few prototypes,
24474 which can conflict with char $ac_func (); below.
24475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24476 <limits.h> exists even on freestanding compilers. */
24478 #ifdef __STDC__
24479 # include <limits.h>
24480 #else
24481 # include <assert.h>
24482 #endif
24484 #undef $ac_func
24486 /* Override any gcc2 internal prototype to avoid an error. */
24487 #ifdef __cplusplus
24488 extern "C"
24490 #endif
24491 /* We use char because int might match the return type of a gcc2
24492 builtin and then its argument prototype would still apply. */
24493 char $ac_func ();
24494 /* The GNU C library defines this for functions which it implements
24495 to always fail with ENOSYS. Some functions are actually named
24496 something starting with __ and the normal name is an alias. */
24497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24498 choke me
24499 #else
24500 char (*f) () = $ac_func;
24501 #endif
24502 #ifdef __cplusplus
24504 #endif
24507 main ()
24509 return f != $ac_func;
24511 return 0;
24513 _ACEOF
24514 rm -f conftest.$ac_objext conftest$ac_exeext
24515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24516 (eval $ac_link) 2>conftest.er1
24517 ac_status=$?
24518 grep -v '^ *+' conftest.er1 >conftest.err
24519 rm -f conftest.er1
24520 cat conftest.err >&5
24521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24522 (exit $ac_status); } &&
24523 { ac_try='test -z "$ac_c_werror_flag"
24524 || test ! -s conftest.err'
24525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24526 (eval $ac_try) 2>&5
24527 ac_status=$?
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); }; } &&
24530 { ac_try='test -s conftest$ac_exeext'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24533 ac_status=$?
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; }; then
24536 eval "$as_ac_var=yes"
24537 else
24538 echo "$as_me: failed program was:" >&5
24539 sed 's/^/| /' conftest.$ac_ext >&5
24541 eval "$as_ac_var=no"
24543 rm -f conftest.err conftest.$ac_objext \
24544 conftest$ac_exeext conftest.$ac_ext
24546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24548 if test `eval echo '${'$as_ac_var'}'` = yes; then
24549 cat >>confdefs.h <<_ACEOF
24550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24551 _ACEOF
24554 done
24564 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24565 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24566 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24567 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24568 echo $ECHO_N "(cached) $ECHO_C" >&6
24569 else
24573 ac_ext=cc
24574 ac_cpp='$CXXCPP $CPPFLAGS'
24575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24579 cat >conftest.$ac_ext <<_ACEOF
24580 /* confdefs.h. */
24581 _ACEOF
24582 cat confdefs.h >>conftest.$ac_ext
24583 cat >>conftest.$ac_ext <<_ACEOF
24584 /* end confdefs.h. */
24585 #include <math.h>
24586 #ifdef HAVE_IEEEFP_H
24587 #include <ieeefp.h>
24588 #endif
24591 main ()
24593 sqrtl(0);
24595 return 0;
24597 _ACEOF
24598 rm -f conftest.$ac_objext
24599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24600 (eval $ac_compile) 2>conftest.er1
24601 ac_status=$?
24602 grep -v '^ *+' conftest.er1 >conftest.err
24603 rm -f conftest.er1
24604 cat conftest.err >&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); } &&
24607 { ac_try='test -z "$ac_cxx_werror_flag"
24608 || test ! -s conftest.err'
24609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24610 (eval $ac_try) 2>&5
24611 ac_status=$?
24612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613 (exit $ac_status); }; } &&
24614 { ac_try='test -s conftest.$ac_objext'
24615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24616 (eval $ac_try) 2>&5
24617 ac_status=$?
24618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619 (exit $ac_status); }; }; then
24620 glibcxx_cv_func_sqrtl_use=yes
24621 else
24622 echo "$as_me: failed program was:" >&5
24623 sed 's/^/| /' conftest.$ac_ext >&5
24625 glibcxx_cv_func_sqrtl_use=no
24627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24628 ac_ext=c
24629 ac_cpp='$CPP $CPPFLAGS'
24630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24638 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24639 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24641 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24643 for ac_func in sqrtl
24645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24646 echo "$as_me:$LINENO: checking for $ac_func" >&5
24647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24648 if eval "test \"\${$as_ac_var+set}\" = set"; then
24649 echo $ECHO_N "(cached) $ECHO_C" >&6
24650 else
24651 if test x$gcc_no_link = xyes; then
24652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24654 { (exit 1); exit 1; }; }
24656 cat >conftest.$ac_ext <<_ACEOF
24657 /* confdefs.h. */
24658 _ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24664 #define $ac_func innocuous_$ac_func
24666 /* System header to define __stub macros and hopefully few prototypes,
24667 which can conflict with char $ac_func (); below.
24668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24669 <limits.h> exists even on freestanding compilers. */
24671 #ifdef __STDC__
24672 # include <limits.h>
24673 #else
24674 # include <assert.h>
24675 #endif
24677 #undef $ac_func
24679 /* Override any gcc2 internal prototype to avoid an error. */
24680 #ifdef __cplusplus
24681 extern "C"
24683 #endif
24684 /* We use char because int might match the return type of a gcc2
24685 builtin and then its argument prototype would still apply. */
24686 char $ac_func ();
24687 /* The GNU C library defines this for functions which it implements
24688 to always fail with ENOSYS. Some functions are actually named
24689 something starting with __ and the normal name is an alias. */
24690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24691 choke me
24692 #else
24693 char (*f) () = $ac_func;
24694 #endif
24695 #ifdef __cplusplus
24697 #endif
24700 main ()
24702 return f != $ac_func;
24704 return 0;
24706 _ACEOF
24707 rm -f conftest.$ac_objext conftest$ac_exeext
24708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24709 (eval $ac_link) 2>conftest.er1
24710 ac_status=$?
24711 grep -v '^ *+' conftest.er1 >conftest.err
24712 rm -f conftest.er1
24713 cat conftest.err >&5
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); } &&
24716 { ac_try='test -z "$ac_c_werror_flag"
24717 || test ! -s conftest.err'
24718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24719 (eval $ac_try) 2>&5
24720 ac_status=$?
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); }; } &&
24723 { ac_try='test -s conftest$ac_exeext'
24724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24725 (eval $ac_try) 2>&5
24726 ac_status=$?
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); }; }; then
24729 eval "$as_ac_var=yes"
24730 else
24731 echo "$as_me: failed program was:" >&5
24732 sed 's/^/| /' conftest.$ac_ext >&5
24734 eval "$as_ac_var=no"
24736 rm -f conftest.err conftest.$ac_objext \
24737 conftest$ac_exeext conftest.$ac_ext
24739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24741 if test `eval echo '${'$as_ac_var'}'` = yes; then
24742 cat >>confdefs.h <<_ACEOF
24743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24744 _ACEOF
24747 done
24749 else
24751 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24752 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24753 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24754 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24756 else
24760 ac_ext=cc
24761 ac_cpp='$CXXCPP $CPPFLAGS'
24762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24766 cat >conftest.$ac_ext <<_ACEOF
24767 /* confdefs.h. */
24768 _ACEOF
24769 cat confdefs.h >>conftest.$ac_ext
24770 cat >>conftest.$ac_ext <<_ACEOF
24771 /* end confdefs.h. */
24772 #include <math.h>
24773 #ifdef HAVE_IEEEFP_H
24774 #include <ieeefp.h>
24775 #endif
24778 main ()
24780 _sqrtl(0);
24782 return 0;
24784 _ACEOF
24785 rm -f conftest.$ac_objext
24786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24787 (eval $ac_compile) 2>conftest.er1
24788 ac_status=$?
24789 grep -v '^ *+' conftest.er1 >conftest.err
24790 rm -f conftest.er1
24791 cat conftest.err >&5
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); } &&
24794 { ac_try='test -z "$ac_cxx_werror_flag"
24795 || test ! -s conftest.err'
24796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24797 (eval $ac_try) 2>&5
24798 ac_status=$?
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); }; } &&
24801 { ac_try='test -s conftest.$ac_objext'
24802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803 (eval $ac_try) 2>&5
24804 ac_status=$?
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); }; }; then
24807 glibcxx_cv_func__sqrtl_use=yes
24808 else
24809 echo "$as_me: failed program was:" >&5
24810 sed 's/^/| /' conftest.$ac_ext >&5
24812 glibcxx_cv_func__sqrtl_use=no
24814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24815 ac_ext=c
24816 ac_cpp='$CPP $CPPFLAGS'
24817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24825 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24826 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24828 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24830 for ac_func in _sqrtl
24832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24833 echo "$as_me:$LINENO: checking for $ac_func" >&5
24834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24835 if eval "test \"\${$as_ac_var+set}\" = set"; then
24836 echo $ECHO_N "(cached) $ECHO_C" >&6
24837 else
24838 if test x$gcc_no_link = xyes; then
24839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24841 { (exit 1); exit 1; }; }
24843 cat >conftest.$ac_ext <<_ACEOF
24844 /* confdefs.h. */
24845 _ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24851 #define $ac_func innocuous_$ac_func
24853 /* System header to define __stub macros and hopefully few prototypes,
24854 which can conflict with char $ac_func (); below.
24855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24856 <limits.h> exists even on freestanding compilers. */
24858 #ifdef __STDC__
24859 # include <limits.h>
24860 #else
24861 # include <assert.h>
24862 #endif
24864 #undef $ac_func
24866 /* Override any gcc2 internal prototype to avoid an error. */
24867 #ifdef __cplusplus
24868 extern "C"
24870 #endif
24871 /* We use char because int might match the return type of a gcc2
24872 builtin and then its argument prototype would still apply. */
24873 char $ac_func ();
24874 /* The GNU C library defines this for functions which it implements
24875 to always fail with ENOSYS. Some functions are actually named
24876 something starting with __ and the normal name is an alias. */
24877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24878 choke me
24879 #else
24880 char (*f) () = $ac_func;
24881 #endif
24882 #ifdef __cplusplus
24884 #endif
24887 main ()
24889 return f != $ac_func;
24891 return 0;
24893 _ACEOF
24894 rm -f conftest.$ac_objext conftest$ac_exeext
24895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24896 (eval $ac_link) 2>conftest.er1
24897 ac_status=$?
24898 grep -v '^ *+' conftest.er1 >conftest.err
24899 rm -f conftest.er1
24900 cat conftest.err >&5
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); } &&
24903 { ac_try='test -z "$ac_c_werror_flag"
24904 || test ! -s conftest.err'
24905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24906 (eval $ac_try) 2>&5
24907 ac_status=$?
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); }; } &&
24910 { ac_try='test -s conftest$ac_exeext'
24911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912 (eval $ac_try) 2>&5
24913 ac_status=$?
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; }; then
24916 eval "$as_ac_var=yes"
24917 else
24918 echo "$as_me: failed program was:" >&5
24919 sed 's/^/| /' conftest.$ac_ext >&5
24921 eval "$as_ac_var=no"
24923 rm -f conftest.err conftest.$ac_objext \
24924 conftest$ac_exeext conftest.$ac_ext
24926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24928 if test `eval echo '${'$as_ac_var'}'` = yes; then
24929 cat >>confdefs.h <<_ACEOF
24930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24931 _ACEOF
24934 done
24944 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24945 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24946 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24947 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24948 echo $ECHO_N "(cached) $ECHO_C" >&6
24949 else
24953 ac_ext=cc
24954 ac_cpp='$CXXCPP $CPPFLAGS'
24955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24959 cat >conftest.$ac_ext <<_ACEOF
24960 /* confdefs.h. */
24961 _ACEOF
24962 cat confdefs.h >>conftest.$ac_ext
24963 cat >>conftest.$ac_ext <<_ACEOF
24964 /* end confdefs.h. */
24965 #include <math.h>
24967 main ()
24969 sincosl(0, 0, 0);
24971 return 0;
24973 _ACEOF
24974 rm -f conftest.$ac_objext
24975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24976 (eval $ac_compile) 2>conftest.er1
24977 ac_status=$?
24978 grep -v '^ *+' conftest.er1 >conftest.err
24979 rm -f conftest.er1
24980 cat conftest.err >&5
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); } &&
24983 { ac_try='test -z "$ac_cxx_werror_flag"
24984 || test ! -s conftest.err'
24985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24986 (eval $ac_try) 2>&5
24987 ac_status=$?
24988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989 (exit $ac_status); }; } &&
24990 { ac_try='test -s conftest.$ac_objext'
24991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24992 (eval $ac_try) 2>&5
24993 ac_status=$?
24994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24995 (exit $ac_status); }; }; then
24996 glibcxx_cv_func_sincosl_use=yes
24997 else
24998 echo "$as_me: failed program was:" >&5
24999 sed 's/^/| /' conftest.$ac_ext >&5
25001 glibcxx_cv_func_sincosl_use=no
25003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25004 ac_ext=c
25005 ac_cpp='$CPP $CPPFLAGS'
25006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25014 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25015 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25017 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25019 for ac_func in sincosl
25021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25022 echo "$as_me:$LINENO: checking for $ac_func" >&5
25023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25024 if eval "test \"\${$as_ac_var+set}\" = set"; then
25025 echo $ECHO_N "(cached) $ECHO_C" >&6
25026 else
25027 if test x$gcc_no_link = xyes; then
25028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25030 { (exit 1); exit 1; }; }
25032 cat >conftest.$ac_ext <<_ACEOF
25033 /* confdefs.h. */
25034 _ACEOF
25035 cat confdefs.h >>conftest.$ac_ext
25036 cat >>conftest.$ac_ext <<_ACEOF
25037 /* end confdefs.h. */
25038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25040 #define $ac_func innocuous_$ac_func
25042 /* System header to define __stub macros and hopefully few prototypes,
25043 which can conflict with char $ac_func (); below.
25044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25045 <limits.h> exists even on freestanding compilers. */
25047 #ifdef __STDC__
25048 # include <limits.h>
25049 #else
25050 # include <assert.h>
25051 #endif
25053 #undef $ac_func
25055 /* Override any gcc2 internal prototype to avoid an error. */
25056 #ifdef __cplusplus
25057 extern "C"
25059 #endif
25060 /* We use char because int might match the return type of a gcc2
25061 builtin and then its argument prototype would still apply. */
25062 char $ac_func ();
25063 /* The GNU C library defines this for functions which it implements
25064 to always fail with ENOSYS. Some functions are actually named
25065 something starting with __ and the normal name is an alias. */
25066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25067 choke me
25068 #else
25069 char (*f) () = $ac_func;
25070 #endif
25071 #ifdef __cplusplus
25073 #endif
25076 main ()
25078 return f != $ac_func;
25080 return 0;
25082 _ACEOF
25083 rm -f conftest.$ac_objext conftest$ac_exeext
25084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25085 (eval $ac_link) 2>conftest.er1
25086 ac_status=$?
25087 grep -v '^ *+' conftest.er1 >conftest.err
25088 rm -f conftest.er1
25089 cat conftest.err >&5
25090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25091 (exit $ac_status); } &&
25092 { ac_try='test -z "$ac_c_werror_flag"
25093 || test ! -s conftest.err'
25094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25095 (eval $ac_try) 2>&5
25096 ac_status=$?
25097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25098 (exit $ac_status); }; } &&
25099 { ac_try='test -s conftest$ac_exeext'
25100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25101 (eval $ac_try) 2>&5
25102 ac_status=$?
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); }; }; then
25105 eval "$as_ac_var=yes"
25106 else
25107 echo "$as_me: failed program was:" >&5
25108 sed 's/^/| /' conftest.$ac_ext >&5
25110 eval "$as_ac_var=no"
25112 rm -f conftest.err conftest.$ac_objext \
25113 conftest$ac_exeext conftest.$ac_ext
25115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25117 if test `eval echo '${'$as_ac_var'}'` = yes; then
25118 cat >>confdefs.h <<_ACEOF
25119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25120 _ACEOF
25123 done
25125 else
25127 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25128 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25129 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25130 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25131 echo $ECHO_N "(cached) $ECHO_C" >&6
25132 else
25136 ac_ext=cc
25137 ac_cpp='$CXXCPP $CPPFLAGS'
25138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25142 cat >conftest.$ac_ext <<_ACEOF
25143 /* confdefs.h. */
25144 _ACEOF
25145 cat confdefs.h >>conftest.$ac_ext
25146 cat >>conftest.$ac_ext <<_ACEOF
25147 /* end confdefs.h. */
25148 #include <math.h>
25150 main ()
25152 _sincosl(0, 0, 0);
25154 return 0;
25156 _ACEOF
25157 rm -f conftest.$ac_objext
25158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25159 (eval $ac_compile) 2>conftest.er1
25160 ac_status=$?
25161 grep -v '^ *+' conftest.er1 >conftest.err
25162 rm -f conftest.er1
25163 cat conftest.err >&5
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); } &&
25166 { ac_try='test -z "$ac_cxx_werror_flag"
25167 || test ! -s conftest.err'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25170 ac_status=$?
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; } &&
25173 { ac_try='test -s conftest.$ac_objext'
25174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25175 (eval $ac_try) 2>&5
25176 ac_status=$?
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); }; }; then
25179 glibcxx_cv_func__sincosl_use=yes
25180 else
25181 echo "$as_me: failed program was:" >&5
25182 sed 's/^/| /' conftest.$ac_ext >&5
25184 glibcxx_cv_func__sincosl_use=no
25186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25187 ac_ext=c
25188 ac_cpp='$CPP $CPPFLAGS'
25189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25197 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25198 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25200 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25202 for ac_func in _sincosl
25204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25205 echo "$as_me:$LINENO: checking for $ac_func" >&5
25206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25207 if eval "test \"\${$as_ac_var+set}\" = set"; then
25208 echo $ECHO_N "(cached) $ECHO_C" >&6
25209 else
25210 if test x$gcc_no_link = xyes; then
25211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25213 { (exit 1); exit 1; }; }
25215 cat >conftest.$ac_ext <<_ACEOF
25216 /* confdefs.h. */
25217 _ACEOF
25218 cat confdefs.h >>conftest.$ac_ext
25219 cat >>conftest.$ac_ext <<_ACEOF
25220 /* end confdefs.h. */
25221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25223 #define $ac_func innocuous_$ac_func
25225 /* System header to define __stub macros and hopefully few prototypes,
25226 which can conflict with char $ac_func (); below.
25227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25228 <limits.h> exists even on freestanding compilers. */
25230 #ifdef __STDC__
25231 # include <limits.h>
25232 #else
25233 # include <assert.h>
25234 #endif
25236 #undef $ac_func
25238 /* Override any gcc2 internal prototype to avoid an error. */
25239 #ifdef __cplusplus
25240 extern "C"
25242 #endif
25243 /* We use char because int might match the return type of a gcc2
25244 builtin and then its argument prototype would still apply. */
25245 char $ac_func ();
25246 /* The GNU C library defines this for functions which it implements
25247 to always fail with ENOSYS. Some functions are actually named
25248 something starting with __ and the normal name is an alias. */
25249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25250 choke me
25251 #else
25252 char (*f) () = $ac_func;
25253 #endif
25254 #ifdef __cplusplus
25256 #endif
25259 main ()
25261 return f != $ac_func;
25263 return 0;
25265 _ACEOF
25266 rm -f conftest.$ac_objext conftest$ac_exeext
25267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25268 (eval $ac_link) 2>conftest.er1
25269 ac_status=$?
25270 grep -v '^ *+' conftest.er1 >conftest.err
25271 rm -f conftest.er1
25272 cat conftest.err >&5
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); } &&
25275 { ac_try='test -z "$ac_c_werror_flag"
25276 || test ! -s conftest.err'
25277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25278 (eval $ac_try) 2>&5
25279 ac_status=$?
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); }; } &&
25282 { ac_try='test -s conftest$ac_exeext'
25283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25284 (eval $ac_try) 2>&5
25285 ac_status=$?
25286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287 (exit $ac_status); }; }; then
25288 eval "$as_ac_var=yes"
25289 else
25290 echo "$as_me: failed program was:" >&5
25291 sed 's/^/| /' conftest.$ac_ext >&5
25293 eval "$as_ac_var=no"
25295 rm -f conftest.err conftest.$ac_objext \
25296 conftest$ac_exeext conftest.$ac_ext
25298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25300 if test `eval echo '${'$as_ac_var'}'` = yes; then
25301 cat >>confdefs.h <<_ACEOF
25302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25303 _ACEOF
25306 done
25316 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25317 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25318 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25319 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25320 echo $ECHO_N "(cached) $ECHO_C" >&6
25321 else
25325 ac_ext=cc
25326 ac_cpp='$CXXCPP $CPPFLAGS'
25327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25331 cat >conftest.$ac_ext <<_ACEOF
25332 /* confdefs.h. */
25333 _ACEOF
25334 cat confdefs.h >>conftest.$ac_ext
25335 cat >>conftest.$ac_ext <<_ACEOF
25336 /* end confdefs.h. */
25337 #include <math.h>
25338 #ifdef HAVE_IEEEFP_H
25339 #include <ieeefp.h>
25340 #endif
25343 main ()
25345 finitel(0);
25347 return 0;
25349 _ACEOF
25350 rm -f conftest.$ac_objext
25351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25352 (eval $ac_compile) 2>conftest.er1
25353 ac_status=$?
25354 grep -v '^ *+' conftest.er1 >conftest.err
25355 rm -f conftest.er1
25356 cat conftest.err >&5
25357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358 (exit $ac_status); } &&
25359 { ac_try='test -z "$ac_cxx_werror_flag"
25360 || test ! -s conftest.err'
25361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25362 (eval $ac_try) 2>&5
25363 ac_status=$?
25364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365 (exit $ac_status); }; } &&
25366 { ac_try='test -s conftest.$ac_objext'
25367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25368 (eval $ac_try) 2>&5
25369 ac_status=$?
25370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371 (exit $ac_status); }; }; then
25372 glibcxx_cv_func_finitel_use=yes
25373 else
25374 echo "$as_me: failed program was:" >&5
25375 sed 's/^/| /' conftest.$ac_ext >&5
25377 glibcxx_cv_func_finitel_use=no
25379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25380 ac_ext=c
25381 ac_cpp='$CPP $CPPFLAGS'
25382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25390 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25391 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25393 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25395 for ac_func in finitel
25397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25398 echo "$as_me:$LINENO: checking for $ac_func" >&5
25399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25400 if eval "test \"\${$as_ac_var+set}\" = set"; then
25401 echo $ECHO_N "(cached) $ECHO_C" >&6
25402 else
25403 if test x$gcc_no_link = xyes; then
25404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25406 { (exit 1); exit 1; }; }
25408 cat >conftest.$ac_ext <<_ACEOF
25409 /* confdefs.h. */
25410 _ACEOF
25411 cat confdefs.h >>conftest.$ac_ext
25412 cat >>conftest.$ac_ext <<_ACEOF
25413 /* end confdefs.h. */
25414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25416 #define $ac_func innocuous_$ac_func
25418 /* System header to define __stub macros and hopefully few prototypes,
25419 which can conflict with char $ac_func (); below.
25420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25421 <limits.h> exists even on freestanding compilers. */
25423 #ifdef __STDC__
25424 # include <limits.h>
25425 #else
25426 # include <assert.h>
25427 #endif
25429 #undef $ac_func
25431 /* Override any gcc2 internal prototype to avoid an error. */
25432 #ifdef __cplusplus
25433 extern "C"
25435 #endif
25436 /* We use char because int might match the return type of a gcc2
25437 builtin and then its argument prototype would still apply. */
25438 char $ac_func ();
25439 /* The GNU C library defines this for functions which it implements
25440 to always fail with ENOSYS. Some functions are actually named
25441 something starting with __ and the normal name is an alias. */
25442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25443 choke me
25444 #else
25445 char (*f) () = $ac_func;
25446 #endif
25447 #ifdef __cplusplus
25449 #endif
25452 main ()
25454 return f != $ac_func;
25456 return 0;
25458 _ACEOF
25459 rm -f conftest.$ac_objext conftest$ac_exeext
25460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25461 (eval $ac_link) 2>conftest.er1
25462 ac_status=$?
25463 grep -v '^ *+' conftest.er1 >conftest.err
25464 rm -f conftest.er1
25465 cat conftest.err >&5
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); } &&
25468 { ac_try='test -z "$ac_c_werror_flag"
25469 || test ! -s conftest.err'
25470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25471 (eval $ac_try) 2>&5
25472 ac_status=$?
25473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474 (exit $ac_status); }; } &&
25475 { ac_try='test -s conftest$ac_exeext'
25476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25477 (eval $ac_try) 2>&5
25478 ac_status=$?
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); }; }; then
25481 eval "$as_ac_var=yes"
25482 else
25483 echo "$as_me: failed program was:" >&5
25484 sed 's/^/| /' conftest.$ac_ext >&5
25486 eval "$as_ac_var=no"
25488 rm -f conftest.err conftest.$ac_objext \
25489 conftest$ac_exeext conftest.$ac_ext
25491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25493 if test `eval echo '${'$as_ac_var'}'` = yes; then
25494 cat >>confdefs.h <<_ACEOF
25495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25496 _ACEOF
25499 done
25501 else
25503 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25504 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25505 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25506 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25507 echo $ECHO_N "(cached) $ECHO_C" >&6
25508 else
25512 ac_ext=cc
25513 ac_cpp='$CXXCPP $CPPFLAGS'
25514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25518 cat >conftest.$ac_ext <<_ACEOF
25519 /* confdefs.h. */
25520 _ACEOF
25521 cat confdefs.h >>conftest.$ac_ext
25522 cat >>conftest.$ac_ext <<_ACEOF
25523 /* end confdefs.h. */
25524 #include <math.h>
25525 #ifdef HAVE_IEEEFP_H
25526 #include <ieeefp.h>
25527 #endif
25530 main ()
25532 _finitel(0);
25534 return 0;
25536 _ACEOF
25537 rm -f conftest.$ac_objext
25538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25539 (eval $ac_compile) 2>conftest.er1
25540 ac_status=$?
25541 grep -v '^ *+' conftest.er1 >conftest.err
25542 rm -f conftest.er1
25543 cat conftest.err >&5
25544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25545 (exit $ac_status); } &&
25546 { ac_try='test -z "$ac_cxx_werror_flag"
25547 || test ! -s conftest.err'
25548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25549 (eval $ac_try) 2>&5
25550 ac_status=$?
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); }; } &&
25553 { ac_try='test -s conftest.$ac_objext'
25554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25555 (eval $ac_try) 2>&5
25556 ac_status=$?
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); }; }; then
25559 glibcxx_cv_func__finitel_use=yes
25560 else
25561 echo "$as_me: failed program was:" >&5
25562 sed 's/^/| /' conftest.$ac_ext >&5
25564 glibcxx_cv_func__finitel_use=no
25566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25567 ac_ext=c
25568 ac_cpp='$CPP $CPPFLAGS'
25569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25577 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25578 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25580 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25582 for ac_func in _finitel
25584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25585 echo "$as_me:$LINENO: checking for $ac_func" >&5
25586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25587 if eval "test \"\${$as_ac_var+set}\" = set"; then
25588 echo $ECHO_N "(cached) $ECHO_C" >&6
25589 else
25590 if test x$gcc_no_link = xyes; then
25591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25593 { (exit 1); exit 1; }; }
25595 cat >conftest.$ac_ext <<_ACEOF
25596 /* confdefs.h. */
25597 _ACEOF
25598 cat confdefs.h >>conftest.$ac_ext
25599 cat >>conftest.$ac_ext <<_ACEOF
25600 /* end confdefs.h. */
25601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25603 #define $ac_func innocuous_$ac_func
25605 /* System header to define __stub macros and hopefully few prototypes,
25606 which can conflict with char $ac_func (); below.
25607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25608 <limits.h> exists even on freestanding compilers. */
25610 #ifdef __STDC__
25611 # include <limits.h>
25612 #else
25613 # include <assert.h>
25614 #endif
25616 #undef $ac_func
25618 /* Override any gcc2 internal prototype to avoid an error. */
25619 #ifdef __cplusplus
25620 extern "C"
25622 #endif
25623 /* We use char because int might match the return type of a gcc2
25624 builtin and then its argument prototype would still apply. */
25625 char $ac_func ();
25626 /* The GNU C library defines this for functions which it implements
25627 to always fail with ENOSYS. Some functions are actually named
25628 something starting with __ and the normal name is an alias. */
25629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25630 choke me
25631 #else
25632 char (*f) () = $ac_func;
25633 #endif
25634 #ifdef __cplusplus
25636 #endif
25639 main ()
25641 return f != $ac_func;
25643 return 0;
25645 _ACEOF
25646 rm -f conftest.$ac_objext conftest$ac_exeext
25647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25648 (eval $ac_link) 2>conftest.er1
25649 ac_status=$?
25650 grep -v '^ *+' conftest.er1 >conftest.err
25651 rm -f conftest.er1
25652 cat conftest.err >&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); } &&
25655 { ac_try='test -z "$ac_c_werror_flag"
25656 || test ! -s conftest.err'
25657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25658 (eval $ac_try) 2>&5
25659 ac_status=$?
25660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661 (exit $ac_status); }; } &&
25662 { ac_try='test -s conftest$ac_exeext'
25663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25664 (eval $ac_try) 2>&5
25665 ac_status=$?
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); }; }; then
25668 eval "$as_ac_var=yes"
25669 else
25670 echo "$as_me: failed program was:" >&5
25671 sed 's/^/| /' conftest.$ac_ext >&5
25673 eval "$as_ac_var=no"
25675 rm -f conftest.err conftest.$ac_objext \
25676 conftest$ac_exeext conftest.$ac_ext
25678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25680 if test `eval echo '${'$as_ac_var'}'` = yes; then
25681 cat >>confdefs.h <<_ACEOF
25682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25683 _ACEOF
25686 done
25695 LIBS="$ac_save_LIBS"
25696 CXXFLAGS="$ac_save_CXXFLAGS"
25700 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25701 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25702 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25703 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 else
25709 ac_ext=cc
25710 ac_cpp='$CXXCPP $CPPFLAGS'
25711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25715 cat >conftest.$ac_ext <<_ACEOF
25716 /* confdefs.h. */
25717 _ACEOF
25718 cat confdefs.h >>conftest.$ac_ext
25719 cat >>conftest.$ac_ext <<_ACEOF
25720 /* end confdefs.h. */
25721 #include <math.h>
25723 main ()
25725 __builtin_abs(0);
25727 return 0;
25729 _ACEOF
25730 rm -f conftest.$ac_objext
25731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25732 (eval $ac_compile) 2>conftest.er1
25733 ac_status=$?
25734 grep -v '^ *+' conftest.er1 >conftest.err
25735 rm -f conftest.er1
25736 cat conftest.err >&5
25737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738 (exit $ac_status); } &&
25739 { ac_try='test -z "$ac_cxx_werror_flag"
25740 || test ! -s conftest.err'
25741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25742 (eval $ac_try) 2>&5
25743 ac_status=$?
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); }; } &&
25746 { ac_try='test -s conftest.$ac_objext'
25747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25748 (eval $ac_try) 2>&5
25749 ac_status=$?
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); }; }; then
25752 glibcxx_cv_func___builtin_abs_use=yes
25753 else
25754 echo "$as_me: failed program was:" >&5
25755 sed 's/^/| /' conftest.$ac_ext >&5
25757 glibcxx_cv_func___builtin_abs_use=no
25759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25760 ac_ext=c
25761 ac_cpp='$CPP $CPPFLAGS'
25762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25770 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25771 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25772 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25773 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25774 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25775 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25776 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25777 echo $ECHO_N "(cached) $ECHO_C" >&6
25778 else
25780 if test x$gcc_no_link = xyes; then
25781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25783 { (exit 1); exit 1; }; }
25785 cat >conftest.$ac_ext <<_ACEOF
25786 /* confdefs.h. */
25787 _ACEOF
25788 cat confdefs.h >>conftest.$ac_ext
25789 cat >>conftest.$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25791 #include <math.h>
25793 main ()
25795 __builtin_abs(0);
25797 return 0;
25799 _ACEOF
25800 rm -f conftest.$ac_objext conftest$ac_exeext
25801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25802 (eval $ac_link) 2>conftest.er1
25803 ac_status=$?
25804 grep -v '^ *+' conftest.er1 >conftest.err
25805 rm -f conftest.er1
25806 cat conftest.err >&5
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); } &&
25809 { ac_try='test -z "$ac_c_werror_flag"
25810 || test ! -s conftest.err'
25811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25812 (eval $ac_try) 2>&5
25813 ac_status=$?
25814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25815 (exit $ac_status); }; } &&
25816 { ac_try='test -s conftest$ac_exeext'
25817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25818 (eval $ac_try) 2>&5
25819 ac_status=$?
25820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25821 (exit $ac_status); }; }; then
25822 glibcxx_cv_func___builtin_abs_link=yes
25823 else
25824 echo "$as_me: failed program was:" >&5
25825 sed 's/^/| /' conftest.$ac_ext >&5
25827 glibcxx_cv_func___builtin_abs_link=no
25829 rm -f conftest.err conftest.$ac_objext \
25830 conftest$ac_exeext conftest.$ac_ext
25835 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25836 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25838 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25840 cat >>confdefs.h <<\_ACEOF
25841 #define HAVE___BUILTIN_ABS 1
25842 _ACEOF
25849 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25850 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25851 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25852 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25854 else
25858 ac_ext=cc
25859 ac_cpp='$CXXCPP $CPPFLAGS'
25860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25864 cat >conftest.$ac_ext <<_ACEOF
25865 /* confdefs.h. */
25866 _ACEOF
25867 cat confdefs.h >>conftest.$ac_ext
25868 cat >>conftest.$ac_ext <<_ACEOF
25869 /* end confdefs.h. */
25870 #include <math.h>
25872 main ()
25874 __builtin_fabsf(0);
25876 return 0;
25878 _ACEOF
25879 rm -f conftest.$ac_objext
25880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25881 (eval $ac_compile) 2>conftest.er1
25882 ac_status=$?
25883 grep -v '^ *+' conftest.er1 >conftest.err
25884 rm -f conftest.er1
25885 cat conftest.err >&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } &&
25888 { ac_try='test -z "$ac_cxx_werror_flag"
25889 || test ! -s conftest.err'
25890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25891 (eval $ac_try) 2>&5
25892 ac_status=$?
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); }; } &&
25895 { ac_try='test -s conftest.$ac_objext'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25898 ac_status=$?
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; }; then
25901 glibcxx_cv_func___builtin_fabsf_use=yes
25902 else
25903 echo "$as_me: failed program was:" >&5
25904 sed 's/^/| /' conftest.$ac_ext >&5
25906 glibcxx_cv_func___builtin_fabsf_use=no
25908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25909 ac_ext=c
25910 ac_cpp='$CPP $CPPFLAGS'
25911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25919 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25920 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25921 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25922 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25923 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25924 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25925 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25926 echo $ECHO_N "(cached) $ECHO_C" >&6
25927 else
25929 if test x$gcc_no_link = xyes; then
25930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25932 { (exit 1); exit 1; }; }
25934 cat >conftest.$ac_ext <<_ACEOF
25935 /* confdefs.h. */
25936 _ACEOF
25937 cat confdefs.h >>conftest.$ac_ext
25938 cat >>conftest.$ac_ext <<_ACEOF
25939 /* end confdefs.h. */
25940 #include <math.h>
25942 main ()
25944 __builtin_fabsf(0);
25946 return 0;
25948 _ACEOF
25949 rm -f conftest.$ac_objext conftest$ac_exeext
25950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25951 (eval $ac_link) 2>conftest.er1
25952 ac_status=$?
25953 grep -v '^ *+' conftest.er1 >conftest.err
25954 rm -f conftest.er1
25955 cat conftest.err >&5
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); } &&
25958 { ac_try='test -z "$ac_c_werror_flag"
25959 || test ! -s conftest.err'
25960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25961 (eval $ac_try) 2>&5
25962 ac_status=$?
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); }; } &&
25965 { ac_try='test -s conftest$ac_exeext'
25966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25967 (eval $ac_try) 2>&5
25968 ac_status=$?
25969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25970 (exit $ac_status); }; }; then
25971 glibcxx_cv_func___builtin_fabsf_link=yes
25972 else
25973 echo "$as_me: failed program was:" >&5
25974 sed 's/^/| /' conftest.$ac_ext >&5
25976 glibcxx_cv_func___builtin_fabsf_link=no
25978 rm -f conftest.err conftest.$ac_objext \
25979 conftest$ac_exeext conftest.$ac_ext
25984 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25985 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25987 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25989 cat >>confdefs.h <<\_ACEOF
25990 #define HAVE___BUILTIN_FABSF 1
25991 _ACEOF
25998 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25999 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26000 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26001 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26002 echo $ECHO_N "(cached) $ECHO_C" >&6
26003 else
26007 ac_ext=cc
26008 ac_cpp='$CXXCPP $CPPFLAGS'
26009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26013 cat >conftest.$ac_ext <<_ACEOF
26014 /* confdefs.h. */
26015 _ACEOF
26016 cat confdefs.h >>conftest.$ac_ext
26017 cat >>conftest.$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019 #include <math.h>
26021 main ()
26023 __builtin_fabs(0);
26025 return 0;
26027 _ACEOF
26028 rm -f conftest.$ac_objext
26029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26030 (eval $ac_compile) 2>conftest.er1
26031 ac_status=$?
26032 grep -v '^ *+' conftest.er1 >conftest.err
26033 rm -f conftest.er1
26034 cat conftest.err >&5
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); } &&
26037 { ac_try='test -z "$ac_cxx_werror_flag"
26038 || test ! -s conftest.err'
26039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26040 (eval $ac_try) 2>&5
26041 ac_status=$?
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); }; } &&
26044 { ac_try='test -s conftest.$ac_objext'
26045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26046 (eval $ac_try) 2>&5
26047 ac_status=$?
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); }; }; then
26050 glibcxx_cv_func___builtin_fabs_use=yes
26051 else
26052 echo "$as_me: failed program was:" >&5
26053 sed 's/^/| /' conftest.$ac_ext >&5
26055 glibcxx_cv_func___builtin_fabs_use=no
26057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26058 ac_ext=c
26059 ac_cpp='$CPP $CPPFLAGS'
26060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26068 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26069 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26070 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26071 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26072 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26073 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26074 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26075 echo $ECHO_N "(cached) $ECHO_C" >&6
26076 else
26078 if test x$gcc_no_link = xyes; then
26079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26081 { (exit 1); exit 1; }; }
26083 cat >conftest.$ac_ext <<_ACEOF
26084 /* confdefs.h. */
26085 _ACEOF
26086 cat confdefs.h >>conftest.$ac_ext
26087 cat >>conftest.$ac_ext <<_ACEOF
26088 /* end confdefs.h. */
26089 #include <math.h>
26091 main ()
26093 __builtin_fabs(0);
26095 return 0;
26097 _ACEOF
26098 rm -f conftest.$ac_objext conftest$ac_exeext
26099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26100 (eval $ac_link) 2>conftest.er1
26101 ac_status=$?
26102 grep -v '^ *+' conftest.er1 >conftest.err
26103 rm -f conftest.er1
26104 cat conftest.err >&5
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); } &&
26107 { ac_try='test -z "$ac_c_werror_flag"
26108 || test ! -s conftest.err'
26109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26110 (eval $ac_try) 2>&5
26111 ac_status=$?
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); }; } &&
26114 { ac_try='test -s conftest$ac_exeext'
26115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26116 (eval $ac_try) 2>&5
26117 ac_status=$?
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); }; }; then
26120 glibcxx_cv_func___builtin_fabs_link=yes
26121 else
26122 echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.$ac_ext >&5
26125 glibcxx_cv_func___builtin_fabs_link=no
26127 rm -f conftest.err conftest.$ac_objext \
26128 conftest$ac_exeext conftest.$ac_ext
26133 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26134 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26136 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26138 cat >>confdefs.h <<\_ACEOF
26139 #define HAVE___BUILTIN_FABS 1
26140 _ACEOF
26147 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26148 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26149 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26150 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26151 echo $ECHO_N "(cached) $ECHO_C" >&6
26152 else
26156 ac_ext=cc
26157 ac_cpp='$CXXCPP $CPPFLAGS'
26158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26162 cat >conftest.$ac_ext <<_ACEOF
26163 /* confdefs.h. */
26164 _ACEOF
26165 cat confdefs.h >>conftest.$ac_ext
26166 cat >>conftest.$ac_ext <<_ACEOF
26167 /* end confdefs.h. */
26168 #include <math.h>
26170 main ()
26172 __builtin_fabsl(0);
26174 return 0;
26176 _ACEOF
26177 rm -f conftest.$ac_objext
26178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26179 (eval $ac_compile) 2>conftest.er1
26180 ac_status=$?
26181 grep -v '^ *+' conftest.er1 >conftest.err
26182 rm -f conftest.er1
26183 cat conftest.err >&5
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); } &&
26186 { ac_try='test -z "$ac_cxx_werror_flag"
26187 || test ! -s conftest.err'
26188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26189 (eval $ac_try) 2>&5
26190 ac_status=$?
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); }; } &&
26193 { ac_try='test -s conftest.$ac_objext'
26194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26195 (eval $ac_try) 2>&5
26196 ac_status=$?
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); }; }; then
26199 glibcxx_cv_func___builtin_fabsl_use=yes
26200 else
26201 echo "$as_me: failed program was:" >&5
26202 sed 's/^/| /' conftest.$ac_ext >&5
26204 glibcxx_cv_func___builtin_fabsl_use=no
26206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26207 ac_ext=c
26208 ac_cpp='$CPP $CPPFLAGS'
26209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26217 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26218 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26219 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26220 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26221 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26222 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26223 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26224 echo $ECHO_N "(cached) $ECHO_C" >&6
26225 else
26227 if test x$gcc_no_link = xyes; then
26228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26230 { (exit 1); exit 1; }; }
26232 cat >conftest.$ac_ext <<_ACEOF
26233 /* confdefs.h. */
26234 _ACEOF
26235 cat confdefs.h >>conftest.$ac_ext
26236 cat >>conftest.$ac_ext <<_ACEOF
26237 /* end confdefs.h. */
26238 #include <math.h>
26240 main ()
26242 __builtin_fabsl(0);
26244 return 0;
26246 _ACEOF
26247 rm -f conftest.$ac_objext conftest$ac_exeext
26248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26249 (eval $ac_link) 2>conftest.er1
26250 ac_status=$?
26251 grep -v '^ *+' conftest.er1 >conftest.err
26252 rm -f conftest.er1
26253 cat conftest.err >&5
26254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26255 (exit $ac_status); } &&
26256 { ac_try='test -z "$ac_c_werror_flag"
26257 || test ! -s conftest.err'
26258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26259 (eval $ac_try) 2>&5
26260 ac_status=$?
26261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26262 (exit $ac_status); }; } &&
26263 { ac_try='test -s conftest$ac_exeext'
26264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26265 (eval $ac_try) 2>&5
26266 ac_status=$?
26267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268 (exit $ac_status); }; }; then
26269 glibcxx_cv_func___builtin_fabsl_link=yes
26270 else
26271 echo "$as_me: failed program was:" >&5
26272 sed 's/^/| /' conftest.$ac_ext >&5
26274 glibcxx_cv_func___builtin_fabsl_link=no
26276 rm -f conftest.err conftest.$ac_objext \
26277 conftest$ac_exeext conftest.$ac_ext
26282 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26283 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26285 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26287 cat >>confdefs.h <<\_ACEOF
26288 #define HAVE___BUILTIN_FABSL 1
26289 _ACEOF
26296 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26297 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26298 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26299 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26300 echo $ECHO_N "(cached) $ECHO_C" >&6
26301 else
26305 ac_ext=cc
26306 ac_cpp='$CXXCPP $CPPFLAGS'
26307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26311 cat >conftest.$ac_ext <<_ACEOF
26312 /* confdefs.h. */
26313 _ACEOF
26314 cat confdefs.h >>conftest.$ac_ext
26315 cat >>conftest.$ac_ext <<_ACEOF
26316 /* end confdefs.h. */
26317 #include <math.h>
26319 main ()
26321 __builtin_labs(0);
26323 return 0;
26325 _ACEOF
26326 rm -f conftest.$ac_objext
26327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26328 (eval $ac_compile) 2>conftest.er1
26329 ac_status=$?
26330 grep -v '^ *+' conftest.er1 >conftest.err
26331 rm -f conftest.er1
26332 cat conftest.err >&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } &&
26335 { ac_try='test -z "$ac_cxx_werror_flag"
26336 || test ! -s conftest.err'
26337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26338 (eval $ac_try) 2>&5
26339 ac_status=$?
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); }; } &&
26342 { ac_try='test -s conftest.$ac_objext'
26343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26344 (eval $ac_try) 2>&5
26345 ac_status=$?
26346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26347 (exit $ac_status); }; }; then
26348 glibcxx_cv_func___builtin_labs_use=yes
26349 else
26350 echo "$as_me: failed program was:" >&5
26351 sed 's/^/| /' conftest.$ac_ext >&5
26353 glibcxx_cv_func___builtin_labs_use=no
26355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26356 ac_ext=c
26357 ac_cpp='$CPP $CPPFLAGS'
26358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26366 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26367 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26368 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26369 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26370 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26371 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26372 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26373 echo $ECHO_N "(cached) $ECHO_C" >&6
26374 else
26376 if test x$gcc_no_link = xyes; then
26377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26379 { (exit 1); exit 1; }; }
26381 cat >conftest.$ac_ext <<_ACEOF
26382 /* confdefs.h. */
26383 _ACEOF
26384 cat confdefs.h >>conftest.$ac_ext
26385 cat >>conftest.$ac_ext <<_ACEOF
26386 /* end confdefs.h. */
26387 #include <math.h>
26389 main ()
26391 __builtin_labs(0);
26393 return 0;
26395 _ACEOF
26396 rm -f conftest.$ac_objext conftest$ac_exeext
26397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26398 (eval $ac_link) 2>conftest.er1
26399 ac_status=$?
26400 grep -v '^ *+' conftest.er1 >conftest.err
26401 rm -f conftest.er1
26402 cat conftest.err >&5
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); } &&
26405 { ac_try='test -z "$ac_c_werror_flag"
26406 || test ! -s conftest.err'
26407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26408 (eval $ac_try) 2>&5
26409 ac_status=$?
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); }; } &&
26412 { ac_try='test -s conftest$ac_exeext'
26413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 (eval $ac_try) 2>&5
26415 ac_status=$?
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); }; }; then
26418 glibcxx_cv_func___builtin_labs_link=yes
26419 else
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.$ac_ext >&5
26423 glibcxx_cv_func___builtin_labs_link=no
26425 rm -f conftest.err conftest.$ac_objext \
26426 conftest$ac_exeext conftest.$ac_ext
26431 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26432 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26434 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26436 cat >>confdefs.h <<\_ACEOF
26437 #define HAVE___BUILTIN_LABS 1
26438 _ACEOF
26446 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26447 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26448 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26449 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26450 echo $ECHO_N "(cached) $ECHO_C" >&6
26451 else
26455 ac_ext=cc
26456 ac_cpp='$CXXCPP $CPPFLAGS'
26457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26461 cat >conftest.$ac_ext <<_ACEOF
26462 /* confdefs.h. */
26463 _ACEOF
26464 cat confdefs.h >>conftest.$ac_ext
26465 cat >>conftest.$ac_ext <<_ACEOF
26466 /* end confdefs.h. */
26467 #include <math.h>
26469 main ()
26471 __builtin_sqrtf(0);
26473 return 0;
26475 _ACEOF
26476 rm -f conftest.$ac_objext
26477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26478 (eval $ac_compile) 2>conftest.er1
26479 ac_status=$?
26480 grep -v '^ *+' conftest.er1 >conftest.err
26481 rm -f conftest.er1
26482 cat conftest.err >&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } &&
26485 { ac_try='test -z "$ac_cxx_werror_flag"
26486 || test ! -s conftest.err'
26487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26488 (eval $ac_try) 2>&5
26489 ac_status=$?
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); }; } &&
26492 { ac_try='test -s conftest.$ac_objext'
26493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26494 (eval $ac_try) 2>&5
26495 ac_status=$?
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); }; }; then
26498 glibcxx_cv_func___builtin_sqrtf_use=yes
26499 else
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.$ac_ext >&5
26503 glibcxx_cv_func___builtin_sqrtf_use=no
26505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26506 ac_ext=c
26507 ac_cpp='$CPP $CPPFLAGS'
26508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26516 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26517 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26518 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26519 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26520 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26521 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26522 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26523 echo $ECHO_N "(cached) $ECHO_C" >&6
26524 else
26526 if test x$gcc_no_link = xyes; then
26527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26529 { (exit 1); exit 1; }; }
26531 cat >conftest.$ac_ext <<_ACEOF
26532 /* confdefs.h. */
26533 _ACEOF
26534 cat confdefs.h >>conftest.$ac_ext
26535 cat >>conftest.$ac_ext <<_ACEOF
26536 /* end confdefs.h. */
26537 #include <math.h>
26539 main ()
26541 __builtin_sqrtf(0);
26543 return 0;
26545 _ACEOF
26546 rm -f conftest.$ac_objext conftest$ac_exeext
26547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26548 (eval $ac_link) 2>conftest.er1
26549 ac_status=$?
26550 grep -v '^ *+' conftest.er1 >conftest.err
26551 rm -f conftest.er1
26552 cat conftest.err >&5
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 (exit $ac_status); } &&
26555 { ac_try='test -z "$ac_c_werror_flag"
26556 || test ! -s conftest.err'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26559 ac_status=$?
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; } &&
26562 { ac_try='test -s conftest$ac_exeext'
26563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26564 (eval $ac_try) 2>&5
26565 ac_status=$?
26566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 (exit $ac_status); }; }; then
26568 glibcxx_cv_func___builtin_sqrtf_link=yes
26569 else
26570 echo "$as_me: failed program was:" >&5
26571 sed 's/^/| /' conftest.$ac_ext >&5
26573 glibcxx_cv_func___builtin_sqrtf_link=no
26575 rm -f conftest.err conftest.$ac_objext \
26576 conftest$ac_exeext conftest.$ac_ext
26581 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26582 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26584 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26586 cat >>confdefs.h <<\_ACEOF
26587 #define HAVE___BUILTIN_SQRTF 1
26588 _ACEOF
26595 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26596 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26597 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26598 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 else
26604 ac_ext=cc
26605 ac_cpp='$CXXCPP $CPPFLAGS'
26606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26610 cat >conftest.$ac_ext <<_ACEOF
26611 /* confdefs.h. */
26612 _ACEOF
26613 cat confdefs.h >>conftest.$ac_ext
26614 cat >>conftest.$ac_ext <<_ACEOF
26615 /* end confdefs.h. */
26616 #include <math.h>
26618 main ()
26620 __builtin_sqrt(0);
26622 return 0;
26624 _ACEOF
26625 rm -f conftest.$ac_objext
26626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26627 (eval $ac_compile) 2>conftest.er1
26628 ac_status=$?
26629 grep -v '^ *+' conftest.er1 >conftest.err
26630 rm -f conftest.er1
26631 cat conftest.err >&5
26632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633 (exit $ac_status); } &&
26634 { ac_try='test -z "$ac_cxx_werror_flag"
26635 || test ! -s conftest.err'
26636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26637 (eval $ac_try) 2>&5
26638 ac_status=$?
26639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26640 (exit $ac_status); }; } &&
26641 { ac_try='test -s conftest.$ac_objext'
26642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26643 (eval $ac_try) 2>&5
26644 ac_status=$?
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); }; }; then
26647 glibcxx_cv_func___builtin_sqrt_use=yes
26648 else
26649 echo "$as_me: failed program was:" >&5
26650 sed 's/^/| /' conftest.$ac_ext >&5
26652 glibcxx_cv_func___builtin_sqrt_use=no
26654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26655 ac_ext=c
26656 ac_cpp='$CPP $CPPFLAGS'
26657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26665 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26666 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26667 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26668 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26669 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26670 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26671 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26672 echo $ECHO_N "(cached) $ECHO_C" >&6
26673 else
26675 if test x$gcc_no_link = xyes; then
26676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26678 { (exit 1); exit 1; }; }
26680 cat >conftest.$ac_ext <<_ACEOF
26681 /* confdefs.h. */
26682 _ACEOF
26683 cat confdefs.h >>conftest.$ac_ext
26684 cat >>conftest.$ac_ext <<_ACEOF
26685 /* end confdefs.h. */
26686 #include <math.h>
26688 main ()
26690 __builtin_sqrt(0);
26692 return 0;
26694 _ACEOF
26695 rm -f conftest.$ac_objext conftest$ac_exeext
26696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26697 (eval $ac_link) 2>conftest.er1
26698 ac_status=$?
26699 grep -v '^ *+' conftest.er1 >conftest.err
26700 rm -f conftest.er1
26701 cat conftest.err >&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); } &&
26704 { ac_try='test -z "$ac_c_werror_flag"
26705 || test ! -s conftest.err'
26706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26707 (eval $ac_try) 2>&5
26708 ac_status=$?
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); }; } &&
26711 { ac_try='test -s conftest$ac_exeext'
26712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26713 (eval $ac_try) 2>&5
26714 ac_status=$?
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); }; }; then
26717 glibcxx_cv_func___builtin_sqrt_link=yes
26718 else
26719 echo "$as_me: failed program was:" >&5
26720 sed 's/^/| /' conftest.$ac_ext >&5
26722 glibcxx_cv_func___builtin_sqrt_link=no
26724 rm -f conftest.err conftest.$ac_objext \
26725 conftest$ac_exeext conftest.$ac_ext
26730 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26731 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26733 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26735 cat >>confdefs.h <<\_ACEOF
26736 #define HAVE___BUILTIN_SQRT 1
26737 _ACEOF
26744 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26745 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26746 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26747 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26748 echo $ECHO_N "(cached) $ECHO_C" >&6
26749 else
26753 ac_ext=cc
26754 ac_cpp='$CXXCPP $CPPFLAGS'
26755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26759 cat >conftest.$ac_ext <<_ACEOF
26760 /* confdefs.h. */
26761 _ACEOF
26762 cat confdefs.h >>conftest.$ac_ext
26763 cat >>conftest.$ac_ext <<_ACEOF
26764 /* end confdefs.h. */
26765 #include <math.h>
26767 main ()
26769 __builtin_sqrtl(0);
26771 return 0;
26773 _ACEOF
26774 rm -f conftest.$ac_objext
26775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26776 (eval $ac_compile) 2>conftest.er1
26777 ac_status=$?
26778 grep -v '^ *+' conftest.er1 >conftest.err
26779 rm -f conftest.er1
26780 cat conftest.err >&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); } &&
26783 { ac_try='test -z "$ac_cxx_werror_flag"
26784 || test ! -s conftest.err'
26785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26786 (eval $ac_try) 2>&5
26787 ac_status=$?
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); }; } &&
26790 { ac_try='test -s conftest.$ac_objext'
26791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26792 (eval $ac_try) 2>&5
26793 ac_status=$?
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; }; then
26796 glibcxx_cv_func___builtin_sqrtl_use=yes
26797 else
26798 echo "$as_me: failed program was:" >&5
26799 sed 's/^/| /' conftest.$ac_ext >&5
26801 glibcxx_cv_func___builtin_sqrtl_use=no
26803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26804 ac_ext=c
26805 ac_cpp='$CPP $CPPFLAGS'
26806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26814 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26815 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26816 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26817 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26818 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26819 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26820 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26821 echo $ECHO_N "(cached) $ECHO_C" >&6
26822 else
26824 if test x$gcc_no_link = xyes; then
26825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26827 { (exit 1); exit 1; }; }
26829 cat >conftest.$ac_ext <<_ACEOF
26830 /* confdefs.h. */
26831 _ACEOF
26832 cat confdefs.h >>conftest.$ac_ext
26833 cat >>conftest.$ac_ext <<_ACEOF
26834 /* end confdefs.h. */
26835 #include <math.h>
26837 main ()
26839 __builtin_sqrtl(0);
26841 return 0;
26843 _ACEOF
26844 rm -f conftest.$ac_objext conftest$ac_exeext
26845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26846 (eval $ac_link) 2>conftest.er1
26847 ac_status=$?
26848 grep -v '^ *+' conftest.er1 >conftest.err
26849 rm -f conftest.er1
26850 cat conftest.err >&5
26851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852 (exit $ac_status); } &&
26853 { ac_try='test -z "$ac_c_werror_flag"
26854 || test ! -s conftest.err'
26855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26856 (eval $ac_try) 2>&5
26857 ac_status=$?
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); }; } &&
26860 { ac_try='test -s conftest$ac_exeext'
26861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26862 (eval $ac_try) 2>&5
26863 ac_status=$?
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); }; }; then
26866 glibcxx_cv_func___builtin_sqrtl_link=yes
26867 else
26868 echo "$as_me: failed program was:" >&5
26869 sed 's/^/| /' conftest.$ac_ext >&5
26871 glibcxx_cv_func___builtin_sqrtl_link=no
26873 rm -f conftest.err conftest.$ac_objext \
26874 conftest$ac_exeext conftest.$ac_ext
26879 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26880 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26882 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26884 cat >>confdefs.h <<\_ACEOF
26885 #define HAVE___BUILTIN_SQRTL 1
26886 _ACEOF
26894 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26895 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26896 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26897 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26898 echo $ECHO_N "(cached) $ECHO_C" >&6
26899 else
26903 ac_ext=cc
26904 ac_cpp='$CXXCPP $CPPFLAGS'
26905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26909 cat >conftest.$ac_ext <<_ACEOF
26910 /* confdefs.h. */
26911 _ACEOF
26912 cat confdefs.h >>conftest.$ac_ext
26913 cat >>conftest.$ac_ext <<_ACEOF
26914 /* end confdefs.h. */
26915 #include <math.h>
26917 main ()
26919 __builtin_sinf(0);
26921 return 0;
26923 _ACEOF
26924 rm -f conftest.$ac_objext
26925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26926 (eval $ac_compile) 2>conftest.er1
26927 ac_status=$?
26928 grep -v '^ *+' conftest.er1 >conftest.err
26929 rm -f conftest.er1
26930 cat conftest.err >&5
26931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26932 (exit $ac_status); } &&
26933 { ac_try='test -z "$ac_cxx_werror_flag"
26934 || test ! -s conftest.err'
26935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26936 (eval $ac_try) 2>&5
26937 ac_status=$?
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); }; } &&
26940 { ac_try='test -s conftest.$ac_objext'
26941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26942 (eval $ac_try) 2>&5
26943 ac_status=$?
26944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26945 (exit $ac_status); }; }; then
26946 glibcxx_cv_func___builtin_sinf_use=yes
26947 else
26948 echo "$as_me: failed program was:" >&5
26949 sed 's/^/| /' conftest.$ac_ext >&5
26951 glibcxx_cv_func___builtin_sinf_use=no
26953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26954 ac_ext=c
26955 ac_cpp='$CPP $CPPFLAGS'
26956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26964 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26965 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26966 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26967 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26968 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26969 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26970 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26971 echo $ECHO_N "(cached) $ECHO_C" >&6
26972 else
26974 if test x$gcc_no_link = xyes; then
26975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26977 { (exit 1); exit 1; }; }
26979 cat >conftest.$ac_ext <<_ACEOF
26980 /* confdefs.h. */
26981 _ACEOF
26982 cat confdefs.h >>conftest.$ac_ext
26983 cat >>conftest.$ac_ext <<_ACEOF
26984 /* end confdefs.h. */
26985 #include <math.h>
26987 main ()
26989 __builtin_sinf(0);
26991 return 0;
26993 _ACEOF
26994 rm -f conftest.$ac_objext conftest$ac_exeext
26995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26996 (eval $ac_link) 2>conftest.er1
26997 ac_status=$?
26998 grep -v '^ *+' conftest.er1 >conftest.err
26999 rm -f conftest.er1
27000 cat conftest.err >&5
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); } &&
27003 { ac_try='test -z "$ac_c_werror_flag"
27004 || test ! -s conftest.err'
27005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27006 (eval $ac_try) 2>&5
27007 ac_status=$?
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); }; } &&
27010 { ac_try='test -s conftest$ac_exeext'
27011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27012 (eval $ac_try) 2>&5
27013 ac_status=$?
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); }; }; then
27016 glibcxx_cv_func___builtin_sinf_link=yes
27017 else
27018 echo "$as_me: failed program was:" >&5
27019 sed 's/^/| /' conftest.$ac_ext >&5
27021 glibcxx_cv_func___builtin_sinf_link=no
27023 rm -f conftest.err conftest.$ac_objext \
27024 conftest$ac_exeext conftest.$ac_ext
27029 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27030 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27032 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27034 cat >>confdefs.h <<\_ACEOF
27035 #define HAVE___BUILTIN_SINF 1
27036 _ACEOF
27043 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27044 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27045 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27046 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27047 echo $ECHO_N "(cached) $ECHO_C" >&6
27048 else
27052 ac_ext=cc
27053 ac_cpp='$CXXCPP $CPPFLAGS'
27054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27058 cat >conftest.$ac_ext <<_ACEOF
27059 /* confdefs.h. */
27060 _ACEOF
27061 cat confdefs.h >>conftest.$ac_ext
27062 cat >>conftest.$ac_ext <<_ACEOF
27063 /* end confdefs.h. */
27064 #include <math.h>
27066 main ()
27068 __builtin_sin(0);
27070 return 0;
27072 _ACEOF
27073 rm -f conftest.$ac_objext
27074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27075 (eval $ac_compile) 2>conftest.er1
27076 ac_status=$?
27077 grep -v '^ *+' conftest.er1 >conftest.err
27078 rm -f conftest.er1
27079 cat conftest.err >&5
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); } &&
27082 { ac_try='test -z "$ac_cxx_werror_flag"
27083 || test ! -s conftest.err'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27086 ac_status=$?
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; } &&
27089 { ac_try='test -s conftest.$ac_objext'
27090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27091 (eval $ac_try) 2>&5
27092 ac_status=$?
27093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094 (exit $ac_status); }; }; then
27095 glibcxx_cv_func___builtin_sin_use=yes
27096 else
27097 echo "$as_me: failed program was:" >&5
27098 sed 's/^/| /' conftest.$ac_ext >&5
27100 glibcxx_cv_func___builtin_sin_use=no
27102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27103 ac_ext=c
27104 ac_cpp='$CPP $CPPFLAGS'
27105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27113 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27114 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27115 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27116 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27117 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27118 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27119 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27120 echo $ECHO_N "(cached) $ECHO_C" >&6
27121 else
27123 if test x$gcc_no_link = xyes; then
27124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27126 { (exit 1); exit 1; }; }
27128 cat >conftest.$ac_ext <<_ACEOF
27129 /* confdefs.h. */
27130 _ACEOF
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27134 #include <math.h>
27136 main ()
27138 __builtin_sin(0);
27140 return 0;
27142 _ACEOF
27143 rm -f conftest.$ac_objext conftest$ac_exeext
27144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27145 (eval $ac_link) 2>conftest.er1
27146 ac_status=$?
27147 grep -v '^ *+' conftest.er1 >conftest.err
27148 rm -f conftest.er1
27149 cat conftest.err >&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); } &&
27152 { ac_try='test -z "$ac_c_werror_flag"
27153 || test ! -s conftest.err'
27154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27155 (eval $ac_try) 2>&5
27156 ac_status=$?
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); }; } &&
27159 { ac_try='test -s conftest$ac_exeext'
27160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27161 (eval $ac_try) 2>&5
27162 ac_status=$?
27163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27164 (exit $ac_status); }; }; then
27165 glibcxx_cv_func___builtin_sin_link=yes
27166 else
27167 echo "$as_me: failed program was:" >&5
27168 sed 's/^/| /' conftest.$ac_ext >&5
27170 glibcxx_cv_func___builtin_sin_link=no
27172 rm -f conftest.err conftest.$ac_objext \
27173 conftest$ac_exeext conftest.$ac_ext
27178 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27179 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27181 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27183 cat >>confdefs.h <<\_ACEOF
27184 #define HAVE___BUILTIN_SIN 1
27185 _ACEOF
27192 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27193 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27194 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27195 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27196 echo $ECHO_N "(cached) $ECHO_C" >&6
27197 else
27201 ac_ext=cc
27202 ac_cpp='$CXXCPP $CPPFLAGS'
27203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27207 cat >conftest.$ac_ext <<_ACEOF
27208 /* confdefs.h. */
27209 _ACEOF
27210 cat confdefs.h >>conftest.$ac_ext
27211 cat >>conftest.$ac_ext <<_ACEOF
27212 /* end confdefs.h. */
27213 #include <math.h>
27215 main ()
27217 __builtin_sinl(0);
27219 return 0;
27221 _ACEOF
27222 rm -f conftest.$ac_objext
27223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27224 (eval $ac_compile) 2>conftest.er1
27225 ac_status=$?
27226 grep -v '^ *+' conftest.er1 >conftest.err
27227 rm -f conftest.er1
27228 cat conftest.err >&5
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); } &&
27231 { ac_try='test -z "$ac_cxx_werror_flag"
27232 || test ! -s conftest.err'
27233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27234 (eval $ac_try) 2>&5
27235 ac_status=$?
27236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27237 (exit $ac_status); }; } &&
27238 { ac_try='test -s conftest.$ac_objext'
27239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27240 (eval $ac_try) 2>&5
27241 ac_status=$?
27242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27243 (exit $ac_status); }; }; then
27244 glibcxx_cv_func___builtin_sinl_use=yes
27245 else
27246 echo "$as_me: failed program was:" >&5
27247 sed 's/^/| /' conftest.$ac_ext >&5
27249 glibcxx_cv_func___builtin_sinl_use=no
27251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27252 ac_ext=c
27253 ac_cpp='$CPP $CPPFLAGS'
27254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27262 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27263 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27264 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27265 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27266 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27267 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27268 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27269 echo $ECHO_N "(cached) $ECHO_C" >&6
27270 else
27272 if test x$gcc_no_link = xyes; then
27273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27275 { (exit 1); exit 1; }; }
27277 cat >conftest.$ac_ext <<_ACEOF
27278 /* confdefs.h. */
27279 _ACEOF
27280 cat confdefs.h >>conftest.$ac_ext
27281 cat >>conftest.$ac_ext <<_ACEOF
27282 /* end confdefs.h. */
27283 #include <math.h>
27285 main ()
27287 __builtin_sinl(0);
27289 return 0;
27291 _ACEOF
27292 rm -f conftest.$ac_objext conftest$ac_exeext
27293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27294 (eval $ac_link) 2>conftest.er1
27295 ac_status=$?
27296 grep -v '^ *+' conftest.er1 >conftest.err
27297 rm -f conftest.er1
27298 cat conftest.err >&5
27299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27300 (exit $ac_status); } &&
27301 { ac_try='test -z "$ac_c_werror_flag"
27302 || test ! -s conftest.err'
27303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27304 (eval $ac_try) 2>&5
27305 ac_status=$?
27306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27307 (exit $ac_status); }; } &&
27308 { ac_try='test -s conftest$ac_exeext'
27309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27310 (eval $ac_try) 2>&5
27311 ac_status=$?
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); }; }; then
27314 glibcxx_cv_func___builtin_sinl_link=yes
27315 else
27316 echo "$as_me: failed program was:" >&5
27317 sed 's/^/| /' conftest.$ac_ext >&5
27319 glibcxx_cv_func___builtin_sinl_link=no
27321 rm -f conftest.err conftest.$ac_objext \
27322 conftest$ac_exeext conftest.$ac_ext
27327 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27328 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27330 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27332 cat >>confdefs.h <<\_ACEOF
27333 #define HAVE___BUILTIN_SINL 1
27334 _ACEOF
27342 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27343 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27344 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27345 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27346 echo $ECHO_N "(cached) $ECHO_C" >&6
27347 else
27351 ac_ext=cc
27352 ac_cpp='$CXXCPP $CPPFLAGS'
27353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27357 cat >conftest.$ac_ext <<_ACEOF
27358 /* confdefs.h. */
27359 _ACEOF
27360 cat confdefs.h >>conftest.$ac_ext
27361 cat >>conftest.$ac_ext <<_ACEOF
27362 /* end confdefs.h. */
27363 #include <math.h>
27365 main ()
27367 __builtin_cosf(0);
27369 return 0;
27371 _ACEOF
27372 rm -f conftest.$ac_objext
27373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27374 (eval $ac_compile) 2>conftest.er1
27375 ac_status=$?
27376 grep -v '^ *+' conftest.er1 >conftest.err
27377 rm -f conftest.er1
27378 cat conftest.err >&5
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); } &&
27381 { ac_try='test -z "$ac_cxx_werror_flag"
27382 || test ! -s conftest.err'
27383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27384 (eval $ac_try) 2>&5
27385 ac_status=$?
27386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27387 (exit $ac_status); }; } &&
27388 { ac_try='test -s conftest.$ac_objext'
27389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27390 (eval $ac_try) 2>&5
27391 ac_status=$?
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); }; }; then
27394 glibcxx_cv_func___builtin_cosf_use=yes
27395 else
27396 echo "$as_me: failed program was:" >&5
27397 sed 's/^/| /' conftest.$ac_ext >&5
27399 glibcxx_cv_func___builtin_cosf_use=no
27401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27402 ac_ext=c
27403 ac_cpp='$CPP $CPPFLAGS'
27404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27412 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27413 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27414 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27415 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27416 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27417 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27418 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27419 echo $ECHO_N "(cached) $ECHO_C" >&6
27420 else
27422 if test x$gcc_no_link = xyes; then
27423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27425 { (exit 1); exit 1; }; }
27427 cat >conftest.$ac_ext <<_ACEOF
27428 /* confdefs.h. */
27429 _ACEOF
27430 cat confdefs.h >>conftest.$ac_ext
27431 cat >>conftest.$ac_ext <<_ACEOF
27432 /* end confdefs.h. */
27433 #include <math.h>
27435 main ()
27437 __builtin_cosf(0);
27439 return 0;
27441 _ACEOF
27442 rm -f conftest.$ac_objext conftest$ac_exeext
27443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27444 (eval $ac_link) 2>conftest.er1
27445 ac_status=$?
27446 grep -v '^ *+' conftest.er1 >conftest.err
27447 rm -f conftest.er1
27448 cat conftest.err >&5
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); } &&
27451 { ac_try='test -z "$ac_c_werror_flag"
27452 || test ! -s conftest.err'
27453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27454 (eval $ac_try) 2>&5
27455 ac_status=$?
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); }; } &&
27458 { ac_try='test -s conftest$ac_exeext'
27459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27460 (eval $ac_try) 2>&5
27461 ac_status=$?
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); }; }; then
27464 glibcxx_cv_func___builtin_cosf_link=yes
27465 else
27466 echo "$as_me: failed program was:" >&5
27467 sed 's/^/| /' conftest.$ac_ext >&5
27469 glibcxx_cv_func___builtin_cosf_link=no
27471 rm -f conftest.err conftest.$ac_objext \
27472 conftest$ac_exeext conftest.$ac_ext
27477 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27478 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27480 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27482 cat >>confdefs.h <<\_ACEOF
27483 #define HAVE___BUILTIN_COSF 1
27484 _ACEOF
27491 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27492 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27493 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27494 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27495 echo $ECHO_N "(cached) $ECHO_C" >&6
27496 else
27500 ac_ext=cc
27501 ac_cpp='$CXXCPP $CPPFLAGS'
27502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27506 cat >conftest.$ac_ext <<_ACEOF
27507 /* confdefs.h. */
27508 _ACEOF
27509 cat confdefs.h >>conftest.$ac_ext
27510 cat >>conftest.$ac_ext <<_ACEOF
27511 /* end confdefs.h. */
27512 #include <math.h>
27514 main ()
27516 __builtin_cos(0);
27518 return 0;
27520 _ACEOF
27521 rm -f conftest.$ac_objext
27522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27523 (eval $ac_compile) 2>conftest.er1
27524 ac_status=$?
27525 grep -v '^ *+' conftest.er1 >conftest.err
27526 rm -f conftest.er1
27527 cat conftest.err >&5
27528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529 (exit $ac_status); } &&
27530 { ac_try='test -z "$ac_cxx_werror_flag"
27531 || test ! -s conftest.err'
27532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27533 (eval $ac_try) 2>&5
27534 ac_status=$?
27535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27536 (exit $ac_status); }; } &&
27537 { ac_try='test -s conftest.$ac_objext'
27538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27539 (eval $ac_try) 2>&5
27540 ac_status=$?
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); }; }; then
27543 glibcxx_cv_func___builtin_cos_use=yes
27544 else
27545 echo "$as_me: failed program was:" >&5
27546 sed 's/^/| /' conftest.$ac_ext >&5
27548 glibcxx_cv_func___builtin_cos_use=no
27550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27551 ac_ext=c
27552 ac_cpp='$CPP $CPPFLAGS'
27553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27561 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27562 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27563 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27564 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27565 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27566 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27567 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27568 echo $ECHO_N "(cached) $ECHO_C" >&6
27569 else
27571 if test x$gcc_no_link = xyes; then
27572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27574 { (exit 1); exit 1; }; }
27576 cat >conftest.$ac_ext <<_ACEOF
27577 /* confdefs.h. */
27578 _ACEOF
27579 cat confdefs.h >>conftest.$ac_ext
27580 cat >>conftest.$ac_ext <<_ACEOF
27581 /* end confdefs.h. */
27582 #include <math.h>
27584 main ()
27586 __builtin_cos(0);
27588 return 0;
27590 _ACEOF
27591 rm -f conftest.$ac_objext conftest$ac_exeext
27592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27593 (eval $ac_link) 2>conftest.er1
27594 ac_status=$?
27595 grep -v '^ *+' conftest.er1 >conftest.err
27596 rm -f conftest.er1
27597 cat conftest.err >&5
27598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27599 (exit $ac_status); } &&
27600 { ac_try='test -z "$ac_c_werror_flag"
27601 || test ! -s conftest.err'
27602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27603 (eval $ac_try) 2>&5
27604 ac_status=$?
27605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606 (exit $ac_status); }; } &&
27607 { ac_try='test -s conftest$ac_exeext'
27608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27609 (eval $ac_try) 2>&5
27610 ac_status=$?
27611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27612 (exit $ac_status); }; }; then
27613 glibcxx_cv_func___builtin_cos_link=yes
27614 else
27615 echo "$as_me: failed program was:" >&5
27616 sed 's/^/| /' conftest.$ac_ext >&5
27618 glibcxx_cv_func___builtin_cos_link=no
27620 rm -f conftest.err conftest.$ac_objext \
27621 conftest$ac_exeext conftest.$ac_ext
27626 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27627 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27629 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27631 cat >>confdefs.h <<\_ACEOF
27632 #define HAVE___BUILTIN_COS 1
27633 _ACEOF
27640 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27641 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27642 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27643 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27644 echo $ECHO_N "(cached) $ECHO_C" >&6
27645 else
27649 ac_ext=cc
27650 ac_cpp='$CXXCPP $CPPFLAGS'
27651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27655 cat >conftest.$ac_ext <<_ACEOF
27656 /* confdefs.h. */
27657 _ACEOF
27658 cat confdefs.h >>conftest.$ac_ext
27659 cat >>conftest.$ac_ext <<_ACEOF
27660 /* end confdefs.h. */
27661 #include <math.h>
27663 main ()
27665 __builtin_cosl(0);
27667 return 0;
27669 _ACEOF
27670 rm -f conftest.$ac_objext
27671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27672 (eval $ac_compile) 2>conftest.er1
27673 ac_status=$?
27674 grep -v '^ *+' conftest.er1 >conftest.err
27675 rm -f conftest.er1
27676 cat conftest.err >&5
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); } &&
27679 { ac_try='test -z "$ac_cxx_werror_flag"
27680 || test ! -s conftest.err'
27681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27682 (eval $ac_try) 2>&5
27683 ac_status=$?
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); }; } &&
27686 { ac_try='test -s conftest.$ac_objext'
27687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27688 (eval $ac_try) 2>&5
27689 ac_status=$?
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); }; }; then
27692 glibcxx_cv_func___builtin_cosl_use=yes
27693 else
27694 echo "$as_me: failed program was:" >&5
27695 sed 's/^/| /' conftest.$ac_ext >&5
27697 glibcxx_cv_func___builtin_cosl_use=no
27699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27700 ac_ext=c
27701 ac_cpp='$CPP $CPPFLAGS'
27702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27710 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27711 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27712 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27713 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27714 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27715 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27716 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27717 echo $ECHO_N "(cached) $ECHO_C" >&6
27718 else
27720 if test x$gcc_no_link = xyes; then
27721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27723 { (exit 1); exit 1; }; }
27725 cat >conftest.$ac_ext <<_ACEOF
27726 /* confdefs.h. */
27727 _ACEOF
27728 cat confdefs.h >>conftest.$ac_ext
27729 cat >>conftest.$ac_ext <<_ACEOF
27730 /* end confdefs.h. */
27731 #include <math.h>
27733 main ()
27735 __builtin_cosl(0);
27737 return 0;
27739 _ACEOF
27740 rm -f conftest.$ac_objext conftest$ac_exeext
27741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27742 (eval $ac_link) 2>conftest.er1
27743 ac_status=$?
27744 grep -v '^ *+' conftest.er1 >conftest.err
27745 rm -f conftest.er1
27746 cat conftest.err >&5
27747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27748 (exit $ac_status); } &&
27749 { ac_try='test -z "$ac_c_werror_flag"
27750 || test ! -s conftest.err'
27751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27752 (eval $ac_try) 2>&5
27753 ac_status=$?
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); }; } &&
27756 { ac_try='test -s conftest$ac_exeext'
27757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27758 (eval $ac_try) 2>&5
27759 ac_status=$?
27760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27761 (exit $ac_status); }; }; then
27762 glibcxx_cv_func___builtin_cosl_link=yes
27763 else
27764 echo "$as_me: failed program was:" >&5
27765 sed 's/^/| /' conftest.$ac_ext >&5
27767 glibcxx_cv_func___builtin_cosl_link=no
27769 rm -f conftest.err conftest.$ac_objext \
27770 conftest$ac_exeext conftest.$ac_ext
27775 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27776 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27778 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27780 cat >>confdefs.h <<\_ACEOF
27781 #define HAVE___BUILTIN_COSL 1
27782 _ACEOF
27791 echo "$as_me:$LINENO: checking for main in -lm" >&5
27792 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27793 if test "${ac_cv_lib_m_main+set}" = set; then
27794 echo $ECHO_N "(cached) $ECHO_C" >&6
27795 else
27796 ac_check_lib_save_LIBS=$LIBS
27797 LIBS="-lm $LIBS"
27798 if test x$gcc_no_link = xyes; then
27799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27801 { (exit 1); exit 1; }; }
27803 cat >conftest.$ac_ext <<_ACEOF
27804 /* confdefs.h. */
27805 _ACEOF
27806 cat confdefs.h >>conftest.$ac_ext
27807 cat >>conftest.$ac_ext <<_ACEOF
27808 /* end confdefs.h. */
27812 main ()
27814 main ();
27816 return 0;
27818 _ACEOF
27819 rm -f conftest.$ac_objext conftest$ac_exeext
27820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27821 (eval $ac_link) 2>conftest.er1
27822 ac_status=$?
27823 grep -v '^ *+' conftest.er1 >conftest.err
27824 rm -f conftest.er1
27825 cat conftest.err >&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); } &&
27828 { ac_try='test -z "$ac_c_werror_flag"
27829 || test ! -s conftest.err'
27830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27831 (eval $ac_try) 2>&5
27832 ac_status=$?
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); }; } &&
27835 { ac_try='test -s conftest$ac_exeext'
27836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27837 (eval $ac_try) 2>&5
27838 ac_status=$?
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); }; }; then
27841 ac_cv_lib_m_main=yes
27842 else
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.$ac_ext >&5
27846 ac_cv_lib_m_main=no
27848 rm -f conftest.err conftest.$ac_objext \
27849 conftest$ac_exeext conftest.$ac_ext
27850 LIBS=$ac_check_lib_save_LIBS
27852 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27853 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27854 if test $ac_cv_lib_m_main = yes; then
27855 cat >>confdefs.h <<_ACEOF
27856 #define HAVE_LIBM 1
27857 _ACEOF
27859 LIBS="-lm $LIBS"
27864 for ac_func in copysignf
27866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27867 echo "$as_me:$LINENO: checking for $ac_func" >&5
27868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27869 if eval "test \"\${$as_ac_var+set}\" = set"; then
27870 echo $ECHO_N "(cached) $ECHO_C" >&6
27871 else
27872 if test x$gcc_no_link = xyes; then
27873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27875 { (exit 1); exit 1; }; }
27877 cat >conftest.$ac_ext <<_ACEOF
27878 /* confdefs.h. */
27879 _ACEOF
27880 cat confdefs.h >>conftest.$ac_ext
27881 cat >>conftest.$ac_ext <<_ACEOF
27882 /* end confdefs.h. */
27883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27885 #define $ac_func innocuous_$ac_func
27887 /* System header to define __stub macros and hopefully few prototypes,
27888 which can conflict with char $ac_func (); below.
27889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27890 <limits.h> exists even on freestanding compilers. */
27892 #ifdef __STDC__
27893 # include <limits.h>
27894 #else
27895 # include <assert.h>
27896 #endif
27898 #undef $ac_func
27900 /* Override any gcc2 internal prototype to avoid an error. */
27901 #ifdef __cplusplus
27902 extern "C"
27904 #endif
27905 /* We use char because int might match the return type of a gcc2
27906 builtin and then its argument prototype would still apply. */
27907 char $ac_func ();
27908 /* The GNU C library defines this for functions which it implements
27909 to always fail with ENOSYS. Some functions are actually named
27910 something starting with __ and the normal name is an alias. */
27911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27912 choke me
27913 #else
27914 char (*f) () = $ac_func;
27915 #endif
27916 #ifdef __cplusplus
27918 #endif
27921 main ()
27923 return f != $ac_func;
27925 return 0;
27927 _ACEOF
27928 rm -f conftest.$ac_objext conftest$ac_exeext
27929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27930 (eval $ac_link) 2>conftest.er1
27931 ac_status=$?
27932 grep -v '^ *+' conftest.er1 >conftest.err
27933 rm -f conftest.er1
27934 cat conftest.err >&5
27935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27936 (exit $ac_status); } &&
27937 { ac_try='test -z "$ac_c_werror_flag"
27938 || test ! -s conftest.err'
27939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27940 (eval $ac_try) 2>&5
27941 ac_status=$?
27942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27943 (exit $ac_status); }; } &&
27944 { ac_try='test -s conftest$ac_exeext'
27945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27946 (eval $ac_try) 2>&5
27947 ac_status=$?
27948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27949 (exit $ac_status); }; }; then
27950 eval "$as_ac_var=yes"
27951 else
27952 echo "$as_me: failed program was:" >&5
27953 sed 's/^/| /' conftest.$ac_ext >&5
27955 eval "$as_ac_var=no"
27957 rm -f conftest.err conftest.$ac_objext \
27958 conftest$ac_exeext conftest.$ac_ext
27960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27962 if test `eval echo '${'$as_ac_var'}'` = yes; then
27963 cat >>confdefs.h <<_ACEOF
27964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27965 _ACEOF
27967 else
27968 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27970 done
27974 for ac_func in __signbit
27976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27977 echo "$as_me:$LINENO: checking for $ac_func" >&5
27978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27979 if eval "test \"\${$as_ac_var+set}\" = set"; then
27980 echo $ECHO_N "(cached) $ECHO_C" >&6
27981 else
27982 if test x$gcc_no_link = xyes; then
27983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27985 { (exit 1); exit 1; }; }
27987 cat >conftest.$ac_ext <<_ACEOF
27988 /* confdefs.h. */
27989 _ACEOF
27990 cat confdefs.h >>conftest.$ac_ext
27991 cat >>conftest.$ac_ext <<_ACEOF
27992 /* end confdefs.h. */
27993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27995 #define $ac_func innocuous_$ac_func
27997 /* System header to define __stub macros and hopefully few prototypes,
27998 which can conflict with char $ac_func (); below.
27999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28000 <limits.h> exists even on freestanding compilers. */
28002 #ifdef __STDC__
28003 # include <limits.h>
28004 #else
28005 # include <assert.h>
28006 #endif
28008 #undef $ac_func
28010 /* Override any gcc2 internal prototype to avoid an error. */
28011 #ifdef __cplusplus
28012 extern "C"
28014 #endif
28015 /* We use char because int might match the return type of a gcc2
28016 builtin and then its argument prototype would still apply. */
28017 char $ac_func ();
28018 /* The GNU C library defines this for functions which it implements
28019 to always fail with ENOSYS. Some functions are actually named
28020 something starting with __ and the normal name is an alias. */
28021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28022 choke me
28023 #else
28024 char (*f) () = $ac_func;
28025 #endif
28026 #ifdef __cplusplus
28028 #endif
28031 main ()
28033 return f != $ac_func;
28035 return 0;
28037 _ACEOF
28038 rm -f conftest.$ac_objext conftest$ac_exeext
28039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28040 (eval $ac_link) 2>conftest.er1
28041 ac_status=$?
28042 grep -v '^ *+' conftest.er1 >conftest.err
28043 rm -f conftest.er1
28044 cat conftest.err >&5
28045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28046 (exit $ac_status); } &&
28047 { ac_try='test -z "$ac_c_werror_flag"
28048 || test ! -s conftest.err'
28049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28050 (eval $ac_try) 2>&5
28051 ac_status=$?
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); }; } &&
28054 { ac_try='test -s conftest$ac_exeext'
28055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28056 (eval $ac_try) 2>&5
28057 ac_status=$?
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); }; }; then
28060 eval "$as_ac_var=yes"
28061 else
28062 echo "$as_me: failed program was:" >&5
28063 sed 's/^/| /' conftest.$ac_ext >&5
28065 eval "$as_ac_var=no"
28067 rm -f conftest.err conftest.$ac_objext \
28068 conftest$ac_exeext conftest.$ac_ext
28070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28072 if test `eval echo '${'$as_ac_var'}'` = yes; then
28073 cat >>confdefs.h <<_ACEOF
28074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28075 _ACEOF
28077 else
28078 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28080 done
28084 for ac_func in __signbitf
28086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28087 echo "$as_me:$LINENO: checking for $ac_func" >&5
28088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28089 if eval "test \"\${$as_ac_var+set}\" = set"; then
28090 echo $ECHO_N "(cached) $ECHO_C" >&6
28091 else
28092 if test x$gcc_no_link = xyes; then
28093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28095 { (exit 1); exit 1; }; }
28097 cat >conftest.$ac_ext <<_ACEOF
28098 /* confdefs.h. */
28099 _ACEOF
28100 cat confdefs.h >>conftest.$ac_ext
28101 cat >>conftest.$ac_ext <<_ACEOF
28102 /* end confdefs.h. */
28103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28105 #define $ac_func innocuous_$ac_func
28107 /* System header to define __stub macros and hopefully few prototypes,
28108 which can conflict with char $ac_func (); below.
28109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28110 <limits.h> exists even on freestanding compilers. */
28112 #ifdef __STDC__
28113 # include <limits.h>
28114 #else
28115 # include <assert.h>
28116 #endif
28118 #undef $ac_func
28120 /* Override any gcc2 internal prototype to avoid an error. */
28121 #ifdef __cplusplus
28122 extern "C"
28124 #endif
28125 /* We use char because int might match the return type of a gcc2
28126 builtin and then its argument prototype would still apply. */
28127 char $ac_func ();
28128 /* The GNU C library defines this for functions which it implements
28129 to always fail with ENOSYS. Some functions are actually named
28130 something starting with __ and the normal name is an alias. */
28131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28132 choke me
28133 #else
28134 char (*f) () = $ac_func;
28135 #endif
28136 #ifdef __cplusplus
28138 #endif
28141 main ()
28143 return f != $ac_func;
28145 return 0;
28147 _ACEOF
28148 rm -f conftest.$ac_objext conftest$ac_exeext
28149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28150 (eval $ac_link) 2>conftest.er1
28151 ac_status=$?
28152 grep -v '^ *+' conftest.er1 >conftest.err
28153 rm -f conftest.er1
28154 cat conftest.err >&5
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); } &&
28157 { ac_try='test -z "$ac_c_werror_flag"
28158 || test ! -s conftest.err'
28159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28160 (eval $ac_try) 2>&5
28161 ac_status=$?
28162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28163 (exit $ac_status); }; } &&
28164 { ac_try='test -s conftest$ac_exeext'
28165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28166 (eval $ac_try) 2>&5
28167 ac_status=$?
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); }; }; then
28170 eval "$as_ac_var=yes"
28171 else
28172 echo "$as_me: failed program was:" >&5
28173 sed 's/^/| /' conftest.$ac_ext >&5
28175 eval "$as_ac_var=no"
28177 rm -f conftest.err conftest.$ac_objext \
28178 conftest$ac_exeext conftest.$ac_ext
28180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28182 if test `eval echo '${'$as_ac_var'}'` = yes; then
28183 cat >>confdefs.h <<_ACEOF
28184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28185 _ACEOF
28187 else
28188 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28190 done
28193 if test x$ac_cv_func_copysignl = x"yes"; then
28195 for ac_func in __signbitl
28197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28198 echo "$as_me:$LINENO: checking for $ac_func" >&5
28199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28200 if eval "test \"\${$as_ac_var+set}\" = set"; then
28201 echo $ECHO_N "(cached) $ECHO_C" >&6
28202 else
28203 if test x$gcc_no_link = xyes; then
28204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28206 { (exit 1); exit 1; }; }
28208 cat >conftest.$ac_ext <<_ACEOF
28209 /* confdefs.h. */
28210 _ACEOF
28211 cat confdefs.h >>conftest.$ac_ext
28212 cat >>conftest.$ac_ext <<_ACEOF
28213 /* end confdefs.h. */
28214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28216 #define $ac_func innocuous_$ac_func
28218 /* System header to define __stub macros and hopefully few prototypes,
28219 which can conflict with char $ac_func (); below.
28220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28221 <limits.h> exists even on freestanding compilers. */
28223 #ifdef __STDC__
28224 # include <limits.h>
28225 #else
28226 # include <assert.h>
28227 #endif
28229 #undef $ac_func
28231 /* Override any gcc2 internal prototype to avoid an error. */
28232 #ifdef __cplusplus
28233 extern "C"
28235 #endif
28236 /* We use char because int might match the return type of a gcc2
28237 builtin and then its argument prototype would still apply. */
28238 char $ac_func ();
28239 /* The GNU C library defines this for functions which it implements
28240 to always fail with ENOSYS. Some functions are actually named
28241 something starting with __ and the normal name is an alias. */
28242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28243 choke me
28244 #else
28245 char (*f) () = $ac_func;
28246 #endif
28247 #ifdef __cplusplus
28249 #endif
28252 main ()
28254 return f != $ac_func;
28256 return 0;
28258 _ACEOF
28259 rm -f conftest.$ac_objext conftest$ac_exeext
28260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28261 (eval $ac_link) 2>conftest.er1
28262 ac_status=$?
28263 grep -v '^ *+' conftest.er1 >conftest.err
28264 rm -f conftest.er1
28265 cat conftest.err >&5
28266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28267 (exit $ac_status); } &&
28268 { ac_try='test -z "$ac_c_werror_flag"
28269 || test ! -s conftest.err'
28270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28271 (eval $ac_try) 2>&5
28272 ac_status=$?
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); }; } &&
28275 { ac_try='test -s conftest$ac_exeext'
28276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28277 (eval $ac_try) 2>&5
28278 ac_status=$?
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); }; }; then
28281 eval "$as_ac_var=yes"
28282 else
28283 echo "$as_me: failed program was:" >&5
28284 sed 's/^/| /' conftest.$ac_ext >&5
28286 eval "$as_ac_var=no"
28288 rm -f conftest.err conftest.$ac_objext \
28289 conftest$ac_exeext conftest.$ac_ext
28291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28293 if test `eval echo '${'$as_ac_var'}'` = yes; then
28294 cat >>confdefs.h <<_ACEOF
28295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28296 _ACEOF
28298 else
28299 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28301 done
28305 # Used in libmath/Makefile.am.
28306 if test -n "$LIBMATHOBJS"; then
28307 need_libmath=yes
28313 enable_iconv=no
28314 # Only continue checking if the ISO C99 headers exist and support is on.
28315 if test x"$enable_wchar_t" = xyes; then
28317 # Use iconv for wchar_t to char conversions. As such, check for
28318 # X/Open Portability Guide, version 2 features (XPG2).
28319 if test "${ac_cv_header_iconv_h+set}" = set; then
28320 echo "$as_me:$LINENO: checking for iconv.h" >&5
28321 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28322 if test "${ac_cv_header_iconv_h+set}" = set; then
28323 echo $ECHO_N "(cached) $ECHO_C" >&6
28325 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28326 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28327 else
28328 # Is the header compilable?
28329 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28330 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28331 cat >conftest.$ac_ext <<_ACEOF
28332 /* confdefs.h. */
28333 _ACEOF
28334 cat confdefs.h >>conftest.$ac_ext
28335 cat >>conftest.$ac_ext <<_ACEOF
28336 /* end confdefs.h. */
28337 $ac_includes_default
28338 #include <iconv.h>
28339 _ACEOF
28340 rm -f conftest.$ac_objext
28341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28342 (eval $ac_compile) 2>conftest.er1
28343 ac_status=$?
28344 grep -v '^ *+' conftest.er1 >conftest.err
28345 rm -f conftest.er1
28346 cat conftest.err >&5
28347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28348 (exit $ac_status); } &&
28349 { ac_try='test -z "$ac_c_werror_flag"
28350 || test ! -s conftest.err'
28351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28352 (eval $ac_try) 2>&5
28353 ac_status=$?
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; } &&
28356 { ac_try='test -s conftest.$ac_objext'
28357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28358 (eval $ac_try) 2>&5
28359 ac_status=$?
28360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361 (exit $ac_status); }; }; then
28362 ac_header_compiler=yes
28363 else
28364 echo "$as_me: failed program was:" >&5
28365 sed 's/^/| /' conftest.$ac_ext >&5
28367 ac_header_compiler=no
28369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28371 echo "${ECHO_T}$ac_header_compiler" >&6
28373 # Is the header present?
28374 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28375 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28376 cat >conftest.$ac_ext <<_ACEOF
28377 /* confdefs.h. */
28378 _ACEOF
28379 cat confdefs.h >>conftest.$ac_ext
28380 cat >>conftest.$ac_ext <<_ACEOF
28381 /* end confdefs.h. */
28382 #include <iconv.h>
28383 _ACEOF
28384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28386 ac_status=$?
28387 grep -v '^ *+' conftest.er1 >conftest.err
28388 rm -f conftest.er1
28389 cat conftest.err >&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); } >/dev/null; then
28392 if test -s conftest.err; then
28393 ac_cpp_err=$ac_c_preproc_warn_flag
28394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28395 else
28396 ac_cpp_err=
28398 else
28399 ac_cpp_err=yes
28401 if test -z "$ac_cpp_err"; then
28402 ac_header_preproc=yes
28403 else
28404 echo "$as_me: failed program was:" >&5
28405 sed 's/^/| /' conftest.$ac_ext >&5
28407 ac_header_preproc=no
28409 rm -f conftest.err conftest.$ac_ext
28410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28411 echo "${ECHO_T}$ac_header_preproc" >&6
28413 # So? What about this header?
28414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28415 yes:no: )
28416 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28417 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28418 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28419 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28420 ac_header_preproc=yes
28422 no:yes:* )
28423 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28424 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28425 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28426 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28427 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28428 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28429 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28430 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28431 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28432 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28433 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28434 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28436 cat <<\_ASBOX
28437 ## ----------------------------------------- ##
28438 ## Report this to the package-unused lists. ##
28439 ## ----------------------------------------- ##
28440 _ASBOX
28442 sed "s/^/$as_me: WARNING: /" >&2
28444 esac
28445 echo "$as_me:$LINENO: checking for iconv.h" >&5
28446 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28447 if test "${ac_cv_header_iconv_h+set}" = set; then
28448 echo $ECHO_N "(cached) $ECHO_C" >&6
28449 else
28450 ac_cv_header_iconv_h=$ac_header_preproc
28452 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28453 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28456 if test $ac_cv_header_iconv_h = yes; then
28457 ac_has_iconv_h=yes
28458 else
28459 ac_has_iconv_h=no
28463 if test "${ac_cv_header_langinfo_h+set}" = set; then
28464 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28465 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28466 if test "${ac_cv_header_langinfo_h+set}" = set; then
28467 echo $ECHO_N "(cached) $ECHO_C" >&6
28469 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28470 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28471 else
28472 # Is the header compilable?
28473 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28474 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28475 cat >conftest.$ac_ext <<_ACEOF
28476 /* confdefs.h. */
28477 _ACEOF
28478 cat confdefs.h >>conftest.$ac_ext
28479 cat >>conftest.$ac_ext <<_ACEOF
28480 /* end confdefs.h. */
28481 $ac_includes_default
28482 #include <langinfo.h>
28483 _ACEOF
28484 rm -f conftest.$ac_objext
28485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28486 (eval $ac_compile) 2>conftest.er1
28487 ac_status=$?
28488 grep -v '^ *+' conftest.er1 >conftest.err
28489 rm -f conftest.er1
28490 cat conftest.err >&5
28491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28492 (exit $ac_status); } &&
28493 { ac_try='test -z "$ac_c_werror_flag"
28494 || test ! -s conftest.err'
28495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496 (eval $ac_try) 2>&5
28497 ac_status=$?
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); }; } &&
28500 { ac_try='test -s conftest.$ac_objext'
28501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28502 (eval $ac_try) 2>&5
28503 ac_status=$?
28504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28505 (exit $ac_status); }; }; then
28506 ac_header_compiler=yes
28507 else
28508 echo "$as_me: failed program was:" >&5
28509 sed 's/^/| /' conftest.$ac_ext >&5
28511 ac_header_compiler=no
28513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28514 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28515 echo "${ECHO_T}$ac_header_compiler" >&6
28517 # Is the header present?
28518 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28519 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28520 cat >conftest.$ac_ext <<_ACEOF
28521 /* confdefs.h. */
28522 _ACEOF
28523 cat confdefs.h >>conftest.$ac_ext
28524 cat >>conftest.$ac_ext <<_ACEOF
28525 /* end confdefs.h. */
28526 #include <langinfo.h>
28527 _ACEOF
28528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28530 ac_status=$?
28531 grep -v '^ *+' conftest.er1 >conftest.err
28532 rm -f conftest.er1
28533 cat conftest.err >&5
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); } >/dev/null; then
28536 if test -s conftest.err; then
28537 ac_cpp_err=$ac_c_preproc_warn_flag
28538 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28539 else
28540 ac_cpp_err=
28542 else
28543 ac_cpp_err=yes
28545 if test -z "$ac_cpp_err"; then
28546 ac_header_preproc=yes
28547 else
28548 echo "$as_me: failed program was:" >&5
28549 sed 's/^/| /' conftest.$ac_ext >&5
28551 ac_header_preproc=no
28553 rm -f conftest.err conftest.$ac_ext
28554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28555 echo "${ECHO_T}$ac_header_preproc" >&6
28557 # So? What about this header?
28558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28559 yes:no: )
28560 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28561 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28562 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28563 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28564 ac_header_preproc=yes
28566 no:yes:* )
28567 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28568 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28569 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28570 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28571 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28572 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28573 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28574 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28575 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28576 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28577 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28578 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28580 cat <<\_ASBOX
28581 ## ----------------------------------------- ##
28582 ## Report this to the package-unused lists. ##
28583 ## ----------------------------------------- ##
28584 _ASBOX
28586 sed "s/^/$as_me: WARNING: /" >&2
28588 esac
28589 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28590 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28591 if test "${ac_cv_header_langinfo_h+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28593 else
28594 ac_cv_header_langinfo_h=$ac_header_preproc
28596 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28597 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28600 if test $ac_cv_header_langinfo_h = yes; then
28601 ac_has_langinfo_h=yes
28602 else
28603 ac_has_langinfo_h=no
28608 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28609 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28610 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28611 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28612 echo $ECHO_N "(cached) $ECHO_C" >&6
28613 else
28614 ac_check_lib_save_LIBS=$LIBS
28615 LIBS="-liconv $LIBS"
28616 if test x$gcc_no_link = xyes; then
28617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28619 { (exit 1); exit 1; }; }
28621 cat >conftest.$ac_ext <<_ACEOF
28622 /* confdefs.h. */
28623 _ACEOF
28624 cat confdefs.h >>conftest.$ac_ext
28625 cat >>conftest.$ac_ext <<_ACEOF
28626 /* end confdefs.h. */
28628 /* Override any gcc2 internal prototype to avoid an error. */
28629 #ifdef __cplusplus
28630 extern "C"
28631 #endif
28632 /* We use char because int might match the return type of a gcc2
28633 builtin and then its argument prototype would still apply. */
28634 char iconv ();
28636 main ()
28638 iconv ();
28640 return 0;
28642 _ACEOF
28643 rm -f conftest.$ac_objext conftest$ac_exeext
28644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28645 (eval $ac_link) 2>conftest.er1
28646 ac_status=$?
28647 grep -v '^ *+' conftest.er1 >conftest.err
28648 rm -f conftest.er1
28649 cat conftest.err >&5
28650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651 (exit $ac_status); } &&
28652 { ac_try='test -z "$ac_c_werror_flag"
28653 || test ! -s conftest.err'
28654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28655 (eval $ac_try) 2>&5
28656 ac_status=$?
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); }; } &&
28659 { ac_try='test -s conftest$ac_exeext'
28660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28661 (eval $ac_try) 2>&5
28662 ac_status=$?
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); }; }; then
28665 ac_cv_lib_iconv_iconv=yes
28666 else
28667 echo "$as_me: failed program was:" >&5
28668 sed 's/^/| /' conftest.$ac_ext >&5
28670 ac_cv_lib_iconv_iconv=no
28672 rm -f conftest.err conftest.$ac_objext \
28673 conftest$ac_exeext conftest.$ac_ext
28674 LIBS=$ac_check_lib_save_LIBS
28676 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28677 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28678 if test $ac_cv_lib_iconv_iconv = yes; then
28679 LIBICONV="-liconv"
28682 ac_save_LIBS="$LIBS"
28683 LIBS="$LIBS $LIBICONV"
28690 for ac_func in iconv_open iconv_close iconv nl_langinfo
28692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28693 echo "$as_me:$LINENO: checking for $ac_func" >&5
28694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28695 if eval "test \"\${$as_ac_var+set}\" = set"; then
28696 echo $ECHO_N "(cached) $ECHO_C" >&6
28697 else
28698 if test x$gcc_no_link = xyes; then
28699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28701 { (exit 1); exit 1; }; }
28703 cat >conftest.$ac_ext <<_ACEOF
28704 /* confdefs.h. */
28705 _ACEOF
28706 cat confdefs.h >>conftest.$ac_ext
28707 cat >>conftest.$ac_ext <<_ACEOF
28708 /* end confdefs.h. */
28709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28711 #define $ac_func innocuous_$ac_func
28713 /* System header to define __stub macros and hopefully few prototypes,
28714 which can conflict with char $ac_func (); below.
28715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28716 <limits.h> exists even on freestanding compilers. */
28718 #ifdef __STDC__
28719 # include <limits.h>
28720 #else
28721 # include <assert.h>
28722 #endif
28724 #undef $ac_func
28726 /* Override any gcc2 internal prototype to avoid an error. */
28727 #ifdef __cplusplus
28728 extern "C"
28730 #endif
28731 /* We use char because int might match the return type of a gcc2
28732 builtin and then its argument prototype would still apply. */
28733 char $ac_func ();
28734 /* The GNU C library defines this for functions which it implements
28735 to always fail with ENOSYS. Some functions are actually named
28736 something starting with __ and the normal name is an alias. */
28737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28738 choke me
28739 #else
28740 char (*f) () = $ac_func;
28741 #endif
28742 #ifdef __cplusplus
28744 #endif
28747 main ()
28749 return f != $ac_func;
28751 return 0;
28753 _ACEOF
28754 rm -f conftest.$ac_objext conftest$ac_exeext
28755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28756 (eval $ac_link) 2>conftest.er1
28757 ac_status=$?
28758 grep -v '^ *+' conftest.er1 >conftest.err
28759 rm -f conftest.er1
28760 cat conftest.err >&5
28761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28762 (exit $ac_status); } &&
28763 { ac_try='test -z "$ac_c_werror_flag"
28764 || test ! -s conftest.err'
28765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28766 (eval $ac_try) 2>&5
28767 ac_status=$?
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); }; } &&
28770 { ac_try='test -s conftest$ac_exeext'
28771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28772 (eval $ac_try) 2>&5
28773 ac_status=$?
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); }; }; then
28776 eval "$as_ac_var=yes"
28777 else
28778 echo "$as_me: failed program was:" >&5
28779 sed 's/^/| /' conftest.$ac_ext >&5
28781 eval "$as_ac_var=no"
28783 rm -f conftest.err conftest.$ac_objext \
28784 conftest$ac_exeext conftest.$ac_ext
28786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28788 if test `eval echo '${'$as_ac_var'}'` = yes; then
28789 cat >>confdefs.h <<_ACEOF
28790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28791 _ACEOF
28792 ac_XPG2funcs=yes
28793 else
28794 ac_XPG2funcs=no
28796 done
28799 LIBS="$ac_save_LIBS"
28801 if test x"$ac_has_iconv_h" = xyes &&
28802 test x"$ac_has_langinfo_h" = xyes &&
28803 test x"$ac_XPG2funcs" = xyes;
28804 then
28806 cat >>confdefs.h <<\_ACEOF
28807 #define _GLIBCXX_USE_ICONV 1
28808 _ACEOF
28810 enable_iconv=yes
28813 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28814 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28815 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28816 echo "${ECHO_T}$enable_iconv" >&6
28819 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28820 ac_save_CXXFLAGS="$CXXFLAGS"
28821 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28824 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28825 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28826 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28827 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28828 echo $ECHO_N "(cached) $ECHO_C" >&6
28829 else
28833 ac_ext=cc
28834 ac_cpp='$CXXCPP $CPPFLAGS'
28835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28839 cat >conftest.$ac_ext <<_ACEOF
28840 /* confdefs.h. */
28841 _ACEOF
28842 cat confdefs.h >>conftest.$ac_ext
28843 cat >>conftest.$ac_ext <<_ACEOF
28844 /* end confdefs.h. */
28845 #include <stdlib.h>
28847 main ()
28849 strtold(0, 0);
28851 return 0;
28853 _ACEOF
28854 rm -f conftest.$ac_objext
28855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28856 (eval $ac_compile) 2>conftest.er1
28857 ac_status=$?
28858 grep -v '^ *+' conftest.er1 >conftest.err
28859 rm -f conftest.er1
28860 cat conftest.err >&5
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); } &&
28863 { ac_try='test -z "$ac_cxx_werror_flag"
28864 || test ! -s conftest.err'
28865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28866 (eval $ac_try) 2>&5
28867 ac_status=$?
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); }; } &&
28870 { ac_try='test -s conftest.$ac_objext'
28871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28872 (eval $ac_try) 2>&5
28873 ac_status=$?
28874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875 (exit $ac_status); }; }; then
28876 glibcxx_cv_func_strtold_use=yes
28877 else
28878 echo "$as_me: failed program was:" >&5
28879 sed 's/^/| /' conftest.$ac_ext >&5
28881 glibcxx_cv_func_strtold_use=no
28883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28884 ac_ext=c
28885 ac_cpp='$CPP $CPPFLAGS'
28886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28894 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28895 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28896 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28898 for ac_func in strtold
28900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28901 echo "$as_me:$LINENO: checking for $ac_func" >&5
28902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28903 if eval "test \"\${$as_ac_var+set}\" = set"; then
28904 echo $ECHO_N "(cached) $ECHO_C" >&6
28905 else
28906 if test x$gcc_no_link = xyes; then
28907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28909 { (exit 1); exit 1; }; }
28911 cat >conftest.$ac_ext <<_ACEOF
28912 /* confdefs.h. */
28913 _ACEOF
28914 cat confdefs.h >>conftest.$ac_ext
28915 cat >>conftest.$ac_ext <<_ACEOF
28916 /* end confdefs.h. */
28917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28919 #define $ac_func innocuous_$ac_func
28921 /* System header to define __stub macros and hopefully few prototypes,
28922 which can conflict with char $ac_func (); below.
28923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28924 <limits.h> exists even on freestanding compilers. */
28926 #ifdef __STDC__
28927 # include <limits.h>
28928 #else
28929 # include <assert.h>
28930 #endif
28932 #undef $ac_func
28934 /* Override any gcc2 internal prototype to avoid an error. */
28935 #ifdef __cplusplus
28936 extern "C"
28938 #endif
28939 /* We use char because int might match the return type of a gcc2
28940 builtin and then its argument prototype would still apply. */
28941 char $ac_func ();
28942 /* The GNU C library defines this for functions which it implements
28943 to always fail with ENOSYS. Some functions are actually named
28944 something starting with __ and the normal name is an alias. */
28945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28946 choke me
28947 #else
28948 char (*f) () = $ac_func;
28949 #endif
28950 #ifdef __cplusplus
28952 #endif
28955 main ()
28957 return f != $ac_func;
28959 return 0;
28961 _ACEOF
28962 rm -f conftest.$ac_objext conftest$ac_exeext
28963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28964 (eval $ac_link) 2>conftest.er1
28965 ac_status=$?
28966 grep -v '^ *+' conftest.er1 >conftest.err
28967 rm -f conftest.er1
28968 cat conftest.err >&5
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); } &&
28971 { ac_try='test -z "$ac_c_werror_flag"
28972 || test ! -s conftest.err'
28973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28974 (eval $ac_try) 2>&5
28975 ac_status=$?
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); }; } &&
28978 { ac_try='test -s conftest$ac_exeext'
28979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28980 (eval $ac_try) 2>&5
28981 ac_status=$?
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); }; }; then
28984 eval "$as_ac_var=yes"
28985 else
28986 echo "$as_me: failed program was:" >&5
28987 sed 's/^/| /' conftest.$ac_ext >&5
28989 eval "$as_ac_var=no"
28991 rm -f conftest.err conftest.$ac_objext \
28992 conftest$ac_exeext conftest.$ac_ext
28994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28996 if test `eval echo '${'$as_ac_var'}'` = yes; then
28997 cat >>confdefs.h <<_ACEOF
28998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28999 _ACEOF
29002 done
29010 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29011 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29012 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29013 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29014 echo $ECHO_N "(cached) $ECHO_C" >&6
29015 else
29019 ac_ext=cc
29020 ac_cpp='$CXXCPP $CPPFLAGS'
29021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29025 cat >conftest.$ac_ext <<_ACEOF
29026 /* confdefs.h. */
29027 _ACEOF
29028 cat confdefs.h >>conftest.$ac_ext
29029 cat >>conftest.$ac_ext <<_ACEOF
29030 /* end confdefs.h. */
29031 #include <stdlib.h>
29033 main ()
29035 strtof(0, 0);
29037 return 0;
29039 _ACEOF
29040 rm -f conftest.$ac_objext
29041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29042 (eval $ac_compile) 2>conftest.er1
29043 ac_status=$?
29044 grep -v '^ *+' conftest.er1 >conftest.err
29045 rm -f conftest.er1
29046 cat conftest.err >&5
29047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29048 (exit $ac_status); } &&
29049 { ac_try='test -z "$ac_cxx_werror_flag"
29050 || test ! -s conftest.err'
29051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29052 (eval $ac_try) 2>&5
29053 ac_status=$?
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); }; } &&
29056 { ac_try='test -s conftest.$ac_objext'
29057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29058 (eval $ac_try) 2>&5
29059 ac_status=$?
29060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29061 (exit $ac_status); }; }; then
29062 glibcxx_cv_func_strtof_use=yes
29063 else
29064 echo "$as_me: failed program was:" >&5
29065 sed 's/^/| /' conftest.$ac_ext >&5
29067 glibcxx_cv_func_strtof_use=no
29069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29070 ac_ext=c
29071 ac_cpp='$CPP $CPPFLAGS'
29072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29080 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29081 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29082 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29084 for ac_func in strtof
29086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29087 echo "$as_me:$LINENO: checking for $ac_func" >&5
29088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29089 if eval "test \"\${$as_ac_var+set}\" = set"; then
29090 echo $ECHO_N "(cached) $ECHO_C" >&6
29091 else
29092 if test x$gcc_no_link = xyes; then
29093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29095 { (exit 1); exit 1; }; }
29097 cat >conftest.$ac_ext <<_ACEOF
29098 /* confdefs.h. */
29099 _ACEOF
29100 cat confdefs.h >>conftest.$ac_ext
29101 cat >>conftest.$ac_ext <<_ACEOF
29102 /* end confdefs.h. */
29103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29105 #define $ac_func innocuous_$ac_func
29107 /* System header to define __stub macros and hopefully few prototypes,
29108 which can conflict with char $ac_func (); below.
29109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29110 <limits.h> exists even on freestanding compilers. */
29112 #ifdef __STDC__
29113 # include <limits.h>
29114 #else
29115 # include <assert.h>
29116 #endif
29118 #undef $ac_func
29120 /* Override any gcc2 internal prototype to avoid an error. */
29121 #ifdef __cplusplus
29122 extern "C"
29124 #endif
29125 /* We use char because int might match the return type of a gcc2
29126 builtin and then its argument prototype would still apply. */
29127 char $ac_func ();
29128 /* The GNU C library defines this for functions which it implements
29129 to always fail with ENOSYS. Some functions are actually named
29130 something starting with __ and the normal name is an alias. */
29131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29132 choke me
29133 #else
29134 char (*f) () = $ac_func;
29135 #endif
29136 #ifdef __cplusplus
29138 #endif
29141 main ()
29143 return f != $ac_func;
29145 return 0;
29147 _ACEOF
29148 rm -f conftest.$ac_objext conftest$ac_exeext
29149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29150 (eval $ac_link) 2>conftest.er1
29151 ac_status=$?
29152 grep -v '^ *+' conftest.er1 >conftest.err
29153 rm -f conftest.er1
29154 cat conftest.err >&5
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); } &&
29157 { ac_try='test -z "$ac_c_werror_flag"
29158 || test ! -s conftest.err'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29161 ac_status=$?
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; } &&
29164 { ac_try='test -s conftest$ac_exeext'
29165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29166 (eval $ac_try) 2>&5
29167 ac_status=$?
29168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169 (exit $ac_status); }; }; then
29170 eval "$as_ac_var=yes"
29171 else
29172 echo "$as_me: failed program was:" >&5
29173 sed 's/^/| /' conftest.$ac_ext >&5
29175 eval "$as_ac_var=no"
29177 rm -f conftest.err conftest.$ac_objext \
29178 conftest$ac_exeext conftest.$ac_ext
29180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29182 if test `eval echo '${'$as_ac_var'}'` = yes; then
29183 cat >>confdefs.h <<_ACEOF
29184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29185 _ACEOF
29188 done
29196 CXXFLAGS="$ac_save_CXXFLAGS"
29199 # For showmanyc_helper().
29202 for ac_header in sys/ioctl.h sys/filio.h
29204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29206 echo "$as_me:$LINENO: checking for $ac_header" >&5
29207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29209 echo $ECHO_N "(cached) $ECHO_C" >&6
29211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29213 else
29214 # Is the header compilable?
29215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29217 cat >conftest.$ac_ext <<_ACEOF
29218 /* confdefs.h. */
29219 _ACEOF
29220 cat confdefs.h >>conftest.$ac_ext
29221 cat >>conftest.$ac_ext <<_ACEOF
29222 /* end confdefs.h. */
29223 $ac_includes_default
29224 #include <$ac_header>
29225 _ACEOF
29226 rm -f conftest.$ac_objext
29227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29228 (eval $ac_compile) 2>conftest.er1
29229 ac_status=$?
29230 grep -v '^ *+' conftest.er1 >conftest.err
29231 rm -f conftest.er1
29232 cat conftest.err >&5
29233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29234 (exit $ac_status); } &&
29235 { ac_try='test -z "$ac_c_werror_flag"
29236 || test ! -s conftest.err'
29237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29238 (eval $ac_try) 2>&5
29239 ac_status=$?
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); }; } &&
29242 { ac_try='test -s conftest.$ac_objext'
29243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29244 (eval $ac_try) 2>&5
29245 ac_status=$?
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); }; }; then
29248 ac_header_compiler=yes
29249 else
29250 echo "$as_me: failed program was:" >&5
29251 sed 's/^/| /' conftest.$ac_ext >&5
29253 ac_header_compiler=no
29255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29257 echo "${ECHO_T}$ac_header_compiler" >&6
29259 # Is the header present?
29260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29262 cat >conftest.$ac_ext <<_ACEOF
29263 /* confdefs.h. */
29264 _ACEOF
29265 cat confdefs.h >>conftest.$ac_ext
29266 cat >>conftest.$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29268 #include <$ac_header>
29269 _ACEOF
29270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29272 ac_status=$?
29273 grep -v '^ *+' conftest.er1 >conftest.err
29274 rm -f conftest.er1
29275 cat conftest.err >&5
29276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 (exit $ac_status); } >/dev/null; then
29278 if test -s conftest.err; then
29279 ac_cpp_err=$ac_c_preproc_warn_flag
29280 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29281 else
29282 ac_cpp_err=
29284 else
29285 ac_cpp_err=yes
29287 if test -z "$ac_cpp_err"; then
29288 ac_header_preproc=yes
29289 else
29290 echo "$as_me: failed program was:" >&5
29291 sed 's/^/| /' conftest.$ac_ext >&5
29293 ac_header_preproc=no
29295 rm -f conftest.err conftest.$ac_ext
29296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29297 echo "${ECHO_T}$ac_header_preproc" >&6
29299 # So? What about this header?
29300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29301 yes:no: )
29302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29306 ac_header_preproc=yes
29308 no:yes:* )
29309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29322 cat <<\_ASBOX
29323 ## ----------------------------------------- ##
29324 ## Report this to the package-unused lists. ##
29325 ## ----------------------------------------- ##
29326 _ASBOX
29328 sed "s/^/$as_me: WARNING: /" >&2
29330 esac
29331 echo "$as_me:$LINENO: checking for $ac_header" >&5
29332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29334 echo $ECHO_N "(cached) $ECHO_C" >&6
29335 else
29336 eval "$as_ac_Header=\$ac_header_preproc"
29338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29343 cat >>confdefs.h <<_ACEOF
29344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29345 _ACEOF
29349 done
29352 echo "$as_me:$LINENO: checking for poll" >&5
29353 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29354 if test "${glibcxx_cv_POLL+set}" = set; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29356 else
29358 if test x$gcc_no_link = xyes; then
29359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29361 { (exit 1); exit 1; }; }
29363 cat >conftest.$ac_ext <<_ACEOF
29364 /* confdefs.h. */
29365 _ACEOF
29366 cat confdefs.h >>conftest.$ac_ext
29367 cat >>conftest.$ac_ext <<_ACEOF
29368 /* end confdefs.h. */
29369 #include <poll.h>
29371 main ()
29373 struct pollfd pfd[1];
29374 pfd[0].events = POLLIN;
29375 poll(pfd, 1, 0);
29377 return 0;
29379 _ACEOF
29380 rm -f conftest.$ac_objext conftest$ac_exeext
29381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29382 (eval $ac_link) 2>conftest.er1
29383 ac_status=$?
29384 grep -v '^ *+' conftest.er1 >conftest.err
29385 rm -f conftest.er1
29386 cat conftest.err >&5
29387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 (exit $ac_status); } &&
29389 { ac_try='test -z "$ac_c_werror_flag"
29390 || test ! -s conftest.err'
29391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29392 (eval $ac_try) 2>&5
29393 ac_status=$?
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); }; } &&
29396 { ac_try='test -s conftest$ac_exeext'
29397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29398 (eval $ac_try) 2>&5
29399 ac_status=$?
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); }; }; then
29402 glibcxx_cv_POLL=yes
29403 else
29404 echo "$as_me: failed program was:" >&5
29405 sed 's/^/| /' conftest.$ac_ext >&5
29407 glibcxx_cv_POLL=no
29409 rm -f conftest.err conftest.$ac_objext \
29410 conftest$ac_exeext conftest.$ac_ext
29414 if test $glibcxx_cv_POLL = yes; then
29416 cat >>confdefs.h <<\_ACEOF
29417 #define HAVE_POLL 1
29418 _ACEOF
29421 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29422 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29425 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29426 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29427 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29428 echo $ECHO_N "(cached) $ECHO_C" >&6
29429 else
29431 if test x$gcc_no_link = xyes; then
29432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29434 { (exit 1); exit 1; }; }
29436 cat >conftest.$ac_ext <<_ACEOF
29437 /* confdefs.h. */
29438 _ACEOF
29439 cat confdefs.h >>conftest.$ac_ext
29440 cat >>conftest.$ac_ext <<_ACEOF
29441 /* end confdefs.h. */
29442 #include <sys/stat.h>
29444 main ()
29446 struct stat buffer;
29447 fstat(0, &buffer);
29448 S_ISREG(buffer.st_mode);
29450 return 0;
29452 _ACEOF
29453 rm -f conftest.$ac_objext conftest$ac_exeext
29454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29455 (eval $ac_link) 2>conftest.er1
29456 ac_status=$?
29457 grep -v '^ *+' conftest.er1 >conftest.err
29458 rm -f conftest.er1
29459 cat conftest.err >&5
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); } &&
29462 { ac_try='test -z "$ac_c_werror_flag"
29463 || test ! -s conftest.err'
29464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29465 (eval $ac_try) 2>&5
29466 ac_status=$?
29467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468 (exit $ac_status); }; } &&
29469 { ac_try='test -s conftest$ac_exeext'
29470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29471 (eval $ac_try) 2>&5
29472 ac_status=$?
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); }; }; then
29475 glibcxx_cv_S_ISREG=yes
29476 else
29477 echo "$as_me: failed program was:" >&5
29478 sed 's/^/| /' conftest.$ac_ext >&5
29480 glibcxx_cv_S_ISREG=no
29482 rm -f conftest.err conftest.$ac_objext \
29483 conftest$ac_exeext conftest.$ac_ext
29487 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29488 echo $ECHO_N "(cached) $ECHO_C" >&6
29489 else
29491 if test x$gcc_no_link = xyes; then
29492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29494 { (exit 1); exit 1; }; }
29496 cat >conftest.$ac_ext <<_ACEOF
29497 /* confdefs.h. */
29498 _ACEOF
29499 cat confdefs.h >>conftest.$ac_ext
29500 cat >>conftest.$ac_ext <<_ACEOF
29501 /* end confdefs.h. */
29502 #include <sys/stat.h>
29504 main ()
29506 struct stat buffer;
29507 fstat(0, &buffer);
29508 S_IFREG & buffer.st_mode;
29510 return 0;
29512 _ACEOF
29513 rm -f conftest.$ac_objext conftest$ac_exeext
29514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29515 (eval $ac_link) 2>conftest.er1
29516 ac_status=$?
29517 grep -v '^ *+' conftest.er1 >conftest.err
29518 rm -f conftest.er1
29519 cat conftest.err >&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); } &&
29522 { ac_try='test -z "$ac_c_werror_flag"
29523 || test ! -s conftest.err'
29524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29525 (eval $ac_try) 2>&5
29526 ac_status=$?
29527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29528 (exit $ac_status); }; } &&
29529 { ac_try='test -s conftest$ac_exeext'
29530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29531 (eval $ac_try) 2>&5
29532 ac_status=$?
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); }; }; then
29535 glibcxx_cv_S_IFREG=yes
29536 else
29537 echo "$as_me: failed program was:" >&5
29538 sed 's/^/| /' conftest.$ac_ext >&5
29540 glibcxx_cv_S_IFREG=no
29542 rm -f conftest.err conftest.$ac_objext \
29543 conftest$ac_exeext conftest.$ac_ext
29547 res=no
29548 if test $glibcxx_cv_S_ISREG = yes; then
29550 cat >>confdefs.h <<\_ACEOF
29551 #define HAVE_S_ISREG 1
29552 _ACEOF
29554 res=S_ISREG
29555 elif test $glibcxx_cv_S_IFREG = yes; then
29557 cat >>confdefs.h <<\_ACEOF
29558 #define HAVE_S_IFREG 1
29559 _ACEOF
29561 res=S_IFREG
29563 echo "$as_me:$LINENO: result: $res" >&5
29564 echo "${ECHO_T}$res" >&6
29567 # For xsputn_2().
29569 for ac_header in sys/uio.h
29571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29573 echo "$as_me:$LINENO: checking for $ac_header" >&5
29574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29576 echo $ECHO_N "(cached) $ECHO_C" >&6
29578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29580 else
29581 # Is the header compilable?
29582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29584 cat >conftest.$ac_ext <<_ACEOF
29585 /* confdefs.h. */
29586 _ACEOF
29587 cat confdefs.h >>conftest.$ac_ext
29588 cat >>conftest.$ac_ext <<_ACEOF
29589 /* end confdefs.h. */
29590 $ac_includes_default
29591 #include <$ac_header>
29592 _ACEOF
29593 rm -f conftest.$ac_objext
29594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29595 (eval $ac_compile) 2>conftest.er1
29596 ac_status=$?
29597 grep -v '^ *+' conftest.er1 >conftest.err
29598 rm -f conftest.er1
29599 cat conftest.err >&5
29600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29601 (exit $ac_status); } &&
29602 { ac_try='test -z "$ac_c_werror_flag"
29603 || test ! -s conftest.err'
29604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29605 (eval $ac_try) 2>&5
29606 ac_status=$?
29607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608 (exit $ac_status); }; } &&
29609 { ac_try='test -s conftest.$ac_objext'
29610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29611 (eval $ac_try) 2>&5
29612 ac_status=$?
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); }; }; then
29615 ac_header_compiler=yes
29616 else
29617 echo "$as_me: failed program was:" >&5
29618 sed 's/^/| /' conftest.$ac_ext >&5
29620 ac_header_compiler=no
29622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29624 echo "${ECHO_T}$ac_header_compiler" >&6
29626 # Is the header present?
29627 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29628 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29629 cat >conftest.$ac_ext <<_ACEOF
29630 /* confdefs.h. */
29631 _ACEOF
29632 cat confdefs.h >>conftest.$ac_ext
29633 cat >>conftest.$ac_ext <<_ACEOF
29634 /* end confdefs.h. */
29635 #include <$ac_header>
29636 _ACEOF
29637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29638 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29639 ac_status=$?
29640 grep -v '^ *+' conftest.er1 >conftest.err
29641 rm -f conftest.er1
29642 cat conftest.err >&5
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); } >/dev/null; then
29645 if test -s conftest.err; then
29646 ac_cpp_err=$ac_c_preproc_warn_flag
29647 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29648 else
29649 ac_cpp_err=
29651 else
29652 ac_cpp_err=yes
29654 if test -z "$ac_cpp_err"; then
29655 ac_header_preproc=yes
29656 else
29657 echo "$as_me: failed program was:" >&5
29658 sed 's/^/| /' conftest.$ac_ext >&5
29660 ac_header_preproc=no
29662 rm -f conftest.err conftest.$ac_ext
29663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29664 echo "${ECHO_T}$ac_header_preproc" >&6
29666 # So? What about this header?
29667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29668 yes:no: )
29669 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29670 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29672 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29673 ac_header_preproc=yes
29675 no:yes:* )
29676 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29677 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29678 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29679 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29680 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29681 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29682 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29683 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29686 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29687 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29689 cat <<\_ASBOX
29690 ## ----------------------------------------- ##
29691 ## Report this to the package-unused lists. ##
29692 ## ----------------------------------------- ##
29693 _ASBOX
29695 sed "s/^/$as_me: WARNING: /" >&2
29697 esac
29698 echo "$as_me:$LINENO: checking for $ac_header" >&5
29699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29701 echo $ECHO_N "(cached) $ECHO_C" >&6
29702 else
29703 eval "$as_ac_Header=\$ac_header_preproc"
29705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29710 cat >>confdefs.h <<_ACEOF
29711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29712 _ACEOF
29716 done
29719 echo "$as_me:$LINENO: checking for writev" >&5
29720 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29721 if test "${glibcxx_cv_WRITEV+set}" = set; then
29722 echo $ECHO_N "(cached) $ECHO_C" >&6
29723 else
29725 if test x$gcc_no_link = xyes; then
29726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29728 { (exit 1); exit 1; }; }
29730 cat >conftest.$ac_ext <<_ACEOF
29731 /* confdefs.h. */
29732 _ACEOF
29733 cat confdefs.h >>conftest.$ac_ext
29734 cat >>conftest.$ac_ext <<_ACEOF
29735 /* end confdefs.h. */
29736 #include <sys/uio.h>
29738 main ()
29740 struct iovec iov[2];
29741 writev(0, iov, 0);
29743 return 0;
29745 _ACEOF
29746 rm -f conftest.$ac_objext conftest$ac_exeext
29747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29748 (eval $ac_link) 2>conftest.er1
29749 ac_status=$?
29750 grep -v '^ *+' conftest.er1 >conftest.err
29751 rm -f conftest.er1
29752 cat conftest.err >&5
29753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29754 (exit $ac_status); } &&
29755 { ac_try='test -z "$ac_c_werror_flag"
29756 || test ! -s conftest.err'
29757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29758 (eval $ac_try) 2>&5
29759 ac_status=$?
29760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29761 (exit $ac_status); }; } &&
29762 { ac_try='test -s conftest$ac_exeext'
29763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29764 (eval $ac_try) 2>&5
29765 ac_status=$?
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); }; }; then
29768 glibcxx_cv_WRITEV=yes
29769 else
29770 echo "$as_me: failed program was:" >&5
29771 sed 's/^/| /' conftest.$ac_ext >&5
29773 glibcxx_cv_WRITEV=no
29775 rm -f conftest.err conftest.$ac_objext \
29776 conftest$ac_exeext conftest.$ac_ext
29780 if test $glibcxx_cv_WRITEV = yes; then
29782 cat >>confdefs.h <<\_ACEOF
29783 #define HAVE_WRITEV 1
29784 _ACEOF
29787 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29788 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29791 # For the __streamoff_base_type typedef.
29793 echo "$as_me:$LINENO: checking for int64_t" >&5
29794 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29795 if test "${glibcxx_cv_INT64_T+set}" = set; then
29796 echo $ECHO_N "(cached) $ECHO_C" >&6
29797 else
29799 cat >conftest.$ac_ext <<_ACEOF
29800 /* confdefs.h. */
29801 _ACEOF
29802 cat confdefs.h >>conftest.$ac_ext
29803 cat >>conftest.$ac_ext <<_ACEOF
29804 /* end confdefs.h. */
29805 #include <stdint.h>
29807 main ()
29809 int64_t var;
29811 return 0;
29813 _ACEOF
29814 rm -f conftest.$ac_objext
29815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29816 (eval $ac_compile) 2>conftest.er1
29817 ac_status=$?
29818 grep -v '^ *+' conftest.er1 >conftest.err
29819 rm -f conftest.er1
29820 cat conftest.err >&5
29821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29822 (exit $ac_status); } &&
29823 { ac_try='test -z "$ac_c_werror_flag"
29824 || test ! -s conftest.err'
29825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29826 (eval $ac_try) 2>&5
29827 ac_status=$?
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); }; } &&
29830 { ac_try='test -s conftest.$ac_objext'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29833 ac_status=$?
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; }; then
29836 glibcxx_cv_INT64_T=yes
29837 else
29838 echo "$as_me: failed program was:" >&5
29839 sed 's/^/| /' conftest.$ac_ext >&5
29841 glibcxx_cv_INT64_T=no
29843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29847 if test $glibcxx_cv_INT64_T = yes; then
29849 cat >>confdefs.h <<\_ACEOF
29850 #define HAVE_INT64_T 1
29851 _ACEOF
29854 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29855 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29858 # For LFS support.
29862 ac_ext=cc
29863 ac_cpp='$CXXCPP $CPPFLAGS'
29864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29868 ac_save_CXXFLAGS="$CXXFLAGS"
29869 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29870 echo "$as_me:$LINENO: checking for LFS support" >&5
29871 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29872 if test "${glibcxx_cv_LFS+set}" = set; then
29873 echo $ECHO_N "(cached) $ECHO_C" >&6
29874 else
29876 if test x$gcc_no_link = xyes; then
29877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29879 { (exit 1); exit 1; }; }
29881 cat >conftest.$ac_ext <<_ACEOF
29882 /* confdefs.h. */
29883 _ACEOF
29884 cat confdefs.h >>conftest.$ac_ext
29885 cat >>conftest.$ac_ext <<_ACEOF
29886 /* end confdefs.h. */
29887 #include <unistd.h>
29888 #include <stdio.h>
29889 #include <sys/stat.h>
29892 main ()
29894 FILE* fp;
29895 fopen64("t", "w");
29896 fseeko64(fp, 0, SEEK_CUR);
29897 ftello64(fp);
29898 lseek64(1, 0, SEEK_CUR);
29899 struct stat64 buf;
29900 fstat64(1, &buf);
29902 return 0;
29904 _ACEOF
29905 rm -f conftest.$ac_objext conftest$ac_exeext
29906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29907 (eval $ac_link) 2>conftest.er1
29908 ac_status=$?
29909 grep -v '^ *+' conftest.er1 >conftest.err
29910 rm -f conftest.er1
29911 cat conftest.err >&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); } &&
29914 { ac_try='test -z "$ac_cxx_werror_flag"
29915 || test ! -s conftest.err'
29916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29917 (eval $ac_try) 2>&5
29918 ac_status=$?
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; } &&
29921 { ac_try='test -s conftest$ac_exeext'
29922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29923 (eval $ac_try) 2>&5
29924 ac_status=$?
29925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29926 (exit $ac_status); }; }; then
29927 glibcxx_cv_LFS=yes
29928 else
29929 echo "$as_me: failed program was:" >&5
29930 sed 's/^/| /' conftest.$ac_ext >&5
29932 glibcxx_cv_LFS=no
29934 rm -f conftest.err conftest.$ac_objext \
29935 conftest$ac_exeext conftest.$ac_ext
29939 if test $glibcxx_cv_LFS = yes; then
29941 cat >>confdefs.h <<\_ACEOF
29942 #define _GLIBCXX_USE_LFS 1
29943 _ACEOF
29946 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29947 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29948 CXXFLAGS="$ac_save_CXXFLAGS"
29949 ac_ext=c
29950 ac_cpp='$CPP $CPPFLAGS'
29951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29957 # For TLS support.
29959 # Check whether --enable-tls or --disable-tls was given.
29960 if test "${enable_tls+set}" = set; then
29961 enableval="$enable_tls"
29963 case "$enableval" in
29964 yes|no) ;;
29965 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
29966 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
29967 { (exit 1); exit 1; }; } ;;
29968 esac
29970 else
29971 enable_tls=yes
29974 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
29975 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
29976 if test "${have_tls+set}" = set; then
29977 echo $ECHO_N "(cached) $ECHO_C" >&6
29978 else
29980 if test "$cross_compiling" = yes; then
29981 cat >conftest.$ac_ext <<_ACEOF
29982 __thread int foo;
29983 _ACEOF
29984 rm -f conftest.$ac_objext
29985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29986 (eval $ac_compile) 2>conftest.er1
29987 ac_status=$?
29988 grep -v '^ *+' conftest.er1 >conftest.err
29989 rm -f conftest.er1
29990 cat conftest.err >&5
29991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29992 (exit $ac_status); } &&
29993 { ac_try='test -z "$ac_c_werror_flag"
29994 || test ! -s conftest.err'
29995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29996 (eval $ac_try) 2>&5
29997 ac_status=$?
29998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29999 (exit $ac_status); }; } &&
30000 { ac_try='test -s conftest.$ac_objext'
30001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30002 (eval $ac_try) 2>&5
30003 ac_status=$?
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); }; }; then
30006 have_tls=yes
30007 else
30008 echo "$as_me: failed program was:" >&5
30009 sed 's/^/| /' conftest.$ac_ext >&5
30011 have_tls=no
30013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30015 else
30016 cat >conftest.$ac_ext <<_ACEOF
30017 __thread int a; int b; int main() { return a = b; }
30018 _ACEOF
30019 rm -f conftest$ac_exeext
30020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30021 (eval $ac_link) 2>&5
30022 ac_status=$?
30023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30026 (eval $ac_try) 2>&5
30027 ac_status=$?
30028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30029 (exit $ac_status); }; }; then
30030 save_LDFLAGS="$LDFLAGS"
30031 LDFLAGS="-static $LDFLAGS"
30032 if test "$cross_compiling" = yes; then
30033 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30034 See \`config.log' for more details." >&5
30035 echo "$as_me: error: cannot run test program while cross compiling
30036 See \`config.log' for more details." >&2;}
30037 { (exit 1); exit 1; }; }
30038 else
30039 cat >conftest.$ac_ext <<_ACEOF
30040 __thread int a; int b; int main() { return a = b; }
30041 _ACEOF
30042 rm -f conftest$ac_exeext
30043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30044 (eval $ac_link) 2>&5
30045 ac_status=$?
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30049 (eval $ac_try) 2>&5
30050 ac_status=$?
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); }; }; then
30053 have_tls=yes
30054 else
30055 echo "$as_me: program exited with status $ac_status" >&5
30056 echo "$as_me: failed program was:" >&5
30057 sed 's/^/| /' conftest.$ac_ext >&5
30059 ( exit $ac_status )
30060 have_tls=no
30062 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30064 LDFLAGS="$save_LDFLAGS"
30065 else
30066 echo "$as_me: program exited with status $ac_status" >&5
30067 echo "$as_me: failed program was:" >&5
30068 sed 's/^/| /' conftest.$ac_ext >&5
30070 ( exit $ac_status )
30071 have_tls=no
30073 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30076 echo "$as_me:$LINENO: result: $have_tls" >&5
30077 echo "${ECHO_T}$have_tls" >&6
30078 if test "$enable_tls $have_tls" = "yes yes"; then
30080 cat >>confdefs.h <<\_ACEOF
30081 #define HAVE_TLS 1
30082 _ACEOF
30087 if test "${ac_cv_header_locale_h+set}" = set; then
30088 echo "$as_me:$LINENO: checking for locale.h" >&5
30089 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30090 if test "${ac_cv_header_locale_h+set}" = set; then
30091 echo $ECHO_N "(cached) $ECHO_C" >&6
30093 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30094 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30095 else
30096 # Is the header compilable?
30097 echo "$as_me:$LINENO: checking locale.h usability" >&5
30098 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30099 cat >conftest.$ac_ext <<_ACEOF
30100 /* confdefs.h. */
30101 _ACEOF
30102 cat confdefs.h >>conftest.$ac_ext
30103 cat >>conftest.$ac_ext <<_ACEOF
30104 /* end confdefs.h. */
30105 $ac_includes_default
30106 #include <locale.h>
30107 _ACEOF
30108 rm -f conftest.$ac_objext
30109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30110 (eval $ac_compile) 2>conftest.er1
30111 ac_status=$?
30112 grep -v '^ *+' conftest.er1 >conftest.err
30113 rm -f conftest.er1
30114 cat conftest.err >&5
30115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30116 (exit $ac_status); } &&
30117 { ac_try='test -z "$ac_c_werror_flag"
30118 || test ! -s conftest.err'
30119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30120 (eval $ac_try) 2>&5
30121 ac_status=$?
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); }; } &&
30124 { ac_try='test -s conftest.$ac_objext'
30125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30126 (eval $ac_try) 2>&5
30127 ac_status=$?
30128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30129 (exit $ac_status); }; }; then
30130 ac_header_compiler=yes
30131 else
30132 echo "$as_me: failed program was:" >&5
30133 sed 's/^/| /' conftest.$ac_ext >&5
30135 ac_header_compiler=no
30137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30139 echo "${ECHO_T}$ac_header_compiler" >&6
30141 # Is the header present?
30142 echo "$as_me:$LINENO: checking locale.h presence" >&5
30143 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30144 cat >conftest.$ac_ext <<_ACEOF
30145 /* confdefs.h. */
30146 _ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30150 #include <locale.h>
30151 _ACEOF
30152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30154 ac_status=$?
30155 grep -v '^ *+' conftest.er1 >conftest.err
30156 rm -f conftest.er1
30157 cat conftest.err >&5
30158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159 (exit $ac_status); } >/dev/null; then
30160 if test -s conftest.err; then
30161 ac_cpp_err=$ac_c_preproc_warn_flag
30162 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30163 else
30164 ac_cpp_err=
30166 else
30167 ac_cpp_err=yes
30169 if test -z "$ac_cpp_err"; then
30170 ac_header_preproc=yes
30171 else
30172 echo "$as_me: failed program was:" >&5
30173 sed 's/^/| /' conftest.$ac_ext >&5
30175 ac_header_preproc=no
30177 rm -f conftest.err conftest.$ac_ext
30178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30179 echo "${ECHO_T}$ac_header_preproc" >&6
30181 # So? What about this header?
30182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30183 yes:no: )
30184 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30185 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30186 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30187 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30188 ac_header_preproc=yes
30190 no:yes:* )
30191 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30192 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30193 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30194 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30195 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30196 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30197 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30198 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30199 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30200 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30201 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30202 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30204 cat <<\_ASBOX
30205 ## ----------------------------------------- ##
30206 ## Report this to the package-unused lists. ##
30207 ## ----------------------------------------- ##
30208 _ASBOX
30210 sed "s/^/$as_me: WARNING: /" >&2
30212 esac
30213 echo "$as_me:$LINENO: checking for locale.h" >&5
30214 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30215 if test "${ac_cv_header_locale_h+set}" = set; then
30216 echo $ECHO_N "(cached) $ECHO_C" >&6
30217 else
30218 ac_cv_header_locale_h=$ac_header_preproc
30220 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30221 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30224 if test $ac_cv_header_locale_h = yes; then
30226 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30227 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30228 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30229 echo $ECHO_N "(cached) $ECHO_C" >&6
30230 else
30231 if test x$gcc_no_link = xyes; then
30232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30234 { (exit 1); exit 1; }; }
30236 cat >conftest.$ac_ext <<_ACEOF
30237 /* confdefs.h. */
30238 _ACEOF
30239 cat confdefs.h >>conftest.$ac_ext
30240 cat >>conftest.$ac_ext <<_ACEOF
30241 /* end confdefs.h. */
30242 #include <locale.h>
30244 main ()
30246 return LC_MESSAGES
30248 return 0;
30250 _ACEOF
30251 rm -f conftest.$ac_objext conftest$ac_exeext
30252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30253 (eval $ac_link) 2>conftest.er1
30254 ac_status=$?
30255 grep -v '^ *+' conftest.er1 >conftest.err
30256 rm -f conftest.er1
30257 cat conftest.err >&5
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); } &&
30260 { ac_try='test -z "$ac_c_werror_flag"
30261 || test ! -s conftest.err'
30262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30263 (eval $ac_try) 2>&5
30264 ac_status=$?
30265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30266 (exit $ac_status); }; } &&
30267 { ac_try='test -s conftest$ac_exeext'
30268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30269 (eval $ac_try) 2>&5
30270 ac_status=$?
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); }; }; then
30273 ac_cv_val_LC_MESSAGES=yes
30274 else
30275 echo "$as_me: failed program was:" >&5
30276 sed 's/^/| /' conftest.$ac_ext >&5
30278 ac_cv_val_LC_MESSAGES=no
30280 rm -f conftest.err conftest.$ac_objext \
30281 conftest$ac_exeext conftest.$ac_ext
30283 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30284 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30285 if test $ac_cv_val_LC_MESSAGES = yes; then
30287 cat >>confdefs.h <<\_ACEOF
30288 #define HAVE_LC_MESSAGES 1
30289 _ACEOF
30298 cat >conftest.$ac_ext <<_ACEOF
30299 /* confdefs.h. */
30300 _ACEOF
30301 cat confdefs.h >>conftest.$ac_ext
30302 cat >>conftest.$ac_ext <<_ACEOF
30303 /* end confdefs.h. */
30304 #include <setjmp.h>
30306 main ()
30308 sigjmp_buf env;
30309 while (! sigsetjmp (env, 1))
30310 siglongjmp (env, 1);
30313 return 0;
30315 _ACEOF
30316 rm -f conftest.$ac_objext
30317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30318 (eval $ac_compile) 2>conftest.er1
30319 ac_status=$?
30320 grep -v '^ *+' conftest.er1 >conftest.err
30321 rm -f conftest.er1
30322 cat conftest.err >&5
30323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30324 (exit $ac_status); } &&
30325 { ac_try='test -z "$ac_c_werror_flag"
30326 || test ! -s conftest.err'
30327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30328 (eval $ac_try) 2>&5
30329 ac_status=$?
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); }; } &&
30332 { ac_try='test -s conftest.$ac_objext'
30333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30334 (eval $ac_try) 2>&5
30335 ac_status=$?
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); }; }; then
30339 cat >>confdefs.h <<\_ACEOF
30340 #define HAVE_SIGSETJMP 1
30341 _ACEOF
30343 else
30344 echo "$as_me: failed program was:" >&5
30345 sed 's/^/| /' conftest.$ac_ext >&5
30348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30350 if test x$gcc_no_link = xyes; then
30351 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30352 ac_cv_func_mmap_fixed_mapped=no
30355 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
30358 for ac_header in stdlib.h unistd.h
30360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30362 echo "$as_me:$LINENO: checking for $ac_header" >&5
30363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30365 echo $ECHO_N "(cached) $ECHO_C" >&6
30367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30369 else
30370 # Is the header compilable?
30371 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30372 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30373 cat >conftest.$ac_ext <<_ACEOF
30374 /* confdefs.h. */
30375 _ACEOF
30376 cat confdefs.h >>conftest.$ac_ext
30377 cat >>conftest.$ac_ext <<_ACEOF
30378 /* end confdefs.h. */
30379 $ac_includes_default
30380 #include <$ac_header>
30381 _ACEOF
30382 rm -f conftest.$ac_objext
30383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30384 (eval $ac_compile) 2>conftest.er1
30385 ac_status=$?
30386 grep -v '^ *+' conftest.er1 >conftest.err
30387 rm -f conftest.er1
30388 cat conftest.err >&5
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); } &&
30391 { ac_try='test -z "$ac_c_werror_flag"
30392 || test ! -s conftest.err'
30393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30394 (eval $ac_try) 2>&5
30395 ac_status=$?
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); }; } &&
30398 { ac_try='test -s conftest.$ac_objext'
30399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30400 (eval $ac_try) 2>&5
30401 ac_status=$?
30402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30403 (exit $ac_status); }; }; then
30404 ac_header_compiler=yes
30405 else
30406 echo "$as_me: failed program was:" >&5
30407 sed 's/^/| /' conftest.$ac_ext >&5
30409 ac_header_compiler=no
30411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30413 echo "${ECHO_T}$ac_header_compiler" >&6
30415 # Is the header present?
30416 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30417 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30418 cat >conftest.$ac_ext <<_ACEOF
30419 /* confdefs.h. */
30420 _ACEOF
30421 cat confdefs.h >>conftest.$ac_ext
30422 cat >>conftest.$ac_ext <<_ACEOF
30423 /* end confdefs.h. */
30424 #include <$ac_header>
30425 _ACEOF
30426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30427 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30428 ac_status=$?
30429 grep -v '^ *+' conftest.er1 >conftest.err
30430 rm -f conftest.er1
30431 cat conftest.err >&5
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); } >/dev/null; then
30434 if test -s conftest.err; then
30435 ac_cpp_err=$ac_c_preproc_warn_flag
30436 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30437 else
30438 ac_cpp_err=
30440 else
30441 ac_cpp_err=yes
30443 if test -z "$ac_cpp_err"; then
30444 ac_header_preproc=yes
30445 else
30446 echo "$as_me: failed program was:" >&5
30447 sed 's/^/| /' conftest.$ac_ext >&5
30449 ac_header_preproc=no
30451 rm -f conftest.err conftest.$ac_ext
30452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30453 echo "${ECHO_T}$ac_header_preproc" >&6
30455 # So? What about this header?
30456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30457 yes:no: )
30458 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30459 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30461 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30462 ac_header_preproc=yes
30464 no:yes:* )
30465 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30466 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30467 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30468 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30469 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30470 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30471 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30472 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30473 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30474 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30475 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30476 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30478 cat <<\_ASBOX
30479 ## ----------------------------------------- ##
30480 ## Report this to the package-unused lists. ##
30481 ## ----------------------------------------- ##
30482 _ASBOX
30484 sed "s/^/$as_me: WARNING: /" >&2
30486 esac
30487 echo "$as_me:$LINENO: checking for $ac_header" >&5
30488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30490 echo $ECHO_N "(cached) $ECHO_C" >&6
30491 else
30492 eval "$as_ac_Header=\$ac_header_preproc"
30494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30499 cat >>confdefs.h <<_ACEOF
30500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30501 _ACEOF
30505 done
30508 for ac_func in getpagesize
30510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30511 echo "$as_me:$LINENO: checking for $ac_func" >&5
30512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30513 if eval "test \"\${$as_ac_var+set}\" = set"; then
30514 echo $ECHO_N "(cached) $ECHO_C" >&6
30515 else
30516 if test x$gcc_no_link = xyes; then
30517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30519 { (exit 1); exit 1; }; }
30521 cat >conftest.$ac_ext <<_ACEOF
30522 /* confdefs.h. */
30523 _ACEOF
30524 cat confdefs.h >>conftest.$ac_ext
30525 cat >>conftest.$ac_ext <<_ACEOF
30526 /* end confdefs.h. */
30527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30529 #define $ac_func innocuous_$ac_func
30531 /* System header to define __stub macros and hopefully few prototypes,
30532 which can conflict with char $ac_func (); below.
30533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30534 <limits.h> exists even on freestanding compilers. */
30536 #ifdef __STDC__
30537 # include <limits.h>
30538 #else
30539 # include <assert.h>
30540 #endif
30542 #undef $ac_func
30544 /* Override any gcc2 internal prototype to avoid an error. */
30545 #ifdef __cplusplus
30546 extern "C"
30548 #endif
30549 /* We use char because int might match the return type of a gcc2
30550 builtin and then its argument prototype would still apply. */
30551 char $ac_func ();
30552 /* The GNU C library defines this for functions which it implements
30553 to always fail with ENOSYS. Some functions are actually named
30554 something starting with __ and the normal name is an alias. */
30555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30556 choke me
30557 #else
30558 char (*f) () = $ac_func;
30559 #endif
30560 #ifdef __cplusplus
30562 #endif
30565 main ()
30567 return f != $ac_func;
30569 return 0;
30571 _ACEOF
30572 rm -f conftest.$ac_objext conftest$ac_exeext
30573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30574 (eval $ac_link) 2>conftest.er1
30575 ac_status=$?
30576 grep -v '^ *+' conftest.er1 >conftest.err
30577 rm -f conftest.er1
30578 cat conftest.err >&5
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); } &&
30581 { ac_try='test -z "$ac_c_werror_flag"
30582 || test ! -s conftest.err'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30585 ac_status=$?
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; } &&
30588 { ac_try='test -s conftest$ac_exeext'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30591 ac_status=$?
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; }; then
30594 eval "$as_ac_var=yes"
30595 else
30596 echo "$as_me: failed program was:" >&5
30597 sed 's/^/| /' conftest.$ac_ext >&5
30599 eval "$as_ac_var=no"
30601 rm -f conftest.err conftest.$ac_objext \
30602 conftest$ac_exeext conftest.$ac_ext
30604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30606 if test `eval echo '${'$as_ac_var'}'` = yes; then
30607 cat >>confdefs.h <<_ACEOF
30608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30609 _ACEOF
30612 done
30614 echo "$as_me:$LINENO: checking for working mmap" >&5
30615 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30616 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30617 echo $ECHO_N "(cached) $ECHO_C" >&6
30618 else
30619 if test "$cross_compiling" = yes; then
30620 ac_cv_func_mmap_fixed_mapped=no
30621 else
30622 cat >conftest.$ac_ext <<_ACEOF
30623 /* confdefs.h. */
30624 _ACEOF
30625 cat confdefs.h >>conftest.$ac_ext
30626 cat >>conftest.$ac_ext <<_ACEOF
30627 /* end confdefs.h. */
30628 $ac_includes_default
30629 /* malloc might have been renamed as rpl_malloc. */
30630 #undef malloc
30632 /* Thanks to Mike Haertel and Jim Avera for this test.
30633 Here is a matrix of mmap possibilities:
30634 mmap private not fixed
30635 mmap private fixed at somewhere currently unmapped
30636 mmap private fixed at somewhere already mapped
30637 mmap shared not fixed
30638 mmap shared fixed at somewhere currently unmapped
30639 mmap shared fixed at somewhere already mapped
30640 For private mappings, we should verify that changes cannot be read()
30641 back from the file, nor mmap's back from the file at a different
30642 address. (There have been systems where private was not correctly
30643 implemented like the infamous i386 svr4.0, and systems where the
30644 VM page cache was not coherent with the file system buffer cache
30645 like early versions of FreeBSD and possibly contemporary NetBSD.)
30646 For shared mappings, we should conversely verify that changes get
30647 propagated back to all the places they're supposed to be.
30649 Grep wants private fixed already mapped.
30650 The main things grep needs to know about mmap are:
30651 * does it exist and is it safe to write into the mmap'd area
30652 * how to use it (BSD variants) */
30654 #include <fcntl.h>
30655 #include <sys/mman.h>
30657 #if !STDC_HEADERS && !HAVE_STDLIB_H
30658 char *malloc ();
30659 #endif
30661 /* This mess was copied from the GNU getpagesize.h. */
30662 #if !HAVE_GETPAGESIZE
30663 /* Assume that all systems that can run configure have sys/param.h. */
30664 # if !HAVE_SYS_PARAM_H
30665 # define HAVE_SYS_PARAM_H 1
30666 # endif
30668 # ifdef _SC_PAGESIZE
30669 # define getpagesize() sysconf(_SC_PAGESIZE)
30670 # else /* no _SC_PAGESIZE */
30671 # if HAVE_SYS_PARAM_H
30672 # include <sys/param.h>
30673 # ifdef EXEC_PAGESIZE
30674 # define getpagesize() EXEC_PAGESIZE
30675 # else /* no EXEC_PAGESIZE */
30676 # ifdef NBPG
30677 # define getpagesize() NBPG * CLSIZE
30678 # ifndef CLSIZE
30679 # define CLSIZE 1
30680 # endif /* no CLSIZE */
30681 # else /* no NBPG */
30682 # ifdef NBPC
30683 # define getpagesize() NBPC
30684 # else /* no NBPC */
30685 # ifdef PAGESIZE
30686 # define getpagesize() PAGESIZE
30687 # endif /* PAGESIZE */
30688 # endif /* no NBPC */
30689 # endif /* no NBPG */
30690 # endif /* no EXEC_PAGESIZE */
30691 # else /* no HAVE_SYS_PARAM_H */
30692 # define getpagesize() 8192 /* punt totally */
30693 # endif /* no HAVE_SYS_PARAM_H */
30694 # endif /* no _SC_PAGESIZE */
30696 #endif /* no HAVE_GETPAGESIZE */
30699 main ()
30701 char *data, *data2, *data3;
30702 int i, pagesize;
30703 int fd;
30705 pagesize = getpagesize ();
30707 /* First, make a file with some known garbage in it. */
30708 data = (char *) malloc (pagesize);
30709 if (!data)
30710 exit (1);
30711 for (i = 0; i < pagesize; ++i)
30712 *(data + i) = rand ();
30713 umask (0);
30714 fd = creat ("conftest.mmap", 0600);
30715 if (fd < 0)
30716 exit (1);
30717 if (write (fd, data, pagesize) != pagesize)
30718 exit (1);
30719 close (fd);
30721 /* Next, try to mmap the file at a fixed address which already has
30722 something else allocated at it. If we can, also make sure that
30723 we see the same garbage. */
30724 fd = open ("conftest.mmap", O_RDWR);
30725 if (fd < 0)
30726 exit (1);
30727 data2 = (char *) malloc (2 * pagesize);
30728 if (!data2)
30729 exit (1);
30730 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30731 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30732 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30733 exit (1);
30734 for (i = 0; i < pagesize; ++i)
30735 if (*(data + i) != *(data2 + i))
30736 exit (1);
30738 /* Finally, make sure that changes to the mapped area do not
30739 percolate back to the file as seen by read(). (This is a bug on
30740 some variants of i386 svr4.0.) */
30741 for (i = 0; i < pagesize; ++i)
30742 *(data2 + i) = *(data2 + i) + 1;
30743 data3 = (char *) malloc (pagesize);
30744 if (!data3)
30745 exit (1);
30746 if (read (fd, data3, pagesize) != pagesize)
30747 exit (1);
30748 for (i = 0; i < pagesize; ++i)
30749 if (*(data + i) != *(data3 + i))
30750 exit (1);
30751 close (fd);
30752 exit (0);
30754 _ACEOF
30755 rm -f conftest$ac_exeext
30756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30757 (eval $ac_link) 2>&5
30758 ac_status=$?
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30762 (eval $ac_try) 2>&5
30763 ac_status=$?
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); }; }; then
30766 ac_cv_func_mmap_fixed_mapped=yes
30767 else
30768 echo "$as_me: program exited with status $ac_status" >&5
30769 echo "$as_me: failed program was:" >&5
30770 sed 's/^/| /' conftest.$ac_ext >&5
30772 ( exit $ac_status )
30773 ac_cv_func_mmap_fixed_mapped=no
30775 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30778 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30779 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30780 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30782 cat >>confdefs.h <<\_ACEOF
30783 #define HAVE_MMAP 1
30784 _ACEOF
30787 rm -f conftest.mmap
30791 else
30793 # This lets us hard-code the functionality we know we'll have in the cross
30794 # target environment. "Let" is a sugar-coated word placed on an especially
30795 # dull and tedious hack, actually.
30797 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30798 # that involve linking, can't be used:
30799 # "cannot open sim-crt0.o"
30800 # "cannot open crt0.o"
30801 # etc. All this is because there currently exists no unified, consistent
30802 # way for top level CC information to be passed down to target directories:
30803 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30804 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30805 # crosses can be removed.
30807 # If Canadian cross, then don't pick up tools from the build directory.
30808 # Used only in GLIBCXX_EXPORT_INCLUDES.
30809 if test -n "$with_cross_host" &&
30810 test x"$build_alias" != x"$with_cross_host" &&
30811 test x"$build" != x"$target";
30812 then
30813 CANADIAN=yes
30814 else
30815 CANADIAN=no
30818 # Construct crosses by hand, eliminating bits that need ld...
30819 # GLIBCXX_CHECK_COMPILER_FEATURES
30820 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30821 # GLIBCXX_CHECK_MATH_SUPPORT
30823 # First, test for "known" system libraries. We may be using newlib even
30824 # on a hosted environment.
30825 if test "x${with_newlib}" = "xyes"; then
30826 os_include_dir="os/newlib"
30827 cat >>confdefs.h <<\_ACEOF
30828 #define HAVE_HYPOT 1
30829 _ACEOF
30832 # GLIBCXX_CHECK_STDLIB_SUPPORT
30833 cat >>confdefs.h <<\_ACEOF
30834 #define HAVE_STRTOF 1
30835 _ACEOF
30837 # AC_FUNC_MMAP
30838 cat >>confdefs.h <<\_ACEOF
30839 #define HAVE_MMAP 1
30840 _ACEOF
30843 cat >>confdefs.h <<\_ACEOF
30844 #define HAVE_ACOSF 1
30845 _ACEOF
30847 cat >>confdefs.h <<\_ACEOF
30848 #define HAVE_ASINF 1
30849 _ACEOF
30851 cat >>confdefs.h <<\_ACEOF
30852 #define HAVE_ATAN2F 1
30853 _ACEOF
30855 cat >>confdefs.h <<\_ACEOF
30856 #define HAVE_ATANF 1
30857 _ACEOF
30859 cat >>confdefs.h <<\_ACEOF
30860 #define HAVE_CEILF 1
30861 _ACEOF
30863 cat >>confdefs.h <<\_ACEOF
30864 #define HAVE_COPYSIGN 1
30865 _ACEOF
30867 cat >>confdefs.h <<\_ACEOF
30868 #define HAVE_COPYSIGNF 1
30869 _ACEOF
30871 cat >>confdefs.h <<\_ACEOF
30872 #define HAVE_COSF 1
30873 _ACEOF
30875 cat >>confdefs.h <<\_ACEOF
30876 #define HAVE_COSHF 1
30877 _ACEOF
30879 cat >>confdefs.h <<\_ACEOF
30880 #define HAVE_EXPF 1
30881 _ACEOF
30883 cat >>confdefs.h <<\_ACEOF
30884 #define HAVE_FABSF 1
30885 _ACEOF
30887 cat >>confdefs.h <<\_ACEOF
30888 #define HAVE_FLOORF 1
30889 _ACEOF
30891 cat >>confdefs.h <<\_ACEOF
30892 #define HAVE_FMODF 1
30893 _ACEOF
30895 cat >>confdefs.h <<\_ACEOF
30896 #define HAVE_FREXPF 1
30897 _ACEOF
30899 cat >>confdefs.h <<\_ACEOF
30900 #define HAVE_LDEXPF 1
30901 _ACEOF
30903 cat >>confdefs.h <<\_ACEOF
30904 #define HAVE_LOG10F 1
30905 _ACEOF
30907 cat >>confdefs.h <<\_ACEOF
30908 #define HAVE_LOGF 1
30909 _ACEOF
30911 cat >>confdefs.h <<\_ACEOF
30912 #define HAVE_MODFF 1
30913 _ACEOF
30915 cat >>confdefs.h <<\_ACEOF
30916 #define HAVE_POWF 1
30917 _ACEOF
30919 cat >>confdefs.h <<\_ACEOF
30920 #define HAVE_SINF 1
30921 _ACEOF
30923 cat >>confdefs.h <<\_ACEOF
30924 #define HAVE_SINHF 1
30925 _ACEOF
30927 cat >>confdefs.h <<\_ACEOF
30928 #define HAVE_SQRTF 1
30929 _ACEOF
30931 cat >>confdefs.h <<\_ACEOF
30932 #define HAVE_TANF 1
30933 _ACEOF
30935 cat >>confdefs.h <<\_ACEOF
30936 #define HAVE_TANHF 1
30937 _ACEOF
30940 cat >>confdefs.h <<\_ACEOF
30941 #define HAVE_S_ISREG 1
30942 _ACEOF
30944 cat >>confdefs.h <<\_ACEOF
30945 #define HAVE_S_IFREG 1
30946 _ACEOF
30948 else
30950 # Base decisions on target environment.
30951 case "${host}" in
30952 arm*-*-symbianelf*)
30953 # This is a freestanding configuration; there is nothing to do here.
30956 *-darwin*)
30957 # Darwin versions vary, but the linker should work in a cross environment,
30958 # so we just check for all the features here.
30959 # Check for available headers.
30973 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30974 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30975 sys/types.h
30977 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30979 echo "$as_me:$LINENO: checking for $ac_header" >&5
30980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30982 echo $ECHO_N "(cached) $ECHO_C" >&6
30984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30986 else
30987 # Is the header compilable?
30988 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30990 cat >conftest.$ac_ext <<_ACEOF
30991 /* confdefs.h. */
30992 _ACEOF
30993 cat confdefs.h >>conftest.$ac_ext
30994 cat >>conftest.$ac_ext <<_ACEOF
30995 /* end confdefs.h. */
30996 $ac_includes_default
30997 #include <$ac_header>
30998 _ACEOF
30999 rm -f conftest.$ac_objext
31000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31001 (eval $ac_compile) 2>conftest.er1
31002 ac_status=$?
31003 grep -v '^ *+' conftest.er1 >conftest.err
31004 rm -f conftest.er1
31005 cat conftest.err >&5
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); } &&
31008 { ac_try='test -z "$ac_c_werror_flag"
31009 || test ! -s conftest.err'
31010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31011 (eval $ac_try) 2>&5
31012 ac_status=$?
31013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 (exit $ac_status); }; } &&
31015 { ac_try='test -s conftest.$ac_objext'
31016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31017 (eval $ac_try) 2>&5
31018 ac_status=$?
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); }; }; then
31021 ac_header_compiler=yes
31022 else
31023 echo "$as_me: failed program was:" >&5
31024 sed 's/^/| /' conftest.$ac_ext >&5
31026 ac_header_compiler=no
31028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31030 echo "${ECHO_T}$ac_header_compiler" >&6
31032 # Is the header present?
31033 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31034 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31035 cat >conftest.$ac_ext <<_ACEOF
31036 /* confdefs.h. */
31037 _ACEOF
31038 cat confdefs.h >>conftest.$ac_ext
31039 cat >>conftest.$ac_ext <<_ACEOF
31040 /* end confdefs.h. */
31041 #include <$ac_header>
31042 _ACEOF
31043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31045 ac_status=$?
31046 grep -v '^ *+' conftest.er1 >conftest.err
31047 rm -f conftest.er1
31048 cat conftest.err >&5
31049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31050 (exit $ac_status); } >/dev/null; then
31051 if test -s conftest.err; then
31052 ac_cpp_err=$ac_c_preproc_warn_flag
31053 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31054 else
31055 ac_cpp_err=
31057 else
31058 ac_cpp_err=yes
31060 if test -z "$ac_cpp_err"; then
31061 ac_header_preproc=yes
31062 else
31063 echo "$as_me: failed program was:" >&5
31064 sed 's/^/| /' conftest.$ac_ext >&5
31066 ac_header_preproc=no
31068 rm -f conftest.err conftest.$ac_ext
31069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31070 echo "${ECHO_T}$ac_header_preproc" >&6
31072 # So? What about this header?
31073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31074 yes:no: )
31075 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31078 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31079 ac_header_preproc=yes
31081 no:yes:* )
31082 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31084 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31085 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31086 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31087 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31088 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31089 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31092 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31093 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31095 cat <<\_ASBOX
31096 ## ----------------------------------------- ##
31097 ## Report this to the package-unused lists. ##
31098 ## ----------------------------------------- ##
31099 _ASBOX
31101 sed "s/^/$as_me: WARNING: /" >&2
31103 esac
31104 echo "$as_me:$LINENO: checking for $ac_header" >&5
31105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31107 echo $ECHO_N "(cached) $ECHO_C" >&6
31108 else
31109 eval "$as_ac_Header=\$ac_header_preproc"
31111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31116 cat >>confdefs.h <<_ACEOF
31117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31118 _ACEOF
31122 done
31126 # All these tests are for C++; save the language and the compiler flags.
31127 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31128 # found in GLIBCXX_CONFIGURE.
31131 ac_ext=cc
31132 ac_cpp='$CXXCPP $CPPFLAGS'
31133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31137 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31138 ac_save_CXXFLAGS="$CXXFLAGS"
31140 # Check for maintainer-mode bits.
31141 if test x"$USE_MAINTAINER_MODE" = xno; then
31142 WERROR=''
31143 else
31144 WERROR='-Werror'
31147 # Check for -ffunction-sections -fdata-sections
31148 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31149 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31150 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31151 cat >conftest.$ac_ext <<_ACEOF
31152 /* confdefs.h. */
31153 _ACEOF
31154 cat confdefs.h >>conftest.$ac_ext
31155 cat >>conftest.$ac_ext <<_ACEOF
31156 /* end confdefs.h. */
31159 main ()
31161 int foo;
31163 return 0;
31165 _ACEOF
31166 rm -f conftest.$ac_objext
31167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31168 (eval $ac_compile) 2>conftest.er1
31169 ac_status=$?
31170 grep -v '^ *+' conftest.er1 >conftest.err
31171 rm -f conftest.er1
31172 cat conftest.err >&5
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); } &&
31175 { ac_try='test -z "$ac_cxx_werror_flag"
31176 || test ! -s conftest.err'
31177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31178 (eval $ac_try) 2>&5
31179 ac_status=$?
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; } &&
31182 { ac_try='test -s conftest.$ac_objext'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31185 ac_status=$?
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; }; then
31188 ac_fdsections=yes
31189 else
31190 echo "$as_me: failed program was:" >&5
31191 sed 's/^/| /' conftest.$ac_ext >&5
31193 ac_fdsections=no
31195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31196 if test "$ac_test_CXXFLAGS" = set; then
31197 CXXFLAGS="$ac_save_CXXFLAGS"
31198 else
31199 # this is the suspicious part
31200 CXXFLAGS=''
31202 if test x"$ac_fdsections" = x"yes"; then
31203 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31205 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31206 echo "${ECHO_T}$ac_fdsections" >&6
31208 ac_ext=c
31209 ac_cpp='$CPP $CPPFLAGS'
31210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31217 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31219 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31220 ac_save_CXXFLAGS="$CXXFLAGS"
31221 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31223 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31224 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31225 if test "${ac_cv_lib_m_sin+set}" = set; then
31226 echo $ECHO_N "(cached) $ECHO_C" >&6
31227 else
31228 ac_check_lib_save_LIBS=$LIBS
31229 LIBS="-lm $LIBS"
31230 if test x$gcc_no_link = xyes; then
31231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31233 { (exit 1); exit 1; }; }
31235 cat >conftest.$ac_ext <<_ACEOF
31236 /* confdefs.h. */
31237 _ACEOF
31238 cat confdefs.h >>conftest.$ac_ext
31239 cat >>conftest.$ac_ext <<_ACEOF
31240 /* end confdefs.h. */
31242 /* Override any gcc2 internal prototype to avoid an error. */
31243 #ifdef __cplusplus
31244 extern "C"
31245 #endif
31246 /* We use char because int might match the return type of a gcc2
31247 builtin and then its argument prototype would still apply. */
31248 char sin ();
31250 main ()
31252 sin ();
31254 return 0;
31256 _ACEOF
31257 rm -f conftest.$ac_objext conftest$ac_exeext
31258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31259 (eval $ac_link) 2>conftest.er1
31260 ac_status=$?
31261 grep -v '^ *+' conftest.er1 >conftest.err
31262 rm -f conftest.er1
31263 cat conftest.err >&5
31264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31265 (exit $ac_status); } &&
31266 { ac_try='test -z "$ac_c_werror_flag"
31267 || test ! -s conftest.err'
31268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31269 (eval $ac_try) 2>&5
31270 ac_status=$?
31271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31272 (exit $ac_status); }; } &&
31273 { ac_try='test -s conftest$ac_exeext'
31274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31275 (eval $ac_try) 2>&5
31276 ac_status=$?
31277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31278 (exit $ac_status); }; }; then
31279 ac_cv_lib_m_sin=yes
31280 else
31281 echo "$as_me: failed program was:" >&5
31282 sed 's/^/| /' conftest.$ac_ext >&5
31284 ac_cv_lib_m_sin=no
31286 rm -f conftest.err conftest.$ac_objext \
31287 conftest$ac_exeext conftest.$ac_ext
31288 LIBS=$ac_check_lib_save_LIBS
31290 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31291 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31292 if test $ac_cv_lib_m_sin = yes; then
31293 libm="-lm"
31296 ac_save_LIBS="$LIBS"
31297 LIBS="$LIBS $libm"
31301 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31302 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31303 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31304 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31305 echo $ECHO_N "(cached) $ECHO_C" >&6
31306 else
31310 ac_ext=cc
31311 ac_cpp='$CXXCPP $CPPFLAGS'
31312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31316 cat >conftest.$ac_ext <<_ACEOF
31317 /* confdefs.h. */
31318 _ACEOF
31319 cat confdefs.h >>conftest.$ac_ext
31320 cat >>conftest.$ac_ext <<_ACEOF
31321 /* end confdefs.h. */
31322 #include <math.h>
31323 #ifdef HAVE_IEEEFP_H
31324 #include <ieeefp.h>
31325 #endif
31328 main ()
31330 isinf(0);
31332 return 0;
31334 _ACEOF
31335 rm -f conftest.$ac_objext
31336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31337 (eval $ac_compile) 2>conftest.er1
31338 ac_status=$?
31339 grep -v '^ *+' conftest.er1 >conftest.err
31340 rm -f conftest.er1
31341 cat conftest.err >&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); } &&
31344 { ac_try='test -z "$ac_cxx_werror_flag"
31345 || test ! -s conftest.err'
31346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31347 (eval $ac_try) 2>&5
31348 ac_status=$?
31349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31350 (exit $ac_status); }; } &&
31351 { ac_try='test -s conftest.$ac_objext'
31352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31353 (eval $ac_try) 2>&5
31354 ac_status=$?
31355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356 (exit $ac_status); }; }; then
31357 glibcxx_cv_func_isinf_use=yes
31358 else
31359 echo "$as_me: failed program was:" >&5
31360 sed 's/^/| /' conftest.$ac_ext >&5
31362 glibcxx_cv_func_isinf_use=no
31364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31365 ac_ext=c
31366 ac_cpp='$CPP $CPPFLAGS'
31367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31376 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31378 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31380 for ac_func in isinf
31382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31383 echo "$as_me:$LINENO: checking for $ac_func" >&5
31384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31385 if eval "test \"\${$as_ac_var+set}\" = set"; then
31386 echo $ECHO_N "(cached) $ECHO_C" >&6
31387 else
31388 if test x$gcc_no_link = xyes; then
31389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31391 { (exit 1); exit 1; }; }
31393 cat >conftest.$ac_ext <<_ACEOF
31394 /* confdefs.h. */
31395 _ACEOF
31396 cat confdefs.h >>conftest.$ac_ext
31397 cat >>conftest.$ac_ext <<_ACEOF
31398 /* end confdefs.h. */
31399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31401 #define $ac_func innocuous_$ac_func
31403 /* System header to define __stub macros and hopefully few prototypes,
31404 which can conflict with char $ac_func (); below.
31405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31406 <limits.h> exists even on freestanding compilers. */
31408 #ifdef __STDC__
31409 # include <limits.h>
31410 #else
31411 # include <assert.h>
31412 #endif
31414 #undef $ac_func
31416 /* Override any gcc2 internal prototype to avoid an error. */
31417 #ifdef __cplusplus
31418 extern "C"
31420 #endif
31421 /* We use char because int might match the return type of a gcc2
31422 builtin and then its argument prototype would still apply. */
31423 char $ac_func ();
31424 /* The GNU C library defines this for functions which it implements
31425 to always fail with ENOSYS. Some functions are actually named
31426 something starting with __ and the normal name is an alias. */
31427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31428 choke me
31429 #else
31430 char (*f) () = $ac_func;
31431 #endif
31432 #ifdef __cplusplus
31434 #endif
31437 main ()
31439 return f != $ac_func;
31441 return 0;
31443 _ACEOF
31444 rm -f conftest.$ac_objext conftest$ac_exeext
31445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31446 (eval $ac_link) 2>conftest.er1
31447 ac_status=$?
31448 grep -v '^ *+' conftest.er1 >conftest.err
31449 rm -f conftest.er1
31450 cat conftest.err >&5
31451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31452 (exit $ac_status); } &&
31453 { ac_try='test -z "$ac_c_werror_flag"
31454 || test ! -s conftest.err'
31455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31456 (eval $ac_try) 2>&5
31457 ac_status=$?
31458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31459 (exit $ac_status); }; } &&
31460 { ac_try='test -s conftest$ac_exeext'
31461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31462 (eval $ac_try) 2>&5
31463 ac_status=$?
31464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31465 (exit $ac_status); }; }; then
31466 eval "$as_ac_var=yes"
31467 else
31468 echo "$as_me: failed program was:" >&5
31469 sed 's/^/| /' conftest.$ac_ext >&5
31471 eval "$as_ac_var=no"
31473 rm -f conftest.err conftest.$ac_objext \
31474 conftest$ac_exeext conftest.$ac_ext
31476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31478 if test `eval echo '${'$as_ac_var'}'` = yes; then
31479 cat >>confdefs.h <<_ACEOF
31480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31481 _ACEOF
31484 done
31486 else
31488 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31489 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31490 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31491 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31492 echo $ECHO_N "(cached) $ECHO_C" >&6
31493 else
31497 ac_ext=cc
31498 ac_cpp='$CXXCPP $CPPFLAGS'
31499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31503 cat >conftest.$ac_ext <<_ACEOF
31504 /* confdefs.h. */
31505 _ACEOF
31506 cat confdefs.h >>conftest.$ac_ext
31507 cat >>conftest.$ac_ext <<_ACEOF
31508 /* end confdefs.h. */
31509 #include <math.h>
31510 #ifdef HAVE_IEEEFP_H
31511 #include <ieeefp.h>
31512 #endif
31515 main ()
31517 _isinf(0);
31519 return 0;
31521 _ACEOF
31522 rm -f conftest.$ac_objext
31523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31524 (eval $ac_compile) 2>conftest.er1
31525 ac_status=$?
31526 grep -v '^ *+' conftest.er1 >conftest.err
31527 rm -f conftest.er1
31528 cat conftest.err >&5
31529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530 (exit $ac_status); } &&
31531 { ac_try='test -z "$ac_cxx_werror_flag"
31532 || test ! -s conftest.err'
31533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31534 (eval $ac_try) 2>&5
31535 ac_status=$?
31536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31537 (exit $ac_status); }; } &&
31538 { ac_try='test -s conftest.$ac_objext'
31539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31540 (eval $ac_try) 2>&5
31541 ac_status=$?
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); }; }; then
31544 glibcxx_cv_func__isinf_use=yes
31545 else
31546 echo "$as_me: failed program was:" >&5
31547 sed 's/^/| /' conftest.$ac_ext >&5
31549 glibcxx_cv_func__isinf_use=no
31551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31552 ac_ext=c
31553 ac_cpp='$CPP $CPPFLAGS'
31554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31563 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31565 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31567 for ac_func in _isinf
31569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31570 echo "$as_me:$LINENO: checking for $ac_func" >&5
31571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31572 if eval "test \"\${$as_ac_var+set}\" = set"; then
31573 echo $ECHO_N "(cached) $ECHO_C" >&6
31574 else
31575 if test x$gcc_no_link = xyes; then
31576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31578 { (exit 1); exit 1; }; }
31580 cat >conftest.$ac_ext <<_ACEOF
31581 /* confdefs.h. */
31582 _ACEOF
31583 cat confdefs.h >>conftest.$ac_ext
31584 cat >>conftest.$ac_ext <<_ACEOF
31585 /* end confdefs.h. */
31586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31588 #define $ac_func innocuous_$ac_func
31590 /* System header to define __stub macros and hopefully few prototypes,
31591 which can conflict with char $ac_func (); below.
31592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31593 <limits.h> exists even on freestanding compilers. */
31595 #ifdef __STDC__
31596 # include <limits.h>
31597 #else
31598 # include <assert.h>
31599 #endif
31601 #undef $ac_func
31603 /* Override any gcc2 internal prototype to avoid an error. */
31604 #ifdef __cplusplus
31605 extern "C"
31607 #endif
31608 /* We use char because int might match the return type of a gcc2
31609 builtin and then its argument prototype would still apply. */
31610 char $ac_func ();
31611 /* The GNU C library defines this for functions which it implements
31612 to always fail with ENOSYS. Some functions are actually named
31613 something starting with __ and the normal name is an alias. */
31614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31615 choke me
31616 #else
31617 char (*f) () = $ac_func;
31618 #endif
31619 #ifdef __cplusplus
31621 #endif
31624 main ()
31626 return f != $ac_func;
31628 return 0;
31630 _ACEOF
31631 rm -f conftest.$ac_objext conftest$ac_exeext
31632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31633 (eval $ac_link) 2>conftest.er1
31634 ac_status=$?
31635 grep -v '^ *+' conftest.er1 >conftest.err
31636 rm -f conftest.er1
31637 cat conftest.err >&5
31638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31639 (exit $ac_status); } &&
31640 { ac_try='test -z "$ac_c_werror_flag"
31641 || test ! -s conftest.err'
31642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31643 (eval $ac_try) 2>&5
31644 ac_status=$?
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; } &&
31647 { ac_try='test -s conftest$ac_exeext'
31648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31649 (eval $ac_try) 2>&5
31650 ac_status=$?
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; }; then
31653 eval "$as_ac_var=yes"
31654 else
31655 echo "$as_me: failed program was:" >&5
31656 sed 's/^/| /' conftest.$ac_ext >&5
31658 eval "$as_ac_var=no"
31660 rm -f conftest.err conftest.$ac_objext \
31661 conftest$ac_exeext conftest.$ac_ext
31663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31665 if test `eval echo '${'$as_ac_var'}'` = yes; then
31666 cat >>confdefs.h <<_ACEOF
31667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31668 _ACEOF
31671 done
31681 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31682 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31683 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31684 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31685 echo $ECHO_N "(cached) $ECHO_C" >&6
31686 else
31690 ac_ext=cc
31691 ac_cpp='$CXXCPP $CPPFLAGS'
31692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31696 cat >conftest.$ac_ext <<_ACEOF
31697 /* confdefs.h. */
31698 _ACEOF
31699 cat confdefs.h >>conftest.$ac_ext
31700 cat >>conftest.$ac_ext <<_ACEOF
31701 /* end confdefs.h. */
31702 #include <math.h>
31703 #ifdef HAVE_IEEEFP_H
31704 #include <ieeefp.h>
31705 #endif
31708 main ()
31710 isnan(0);
31712 return 0;
31714 _ACEOF
31715 rm -f conftest.$ac_objext
31716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31717 (eval $ac_compile) 2>conftest.er1
31718 ac_status=$?
31719 grep -v '^ *+' conftest.er1 >conftest.err
31720 rm -f conftest.er1
31721 cat conftest.err >&5
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); } &&
31724 { ac_try='test -z "$ac_cxx_werror_flag"
31725 || test ! -s conftest.err'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31728 ac_status=$?
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; } &&
31731 { ac_try='test -s conftest.$ac_objext'
31732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31733 (eval $ac_try) 2>&5
31734 ac_status=$?
31735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31736 (exit $ac_status); }; }; then
31737 glibcxx_cv_func_isnan_use=yes
31738 else
31739 echo "$as_me: failed program was:" >&5
31740 sed 's/^/| /' conftest.$ac_ext >&5
31742 glibcxx_cv_func_isnan_use=no
31744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31745 ac_ext=c
31746 ac_cpp='$CPP $CPPFLAGS'
31747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31755 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31756 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31758 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31760 for ac_func in isnan
31762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31763 echo "$as_me:$LINENO: checking for $ac_func" >&5
31764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31765 if eval "test \"\${$as_ac_var+set}\" = set"; then
31766 echo $ECHO_N "(cached) $ECHO_C" >&6
31767 else
31768 if test x$gcc_no_link = xyes; then
31769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31771 { (exit 1); exit 1; }; }
31773 cat >conftest.$ac_ext <<_ACEOF
31774 /* confdefs.h. */
31775 _ACEOF
31776 cat confdefs.h >>conftest.$ac_ext
31777 cat >>conftest.$ac_ext <<_ACEOF
31778 /* end confdefs.h. */
31779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31781 #define $ac_func innocuous_$ac_func
31783 /* System header to define __stub macros and hopefully few prototypes,
31784 which can conflict with char $ac_func (); below.
31785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31786 <limits.h> exists even on freestanding compilers. */
31788 #ifdef __STDC__
31789 # include <limits.h>
31790 #else
31791 # include <assert.h>
31792 #endif
31794 #undef $ac_func
31796 /* Override any gcc2 internal prototype to avoid an error. */
31797 #ifdef __cplusplus
31798 extern "C"
31800 #endif
31801 /* We use char because int might match the return type of a gcc2
31802 builtin and then its argument prototype would still apply. */
31803 char $ac_func ();
31804 /* The GNU C library defines this for functions which it implements
31805 to always fail with ENOSYS. Some functions are actually named
31806 something starting with __ and the normal name is an alias. */
31807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31808 choke me
31809 #else
31810 char (*f) () = $ac_func;
31811 #endif
31812 #ifdef __cplusplus
31814 #endif
31817 main ()
31819 return f != $ac_func;
31821 return 0;
31823 _ACEOF
31824 rm -f conftest.$ac_objext conftest$ac_exeext
31825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31826 (eval $ac_link) 2>conftest.er1
31827 ac_status=$?
31828 grep -v '^ *+' conftest.er1 >conftest.err
31829 rm -f conftest.er1
31830 cat conftest.err >&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); } &&
31833 { ac_try='test -z "$ac_c_werror_flag"
31834 || test ! -s conftest.err'
31835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31836 (eval $ac_try) 2>&5
31837 ac_status=$?
31838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31839 (exit $ac_status); }; } &&
31840 { ac_try='test -s conftest$ac_exeext'
31841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31842 (eval $ac_try) 2>&5
31843 ac_status=$?
31844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31845 (exit $ac_status); }; }; then
31846 eval "$as_ac_var=yes"
31847 else
31848 echo "$as_me: failed program was:" >&5
31849 sed 's/^/| /' conftest.$ac_ext >&5
31851 eval "$as_ac_var=no"
31853 rm -f conftest.err conftest.$ac_objext \
31854 conftest$ac_exeext conftest.$ac_ext
31856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31858 if test `eval echo '${'$as_ac_var'}'` = yes; then
31859 cat >>confdefs.h <<_ACEOF
31860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31861 _ACEOF
31864 done
31866 else
31868 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31869 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31870 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31871 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31872 echo $ECHO_N "(cached) $ECHO_C" >&6
31873 else
31877 ac_ext=cc
31878 ac_cpp='$CXXCPP $CPPFLAGS'
31879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31883 cat >conftest.$ac_ext <<_ACEOF
31884 /* confdefs.h. */
31885 _ACEOF
31886 cat confdefs.h >>conftest.$ac_ext
31887 cat >>conftest.$ac_ext <<_ACEOF
31888 /* end confdefs.h. */
31889 #include <math.h>
31890 #ifdef HAVE_IEEEFP_H
31891 #include <ieeefp.h>
31892 #endif
31895 main ()
31897 _isnan(0);
31899 return 0;
31901 _ACEOF
31902 rm -f conftest.$ac_objext
31903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31904 (eval $ac_compile) 2>conftest.er1
31905 ac_status=$?
31906 grep -v '^ *+' conftest.er1 >conftest.err
31907 rm -f conftest.er1
31908 cat conftest.err >&5
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); } &&
31911 { ac_try='test -z "$ac_cxx_werror_flag"
31912 || test ! -s conftest.err'
31913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31914 (eval $ac_try) 2>&5
31915 ac_status=$?
31916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31917 (exit $ac_status); }; } &&
31918 { ac_try='test -s conftest.$ac_objext'
31919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31920 (eval $ac_try) 2>&5
31921 ac_status=$?
31922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31923 (exit $ac_status); }; }; then
31924 glibcxx_cv_func__isnan_use=yes
31925 else
31926 echo "$as_me: failed program was:" >&5
31927 sed 's/^/| /' conftest.$ac_ext >&5
31929 glibcxx_cv_func__isnan_use=no
31931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31932 ac_ext=c
31933 ac_cpp='$CPP $CPPFLAGS'
31934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31942 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31943 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31945 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31947 for ac_func in _isnan
31949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31950 echo "$as_me:$LINENO: checking for $ac_func" >&5
31951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31952 if eval "test \"\${$as_ac_var+set}\" = set"; then
31953 echo $ECHO_N "(cached) $ECHO_C" >&6
31954 else
31955 if test x$gcc_no_link = xyes; then
31956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31958 { (exit 1); exit 1; }; }
31960 cat >conftest.$ac_ext <<_ACEOF
31961 /* confdefs.h. */
31962 _ACEOF
31963 cat confdefs.h >>conftest.$ac_ext
31964 cat >>conftest.$ac_ext <<_ACEOF
31965 /* end confdefs.h. */
31966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31968 #define $ac_func innocuous_$ac_func
31970 /* System header to define __stub macros and hopefully few prototypes,
31971 which can conflict with char $ac_func (); below.
31972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31973 <limits.h> exists even on freestanding compilers. */
31975 #ifdef __STDC__
31976 # include <limits.h>
31977 #else
31978 # include <assert.h>
31979 #endif
31981 #undef $ac_func
31983 /* Override any gcc2 internal prototype to avoid an error. */
31984 #ifdef __cplusplus
31985 extern "C"
31987 #endif
31988 /* We use char because int might match the return type of a gcc2
31989 builtin and then its argument prototype would still apply. */
31990 char $ac_func ();
31991 /* The GNU C library defines this for functions which it implements
31992 to always fail with ENOSYS. Some functions are actually named
31993 something starting with __ and the normal name is an alias. */
31994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31995 choke me
31996 #else
31997 char (*f) () = $ac_func;
31998 #endif
31999 #ifdef __cplusplus
32001 #endif
32004 main ()
32006 return f != $ac_func;
32008 return 0;
32010 _ACEOF
32011 rm -f conftest.$ac_objext conftest$ac_exeext
32012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32013 (eval $ac_link) 2>conftest.er1
32014 ac_status=$?
32015 grep -v '^ *+' conftest.er1 >conftest.err
32016 rm -f conftest.er1
32017 cat conftest.err >&5
32018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019 (exit $ac_status); } &&
32020 { ac_try='test -z "$ac_c_werror_flag"
32021 || test ! -s conftest.err'
32022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32023 (eval $ac_try) 2>&5
32024 ac_status=$?
32025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32026 (exit $ac_status); }; } &&
32027 { ac_try='test -s conftest$ac_exeext'
32028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32029 (eval $ac_try) 2>&5
32030 ac_status=$?
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); }; }; then
32033 eval "$as_ac_var=yes"
32034 else
32035 echo "$as_me: failed program was:" >&5
32036 sed 's/^/| /' conftest.$ac_ext >&5
32038 eval "$as_ac_var=no"
32040 rm -f conftest.err conftest.$ac_objext \
32041 conftest$ac_exeext conftest.$ac_ext
32043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32045 if test `eval echo '${'$as_ac_var'}'` = yes; then
32046 cat >>confdefs.h <<_ACEOF
32047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32048 _ACEOF
32051 done
32061 echo "$as_me:$LINENO: checking for finite declaration" >&5
32062 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32063 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32064 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32065 echo $ECHO_N "(cached) $ECHO_C" >&6
32066 else
32070 ac_ext=cc
32071 ac_cpp='$CXXCPP $CPPFLAGS'
32072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32076 cat >conftest.$ac_ext <<_ACEOF
32077 /* confdefs.h. */
32078 _ACEOF
32079 cat confdefs.h >>conftest.$ac_ext
32080 cat >>conftest.$ac_ext <<_ACEOF
32081 /* end confdefs.h. */
32082 #include <math.h>
32083 #ifdef HAVE_IEEEFP_H
32084 #include <ieeefp.h>
32085 #endif
32088 main ()
32090 finite(0);
32092 return 0;
32094 _ACEOF
32095 rm -f conftest.$ac_objext
32096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32097 (eval $ac_compile) 2>conftest.er1
32098 ac_status=$?
32099 grep -v '^ *+' conftest.er1 >conftest.err
32100 rm -f conftest.er1
32101 cat conftest.err >&5
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); } &&
32104 { ac_try='test -z "$ac_cxx_werror_flag"
32105 || test ! -s conftest.err'
32106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32107 (eval $ac_try) 2>&5
32108 ac_status=$?
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); }; } &&
32111 { ac_try='test -s conftest.$ac_objext'
32112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32113 (eval $ac_try) 2>&5
32114 ac_status=$?
32115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32116 (exit $ac_status); }; }; then
32117 glibcxx_cv_func_finite_use=yes
32118 else
32119 echo "$as_me: failed program was:" >&5
32120 sed 's/^/| /' conftest.$ac_ext >&5
32122 glibcxx_cv_func_finite_use=no
32124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32125 ac_ext=c
32126 ac_cpp='$CPP $CPPFLAGS'
32127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32135 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32136 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32138 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32140 for ac_func in finite
32142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32143 echo "$as_me:$LINENO: checking for $ac_func" >&5
32144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32145 if eval "test \"\${$as_ac_var+set}\" = set"; then
32146 echo $ECHO_N "(cached) $ECHO_C" >&6
32147 else
32148 if test x$gcc_no_link = xyes; then
32149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32151 { (exit 1); exit 1; }; }
32153 cat >conftest.$ac_ext <<_ACEOF
32154 /* confdefs.h. */
32155 _ACEOF
32156 cat confdefs.h >>conftest.$ac_ext
32157 cat >>conftest.$ac_ext <<_ACEOF
32158 /* end confdefs.h. */
32159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32161 #define $ac_func innocuous_$ac_func
32163 /* System header to define __stub macros and hopefully few prototypes,
32164 which can conflict with char $ac_func (); below.
32165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32166 <limits.h> exists even on freestanding compilers. */
32168 #ifdef __STDC__
32169 # include <limits.h>
32170 #else
32171 # include <assert.h>
32172 #endif
32174 #undef $ac_func
32176 /* Override any gcc2 internal prototype to avoid an error. */
32177 #ifdef __cplusplus
32178 extern "C"
32180 #endif
32181 /* We use char because int might match the return type of a gcc2
32182 builtin and then its argument prototype would still apply. */
32183 char $ac_func ();
32184 /* The GNU C library defines this for functions which it implements
32185 to always fail with ENOSYS. Some functions are actually named
32186 something starting with __ and the normal name is an alias. */
32187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32188 choke me
32189 #else
32190 char (*f) () = $ac_func;
32191 #endif
32192 #ifdef __cplusplus
32194 #endif
32197 main ()
32199 return f != $ac_func;
32201 return 0;
32203 _ACEOF
32204 rm -f conftest.$ac_objext conftest$ac_exeext
32205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32206 (eval $ac_link) 2>conftest.er1
32207 ac_status=$?
32208 grep -v '^ *+' conftest.er1 >conftest.err
32209 rm -f conftest.er1
32210 cat conftest.err >&5
32211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32212 (exit $ac_status); } &&
32213 { ac_try='test -z "$ac_c_werror_flag"
32214 || test ! -s conftest.err'
32215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32216 (eval $ac_try) 2>&5
32217 ac_status=$?
32218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32219 (exit $ac_status); }; } &&
32220 { ac_try='test -s conftest$ac_exeext'
32221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32222 (eval $ac_try) 2>&5
32223 ac_status=$?
32224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32225 (exit $ac_status); }; }; then
32226 eval "$as_ac_var=yes"
32227 else
32228 echo "$as_me: failed program was:" >&5
32229 sed 's/^/| /' conftest.$ac_ext >&5
32231 eval "$as_ac_var=no"
32233 rm -f conftest.err conftest.$ac_objext \
32234 conftest$ac_exeext conftest.$ac_ext
32236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32238 if test `eval echo '${'$as_ac_var'}'` = yes; then
32239 cat >>confdefs.h <<_ACEOF
32240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32241 _ACEOF
32244 done
32246 else
32248 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32249 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32250 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32251 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32252 echo $ECHO_N "(cached) $ECHO_C" >&6
32253 else
32257 ac_ext=cc
32258 ac_cpp='$CXXCPP $CPPFLAGS'
32259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32263 cat >conftest.$ac_ext <<_ACEOF
32264 /* confdefs.h. */
32265 _ACEOF
32266 cat confdefs.h >>conftest.$ac_ext
32267 cat >>conftest.$ac_ext <<_ACEOF
32268 /* end confdefs.h. */
32269 #include <math.h>
32270 #ifdef HAVE_IEEEFP_H
32271 #include <ieeefp.h>
32272 #endif
32275 main ()
32277 _finite(0);
32279 return 0;
32281 _ACEOF
32282 rm -f conftest.$ac_objext
32283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32284 (eval $ac_compile) 2>conftest.er1
32285 ac_status=$?
32286 grep -v '^ *+' conftest.er1 >conftest.err
32287 rm -f conftest.er1
32288 cat conftest.err >&5
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); } &&
32291 { ac_try='test -z "$ac_cxx_werror_flag"
32292 || test ! -s conftest.err'
32293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32294 (eval $ac_try) 2>&5
32295 ac_status=$?
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); }; } &&
32298 { ac_try='test -s conftest.$ac_objext'
32299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32300 (eval $ac_try) 2>&5
32301 ac_status=$?
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); }; }; then
32304 glibcxx_cv_func__finite_use=yes
32305 else
32306 echo "$as_me: failed program was:" >&5
32307 sed 's/^/| /' conftest.$ac_ext >&5
32309 glibcxx_cv_func__finite_use=no
32311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32312 ac_ext=c
32313 ac_cpp='$CPP $CPPFLAGS'
32314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32323 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32325 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32327 for ac_func in _finite
32329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32330 echo "$as_me:$LINENO: checking for $ac_func" >&5
32331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32332 if eval "test \"\${$as_ac_var+set}\" = set"; then
32333 echo $ECHO_N "(cached) $ECHO_C" >&6
32334 else
32335 if test x$gcc_no_link = xyes; then
32336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32338 { (exit 1); exit 1; }; }
32340 cat >conftest.$ac_ext <<_ACEOF
32341 /* confdefs.h. */
32342 _ACEOF
32343 cat confdefs.h >>conftest.$ac_ext
32344 cat >>conftest.$ac_ext <<_ACEOF
32345 /* end confdefs.h. */
32346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32348 #define $ac_func innocuous_$ac_func
32350 /* System header to define __stub macros and hopefully few prototypes,
32351 which can conflict with char $ac_func (); below.
32352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32353 <limits.h> exists even on freestanding compilers. */
32355 #ifdef __STDC__
32356 # include <limits.h>
32357 #else
32358 # include <assert.h>
32359 #endif
32361 #undef $ac_func
32363 /* Override any gcc2 internal prototype to avoid an error. */
32364 #ifdef __cplusplus
32365 extern "C"
32367 #endif
32368 /* We use char because int might match the return type of a gcc2
32369 builtin and then its argument prototype would still apply. */
32370 char $ac_func ();
32371 /* The GNU C library defines this for functions which it implements
32372 to always fail with ENOSYS. Some functions are actually named
32373 something starting with __ and the normal name is an alias. */
32374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32375 choke me
32376 #else
32377 char (*f) () = $ac_func;
32378 #endif
32379 #ifdef __cplusplus
32381 #endif
32384 main ()
32386 return f != $ac_func;
32388 return 0;
32390 _ACEOF
32391 rm -f conftest.$ac_objext conftest$ac_exeext
32392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32393 (eval $ac_link) 2>conftest.er1
32394 ac_status=$?
32395 grep -v '^ *+' conftest.er1 >conftest.err
32396 rm -f conftest.er1
32397 cat conftest.err >&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); } &&
32400 { ac_try='test -z "$ac_c_werror_flag"
32401 || test ! -s conftest.err'
32402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32403 (eval $ac_try) 2>&5
32404 ac_status=$?
32405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406 (exit $ac_status); }; } &&
32407 { ac_try='test -s conftest$ac_exeext'
32408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32409 (eval $ac_try) 2>&5
32410 ac_status=$?
32411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32412 (exit $ac_status); }; }; then
32413 eval "$as_ac_var=yes"
32414 else
32415 echo "$as_me: failed program was:" >&5
32416 sed 's/^/| /' conftest.$ac_ext >&5
32418 eval "$as_ac_var=no"
32420 rm -f conftest.err conftest.$ac_objext \
32421 conftest$ac_exeext conftest.$ac_ext
32423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32425 if test `eval echo '${'$as_ac_var'}'` = yes; then
32426 cat >>confdefs.h <<_ACEOF
32427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32428 _ACEOF
32431 done
32441 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32442 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32443 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32444 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32445 echo $ECHO_N "(cached) $ECHO_C" >&6
32446 else
32450 ac_ext=cc
32451 ac_cpp='$CXXCPP $CPPFLAGS'
32452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32456 cat >conftest.$ac_ext <<_ACEOF
32457 /* confdefs.h. */
32458 _ACEOF
32459 cat confdefs.h >>conftest.$ac_ext
32460 cat >>conftest.$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32462 #include <math.h>
32464 main ()
32466 copysign(0, 0);
32468 return 0;
32470 _ACEOF
32471 rm -f conftest.$ac_objext
32472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32473 (eval $ac_compile) 2>conftest.er1
32474 ac_status=$?
32475 grep -v '^ *+' conftest.er1 >conftest.err
32476 rm -f conftest.er1
32477 cat conftest.err >&5
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); } &&
32480 { ac_try='test -z "$ac_cxx_werror_flag"
32481 || test ! -s conftest.err'
32482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32483 (eval $ac_try) 2>&5
32484 ac_status=$?
32485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486 (exit $ac_status); }; } &&
32487 { ac_try='test -s conftest.$ac_objext'
32488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32489 (eval $ac_try) 2>&5
32490 ac_status=$?
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); }; }; then
32493 glibcxx_cv_func_copysign_use=yes
32494 else
32495 echo "$as_me: failed program was:" >&5
32496 sed 's/^/| /' conftest.$ac_ext >&5
32498 glibcxx_cv_func_copysign_use=no
32500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32501 ac_ext=c
32502 ac_cpp='$CPP $CPPFLAGS'
32503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32511 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32512 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32514 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32516 for ac_func in copysign
32518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32519 echo "$as_me:$LINENO: checking for $ac_func" >&5
32520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32521 if eval "test \"\${$as_ac_var+set}\" = set"; then
32522 echo $ECHO_N "(cached) $ECHO_C" >&6
32523 else
32524 if test x$gcc_no_link = xyes; then
32525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32527 { (exit 1); exit 1; }; }
32529 cat >conftest.$ac_ext <<_ACEOF
32530 /* confdefs.h. */
32531 _ACEOF
32532 cat confdefs.h >>conftest.$ac_ext
32533 cat >>conftest.$ac_ext <<_ACEOF
32534 /* end confdefs.h. */
32535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32537 #define $ac_func innocuous_$ac_func
32539 /* System header to define __stub macros and hopefully few prototypes,
32540 which can conflict with char $ac_func (); below.
32541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32542 <limits.h> exists even on freestanding compilers. */
32544 #ifdef __STDC__
32545 # include <limits.h>
32546 #else
32547 # include <assert.h>
32548 #endif
32550 #undef $ac_func
32552 /* Override any gcc2 internal prototype to avoid an error. */
32553 #ifdef __cplusplus
32554 extern "C"
32556 #endif
32557 /* We use char because int might match the return type of a gcc2
32558 builtin and then its argument prototype would still apply. */
32559 char $ac_func ();
32560 /* The GNU C library defines this for functions which it implements
32561 to always fail with ENOSYS. Some functions are actually named
32562 something starting with __ and the normal name is an alias. */
32563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32564 choke me
32565 #else
32566 char (*f) () = $ac_func;
32567 #endif
32568 #ifdef __cplusplus
32570 #endif
32573 main ()
32575 return f != $ac_func;
32577 return 0;
32579 _ACEOF
32580 rm -f conftest.$ac_objext conftest$ac_exeext
32581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32582 (eval $ac_link) 2>conftest.er1
32583 ac_status=$?
32584 grep -v '^ *+' conftest.er1 >conftest.err
32585 rm -f conftest.er1
32586 cat conftest.err >&5
32587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32588 (exit $ac_status); } &&
32589 { ac_try='test -z "$ac_c_werror_flag"
32590 || test ! -s conftest.err'
32591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32592 (eval $ac_try) 2>&5
32593 ac_status=$?
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); }; } &&
32596 { ac_try='test -s conftest$ac_exeext'
32597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32598 (eval $ac_try) 2>&5
32599 ac_status=$?
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); }; }; then
32602 eval "$as_ac_var=yes"
32603 else
32604 echo "$as_me: failed program was:" >&5
32605 sed 's/^/| /' conftest.$ac_ext >&5
32607 eval "$as_ac_var=no"
32609 rm -f conftest.err conftest.$ac_objext \
32610 conftest$ac_exeext conftest.$ac_ext
32612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32614 if test `eval echo '${'$as_ac_var'}'` = yes; then
32615 cat >>confdefs.h <<_ACEOF
32616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32617 _ACEOF
32620 done
32622 else
32624 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32625 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32626 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32627 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32628 echo $ECHO_N "(cached) $ECHO_C" >&6
32629 else
32633 ac_ext=cc
32634 ac_cpp='$CXXCPP $CPPFLAGS'
32635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32639 cat >conftest.$ac_ext <<_ACEOF
32640 /* confdefs.h. */
32641 _ACEOF
32642 cat confdefs.h >>conftest.$ac_ext
32643 cat >>conftest.$ac_ext <<_ACEOF
32644 /* end confdefs.h. */
32645 #include <math.h>
32647 main ()
32649 _copysign(0, 0);
32651 return 0;
32653 _ACEOF
32654 rm -f conftest.$ac_objext
32655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32656 (eval $ac_compile) 2>conftest.er1
32657 ac_status=$?
32658 grep -v '^ *+' conftest.er1 >conftest.err
32659 rm -f conftest.er1
32660 cat conftest.err >&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); } &&
32663 { ac_try='test -z "$ac_cxx_werror_flag"
32664 || test ! -s conftest.err'
32665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32666 (eval $ac_try) 2>&5
32667 ac_status=$?
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); }; } &&
32670 { ac_try='test -s conftest.$ac_objext'
32671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32672 (eval $ac_try) 2>&5
32673 ac_status=$?
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); }; }; then
32676 glibcxx_cv_func__copysign_use=yes
32677 else
32678 echo "$as_me: failed program was:" >&5
32679 sed 's/^/| /' conftest.$ac_ext >&5
32681 glibcxx_cv_func__copysign_use=no
32683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32684 ac_ext=c
32685 ac_cpp='$CPP $CPPFLAGS'
32686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32695 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32697 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32699 for ac_func in _copysign
32701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32702 echo "$as_me:$LINENO: checking for $ac_func" >&5
32703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32704 if eval "test \"\${$as_ac_var+set}\" = set"; then
32705 echo $ECHO_N "(cached) $ECHO_C" >&6
32706 else
32707 if test x$gcc_no_link = xyes; then
32708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32710 { (exit 1); exit 1; }; }
32712 cat >conftest.$ac_ext <<_ACEOF
32713 /* confdefs.h. */
32714 _ACEOF
32715 cat confdefs.h >>conftest.$ac_ext
32716 cat >>conftest.$ac_ext <<_ACEOF
32717 /* end confdefs.h. */
32718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32720 #define $ac_func innocuous_$ac_func
32722 /* System header to define __stub macros and hopefully few prototypes,
32723 which can conflict with char $ac_func (); below.
32724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32725 <limits.h> exists even on freestanding compilers. */
32727 #ifdef __STDC__
32728 # include <limits.h>
32729 #else
32730 # include <assert.h>
32731 #endif
32733 #undef $ac_func
32735 /* Override any gcc2 internal prototype to avoid an error. */
32736 #ifdef __cplusplus
32737 extern "C"
32739 #endif
32740 /* We use char because int might match the return type of a gcc2
32741 builtin and then its argument prototype would still apply. */
32742 char $ac_func ();
32743 /* The GNU C library defines this for functions which it implements
32744 to always fail with ENOSYS. Some functions are actually named
32745 something starting with __ and the normal name is an alias. */
32746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32747 choke me
32748 #else
32749 char (*f) () = $ac_func;
32750 #endif
32751 #ifdef __cplusplus
32753 #endif
32756 main ()
32758 return f != $ac_func;
32760 return 0;
32762 _ACEOF
32763 rm -f conftest.$ac_objext conftest$ac_exeext
32764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32765 (eval $ac_link) 2>conftest.er1
32766 ac_status=$?
32767 grep -v '^ *+' conftest.er1 >conftest.err
32768 rm -f conftest.er1
32769 cat conftest.err >&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } &&
32772 { ac_try='test -z "$ac_c_werror_flag"
32773 || test ! -s conftest.err'
32774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32775 (eval $ac_try) 2>&5
32776 ac_status=$?
32777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32778 (exit $ac_status); }; } &&
32779 { ac_try='test -s conftest$ac_exeext'
32780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32781 (eval $ac_try) 2>&5
32782 ac_status=$?
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); }; }; then
32785 eval "$as_ac_var=yes"
32786 else
32787 echo "$as_me: failed program was:" >&5
32788 sed 's/^/| /' conftest.$ac_ext >&5
32790 eval "$as_ac_var=no"
32792 rm -f conftest.err conftest.$ac_objext \
32793 conftest$ac_exeext conftest.$ac_ext
32795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32797 if test `eval echo '${'$as_ac_var'}'` = yes; then
32798 cat >>confdefs.h <<_ACEOF
32799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32800 _ACEOF
32803 done
32813 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32814 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32815 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32816 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32817 echo $ECHO_N "(cached) $ECHO_C" >&6
32818 else
32822 ac_ext=cc
32823 ac_cpp='$CXXCPP $CPPFLAGS'
32824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32828 cat >conftest.$ac_ext <<_ACEOF
32829 /* confdefs.h. */
32830 _ACEOF
32831 cat confdefs.h >>conftest.$ac_ext
32832 cat >>conftest.$ac_ext <<_ACEOF
32833 /* end confdefs.h. */
32834 #include <math.h>
32836 main ()
32838 sincos(0, 0, 0);
32840 return 0;
32842 _ACEOF
32843 rm -f conftest.$ac_objext
32844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32845 (eval $ac_compile) 2>conftest.er1
32846 ac_status=$?
32847 grep -v '^ *+' conftest.er1 >conftest.err
32848 rm -f conftest.er1
32849 cat conftest.err >&5
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); } &&
32852 { ac_try='test -z "$ac_cxx_werror_flag"
32853 || test ! -s conftest.err'
32854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32855 (eval $ac_try) 2>&5
32856 ac_status=$?
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); }; } &&
32859 { ac_try='test -s conftest.$ac_objext'
32860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32861 (eval $ac_try) 2>&5
32862 ac_status=$?
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); }; }; then
32865 glibcxx_cv_func_sincos_use=yes
32866 else
32867 echo "$as_me: failed program was:" >&5
32868 sed 's/^/| /' conftest.$ac_ext >&5
32870 glibcxx_cv_func_sincos_use=no
32872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32873 ac_ext=c
32874 ac_cpp='$CPP $CPPFLAGS'
32875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32883 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32884 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32886 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32888 for ac_func in sincos
32890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32891 echo "$as_me:$LINENO: checking for $ac_func" >&5
32892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32893 if eval "test \"\${$as_ac_var+set}\" = set"; then
32894 echo $ECHO_N "(cached) $ECHO_C" >&6
32895 else
32896 if test x$gcc_no_link = xyes; then
32897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32899 { (exit 1); exit 1; }; }
32901 cat >conftest.$ac_ext <<_ACEOF
32902 /* confdefs.h. */
32903 _ACEOF
32904 cat confdefs.h >>conftest.$ac_ext
32905 cat >>conftest.$ac_ext <<_ACEOF
32906 /* end confdefs.h. */
32907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32909 #define $ac_func innocuous_$ac_func
32911 /* System header to define __stub macros and hopefully few prototypes,
32912 which can conflict with char $ac_func (); below.
32913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32914 <limits.h> exists even on freestanding compilers. */
32916 #ifdef __STDC__
32917 # include <limits.h>
32918 #else
32919 # include <assert.h>
32920 #endif
32922 #undef $ac_func
32924 /* Override any gcc2 internal prototype to avoid an error. */
32925 #ifdef __cplusplus
32926 extern "C"
32928 #endif
32929 /* We use char because int might match the return type of a gcc2
32930 builtin and then its argument prototype would still apply. */
32931 char $ac_func ();
32932 /* The GNU C library defines this for functions which it implements
32933 to always fail with ENOSYS. Some functions are actually named
32934 something starting with __ and the normal name is an alias. */
32935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32936 choke me
32937 #else
32938 char (*f) () = $ac_func;
32939 #endif
32940 #ifdef __cplusplus
32942 #endif
32945 main ()
32947 return f != $ac_func;
32949 return 0;
32951 _ACEOF
32952 rm -f conftest.$ac_objext conftest$ac_exeext
32953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32954 (eval $ac_link) 2>conftest.er1
32955 ac_status=$?
32956 grep -v '^ *+' conftest.er1 >conftest.err
32957 rm -f conftest.er1
32958 cat conftest.err >&5
32959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32960 (exit $ac_status); } &&
32961 { ac_try='test -z "$ac_c_werror_flag"
32962 || test ! -s conftest.err'
32963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32964 (eval $ac_try) 2>&5
32965 ac_status=$?
32966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32967 (exit $ac_status); }; } &&
32968 { ac_try='test -s conftest$ac_exeext'
32969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32970 (eval $ac_try) 2>&5
32971 ac_status=$?
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); }; }; then
32974 eval "$as_ac_var=yes"
32975 else
32976 echo "$as_me: failed program was:" >&5
32977 sed 's/^/| /' conftest.$ac_ext >&5
32979 eval "$as_ac_var=no"
32981 rm -f conftest.err conftest.$ac_objext \
32982 conftest$ac_exeext conftest.$ac_ext
32984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32986 if test `eval echo '${'$as_ac_var'}'` = yes; then
32987 cat >>confdefs.h <<_ACEOF
32988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32989 _ACEOF
32992 done
32994 else
32996 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32997 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32998 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32999 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33000 echo $ECHO_N "(cached) $ECHO_C" >&6
33001 else
33005 ac_ext=cc
33006 ac_cpp='$CXXCPP $CPPFLAGS'
33007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33011 cat >conftest.$ac_ext <<_ACEOF
33012 /* confdefs.h. */
33013 _ACEOF
33014 cat confdefs.h >>conftest.$ac_ext
33015 cat >>conftest.$ac_ext <<_ACEOF
33016 /* end confdefs.h. */
33017 #include <math.h>
33019 main ()
33021 _sincos(0, 0, 0);
33023 return 0;
33025 _ACEOF
33026 rm -f conftest.$ac_objext
33027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33028 (eval $ac_compile) 2>conftest.er1
33029 ac_status=$?
33030 grep -v '^ *+' conftest.er1 >conftest.err
33031 rm -f conftest.er1
33032 cat conftest.err >&5
33033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33034 (exit $ac_status); } &&
33035 { ac_try='test -z "$ac_cxx_werror_flag"
33036 || test ! -s conftest.err'
33037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33038 (eval $ac_try) 2>&5
33039 ac_status=$?
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); }; } &&
33042 { ac_try='test -s conftest.$ac_objext'
33043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33044 (eval $ac_try) 2>&5
33045 ac_status=$?
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); }; }; then
33048 glibcxx_cv_func__sincos_use=yes
33049 else
33050 echo "$as_me: failed program was:" >&5
33051 sed 's/^/| /' conftest.$ac_ext >&5
33053 glibcxx_cv_func__sincos_use=no
33055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33056 ac_ext=c
33057 ac_cpp='$CPP $CPPFLAGS'
33058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33066 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33067 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33069 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33071 for ac_func in _sincos
33073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33074 echo "$as_me:$LINENO: checking for $ac_func" >&5
33075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33076 if eval "test \"\${$as_ac_var+set}\" = set"; then
33077 echo $ECHO_N "(cached) $ECHO_C" >&6
33078 else
33079 if test x$gcc_no_link = xyes; then
33080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33082 { (exit 1); exit 1; }; }
33084 cat >conftest.$ac_ext <<_ACEOF
33085 /* confdefs.h. */
33086 _ACEOF
33087 cat confdefs.h >>conftest.$ac_ext
33088 cat >>conftest.$ac_ext <<_ACEOF
33089 /* end confdefs.h. */
33090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33092 #define $ac_func innocuous_$ac_func
33094 /* System header to define __stub macros and hopefully few prototypes,
33095 which can conflict with char $ac_func (); below.
33096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33097 <limits.h> exists even on freestanding compilers. */
33099 #ifdef __STDC__
33100 # include <limits.h>
33101 #else
33102 # include <assert.h>
33103 #endif
33105 #undef $ac_func
33107 /* Override any gcc2 internal prototype to avoid an error. */
33108 #ifdef __cplusplus
33109 extern "C"
33111 #endif
33112 /* We use char because int might match the return type of a gcc2
33113 builtin and then its argument prototype would still apply. */
33114 char $ac_func ();
33115 /* The GNU C library defines this for functions which it implements
33116 to always fail with ENOSYS. Some functions are actually named
33117 something starting with __ and the normal name is an alias. */
33118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33119 choke me
33120 #else
33121 char (*f) () = $ac_func;
33122 #endif
33123 #ifdef __cplusplus
33125 #endif
33128 main ()
33130 return f != $ac_func;
33132 return 0;
33134 _ACEOF
33135 rm -f conftest.$ac_objext conftest$ac_exeext
33136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33137 (eval $ac_link) 2>conftest.er1
33138 ac_status=$?
33139 grep -v '^ *+' conftest.er1 >conftest.err
33140 rm -f conftest.er1
33141 cat conftest.err >&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); } &&
33144 { ac_try='test -z "$ac_c_werror_flag"
33145 || test ! -s conftest.err'
33146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33147 (eval $ac_try) 2>&5
33148 ac_status=$?
33149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33150 (exit $ac_status); }; } &&
33151 { ac_try='test -s conftest$ac_exeext'
33152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33153 (eval $ac_try) 2>&5
33154 ac_status=$?
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); }; }; then
33157 eval "$as_ac_var=yes"
33158 else
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33162 eval "$as_ac_var=no"
33164 rm -f conftest.err conftest.$ac_objext \
33165 conftest$ac_exeext conftest.$ac_ext
33167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33169 if test `eval echo '${'$as_ac_var'}'` = yes; then
33170 cat >>confdefs.h <<_ACEOF
33171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33172 _ACEOF
33175 done
33185 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33186 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33187 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33188 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33189 echo $ECHO_N "(cached) $ECHO_C" >&6
33190 else
33194 ac_ext=cc
33195 ac_cpp='$CXXCPP $CPPFLAGS'
33196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33200 cat >conftest.$ac_ext <<_ACEOF
33201 /* confdefs.h. */
33202 _ACEOF
33203 cat confdefs.h >>conftest.$ac_ext
33204 cat >>conftest.$ac_ext <<_ACEOF
33205 /* end confdefs.h. */
33206 #include <math.h>
33207 #ifdef HAVE_IEEEFP_H
33208 #include <ieeefp.h>
33209 #endif
33212 main ()
33214 fpclass(0);
33216 return 0;
33218 _ACEOF
33219 rm -f conftest.$ac_objext
33220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33221 (eval $ac_compile) 2>conftest.er1
33222 ac_status=$?
33223 grep -v '^ *+' conftest.er1 >conftest.err
33224 rm -f conftest.er1
33225 cat conftest.err >&5
33226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33227 (exit $ac_status); } &&
33228 { ac_try='test -z "$ac_cxx_werror_flag"
33229 || test ! -s conftest.err'
33230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33231 (eval $ac_try) 2>&5
33232 ac_status=$?
33233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 (exit $ac_status); }; } &&
33235 { ac_try='test -s conftest.$ac_objext'
33236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33237 (eval $ac_try) 2>&5
33238 ac_status=$?
33239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33240 (exit $ac_status); }; }; then
33241 glibcxx_cv_func_fpclass_use=yes
33242 else
33243 echo "$as_me: failed program was:" >&5
33244 sed 's/^/| /' conftest.$ac_ext >&5
33246 glibcxx_cv_func_fpclass_use=no
33248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33249 ac_ext=c
33250 ac_cpp='$CPP $CPPFLAGS'
33251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33259 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33260 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33262 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33264 for ac_func in fpclass
33266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33267 echo "$as_me:$LINENO: checking for $ac_func" >&5
33268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33269 if eval "test \"\${$as_ac_var+set}\" = set"; then
33270 echo $ECHO_N "(cached) $ECHO_C" >&6
33271 else
33272 if test x$gcc_no_link = xyes; then
33273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33275 { (exit 1); exit 1; }; }
33277 cat >conftest.$ac_ext <<_ACEOF
33278 /* confdefs.h. */
33279 _ACEOF
33280 cat confdefs.h >>conftest.$ac_ext
33281 cat >>conftest.$ac_ext <<_ACEOF
33282 /* end confdefs.h. */
33283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33285 #define $ac_func innocuous_$ac_func
33287 /* System header to define __stub macros and hopefully few prototypes,
33288 which can conflict with char $ac_func (); below.
33289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33290 <limits.h> exists even on freestanding compilers. */
33292 #ifdef __STDC__
33293 # include <limits.h>
33294 #else
33295 # include <assert.h>
33296 #endif
33298 #undef $ac_func
33300 /* Override any gcc2 internal prototype to avoid an error. */
33301 #ifdef __cplusplus
33302 extern "C"
33304 #endif
33305 /* We use char because int might match the return type of a gcc2
33306 builtin and then its argument prototype would still apply. */
33307 char $ac_func ();
33308 /* The GNU C library defines this for functions which it implements
33309 to always fail with ENOSYS. Some functions are actually named
33310 something starting with __ and the normal name is an alias. */
33311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33312 choke me
33313 #else
33314 char (*f) () = $ac_func;
33315 #endif
33316 #ifdef __cplusplus
33318 #endif
33321 main ()
33323 return f != $ac_func;
33325 return 0;
33327 _ACEOF
33328 rm -f conftest.$ac_objext conftest$ac_exeext
33329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33330 (eval $ac_link) 2>conftest.er1
33331 ac_status=$?
33332 grep -v '^ *+' conftest.er1 >conftest.err
33333 rm -f conftest.er1
33334 cat conftest.err >&5
33335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33336 (exit $ac_status); } &&
33337 { ac_try='test -z "$ac_c_werror_flag"
33338 || test ! -s conftest.err'
33339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33340 (eval $ac_try) 2>&5
33341 ac_status=$?
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); }; } &&
33344 { ac_try='test -s conftest$ac_exeext'
33345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33346 (eval $ac_try) 2>&5
33347 ac_status=$?
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); }; }; then
33350 eval "$as_ac_var=yes"
33351 else
33352 echo "$as_me: failed program was:" >&5
33353 sed 's/^/| /' conftest.$ac_ext >&5
33355 eval "$as_ac_var=no"
33357 rm -f conftest.err conftest.$ac_objext \
33358 conftest$ac_exeext conftest.$ac_ext
33360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33362 if test `eval echo '${'$as_ac_var'}'` = yes; then
33363 cat >>confdefs.h <<_ACEOF
33364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33365 _ACEOF
33368 done
33370 else
33372 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33373 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33374 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33375 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33376 echo $ECHO_N "(cached) $ECHO_C" >&6
33377 else
33381 ac_ext=cc
33382 ac_cpp='$CXXCPP $CPPFLAGS'
33383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33387 cat >conftest.$ac_ext <<_ACEOF
33388 /* confdefs.h. */
33389 _ACEOF
33390 cat confdefs.h >>conftest.$ac_ext
33391 cat >>conftest.$ac_ext <<_ACEOF
33392 /* end confdefs.h. */
33393 #include <math.h>
33394 #ifdef HAVE_IEEEFP_H
33395 #include <ieeefp.h>
33396 #endif
33399 main ()
33401 _fpclass(0);
33403 return 0;
33405 _ACEOF
33406 rm -f conftest.$ac_objext
33407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33408 (eval $ac_compile) 2>conftest.er1
33409 ac_status=$?
33410 grep -v '^ *+' conftest.er1 >conftest.err
33411 rm -f conftest.er1
33412 cat conftest.err >&5
33413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33414 (exit $ac_status); } &&
33415 { ac_try='test -z "$ac_cxx_werror_flag"
33416 || test ! -s conftest.err'
33417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33418 (eval $ac_try) 2>&5
33419 ac_status=$?
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); }; } &&
33422 { ac_try='test -s conftest.$ac_objext'
33423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33424 (eval $ac_try) 2>&5
33425 ac_status=$?
33426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33427 (exit $ac_status); }; }; then
33428 glibcxx_cv_func__fpclass_use=yes
33429 else
33430 echo "$as_me: failed program was:" >&5
33431 sed 's/^/| /' conftest.$ac_ext >&5
33433 glibcxx_cv_func__fpclass_use=no
33435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33436 ac_ext=c
33437 ac_cpp='$CPP $CPPFLAGS'
33438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33446 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33447 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33449 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33451 for ac_func in _fpclass
33453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33454 echo "$as_me:$LINENO: checking for $ac_func" >&5
33455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33456 if eval "test \"\${$as_ac_var+set}\" = set"; then
33457 echo $ECHO_N "(cached) $ECHO_C" >&6
33458 else
33459 if test x$gcc_no_link = xyes; then
33460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33462 { (exit 1); exit 1; }; }
33464 cat >conftest.$ac_ext <<_ACEOF
33465 /* confdefs.h. */
33466 _ACEOF
33467 cat confdefs.h >>conftest.$ac_ext
33468 cat >>conftest.$ac_ext <<_ACEOF
33469 /* end confdefs.h. */
33470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33472 #define $ac_func innocuous_$ac_func
33474 /* System header to define __stub macros and hopefully few prototypes,
33475 which can conflict with char $ac_func (); below.
33476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33477 <limits.h> exists even on freestanding compilers. */
33479 #ifdef __STDC__
33480 # include <limits.h>
33481 #else
33482 # include <assert.h>
33483 #endif
33485 #undef $ac_func
33487 /* Override any gcc2 internal prototype to avoid an error. */
33488 #ifdef __cplusplus
33489 extern "C"
33491 #endif
33492 /* We use char because int might match the return type of a gcc2
33493 builtin and then its argument prototype would still apply. */
33494 char $ac_func ();
33495 /* The GNU C library defines this for functions which it implements
33496 to always fail with ENOSYS. Some functions are actually named
33497 something starting with __ and the normal name is an alias. */
33498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33499 choke me
33500 #else
33501 char (*f) () = $ac_func;
33502 #endif
33503 #ifdef __cplusplus
33505 #endif
33508 main ()
33510 return f != $ac_func;
33512 return 0;
33514 _ACEOF
33515 rm -f conftest.$ac_objext conftest$ac_exeext
33516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33517 (eval $ac_link) 2>conftest.er1
33518 ac_status=$?
33519 grep -v '^ *+' conftest.er1 >conftest.err
33520 rm -f conftest.er1
33521 cat conftest.err >&5
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); } &&
33524 { ac_try='test -z "$ac_c_werror_flag"
33525 || test ! -s conftest.err'
33526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33527 (eval $ac_try) 2>&5
33528 ac_status=$?
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); }; } &&
33531 { ac_try='test -s conftest$ac_exeext'
33532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33533 (eval $ac_try) 2>&5
33534 ac_status=$?
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); }; }; then
33537 eval "$as_ac_var=yes"
33538 else
33539 echo "$as_me: failed program was:" >&5
33540 sed 's/^/| /' conftest.$ac_ext >&5
33542 eval "$as_ac_var=no"
33544 rm -f conftest.err conftest.$ac_objext \
33545 conftest$ac_exeext conftest.$ac_ext
33547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33549 if test `eval echo '${'$as_ac_var'}'` = yes; then
33550 cat >>confdefs.h <<_ACEOF
33551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33552 _ACEOF
33555 done
33565 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33566 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33567 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33568 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33569 echo $ECHO_N "(cached) $ECHO_C" >&6
33570 else
33574 ac_ext=cc
33575 ac_cpp='$CXXCPP $CPPFLAGS'
33576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33580 cat >conftest.$ac_ext <<_ACEOF
33581 /* confdefs.h. */
33582 _ACEOF
33583 cat confdefs.h >>conftest.$ac_ext
33584 cat >>conftest.$ac_ext <<_ACEOF
33585 /* end confdefs.h. */
33586 #include <math.h>
33587 #ifdef HAVE_IEEEFP_H
33588 #include <ieeefp.h>
33589 #endif
33592 main ()
33594 qfpclass(0);
33596 return 0;
33598 _ACEOF
33599 rm -f conftest.$ac_objext
33600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33601 (eval $ac_compile) 2>conftest.er1
33602 ac_status=$?
33603 grep -v '^ *+' conftest.er1 >conftest.err
33604 rm -f conftest.er1
33605 cat conftest.err >&5
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); } &&
33608 { ac_try='test -z "$ac_cxx_werror_flag"
33609 || test ! -s conftest.err'
33610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33611 (eval $ac_try) 2>&5
33612 ac_status=$?
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); }; } &&
33615 { ac_try='test -s conftest.$ac_objext'
33616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33617 (eval $ac_try) 2>&5
33618 ac_status=$?
33619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33620 (exit $ac_status); }; }; then
33621 glibcxx_cv_func_qfpclass_use=yes
33622 else
33623 echo "$as_me: failed program was:" >&5
33624 sed 's/^/| /' conftest.$ac_ext >&5
33626 glibcxx_cv_func_qfpclass_use=no
33628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33629 ac_ext=c
33630 ac_cpp='$CPP $CPPFLAGS'
33631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33639 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33640 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33642 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33644 for ac_func in qfpclass
33646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33647 echo "$as_me:$LINENO: checking for $ac_func" >&5
33648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33649 if eval "test \"\${$as_ac_var+set}\" = set"; then
33650 echo $ECHO_N "(cached) $ECHO_C" >&6
33651 else
33652 if test x$gcc_no_link = xyes; then
33653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33655 { (exit 1); exit 1; }; }
33657 cat >conftest.$ac_ext <<_ACEOF
33658 /* confdefs.h. */
33659 _ACEOF
33660 cat confdefs.h >>conftest.$ac_ext
33661 cat >>conftest.$ac_ext <<_ACEOF
33662 /* end confdefs.h. */
33663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33665 #define $ac_func innocuous_$ac_func
33667 /* System header to define __stub macros and hopefully few prototypes,
33668 which can conflict with char $ac_func (); below.
33669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33670 <limits.h> exists even on freestanding compilers. */
33672 #ifdef __STDC__
33673 # include <limits.h>
33674 #else
33675 # include <assert.h>
33676 #endif
33678 #undef $ac_func
33680 /* Override any gcc2 internal prototype to avoid an error. */
33681 #ifdef __cplusplus
33682 extern "C"
33684 #endif
33685 /* We use char because int might match the return type of a gcc2
33686 builtin and then its argument prototype would still apply. */
33687 char $ac_func ();
33688 /* The GNU C library defines this for functions which it implements
33689 to always fail with ENOSYS. Some functions are actually named
33690 something starting with __ and the normal name is an alias. */
33691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33692 choke me
33693 #else
33694 char (*f) () = $ac_func;
33695 #endif
33696 #ifdef __cplusplus
33698 #endif
33701 main ()
33703 return f != $ac_func;
33705 return 0;
33707 _ACEOF
33708 rm -f conftest.$ac_objext conftest$ac_exeext
33709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33710 (eval $ac_link) 2>conftest.er1
33711 ac_status=$?
33712 grep -v '^ *+' conftest.er1 >conftest.err
33713 rm -f conftest.er1
33714 cat conftest.err >&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } &&
33717 { ac_try='test -z "$ac_c_werror_flag"
33718 || test ! -s conftest.err'
33719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33720 (eval $ac_try) 2>&5
33721 ac_status=$?
33722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33723 (exit $ac_status); }; } &&
33724 { ac_try='test -s conftest$ac_exeext'
33725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33726 (eval $ac_try) 2>&5
33727 ac_status=$?
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); }; }; then
33730 eval "$as_ac_var=yes"
33731 else
33732 echo "$as_me: failed program was:" >&5
33733 sed 's/^/| /' conftest.$ac_ext >&5
33735 eval "$as_ac_var=no"
33737 rm -f conftest.err conftest.$ac_objext \
33738 conftest$ac_exeext conftest.$ac_ext
33740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33742 if test `eval echo '${'$as_ac_var'}'` = yes; then
33743 cat >>confdefs.h <<_ACEOF
33744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33745 _ACEOF
33748 done
33750 else
33752 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33753 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33754 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33755 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33757 else
33761 ac_ext=cc
33762 ac_cpp='$CXXCPP $CPPFLAGS'
33763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33767 cat >conftest.$ac_ext <<_ACEOF
33768 /* confdefs.h. */
33769 _ACEOF
33770 cat confdefs.h >>conftest.$ac_ext
33771 cat >>conftest.$ac_ext <<_ACEOF
33772 /* end confdefs.h. */
33773 #include <math.h>
33774 #ifdef HAVE_IEEEFP_H
33775 #include <ieeefp.h>
33776 #endif
33779 main ()
33781 _qfpclass(0);
33783 return 0;
33785 _ACEOF
33786 rm -f conftest.$ac_objext
33787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33788 (eval $ac_compile) 2>conftest.er1
33789 ac_status=$?
33790 grep -v '^ *+' conftest.er1 >conftest.err
33791 rm -f conftest.er1
33792 cat conftest.err >&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); } &&
33795 { ac_try='test -z "$ac_cxx_werror_flag"
33796 || test ! -s conftest.err'
33797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798 (eval $ac_try) 2>&5
33799 ac_status=$?
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); }; } &&
33802 { ac_try='test -s conftest.$ac_objext'
33803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33804 (eval $ac_try) 2>&5
33805 ac_status=$?
33806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33807 (exit $ac_status); }; }; then
33808 glibcxx_cv_func__qfpclass_use=yes
33809 else
33810 echo "$as_me: failed program was:" >&5
33811 sed 's/^/| /' conftest.$ac_ext >&5
33813 glibcxx_cv_func__qfpclass_use=no
33815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33816 ac_ext=c
33817 ac_cpp='$CPP $CPPFLAGS'
33818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33827 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33829 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33831 for ac_func in _qfpclass
33833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33834 echo "$as_me:$LINENO: checking for $ac_func" >&5
33835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33836 if eval "test \"\${$as_ac_var+set}\" = set"; then
33837 echo $ECHO_N "(cached) $ECHO_C" >&6
33838 else
33839 if test x$gcc_no_link = xyes; then
33840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33842 { (exit 1); exit 1; }; }
33844 cat >conftest.$ac_ext <<_ACEOF
33845 /* confdefs.h. */
33846 _ACEOF
33847 cat confdefs.h >>conftest.$ac_ext
33848 cat >>conftest.$ac_ext <<_ACEOF
33849 /* end confdefs.h. */
33850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33852 #define $ac_func innocuous_$ac_func
33854 /* System header to define __stub macros and hopefully few prototypes,
33855 which can conflict with char $ac_func (); below.
33856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33857 <limits.h> exists even on freestanding compilers. */
33859 #ifdef __STDC__
33860 # include <limits.h>
33861 #else
33862 # include <assert.h>
33863 #endif
33865 #undef $ac_func
33867 /* Override any gcc2 internal prototype to avoid an error. */
33868 #ifdef __cplusplus
33869 extern "C"
33871 #endif
33872 /* We use char because int might match the return type of a gcc2
33873 builtin and then its argument prototype would still apply. */
33874 char $ac_func ();
33875 /* The GNU C library defines this for functions which it implements
33876 to always fail with ENOSYS. Some functions are actually named
33877 something starting with __ and the normal name is an alias. */
33878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33879 choke me
33880 #else
33881 char (*f) () = $ac_func;
33882 #endif
33883 #ifdef __cplusplus
33885 #endif
33888 main ()
33890 return f != $ac_func;
33892 return 0;
33894 _ACEOF
33895 rm -f conftest.$ac_objext conftest$ac_exeext
33896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33897 (eval $ac_link) 2>conftest.er1
33898 ac_status=$?
33899 grep -v '^ *+' conftest.er1 >conftest.err
33900 rm -f conftest.er1
33901 cat conftest.err >&5
33902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33903 (exit $ac_status); } &&
33904 { ac_try='test -z "$ac_c_werror_flag"
33905 || test ! -s conftest.err'
33906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33907 (eval $ac_try) 2>&5
33908 ac_status=$?
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; } &&
33911 { ac_try='test -s conftest$ac_exeext'
33912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33913 (eval $ac_try) 2>&5
33914 ac_status=$?
33915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33916 (exit $ac_status); }; }; then
33917 eval "$as_ac_var=yes"
33918 else
33919 echo "$as_me: failed program was:" >&5
33920 sed 's/^/| /' conftest.$ac_ext >&5
33922 eval "$as_ac_var=no"
33924 rm -f conftest.err conftest.$ac_objext \
33925 conftest$ac_exeext conftest.$ac_ext
33927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33929 if test `eval echo '${'$as_ac_var'}'` = yes; then
33930 cat >>confdefs.h <<_ACEOF
33931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33932 _ACEOF
33935 done
33945 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33946 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33947 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33948 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33949 echo $ECHO_N "(cached) $ECHO_C" >&6
33950 else
33954 ac_ext=cc
33955 ac_cpp='$CXXCPP $CPPFLAGS'
33956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33960 cat >conftest.$ac_ext <<_ACEOF
33961 /* confdefs.h. */
33962 _ACEOF
33963 cat confdefs.h >>conftest.$ac_ext
33964 cat >>conftest.$ac_ext <<_ACEOF
33965 /* end confdefs.h. */
33966 #include <math.h>
33968 main ()
33970 hypot(0, 0);
33972 return 0;
33974 _ACEOF
33975 rm -f conftest.$ac_objext
33976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33977 (eval $ac_compile) 2>conftest.er1
33978 ac_status=$?
33979 grep -v '^ *+' conftest.er1 >conftest.err
33980 rm -f conftest.er1
33981 cat conftest.err >&5
33982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33983 (exit $ac_status); } &&
33984 { ac_try='test -z "$ac_cxx_werror_flag"
33985 || test ! -s conftest.err'
33986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33987 (eval $ac_try) 2>&5
33988 ac_status=$?
33989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33990 (exit $ac_status); }; } &&
33991 { ac_try='test -s conftest.$ac_objext'
33992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33993 (eval $ac_try) 2>&5
33994 ac_status=$?
33995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33996 (exit $ac_status); }; }; then
33997 glibcxx_cv_func_hypot_use=yes
33998 else
33999 echo "$as_me: failed program was:" >&5
34000 sed 's/^/| /' conftest.$ac_ext >&5
34002 glibcxx_cv_func_hypot_use=no
34004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34005 ac_ext=c
34006 ac_cpp='$CPP $CPPFLAGS'
34007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34015 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34016 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34018 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34020 for ac_func in hypot
34022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34023 echo "$as_me:$LINENO: checking for $ac_func" >&5
34024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34025 if eval "test \"\${$as_ac_var+set}\" = set"; then
34026 echo $ECHO_N "(cached) $ECHO_C" >&6
34027 else
34028 if test x$gcc_no_link = xyes; then
34029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34031 { (exit 1); exit 1; }; }
34033 cat >conftest.$ac_ext <<_ACEOF
34034 /* confdefs.h. */
34035 _ACEOF
34036 cat confdefs.h >>conftest.$ac_ext
34037 cat >>conftest.$ac_ext <<_ACEOF
34038 /* end confdefs.h. */
34039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34041 #define $ac_func innocuous_$ac_func
34043 /* System header to define __stub macros and hopefully few prototypes,
34044 which can conflict with char $ac_func (); below.
34045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34046 <limits.h> exists even on freestanding compilers. */
34048 #ifdef __STDC__
34049 # include <limits.h>
34050 #else
34051 # include <assert.h>
34052 #endif
34054 #undef $ac_func
34056 /* Override any gcc2 internal prototype to avoid an error. */
34057 #ifdef __cplusplus
34058 extern "C"
34060 #endif
34061 /* We use char because int might match the return type of a gcc2
34062 builtin and then its argument prototype would still apply. */
34063 char $ac_func ();
34064 /* The GNU C library defines this for functions which it implements
34065 to always fail with ENOSYS. Some functions are actually named
34066 something starting with __ and the normal name is an alias. */
34067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34068 choke me
34069 #else
34070 char (*f) () = $ac_func;
34071 #endif
34072 #ifdef __cplusplus
34074 #endif
34077 main ()
34079 return f != $ac_func;
34081 return 0;
34083 _ACEOF
34084 rm -f conftest.$ac_objext conftest$ac_exeext
34085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34086 (eval $ac_link) 2>conftest.er1
34087 ac_status=$?
34088 grep -v '^ *+' conftest.er1 >conftest.err
34089 rm -f conftest.er1
34090 cat conftest.err >&5
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); } &&
34093 { ac_try='test -z "$ac_c_werror_flag"
34094 || test ! -s conftest.err'
34095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34096 (eval $ac_try) 2>&5
34097 ac_status=$?
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); }; } &&
34100 { ac_try='test -s conftest$ac_exeext'
34101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34102 (eval $ac_try) 2>&5
34103 ac_status=$?
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); }; }; then
34106 eval "$as_ac_var=yes"
34107 else
34108 echo "$as_me: failed program was:" >&5
34109 sed 's/^/| /' conftest.$ac_ext >&5
34111 eval "$as_ac_var=no"
34113 rm -f conftest.err conftest.$ac_objext \
34114 conftest$ac_exeext conftest.$ac_ext
34116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34118 if test `eval echo '${'$as_ac_var'}'` = yes; then
34119 cat >>confdefs.h <<_ACEOF
34120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34121 _ACEOF
34124 done
34126 else
34128 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34129 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34130 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34131 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34132 echo $ECHO_N "(cached) $ECHO_C" >&6
34133 else
34137 ac_ext=cc
34138 ac_cpp='$CXXCPP $CPPFLAGS'
34139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34143 cat >conftest.$ac_ext <<_ACEOF
34144 /* confdefs.h. */
34145 _ACEOF
34146 cat confdefs.h >>conftest.$ac_ext
34147 cat >>conftest.$ac_ext <<_ACEOF
34148 /* end confdefs.h. */
34149 #include <math.h>
34151 main ()
34153 _hypot(0, 0);
34155 return 0;
34157 _ACEOF
34158 rm -f conftest.$ac_objext
34159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34160 (eval $ac_compile) 2>conftest.er1
34161 ac_status=$?
34162 grep -v '^ *+' conftest.er1 >conftest.err
34163 rm -f conftest.er1
34164 cat conftest.err >&5
34165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34166 (exit $ac_status); } &&
34167 { ac_try='test -z "$ac_cxx_werror_flag"
34168 || test ! -s conftest.err'
34169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34170 (eval $ac_try) 2>&5
34171 ac_status=$?
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); }; } &&
34174 { ac_try='test -s conftest.$ac_objext'
34175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34176 (eval $ac_try) 2>&5
34177 ac_status=$?
34178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34179 (exit $ac_status); }; }; then
34180 glibcxx_cv_func__hypot_use=yes
34181 else
34182 echo "$as_me: failed program was:" >&5
34183 sed 's/^/| /' conftest.$ac_ext >&5
34185 glibcxx_cv_func__hypot_use=no
34187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34188 ac_ext=c
34189 ac_cpp='$CPP $CPPFLAGS'
34190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34198 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34199 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34201 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34203 for ac_func in _hypot
34205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34206 echo "$as_me:$LINENO: checking for $ac_func" >&5
34207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34208 if eval "test \"\${$as_ac_var+set}\" = set"; then
34209 echo $ECHO_N "(cached) $ECHO_C" >&6
34210 else
34211 if test x$gcc_no_link = xyes; then
34212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34214 { (exit 1); exit 1; }; }
34216 cat >conftest.$ac_ext <<_ACEOF
34217 /* confdefs.h. */
34218 _ACEOF
34219 cat confdefs.h >>conftest.$ac_ext
34220 cat >>conftest.$ac_ext <<_ACEOF
34221 /* end confdefs.h. */
34222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34224 #define $ac_func innocuous_$ac_func
34226 /* System header to define __stub macros and hopefully few prototypes,
34227 which can conflict with char $ac_func (); below.
34228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34229 <limits.h> exists even on freestanding compilers. */
34231 #ifdef __STDC__
34232 # include <limits.h>
34233 #else
34234 # include <assert.h>
34235 #endif
34237 #undef $ac_func
34239 /* Override any gcc2 internal prototype to avoid an error. */
34240 #ifdef __cplusplus
34241 extern "C"
34243 #endif
34244 /* We use char because int might match the return type of a gcc2
34245 builtin and then its argument prototype would still apply. */
34246 char $ac_func ();
34247 /* The GNU C library defines this for functions which it implements
34248 to always fail with ENOSYS. Some functions are actually named
34249 something starting with __ and the normal name is an alias. */
34250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34251 choke me
34252 #else
34253 char (*f) () = $ac_func;
34254 #endif
34255 #ifdef __cplusplus
34257 #endif
34260 main ()
34262 return f != $ac_func;
34264 return 0;
34266 _ACEOF
34267 rm -f conftest.$ac_objext conftest$ac_exeext
34268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34269 (eval $ac_link) 2>conftest.er1
34270 ac_status=$?
34271 grep -v '^ *+' conftest.er1 >conftest.err
34272 rm -f conftest.er1
34273 cat conftest.err >&5
34274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34275 (exit $ac_status); } &&
34276 { ac_try='test -z "$ac_c_werror_flag"
34277 || test ! -s conftest.err'
34278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34279 (eval $ac_try) 2>&5
34280 ac_status=$?
34281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34282 (exit $ac_status); }; } &&
34283 { ac_try='test -s conftest$ac_exeext'
34284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34285 (eval $ac_try) 2>&5
34286 ac_status=$?
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); }; }; then
34289 eval "$as_ac_var=yes"
34290 else
34291 echo "$as_me: failed program was:" >&5
34292 sed 's/^/| /' conftest.$ac_ext >&5
34294 eval "$as_ac_var=no"
34296 rm -f conftest.err conftest.$ac_objext \
34297 conftest$ac_exeext conftest.$ac_ext
34299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34301 if test `eval echo '${'$as_ac_var'}'` = yes; then
34302 cat >>confdefs.h <<_ACEOF
34303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34304 _ACEOF
34307 done
34317 echo "$as_me:$LINENO: checking for float trig functions" >&5
34318 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34319 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34320 echo $ECHO_N "(cached) $ECHO_C" >&6
34321 else
34325 ac_ext=cc
34326 ac_cpp='$CXXCPP $CPPFLAGS'
34327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34331 cat >conftest.$ac_ext <<_ACEOF
34332 /* confdefs.h. */
34333 _ACEOF
34334 cat confdefs.h >>conftest.$ac_ext
34335 cat >>conftest.$ac_ext <<_ACEOF
34336 /* end confdefs.h. */
34337 #include <math.h>
34339 main ()
34341 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34343 return 0;
34345 _ACEOF
34346 rm -f conftest.$ac_objext
34347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34348 (eval $ac_compile) 2>conftest.er1
34349 ac_status=$?
34350 grep -v '^ *+' conftest.er1 >conftest.err
34351 rm -f conftest.er1
34352 cat conftest.err >&5
34353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354 (exit $ac_status); } &&
34355 { ac_try='test -z "$ac_cxx_werror_flag"
34356 || test ! -s conftest.err'
34357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34358 (eval $ac_try) 2>&5
34359 ac_status=$?
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); }; } &&
34362 { ac_try='test -s conftest.$ac_objext'
34363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34364 (eval $ac_try) 2>&5
34365 ac_status=$?
34366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34367 (exit $ac_status); }; }; then
34368 glibcxx_cv_func_float_trig_use=yes
34369 else
34370 echo "$as_me: failed program was:" >&5
34371 sed 's/^/| /' conftest.$ac_ext >&5
34373 glibcxx_cv_func_float_trig_use=no
34375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34376 ac_ext=c
34377 ac_cpp='$CPP $CPPFLAGS'
34378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34384 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34385 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34386 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34396 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34399 echo "$as_me:$LINENO: checking for $ac_func" >&5
34400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34401 if eval "test \"\${$as_ac_var+set}\" = set"; then
34402 echo $ECHO_N "(cached) $ECHO_C" >&6
34403 else
34404 if test x$gcc_no_link = xyes; then
34405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34407 { (exit 1); exit 1; }; }
34409 cat >conftest.$ac_ext <<_ACEOF
34410 /* confdefs.h. */
34411 _ACEOF
34412 cat confdefs.h >>conftest.$ac_ext
34413 cat >>conftest.$ac_ext <<_ACEOF
34414 /* end confdefs.h. */
34415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34417 #define $ac_func innocuous_$ac_func
34419 /* System header to define __stub macros and hopefully few prototypes,
34420 which can conflict with char $ac_func (); below.
34421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34422 <limits.h> exists even on freestanding compilers. */
34424 #ifdef __STDC__
34425 # include <limits.h>
34426 #else
34427 # include <assert.h>
34428 #endif
34430 #undef $ac_func
34432 /* Override any gcc2 internal prototype to avoid an error. */
34433 #ifdef __cplusplus
34434 extern "C"
34436 #endif
34437 /* We use char because int might match the return type of a gcc2
34438 builtin and then its argument prototype would still apply. */
34439 char $ac_func ();
34440 /* The GNU C library defines this for functions which it implements
34441 to always fail with ENOSYS. Some functions are actually named
34442 something starting with __ and the normal name is an alias. */
34443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34444 choke me
34445 #else
34446 char (*f) () = $ac_func;
34447 #endif
34448 #ifdef __cplusplus
34450 #endif
34453 main ()
34455 return f != $ac_func;
34457 return 0;
34459 _ACEOF
34460 rm -f conftest.$ac_objext conftest$ac_exeext
34461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34462 (eval $ac_link) 2>conftest.er1
34463 ac_status=$?
34464 grep -v '^ *+' conftest.er1 >conftest.err
34465 rm -f conftest.er1
34466 cat conftest.err >&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); } &&
34469 { ac_try='test -z "$ac_c_werror_flag"
34470 || test ! -s conftest.err'
34471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34472 (eval $ac_try) 2>&5
34473 ac_status=$?
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); }; } &&
34476 { ac_try='test -s conftest$ac_exeext'
34477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34478 (eval $ac_try) 2>&5
34479 ac_status=$?
34480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34481 (exit $ac_status); }; }; then
34482 eval "$as_ac_var=yes"
34483 else
34484 echo "$as_me: failed program was:" >&5
34485 sed 's/^/| /' conftest.$ac_ext >&5
34487 eval "$as_ac_var=no"
34489 rm -f conftest.err conftest.$ac_objext \
34490 conftest$ac_exeext conftest.$ac_ext
34492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34494 if test `eval echo '${'$as_ac_var'}'` = yes; then
34495 cat >>confdefs.h <<_ACEOF
34496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34497 _ACEOF
34500 done
34502 else
34503 echo "$as_me:$LINENO: checking for _float trig functions" >&5
34504 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
34505 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
34506 echo $ECHO_N "(cached) $ECHO_C" >&6
34507 else
34511 ac_ext=cc
34512 ac_cpp='$CXXCPP $CPPFLAGS'
34513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34517 cat >conftest.$ac_ext <<_ACEOF
34518 /* confdefs.h. */
34519 _ACEOF
34520 cat confdefs.h >>conftest.$ac_ext
34521 cat >>conftest.$ac_ext <<_ACEOF
34522 /* end confdefs.h. */
34523 #include <math.h>
34525 main ()
34527 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34529 return 0;
34531 _ACEOF
34532 rm -f conftest.$ac_objext
34533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34534 (eval $ac_compile) 2>conftest.er1
34535 ac_status=$?
34536 grep -v '^ *+' conftest.er1 >conftest.err
34537 rm -f conftest.er1
34538 cat conftest.err >&5
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); } &&
34541 { ac_try='test -z "$ac_cxx_werror_flag"
34542 || test ! -s conftest.err'
34543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34544 (eval $ac_try) 2>&5
34545 ac_status=$?
34546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34547 (exit $ac_status); }; } &&
34548 { ac_try='test -s conftest.$ac_objext'
34549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34550 (eval $ac_try) 2>&5
34551 ac_status=$?
34552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553 (exit $ac_status); }; }; then
34554 glibcxx_cv_func__float_trig_use=yes
34555 else
34556 echo "$as_me: failed program was:" >&5
34557 sed 's/^/| /' conftest.$ac_ext >&5
34559 glibcxx_cv_func__float_trig_use=no
34561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34562 ac_ext=c
34563 ac_cpp='$CPP $CPPFLAGS'
34564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34570 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
34571 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
34572 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34582 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34585 echo "$as_me:$LINENO: checking for $ac_func" >&5
34586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34587 if eval "test \"\${$as_ac_var+set}\" = set"; then
34588 echo $ECHO_N "(cached) $ECHO_C" >&6
34589 else
34590 if test x$gcc_no_link = xyes; then
34591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34593 { (exit 1); exit 1; }; }
34595 cat >conftest.$ac_ext <<_ACEOF
34596 /* confdefs.h. */
34597 _ACEOF
34598 cat confdefs.h >>conftest.$ac_ext
34599 cat >>conftest.$ac_ext <<_ACEOF
34600 /* end confdefs.h. */
34601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34603 #define $ac_func innocuous_$ac_func
34605 /* System header to define __stub macros and hopefully few prototypes,
34606 which can conflict with char $ac_func (); below.
34607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34608 <limits.h> exists even on freestanding compilers. */
34610 #ifdef __STDC__
34611 # include <limits.h>
34612 #else
34613 # include <assert.h>
34614 #endif
34616 #undef $ac_func
34618 /* Override any gcc2 internal prototype to avoid an error. */
34619 #ifdef __cplusplus
34620 extern "C"
34622 #endif
34623 /* We use char because int might match the return type of a gcc2
34624 builtin and then its argument prototype would still apply. */
34625 char $ac_func ();
34626 /* The GNU C library defines this for functions which it implements
34627 to always fail with ENOSYS. Some functions are actually named
34628 something starting with __ and the normal name is an alias. */
34629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34630 choke me
34631 #else
34632 char (*f) () = $ac_func;
34633 #endif
34634 #ifdef __cplusplus
34636 #endif
34639 main ()
34641 return f != $ac_func;
34643 return 0;
34645 _ACEOF
34646 rm -f conftest.$ac_objext conftest$ac_exeext
34647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34648 (eval $ac_link) 2>conftest.er1
34649 ac_status=$?
34650 grep -v '^ *+' conftest.er1 >conftest.err
34651 rm -f conftest.er1
34652 cat conftest.err >&5
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); } &&
34655 { ac_try='test -z "$ac_c_werror_flag"
34656 || test ! -s conftest.err'
34657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34658 (eval $ac_try) 2>&5
34659 ac_status=$?
34660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34661 (exit $ac_status); }; } &&
34662 { ac_try='test -s conftest$ac_exeext'
34663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34664 (eval $ac_try) 2>&5
34665 ac_status=$?
34666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34667 (exit $ac_status); }; }; then
34668 eval "$as_ac_var=yes"
34669 else
34670 echo "$as_me: failed program was:" >&5
34671 sed 's/^/| /' conftest.$ac_ext >&5
34673 eval "$as_ac_var=no"
34675 rm -f conftest.err conftest.$ac_objext \
34676 conftest$ac_exeext conftest.$ac_ext
34678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34680 if test `eval echo '${'$as_ac_var'}'` = yes; then
34681 cat >>confdefs.h <<_ACEOF
34682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34683 _ACEOF
34686 done
34704 echo "$as_me:$LINENO: checking for float round functions" >&5
34705 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34706 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34707 echo $ECHO_N "(cached) $ECHO_C" >&6
34708 else
34712 ac_ext=cc
34713 ac_cpp='$CXXCPP $CPPFLAGS'
34714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34718 cat >conftest.$ac_ext <<_ACEOF
34719 /* confdefs.h. */
34720 _ACEOF
34721 cat confdefs.h >>conftest.$ac_ext
34722 cat >>conftest.$ac_ext <<_ACEOF
34723 /* end confdefs.h. */
34724 #include <math.h>
34726 main ()
34728 ceilf (0); floorf (0);
34730 return 0;
34732 _ACEOF
34733 rm -f conftest.$ac_objext
34734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34735 (eval $ac_compile) 2>conftest.er1
34736 ac_status=$?
34737 grep -v '^ *+' conftest.er1 >conftest.err
34738 rm -f conftest.er1
34739 cat conftest.err >&5
34740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741 (exit $ac_status); } &&
34742 { ac_try='test -z "$ac_cxx_werror_flag"
34743 || test ! -s conftest.err'
34744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34745 (eval $ac_try) 2>&5
34746 ac_status=$?
34747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34748 (exit $ac_status); }; } &&
34749 { ac_try='test -s conftest.$ac_objext'
34750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34751 (eval $ac_try) 2>&5
34752 ac_status=$?
34753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754 (exit $ac_status); }; }; then
34755 glibcxx_cv_func_float_round_use=yes
34756 else
34757 echo "$as_me: failed program was:" >&5
34758 sed 's/^/| /' conftest.$ac_ext >&5
34760 glibcxx_cv_func_float_round_use=no
34762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34763 ac_ext=c
34764 ac_cpp='$CPP $CPPFLAGS'
34765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34772 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34773 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34776 for ac_func in ceilf floorf
34778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34779 echo "$as_me:$LINENO: checking for $ac_func" >&5
34780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34781 if eval "test \"\${$as_ac_var+set}\" = set"; then
34782 echo $ECHO_N "(cached) $ECHO_C" >&6
34783 else
34784 if test x$gcc_no_link = xyes; then
34785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34787 { (exit 1); exit 1; }; }
34789 cat >conftest.$ac_ext <<_ACEOF
34790 /* confdefs.h. */
34791 _ACEOF
34792 cat confdefs.h >>conftest.$ac_ext
34793 cat >>conftest.$ac_ext <<_ACEOF
34794 /* end confdefs.h. */
34795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34797 #define $ac_func innocuous_$ac_func
34799 /* System header to define __stub macros and hopefully few prototypes,
34800 which can conflict with char $ac_func (); below.
34801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34802 <limits.h> exists even on freestanding compilers. */
34804 #ifdef __STDC__
34805 # include <limits.h>
34806 #else
34807 # include <assert.h>
34808 #endif
34810 #undef $ac_func
34812 /* Override any gcc2 internal prototype to avoid an error. */
34813 #ifdef __cplusplus
34814 extern "C"
34816 #endif
34817 /* We use char because int might match the return type of a gcc2
34818 builtin and then its argument prototype would still apply. */
34819 char $ac_func ();
34820 /* The GNU C library defines this for functions which it implements
34821 to always fail with ENOSYS. Some functions are actually named
34822 something starting with __ and the normal name is an alias. */
34823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34824 choke me
34825 #else
34826 char (*f) () = $ac_func;
34827 #endif
34828 #ifdef __cplusplus
34830 #endif
34833 main ()
34835 return f != $ac_func;
34837 return 0;
34839 _ACEOF
34840 rm -f conftest.$ac_objext conftest$ac_exeext
34841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34842 (eval $ac_link) 2>conftest.er1
34843 ac_status=$?
34844 grep -v '^ *+' conftest.er1 >conftest.err
34845 rm -f conftest.er1
34846 cat conftest.err >&5
34847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34848 (exit $ac_status); } &&
34849 { ac_try='test -z "$ac_c_werror_flag"
34850 || test ! -s conftest.err'
34851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34852 (eval $ac_try) 2>&5
34853 ac_status=$?
34854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34855 (exit $ac_status); }; } &&
34856 { ac_try='test -s conftest$ac_exeext'
34857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34858 (eval $ac_try) 2>&5
34859 ac_status=$?
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); }; }; then
34862 eval "$as_ac_var=yes"
34863 else
34864 echo "$as_me: failed program was:" >&5
34865 sed 's/^/| /' conftest.$ac_ext >&5
34867 eval "$as_ac_var=no"
34869 rm -f conftest.err conftest.$ac_objext \
34870 conftest$ac_exeext conftest.$ac_ext
34872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34874 if test `eval echo '${'$as_ac_var'}'` = yes; then
34875 cat >>confdefs.h <<_ACEOF
34876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34877 _ACEOF
34880 done
34882 else
34883 echo "$as_me:$LINENO: checking for _float round functions" >&5
34884 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
34885 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
34886 echo $ECHO_N "(cached) $ECHO_C" >&6
34887 else
34891 ac_ext=cc
34892 ac_cpp='$CXXCPP $CPPFLAGS'
34893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34897 cat >conftest.$ac_ext <<_ACEOF
34898 /* confdefs.h. */
34899 _ACEOF
34900 cat confdefs.h >>conftest.$ac_ext
34901 cat >>conftest.$ac_ext <<_ACEOF
34902 /* end confdefs.h. */
34903 #include <math.h>
34905 main ()
34907 _ceilf (0); _floorf (0);
34909 return 0;
34911 _ACEOF
34912 rm -f conftest.$ac_objext
34913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34914 (eval $ac_compile) 2>conftest.er1
34915 ac_status=$?
34916 grep -v '^ *+' conftest.er1 >conftest.err
34917 rm -f conftest.er1
34918 cat conftest.err >&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); } &&
34921 { ac_try='test -z "$ac_cxx_werror_flag"
34922 || test ! -s conftest.err'
34923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34924 (eval $ac_try) 2>&5
34925 ac_status=$?
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); }; } &&
34928 { ac_try='test -s conftest.$ac_objext'
34929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34930 (eval $ac_try) 2>&5
34931 ac_status=$?
34932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34933 (exit $ac_status); }; }; then
34934 glibcxx_cv_func__float_round_use=yes
34935 else
34936 echo "$as_me: failed program was:" >&5
34937 sed 's/^/| /' conftest.$ac_ext >&5
34939 glibcxx_cv_func__float_round_use=no
34941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34942 ac_ext=c
34943 ac_cpp='$CPP $CPPFLAGS'
34944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34950 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
34951 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
34952 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34955 for ac_func in _ceilf _floorf
34957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34958 echo "$as_me:$LINENO: checking for $ac_func" >&5
34959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34960 if eval "test \"\${$as_ac_var+set}\" = set"; then
34961 echo $ECHO_N "(cached) $ECHO_C" >&6
34962 else
34963 if test x$gcc_no_link = xyes; then
34964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34966 { (exit 1); exit 1; }; }
34968 cat >conftest.$ac_ext <<_ACEOF
34969 /* confdefs.h. */
34970 _ACEOF
34971 cat confdefs.h >>conftest.$ac_ext
34972 cat >>conftest.$ac_ext <<_ACEOF
34973 /* end confdefs.h. */
34974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34976 #define $ac_func innocuous_$ac_func
34978 /* System header to define __stub macros and hopefully few prototypes,
34979 which can conflict with char $ac_func (); below.
34980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34981 <limits.h> exists even on freestanding compilers. */
34983 #ifdef __STDC__
34984 # include <limits.h>
34985 #else
34986 # include <assert.h>
34987 #endif
34989 #undef $ac_func
34991 /* Override any gcc2 internal prototype to avoid an error. */
34992 #ifdef __cplusplus
34993 extern "C"
34995 #endif
34996 /* We use char because int might match the return type of a gcc2
34997 builtin and then its argument prototype would still apply. */
34998 char $ac_func ();
34999 /* The GNU C library defines this for functions which it implements
35000 to always fail with ENOSYS. Some functions are actually named
35001 something starting with __ and the normal name is an alias. */
35002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35003 choke me
35004 #else
35005 char (*f) () = $ac_func;
35006 #endif
35007 #ifdef __cplusplus
35009 #endif
35012 main ()
35014 return f != $ac_func;
35016 return 0;
35018 _ACEOF
35019 rm -f conftest.$ac_objext conftest$ac_exeext
35020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35021 (eval $ac_link) 2>conftest.er1
35022 ac_status=$?
35023 grep -v '^ *+' conftest.er1 >conftest.err
35024 rm -f conftest.er1
35025 cat conftest.err >&5
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); } &&
35028 { ac_try='test -z "$ac_c_werror_flag"
35029 || test ! -s conftest.err'
35030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35031 (eval $ac_try) 2>&5
35032 ac_status=$?
35033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35034 (exit $ac_status); }; } &&
35035 { ac_try='test -s conftest$ac_exeext'
35036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35037 (eval $ac_try) 2>&5
35038 ac_status=$?
35039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35040 (exit $ac_status); }; }; then
35041 eval "$as_ac_var=yes"
35042 else
35043 echo "$as_me: failed program was:" >&5
35044 sed 's/^/| /' conftest.$ac_ext >&5
35046 eval "$as_ac_var=no"
35048 rm -f conftest.err conftest.$ac_objext \
35049 conftest$ac_exeext conftest.$ac_ext
35051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35053 if test `eval echo '${'$as_ac_var'}'` = yes; then
35054 cat >>confdefs.h <<_ACEOF
35055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35056 _ACEOF
35059 done
35071 echo "$as_me:$LINENO: checking for expf declaration" >&5
35072 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
35073 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35074 if test "${glibcxx_cv_func_expf_use+set}" = set; then
35075 echo $ECHO_N "(cached) $ECHO_C" >&6
35076 else
35080 ac_ext=cc
35081 ac_cpp='$CXXCPP $CPPFLAGS'
35082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35086 cat >conftest.$ac_ext <<_ACEOF
35087 /* confdefs.h. */
35088 _ACEOF
35089 cat confdefs.h >>conftest.$ac_ext
35090 cat >>conftest.$ac_ext <<_ACEOF
35091 /* end confdefs.h. */
35092 #include <math.h>
35093 #ifdef HAVE_IEEEFP_H
35094 #include <ieeefp.h>
35095 #endif
35098 main ()
35100 expf(0);
35102 return 0;
35104 _ACEOF
35105 rm -f conftest.$ac_objext
35106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35107 (eval $ac_compile) 2>conftest.er1
35108 ac_status=$?
35109 grep -v '^ *+' conftest.er1 >conftest.err
35110 rm -f conftest.er1
35111 cat conftest.err >&5
35112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35113 (exit $ac_status); } &&
35114 { ac_try='test -z "$ac_cxx_werror_flag"
35115 || test ! -s conftest.err'
35116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35117 (eval $ac_try) 2>&5
35118 ac_status=$?
35119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35120 (exit $ac_status); }; } &&
35121 { ac_try='test -s conftest.$ac_objext'
35122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35123 (eval $ac_try) 2>&5
35124 ac_status=$?
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); }; }; then
35127 glibcxx_cv_func_expf_use=yes
35128 else
35129 echo "$as_me: failed program was:" >&5
35130 sed 's/^/| /' conftest.$ac_ext >&5
35132 glibcxx_cv_func_expf_use=no
35134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35135 ac_ext=c
35136 ac_cpp='$CPP $CPPFLAGS'
35137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35145 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
35146 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
35148 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35150 for ac_func in expf
35152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35153 echo "$as_me:$LINENO: checking for $ac_func" >&5
35154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35155 if eval "test \"\${$as_ac_var+set}\" = set"; then
35156 echo $ECHO_N "(cached) $ECHO_C" >&6
35157 else
35158 if test x$gcc_no_link = xyes; then
35159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35161 { (exit 1); exit 1; }; }
35163 cat >conftest.$ac_ext <<_ACEOF
35164 /* confdefs.h. */
35165 _ACEOF
35166 cat confdefs.h >>conftest.$ac_ext
35167 cat >>conftest.$ac_ext <<_ACEOF
35168 /* end confdefs.h. */
35169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35171 #define $ac_func innocuous_$ac_func
35173 /* System header to define __stub macros and hopefully few prototypes,
35174 which can conflict with char $ac_func (); below.
35175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35176 <limits.h> exists even on freestanding compilers. */
35178 #ifdef __STDC__
35179 # include <limits.h>
35180 #else
35181 # include <assert.h>
35182 #endif
35184 #undef $ac_func
35186 /* Override any gcc2 internal prototype to avoid an error. */
35187 #ifdef __cplusplus
35188 extern "C"
35190 #endif
35191 /* We use char because int might match the return type of a gcc2
35192 builtin and then its argument prototype would still apply. */
35193 char $ac_func ();
35194 /* The GNU C library defines this for functions which it implements
35195 to always fail with ENOSYS. Some functions are actually named
35196 something starting with __ and the normal name is an alias. */
35197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35198 choke me
35199 #else
35200 char (*f) () = $ac_func;
35201 #endif
35202 #ifdef __cplusplus
35204 #endif
35207 main ()
35209 return f != $ac_func;
35211 return 0;
35213 _ACEOF
35214 rm -f conftest.$ac_objext conftest$ac_exeext
35215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35216 (eval $ac_link) 2>conftest.er1
35217 ac_status=$?
35218 grep -v '^ *+' conftest.er1 >conftest.err
35219 rm -f conftest.er1
35220 cat conftest.err >&5
35221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35222 (exit $ac_status); } &&
35223 { ac_try='test -z "$ac_c_werror_flag"
35224 || test ! -s conftest.err'
35225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35226 (eval $ac_try) 2>&5
35227 ac_status=$?
35228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35229 (exit $ac_status); }; } &&
35230 { ac_try='test -s conftest$ac_exeext'
35231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35232 (eval $ac_try) 2>&5
35233 ac_status=$?
35234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235 (exit $ac_status); }; }; then
35236 eval "$as_ac_var=yes"
35237 else
35238 echo "$as_me: failed program was:" >&5
35239 sed 's/^/| /' conftest.$ac_ext >&5
35241 eval "$as_ac_var=no"
35243 rm -f conftest.err conftest.$ac_objext \
35244 conftest$ac_exeext conftest.$ac_ext
35246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35248 if test `eval echo '${'$as_ac_var'}'` = yes; then
35249 cat >>confdefs.h <<_ACEOF
35250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35251 _ACEOF
35254 done
35256 else
35258 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35259 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35260 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35261 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35262 echo $ECHO_N "(cached) $ECHO_C" >&6
35263 else
35267 ac_ext=cc
35268 ac_cpp='$CXXCPP $CPPFLAGS'
35269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35273 cat >conftest.$ac_ext <<_ACEOF
35274 /* confdefs.h. */
35275 _ACEOF
35276 cat confdefs.h >>conftest.$ac_ext
35277 cat >>conftest.$ac_ext <<_ACEOF
35278 /* end confdefs.h. */
35279 #include <math.h>
35280 #ifdef HAVE_IEEEFP_H
35281 #include <ieeefp.h>
35282 #endif
35285 main ()
35287 _expf(0);
35289 return 0;
35291 _ACEOF
35292 rm -f conftest.$ac_objext
35293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35294 (eval $ac_compile) 2>conftest.er1
35295 ac_status=$?
35296 grep -v '^ *+' conftest.er1 >conftest.err
35297 rm -f conftest.er1
35298 cat conftest.err >&5
35299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35300 (exit $ac_status); } &&
35301 { ac_try='test -z "$ac_cxx_werror_flag"
35302 || test ! -s conftest.err'
35303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35304 (eval $ac_try) 2>&5
35305 ac_status=$?
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); }; } &&
35308 { ac_try='test -s conftest.$ac_objext'
35309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35310 (eval $ac_try) 2>&5
35311 ac_status=$?
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); }; }; then
35314 glibcxx_cv_func__expf_use=yes
35315 else
35316 echo "$as_me: failed program was:" >&5
35317 sed 's/^/| /' conftest.$ac_ext >&5
35319 glibcxx_cv_func__expf_use=no
35321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35322 ac_ext=c
35323 ac_cpp='$CPP $CPPFLAGS'
35324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35332 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35333 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35335 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35337 for ac_func in _expf
35339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35340 echo "$as_me:$LINENO: checking for $ac_func" >&5
35341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35342 if eval "test \"\${$as_ac_var+set}\" = set"; then
35343 echo $ECHO_N "(cached) $ECHO_C" >&6
35344 else
35345 if test x$gcc_no_link = xyes; then
35346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35348 { (exit 1); exit 1; }; }
35350 cat >conftest.$ac_ext <<_ACEOF
35351 /* confdefs.h. */
35352 _ACEOF
35353 cat confdefs.h >>conftest.$ac_ext
35354 cat >>conftest.$ac_ext <<_ACEOF
35355 /* end confdefs.h. */
35356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35358 #define $ac_func innocuous_$ac_func
35360 /* System header to define __stub macros and hopefully few prototypes,
35361 which can conflict with char $ac_func (); below.
35362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35363 <limits.h> exists even on freestanding compilers. */
35365 #ifdef __STDC__
35366 # include <limits.h>
35367 #else
35368 # include <assert.h>
35369 #endif
35371 #undef $ac_func
35373 /* Override any gcc2 internal prototype to avoid an error. */
35374 #ifdef __cplusplus
35375 extern "C"
35377 #endif
35378 /* We use char because int might match the return type of a gcc2
35379 builtin and then its argument prototype would still apply. */
35380 char $ac_func ();
35381 /* The GNU C library defines this for functions which it implements
35382 to always fail with ENOSYS. Some functions are actually named
35383 something starting with __ and the normal name is an alias. */
35384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35385 choke me
35386 #else
35387 char (*f) () = $ac_func;
35388 #endif
35389 #ifdef __cplusplus
35391 #endif
35394 main ()
35396 return f != $ac_func;
35398 return 0;
35400 _ACEOF
35401 rm -f conftest.$ac_objext conftest$ac_exeext
35402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35403 (eval $ac_link) 2>conftest.er1
35404 ac_status=$?
35405 grep -v '^ *+' conftest.er1 >conftest.err
35406 rm -f conftest.er1
35407 cat conftest.err >&5
35408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35409 (exit $ac_status); } &&
35410 { ac_try='test -z "$ac_c_werror_flag"
35411 || test ! -s conftest.err'
35412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35413 (eval $ac_try) 2>&5
35414 ac_status=$?
35415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35416 (exit $ac_status); }; } &&
35417 { ac_try='test -s conftest$ac_exeext'
35418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35419 (eval $ac_try) 2>&5
35420 ac_status=$?
35421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35422 (exit $ac_status); }; }; then
35423 eval "$as_ac_var=yes"
35424 else
35425 echo "$as_me: failed program was:" >&5
35426 sed 's/^/| /' conftest.$ac_ext >&5
35428 eval "$as_ac_var=no"
35430 rm -f conftest.err conftest.$ac_objext \
35431 conftest$ac_exeext conftest.$ac_ext
35433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35435 if test `eval echo '${'$as_ac_var'}'` = yes; then
35436 cat >>confdefs.h <<_ACEOF
35437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35438 _ACEOF
35441 done
35451 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35452 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35453 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35454 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35455 echo $ECHO_N "(cached) $ECHO_C" >&6
35456 else
35460 ac_ext=cc
35461 ac_cpp='$CXXCPP $CPPFLAGS'
35462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35466 cat >conftest.$ac_ext <<_ACEOF
35467 /* confdefs.h. */
35468 _ACEOF
35469 cat confdefs.h >>conftest.$ac_ext
35470 cat >>conftest.$ac_ext <<_ACEOF
35471 /* end confdefs.h. */
35472 #include <math.h>
35473 #ifdef HAVE_IEEEFP_H
35474 #include <ieeefp.h>
35475 #endif
35478 main ()
35480 isnanf(0);
35482 return 0;
35484 _ACEOF
35485 rm -f conftest.$ac_objext
35486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35487 (eval $ac_compile) 2>conftest.er1
35488 ac_status=$?
35489 grep -v '^ *+' conftest.er1 >conftest.err
35490 rm -f conftest.er1
35491 cat conftest.err >&5
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); } &&
35494 { ac_try='test -z "$ac_cxx_werror_flag"
35495 || test ! -s conftest.err'
35496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35497 (eval $ac_try) 2>&5
35498 ac_status=$?
35499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35500 (exit $ac_status); }; } &&
35501 { ac_try='test -s conftest.$ac_objext'
35502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35503 (eval $ac_try) 2>&5
35504 ac_status=$?
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); }; }; then
35507 glibcxx_cv_func_isnanf_use=yes
35508 else
35509 echo "$as_me: failed program was:" >&5
35510 sed 's/^/| /' conftest.$ac_ext >&5
35512 glibcxx_cv_func_isnanf_use=no
35514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35515 ac_ext=c
35516 ac_cpp='$CPP $CPPFLAGS'
35517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35525 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35526 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35528 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35530 for ac_func in isnanf
35532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35533 echo "$as_me:$LINENO: checking for $ac_func" >&5
35534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35535 if eval "test \"\${$as_ac_var+set}\" = set"; then
35536 echo $ECHO_N "(cached) $ECHO_C" >&6
35537 else
35538 if test x$gcc_no_link = xyes; then
35539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35541 { (exit 1); exit 1; }; }
35543 cat >conftest.$ac_ext <<_ACEOF
35544 /* confdefs.h. */
35545 _ACEOF
35546 cat confdefs.h >>conftest.$ac_ext
35547 cat >>conftest.$ac_ext <<_ACEOF
35548 /* end confdefs.h. */
35549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35551 #define $ac_func innocuous_$ac_func
35553 /* System header to define __stub macros and hopefully few prototypes,
35554 which can conflict with char $ac_func (); below.
35555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35556 <limits.h> exists even on freestanding compilers. */
35558 #ifdef __STDC__
35559 # include <limits.h>
35560 #else
35561 # include <assert.h>
35562 #endif
35564 #undef $ac_func
35566 /* Override any gcc2 internal prototype to avoid an error. */
35567 #ifdef __cplusplus
35568 extern "C"
35570 #endif
35571 /* We use char because int might match the return type of a gcc2
35572 builtin and then its argument prototype would still apply. */
35573 char $ac_func ();
35574 /* The GNU C library defines this for functions which it implements
35575 to always fail with ENOSYS. Some functions are actually named
35576 something starting with __ and the normal name is an alias. */
35577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35578 choke me
35579 #else
35580 char (*f) () = $ac_func;
35581 #endif
35582 #ifdef __cplusplus
35584 #endif
35587 main ()
35589 return f != $ac_func;
35591 return 0;
35593 _ACEOF
35594 rm -f conftest.$ac_objext conftest$ac_exeext
35595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35596 (eval $ac_link) 2>conftest.er1
35597 ac_status=$?
35598 grep -v '^ *+' conftest.er1 >conftest.err
35599 rm -f conftest.er1
35600 cat conftest.err >&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); } &&
35603 { ac_try='test -z "$ac_c_werror_flag"
35604 || test ! -s conftest.err'
35605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35606 (eval $ac_try) 2>&5
35607 ac_status=$?
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); }; } &&
35610 { ac_try='test -s conftest$ac_exeext'
35611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35612 (eval $ac_try) 2>&5
35613 ac_status=$?
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); }; }; then
35616 eval "$as_ac_var=yes"
35617 else
35618 echo "$as_me: failed program was:" >&5
35619 sed 's/^/| /' conftest.$ac_ext >&5
35621 eval "$as_ac_var=no"
35623 rm -f conftest.err conftest.$ac_objext \
35624 conftest$ac_exeext conftest.$ac_ext
35626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35628 if test `eval echo '${'$as_ac_var'}'` = yes; then
35629 cat >>confdefs.h <<_ACEOF
35630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35631 _ACEOF
35634 done
35636 else
35638 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35639 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35640 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35641 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35642 echo $ECHO_N "(cached) $ECHO_C" >&6
35643 else
35647 ac_ext=cc
35648 ac_cpp='$CXXCPP $CPPFLAGS'
35649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35653 cat >conftest.$ac_ext <<_ACEOF
35654 /* confdefs.h. */
35655 _ACEOF
35656 cat confdefs.h >>conftest.$ac_ext
35657 cat >>conftest.$ac_ext <<_ACEOF
35658 /* end confdefs.h. */
35659 #include <math.h>
35660 #ifdef HAVE_IEEEFP_H
35661 #include <ieeefp.h>
35662 #endif
35665 main ()
35667 _isnanf(0);
35669 return 0;
35671 _ACEOF
35672 rm -f conftest.$ac_objext
35673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35674 (eval $ac_compile) 2>conftest.er1
35675 ac_status=$?
35676 grep -v '^ *+' conftest.er1 >conftest.err
35677 rm -f conftest.er1
35678 cat conftest.err >&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); } &&
35681 { ac_try='test -z "$ac_cxx_werror_flag"
35682 || test ! -s conftest.err'
35683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35684 (eval $ac_try) 2>&5
35685 ac_status=$?
35686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35687 (exit $ac_status); }; } &&
35688 { ac_try='test -s conftest.$ac_objext'
35689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35690 (eval $ac_try) 2>&5
35691 ac_status=$?
35692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35693 (exit $ac_status); }; }; then
35694 glibcxx_cv_func__isnanf_use=yes
35695 else
35696 echo "$as_me: failed program was:" >&5
35697 sed 's/^/| /' conftest.$ac_ext >&5
35699 glibcxx_cv_func__isnanf_use=no
35701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35702 ac_ext=c
35703 ac_cpp='$CPP $CPPFLAGS'
35704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35713 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35715 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35717 for ac_func in _isnanf
35719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35720 echo "$as_me:$LINENO: checking for $ac_func" >&5
35721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35722 if eval "test \"\${$as_ac_var+set}\" = set"; then
35723 echo $ECHO_N "(cached) $ECHO_C" >&6
35724 else
35725 if test x$gcc_no_link = xyes; then
35726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35728 { (exit 1); exit 1; }; }
35730 cat >conftest.$ac_ext <<_ACEOF
35731 /* confdefs.h. */
35732 _ACEOF
35733 cat confdefs.h >>conftest.$ac_ext
35734 cat >>conftest.$ac_ext <<_ACEOF
35735 /* end confdefs.h. */
35736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35738 #define $ac_func innocuous_$ac_func
35740 /* System header to define __stub macros and hopefully few prototypes,
35741 which can conflict with char $ac_func (); below.
35742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35743 <limits.h> exists even on freestanding compilers. */
35745 #ifdef __STDC__
35746 # include <limits.h>
35747 #else
35748 # include <assert.h>
35749 #endif
35751 #undef $ac_func
35753 /* Override any gcc2 internal prototype to avoid an error. */
35754 #ifdef __cplusplus
35755 extern "C"
35757 #endif
35758 /* We use char because int might match the return type of a gcc2
35759 builtin and then its argument prototype would still apply. */
35760 char $ac_func ();
35761 /* The GNU C library defines this for functions which it implements
35762 to always fail with ENOSYS. Some functions are actually named
35763 something starting with __ and the normal name is an alias. */
35764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35765 choke me
35766 #else
35767 char (*f) () = $ac_func;
35768 #endif
35769 #ifdef __cplusplus
35771 #endif
35774 main ()
35776 return f != $ac_func;
35778 return 0;
35780 _ACEOF
35781 rm -f conftest.$ac_objext conftest$ac_exeext
35782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35783 (eval $ac_link) 2>conftest.er1
35784 ac_status=$?
35785 grep -v '^ *+' conftest.er1 >conftest.err
35786 rm -f conftest.er1
35787 cat conftest.err >&5
35788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35789 (exit $ac_status); } &&
35790 { ac_try='test -z "$ac_c_werror_flag"
35791 || test ! -s conftest.err'
35792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35793 (eval $ac_try) 2>&5
35794 ac_status=$?
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); }; } &&
35797 { ac_try='test -s conftest$ac_exeext'
35798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35799 (eval $ac_try) 2>&5
35800 ac_status=$?
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); }; }; then
35803 eval "$as_ac_var=yes"
35804 else
35805 echo "$as_me: failed program was:" >&5
35806 sed 's/^/| /' conftest.$ac_ext >&5
35808 eval "$as_ac_var=no"
35810 rm -f conftest.err conftest.$ac_objext \
35811 conftest$ac_exeext conftest.$ac_ext
35813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35815 if test `eval echo '${'$as_ac_var'}'` = yes; then
35816 cat >>confdefs.h <<_ACEOF
35817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35818 _ACEOF
35821 done
35831 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35832 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35833 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35834 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35835 echo $ECHO_N "(cached) $ECHO_C" >&6
35836 else
35840 ac_ext=cc
35841 ac_cpp='$CXXCPP $CPPFLAGS'
35842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35846 cat >conftest.$ac_ext <<_ACEOF
35847 /* confdefs.h. */
35848 _ACEOF
35849 cat confdefs.h >>conftest.$ac_ext
35850 cat >>conftest.$ac_ext <<_ACEOF
35851 /* end confdefs.h. */
35852 #include <math.h>
35853 #ifdef HAVE_IEEEFP_H
35854 #include <ieeefp.h>
35855 #endif
35858 main ()
35860 isinff(0);
35862 return 0;
35864 _ACEOF
35865 rm -f conftest.$ac_objext
35866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35867 (eval $ac_compile) 2>conftest.er1
35868 ac_status=$?
35869 grep -v '^ *+' conftest.er1 >conftest.err
35870 rm -f conftest.er1
35871 cat conftest.err >&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); } &&
35874 { ac_try='test -z "$ac_cxx_werror_flag"
35875 || test ! -s conftest.err'
35876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35877 (eval $ac_try) 2>&5
35878 ac_status=$?
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); }; } &&
35881 { ac_try='test -s conftest.$ac_objext'
35882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35883 (eval $ac_try) 2>&5
35884 ac_status=$?
35885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886 (exit $ac_status); }; }; then
35887 glibcxx_cv_func_isinff_use=yes
35888 else
35889 echo "$as_me: failed program was:" >&5
35890 sed 's/^/| /' conftest.$ac_ext >&5
35892 glibcxx_cv_func_isinff_use=no
35894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35895 ac_ext=c
35896 ac_cpp='$CPP $CPPFLAGS'
35897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35905 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35906 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35908 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35910 for ac_func in isinff
35912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35913 echo "$as_me:$LINENO: checking for $ac_func" >&5
35914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35915 if eval "test \"\${$as_ac_var+set}\" = set"; then
35916 echo $ECHO_N "(cached) $ECHO_C" >&6
35917 else
35918 if test x$gcc_no_link = xyes; then
35919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35921 { (exit 1); exit 1; }; }
35923 cat >conftest.$ac_ext <<_ACEOF
35924 /* confdefs.h. */
35925 _ACEOF
35926 cat confdefs.h >>conftest.$ac_ext
35927 cat >>conftest.$ac_ext <<_ACEOF
35928 /* end confdefs.h. */
35929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35931 #define $ac_func innocuous_$ac_func
35933 /* System header to define __stub macros and hopefully few prototypes,
35934 which can conflict with char $ac_func (); below.
35935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35936 <limits.h> exists even on freestanding compilers. */
35938 #ifdef __STDC__
35939 # include <limits.h>
35940 #else
35941 # include <assert.h>
35942 #endif
35944 #undef $ac_func
35946 /* Override any gcc2 internal prototype to avoid an error. */
35947 #ifdef __cplusplus
35948 extern "C"
35950 #endif
35951 /* We use char because int might match the return type of a gcc2
35952 builtin and then its argument prototype would still apply. */
35953 char $ac_func ();
35954 /* The GNU C library defines this for functions which it implements
35955 to always fail with ENOSYS. Some functions are actually named
35956 something starting with __ and the normal name is an alias. */
35957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35958 choke me
35959 #else
35960 char (*f) () = $ac_func;
35961 #endif
35962 #ifdef __cplusplus
35964 #endif
35967 main ()
35969 return f != $ac_func;
35971 return 0;
35973 _ACEOF
35974 rm -f conftest.$ac_objext conftest$ac_exeext
35975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35976 (eval $ac_link) 2>conftest.er1
35977 ac_status=$?
35978 grep -v '^ *+' conftest.er1 >conftest.err
35979 rm -f conftest.er1
35980 cat conftest.err >&5
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); } &&
35983 { ac_try='test -z "$ac_c_werror_flag"
35984 || test ! -s conftest.err'
35985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35986 (eval $ac_try) 2>&5
35987 ac_status=$?
35988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35989 (exit $ac_status); }; } &&
35990 { ac_try='test -s conftest$ac_exeext'
35991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35992 (eval $ac_try) 2>&5
35993 ac_status=$?
35994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35995 (exit $ac_status); }; }; then
35996 eval "$as_ac_var=yes"
35997 else
35998 echo "$as_me: failed program was:" >&5
35999 sed 's/^/| /' conftest.$ac_ext >&5
36001 eval "$as_ac_var=no"
36003 rm -f conftest.err conftest.$ac_objext \
36004 conftest$ac_exeext conftest.$ac_ext
36006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36008 if test `eval echo '${'$as_ac_var'}'` = yes; then
36009 cat >>confdefs.h <<_ACEOF
36010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36011 _ACEOF
36014 done
36016 else
36018 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
36019 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
36020 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36021 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
36022 echo $ECHO_N "(cached) $ECHO_C" >&6
36023 else
36027 ac_ext=cc
36028 ac_cpp='$CXXCPP $CPPFLAGS'
36029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36033 cat >conftest.$ac_ext <<_ACEOF
36034 /* confdefs.h. */
36035 _ACEOF
36036 cat confdefs.h >>conftest.$ac_ext
36037 cat >>conftest.$ac_ext <<_ACEOF
36038 /* end confdefs.h. */
36039 #include <math.h>
36040 #ifdef HAVE_IEEEFP_H
36041 #include <ieeefp.h>
36042 #endif
36045 main ()
36047 _isinff(0);
36049 return 0;
36051 _ACEOF
36052 rm -f conftest.$ac_objext
36053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36054 (eval $ac_compile) 2>conftest.er1
36055 ac_status=$?
36056 grep -v '^ *+' conftest.er1 >conftest.err
36057 rm -f conftest.er1
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } &&
36061 { ac_try='test -z "$ac_cxx_werror_flag"
36062 || test ! -s conftest.err'
36063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36064 (eval $ac_try) 2>&5
36065 ac_status=$?
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); }; } &&
36068 { ac_try='test -s conftest.$ac_objext'
36069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36070 (eval $ac_try) 2>&5
36071 ac_status=$?
36072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073 (exit $ac_status); }; }; then
36074 glibcxx_cv_func__isinff_use=yes
36075 else
36076 echo "$as_me: failed program was:" >&5
36077 sed 's/^/| /' conftest.$ac_ext >&5
36079 glibcxx_cv_func__isinff_use=no
36081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36082 ac_ext=c
36083 ac_cpp='$CPP $CPPFLAGS'
36084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
36093 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
36095 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36097 for ac_func in _isinff
36099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36100 echo "$as_me:$LINENO: checking for $ac_func" >&5
36101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36102 if eval "test \"\${$as_ac_var+set}\" = set"; then
36103 echo $ECHO_N "(cached) $ECHO_C" >&6
36104 else
36105 if test x$gcc_no_link = xyes; then
36106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36108 { (exit 1); exit 1; }; }
36110 cat >conftest.$ac_ext <<_ACEOF
36111 /* confdefs.h. */
36112 _ACEOF
36113 cat confdefs.h >>conftest.$ac_ext
36114 cat >>conftest.$ac_ext <<_ACEOF
36115 /* end confdefs.h. */
36116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36118 #define $ac_func innocuous_$ac_func
36120 /* System header to define __stub macros and hopefully few prototypes,
36121 which can conflict with char $ac_func (); below.
36122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36123 <limits.h> exists even on freestanding compilers. */
36125 #ifdef __STDC__
36126 # include <limits.h>
36127 #else
36128 # include <assert.h>
36129 #endif
36131 #undef $ac_func
36133 /* Override any gcc2 internal prototype to avoid an error. */
36134 #ifdef __cplusplus
36135 extern "C"
36137 #endif
36138 /* We use char because int might match the return type of a gcc2
36139 builtin and then its argument prototype would still apply. */
36140 char $ac_func ();
36141 /* The GNU C library defines this for functions which it implements
36142 to always fail with ENOSYS. Some functions are actually named
36143 something starting with __ and the normal name is an alias. */
36144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36145 choke me
36146 #else
36147 char (*f) () = $ac_func;
36148 #endif
36149 #ifdef __cplusplus
36151 #endif
36154 main ()
36156 return f != $ac_func;
36158 return 0;
36160 _ACEOF
36161 rm -f conftest.$ac_objext conftest$ac_exeext
36162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36163 (eval $ac_link) 2>conftest.er1
36164 ac_status=$?
36165 grep -v '^ *+' conftest.er1 >conftest.err
36166 rm -f conftest.er1
36167 cat conftest.err >&5
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); } &&
36170 { ac_try='test -z "$ac_c_werror_flag"
36171 || test ! -s conftest.err'
36172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36173 (eval $ac_try) 2>&5
36174 ac_status=$?
36175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36176 (exit $ac_status); }; } &&
36177 { ac_try='test -s conftest$ac_exeext'
36178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36179 (eval $ac_try) 2>&5
36180 ac_status=$?
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); }; }; then
36183 eval "$as_ac_var=yes"
36184 else
36185 echo "$as_me: failed program was:" >&5
36186 sed 's/^/| /' conftest.$ac_ext >&5
36188 eval "$as_ac_var=no"
36190 rm -f conftest.err conftest.$ac_objext \
36191 conftest$ac_exeext conftest.$ac_ext
36193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36195 if test `eval echo '${'$as_ac_var'}'` = yes; then
36196 cat >>confdefs.h <<_ACEOF
36197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36198 _ACEOF
36201 done
36211 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36212 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36213 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36214 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36215 echo $ECHO_N "(cached) $ECHO_C" >&6
36216 else
36220 ac_ext=cc
36221 ac_cpp='$CXXCPP $CPPFLAGS'
36222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36226 cat >conftest.$ac_ext <<_ACEOF
36227 /* confdefs.h. */
36228 _ACEOF
36229 cat confdefs.h >>conftest.$ac_ext
36230 cat >>conftest.$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36232 #include <math.h>
36234 main ()
36236 atan2f(0, 0);
36238 return 0;
36240 _ACEOF
36241 rm -f conftest.$ac_objext
36242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36243 (eval $ac_compile) 2>conftest.er1
36244 ac_status=$?
36245 grep -v '^ *+' conftest.er1 >conftest.err
36246 rm -f conftest.er1
36247 cat conftest.err >&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); } &&
36250 { ac_try='test -z "$ac_cxx_werror_flag"
36251 || test ! -s conftest.err'
36252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36253 (eval $ac_try) 2>&5
36254 ac_status=$?
36255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36256 (exit $ac_status); }; } &&
36257 { ac_try='test -s conftest.$ac_objext'
36258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36259 (eval $ac_try) 2>&5
36260 ac_status=$?
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); }; }; then
36263 glibcxx_cv_func_atan2f_use=yes
36264 else
36265 echo "$as_me: failed program was:" >&5
36266 sed 's/^/| /' conftest.$ac_ext >&5
36268 glibcxx_cv_func_atan2f_use=no
36270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36271 ac_ext=c
36272 ac_cpp='$CPP $CPPFLAGS'
36273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36282 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36284 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36286 for ac_func in atan2f
36288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36289 echo "$as_me:$LINENO: checking for $ac_func" >&5
36290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36291 if eval "test \"\${$as_ac_var+set}\" = set"; then
36292 echo $ECHO_N "(cached) $ECHO_C" >&6
36293 else
36294 if test x$gcc_no_link = xyes; then
36295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36297 { (exit 1); exit 1; }; }
36299 cat >conftest.$ac_ext <<_ACEOF
36300 /* confdefs.h. */
36301 _ACEOF
36302 cat confdefs.h >>conftest.$ac_ext
36303 cat >>conftest.$ac_ext <<_ACEOF
36304 /* end confdefs.h. */
36305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36307 #define $ac_func innocuous_$ac_func
36309 /* System header to define __stub macros and hopefully few prototypes,
36310 which can conflict with char $ac_func (); below.
36311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36312 <limits.h> exists even on freestanding compilers. */
36314 #ifdef __STDC__
36315 # include <limits.h>
36316 #else
36317 # include <assert.h>
36318 #endif
36320 #undef $ac_func
36322 /* Override any gcc2 internal prototype to avoid an error. */
36323 #ifdef __cplusplus
36324 extern "C"
36326 #endif
36327 /* We use char because int might match the return type of a gcc2
36328 builtin and then its argument prototype would still apply. */
36329 char $ac_func ();
36330 /* The GNU C library defines this for functions which it implements
36331 to always fail with ENOSYS. Some functions are actually named
36332 something starting with __ and the normal name is an alias. */
36333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36334 choke me
36335 #else
36336 char (*f) () = $ac_func;
36337 #endif
36338 #ifdef __cplusplus
36340 #endif
36343 main ()
36345 return f != $ac_func;
36347 return 0;
36349 _ACEOF
36350 rm -f conftest.$ac_objext conftest$ac_exeext
36351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36352 (eval $ac_link) 2>conftest.er1
36353 ac_status=$?
36354 grep -v '^ *+' conftest.er1 >conftest.err
36355 rm -f conftest.er1
36356 cat conftest.err >&5
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); } &&
36359 { ac_try='test -z "$ac_c_werror_flag"
36360 || test ! -s conftest.err'
36361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36362 (eval $ac_try) 2>&5
36363 ac_status=$?
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); }; } &&
36366 { ac_try='test -s conftest$ac_exeext'
36367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36368 (eval $ac_try) 2>&5
36369 ac_status=$?
36370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36371 (exit $ac_status); }; }; then
36372 eval "$as_ac_var=yes"
36373 else
36374 echo "$as_me: failed program was:" >&5
36375 sed 's/^/| /' conftest.$ac_ext >&5
36377 eval "$as_ac_var=no"
36379 rm -f conftest.err conftest.$ac_objext \
36380 conftest$ac_exeext conftest.$ac_ext
36382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36384 if test `eval echo '${'$as_ac_var'}'` = yes; then
36385 cat >>confdefs.h <<_ACEOF
36386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36387 _ACEOF
36390 done
36392 else
36394 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36395 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36396 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36397 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36398 echo $ECHO_N "(cached) $ECHO_C" >&6
36399 else
36403 ac_ext=cc
36404 ac_cpp='$CXXCPP $CPPFLAGS'
36405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36409 cat >conftest.$ac_ext <<_ACEOF
36410 /* confdefs.h. */
36411 _ACEOF
36412 cat confdefs.h >>conftest.$ac_ext
36413 cat >>conftest.$ac_ext <<_ACEOF
36414 /* end confdefs.h. */
36415 #include <math.h>
36417 main ()
36419 _atan2f(0, 0);
36421 return 0;
36423 _ACEOF
36424 rm -f conftest.$ac_objext
36425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36426 (eval $ac_compile) 2>conftest.er1
36427 ac_status=$?
36428 grep -v '^ *+' conftest.er1 >conftest.err
36429 rm -f conftest.er1
36430 cat conftest.err >&5
36431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36432 (exit $ac_status); } &&
36433 { ac_try='test -z "$ac_cxx_werror_flag"
36434 || test ! -s conftest.err'
36435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36436 (eval $ac_try) 2>&5
36437 ac_status=$?
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); }; } &&
36440 { ac_try='test -s conftest.$ac_objext'
36441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36442 (eval $ac_try) 2>&5
36443 ac_status=$?
36444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36445 (exit $ac_status); }; }; then
36446 glibcxx_cv_func__atan2f_use=yes
36447 else
36448 echo "$as_me: failed program was:" >&5
36449 sed 's/^/| /' conftest.$ac_ext >&5
36451 glibcxx_cv_func__atan2f_use=no
36453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36454 ac_ext=c
36455 ac_cpp='$CPP $CPPFLAGS'
36456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36465 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36467 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36469 for ac_func in _atan2f
36471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36472 echo "$as_me:$LINENO: checking for $ac_func" >&5
36473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36474 if eval "test \"\${$as_ac_var+set}\" = set"; then
36475 echo $ECHO_N "(cached) $ECHO_C" >&6
36476 else
36477 if test x$gcc_no_link = xyes; then
36478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36480 { (exit 1); exit 1; }; }
36482 cat >conftest.$ac_ext <<_ACEOF
36483 /* confdefs.h. */
36484 _ACEOF
36485 cat confdefs.h >>conftest.$ac_ext
36486 cat >>conftest.$ac_ext <<_ACEOF
36487 /* end confdefs.h. */
36488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36490 #define $ac_func innocuous_$ac_func
36492 /* System header to define __stub macros and hopefully few prototypes,
36493 which can conflict with char $ac_func (); below.
36494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36495 <limits.h> exists even on freestanding compilers. */
36497 #ifdef __STDC__
36498 # include <limits.h>
36499 #else
36500 # include <assert.h>
36501 #endif
36503 #undef $ac_func
36505 /* Override any gcc2 internal prototype to avoid an error. */
36506 #ifdef __cplusplus
36507 extern "C"
36509 #endif
36510 /* We use char because int might match the return type of a gcc2
36511 builtin and then its argument prototype would still apply. */
36512 char $ac_func ();
36513 /* The GNU C library defines this for functions which it implements
36514 to always fail with ENOSYS. Some functions are actually named
36515 something starting with __ and the normal name is an alias. */
36516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36517 choke me
36518 #else
36519 char (*f) () = $ac_func;
36520 #endif
36521 #ifdef __cplusplus
36523 #endif
36526 main ()
36528 return f != $ac_func;
36530 return 0;
36532 _ACEOF
36533 rm -f conftest.$ac_objext conftest$ac_exeext
36534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36535 (eval $ac_link) 2>conftest.er1
36536 ac_status=$?
36537 grep -v '^ *+' conftest.er1 >conftest.err
36538 rm -f conftest.er1
36539 cat conftest.err >&5
36540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36541 (exit $ac_status); } &&
36542 { ac_try='test -z "$ac_c_werror_flag"
36543 || test ! -s conftest.err'
36544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36545 (eval $ac_try) 2>&5
36546 ac_status=$?
36547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548 (exit $ac_status); }; } &&
36549 { ac_try='test -s conftest$ac_exeext'
36550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36551 (eval $ac_try) 2>&5
36552 ac_status=$?
36553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36554 (exit $ac_status); }; }; then
36555 eval "$as_ac_var=yes"
36556 else
36557 echo "$as_me: failed program was:" >&5
36558 sed 's/^/| /' conftest.$ac_ext >&5
36560 eval "$as_ac_var=no"
36562 rm -f conftest.err conftest.$ac_objext \
36563 conftest$ac_exeext conftest.$ac_ext
36565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36567 if test `eval echo '${'$as_ac_var'}'` = yes; then
36568 cat >>confdefs.h <<_ACEOF
36569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36570 _ACEOF
36573 done
36583 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36584 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36585 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36586 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36587 echo $ECHO_N "(cached) $ECHO_C" >&6
36588 else
36592 ac_ext=cc
36593 ac_cpp='$CXXCPP $CPPFLAGS'
36594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36598 cat >conftest.$ac_ext <<_ACEOF
36599 /* confdefs.h. */
36600 _ACEOF
36601 cat confdefs.h >>conftest.$ac_ext
36602 cat >>conftest.$ac_ext <<_ACEOF
36603 /* end confdefs.h. */
36604 #include <math.h>
36605 #ifdef HAVE_IEEEFP_H
36606 #include <ieeefp.h>
36607 #endif
36610 main ()
36612 fabsf(0);
36614 return 0;
36616 _ACEOF
36617 rm -f conftest.$ac_objext
36618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36619 (eval $ac_compile) 2>conftest.er1
36620 ac_status=$?
36621 grep -v '^ *+' conftest.er1 >conftest.err
36622 rm -f conftest.er1
36623 cat conftest.err >&5
36624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36625 (exit $ac_status); } &&
36626 { ac_try='test -z "$ac_cxx_werror_flag"
36627 || test ! -s conftest.err'
36628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36629 (eval $ac_try) 2>&5
36630 ac_status=$?
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); }; } &&
36633 { ac_try='test -s conftest.$ac_objext'
36634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36635 (eval $ac_try) 2>&5
36636 ac_status=$?
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); }; }; then
36639 glibcxx_cv_func_fabsf_use=yes
36640 else
36641 echo "$as_me: failed program was:" >&5
36642 sed 's/^/| /' conftest.$ac_ext >&5
36644 glibcxx_cv_func_fabsf_use=no
36646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36647 ac_ext=c
36648 ac_cpp='$CPP $CPPFLAGS'
36649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36657 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36658 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36660 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36662 for ac_func in fabsf
36664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36665 echo "$as_me:$LINENO: checking for $ac_func" >&5
36666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36667 if eval "test \"\${$as_ac_var+set}\" = set"; then
36668 echo $ECHO_N "(cached) $ECHO_C" >&6
36669 else
36670 if test x$gcc_no_link = xyes; then
36671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36673 { (exit 1); exit 1; }; }
36675 cat >conftest.$ac_ext <<_ACEOF
36676 /* confdefs.h. */
36677 _ACEOF
36678 cat confdefs.h >>conftest.$ac_ext
36679 cat >>conftest.$ac_ext <<_ACEOF
36680 /* end confdefs.h. */
36681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36683 #define $ac_func innocuous_$ac_func
36685 /* System header to define __stub macros and hopefully few prototypes,
36686 which can conflict with char $ac_func (); below.
36687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36688 <limits.h> exists even on freestanding compilers. */
36690 #ifdef __STDC__
36691 # include <limits.h>
36692 #else
36693 # include <assert.h>
36694 #endif
36696 #undef $ac_func
36698 /* Override any gcc2 internal prototype to avoid an error. */
36699 #ifdef __cplusplus
36700 extern "C"
36702 #endif
36703 /* We use char because int might match the return type of a gcc2
36704 builtin and then its argument prototype would still apply. */
36705 char $ac_func ();
36706 /* The GNU C library defines this for functions which it implements
36707 to always fail with ENOSYS. Some functions are actually named
36708 something starting with __ and the normal name is an alias. */
36709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36710 choke me
36711 #else
36712 char (*f) () = $ac_func;
36713 #endif
36714 #ifdef __cplusplus
36716 #endif
36719 main ()
36721 return f != $ac_func;
36723 return 0;
36725 _ACEOF
36726 rm -f conftest.$ac_objext conftest$ac_exeext
36727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36728 (eval $ac_link) 2>conftest.er1
36729 ac_status=$?
36730 grep -v '^ *+' conftest.er1 >conftest.err
36731 rm -f conftest.er1
36732 cat conftest.err >&5
36733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36734 (exit $ac_status); } &&
36735 { ac_try='test -z "$ac_c_werror_flag"
36736 || test ! -s conftest.err'
36737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36738 (eval $ac_try) 2>&5
36739 ac_status=$?
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); }; } &&
36742 { ac_try='test -s conftest$ac_exeext'
36743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36744 (eval $ac_try) 2>&5
36745 ac_status=$?
36746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36747 (exit $ac_status); }; }; then
36748 eval "$as_ac_var=yes"
36749 else
36750 echo "$as_me: failed program was:" >&5
36751 sed 's/^/| /' conftest.$ac_ext >&5
36753 eval "$as_ac_var=no"
36755 rm -f conftest.err conftest.$ac_objext \
36756 conftest$ac_exeext conftest.$ac_ext
36758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36760 if test `eval echo '${'$as_ac_var'}'` = yes; then
36761 cat >>confdefs.h <<_ACEOF
36762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36763 _ACEOF
36766 done
36768 else
36770 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36771 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36772 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36773 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36774 echo $ECHO_N "(cached) $ECHO_C" >&6
36775 else
36779 ac_ext=cc
36780 ac_cpp='$CXXCPP $CPPFLAGS'
36781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36785 cat >conftest.$ac_ext <<_ACEOF
36786 /* confdefs.h. */
36787 _ACEOF
36788 cat confdefs.h >>conftest.$ac_ext
36789 cat >>conftest.$ac_ext <<_ACEOF
36790 /* end confdefs.h. */
36791 #include <math.h>
36792 #ifdef HAVE_IEEEFP_H
36793 #include <ieeefp.h>
36794 #endif
36797 main ()
36799 _fabsf(0);
36801 return 0;
36803 _ACEOF
36804 rm -f conftest.$ac_objext
36805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36806 (eval $ac_compile) 2>conftest.er1
36807 ac_status=$?
36808 grep -v '^ *+' conftest.er1 >conftest.err
36809 rm -f conftest.er1
36810 cat conftest.err >&5
36811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36812 (exit $ac_status); } &&
36813 { ac_try='test -z "$ac_cxx_werror_flag"
36814 || test ! -s conftest.err'
36815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36816 (eval $ac_try) 2>&5
36817 ac_status=$?
36818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36819 (exit $ac_status); }; } &&
36820 { ac_try='test -s conftest.$ac_objext'
36821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36822 (eval $ac_try) 2>&5
36823 ac_status=$?
36824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36825 (exit $ac_status); }; }; then
36826 glibcxx_cv_func__fabsf_use=yes
36827 else
36828 echo "$as_me: failed program was:" >&5
36829 sed 's/^/| /' conftest.$ac_ext >&5
36831 glibcxx_cv_func__fabsf_use=no
36833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36834 ac_ext=c
36835 ac_cpp='$CPP $CPPFLAGS'
36836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36845 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36847 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36849 for ac_func in _fabsf
36851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36852 echo "$as_me:$LINENO: checking for $ac_func" >&5
36853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36854 if eval "test \"\${$as_ac_var+set}\" = set"; then
36855 echo $ECHO_N "(cached) $ECHO_C" >&6
36856 else
36857 if test x$gcc_no_link = xyes; then
36858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36860 { (exit 1); exit 1; }; }
36862 cat >conftest.$ac_ext <<_ACEOF
36863 /* confdefs.h. */
36864 _ACEOF
36865 cat confdefs.h >>conftest.$ac_ext
36866 cat >>conftest.$ac_ext <<_ACEOF
36867 /* end confdefs.h. */
36868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36870 #define $ac_func innocuous_$ac_func
36872 /* System header to define __stub macros and hopefully few prototypes,
36873 which can conflict with char $ac_func (); below.
36874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36875 <limits.h> exists even on freestanding compilers. */
36877 #ifdef __STDC__
36878 # include <limits.h>
36879 #else
36880 # include <assert.h>
36881 #endif
36883 #undef $ac_func
36885 /* Override any gcc2 internal prototype to avoid an error. */
36886 #ifdef __cplusplus
36887 extern "C"
36889 #endif
36890 /* We use char because int might match the return type of a gcc2
36891 builtin and then its argument prototype would still apply. */
36892 char $ac_func ();
36893 /* The GNU C library defines this for functions which it implements
36894 to always fail with ENOSYS. Some functions are actually named
36895 something starting with __ and the normal name is an alias. */
36896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36897 choke me
36898 #else
36899 char (*f) () = $ac_func;
36900 #endif
36901 #ifdef __cplusplus
36903 #endif
36906 main ()
36908 return f != $ac_func;
36910 return 0;
36912 _ACEOF
36913 rm -f conftest.$ac_objext conftest$ac_exeext
36914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36915 (eval $ac_link) 2>conftest.er1
36916 ac_status=$?
36917 grep -v '^ *+' conftest.er1 >conftest.err
36918 rm -f conftest.er1
36919 cat conftest.err >&5
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); } &&
36922 { ac_try='test -z "$ac_c_werror_flag"
36923 || test ! -s conftest.err'
36924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36925 (eval $ac_try) 2>&5
36926 ac_status=$?
36927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36928 (exit $ac_status); }; } &&
36929 { ac_try='test -s conftest$ac_exeext'
36930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36931 (eval $ac_try) 2>&5
36932 ac_status=$?
36933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36934 (exit $ac_status); }; }; then
36935 eval "$as_ac_var=yes"
36936 else
36937 echo "$as_me: failed program was:" >&5
36938 sed 's/^/| /' conftest.$ac_ext >&5
36940 eval "$as_ac_var=no"
36942 rm -f conftest.err conftest.$ac_objext \
36943 conftest$ac_exeext conftest.$ac_ext
36945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36947 if test `eval echo '${'$as_ac_var'}'` = yes; then
36948 cat >>confdefs.h <<_ACEOF
36949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36950 _ACEOF
36953 done
36963 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36964 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36965 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36966 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36967 echo $ECHO_N "(cached) $ECHO_C" >&6
36968 else
36972 ac_ext=cc
36973 ac_cpp='$CXXCPP $CPPFLAGS'
36974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36978 cat >conftest.$ac_ext <<_ACEOF
36979 /* confdefs.h. */
36980 _ACEOF
36981 cat confdefs.h >>conftest.$ac_ext
36982 cat >>conftest.$ac_ext <<_ACEOF
36983 /* end confdefs.h. */
36984 #include <math.h>
36986 main ()
36988 fmodf(0, 0);
36990 return 0;
36992 _ACEOF
36993 rm -f conftest.$ac_objext
36994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36995 (eval $ac_compile) 2>conftest.er1
36996 ac_status=$?
36997 grep -v '^ *+' conftest.er1 >conftest.err
36998 rm -f conftest.er1
36999 cat conftest.err >&5
37000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37001 (exit $ac_status); } &&
37002 { ac_try='test -z "$ac_cxx_werror_flag"
37003 || test ! -s conftest.err'
37004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37005 (eval $ac_try) 2>&5
37006 ac_status=$?
37007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37008 (exit $ac_status); }; } &&
37009 { ac_try='test -s conftest.$ac_objext'
37010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37011 (eval $ac_try) 2>&5
37012 ac_status=$?
37013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37014 (exit $ac_status); }; }; then
37015 glibcxx_cv_func_fmodf_use=yes
37016 else
37017 echo "$as_me: failed program was:" >&5
37018 sed 's/^/| /' conftest.$ac_ext >&5
37020 glibcxx_cv_func_fmodf_use=no
37022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37023 ac_ext=c
37024 ac_cpp='$CPP $CPPFLAGS'
37025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37033 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
37034 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
37036 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37038 for ac_func in fmodf
37040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37041 echo "$as_me:$LINENO: checking for $ac_func" >&5
37042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37043 if eval "test \"\${$as_ac_var+set}\" = set"; then
37044 echo $ECHO_N "(cached) $ECHO_C" >&6
37045 else
37046 if test x$gcc_no_link = xyes; then
37047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37049 { (exit 1); exit 1; }; }
37051 cat >conftest.$ac_ext <<_ACEOF
37052 /* confdefs.h. */
37053 _ACEOF
37054 cat confdefs.h >>conftest.$ac_ext
37055 cat >>conftest.$ac_ext <<_ACEOF
37056 /* end confdefs.h. */
37057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37059 #define $ac_func innocuous_$ac_func
37061 /* System header to define __stub macros and hopefully few prototypes,
37062 which can conflict with char $ac_func (); below.
37063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37064 <limits.h> exists even on freestanding compilers. */
37066 #ifdef __STDC__
37067 # include <limits.h>
37068 #else
37069 # include <assert.h>
37070 #endif
37072 #undef $ac_func
37074 /* Override any gcc2 internal prototype to avoid an error. */
37075 #ifdef __cplusplus
37076 extern "C"
37078 #endif
37079 /* We use char because int might match the return type of a gcc2
37080 builtin and then its argument prototype would still apply. */
37081 char $ac_func ();
37082 /* The GNU C library defines this for functions which it implements
37083 to always fail with ENOSYS. Some functions are actually named
37084 something starting with __ and the normal name is an alias. */
37085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37086 choke me
37087 #else
37088 char (*f) () = $ac_func;
37089 #endif
37090 #ifdef __cplusplus
37092 #endif
37095 main ()
37097 return f != $ac_func;
37099 return 0;
37101 _ACEOF
37102 rm -f conftest.$ac_objext conftest$ac_exeext
37103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37104 (eval $ac_link) 2>conftest.er1
37105 ac_status=$?
37106 grep -v '^ *+' conftest.er1 >conftest.err
37107 rm -f conftest.er1
37108 cat conftest.err >&5
37109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110 (exit $ac_status); } &&
37111 { ac_try='test -z "$ac_c_werror_flag"
37112 || test ! -s conftest.err'
37113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37114 (eval $ac_try) 2>&5
37115 ac_status=$?
37116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37117 (exit $ac_status); }; } &&
37118 { ac_try='test -s conftest$ac_exeext'
37119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37120 (eval $ac_try) 2>&5
37121 ac_status=$?
37122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37123 (exit $ac_status); }; }; then
37124 eval "$as_ac_var=yes"
37125 else
37126 echo "$as_me: failed program was:" >&5
37127 sed 's/^/| /' conftest.$ac_ext >&5
37129 eval "$as_ac_var=no"
37131 rm -f conftest.err conftest.$ac_objext \
37132 conftest$ac_exeext conftest.$ac_ext
37134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37136 if test `eval echo '${'$as_ac_var'}'` = yes; then
37137 cat >>confdefs.h <<_ACEOF
37138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37139 _ACEOF
37142 done
37144 else
37146 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
37147 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
37148 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37149 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
37150 echo $ECHO_N "(cached) $ECHO_C" >&6
37151 else
37155 ac_ext=cc
37156 ac_cpp='$CXXCPP $CPPFLAGS'
37157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37161 cat >conftest.$ac_ext <<_ACEOF
37162 /* confdefs.h. */
37163 _ACEOF
37164 cat confdefs.h >>conftest.$ac_ext
37165 cat >>conftest.$ac_ext <<_ACEOF
37166 /* end confdefs.h. */
37167 #include <math.h>
37169 main ()
37171 _fmodf(0, 0);
37173 return 0;
37175 _ACEOF
37176 rm -f conftest.$ac_objext
37177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37178 (eval $ac_compile) 2>conftest.er1
37179 ac_status=$?
37180 grep -v '^ *+' conftest.er1 >conftest.err
37181 rm -f conftest.er1
37182 cat conftest.err >&5
37183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 (exit $ac_status); } &&
37185 { ac_try='test -z "$ac_cxx_werror_flag"
37186 || test ! -s conftest.err'
37187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37188 (eval $ac_try) 2>&5
37189 ac_status=$?
37190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37191 (exit $ac_status); }; } &&
37192 { ac_try='test -s conftest.$ac_objext'
37193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37194 (eval $ac_try) 2>&5
37195 ac_status=$?
37196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37197 (exit $ac_status); }; }; then
37198 glibcxx_cv_func__fmodf_use=yes
37199 else
37200 echo "$as_me: failed program was:" >&5
37201 sed 's/^/| /' conftest.$ac_ext >&5
37203 glibcxx_cv_func__fmodf_use=no
37205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37206 ac_ext=c
37207 ac_cpp='$CPP $CPPFLAGS'
37208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37217 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37219 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37221 for ac_func in _fmodf
37223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37224 echo "$as_me:$LINENO: checking for $ac_func" >&5
37225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37226 if eval "test \"\${$as_ac_var+set}\" = set"; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37228 else
37229 if test x$gcc_no_link = xyes; then
37230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37232 { (exit 1); exit 1; }; }
37234 cat >conftest.$ac_ext <<_ACEOF
37235 /* confdefs.h. */
37236 _ACEOF
37237 cat confdefs.h >>conftest.$ac_ext
37238 cat >>conftest.$ac_ext <<_ACEOF
37239 /* end confdefs.h. */
37240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37242 #define $ac_func innocuous_$ac_func
37244 /* System header to define __stub macros and hopefully few prototypes,
37245 which can conflict with char $ac_func (); below.
37246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37247 <limits.h> exists even on freestanding compilers. */
37249 #ifdef __STDC__
37250 # include <limits.h>
37251 #else
37252 # include <assert.h>
37253 #endif
37255 #undef $ac_func
37257 /* Override any gcc2 internal prototype to avoid an error. */
37258 #ifdef __cplusplus
37259 extern "C"
37261 #endif
37262 /* We use char because int might match the return type of a gcc2
37263 builtin and then its argument prototype would still apply. */
37264 char $ac_func ();
37265 /* The GNU C library defines this for functions which it implements
37266 to always fail with ENOSYS. Some functions are actually named
37267 something starting with __ and the normal name is an alias. */
37268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37269 choke me
37270 #else
37271 char (*f) () = $ac_func;
37272 #endif
37273 #ifdef __cplusplus
37275 #endif
37278 main ()
37280 return f != $ac_func;
37282 return 0;
37284 _ACEOF
37285 rm -f conftest.$ac_objext conftest$ac_exeext
37286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37287 (eval $ac_link) 2>conftest.er1
37288 ac_status=$?
37289 grep -v '^ *+' conftest.er1 >conftest.err
37290 rm -f conftest.er1
37291 cat conftest.err >&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); } &&
37294 { ac_try='test -z "$ac_c_werror_flag"
37295 || test ! -s conftest.err'
37296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37297 (eval $ac_try) 2>&5
37298 ac_status=$?
37299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37300 (exit $ac_status); }; } &&
37301 { ac_try='test -s conftest$ac_exeext'
37302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37303 (eval $ac_try) 2>&5
37304 ac_status=$?
37305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37306 (exit $ac_status); }; }; then
37307 eval "$as_ac_var=yes"
37308 else
37309 echo "$as_me: failed program was:" >&5
37310 sed 's/^/| /' conftest.$ac_ext >&5
37312 eval "$as_ac_var=no"
37314 rm -f conftest.err conftest.$ac_objext \
37315 conftest$ac_exeext conftest.$ac_ext
37317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37319 if test `eval echo '${'$as_ac_var'}'` = yes; then
37320 cat >>confdefs.h <<_ACEOF
37321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37322 _ACEOF
37325 done
37335 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37336 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37337 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37338 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37339 echo $ECHO_N "(cached) $ECHO_C" >&6
37340 else
37344 ac_ext=cc
37345 ac_cpp='$CXXCPP $CPPFLAGS'
37346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37350 cat >conftest.$ac_ext <<_ACEOF
37351 /* confdefs.h. */
37352 _ACEOF
37353 cat confdefs.h >>conftest.$ac_ext
37354 cat >>conftest.$ac_ext <<_ACEOF
37355 /* end confdefs.h. */
37356 #include <math.h>
37358 main ()
37360 frexpf(0, 0);
37362 return 0;
37364 _ACEOF
37365 rm -f conftest.$ac_objext
37366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37367 (eval $ac_compile) 2>conftest.er1
37368 ac_status=$?
37369 grep -v '^ *+' conftest.er1 >conftest.err
37370 rm -f conftest.er1
37371 cat conftest.err >&5
37372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373 (exit $ac_status); } &&
37374 { ac_try='test -z "$ac_cxx_werror_flag"
37375 || test ! -s conftest.err'
37376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37377 (eval $ac_try) 2>&5
37378 ac_status=$?
37379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37380 (exit $ac_status); }; } &&
37381 { ac_try='test -s conftest.$ac_objext'
37382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37383 (eval $ac_try) 2>&5
37384 ac_status=$?
37385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37386 (exit $ac_status); }; }; then
37387 glibcxx_cv_func_frexpf_use=yes
37388 else
37389 echo "$as_me: failed program was:" >&5
37390 sed 's/^/| /' conftest.$ac_ext >&5
37392 glibcxx_cv_func_frexpf_use=no
37394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37395 ac_ext=c
37396 ac_cpp='$CPP $CPPFLAGS'
37397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37406 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37408 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37410 for ac_func in frexpf
37412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37413 echo "$as_me:$LINENO: checking for $ac_func" >&5
37414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37415 if eval "test \"\${$as_ac_var+set}\" = set"; then
37416 echo $ECHO_N "(cached) $ECHO_C" >&6
37417 else
37418 if test x$gcc_no_link = xyes; then
37419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37421 { (exit 1); exit 1; }; }
37423 cat >conftest.$ac_ext <<_ACEOF
37424 /* confdefs.h. */
37425 _ACEOF
37426 cat confdefs.h >>conftest.$ac_ext
37427 cat >>conftest.$ac_ext <<_ACEOF
37428 /* end confdefs.h. */
37429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37431 #define $ac_func innocuous_$ac_func
37433 /* System header to define __stub macros and hopefully few prototypes,
37434 which can conflict with char $ac_func (); below.
37435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37436 <limits.h> exists even on freestanding compilers. */
37438 #ifdef __STDC__
37439 # include <limits.h>
37440 #else
37441 # include <assert.h>
37442 #endif
37444 #undef $ac_func
37446 /* Override any gcc2 internal prototype to avoid an error. */
37447 #ifdef __cplusplus
37448 extern "C"
37450 #endif
37451 /* We use char because int might match the return type of a gcc2
37452 builtin and then its argument prototype would still apply. */
37453 char $ac_func ();
37454 /* The GNU C library defines this for functions which it implements
37455 to always fail with ENOSYS. Some functions are actually named
37456 something starting with __ and the normal name is an alias. */
37457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37458 choke me
37459 #else
37460 char (*f) () = $ac_func;
37461 #endif
37462 #ifdef __cplusplus
37464 #endif
37467 main ()
37469 return f != $ac_func;
37471 return 0;
37473 _ACEOF
37474 rm -f conftest.$ac_objext conftest$ac_exeext
37475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37476 (eval $ac_link) 2>conftest.er1
37477 ac_status=$?
37478 grep -v '^ *+' conftest.er1 >conftest.err
37479 rm -f conftest.er1
37480 cat conftest.err >&5
37481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37482 (exit $ac_status); } &&
37483 { ac_try='test -z "$ac_c_werror_flag"
37484 || test ! -s conftest.err'
37485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37486 (eval $ac_try) 2>&5
37487 ac_status=$?
37488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37489 (exit $ac_status); }; } &&
37490 { ac_try='test -s conftest$ac_exeext'
37491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37492 (eval $ac_try) 2>&5
37493 ac_status=$?
37494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37495 (exit $ac_status); }; }; then
37496 eval "$as_ac_var=yes"
37497 else
37498 echo "$as_me: failed program was:" >&5
37499 sed 's/^/| /' conftest.$ac_ext >&5
37501 eval "$as_ac_var=no"
37503 rm -f conftest.err conftest.$ac_objext \
37504 conftest$ac_exeext conftest.$ac_ext
37506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37508 if test `eval echo '${'$as_ac_var'}'` = yes; then
37509 cat >>confdefs.h <<_ACEOF
37510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37511 _ACEOF
37514 done
37516 else
37518 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37519 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37520 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37521 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37522 echo $ECHO_N "(cached) $ECHO_C" >&6
37523 else
37527 ac_ext=cc
37528 ac_cpp='$CXXCPP $CPPFLAGS'
37529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37533 cat >conftest.$ac_ext <<_ACEOF
37534 /* confdefs.h. */
37535 _ACEOF
37536 cat confdefs.h >>conftest.$ac_ext
37537 cat >>conftest.$ac_ext <<_ACEOF
37538 /* end confdefs.h. */
37539 #include <math.h>
37541 main ()
37543 _frexpf(0, 0);
37545 return 0;
37547 _ACEOF
37548 rm -f conftest.$ac_objext
37549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37550 (eval $ac_compile) 2>conftest.er1
37551 ac_status=$?
37552 grep -v '^ *+' conftest.er1 >conftest.err
37553 rm -f conftest.er1
37554 cat conftest.err >&5
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); } &&
37557 { ac_try='test -z "$ac_cxx_werror_flag"
37558 || test ! -s conftest.err'
37559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37560 (eval $ac_try) 2>&5
37561 ac_status=$?
37562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37563 (exit $ac_status); }; } &&
37564 { ac_try='test -s conftest.$ac_objext'
37565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37566 (eval $ac_try) 2>&5
37567 ac_status=$?
37568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37569 (exit $ac_status); }; }; then
37570 glibcxx_cv_func__frexpf_use=yes
37571 else
37572 echo "$as_me: failed program was:" >&5
37573 sed 's/^/| /' conftest.$ac_ext >&5
37575 glibcxx_cv_func__frexpf_use=no
37577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37578 ac_ext=c
37579 ac_cpp='$CPP $CPPFLAGS'
37580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37589 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37591 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37593 for ac_func in _frexpf
37595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37596 echo "$as_me:$LINENO: checking for $ac_func" >&5
37597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37598 if eval "test \"\${$as_ac_var+set}\" = set"; then
37599 echo $ECHO_N "(cached) $ECHO_C" >&6
37600 else
37601 if test x$gcc_no_link = xyes; then
37602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37604 { (exit 1); exit 1; }; }
37606 cat >conftest.$ac_ext <<_ACEOF
37607 /* confdefs.h. */
37608 _ACEOF
37609 cat confdefs.h >>conftest.$ac_ext
37610 cat >>conftest.$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37614 #define $ac_func innocuous_$ac_func
37616 /* System header to define __stub macros and hopefully few prototypes,
37617 which can conflict with char $ac_func (); below.
37618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37619 <limits.h> exists even on freestanding compilers. */
37621 #ifdef __STDC__
37622 # include <limits.h>
37623 #else
37624 # include <assert.h>
37625 #endif
37627 #undef $ac_func
37629 /* Override any gcc2 internal prototype to avoid an error. */
37630 #ifdef __cplusplus
37631 extern "C"
37633 #endif
37634 /* We use char because int might match the return type of a gcc2
37635 builtin and then its argument prototype would still apply. */
37636 char $ac_func ();
37637 /* The GNU C library defines this for functions which it implements
37638 to always fail with ENOSYS. Some functions are actually named
37639 something starting with __ and the normal name is an alias. */
37640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37641 choke me
37642 #else
37643 char (*f) () = $ac_func;
37644 #endif
37645 #ifdef __cplusplus
37647 #endif
37650 main ()
37652 return f != $ac_func;
37654 return 0;
37656 _ACEOF
37657 rm -f conftest.$ac_objext conftest$ac_exeext
37658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37659 (eval $ac_link) 2>conftest.er1
37660 ac_status=$?
37661 grep -v '^ *+' conftest.er1 >conftest.err
37662 rm -f conftest.er1
37663 cat conftest.err >&5
37664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665 (exit $ac_status); } &&
37666 { ac_try='test -z "$ac_c_werror_flag"
37667 || test ! -s conftest.err'
37668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37669 (eval $ac_try) 2>&5
37670 ac_status=$?
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); }; } &&
37673 { ac_try='test -s conftest$ac_exeext'
37674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37675 (eval $ac_try) 2>&5
37676 ac_status=$?
37677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37678 (exit $ac_status); }; }; then
37679 eval "$as_ac_var=yes"
37680 else
37681 echo "$as_me: failed program was:" >&5
37682 sed 's/^/| /' conftest.$ac_ext >&5
37684 eval "$as_ac_var=no"
37686 rm -f conftest.err conftest.$ac_objext \
37687 conftest$ac_exeext conftest.$ac_ext
37689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37691 if test `eval echo '${'$as_ac_var'}'` = yes; then
37692 cat >>confdefs.h <<_ACEOF
37693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37694 _ACEOF
37697 done
37707 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37708 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37709 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37710 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37711 echo $ECHO_N "(cached) $ECHO_C" >&6
37712 else
37716 ac_ext=cc
37717 ac_cpp='$CXXCPP $CPPFLAGS'
37718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37722 cat >conftest.$ac_ext <<_ACEOF
37723 /* confdefs.h. */
37724 _ACEOF
37725 cat confdefs.h >>conftest.$ac_ext
37726 cat >>conftest.$ac_ext <<_ACEOF
37727 /* end confdefs.h. */
37728 #include <math.h>
37730 main ()
37732 hypotf(0, 0);
37734 return 0;
37736 _ACEOF
37737 rm -f conftest.$ac_objext
37738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37739 (eval $ac_compile) 2>conftest.er1
37740 ac_status=$?
37741 grep -v '^ *+' conftest.er1 >conftest.err
37742 rm -f conftest.er1
37743 cat conftest.err >&5
37744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37745 (exit $ac_status); } &&
37746 { ac_try='test -z "$ac_cxx_werror_flag"
37747 || test ! -s conftest.err'
37748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37749 (eval $ac_try) 2>&5
37750 ac_status=$?
37751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752 (exit $ac_status); }; } &&
37753 { ac_try='test -s conftest.$ac_objext'
37754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37755 (eval $ac_try) 2>&5
37756 ac_status=$?
37757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37758 (exit $ac_status); }; }; then
37759 glibcxx_cv_func_hypotf_use=yes
37760 else
37761 echo "$as_me: failed program was:" >&5
37762 sed 's/^/| /' conftest.$ac_ext >&5
37764 glibcxx_cv_func_hypotf_use=no
37766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37767 ac_ext=c
37768 ac_cpp='$CPP $CPPFLAGS'
37769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37778 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37780 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37782 for ac_func in hypotf
37784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37785 echo "$as_me:$LINENO: checking for $ac_func" >&5
37786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37787 if eval "test \"\${$as_ac_var+set}\" = set"; then
37788 echo $ECHO_N "(cached) $ECHO_C" >&6
37789 else
37790 if test x$gcc_no_link = xyes; then
37791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37793 { (exit 1); exit 1; }; }
37795 cat >conftest.$ac_ext <<_ACEOF
37796 /* confdefs.h. */
37797 _ACEOF
37798 cat confdefs.h >>conftest.$ac_ext
37799 cat >>conftest.$ac_ext <<_ACEOF
37800 /* end confdefs.h. */
37801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37803 #define $ac_func innocuous_$ac_func
37805 /* System header to define __stub macros and hopefully few prototypes,
37806 which can conflict with char $ac_func (); below.
37807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37808 <limits.h> exists even on freestanding compilers. */
37810 #ifdef __STDC__
37811 # include <limits.h>
37812 #else
37813 # include <assert.h>
37814 #endif
37816 #undef $ac_func
37818 /* Override any gcc2 internal prototype to avoid an error. */
37819 #ifdef __cplusplus
37820 extern "C"
37822 #endif
37823 /* We use char because int might match the return type of a gcc2
37824 builtin and then its argument prototype would still apply. */
37825 char $ac_func ();
37826 /* The GNU C library defines this for functions which it implements
37827 to always fail with ENOSYS. Some functions are actually named
37828 something starting with __ and the normal name is an alias. */
37829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37830 choke me
37831 #else
37832 char (*f) () = $ac_func;
37833 #endif
37834 #ifdef __cplusplus
37836 #endif
37839 main ()
37841 return f != $ac_func;
37843 return 0;
37845 _ACEOF
37846 rm -f conftest.$ac_objext conftest$ac_exeext
37847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37848 (eval $ac_link) 2>conftest.er1
37849 ac_status=$?
37850 grep -v '^ *+' conftest.er1 >conftest.err
37851 rm -f conftest.er1
37852 cat conftest.err >&5
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); } &&
37855 { ac_try='test -z "$ac_c_werror_flag"
37856 || test ! -s conftest.err'
37857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37858 (eval $ac_try) 2>&5
37859 ac_status=$?
37860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37861 (exit $ac_status); }; } &&
37862 { ac_try='test -s conftest$ac_exeext'
37863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37864 (eval $ac_try) 2>&5
37865 ac_status=$?
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); }; }; then
37868 eval "$as_ac_var=yes"
37869 else
37870 echo "$as_me: failed program was:" >&5
37871 sed 's/^/| /' conftest.$ac_ext >&5
37873 eval "$as_ac_var=no"
37875 rm -f conftest.err conftest.$ac_objext \
37876 conftest$ac_exeext conftest.$ac_ext
37878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37880 if test `eval echo '${'$as_ac_var'}'` = yes; then
37881 cat >>confdefs.h <<_ACEOF
37882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37883 _ACEOF
37886 done
37888 else
37890 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37891 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37892 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37893 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37894 echo $ECHO_N "(cached) $ECHO_C" >&6
37895 else
37899 ac_ext=cc
37900 ac_cpp='$CXXCPP $CPPFLAGS'
37901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37905 cat >conftest.$ac_ext <<_ACEOF
37906 /* confdefs.h. */
37907 _ACEOF
37908 cat confdefs.h >>conftest.$ac_ext
37909 cat >>conftest.$ac_ext <<_ACEOF
37910 /* end confdefs.h. */
37911 #include <math.h>
37913 main ()
37915 _hypotf(0, 0);
37917 return 0;
37919 _ACEOF
37920 rm -f conftest.$ac_objext
37921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37922 (eval $ac_compile) 2>conftest.er1
37923 ac_status=$?
37924 grep -v '^ *+' conftest.er1 >conftest.err
37925 rm -f conftest.er1
37926 cat conftest.err >&5
37927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928 (exit $ac_status); } &&
37929 { ac_try='test -z "$ac_cxx_werror_flag"
37930 || test ! -s conftest.err'
37931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37932 (eval $ac_try) 2>&5
37933 ac_status=$?
37934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37935 (exit $ac_status); }; } &&
37936 { ac_try='test -s conftest.$ac_objext'
37937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37938 (eval $ac_try) 2>&5
37939 ac_status=$?
37940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37941 (exit $ac_status); }; }; then
37942 glibcxx_cv_func__hypotf_use=yes
37943 else
37944 echo "$as_me: failed program was:" >&5
37945 sed 's/^/| /' conftest.$ac_ext >&5
37947 glibcxx_cv_func__hypotf_use=no
37949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37950 ac_ext=c
37951 ac_cpp='$CPP $CPPFLAGS'
37952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37961 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37963 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37965 for ac_func in _hypotf
37967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37968 echo "$as_me:$LINENO: checking for $ac_func" >&5
37969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37970 if eval "test \"\${$as_ac_var+set}\" = set"; then
37971 echo $ECHO_N "(cached) $ECHO_C" >&6
37972 else
37973 if test x$gcc_no_link = xyes; then
37974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37976 { (exit 1); exit 1; }; }
37978 cat >conftest.$ac_ext <<_ACEOF
37979 /* confdefs.h. */
37980 _ACEOF
37981 cat confdefs.h >>conftest.$ac_ext
37982 cat >>conftest.$ac_ext <<_ACEOF
37983 /* end confdefs.h. */
37984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37986 #define $ac_func innocuous_$ac_func
37988 /* System header to define __stub macros and hopefully few prototypes,
37989 which can conflict with char $ac_func (); below.
37990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37991 <limits.h> exists even on freestanding compilers. */
37993 #ifdef __STDC__
37994 # include <limits.h>
37995 #else
37996 # include <assert.h>
37997 #endif
37999 #undef $ac_func
38001 /* Override any gcc2 internal prototype to avoid an error. */
38002 #ifdef __cplusplus
38003 extern "C"
38005 #endif
38006 /* We use char because int might match the return type of a gcc2
38007 builtin and then its argument prototype would still apply. */
38008 char $ac_func ();
38009 /* The GNU C library defines this for functions which it implements
38010 to always fail with ENOSYS. Some functions are actually named
38011 something starting with __ and the normal name is an alias. */
38012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38013 choke me
38014 #else
38015 char (*f) () = $ac_func;
38016 #endif
38017 #ifdef __cplusplus
38019 #endif
38022 main ()
38024 return f != $ac_func;
38026 return 0;
38028 _ACEOF
38029 rm -f conftest.$ac_objext conftest$ac_exeext
38030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38031 (eval $ac_link) 2>conftest.er1
38032 ac_status=$?
38033 grep -v '^ *+' conftest.er1 >conftest.err
38034 rm -f conftest.er1
38035 cat conftest.err >&5
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); } &&
38038 { ac_try='test -z "$ac_c_werror_flag"
38039 || test ! -s conftest.err'
38040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38041 (eval $ac_try) 2>&5
38042 ac_status=$?
38043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38044 (exit $ac_status); }; } &&
38045 { ac_try='test -s conftest$ac_exeext'
38046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38047 (eval $ac_try) 2>&5
38048 ac_status=$?
38049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38050 (exit $ac_status); }; }; then
38051 eval "$as_ac_var=yes"
38052 else
38053 echo "$as_me: failed program was:" >&5
38054 sed 's/^/| /' conftest.$ac_ext >&5
38056 eval "$as_ac_var=no"
38058 rm -f conftest.err conftest.$ac_objext \
38059 conftest$ac_exeext conftest.$ac_ext
38061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38063 if test `eval echo '${'$as_ac_var'}'` = yes; then
38064 cat >>confdefs.h <<_ACEOF
38065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38066 _ACEOF
38069 done
38079 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
38080 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
38081 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38082 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38084 else
38088 ac_ext=cc
38089 ac_cpp='$CXXCPP $CPPFLAGS'
38090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38094 cat >conftest.$ac_ext <<_ACEOF
38095 /* confdefs.h. */
38096 _ACEOF
38097 cat confdefs.h >>conftest.$ac_ext
38098 cat >>conftest.$ac_ext <<_ACEOF
38099 /* end confdefs.h. */
38100 #include <math.h>
38102 main ()
38104 ldexpf(0, 0);
38106 return 0;
38108 _ACEOF
38109 rm -f conftest.$ac_objext
38110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38111 (eval $ac_compile) 2>conftest.er1
38112 ac_status=$?
38113 grep -v '^ *+' conftest.er1 >conftest.err
38114 rm -f conftest.er1
38115 cat conftest.err >&5
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); } &&
38118 { ac_try='test -z "$ac_cxx_werror_flag"
38119 || test ! -s conftest.err'
38120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38121 (eval $ac_try) 2>&5
38122 ac_status=$?
38123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124 (exit $ac_status); }; } &&
38125 { ac_try='test -s conftest.$ac_objext'
38126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38127 (eval $ac_try) 2>&5
38128 ac_status=$?
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); }; }; then
38131 glibcxx_cv_func_ldexpf_use=yes
38132 else
38133 echo "$as_me: failed program was:" >&5
38134 sed 's/^/| /' conftest.$ac_ext >&5
38136 glibcxx_cv_func_ldexpf_use=no
38138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38139 ac_ext=c
38140 ac_cpp='$CPP $CPPFLAGS'
38141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38149 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
38150 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
38152 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38154 for ac_func in ldexpf
38156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38157 echo "$as_me:$LINENO: checking for $ac_func" >&5
38158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38159 if eval "test \"\${$as_ac_var+set}\" = set"; then
38160 echo $ECHO_N "(cached) $ECHO_C" >&6
38161 else
38162 if test x$gcc_no_link = xyes; then
38163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38165 { (exit 1); exit 1; }; }
38167 cat >conftest.$ac_ext <<_ACEOF
38168 /* confdefs.h. */
38169 _ACEOF
38170 cat confdefs.h >>conftest.$ac_ext
38171 cat >>conftest.$ac_ext <<_ACEOF
38172 /* end confdefs.h. */
38173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38175 #define $ac_func innocuous_$ac_func
38177 /* System header to define __stub macros and hopefully few prototypes,
38178 which can conflict with char $ac_func (); below.
38179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38180 <limits.h> exists even on freestanding compilers. */
38182 #ifdef __STDC__
38183 # include <limits.h>
38184 #else
38185 # include <assert.h>
38186 #endif
38188 #undef $ac_func
38190 /* Override any gcc2 internal prototype to avoid an error. */
38191 #ifdef __cplusplus
38192 extern "C"
38194 #endif
38195 /* We use char because int might match the return type of a gcc2
38196 builtin and then its argument prototype would still apply. */
38197 char $ac_func ();
38198 /* The GNU C library defines this for functions which it implements
38199 to always fail with ENOSYS. Some functions are actually named
38200 something starting with __ and the normal name is an alias. */
38201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38202 choke me
38203 #else
38204 char (*f) () = $ac_func;
38205 #endif
38206 #ifdef __cplusplus
38208 #endif
38211 main ()
38213 return f != $ac_func;
38215 return 0;
38217 _ACEOF
38218 rm -f conftest.$ac_objext conftest$ac_exeext
38219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38220 (eval $ac_link) 2>conftest.er1
38221 ac_status=$?
38222 grep -v '^ *+' conftest.er1 >conftest.err
38223 rm -f conftest.er1
38224 cat conftest.err >&5
38225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38226 (exit $ac_status); } &&
38227 { ac_try='test -z "$ac_c_werror_flag"
38228 || test ! -s conftest.err'
38229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38230 (eval $ac_try) 2>&5
38231 ac_status=$?
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); }; } &&
38234 { ac_try='test -s conftest$ac_exeext'
38235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38236 (eval $ac_try) 2>&5
38237 ac_status=$?
38238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38239 (exit $ac_status); }; }; then
38240 eval "$as_ac_var=yes"
38241 else
38242 echo "$as_me: failed program was:" >&5
38243 sed 's/^/| /' conftest.$ac_ext >&5
38245 eval "$as_ac_var=no"
38247 rm -f conftest.err conftest.$ac_objext \
38248 conftest$ac_exeext conftest.$ac_ext
38250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38252 if test `eval echo '${'$as_ac_var'}'` = yes; then
38253 cat >>confdefs.h <<_ACEOF
38254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38255 _ACEOF
38258 done
38260 else
38262 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38263 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38264 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38265 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38266 echo $ECHO_N "(cached) $ECHO_C" >&6
38267 else
38271 ac_ext=cc
38272 ac_cpp='$CXXCPP $CPPFLAGS'
38273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38277 cat >conftest.$ac_ext <<_ACEOF
38278 /* confdefs.h. */
38279 _ACEOF
38280 cat confdefs.h >>conftest.$ac_ext
38281 cat >>conftest.$ac_ext <<_ACEOF
38282 /* end confdefs.h. */
38283 #include <math.h>
38285 main ()
38287 _ldexpf(0, 0);
38289 return 0;
38291 _ACEOF
38292 rm -f conftest.$ac_objext
38293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38294 (eval $ac_compile) 2>conftest.er1
38295 ac_status=$?
38296 grep -v '^ *+' conftest.er1 >conftest.err
38297 rm -f conftest.er1
38298 cat conftest.err >&5
38299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38300 (exit $ac_status); } &&
38301 { ac_try='test -z "$ac_cxx_werror_flag"
38302 || test ! -s conftest.err'
38303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38304 (eval $ac_try) 2>&5
38305 ac_status=$?
38306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38307 (exit $ac_status); }; } &&
38308 { ac_try='test -s conftest.$ac_objext'
38309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38310 (eval $ac_try) 2>&5
38311 ac_status=$?
38312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38313 (exit $ac_status); }; }; then
38314 glibcxx_cv_func__ldexpf_use=yes
38315 else
38316 echo "$as_me: failed program was:" >&5
38317 sed 's/^/| /' conftest.$ac_ext >&5
38319 glibcxx_cv_func__ldexpf_use=no
38321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38322 ac_ext=c
38323 ac_cpp='$CPP $CPPFLAGS'
38324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38332 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38333 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38335 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38337 for ac_func in _ldexpf
38339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38340 echo "$as_me:$LINENO: checking for $ac_func" >&5
38341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38342 if eval "test \"\${$as_ac_var+set}\" = set"; then
38343 echo $ECHO_N "(cached) $ECHO_C" >&6
38344 else
38345 if test x$gcc_no_link = xyes; then
38346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38348 { (exit 1); exit 1; }; }
38350 cat >conftest.$ac_ext <<_ACEOF
38351 /* confdefs.h. */
38352 _ACEOF
38353 cat confdefs.h >>conftest.$ac_ext
38354 cat >>conftest.$ac_ext <<_ACEOF
38355 /* end confdefs.h. */
38356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38358 #define $ac_func innocuous_$ac_func
38360 /* System header to define __stub macros and hopefully few prototypes,
38361 which can conflict with char $ac_func (); below.
38362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38363 <limits.h> exists even on freestanding compilers. */
38365 #ifdef __STDC__
38366 # include <limits.h>
38367 #else
38368 # include <assert.h>
38369 #endif
38371 #undef $ac_func
38373 /* Override any gcc2 internal prototype to avoid an error. */
38374 #ifdef __cplusplus
38375 extern "C"
38377 #endif
38378 /* We use char because int might match the return type of a gcc2
38379 builtin and then its argument prototype would still apply. */
38380 char $ac_func ();
38381 /* The GNU C library defines this for functions which it implements
38382 to always fail with ENOSYS. Some functions are actually named
38383 something starting with __ and the normal name is an alias. */
38384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38385 choke me
38386 #else
38387 char (*f) () = $ac_func;
38388 #endif
38389 #ifdef __cplusplus
38391 #endif
38394 main ()
38396 return f != $ac_func;
38398 return 0;
38400 _ACEOF
38401 rm -f conftest.$ac_objext conftest$ac_exeext
38402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38403 (eval $ac_link) 2>conftest.er1
38404 ac_status=$?
38405 grep -v '^ *+' conftest.er1 >conftest.err
38406 rm -f conftest.er1
38407 cat conftest.err >&5
38408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38409 (exit $ac_status); } &&
38410 { ac_try='test -z "$ac_c_werror_flag"
38411 || test ! -s conftest.err'
38412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38413 (eval $ac_try) 2>&5
38414 ac_status=$?
38415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38416 (exit $ac_status); }; } &&
38417 { ac_try='test -s conftest$ac_exeext'
38418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38419 (eval $ac_try) 2>&5
38420 ac_status=$?
38421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422 (exit $ac_status); }; }; then
38423 eval "$as_ac_var=yes"
38424 else
38425 echo "$as_me: failed program was:" >&5
38426 sed 's/^/| /' conftest.$ac_ext >&5
38428 eval "$as_ac_var=no"
38430 rm -f conftest.err conftest.$ac_objext \
38431 conftest$ac_exeext conftest.$ac_ext
38433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38435 if test `eval echo '${'$as_ac_var'}'` = yes; then
38436 cat >>confdefs.h <<_ACEOF
38437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38438 _ACEOF
38441 done
38451 echo "$as_me:$LINENO: checking for logf declaration" >&5
38452 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38453 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38454 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38455 echo $ECHO_N "(cached) $ECHO_C" >&6
38456 else
38460 ac_ext=cc
38461 ac_cpp='$CXXCPP $CPPFLAGS'
38462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38466 cat >conftest.$ac_ext <<_ACEOF
38467 /* confdefs.h. */
38468 _ACEOF
38469 cat confdefs.h >>conftest.$ac_ext
38470 cat >>conftest.$ac_ext <<_ACEOF
38471 /* end confdefs.h. */
38472 #include <math.h>
38473 #ifdef HAVE_IEEEFP_H
38474 #include <ieeefp.h>
38475 #endif
38478 main ()
38480 logf(0);
38482 return 0;
38484 _ACEOF
38485 rm -f conftest.$ac_objext
38486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38487 (eval $ac_compile) 2>conftest.er1
38488 ac_status=$?
38489 grep -v '^ *+' conftest.er1 >conftest.err
38490 rm -f conftest.er1
38491 cat conftest.err >&5
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); } &&
38494 { ac_try='test -z "$ac_cxx_werror_flag"
38495 || test ! -s conftest.err'
38496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38497 (eval $ac_try) 2>&5
38498 ac_status=$?
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); }; } &&
38501 { ac_try='test -s conftest.$ac_objext'
38502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38503 (eval $ac_try) 2>&5
38504 ac_status=$?
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); }; }; then
38507 glibcxx_cv_func_logf_use=yes
38508 else
38509 echo "$as_me: failed program was:" >&5
38510 sed 's/^/| /' conftest.$ac_ext >&5
38512 glibcxx_cv_func_logf_use=no
38514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38515 ac_ext=c
38516 ac_cpp='$CPP $CPPFLAGS'
38517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38525 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38526 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38528 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38530 for ac_func in logf
38532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38533 echo "$as_me:$LINENO: checking for $ac_func" >&5
38534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38535 if eval "test \"\${$as_ac_var+set}\" = set"; then
38536 echo $ECHO_N "(cached) $ECHO_C" >&6
38537 else
38538 if test x$gcc_no_link = xyes; then
38539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38541 { (exit 1); exit 1; }; }
38543 cat >conftest.$ac_ext <<_ACEOF
38544 /* confdefs.h. */
38545 _ACEOF
38546 cat confdefs.h >>conftest.$ac_ext
38547 cat >>conftest.$ac_ext <<_ACEOF
38548 /* end confdefs.h. */
38549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38551 #define $ac_func innocuous_$ac_func
38553 /* System header to define __stub macros and hopefully few prototypes,
38554 which can conflict with char $ac_func (); below.
38555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38556 <limits.h> exists even on freestanding compilers. */
38558 #ifdef __STDC__
38559 # include <limits.h>
38560 #else
38561 # include <assert.h>
38562 #endif
38564 #undef $ac_func
38566 /* Override any gcc2 internal prototype to avoid an error. */
38567 #ifdef __cplusplus
38568 extern "C"
38570 #endif
38571 /* We use char because int might match the return type of a gcc2
38572 builtin and then its argument prototype would still apply. */
38573 char $ac_func ();
38574 /* The GNU C library defines this for functions which it implements
38575 to always fail with ENOSYS. Some functions are actually named
38576 something starting with __ and the normal name is an alias. */
38577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38578 choke me
38579 #else
38580 char (*f) () = $ac_func;
38581 #endif
38582 #ifdef __cplusplus
38584 #endif
38587 main ()
38589 return f != $ac_func;
38591 return 0;
38593 _ACEOF
38594 rm -f conftest.$ac_objext conftest$ac_exeext
38595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38596 (eval $ac_link) 2>conftest.er1
38597 ac_status=$?
38598 grep -v '^ *+' conftest.er1 >conftest.err
38599 rm -f conftest.er1
38600 cat conftest.err >&5
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); } &&
38603 { ac_try='test -z "$ac_c_werror_flag"
38604 || test ! -s conftest.err'
38605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38606 (eval $ac_try) 2>&5
38607 ac_status=$?
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); }; } &&
38610 { ac_try='test -s conftest$ac_exeext'
38611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38612 (eval $ac_try) 2>&5
38613 ac_status=$?
38614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38615 (exit $ac_status); }; }; then
38616 eval "$as_ac_var=yes"
38617 else
38618 echo "$as_me: failed program was:" >&5
38619 sed 's/^/| /' conftest.$ac_ext >&5
38621 eval "$as_ac_var=no"
38623 rm -f conftest.err conftest.$ac_objext \
38624 conftest$ac_exeext conftest.$ac_ext
38626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38628 if test `eval echo '${'$as_ac_var'}'` = yes; then
38629 cat >>confdefs.h <<_ACEOF
38630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38631 _ACEOF
38634 done
38636 else
38638 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38639 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38640 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38641 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38642 echo $ECHO_N "(cached) $ECHO_C" >&6
38643 else
38647 ac_ext=cc
38648 ac_cpp='$CXXCPP $CPPFLAGS'
38649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38653 cat >conftest.$ac_ext <<_ACEOF
38654 /* confdefs.h. */
38655 _ACEOF
38656 cat confdefs.h >>conftest.$ac_ext
38657 cat >>conftest.$ac_ext <<_ACEOF
38658 /* end confdefs.h. */
38659 #include <math.h>
38660 #ifdef HAVE_IEEEFP_H
38661 #include <ieeefp.h>
38662 #endif
38665 main ()
38667 _logf(0);
38669 return 0;
38671 _ACEOF
38672 rm -f conftest.$ac_objext
38673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38674 (eval $ac_compile) 2>conftest.er1
38675 ac_status=$?
38676 grep -v '^ *+' conftest.er1 >conftest.err
38677 rm -f conftest.er1
38678 cat conftest.err >&5
38679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38680 (exit $ac_status); } &&
38681 { ac_try='test -z "$ac_cxx_werror_flag"
38682 || test ! -s conftest.err'
38683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38684 (eval $ac_try) 2>&5
38685 ac_status=$?
38686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38687 (exit $ac_status); }; } &&
38688 { ac_try='test -s conftest.$ac_objext'
38689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38690 (eval $ac_try) 2>&5
38691 ac_status=$?
38692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38693 (exit $ac_status); }; }; then
38694 glibcxx_cv_func__logf_use=yes
38695 else
38696 echo "$as_me: failed program was:" >&5
38697 sed 's/^/| /' conftest.$ac_ext >&5
38699 glibcxx_cv_func__logf_use=no
38701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38702 ac_ext=c
38703 ac_cpp='$CPP $CPPFLAGS'
38704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38713 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38715 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38717 for ac_func in _logf
38719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38720 echo "$as_me:$LINENO: checking for $ac_func" >&5
38721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38722 if eval "test \"\${$as_ac_var+set}\" = set"; then
38723 echo $ECHO_N "(cached) $ECHO_C" >&6
38724 else
38725 if test x$gcc_no_link = xyes; then
38726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38728 { (exit 1); exit 1; }; }
38730 cat >conftest.$ac_ext <<_ACEOF
38731 /* confdefs.h. */
38732 _ACEOF
38733 cat confdefs.h >>conftest.$ac_ext
38734 cat >>conftest.$ac_ext <<_ACEOF
38735 /* end confdefs.h. */
38736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38738 #define $ac_func innocuous_$ac_func
38740 /* System header to define __stub macros and hopefully few prototypes,
38741 which can conflict with char $ac_func (); below.
38742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38743 <limits.h> exists even on freestanding compilers. */
38745 #ifdef __STDC__
38746 # include <limits.h>
38747 #else
38748 # include <assert.h>
38749 #endif
38751 #undef $ac_func
38753 /* Override any gcc2 internal prototype to avoid an error. */
38754 #ifdef __cplusplus
38755 extern "C"
38757 #endif
38758 /* We use char because int might match the return type of a gcc2
38759 builtin and then its argument prototype would still apply. */
38760 char $ac_func ();
38761 /* The GNU C library defines this for functions which it implements
38762 to always fail with ENOSYS. Some functions are actually named
38763 something starting with __ and the normal name is an alias. */
38764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38765 choke me
38766 #else
38767 char (*f) () = $ac_func;
38768 #endif
38769 #ifdef __cplusplus
38771 #endif
38774 main ()
38776 return f != $ac_func;
38778 return 0;
38780 _ACEOF
38781 rm -f conftest.$ac_objext conftest$ac_exeext
38782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38783 (eval $ac_link) 2>conftest.er1
38784 ac_status=$?
38785 grep -v '^ *+' conftest.er1 >conftest.err
38786 rm -f conftest.er1
38787 cat conftest.err >&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); } &&
38790 { ac_try='test -z "$ac_c_werror_flag"
38791 || test ! -s conftest.err'
38792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38793 (eval $ac_try) 2>&5
38794 ac_status=$?
38795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796 (exit $ac_status); }; } &&
38797 { ac_try='test -s conftest$ac_exeext'
38798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38799 (eval $ac_try) 2>&5
38800 ac_status=$?
38801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802 (exit $ac_status); }; }; then
38803 eval "$as_ac_var=yes"
38804 else
38805 echo "$as_me: failed program was:" >&5
38806 sed 's/^/| /' conftest.$ac_ext >&5
38808 eval "$as_ac_var=no"
38810 rm -f conftest.err conftest.$ac_objext \
38811 conftest$ac_exeext conftest.$ac_ext
38813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38815 if test `eval echo '${'$as_ac_var'}'` = yes; then
38816 cat >>confdefs.h <<_ACEOF
38817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38818 _ACEOF
38821 done
38831 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38832 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38833 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38834 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38835 echo $ECHO_N "(cached) $ECHO_C" >&6
38836 else
38840 ac_ext=cc
38841 ac_cpp='$CXXCPP $CPPFLAGS'
38842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38846 cat >conftest.$ac_ext <<_ACEOF
38847 /* confdefs.h. */
38848 _ACEOF
38849 cat confdefs.h >>conftest.$ac_ext
38850 cat >>conftest.$ac_ext <<_ACEOF
38851 /* end confdefs.h. */
38852 #include <math.h>
38853 #ifdef HAVE_IEEEFP_H
38854 #include <ieeefp.h>
38855 #endif
38858 main ()
38860 log10f(0);
38862 return 0;
38864 _ACEOF
38865 rm -f conftest.$ac_objext
38866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38867 (eval $ac_compile) 2>conftest.er1
38868 ac_status=$?
38869 grep -v '^ *+' conftest.er1 >conftest.err
38870 rm -f conftest.er1
38871 cat conftest.err >&5
38872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38873 (exit $ac_status); } &&
38874 { ac_try='test -z "$ac_cxx_werror_flag"
38875 || test ! -s conftest.err'
38876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38877 (eval $ac_try) 2>&5
38878 ac_status=$?
38879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38880 (exit $ac_status); }; } &&
38881 { ac_try='test -s conftest.$ac_objext'
38882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38883 (eval $ac_try) 2>&5
38884 ac_status=$?
38885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38886 (exit $ac_status); }; }; then
38887 glibcxx_cv_func_log10f_use=yes
38888 else
38889 echo "$as_me: failed program was:" >&5
38890 sed 's/^/| /' conftest.$ac_ext >&5
38892 glibcxx_cv_func_log10f_use=no
38894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38895 ac_ext=c
38896 ac_cpp='$CPP $CPPFLAGS'
38897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38905 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38906 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38908 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38910 for ac_func in log10f
38912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38913 echo "$as_me:$LINENO: checking for $ac_func" >&5
38914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38915 if eval "test \"\${$as_ac_var+set}\" = set"; then
38916 echo $ECHO_N "(cached) $ECHO_C" >&6
38917 else
38918 if test x$gcc_no_link = xyes; then
38919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38921 { (exit 1); exit 1; }; }
38923 cat >conftest.$ac_ext <<_ACEOF
38924 /* confdefs.h. */
38925 _ACEOF
38926 cat confdefs.h >>conftest.$ac_ext
38927 cat >>conftest.$ac_ext <<_ACEOF
38928 /* end confdefs.h. */
38929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38931 #define $ac_func innocuous_$ac_func
38933 /* System header to define __stub macros and hopefully few prototypes,
38934 which can conflict with char $ac_func (); below.
38935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38936 <limits.h> exists even on freestanding compilers. */
38938 #ifdef __STDC__
38939 # include <limits.h>
38940 #else
38941 # include <assert.h>
38942 #endif
38944 #undef $ac_func
38946 /* Override any gcc2 internal prototype to avoid an error. */
38947 #ifdef __cplusplus
38948 extern "C"
38950 #endif
38951 /* We use char because int might match the return type of a gcc2
38952 builtin and then its argument prototype would still apply. */
38953 char $ac_func ();
38954 /* The GNU C library defines this for functions which it implements
38955 to always fail with ENOSYS. Some functions are actually named
38956 something starting with __ and the normal name is an alias. */
38957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38958 choke me
38959 #else
38960 char (*f) () = $ac_func;
38961 #endif
38962 #ifdef __cplusplus
38964 #endif
38967 main ()
38969 return f != $ac_func;
38971 return 0;
38973 _ACEOF
38974 rm -f conftest.$ac_objext conftest$ac_exeext
38975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38976 (eval $ac_link) 2>conftest.er1
38977 ac_status=$?
38978 grep -v '^ *+' conftest.er1 >conftest.err
38979 rm -f conftest.er1
38980 cat conftest.err >&5
38981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38982 (exit $ac_status); } &&
38983 { ac_try='test -z "$ac_c_werror_flag"
38984 || test ! -s conftest.err'
38985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38986 (eval $ac_try) 2>&5
38987 ac_status=$?
38988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38989 (exit $ac_status); }; } &&
38990 { ac_try='test -s conftest$ac_exeext'
38991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38992 (eval $ac_try) 2>&5
38993 ac_status=$?
38994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38995 (exit $ac_status); }; }; then
38996 eval "$as_ac_var=yes"
38997 else
38998 echo "$as_me: failed program was:" >&5
38999 sed 's/^/| /' conftest.$ac_ext >&5
39001 eval "$as_ac_var=no"
39003 rm -f conftest.err conftest.$ac_objext \
39004 conftest$ac_exeext conftest.$ac_ext
39006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39008 if test `eval echo '${'$as_ac_var'}'` = yes; then
39009 cat >>confdefs.h <<_ACEOF
39010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39011 _ACEOF
39014 done
39016 else
39018 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
39019 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
39020 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
39021 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
39022 echo $ECHO_N "(cached) $ECHO_C" >&6
39023 else
39027 ac_ext=cc
39028 ac_cpp='$CXXCPP $CPPFLAGS'
39029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39033 cat >conftest.$ac_ext <<_ACEOF
39034 /* confdefs.h. */
39035 _ACEOF
39036 cat confdefs.h >>conftest.$ac_ext
39037 cat >>conftest.$ac_ext <<_ACEOF
39038 /* end confdefs.h. */
39039 #include <math.h>
39040 #ifdef HAVE_IEEEFP_H
39041 #include <ieeefp.h>
39042 #endif
39045 main ()
39047 _log10f(0);
39049 return 0;
39051 _ACEOF
39052 rm -f conftest.$ac_objext
39053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39054 (eval $ac_compile) 2>conftest.er1
39055 ac_status=$?
39056 grep -v '^ *+' conftest.er1 >conftest.err
39057 rm -f conftest.er1
39058 cat conftest.err >&5
39059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39060 (exit $ac_status); } &&
39061 { ac_try='test -z "$ac_cxx_werror_flag"
39062 || test ! -s conftest.err'
39063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39064 (eval $ac_try) 2>&5
39065 ac_status=$?
39066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39067 (exit $ac_status); }; } &&
39068 { ac_try='test -s conftest.$ac_objext'
39069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39070 (eval $ac_try) 2>&5
39071 ac_status=$?
39072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39073 (exit $ac_status); }; }; then
39074 glibcxx_cv_func__log10f_use=yes
39075 else
39076 echo "$as_me: failed program was:" >&5
39077 sed 's/^/| /' conftest.$ac_ext >&5
39079 glibcxx_cv_func__log10f_use=no
39081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39082 ac_ext=c
39083 ac_cpp='$CPP $CPPFLAGS'
39084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
39093 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
39095 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
39097 for ac_func in _log10f
39099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39100 echo "$as_me:$LINENO: checking for $ac_func" >&5
39101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39102 if eval "test \"\${$as_ac_var+set}\" = set"; then
39103 echo $ECHO_N "(cached) $ECHO_C" >&6
39104 else
39105 if test x$gcc_no_link = xyes; then
39106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39108 { (exit 1); exit 1; }; }
39110 cat >conftest.$ac_ext <<_ACEOF
39111 /* confdefs.h. */
39112 _ACEOF
39113 cat confdefs.h >>conftest.$ac_ext
39114 cat >>conftest.$ac_ext <<_ACEOF
39115 /* end confdefs.h. */
39116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39118 #define $ac_func innocuous_$ac_func
39120 /* System header to define __stub macros and hopefully few prototypes,
39121 which can conflict with char $ac_func (); below.
39122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39123 <limits.h> exists even on freestanding compilers. */
39125 #ifdef __STDC__
39126 # include <limits.h>
39127 #else
39128 # include <assert.h>
39129 #endif
39131 #undef $ac_func
39133 /* Override any gcc2 internal prototype to avoid an error. */
39134 #ifdef __cplusplus
39135 extern "C"
39137 #endif
39138 /* We use char because int might match the return type of a gcc2
39139 builtin and then its argument prototype would still apply. */
39140 char $ac_func ();
39141 /* The GNU C library defines this for functions which it implements
39142 to always fail with ENOSYS. Some functions are actually named
39143 something starting with __ and the normal name is an alias. */
39144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39145 choke me
39146 #else
39147 char (*f) () = $ac_func;
39148 #endif
39149 #ifdef __cplusplus
39151 #endif
39154 main ()
39156 return f != $ac_func;
39158 return 0;
39160 _ACEOF
39161 rm -f conftest.$ac_objext conftest$ac_exeext
39162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39163 (eval $ac_link) 2>conftest.er1
39164 ac_status=$?
39165 grep -v '^ *+' conftest.er1 >conftest.err
39166 rm -f conftest.er1
39167 cat conftest.err >&5
39168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39169 (exit $ac_status); } &&
39170 { ac_try='test -z "$ac_c_werror_flag"
39171 || test ! -s conftest.err'
39172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39173 (eval $ac_try) 2>&5
39174 ac_status=$?
39175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39176 (exit $ac_status); }; } &&
39177 { ac_try='test -s conftest$ac_exeext'
39178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39179 (eval $ac_try) 2>&5
39180 ac_status=$?
39181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39182 (exit $ac_status); }; }; then
39183 eval "$as_ac_var=yes"
39184 else
39185 echo "$as_me: failed program was:" >&5
39186 sed 's/^/| /' conftest.$ac_ext >&5
39188 eval "$as_ac_var=no"
39190 rm -f conftest.err conftest.$ac_objext \
39191 conftest$ac_exeext conftest.$ac_ext
39193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39195 if test `eval echo '${'$as_ac_var'}'` = yes; then
39196 cat >>confdefs.h <<_ACEOF
39197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39198 _ACEOF
39201 done
39211 echo "$as_me:$LINENO: checking for modff declaration" >&5
39212 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39213 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39214 if test "${glibcxx_cv_func_modff_use+set}" = set; then
39215 echo $ECHO_N "(cached) $ECHO_C" >&6
39216 else
39220 ac_ext=cc
39221 ac_cpp='$CXXCPP $CPPFLAGS'
39222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39226 cat >conftest.$ac_ext <<_ACEOF
39227 /* confdefs.h. */
39228 _ACEOF
39229 cat confdefs.h >>conftest.$ac_ext
39230 cat >>conftest.$ac_ext <<_ACEOF
39231 /* end confdefs.h. */
39232 #include <math.h>
39234 main ()
39236 modff(0, 0);
39238 return 0;
39240 _ACEOF
39241 rm -f conftest.$ac_objext
39242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39243 (eval $ac_compile) 2>conftest.er1
39244 ac_status=$?
39245 grep -v '^ *+' conftest.er1 >conftest.err
39246 rm -f conftest.er1
39247 cat conftest.err >&5
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); } &&
39250 { ac_try='test -z "$ac_cxx_werror_flag"
39251 || test ! -s conftest.err'
39252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39253 (eval $ac_try) 2>&5
39254 ac_status=$?
39255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39256 (exit $ac_status); }; } &&
39257 { ac_try='test -s conftest.$ac_objext'
39258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39259 (eval $ac_try) 2>&5
39260 ac_status=$?
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); }; }; then
39263 glibcxx_cv_func_modff_use=yes
39264 else
39265 echo "$as_me: failed program was:" >&5
39266 sed 's/^/| /' conftest.$ac_ext >&5
39268 glibcxx_cv_func_modff_use=no
39270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39271 ac_ext=c
39272 ac_cpp='$CPP $CPPFLAGS'
39273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39282 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39284 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39286 for ac_func in modff
39288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39289 echo "$as_me:$LINENO: checking for $ac_func" >&5
39290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39291 if eval "test \"\${$as_ac_var+set}\" = set"; then
39292 echo $ECHO_N "(cached) $ECHO_C" >&6
39293 else
39294 if test x$gcc_no_link = xyes; then
39295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39297 { (exit 1); exit 1; }; }
39299 cat >conftest.$ac_ext <<_ACEOF
39300 /* confdefs.h. */
39301 _ACEOF
39302 cat confdefs.h >>conftest.$ac_ext
39303 cat >>conftest.$ac_ext <<_ACEOF
39304 /* end confdefs.h. */
39305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39307 #define $ac_func innocuous_$ac_func
39309 /* System header to define __stub macros and hopefully few prototypes,
39310 which can conflict with char $ac_func (); below.
39311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39312 <limits.h> exists even on freestanding compilers. */
39314 #ifdef __STDC__
39315 # include <limits.h>
39316 #else
39317 # include <assert.h>
39318 #endif
39320 #undef $ac_func
39322 /* Override any gcc2 internal prototype to avoid an error. */
39323 #ifdef __cplusplus
39324 extern "C"
39326 #endif
39327 /* We use char because int might match the return type of a gcc2
39328 builtin and then its argument prototype would still apply. */
39329 char $ac_func ();
39330 /* The GNU C library defines this for functions which it implements
39331 to always fail with ENOSYS. Some functions are actually named
39332 something starting with __ and the normal name is an alias. */
39333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39334 choke me
39335 #else
39336 char (*f) () = $ac_func;
39337 #endif
39338 #ifdef __cplusplus
39340 #endif
39343 main ()
39345 return f != $ac_func;
39347 return 0;
39349 _ACEOF
39350 rm -f conftest.$ac_objext conftest$ac_exeext
39351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39352 (eval $ac_link) 2>conftest.er1
39353 ac_status=$?
39354 grep -v '^ *+' conftest.er1 >conftest.err
39355 rm -f conftest.er1
39356 cat conftest.err >&5
39357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39358 (exit $ac_status); } &&
39359 { ac_try='test -z "$ac_c_werror_flag"
39360 || test ! -s conftest.err'
39361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39362 (eval $ac_try) 2>&5
39363 ac_status=$?
39364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39365 (exit $ac_status); }; } &&
39366 { ac_try='test -s conftest$ac_exeext'
39367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39368 (eval $ac_try) 2>&5
39369 ac_status=$?
39370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371 (exit $ac_status); }; }; then
39372 eval "$as_ac_var=yes"
39373 else
39374 echo "$as_me: failed program was:" >&5
39375 sed 's/^/| /' conftest.$ac_ext >&5
39377 eval "$as_ac_var=no"
39379 rm -f conftest.err conftest.$ac_objext \
39380 conftest$ac_exeext conftest.$ac_ext
39382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39384 if test `eval echo '${'$as_ac_var'}'` = yes; then
39385 cat >>confdefs.h <<_ACEOF
39386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39387 _ACEOF
39390 done
39392 else
39394 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39395 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39396 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39397 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39398 echo $ECHO_N "(cached) $ECHO_C" >&6
39399 else
39403 ac_ext=cc
39404 ac_cpp='$CXXCPP $CPPFLAGS'
39405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39409 cat >conftest.$ac_ext <<_ACEOF
39410 /* confdefs.h. */
39411 _ACEOF
39412 cat confdefs.h >>conftest.$ac_ext
39413 cat >>conftest.$ac_ext <<_ACEOF
39414 /* end confdefs.h. */
39415 #include <math.h>
39417 main ()
39419 _modff(0, 0);
39421 return 0;
39423 _ACEOF
39424 rm -f conftest.$ac_objext
39425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39426 (eval $ac_compile) 2>conftest.er1
39427 ac_status=$?
39428 grep -v '^ *+' conftest.er1 >conftest.err
39429 rm -f conftest.er1
39430 cat conftest.err >&5
39431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39432 (exit $ac_status); } &&
39433 { ac_try='test -z "$ac_cxx_werror_flag"
39434 || test ! -s conftest.err'
39435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39436 (eval $ac_try) 2>&5
39437 ac_status=$?
39438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39439 (exit $ac_status); }; } &&
39440 { ac_try='test -s conftest.$ac_objext'
39441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39442 (eval $ac_try) 2>&5
39443 ac_status=$?
39444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39445 (exit $ac_status); }; }; then
39446 glibcxx_cv_func__modff_use=yes
39447 else
39448 echo "$as_me: failed program was:" >&5
39449 sed 's/^/| /' conftest.$ac_ext >&5
39451 glibcxx_cv_func__modff_use=no
39453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39454 ac_ext=c
39455 ac_cpp='$CPP $CPPFLAGS'
39456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39465 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39467 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39469 for ac_func in _modff
39471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39472 echo "$as_me:$LINENO: checking for $ac_func" >&5
39473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39474 if eval "test \"\${$as_ac_var+set}\" = set"; then
39475 echo $ECHO_N "(cached) $ECHO_C" >&6
39476 else
39477 if test x$gcc_no_link = xyes; then
39478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39480 { (exit 1); exit 1; }; }
39482 cat >conftest.$ac_ext <<_ACEOF
39483 /* confdefs.h. */
39484 _ACEOF
39485 cat confdefs.h >>conftest.$ac_ext
39486 cat >>conftest.$ac_ext <<_ACEOF
39487 /* end confdefs.h. */
39488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39490 #define $ac_func innocuous_$ac_func
39492 /* System header to define __stub macros and hopefully few prototypes,
39493 which can conflict with char $ac_func (); below.
39494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39495 <limits.h> exists even on freestanding compilers. */
39497 #ifdef __STDC__
39498 # include <limits.h>
39499 #else
39500 # include <assert.h>
39501 #endif
39503 #undef $ac_func
39505 /* Override any gcc2 internal prototype to avoid an error. */
39506 #ifdef __cplusplus
39507 extern "C"
39509 #endif
39510 /* We use char because int might match the return type of a gcc2
39511 builtin and then its argument prototype would still apply. */
39512 char $ac_func ();
39513 /* The GNU C library defines this for functions which it implements
39514 to always fail with ENOSYS. Some functions are actually named
39515 something starting with __ and the normal name is an alias. */
39516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39517 choke me
39518 #else
39519 char (*f) () = $ac_func;
39520 #endif
39521 #ifdef __cplusplus
39523 #endif
39526 main ()
39528 return f != $ac_func;
39530 return 0;
39532 _ACEOF
39533 rm -f conftest.$ac_objext conftest$ac_exeext
39534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39535 (eval $ac_link) 2>conftest.er1
39536 ac_status=$?
39537 grep -v '^ *+' conftest.er1 >conftest.err
39538 rm -f conftest.er1
39539 cat conftest.err >&5
39540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39541 (exit $ac_status); } &&
39542 { ac_try='test -z "$ac_c_werror_flag"
39543 || test ! -s conftest.err'
39544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39545 (eval $ac_try) 2>&5
39546 ac_status=$?
39547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39548 (exit $ac_status); }; } &&
39549 { ac_try='test -s conftest$ac_exeext'
39550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39551 (eval $ac_try) 2>&5
39552 ac_status=$?
39553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39554 (exit $ac_status); }; }; then
39555 eval "$as_ac_var=yes"
39556 else
39557 echo "$as_me: failed program was:" >&5
39558 sed 's/^/| /' conftest.$ac_ext >&5
39560 eval "$as_ac_var=no"
39562 rm -f conftest.err conftest.$ac_objext \
39563 conftest$ac_exeext conftest.$ac_ext
39565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39567 if test `eval echo '${'$as_ac_var'}'` = yes; then
39568 cat >>confdefs.h <<_ACEOF
39569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39570 _ACEOF
39573 done
39583 echo "$as_me:$LINENO: checking for modf declaration" >&5
39584 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
39585 if test x${glibcxx_cv_func_modf_use+set} != xset; then
39586 if test "${glibcxx_cv_func_modf_use+set}" = set; then
39587 echo $ECHO_N "(cached) $ECHO_C" >&6
39588 else
39592 ac_ext=cc
39593 ac_cpp='$CXXCPP $CPPFLAGS'
39594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39598 cat >conftest.$ac_ext <<_ACEOF
39599 /* confdefs.h. */
39600 _ACEOF
39601 cat confdefs.h >>conftest.$ac_ext
39602 cat >>conftest.$ac_ext <<_ACEOF
39603 /* end confdefs.h. */
39604 #include <math.h>
39606 main ()
39608 modf(0, 0);
39610 return 0;
39612 _ACEOF
39613 rm -f conftest.$ac_objext
39614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39615 (eval $ac_compile) 2>conftest.er1
39616 ac_status=$?
39617 grep -v '^ *+' conftest.er1 >conftest.err
39618 rm -f conftest.er1
39619 cat conftest.err >&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); } &&
39622 { ac_try='test -z "$ac_cxx_werror_flag"
39623 || test ! -s conftest.err'
39624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39625 (eval $ac_try) 2>&5
39626 ac_status=$?
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); }; } &&
39629 { ac_try='test -s conftest.$ac_objext'
39630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39631 (eval $ac_try) 2>&5
39632 ac_status=$?
39633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39634 (exit $ac_status); }; }; then
39635 glibcxx_cv_func_modf_use=yes
39636 else
39637 echo "$as_me: failed program was:" >&5
39638 sed 's/^/| /' conftest.$ac_ext >&5
39640 glibcxx_cv_func_modf_use=no
39642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39643 ac_ext=c
39644 ac_cpp='$CPP $CPPFLAGS'
39645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
39654 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
39656 if test x$glibcxx_cv_func_modf_use = x"yes"; then
39658 for ac_func in modf
39660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39661 echo "$as_me:$LINENO: checking for $ac_func" >&5
39662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39663 if eval "test \"\${$as_ac_var+set}\" = set"; then
39664 echo $ECHO_N "(cached) $ECHO_C" >&6
39665 else
39666 if test x$gcc_no_link = xyes; then
39667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39669 { (exit 1); exit 1; }; }
39671 cat >conftest.$ac_ext <<_ACEOF
39672 /* confdefs.h. */
39673 _ACEOF
39674 cat confdefs.h >>conftest.$ac_ext
39675 cat >>conftest.$ac_ext <<_ACEOF
39676 /* end confdefs.h. */
39677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39679 #define $ac_func innocuous_$ac_func
39681 /* System header to define __stub macros and hopefully few prototypes,
39682 which can conflict with char $ac_func (); below.
39683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39684 <limits.h> exists even on freestanding compilers. */
39686 #ifdef __STDC__
39687 # include <limits.h>
39688 #else
39689 # include <assert.h>
39690 #endif
39692 #undef $ac_func
39694 /* Override any gcc2 internal prototype to avoid an error. */
39695 #ifdef __cplusplus
39696 extern "C"
39698 #endif
39699 /* We use char because int might match the return type of a gcc2
39700 builtin and then its argument prototype would still apply. */
39701 char $ac_func ();
39702 /* The GNU C library defines this for functions which it implements
39703 to always fail with ENOSYS. Some functions are actually named
39704 something starting with __ and the normal name is an alias. */
39705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39706 choke me
39707 #else
39708 char (*f) () = $ac_func;
39709 #endif
39710 #ifdef __cplusplus
39712 #endif
39715 main ()
39717 return f != $ac_func;
39719 return 0;
39721 _ACEOF
39722 rm -f conftest.$ac_objext conftest$ac_exeext
39723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39724 (eval $ac_link) 2>conftest.er1
39725 ac_status=$?
39726 grep -v '^ *+' conftest.er1 >conftest.err
39727 rm -f conftest.er1
39728 cat conftest.err >&5
39729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39730 (exit $ac_status); } &&
39731 { ac_try='test -z "$ac_c_werror_flag"
39732 || test ! -s conftest.err'
39733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39734 (eval $ac_try) 2>&5
39735 ac_status=$?
39736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39737 (exit $ac_status); }; } &&
39738 { ac_try='test -s conftest$ac_exeext'
39739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39740 (eval $ac_try) 2>&5
39741 ac_status=$?
39742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39743 (exit $ac_status); }; }; then
39744 eval "$as_ac_var=yes"
39745 else
39746 echo "$as_me: failed program was:" >&5
39747 sed 's/^/| /' conftest.$ac_ext >&5
39749 eval "$as_ac_var=no"
39751 rm -f conftest.err conftest.$ac_objext \
39752 conftest$ac_exeext conftest.$ac_ext
39754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39756 if test `eval echo '${'$as_ac_var'}'` = yes; then
39757 cat >>confdefs.h <<_ACEOF
39758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39759 _ACEOF
39762 done
39764 else
39766 echo "$as_me:$LINENO: checking for _modf declaration" >&5
39767 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
39768 if test x${glibcxx_cv_func__modf_use+set} != xset; then
39769 if test "${glibcxx_cv_func__modf_use+set}" = set; then
39770 echo $ECHO_N "(cached) $ECHO_C" >&6
39771 else
39775 ac_ext=cc
39776 ac_cpp='$CXXCPP $CPPFLAGS'
39777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39781 cat >conftest.$ac_ext <<_ACEOF
39782 /* confdefs.h. */
39783 _ACEOF
39784 cat confdefs.h >>conftest.$ac_ext
39785 cat >>conftest.$ac_ext <<_ACEOF
39786 /* end confdefs.h. */
39787 #include <math.h>
39789 main ()
39791 _modf(0, 0);
39793 return 0;
39795 _ACEOF
39796 rm -f conftest.$ac_objext
39797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39798 (eval $ac_compile) 2>conftest.er1
39799 ac_status=$?
39800 grep -v '^ *+' conftest.er1 >conftest.err
39801 rm -f conftest.er1
39802 cat conftest.err >&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); } &&
39805 { ac_try='test -z "$ac_cxx_werror_flag"
39806 || test ! -s conftest.err'
39807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39808 (eval $ac_try) 2>&5
39809 ac_status=$?
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); }; } &&
39812 { ac_try='test -s conftest.$ac_objext'
39813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39814 (eval $ac_try) 2>&5
39815 ac_status=$?
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); }; }; then
39818 glibcxx_cv_func__modf_use=yes
39819 else
39820 echo "$as_me: failed program was:" >&5
39821 sed 's/^/| /' conftest.$ac_ext >&5
39823 glibcxx_cv_func__modf_use=no
39825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39826 ac_ext=c
39827 ac_cpp='$CPP $CPPFLAGS'
39828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
39837 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
39839 if test x$glibcxx_cv_func__modf_use = x"yes"; then
39841 for ac_func in _modf
39843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39844 echo "$as_me:$LINENO: checking for $ac_func" >&5
39845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39846 if eval "test \"\${$as_ac_var+set}\" = set"; then
39847 echo $ECHO_N "(cached) $ECHO_C" >&6
39848 else
39849 if test x$gcc_no_link = xyes; then
39850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39852 { (exit 1); exit 1; }; }
39854 cat >conftest.$ac_ext <<_ACEOF
39855 /* confdefs.h. */
39856 _ACEOF
39857 cat confdefs.h >>conftest.$ac_ext
39858 cat >>conftest.$ac_ext <<_ACEOF
39859 /* end confdefs.h. */
39860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39862 #define $ac_func innocuous_$ac_func
39864 /* System header to define __stub macros and hopefully few prototypes,
39865 which can conflict with char $ac_func (); below.
39866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39867 <limits.h> exists even on freestanding compilers. */
39869 #ifdef __STDC__
39870 # include <limits.h>
39871 #else
39872 # include <assert.h>
39873 #endif
39875 #undef $ac_func
39877 /* Override any gcc2 internal prototype to avoid an error. */
39878 #ifdef __cplusplus
39879 extern "C"
39881 #endif
39882 /* We use char because int might match the return type of a gcc2
39883 builtin and then its argument prototype would still apply. */
39884 char $ac_func ();
39885 /* The GNU C library defines this for functions which it implements
39886 to always fail with ENOSYS. Some functions are actually named
39887 something starting with __ and the normal name is an alias. */
39888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39889 choke me
39890 #else
39891 char (*f) () = $ac_func;
39892 #endif
39893 #ifdef __cplusplus
39895 #endif
39898 main ()
39900 return f != $ac_func;
39902 return 0;
39904 _ACEOF
39905 rm -f conftest.$ac_objext conftest$ac_exeext
39906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39907 (eval $ac_link) 2>conftest.er1
39908 ac_status=$?
39909 grep -v '^ *+' conftest.er1 >conftest.err
39910 rm -f conftest.er1
39911 cat conftest.err >&5
39912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39913 (exit $ac_status); } &&
39914 { ac_try='test -z "$ac_c_werror_flag"
39915 || test ! -s conftest.err'
39916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39917 (eval $ac_try) 2>&5
39918 ac_status=$?
39919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39920 (exit $ac_status); }; } &&
39921 { ac_try='test -s conftest$ac_exeext'
39922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39923 (eval $ac_try) 2>&5
39924 ac_status=$?
39925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39926 (exit $ac_status); }; }; then
39927 eval "$as_ac_var=yes"
39928 else
39929 echo "$as_me: failed program was:" >&5
39930 sed 's/^/| /' conftest.$ac_ext >&5
39932 eval "$as_ac_var=no"
39934 rm -f conftest.err conftest.$ac_objext \
39935 conftest$ac_exeext conftest.$ac_ext
39937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39939 if test `eval echo '${'$as_ac_var'}'` = yes; then
39940 cat >>confdefs.h <<_ACEOF
39941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39942 _ACEOF
39945 done
39955 echo "$as_me:$LINENO: checking for powf declaration" >&5
39956 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39957 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39958 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39959 echo $ECHO_N "(cached) $ECHO_C" >&6
39960 else
39964 ac_ext=cc
39965 ac_cpp='$CXXCPP $CPPFLAGS'
39966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39970 cat >conftest.$ac_ext <<_ACEOF
39971 /* confdefs.h. */
39972 _ACEOF
39973 cat confdefs.h >>conftest.$ac_ext
39974 cat >>conftest.$ac_ext <<_ACEOF
39975 /* end confdefs.h. */
39976 #include <math.h>
39978 main ()
39980 powf(0, 0);
39982 return 0;
39984 _ACEOF
39985 rm -f conftest.$ac_objext
39986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39987 (eval $ac_compile) 2>conftest.er1
39988 ac_status=$?
39989 grep -v '^ *+' conftest.er1 >conftest.err
39990 rm -f conftest.er1
39991 cat conftest.err >&5
39992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39993 (exit $ac_status); } &&
39994 { ac_try='test -z "$ac_cxx_werror_flag"
39995 || test ! -s conftest.err'
39996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39997 (eval $ac_try) 2>&5
39998 ac_status=$?
39999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40000 (exit $ac_status); }; } &&
40001 { ac_try='test -s conftest.$ac_objext'
40002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40003 (eval $ac_try) 2>&5
40004 ac_status=$?
40005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40006 (exit $ac_status); }; }; then
40007 glibcxx_cv_func_powf_use=yes
40008 else
40009 echo "$as_me: failed program was:" >&5
40010 sed 's/^/| /' conftest.$ac_ext >&5
40012 glibcxx_cv_func_powf_use=no
40014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40015 ac_ext=c
40016 ac_cpp='$CPP $CPPFLAGS'
40017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40025 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
40026 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
40028 if test x$glibcxx_cv_func_powf_use = x"yes"; then
40030 for ac_func in powf
40032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40033 echo "$as_me:$LINENO: checking for $ac_func" >&5
40034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40035 if eval "test \"\${$as_ac_var+set}\" = set"; then
40036 echo $ECHO_N "(cached) $ECHO_C" >&6
40037 else
40038 if test x$gcc_no_link = xyes; then
40039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40041 { (exit 1); exit 1; }; }
40043 cat >conftest.$ac_ext <<_ACEOF
40044 /* confdefs.h. */
40045 _ACEOF
40046 cat confdefs.h >>conftest.$ac_ext
40047 cat >>conftest.$ac_ext <<_ACEOF
40048 /* end confdefs.h. */
40049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40051 #define $ac_func innocuous_$ac_func
40053 /* System header to define __stub macros and hopefully few prototypes,
40054 which can conflict with char $ac_func (); below.
40055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40056 <limits.h> exists even on freestanding compilers. */
40058 #ifdef __STDC__
40059 # include <limits.h>
40060 #else
40061 # include <assert.h>
40062 #endif
40064 #undef $ac_func
40066 /* Override any gcc2 internal prototype to avoid an error. */
40067 #ifdef __cplusplus
40068 extern "C"
40070 #endif
40071 /* We use char because int might match the return type of a gcc2
40072 builtin and then its argument prototype would still apply. */
40073 char $ac_func ();
40074 /* The GNU C library defines this for functions which it implements
40075 to always fail with ENOSYS. Some functions are actually named
40076 something starting with __ and the normal name is an alias. */
40077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40078 choke me
40079 #else
40080 char (*f) () = $ac_func;
40081 #endif
40082 #ifdef __cplusplus
40084 #endif
40087 main ()
40089 return f != $ac_func;
40091 return 0;
40093 _ACEOF
40094 rm -f conftest.$ac_objext conftest$ac_exeext
40095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40096 (eval $ac_link) 2>conftest.er1
40097 ac_status=$?
40098 grep -v '^ *+' conftest.er1 >conftest.err
40099 rm -f conftest.er1
40100 cat conftest.err >&5
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); } &&
40103 { ac_try='test -z "$ac_c_werror_flag"
40104 || test ! -s conftest.err'
40105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40106 (eval $ac_try) 2>&5
40107 ac_status=$?
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); }; } &&
40110 { ac_try='test -s conftest$ac_exeext'
40111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40112 (eval $ac_try) 2>&5
40113 ac_status=$?
40114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40115 (exit $ac_status); }; }; then
40116 eval "$as_ac_var=yes"
40117 else
40118 echo "$as_me: failed program was:" >&5
40119 sed 's/^/| /' conftest.$ac_ext >&5
40121 eval "$as_ac_var=no"
40123 rm -f conftest.err conftest.$ac_objext \
40124 conftest$ac_exeext conftest.$ac_ext
40126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40128 if test `eval echo '${'$as_ac_var'}'` = yes; then
40129 cat >>confdefs.h <<_ACEOF
40130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40131 _ACEOF
40134 done
40136 else
40138 echo "$as_me:$LINENO: checking for _powf declaration" >&5
40139 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
40140 if test x${glibcxx_cv_func__powf_use+set} != xset; then
40141 if test "${glibcxx_cv_func__powf_use+set}" = set; then
40142 echo $ECHO_N "(cached) $ECHO_C" >&6
40143 else
40147 ac_ext=cc
40148 ac_cpp='$CXXCPP $CPPFLAGS'
40149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40153 cat >conftest.$ac_ext <<_ACEOF
40154 /* confdefs.h. */
40155 _ACEOF
40156 cat confdefs.h >>conftest.$ac_ext
40157 cat >>conftest.$ac_ext <<_ACEOF
40158 /* end confdefs.h. */
40159 #include <math.h>
40161 main ()
40163 _powf(0, 0);
40165 return 0;
40167 _ACEOF
40168 rm -f conftest.$ac_objext
40169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40170 (eval $ac_compile) 2>conftest.er1
40171 ac_status=$?
40172 grep -v '^ *+' conftest.er1 >conftest.err
40173 rm -f conftest.er1
40174 cat conftest.err >&5
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); } &&
40177 { ac_try='test -z "$ac_cxx_werror_flag"
40178 || test ! -s conftest.err'
40179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40180 (eval $ac_try) 2>&5
40181 ac_status=$?
40182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40183 (exit $ac_status); }; } &&
40184 { ac_try='test -s conftest.$ac_objext'
40185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40186 (eval $ac_try) 2>&5
40187 ac_status=$?
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); }; }; then
40190 glibcxx_cv_func__powf_use=yes
40191 else
40192 echo "$as_me: failed program was:" >&5
40193 sed 's/^/| /' conftest.$ac_ext >&5
40195 glibcxx_cv_func__powf_use=no
40197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40198 ac_ext=c
40199 ac_cpp='$CPP $CPPFLAGS'
40200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40208 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40209 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40211 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40213 for ac_func in _powf
40215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40216 echo "$as_me:$LINENO: checking for $ac_func" >&5
40217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40218 if eval "test \"\${$as_ac_var+set}\" = set"; then
40219 echo $ECHO_N "(cached) $ECHO_C" >&6
40220 else
40221 if test x$gcc_no_link = xyes; then
40222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40224 { (exit 1); exit 1; }; }
40226 cat >conftest.$ac_ext <<_ACEOF
40227 /* confdefs.h. */
40228 _ACEOF
40229 cat confdefs.h >>conftest.$ac_ext
40230 cat >>conftest.$ac_ext <<_ACEOF
40231 /* end confdefs.h. */
40232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40234 #define $ac_func innocuous_$ac_func
40236 /* System header to define __stub macros and hopefully few prototypes,
40237 which can conflict with char $ac_func (); below.
40238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40239 <limits.h> exists even on freestanding compilers. */
40241 #ifdef __STDC__
40242 # include <limits.h>
40243 #else
40244 # include <assert.h>
40245 #endif
40247 #undef $ac_func
40249 /* Override any gcc2 internal prototype to avoid an error. */
40250 #ifdef __cplusplus
40251 extern "C"
40253 #endif
40254 /* We use char because int might match the return type of a gcc2
40255 builtin and then its argument prototype would still apply. */
40256 char $ac_func ();
40257 /* The GNU C library defines this for functions which it implements
40258 to always fail with ENOSYS. Some functions are actually named
40259 something starting with __ and the normal name is an alias. */
40260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40261 choke me
40262 #else
40263 char (*f) () = $ac_func;
40264 #endif
40265 #ifdef __cplusplus
40267 #endif
40270 main ()
40272 return f != $ac_func;
40274 return 0;
40276 _ACEOF
40277 rm -f conftest.$ac_objext conftest$ac_exeext
40278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40279 (eval $ac_link) 2>conftest.er1
40280 ac_status=$?
40281 grep -v '^ *+' conftest.er1 >conftest.err
40282 rm -f conftest.er1
40283 cat conftest.err >&5
40284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40285 (exit $ac_status); } &&
40286 { ac_try='test -z "$ac_c_werror_flag"
40287 || test ! -s conftest.err'
40288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40289 (eval $ac_try) 2>&5
40290 ac_status=$?
40291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40292 (exit $ac_status); }; } &&
40293 { ac_try='test -s conftest$ac_exeext'
40294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40295 (eval $ac_try) 2>&5
40296 ac_status=$?
40297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40298 (exit $ac_status); }; }; then
40299 eval "$as_ac_var=yes"
40300 else
40301 echo "$as_me: failed program was:" >&5
40302 sed 's/^/| /' conftest.$ac_ext >&5
40304 eval "$as_ac_var=no"
40306 rm -f conftest.err conftest.$ac_objext \
40307 conftest$ac_exeext conftest.$ac_ext
40309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40311 if test `eval echo '${'$as_ac_var'}'` = yes; then
40312 cat >>confdefs.h <<_ACEOF
40313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40314 _ACEOF
40317 done
40327 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
40328 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
40329 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40330 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
40331 echo $ECHO_N "(cached) $ECHO_C" >&6
40332 else
40336 ac_ext=cc
40337 ac_cpp='$CXXCPP $CPPFLAGS'
40338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40342 cat >conftest.$ac_ext <<_ACEOF
40343 /* confdefs.h. */
40344 _ACEOF
40345 cat confdefs.h >>conftest.$ac_ext
40346 cat >>conftest.$ac_ext <<_ACEOF
40347 /* end confdefs.h. */
40348 #include <math.h>
40349 #ifdef HAVE_IEEEFP_H
40350 #include <ieeefp.h>
40351 #endif
40354 main ()
40356 sqrtf(0);
40358 return 0;
40360 _ACEOF
40361 rm -f conftest.$ac_objext
40362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40363 (eval $ac_compile) 2>conftest.er1
40364 ac_status=$?
40365 grep -v '^ *+' conftest.er1 >conftest.err
40366 rm -f conftest.er1
40367 cat conftest.err >&5
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); } &&
40370 { ac_try='test -z "$ac_cxx_werror_flag"
40371 || test ! -s conftest.err'
40372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40373 (eval $ac_try) 2>&5
40374 ac_status=$?
40375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40376 (exit $ac_status); }; } &&
40377 { ac_try='test -s conftest.$ac_objext'
40378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40379 (eval $ac_try) 2>&5
40380 ac_status=$?
40381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40382 (exit $ac_status); }; }; then
40383 glibcxx_cv_func_sqrtf_use=yes
40384 else
40385 echo "$as_me: failed program was:" >&5
40386 sed 's/^/| /' conftest.$ac_ext >&5
40388 glibcxx_cv_func_sqrtf_use=no
40390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40391 ac_ext=c
40392 ac_cpp='$CPP $CPPFLAGS'
40393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40402 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40404 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40406 for ac_func in sqrtf
40408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40409 echo "$as_me:$LINENO: checking for $ac_func" >&5
40410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40411 if eval "test \"\${$as_ac_var+set}\" = set"; then
40412 echo $ECHO_N "(cached) $ECHO_C" >&6
40413 else
40414 if test x$gcc_no_link = xyes; then
40415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40417 { (exit 1); exit 1; }; }
40419 cat >conftest.$ac_ext <<_ACEOF
40420 /* confdefs.h. */
40421 _ACEOF
40422 cat confdefs.h >>conftest.$ac_ext
40423 cat >>conftest.$ac_ext <<_ACEOF
40424 /* end confdefs.h. */
40425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40427 #define $ac_func innocuous_$ac_func
40429 /* System header to define __stub macros and hopefully few prototypes,
40430 which can conflict with char $ac_func (); below.
40431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40432 <limits.h> exists even on freestanding compilers. */
40434 #ifdef __STDC__
40435 # include <limits.h>
40436 #else
40437 # include <assert.h>
40438 #endif
40440 #undef $ac_func
40442 /* Override any gcc2 internal prototype to avoid an error. */
40443 #ifdef __cplusplus
40444 extern "C"
40446 #endif
40447 /* We use char because int might match the return type of a gcc2
40448 builtin and then its argument prototype would still apply. */
40449 char $ac_func ();
40450 /* The GNU C library defines this for functions which it implements
40451 to always fail with ENOSYS. Some functions are actually named
40452 something starting with __ and the normal name is an alias. */
40453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40454 choke me
40455 #else
40456 char (*f) () = $ac_func;
40457 #endif
40458 #ifdef __cplusplus
40460 #endif
40463 main ()
40465 return f != $ac_func;
40467 return 0;
40469 _ACEOF
40470 rm -f conftest.$ac_objext conftest$ac_exeext
40471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40472 (eval $ac_link) 2>conftest.er1
40473 ac_status=$?
40474 grep -v '^ *+' conftest.er1 >conftest.err
40475 rm -f conftest.er1
40476 cat conftest.err >&5
40477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40478 (exit $ac_status); } &&
40479 { ac_try='test -z "$ac_c_werror_flag"
40480 || test ! -s conftest.err'
40481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40482 (eval $ac_try) 2>&5
40483 ac_status=$?
40484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40485 (exit $ac_status); }; } &&
40486 { ac_try='test -s conftest$ac_exeext'
40487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40488 (eval $ac_try) 2>&5
40489 ac_status=$?
40490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491 (exit $ac_status); }; }; then
40492 eval "$as_ac_var=yes"
40493 else
40494 echo "$as_me: failed program was:" >&5
40495 sed 's/^/| /' conftest.$ac_ext >&5
40497 eval "$as_ac_var=no"
40499 rm -f conftest.err conftest.$ac_objext \
40500 conftest$ac_exeext conftest.$ac_ext
40502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40504 if test `eval echo '${'$as_ac_var'}'` = yes; then
40505 cat >>confdefs.h <<_ACEOF
40506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40507 _ACEOF
40510 done
40512 else
40514 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40515 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40516 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40517 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40518 echo $ECHO_N "(cached) $ECHO_C" >&6
40519 else
40523 ac_ext=cc
40524 ac_cpp='$CXXCPP $CPPFLAGS'
40525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40529 cat >conftest.$ac_ext <<_ACEOF
40530 /* confdefs.h. */
40531 _ACEOF
40532 cat confdefs.h >>conftest.$ac_ext
40533 cat >>conftest.$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40535 #include <math.h>
40536 #ifdef HAVE_IEEEFP_H
40537 #include <ieeefp.h>
40538 #endif
40541 main ()
40543 _sqrtf(0);
40545 return 0;
40547 _ACEOF
40548 rm -f conftest.$ac_objext
40549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40550 (eval $ac_compile) 2>conftest.er1
40551 ac_status=$?
40552 grep -v '^ *+' conftest.er1 >conftest.err
40553 rm -f conftest.er1
40554 cat conftest.err >&5
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); } &&
40557 { ac_try='test -z "$ac_cxx_werror_flag"
40558 || test ! -s conftest.err'
40559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40560 (eval $ac_try) 2>&5
40561 ac_status=$?
40562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40563 (exit $ac_status); }; } &&
40564 { ac_try='test -s conftest.$ac_objext'
40565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40566 (eval $ac_try) 2>&5
40567 ac_status=$?
40568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40569 (exit $ac_status); }; }; then
40570 glibcxx_cv_func__sqrtf_use=yes
40571 else
40572 echo "$as_me: failed program was:" >&5
40573 sed 's/^/| /' conftest.$ac_ext >&5
40575 glibcxx_cv_func__sqrtf_use=no
40577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40578 ac_ext=c
40579 ac_cpp='$CPP $CPPFLAGS'
40580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40589 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40591 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40593 for ac_func in _sqrtf
40595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40596 echo "$as_me:$LINENO: checking for $ac_func" >&5
40597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40598 if eval "test \"\${$as_ac_var+set}\" = set"; then
40599 echo $ECHO_N "(cached) $ECHO_C" >&6
40600 else
40601 if test x$gcc_no_link = xyes; then
40602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40604 { (exit 1); exit 1; }; }
40606 cat >conftest.$ac_ext <<_ACEOF
40607 /* confdefs.h. */
40608 _ACEOF
40609 cat confdefs.h >>conftest.$ac_ext
40610 cat >>conftest.$ac_ext <<_ACEOF
40611 /* end confdefs.h. */
40612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40614 #define $ac_func innocuous_$ac_func
40616 /* System header to define __stub macros and hopefully few prototypes,
40617 which can conflict with char $ac_func (); below.
40618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40619 <limits.h> exists even on freestanding compilers. */
40621 #ifdef __STDC__
40622 # include <limits.h>
40623 #else
40624 # include <assert.h>
40625 #endif
40627 #undef $ac_func
40629 /* Override any gcc2 internal prototype to avoid an error. */
40630 #ifdef __cplusplus
40631 extern "C"
40633 #endif
40634 /* We use char because int might match the return type of a gcc2
40635 builtin and then its argument prototype would still apply. */
40636 char $ac_func ();
40637 /* The GNU C library defines this for functions which it implements
40638 to always fail with ENOSYS. Some functions are actually named
40639 something starting with __ and the normal name is an alias. */
40640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40641 choke me
40642 #else
40643 char (*f) () = $ac_func;
40644 #endif
40645 #ifdef __cplusplus
40647 #endif
40650 main ()
40652 return f != $ac_func;
40654 return 0;
40656 _ACEOF
40657 rm -f conftest.$ac_objext conftest$ac_exeext
40658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40659 (eval $ac_link) 2>conftest.er1
40660 ac_status=$?
40661 grep -v '^ *+' conftest.er1 >conftest.err
40662 rm -f conftest.er1
40663 cat conftest.err >&5
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); } &&
40666 { ac_try='test -z "$ac_c_werror_flag"
40667 || test ! -s conftest.err'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40670 ac_status=$?
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; } &&
40673 { ac_try='test -s conftest$ac_exeext'
40674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40675 (eval $ac_try) 2>&5
40676 ac_status=$?
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); }; }; then
40679 eval "$as_ac_var=yes"
40680 else
40681 echo "$as_me: failed program was:" >&5
40682 sed 's/^/| /' conftest.$ac_ext >&5
40684 eval "$as_ac_var=no"
40686 rm -f conftest.err conftest.$ac_objext \
40687 conftest$ac_exeext conftest.$ac_ext
40689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40691 if test `eval echo '${'$as_ac_var'}'` = yes; then
40692 cat >>confdefs.h <<_ACEOF
40693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40694 _ACEOF
40697 done
40707 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40708 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40709 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40710 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40711 echo $ECHO_N "(cached) $ECHO_C" >&6
40712 else
40716 ac_ext=cc
40717 ac_cpp='$CXXCPP $CPPFLAGS'
40718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40722 cat >conftest.$ac_ext <<_ACEOF
40723 /* confdefs.h. */
40724 _ACEOF
40725 cat confdefs.h >>conftest.$ac_ext
40726 cat >>conftest.$ac_ext <<_ACEOF
40727 /* end confdefs.h. */
40728 #include <math.h>
40730 main ()
40732 sincosf(0, 0, 0);
40734 return 0;
40736 _ACEOF
40737 rm -f conftest.$ac_objext
40738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40739 (eval $ac_compile) 2>conftest.er1
40740 ac_status=$?
40741 grep -v '^ *+' conftest.er1 >conftest.err
40742 rm -f conftest.er1
40743 cat conftest.err >&5
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); } &&
40746 { ac_try='test -z "$ac_cxx_werror_flag"
40747 || test ! -s conftest.err'
40748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40749 (eval $ac_try) 2>&5
40750 ac_status=$?
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); }; } &&
40753 { ac_try='test -s conftest.$ac_objext'
40754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40755 (eval $ac_try) 2>&5
40756 ac_status=$?
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); }; }; then
40759 glibcxx_cv_func_sincosf_use=yes
40760 else
40761 echo "$as_me: failed program was:" >&5
40762 sed 's/^/| /' conftest.$ac_ext >&5
40764 glibcxx_cv_func_sincosf_use=no
40766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40767 ac_ext=c
40768 ac_cpp='$CPP $CPPFLAGS'
40769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40778 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40780 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40782 for ac_func in sincosf
40784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40785 echo "$as_me:$LINENO: checking for $ac_func" >&5
40786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40787 if eval "test \"\${$as_ac_var+set}\" = set"; then
40788 echo $ECHO_N "(cached) $ECHO_C" >&6
40789 else
40790 if test x$gcc_no_link = xyes; then
40791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40793 { (exit 1); exit 1; }; }
40795 cat >conftest.$ac_ext <<_ACEOF
40796 /* confdefs.h. */
40797 _ACEOF
40798 cat confdefs.h >>conftest.$ac_ext
40799 cat >>conftest.$ac_ext <<_ACEOF
40800 /* end confdefs.h. */
40801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40803 #define $ac_func innocuous_$ac_func
40805 /* System header to define __stub macros and hopefully few prototypes,
40806 which can conflict with char $ac_func (); below.
40807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40808 <limits.h> exists even on freestanding compilers. */
40810 #ifdef __STDC__
40811 # include <limits.h>
40812 #else
40813 # include <assert.h>
40814 #endif
40816 #undef $ac_func
40818 /* Override any gcc2 internal prototype to avoid an error. */
40819 #ifdef __cplusplus
40820 extern "C"
40822 #endif
40823 /* We use char because int might match the return type of a gcc2
40824 builtin and then its argument prototype would still apply. */
40825 char $ac_func ();
40826 /* The GNU C library defines this for functions which it implements
40827 to always fail with ENOSYS. Some functions are actually named
40828 something starting with __ and the normal name is an alias. */
40829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40830 choke me
40831 #else
40832 char (*f) () = $ac_func;
40833 #endif
40834 #ifdef __cplusplus
40836 #endif
40839 main ()
40841 return f != $ac_func;
40843 return 0;
40845 _ACEOF
40846 rm -f conftest.$ac_objext conftest$ac_exeext
40847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40848 (eval $ac_link) 2>conftest.er1
40849 ac_status=$?
40850 grep -v '^ *+' conftest.er1 >conftest.err
40851 rm -f conftest.er1
40852 cat conftest.err >&5
40853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40854 (exit $ac_status); } &&
40855 { ac_try='test -z "$ac_c_werror_flag"
40856 || test ! -s conftest.err'
40857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40858 (eval $ac_try) 2>&5
40859 ac_status=$?
40860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40861 (exit $ac_status); }; } &&
40862 { ac_try='test -s conftest$ac_exeext'
40863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40864 (eval $ac_try) 2>&5
40865 ac_status=$?
40866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40867 (exit $ac_status); }; }; then
40868 eval "$as_ac_var=yes"
40869 else
40870 echo "$as_me: failed program was:" >&5
40871 sed 's/^/| /' conftest.$ac_ext >&5
40873 eval "$as_ac_var=no"
40875 rm -f conftest.err conftest.$ac_objext \
40876 conftest$ac_exeext conftest.$ac_ext
40878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40880 if test `eval echo '${'$as_ac_var'}'` = yes; then
40881 cat >>confdefs.h <<_ACEOF
40882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40883 _ACEOF
40886 done
40888 else
40890 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40891 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40892 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40893 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40894 echo $ECHO_N "(cached) $ECHO_C" >&6
40895 else
40899 ac_ext=cc
40900 ac_cpp='$CXXCPP $CPPFLAGS'
40901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40905 cat >conftest.$ac_ext <<_ACEOF
40906 /* confdefs.h. */
40907 _ACEOF
40908 cat confdefs.h >>conftest.$ac_ext
40909 cat >>conftest.$ac_ext <<_ACEOF
40910 /* end confdefs.h. */
40911 #include <math.h>
40913 main ()
40915 _sincosf(0, 0, 0);
40917 return 0;
40919 _ACEOF
40920 rm -f conftest.$ac_objext
40921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40922 (eval $ac_compile) 2>conftest.er1
40923 ac_status=$?
40924 grep -v '^ *+' conftest.er1 >conftest.err
40925 rm -f conftest.er1
40926 cat conftest.err >&5
40927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40928 (exit $ac_status); } &&
40929 { ac_try='test -z "$ac_cxx_werror_flag"
40930 || test ! -s conftest.err'
40931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40932 (eval $ac_try) 2>&5
40933 ac_status=$?
40934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40935 (exit $ac_status); }; } &&
40936 { ac_try='test -s conftest.$ac_objext'
40937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40938 (eval $ac_try) 2>&5
40939 ac_status=$?
40940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40941 (exit $ac_status); }; }; then
40942 glibcxx_cv_func__sincosf_use=yes
40943 else
40944 echo "$as_me: failed program was:" >&5
40945 sed 's/^/| /' conftest.$ac_ext >&5
40947 glibcxx_cv_func__sincosf_use=no
40949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40950 ac_ext=c
40951 ac_cpp='$CPP $CPPFLAGS'
40952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40961 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40963 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40965 for ac_func in _sincosf
40967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40968 echo "$as_me:$LINENO: checking for $ac_func" >&5
40969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40970 if eval "test \"\${$as_ac_var+set}\" = set"; then
40971 echo $ECHO_N "(cached) $ECHO_C" >&6
40972 else
40973 if test x$gcc_no_link = xyes; then
40974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40976 { (exit 1); exit 1; }; }
40978 cat >conftest.$ac_ext <<_ACEOF
40979 /* confdefs.h. */
40980 _ACEOF
40981 cat confdefs.h >>conftest.$ac_ext
40982 cat >>conftest.$ac_ext <<_ACEOF
40983 /* end confdefs.h. */
40984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40986 #define $ac_func innocuous_$ac_func
40988 /* System header to define __stub macros and hopefully few prototypes,
40989 which can conflict with char $ac_func (); below.
40990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40991 <limits.h> exists even on freestanding compilers. */
40993 #ifdef __STDC__
40994 # include <limits.h>
40995 #else
40996 # include <assert.h>
40997 #endif
40999 #undef $ac_func
41001 /* Override any gcc2 internal prototype to avoid an error. */
41002 #ifdef __cplusplus
41003 extern "C"
41005 #endif
41006 /* We use char because int might match the return type of a gcc2
41007 builtin and then its argument prototype would still apply. */
41008 char $ac_func ();
41009 /* The GNU C library defines this for functions which it implements
41010 to always fail with ENOSYS. Some functions are actually named
41011 something starting with __ and the normal name is an alias. */
41012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41013 choke me
41014 #else
41015 char (*f) () = $ac_func;
41016 #endif
41017 #ifdef __cplusplus
41019 #endif
41022 main ()
41024 return f != $ac_func;
41026 return 0;
41028 _ACEOF
41029 rm -f conftest.$ac_objext conftest$ac_exeext
41030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41031 (eval $ac_link) 2>conftest.er1
41032 ac_status=$?
41033 grep -v '^ *+' conftest.er1 >conftest.err
41034 rm -f conftest.er1
41035 cat conftest.err >&5
41036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41037 (exit $ac_status); } &&
41038 { ac_try='test -z "$ac_c_werror_flag"
41039 || test ! -s conftest.err'
41040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41041 (eval $ac_try) 2>&5
41042 ac_status=$?
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); }; } &&
41045 { ac_try='test -s conftest$ac_exeext'
41046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41047 (eval $ac_try) 2>&5
41048 ac_status=$?
41049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41050 (exit $ac_status); }; }; then
41051 eval "$as_ac_var=yes"
41052 else
41053 echo "$as_me: failed program was:" >&5
41054 sed 's/^/| /' conftest.$ac_ext >&5
41056 eval "$as_ac_var=no"
41058 rm -f conftest.err conftest.$ac_objext \
41059 conftest$ac_exeext conftest.$ac_ext
41061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41063 if test `eval echo '${'$as_ac_var'}'` = yes; then
41064 cat >>confdefs.h <<_ACEOF
41065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41066 _ACEOF
41069 done
41079 echo "$as_me:$LINENO: checking for finitef declaration" >&5
41080 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
41081 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41082 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
41083 echo $ECHO_N "(cached) $ECHO_C" >&6
41084 else
41088 ac_ext=cc
41089 ac_cpp='$CXXCPP $CPPFLAGS'
41090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41094 cat >conftest.$ac_ext <<_ACEOF
41095 /* confdefs.h. */
41096 _ACEOF
41097 cat confdefs.h >>conftest.$ac_ext
41098 cat >>conftest.$ac_ext <<_ACEOF
41099 /* end confdefs.h. */
41100 #include <math.h>
41101 #ifdef HAVE_IEEEFP_H
41102 #include <ieeefp.h>
41103 #endif
41106 main ()
41108 finitef(0);
41110 return 0;
41112 _ACEOF
41113 rm -f conftest.$ac_objext
41114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41115 (eval $ac_compile) 2>conftest.er1
41116 ac_status=$?
41117 grep -v '^ *+' conftest.er1 >conftest.err
41118 rm -f conftest.er1
41119 cat conftest.err >&5
41120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121 (exit $ac_status); } &&
41122 { ac_try='test -z "$ac_cxx_werror_flag"
41123 || test ! -s conftest.err'
41124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41125 (eval $ac_try) 2>&5
41126 ac_status=$?
41127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41128 (exit $ac_status); }; } &&
41129 { ac_try='test -s conftest.$ac_objext'
41130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41131 (eval $ac_try) 2>&5
41132 ac_status=$?
41133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134 (exit $ac_status); }; }; then
41135 glibcxx_cv_func_finitef_use=yes
41136 else
41137 echo "$as_me: failed program was:" >&5
41138 sed 's/^/| /' conftest.$ac_ext >&5
41140 glibcxx_cv_func_finitef_use=no
41142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41143 ac_ext=c
41144 ac_cpp='$CPP $CPPFLAGS'
41145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
41154 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
41156 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41158 for ac_func in finitef
41160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41161 echo "$as_me:$LINENO: checking for $ac_func" >&5
41162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41163 if eval "test \"\${$as_ac_var+set}\" = set"; then
41164 echo $ECHO_N "(cached) $ECHO_C" >&6
41165 else
41166 if test x$gcc_no_link = xyes; then
41167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41169 { (exit 1); exit 1; }; }
41171 cat >conftest.$ac_ext <<_ACEOF
41172 /* confdefs.h. */
41173 _ACEOF
41174 cat confdefs.h >>conftest.$ac_ext
41175 cat >>conftest.$ac_ext <<_ACEOF
41176 /* end confdefs.h. */
41177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41179 #define $ac_func innocuous_$ac_func
41181 /* System header to define __stub macros and hopefully few prototypes,
41182 which can conflict with char $ac_func (); below.
41183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41184 <limits.h> exists even on freestanding compilers. */
41186 #ifdef __STDC__
41187 # include <limits.h>
41188 #else
41189 # include <assert.h>
41190 #endif
41192 #undef $ac_func
41194 /* Override any gcc2 internal prototype to avoid an error. */
41195 #ifdef __cplusplus
41196 extern "C"
41198 #endif
41199 /* We use char because int might match the return type of a gcc2
41200 builtin and then its argument prototype would still apply. */
41201 char $ac_func ();
41202 /* The GNU C library defines this for functions which it implements
41203 to always fail with ENOSYS. Some functions are actually named
41204 something starting with __ and the normal name is an alias. */
41205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41206 choke me
41207 #else
41208 char (*f) () = $ac_func;
41209 #endif
41210 #ifdef __cplusplus
41212 #endif
41215 main ()
41217 return f != $ac_func;
41219 return 0;
41221 _ACEOF
41222 rm -f conftest.$ac_objext conftest$ac_exeext
41223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41224 (eval $ac_link) 2>conftest.er1
41225 ac_status=$?
41226 grep -v '^ *+' conftest.er1 >conftest.err
41227 rm -f conftest.er1
41228 cat conftest.err >&5
41229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41230 (exit $ac_status); } &&
41231 { ac_try='test -z "$ac_c_werror_flag"
41232 || test ! -s conftest.err'
41233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41234 (eval $ac_try) 2>&5
41235 ac_status=$?
41236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41237 (exit $ac_status); }; } &&
41238 { ac_try='test -s conftest$ac_exeext'
41239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41240 (eval $ac_try) 2>&5
41241 ac_status=$?
41242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243 (exit $ac_status); }; }; then
41244 eval "$as_ac_var=yes"
41245 else
41246 echo "$as_me: failed program was:" >&5
41247 sed 's/^/| /' conftest.$ac_ext >&5
41249 eval "$as_ac_var=no"
41251 rm -f conftest.err conftest.$ac_objext \
41252 conftest$ac_exeext conftest.$ac_ext
41254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41256 if test `eval echo '${'$as_ac_var'}'` = yes; then
41257 cat >>confdefs.h <<_ACEOF
41258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41259 _ACEOF
41262 done
41264 else
41266 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
41267 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
41268 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41269 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
41270 echo $ECHO_N "(cached) $ECHO_C" >&6
41271 else
41275 ac_ext=cc
41276 ac_cpp='$CXXCPP $CPPFLAGS'
41277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41281 cat >conftest.$ac_ext <<_ACEOF
41282 /* confdefs.h. */
41283 _ACEOF
41284 cat confdefs.h >>conftest.$ac_ext
41285 cat >>conftest.$ac_ext <<_ACEOF
41286 /* end confdefs.h. */
41287 #include <math.h>
41288 #ifdef HAVE_IEEEFP_H
41289 #include <ieeefp.h>
41290 #endif
41293 main ()
41295 _finitef(0);
41297 return 0;
41299 _ACEOF
41300 rm -f conftest.$ac_objext
41301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41302 (eval $ac_compile) 2>conftest.er1
41303 ac_status=$?
41304 grep -v '^ *+' conftest.er1 >conftest.err
41305 rm -f conftest.er1
41306 cat conftest.err >&5
41307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41308 (exit $ac_status); } &&
41309 { ac_try='test -z "$ac_cxx_werror_flag"
41310 || test ! -s conftest.err'
41311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41312 (eval $ac_try) 2>&5
41313 ac_status=$?
41314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41315 (exit $ac_status); }; } &&
41316 { ac_try='test -s conftest.$ac_objext'
41317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41318 (eval $ac_try) 2>&5
41319 ac_status=$?
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); }; }; then
41322 glibcxx_cv_func__finitef_use=yes
41323 else
41324 echo "$as_me: failed program was:" >&5
41325 sed 's/^/| /' conftest.$ac_ext >&5
41327 glibcxx_cv_func__finitef_use=no
41329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41330 ac_ext=c
41331 ac_cpp='$CPP $CPPFLAGS'
41332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
41341 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
41343 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41345 for ac_func in _finitef
41347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41348 echo "$as_me:$LINENO: checking for $ac_func" >&5
41349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41350 if eval "test \"\${$as_ac_var+set}\" = set"; then
41351 echo $ECHO_N "(cached) $ECHO_C" >&6
41352 else
41353 if test x$gcc_no_link = xyes; then
41354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41356 { (exit 1); exit 1; }; }
41358 cat >conftest.$ac_ext <<_ACEOF
41359 /* confdefs.h. */
41360 _ACEOF
41361 cat confdefs.h >>conftest.$ac_ext
41362 cat >>conftest.$ac_ext <<_ACEOF
41363 /* end confdefs.h. */
41364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41366 #define $ac_func innocuous_$ac_func
41368 /* System header to define __stub macros and hopefully few prototypes,
41369 which can conflict with char $ac_func (); below.
41370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41371 <limits.h> exists even on freestanding compilers. */
41373 #ifdef __STDC__
41374 # include <limits.h>
41375 #else
41376 # include <assert.h>
41377 #endif
41379 #undef $ac_func
41381 /* Override any gcc2 internal prototype to avoid an error. */
41382 #ifdef __cplusplus
41383 extern "C"
41385 #endif
41386 /* We use char because int might match the return type of a gcc2
41387 builtin and then its argument prototype would still apply. */
41388 char $ac_func ();
41389 /* The GNU C library defines this for functions which it implements
41390 to always fail with ENOSYS. Some functions are actually named
41391 something starting with __ and the normal name is an alias. */
41392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41393 choke me
41394 #else
41395 char (*f) () = $ac_func;
41396 #endif
41397 #ifdef __cplusplus
41399 #endif
41402 main ()
41404 return f != $ac_func;
41406 return 0;
41408 _ACEOF
41409 rm -f conftest.$ac_objext conftest$ac_exeext
41410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41411 (eval $ac_link) 2>conftest.er1
41412 ac_status=$?
41413 grep -v '^ *+' conftest.er1 >conftest.err
41414 rm -f conftest.er1
41415 cat conftest.err >&5
41416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41417 (exit $ac_status); } &&
41418 { ac_try='test -z "$ac_c_werror_flag"
41419 || test ! -s conftest.err'
41420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41421 (eval $ac_try) 2>&5
41422 ac_status=$?
41423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41424 (exit $ac_status); }; } &&
41425 { ac_try='test -s conftest$ac_exeext'
41426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41427 (eval $ac_try) 2>&5
41428 ac_status=$?
41429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41430 (exit $ac_status); }; }; then
41431 eval "$as_ac_var=yes"
41432 else
41433 echo "$as_me: failed program was:" >&5
41434 sed 's/^/| /' conftest.$ac_ext >&5
41436 eval "$as_ac_var=no"
41438 rm -f conftest.err conftest.$ac_objext \
41439 conftest$ac_exeext conftest.$ac_ext
41441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41443 if test `eval echo '${'$as_ac_var'}'` = yes; then
41444 cat >>confdefs.h <<_ACEOF
41445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41446 _ACEOF
41449 done
41459 echo "$as_me:$LINENO: checking for long double trig functions" >&5
41460 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41461 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41462 echo $ECHO_N "(cached) $ECHO_C" >&6
41463 else
41467 ac_ext=cc
41468 ac_cpp='$CXXCPP $CPPFLAGS'
41469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41473 cat >conftest.$ac_ext <<_ACEOF
41474 /* confdefs.h. */
41475 _ACEOF
41476 cat confdefs.h >>conftest.$ac_ext
41477 cat >>conftest.$ac_ext <<_ACEOF
41478 /* end confdefs.h. */
41479 #include <math.h>
41481 main ()
41483 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41485 return 0;
41487 _ACEOF
41488 rm -f conftest.$ac_objext
41489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41490 (eval $ac_compile) 2>conftest.er1
41491 ac_status=$?
41492 grep -v '^ *+' conftest.er1 >conftest.err
41493 rm -f conftest.er1
41494 cat conftest.err >&5
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); } &&
41497 { ac_try='test -z "$ac_cxx_werror_flag"
41498 || test ! -s conftest.err'
41499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41500 (eval $ac_try) 2>&5
41501 ac_status=$?
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); }; } &&
41504 { ac_try='test -s conftest.$ac_objext'
41505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41506 (eval $ac_try) 2>&5
41507 ac_status=$?
41508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41509 (exit $ac_status); }; }; then
41510 glibcxx_cv_func_long_double_trig_use=yes
41511 else
41512 echo "$as_me: failed program was:" >&5
41513 sed 's/^/| /' conftest.$ac_ext >&5
41515 glibcxx_cv_func_long_double_trig_use=no
41517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41518 ac_ext=c
41519 ac_cpp='$CPP $CPPFLAGS'
41520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41526 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41527 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41528 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41538 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41541 echo "$as_me:$LINENO: checking for $ac_func" >&5
41542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41543 if eval "test \"\${$as_ac_var+set}\" = set"; then
41544 echo $ECHO_N "(cached) $ECHO_C" >&6
41545 else
41546 if test x$gcc_no_link = xyes; then
41547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41549 { (exit 1); exit 1; }; }
41551 cat >conftest.$ac_ext <<_ACEOF
41552 /* confdefs.h. */
41553 _ACEOF
41554 cat confdefs.h >>conftest.$ac_ext
41555 cat >>conftest.$ac_ext <<_ACEOF
41556 /* end confdefs.h. */
41557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41559 #define $ac_func innocuous_$ac_func
41561 /* System header to define __stub macros and hopefully few prototypes,
41562 which can conflict with char $ac_func (); below.
41563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41564 <limits.h> exists even on freestanding compilers. */
41566 #ifdef __STDC__
41567 # include <limits.h>
41568 #else
41569 # include <assert.h>
41570 #endif
41572 #undef $ac_func
41574 /* Override any gcc2 internal prototype to avoid an error. */
41575 #ifdef __cplusplus
41576 extern "C"
41578 #endif
41579 /* We use char because int might match the return type of a gcc2
41580 builtin and then its argument prototype would still apply. */
41581 char $ac_func ();
41582 /* The GNU C library defines this for functions which it implements
41583 to always fail with ENOSYS. Some functions are actually named
41584 something starting with __ and the normal name is an alias. */
41585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41586 choke me
41587 #else
41588 char (*f) () = $ac_func;
41589 #endif
41590 #ifdef __cplusplus
41592 #endif
41595 main ()
41597 return f != $ac_func;
41599 return 0;
41601 _ACEOF
41602 rm -f conftest.$ac_objext conftest$ac_exeext
41603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41604 (eval $ac_link) 2>conftest.er1
41605 ac_status=$?
41606 grep -v '^ *+' conftest.er1 >conftest.err
41607 rm -f conftest.er1
41608 cat conftest.err >&5
41609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); } &&
41611 { ac_try='test -z "$ac_c_werror_flag"
41612 || test ! -s conftest.err'
41613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41614 (eval $ac_try) 2>&5
41615 ac_status=$?
41616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41617 (exit $ac_status); }; } &&
41618 { ac_try='test -s conftest$ac_exeext'
41619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41620 (eval $ac_try) 2>&5
41621 ac_status=$?
41622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41623 (exit $ac_status); }; }; then
41624 eval "$as_ac_var=yes"
41625 else
41626 echo "$as_me: failed program was:" >&5
41627 sed 's/^/| /' conftest.$ac_ext >&5
41629 eval "$as_ac_var=no"
41631 rm -f conftest.err conftest.$ac_objext \
41632 conftest$ac_exeext conftest.$ac_ext
41634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41636 if test `eval echo '${'$as_ac_var'}'` = yes; then
41637 cat >>confdefs.h <<_ACEOF
41638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41639 _ACEOF
41642 done
41644 else
41645 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41646 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41647 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41648 echo $ECHO_N "(cached) $ECHO_C" >&6
41649 else
41653 ac_ext=cc
41654 ac_cpp='$CXXCPP $CPPFLAGS'
41655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41659 cat >conftest.$ac_ext <<_ACEOF
41660 /* confdefs.h. */
41661 _ACEOF
41662 cat confdefs.h >>conftest.$ac_ext
41663 cat >>conftest.$ac_ext <<_ACEOF
41664 /* end confdefs.h. */
41665 #include <math.h>
41667 main ()
41669 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41671 return 0;
41673 _ACEOF
41674 rm -f conftest.$ac_objext
41675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41676 (eval $ac_compile) 2>conftest.er1
41677 ac_status=$?
41678 grep -v '^ *+' conftest.er1 >conftest.err
41679 rm -f conftest.er1
41680 cat conftest.err >&5
41681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41682 (exit $ac_status); } &&
41683 { ac_try='test -z "$ac_cxx_werror_flag"
41684 || test ! -s conftest.err'
41685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41686 (eval $ac_try) 2>&5
41687 ac_status=$?
41688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41689 (exit $ac_status); }; } &&
41690 { ac_try='test -s conftest.$ac_objext'
41691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41692 (eval $ac_try) 2>&5
41693 ac_status=$?
41694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41695 (exit $ac_status); }; }; then
41696 glibcxx_cv_func__long_double_trig_use=yes
41697 else
41698 echo "$as_me: failed program was:" >&5
41699 sed 's/^/| /' conftest.$ac_ext >&5
41701 glibcxx_cv_func__long_double_trig_use=no
41703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41704 ac_ext=c
41705 ac_cpp='$CPP $CPPFLAGS'
41706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41713 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41714 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41724 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41727 echo "$as_me:$LINENO: checking for $ac_func" >&5
41728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41729 if eval "test \"\${$as_ac_var+set}\" = set"; then
41730 echo $ECHO_N "(cached) $ECHO_C" >&6
41731 else
41732 if test x$gcc_no_link = xyes; then
41733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41735 { (exit 1); exit 1; }; }
41737 cat >conftest.$ac_ext <<_ACEOF
41738 /* confdefs.h. */
41739 _ACEOF
41740 cat confdefs.h >>conftest.$ac_ext
41741 cat >>conftest.$ac_ext <<_ACEOF
41742 /* end confdefs.h. */
41743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41745 #define $ac_func innocuous_$ac_func
41747 /* System header to define __stub macros and hopefully few prototypes,
41748 which can conflict with char $ac_func (); below.
41749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41750 <limits.h> exists even on freestanding compilers. */
41752 #ifdef __STDC__
41753 # include <limits.h>
41754 #else
41755 # include <assert.h>
41756 #endif
41758 #undef $ac_func
41760 /* Override any gcc2 internal prototype to avoid an error. */
41761 #ifdef __cplusplus
41762 extern "C"
41764 #endif
41765 /* We use char because int might match the return type of a gcc2
41766 builtin and then its argument prototype would still apply. */
41767 char $ac_func ();
41768 /* The GNU C library defines this for functions which it implements
41769 to always fail with ENOSYS. Some functions are actually named
41770 something starting with __ and the normal name is an alias. */
41771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41772 choke me
41773 #else
41774 char (*f) () = $ac_func;
41775 #endif
41776 #ifdef __cplusplus
41778 #endif
41781 main ()
41783 return f != $ac_func;
41785 return 0;
41787 _ACEOF
41788 rm -f conftest.$ac_objext conftest$ac_exeext
41789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41790 (eval $ac_link) 2>conftest.er1
41791 ac_status=$?
41792 grep -v '^ *+' conftest.er1 >conftest.err
41793 rm -f conftest.er1
41794 cat conftest.err >&5
41795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41796 (exit $ac_status); } &&
41797 { ac_try='test -z "$ac_c_werror_flag"
41798 || test ! -s conftest.err'
41799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41800 (eval $ac_try) 2>&5
41801 ac_status=$?
41802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41803 (exit $ac_status); }; } &&
41804 { ac_try='test -s conftest$ac_exeext'
41805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41806 (eval $ac_try) 2>&5
41807 ac_status=$?
41808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809 (exit $ac_status); }; }; then
41810 eval "$as_ac_var=yes"
41811 else
41812 echo "$as_me: failed program was:" >&5
41813 sed 's/^/| /' conftest.$ac_ext >&5
41815 eval "$as_ac_var=no"
41817 rm -f conftest.err conftest.$ac_objext \
41818 conftest$ac_exeext conftest.$ac_ext
41820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41822 if test `eval echo '${'$as_ac_var'}'` = yes; then
41823 cat >>confdefs.h <<_ACEOF
41824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41825 _ACEOF
41828 done
41846 echo "$as_me:$LINENO: checking for long double round functions" >&5
41847 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41848 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41849 echo $ECHO_N "(cached) $ECHO_C" >&6
41850 else
41854 ac_ext=cc
41855 ac_cpp='$CXXCPP $CPPFLAGS'
41856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41860 cat >conftest.$ac_ext <<_ACEOF
41861 /* confdefs.h. */
41862 _ACEOF
41863 cat confdefs.h >>conftest.$ac_ext
41864 cat >>conftest.$ac_ext <<_ACEOF
41865 /* end confdefs.h. */
41866 #include <math.h>
41868 main ()
41870 ceill (0); floorl (0);
41872 return 0;
41874 _ACEOF
41875 rm -f conftest.$ac_objext
41876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41877 (eval $ac_compile) 2>conftest.er1
41878 ac_status=$?
41879 grep -v '^ *+' conftest.er1 >conftest.err
41880 rm -f conftest.er1
41881 cat conftest.err >&5
41882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41883 (exit $ac_status); } &&
41884 { ac_try='test -z "$ac_cxx_werror_flag"
41885 || test ! -s conftest.err'
41886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41887 (eval $ac_try) 2>&5
41888 ac_status=$?
41889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41890 (exit $ac_status); }; } &&
41891 { ac_try='test -s conftest.$ac_objext'
41892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41893 (eval $ac_try) 2>&5
41894 ac_status=$?
41895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41896 (exit $ac_status); }; }; then
41897 glibcxx_cv_func_long_double_round_use=yes
41898 else
41899 echo "$as_me: failed program was:" >&5
41900 sed 's/^/| /' conftest.$ac_ext >&5
41902 glibcxx_cv_func_long_double_round_use=no
41904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41905 ac_ext=c
41906 ac_cpp='$CPP $CPPFLAGS'
41907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41913 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41914 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41915 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41918 for ac_func in ceill floorl
41920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41921 echo "$as_me:$LINENO: checking for $ac_func" >&5
41922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41923 if eval "test \"\${$as_ac_var+set}\" = set"; then
41924 echo $ECHO_N "(cached) $ECHO_C" >&6
41925 else
41926 if test x$gcc_no_link = xyes; then
41927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41929 { (exit 1); exit 1; }; }
41931 cat >conftest.$ac_ext <<_ACEOF
41932 /* confdefs.h. */
41933 _ACEOF
41934 cat confdefs.h >>conftest.$ac_ext
41935 cat >>conftest.$ac_ext <<_ACEOF
41936 /* end confdefs.h. */
41937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41939 #define $ac_func innocuous_$ac_func
41941 /* System header to define __stub macros and hopefully few prototypes,
41942 which can conflict with char $ac_func (); below.
41943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41944 <limits.h> exists even on freestanding compilers. */
41946 #ifdef __STDC__
41947 # include <limits.h>
41948 #else
41949 # include <assert.h>
41950 #endif
41952 #undef $ac_func
41954 /* Override any gcc2 internal prototype to avoid an error. */
41955 #ifdef __cplusplus
41956 extern "C"
41958 #endif
41959 /* We use char because int might match the return type of a gcc2
41960 builtin and then its argument prototype would still apply. */
41961 char $ac_func ();
41962 /* The GNU C library defines this for functions which it implements
41963 to always fail with ENOSYS. Some functions are actually named
41964 something starting with __ and the normal name is an alias. */
41965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41966 choke me
41967 #else
41968 char (*f) () = $ac_func;
41969 #endif
41970 #ifdef __cplusplus
41972 #endif
41975 main ()
41977 return f != $ac_func;
41979 return 0;
41981 _ACEOF
41982 rm -f conftest.$ac_objext conftest$ac_exeext
41983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41984 (eval $ac_link) 2>conftest.er1
41985 ac_status=$?
41986 grep -v '^ *+' conftest.er1 >conftest.err
41987 rm -f conftest.er1
41988 cat conftest.err >&5
41989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41990 (exit $ac_status); } &&
41991 { ac_try='test -z "$ac_c_werror_flag"
41992 || test ! -s conftest.err'
41993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41994 (eval $ac_try) 2>&5
41995 ac_status=$?
41996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41997 (exit $ac_status); }; } &&
41998 { ac_try='test -s conftest$ac_exeext'
41999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42000 (eval $ac_try) 2>&5
42001 ac_status=$?
42002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42003 (exit $ac_status); }; }; then
42004 eval "$as_ac_var=yes"
42005 else
42006 echo "$as_me: failed program was:" >&5
42007 sed 's/^/| /' conftest.$ac_ext >&5
42009 eval "$as_ac_var=no"
42011 rm -f conftest.err conftest.$ac_objext \
42012 conftest$ac_exeext conftest.$ac_ext
42014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42016 if test `eval echo '${'$as_ac_var'}'` = yes; then
42017 cat >>confdefs.h <<_ACEOF
42018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42019 _ACEOF
42022 done
42024 else
42025 echo "$as_me:$LINENO: checking for _long double round functions" >&5
42026 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42027 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42028 echo $ECHO_N "(cached) $ECHO_C" >&6
42029 else
42033 ac_ext=cc
42034 ac_cpp='$CXXCPP $CPPFLAGS'
42035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42039 cat >conftest.$ac_ext <<_ACEOF
42040 /* confdefs.h. */
42041 _ACEOF
42042 cat confdefs.h >>conftest.$ac_ext
42043 cat >>conftest.$ac_ext <<_ACEOF
42044 /* end confdefs.h. */
42045 #include <math.h>
42047 main ()
42049 _ceill (0); _floorl (0);
42051 return 0;
42053 _ACEOF
42054 rm -f conftest.$ac_objext
42055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42056 (eval $ac_compile) 2>conftest.er1
42057 ac_status=$?
42058 grep -v '^ *+' conftest.er1 >conftest.err
42059 rm -f conftest.er1
42060 cat conftest.err >&5
42061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42062 (exit $ac_status); } &&
42063 { ac_try='test -z "$ac_cxx_werror_flag"
42064 || test ! -s conftest.err'
42065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42066 (eval $ac_try) 2>&5
42067 ac_status=$?
42068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42069 (exit $ac_status); }; } &&
42070 { ac_try='test -s conftest.$ac_objext'
42071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42072 (eval $ac_try) 2>&5
42073 ac_status=$?
42074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42075 (exit $ac_status); }; }; then
42076 glibcxx_cv_func__long_double_round_use=yes
42077 else
42078 echo "$as_me: failed program was:" >&5
42079 sed 's/^/| /' conftest.$ac_ext >&5
42081 glibcxx_cv_func__long_double_round_use=no
42083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42084 ac_ext=c
42085 ac_cpp='$CPP $CPPFLAGS'
42086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42093 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42094 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42097 for ac_func in _ceill _floorl
42099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42100 echo "$as_me:$LINENO: checking for $ac_func" >&5
42101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42102 if eval "test \"\${$as_ac_var+set}\" = set"; then
42103 echo $ECHO_N "(cached) $ECHO_C" >&6
42104 else
42105 if test x$gcc_no_link = xyes; then
42106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42108 { (exit 1); exit 1; }; }
42110 cat >conftest.$ac_ext <<_ACEOF
42111 /* confdefs.h. */
42112 _ACEOF
42113 cat confdefs.h >>conftest.$ac_ext
42114 cat >>conftest.$ac_ext <<_ACEOF
42115 /* end confdefs.h. */
42116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42118 #define $ac_func innocuous_$ac_func
42120 /* System header to define __stub macros and hopefully few prototypes,
42121 which can conflict with char $ac_func (); below.
42122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42123 <limits.h> exists even on freestanding compilers. */
42125 #ifdef __STDC__
42126 # include <limits.h>
42127 #else
42128 # include <assert.h>
42129 #endif
42131 #undef $ac_func
42133 /* Override any gcc2 internal prototype to avoid an error. */
42134 #ifdef __cplusplus
42135 extern "C"
42137 #endif
42138 /* We use char because int might match the return type of a gcc2
42139 builtin and then its argument prototype would still apply. */
42140 char $ac_func ();
42141 /* The GNU C library defines this for functions which it implements
42142 to always fail with ENOSYS. Some functions are actually named
42143 something starting with __ and the normal name is an alias. */
42144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42145 choke me
42146 #else
42147 char (*f) () = $ac_func;
42148 #endif
42149 #ifdef __cplusplus
42151 #endif
42154 main ()
42156 return f != $ac_func;
42158 return 0;
42160 _ACEOF
42161 rm -f conftest.$ac_objext conftest$ac_exeext
42162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42163 (eval $ac_link) 2>conftest.er1
42164 ac_status=$?
42165 grep -v '^ *+' conftest.er1 >conftest.err
42166 rm -f conftest.er1
42167 cat conftest.err >&5
42168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42169 (exit $ac_status); } &&
42170 { ac_try='test -z "$ac_c_werror_flag"
42171 || test ! -s conftest.err'
42172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42173 (eval $ac_try) 2>&5
42174 ac_status=$?
42175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42176 (exit $ac_status); }; } &&
42177 { ac_try='test -s conftest$ac_exeext'
42178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42179 (eval $ac_try) 2>&5
42180 ac_status=$?
42181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42182 (exit $ac_status); }; }; then
42183 eval "$as_ac_var=yes"
42184 else
42185 echo "$as_me: failed program was:" >&5
42186 sed 's/^/| /' conftest.$ac_ext >&5
42188 eval "$as_ac_var=no"
42190 rm -f conftest.err conftest.$ac_objext \
42191 conftest$ac_exeext conftest.$ac_ext
42193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42195 if test `eval echo '${'$as_ac_var'}'` = yes; then
42196 cat >>confdefs.h <<_ACEOF
42197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42198 _ACEOF
42201 done
42213 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42214 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42215 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42216 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42217 echo $ECHO_N "(cached) $ECHO_C" >&6
42218 else
42222 ac_ext=cc
42223 ac_cpp='$CXXCPP $CPPFLAGS'
42224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42228 cat >conftest.$ac_ext <<_ACEOF
42229 /* confdefs.h. */
42230 _ACEOF
42231 cat confdefs.h >>conftest.$ac_ext
42232 cat >>conftest.$ac_ext <<_ACEOF
42233 /* end confdefs.h. */
42234 #include <math.h>
42235 #ifdef HAVE_IEEEFP_H
42236 #include <ieeefp.h>
42237 #endif
42240 main ()
42242 isnanl(0);
42244 return 0;
42246 _ACEOF
42247 rm -f conftest.$ac_objext
42248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42249 (eval $ac_compile) 2>conftest.er1
42250 ac_status=$?
42251 grep -v '^ *+' conftest.er1 >conftest.err
42252 rm -f conftest.er1
42253 cat conftest.err >&5
42254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42255 (exit $ac_status); } &&
42256 { ac_try='test -z "$ac_cxx_werror_flag"
42257 || test ! -s conftest.err'
42258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42259 (eval $ac_try) 2>&5
42260 ac_status=$?
42261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42262 (exit $ac_status); }; } &&
42263 { ac_try='test -s conftest.$ac_objext'
42264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42265 (eval $ac_try) 2>&5
42266 ac_status=$?
42267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42268 (exit $ac_status); }; }; then
42269 glibcxx_cv_func_isnanl_use=yes
42270 else
42271 echo "$as_me: failed program was:" >&5
42272 sed 's/^/| /' conftest.$ac_ext >&5
42274 glibcxx_cv_func_isnanl_use=no
42276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42277 ac_ext=c
42278 ac_cpp='$CPP $CPPFLAGS'
42279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42287 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42288 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42290 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42292 for ac_func in isnanl
42294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42295 echo "$as_me:$LINENO: checking for $ac_func" >&5
42296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42297 if eval "test \"\${$as_ac_var+set}\" = set"; then
42298 echo $ECHO_N "(cached) $ECHO_C" >&6
42299 else
42300 if test x$gcc_no_link = xyes; then
42301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42303 { (exit 1); exit 1; }; }
42305 cat >conftest.$ac_ext <<_ACEOF
42306 /* confdefs.h. */
42307 _ACEOF
42308 cat confdefs.h >>conftest.$ac_ext
42309 cat >>conftest.$ac_ext <<_ACEOF
42310 /* end confdefs.h. */
42311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42313 #define $ac_func innocuous_$ac_func
42315 /* System header to define __stub macros and hopefully few prototypes,
42316 which can conflict with char $ac_func (); below.
42317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42318 <limits.h> exists even on freestanding compilers. */
42320 #ifdef __STDC__
42321 # include <limits.h>
42322 #else
42323 # include <assert.h>
42324 #endif
42326 #undef $ac_func
42328 /* Override any gcc2 internal prototype to avoid an error. */
42329 #ifdef __cplusplus
42330 extern "C"
42332 #endif
42333 /* We use char because int might match the return type of a gcc2
42334 builtin and then its argument prototype would still apply. */
42335 char $ac_func ();
42336 /* The GNU C library defines this for functions which it implements
42337 to always fail with ENOSYS. Some functions are actually named
42338 something starting with __ and the normal name is an alias. */
42339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42340 choke me
42341 #else
42342 char (*f) () = $ac_func;
42343 #endif
42344 #ifdef __cplusplus
42346 #endif
42349 main ()
42351 return f != $ac_func;
42353 return 0;
42355 _ACEOF
42356 rm -f conftest.$ac_objext conftest$ac_exeext
42357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42358 (eval $ac_link) 2>conftest.er1
42359 ac_status=$?
42360 grep -v '^ *+' conftest.er1 >conftest.err
42361 rm -f conftest.er1
42362 cat conftest.err >&5
42363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42364 (exit $ac_status); } &&
42365 { ac_try='test -z "$ac_c_werror_flag"
42366 || test ! -s conftest.err'
42367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42368 (eval $ac_try) 2>&5
42369 ac_status=$?
42370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42371 (exit $ac_status); }; } &&
42372 { ac_try='test -s conftest$ac_exeext'
42373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42374 (eval $ac_try) 2>&5
42375 ac_status=$?
42376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42377 (exit $ac_status); }; }; then
42378 eval "$as_ac_var=yes"
42379 else
42380 echo "$as_me: failed program was:" >&5
42381 sed 's/^/| /' conftest.$ac_ext >&5
42383 eval "$as_ac_var=no"
42385 rm -f conftest.err conftest.$ac_objext \
42386 conftest$ac_exeext conftest.$ac_ext
42388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42390 if test `eval echo '${'$as_ac_var'}'` = yes; then
42391 cat >>confdefs.h <<_ACEOF
42392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42393 _ACEOF
42396 done
42398 else
42400 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
42401 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
42402 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42403 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
42404 echo $ECHO_N "(cached) $ECHO_C" >&6
42405 else
42409 ac_ext=cc
42410 ac_cpp='$CXXCPP $CPPFLAGS'
42411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42415 cat >conftest.$ac_ext <<_ACEOF
42416 /* confdefs.h. */
42417 _ACEOF
42418 cat confdefs.h >>conftest.$ac_ext
42419 cat >>conftest.$ac_ext <<_ACEOF
42420 /* end confdefs.h. */
42421 #include <math.h>
42422 #ifdef HAVE_IEEEFP_H
42423 #include <ieeefp.h>
42424 #endif
42427 main ()
42429 _isnanl(0);
42431 return 0;
42433 _ACEOF
42434 rm -f conftest.$ac_objext
42435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42436 (eval $ac_compile) 2>conftest.er1
42437 ac_status=$?
42438 grep -v '^ *+' conftest.er1 >conftest.err
42439 rm -f conftest.er1
42440 cat conftest.err >&5
42441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42442 (exit $ac_status); } &&
42443 { ac_try='test -z "$ac_cxx_werror_flag"
42444 || test ! -s conftest.err'
42445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42446 (eval $ac_try) 2>&5
42447 ac_status=$?
42448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42449 (exit $ac_status); }; } &&
42450 { ac_try='test -s conftest.$ac_objext'
42451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42452 (eval $ac_try) 2>&5
42453 ac_status=$?
42454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42455 (exit $ac_status); }; }; then
42456 glibcxx_cv_func__isnanl_use=yes
42457 else
42458 echo "$as_me: failed program was:" >&5
42459 sed 's/^/| /' conftest.$ac_ext >&5
42461 glibcxx_cv_func__isnanl_use=no
42463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42464 ac_ext=c
42465 ac_cpp='$CPP $CPPFLAGS'
42466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42474 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
42475 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
42477 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42479 for ac_func in _isnanl
42481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42482 echo "$as_me:$LINENO: checking for $ac_func" >&5
42483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42484 if eval "test \"\${$as_ac_var+set}\" = set"; then
42485 echo $ECHO_N "(cached) $ECHO_C" >&6
42486 else
42487 if test x$gcc_no_link = xyes; then
42488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42490 { (exit 1); exit 1; }; }
42492 cat >conftest.$ac_ext <<_ACEOF
42493 /* confdefs.h. */
42494 _ACEOF
42495 cat confdefs.h >>conftest.$ac_ext
42496 cat >>conftest.$ac_ext <<_ACEOF
42497 /* end confdefs.h. */
42498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42500 #define $ac_func innocuous_$ac_func
42502 /* System header to define __stub macros and hopefully few prototypes,
42503 which can conflict with char $ac_func (); below.
42504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42505 <limits.h> exists even on freestanding compilers. */
42507 #ifdef __STDC__
42508 # include <limits.h>
42509 #else
42510 # include <assert.h>
42511 #endif
42513 #undef $ac_func
42515 /* Override any gcc2 internal prototype to avoid an error. */
42516 #ifdef __cplusplus
42517 extern "C"
42519 #endif
42520 /* We use char because int might match the return type of a gcc2
42521 builtin and then its argument prototype would still apply. */
42522 char $ac_func ();
42523 /* The GNU C library defines this for functions which it implements
42524 to always fail with ENOSYS. Some functions are actually named
42525 something starting with __ and the normal name is an alias. */
42526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42527 choke me
42528 #else
42529 char (*f) () = $ac_func;
42530 #endif
42531 #ifdef __cplusplus
42533 #endif
42536 main ()
42538 return f != $ac_func;
42540 return 0;
42542 _ACEOF
42543 rm -f conftest.$ac_objext conftest$ac_exeext
42544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42545 (eval $ac_link) 2>conftest.er1
42546 ac_status=$?
42547 grep -v '^ *+' conftest.er1 >conftest.err
42548 rm -f conftest.er1
42549 cat conftest.err >&5
42550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551 (exit $ac_status); } &&
42552 { ac_try='test -z "$ac_c_werror_flag"
42553 || test ! -s conftest.err'
42554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42555 (eval $ac_try) 2>&5
42556 ac_status=$?
42557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42558 (exit $ac_status); }; } &&
42559 { ac_try='test -s conftest$ac_exeext'
42560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42561 (eval $ac_try) 2>&5
42562 ac_status=$?
42563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42564 (exit $ac_status); }; }; then
42565 eval "$as_ac_var=yes"
42566 else
42567 echo "$as_me: failed program was:" >&5
42568 sed 's/^/| /' conftest.$ac_ext >&5
42570 eval "$as_ac_var=no"
42572 rm -f conftest.err conftest.$ac_objext \
42573 conftest$ac_exeext conftest.$ac_ext
42575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42577 if test `eval echo '${'$as_ac_var'}'` = yes; then
42578 cat >>confdefs.h <<_ACEOF
42579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42580 _ACEOF
42583 done
42593 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
42594 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
42595 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42596 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
42597 echo $ECHO_N "(cached) $ECHO_C" >&6
42598 else
42602 ac_ext=cc
42603 ac_cpp='$CXXCPP $CPPFLAGS'
42604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42608 cat >conftest.$ac_ext <<_ACEOF
42609 /* confdefs.h. */
42610 _ACEOF
42611 cat confdefs.h >>conftest.$ac_ext
42612 cat >>conftest.$ac_ext <<_ACEOF
42613 /* end confdefs.h. */
42614 #include <math.h>
42615 #ifdef HAVE_IEEEFP_H
42616 #include <ieeefp.h>
42617 #endif
42620 main ()
42622 isinfl(0);
42624 return 0;
42626 _ACEOF
42627 rm -f conftest.$ac_objext
42628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42629 (eval $ac_compile) 2>conftest.er1
42630 ac_status=$?
42631 grep -v '^ *+' conftest.er1 >conftest.err
42632 rm -f conftest.er1
42633 cat conftest.err >&5
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); } &&
42636 { ac_try='test -z "$ac_cxx_werror_flag"
42637 || test ! -s conftest.err'
42638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42639 (eval $ac_try) 2>&5
42640 ac_status=$?
42641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42642 (exit $ac_status); }; } &&
42643 { ac_try='test -s conftest.$ac_objext'
42644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42645 (eval $ac_try) 2>&5
42646 ac_status=$?
42647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42648 (exit $ac_status); }; }; then
42649 glibcxx_cv_func_isinfl_use=yes
42650 else
42651 echo "$as_me: failed program was:" >&5
42652 sed 's/^/| /' conftest.$ac_ext >&5
42654 glibcxx_cv_func_isinfl_use=no
42656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42657 ac_ext=c
42658 ac_cpp='$CPP $CPPFLAGS'
42659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
42668 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
42670 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42672 for ac_func in isinfl
42674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42675 echo "$as_me:$LINENO: checking for $ac_func" >&5
42676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42677 if eval "test \"\${$as_ac_var+set}\" = set"; then
42678 echo $ECHO_N "(cached) $ECHO_C" >&6
42679 else
42680 if test x$gcc_no_link = xyes; then
42681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42683 { (exit 1); exit 1; }; }
42685 cat >conftest.$ac_ext <<_ACEOF
42686 /* confdefs.h. */
42687 _ACEOF
42688 cat confdefs.h >>conftest.$ac_ext
42689 cat >>conftest.$ac_ext <<_ACEOF
42690 /* end confdefs.h. */
42691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42693 #define $ac_func innocuous_$ac_func
42695 /* System header to define __stub macros and hopefully few prototypes,
42696 which can conflict with char $ac_func (); below.
42697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42698 <limits.h> exists even on freestanding compilers. */
42700 #ifdef __STDC__
42701 # include <limits.h>
42702 #else
42703 # include <assert.h>
42704 #endif
42706 #undef $ac_func
42708 /* Override any gcc2 internal prototype to avoid an error. */
42709 #ifdef __cplusplus
42710 extern "C"
42712 #endif
42713 /* We use char because int might match the return type of a gcc2
42714 builtin and then its argument prototype would still apply. */
42715 char $ac_func ();
42716 /* The GNU C library defines this for functions which it implements
42717 to always fail with ENOSYS. Some functions are actually named
42718 something starting with __ and the normal name is an alias. */
42719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42720 choke me
42721 #else
42722 char (*f) () = $ac_func;
42723 #endif
42724 #ifdef __cplusplus
42726 #endif
42729 main ()
42731 return f != $ac_func;
42733 return 0;
42735 _ACEOF
42736 rm -f conftest.$ac_objext conftest$ac_exeext
42737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42738 (eval $ac_link) 2>conftest.er1
42739 ac_status=$?
42740 grep -v '^ *+' conftest.er1 >conftest.err
42741 rm -f conftest.er1
42742 cat conftest.err >&5
42743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42744 (exit $ac_status); } &&
42745 { ac_try='test -z "$ac_c_werror_flag"
42746 || test ! -s conftest.err'
42747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42748 (eval $ac_try) 2>&5
42749 ac_status=$?
42750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42751 (exit $ac_status); }; } &&
42752 { ac_try='test -s conftest$ac_exeext'
42753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42754 (eval $ac_try) 2>&5
42755 ac_status=$?
42756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42757 (exit $ac_status); }; }; then
42758 eval "$as_ac_var=yes"
42759 else
42760 echo "$as_me: failed program was:" >&5
42761 sed 's/^/| /' conftest.$ac_ext >&5
42763 eval "$as_ac_var=no"
42765 rm -f conftest.err conftest.$ac_objext \
42766 conftest$ac_exeext conftest.$ac_ext
42768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42770 if test `eval echo '${'$as_ac_var'}'` = yes; then
42771 cat >>confdefs.h <<_ACEOF
42772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42773 _ACEOF
42776 done
42778 else
42780 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42781 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42782 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42783 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42784 echo $ECHO_N "(cached) $ECHO_C" >&6
42785 else
42789 ac_ext=cc
42790 ac_cpp='$CXXCPP $CPPFLAGS'
42791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42795 cat >conftest.$ac_ext <<_ACEOF
42796 /* confdefs.h. */
42797 _ACEOF
42798 cat confdefs.h >>conftest.$ac_ext
42799 cat >>conftest.$ac_ext <<_ACEOF
42800 /* end confdefs.h. */
42801 #include <math.h>
42802 #ifdef HAVE_IEEEFP_H
42803 #include <ieeefp.h>
42804 #endif
42807 main ()
42809 _isinfl(0);
42811 return 0;
42813 _ACEOF
42814 rm -f conftest.$ac_objext
42815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42816 (eval $ac_compile) 2>conftest.er1
42817 ac_status=$?
42818 grep -v '^ *+' conftest.er1 >conftest.err
42819 rm -f conftest.er1
42820 cat conftest.err >&5
42821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42822 (exit $ac_status); } &&
42823 { ac_try='test -z "$ac_cxx_werror_flag"
42824 || test ! -s conftest.err'
42825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42826 (eval $ac_try) 2>&5
42827 ac_status=$?
42828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42829 (exit $ac_status); }; } &&
42830 { ac_try='test -s conftest.$ac_objext'
42831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42832 (eval $ac_try) 2>&5
42833 ac_status=$?
42834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42835 (exit $ac_status); }; }; then
42836 glibcxx_cv_func__isinfl_use=yes
42837 else
42838 echo "$as_me: failed program was:" >&5
42839 sed 's/^/| /' conftest.$ac_ext >&5
42841 glibcxx_cv_func__isinfl_use=no
42843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42844 ac_ext=c
42845 ac_cpp='$CPP $CPPFLAGS'
42846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42855 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42857 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42859 for ac_func in _isinfl
42861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42862 echo "$as_me:$LINENO: checking for $ac_func" >&5
42863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42864 if eval "test \"\${$as_ac_var+set}\" = set"; then
42865 echo $ECHO_N "(cached) $ECHO_C" >&6
42866 else
42867 if test x$gcc_no_link = xyes; then
42868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42870 { (exit 1); exit 1; }; }
42872 cat >conftest.$ac_ext <<_ACEOF
42873 /* confdefs.h. */
42874 _ACEOF
42875 cat confdefs.h >>conftest.$ac_ext
42876 cat >>conftest.$ac_ext <<_ACEOF
42877 /* end confdefs.h. */
42878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42880 #define $ac_func innocuous_$ac_func
42882 /* System header to define __stub macros and hopefully few prototypes,
42883 which can conflict with char $ac_func (); below.
42884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42885 <limits.h> exists even on freestanding compilers. */
42887 #ifdef __STDC__
42888 # include <limits.h>
42889 #else
42890 # include <assert.h>
42891 #endif
42893 #undef $ac_func
42895 /* Override any gcc2 internal prototype to avoid an error. */
42896 #ifdef __cplusplus
42897 extern "C"
42899 #endif
42900 /* We use char because int might match the return type of a gcc2
42901 builtin and then its argument prototype would still apply. */
42902 char $ac_func ();
42903 /* The GNU C library defines this for functions which it implements
42904 to always fail with ENOSYS. Some functions are actually named
42905 something starting with __ and the normal name is an alias. */
42906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42907 choke me
42908 #else
42909 char (*f) () = $ac_func;
42910 #endif
42911 #ifdef __cplusplus
42913 #endif
42916 main ()
42918 return f != $ac_func;
42920 return 0;
42922 _ACEOF
42923 rm -f conftest.$ac_objext conftest$ac_exeext
42924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42925 (eval $ac_link) 2>conftest.er1
42926 ac_status=$?
42927 grep -v '^ *+' conftest.er1 >conftest.err
42928 rm -f conftest.er1
42929 cat conftest.err >&5
42930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42931 (exit $ac_status); } &&
42932 { ac_try='test -z "$ac_c_werror_flag"
42933 || test ! -s conftest.err'
42934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42935 (eval $ac_try) 2>&5
42936 ac_status=$?
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); }; } &&
42939 { ac_try='test -s conftest$ac_exeext'
42940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42941 (eval $ac_try) 2>&5
42942 ac_status=$?
42943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944 (exit $ac_status); }; }; then
42945 eval "$as_ac_var=yes"
42946 else
42947 echo "$as_me: failed program was:" >&5
42948 sed 's/^/| /' conftest.$ac_ext >&5
42950 eval "$as_ac_var=no"
42952 rm -f conftest.err conftest.$ac_objext \
42953 conftest$ac_exeext conftest.$ac_ext
42955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42957 if test `eval echo '${'$as_ac_var'}'` = yes; then
42958 cat >>confdefs.h <<_ACEOF
42959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42960 _ACEOF
42963 done
42973 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42974 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42975 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42976 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42977 echo $ECHO_N "(cached) $ECHO_C" >&6
42978 else
42982 ac_ext=cc
42983 ac_cpp='$CXXCPP $CPPFLAGS'
42984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42988 cat >conftest.$ac_ext <<_ACEOF
42989 /* confdefs.h. */
42990 _ACEOF
42991 cat confdefs.h >>conftest.$ac_ext
42992 cat >>conftest.$ac_ext <<_ACEOF
42993 /* end confdefs.h. */
42994 #include <math.h>
42996 main ()
42998 copysignl(0, 0);
43000 return 0;
43002 _ACEOF
43003 rm -f conftest.$ac_objext
43004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43005 (eval $ac_compile) 2>conftest.er1
43006 ac_status=$?
43007 grep -v '^ *+' conftest.er1 >conftest.err
43008 rm -f conftest.er1
43009 cat conftest.err >&5
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); } &&
43012 { ac_try='test -z "$ac_cxx_werror_flag"
43013 || test ! -s conftest.err'
43014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43015 (eval $ac_try) 2>&5
43016 ac_status=$?
43017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43018 (exit $ac_status); }; } &&
43019 { ac_try='test -s conftest.$ac_objext'
43020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43021 (eval $ac_try) 2>&5
43022 ac_status=$?
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); }; }; then
43025 glibcxx_cv_func_copysignl_use=yes
43026 else
43027 echo "$as_me: failed program was:" >&5
43028 sed 's/^/| /' conftest.$ac_ext >&5
43030 glibcxx_cv_func_copysignl_use=no
43032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43033 ac_ext=c
43034 ac_cpp='$CPP $CPPFLAGS'
43035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
43044 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
43046 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
43048 for ac_func in copysignl
43050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43051 echo "$as_me:$LINENO: checking for $ac_func" >&5
43052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43053 if eval "test \"\${$as_ac_var+set}\" = set"; then
43054 echo $ECHO_N "(cached) $ECHO_C" >&6
43055 else
43056 if test x$gcc_no_link = xyes; then
43057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43059 { (exit 1); exit 1; }; }
43061 cat >conftest.$ac_ext <<_ACEOF
43062 /* confdefs.h. */
43063 _ACEOF
43064 cat confdefs.h >>conftest.$ac_ext
43065 cat >>conftest.$ac_ext <<_ACEOF
43066 /* end confdefs.h. */
43067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43069 #define $ac_func innocuous_$ac_func
43071 /* System header to define __stub macros and hopefully few prototypes,
43072 which can conflict with char $ac_func (); below.
43073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43074 <limits.h> exists even on freestanding compilers. */
43076 #ifdef __STDC__
43077 # include <limits.h>
43078 #else
43079 # include <assert.h>
43080 #endif
43082 #undef $ac_func
43084 /* Override any gcc2 internal prototype to avoid an error. */
43085 #ifdef __cplusplus
43086 extern "C"
43088 #endif
43089 /* We use char because int might match the return type of a gcc2
43090 builtin and then its argument prototype would still apply. */
43091 char $ac_func ();
43092 /* The GNU C library defines this for functions which it implements
43093 to always fail with ENOSYS. Some functions are actually named
43094 something starting with __ and the normal name is an alias. */
43095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43096 choke me
43097 #else
43098 char (*f) () = $ac_func;
43099 #endif
43100 #ifdef __cplusplus
43102 #endif
43105 main ()
43107 return f != $ac_func;
43109 return 0;
43111 _ACEOF
43112 rm -f conftest.$ac_objext conftest$ac_exeext
43113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43114 (eval $ac_link) 2>conftest.er1
43115 ac_status=$?
43116 grep -v '^ *+' conftest.er1 >conftest.err
43117 rm -f conftest.er1
43118 cat conftest.err >&5
43119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43120 (exit $ac_status); } &&
43121 { ac_try='test -z "$ac_c_werror_flag"
43122 || test ! -s conftest.err'
43123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43124 (eval $ac_try) 2>&5
43125 ac_status=$?
43126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43127 (exit $ac_status); }; } &&
43128 { ac_try='test -s conftest$ac_exeext'
43129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43130 (eval $ac_try) 2>&5
43131 ac_status=$?
43132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43133 (exit $ac_status); }; }; then
43134 eval "$as_ac_var=yes"
43135 else
43136 echo "$as_me: failed program was:" >&5
43137 sed 's/^/| /' conftest.$ac_ext >&5
43139 eval "$as_ac_var=no"
43141 rm -f conftest.err conftest.$ac_objext \
43142 conftest$ac_exeext conftest.$ac_ext
43144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43146 if test `eval echo '${'$as_ac_var'}'` = yes; then
43147 cat >>confdefs.h <<_ACEOF
43148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43149 _ACEOF
43152 done
43154 else
43156 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
43157 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
43158 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
43159 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
43160 echo $ECHO_N "(cached) $ECHO_C" >&6
43161 else
43165 ac_ext=cc
43166 ac_cpp='$CXXCPP $CPPFLAGS'
43167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43171 cat >conftest.$ac_ext <<_ACEOF
43172 /* confdefs.h. */
43173 _ACEOF
43174 cat confdefs.h >>conftest.$ac_ext
43175 cat >>conftest.$ac_ext <<_ACEOF
43176 /* end confdefs.h. */
43177 #include <math.h>
43179 main ()
43181 _copysignl(0, 0);
43183 return 0;
43185 _ACEOF
43186 rm -f conftest.$ac_objext
43187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43188 (eval $ac_compile) 2>conftest.er1
43189 ac_status=$?
43190 grep -v '^ *+' conftest.er1 >conftest.err
43191 rm -f conftest.er1
43192 cat conftest.err >&5
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); } &&
43195 { ac_try='test -z "$ac_cxx_werror_flag"
43196 || test ! -s conftest.err'
43197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43198 (eval $ac_try) 2>&5
43199 ac_status=$?
43200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43201 (exit $ac_status); }; } &&
43202 { ac_try='test -s conftest.$ac_objext'
43203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43204 (eval $ac_try) 2>&5
43205 ac_status=$?
43206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43207 (exit $ac_status); }; }; then
43208 glibcxx_cv_func__copysignl_use=yes
43209 else
43210 echo "$as_me: failed program was:" >&5
43211 sed 's/^/| /' conftest.$ac_ext >&5
43213 glibcxx_cv_func__copysignl_use=no
43215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43216 ac_ext=c
43217 ac_cpp='$CPP $CPPFLAGS'
43218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43227 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43229 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43231 for ac_func in _copysignl
43233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43234 echo "$as_me:$LINENO: checking for $ac_func" >&5
43235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43236 if eval "test \"\${$as_ac_var+set}\" = set"; then
43237 echo $ECHO_N "(cached) $ECHO_C" >&6
43238 else
43239 if test x$gcc_no_link = xyes; then
43240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43242 { (exit 1); exit 1; }; }
43244 cat >conftest.$ac_ext <<_ACEOF
43245 /* confdefs.h. */
43246 _ACEOF
43247 cat confdefs.h >>conftest.$ac_ext
43248 cat >>conftest.$ac_ext <<_ACEOF
43249 /* end confdefs.h. */
43250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43252 #define $ac_func innocuous_$ac_func
43254 /* System header to define __stub macros and hopefully few prototypes,
43255 which can conflict with char $ac_func (); below.
43256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43257 <limits.h> exists even on freestanding compilers. */
43259 #ifdef __STDC__
43260 # include <limits.h>
43261 #else
43262 # include <assert.h>
43263 #endif
43265 #undef $ac_func
43267 /* Override any gcc2 internal prototype to avoid an error. */
43268 #ifdef __cplusplus
43269 extern "C"
43271 #endif
43272 /* We use char because int might match the return type of a gcc2
43273 builtin and then its argument prototype would still apply. */
43274 char $ac_func ();
43275 /* The GNU C library defines this for functions which it implements
43276 to always fail with ENOSYS. Some functions are actually named
43277 something starting with __ and the normal name is an alias. */
43278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43279 choke me
43280 #else
43281 char (*f) () = $ac_func;
43282 #endif
43283 #ifdef __cplusplus
43285 #endif
43288 main ()
43290 return f != $ac_func;
43292 return 0;
43294 _ACEOF
43295 rm -f conftest.$ac_objext conftest$ac_exeext
43296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43297 (eval $ac_link) 2>conftest.er1
43298 ac_status=$?
43299 grep -v '^ *+' conftest.er1 >conftest.err
43300 rm -f conftest.er1
43301 cat conftest.err >&5
43302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43303 (exit $ac_status); } &&
43304 { ac_try='test -z "$ac_c_werror_flag"
43305 || test ! -s conftest.err'
43306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43307 (eval $ac_try) 2>&5
43308 ac_status=$?
43309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43310 (exit $ac_status); }; } &&
43311 { ac_try='test -s conftest$ac_exeext'
43312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43313 (eval $ac_try) 2>&5
43314 ac_status=$?
43315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43316 (exit $ac_status); }; }; then
43317 eval "$as_ac_var=yes"
43318 else
43319 echo "$as_me: failed program was:" >&5
43320 sed 's/^/| /' conftest.$ac_ext >&5
43322 eval "$as_ac_var=no"
43324 rm -f conftest.err conftest.$ac_objext \
43325 conftest$ac_exeext conftest.$ac_ext
43327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43329 if test `eval echo '${'$as_ac_var'}'` = yes; then
43330 cat >>confdefs.h <<_ACEOF
43331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43332 _ACEOF
43335 done
43345 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43346 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43347 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43348 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43349 echo $ECHO_N "(cached) $ECHO_C" >&6
43350 else
43354 ac_ext=cc
43355 ac_cpp='$CXXCPP $CPPFLAGS'
43356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43360 cat >conftest.$ac_ext <<_ACEOF
43361 /* confdefs.h. */
43362 _ACEOF
43363 cat confdefs.h >>conftest.$ac_ext
43364 cat >>conftest.$ac_ext <<_ACEOF
43365 /* end confdefs.h. */
43366 #include <math.h>
43368 main ()
43370 atan2l(0, 0);
43372 return 0;
43374 _ACEOF
43375 rm -f conftest.$ac_objext
43376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43377 (eval $ac_compile) 2>conftest.er1
43378 ac_status=$?
43379 grep -v '^ *+' conftest.er1 >conftest.err
43380 rm -f conftest.er1
43381 cat conftest.err >&5
43382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43383 (exit $ac_status); } &&
43384 { ac_try='test -z "$ac_cxx_werror_flag"
43385 || test ! -s conftest.err'
43386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43387 (eval $ac_try) 2>&5
43388 ac_status=$?
43389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43390 (exit $ac_status); }; } &&
43391 { ac_try='test -s conftest.$ac_objext'
43392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43393 (eval $ac_try) 2>&5
43394 ac_status=$?
43395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43396 (exit $ac_status); }; }; then
43397 glibcxx_cv_func_atan2l_use=yes
43398 else
43399 echo "$as_me: failed program was:" >&5
43400 sed 's/^/| /' conftest.$ac_ext >&5
43402 glibcxx_cv_func_atan2l_use=no
43404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43405 ac_ext=c
43406 ac_cpp='$CPP $CPPFLAGS'
43407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43415 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
43416 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
43418 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43420 for ac_func in atan2l
43422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43423 echo "$as_me:$LINENO: checking for $ac_func" >&5
43424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43425 if eval "test \"\${$as_ac_var+set}\" = set"; then
43426 echo $ECHO_N "(cached) $ECHO_C" >&6
43427 else
43428 if test x$gcc_no_link = xyes; then
43429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43431 { (exit 1); exit 1; }; }
43433 cat >conftest.$ac_ext <<_ACEOF
43434 /* confdefs.h. */
43435 _ACEOF
43436 cat confdefs.h >>conftest.$ac_ext
43437 cat >>conftest.$ac_ext <<_ACEOF
43438 /* end confdefs.h. */
43439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43441 #define $ac_func innocuous_$ac_func
43443 /* System header to define __stub macros and hopefully few prototypes,
43444 which can conflict with char $ac_func (); below.
43445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43446 <limits.h> exists even on freestanding compilers. */
43448 #ifdef __STDC__
43449 # include <limits.h>
43450 #else
43451 # include <assert.h>
43452 #endif
43454 #undef $ac_func
43456 /* Override any gcc2 internal prototype to avoid an error. */
43457 #ifdef __cplusplus
43458 extern "C"
43460 #endif
43461 /* We use char because int might match the return type of a gcc2
43462 builtin and then its argument prototype would still apply. */
43463 char $ac_func ();
43464 /* The GNU C library defines this for functions which it implements
43465 to always fail with ENOSYS. Some functions are actually named
43466 something starting with __ and the normal name is an alias. */
43467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43468 choke me
43469 #else
43470 char (*f) () = $ac_func;
43471 #endif
43472 #ifdef __cplusplus
43474 #endif
43477 main ()
43479 return f != $ac_func;
43481 return 0;
43483 _ACEOF
43484 rm -f conftest.$ac_objext conftest$ac_exeext
43485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43486 (eval $ac_link) 2>conftest.er1
43487 ac_status=$?
43488 grep -v '^ *+' conftest.er1 >conftest.err
43489 rm -f conftest.er1
43490 cat conftest.err >&5
43491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43492 (exit $ac_status); } &&
43493 { ac_try='test -z "$ac_c_werror_flag"
43494 || test ! -s conftest.err'
43495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43496 (eval $ac_try) 2>&5
43497 ac_status=$?
43498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43499 (exit $ac_status); }; } &&
43500 { ac_try='test -s conftest$ac_exeext'
43501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43502 (eval $ac_try) 2>&5
43503 ac_status=$?
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); }; }; then
43506 eval "$as_ac_var=yes"
43507 else
43508 echo "$as_me: failed program was:" >&5
43509 sed 's/^/| /' conftest.$ac_ext >&5
43511 eval "$as_ac_var=no"
43513 rm -f conftest.err conftest.$ac_objext \
43514 conftest$ac_exeext conftest.$ac_ext
43516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43518 if test `eval echo '${'$as_ac_var'}'` = yes; then
43519 cat >>confdefs.h <<_ACEOF
43520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43521 _ACEOF
43524 done
43526 else
43528 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
43529 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
43530 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43531 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
43532 echo $ECHO_N "(cached) $ECHO_C" >&6
43533 else
43537 ac_ext=cc
43538 ac_cpp='$CXXCPP $CPPFLAGS'
43539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43543 cat >conftest.$ac_ext <<_ACEOF
43544 /* confdefs.h. */
43545 _ACEOF
43546 cat confdefs.h >>conftest.$ac_ext
43547 cat >>conftest.$ac_ext <<_ACEOF
43548 /* end confdefs.h. */
43549 #include <math.h>
43551 main ()
43553 _atan2l(0, 0);
43555 return 0;
43557 _ACEOF
43558 rm -f conftest.$ac_objext
43559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43560 (eval $ac_compile) 2>conftest.er1
43561 ac_status=$?
43562 grep -v '^ *+' conftest.er1 >conftest.err
43563 rm -f conftest.er1
43564 cat conftest.err >&5
43565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43566 (exit $ac_status); } &&
43567 { ac_try='test -z "$ac_cxx_werror_flag"
43568 || test ! -s conftest.err'
43569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43570 (eval $ac_try) 2>&5
43571 ac_status=$?
43572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43573 (exit $ac_status); }; } &&
43574 { ac_try='test -s conftest.$ac_objext'
43575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43576 (eval $ac_try) 2>&5
43577 ac_status=$?
43578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43579 (exit $ac_status); }; }; then
43580 glibcxx_cv_func__atan2l_use=yes
43581 else
43582 echo "$as_me: failed program was:" >&5
43583 sed 's/^/| /' conftest.$ac_ext >&5
43585 glibcxx_cv_func__atan2l_use=no
43587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43588 ac_ext=c
43589 ac_cpp='$CPP $CPPFLAGS'
43590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43598 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
43599 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
43601 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43603 for ac_func in _atan2l
43605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43606 echo "$as_me:$LINENO: checking for $ac_func" >&5
43607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43608 if eval "test \"\${$as_ac_var+set}\" = set"; then
43609 echo $ECHO_N "(cached) $ECHO_C" >&6
43610 else
43611 if test x$gcc_no_link = xyes; then
43612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43614 { (exit 1); exit 1; }; }
43616 cat >conftest.$ac_ext <<_ACEOF
43617 /* confdefs.h. */
43618 _ACEOF
43619 cat confdefs.h >>conftest.$ac_ext
43620 cat >>conftest.$ac_ext <<_ACEOF
43621 /* end confdefs.h. */
43622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43624 #define $ac_func innocuous_$ac_func
43626 /* System header to define __stub macros and hopefully few prototypes,
43627 which can conflict with char $ac_func (); below.
43628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43629 <limits.h> exists even on freestanding compilers. */
43631 #ifdef __STDC__
43632 # include <limits.h>
43633 #else
43634 # include <assert.h>
43635 #endif
43637 #undef $ac_func
43639 /* Override any gcc2 internal prototype to avoid an error. */
43640 #ifdef __cplusplus
43641 extern "C"
43643 #endif
43644 /* We use char because int might match the return type of a gcc2
43645 builtin and then its argument prototype would still apply. */
43646 char $ac_func ();
43647 /* The GNU C library defines this for functions which it implements
43648 to always fail with ENOSYS. Some functions are actually named
43649 something starting with __ and the normal name is an alias. */
43650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43651 choke me
43652 #else
43653 char (*f) () = $ac_func;
43654 #endif
43655 #ifdef __cplusplus
43657 #endif
43660 main ()
43662 return f != $ac_func;
43664 return 0;
43666 _ACEOF
43667 rm -f conftest.$ac_objext conftest$ac_exeext
43668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43669 (eval $ac_link) 2>conftest.er1
43670 ac_status=$?
43671 grep -v '^ *+' conftest.er1 >conftest.err
43672 rm -f conftest.er1
43673 cat conftest.err >&5
43674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43675 (exit $ac_status); } &&
43676 { ac_try='test -z "$ac_c_werror_flag"
43677 || test ! -s conftest.err'
43678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43679 (eval $ac_try) 2>&5
43680 ac_status=$?
43681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43682 (exit $ac_status); }; } &&
43683 { ac_try='test -s conftest$ac_exeext'
43684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43685 (eval $ac_try) 2>&5
43686 ac_status=$?
43687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43688 (exit $ac_status); }; }; then
43689 eval "$as_ac_var=yes"
43690 else
43691 echo "$as_me: failed program was:" >&5
43692 sed 's/^/| /' conftest.$ac_ext >&5
43694 eval "$as_ac_var=no"
43696 rm -f conftest.err conftest.$ac_objext \
43697 conftest$ac_exeext conftest.$ac_ext
43699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43701 if test `eval echo '${'$as_ac_var'}'` = yes; then
43702 cat >>confdefs.h <<_ACEOF
43703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43704 _ACEOF
43707 done
43717 echo "$as_me:$LINENO: checking for expl declaration" >&5
43718 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
43719 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43720 if test "${glibcxx_cv_func_expl_use+set}" = set; then
43721 echo $ECHO_N "(cached) $ECHO_C" >&6
43722 else
43726 ac_ext=cc
43727 ac_cpp='$CXXCPP $CPPFLAGS'
43728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43732 cat >conftest.$ac_ext <<_ACEOF
43733 /* confdefs.h. */
43734 _ACEOF
43735 cat confdefs.h >>conftest.$ac_ext
43736 cat >>conftest.$ac_ext <<_ACEOF
43737 /* end confdefs.h. */
43738 #include <math.h>
43739 #ifdef HAVE_IEEEFP_H
43740 #include <ieeefp.h>
43741 #endif
43744 main ()
43746 expl(0);
43748 return 0;
43750 _ACEOF
43751 rm -f conftest.$ac_objext
43752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43753 (eval $ac_compile) 2>conftest.er1
43754 ac_status=$?
43755 grep -v '^ *+' conftest.er1 >conftest.err
43756 rm -f conftest.er1
43757 cat conftest.err >&5
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); } &&
43760 { ac_try='test -z "$ac_cxx_werror_flag"
43761 || test ! -s conftest.err'
43762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43763 (eval $ac_try) 2>&5
43764 ac_status=$?
43765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43766 (exit $ac_status); }; } &&
43767 { ac_try='test -s conftest.$ac_objext'
43768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43769 (eval $ac_try) 2>&5
43770 ac_status=$?
43771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43772 (exit $ac_status); }; }; then
43773 glibcxx_cv_func_expl_use=yes
43774 else
43775 echo "$as_me: failed program was:" >&5
43776 sed 's/^/| /' conftest.$ac_ext >&5
43778 glibcxx_cv_func_expl_use=no
43780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43781 ac_ext=c
43782 ac_cpp='$CPP $CPPFLAGS'
43783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43791 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43792 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43794 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43796 for ac_func in expl
43798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43799 echo "$as_me:$LINENO: checking for $ac_func" >&5
43800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43801 if eval "test \"\${$as_ac_var+set}\" = set"; then
43802 echo $ECHO_N "(cached) $ECHO_C" >&6
43803 else
43804 if test x$gcc_no_link = xyes; then
43805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43807 { (exit 1); exit 1; }; }
43809 cat >conftest.$ac_ext <<_ACEOF
43810 /* confdefs.h. */
43811 _ACEOF
43812 cat confdefs.h >>conftest.$ac_ext
43813 cat >>conftest.$ac_ext <<_ACEOF
43814 /* end confdefs.h. */
43815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43817 #define $ac_func innocuous_$ac_func
43819 /* System header to define __stub macros and hopefully few prototypes,
43820 which can conflict with char $ac_func (); below.
43821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43822 <limits.h> exists even on freestanding compilers. */
43824 #ifdef __STDC__
43825 # include <limits.h>
43826 #else
43827 # include <assert.h>
43828 #endif
43830 #undef $ac_func
43832 /* Override any gcc2 internal prototype to avoid an error. */
43833 #ifdef __cplusplus
43834 extern "C"
43836 #endif
43837 /* We use char because int might match the return type of a gcc2
43838 builtin and then its argument prototype would still apply. */
43839 char $ac_func ();
43840 /* The GNU C library defines this for functions which it implements
43841 to always fail with ENOSYS. Some functions are actually named
43842 something starting with __ and the normal name is an alias. */
43843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43844 choke me
43845 #else
43846 char (*f) () = $ac_func;
43847 #endif
43848 #ifdef __cplusplus
43850 #endif
43853 main ()
43855 return f != $ac_func;
43857 return 0;
43859 _ACEOF
43860 rm -f conftest.$ac_objext conftest$ac_exeext
43861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43862 (eval $ac_link) 2>conftest.er1
43863 ac_status=$?
43864 grep -v '^ *+' conftest.er1 >conftest.err
43865 rm -f conftest.er1
43866 cat conftest.err >&5
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); } &&
43869 { ac_try='test -z "$ac_c_werror_flag"
43870 || test ! -s conftest.err'
43871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43872 (eval $ac_try) 2>&5
43873 ac_status=$?
43874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43875 (exit $ac_status); }; } &&
43876 { ac_try='test -s conftest$ac_exeext'
43877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43878 (eval $ac_try) 2>&5
43879 ac_status=$?
43880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43881 (exit $ac_status); }; }; then
43882 eval "$as_ac_var=yes"
43883 else
43884 echo "$as_me: failed program was:" >&5
43885 sed 's/^/| /' conftest.$ac_ext >&5
43887 eval "$as_ac_var=no"
43889 rm -f conftest.err conftest.$ac_objext \
43890 conftest$ac_exeext conftest.$ac_ext
43892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43894 if test `eval echo '${'$as_ac_var'}'` = yes; then
43895 cat >>confdefs.h <<_ACEOF
43896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43897 _ACEOF
43900 done
43902 else
43904 echo "$as_me:$LINENO: checking for _expl declaration" >&5
43905 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43906 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43907 if test "${glibcxx_cv_func__expl_use+set}" = set; then
43908 echo $ECHO_N "(cached) $ECHO_C" >&6
43909 else
43913 ac_ext=cc
43914 ac_cpp='$CXXCPP $CPPFLAGS'
43915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43919 cat >conftest.$ac_ext <<_ACEOF
43920 /* confdefs.h. */
43921 _ACEOF
43922 cat confdefs.h >>conftest.$ac_ext
43923 cat >>conftest.$ac_ext <<_ACEOF
43924 /* end confdefs.h. */
43925 #include <math.h>
43926 #ifdef HAVE_IEEEFP_H
43927 #include <ieeefp.h>
43928 #endif
43931 main ()
43933 _expl(0);
43935 return 0;
43937 _ACEOF
43938 rm -f conftest.$ac_objext
43939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43940 (eval $ac_compile) 2>conftest.er1
43941 ac_status=$?
43942 grep -v '^ *+' conftest.er1 >conftest.err
43943 rm -f conftest.er1
43944 cat conftest.err >&5
43945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43946 (exit $ac_status); } &&
43947 { ac_try='test -z "$ac_cxx_werror_flag"
43948 || test ! -s conftest.err'
43949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43950 (eval $ac_try) 2>&5
43951 ac_status=$?
43952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43953 (exit $ac_status); }; } &&
43954 { ac_try='test -s conftest.$ac_objext'
43955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43956 (eval $ac_try) 2>&5
43957 ac_status=$?
43958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43959 (exit $ac_status); }; }; then
43960 glibcxx_cv_func__expl_use=yes
43961 else
43962 echo "$as_me: failed program was:" >&5
43963 sed 's/^/| /' conftest.$ac_ext >&5
43965 glibcxx_cv_func__expl_use=no
43967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43968 ac_ext=c
43969 ac_cpp='$CPP $CPPFLAGS'
43970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43978 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43979 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43981 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43983 for ac_func in _expl
43985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43986 echo "$as_me:$LINENO: checking for $ac_func" >&5
43987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43988 if eval "test \"\${$as_ac_var+set}\" = set"; then
43989 echo $ECHO_N "(cached) $ECHO_C" >&6
43990 else
43991 if test x$gcc_no_link = xyes; then
43992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43994 { (exit 1); exit 1; }; }
43996 cat >conftest.$ac_ext <<_ACEOF
43997 /* confdefs.h. */
43998 _ACEOF
43999 cat confdefs.h >>conftest.$ac_ext
44000 cat >>conftest.$ac_ext <<_ACEOF
44001 /* end confdefs.h. */
44002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44004 #define $ac_func innocuous_$ac_func
44006 /* System header to define __stub macros and hopefully few prototypes,
44007 which can conflict with char $ac_func (); below.
44008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44009 <limits.h> exists even on freestanding compilers. */
44011 #ifdef __STDC__
44012 # include <limits.h>
44013 #else
44014 # include <assert.h>
44015 #endif
44017 #undef $ac_func
44019 /* Override any gcc2 internal prototype to avoid an error. */
44020 #ifdef __cplusplus
44021 extern "C"
44023 #endif
44024 /* We use char because int might match the return type of a gcc2
44025 builtin and then its argument prototype would still apply. */
44026 char $ac_func ();
44027 /* The GNU C library defines this for functions which it implements
44028 to always fail with ENOSYS. Some functions are actually named
44029 something starting with __ and the normal name is an alias. */
44030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44031 choke me
44032 #else
44033 char (*f) () = $ac_func;
44034 #endif
44035 #ifdef __cplusplus
44037 #endif
44040 main ()
44042 return f != $ac_func;
44044 return 0;
44046 _ACEOF
44047 rm -f conftest.$ac_objext conftest$ac_exeext
44048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44049 (eval $ac_link) 2>conftest.er1
44050 ac_status=$?
44051 grep -v '^ *+' conftest.er1 >conftest.err
44052 rm -f conftest.er1
44053 cat conftest.err >&5
44054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44055 (exit $ac_status); } &&
44056 { ac_try='test -z "$ac_c_werror_flag"
44057 || test ! -s conftest.err'
44058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44059 (eval $ac_try) 2>&5
44060 ac_status=$?
44061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44062 (exit $ac_status); }; } &&
44063 { ac_try='test -s conftest$ac_exeext'
44064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44065 (eval $ac_try) 2>&5
44066 ac_status=$?
44067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44068 (exit $ac_status); }; }; then
44069 eval "$as_ac_var=yes"
44070 else
44071 echo "$as_me: failed program was:" >&5
44072 sed 's/^/| /' conftest.$ac_ext >&5
44074 eval "$as_ac_var=no"
44076 rm -f conftest.err conftest.$ac_objext \
44077 conftest$ac_exeext conftest.$ac_ext
44079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44081 if test `eval echo '${'$as_ac_var'}'` = yes; then
44082 cat >>confdefs.h <<_ACEOF
44083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44084 _ACEOF
44087 done
44097 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
44098 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
44099 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44100 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
44101 echo $ECHO_N "(cached) $ECHO_C" >&6
44102 else
44106 ac_ext=cc
44107 ac_cpp='$CXXCPP $CPPFLAGS'
44108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44112 cat >conftest.$ac_ext <<_ACEOF
44113 /* confdefs.h. */
44114 _ACEOF
44115 cat confdefs.h >>conftest.$ac_ext
44116 cat >>conftest.$ac_ext <<_ACEOF
44117 /* end confdefs.h. */
44118 #include <math.h>
44119 #ifdef HAVE_IEEEFP_H
44120 #include <ieeefp.h>
44121 #endif
44124 main ()
44126 fabsl(0);
44128 return 0;
44130 _ACEOF
44131 rm -f conftest.$ac_objext
44132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44133 (eval $ac_compile) 2>conftest.er1
44134 ac_status=$?
44135 grep -v '^ *+' conftest.er1 >conftest.err
44136 rm -f conftest.er1
44137 cat conftest.err >&5
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); } &&
44140 { ac_try='test -z "$ac_cxx_werror_flag"
44141 || test ! -s conftest.err'
44142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44143 (eval $ac_try) 2>&5
44144 ac_status=$?
44145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44146 (exit $ac_status); }; } &&
44147 { ac_try='test -s conftest.$ac_objext'
44148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44149 (eval $ac_try) 2>&5
44150 ac_status=$?
44151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152 (exit $ac_status); }; }; then
44153 glibcxx_cv_func_fabsl_use=yes
44154 else
44155 echo "$as_me: failed program was:" >&5
44156 sed 's/^/| /' conftest.$ac_ext >&5
44158 glibcxx_cv_func_fabsl_use=no
44160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44161 ac_ext=c
44162 ac_cpp='$CPP $CPPFLAGS'
44163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44171 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
44172 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
44174 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44176 for ac_func in fabsl
44178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44179 echo "$as_me:$LINENO: checking for $ac_func" >&5
44180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44181 if eval "test \"\${$as_ac_var+set}\" = set"; then
44182 echo $ECHO_N "(cached) $ECHO_C" >&6
44183 else
44184 if test x$gcc_no_link = xyes; then
44185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44187 { (exit 1); exit 1; }; }
44189 cat >conftest.$ac_ext <<_ACEOF
44190 /* confdefs.h. */
44191 _ACEOF
44192 cat confdefs.h >>conftest.$ac_ext
44193 cat >>conftest.$ac_ext <<_ACEOF
44194 /* end confdefs.h. */
44195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44197 #define $ac_func innocuous_$ac_func
44199 /* System header to define __stub macros and hopefully few prototypes,
44200 which can conflict with char $ac_func (); below.
44201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44202 <limits.h> exists even on freestanding compilers. */
44204 #ifdef __STDC__
44205 # include <limits.h>
44206 #else
44207 # include <assert.h>
44208 #endif
44210 #undef $ac_func
44212 /* Override any gcc2 internal prototype to avoid an error. */
44213 #ifdef __cplusplus
44214 extern "C"
44216 #endif
44217 /* We use char because int might match the return type of a gcc2
44218 builtin and then its argument prototype would still apply. */
44219 char $ac_func ();
44220 /* The GNU C library defines this for functions which it implements
44221 to always fail with ENOSYS. Some functions are actually named
44222 something starting with __ and the normal name is an alias. */
44223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44224 choke me
44225 #else
44226 char (*f) () = $ac_func;
44227 #endif
44228 #ifdef __cplusplus
44230 #endif
44233 main ()
44235 return f != $ac_func;
44237 return 0;
44239 _ACEOF
44240 rm -f conftest.$ac_objext conftest$ac_exeext
44241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44242 (eval $ac_link) 2>conftest.er1
44243 ac_status=$?
44244 grep -v '^ *+' conftest.er1 >conftest.err
44245 rm -f conftest.er1
44246 cat conftest.err >&5
44247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44248 (exit $ac_status); } &&
44249 { ac_try='test -z "$ac_c_werror_flag"
44250 || test ! -s conftest.err'
44251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44252 (eval $ac_try) 2>&5
44253 ac_status=$?
44254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44255 (exit $ac_status); }; } &&
44256 { ac_try='test -s conftest$ac_exeext'
44257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44258 (eval $ac_try) 2>&5
44259 ac_status=$?
44260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44261 (exit $ac_status); }; }; then
44262 eval "$as_ac_var=yes"
44263 else
44264 echo "$as_me: failed program was:" >&5
44265 sed 's/^/| /' conftest.$ac_ext >&5
44267 eval "$as_ac_var=no"
44269 rm -f conftest.err conftest.$ac_objext \
44270 conftest$ac_exeext conftest.$ac_ext
44272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44274 if test `eval echo '${'$as_ac_var'}'` = yes; then
44275 cat >>confdefs.h <<_ACEOF
44276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44277 _ACEOF
44280 done
44282 else
44284 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44285 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44286 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44287 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44288 echo $ECHO_N "(cached) $ECHO_C" >&6
44289 else
44293 ac_ext=cc
44294 ac_cpp='$CXXCPP $CPPFLAGS'
44295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44299 cat >conftest.$ac_ext <<_ACEOF
44300 /* confdefs.h. */
44301 _ACEOF
44302 cat confdefs.h >>conftest.$ac_ext
44303 cat >>conftest.$ac_ext <<_ACEOF
44304 /* end confdefs.h. */
44305 #include <math.h>
44306 #ifdef HAVE_IEEEFP_H
44307 #include <ieeefp.h>
44308 #endif
44311 main ()
44313 _fabsl(0);
44315 return 0;
44317 _ACEOF
44318 rm -f conftest.$ac_objext
44319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44320 (eval $ac_compile) 2>conftest.er1
44321 ac_status=$?
44322 grep -v '^ *+' conftest.er1 >conftest.err
44323 rm -f conftest.er1
44324 cat conftest.err >&5
44325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44326 (exit $ac_status); } &&
44327 { ac_try='test -z "$ac_cxx_werror_flag"
44328 || test ! -s conftest.err'
44329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44330 (eval $ac_try) 2>&5
44331 ac_status=$?
44332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44333 (exit $ac_status); }; } &&
44334 { ac_try='test -s conftest.$ac_objext'
44335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44336 (eval $ac_try) 2>&5
44337 ac_status=$?
44338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44339 (exit $ac_status); }; }; then
44340 glibcxx_cv_func__fabsl_use=yes
44341 else
44342 echo "$as_me: failed program was:" >&5
44343 sed 's/^/| /' conftest.$ac_ext >&5
44345 glibcxx_cv_func__fabsl_use=no
44347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44348 ac_ext=c
44349 ac_cpp='$CPP $CPPFLAGS'
44350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44358 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44359 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44361 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44363 for ac_func in _fabsl
44365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44366 echo "$as_me:$LINENO: checking for $ac_func" >&5
44367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44368 if eval "test \"\${$as_ac_var+set}\" = set"; then
44369 echo $ECHO_N "(cached) $ECHO_C" >&6
44370 else
44371 if test x$gcc_no_link = xyes; then
44372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44374 { (exit 1); exit 1; }; }
44376 cat >conftest.$ac_ext <<_ACEOF
44377 /* confdefs.h. */
44378 _ACEOF
44379 cat confdefs.h >>conftest.$ac_ext
44380 cat >>conftest.$ac_ext <<_ACEOF
44381 /* end confdefs.h. */
44382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44384 #define $ac_func innocuous_$ac_func
44386 /* System header to define __stub macros and hopefully few prototypes,
44387 which can conflict with char $ac_func (); below.
44388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44389 <limits.h> exists even on freestanding compilers. */
44391 #ifdef __STDC__
44392 # include <limits.h>
44393 #else
44394 # include <assert.h>
44395 #endif
44397 #undef $ac_func
44399 /* Override any gcc2 internal prototype to avoid an error. */
44400 #ifdef __cplusplus
44401 extern "C"
44403 #endif
44404 /* We use char because int might match the return type of a gcc2
44405 builtin and then its argument prototype would still apply. */
44406 char $ac_func ();
44407 /* The GNU C library defines this for functions which it implements
44408 to always fail with ENOSYS. Some functions are actually named
44409 something starting with __ and the normal name is an alias. */
44410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44411 choke me
44412 #else
44413 char (*f) () = $ac_func;
44414 #endif
44415 #ifdef __cplusplus
44417 #endif
44420 main ()
44422 return f != $ac_func;
44424 return 0;
44426 _ACEOF
44427 rm -f conftest.$ac_objext conftest$ac_exeext
44428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44429 (eval $ac_link) 2>conftest.er1
44430 ac_status=$?
44431 grep -v '^ *+' conftest.er1 >conftest.err
44432 rm -f conftest.er1
44433 cat conftest.err >&5
44434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435 (exit $ac_status); } &&
44436 { ac_try='test -z "$ac_c_werror_flag"
44437 || test ! -s conftest.err'
44438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44439 (eval $ac_try) 2>&5
44440 ac_status=$?
44441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44442 (exit $ac_status); }; } &&
44443 { ac_try='test -s conftest$ac_exeext'
44444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44445 (eval $ac_try) 2>&5
44446 ac_status=$?
44447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44448 (exit $ac_status); }; }; then
44449 eval "$as_ac_var=yes"
44450 else
44451 echo "$as_me: failed program was:" >&5
44452 sed 's/^/| /' conftest.$ac_ext >&5
44454 eval "$as_ac_var=no"
44456 rm -f conftest.err conftest.$ac_objext \
44457 conftest$ac_exeext conftest.$ac_ext
44459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44461 if test `eval echo '${'$as_ac_var'}'` = yes; then
44462 cat >>confdefs.h <<_ACEOF
44463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44464 _ACEOF
44467 done
44477 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
44478 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
44479 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44480 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
44481 echo $ECHO_N "(cached) $ECHO_C" >&6
44482 else
44486 ac_ext=cc
44487 ac_cpp='$CXXCPP $CPPFLAGS'
44488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44492 cat >conftest.$ac_ext <<_ACEOF
44493 /* confdefs.h. */
44494 _ACEOF
44495 cat confdefs.h >>conftest.$ac_ext
44496 cat >>conftest.$ac_ext <<_ACEOF
44497 /* end confdefs.h. */
44498 #include <math.h>
44500 main ()
44502 fmodl(0, 0);
44504 return 0;
44506 _ACEOF
44507 rm -f conftest.$ac_objext
44508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44509 (eval $ac_compile) 2>conftest.er1
44510 ac_status=$?
44511 grep -v '^ *+' conftest.er1 >conftest.err
44512 rm -f conftest.er1
44513 cat conftest.err >&5
44514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515 (exit $ac_status); } &&
44516 { ac_try='test -z "$ac_cxx_werror_flag"
44517 || test ! -s conftest.err'
44518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44519 (eval $ac_try) 2>&5
44520 ac_status=$?
44521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44522 (exit $ac_status); }; } &&
44523 { ac_try='test -s conftest.$ac_objext'
44524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44525 (eval $ac_try) 2>&5
44526 ac_status=$?
44527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44528 (exit $ac_status); }; }; then
44529 glibcxx_cv_func_fmodl_use=yes
44530 else
44531 echo "$as_me: failed program was:" >&5
44532 sed 's/^/| /' conftest.$ac_ext >&5
44534 glibcxx_cv_func_fmodl_use=no
44536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44537 ac_ext=c
44538 ac_cpp='$CPP $CPPFLAGS'
44539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
44548 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
44550 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44552 for ac_func in fmodl
44554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44555 echo "$as_me:$LINENO: checking for $ac_func" >&5
44556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44557 if eval "test \"\${$as_ac_var+set}\" = set"; then
44558 echo $ECHO_N "(cached) $ECHO_C" >&6
44559 else
44560 if test x$gcc_no_link = xyes; then
44561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44563 { (exit 1); exit 1; }; }
44565 cat >conftest.$ac_ext <<_ACEOF
44566 /* confdefs.h. */
44567 _ACEOF
44568 cat confdefs.h >>conftest.$ac_ext
44569 cat >>conftest.$ac_ext <<_ACEOF
44570 /* end confdefs.h. */
44571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44573 #define $ac_func innocuous_$ac_func
44575 /* System header to define __stub macros and hopefully few prototypes,
44576 which can conflict with char $ac_func (); below.
44577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44578 <limits.h> exists even on freestanding compilers. */
44580 #ifdef __STDC__
44581 # include <limits.h>
44582 #else
44583 # include <assert.h>
44584 #endif
44586 #undef $ac_func
44588 /* Override any gcc2 internal prototype to avoid an error. */
44589 #ifdef __cplusplus
44590 extern "C"
44592 #endif
44593 /* We use char because int might match the return type of a gcc2
44594 builtin and then its argument prototype would still apply. */
44595 char $ac_func ();
44596 /* The GNU C library defines this for functions which it implements
44597 to always fail with ENOSYS. Some functions are actually named
44598 something starting with __ and the normal name is an alias. */
44599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44600 choke me
44601 #else
44602 char (*f) () = $ac_func;
44603 #endif
44604 #ifdef __cplusplus
44606 #endif
44609 main ()
44611 return f != $ac_func;
44613 return 0;
44615 _ACEOF
44616 rm -f conftest.$ac_objext conftest$ac_exeext
44617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44618 (eval $ac_link) 2>conftest.er1
44619 ac_status=$?
44620 grep -v '^ *+' conftest.er1 >conftest.err
44621 rm -f conftest.er1
44622 cat conftest.err >&5
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); } &&
44625 { ac_try='test -z "$ac_c_werror_flag"
44626 || test ! -s conftest.err'
44627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44628 (eval $ac_try) 2>&5
44629 ac_status=$?
44630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44631 (exit $ac_status); }; } &&
44632 { ac_try='test -s conftest$ac_exeext'
44633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44634 (eval $ac_try) 2>&5
44635 ac_status=$?
44636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44637 (exit $ac_status); }; }; then
44638 eval "$as_ac_var=yes"
44639 else
44640 echo "$as_me: failed program was:" >&5
44641 sed 's/^/| /' conftest.$ac_ext >&5
44643 eval "$as_ac_var=no"
44645 rm -f conftest.err conftest.$ac_objext \
44646 conftest$ac_exeext conftest.$ac_ext
44648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44650 if test `eval echo '${'$as_ac_var'}'` = yes; then
44651 cat >>confdefs.h <<_ACEOF
44652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44653 _ACEOF
44656 done
44658 else
44660 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
44661 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
44662 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44663 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
44664 echo $ECHO_N "(cached) $ECHO_C" >&6
44665 else
44669 ac_ext=cc
44670 ac_cpp='$CXXCPP $CPPFLAGS'
44671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44675 cat >conftest.$ac_ext <<_ACEOF
44676 /* confdefs.h. */
44677 _ACEOF
44678 cat confdefs.h >>conftest.$ac_ext
44679 cat >>conftest.$ac_ext <<_ACEOF
44680 /* end confdefs.h. */
44681 #include <math.h>
44683 main ()
44685 _fmodl(0, 0);
44687 return 0;
44689 _ACEOF
44690 rm -f conftest.$ac_objext
44691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44692 (eval $ac_compile) 2>conftest.er1
44693 ac_status=$?
44694 grep -v '^ *+' conftest.er1 >conftest.err
44695 rm -f conftest.er1
44696 cat conftest.err >&5
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); } &&
44699 { ac_try='test -z "$ac_cxx_werror_flag"
44700 || test ! -s conftest.err'
44701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44702 (eval $ac_try) 2>&5
44703 ac_status=$?
44704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705 (exit $ac_status); }; } &&
44706 { ac_try='test -s conftest.$ac_objext'
44707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44708 (eval $ac_try) 2>&5
44709 ac_status=$?
44710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44711 (exit $ac_status); }; }; then
44712 glibcxx_cv_func__fmodl_use=yes
44713 else
44714 echo "$as_me: failed program was:" >&5
44715 sed 's/^/| /' conftest.$ac_ext >&5
44717 glibcxx_cv_func__fmodl_use=no
44719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44720 ac_ext=c
44721 ac_cpp='$CPP $CPPFLAGS'
44722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
44731 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
44733 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44735 for ac_func in _fmodl
44737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44738 echo "$as_me:$LINENO: checking for $ac_func" >&5
44739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44740 if eval "test \"\${$as_ac_var+set}\" = set"; then
44741 echo $ECHO_N "(cached) $ECHO_C" >&6
44742 else
44743 if test x$gcc_no_link = xyes; then
44744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44746 { (exit 1); exit 1; }; }
44748 cat >conftest.$ac_ext <<_ACEOF
44749 /* confdefs.h. */
44750 _ACEOF
44751 cat confdefs.h >>conftest.$ac_ext
44752 cat >>conftest.$ac_ext <<_ACEOF
44753 /* end confdefs.h. */
44754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44756 #define $ac_func innocuous_$ac_func
44758 /* System header to define __stub macros and hopefully few prototypes,
44759 which can conflict with char $ac_func (); below.
44760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44761 <limits.h> exists even on freestanding compilers. */
44763 #ifdef __STDC__
44764 # include <limits.h>
44765 #else
44766 # include <assert.h>
44767 #endif
44769 #undef $ac_func
44771 /* Override any gcc2 internal prototype to avoid an error. */
44772 #ifdef __cplusplus
44773 extern "C"
44775 #endif
44776 /* We use char because int might match the return type of a gcc2
44777 builtin and then its argument prototype would still apply. */
44778 char $ac_func ();
44779 /* The GNU C library defines this for functions which it implements
44780 to always fail with ENOSYS. Some functions are actually named
44781 something starting with __ and the normal name is an alias. */
44782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44783 choke me
44784 #else
44785 char (*f) () = $ac_func;
44786 #endif
44787 #ifdef __cplusplus
44789 #endif
44792 main ()
44794 return f != $ac_func;
44796 return 0;
44798 _ACEOF
44799 rm -f conftest.$ac_objext conftest$ac_exeext
44800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44801 (eval $ac_link) 2>conftest.er1
44802 ac_status=$?
44803 grep -v '^ *+' conftest.er1 >conftest.err
44804 rm -f conftest.er1
44805 cat conftest.err >&5
44806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44807 (exit $ac_status); } &&
44808 { ac_try='test -z "$ac_c_werror_flag"
44809 || test ! -s conftest.err'
44810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44811 (eval $ac_try) 2>&5
44812 ac_status=$?
44813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44814 (exit $ac_status); }; } &&
44815 { ac_try='test -s conftest$ac_exeext'
44816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44817 (eval $ac_try) 2>&5
44818 ac_status=$?
44819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44820 (exit $ac_status); }; }; then
44821 eval "$as_ac_var=yes"
44822 else
44823 echo "$as_me: failed program was:" >&5
44824 sed 's/^/| /' conftest.$ac_ext >&5
44826 eval "$as_ac_var=no"
44828 rm -f conftest.err conftest.$ac_objext \
44829 conftest$ac_exeext conftest.$ac_ext
44831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44833 if test `eval echo '${'$as_ac_var'}'` = yes; then
44834 cat >>confdefs.h <<_ACEOF
44835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44836 _ACEOF
44839 done
44849 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44850 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44851 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44852 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44853 echo $ECHO_N "(cached) $ECHO_C" >&6
44854 else
44858 ac_ext=cc
44859 ac_cpp='$CXXCPP $CPPFLAGS'
44860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44864 cat >conftest.$ac_ext <<_ACEOF
44865 /* confdefs.h. */
44866 _ACEOF
44867 cat confdefs.h >>conftest.$ac_ext
44868 cat >>conftest.$ac_ext <<_ACEOF
44869 /* end confdefs.h. */
44870 #include <math.h>
44872 main ()
44874 frexpl(0, 0);
44876 return 0;
44878 _ACEOF
44879 rm -f conftest.$ac_objext
44880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44881 (eval $ac_compile) 2>conftest.er1
44882 ac_status=$?
44883 grep -v '^ *+' conftest.er1 >conftest.err
44884 rm -f conftest.er1
44885 cat conftest.err >&5
44886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44887 (exit $ac_status); } &&
44888 { ac_try='test -z "$ac_cxx_werror_flag"
44889 || test ! -s conftest.err'
44890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44891 (eval $ac_try) 2>&5
44892 ac_status=$?
44893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894 (exit $ac_status); }; } &&
44895 { ac_try='test -s conftest.$ac_objext'
44896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44897 (eval $ac_try) 2>&5
44898 ac_status=$?
44899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44900 (exit $ac_status); }; }; then
44901 glibcxx_cv_func_frexpl_use=yes
44902 else
44903 echo "$as_me: failed program was:" >&5
44904 sed 's/^/| /' conftest.$ac_ext >&5
44906 glibcxx_cv_func_frexpl_use=no
44908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44909 ac_ext=c
44910 ac_cpp='$CPP $CPPFLAGS'
44911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44920 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44922 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44924 for ac_func in frexpl
44926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44927 echo "$as_me:$LINENO: checking for $ac_func" >&5
44928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44929 if eval "test \"\${$as_ac_var+set}\" = set"; then
44930 echo $ECHO_N "(cached) $ECHO_C" >&6
44931 else
44932 if test x$gcc_no_link = xyes; then
44933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44935 { (exit 1); exit 1; }; }
44937 cat >conftest.$ac_ext <<_ACEOF
44938 /* confdefs.h. */
44939 _ACEOF
44940 cat confdefs.h >>conftest.$ac_ext
44941 cat >>conftest.$ac_ext <<_ACEOF
44942 /* end confdefs.h. */
44943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44945 #define $ac_func innocuous_$ac_func
44947 /* System header to define __stub macros and hopefully few prototypes,
44948 which can conflict with char $ac_func (); below.
44949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44950 <limits.h> exists even on freestanding compilers. */
44952 #ifdef __STDC__
44953 # include <limits.h>
44954 #else
44955 # include <assert.h>
44956 #endif
44958 #undef $ac_func
44960 /* Override any gcc2 internal prototype to avoid an error. */
44961 #ifdef __cplusplus
44962 extern "C"
44964 #endif
44965 /* We use char because int might match the return type of a gcc2
44966 builtin and then its argument prototype would still apply. */
44967 char $ac_func ();
44968 /* The GNU C library defines this for functions which it implements
44969 to always fail with ENOSYS. Some functions are actually named
44970 something starting with __ and the normal name is an alias. */
44971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44972 choke me
44973 #else
44974 char (*f) () = $ac_func;
44975 #endif
44976 #ifdef __cplusplus
44978 #endif
44981 main ()
44983 return f != $ac_func;
44985 return 0;
44987 _ACEOF
44988 rm -f conftest.$ac_objext conftest$ac_exeext
44989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44990 (eval $ac_link) 2>conftest.er1
44991 ac_status=$?
44992 grep -v '^ *+' conftest.er1 >conftest.err
44993 rm -f conftest.er1
44994 cat conftest.err >&5
44995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996 (exit $ac_status); } &&
44997 { ac_try='test -z "$ac_c_werror_flag"
44998 || test ! -s conftest.err'
44999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45000 (eval $ac_try) 2>&5
45001 ac_status=$?
45002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45003 (exit $ac_status); }; } &&
45004 { ac_try='test -s conftest$ac_exeext'
45005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45006 (eval $ac_try) 2>&5
45007 ac_status=$?
45008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45009 (exit $ac_status); }; }; then
45010 eval "$as_ac_var=yes"
45011 else
45012 echo "$as_me: failed program was:" >&5
45013 sed 's/^/| /' conftest.$ac_ext >&5
45015 eval "$as_ac_var=no"
45017 rm -f conftest.err conftest.$ac_objext \
45018 conftest$ac_exeext conftest.$ac_ext
45020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45022 if test `eval echo '${'$as_ac_var'}'` = yes; then
45023 cat >>confdefs.h <<_ACEOF
45024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45025 _ACEOF
45028 done
45030 else
45032 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
45033 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
45034 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45035 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
45036 echo $ECHO_N "(cached) $ECHO_C" >&6
45037 else
45041 ac_ext=cc
45042 ac_cpp='$CXXCPP $CPPFLAGS'
45043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45047 cat >conftest.$ac_ext <<_ACEOF
45048 /* confdefs.h. */
45049 _ACEOF
45050 cat confdefs.h >>conftest.$ac_ext
45051 cat >>conftest.$ac_ext <<_ACEOF
45052 /* end confdefs.h. */
45053 #include <math.h>
45055 main ()
45057 _frexpl(0, 0);
45059 return 0;
45061 _ACEOF
45062 rm -f conftest.$ac_objext
45063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45064 (eval $ac_compile) 2>conftest.er1
45065 ac_status=$?
45066 grep -v '^ *+' conftest.er1 >conftest.err
45067 rm -f conftest.er1
45068 cat conftest.err >&5
45069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45070 (exit $ac_status); } &&
45071 { ac_try='test -z "$ac_cxx_werror_flag"
45072 || test ! -s conftest.err'
45073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45074 (eval $ac_try) 2>&5
45075 ac_status=$?
45076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45077 (exit $ac_status); }; } &&
45078 { ac_try='test -s conftest.$ac_objext'
45079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45080 (eval $ac_try) 2>&5
45081 ac_status=$?
45082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45083 (exit $ac_status); }; }; then
45084 glibcxx_cv_func__frexpl_use=yes
45085 else
45086 echo "$as_me: failed program was:" >&5
45087 sed 's/^/| /' conftest.$ac_ext >&5
45089 glibcxx_cv_func__frexpl_use=no
45091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45092 ac_ext=c
45093 ac_cpp='$CPP $CPPFLAGS'
45094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
45103 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
45105 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45107 for ac_func in _frexpl
45109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45110 echo "$as_me:$LINENO: checking for $ac_func" >&5
45111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45112 if eval "test \"\${$as_ac_var+set}\" = set"; then
45113 echo $ECHO_N "(cached) $ECHO_C" >&6
45114 else
45115 if test x$gcc_no_link = xyes; then
45116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45118 { (exit 1); exit 1; }; }
45120 cat >conftest.$ac_ext <<_ACEOF
45121 /* confdefs.h. */
45122 _ACEOF
45123 cat confdefs.h >>conftest.$ac_ext
45124 cat >>conftest.$ac_ext <<_ACEOF
45125 /* end confdefs.h. */
45126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45128 #define $ac_func innocuous_$ac_func
45130 /* System header to define __stub macros and hopefully few prototypes,
45131 which can conflict with char $ac_func (); below.
45132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45133 <limits.h> exists even on freestanding compilers. */
45135 #ifdef __STDC__
45136 # include <limits.h>
45137 #else
45138 # include <assert.h>
45139 #endif
45141 #undef $ac_func
45143 /* Override any gcc2 internal prototype to avoid an error. */
45144 #ifdef __cplusplus
45145 extern "C"
45147 #endif
45148 /* We use char because int might match the return type of a gcc2
45149 builtin and then its argument prototype would still apply. */
45150 char $ac_func ();
45151 /* The GNU C library defines this for functions which it implements
45152 to always fail with ENOSYS. Some functions are actually named
45153 something starting with __ and the normal name is an alias. */
45154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45155 choke me
45156 #else
45157 char (*f) () = $ac_func;
45158 #endif
45159 #ifdef __cplusplus
45161 #endif
45164 main ()
45166 return f != $ac_func;
45168 return 0;
45170 _ACEOF
45171 rm -f conftest.$ac_objext conftest$ac_exeext
45172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45173 (eval $ac_link) 2>conftest.er1
45174 ac_status=$?
45175 grep -v '^ *+' conftest.er1 >conftest.err
45176 rm -f conftest.er1
45177 cat conftest.err >&5
45178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45179 (exit $ac_status); } &&
45180 { ac_try='test -z "$ac_c_werror_flag"
45181 || test ! -s conftest.err'
45182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45183 (eval $ac_try) 2>&5
45184 ac_status=$?
45185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45186 (exit $ac_status); }; } &&
45187 { ac_try='test -s conftest$ac_exeext'
45188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45189 (eval $ac_try) 2>&5
45190 ac_status=$?
45191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45192 (exit $ac_status); }; }; then
45193 eval "$as_ac_var=yes"
45194 else
45195 echo "$as_me: failed program was:" >&5
45196 sed 's/^/| /' conftest.$ac_ext >&5
45198 eval "$as_ac_var=no"
45200 rm -f conftest.err conftest.$ac_objext \
45201 conftest$ac_exeext conftest.$ac_ext
45203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45205 if test `eval echo '${'$as_ac_var'}'` = yes; then
45206 cat >>confdefs.h <<_ACEOF
45207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45208 _ACEOF
45211 done
45221 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45222 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45223 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45224 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45225 echo $ECHO_N "(cached) $ECHO_C" >&6
45226 else
45230 ac_ext=cc
45231 ac_cpp='$CXXCPP $CPPFLAGS'
45232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45236 cat >conftest.$ac_ext <<_ACEOF
45237 /* confdefs.h. */
45238 _ACEOF
45239 cat confdefs.h >>conftest.$ac_ext
45240 cat >>conftest.$ac_ext <<_ACEOF
45241 /* end confdefs.h. */
45242 #include <math.h>
45244 main ()
45246 hypotl(0, 0);
45248 return 0;
45250 _ACEOF
45251 rm -f conftest.$ac_objext
45252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45253 (eval $ac_compile) 2>conftest.er1
45254 ac_status=$?
45255 grep -v '^ *+' conftest.er1 >conftest.err
45256 rm -f conftest.er1
45257 cat conftest.err >&5
45258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45259 (exit $ac_status); } &&
45260 { ac_try='test -z "$ac_cxx_werror_flag"
45261 || test ! -s conftest.err'
45262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45263 (eval $ac_try) 2>&5
45264 ac_status=$?
45265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45266 (exit $ac_status); }; } &&
45267 { ac_try='test -s conftest.$ac_objext'
45268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45269 (eval $ac_try) 2>&5
45270 ac_status=$?
45271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45272 (exit $ac_status); }; }; then
45273 glibcxx_cv_func_hypotl_use=yes
45274 else
45275 echo "$as_me: failed program was:" >&5
45276 sed 's/^/| /' conftest.$ac_ext >&5
45278 glibcxx_cv_func_hypotl_use=no
45280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45281 ac_ext=c
45282 ac_cpp='$CPP $CPPFLAGS'
45283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45292 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45294 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45296 for ac_func in hypotl
45298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45299 echo "$as_me:$LINENO: checking for $ac_func" >&5
45300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45301 if eval "test \"\${$as_ac_var+set}\" = set"; then
45302 echo $ECHO_N "(cached) $ECHO_C" >&6
45303 else
45304 if test x$gcc_no_link = xyes; then
45305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45307 { (exit 1); exit 1; }; }
45309 cat >conftest.$ac_ext <<_ACEOF
45310 /* confdefs.h. */
45311 _ACEOF
45312 cat confdefs.h >>conftest.$ac_ext
45313 cat >>conftest.$ac_ext <<_ACEOF
45314 /* end confdefs.h. */
45315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45317 #define $ac_func innocuous_$ac_func
45319 /* System header to define __stub macros and hopefully few prototypes,
45320 which can conflict with char $ac_func (); below.
45321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45322 <limits.h> exists even on freestanding compilers. */
45324 #ifdef __STDC__
45325 # include <limits.h>
45326 #else
45327 # include <assert.h>
45328 #endif
45330 #undef $ac_func
45332 /* Override any gcc2 internal prototype to avoid an error. */
45333 #ifdef __cplusplus
45334 extern "C"
45336 #endif
45337 /* We use char because int might match the return type of a gcc2
45338 builtin and then its argument prototype would still apply. */
45339 char $ac_func ();
45340 /* The GNU C library defines this for functions which it implements
45341 to always fail with ENOSYS. Some functions are actually named
45342 something starting with __ and the normal name is an alias. */
45343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45344 choke me
45345 #else
45346 char (*f) () = $ac_func;
45347 #endif
45348 #ifdef __cplusplus
45350 #endif
45353 main ()
45355 return f != $ac_func;
45357 return 0;
45359 _ACEOF
45360 rm -f conftest.$ac_objext conftest$ac_exeext
45361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45362 (eval $ac_link) 2>conftest.er1
45363 ac_status=$?
45364 grep -v '^ *+' conftest.er1 >conftest.err
45365 rm -f conftest.er1
45366 cat conftest.err >&5
45367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45368 (exit $ac_status); } &&
45369 { ac_try='test -z "$ac_c_werror_flag"
45370 || test ! -s conftest.err'
45371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45372 (eval $ac_try) 2>&5
45373 ac_status=$?
45374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45375 (exit $ac_status); }; } &&
45376 { ac_try='test -s conftest$ac_exeext'
45377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45378 (eval $ac_try) 2>&5
45379 ac_status=$?
45380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45381 (exit $ac_status); }; }; then
45382 eval "$as_ac_var=yes"
45383 else
45384 echo "$as_me: failed program was:" >&5
45385 sed 's/^/| /' conftest.$ac_ext >&5
45387 eval "$as_ac_var=no"
45389 rm -f conftest.err conftest.$ac_objext \
45390 conftest$ac_exeext conftest.$ac_ext
45392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45394 if test `eval echo '${'$as_ac_var'}'` = yes; then
45395 cat >>confdefs.h <<_ACEOF
45396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45397 _ACEOF
45400 done
45402 else
45404 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
45405 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
45406 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45407 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
45408 echo $ECHO_N "(cached) $ECHO_C" >&6
45409 else
45413 ac_ext=cc
45414 ac_cpp='$CXXCPP $CPPFLAGS'
45415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45419 cat >conftest.$ac_ext <<_ACEOF
45420 /* confdefs.h. */
45421 _ACEOF
45422 cat confdefs.h >>conftest.$ac_ext
45423 cat >>conftest.$ac_ext <<_ACEOF
45424 /* end confdefs.h. */
45425 #include <math.h>
45427 main ()
45429 _hypotl(0, 0);
45431 return 0;
45433 _ACEOF
45434 rm -f conftest.$ac_objext
45435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45436 (eval $ac_compile) 2>conftest.er1
45437 ac_status=$?
45438 grep -v '^ *+' conftest.er1 >conftest.err
45439 rm -f conftest.er1
45440 cat conftest.err >&5
45441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45442 (exit $ac_status); } &&
45443 { ac_try='test -z "$ac_cxx_werror_flag"
45444 || test ! -s conftest.err'
45445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45446 (eval $ac_try) 2>&5
45447 ac_status=$?
45448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45449 (exit $ac_status); }; } &&
45450 { ac_try='test -s conftest.$ac_objext'
45451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45452 (eval $ac_try) 2>&5
45453 ac_status=$?
45454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45455 (exit $ac_status); }; }; then
45456 glibcxx_cv_func__hypotl_use=yes
45457 else
45458 echo "$as_me: failed program was:" >&5
45459 sed 's/^/| /' conftest.$ac_ext >&5
45461 glibcxx_cv_func__hypotl_use=no
45463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45464 ac_ext=c
45465 ac_cpp='$CPP $CPPFLAGS'
45466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45474 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
45475 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
45477 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45479 for ac_func in _hypotl
45481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45482 echo "$as_me:$LINENO: checking for $ac_func" >&5
45483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45484 if eval "test \"\${$as_ac_var+set}\" = set"; then
45485 echo $ECHO_N "(cached) $ECHO_C" >&6
45486 else
45487 if test x$gcc_no_link = xyes; then
45488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45490 { (exit 1); exit 1; }; }
45492 cat >conftest.$ac_ext <<_ACEOF
45493 /* confdefs.h. */
45494 _ACEOF
45495 cat confdefs.h >>conftest.$ac_ext
45496 cat >>conftest.$ac_ext <<_ACEOF
45497 /* end confdefs.h. */
45498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45500 #define $ac_func innocuous_$ac_func
45502 /* System header to define __stub macros and hopefully few prototypes,
45503 which can conflict with char $ac_func (); below.
45504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45505 <limits.h> exists even on freestanding compilers. */
45507 #ifdef __STDC__
45508 # include <limits.h>
45509 #else
45510 # include <assert.h>
45511 #endif
45513 #undef $ac_func
45515 /* Override any gcc2 internal prototype to avoid an error. */
45516 #ifdef __cplusplus
45517 extern "C"
45519 #endif
45520 /* We use char because int might match the return type of a gcc2
45521 builtin and then its argument prototype would still apply. */
45522 char $ac_func ();
45523 /* The GNU C library defines this for functions which it implements
45524 to always fail with ENOSYS. Some functions are actually named
45525 something starting with __ and the normal name is an alias. */
45526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45527 choke me
45528 #else
45529 char (*f) () = $ac_func;
45530 #endif
45531 #ifdef __cplusplus
45533 #endif
45536 main ()
45538 return f != $ac_func;
45540 return 0;
45542 _ACEOF
45543 rm -f conftest.$ac_objext conftest$ac_exeext
45544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45545 (eval $ac_link) 2>conftest.er1
45546 ac_status=$?
45547 grep -v '^ *+' conftest.er1 >conftest.err
45548 rm -f conftest.er1
45549 cat conftest.err >&5
45550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45551 (exit $ac_status); } &&
45552 { ac_try='test -z "$ac_c_werror_flag"
45553 || test ! -s conftest.err'
45554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45555 (eval $ac_try) 2>&5
45556 ac_status=$?
45557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45558 (exit $ac_status); }; } &&
45559 { ac_try='test -s conftest$ac_exeext'
45560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45561 (eval $ac_try) 2>&5
45562 ac_status=$?
45563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45564 (exit $ac_status); }; }; then
45565 eval "$as_ac_var=yes"
45566 else
45567 echo "$as_me: failed program was:" >&5
45568 sed 's/^/| /' conftest.$ac_ext >&5
45570 eval "$as_ac_var=no"
45572 rm -f conftest.err conftest.$ac_objext \
45573 conftest$ac_exeext conftest.$ac_ext
45575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45577 if test `eval echo '${'$as_ac_var'}'` = yes; then
45578 cat >>confdefs.h <<_ACEOF
45579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45580 _ACEOF
45583 done
45593 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
45594 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
45595 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45596 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
45597 echo $ECHO_N "(cached) $ECHO_C" >&6
45598 else
45602 ac_ext=cc
45603 ac_cpp='$CXXCPP $CPPFLAGS'
45604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45608 cat >conftest.$ac_ext <<_ACEOF
45609 /* confdefs.h. */
45610 _ACEOF
45611 cat confdefs.h >>conftest.$ac_ext
45612 cat >>conftest.$ac_ext <<_ACEOF
45613 /* end confdefs.h. */
45614 #include <math.h>
45616 main ()
45618 ldexpl(0, 0);
45620 return 0;
45622 _ACEOF
45623 rm -f conftest.$ac_objext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45625 (eval $ac_compile) 2>conftest.er1
45626 ac_status=$?
45627 grep -v '^ *+' conftest.er1 >conftest.err
45628 rm -f conftest.er1
45629 cat conftest.err >&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); } &&
45632 { ac_try='test -z "$ac_cxx_werror_flag"
45633 || test ! -s conftest.err'
45634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45635 (eval $ac_try) 2>&5
45636 ac_status=$?
45637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45638 (exit $ac_status); }; } &&
45639 { ac_try='test -s conftest.$ac_objext'
45640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45641 (eval $ac_try) 2>&5
45642 ac_status=$?
45643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45644 (exit $ac_status); }; }; then
45645 glibcxx_cv_func_ldexpl_use=yes
45646 else
45647 echo "$as_me: failed program was:" >&5
45648 sed 's/^/| /' conftest.$ac_ext >&5
45650 glibcxx_cv_func_ldexpl_use=no
45652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45653 ac_ext=c
45654 ac_cpp='$CPP $CPPFLAGS'
45655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45663 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
45664 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
45666 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45668 for ac_func in ldexpl
45670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45671 echo "$as_me:$LINENO: checking for $ac_func" >&5
45672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45673 if eval "test \"\${$as_ac_var+set}\" = set"; then
45674 echo $ECHO_N "(cached) $ECHO_C" >&6
45675 else
45676 if test x$gcc_no_link = xyes; then
45677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45679 { (exit 1); exit 1; }; }
45681 cat >conftest.$ac_ext <<_ACEOF
45682 /* confdefs.h. */
45683 _ACEOF
45684 cat confdefs.h >>conftest.$ac_ext
45685 cat >>conftest.$ac_ext <<_ACEOF
45686 /* end confdefs.h. */
45687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45689 #define $ac_func innocuous_$ac_func
45691 /* System header to define __stub macros and hopefully few prototypes,
45692 which can conflict with char $ac_func (); below.
45693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45694 <limits.h> exists even on freestanding compilers. */
45696 #ifdef __STDC__
45697 # include <limits.h>
45698 #else
45699 # include <assert.h>
45700 #endif
45702 #undef $ac_func
45704 /* Override any gcc2 internal prototype to avoid an error. */
45705 #ifdef __cplusplus
45706 extern "C"
45708 #endif
45709 /* We use char because int might match the return type of a gcc2
45710 builtin and then its argument prototype would still apply. */
45711 char $ac_func ();
45712 /* The GNU C library defines this for functions which it implements
45713 to always fail with ENOSYS. Some functions are actually named
45714 something starting with __ and the normal name is an alias. */
45715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45716 choke me
45717 #else
45718 char (*f) () = $ac_func;
45719 #endif
45720 #ifdef __cplusplus
45722 #endif
45725 main ()
45727 return f != $ac_func;
45729 return 0;
45731 _ACEOF
45732 rm -f conftest.$ac_objext conftest$ac_exeext
45733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45734 (eval $ac_link) 2>conftest.er1
45735 ac_status=$?
45736 grep -v '^ *+' conftest.er1 >conftest.err
45737 rm -f conftest.er1
45738 cat conftest.err >&5
45739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45740 (exit $ac_status); } &&
45741 { ac_try='test -z "$ac_c_werror_flag"
45742 || test ! -s conftest.err'
45743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45744 (eval $ac_try) 2>&5
45745 ac_status=$?
45746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45747 (exit $ac_status); }; } &&
45748 { ac_try='test -s conftest$ac_exeext'
45749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45750 (eval $ac_try) 2>&5
45751 ac_status=$?
45752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45753 (exit $ac_status); }; }; then
45754 eval "$as_ac_var=yes"
45755 else
45756 echo "$as_me: failed program was:" >&5
45757 sed 's/^/| /' conftest.$ac_ext >&5
45759 eval "$as_ac_var=no"
45761 rm -f conftest.err conftest.$ac_objext \
45762 conftest$ac_exeext conftest.$ac_ext
45764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45766 if test `eval echo '${'$as_ac_var'}'` = yes; then
45767 cat >>confdefs.h <<_ACEOF
45768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45769 _ACEOF
45772 done
45774 else
45776 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
45777 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
45778 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45779 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45780 echo $ECHO_N "(cached) $ECHO_C" >&6
45781 else
45785 ac_ext=cc
45786 ac_cpp='$CXXCPP $CPPFLAGS'
45787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45791 cat >conftest.$ac_ext <<_ACEOF
45792 /* confdefs.h. */
45793 _ACEOF
45794 cat confdefs.h >>conftest.$ac_ext
45795 cat >>conftest.$ac_ext <<_ACEOF
45796 /* end confdefs.h. */
45797 #include <math.h>
45799 main ()
45801 _ldexpl(0, 0);
45803 return 0;
45805 _ACEOF
45806 rm -f conftest.$ac_objext
45807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45808 (eval $ac_compile) 2>conftest.er1
45809 ac_status=$?
45810 grep -v '^ *+' conftest.er1 >conftest.err
45811 rm -f conftest.er1
45812 cat conftest.err >&5
45813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45814 (exit $ac_status); } &&
45815 { ac_try='test -z "$ac_cxx_werror_flag"
45816 || test ! -s conftest.err'
45817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45818 (eval $ac_try) 2>&5
45819 ac_status=$?
45820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45821 (exit $ac_status); }; } &&
45822 { ac_try='test -s conftest.$ac_objext'
45823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45824 (eval $ac_try) 2>&5
45825 ac_status=$?
45826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45827 (exit $ac_status); }; }; then
45828 glibcxx_cv_func__ldexpl_use=yes
45829 else
45830 echo "$as_me: failed program was:" >&5
45831 sed 's/^/| /' conftest.$ac_ext >&5
45833 glibcxx_cv_func__ldexpl_use=no
45835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45836 ac_ext=c
45837 ac_cpp='$CPP $CPPFLAGS'
45838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45846 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45847 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45849 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45851 for ac_func in _ldexpl
45853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45854 echo "$as_me:$LINENO: checking for $ac_func" >&5
45855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45856 if eval "test \"\${$as_ac_var+set}\" = set"; then
45857 echo $ECHO_N "(cached) $ECHO_C" >&6
45858 else
45859 if test x$gcc_no_link = xyes; then
45860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45862 { (exit 1); exit 1; }; }
45864 cat >conftest.$ac_ext <<_ACEOF
45865 /* confdefs.h. */
45866 _ACEOF
45867 cat confdefs.h >>conftest.$ac_ext
45868 cat >>conftest.$ac_ext <<_ACEOF
45869 /* end confdefs.h. */
45870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45872 #define $ac_func innocuous_$ac_func
45874 /* System header to define __stub macros and hopefully few prototypes,
45875 which can conflict with char $ac_func (); below.
45876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45877 <limits.h> exists even on freestanding compilers. */
45879 #ifdef __STDC__
45880 # include <limits.h>
45881 #else
45882 # include <assert.h>
45883 #endif
45885 #undef $ac_func
45887 /* Override any gcc2 internal prototype to avoid an error. */
45888 #ifdef __cplusplus
45889 extern "C"
45891 #endif
45892 /* We use char because int might match the return type of a gcc2
45893 builtin and then its argument prototype would still apply. */
45894 char $ac_func ();
45895 /* The GNU C library defines this for functions which it implements
45896 to always fail with ENOSYS. Some functions are actually named
45897 something starting with __ and the normal name is an alias. */
45898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45899 choke me
45900 #else
45901 char (*f) () = $ac_func;
45902 #endif
45903 #ifdef __cplusplus
45905 #endif
45908 main ()
45910 return f != $ac_func;
45912 return 0;
45914 _ACEOF
45915 rm -f conftest.$ac_objext conftest$ac_exeext
45916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45917 (eval $ac_link) 2>conftest.er1
45918 ac_status=$?
45919 grep -v '^ *+' conftest.er1 >conftest.err
45920 rm -f conftest.er1
45921 cat conftest.err >&5
45922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45923 (exit $ac_status); } &&
45924 { ac_try='test -z "$ac_c_werror_flag"
45925 || test ! -s conftest.err'
45926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45927 (eval $ac_try) 2>&5
45928 ac_status=$?
45929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45930 (exit $ac_status); }; } &&
45931 { ac_try='test -s conftest$ac_exeext'
45932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45933 (eval $ac_try) 2>&5
45934 ac_status=$?
45935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45936 (exit $ac_status); }; }; then
45937 eval "$as_ac_var=yes"
45938 else
45939 echo "$as_me: failed program was:" >&5
45940 sed 's/^/| /' conftest.$ac_ext >&5
45942 eval "$as_ac_var=no"
45944 rm -f conftest.err conftest.$ac_objext \
45945 conftest$ac_exeext conftest.$ac_ext
45947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45949 if test `eval echo '${'$as_ac_var'}'` = yes; then
45950 cat >>confdefs.h <<_ACEOF
45951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45952 _ACEOF
45955 done
45965 echo "$as_me:$LINENO: checking for logl declaration" >&5
45966 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45967 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45968 if test "${glibcxx_cv_func_logl_use+set}" = set; then
45969 echo $ECHO_N "(cached) $ECHO_C" >&6
45970 else
45974 ac_ext=cc
45975 ac_cpp='$CXXCPP $CPPFLAGS'
45976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45980 cat >conftest.$ac_ext <<_ACEOF
45981 /* confdefs.h. */
45982 _ACEOF
45983 cat confdefs.h >>conftest.$ac_ext
45984 cat >>conftest.$ac_ext <<_ACEOF
45985 /* end confdefs.h. */
45986 #include <math.h>
45987 #ifdef HAVE_IEEEFP_H
45988 #include <ieeefp.h>
45989 #endif
45992 main ()
45994 logl(0);
45996 return 0;
45998 _ACEOF
45999 rm -f conftest.$ac_objext
46000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46001 (eval $ac_compile) 2>conftest.er1
46002 ac_status=$?
46003 grep -v '^ *+' conftest.er1 >conftest.err
46004 rm -f conftest.er1
46005 cat conftest.err >&5
46006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46007 (exit $ac_status); } &&
46008 { ac_try='test -z "$ac_cxx_werror_flag"
46009 || test ! -s conftest.err'
46010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46011 (eval $ac_try) 2>&5
46012 ac_status=$?
46013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46014 (exit $ac_status); }; } &&
46015 { ac_try='test -s conftest.$ac_objext'
46016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46017 (eval $ac_try) 2>&5
46018 ac_status=$?
46019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46020 (exit $ac_status); }; }; then
46021 glibcxx_cv_func_logl_use=yes
46022 else
46023 echo "$as_me: failed program was:" >&5
46024 sed 's/^/| /' conftest.$ac_ext >&5
46026 glibcxx_cv_func_logl_use=no
46028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46029 ac_ext=c
46030 ac_cpp='$CPP $CPPFLAGS'
46031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46039 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
46040 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
46042 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46044 for ac_func in logl
46046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46047 echo "$as_me:$LINENO: checking for $ac_func" >&5
46048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46049 if eval "test \"\${$as_ac_var+set}\" = set"; then
46050 echo $ECHO_N "(cached) $ECHO_C" >&6
46051 else
46052 if test x$gcc_no_link = xyes; then
46053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46055 { (exit 1); exit 1; }; }
46057 cat >conftest.$ac_ext <<_ACEOF
46058 /* confdefs.h. */
46059 _ACEOF
46060 cat confdefs.h >>conftest.$ac_ext
46061 cat >>conftest.$ac_ext <<_ACEOF
46062 /* end confdefs.h. */
46063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46065 #define $ac_func innocuous_$ac_func
46067 /* System header to define __stub macros and hopefully few prototypes,
46068 which can conflict with char $ac_func (); below.
46069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46070 <limits.h> exists even on freestanding compilers. */
46072 #ifdef __STDC__
46073 # include <limits.h>
46074 #else
46075 # include <assert.h>
46076 #endif
46078 #undef $ac_func
46080 /* Override any gcc2 internal prototype to avoid an error. */
46081 #ifdef __cplusplus
46082 extern "C"
46084 #endif
46085 /* We use char because int might match the return type of a gcc2
46086 builtin and then its argument prototype would still apply. */
46087 char $ac_func ();
46088 /* The GNU C library defines this for functions which it implements
46089 to always fail with ENOSYS. Some functions are actually named
46090 something starting with __ and the normal name is an alias. */
46091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46092 choke me
46093 #else
46094 char (*f) () = $ac_func;
46095 #endif
46096 #ifdef __cplusplus
46098 #endif
46101 main ()
46103 return f != $ac_func;
46105 return 0;
46107 _ACEOF
46108 rm -f conftest.$ac_objext conftest$ac_exeext
46109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46110 (eval $ac_link) 2>conftest.er1
46111 ac_status=$?
46112 grep -v '^ *+' conftest.er1 >conftest.err
46113 rm -f conftest.er1
46114 cat conftest.err >&5
46115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46116 (exit $ac_status); } &&
46117 { ac_try='test -z "$ac_c_werror_flag"
46118 || test ! -s conftest.err'
46119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46120 (eval $ac_try) 2>&5
46121 ac_status=$?
46122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46123 (exit $ac_status); }; } &&
46124 { ac_try='test -s conftest$ac_exeext'
46125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46126 (eval $ac_try) 2>&5
46127 ac_status=$?
46128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46129 (exit $ac_status); }; }; then
46130 eval "$as_ac_var=yes"
46131 else
46132 echo "$as_me: failed program was:" >&5
46133 sed 's/^/| /' conftest.$ac_ext >&5
46135 eval "$as_ac_var=no"
46137 rm -f conftest.err conftest.$ac_objext \
46138 conftest$ac_exeext conftest.$ac_ext
46140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46142 if test `eval echo '${'$as_ac_var'}'` = yes; then
46143 cat >>confdefs.h <<_ACEOF
46144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46145 _ACEOF
46148 done
46150 else
46152 echo "$as_me:$LINENO: checking for _logl declaration" >&5
46153 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
46154 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46155 if test "${glibcxx_cv_func__logl_use+set}" = set; then
46156 echo $ECHO_N "(cached) $ECHO_C" >&6
46157 else
46161 ac_ext=cc
46162 ac_cpp='$CXXCPP $CPPFLAGS'
46163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46167 cat >conftest.$ac_ext <<_ACEOF
46168 /* confdefs.h. */
46169 _ACEOF
46170 cat confdefs.h >>conftest.$ac_ext
46171 cat >>conftest.$ac_ext <<_ACEOF
46172 /* end confdefs.h. */
46173 #include <math.h>
46174 #ifdef HAVE_IEEEFP_H
46175 #include <ieeefp.h>
46176 #endif
46179 main ()
46181 _logl(0);
46183 return 0;
46185 _ACEOF
46186 rm -f conftest.$ac_objext
46187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46188 (eval $ac_compile) 2>conftest.er1
46189 ac_status=$?
46190 grep -v '^ *+' conftest.er1 >conftest.err
46191 rm -f conftest.er1
46192 cat conftest.err >&5
46193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46194 (exit $ac_status); } &&
46195 { ac_try='test -z "$ac_cxx_werror_flag"
46196 || test ! -s conftest.err'
46197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46198 (eval $ac_try) 2>&5
46199 ac_status=$?
46200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46201 (exit $ac_status); }; } &&
46202 { ac_try='test -s conftest.$ac_objext'
46203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46204 (eval $ac_try) 2>&5
46205 ac_status=$?
46206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46207 (exit $ac_status); }; }; then
46208 glibcxx_cv_func__logl_use=yes
46209 else
46210 echo "$as_me: failed program was:" >&5
46211 sed 's/^/| /' conftest.$ac_ext >&5
46213 glibcxx_cv_func__logl_use=no
46215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46216 ac_ext=c
46217 ac_cpp='$CPP $CPPFLAGS'
46218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46227 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46229 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46231 for ac_func in _logl
46233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46234 echo "$as_me:$LINENO: checking for $ac_func" >&5
46235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46236 if eval "test \"\${$as_ac_var+set}\" = set"; then
46237 echo $ECHO_N "(cached) $ECHO_C" >&6
46238 else
46239 if test x$gcc_no_link = xyes; then
46240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46242 { (exit 1); exit 1; }; }
46244 cat >conftest.$ac_ext <<_ACEOF
46245 /* confdefs.h. */
46246 _ACEOF
46247 cat confdefs.h >>conftest.$ac_ext
46248 cat >>conftest.$ac_ext <<_ACEOF
46249 /* end confdefs.h. */
46250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46252 #define $ac_func innocuous_$ac_func
46254 /* System header to define __stub macros and hopefully few prototypes,
46255 which can conflict with char $ac_func (); below.
46256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46257 <limits.h> exists even on freestanding compilers. */
46259 #ifdef __STDC__
46260 # include <limits.h>
46261 #else
46262 # include <assert.h>
46263 #endif
46265 #undef $ac_func
46267 /* Override any gcc2 internal prototype to avoid an error. */
46268 #ifdef __cplusplus
46269 extern "C"
46271 #endif
46272 /* We use char because int might match the return type of a gcc2
46273 builtin and then its argument prototype would still apply. */
46274 char $ac_func ();
46275 /* The GNU C library defines this for functions which it implements
46276 to always fail with ENOSYS. Some functions are actually named
46277 something starting with __ and the normal name is an alias. */
46278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46279 choke me
46280 #else
46281 char (*f) () = $ac_func;
46282 #endif
46283 #ifdef __cplusplus
46285 #endif
46288 main ()
46290 return f != $ac_func;
46292 return 0;
46294 _ACEOF
46295 rm -f conftest.$ac_objext conftest$ac_exeext
46296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46297 (eval $ac_link) 2>conftest.er1
46298 ac_status=$?
46299 grep -v '^ *+' conftest.er1 >conftest.err
46300 rm -f conftest.er1
46301 cat conftest.err >&5
46302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46303 (exit $ac_status); } &&
46304 { ac_try='test -z "$ac_c_werror_flag"
46305 || test ! -s conftest.err'
46306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46307 (eval $ac_try) 2>&5
46308 ac_status=$?
46309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46310 (exit $ac_status); }; } &&
46311 { ac_try='test -s conftest$ac_exeext'
46312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46313 (eval $ac_try) 2>&5
46314 ac_status=$?
46315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46316 (exit $ac_status); }; }; then
46317 eval "$as_ac_var=yes"
46318 else
46319 echo "$as_me: failed program was:" >&5
46320 sed 's/^/| /' conftest.$ac_ext >&5
46322 eval "$as_ac_var=no"
46324 rm -f conftest.err conftest.$ac_objext \
46325 conftest$ac_exeext conftest.$ac_ext
46327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46329 if test `eval echo '${'$as_ac_var'}'` = yes; then
46330 cat >>confdefs.h <<_ACEOF
46331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46332 _ACEOF
46335 done
46345 echo "$as_me:$LINENO: checking for log10l declaration" >&5
46346 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46347 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46348 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46349 echo $ECHO_N "(cached) $ECHO_C" >&6
46350 else
46354 ac_ext=cc
46355 ac_cpp='$CXXCPP $CPPFLAGS'
46356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46360 cat >conftest.$ac_ext <<_ACEOF
46361 /* confdefs.h. */
46362 _ACEOF
46363 cat confdefs.h >>conftest.$ac_ext
46364 cat >>conftest.$ac_ext <<_ACEOF
46365 /* end confdefs.h. */
46366 #include <math.h>
46367 #ifdef HAVE_IEEEFP_H
46368 #include <ieeefp.h>
46369 #endif
46372 main ()
46374 log10l(0);
46376 return 0;
46378 _ACEOF
46379 rm -f conftest.$ac_objext
46380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46381 (eval $ac_compile) 2>conftest.er1
46382 ac_status=$?
46383 grep -v '^ *+' conftest.er1 >conftest.err
46384 rm -f conftest.er1
46385 cat conftest.err >&5
46386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46387 (exit $ac_status); } &&
46388 { ac_try='test -z "$ac_cxx_werror_flag"
46389 || test ! -s conftest.err'
46390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46391 (eval $ac_try) 2>&5
46392 ac_status=$?
46393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46394 (exit $ac_status); }; } &&
46395 { ac_try='test -s conftest.$ac_objext'
46396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46397 (eval $ac_try) 2>&5
46398 ac_status=$?
46399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46400 (exit $ac_status); }; }; then
46401 glibcxx_cv_func_log10l_use=yes
46402 else
46403 echo "$as_me: failed program was:" >&5
46404 sed 's/^/| /' conftest.$ac_ext >&5
46406 glibcxx_cv_func_log10l_use=no
46408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46409 ac_ext=c
46410 ac_cpp='$CPP $CPPFLAGS'
46411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46419 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
46420 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
46422 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46424 for ac_func in log10l
46426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46427 echo "$as_me:$LINENO: checking for $ac_func" >&5
46428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46429 if eval "test \"\${$as_ac_var+set}\" = set"; then
46430 echo $ECHO_N "(cached) $ECHO_C" >&6
46431 else
46432 if test x$gcc_no_link = xyes; then
46433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46435 { (exit 1); exit 1; }; }
46437 cat >conftest.$ac_ext <<_ACEOF
46438 /* confdefs.h. */
46439 _ACEOF
46440 cat confdefs.h >>conftest.$ac_ext
46441 cat >>conftest.$ac_ext <<_ACEOF
46442 /* end confdefs.h. */
46443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46445 #define $ac_func innocuous_$ac_func
46447 /* System header to define __stub macros and hopefully few prototypes,
46448 which can conflict with char $ac_func (); below.
46449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46450 <limits.h> exists even on freestanding compilers. */
46452 #ifdef __STDC__
46453 # include <limits.h>
46454 #else
46455 # include <assert.h>
46456 #endif
46458 #undef $ac_func
46460 /* Override any gcc2 internal prototype to avoid an error. */
46461 #ifdef __cplusplus
46462 extern "C"
46464 #endif
46465 /* We use char because int might match the return type of a gcc2
46466 builtin and then its argument prototype would still apply. */
46467 char $ac_func ();
46468 /* The GNU C library defines this for functions which it implements
46469 to always fail with ENOSYS. Some functions are actually named
46470 something starting with __ and the normal name is an alias. */
46471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46472 choke me
46473 #else
46474 char (*f) () = $ac_func;
46475 #endif
46476 #ifdef __cplusplus
46478 #endif
46481 main ()
46483 return f != $ac_func;
46485 return 0;
46487 _ACEOF
46488 rm -f conftest.$ac_objext conftest$ac_exeext
46489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46490 (eval $ac_link) 2>conftest.er1
46491 ac_status=$?
46492 grep -v '^ *+' conftest.er1 >conftest.err
46493 rm -f conftest.er1
46494 cat conftest.err >&5
46495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46496 (exit $ac_status); } &&
46497 { ac_try='test -z "$ac_c_werror_flag"
46498 || test ! -s conftest.err'
46499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46500 (eval $ac_try) 2>&5
46501 ac_status=$?
46502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46503 (exit $ac_status); }; } &&
46504 { ac_try='test -s conftest$ac_exeext'
46505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46506 (eval $ac_try) 2>&5
46507 ac_status=$?
46508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46509 (exit $ac_status); }; }; then
46510 eval "$as_ac_var=yes"
46511 else
46512 echo "$as_me: failed program was:" >&5
46513 sed 's/^/| /' conftest.$ac_ext >&5
46515 eval "$as_ac_var=no"
46517 rm -f conftest.err conftest.$ac_objext \
46518 conftest$ac_exeext conftest.$ac_ext
46520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46522 if test `eval echo '${'$as_ac_var'}'` = yes; then
46523 cat >>confdefs.h <<_ACEOF
46524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46525 _ACEOF
46528 done
46530 else
46532 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
46533 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
46534 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46535 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
46536 echo $ECHO_N "(cached) $ECHO_C" >&6
46537 else
46541 ac_ext=cc
46542 ac_cpp='$CXXCPP $CPPFLAGS'
46543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46547 cat >conftest.$ac_ext <<_ACEOF
46548 /* confdefs.h. */
46549 _ACEOF
46550 cat confdefs.h >>conftest.$ac_ext
46551 cat >>conftest.$ac_ext <<_ACEOF
46552 /* end confdefs.h. */
46553 #include <math.h>
46554 #ifdef HAVE_IEEEFP_H
46555 #include <ieeefp.h>
46556 #endif
46559 main ()
46561 _log10l(0);
46563 return 0;
46565 _ACEOF
46566 rm -f conftest.$ac_objext
46567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46568 (eval $ac_compile) 2>conftest.er1
46569 ac_status=$?
46570 grep -v '^ *+' conftest.er1 >conftest.err
46571 rm -f conftest.er1
46572 cat conftest.err >&5
46573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46574 (exit $ac_status); } &&
46575 { ac_try='test -z "$ac_cxx_werror_flag"
46576 || test ! -s conftest.err'
46577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46578 (eval $ac_try) 2>&5
46579 ac_status=$?
46580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46581 (exit $ac_status); }; } &&
46582 { ac_try='test -s conftest.$ac_objext'
46583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46584 (eval $ac_try) 2>&5
46585 ac_status=$?
46586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46587 (exit $ac_status); }; }; then
46588 glibcxx_cv_func__log10l_use=yes
46589 else
46590 echo "$as_me: failed program was:" >&5
46591 sed 's/^/| /' conftest.$ac_ext >&5
46593 glibcxx_cv_func__log10l_use=no
46595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46596 ac_ext=c
46597 ac_cpp='$CPP $CPPFLAGS'
46598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
46607 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
46609 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46611 for ac_func in _log10l
46613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46614 echo "$as_me:$LINENO: checking for $ac_func" >&5
46615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46616 if eval "test \"\${$as_ac_var+set}\" = set"; then
46617 echo $ECHO_N "(cached) $ECHO_C" >&6
46618 else
46619 if test x$gcc_no_link = xyes; then
46620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46622 { (exit 1); exit 1; }; }
46624 cat >conftest.$ac_ext <<_ACEOF
46625 /* confdefs.h. */
46626 _ACEOF
46627 cat confdefs.h >>conftest.$ac_ext
46628 cat >>conftest.$ac_ext <<_ACEOF
46629 /* end confdefs.h. */
46630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46632 #define $ac_func innocuous_$ac_func
46634 /* System header to define __stub macros and hopefully few prototypes,
46635 which can conflict with char $ac_func (); below.
46636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46637 <limits.h> exists even on freestanding compilers. */
46639 #ifdef __STDC__
46640 # include <limits.h>
46641 #else
46642 # include <assert.h>
46643 #endif
46645 #undef $ac_func
46647 /* Override any gcc2 internal prototype to avoid an error. */
46648 #ifdef __cplusplus
46649 extern "C"
46651 #endif
46652 /* We use char because int might match the return type of a gcc2
46653 builtin and then its argument prototype would still apply. */
46654 char $ac_func ();
46655 /* The GNU C library defines this for functions which it implements
46656 to always fail with ENOSYS. Some functions are actually named
46657 something starting with __ and the normal name is an alias. */
46658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46659 choke me
46660 #else
46661 char (*f) () = $ac_func;
46662 #endif
46663 #ifdef __cplusplus
46665 #endif
46668 main ()
46670 return f != $ac_func;
46672 return 0;
46674 _ACEOF
46675 rm -f conftest.$ac_objext conftest$ac_exeext
46676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46677 (eval $ac_link) 2>conftest.er1
46678 ac_status=$?
46679 grep -v '^ *+' conftest.er1 >conftest.err
46680 rm -f conftest.er1
46681 cat conftest.err >&5
46682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46683 (exit $ac_status); } &&
46684 { ac_try='test -z "$ac_c_werror_flag"
46685 || test ! -s conftest.err'
46686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46687 (eval $ac_try) 2>&5
46688 ac_status=$?
46689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46690 (exit $ac_status); }; } &&
46691 { ac_try='test -s conftest$ac_exeext'
46692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46693 (eval $ac_try) 2>&5
46694 ac_status=$?
46695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46696 (exit $ac_status); }; }; then
46697 eval "$as_ac_var=yes"
46698 else
46699 echo "$as_me: failed program was:" >&5
46700 sed 's/^/| /' conftest.$ac_ext >&5
46702 eval "$as_ac_var=no"
46704 rm -f conftest.err conftest.$ac_objext \
46705 conftest$ac_exeext conftest.$ac_ext
46707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46709 if test `eval echo '${'$as_ac_var'}'` = yes; then
46710 cat >>confdefs.h <<_ACEOF
46711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46712 _ACEOF
46715 done
46725 echo "$as_me:$LINENO: checking for modfl declaration" >&5
46726 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
46727 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46728 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
46729 echo $ECHO_N "(cached) $ECHO_C" >&6
46730 else
46734 ac_ext=cc
46735 ac_cpp='$CXXCPP $CPPFLAGS'
46736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46740 cat >conftest.$ac_ext <<_ACEOF
46741 /* confdefs.h. */
46742 _ACEOF
46743 cat confdefs.h >>conftest.$ac_ext
46744 cat >>conftest.$ac_ext <<_ACEOF
46745 /* end confdefs.h. */
46746 #include <math.h>
46748 main ()
46750 modfl(0, 0);
46752 return 0;
46754 _ACEOF
46755 rm -f conftest.$ac_objext
46756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46757 (eval $ac_compile) 2>conftest.er1
46758 ac_status=$?
46759 grep -v '^ *+' conftest.er1 >conftest.err
46760 rm -f conftest.er1
46761 cat conftest.err >&5
46762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46763 (exit $ac_status); } &&
46764 { ac_try='test -z "$ac_cxx_werror_flag"
46765 || test ! -s conftest.err'
46766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46767 (eval $ac_try) 2>&5
46768 ac_status=$?
46769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46770 (exit $ac_status); }; } &&
46771 { ac_try='test -s conftest.$ac_objext'
46772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46773 (eval $ac_try) 2>&5
46774 ac_status=$?
46775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46776 (exit $ac_status); }; }; then
46777 glibcxx_cv_func_modfl_use=yes
46778 else
46779 echo "$as_me: failed program was:" >&5
46780 sed 's/^/| /' conftest.$ac_ext >&5
46782 glibcxx_cv_func_modfl_use=no
46784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46785 ac_ext=c
46786 ac_cpp='$CPP $CPPFLAGS'
46787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46795 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46796 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46798 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46800 for ac_func in modfl
46802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46803 echo "$as_me:$LINENO: checking for $ac_func" >&5
46804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46805 if eval "test \"\${$as_ac_var+set}\" = set"; then
46806 echo $ECHO_N "(cached) $ECHO_C" >&6
46807 else
46808 if test x$gcc_no_link = xyes; then
46809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46811 { (exit 1); exit 1; }; }
46813 cat >conftest.$ac_ext <<_ACEOF
46814 /* confdefs.h. */
46815 _ACEOF
46816 cat confdefs.h >>conftest.$ac_ext
46817 cat >>conftest.$ac_ext <<_ACEOF
46818 /* end confdefs.h. */
46819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46821 #define $ac_func innocuous_$ac_func
46823 /* System header to define __stub macros and hopefully few prototypes,
46824 which can conflict with char $ac_func (); below.
46825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46826 <limits.h> exists even on freestanding compilers. */
46828 #ifdef __STDC__
46829 # include <limits.h>
46830 #else
46831 # include <assert.h>
46832 #endif
46834 #undef $ac_func
46836 /* Override any gcc2 internal prototype to avoid an error. */
46837 #ifdef __cplusplus
46838 extern "C"
46840 #endif
46841 /* We use char because int might match the return type of a gcc2
46842 builtin and then its argument prototype would still apply. */
46843 char $ac_func ();
46844 /* The GNU C library defines this for functions which it implements
46845 to always fail with ENOSYS. Some functions are actually named
46846 something starting with __ and the normal name is an alias. */
46847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46848 choke me
46849 #else
46850 char (*f) () = $ac_func;
46851 #endif
46852 #ifdef __cplusplus
46854 #endif
46857 main ()
46859 return f != $ac_func;
46861 return 0;
46863 _ACEOF
46864 rm -f conftest.$ac_objext conftest$ac_exeext
46865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46866 (eval $ac_link) 2>conftest.er1
46867 ac_status=$?
46868 grep -v '^ *+' conftest.er1 >conftest.err
46869 rm -f conftest.er1
46870 cat conftest.err >&5
46871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46872 (exit $ac_status); } &&
46873 { ac_try='test -z "$ac_c_werror_flag"
46874 || test ! -s conftest.err'
46875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46876 (eval $ac_try) 2>&5
46877 ac_status=$?
46878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46879 (exit $ac_status); }; } &&
46880 { ac_try='test -s conftest$ac_exeext'
46881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46882 (eval $ac_try) 2>&5
46883 ac_status=$?
46884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46885 (exit $ac_status); }; }; then
46886 eval "$as_ac_var=yes"
46887 else
46888 echo "$as_me: failed program was:" >&5
46889 sed 's/^/| /' conftest.$ac_ext >&5
46891 eval "$as_ac_var=no"
46893 rm -f conftest.err conftest.$ac_objext \
46894 conftest$ac_exeext conftest.$ac_ext
46896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46898 if test `eval echo '${'$as_ac_var'}'` = yes; then
46899 cat >>confdefs.h <<_ACEOF
46900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46901 _ACEOF
46904 done
46906 else
46908 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46909 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46910 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46911 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46912 echo $ECHO_N "(cached) $ECHO_C" >&6
46913 else
46917 ac_ext=cc
46918 ac_cpp='$CXXCPP $CPPFLAGS'
46919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46923 cat >conftest.$ac_ext <<_ACEOF
46924 /* confdefs.h. */
46925 _ACEOF
46926 cat confdefs.h >>conftest.$ac_ext
46927 cat >>conftest.$ac_ext <<_ACEOF
46928 /* end confdefs.h. */
46929 #include <math.h>
46931 main ()
46933 _modfl(0, 0);
46935 return 0;
46937 _ACEOF
46938 rm -f conftest.$ac_objext
46939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46940 (eval $ac_compile) 2>conftest.er1
46941 ac_status=$?
46942 grep -v '^ *+' conftest.er1 >conftest.err
46943 rm -f conftest.er1
46944 cat conftest.err >&5
46945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46946 (exit $ac_status); } &&
46947 { ac_try='test -z "$ac_cxx_werror_flag"
46948 || test ! -s conftest.err'
46949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46950 (eval $ac_try) 2>&5
46951 ac_status=$?
46952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46953 (exit $ac_status); }; } &&
46954 { ac_try='test -s conftest.$ac_objext'
46955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46956 (eval $ac_try) 2>&5
46957 ac_status=$?
46958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46959 (exit $ac_status); }; }; then
46960 glibcxx_cv_func__modfl_use=yes
46961 else
46962 echo "$as_me: failed program was:" >&5
46963 sed 's/^/| /' conftest.$ac_ext >&5
46965 glibcxx_cv_func__modfl_use=no
46967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46968 ac_ext=c
46969 ac_cpp='$CPP $CPPFLAGS'
46970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46978 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46979 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46981 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46983 for ac_func in _modfl
46985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46986 echo "$as_me:$LINENO: checking for $ac_func" >&5
46987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46988 if eval "test \"\${$as_ac_var+set}\" = set"; then
46989 echo $ECHO_N "(cached) $ECHO_C" >&6
46990 else
46991 if test x$gcc_no_link = xyes; then
46992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46994 { (exit 1); exit 1; }; }
46996 cat >conftest.$ac_ext <<_ACEOF
46997 /* confdefs.h. */
46998 _ACEOF
46999 cat confdefs.h >>conftest.$ac_ext
47000 cat >>conftest.$ac_ext <<_ACEOF
47001 /* end confdefs.h. */
47002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47004 #define $ac_func innocuous_$ac_func
47006 /* System header to define __stub macros and hopefully few prototypes,
47007 which can conflict with char $ac_func (); below.
47008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47009 <limits.h> exists even on freestanding compilers. */
47011 #ifdef __STDC__
47012 # include <limits.h>
47013 #else
47014 # include <assert.h>
47015 #endif
47017 #undef $ac_func
47019 /* Override any gcc2 internal prototype to avoid an error. */
47020 #ifdef __cplusplus
47021 extern "C"
47023 #endif
47024 /* We use char because int might match the return type of a gcc2
47025 builtin and then its argument prototype would still apply. */
47026 char $ac_func ();
47027 /* The GNU C library defines this for functions which it implements
47028 to always fail with ENOSYS. Some functions are actually named
47029 something starting with __ and the normal name is an alias. */
47030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47031 choke me
47032 #else
47033 char (*f) () = $ac_func;
47034 #endif
47035 #ifdef __cplusplus
47037 #endif
47040 main ()
47042 return f != $ac_func;
47044 return 0;
47046 _ACEOF
47047 rm -f conftest.$ac_objext conftest$ac_exeext
47048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47049 (eval $ac_link) 2>conftest.er1
47050 ac_status=$?
47051 grep -v '^ *+' conftest.er1 >conftest.err
47052 rm -f conftest.er1
47053 cat conftest.err >&5
47054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47055 (exit $ac_status); } &&
47056 { ac_try='test -z "$ac_c_werror_flag"
47057 || test ! -s conftest.err'
47058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47059 (eval $ac_try) 2>&5
47060 ac_status=$?
47061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47062 (exit $ac_status); }; } &&
47063 { ac_try='test -s conftest$ac_exeext'
47064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47065 (eval $ac_try) 2>&5
47066 ac_status=$?
47067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47068 (exit $ac_status); }; }; then
47069 eval "$as_ac_var=yes"
47070 else
47071 echo "$as_me: failed program was:" >&5
47072 sed 's/^/| /' conftest.$ac_ext >&5
47074 eval "$as_ac_var=no"
47076 rm -f conftest.err conftest.$ac_objext \
47077 conftest$ac_exeext conftest.$ac_ext
47079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47081 if test `eval echo '${'$as_ac_var'}'` = yes; then
47082 cat >>confdefs.h <<_ACEOF
47083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47084 _ACEOF
47087 done
47097 echo "$as_me:$LINENO: checking for powl declaration" >&5
47098 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
47099 if test x${glibcxx_cv_func_powl_use+set} != xset; then
47100 if test "${glibcxx_cv_func_powl_use+set}" = set; then
47101 echo $ECHO_N "(cached) $ECHO_C" >&6
47102 else
47106 ac_ext=cc
47107 ac_cpp='$CXXCPP $CPPFLAGS'
47108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47112 cat >conftest.$ac_ext <<_ACEOF
47113 /* confdefs.h. */
47114 _ACEOF
47115 cat confdefs.h >>conftest.$ac_ext
47116 cat >>conftest.$ac_ext <<_ACEOF
47117 /* end confdefs.h. */
47118 #include <math.h>
47120 main ()
47122 powl(0, 0);
47124 return 0;
47126 _ACEOF
47127 rm -f conftest.$ac_objext
47128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47129 (eval $ac_compile) 2>conftest.er1
47130 ac_status=$?
47131 grep -v '^ *+' conftest.er1 >conftest.err
47132 rm -f conftest.er1
47133 cat conftest.err >&5
47134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47135 (exit $ac_status); } &&
47136 { ac_try='test -z "$ac_cxx_werror_flag"
47137 || test ! -s conftest.err'
47138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47139 (eval $ac_try) 2>&5
47140 ac_status=$?
47141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47142 (exit $ac_status); }; } &&
47143 { ac_try='test -s conftest.$ac_objext'
47144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47145 (eval $ac_try) 2>&5
47146 ac_status=$?
47147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47148 (exit $ac_status); }; }; then
47149 glibcxx_cv_func_powl_use=yes
47150 else
47151 echo "$as_me: failed program was:" >&5
47152 sed 's/^/| /' conftest.$ac_ext >&5
47154 glibcxx_cv_func_powl_use=no
47156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47157 ac_ext=c
47158 ac_cpp='$CPP $CPPFLAGS'
47159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47167 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
47168 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
47170 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47172 for ac_func in powl
47174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47175 echo "$as_me:$LINENO: checking for $ac_func" >&5
47176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47177 if eval "test \"\${$as_ac_var+set}\" = set"; then
47178 echo $ECHO_N "(cached) $ECHO_C" >&6
47179 else
47180 if test x$gcc_no_link = xyes; then
47181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47183 { (exit 1); exit 1; }; }
47185 cat >conftest.$ac_ext <<_ACEOF
47186 /* confdefs.h. */
47187 _ACEOF
47188 cat confdefs.h >>conftest.$ac_ext
47189 cat >>conftest.$ac_ext <<_ACEOF
47190 /* end confdefs.h. */
47191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47193 #define $ac_func innocuous_$ac_func
47195 /* System header to define __stub macros and hopefully few prototypes,
47196 which can conflict with char $ac_func (); below.
47197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47198 <limits.h> exists even on freestanding compilers. */
47200 #ifdef __STDC__
47201 # include <limits.h>
47202 #else
47203 # include <assert.h>
47204 #endif
47206 #undef $ac_func
47208 /* Override any gcc2 internal prototype to avoid an error. */
47209 #ifdef __cplusplus
47210 extern "C"
47212 #endif
47213 /* We use char because int might match the return type of a gcc2
47214 builtin and then its argument prototype would still apply. */
47215 char $ac_func ();
47216 /* The GNU C library defines this for functions which it implements
47217 to always fail with ENOSYS. Some functions are actually named
47218 something starting with __ and the normal name is an alias. */
47219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47220 choke me
47221 #else
47222 char (*f) () = $ac_func;
47223 #endif
47224 #ifdef __cplusplus
47226 #endif
47229 main ()
47231 return f != $ac_func;
47233 return 0;
47235 _ACEOF
47236 rm -f conftest.$ac_objext conftest$ac_exeext
47237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47238 (eval $ac_link) 2>conftest.er1
47239 ac_status=$?
47240 grep -v '^ *+' conftest.er1 >conftest.err
47241 rm -f conftest.er1
47242 cat conftest.err >&5
47243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47244 (exit $ac_status); } &&
47245 { ac_try='test -z "$ac_c_werror_flag"
47246 || test ! -s conftest.err'
47247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47248 (eval $ac_try) 2>&5
47249 ac_status=$?
47250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47251 (exit $ac_status); }; } &&
47252 { ac_try='test -s conftest$ac_exeext'
47253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47254 (eval $ac_try) 2>&5
47255 ac_status=$?
47256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47257 (exit $ac_status); }; }; then
47258 eval "$as_ac_var=yes"
47259 else
47260 echo "$as_me: failed program was:" >&5
47261 sed 's/^/| /' conftest.$ac_ext >&5
47263 eval "$as_ac_var=no"
47265 rm -f conftest.err conftest.$ac_objext \
47266 conftest$ac_exeext conftest.$ac_ext
47268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47270 if test `eval echo '${'$as_ac_var'}'` = yes; then
47271 cat >>confdefs.h <<_ACEOF
47272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47273 _ACEOF
47276 done
47278 else
47280 echo "$as_me:$LINENO: checking for _powl declaration" >&5
47281 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47282 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47283 if test "${glibcxx_cv_func__powl_use+set}" = set; then
47284 echo $ECHO_N "(cached) $ECHO_C" >&6
47285 else
47289 ac_ext=cc
47290 ac_cpp='$CXXCPP $CPPFLAGS'
47291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47295 cat >conftest.$ac_ext <<_ACEOF
47296 /* confdefs.h. */
47297 _ACEOF
47298 cat confdefs.h >>conftest.$ac_ext
47299 cat >>conftest.$ac_ext <<_ACEOF
47300 /* end confdefs.h. */
47301 #include <math.h>
47303 main ()
47305 _powl(0, 0);
47307 return 0;
47309 _ACEOF
47310 rm -f conftest.$ac_objext
47311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47312 (eval $ac_compile) 2>conftest.er1
47313 ac_status=$?
47314 grep -v '^ *+' conftest.er1 >conftest.err
47315 rm -f conftest.er1
47316 cat conftest.err >&5
47317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47318 (exit $ac_status); } &&
47319 { ac_try='test -z "$ac_cxx_werror_flag"
47320 || test ! -s conftest.err'
47321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47322 (eval $ac_try) 2>&5
47323 ac_status=$?
47324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47325 (exit $ac_status); }; } &&
47326 { ac_try='test -s conftest.$ac_objext'
47327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47328 (eval $ac_try) 2>&5
47329 ac_status=$?
47330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47331 (exit $ac_status); }; }; then
47332 glibcxx_cv_func__powl_use=yes
47333 else
47334 echo "$as_me: failed program was:" >&5
47335 sed 's/^/| /' conftest.$ac_ext >&5
47337 glibcxx_cv_func__powl_use=no
47339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47340 ac_ext=c
47341 ac_cpp='$CPP $CPPFLAGS'
47342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47351 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47353 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47355 for ac_func in _powl
47357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47358 echo "$as_me:$LINENO: checking for $ac_func" >&5
47359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47360 if eval "test \"\${$as_ac_var+set}\" = set"; then
47361 echo $ECHO_N "(cached) $ECHO_C" >&6
47362 else
47363 if test x$gcc_no_link = xyes; then
47364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47366 { (exit 1); exit 1; }; }
47368 cat >conftest.$ac_ext <<_ACEOF
47369 /* confdefs.h. */
47370 _ACEOF
47371 cat confdefs.h >>conftest.$ac_ext
47372 cat >>conftest.$ac_ext <<_ACEOF
47373 /* end confdefs.h. */
47374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47376 #define $ac_func innocuous_$ac_func
47378 /* System header to define __stub macros and hopefully few prototypes,
47379 which can conflict with char $ac_func (); below.
47380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47381 <limits.h> exists even on freestanding compilers. */
47383 #ifdef __STDC__
47384 # include <limits.h>
47385 #else
47386 # include <assert.h>
47387 #endif
47389 #undef $ac_func
47391 /* Override any gcc2 internal prototype to avoid an error. */
47392 #ifdef __cplusplus
47393 extern "C"
47395 #endif
47396 /* We use char because int might match the return type of a gcc2
47397 builtin and then its argument prototype would still apply. */
47398 char $ac_func ();
47399 /* The GNU C library defines this for functions which it implements
47400 to always fail with ENOSYS. Some functions are actually named
47401 something starting with __ and the normal name is an alias. */
47402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47403 choke me
47404 #else
47405 char (*f) () = $ac_func;
47406 #endif
47407 #ifdef __cplusplus
47409 #endif
47412 main ()
47414 return f != $ac_func;
47416 return 0;
47418 _ACEOF
47419 rm -f conftest.$ac_objext conftest$ac_exeext
47420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47421 (eval $ac_link) 2>conftest.er1
47422 ac_status=$?
47423 grep -v '^ *+' conftest.er1 >conftest.err
47424 rm -f conftest.er1
47425 cat conftest.err >&5
47426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47427 (exit $ac_status); } &&
47428 { ac_try='test -z "$ac_c_werror_flag"
47429 || test ! -s conftest.err'
47430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47431 (eval $ac_try) 2>&5
47432 ac_status=$?
47433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47434 (exit $ac_status); }; } &&
47435 { ac_try='test -s conftest$ac_exeext'
47436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47437 (eval $ac_try) 2>&5
47438 ac_status=$?
47439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47440 (exit $ac_status); }; }; then
47441 eval "$as_ac_var=yes"
47442 else
47443 echo "$as_me: failed program was:" >&5
47444 sed 's/^/| /' conftest.$ac_ext >&5
47446 eval "$as_ac_var=no"
47448 rm -f conftest.err conftest.$ac_objext \
47449 conftest$ac_exeext conftest.$ac_ext
47451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47453 if test `eval echo '${'$as_ac_var'}'` = yes; then
47454 cat >>confdefs.h <<_ACEOF
47455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47456 _ACEOF
47459 done
47469 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
47470 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
47471 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47472 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
47473 echo $ECHO_N "(cached) $ECHO_C" >&6
47474 else
47478 ac_ext=cc
47479 ac_cpp='$CXXCPP $CPPFLAGS'
47480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47484 cat >conftest.$ac_ext <<_ACEOF
47485 /* confdefs.h. */
47486 _ACEOF
47487 cat confdefs.h >>conftest.$ac_ext
47488 cat >>conftest.$ac_ext <<_ACEOF
47489 /* end confdefs.h. */
47490 #include <math.h>
47491 #ifdef HAVE_IEEEFP_H
47492 #include <ieeefp.h>
47493 #endif
47496 main ()
47498 sqrtl(0);
47500 return 0;
47502 _ACEOF
47503 rm -f conftest.$ac_objext
47504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47505 (eval $ac_compile) 2>conftest.er1
47506 ac_status=$?
47507 grep -v '^ *+' conftest.er1 >conftest.err
47508 rm -f conftest.er1
47509 cat conftest.err >&5
47510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47511 (exit $ac_status); } &&
47512 { ac_try='test -z "$ac_cxx_werror_flag"
47513 || test ! -s conftest.err'
47514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47515 (eval $ac_try) 2>&5
47516 ac_status=$?
47517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47518 (exit $ac_status); }; } &&
47519 { ac_try='test -s conftest.$ac_objext'
47520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47521 (eval $ac_try) 2>&5
47522 ac_status=$?
47523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47524 (exit $ac_status); }; }; then
47525 glibcxx_cv_func_sqrtl_use=yes
47526 else
47527 echo "$as_me: failed program was:" >&5
47528 sed 's/^/| /' conftest.$ac_ext >&5
47530 glibcxx_cv_func_sqrtl_use=no
47532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47533 ac_ext=c
47534 ac_cpp='$CPP $CPPFLAGS'
47535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
47544 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
47546 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47548 for ac_func in sqrtl
47550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47551 echo "$as_me:$LINENO: checking for $ac_func" >&5
47552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47553 if eval "test \"\${$as_ac_var+set}\" = set"; then
47554 echo $ECHO_N "(cached) $ECHO_C" >&6
47555 else
47556 if test x$gcc_no_link = xyes; then
47557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47559 { (exit 1); exit 1; }; }
47561 cat >conftest.$ac_ext <<_ACEOF
47562 /* confdefs.h. */
47563 _ACEOF
47564 cat confdefs.h >>conftest.$ac_ext
47565 cat >>conftest.$ac_ext <<_ACEOF
47566 /* end confdefs.h. */
47567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47569 #define $ac_func innocuous_$ac_func
47571 /* System header to define __stub macros and hopefully few prototypes,
47572 which can conflict with char $ac_func (); below.
47573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47574 <limits.h> exists even on freestanding compilers. */
47576 #ifdef __STDC__
47577 # include <limits.h>
47578 #else
47579 # include <assert.h>
47580 #endif
47582 #undef $ac_func
47584 /* Override any gcc2 internal prototype to avoid an error. */
47585 #ifdef __cplusplus
47586 extern "C"
47588 #endif
47589 /* We use char because int might match the return type of a gcc2
47590 builtin and then its argument prototype would still apply. */
47591 char $ac_func ();
47592 /* The GNU C library defines this for functions which it implements
47593 to always fail with ENOSYS. Some functions are actually named
47594 something starting with __ and the normal name is an alias. */
47595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47596 choke me
47597 #else
47598 char (*f) () = $ac_func;
47599 #endif
47600 #ifdef __cplusplus
47602 #endif
47605 main ()
47607 return f != $ac_func;
47609 return 0;
47611 _ACEOF
47612 rm -f conftest.$ac_objext conftest$ac_exeext
47613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47614 (eval $ac_link) 2>conftest.er1
47615 ac_status=$?
47616 grep -v '^ *+' conftest.er1 >conftest.err
47617 rm -f conftest.er1
47618 cat conftest.err >&5
47619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47620 (exit $ac_status); } &&
47621 { ac_try='test -z "$ac_c_werror_flag"
47622 || test ! -s conftest.err'
47623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47624 (eval $ac_try) 2>&5
47625 ac_status=$?
47626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47627 (exit $ac_status); }; } &&
47628 { ac_try='test -s conftest$ac_exeext'
47629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47630 (eval $ac_try) 2>&5
47631 ac_status=$?
47632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47633 (exit $ac_status); }; }; then
47634 eval "$as_ac_var=yes"
47635 else
47636 echo "$as_me: failed program was:" >&5
47637 sed 's/^/| /' conftest.$ac_ext >&5
47639 eval "$as_ac_var=no"
47641 rm -f conftest.err conftest.$ac_objext \
47642 conftest$ac_exeext conftest.$ac_ext
47644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47646 if test `eval echo '${'$as_ac_var'}'` = yes; then
47647 cat >>confdefs.h <<_ACEOF
47648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47649 _ACEOF
47652 done
47654 else
47656 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
47657 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
47658 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47659 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
47660 echo $ECHO_N "(cached) $ECHO_C" >&6
47661 else
47665 ac_ext=cc
47666 ac_cpp='$CXXCPP $CPPFLAGS'
47667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47671 cat >conftest.$ac_ext <<_ACEOF
47672 /* confdefs.h. */
47673 _ACEOF
47674 cat confdefs.h >>conftest.$ac_ext
47675 cat >>conftest.$ac_ext <<_ACEOF
47676 /* end confdefs.h. */
47677 #include <math.h>
47678 #ifdef HAVE_IEEEFP_H
47679 #include <ieeefp.h>
47680 #endif
47683 main ()
47685 _sqrtl(0);
47687 return 0;
47689 _ACEOF
47690 rm -f conftest.$ac_objext
47691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47692 (eval $ac_compile) 2>conftest.er1
47693 ac_status=$?
47694 grep -v '^ *+' conftest.er1 >conftest.err
47695 rm -f conftest.er1
47696 cat conftest.err >&5
47697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47698 (exit $ac_status); } &&
47699 { ac_try='test -z "$ac_cxx_werror_flag"
47700 || test ! -s conftest.err'
47701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47702 (eval $ac_try) 2>&5
47703 ac_status=$?
47704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47705 (exit $ac_status); }; } &&
47706 { ac_try='test -s conftest.$ac_objext'
47707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47708 (eval $ac_try) 2>&5
47709 ac_status=$?
47710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47711 (exit $ac_status); }; }; then
47712 glibcxx_cv_func__sqrtl_use=yes
47713 else
47714 echo "$as_me: failed program was:" >&5
47715 sed 's/^/| /' conftest.$ac_ext >&5
47717 glibcxx_cv_func__sqrtl_use=no
47719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47720 ac_ext=c
47721 ac_cpp='$CPP $CPPFLAGS'
47722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
47731 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
47733 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47735 for ac_func in _sqrtl
47737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47738 echo "$as_me:$LINENO: checking for $ac_func" >&5
47739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47740 if eval "test \"\${$as_ac_var+set}\" = set"; then
47741 echo $ECHO_N "(cached) $ECHO_C" >&6
47742 else
47743 if test x$gcc_no_link = xyes; then
47744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47746 { (exit 1); exit 1; }; }
47748 cat >conftest.$ac_ext <<_ACEOF
47749 /* confdefs.h. */
47750 _ACEOF
47751 cat confdefs.h >>conftest.$ac_ext
47752 cat >>conftest.$ac_ext <<_ACEOF
47753 /* end confdefs.h. */
47754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47756 #define $ac_func innocuous_$ac_func
47758 /* System header to define __stub macros and hopefully few prototypes,
47759 which can conflict with char $ac_func (); below.
47760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47761 <limits.h> exists even on freestanding compilers. */
47763 #ifdef __STDC__
47764 # include <limits.h>
47765 #else
47766 # include <assert.h>
47767 #endif
47769 #undef $ac_func
47771 /* Override any gcc2 internal prototype to avoid an error. */
47772 #ifdef __cplusplus
47773 extern "C"
47775 #endif
47776 /* We use char because int might match the return type of a gcc2
47777 builtin and then its argument prototype would still apply. */
47778 char $ac_func ();
47779 /* The GNU C library defines this for functions which it implements
47780 to always fail with ENOSYS. Some functions are actually named
47781 something starting with __ and the normal name is an alias. */
47782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47783 choke me
47784 #else
47785 char (*f) () = $ac_func;
47786 #endif
47787 #ifdef __cplusplus
47789 #endif
47792 main ()
47794 return f != $ac_func;
47796 return 0;
47798 _ACEOF
47799 rm -f conftest.$ac_objext conftest$ac_exeext
47800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47801 (eval $ac_link) 2>conftest.er1
47802 ac_status=$?
47803 grep -v '^ *+' conftest.er1 >conftest.err
47804 rm -f conftest.er1
47805 cat conftest.err >&5
47806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47807 (exit $ac_status); } &&
47808 { ac_try='test -z "$ac_c_werror_flag"
47809 || test ! -s conftest.err'
47810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47811 (eval $ac_try) 2>&5
47812 ac_status=$?
47813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47814 (exit $ac_status); }; } &&
47815 { ac_try='test -s conftest$ac_exeext'
47816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47817 (eval $ac_try) 2>&5
47818 ac_status=$?
47819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47820 (exit $ac_status); }; }; then
47821 eval "$as_ac_var=yes"
47822 else
47823 echo "$as_me: failed program was:" >&5
47824 sed 's/^/| /' conftest.$ac_ext >&5
47826 eval "$as_ac_var=no"
47828 rm -f conftest.err conftest.$ac_objext \
47829 conftest$ac_exeext conftest.$ac_ext
47831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47833 if test `eval echo '${'$as_ac_var'}'` = yes; then
47834 cat >>confdefs.h <<_ACEOF
47835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47836 _ACEOF
47839 done
47849 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47850 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47851 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47852 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47853 echo $ECHO_N "(cached) $ECHO_C" >&6
47854 else
47858 ac_ext=cc
47859 ac_cpp='$CXXCPP $CPPFLAGS'
47860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47864 cat >conftest.$ac_ext <<_ACEOF
47865 /* confdefs.h. */
47866 _ACEOF
47867 cat confdefs.h >>conftest.$ac_ext
47868 cat >>conftest.$ac_ext <<_ACEOF
47869 /* end confdefs.h. */
47870 #include <math.h>
47872 main ()
47874 sincosl(0, 0, 0);
47876 return 0;
47878 _ACEOF
47879 rm -f conftest.$ac_objext
47880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47881 (eval $ac_compile) 2>conftest.er1
47882 ac_status=$?
47883 grep -v '^ *+' conftest.er1 >conftest.err
47884 rm -f conftest.er1
47885 cat conftest.err >&5
47886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47887 (exit $ac_status); } &&
47888 { ac_try='test -z "$ac_cxx_werror_flag"
47889 || test ! -s conftest.err'
47890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47891 (eval $ac_try) 2>&5
47892 ac_status=$?
47893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47894 (exit $ac_status); }; } &&
47895 { ac_try='test -s conftest.$ac_objext'
47896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47897 (eval $ac_try) 2>&5
47898 ac_status=$?
47899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47900 (exit $ac_status); }; }; then
47901 glibcxx_cv_func_sincosl_use=yes
47902 else
47903 echo "$as_me: failed program was:" >&5
47904 sed 's/^/| /' conftest.$ac_ext >&5
47906 glibcxx_cv_func_sincosl_use=no
47908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47909 ac_ext=c
47910 ac_cpp='$CPP $CPPFLAGS'
47911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47920 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47922 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47924 for ac_func in sincosl
47926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47927 echo "$as_me:$LINENO: checking for $ac_func" >&5
47928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47929 if eval "test \"\${$as_ac_var+set}\" = set"; then
47930 echo $ECHO_N "(cached) $ECHO_C" >&6
47931 else
47932 if test x$gcc_no_link = xyes; then
47933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47935 { (exit 1); exit 1; }; }
47937 cat >conftest.$ac_ext <<_ACEOF
47938 /* confdefs.h. */
47939 _ACEOF
47940 cat confdefs.h >>conftest.$ac_ext
47941 cat >>conftest.$ac_ext <<_ACEOF
47942 /* end confdefs.h. */
47943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47945 #define $ac_func innocuous_$ac_func
47947 /* System header to define __stub macros and hopefully few prototypes,
47948 which can conflict with char $ac_func (); below.
47949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47950 <limits.h> exists even on freestanding compilers. */
47952 #ifdef __STDC__
47953 # include <limits.h>
47954 #else
47955 # include <assert.h>
47956 #endif
47958 #undef $ac_func
47960 /* Override any gcc2 internal prototype to avoid an error. */
47961 #ifdef __cplusplus
47962 extern "C"
47964 #endif
47965 /* We use char because int might match the return type of a gcc2
47966 builtin and then its argument prototype would still apply. */
47967 char $ac_func ();
47968 /* The GNU C library defines this for functions which it implements
47969 to always fail with ENOSYS. Some functions are actually named
47970 something starting with __ and the normal name is an alias. */
47971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47972 choke me
47973 #else
47974 char (*f) () = $ac_func;
47975 #endif
47976 #ifdef __cplusplus
47978 #endif
47981 main ()
47983 return f != $ac_func;
47985 return 0;
47987 _ACEOF
47988 rm -f conftest.$ac_objext conftest$ac_exeext
47989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47990 (eval $ac_link) 2>conftest.er1
47991 ac_status=$?
47992 grep -v '^ *+' conftest.er1 >conftest.err
47993 rm -f conftest.er1
47994 cat conftest.err >&5
47995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47996 (exit $ac_status); } &&
47997 { ac_try='test -z "$ac_c_werror_flag"
47998 || test ! -s conftest.err'
47999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48000 (eval $ac_try) 2>&5
48001 ac_status=$?
48002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48003 (exit $ac_status); }; } &&
48004 { ac_try='test -s conftest$ac_exeext'
48005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48006 (eval $ac_try) 2>&5
48007 ac_status=$?
48008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48009 (exit $ac_status); }; }; then
48010 eval "$as_ac_var=yes"
48011 else
48012 echo "$as_me: failed program was:" >&5
48013 sed 's/^/| /' conftest.$ac_ext >&5
48015 eval "$as_ac_var=no"
48017 rm -f conftest.err conftest.$ac_objext \
48018 conftest$ac_exeext conftest.$ac_ext
48020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48022 if test `eval echo '${'$as_ac_var'}'` = yes; then
48023 cat >>confdefs.h <<_ACEOF
48024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48025 _ACEOF
48028 done
48030 else
48032 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
48033 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
48034 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48035 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
48036 echo $ECHO_N "(cached) $ECHO_C" >&6
48037 else
48041 ac_ext=cc
48042 ac_cpp='$CXXCPP $CPPFLAGS'
48043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48047 cat >conftest.$ac_ext <<_ACEOF
48048 /* confdefs.h. */
48049 _ACEOF
48050 cat confdefs.h >>conftest.$ac_ext
48051 cat >>conftest.$ac_ext <<_ACEOF
48052 /* end confdefs.h. */
48053 #include <math.h>
48055 main ()
48057 _sincosl(0, 0, 0);
48059 return 0;
48061 _ACEOF
48062 rm -f conftest.$ac_objext
48063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48064 (eval $ac_compile) 2>conftest.er1
48065 ac_status=$?
48066 grep -v '^ *+' conftest.er1 >conftest.err
48067 rm -f conftest.er1
48068 cat conftest.err >&5
48069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48070 (exit $ac_status); } &&
48071 { ac_try='test -z "$ac_cxx_werror_flag"
48072 || test ! -s conftest.err'
48073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48074 (eval $ac_try) 2>&5
48075 ac_status=$?
48076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48077 (exit $ac_status); }; } &&
48078 { ac_try='test -s conftest.$ac_objext'
48079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48080 (eval $ac_try) 2>&5
48081 ac_status=$?
48082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48083 (exit $ac_status); }; }; then
48084 glibcxx_cv_func__sincosl_use=yes
48085 else
48086 echo "$as_me: failed program was:" >&5
48087 sed 's/^/| /' conftest.$ac_ext >&5
48089 glibcxx_cv_func__sincosl_use=no
48091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48092 ac_ext=c
48093 ac_cpp='$CPP $CPPFLAGS'
48094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
48103 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
48105 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48107 for ac_func in _sincosl
48109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48110 echo "$as_me:$LINENO: checking for $ac_func" >&5
48111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48112 if eval "test \"\${$as_ac_var+set}\" = set"; then
48113 echo $ECHO_N "(cached) $ECHO_C" >&6
48114 else
48115 if test x$gcc_no_link = xyes; then
48116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48118 { (exit 1); exit 1; }; }
48120 cat >conftest.$ac_ext <<_ACEOF
48121 /* confdefs.h. */
48122 _ACEOF
48123 cat confdefs.h >>conftest.$ac_ext
48124 cat >>conftest.$ac_ext <<_ACEOF
48125 /* end confdefs.h. */
48126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48128 #define $ac_func innocuous_$ac_func
48130 /* System header to define __stub macros and hopefully few prototypes,
48131 which can conflict with char $ac_func (); below.
48132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48133 <limits.h> exists even on freestanding compilers. */
48135 #ifdef __STDC__
48136 # include <limits.h>
48137 #else
48138 # include <assert.h>
48139 #endif
48141 #undef $ac_func
48143 /* Override any gcc2 internal prototype to avoid an error. */
48144 #ifdef __cplusplus
48145 extern "C"
48147 #endif
48148 /* We use char because int might match the return type of a gcc2
48149 builtin and then its argument prototype would still apply. */
48150 char $ac_func ();
48151 /* The GNU C library defines this for functions which it implements
48152 to always fail with ENOSYS. Some functions are actually named
48153 something starting with __ and the normal name is an alias. */
48154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48155 choke me
48156 #else
48157 char (*f) () = $ac_func;
48158 #endif
48159 #ifdef __cplusplus
48161 #endif
48164 main ()
48166 return f != $ac_func;
48168 return 0;
48170 _ACEOF
48171 rm -f conftest.$ac_objext conftest$ac_exeext
48172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48173 (eval $ac_link) 2>conftest.er1
48174 ac_status=$?
48175 grep -v '^ *+' conftest.er1 >conftest.err
48176 rm -f conftest.er1
48177 cat conftest.err >&5
48178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48179 (exit $ac_status); } &&
48180 { ac_try='test -z "$ac_c_werror_flag"
48181 || test ! -s conftest.err'
48182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48183 (eval $ac_try) 2>&5
48184 ac_status=$?
48185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48186 (exit $ac_status); }; } &&
48187 { ac_try='test -s conftest$ac_exeext'
48188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48189 (eval $ac_try) 2>&5
48190 ac_status=$?
48191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48192 (exit $ac_status); }; }; then
48193 eval "$as_ac_var=yes"
48194 else
48195 echo "$as_me: failed program was:" >&5
48196 sed 's/^/| /' conftest.$ac_ext >&5
48198 eval "$as_ac_var=no"
48200 rm -f conftest.err conftest.$ac_objext \
48201 conftest$ac_exeext conftest.$ac_ext
48203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48205 if test `eval echo '${'$as_ac_var'}'` = yes; then
48206 cat >>confdefs.h <<_ACEOF
48207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48208 _ACEOF
48211 done
48221 echo "$as_me:$LINENO: checking for finitel declaration" >&5
48222 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48223 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48224 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48225 echo $ECHO_N "(cached) $ECHO_C" >&6
48226 else
48230 ac_ext=cc
48231 ac_cpp='$CXXCPP $CPPFLAGS'
48232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48236 cat >conftest.$ac_ext <<_ACEOF
48237 /* confdefs.h. */
48238 _ACEOF
48239 cat confdefs.h >>conftest.$ac_ext
48240 cat >>conftest.$ac_ext <<_ACEOF
48241 /* end confdefs.h. */
48242 #include <math.h>
48243 #ifdef HAVE_IEEEFP_H
48244 #include <ieeefp.h>
48245 #endif
48248 main ()
48250 finitel(0);
48252 return 0;
48254 _ACEOF
48255 rm -f conftest.$ac_objext
48256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48257 (eval $ac_compile) 2>conftest.er1
48258 ac_status=$?
48259 grep -v '^ *+' conftest.er1 >conftest.err
48260 rm -f conftest.er1
48261 cat conftest.err >&5
48262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48263 (exit $ac_status); } &&
48264 { ac_try='test -z "$ac_cxx_werror_flag"
48265 || test ! -s conftest.err'
48266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48267 (eval $ac_try) 2>&5
48268 ac_status=$?
48269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48270 (exit $ac_status); }; } &&
48271 { ac_try='test -s conftest.$ac_objext'
48272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48273 (eval $ac_try) 2>&5
48274 ac_status=$?
48275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48276 (exit $ac_status); }; }; then
48277 glibcxx_cv_func_finitel_use=yes
48278 else
48279 echo "$as_me: failed program was:" >&5
48280 sed 's/^/| /' conftest.$ac_ext >&5
48282 glibcxx_cv_func_finitel_use=no
48284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48285 ac_ext=c
48286 ac_cpp='$CPP $CPPFLAGS'
48287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48296 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48298 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48300 for ac_func in finitel
48302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48303 echo "$as_me:$LINENO: checking for $ac_func" >&5
48304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48305 if eval "test \"\${$as_ac_var+set}\" = set"; then
48306 echo $ECHO_N "(cached) $ECHO_C" >&6
48307 else
48308 if test x$gcc_no_link = xyes; then
48309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48311 { (exit 1); exit 1; }; }
48313 cat >conftest.$ac_ext <<_ACEOF
48314 /* confdefs.h. */
48315 _ACEOF
48316 cat confdefs.h >>conftest.$ac_ext
48317 cat >>conftest.$ac_ext <<_ACEOF
48318 /* end confdefs.h. */
48319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48321 #define $ac_func innocuous_$ac_func
48323 /* System header to define __stub macros and hopefully few prototypes,
48324 which can conflict with char $ac_func (); below.
48325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48326 <limits.h> exists even on freestanding compilers. */
48328 #ifdef __STDC__
48329 # include <limits.h>
48330 #else
48331 # include <assert.h>
48332 #endif
48334 #undef $ac_func
48336 /* Override any gcc2 internal prototype to avoid an error. */
48337 #ifdef __cplusplus
48338 extern "C"
48340 #endif
48341 /* We use char because int might match the return type of a gcc2
48342 builtin and then its argument prototype would still apply. */
48343 char $ac_func ();
48344 /* The GNU C library defines this for functions which it implements
48345 to always fail with ENOSYS. Some functions are actually named
48346 something starting with __ and the normal name is an alias. */
48347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48348 choke me
48349 #else
48350 char (*f) () = $ac_func;
48351 #endif
48352 #ifdef __cplusplus
48354 #endif
48357 main ()
48359 return f != $ac_func;
48361 return 0;
48363 _ACEOF
48364 rm -f conftest.$ac_objext conftest$ac_exeext
48365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48366 (eval $ac_link) 2>conftest.er1
48367 ac_status=$?
48368 grep -v '^ *+' conftest.er1 >conftest.err
48369 rm -f conftest.er1
48370 cat conftest.err >&5
48371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48372 (exit $ac_status); } &&
48373 { ac_try='test -z "$ac_c_werror_flag"
48374 || test ! -s conftest.err'
48375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48376 (eval $ac_try) 2>&5
48377 ac_status=$?
48378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48379 (exit $ac_status); }; } &&
48380 { ac_try='test -s conftest$ac_exeext'
48381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48382 (eval $ac_try) 2>&5
48383 ac_status=$?
48384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48385 (exit $ac_status); }; }; then
48386 eval "$as_ac_var=yes"
48387 else
48388 echo "$as_me: failed program was:" >&5
48389 sed 's/^/| /' conftest.$ac_ext >&5
48391 eval "$as_ac_var=no"
48393 rm -f conftest.err conftest.$ac_objext \
48394 conftest$ac_exeext conftest.$ac_ext
48396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48398 if test `eval echo '${'$as_ac_var'}'` = yes; then
48399 cat >>confdefs.h <<_ACEOF
48400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48401 _ACEOF
48404 done
48406 else
48408 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
48409 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
48410 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48411 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
48412 echo $ECHO_N "(cached) $ECHO_C" >&6
48413 else
48417 ac_ext=cc
48418 ac_cpp='$CXXCPP $CPPFLAGS'
48419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48423 cat >conftest.$ac_ext <<_ACEOF
48424 /* confdefs.h. */
48425 _ACEOF
48426 cat confdefs.h >>conftest.$ac_ext
48427 cat >>conftest.$ac_ext <<_ACEOF
48428 /* end confdefs.h. */
48429 #include <math.h>
48430 #ifdef HAVE_IEEEFP_H
48431 #include <ieeefp.h>
48432 #endif
48435 main ()
48437 _finitel(0);
48439 return 0;
48441 _ACEOF
48442 rm -f conftest.$ac_objext
48443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48444 (eval $ac_compile) 2>conftest.er1
48445 ac_status=$?
48446 grep -v '^ *+' conftest.er1 >conftest.err
48447 rm -f conftest.er1
48448 cat conftest.err >&5
48449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48450 (exit $ac_status); } &&
48451 { ac_try='test -z "$ac_cxx_werror_flag"
48452 || test ! -s conftest.err'
48453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48454 (eval $ac_try) 2>&5
48455 ac_status=$?
48456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48457 (exit $ac_status); }; } &&
48458 { ac_try='test -s conftest.$ac_objext'
48459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48460 (eval $ac_try) 2>&5
48461 ac_status=$?
48462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48463 (exit $ac_status); }; }; then
48464 glibcxx_cv_func__finitel_use=yes
48465 else
48466 echo "$as_me: failed program was:" >&5
48467 sed 's/^/| /' conftest.$ac_ext >&5
48469 glibcxx_cv_func__finitel_use=no
48471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48472 ac_ext=c
48473 ac_cpp='$CPP $CPPFLAGS'
48474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
48483 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
48485 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48487 for ac_func in _finitel
48489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48490 echo "$as_me:$LINENO: checking for $ac_func" >&5
48491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48492 if eval "test \"\${$as_ac_var+set}\" = set"; then
48493 echo $ECHO_N "(cached) $ECHO_C" >&6
48494 else
48495 if test x$gcc_no_link = xyes; then
48496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48498 { (exit 1); exit 1; }; }
48500 cat >conftest.$ac_ext <<_ACEOF
48501 /* confdefs.h. */
48502 _ACEOF
48503 cat confdefs.h >>conftest.$ac_ext
48504 cat >>conftest.$ac_ext <<_ACEOF
48505 /* end confdefs.h. */
48506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48508 #define $ac_func innocuous_$ac_func
48510 /* System header to define __stub macros and hopefully few prototypes,
48511 which can conflict with char $ac_func (); below.
48512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48513 <limits.h> exists even on freestanding compilers. */
48515 #ifdef __STDC__
48516 # include <limits.h>
48517 #else
48518 # include <assert.h>
48519 #endif
48521 #undef $ac_func
48523 /* Override any gcc2 internal prototype to avoid an error. */
48524 #ifdef __cplusplus
48525 extern "C"
48527 #endif
48528 /* We use char because int might match the return type of a gcc2
48529 builtin and then its argument prototype would still apply. */
48530 char $ac_func ();
48531 /* The GNU C library defines this for functions which it implements
48532 to always fail with ENOSYS. Some functions are actually named
48533 something starting with __ and the normal name is an alias. */
48534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48535 choke me
48536 #else
48537 char (*f) () = $ac_func;
48538 #endif
48539 #ifdef __cplusplus
48541 #endif
48544 main ()
48546 return f != $ac_func;
48548 return 0;
48550 _ACEOF
48551 rm -f conftest.$ac_objext conftest$ac_exeext
48552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48553 (eval $ac_link) 2>conftest.er1
48554 ac_status=$?
48555 grep -v '^ *+' conftest.er1 >conftest.err
48556 rm -f conftest.er1
48557 cat conftest.err >&5
48558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48559 (exit $ac_status); } &&
48560 { ac_try='test -z "$ac_c_werror_flag"
48561 || test ! -s conftest.err'
48562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48563 (eval $ac_try) 2>&5
48564 ac_status=$?
48565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48566 (exit $ac_status); }; } &&
48567 { ac_try='test -s conftest$ac_exeext'
48568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48569 (eval $ac_try) 2>&5
48570 ac_status=$?
48571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48572 (exit $ac_status); }; }; then
48573 eval "$as_ac_var=yes"
48574 else
48575 echo "$as_me: failed program was:" >&5
48576 sed 's/^/| /' conftest.$ac_ext >&5
48578 eval "$as_ac_var=no"
48580 rm -f conftest.err conftest.$ac_objext \
48581 conftest$ac_exeext conftest.$ac_ext
48583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48585 if test `eval echo '${'$as_ac_var'}'` = yes; then
48586 cat >>confdefs.h <<_ACEOF
48587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48588 _ACEOF
48591 done
48600 LIBS="$ac_save_LIBS"
48601 CXXFLAGS="$ac_save_CXXFLAGS"
48605 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48606 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48607 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48608 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48609 echo $ECHO_N "(cached) $ECHO_C" >&6
48610 else
48614 ac_ext=cc
48615 ac_cpp='$CXXCPP $CPPFLAGS'
48616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48620 cat >conftest.$ac_ext <<_ACEOF
48621 /* confdefs.h. */
48622 _ACEOF
48623 cat confdefs.h >>conftest.$ac_ext
48624 cat >>conftest.$ac_ext <<_ACEOF
48625 /* end confdefs.h. */
48626 #include <math.h>
48628 main ()
48630 __builtin_abs(0);
48632 return 0;
48634 _ACEOF
48635 rm -f conftest.$ac_objext
48636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48637 (eval $ac_compile) 2>conftest.er1
48638 ac_status=$?
48639 grep -v '^ *+' conftest.er1 >conftest.err
48640 rm -f conftest.er1
48641 cat conftest.err >&5
48642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48643 (exit $ac_status); } &&
48644 { ac_try='test -z "$ac_cxx_werror_flag"
48645 || test ! -s conftest.err'
48646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48647 (eval $ac_try) 2>&5
48648 ac_status=$?
48649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48650 (exit $ac_status); }; } &&
48651 { ac_try='test -s conftest.$ac_objext'
48652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48653 (eval $ac_try) 2>&5
48654 ac_status=$?
48655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48656 (exit $ac_status); }; }; then
48657 glibcxx_cv_func___builtin_abs_use=yes
48658 else
48659 echo "$as_me: failed program was:" >&5
48660 sed 's/^/| /' conftest.$ac_ext >&5
48662 glibcxx_cv_func___builtin_abs_use=no
48664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48665 ac_ext=c
48666 ac_cpp='$CPP $CPPFLAGS'
48667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48675 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48676 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48677 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48678 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48679 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48680 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48681 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48682 echo $ECHO_N "(cached) $ECHO_C" >&6
48683 else
48685 if test x$gcc_no_link = xyes; then
48686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48688 { (exit 1); exit 1; }; }
48690 cat >conftest.$ac_ext <<_ACEOF
48691 /* confdefs.h. */
48692 _ACEOF
48693 cat confdefs.h >>conftest.$ac_ext
48694 cat >>conftest.$ac_ext <<_ACEOF
48695 /* end confdefs.h. */
48696 #include <math.h>
48698 main ()
48700 __builtin_abs(0);
48702 return 0;
48704 _ACEOF
48705 rm -f conftest.$ac_objext conftest$ac_exeext
48706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48707 (eval $ac_link) 2>conftest.er1
48708 ac_status=$?
48709 grep -v '^ *+' conftest.er1 >conftest.err
48710 rm -f conftest.er1
48711 cat conftest.err >&5
48712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48713 (exit $ac_status); } &&
48714 { ac_try='test -z "$ac_c_werror_flag"
48715 || test ! -s conftest.err'
48716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48717 (eval $ac_try) 2>&5
48718 ac_status=$?
48719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48720 (exit $ac_status); }; } &&
48721 { ac_try='test -s conftest$ac_exeext'
48722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48723 (eval $ac_try) 2>&5
48724 ac_status=$?
48725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48726 (exit $ac_status); }; }; then
48727 glibcxx_cv_func___builtin_abs_link=yes
48728 else
48729 echo "$as_me: failed program was:" >&5
48730 sed 's/^/| /' conftest.$ac_ext >&5
48732 glibcxx_cv_func___builtin_abs_link=no
48734 rm -f conftest.err conftest.$ac_objext \
48735 conftest$ac_exeext conftest.$ac_ext
48740 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48741 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48743 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48745 cat >>confdefs.h <<\_ACEOF
48746 #define HAVE___BUILTIN_ABS 1
48747 _ACEOF
48754 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48755 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48756 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48757 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48758 echo $ECHO_N "(cached) $ECHO_C" >&6
48759 else
48763 ac_ext=cc
48764 ac_cpp='$CXXCPP $CPPFLAGS'
48765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48769 cat >conftest.$ac_ext <<_ACEOF
48770 /* confdefs.h. */
48771 _ACEOF
48772 cat confdefs.h >>conftest.$ac_ext
48773 cat >>conftest.$ac_ext <<_ACEOF
48774 /* end confdefs.h. */
48775 #include <math.h>
48777 main ()
48779 __builtin_fabsf(0);
48781 return 0;
48783 _ACEOF
48784 rm -f conftest.$ac_objext
48785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48786 (eval $ac_compile) 2>conftest.er1
48787 ac_status=$?
48788 grep -v '^ *+' conftest.er1 >conftest.err
48789 rm -f conftest.er1
48790 cat conftest.err >&5
48791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48792 (exit $ac_status); } &&
48793 { ac_try='test -z "$ac_cxx_werror_flag"
48794 || test ! -s conftest.err'
48795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48796 (eval $ac_try) 2>&5
48797 ac_status=$?
48798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48799 (exit $ac_status); }; } &&
48800 { ac_try='test -s conftest.$ac_objext'
48801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48802 (eval $ac_try) 2>&5
48803 ac_status=$?
48804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48805 (exit $ac_status); }; }; then
48806 glibcxx_cv_func___builtin_fabsf_use=yes
48807 else
48808 echo "$as_me: failed program was:" >&5
48809 sed 's/^/| /' conftest.$ac_ext >&5
48811 glibcxx_cv_func___builtin_fabsf_use=no
48813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48814 ac_ext=c
48815 ac_cpp='$CPP $CPPFLAGS'
48816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48824 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48825 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48826 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48827 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48828 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48829 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48830 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48831 echo $ECHO_N "(cached) $ECHO_C" >&6
48832 else
48834 if test x$gcc_no_link = xyes; then
48835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48837 { (exit 1); exit 1; }; }
48839 cat >conftest.$ac_ext <<_ACEOF
48840 /* confdefs.h. */
48841 _ACEOF
48842 cat confdefs.h >>conftest.$ac_ext
48843 cat >>conftest.$ac_ext <<_ACEOF
48844 /* end confdefs.h. */
48845 #include <math.h>
48847 main ()
48849 __builtin_fabsf(0);
48851 return 0;
48853 _ACEOF
48854 rm -f conftest.$ac_objext conftest$ac_exeext
48855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48856 (eval $ac_link) 2>conftest.er1
48857 ac_status=$?
48858 grep -v '^ *+' conftest.er1 >conftest.err
48859 rm -f conftest.er1
48860 cat conftest.err >&5
48861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48862 (exit $ac_status); } &&
48863 { ac_try='test -z "$ac_c_werror_flag"
48864 || test ! -s conftest.err'
48865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48866 (eval $ac_try) 2>&5
48867 ac_status=$?
48868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48869 (exit $ac_status); }; } &&
48870 { ac_try='test -s conftest$ac_exeext'
48871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48872 (eval $ac_try) 2>&5
48873 ac_status=$?
48874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48875 (exit $ac_status); }; }; then
48876 glibcxx_cv_func___builtin_fabsf_link=yes
48877 else
48878 echo "$as_me: failed program was:" >&5
48879 sed 's/^/| /' conftest.$ac_ext >&5
48881 glibcxx_cv_func___builtin_fabsf_link=no
48883 rm -f conftest.err conftest.$ac_objext \
48884 conftest$ac_exeext conftest.$ac_ext
48889 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48890 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48892 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48894 cat >>confdefs.h <<\_ACEOF
48895 #define HAVE___BUILTIN_FABSF 1
48896 _ACEOF
48903 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48904 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48905 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48906 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48907 echo $ECHO_N "(cached) $ECHO_C" >&6
48908 else
48912 ac_ext=cc
48913 ac_cpp='$CXXCPP $CPPFLAGS'
48914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48918 cat >conftest.$ac_ext <<_ACEOF
48919 /* confdefs.h. */
48920 _ACEOF
48921 cat confdefs.h >>conftest.$ac_ext
48922 cat >>conftest.$ac_ext <<_ACEOF
48923 /* end confdefs.h. */
48924 #include <math.h>
48926 main ()
48928 __builtin_fabs(0);
48930 return 0;
48932 _ACEOF
48933 rm -f conftest.$ac_objext
48934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48935 (eval $ac_compile) 2>conftest.er1
48936 ac_status=$?
48937 grep -v '^ *+' conftest.er1 >conftest.err
48938 rm -f conftest.er1
48939 cat conftest.err >&5
48940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48941 (exit $ac_status); } &&
48942 { ac_try='test -z "$ac_cxx_werror_flag"
48943 || test ! -s conftest.err'
48944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48945 (eval $ac_try) 2>&5
48946 ac_status=$?
48947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48948 (exit $ac_status); }; } &&
48949 { ac_try='test -s conftest.$ac_objext'
48950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48951 (eval $ac_try) 2>&5
48952 ac_status=$?
48953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48954 (exit $ac_status); }; }; then
48955 glibcxx_cv_func___builtin_fabs_use=yes
48956 else
48957 echo "$as_me: failed program was:" >&5
48958 sed 's/^/| /' conftest.$ac_ext >&5
48960 glibcxx_cv_func___builtin_fabs_use=no
48962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48963 ac_ext=c
48964 ac_cpp='$CPP $CPPFLAGS'
48965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48973 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48974 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48975 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48976 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48977 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48978 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48979 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48980 echo $ECHO_N "(cached) $ECHO_C" >&6
48981 else
48983 if test x$gcc_no_link = xyes; then
48984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48986 { (exit 1); exit 1; }; }
48988 cat >conftest.$ac_ext <<_ACEOF
48989 /* confdefs.h. */
48990 _ACEOF
48991 cat confdefs.h >>conftest.$ac_ext
48992 cat >>conftest.$ac_ext <<_ACEOF
48993 /* end confdefs.h. */
48994 #include <math.h>
48996 main ()
48998 __builtin_fabs(0);
49000 return 0;
49002 _ACEOF
49003 rm -f conftest.$ac_objext conftest$ac_exeext
49004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49005 (eval $ac_link) 2>conftest.er1
49006 ac_status=$?
49007 grep -v '^ *+' conftest.er1 >conftest.err
49008 rm -f conftest.er1
49009 cat conftest.err >&5
49010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49011 (exit $ac_status); } &&
49012 { ac_try='test -z "$ac_c_werror_flag"
49013 || test ! -s conftest.err'
49014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49015 (eval $ac_try) 2>&5
49016 ac_status=$?
49017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49018 (exit $ac_status); }; } &&
49019 { ac_try='test -s conftest$ac_exeext'
49020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49021 (eval $ac_try) 2>&5
49022 ac_status=$?
49023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49024 (exit $ac_status); }; }; then
49025 glibcxx_cv_func___builtin_fabs_link=yes
49026 else
49027 echo "$as_me: failed program was:" >&5
49028 sed 's/^/| /' conftest.$ac_ext >&5
49030 glibcxx_cv_func___builtin_fabs_link=no
49032 rm -f conftest.err conftest.$ac_objext \
49033 conftest$ac_exeext conftest.$ac_ext
49038 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
49039 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
49041 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
49043 cat >>confdefs.h <<\_ACEOF
49044 #define HAVE___BUILTIN_FABS 1
49045 _ACEOF
49052 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
49053 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
49054 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
49055 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
49056 echo $ECHO_N "(cached) $ECHO_C" >&6
49057 else
49061 ac_ext=cc
49062 ac_cpp='$CXXCPP $CPPFLAGS'
49063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49067 cat >conftest.$ac_ext <<_ACEOF
49068 /* confdefs.h. */
49069 _ACEOF
49070 cat confdefs.h >>conftest.$ac_ext
49071 cat >>conftest.$ac_ext <<_ACEOF
49072 /* end confdefs.h. */
49073 #include <math.h>
49075 main ()
49077 __builtin_fabsl(0);
49079 return 0;
49081 _ACEOF
49082 rm -f conftest.$ac_objext
49083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49084 (eval $ac_compile) 2>conftest.er1
49085 ac_status=$?
49086 grep -v '^ *+' conftest.er1 >conftest.err
49087 rm -f conftest.er1
49088 cat conftest.err >&5
49089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49090 (exit $ac_status); } &&
49091 { ac_try='test -z "$ac_cxx_werror_flag"
49092 || test ! -s conftest.err'
49093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49094 (eval $ac_try) 2>&5
49095 ac_status=$?
49096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49097 (exit $ac_status); }; } &&
49098 { ac_try='test -s conftest.$ac_objext'
49099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49100 (eval $ac_try) 2>&5
49101 ac_status=$?
49102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49103 (exit $ac_status); }; }; then
49104 glibcxx_cv_func___builtin_fabsl_use=yes
49105 else
49106 echo "$as_me: failed program was:" >&5
49107 sed 's/^/| /' conftest.$ac_ext >&5
49109 glibcxx_cv_func___builtin_fabsl_use=no
49111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49112 ac_ext=c
49113 ac_cpp='$CPP $CPPFLAGS'
49114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49122 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
49123 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
49124 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
49125 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
49126 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
49127 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
49128 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
49129 echo $ECHO_N "(cached) $ECHO_C" >&6
49130 else
49132 if test x$gcc_no_link = xyes; then
49133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49135 { (exit 1); exit 1; }; }
49137 cat >conftest.$ac_ext <<_ACEOF
49138 /* confdefs.h. */
49139 _ACEOF
49140 cat confdefs.h >>conftest.$ac_ext
49141 cat >>conftest.$ac_ext <<_ACEOF
49142 /* end confdefs.h. */
49143 #include <math.h>
49145 main ()
49147 __builtin_fabsl(0);
49149 return 0;
49151 _ACEOF
49152 rm -f conftest.$ac_objext conftest$ac_exeext
49153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49154 (eval $ac_link) 2>conftest.er1
49155 ac_status=$?
49156 grep -v '^ *+' conftest.er1 >conftest.err
49157 rm -f conftest.er1
49158 cat conftest.err >&5
49159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49160 (exit $ac_status); } &&
49161 { ac_try='test -z "$ac_c_werror_flag"
49162 || test ! -s conftest.err'
49163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49164 (eval $ac_try) 2>&5
49165 ac_status=$?
49166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49167 (exit $ac_status); }; } &&
49168 { ac_try='test -s conftest$ac_exeext'
49169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49170 (eval $ac_try) 2>&5
49171 ac_status=$?
49172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49173 (exit $ac_status); }; }; then
49174 glibcxx_cv_func___builtin_fabsl_link=yes
49175 else
49176 echo "$as_me: failed program was:" >&5
49177 sed 's/^/| /' conftest.$ac_ext >&5
49179 glibcxx_cv_func___builtin_fabsl_link=no
49181 rm -f conftest.err conftest.$ac_objext \
49182 conftest$ac_exeext conftest.$ac_ext
49187 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
49188 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
49190 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
49192 cat >>confdefs.h <<\_ACEOF
49193 #define HAVE___BUILTIN_FABSL 1
49194 _ACEOF
49201 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49202 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49203 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49204 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49205 echo $ECHO_N "(cached) $ECHO_C" >&6
49206 else
49210 ac_ext=cc
49211 ac_cpp='$CXXCPP $CPPFLAGS'
49212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49216 cat >conftest.$ac_ext <<_ACEOF
49217 /* confdefs.h. */
49218 _ACEOF
49219 cat confdefs.h >>conftest.$ac_ext
49220 cat >>conftest.$ac_ext <<_ACEOF
49221 /* end confdefs.h. */
49222 #include <math.h>
49224 main ()
49226 __builtin_labs(0);
49228 return 0;
49230 _ACEOF
49231 rm -f conftest.$ac_objext
49232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49233 (eval $ac_compile) 2>conftest.er1
49234 ac_status=$?
49235 grep -v '^ *+' conftest.er1 >conftest.err
49236 rm -f conftest.er1
49237 cat conftest.err >&5
49238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49239 (exit $ac_status); } &&
49240 { ac_try='test -z "$ac_cxx_werror_flag"
49241 || test ! -s conftest.err'
49242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49243 (eval $ac_try) 2>&5
49244 ac_status=$?
49245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49246 (exit $ac_status); }; } &&
49247 { ac_try='test -s conftest.$ac_objext'
49248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49249 (eval $ac_try) 2>&5
49250 ac_status=$?
49251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49252 (exit $ac_status); }; }; then
49253 glibcxx_cv_func___builtin_labs_use=yes
49254 else
49255 echo "$as_me: failed program was:" >&5
49256 sed 's/^/| /' conftest.$ac_ext >&5
49258 glibcxx_cv_func___builtin_labs_use=no
49260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49261 ac_ext=c
49262 ac_cpp='$CPP $CPPFLAGS'
49263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49271 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49272 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49273 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49274 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49275 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49276 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49277 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49278 echo $ECHO_N "(cached) $ECHO_C" >&6
49279 else
49281 if test x$gcc_no_link = xyes; then
49282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49284 { (exit 1); exit 1; }; }
49286 cat >conftest.$ac_ext <<_ACEOF
49287 /* confdefs.h. */
49288 _ACEOF
49289 cat confdefs.h >>conftest.$ac_ext
49290 cat >>conftest.$ac_ext <<_ACEOF
49291 /* end confdefs.h. */
49292 #include <math.h>
49294 main ()
49296 __builtin_labs(0);
49298 return 0;
49300 _ACEOF
49301 rm -f conftest.$ac_objext conftest$ac_exeext
49302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49303 (eval $ac_link) 2>conftest.er1
49304 ac_status=$?
49305 grep -v '^ *+' conftest.er1 >conftest.err
49306 rm -f conftest.er1
49307 cat conftest.err >&5
49308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49309 (exit $ac_status); } &&
49310 { ac_try='test -z "$ac_c_werror_flag"
49311 || test ! -s conftest.err'
49312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49313 (eval $ac_try) 2>&5
49314 ac_status=$?
49315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49316 (exit $ac_status); }; } &&
49317 { ac_try='test -s conftest$ac_exeext'
49318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49319 (eval $ac_try) 2>&5
49320 ac_status=$?
49321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49322 (exit $ac_status); }; }; then
49323 glibcxx_cv_func___builtin_labs_link=yes
49324 else
49325 echo "$as_me: failed program was:" >&5
49326 sed 's/^/| /' conftest.$ac_ext >&5
49328 glibcxx_cv_func___builtin_labs_link=no
49330 rm -f conftest.err conftest.$ac_objext \
49331 conftest$ac_exeext conftest.$ac_ext
49336 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49337 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49339 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49341 cat >>confdefs.h <<\_ACEOF
49342 #define HAVE___BUILTIN_LABS 1
49343 _ACEOF
49351 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49352 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49353 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49354 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49355 echo $ECHO_N "(cached) $ECHO_C" >&6
49356 else
49360 ac_ext=cc
49361 ac_cpp='$CXXCPP $CPPFLAGS'
49362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49366 cat >conftest.$ac_ext <<_ACEOF
49367 /* confdefs.h. */
49368 _ACEOF
49369 cat confdefs.h >>conftest.$ac_ext
49370 cat >>conftest.$ac_ext <<_ACEOF
49371 /* end confdefs.h. */
49372 #include <math.h>
49374 main ()
49376 __builtin_sqrtf(0);
49378 return 0;
49380 _ACEOF
49381 rm -f conftest.$ac_objext
49382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49383 (eval $ac_compile) 2>conftest.er1
49384 ac_status=$?
49385 grep -v '^ *+' conftest.er1 >conftest.err
49386 rm -f conftest.er1
49387 cat conftest.err >&5
49388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49389 (exit $ac_status); } &&
49390 { ac_try='test -z "$ac_cxx_werror_flag"
49391 || test ! -s conftest.err'
49392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49393 (eval $ac_try) 2>&5
49394 ac_status=$?
49395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49396 (exit $ac_status); }; } &&
49397 { ac_try='test -s conftest.$ac_objext'
49398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49399 (eval $ac_try) 2>&5
49400 ac_status=$?
49401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49402 (exit $ac_status); }; }; then
49403 glibcxx_cv_func___builtin_sqrtf_use=yes
49404 else
49405 echo "$as_me: failed program was:" >&5
49406 sed 's/^/| /' conftest.$ac_ext >&5
49408 glibcxx_cv_func___builtin_sqrtf_use=no
49410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49411 ac_ext=c
49412 ac_cpp='$CPP $CPPFLAGS'
49413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49421 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49422 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49423 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49424 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49425 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49426 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49427 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49428 echo $ECHO_N "(cached) $ECHO_C" >&6
49429 else
49431 if test x$gcc_no_link = xyes; then
49432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49434 { (exit 1); exit 1; }; }
49436 cat >conftest.$ac_ext <<_ACEOF
49437 /* confdefs.h. */
49438 _ACEOF
49439 cat confdefs.h >>conftest.$ac_ext
49440 cat >>conftest.$ac_ext <<_ACEOF
49441 /* end confdefs.h. */
49442 #include <math.h>
49444 main ()
49446 __builtin_sqrtf(0);
49448 return 0;
49450 _ACEOF
49451 rm -f conftest.$ac_objext conftest$ac_exeext
49452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49453 (eval $ac_link) 2>conftest.er1
49454 ac_status=$?
49455 grep -v '^ *+' conftest.er1 >conftest.err
49456 rm -f conftest.er1
49457 cat conftest.err >&5
49458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49459 (exit $ac_status); } &&
49460 { ac_try='test -z "$ac_c_werror_flag"
49461 || test ! -s conftest.err'
49462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49463 (eval $ac_try) 2>&5
49464 ac_status=$?
49465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49466 (exit $ac_status); }; } &&
49467 { ac_try='test -s conftest$ac_exeext'
49468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49469 (eval $ac_try) 2>&5
49470 ac_status=$?
49471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49472 (exit $ac_status); }; }; then
49473 glibcxx_cv_func___builtin_sqrtf_link=yes
49474 else
49475 echo "$as_me: failed program was:" >&5
49476 sed 's/^/| /' conftest.$ac_ext >&5
49478 glibcxx_cv_func___builtin_sqrtf_link=no
49480 rm -f conftest.err conftest.$ac_objext \
49481 conftest$ac_exeext conftest.$ac_ext
49486 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49487 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49489 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49491 cat >>confdefs.h <<\_ACEOF
49492 #define HAVE___BUILTIN_SQRTF 1
49493 _ACEOF
49500 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49501 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49502 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49503 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49504 echo $ECHO_N "(cached) $ECHO_C" >&6
49505 else
49509 ac_ext=cc
49510 ac_cpp='$CXXCPP $CPPFLAGS'
49511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49515 cat >conftest.$ac_ext <<_ACEOF
49516 /* confdefs.h. */
49517 _ACEOF
49518 cat confdefs.h >>conftest.$ac_ext
49519 cat >>conftest.$ac_ext <<_ACEOF
49520 /* end confdefs.h. */
49521 #include <math.h>
49523 main ()
49525 __builtin_sqrt(0);
49527 return 0;
49529 _ACEOF
49530 rm -f conftest.$ac_objext
49531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49532 (eval $ac_compile) 2>conftest.er1
49533 ac_status=$?
49534 grep -v '^ *+' conftest.er1 >conftest.err
49535 rm -f conftest.er1
49536 cat conftest.err >&5
49537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49538 (exit $ac_status); } &&
49539 { ac_try='test -z "$ac_cxx_werror_flag"
49540 || test ! -s conftest.err'
49541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49542 (eval $ac_try) 2>&5
49543 ac_status=$?
49544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49545 (exit $ac_status); }; } &&
49546 { ac_try='test -s conftest.$ac_objext'
49547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49548 (eval $ac_try) 2>&5
49549 ac_status=$?
49550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49551 (exit $ac_status); }; }; then
49552 glibcxx_cv_func___builtin_sqrt_use=yes
49553 else
49554 echo "$as_me: failed program was:" >&5
49555 sed 's/^/| /' conftest.$ac_ext >&5
49557 glibcxx_cv_func___builtin_sqrt_use=no
49559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49560 ac_ext=c
49561 ac_cpp='$CPP $CPPFLAGS'
49562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49570 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49571 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49572 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49573 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49574 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49575 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49576 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49577 echo $ECHO_N "(cached) $ECHO_C" >&6
49578 else
49580 if test x$gcc_no_link = xyes; then
49581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49583 { (exit 1); exit 1; }; }
49585 cat >conftest.$ac_ext <<_ACEOF
49586 /* confdefs.h. */
49587 _ACEOF
49588 cat confdefs.h >>conftest.$ac_ext
49589 cat >>conftest.$ac_ext <<_ACEOF
49590 /* end confdefs.h. */
49591 #include <math.h>
49593 main ()
49595 __builtin_sqrt(0);
49597 return 0;
49599 _ACEOF
49600 rm -f conftest.$ac_objext conftest$ac_exeext
49601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49602 (eval $ac_link) 2>conftest.er1
49603 ac_status=$?
49604 grep -v '^ *+' conftest.er1 >conftest.err
49605 rm -f conftest.er1
49606 cat conftest.err >&5
49607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49608 (exit $ac_status); } &&
49609 { ac_try='test -z "$ac_c_werror_flag"
49610 || test ! -s conftest.err'
49611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49612 (eval $ac_try) 2>&5
49613 ac_status=$?
49614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49615 (exit $ac_status); }; } &&
49616 { ac_try='test -s conftest$ac_exeext'
49617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49618 (eval $ac_try) 2>&5
49619 ac_status=$?
49620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49621 (exit $ac_status); }; }; then
49622 glibcxx_cv_func___builtin_sqrt_link=yes
49623 else
49624 echo "$as_me: failed program was:" >&5
49625 sed 's/^/| /' conftest.$ac_ext >&5
49627 glibcxx_cv_func___builtin_sqrt_link=no
49629 rm -f conftest.err conftest.$ac_objext \
49630 conftest$ac_exeext conftest.$ac_ext
49635 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49636 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49638 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49640 cat >>confdefs.h <<\_ACEOF
49641 #define HAVE___BUILTIN_SQRT 1
49642 _ACEOF
49649 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49650 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49651 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49652 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49653 echo $ECHO_N "(cached) $ECHO_C" >&6
49654 else
49658 ac_ext=cc
49659 ac_cpp='$CXXCPP $CPPFLAGS'
49660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49664 cat >conftest.$ac_ext <<_ACEOF
49665 /* confdefs.h. */
49666 _ACEOF
49667 cat confdefs.h >>conftest.$ac_ext
49668 cat >>conftest.$ac_ext <<_ACEOF
49669 /* end confdefs.h. */
49670 #include <math.h>
49672 main ()
49674 __builtin_sqrtl(0);
49676 return 0;
49678 _ACEOF
49679 rm -f conftest.$ac_objext
49680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49681 (eval $ac_compile) 2>conftest.er1
49682 ac_status=$?
49683 grep -v '^ *+' conftest.er1 >conftest.err
49684 rm -f conftest.er1
49685 cat conftest.err >&5
49686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49687 (exit $ac_status); } &&
49688 { ac_try='test -z "$ac_cxx_werror_flag"
49689 || test ! -s conftest.err'
49690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49691 (eval $ac_try) 2>&5
49692 ac_status=$?
49693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49694 (exit $ac_status); }; } &&
49695 { ac_try='test -s conftest.$ac_objext'
49696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49697 (eval $ac_try) 2>&5
49698 ac_status=$?
49699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49700 (exit $ac_status); }; }; then
49701 glibcxx_cv_func___builtin_sqrtl_use=yes
49702 else
49703 echo "$as_me: failed program was:" >&5
49704 sed 's/^/| /' conftest.$ac_ext >&5
49706 glibcxx_cv_func___builtin_sqrtl_use=no
49708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49709 ac_ext=c
49710 ac_cpp='$CPP $CPPFLAGS'
49711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49719 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49720 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49721 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49722 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49723 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49724 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49725 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49726 echo $ECHO_N "(cached) $ECHO_C" >&6
49727 else
49729 if test x$gcc_no_link = xyes; then
49730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49732 { (exit 1); exit 1; }; }
49734 cat >conftest.$ac_ext <<_ACEOF
49735 /* confdefs.h. */
49736 _ACEOF
49737 cat confdefs.h >>conftest.$ac_ext
49738 cat >>conftest.$ac_ext <<_ACEOF
49739 /* end confdefs.h. */
49740 #include <math.h>
49742 main ()
49744 __builtin_sqrtl(0);
49746 return 0;
49748 _ACEOF
49749 rm -f conftest.$ac_objext conftest$ac_exeext
49750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49751 (eval $ac_link) 2>conftest.er1
49752 ac_status=$?
49753 grep -v '^ *+' conftest.er1 >conftest.err
49754 rm -f conftest.er1
49755 cat conftest.err >&5
49756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49757 (exit $ac_status); } &&
49758 { ac_try='test -z "$ac_c_werror_flag"
49759 || test ! -s conftest.err'
49760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49761 (eval $ac_try) 2>&5
49762 ac_status=$?
49763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49764 (exit $ac_status); }; } &&
49765 { ac_try='test -s conftest$ac_exeext'
49766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49767 (eval $ac_try) 2>&5
49768 ac_status=$?
49769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49770 (exit $ac_status); }; }; then
49771 glibcxx_cv_func___builtin_sqrtl_link=yes
49772 else
49773 echo "$as_me: failed program was:" >&5
49774 sed 's/^/| /' conftest.$ac_ext >&5
49776 glibcxx_cv_func___builtin_sqrtl_link=no
49778 rm -f conftest.err conftest.$ac_objext \
49779 conftest$ac_exeext conftest.$ac_ext
49784 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49785 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49787 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49789 cat >>confdefs.h <<\_ACEOF
49790 #define HAVE___BUILTIN_SQRTL 1
49791 _ACEOF
49799 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49800 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49801 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49802 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49803 echo $ECHO_N "(cached) $ECHO_C" >&6
49804 else
49808 ac_ext=cc
49809 ac_cpp='$CXXCPP $CPPFLAGS'
49810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49814 cat >conftest.$ac_ext <<_ACEOF
49815 /* confdefs.h. */
49816 _ACEOF
49817 cat confdefs.h >>conftest.$ac_ext
49818 cat >>conftest.$ac_ext <<_ACEOF
49819 /* end confdefs.h. */
49820 #include <math.h>
49822 main ()
49824 __builtin_sinf(0);
49826 return 0;
49828 _ACEOF
49829 rm -f conftest.$ac_objext
49830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49831 (eval $ac_compile) 2>conftest.er1
49832 ac_status=$?
49833 grep -v '^ *+' conftest.er1 >conftest.err
49834 rm -f conftest.er1
49835 cat conftest.err >&5
49836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49837 (exit $ac_status); } &&
49838 { ac_try='test -z "$ac_cxx_werror_flag"
49839 || test ! -s conftest.err'
49840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49841 (eval $ac_try) 2>&5
49842 ac_status=$?
49843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49844 (exit $ac_status); }; } &&
49845 { ac_try='test -s conftest.$ac_objext'
49846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49847 (eval $ac_try) 2>&5
49848 ac_status=$?
49849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49850 (exit $ac_status); }; }; then
49851 glibcxx_cv_func___builtin_sinf_use=yes
49852 else
49853 echo "$as_me: failed program was:" >&5
49854 sed 's/^/| /' conftest.$ac_ext >&5
49856 glibcxx_cv_func___builtin_sinf_use=no
49858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49859 ac_ext=c
49860 ac_cpp='$CPP $CPPFLAGS'
49861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49869 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49870 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49871 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49872 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49873 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49874 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49875 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49876 echo $ECHO_N "(cached) $ECHO_C" >&6
49877 else
49879 if test x$gcc_no_link = xyes; then
49880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49882 { (exit 1); exit 1; }; }
49884 cat >conftest.$ac_ext <<_ACEOF
49885 /* confdefs.h. */
49886 _ACEOF
49887 cat confdefs.h >>conftest.$ac_ext
49888 cat >>conftest.$ac_ext <<_ACEOF
49889 /* end confdefs.h. */
49890 #include <math.h>
49892 main ()
49894 __builtin_sinf(0);
49896 return 0;
49898 _ACEOF
49899 rm -f conftest.$ac_objext conftest$ac_exeext
49900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49901 (eval $ac_link) 2>conftest.er1
49902 ac_status=$?
49903 grep -v '^ *+' conftest.er1 >conftest.err
49904 rm -f conftest.er1
49905 cat conftest.err >&5
49906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49907 (exit $ac_status); } &&
49908 { ac_try='test -z "$ac_c_werror_flag"
49909 || test ! -s conftest.err'
49910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49911 (eval $ac_try) 2>&5
49912 ac_status=$?
49913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49914 (exit $ac_status); }; } &&
49915 { ac_try='test -s conftest$ac_exeext'
49916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49917 (eval $ac_try) 2>&5
49918 ac_status=$?
49919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49920 (exit $ac_status); }; }; then
49921 glibcxx_cv_func___builtin_sinf_link=yes
49922 else
49923 echo "$as_me: failed program was:" >&5
49924 sed 's/^/| /' conftest.$ac_ext >&5
49926 glibcxx_cv_func___builtin_sinf_link=no
49928 rm -f conftest.err conftest.$ac_objext \
49929 conftest$ac_exeext conftest.$ac_ext
49934 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49935 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49937 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49939 cat >>confdefs.h <<\_ACEOF
49940 #define HAVE___BUILTIN_SINF 1
49941 _ACEOF
49948 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49949 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49950 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49951 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49952 echo $ECHO_N "(cached) $ECHO_C" >&6
49953 else
49957 ac_ext=cc
49958 ac_cpp='$CXXCPP $CPPFLAGS'
49959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49963 cat >conftest.$ac_ext <<_ACEOF
49964 /* confdefs.h. */
49965 _ACEOF
49966 cat confdefs.h >>conftest.$ac_ext
49967 cat >>conftest.$ac_ext <<_ACEOF
49968 /* end confdefs.h. */
49969 #include <math.h>
49971 main ()
49973 __builtin_sin(0);
49975 return 0;
49977 _ACEOF
49978 rm -f conftest.$ac_objext
49979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49980 (eval $ac_compile) 2>conftest.er1
49981 ac_status=$?
49982 grep -v '^ *+' conftest.er1 >conftest.err
49983 rm -f conftest.er1
49984 cat conftest.err >&5
49985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49986 (exit $ac_status); } &&
49987 { ac_try='test -z "$ac_cxx_werror_flag"
49988 || test ! -s conftest.err'
49989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49990 (eval $ac_try) 2>&5
49991 ac_status=$?
49992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49993 (exit $ac_status); }; } &&
49994 { ac_try='test -s conftest.$ac_objext'
49995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49996 (eval $ac_try) 2>&5
49997 ac_status=$?
49998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49999 (exit $ac_status); }; }; then
50000 glibcxx_cv_func___builtin_sin_use=yes
50001 else
50002 echo "$as_me: failed program was:" >&5
50003 sed 's/^/| /' conftest.$ac_ext >&5
50005 glibcxx_cv_func___builtin_sin_use=no
50007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50008 ac_ext=c
50009 ac_cpp='$CPP $CPPFLAGS'
50010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50018 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
50019 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
50020 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
50021 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
50022 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
50023 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
50024 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
50025 echo $ECHO_N "(cached) $ECHO_C" >&6
50026 else
50028 if test x$gcc_no_link = xyes; then
50029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50031 { (exit 1); exit 1; }; }
50033 cat >conftest.$ac_ext <<_ACEOF
50034 /* confdefs.h. */
50035 _ACEOF
50036 cat confdefs.h >>conftest.$ac_ext
50037 cat >>conftest.$ac_ext <<_ACEOF
50038 /* end confdefs.h. */
50039 #include <math.h>
50041 main ()
50043 __builtin_sin(0);
50045 return 0;
50047 _ACEOF
50048 rm -f conftest.$ac_objext conftest$ac_exeext
50049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50050 (eval $ac_link) 2>conftest.er1
50051 ac_status=$?
50052 grep -v '^ *+' conftest.er1 >conftest.err
50053 rm -f conftest.er1
50054 cat conftest.err >&5
50055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50056 (exit $ac_status); } &&
50057 { ac_try='test -z "$ac_c_werror_flag"
50058 || test ! -s conftest.err'
50059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50060 (eval $ac_try) 2>&5
50061 ac_status=$?
50062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50063 (exit $ac_status); }; } &&
50064 { ac_try='test -s conftest$ac_exeext'
50065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50066 (eval $ac_try) 2>&5
50067 ac_status=$?
50068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50069 (exit $ac_status); }; }; then
50070 glibcxx_cv_func___builtin_sin_link=yes
50071 else
50072 echo "$as_me: failed program was:" >&5
50073 sed 's/^/| /' conftest.$ac_ext >&5
50075 glibcxx_cv_func___builtin_sin_link=no
50077 rm -f conftest.err conftest.$ac_objext \
50078 conftest$ac_exeext conftest.$ac_ext
50083 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
50084 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
50086 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
50088 cat >>confdefs.h <<\_ACEOF
50089 #define HAVE___BUILTIN_SIN 1
50090 _ACEOF
50097 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
50098 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
50099 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
50100 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
50101 echo $ECHO_N "(cached) $ECHO_C" >&6
50102 else
50106 ac_ext=cc
50107 ac_cpp='$CXXCPP $CPPFLAGS'
50108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50112 cat >conftest.$ac_ext <<_ACEOF
50113 /* confdefs.h. */
50114 _ACEOF
50115 cat confdefs.h >>conftest.$ac_ext
50116 cat >>conftest.$ac_ext <<_ACEOF
50117 /* end confdefs.h. */
50118 #include <math.h>
50120 main ()
50122 __builtin_sinl(0);
50124 return 0;
50126 _ACEOF
50127 rm -f conftest.$ac_objext
50128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50129 (eval $ac_compile) 2>conftest.er1
50130 ac_status=$?
50131 grep -v '^ *+' conftest.er1 >conftest.err
50132 rm -f conftest.er1
50133 cat conftest.err >&5
50134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50135 (exit $ac_status); } &&
50136 { ac_try='test -z "$ac_cxx_werror_flag"
50137 || test ! -s conftest.err'
50138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50139 (eval $ac_try) 2>&5
50140 ac_status=$?
50141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50142 (exit $ac_status); }; } &&
50143 { ac_try='test -s conftest.$ac_objext'
50144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50145 (eval $ac_try) 2>&5
50146 ac_status=$?
50147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50148 (exit $ac_status); }; }; then
50149 glibcxx_cv_func___builtin_sinl_use=yes
50150 else
50151 echo "$as_me: failed program was:" >&5
50152 sed 's/^/| /' conftest.$ac_ext >&5
50154 glibcxx_cv_func___builtin_sinl_use=no
50156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50157 ac_ext=c
50158 ac_cpp='$CPP $CPPFLAGS'
50159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50167 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
50168 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
50169 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
50170 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
50171 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
50172 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
50173 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
50174 echo $ECHO_N "(cached) $ECHO_C" >&6
50175 else
50177 if test x$gcc_no_link = xyes; then
50178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50180 { (exit 1); exit 1; }; }
50182 cat >conftest.$ac_ext <<_ACEOF
50183 /* confdefs.h. */
50184 _ACEOF
50185 cat confdefs.h >>conftest.$ac_ext
50186 cat >>conftest.$ac_ext <<_ACEOF
50187 /* end confdefs.h. */
50188 #include <math.h>
50190 main ()
50192 __builtin_sinl(0);
50194 return 0;
50196 _ACEOF
50197 rm -f conftest.$ac_objext conftest$ac_exeext
50198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50199 (eval $ac_link) 2>conftest.er1
50200 ac_status=$?
50201 grep -v '^ *+' conftest.er1 >conftest.err
50202 rm -f conftest.er1
50203 cat conftest.err >&5
50204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50205 (exit $ac_status); } &&
50206 { ac_try='test -z "$ac_c_werror_flag"
50207 || test ! -s conftest.err'
50208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50209 (eval $ac_try) 2>&5
50210 ac_status=$?
50211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50212 (exit $ac_status); }; } &&
50213 { ac_try='test -s conftest$ac_exeext'
50214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50215 (eval $ac_try) 2>&5
50216 ac_status=$?
50217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50218 (exit $ac_status); }; }; then
50219 glibcxx_cv_func___builtin_sinl_link=yes
50220 else
50221 echo "$as_me: failed program was:" >&5
50222 sed 's/^/| /' conftest.$ac_ext >&5
50224 glibcxx_cv_func___builtin_sinl_link=no
50226 rm -f conftest.err conftest.$ac_objext \
50227 conftest$ac_exeext conftest.$ac_ext
50232 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50233 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50235 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50237 cat >>confdefs.h <<\_ACEOF
50238 #define HAVE___BUILTIN_SINL 1
50239 _ACEOF
50247 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50248 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50249 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50250 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50251 echo $ECHO_N "(cached) $ECHO_C" >&6
50252 else
50256 ac_ext=cc
50257 ac_cpp='$CXXCPP $CPPFLAGS'
50258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50262 cat >conftest.$ac_ext <<_ACEOF
50263 /* confdefs.h. */
50264 _ACEOF
50265 cat confdefs.h >>conftest.$ac_ext
50266 cat >>conftest.$ac_ext <<_ACEOF
50267 /* end confdefs.h. */
50268 #include <math.h>
50270 main ()
50272 __builtin_cosf(0);
50274 return 0;
50276 _ACEOF
50277 rm -f conftest.$ac_objext
50278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50279 (eval $ac_compile) 2>conftest.er1
50280 ac_status=$?
50281 grep -v '^ *+' conftest.er1 >conftest.err
50282 rm -f conftest.er1
50283 cat conftest.err >&5
50284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50285 (exit $ac_status); } &&
50286 { ac_try='test -z "$ac_cxx_werror_flag"
50287 || test ! -s conftest.err'
50288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50289 (eval $ac_try) 2>&5
50290 ac_status=$?
50291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50292 (exit $ac_status); }; } &&
50293 { ac_try='test -s conftest.$ac_objext'
50294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50295 (eval $ac_try) 2>&5
50296 ac_status=$?
50297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50298 (exit $ac_status); }; }; then
50299 glibcxx_cv_func___builtin_cosf_use=yes
50300 else
50301 echo "$as_me: failed program was:" >&5
50302 sed 's/^/| /' conftest.$ac_ext >&5
50304 glibcxx_cv_func___builtin_cosf_use=no
50306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50307 ac_ext=c
50308 ac_cpp='$CPP $CPPFLAGS'
50309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50317 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50318 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50319 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50320 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50321 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50322 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50323 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50324 echo $ECHO_N "(cached) $ECHO_C" >&6
50325 else
50327 if test x$gcc_no_link = xyes; then
50328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50330 { (exit 1); exit 1; }; }
50332 cat >conftest.$ac_ext <<_ACEOF
50333 /* confdefs.h. */
50334 _ACEOF
50335 cat confdefs.h >>conftest.$ac_ext
50336 cat >>conftest.$ac_ext <<_ACEOF
50337 /* end confdefs.h. */
50338 #include <math.h>
50340 main ()
50342 __builtin_cosf(0);
50344 return 0;
50346 _ACEOF
50347 rm -f conftest.$ac_objext conftest$ac_exeext
50348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50349 (eval $ac_link) 2>conftest.er1
50350 ac_status=$?
50351 grep -v '^ *+' conftest.er1 >conftest.err
50352 rm -f conftest.er1
50353 cat conftest.err >&5
50354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50355 (exit $ac_status); } &&
50356 { ac_try='test -z "$ac_c_werror_flag"
50357 || test ! -s conftest.err'
50358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50359 (eval $ac_try) 2>&5
50360 ac_status=$?
50361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50362 (exit $ac_status); }; } &&
50363 { ac_try='test -s conftest$ac_exeext'
50364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50365 (eval $ac_try) 2>&5
50366 ac_status=$?
50367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50368 (exit $ac_status); }; }; then
50369 glibcxx_cv_func___builtin_cosf_link=yes
50370 else
50371 echo "$as_me: failed program was:" >&5
50372 sed 's/^/| /' conftest.$ac_ext >&5
50374 glibcxx_cv_func___builtin_cosf_link=no
50376 rm -f conftest.err conftest.$ac_objext \
50377 conftest$ac_exeext conftest.$ac_ext
50382 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50383 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50385 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50387 cat >>confdefs.h <<\_ACEOF
50388 #define HAVE___BUILTIN_COSF 1
50389 _ACEOF
50396 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50397 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50398 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50399 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50400 echo $ECHO_N "(cached) $ECHO_C" >&6
50401 else
50405 ac_ext=cc
50406 ac_cpp='$CXXCPP $CPPFLAGS'
50407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50411 cat >conftest.$ac_ext <<_ACEOF
50412 /* confdefs.h. */
50413 _ACEOF
50414 cat confdefs.h >>conftest.$ac_ext
50415 cat >>conftest.$ac_ext <<_ACEOF
50416 /* end confdefs.h. */
50417 #include <math.h>
50419 main ()
50421 __builtin_cos(0);
50423 return 0;
50425 _ACEOF
50426 rm -f conftest.$ac_objext
50427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50428 (eval $ac_compile) 2>conftest.er1
50429 ac_status=$?
50430 grep -v '^ *+' conftest.er1 >conftest.err
50431 rm -f conftest.er1
50432 cat conftest.err >&5
50433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50434 (exit $ac_status); } &&
50435 { ac_try='test -z "$ac_cxx_werror_flag"
50436 || test ! -s conftest.err'
50437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50438 (eval $ac_try) 2>&5
50439 ac_status=$?
50440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50441 (exit $ac_status); }; } &&
50442 { ac_try='test -s conftest.$ac_objext'
50443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50444 (eval $ac_try) 2>&5
50445 ac_status=$?
50446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50447 (exit $ac_status); }; }; then
50448 glibcxx_cv_func___builtin_cos_use=yes
50449 else
50450 echo "$as_me: failed program was:" >&5
50451 sed 's/^/| /' conftest.$ac_ext >&5
50453 glibcxx_cv_func___builtin_cos_use=no
50455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50456 ac_ext=c
50457 ac_cpp='$CPP $CPPFLAGS'
50458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50466 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50467 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50468 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50469 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50470 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50471 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50472 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50473 echo $ECHO_N "(cached) $ECHO_C" >&6
50474 else
50476 if test x$gcc_no_link = xyes; then
50477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50479 { (exit 1); exit 1; }; }
50481 cat >conftest.$ac_ext <<_ACEOF
50482 /* confdefs.h. */
50483 _ACEOF
50484 cat confdefs.h >>conftest.$ac_ext
50485 cat >>conftest.$ac_ext <<_ACEOF
50486 /* end confdefs.h. */
50487 #include <math.h>
50489 main ()
50491 __builtin_cos(0);
50493 return 0;
50495 _ACEOF
50496 rm -f conftest.$ac_objext conftest$ac_exeext
50497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50498 (eval $ac_link) 2>conftest.er1
50499 ac_status=$?
50500 grep -v '^ *+' conftest.er1 >conftest.err
50501 rm -f conftest.er1
50502 cat conftest.err >&5
50503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50504 (exit $ac_status); } &&
50505 { ac_try='test -z "$ac_c_werror_flag"
50506 || test ! -s conftest.err'
50507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50508 (eval $ac_try) 2>&5
50509 ac_status=$?
50510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50511 (exit $ac_status); }; } &&
50512 { ac_try='test -s conftest$ac_exeext'
50513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50514 (eval $ac_try) 2>&5
50515 ac_status=$?
50516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50517 (exit $ac_status); }; }; then
50518 glibcxx_cv_func___builtin_cos_link=yes
50519 else
50520 echo "$as_me: failed program was:" >&5
50521 sed 's/^/| /' conftest.$ac_ext >&5
50523 glibcxx_cv_func___builtin_cos_link=no
50525 rm -f conftest.err conftest.$ac_objext \
50526 conftest$ac_exeext conftest.$ac_ext
50531 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50532 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50534 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50536 cat >>confdefs.h <<\_ACEOF
50537 #define HAVE___BUILTIN_COS 1
50538 _ACEOF
50545 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50546 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50547 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50548 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50549 echo $ECHO_N "(cached) $ECHO_C" >&6
50550 else
50554 ac_ext=cc
50555 ac_cpp='$CXXCPP $CPPFLAGS'
50556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50560 cat >conftest.$ac_ext <<_ACEOF
50561 /* confdefs.h. */
50562 _ACEOF
50563 cat confdefs.h >>conftest.$ac_ext
50564 cat >>conftest.$ac_ext <<_ACEOF
50565 /* end confdefs.h. */
50566 #include <math.h>
50568 main ()
50570 __builtin_cosl(0);
50572 return 0;
50574 _ACEOF
50575 rm -f conftest.$ac_objext
50576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50577 (eval $ac_compile) 2>conftest.er1
50578 ac_status=$?
50579 grep -v '^ *+' conftest.er1 >conftest.err
50580 rm -f conftest.er1
50581 cat conftest.err >&5
50582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50583 (exit $ac_status); } &&
50584 { ac_try='test -z "$ac_cxx_werror_flag"
50585 || test ! -s conftest.err'
50586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50587 (eval $ac_try) 2>&5
50588 ac_status=$?
50589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50590 (exit $ac_status); }; } &&
50591 { ac_try='test -s conftest.$ac_objext'
50592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50593 (eval $ac_try) 2>&5
50594 ac_status=$?
50595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50596 (exit $ac_status); }; }; then
50597 glibcxx_cv_func___builtin_cosl_use=yes
50598 else
50599 echo "$as_me: failed program was:" >&5
50600 sed 's/^/| /' conftest.$ac_ext >&5
50602 glibcxx_cv_func___builtin_cosl_use=no
50604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50605 ac_ext=c
50606 ac_cpp='$CPP $CPPFLAGS'
50607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50615 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50616 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50617 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50618 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50619 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50620 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50621 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50622 echo $ECHO_N "(cached) $ECHO_C" >&6
50623 else
50625 if test x$gcc_no_link = xyes; then
50626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50628 { (exit 1); exit 1; }; }
50630 cat >conftest.$ac_ext <<_ACEOF
50631 /* confdefs.h. */
50632 _ACEOF
50633 cat confdefs.h >>conftest.$ac_ext
50634 cat >>conftest.$ac_ext <<_ACEOF
50635 /* end confdefs.h. */
50636 #include <math.h>
50638 main ()
50640 __builtin_cosl(0);
50642 return 0;
50644 _ACEOF
50645 rm -f conftest.$ac_objext conftest$ac_exeext
50646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50647 (eval $ac_link) 2>conftest.er1
50648 ac_status=$?
50649 grep -v '^ *+' conftest.er1 >conftest.err
50650 rm -f conftest.er1
50651 cat conftest.err >&5
50652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50653 (exit $ac_status); } &&
50654 { ac_try='test -z "$ac_c_werror_flag"
50655 || test ! -s conftest.err'
50656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50657 (eval $ac_try) 2>&5
50658 ac_status=$?
50659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50660 (exit $ac_status); }; } &&
50661 { ac_try='test -s conftest$ac_exeext'
50662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50663 (eval $ac_try) 2>&5
50664 ac_status=$?
50665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50666 (exit $ac_status); }; }; then
50667 glibcxx_cv_func___builtin_cosl_link=yes
50668 else
50669 echo "$as_me: failed program was:" >&5
50670 sed 's/^/| /' conftest.$ac_ext >&5
50672 glibcxx_cv_func___builtin_cosl_link=no
50674 rm -f conftest.err conftest.$ac_objext \
50675 conftest$ac_exeext conftest.$ac_ext
50680 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50681 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50683 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50685 cat >>confdefs.h <<\_ACEOF
50686 #define HAVE___BUILTIN_COSL 1
50687 _ACEOF
50696 echo "$as_me:$LINENO: checking for main in -lm" >&5
50697 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50698 if test "${ac_cv_lib_m_main+set}" = set; then
50699 echo $ECHO_N "(cached) $ECHO_C" >&6
50700 else
50701 ac_check_lib_save_LIBS=$LIBS
50702 LIBS="-lm $LIBS"
50703 if test x$gcc_no_link = xyes; then
50704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50706 { (exit 1); exit 1; }; }
50708 cat >conftest.$ac_ext <<_ACEOF
50709 /* confdefs.h. */
50710 _ACEOF
50711 cat confdefs.h >>conftest.$ac_ext
50712 cat >>conftest.$ac_ext <<_ACEOF
50713 /* end confdefs.h. */
50717 main ()
50719 main ();
50721 return 0;
50723 _ACEOF
50724 rm -f conftest.$ac_objext conftest$ac_exeext
50725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50726 (eval $ac_link) 2>conftest.er1
50727 ac_status=$?
50728 grep -v '^ *+' conftest.er1 >conftest.err
50729 rm -f conftest.er1
50730 cat conftest.err >&5
50731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50732 (exit $ac_status); } &&
50733 { ac_try='test -z "$ac_c_werror_flag"
50734 || test ! -s conftest.err'
50735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50736 (eval $ac_try) 2>&5
50737 ac_status=$?
50738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50739 (exit $ac_status); }; } &&
50740 { ac_try='test -s conftest$ac_exeext'
50741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50742 (eval $ac_try) 2>&5
50743 ac_status=$?
50744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50745 (exit $ac_status); }; }; then
50746 ac_cv_lib_m_main=yes
50747 else
50748 echo "$as_me: failed program was:" >&5
50749 sed 's/^/| /' conftest.$ac_ext >&5
50751 ac_cv_lib_m_main=no
50753 rm -f conftest.err conftest.$ac_objext \
50754 conftest$ac_exeext conftest.$ac_ext
50755 LIBS=$ac_check_lib_save_LIBS
50757 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50758 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50759 if test $ac_cv_lib_m_main = yes; then
50760 cat >>confdefs.h <<_ACEOF
50761 #define HAVE_LIBM 1
50762 _ACEOF
50764 LIBS="-lm $LIBS"
50769 for ac_func in copysignf
50771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50772 echo "$as_me:$LINENO: checking for $ac_func" >&5
50773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50774 if eval "test \"\${$as_ac_var+set}\" = set"; then
50775 echo $ECHO_N "(cached) $ECHO_C" >&6
50776 else
50777 if test x$gcc_no_link = xyes; then
50778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50780 { (exit 1); exit 1; }; }
50782 cat >conftest.$ac_ext <<_ACEOF
50783 /* confdefs.h. */
50784 _ACEOF
50785 cat confdefs.h >>conftest.$ac_ext
50786 cat >>conftest.$ac_ext <<_ACEOF
50787 /* end confdefs.h. */
50788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50790 #define $ac_func innocuous_$ac_func
50792 /* System header to define __stub macros and hopefully few prototypes,
50793 which can conflict with char $ac_func (); below.
50794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50795 <limits.h> exists even on freestanding compilers. */
50797 #ifdef __STDC__
50798 # include <limits.h>
50799 #else
50800 # include <assert.h>
50801 #endif
50803 #undef $ac_func
50805 /* Override any gcc2 internal prototype to avoid an error. */
50806 #ifdef __cplusplus
50807 extern "C"
50809 #endif
50810 /* We use char because int might match the return type of a gcc2
50811 builtin and then its argument prototype would still apply. */
50812 char $ac_func ();
50813 /* The GNU C library defines this for functions which it implements
50814 to always fail with ENOSYS. Some functions are actually named
50815 something starting with __ and the normal name is an alias. */
50816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50817 choke me
50818 #else
50819 char (*f) () = $ac_func;
50820 #endif
50821 #ifdef __cplusplus
50823 #endif
50826 main ()
50828 return f != $ac_func;
50830 return 0;
50832 _ACEOF
50833 rm -f conftest.$ac_objext conftest$ac_exeext
50834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50835 (eval $ac_link) 2>conftest.er1
50836 ac_status=$?
50837 grep -v '^ *+' conftest.er1 >conftest.err
50838 rm -f conftest.er1
50839 cat conftest.err >&5
50840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50841 (exit $ac_status); } &&
50842 { ac_try='test -z "$ac_c_werror_flag"
50843 || test ! -s conftest.err'
50844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50845 (eval $ac_try) 2>&5
50846 ac_status=$?
50847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50848 (exit $ac_status); }; } &&
50849 { ac_try='test -s conftest$ac_exeext'
50850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50851 (eval $ac_try) 2>&5
50852 ac_status=$?
50853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50854 (exit $ac_status); }; }; then
50855 eval "$as_ac_var=yes"
50856 else
50857 echo "$as_me: failed program was:" >&5
50858 sed 's/^/| /' conftest.$ac_ext >&5
50860 eval "$as_ac_var=no"
50862 rm -f conftest.err conftest.$ac_objext \
50863 conftest$ac_exeext conftest.$ac_ext
50865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50867 if test `eval echo '${'$as_ac_var'}'` = yes; then
50868 cat >>confdefs.h <<_ACEOF
50869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50870 _ACEOF
50872 else
50873 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50875 done
50879 for ac_func in __signbit
50881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50882 echo "$as_me:$LINENO: checking for $ac_func" >&5
50883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50884 if eval "test \"\${$as_ac_var+set}\" = set"; then
50885 echo $ECHO_N "(cached) $ECHO_C" >&6
50886 else
50887 if test x$gcc_no_link = xyes; then
50888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50890 { (exit 1); exit 1; }; }
50892 cat >conftest.$ac_ext <<_ACEOF
50893 /* confdefs.h. */
50894 _ACEOF
50895 cat confdefs.h >>conftest.$ac_ext
50896 cat >>conftest.$ac_ext <<_ACEOF
50897 /* end confdefs.h. */
50898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50900 #define $ac_func innocuous_$ac_func
50902 /* System header to define __stub macros and hopefully few prototypes,
50903 which can conflict with char $ac_func (); below.
50904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50905 <limits.h> exists even on freestanding compilers. */
50907 #ifdef __STDC__
50908 # include <limits.h>
50909 #else
50910 # include <assert.h>
50911 #endif
50913 #undef $ac_func
50915 /* Override any gcc2 internal prototype to avoid an error. */
50916 #ifdef __cplusplus
50917 extern "C"
50919 #endif
50920 /* We use char because int might match the return type of a gcc2
50921 builtin and then its argument prototype would still apply. */
50922 char $ac_func ();
50923 /* The GNU C library defines this for functions which it implements
50924 to always fail with ENOSYS. Some functions are actually named
50925 something starting with __ and the normal name is an alias. */
50926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50927 choke me
50928 #else
50929 char (*f) () = $ac_func;
50930 #endif
50931 #ifdef __cplusplus
50933 #endif
50936 main ()
50938 return f != $ac_func;
50940 return 0;
50942 _ACEOF
50943 rm -f conftest.$ac_objext conftest$ac_exeext
50944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50945 (eval $ac_link) 2>conftest.er1
50946 ac_status=$?
50947 grep -v '^ *+' conftest.er1 >conftest.err
50948 rm -f conftest.er1
50949 cat conftest.err >&5
50950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50951 (exit $ac_status); } &&
50952 { ac_try='test -z "$ac_c_werror_flag"
50953 || test ! -s conftest.err'
50954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50955 (eval $ac_try) 2>&5
50956 ac_status=$?
50957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50958 (exit $ac_status); }; } &&
50959 { ac_try='test -s conftest$ac_exeext'
50960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50961 (eval $ac_try) 2>&5
50962 ac_status=$?
50963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50964 (exit $ac_status); }; }; then
50965 eval "$as_ac_var=yes"
50966 else
50967 echo "$as_me: failed program was:" >&5
50968 sed 's/^/| /' conftest.$ac_ext >&5
50970 eval "$as_ac_var=no"
50972 rm -f conftest.err conftest.$ac_objext \
50973 conftest$ac_exeext conftest.$ac_ext
50975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50977 if test `eval echo '${'$as_ac_var'}'` = yes; then
50978 cat >>confdefs.h <<_ACEOF
50979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50980 _ACEOF
50982 else
50983 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50985 done
50989 for ac_func in __signbitf
50991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50992 echo "$as_me:$LINENO: checking for $ac_func" >&5
50993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50994 if eval "test \"\${$as_ac_var+set}\" = set"; then
50995 echo $ECHO_N "(cached) $ECHO_C" >&6
50996 else
50997 if test x$gcc_no_link = xyes; then
50998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51000 { (exit 1); exit 1; }; }
51002 cat >conftest.$ac_ext <<_ACEOF
51003 /* confdefs.h. */
51004 _ACEOF
51005 cat confdefs.h >>conftest.$ac_ext
51006 cat >>conftest.$ac_ext <<_ACEOF
51007 /* end confdefs.h. */
51008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51010 #define $ac_func innocuous_$ac_func
51012 /* System header to define __stub macros and hopefully few prototypes,
51013 which can conflict with char $ac_func (); below.
51014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51015 <limits.h> exists even on freestanding compilers. */
51017 #ifdef __STDC__
51018 # include <limits.h>
51019 #else
51020 # include <assert.h>
51021 #endif
51023 #undef $ac_func
51025 /* Override any gcc2 internal prototype to avoid an error. */
51026 #ifdef __cplusplus
51027 extern "C"
51029 #endif
51030 /* We use char because int might match the return type of a gcc2
51031 builtin and then its argument prototype would still apply. */
51032 char $ac_func ();
51033 /* The GNU C library defines this for functions which it implements
51034 to always fail with ENOSYS. Some functions are actually named
51035 something starting with __ and the normal name is an alias. */
51036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51037 choke me
51038 #else
51039 char (*f) () = $ac_func;
51040 #endif
51041 #ifdef __cplusplus
51043 #endif
51046 main ()
51048 return f != $ac_func;
51050 return 0;
51052 _ACEOF
51053 rm -f conftest.$ac_objext conftest$ac_exeext
51054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51055 (eval $ac_link) 2>conftest.er1
51056 ac_status=$?
51057 grep -v '^ *+' conftest.er1 >conftest.err
51058 rm -f conftest.er1
51059 cat conftest.err >&5
51060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51061 (exit $ac_status); } &&
51062 { ac_try='test -z "$ac_c_werror_flag"
51063 || test ! -s conftest.err'
51064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51065 (eval $ac_try) 2>&5
51066 ac_status=$?
51067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51068 (exit $ac_status); }; } &&
51069 { ac_try='test -s conftest$ac_exeext'
51070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51071 (eval $ac_try) 2>&5
51072 ac_status=$?
51073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51074 (exit $ac_status); }; }; then
51075 eval "$as_ac_var=yes"
51076 else
51077 echo "$as_me: failed program was:" >&5
51078 sed 's/^/| /' conftest.$ac_ext >&5
51080 eval "$as_ac_var=no"
51082 rm -f conftest.err conftest.$ac_objext \
51083 conftest$ac_exeext conftest.$ac_ext
51085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51087 if test `eval echo '${'$as_ac_var'}'` = yes; then
51088 cat >>confdefs.h <<_ACEOF
51089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51090 _ACEOF
51092 else
51093 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51095 done
51098 if test x$ac_cv_func_copysignl = x"yes"; then
51100 for ac_func in __signbitl
51102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51103 echo "$as_me:$LINENO: checking for $ac_func" >&5
51104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51105 if eval "test \"\${$as_ac_var+set}\" = set"; then
51106 echo $ECHO_N "(cached) $ECHO_C" >&6
51107 else
51108 if test x$gcc_no_link = xyes; then
51109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51111 { (exit 1); exit 1; }; }
51113 cat >conftest.$ac_ext <<_ACEOF
51114 /* confdefs.h. */
51115 _ACEOF
51116 cat confdefs.h >>conftest.$ac_ext
51117 cat >>conftest.$ac_ext <<_ACEOF
51118 /* end confdefs.h. */
51119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51121 #define $ac_func innocuous_$ac_func
51123 /* System header to define __stub macros and hopefully few prototypes,
51124 which can conflict with char $ac_func (); below.
51125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51126 <limits.h> exists even on freestanding compilers. */
51128 #ifdef __STDC__
51129 # include <limits.h>
51130 #else
51131 # include <assert.h>
51132 #endif
51134 #undef $ac_func
51136 /* Override any gcc2 internal prototype to avoid an error. */
51137 #ifdef __cplusplus
51138 extern "C"
51140 #endif
51141 /* We use char because int might match the return type of a gcc2
51142 builtin and then its argument prototype would still apply. */
51143 char $ac_func ();
51144 /* The GNU C library defines this for functions which it implements
51145 to always fail with ENOSYS. Some functions are actually named
51146 something starting with __ and the normal name is an alias. */
51147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51148 choke me
51149 #else
51150 char (*f) () = $ac_func;
51151 #endif
51152 #ifdef __cplusplus
51154 #endif
51157 main ()
51159 return f != $ac_func;
51161 return 0;
51163 _ACEOF
51164 rm -f conftest.$ac_objext conftest$ac_exeext
51165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51166 (eval $ac_link) 2>conftest.er1
51167 ac_status=$?
51168 grep -v '^ *+' conftest.er1 >conftest.err
51169 rm -f conftest.er1
51170 cat conftest.err >&5
51171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51172 (exit $ac_status); } &&
51173 { ac_try='test -z "$ac_c_werror_flag"
51174 || test ! -s conftest.err'
51175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51176 (eval $ac_try) 2>&5
51177 ac_status=$?
51178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51179 (exit $ac_status); }; } &&
51180 { ac_try='test -s conftest$ac_exeext'
51181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51182 (eval $ac_try) 2>&5
51183 ac_status=$?
51184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51185 (exit $ac_status); }; }; then
51186 eval "$as_ac_var=yes"
51187 else
51188 echo "$as_me: failed program was:" >&5
51189 sed 's/^/| /' conftest.$ac_ext >&5
51191 eval "$as_ac_var=no"
51193 rm -f conftest.err conftest.$ac_objext \
51194 conftest$ac_exeext conftest.$ac_ext
51196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51198 if test `eval echo '${'$as_ac_var'}'` = yes; then
51199 cat >>confdefs.h <<_ACEOF
51200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51201 _ACEOF
51203 else
51204 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51206 done
51210 # Used in libmath/Makefile.am.
51211 if test -n "$LIBMATHOBJS"; then
51212 need_libmath=yes
51218 enable_iconv=no
51219 # Only continue checking if the ISO C99 headers exist and support is on.
51220 if test x"$enable_wchar_t" = xyes; then
51222 # Use iconv for wchar_t to char conversions. As such, check for
51223 # X/Open Portability Guide, version 2 features (XPG2).
51224 if test "${ac_cv_header_iconv_h+set}" = set; then
51225 echo "$as_me:$LINENO: checking for iconv.h" >&5
51226 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51227 if test "${ac_cv_header_iconv_h+set}" = set; then
51228 echo $ECHO_N "(cached) $ECHO_C" >&6
51230 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51231 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51232 else
51233 # Is the header compilable?
51234 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51235 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51236 cat >conftest.$ac_ext <<_ACEOF
51237 /* confdefs.h. */
51238 _ACEOF
51239 cat confdefs.h >>conftest.$ac_ext
51240 cat >>conftest.$ac_ext <<_ACEOF
51241 /* end confdefs.h. */
51242 $ac_includes_default
51243 #include <iconv.h>
51244 _ACEOF
51245 rm -f conftest.$ac_objext
51246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51247 (eval $ac_compile) 2>conftest.er1
51248 ac_status=$?
51249 grep -v '^ *+' conftest.er1 >conftest.err
51250 rm -f conftest.er1
51251 cat conftest.err >&5
51252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51253 (exit $ac_status); } &&
51254 { ac_try='test -z "$ac_c_werror_flag"
51255 || test ! -s conftest.err'
51256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51257 (eval $ac_try) 2>&5
51258 ac_status=$?
51259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51260 (exit $ac_status); }; } &&
51261 { ac_try='test -s conftest.$ac_objext'
51262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51263 (eval $ac_try) 2>&5
51264 ac_status=$?
51265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51266 (exit $ac_status); }; }; then
51267 ac_header_compiler=yes
51268 else
51269 echo "$as_me: failed program was:" >&5
51270 sed 's/^/| /' conftest.$ac_ext >&5
51272 ac_header_compiler=no
51274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51276 echo "${ECHO_T}$ac_header_compiler" >&6
51278 # Is the header present?
51279 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51280 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51281 cat >conftest.$ac_ext <<_ACEOF
51282 /* confdefs.h. */
51283 _ACEOF
51284 cat confdefs.h >>conftest.$ac_ext
51285 cat >>conftest.$ac_ext <<_ACEOF
51286 /* end confdefs.h. */
51287 #include <iconv.h>
51288 _ACEOF
51289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51291 ac_status=$?
51292 grep -v '^ *+' conftest.er1 >conftest.err
51293 rm -f conftest.er1
51294 cat conftest.err >&5
51295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51296 (exit $ac_status); } >/dev/null; then
51297 if test -s conftest.err; then
51298 ac_cpp_err=$ac_c_preproc_warn_flag
51299 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51300 else
51301 ac_cpp_err=
51303 else
51304 ac_cpp_err=yes
51306 if test -z "$ac_cpp_err"; then
51307 ac_header_preproc=yes
51308 else
51309 echo "$as_me: failed program was:" >&5
51310 sed 's/^/| /' conftest.$ac_ext >&5
51312 ac_header_preproc=no
51314 rm -f conftest.err conftest.$ac_ext
51315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51316 echo "${ECHO_T}$ac_header_preproc" >&6
51318 # So? What about this header?
51319 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51320 yes:no: )
51321 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51322 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51323 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51324 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51325 ac_header_preproc=yes
51327 no:yes:* )
51328 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51329 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51330 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51331 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51332 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51333 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51334 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51335 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51336 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51337 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51338 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51339 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51341 cat <<\_ASBOX
51342 ## ----------------------------------------- ##
51343 ## Report this to the package-unused lists. ##
51344 ## ----------------------------------------- ##
51345 _ASBOX
51347 sed "s/^/$as_me: WARNING: /" >&2
51349 esac
51350 echo "$as_me:$LINENO: checking for iconv.h" >&5
51351 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51352 if test "${ac_cv_header_iconv_h+set}" = set; then
51353 echo $ECHO_N "(cached) $ECHO_C" >&6
51354 else
51355 ac_cv_header_iconv_h=$ac_header_preproc
51357 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51358 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51361 if test $ac_cv_header_iconv_h = yes; then
51362 ac_has_iconv_h=yes
51363 else
51364 ac_has_iconv_h=no
51368 if test "${ac_cv_header_langinfo_h+set}" = set; then
51369 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51370 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51371 if test "${ac_cv_header_langinfo_h+set}" = set; then
51372 echo $ECHO_N "(cached) $ECHO_C" >&6
51374 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51375 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51376 else
51377 # Is the header compilable?
51378 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51379 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51380 cat >conftest.$ac_ext <<_ACEOF
51381 /* confdefs.h. */
51382 _ACEOF
51383 cat confdefs.h >>conftest.$ac_ext
51384 cat >>conftest.$ac_ext <<_ACEOF
51385 /* end confdefs.h. */
51386 $ac_includes_default
51387 #include <langinfo.h>
51388 _ACEOF
51389 rm -f conftest.$ac_objext
51390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51391 (eval $ac_compile) 2>conftest.er1
51392 ac_status=$?
51393 grep -v '^ *+' conftest.er1 >conftest.err
51394 rm -f conftest.er1
51395 cat conftest.err >&5
51396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51397 (exit $ac_status); } &&
51398 { ac_try='test -z "$ac_c_werror_flag"
51399 || test ! -s conftest.err'
51400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51401 (eval $ac_try) 2>&5
51402 ac_status=$?
51403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51404 (exit $ac_status); }; } &&
51405 { ac_try='test -s conftest.$ac_objext'
51406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51407 (eval $ac_try) 2>&5
51408 ac_status=$?
51409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51410 (exit $ac_status); }; }; then
51411 ac_header_compiler=yes
51412 else
51413 echo "$as_me: failed program was:" >&5
51414 sed 's/^/| /' conftest.$ac_ext >&5
51416 ac_header_compiler=no
51418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51420 echo "${ECHO_T}$ac_header_compiler" >&6
51422 # Is the header present?
51423 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51424 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51425 cat >conftest.$ac_ext <<_ACEOF
51426 /* confdefs.h. */
51427 _ACEOF
51428 cat confdefs.h >>conftest.$ac_ext
51429 cat >>conftest.$ac_ext <<_ACEOF
51430 /* end confdefs.h. */
51431 #include <langinfo.h>
51432 _ACEOF
51433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51434 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51435 ac_status=$?
51436 grep -v '^ *+' conftest.er1 >conftest.err
51437 rm -f conftest.er1
51438 cat conftest.err >&5
51439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51440 (exit $ac_status); } >/dev/null; then
51441 if test -s conftest.err; then
51442 ac_cpp_err=$ac_c_preproc_warn_flag
51443 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51444 else
51445 ac_cpp_err=
51447 else
51448 ac_cpp_err=yes
51450 if test -z "$ac_cpp_err"; then
51451 ac_header_preproc=yes
51452 else
51453 echo "$as_me: failed program was:" >&5
51454 sed 's/^/| /' conftest.$ac_ext >&5
51456 ac_header_preproc=no
51458 rm -f conftest.err conftest.$ac_ext
51459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51460 echo "${ECHO_T}$ac_header_preproc" >&6
51462 # So? What about this header?
51463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51464 yes:no: )
51465 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51466 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51467 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51468 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51469 ac_header_preproc=yes
51471 no:yes:* )
51472 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51473 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51474 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51475 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51476 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51477 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51478 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51479 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51480 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51481 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51482 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51483 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51485 cat <<\_ASBOX
51486 ## ----------------------------------------- ##
51487 ## Report this to the package-unused lists. ##
51488 ## ----------------------------------------- ##
51489 _ASBOX
51491 sed "s/^/$as_me: WARNING: /" >&2
51493 esac
51494 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51495 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51496 if test "${ac_cv_header_langinfo_h+set}" = set; then
51497 echo $ECHO_N "(cached) $ECHO_C" >&6
51498 else
51499 ac_cv_header_langinfo_h=$ac_header_preproc
51501 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51502 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51505 if test $ac_cv_header_langinfo_h = yes; then
51506 ac_has_langinfo_h=yes
51507 else
51508 ac_has_langinfo_h=no
51513 # Check for existence of libiconv.a providing XPG2 wchar_t support.
51514 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51515 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51516 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51517 echo $ECHO_N "(cached) $ECHO_C" >&6
51518 else
51519 ac_check_lib_save_LIBS=$LIBS
51520 LIBS="-liconv $LIBS"
51521 if test x$gcc_no_link = xyes; then
51522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51524 { (exit 1); exit 1; }; }
51526 cat >conftest.$ac_ext <<_ACEOF
51527 /* confdefs.h. */
51528 _ACEOF
51529 cat confdefs.h >>conftest.$ac_ext
51530 cat >>conftest.$ac_ext <<_ACEOF
51531 /* end confdefs.h. */
51533 /* Override any gcc2 internal prototype to avoid an error. */
51534 #ifdef __cplusplus
51535 extern "C"
51536 #endif
51537 /* We use char because int might match the return type of a gcc2
51538 builtin and then its argument prototype would still apply. */
51539 char iconv ();
51541 main ()
51543 iconv ();
51545 return 0;
51547 _ACEOF
51548 rm -f conftest.$ac_objext conftest$ac_exeext
51549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51550 (eval $ac_link) 2>conftest.er1
51551 ac_status=$?
51552 grep -v '^ *+' conftest.er1 >conftest.err
51553 rm -f conftest.er1
51554 cat conftest.err >&5
51555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51556 (exit $ac_status); } &&
51557 { ac_try='test -z "$ac_c_werror_flag"
51558 || test ! -s conftest.err'
51559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51560 (eval $ac_try) 2>&5
51561 ac_status=$?
51562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51563 (exit $ac_status); }; } &&
51564 { ac_try='test -s conftest$ac_exeext'
51565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51566 (eval $ac_try) 2>&5
51567 ac_status=$?
51568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51569 (exit $ac_status); }; }; then
51570 ac_cv_lib_iconv_iconv=yes
51571 else
51572 echo "$as_me: failed program was:" >&5
51573 sed 's/^/| /' conftest.$ac_ext >&5
51575 ac_cv_lib_iconv_iconv=no
51577 rm -f conftest.err conftest.$ac_objext \
51578 conftest$ac_exeext conftest.$ac_ext
51579 LIBS=$ac_check_lib_save_LIBS
51581 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51582 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51583 if test $ac_cv_lib_iconv_iconv = yes; then
51584 LIBICONV="-liconv"
51587 ac_save_LIBS="$LIBS"
51588 LIBS="$LIBS $LIBICONV"
51595 for ac_func in iconv_open iconv_close iconv nl_langinfo
51597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51598 echo "$as_me:$LINENO: checking for $ac_func" >&5
51599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51600 if eval "test \"\${$as_ac_var+set}\" = set"; then
51601 echo $ECHO_N "(cached) $ECHO_C" >&6
51602 else
51603 if test x$gcc_no_link = xyes; then
51604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51606 { (exit 1); exit 1; }; }
51608 cat >conftest.$ac_ext <<_ACEOF
51609 /* confdefs.h. */
51610 _ACEOF
51611 cat confdefs.h >>conftest.$ac_ext
51612 cat >>conftest.$ac_ext <<_ACEOF
51613 /* end confdefs.h. */
51614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51616 #define $ac_func innocuous_$ac_func
51618 /* System header to define __stub macros and hopefully few prototypes,
51619 which can conflict with char $ac_func (); below.
51620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51621 <limits.h> exists even on freestanding compilers. */
51623 #ifdef __STDC__
51624 # include <limits.h>
51625 #else
51626 # include <assert.h>
51627 #endif
51629 #undef $ac_func
51631 /* Override any gcc2 internal prototype to avoid an error. */
51632 #ifdef __cplusplus
51633 extern "C"
51635 #endif
51636 /* We use char because int might match the return type of a gcc2
51637 builtin and then its argument prototype would still apply. */
51638 char $ac_func ();
51639 /* The GNU C library defines this for functions which it implements
51640 to always fail with ENOSYS. Some functions are actually named
51641 something starting with __ and the normal name is an alias. */
51642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51643 choke me
51644 #else
51645 char (*f) () = $ac_func;
51646 #endif
51647 #ifdef __cplusplus
51649 #endif
51652 main ()
51654 return f != $ac_func;
51656 return 0;
51658 _ACEOF
51659 rm -f conftest.$ac_objext conftest$ac_exeext
51660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51661 (eval $ac_link) 2>conftest.er1
51662 ac_status=$?
51663 grep -v '^ *+' conftest.er1 >conftest.err
51664 rm -f conftest.er1
51665 cat conftest.err >&5
51666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51667 (exit $ac_status); } &&
51668 { ac_try='test -z "$ac_c_werror_flag"
51669 || test ! -s conftest.err'
51670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51671 (eval $ac_try) 2>&5
51672 ac_status=$?
51673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51674 (exit $ac_status); }; } &&
51675 { ac_try='test -s conftest$ac_exeext'
51676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51677 (eval $ac_try) 2>&5
51678 ac_status=$?
51679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51680 (exit $ac_status); }; }; then
51681 eval "$as_ac_var=yes"
51682 else
51683 echo "$as_me: failed program was:" >&5
51684 sed 's/^/| /' conftest.$ac_ext >&5
51686 eval "$as_ac_var=no"
51688 rm -f conftest.err conftest.$ac_objext \
51689 conftest$ac_exeext conftest.$ac_ext
51691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51693 if test `eval echo '${'$as_ac_var'}'` = yes; then
51694 cat >>confdefs.h <<_ACEOF
51695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51696 _ACEOF
51697 ac_XPG2funcs=yes
51698 else
51699 ac_XPG2funcs=no
51701 done
51704 LIBS="$ac_save_LIBS"
51706 if test x"$ac_has_iconv_h" = xyes &&
51707 test x"$ac_has_langinfo_h" = xyes &&
51708 test x"$ac_XPG2funcs" = xyes;
51709 then
51711 cat >>confdefs.h <<\_ACEOF
51712 #define _GLIBCXX_USE_ICONV 1
51713 _ACEOF
51715 enable_iconv=yes
51718 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51719 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51720 echo "$as_me:$LINENO: result: $enable_iconv" >&5
51721 echo "${ECHO_T}$enable_iconv" >&6
51724 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51725 ac_save_CXXFLAGS="$CXXFLAGS"
51726 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51729 echo "$as_me:$LINENO: checking for strtold declaration" >&5
51730 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51731 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51732 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51733 echo $ECHO_N "(cached) $ECHO_C" >&6
51734 else
51738 ac_ext=cc
51739 ac_cpp='$CXXCPP $CPPFLAGS'
51740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51744 cat >conftest.$ac_ext <<_ACEOF
51745 /* confdefs.h. */
51746 _ACEOF
51747 cat confdefs.h >>conftest.$ac_ext
51748 cat >>conftest.$ac_ext <<_ACEOF
51749 /* end confdefs.h. */
51750 #include <stdlib.h>
51752 main ()
51754 strtold(0, 0);
51756 return 0;
51758 _ACEOF
51759 rm -f conftest.$ac_objext
51760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51761 (eval $ac_compile) 2>conftest.er1
51762 ac_status=$?
51763 grep -v '^ *+' conftest.er1 >conftest.err
51764 rm -f conftest.er1
51765 cat conftest.err >&5
51766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51767 (exit $ac_status); } &&
51768 { ac_try='test -z "$ac_cxx_werror_flag"
51769 || test ! -s conftest.err'
51770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51771 (eval $ac_try) 2>&5
51772 ac_status=$?
51773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51774 (exit $ac_status); }; } &&
51775 { ac_try='test -s conftest.$ac_objext'
51776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51777 (eval $ac_try) 2>&5
51778 ac_status=$?
51779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51780 (exit $ac_status); }; }; then
51781 glibcxx_cv_func_strtold_use=yes
51782 else
51783 echo "$as_me: failed program was:" >&5
51784 sed 's/^/| /' conftest.$ac_ext >&5
51786 glibcxx_cv_func_strtold_use=no
51788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51789 ac_ext=c
51790 ac_cpp='$CPP $CPPFLAGS'
51791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51800 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51801 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51803 for ac_func in strtold
51805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51806 echo "$as_me:$LINENO: checking for $ac_func" >&5
51807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51808 if eval "test \"\${$as_ac_var+set}\" = set"; then
51809 echo $ECHO_N "(cached) $ECHO_C" >&6
51810 else
51811 if test x$gcc_no_link = xyes; then
51812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51814 { (exit 1); exit 1; }; }
51816 cat >conftest.$ac_ext <<_ACEOF
51817 /* confdefs.h. */
51818 _ACEOF
51819 cat confdefs.h >>conftest.$ac_ext
51820 cat >>conftest.$ac_ext <<_ACEOF
51821 /* end confdefs.h. */
51822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51824 #define $ac_func innocuous_$ac_func
51826 /* System header to define __stub macros and hopefully few prototypes,
51827 which can conflict with char $ac_func (); below.
51828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51829 <limits.h> exists even on freestanding compilers. */
51831 #ifdef __STDC__
51832 # include <limits.h>
51833 #else
51834 # include <assert.h>
51835 #endif
51837 #undef $ac_func
51839 /* Override any gcc2 internal prototype to avoid an error. */
51840 #ifdef __cplusplus
51841 extern "C"
51843 #endif
51844 /* We use char because int might match the return type of a gcc2
51845 builtin and then its argument prototype would still apply. */
51846 char $ac_func ();
51847 /* The GNU C library defines this for functions which it implements
51848 to always fail with ENOSYS. Some functions are actually named
51849 something starting with __ and the normal name is an alias. */
51850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51851 choke me
51852 #else
51853 char (*f) () = $ac_func;
51854 #endif
51855 #ifdef __cplusplus
51857 #endif
51860 main ()
51862 return f != $ac_func;
51864 return 0;
51866 _ACEOF
51867 rm -f conftest.$ac_objext conftest$ac_exeext
51868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51869 (eval $ac_link) 2>conftest.er1
51870 ac_status=$?
51871 grep -v '^ *+' conftest.er1 >conftest.err
51872 rm -f conftest.er1
51873 cat conftest.err >&5
51874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51875 (exit $ac_status); } &&
51876 { ac_try='test -z "$ac_c_werror_flag"
51877 || test ! -s conftest.err'
51878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51879 (eval $ac_try) 2>&5
51880 ac_status=$?
51881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51882 (exit $ac_status); }; } &&
51883 { ac_try='test -s conftest$ac_exeext'
51884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51885 (eval $ac_try) 2>&5
51886 ac_status=$?
51887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51888 (exit $ac_status); }; }; then
51889 eval "$as_ac_var=yes"
51890 else
51891 echo "$as_me: failed program was:" >&5
51892 sed 's/^/| /' conftest.$ac_ext >&5
51894 eval "$as_ac_var=no"
51896 rm -f conftest.err conftest.$ac_objext \
51897 conftest$ac_exeext conftest.$ac_ext
51899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51901 if test `eval echo '${'$as_ac_var'}'` = yes; then
51902 cat >>confdefs.h <<_ACEOF
51903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51904 _ACEOF
51907 done
51915 echo "$as_me:$LINENO: checking for strtof declaration" >&5
51916 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51917 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51918 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51919 echo $ECHO_N "(cached) $ECHO_C" >&6
51920 else
51924 ac_ext=cc
51925 ac_cpp='$CXXCPP $CPPFLAGS'
51926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51930 cat >conftest.$ac_ext <<_ACEOF
51931 /* confdefs.h. */
51932 _ACEOF
51933 cat confdefs.h >>conftest.$ac_ext
51934 cat >>conftest.$ac_ext <<_ACEOF
51935 /* end confdefs.h. */
51936 #include <stdlib.h>
51938 main ()
51940 strtof(0, 0);
51942 return 0;
51944 _ACEOF
51945 rm -f conftest.$ac_objext
51946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51947 (eval $ac_compile) 2>conftest.er1
51948 ac_status=$?
51949 grep -v '^ *+' conftest.er1 >conftest.err
51950 rm -f conftest.er1
51951 cat conftest.err >&5
51952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51953 (exit $ac_status); } &&
51954 { ac_try='test -z "$ac_cxx_werror_flag"
51955 || test ! -s conftest.err'
51956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51957 (eval $ac_try) 2>&5
51958 ac_status=$?
51959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51960 (exit $ac_status); }; } &&
51961 { ac_try='test -s conftest.$ac_objext'
51962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51963 (eval $ac_try) 2>&5
51964 ac_status=$?
51965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51966 (exit $ac_status); }; }; then
51967 glibcxx_cv_func_strtof_use=yes
51968 else
51969 echo "$as_me: failed program was:" >&5
51970 sed 's/^/| /' conftest.$ac_ext >&5
51972 glibcxx_cv_func_strtof_use=no
51974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51975 ac_ext=c
51976 ac_cpp='$CPP $CPPFLAGS'
51977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51986 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51987 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51989 for ac_func in strtof
51991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51992 echo "$as_me:$LINENO: checking for $ac_func" >&5
51993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51994 if eval "test \"\${$as_ac_var+set}\" = set"; then
51995 echo $ECHO_N "(cached) $ECHO_C" >&6
51996 else
51997 if test x$gcc_no_link = xyes; then
51998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52000 { (exit 1); exit 1; }; }
52002 cat >conftest.$ac_ext <<_ACEOF
52003 /* confdefs.h. */
52004 _ACEOF
52005 cat confdefs.h >>conftest.$ac_ext
52006 cat >>conftest.$ac_ext <<_ACEOF
52007 /* end confdefs.h. */
52008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52010 #define $ac_func innocuous_$ac_func
52012 /* System header to define __stub macros and hopefully few prototypes,
52013 which can conflict with char $ac_func (); below.
52014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52015 <limits.h> exists even on freestanding compilers. */
52017 #ifdef __STDC__
52018 # include <limits.h>
52019 #else
52020 # include <assert.h>
52021 #endif
52023 #undef $ac_func
52025 /* Override any gcc2 internal prototype to avoid an error. */
52026 #ifdef __cplusplus
52027 extern "C"
52029 #endif
52030 /* We use char because int might match the return type of a gcc2
52031 builtin and then its argument prototype would still apply. */
52032 char $ac_func ();
52033 /* The GNU C library defines this for functions which it implements
52034 to always fail with ENOSYS. Some functions are actually named
52035 something starting with __ and the normal name is an alias. */
52036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52037 choke me
52038 #else
52039 char (*f) () = $ac_func;
52040 #endif
52041 #ifdef __cplusplus
52043 #endif
52046 main ()
52048 return f != $ac_func;
52050 return 0;
52052 _ACEOF
52053 rm -f conftest.$ac_objext conftest$ac_exeext
52054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52055 (eval $ac_link) 2>conftest.er1
52056 ac_status=$?
52057 grep -v '^ *+' conftest.er1 >conftest.err
52058 rm -f conftest.er1
52059 cat conftest.err >&5
52060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52061 (exit $ac_status); } &&
52062 { ac_try='test -z "$ac_c_werror_flag"
52063 || test ! -s conftest.err'
52064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52065 (eval $ac_try) 2>&5
52066 ac_status=$?
52067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52068 (exit $ac_status); }; } &&
52069 { ac_try='test -s conftest$ac_exeext'
52070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52071 (eval $ac_try) 2>&5
52072 ac_status=$?
52073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52074 (exit $ac_status); }; }; then
52075 eval "$as_ac_var=yes"
52076 else
52077 echo "$as_me: failed program was:" >&5
52078 sed 's/^/| /' conftest.$ac_ext >&5
52080 eval "$as_ac_var=no"
52082 rm -f conftest.err conftest.$ac_objext \
52083 conftest$ac_exeext conftest.$ac_ext
52085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52087 if test `eval echo '${'$as_ac_var'}'` = yes; then
52088 cat >>confdefs.h <<_ACEOF
52089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52090 _ACEOF
52093 done
52101 CXXFLAGS="$ac_save_CXXFLAGS"
52104 # For showmanyc_helper().
52107 for ac_header in sys/ioctl.h sys/filio.h
52109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52111 echo "$as_me:$LINENO: checking for $ac_header" >&5
52112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52114 echo $ECHO_N "(cached) $ECHO_C" >&6
52116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52118 else
52119 # Is the header compilable?
52120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52122 cat >conftest.$ac_ext <<_ACEOF
52123 /* confdefs.h. */
52124 _ACEOF
52125 cat confdefs.h >>conftest.$ac_ext
52126 cat >>conftest.$ac_ext <<_ACEOF
52127 /* end confdefs.h. */
52128 $ac_includes_default
52129 #include <$ac_header>
52130 _ACEOF
52131 rm -f conftest.$ac_objext
52132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52133 (eval $ac_compile) 2>conftest.er1
52134 ac_status=$?
52135 grep -v '^ *+' conftest.er1 >conftest.err
52136 rm -f conftest.er1
52137 cat conftest.err >&5
52138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52139 (exit $ac_status); } &&
52140 { ac_try='test -z "$ac_c_werror_flag"
52141 || test ! -s conftest.err'
52142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52143 (eval $ac_try) 2>&5
52144 ac_status=$?
52145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52146 (exit $ac_status); }; } &&
52147 { ac_try='test -s conftest.$ac_objext'
52148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52149 (eval $ac_try) 2>&5
52150 ac_status=$?
52151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52152 (exit $ac_status); }; }; then
52153 ac_header_compiler=yes
52154 else
52155 echo "$as_me: failed program was:" >&5
52156 sed 's/^/| /' conftest.$ac_ext >&5
52158 ac_header_compiler=no
52160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52161 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52162 echo "${ECHO_T}$ac_header_compiler" >&6
52164 # Is the header present?
52165 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52167 cat >conftest.$ac_ext <<_ACEOF
52168 /* confdefs.h. */
52169 _ACEOF
52170 cat confdefs.h >>conftest.$ac_ext
52171 cat >>conftest.$ac_ext <<_ACEOF
52172 /* end confdefs.h. */
52173 #include <$ac_header>
52174 _ACEOF
52175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52176 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52177 ac_status=$?
52178 grep -v '^ *+' conftest.er1 >conftest.err
52179 rm -f conftest.er1
52180 cat conftest.err >&5
52181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52182 (exit $ac_status); } >/dev/null; then
52183 if test -s conftest.err; then
52184 ac_cpp_err=$ac_c_preproc_warn_flag
52185 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52186 else
52187 ac_cpp_err=
52189 else
52190 ac_cpp_err=yes
52192 if test -z "$ac_cpp_err"; then
52193 ac_header_preproc=yes
52194 else
52195 echo "$as_me: failed program was:" >&5
52196 sed 's/^/| /' conftest.$ac_ext >&5
52198 ac_header_preproc=no
52200 rm -f conftest.err conftest.$ac_ext
52201 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52202 echo "${ECHO_T}$ac_header_preproc" >&6
52204 # So? What about this header?
52205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52206 yes:no: )
52207 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52208 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52210 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52211 ac_header_preproc=yes
52213 no:yes:* )
52214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52218 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52219 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52220 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52221 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52224 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52225 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52227 cat <<\_ASBOX
52228 ## ----------------------------------------- ##
52229 ## Report this to the package-unused lists. ##
52230 ## ----------------------------------------- ##
52231 _ASBOX
52233 sed "s/^/$as_me: WARNING: /" >&2
52235 esac
52236 echo "$as_me:$LINENO: checking for $ac_header" >&5
52237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52239 echo $ECHO_N "(cached) $ECHO_C" >&6
52240 else
52241 eval "$as_ac_Header=\$ac_header_preproc"
52243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52248 cat >>confdefs.h <<_ACEOF
52249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52250 _ACEOF
52254 done
52257 echo "$as_me:$LINENO: checking for poll" >&5
52258 echo $ECHO_N "checking for poll... $ECHO_C" >&6
52259 if test "${glibcxx_cv_POLL+set}" = set; then
52260 echo $ECHO_N "(cached) $ECHO_C" >&6
52261 else
52263 if test x$gcc_no_link = xyes; then
52264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52266 { (exit 1); exit 1; }; }
52268 cat >conftest.$ac_ext <<_ACEOF
52269 /* confdefs.h. */
52270 _ACEOF
52271 cat confdefs.h >>conftest.$ac_ext
52272 cat >>conftest.$ac_ext <<_ACEOF
52273 /* end confdefs.h. */
52274 #include <poll.h>
52276 main ()
52278 struct pollfd pfd[1];
52279 pfd[0].events = POLLIN;
52280 poll(pfd, 1, 0);
52282 return 0;
52284 _ACEOF
52285 rm -f conftest.$ac_objext conftest$ac_exeext
52286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52287 (eval $ac_link) 2>conftest.er1
52288 ac_status=$?
52289 grep -v '^ *+' conftest.er1 >conftest.err
52290 rm -f conftest.er1
52291 cat conftest.err >&5
52292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52293 (exit $ac_status); } &&
52294 { ac_try='test -z "$ac_c_werror_flag"
52295 || test ! -s conftest.err'
52296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52297 (eval $ac_try) 2>&5
52298 ac_status=$?
52299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52300 (exit $ac_status); }; } &&
52301 { ac_try='test -s conftest$ac_exeext'
52302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52303 (eval $ac_try) 2>&5
52304 ac_status=$?
52305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52306 (exit $ac_status); }; }; then
52307 glibcxx_cv_POLL=yes
52308 else
52309 echo "$as_me: failed program was:" >&5
52310 sed 's/^/| /' conftest.$ac_ext >&5
52312 glibcxx_cv_POLL=no
52314 rm -f conftest.err conftest.$ac_objext \
52315 conftest$ac_exeext conftest.$ac_ext
52319 if test $glibcxx_cv_POLL = yes; then
52321 cat >>confdefs.h <<\_ACEOF
52322 #define HAVE_POLL 1
52323 _ACEOF
52326 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
52327 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
52330 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
52331 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
52332 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52333 echo $ECHO_N "(cached) $ECHO_C" >&6
52334 else
52336 if test x$gcc_no_link = xyes; then
52337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52339 { (exit 1); exit 1; }; }
52341 cat >conftest.$ac_ext <<_ACEOF
52342 /* confdefs.h. */
52343 _ACEOF
52344 cat confdefs.h >>conftest.$ac_ext
52345 cat >>conftest.$ac_ext <<_ACEOF
52346 /* end confdefs.h. */
52347 #include <sys/stat.h>
52349 main ()
52351 struct stat buffer;
52352 fstat(0, &buffer);
52353 S_ISREG(buffer.st_mode);
52355 return 0;
52357 _ACEOF
52358 rm -f conftest.$ac_objext conftest$ac_exeext
52359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52360 (eval $ac_link) 2>conftest.er1
52361 ac_status=$?
52362 grep -v '^ *+' conftest.er1 >conftest.err
52363 rm -f conftest.er1
52364 cat conftest.err >&5
52365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52366 (exit $ac_status); } &&
52367 { ac_try='test -z "$ac_c_werror_flag"
52368 || test ! -s conftest.err'
52369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52370 (eval $ac_try) 2>&5
52371 ac_status=$?
52372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52373 (exit $ac_status); }; } &&
52374 { ac_try='test -s conftest$ac_exeext'
52375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52376 (eval $ac_try) 2>&5
52377 ac_status=$?
52378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52379 (exit $ac_status); }; }; then
52380 glibcxx_cv_S_ISREG=yes
52381 else
52382 echo "$as_me: failed program was:" >&5
52383 sed 's/^/| /' conftest.$ac_ext >&5
52385 glibcxx_cv_S_ISREG=no
52387 rm -f conftest.err conftest.$ac_objext \
52388 conftest$ac_exeext conftest.$ac_ext
52392 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52393 echo $ECHO_N "(cached) $ECHO_C" >&6
52394 else
52396 if test x$gcc_no_link = xyes; then
52397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52399 { (exit 1); exit 1; }; }
52401 cat >conftest.$ac_ext <<_ACEOF
52402 /* confdefs.h. */
52403 _ACEOF
52404 cat confdefs.h >>conftest.$ac_ext
52405 cat >>conftest.$ac_ext <<_ACEOF
52406 /* end confdefs.h. */
52407 #include <sys/stat.h>
52409 main ()
52411 struct stat buffer;
52412 fstat(0, &buffer);
52413 S_IFREG & buffer.st_mode;
52415 return 0;
52417 _ACEOF
52418 rm -f conftest.$ac_objext conftest$ac_exeext
52419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52420 (eval $ac_link) 2>conftest.er1
52421 ac_status=$?
52422 grep -v '^ *+' conftest.er1 >conftest.err
52423 rm -f conftest.er1
52424 cat conftest.err >&5
52425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52426 (exit $ac_status); } &&
52427 { ac_try='test -z "$ac_c_werror_flag"
52428 || test ! -s conftest.err'
52429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52430 (eval $ac_try) 2>&5
52431 ac_status=$?
52432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52433 (exit $ac_status); }; } &&
52434 { ac_try='test -s conftest$ac_exeext'
52435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52436 (eval $ac_try) 2>&5
52437 ac_status=$?
52438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52439 (exit $ac_status); }; }; then
52440 glibcxx_cv_S_IFREG=yes
52441 else
52442 echo "$as_me: failed program was:" >&5
52443 sed 's/^/| /' conftest.$ac_ext >&5
52445 glibcxx_cv_S_IFREG=no
52447 rm -f conftest.err conftest.$ac_objext \
52448 conftest$ac_exeext conftest.$ac_ext
52452 res=no
52453 if test $glibcxx_cv_S_ISREG = yes; then
52455 cat >>confdefs.h <<\_ACEOF
52456 #define HAVE_S_ISREG 1
52457 _ACEOF
52459 res=S_ISREG
52460 elif test $glibcxx_cv_S_IFREG = yes; then
52462 cat >>confdefs.h <<\_ACEOF
52463 #define HAVE_S_IFREG 1
52464 _ACEOF
52466 res=S_IFREG
52468 echo "$as_me:$LINENO: result: $res" >&5
52469 echo "${ECHO_T}$res" >&6
52472 # For xsputn_2().
52474 for ac_header in sys/uio.h
52476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52478 echo "$as_me:$LINENO: checking for $ac_header" >&5
52479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52481 echo $ECHO_N "(cached) $ECHO_C" >&6
52483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52485 else
52486 # Is the header compilable?
52487 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52488 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52489 cat >conftest.$ac_ext <<_ACEOF
52490 /* confdefs.h. */
52491 _ACEOF
52492 cat confdefs.h >>conftest.$ac_ext
52493 cat >>conftest.$ac_ext <<_ACEOF
52494 /* end confdefs.h. */
52495 $ac_includes_default
52496 #include <$ac_header>
52497 _ACEOF
52498 rm -f conftest.$ac_objext
52499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52500 (eval $ac_compile) 2>conftest.er1
52501 ac_status=$?
52502 grep -v '^ *+' conftest.er1 >conftest.err
52503 rm -f conftest.er1
52504 cat conftest.err >&5
52505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52506 (exit $ac_status); } &&
52507 { ac_try='test -z "$ac_c_werror_flag"
52508 || test ! -s conftest.err'
52509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52510 (eval $ac_try) 2>&5
52511 ac_status=$?
52512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52513 (exit $ac_status); }; } &&
52514 { ac_try='test -s conftest.$ac_objext'
52515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52516 (eval $ac_try) 2>&5
52517 ac_status=$?
52518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52519 (exit $ac_status); }; }; then
52520 ac_header_compiler=yes
52521 else
52522 echo "$as_me: failed program was:" >&5
52523 sed 's/^/| /' conftest.$ac_ext >&5
52525 ac_header_compiler=no
52527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52529 echo "${ECHO_T}$ac_header_compiler" >&6
52531 # Is the header present?
52532 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52534 cat >conftest.$ac_ext <<_ACEOF
52535 /* confdefs.h. */
52536 _ACEOF
52537 cat confdefs.h >>conftest.$ac_ext
52538 cat >>conftest.$ac_ext <<_ACEOF
52539 /* end confdefs.h. */
52540 #include <$ac_header>
52541 _ACEOF
52542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52544 ac_status=$?
52545 grep -v '^ *+' conftest.er1 >conftest.err
52546 rm -f conftest.er1
52547 cat conftest.err >&5
52548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52549 (exit $ac_status); } >/dev/null; then
52550 if test -s conftest.err; then
52551 ac_cpp_err=$ac_c_preproc_warn_flag
52552 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52553 else
52554 ac_cpp_err=
52556 else
52557 ac_cpp_err=yes
52559 if test -z "$ac_cpp_err"; then
52560 ac_header_preproc=yes
52561 else
52562 echo "$as_me: failed program was:" >&5
52563 sed 's/^/| /' conftest.$ac_ext >&5
52565 ac_header_preproc=no
52567 rm -f conftest.err conftest.$ac_ext
52568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52569 echo "${ECHO_T}$ac_header_preproc" >&6
52571 # So? What about this header?
52572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52573 yes:no: )
52574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52577 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52578 ac_header_preproc=yes
52580 no:yes:* )
52581 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52583 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52584 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52585 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52586 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52587 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52588 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52591 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52592 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52594 cat <<\_ASBOX
52595 ## ----------------------------------------- ##
52596 ## Report this to the package-unused lists. ##
52597 ## ----------------------------------------- ##
52598 _ASBOX
52600 sed "s/^/$as_me: WARNING: /" >&2
52602 esac
52603 echo "$as_me:$LINENO: checking for $ac_header" >&5
52604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52606 echo $ECHO_N "(cached) $ECHO_C" >&6
52607 else
52608 eval "$as_ac_Header=\$ac_header_preproc"
52610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52615 cat >>confdefs.h <<_ACEOF
52616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52617 _ACEOF
52621 done
52624 echo "$as_me:$LINENO: checking for writev" >&5
52625 echo $ECHO_N "checking for writev... $ECHO_C" >&6
52626 if test "${glibcxx_cv_WRITEV+set}" = set; then
52627 echo $ECHO_N "(cached) $ECHO_C" >&6
52628 else
52630 if test x$gcc_no_link = xyes; then
52631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52633 { (exit 1); exit 1; }; }
52635 cat >conftest.$ac_ext <<_ACEOF
52636 /* confdefs.h. */
52637 _ACEOF
52638 cat confdefs.h >>conftest.$ac_ext
52639 cat >>conftest.$ac_ext <<_ACEOF
52640 /* end confdefs.h. */
52641 #include <sys/uio.h>
52643 main ()
52645 struct iovec iov[2];
52646 writev(0, iov, 0);
52648 return 0;
52650 _ACEOF
52651 rm -f conftest.$ac_objext conftest$ac_exeext
52652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52653 (eval $ac_link) 2>conftest.er1
52654 ac_status=$?
52655 grep -v '^ *+' conftest.er1 >conftest.err
52656 rm -f conftest.er1
52657 cat conftest.err >&5
52658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52659 (exit $ac_status); } &&
52660 { ac_try='test -z "$ac_c_werror_flag"
52661 || test ! -s conftest.err'
52662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52663 (eval $ac_try) 2>&5
52664 ac_status=$?
52665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52666 (exit $ac_status); }; } &&
52667 { ac_try='test -s conftest$ac_exeext'
52668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52669 (eval $ac_try) 2>&5
52670 ac_status=$?
52671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52672 (exit $ac_status); }; }; then
52673 glibcxx_cv_WRITEV=yes
52674 else
52675 echo "$as_me: failed program was:" >&5
52676 sed 's/^/| /' conftest.$ac_ext >&5
52678 glibcxx_cv_WRITEV=no
52680 rm -f conftest.err conftest.$ac_objext \
52681 conftest$ac_exeext conftest.$ac_ext
52685 if test $glibcxx_cv_WRITEV = yes; then
52687 cat >>confdefs.h <<\_ACEOF
52688 #define HAVE_WRITEV 1
52689 _ACEOF
52692 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
52693 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
52696 cat >>confdefs.h <<\_ACEOF
52697 #define HAVE_LC_MESSAGES 1
52698 _ACEOF
52701 cat >conftest.$ac_ext <<_ACEOF
52702 /* confdefs.h. */
52703 _ACEOF
52704 cat confdefs.h >>conftest.$ac_ext
52705 cat >>conftest.$ac_ext <<_ACEOF
52706 /* end confdefs.h. */
52707 #include <setjmp.h>
52709 main ()
52711 sigjmp_buf env;
52712 while (! sigsetjmp (env, 1))
52713 siglongjmp (env, 1);
52716 return 0;
52718 _ACEOF
52719 rm -f conftest.$ac_objext
52720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52721 (eval $ac_compile) 2>conftest.er1
52722 ac_status=$?
52723 grep -v '^ *+' conftest.er1 >conftest.err
52724 rm -f conftest.er1
52725 cat conftest.err >&5
52726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52727 (exit $ac_status); } &&
52728 { ac_try='test -z "$ac_c_werror_flag"
52729 || test ! -s conftest.err'
52730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52731 (eval $ac_try) 2>&5
52732 ac_status=$?
52733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52734 (exit $ac_status); }; } &&
52735 { ac_try='test -s conftest.$ac_objext'
52736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52737 (eval $ac_try) 2>&5
52738 ac_status=$?
52739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52740 (exit $ac_status); }; }; then
52742 cat >>confdefs.h <<\_ACEOF
52743 #define HAVE_SIGSETJMP 1
52744 _ACEOF
52746 else
52747 echo "$as_me: failed program was:" >&5
52748 sed 's/^/| /' conftest.$ac_ext >&5
52751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52753 cat >>confdefs.h <<\_ACEOF
52754 #define HAVE_MMAP 1
52755 _ACEOF
52759 *djgpp)
52780 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52781 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52782 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52783 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52787 echo "$as_me:$LINENO: checking for $ac_header" >&5
52788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52790 echo $ECHO_N "(cached) $ECHO_C" >&6
52792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52794 else
52795 # Is the header compilable?
52796 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52798 cat >conftest.$ac_ext <<_ACEOF
52799 /* confdefs.h. */
52800 _ACEOF
52801 cat confdefs.h >>conftest.$ac_ext
52802 cat >>conftest.$ac_ext <<_ACEOF
52803 /* end confdefs.h. */
52804 $ac_includes_default
52805 #include <$ac_header>
52806 _ACEOF
52807 rm -f conftest.$ac_objext
52808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52809 (eval $ac_compile) 2>conftest.er1
52810 ac_status=$?
52811 grep -v '^ *+' conftest.er1 >conftest.err
52812 rm -f conftest.er1
52813 cat conftest.err >&5
52814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52815 (exit $ac_status); } &&
52816 { ac_try='test -z "$ac_c_werror_flag"
52817 || test ! -s conftest.err'
52818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52819 (eval $ac_try) 2>&5
52820 ac_status=$?
52821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52822 (exit $ac_status); }; } &&
52823 { ac_try='test -s conftest.$ac_objext'
52824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52825 (eval $ac_try) 2>&5
52826 ac_status=$?
52827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52828 (exit $ac_status); }; }; then
52829 ac_header_compiler=yes
52830 else
52831 echo "$as_me: failed program was:" >&5
52832 sed 's/^/| /' conftest.$ac_ext >&5
52834 ac_header_compiler=no
52836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52838 echo "${ECHO_T}$ac_header_compiler" >&6
52840 # Is the header present?
52841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52843 cat >conftest.$ac_ext <<_ACEOF
52844 /* confdefs.h. */
52845 _ACEOF
52846 cat confdefs.h >>conftest.$ac_ext
52847 cat >>conftest.$ac_ext <<_ACEOF
52848 /* end confdefs.h. */
52849 #include <$ac_header>
52850 _ACEOF
52851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52853 ac_status=$?
52854 grep -v '^ *+' conftest.er1 >conftest.err
52855 rm -f conftest.er1
52856 cat conftest.err >&5
52857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52858 (exit $ac_status); } >/dev/null; then
52859 if test -s conftest.err; then
52860 ac_cpp_err=$ac_c_preproc_warn_flag
52861 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52862 else
52863 ac_cpp_err=
52865 else
52866 ac_cpp_err=yes
52868 if test -z "$ac_cpp_err"; then
52869 ac_header_preproc=yes
52870 else
52871 echo "$as_me: failed program was:" >&5
52872 sed 's/^/| /' conftest.$ac_ext >&5
52874 ac_header_preproc=no
52876 rm -f conftest.err conftest.$ac_ext
52877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52878 echo "${ECHO_T}$ac_header_preproc" >&6
52880 # So? What about this header?
52881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52882 yes:no: )
52883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52886 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52887 ac_header_preproc=yes
52889 no:yes:* )
52890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52893 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52894 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52895 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52896 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52897 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52900 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52901 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52903 cat <<\_ASBOX
52904 ## ----------------------------------------- ##
52905 ## Report this to the package-unused lists. ##
52906 ## ----------------------------------------- ##
52907 _ASBOX
52909 sed "s/^/$as_me: WARNING: /" >&2
52911 esac
52912 echo "$as_me:$LINENO: checking for $ac_header" >&5
52913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52915 echo $ECHO_N "(cached) $ECHO_C" >&6
52916 else
52917 eval "$as_ac_Header=\$ac_header_preproc"
52919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52924 cat >>confdefs.h <<_ACEOF
52925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52926 _ACEOF
52930 done
52933 # All these tests are for C++; save the language and the compiler flags.
52934 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52935 # found in GLIBCXX_CONFIGURE.
52938 ac_ext=cc
52939 ac_cpp='$CXXCPP $CPPFLAGS'
52940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52944 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52945 ac_save_CXXFLAGS="$CXXFLAGS"
52947 # Check for maintainer-mode bits.
52948 if test x"$USE_MAINTAINER_MODE" = xno; then
52949 WERROR=''
52950 else
52951 WERROR='-Werror'
52954 # Check for -ffunction-sections -fdata-sections
52955 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52956 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52957 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52958 cat >conftest.$ac_ext <<_ACEOF
52959 /* confdefs.h. */
52960 _ACEOF
52961 cat confdefs.h >>conftest.$ac_ext
52962 cat >>conftest.$ac_ext <<_ACEOF
52963 /* end confdefs.h. */
52966 main ()
52968 int foo;
52970 return 0;
52972 _ACEOF
52973 rm -f conftest.$ac_objext
52974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52975 (eval $ac_compile) 2>conftest.er1
52976 ac_status=$?
52977 grep -v '^ *+' conftest.er1 >conftest.err
52978 rm -f conftest.er1
52979 cat conftest.err >&5
52980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52981 (exit $ac_status); } &&
52982 { ac_try='test -z "$ac_cxx_werror_flag"
52983 || test ! -s conftest.err'
52984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52985 (eval $ac_try) 2>&5
52986 ac_status=$?
52987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52988 (exit $ac_status); }; } &&
52989 { ac_try='test -s conftest.$ac_objext'
52990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52991 (eval $ac_try) 2>&5
52992 ac_status=$?
52993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52994 (exit $ac_status); }; }; then
52995 ac_fdsections=yes
52996 else
52997 echo "$as_me: failed program was:" >&5
52998 sed 's/^/| /' conftest.$ac_ext >&5
53000 ac_fdsections=no
53002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53003 if test "$ac_test_CXXFLAGS" = set; then
53004 CXXFLAGS="$ac_save_CXXFLAGS"
53005 else
53006 # this is the suspicious part
53007 CXXFLAGS=''
53009 if test x"$ac_fdsections" = x"yes"; then
53010 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53012 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53013 echo "${ECHO_T}$ac_fdsections" >&6
53015 ac_ext=c
53016 ac_cpp='$CPP $CPPFLAGS'
53017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53025 # If we're not using GNU ld, then there's no point in even trying these
53026 # tests. Check for that first. We should have already tested for gld
53027 # by now (in libtool), but require it now just to be safe...
53028 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53029 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53033 # The name set by libtool depends on the version of libtool. Shame on us
53034 # for depending on an impl detail, but c'est la vie. Older versions used
53035 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53036 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53037 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53038 # set (hence we're using an older libtool), then set it.
53039 if test x${with_gnu_ld+set} != xset; then
53040 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53041 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53042 with_gnu_ld=no
53043 else
53044 with_gnu_ld=$ac_cv_prog_gnu_ld
53048 # Start by getting the version number. I think the libtool test already
53049 # does some of this, but throws away the result.
53051 ldver=`$LD --version 2>/dev/null | head -1 | \
53052 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53054 glibcxx_gnu_ld_version=`echo $ldver | \
53055 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53057 # Set --gc-sections.
53058 if test x"$with_gnu_ld" = x"yes"; then
53059 # GNU ld it is! Joy and bunny rabbits!
53061 # All these tests are for C++, but run with the "C" compiler driver.
53062 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
53063 ac_test_CFLAGS="${CFLAGS+set}"
53064 ac_save_CFLAGS="$CFLAGS"
53065 CFLAGS='-x c++ -Werror -Wl,--gc-sections'
53067 # Check for -Wl,--gc-sections
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 if test x$gcc_no_link = xyes; then
53071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53073 { (exit 1); exit 1; }; }
53075 cat >conftest.$ac_ext <<_ACEOF
53076 /* confdefs.h. */
53077 _ACEOF
53078 cat confdefs.h >>conftest.$ac_ext
53079 cat >>conftest.$ac_ext <<_ACEOF
53080 /* end confdefs.h. */
53081 int one(void) { return 1; }
53082 int two(void) { return 2; }
53085 main ()
53087 two();
53089 return 0;
53091 _ACEOF
53092 rm -f conftest.$ac_objext conftest$ac_exeext
53093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53094 (eval $ac_link) 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_exeext'
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_gcsections=yes
53115 else
53116 echo "$as_me: failed program was:" >&5
53117 sed 's/^/| /' conftest.$ac_ext >&5
53119 ac_gcsections=no
53121 rm -f conftest.err conftest.$ac_objext \
53122 conftest$ac_exeext conftest.$ac_ext
53123 if test "$ac_gcsections" = "yes"; then
53124 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53126 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
53127 echo "${ECHO_T}$ac_gcsections" >&6
53129 if test "$ac_test_CFLAGS" = set; then
53130 CFLAGS="$ac_save_CFLAGS"
53131 else
53132 # this is the suspicious part
53133 CFLAGS=''
53137 # Set -z,relro.
53138 # Note this is only for shared objects.
53139 ac_ld_relro=no
53140 if test x"$with_gnu_ld" = x"yes"; then
53141 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
53142 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
53143 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53144 if test -n "$cxx_z_relo"; then
53145 OPT_LDFLAGS="-Wl,-z,relro"
53146 ac_ld_relro=yes
53148 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
53149 echo "${ECHO_T}$ac_ld_relro" >&6
53152 # Set linker optimization flags.
53153 if test x"$with_gnu_ld" = x"yes"; then
53154 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53161 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53162 ac_save_CXXFLAGS="$CXXFLAGS"
53163 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53165 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53166 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53167 if test "${ac_cv_lib_m_sin+set}" = set; then
53168 echo $ECHO_N "(cached) $ECHO_C" >&6
53169 else
53170 ac_check_lib_save_LIBS=$LIBS
53171 LIBS="-lm $LIBS"
53172 if test x$gcc_no_link = xyes; then
53173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53175 { (exit 1); exit 1; }; }
53177 cat >conftest.$ac_ext <<_ACEOF
53178 /* confdefs.h. */
53179 _ACEOF
53180 cat confdefs.h >>conftest.$ac_ext
53181 cat >>conftest.$ac_ext <<_ACEOF
53182 /* end confdefs.h. */
53184 /* Override any gcc2 internal prototype to avoid an error. */
53185 #ifdef __cplusplus
53186 extern "C"
53187 #endif
53188 /* We use char because int might match the return type of a gcc2
53189 builtin and then its argument prototype would still apply. */
53190 char sin ();
53192 main ()
53194 sin ();
53196 return 0;
53198 _ACEOF
53199 rm -f conftest.$ac_objext conftest$ac_exeext
53200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53201 (eval $ac_link) 2>conftest.er1
53202 ac_status=$?
53203 grep -v '^ *+' conftest.er1 >conftest.err
53204 rm -f conftest.er1
53205 cat conftest.err >&5
53206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53207 (exit $ac_status); } &&
53208 { ac_try='test -z "$ac_c_werror_flag"
53209 || test ! -s conftest.err'
53210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53211 (eval $ac_try) 2>&5
53212 ac_status=$?
53213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53214 (exit $ac_status); }; } &&
53215 { ac_try='test -s conftest$ac_exeext'
53216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53217 (eval $ac_try) 2>&5
53218 ac_status=$?
53219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53220 (exit $ac_status); }; }; then
53221 ac_cv_lib_m_sin=yes
53222 else
53223 echo "$as_me: failed program was:" >&5
53224 sed 's/^/| /' conftest.$ac_ext >&5
53226 ac_cv_lib_m_sin=no
53228 rm -f conftest.err conftest.$ac_objext \
53229 conftest$ac_exeext conftest.$ac_ext
53230 LIBS=$ac_check_lib_save_LIBS
53232 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53233 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53234 if test $ac_cv_lib_m_sin = yes; then
53235 libm="-lm"
53238 ac_save_LIBS="$LIBS"
53239 LIBS="$LIBS $libm"
53243 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53244 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53245 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53246 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53247 echo $ECHO_N "(cached) $ECHO_C" >&6
53248 else
53252 ac_ext=cc
53253 ac_cpp='$CXXCPP $CPPFLAGS'
53254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53258 cat >conftest.$ac_ext <<_ACEOF
53259 /* confdefs.h. */
53260 _ACEOF
53261 cat confdefs.h >>conftest.$ac_ext
53262 cat >>conftest.$ac_ext <<_ACEOF
53263 /* end confdefs.h. */
53264 #include <math.h>
53265 #ifdef HAVE_IEEEFP_H
53266 #include <ieeefp.h>
53267 #endif
53270 main ()
53272 isinf(0);
53274 return 0;
53276 _ACEOF
53277 rm -f conftest.$ac_objext
53278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53279 (eval $ac_compile) 2>conftest.er1
53280 ac_status=$?
53281 grep -v '^ *+' conftest.er1 >conftest.err
53282 rm -f conftest.er1
53283 cat conftest.err >&5
53284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53285 (exit $ac_status); } &&
53286 { ac_try='test -z "$ac_cxx_werror_flag"
53287 || test ! -s conftest.err'
53288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53289 (eval $ac_try) 2>&5
53290 ac_status=$?
53291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53292 (exit $ac_status); }; } &&
53293 { ac_try='test -s conftest.$ac_objext'
53294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53295 (eval $ac_try) 2>&5
53296 ac_status=$?
53297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53298 (exit $ac_status); }; }; then
53299 glibcxx_cv_func_isinf_use=yes
53300 else
53301 echo "$as_me: failed program was:" >&5
53302 sed 's/^/| /' conftest.$ac_ext >&5
53304 glibcxx_cv_func_isinf_use=no
53306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53307 ac_ext=c
53308 ac_cpp='$CPP $CPPFLAGS'
53309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53317 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53318 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53320 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53322 for ac_func in isinf
53324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53325 echo "$as_me:$LINENO: checking for $ac_func" >&5
53326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53327 if eval "test \"\${$as_ac_var+set}\" = set"; then
53328 echo $ECHO_N "(cached) $ECHO_C" >&6
53329 else
53330 if test x$gcc_no_link = xyes; then
53331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53333 { (exit 1); exit 1; }; }
53335 cat >conftest.$ac_ext <<_ACEOF
53336 /* confdefs.h. */
53337 _ACEOF
53338 cat confdefs.h >>conftest.$ac_ext
53339 cat >>conftest.$ac_ext <<_ACEOF
53340 /* end confdefs.h. */
53341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53343 #define $ac_func innocuous_$ac_func
53345 /* System header to define __stub macros and hopefully few prototypes,
53346 which can conflict with char $ac_func (); below.
53347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53348 <limits.h> exists even on freestanding compilers. */
53350 #ifdef __STDC__
53351 # include <limits.h>
53352 #else
53353 # include <assert.h>
53354 #endif
53356 #undef $ac_func
53358 /* Override any gcc2 internal prototype to avoid an error. */
53359 #ifdef __cplusplus
53360 extern "C"
53362 #endif
53363 /* We use char because int might match the return type of a gcc2
53364 builtin and then its argument prototype would still apply. */
53365 char $ac_func ();
53366 /* The GNU C library defines this for functions which it implements
53367 to always fail with ENOSYS. Some functions are actually named
53368 something starting with __ and the normal name is an alias. */
53369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53370 choke me
53371 #else
53372 char (*f) () = $ac_func;
53373 #endif
53374 #ifdef __cplusplus
53376 #endif
53379 main ()
53381 return f != $ac_func;
53383 return 0;
53385 _ACEOF
53386 rm -f conftest.$ac_objext conftest$ac_exeext
53387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53388 (eval $ac_link) 2>conftest.er1
53389 ac_status=$?
53390 grep -v '^ *+' conftest.er1 >conftest.err
53391 rm -f conftest.er1
53392 cat conftest.err >&5
53393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53394 (exit $ac_status); } &&
53395 { ac_try='test -z "$ac_c_werror_flag"
53396 || test ! -s conftest.err'
53397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53398 (eval $ac_try) 2>&5
53399 ac_status=$?
53400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53401 (exit $ac_status); }; } &&
53402 { ac_try='test -s conftest$ac_exeext'
53403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53404 (eval $ac_try) 2>&5
53405 ac_status=$?
53406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53407 (exit $ac_status); }; }; then
53408 eval "$as_ac_var=yes"
53409 else
53410 echo "$as_me: failed program was:" >&5
53411 sed 's/^/| /' conftest.$ac_ext >&5
53413 eval "$as_ac_var=no"
53415 rm -f conftest.err conftest.$ac_objext \
53416 conftest$ac_exeext conftest.$ac_ext
53418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53420 if test `eval echo '${'$as_ac_var'}'` = yes; then
53421 cat >>confdefs.h <<_ACEOF
53422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53423 _ACEOF
53426 done
53428 else
53430 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53431 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53432 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53433 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53434 echo $ECHO_N "(cached) $ECHO_C" >&6
53435 else
53439 ac_ext=cc
53440 ac_cpp='$CXXCPP $CPPFLAGS'
53441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53445 cat >conftest.$ac_ext <<_ACEOF
53446 /* confdefs.h. */
53447 _ACEOF
53448 cat confdefs.h >>conftest.$ac_ext
53449 cat >>conftest.$ac_ext <<_ACEOF
53450 /* end confdefs.h. */
53451 #include <math.h>
53452 #ifdef HAVE_IEEEFP_H
53453 #include <ieeefp.h>
53454 #endif
53457 main ()
53459 _isinf(0);
53461 return 0;
53463 _ACEOF
53464 rm -f conftest.$ac_objext
53465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53466 (eval $ac_compile) 2>conftest.er1
53467 ac_status=$?
53468 grep -v '^ *+' conftest.er1 >conftest.err
53469 rm -f conftest.er1
53470 cat conftest.err >&5
53471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53472 (exit $ac_status); } &&
53473 { ac_try='test -z "$ac_cxx_werror_flag"
53474 || test ! -s conftest.err'
53475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53476 (eval $ac_try) 2>&5
53477 ac_status=$?
53478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53479 (exit $ac_status); }; } &&
53480 { ac_try='test -s conftest.$ac_objext'
53481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53482 (eval $ac_try) 2>&5
53483 ac_status=$?
53484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53485 (exit $ac_status); }; }; then
53486 glibcxx_cv_func__isinf_use=yes
53487 else
53488 echo "$as_me: failed program was:" >&5
53489 sed 's/^/| /' conftest.$ac_ext >&5
53491 glibcxx_cv_func__isinf_use=no
53493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53494 ac_ext=c
53495 ac_cpp='$CPP $CPPFLAGS'
53496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53504 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53505 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53507 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53509 for ac_func in _isinf
53511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53512 echo "$as_me:$LINENO: checking for $ac_func" >&5
53513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53514 if eval "test \"\${$as_ac_var+set}\" = set"; then
53515 echo $ECHO_N "(cached) $ECHO_C" >&6
53516 else
53517 if test x$gcc_no_link = xyes; then
53518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53520 { (exit 1); exit 1; }; }
53522 cat >conftest.$ac_ext <<_ACEOF
53523 /* confdefs.h. */
53524 _ACEOF
53525 cat confdefs.h >>conftest.$ac_ext
53526 cat >>conftest.$ac_ext <<_ACEOF
53527 /* end confdefs.h. */
53528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53530 #define $ac_func innocuous_$ac_func
53532 /* System header to define __stub macros and hopefully few prototypes,
53533 which can conflict with char $ac_func (); below.
53534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53535 <limits.h> exists even on freestanding compilers. */
53537 #ifdef __STDC__
53538 # include <limits.h>
53539 #else
53540 # include <assert.h>
53541 #endif
53543 #undef $ac_func
53545 /* Override any gcc2 internal prototype to avoid an error. */
53546 #ifdef __cplusplus
53547 extern "C"
53549 #endif
53550 /* We use char because int might match the return type of a gcc2
53551 builtin and then its argument prototype would still apply. */
53552 char $ac_func ();
53553 /* The GNU C library defines this for functions which it implements
53554 to always fail with ENOSYS. Some functions are actually named
53555 something starting with __ and the normal name is an alias. */
53556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53557 choke me
53558 #else
53559 char (*f) () = $ac_func;
53560 #endif
53561 #ifdef __cplusplus
53563 #endif
53566 main ()
53568 return f != $ac_func;
53570 return 0;
53572 _ACEOF
53573 rm -f conftest.$ac_objext conftest$ac_exeext
53574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53575 (eval $ac_link) 2>conftest.er1
53576 ac_status=$?
53577 grep -v '^ *+' conftest.er1 >conftest.err
53578 rm -f conftest.er1
53579 cat conftest.err >&5
53580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53581 (exit $ac_status); } &&
53582 { ac_try='test -z "$ac_c_werror_flag"
53583 || test ! -s conftest.err'
53584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53585 (eval $ac_try) 2>&5
53586 ac_status=$?
53587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53588 (exit $ac_status); }; } &&
53589 { ac_try='test -s conftest$ac_exeext'
53590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53591 (eval $ac_try) 2>&5
53592 ac_status=$?
53593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53594 (exit $ac_status); }; }; then
53595 eval "$as_ac_var=yes"
53596 else
53597 echo "$as_me: failed program was:" >&5
53598 sed 's/^/| /' conftest.$ac_ext >&5
53600 eval "$as_ac_var=no"
53602 rm -f conftest.err conftest.$ac_objext \
53603 conftest$ac_exeext conftest.$ac_ext
53605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53607 if test `eval echo '${'$as_ac_var'}'` = yes; then
53608 cat >>confdefs.h <<_ACEOF
53609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53610 _ACEOF
53613 done
53623 echo "$as_me:$LINENO: checking for isnan declaration" >&5
53624 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53625 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53626 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53627 echo $ECHO_N "(cached) $ECHO_C" >&6
53628 else
53632 ac_ext=cc
53633 ac_cpp='$CXXCPP $CPPFLAGS'
53634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53638 cat >conftest.$ac_ext <<_ACEOF
53639 /* confdefs.h. */
53640 _ACEOF
53641 cat confdefs.h >>conftest.$ac_ext
53642 cat >>conftest.$ac_ext <<_ACEOF
53643 /* end confdefs.h. */
53644 #include <math.h>
53645 #ifdef HAVE_IEEEFP_H
53646 #include <ieeefp.h>
53647 #endif
53650 main ()
53652 isnan(0);
53654 return 0;
53656 _ACEOF
53657 rm -f conftest.$ac_objext
53658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53659 (eval $ac_compile) 2>conftest.er1
53660 ac_status=$?
53661 grep -v '^ *+' conftest.er1 >conftest.err
53662 rm -f conftest.er1
53663 cat conftest.err >&5
53664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53665 (exit $ac_status); } &&
53666 { ac_try='test -z "$ac_cxx_werror_flag"
53667 || test ! -s conftest.err'
53668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53669 (eval $ac_try) 2>&5
53670 ac_status=$?
53671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53672 (exit $ac_status); }; } &&
53673 { ac_try='test -s conftest.$ac_objext'
53674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53675 (eval $ac_try) 2>&5
53676 ac_status=$?
53677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53678 (exit $ac_status); }; }; then
53679 glibcxx_cv_func_isnan_use=yes
53680 else
53681 echo "$as_me: failed program was:" >&5
53682 sed 's/^/| /' conftest.$ac_ext >&5
53684 glibcxx_cv_func_isnan_use=no
53686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53687 ac_ext=c
53688 ac_cpp='$CPP $CPPFLAGS'
53689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53698 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53700 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53702 for ac_func in isnan
53704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53705 echo "$as_me:$LINENO: checking for $ac_func" >&5
53706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53707 if eval "test \"\${$as_ac_var+set}\" = set"; then
53708 echo $ECHO_N "(cached) $ECHO_C" >&6
53709 else
53710 if test x$gcc_no_link = xyes; then
53711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53713 { (exit 1); exit 1; }; }
53715 cat >conftest.$ac_ext <<_ACEOF
53716 /* confdefs.h. */
53717 _ACEOF
53718 cat confdefs.h >>conftest.$ac_ext
53719 cat >>conftest.$ac_ext <<_ACEOF
53720 /* end confdefs.h. */
53721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53723 #define $ac_func innocuous_$ac_func
53725 /* System header to define __stub macros and hopefully few prototypes,
53726 which can conflict with char $ac_func (); below.
53727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53728 <limits.h> exists even on freestanding compilers. */
53730 #ifdef __STDC__
53731 # include <limits.h>
53732 #else
53733 # include <assert.h>
53734 #endif
53736 #undef $ac_func
53738 /* Override any gcc2 internal prototype to avoid an error. */
53739 #ifdef __cplusplus
53740 extern "C"
53742 #endif
53743 /* We use char because int might match the return type of a gcc2
53744 builtin and then its argument prototype would still apply. */
53745 char $ac_func ();
53746 /* The GNU C library defines this for functions which it implements
53747 to always fail with ENOSYS. Some functions are actually named
53748 something starting with __ and the normal name is an alias. */
53749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53750 choke me
53751 #else
53752 char (*f) () = $ac_func;
53753 #endif
53754 #ifdef __cplusplus
53756 #endif
53759 main ()
53761 return f != $ac_func;
53763 return 0;
53765 _ACEOF
53766 rm -f conftest.$ac_objext conftest$ac_exeext
53767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53768 (eval $ac_link) 2>conftest.er1
53769 ac_status=$?
53770 grep -v '^ *+' conftest.er1 >conftest.err
53771 rm -f conftest.er1
53772 cat conftest.err >&5
53773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53774 (exit $ac_status); } &&
53775 { ac_try='test -z "$ac_c_werror_flag"
53776 || test ! -s conftest.err'
53777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53778 (eval $ac_try) 2>&5
53779 ac_status=$?
53780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53781 (exit $ac_status); }; } &&
53782 { ac_try='test -s conftest$ac_exeext'
53783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53784 (eval $ac_try) 2>&5
53785 ac_status=$?
53786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53787 (exit $ac_status); }; }; then
53788 eval "$as_ac_var=yes"
53789 else
53790 echo "$as_me: failed program was:" >&5
53791 sed 's/^/| /' conftest.$ac_ext >&5
53793 eval "$as_ac_var=no"
53795 rm -f conftest.err conftest.$ac_objext \
53796 conftest$ac_exeext conftest.$ac_ext
53798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53800 if test `eval echo '${'$as_ac_var'}'` = yes; then
53801 cat >>confdefs.h <<_ACEOF
53802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53803 _ACEOF
53806 done
53808 else
53810 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53811 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53812 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53813 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53814 echo $ECHO_N "(cached) $ECHO_C" >&6
53815 else
53819 ac_ext=cc
53820 ac_cpp='$CXXCPP $CPPFLAGS'
53821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53825 cat >conftest.$ac_ext <<_ACEOF
53826 /* confdefs.h. */
53827 _ACEOF
53828 cat confdefs.h >>conftest.$ac_ext
53829 cat >>conftest.$ac_ext <<_ACEOF
53830 /* end confdefs.h. */
53831 #include <math.h>
53832 #ifdef HAVE_IEEEFP_H
53833 #include <ieeefp.h>
53834 #endif
53837 main ()
53839 _isnan(0);
53841 return 0;
53843 _ACEOF
53844 rm -f conftest.$ac_objext
53845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53846 (eval $ac_compile) 2>conftest.er1
53847 ac_status=$?
53848 grep -v '^ *+' conftest.er1 >conftest.err
53849 rm -f conftest.er1
53850 cat conftest.err >&5
53851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53852 (exit $ac_status); } &&
53853 { ac_try='test -z "$ac_cxx_werror_flag"
53854 || test ! -s conftest.err'
53855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53856 (eval $ac_try) 2>&5
53857 ac_status=$?
53858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53859 (exit $ac_status); }; } &&
53860 { ac_try='test -s conftest.$ac_objext'
53861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53862 (eval $ac_try) 2>&5
53863 ac_status=$?
53864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53865 (exit $ac_status); }; }; then
53866 glibcxx_cv_func__isnan_use=yes
53867 else
53868 echo "$as_me: failed program was:" >&5
53869 sed 's/^/| /' conftest.$ac_ext >&5
53871 glibcxx_cv_func__isnan_use=no
53873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53874 ac_ext=c
53875 ac_cpp='$CPP $CPPFLAGS'
53876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53884 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53885 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53887 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53889 for ac_func in _isnan
53891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53892 echo "$as_me:$LINENO: checking for $ac_func" >&5
53893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53894 if eval "test \"\${$as_ac_var+set}\" = set"; then
53895 echo $ECHO_N "(cached) $ECHO_C" >&6
53896 else
53897 if test x$gcc_no_link = xyes; then
53898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53900 { (exit 1); exit 1; }; }
53902 cat >conftest.$ac_ext <<_ACEOF
53903 /* confdefs.h. */
53904 _ACEOF
53905 cat confdefs.h >>conftest.$ac_ext
53906 cat >>conftest.$ac_ext <<_ACEOF
53907 /* end confdefs.h. */
53908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53910 #define $ac_func innocuous_$ac_func
53912 /* System header to define __stub macros and hopefully few prototypes,
53913 which can conflict with char $ac_func (); below.
53914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53915 <limits.h> exists even on freestanding compilers. */
53917 #ifdef __STDC__
53918 # include <limits.h>
53919 #else
53920 # include <assert.h>
53921 #endif
53923 #undef $ac_func
53925 /* Override any gcc2 internal prototype to avoid an error. */
53926 #ifdef __cplusplus
53927 extern "C"
53929 #endif
53930 /* We use char because int might match the return type of a gcc2
53931 builtin and then its argument prototype would still apply. */
53932 char $ac_func ();
53933 /* The GNU C library defines this for functions which it implements
53934 to always fail with ENOSYS. Some functions are actually named
53935 something starting with __ and the normal name is an alias. */
53936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53937 choke me
53938 #else
53939 char (*f) () = $ac_func;
53940 #endif
53941 #ifdef __cplusplus
53943 #endif
53946 main ()
53948 return f != $ac_func;
53950 return 0;
53952 _ACEOF
53953 rm -f conftest.$ac_objext conftest$ac_exeext
53954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53955 (eval $ac_link) 2>conftest.er1
53956 ac_status=$?
53957 grep -v '^ *+' conftest.er1 >conftest.err
53958 rm -f conftest.er1
53959 cat conftest.err >&5
53960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53961 (exit $ac_status); } &&
53962 { ac_try='test -z "$ac_c_werror_flag"
53963 || test ! -s conftest.err'
53964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53965 (eval $ac_try) 2>&5
53966 ac_status=$?
53967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53968 (exit $ac_status); }; } &&
53969 { ac_try='test -s conftest$ac_exeext'
53970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53971 (eval $ac_try) 2>&5
53972 ac_status=$?
53973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53974 (exit $ac_status); }; }; then
53975 eval "$as_ac_var=yes"
53976 else
53977 echo "$as_me: failed program was:" >&5
53978 sed 's/^/| /' conftest.$ac_ext >&5
53980 eval "$as_ac_var=no"
53982 rm -f conftest.err conftest.$ac_objext \
53983 conftest$ac_exeext conftest.$ac_ext
53985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53987 if test `eval echo '${'$as_ac_var'}'` = yes; then
53988 cat >>confdefs.h <<_ACEOF
53989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53990 _ACEOF
53993 done
54003 echo "$as_me:$LINENO: checking for finite declaration" >&5
54004 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54005 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54006 if test "${glibcxx_cv_func_finite_use+set}" = set; then
54007 echo $ECHO_N "(cached) $ECHO_C" >&6
54008 else
54012 ac_ext=cc
54013 ac_cpp='$CXXCPP $CPPFLAGS'
54014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54018 cat >conftest.$ac_ext <<_ACEOF
54019 /* confdefs.h. */
54020 _ACEOF
54021 cat confdefs.h >>conftest.$ac_ext
54022 cat >>conftest.$ac_ext <<_ACEOF
54023 /* end confdefs.h. */
54024 #include <math.h>
54025 #ifdef HAVE_IEEEFP_H
54026 #include <ieeefp.h>
54027 #endif
54030 main ()
54032 finite(0);
54034 return 0;
54036 _ACEOF
54037 rm -f conftest.$ac_objext
54038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54039 (eval $ac_compile) 2>conftest.er1
54040 ac_status=$?
54041 grep -v '^ *+' conftest.er1 >conftest.err
54042 rm -f conftest.er1
54043 cat conftest.err >&5
54044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54045 (exit $ac_status); } &&
54046 { ac_try='test -z "$ac_cxx_werror_flag"
54047 || test ! -s conftest.err'
54048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54049 (eval $ac_try) 2>&5
54050 ac_status=$?
54051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54052 (exit $ac_status); }; } &&
54053 { ac_try='test -s conftest.$ac_objext'
54054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54055 (eval $ac_try) 2>&5
54056 ac_status=$?
54057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54058 (exit $ac_status); }; }; then
54059 glibcxx_cv_func_finite_use=yes
54060 else
54061 echo "$as_me: failed program was:" >&5
54062 sed 's/^/| /' conftest.$ac_ext >&5
54064 glibcxx_cv_func_finite_use=no
54066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54067 ac_ext=c
54068 ac_cpp='$CPP $CPPFLAGS'
54069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54077 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54078 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54080 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54082 for ac_func in finite
54084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54085 echo "$as_me:$LINENO: checking for $ac_func" >&5
54086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54087 if eval "test \"\${$as_ac_var+set}\" = set"; then
54088 echo $ECHO_N "(cached) $ECHO_C" >&6
54089 else
54090 if test x$gcc_no_link = xyes; then
54091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54093 { (exit 1); exit 1; }; }
54095 cat >conftest.$ac_ext <<_ACEOF
54096 /* confdefs.h. */
54097 _ACEOF
54098 cat confdefs.h >>conftest.$ac_ext
54099 cat >>conftest.$ac_ext <<_ACEOF
54100 /* end confdefs.h. */
54101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54103 #define $ac_func innocuous_$ac_func
54105 /* System header to define __stub macros and hopefully few prototypes,
54106 which can conflict with char $ac_func (); below.
54107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54108 <limits.h> exists even on freestanding compilers. */
54110 #ifdef __STDC__
54111 # include <limits.h>
54112 #else
54113 # include <assert.h>
54114 #endif
54116 #undef $ac_func
54118 /* Override any gcc2 internal prototype to avoid an error. */
54119 #ifdef __cplusplus
54120 extern "C"
54122 #endif
54123 /* We use char because int might match the return type of a gcc2
54124 builtin and then its argument prototype would still apply. */
54125 char $ac_func ();
54126 /* The GNU C library defines this for functions which it implements
54127 to always fail with ENOSYS. Some functions are actually named
54128 something starting with __ and the normal name is an alias. */
54129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54130 choke me
54131 #else
54132 char (*f) () = $ac_func;
54133 #endif
54134 #ifdef __cplusplus
54136 #endif
54139 main ()
54141 return f != $ac_func;
54143 return 0;
54145 _ACEOF
54146 rm -f conftest.$ac_objext conftest$ac_exeext
54147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54148 (eval $ac_link) 2>conftest.er1
54149 ac_status=$?
54150 grep -v '^ *+' conftest.er1 >conftest.err
54151 rm -f conftest.er1
54152 cat conftest.err >&5
54153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54154 (exit $ac_status); } &&
54155 { ac_try='test -z "$ac_c_werror_flag"
54156 || test ! -s conftest.err'
54157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54158 (eval $ac_try) 2>&5
54159 ac_status=$?
54160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54161 (exit $ac_status); }; } &&
54162 { ac_try='test -s conftest$ac_exeext'
54163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54164 (eval $ac_try) 2>&5
54165 ac_status=$?
54166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54167 (exit $ac_status); }; }; then
54168 eval "$as_ac_var=yes"
54169 else
54170 echo "$as_me: failed program was:" >&5
54171 sed 's/^/| /' conftest.$ac_ext >&5
54173 eval "$as_ac_var=no"
54175 rm -f conftest.err conftest.$ac_objext \
54176 conftest$ac_exeext conftest.$ac_ext
54178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54180 if test `eval echo '${'$as_ac_var'}'` = yes; then
54181 cat >>confdefs.h <<_ACEOF
54182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54183 _ACEOF
54186 done
54188 else
54190 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54191 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54192 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54193 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54194 echo $ECHO_N "(cached) $ECHO_C" >&6
54195 else
54199 ac_ext=cc
54200 ac_cpp='$CXXCPP $CPPFLAGS'
54201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54205 cat >conftest.$ac_ext <<_ACEOF
54206 /* confdefs.h. */
54207 _ACEOF
54208 cat confdefs.h >>conftest.$ac_ext
54209 cat >>conftest.$ac_ext <<_ACEOF
54210 /* end confdefs.h. */
54211 #include <math.h>
54212 #ifdef HAVE_IEEEFP_H
54213 #include <ieeefp.h>
54214 #endif
54217 main ()
54219 _finite(0);
54221 return 0;
54223 _ACEOF
54224 rm -f conftest.$ac_objext
54225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54226 (eval $ac_compile) 2>conftest.er1
54227 ac_status=$?
54228 grep -v '^ *+' conftest.er1 >conftest.err
54229 rm -f conftest.er1
54230 cat conftest.err >&5
54231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54232 (exit $ac_status); } &&
54233 { ac_try='test -z "$ac_cxx_werror_flag"
54234 || test ! -s conftest.err'
54235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54236 (eval $ac_try) 2>&5
54237 ac_status=$?
54238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54239 (exit $ac_status); }; } &&
54240 { ac_try='test -s conftest.$ac_objext'
54241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54242 (eval $ac_try) 2>&5
54243 ac_status=$?
54244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54245 (exit $ac_status); }; }; then
54246 glibcxx_cv_func__finite_use=yes
54247 else
54248 echo "$as_me: failed program was:" >&5
54249 sed 's/^/| /' conftest.$ac_ext >&5
54251 glibcxx_cv_func__finite_use=no
54253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54254 ac_ext=c
54255 ac_cpp='$CPP $CPPFLAGS'
54256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54265 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54267 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54269 for ac_func in _finite
54271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54272 echo "$as_me:$LINENO: checking for $ac_func" >&5
54273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54274 if eval "test \"\${$as_ac_var+set}\" = set"; then
54275 echo $ECHO_N "(cached) $ECHO_C" >&6
54276 else
54277 if test x$gcc_no_link = xyes; then
54278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54280 { (exit 1); exit 1; }; }
54282 cat >conftest.$ac_ext <<_ACEOF
54283 /* confdefs.h. */
54284 _ACEOF
54285 cat confdefs.h >>conftest.$ac_ext
54286 cat >>conftest.$ac_ext <<_ACEOF
54287 /* end confdefs.h. */
54288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54290 #define $ac_func innocuous_$ac_func
54292 /* System header to define __stub macros and hopefully few prototypes,
54293 which can conflict with char $ac_func (); below.
54294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54295 <limits.h> exists even on freestanding compilers. */
54297 #ifdef __STDC__
54298 # include <limits.h>
54299 #else
54300 # include <assert.h>
54301 #endif
54303 #undef $ac_func
54305 /* Override any gcc2 internal prototype to avoid an error. */
54306 #ifdef __cplusplus
54307 extern "C"
54309 #endif
54310 /* We use char because int might match the return type of a gcc2
54311 builtin and then its argument prototype would still apply. */
54312 char $ac_func ();
54313 /* The GNU C library defines this for functions which it implements
54314 to always fail with ENOSYS. Some functions are actually named
54315 something starting with __ and the normal name is an alias. */
54316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54317 choke me
54318 #else
54319 char (*f) () = $ac_func;
54320 #endif
54321 #ifdef __cplusplus
54323 #endif
54326 main ()
54328 return f != $ac_func;
54330 return 0;
54332 _ACEOF
54333 rm -f conftest.$ac_objext conftest$ac_exeext
54334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54335 (eval $ac_link) 2>conftest.er1
54336 ac_status=$?
54337 grep -v '^ *+' conftest.er1 >conftest.err
54338 rm -f conftest.er1
54339 cat conftest.err >&5
54340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54341 (exit $ac_status); } &&
54342 { ac_try='test -z "$ac_c_werror_flag"
54343 || test ! -s conftest.err'
54344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54345 (eval $ac_try) 2>&5
54346 ac_status=$?
54347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54348 (exit $ac_status); }; } &&
54349 { ac_try='test -s conftest$ac_exeext'
54350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54351 (eval $ac_try) 2>&5
54352 ac_status=$?
54353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54354 (exit $ac_status); }; }; then
54355 eval "$as_ac_var=yes"
54356 else
54357 echo "$as_me: failed program was:" >&5
54358 sed 's/^/| /' conftest.$ac_ext >&5
54360 eval "$as_ac_var=no"
54362 rm -f conftest.err conftest.$ac_objext \
54363 conftest$ac_exeext conftest.$ac_ext
54365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54367 if test `eval echo '${'$as_ac_var'}'` = yes; then
54368 cat >>confdefs.h <<_ACEOF
54369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54370 _ACEOF
54373 done
54383 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54384 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54385 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54386 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54387 echo $ECHO_N "(cached) $ECHO_C" >&6
54388 else
54392 ac_ext=cc
54393 ac_cpp='$CXXCPP $CPPFLAGS'
54394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54398 cat >conftest.$ac_ext <<_ACEOF
54399 /* confdefs.h. */
54400 _ACEOF
54401 cat confdefs.h >>conftest.$ac_ext
54402 cat >>conftest.$ac_ext <<_ACEOF
54403 /* end confdefs.h. */
54404 #include <math.h>
54406 main ()
54408 copysign(0, 0);
54410 return 0;
54412 _ACEOF
54413 rm -f conftest.$ac_objext
54414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54415 (eval $ac_compile) 2>conftest.er1
54416 ac_status=$?
54417 grep -v '^ *+' conftest.er1 >conftest.err
54418 rm -f conftest.er1
54419 cat conftest.err >&5
54420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54421 (exit $ac_status); } &&
54422 { ac_try='test -z "$ac_cxx_werror_flag"
54423 || test ! -s conftest.err'
54424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54425 (eval $ac_try) 2>&5
54426 ac_status=$?
54427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54428 (exit $ac_status); }; } &&
54429 { ac_try='test -s conftest.$ac_objext'
54430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54431 (eval $ac_try) 2>&5
54432 ac_status=$?
54433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54434 (exit $ac_status); }; }; then
54435 glibcxx_cv_func_copysign_use=yes
54436 else
54437 echo "$as_me: failed program was:" >&5
54438 sed 's/^/| /' conftest.$ac_ext >&5
54440 glibcxx_cv_func_copysign_use=no
54442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54443 ac_ext=c
54444 ac_cpp='$CPP $CPPFLAGS'
54445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54453 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54454 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54456 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54458 for ac_func in copysign
54460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54461 echo "$as_me:$LINENO: checking for $ac_func" >&5
54462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54463 if eval "test \"\${$as_ac_var+set}\" = set"; then
54464 echo $ECHO_N "(cached) $ECHO_C" >&6
54465 else
54466 if test x$gcc_no_link = xyes; then
54467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54469 { (exit 1); exit 1; }; }
54471 cat >conftest.$ac_ext <<_ACEOF
54472 /* confdefs.h. */
54473 _ACEOF
54474 cat confdefs.h >>conftest.$ac_ext
54475 cat >>conftest.$ac_ext <<_ACEOF
54476 /* end confdefs.h. */
54477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54479 #define $ac_func innocuous_$ac_func
54481 /* System header to define __stub macros and hopefully few prototypes,
54482 which can conflict with char $ac_func (); below.
54483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54484 <limits.h> exists even on freestanding compilers. */
54486 #ifdef __STDC__
54487 # include <limits.h>
54488 #else
54489 # include <assert.h>
54490 #endif
54492 #undef $ac_func
54494 /* Override any gcc2 internal prototype to avoid an error. */
54495 #ifdef __cplusplus
54496 extern "C"
54498 #endif
54499 /* We use char because int might match the return type of a gcc2
54500 builtin and then its argument prototype would still apply. */
54501 char $ac_func ();
54502 /* The GNU C library defines this for functions which it implements
54503 to always fail with ENOSYS. Some functions are actually named
54504 something starting with __ and the normal name is an alias. */
54505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54506 choke me
54507 #else
54508 char (*f) () = $ac_func;
54509 #endif
54510 #ifdef __cplusplus
54512 #endif
54515 main ()
54517 return f != $ac_func;
54519 return 0;
54521 _ACEOF
54522 rm -f conftest.$ac_objext conftest$ac_exeext
54523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54524 (eval $ac_link) 2>conftest.er1
54525 ac_status=$?
54526 grep -v '^ *+' conftest.er1 >conftest.err
54527 rm -f conftest.er1
54528 cat conftest.err >&5
54529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54530 (exit $ac_status); } &&
54531 { ac_try='test -z "$ac_c_werror_flag"
54532 || test ! -s conftest.err'
54533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54534 (eval $ac_try) 2>&5
54535 ac_status=$?
54536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54537 (exit $ac_status); }; } &&
54538 { ac_try='test -s conftest$ac_exeext'
54539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54540 (eval $ac_try) 2>&5
54541 ac_status=$?
54542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54543 (exit $ac_status); }; }; then
54544 eval "$as_ac_var=yes"
54545 else
54546 echo "$as_me: failed program was:" >&5
54547 sed 's/^/| /' conftest.$ac_ext >&5
54549 eval "$as_ac_var=no"
54551 rm -f conftest.err conftest.$ac_objext \
54552 conftest$ac_exeext conftest.$ac_ext
54554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54556 if test `eval echo '${'$as_ac_var'}'` = yes; then
54557 cat >>confdefs.h <<_ACEOF
54558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54559 _ACEOF
54562 done
54564 else
54566 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54567 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54568 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54569 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54570 echo $ECHO_N "(cached) $ECHO_C" >&6
54571 else
54575 ac_ext=cc
54576 ac_cpp='$CXXCPP $CPPFLAGS'
54577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54581 cat >conftest.$ac_ext <<_ACEOF
54582 /* confdefs.h. */
54583 _ACEOF
54584 cat confdefs.h >>conftest.$ac_ext
54585 cat >>conftest.$ac_ext <<_ACEOF
54586 /* end confdefs.h. */
54587 #include <math.h>
54589 main ()
54591 _copysign(0, 0);
54593 return 0;
54595 _ACEOF
54596 rm -f conftest.$ac_objext
54597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54598 (eval $ac_compile) 2>conftest.er1
54599 ac_status=$?
54600 grep -v '^ *+' conftest.er1 >conftest.err
54601 rm -f conftest.er1
54602 cat conftest.err >&5
54603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54604 (exit $ac_status); } &&
54605 { ac_try='test -z "$ac_cxx_werror_flag"
54606 || test ! -s conftest.err'
54607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54608 (eval $ac_try) 2>&5
54609 ac_status=$?
54610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54611 (exit $ac_status); }; } &&
54612 { ac_try='test -s conftest.$ac_objext'
54613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54614 (eval $ac_try) 2>&5
54615 ac_status=$?
54616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54617 (exit $ac_status); }; }; then
54618 glibcxx_cv_func__copysign_use=yes
54619 else
54620 echo "$as_me: failed program was:" >&5
54621 sed 's/^/| /' conftest.$ac_ext >&5
54623 glibcxx_cv_func__copysign_use=no
54625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54626 ac_ext=c
54627 ac_cpp='$CPP $CPPFLAGS'
54628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54636 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54637 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54639 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54641 for ac_func in _copysign
54643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54644 echo "$as_me:$LINENO: checking for $ac_func" >&5
54645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54646 if eval "test \"\${$as_ac_var+set}\" = set"; then
54647 echo $ECHO_N "(cached) $ECHO_C" >&6
54648 else
54649 if test x$gcc_no_link = xyes; then
54650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54652 { (exit 1); exit 1; }; }
54654 cat >conftest.$ac_ext <<_ACEOF
54655 /* confdefs.h. */
54656 _ACEOF
54657 cat confdefs.h >>conftest.$ac_ext
54658 cat >>conftest.$ac_ext <<_ACEOF
54659 /* end confdefs.h. */
54660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54662 #define $ac_func innocuous_$ac_func
54664 /* System header to define __stub macros and hopefully few prototypes,
54665 which can conflict with char $ac_func (); below.
54666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54667 <limits.h> exists even on freestanding compilers. */
54669 #ifdef __STDC__
54670 # include <limits.h>
54671 #else
54672 # include <assert.h>
54673 #endif
54675 #undef $ac_func
54677 /* Override any gcc2 internal prototype to avoid an error. */
54678 #ifdef __cplusplus
54679 extern "C"
54681 #endif
54682 /* We use char because int might match the return type of a gcc2
54683 builtin and then its argument prototype would still apply. */
54684 char $ac_func ();
54685 /* The GNU C library defines this for functions which it implements
54686 to always fail with ENOSYS. Some functions are actually named
54687 something starting with __ and the normal name is an alias. */
54688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54689 choke me
54690 #else
54691 char (*f) () = $ac_func;
54692 #endif
54693 #ifdef __cplusplus
54695 #endif
54698 main ()
54700 return f != $ac_func;
54702 return 0;
54704 _ACEOF
54705 rm -f conftest.$ac_objext conftest$ac_exeext
54706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54707 (eval $ac_link) 2>conftest.er1
54708 ac_status=$?
54709 grep -v '^ *+' conftest.er1 >conftest.err
54710 rm -f conftest.er1
54711 cat conftest.err >&5
54712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54713 (exit $ac_status); } &&
54714 { ac_try='test -z "$ac_c_werror_flag"
54715 || test ! -s conftest.err'
54716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54717 (eval $ac_try) 2>&5
54718 ac_status=$?
54719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54720 (exit $ac_status); }; } &&
54721 { ac_try='test -s conftest$ac_exeext'
54722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54723 (eval $ac_try) 2>&5
54724 ac_status=$?
54725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54726 (exit $ac_status); }; }; then
54727 eval "$as_ac_var=yes"
54728 else
54729 echo "$as_me: failed program was:" >&5
54730 sed 's/^/| /' conftest.$ac_ext >&5
54732 eval "$as_ac_var=no"
54734 rm -f conftest.err conftest.$ac_objext \
54735 conftest$ac_exeext conftest.$ac_ext
54737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54739 if test `eval echo '${'$as_ac_var'}'` = yes; then
54740 cat >>confdefs.h <<_ACEOF
54741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54742 _ACEOF
54745 done
54755 echo "$as_me:$LINENO: checking for sincos declaration" >&5
54756 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54757 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54758 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54759 echo $ECHO_N "(cached) $ECHO_C" >&6
54760 else
54764 ac_ext=cc
54765 ac_cpp='$CXXCPP $CPPFLAGS'
54766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54770 cat >conftest.$ac_ext <<_ACEOF
54771 /* confdefs.h. */
54772 _ACEOF
54773 cat confdefs.h >>conftest.$ac_ext
54774 cat >>conftest.$ac_ext <<_ACEOF
54775 /* end confdefs.h. */
54776 #include <math.h>
54778 main ()
54780 sincos(0, 0, 0);
54782 return 0;
54784 _ACEOF
54785 rm -f conftest.$ac_objext
54786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54787 (eval $ac_compile) 2>conftest.er1
54788 ac_status=$?
54789 grep -v '^ *+' conftest.er1 >conftest.err
54790 rm -f conftest.er1
54791 cat conftest.err >&5
54792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54793 (exit $ac_status); } &&
54794 { ac_try='test -z "$ac_cxx_werror_flag"
54795 || test ! -s conftest.err'
54796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54797 (eval $ac_try) 2>&5
54798 ac_status=$?
54799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54800 (exit $ac_status); }; } &&
54801 { ac_try='test -s conftest.$ac_objext'
54802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54803 (eval $ac_try) 2>&5
54804 ac_status=$?
54805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54806 (exit $ac_status); }; }; then
54807 glibcxx_cv_func_sincos_use=yes
54808 else
54809 echo "$as_me: failed program was:" >&5
54810 sed 's/^/| /' conftest.$ac_ext >&5
54812 glibcxx_cv_func_sincos_use=no
54814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54815 ac_ext=c
54816 ac_cpp='$CPP $CPPFLAGS'
54817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54826 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54828 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54830 for ac_func in sincos
54832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54833 echo "$as_me:$LINENO: checking for $ac_func" >&5
54834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54835 if eval "test \"\${$as_ac_var+set}\" = set"; then
54836 echo $ECHO_N "(cached) $ECHO_C" >&6
54837 else
54838 if test x$gcc_no_link = xyes; then
54839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54841 { (exit 1); exit 1; }; }
54843 cat >conftest.$ac_ext <<_ACEOF
54844 /* confdefs.h. */
54845 _ACEOF
54846 cat confdefs.h >>conftest.$ac_ext
54847 cat >>conftest.$ac_ext <<_ACEOF
54848 /* end confdefs.h. */
54849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54851 #define $ac_func innocuous_$ac_func
54853 /* System header to define __stub macros and hopefully few prototypes,
54854 which can conflict with char $ac_func (); below.
54855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54856 <limits.h> exists even on freestanding compilers. */
54858 #ifdef __STDC__
54859 # include <limits.h>
54860 #else
54861 # include <assert.h>
54862 #endif
54864 #undef $ac_func
54866 /* Override any gcc2 internal prototype to avoid an error. */
54867 #ifdef __cplusplus
54868 extern "C"
54870 #endif
54871 /* We use char because int might match the return type of a gcc2
54872 builtin and then its argument prototype would still apply. */
54873 char $ac_func ();
54874 /* The GNU C library defines this for functions which it implements
54875 to always fail with ENOSYS. Some functions are actually named
54876 something starting with __ and the normal name is an alias. */
54877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54878 choke me
54879 #else
54880 char (*f) () = $ac_func;
54881 #endif
54882 #ifdef __cplusplus
54884 #endif
54887 main ()
54889 return f != $ac_func;
54891 return 0;
54893 _ACEOF
54894 rm -f conftest.$ac_objext conftest$ac_exeext
54895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54896 (eval $ac_link) 2>conftest.er1
54897 ac_status=$?
54898 grep -v '^ *+' conftest.er1 >conftest.err
54899 rm -f conftest.er1
54900 cat conftest.err >&5
54901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54902 (exit $ac_status); } &&
54903 { ac_try='test -z "$ac_c_werror_flag"
54904 || test ! -s conftest.err'
54905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54906 (eval $ac_try) 2>&5
54907 ac_status=$?
54908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54909 (exit $ac_status); }; } &&
54910 { ac_try='test -s conftest$ac_exeext'
54911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54912 (eval $ac_try) 2>&5
54913 ac_status=$?
54914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54915 (exit $ac_status); }; }; then
54916 eval "$as_ac_var=yes"
54917 else
54918 echo "$as_me: failed program was:" >&5
54919 sed 's/^/| /' conftest.$ac_ext >&5
54921 eval "$as_ac_var=no"
54923 rm -f conftest.err conftest.$ac_objext \
54924 conftest$ac_exeext conftest.$ac_ext
54926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54928 if test `eval echo '${'$as_ac_var'}'` = yes; then
54929 cat >>confdefs.h <<_ACEOF
54930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54931 _ACEOF
54934 done
54936 else
54938 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54939 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54940 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54941 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54942 echo $ECHO_N "(cached) $ECHO_C" >&6
54943 else
54947 ac_ext=cc
54948 ac_cpp='$CXXCPP $CPPFLAGS'
54949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54953 cat >conftest.$ac_ext <<_ACEOF
54954 /* confdefs.h. */
54955 _ACEOF
54956 cat confdefs.h >>conftest.$ac_ext
54957 cat >>conftest.$ac_ext <<_ACEOF
54958 /* end confdefs.h. */
54959 #include <math.h>
54961 main ()
54963 _sincos(0, 0, 0);
54965 return 0;
54967 _ACEOF
54968 rm -f conftest.$ac_objext
54969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54970 (eval $ac_compile) 2>conftest.er1
54971 ac_status=$?
54972 grep -v '^ *+' conftest.er1 >conftest.err
54973 rm -f conftest.er1
54974 cat conftest.err >&5
54975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54976 (exit $ac_status); } &&
54977 { ac_try='test -z "$ac_cxx_werror_flag"
54978 || test ! -s conftest.err'
54979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54980 (eval $ac_try) 2>&5
54981 ac_status=$?
54982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54983 (exit $ac_status); }; } &&
54984 { ac_try='test -s conftest.$ac_objext'
54985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54986 (eval $ac_try) 2>&5
54987 ac_status=$?
54988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54989 (exit $ac_status); }; }; then
54990 glibcxx_cv_func__sincos_use=yes
54991 else
54992 echo "$as_me: failed program was:" >&5
54993 sed 's/^/| /' conftest.$ac_ext >&5
54995 glibcxx_cv_func__sincos_use=no
54997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54998 ac_ext=c
54999 ac_cpp='$CPP $CPPFLAGS'
55000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55008 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55009 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55011 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55013 for ac_func in _sincos
55015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55016 echo "$as_me:$LINENO: checking for $ac_func" >&5
55017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55018 if eval "test \"\${$as_ac_var+set}\" = set"; then
55019 echo $ECHO_N "(cached) $ECHO_C" >&6
55020 else
55021 if test x$gcc_no_link = xyes; then
55022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55024 { (exit 1); exit 1; }; }
55026 cat >conftest.$ac_ext <<_ACEOF
55027 /* confdefs.h. */
55028 _ACEOF
55029 cat confdefs.h >>conftest.$ac_ext
55030 cat >>conftest.$ac_ext <<_ACEOF
55031 /* end confdefs.h. */
55032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55034 #define $ac_func innocuous_$ac_func
55036 /* System header to define __stub macros and hopefully few prototypes,
55037 which can conflict with char $ac_func (); below.
55038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55039 <limits.h> exists even on freestanding compilers. */
55041 #ifdef __STDC__
55042 # include <limits.h>
55043 #else
55044 # include <assert.h>
55045 #endif
55047 #undef $ac_func
55049 /* Override any gcc2 internal prototype to avoid an error. */
55050 #ifdef __cplusplus
55051 extern "C"
55053 #endif
55054 /* We use char because int might match the return type of a gcc2
55055 builtin and then its argument prototype would still apply. */
55056 char $ac_func ();
55057 /* The GNU C library defines this for functions which it implements
55058 to always fail with ENOSYS. Some functions are actually named
55059 something starting with __ and the normal name is an alias. */
55060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55061 choke me
55062 #else
55063 char (*f) () = $ac_func;
55064 #endif
55065 #ifdef __cplusplus
55067 #endif
55070 main ()
55072 return f != $ac_func;
55074 return 0;
55076 _ACEOF
55077 rm -f conftest.$ac_objext conftest$ac_exeext
55078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55079 (eval $ac_link) 2>conftest.er1
55080 ac_status=$?
55081 grep -v '^ *+' conftest.er1 >conftest.err
55082 rm -f conftest.er1
55083 cat conftest.err >&5
55084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55085 (exit $ac_status); } &&
55086 { ac_try='test -z "$ac_c_werror_flag"
55087 || test ! -s conftest.err'
55088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55089 (eval $ac_try) 2>&5
55090 ac_status=$?
55091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55092 (exit $ac_status); }; } &&
55093 { ac_try='test -s conftest$ac_exeext'
55094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55095 (eval $ac_try) 2>&5
55096 ac_status=$?
55097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55098 (exit $ac_status); }; }; then
55099 eval "$as_ac_var=yes"
55100 else
55101 echo "$as_me: failed program was:" >&5
55102 sed 's/^/| /' conftest.$ac_ext >&5
55104 eval "$as_ac_var=no"
55106 rm -f conftest.err conftest.$ac_objext \
55107 conftest$ac_exeext conftest.$ac_ext
55109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55111 if test `eval echo '${'$as_ac_var'}'` = yes; then
55112 cat >>confdefs.h <<_ACEOF
55113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55114 _ACEOF
55117 done
55127 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55128 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55129 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55130 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55131 echo $ECHO_N "(cached) $ECHO_C" >&6
55132 else
55136 ac_ext=cc
55137 ac_cpp='$CXXCPP $CPPFLAGS'
55138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55142 cat >conftest.$ac_ext <<_ACEOF
55143 /* confdefs.h. */
55144 _ACEOF
55145 cat confdefs.h >>conftest.$ac_ext
55146 cat >>conftest.$ac_ext <<_ACEOF
55147 /* end confdefs.h. */
55148 #include <math.h>
55149 #ifdef HAVE_IEEEFP_H
55150 #include <ieeefp.h>
55151 #endif
55154 main ()
55156 fpclass(0);
55158 return 0;
55160 _ACEOF
55161 rm -f conftest.$ac_objext
55162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55163 (eval $ac_compile) 2>conftest.er1
55164 ac_status=$?
55165 grep -v '^ *+' conftest.er1 >conftest.err
55166 rm -f conftest.er1
55167 cat conftest.err >&5
55168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55169 (exit $ac_status); } &&
55170 { ac_try='test -z "$ac_cxx_werror_flag"
55171 || test ! -s conftest.err'
55172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55173 (eval $ac_try) 2>&5
55174 ac_status=$?
55175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55176 (exit $ac_status); }; } &&
55177 { ac_try='test -s conftest.$ac_objext'
55178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55179 (eval $ac_try) 2>&5
55180 ac_status=$?
55181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55182 (exit $ac_status); }; }; then
55183 glibcxx_cv_func_fpclass_use=yes
55184 else
55185 echo "$as_me: failed program was:" >&5
55186 sed 's/^/| /' conftest.$ac_ext >&5
55188 glibcxx_cv_func_fpclass_use=no
55190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55191 ac_ext=c
55192 ac_cpp='$CPP $CPPFLAGS'
55193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55202 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55204 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55206 for ac_func in fpclass
55208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55209 echo "$as_me:$LINENO: checking for $ac_func" >&5
55210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55211 if eval "test \"\${$as_ac_var+set}\" = set"; then
55212 echo $ECHO_N "(cached) $ECHO_C" >&6
55213 else
55214 if test x$gcc_no_link = xyes; then
55215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55217 { (exit 1); exit 1; }; }
55219 cat >conftest.$ac_ext <<_ACEOF
55220 /* confdefs.h. */
55221 _ACEOF
55222 cat confdefs.h >>conftest.$ac_ext
55223 cat >>conftest.$ac_ext <<_ACEOF
55224 /* end confdefs.h. */
55225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55227 #define $ac_func innocuous_$ac_func
55229 /* System header to define __stub macros and hopefully few prototypes,
55230 which can conflict with char $ac_func (); below.
55231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55232 <limits.h> exists even on freestanding compilers. */
55234 #ifdef __STDC__
55235 # include <limits.h>
55236 #else
55237 # include <assert.h>
55238 #endif
55240 #undef $ac_func
55242 /* Override any gcc2 internal prototype to avoid an error. */
55243 #ifdef __cplusplus
55244 extern "C"
55246 #endif
55247 /* We use char because int might match the return type of a gcc2
55248 builtin and then its argument prototype would still apply. */
55249 char $ac_func ();
55250 /* The GNU C library defines this for functions which it implements
55251 to always fail with ENOSYS. Some functions are actually named
55252 something starting with __ and the normal name is an alias. */
55253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55254 choke me
55255 #else
55256 char (*f) () = $ac_func;
55257 #endif
55258 #ifdef __cplusplus
55260 #endif
55263 main ()
55265 return f != $ac_func;
55267 return 0;
55269 _ACEOF
55270 rm -f conftest.$ac_objext conftest$ac_exeext
55271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55272 (eval $ac_link) 2>conftest.er1
55273 ac_status=$?
55274 grep -v '^ *+' conftest.er1 >conftest.err
55275 rm -f conftest.er1
55276 cat conftest.err >&5
55277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55278 (exit $ac_status); } &&
55279 { ac_try='test -z "$ac_c_werror_flag"
55280 || test ! -s conftest.err'
55281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55282 (eval $ac_try) 2>&5
55283 ac_status=$?
55284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55285 (exit $ac_status); }; } &&
55286 { ac_try='test -s conftest$ac_exeext'
55287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55288 (eval $ac_try) 2>&5
55289 ac_status=$?
55290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55291 (exit $ac_status); }; }; then
55292 eval "$as_ac_var=yes"
55293 else
55294 echo "$as_me: failed program was:" >&5
55295 sed 's/^/| /' conftest.$ac_ext >&5
55297 eval "$as_ac_var=no"
55299 rm -f conftest.err conftest.$ac_objext \
55300 conftest$ac_exeext conftest.$ac_ext
55302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55304 if test `eval echo '${'$as_ac_var'}'` = yes; then
55305 cat >>confdefs.h <<_ACEOF
55306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55307 _ACEOF
55310 done
55312 else
55314 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55315 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55316 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55317 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55318 echo $ECHO_N "(cached) $ECHO_C" >&6
55319 else
55323 ac_ext=cc
55324 ac_cpp='$CXXCPP $CPPFLAGS'
55325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55329 cat >conftest.$ac_ext <<_ACEOF
55330 /* confdefs.h. */
55331 _ACEOF
55332 cat confdefs.h >>conftest.$ac_ext
55333 cat >>conftest.$ac_ext <<_ACEOF
55334 /* end confdefs.h. */
55335 #include <math.h>
55336 #ifdef HAVE_IEEEFP_H
55337 #include <ieeefp.h>
55338 #endif
55341 main ()
55343 _fpclass(0);
55345 return 0;
55347 _ACEOF
55348 rm -f conftest.$ac_objext
55349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55350 (eval $ac_compile) 2>conftest.er1
55351 ac_status=$?
55352 grep -v '^ *+' conftest.er1 >conftest.err
55353 rm -f conftest.er1
55354 cat conftest.err >&5
55355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55356 (exit $ac_status); } &&
55357 { ac_try='test -z "$ac_cxx_werror_flag"
55358 || test ! -s conftest.err'
55359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55360 (eval $ac_try) 2>&5
55361 ac_status=$?
55362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55363 (exit $ac_status); }; } &&
55364 { ac_try='test -s conftest.$ac_objext'
55365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55366 (eval $ac_try) 2>&5
55367 ac_status=$?
55368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55369 (exit $ac_status); }; }; then
55370 glibcxx_cv_func__fpclass_use=yes
55371 else
55372 echo "$as_me: failed program was:" >&5
55373 sed 's/^/| /' conftest.$ac_ext >&5
55375 glibcxx_cv_func__fpclass_use=no
55377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55378 ac_ext=c
55379 ac_cpp='$CPP $CPPFLAGS'
55380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55389 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55391 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55393 for ac_func in _fpclass
55395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55396 echo "$as_me:$LINENO: checking for $ac_func" >&5
55397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55398 if eval "test \"\${$as_ac_var+set}\" = set"; then
55399 echo $ECHO_N "(cached) $ECHO_C" >&6
55400 else
55401 if test x$gcc_no_link = xyes; then
55402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55404 { (exit 1); exit 1; }; }
55406 cat >conftest.$ac_ext <<_ACEOF
55407 /* confdefs.h. */
55408 _ACEOF
55409 cat confdefs.h >>conftest.$ac_ext
55410 cat >>conftest.$ac_ext <<_ACEOF
55411 /* end confdefs.h. */
55412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55414 #define $ac_func innocuous_$ac_func
55416 /* System header to define __stub macros and hopefully few prototypes,
55417 which can conflict with char $ac_func (); below.
55418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55419 <limits.h> exists even on freestanding compilers. */
55421 #ifdef __STDC__
55422 # include <limits.h>
55423 #else
55424 # include <assert.h>
55425 #endif
55427 #undef $ac_func
55429 /* Override any gcc2 internal prototype to avoid an error. */
55430 #ifdef __cplusplus
55431 extern "C"
55433 #endif
55434 /* We use char because int might match the return type of a gcc2
55435 builtin and then its argument prototype would still apply. */
55436 char $ac_func ();
55437 /* The GNU C library defines this for functions which it implements
55438 to always fail with ENOSYS. Some functions are actually named
55439 something starting with __ and the normal name is an alias. */
55440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55441 choke me
55442 #else
55443 char (*f) () = $ac_func;
55444 #endif
55445 #ifdef __cplusplus
55447 #endif
55450 main ()
55452 return f != $ac_func;
55454 return 0;
55456 _ACEOF
55457 rm -f conftest.$ac_objext conftest$ac_exeext
55458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55459 (eval $ac_link) 2>conftest.er1
55460 ac_status=$?
55461 grep -v '^ *+' conftest.er1 >conftest.err
55462 rm -f conftest.er1
55463 cat conftest.err >&5
55464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55465 (exit $ac_status); } &&
55466 { ac_try='test -z "$ac_c_werror_flag"
55467 || test ! -s conftest.err'
55468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55469 (eval $ac_try) 2>&5
55470 ac_status=$?
55471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55472 (exit $ac_status); }; } &&
55473 { ac_try='test -s conftest$ac_exeext'
55474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55475 (eval $ac_try) 2>&5
55476 ac_status=$?
55477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55478 (exit $ac_status); }; }; then
55479 eval "$as_ac_var=yes"
55480 else
55481 echo "$as_me: failed program was:" >&5
55482 sed 's/^/| /' conftest.$ac_ext >&5
55484 eval "$as_ac_var=no"
55486 rm -f conftest.err conftest.$ac_objext \
55487 conftest$ac_exeext conftest.$ac_ext
55489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55491 if test `eval echo '${'$as_ac_var'}'` = yes; then
55492 cat >>confdefs.h <<_ACEOF
55493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55494 _ACEOF
55497 done
55507 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55508 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55509 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55510 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55511 echo $ECHO_N "(cached) $ECHO_C" >&6
55512 else
55516 ac_ext=cc
55517 ac_cpp='$CXXCPP $CPPFLAGS'
55518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55522 cat >conftest.$ac_ext <<_ACEOF
55523 /* confdefs.h. */
55524 _ACEOF
55525 cat confdefs.h >>conftest.$ac_ext
55526 cat >>conftest.$ac_ext <<_ACEOF
55527 /* end confdefs.h. */
55528 #include <math.h>
55529 #ifdef HAVE_IEEEFP_H
55530 #include <ieeefp.h>
55531 #endif
55534 main ()
55536 qfpclass(0);
55538 return 0;
55540 _ACEOF
55541 rm -f conftest.$ac_objext
55542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55543 (eval $ac_compile) 2>conftest.er1
55544 ac_status=$?
55545 grep -v '^ *+' conftest.er1 >conftest.err
55546 rm -f conftest.er1
55547 cat conftest.err >&5
55548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55549 (exit $ac_status); } &&
55550 { ac_try='test -z "$ac_cxx_werror_flag"
55551 || test ! -s conftest.err'
55552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55553 (eval $ac_try) 2>&5
55554 ac_status=$?
55555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55556 (exit $ac_status); }; } &&
55557 { ac_try='test -s conftest.$ac_objext'
55558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55559 (eval $ac_try) 2>&5
55560 ac_status=$?
55561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55562 (exit $ac_status); }; }; then
55563 glibcxx_cv_func_qfpclass_use=yes
55564 else
55565 echo "$as_me: failed program was:" >&5
55566 sed 's/^/| /' conftest.$ac_ext >&5
55568 glibcxx_cv_func_qfpclass_use=no
55570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55571 ac_ext=c
55572 ac_cpp='$CPP $CPPFLAGS'
55573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55582 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55584 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55586 for ac_func in qfpclass
55588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55589 echo "$as_me:$LINENO: checking for $ac_func" >&5
55590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55591 if eval "test \"\${$as_ac_var+set}\" = set"; then
55592 echo $ECHO_N "(cached) $ECHO_C" >&6
55593 else
55594 if test x$gcc_no_link = xyes; then
55595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55597 { (exit 1); exit 1; }; }
55599 cat >conftest.$ac_ext <<_ACEOF
55600 /* confdefs.h. */
55601 _ACEOF
55602 cat confdefs.h >>conftest.$ac_ext
55603 cat >>conftest.$ac_ext <<_ACEOF
55604 /* end confdefs.h. */
55605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55607 #define $ac_func innocuous_$ac_func
55609 /* System header to define __stub macros and hopefully few prototypes,
55610 which can conflict with char $ac_func (); below.
55611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55612 <limits.h> exists even on freestanding compilers. */
55614 #ifdef __STDC__
55615 # include <limits.h>
55616 #else
55617 # include <assert.h>
55618 #endif
55620 #undef $ac_func
55622 /* Override any gcc2 internal prototype to avoid an error. */
55623 #ifdef __cplusplus
55624 extern "C"
55626 #endif
55627 /* We use char because int might match the return type of a gcc2
55628 builtin and then its argument prototype would still apply. */
55629 char $ac_func ();
55630 /* The GNU C library defines this for functions which it implements
55631 to always fail with ENOSYS. Some functions are actually named
55632 something starting with __ and the normal name is an alias. */
55633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55634 choke me
55635 #else
55636 char (*f) () = $ac_func;
55637 #endif
55638 #ifdef __cplusplus
55640 #endif
55643 main ()
55645 return f != $ac_func;
55647 return 0;
55649 _ACEOF
55650 rm -f conftest.$ac_objext conftest$ac_exeext
55651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55652 (eval $ac_link) 2>conftest.er1
55653 ac_status=$?
55654 grep -v '^ *+' conftest.er1 >conftest.err
55655 rm -f conftest.er1
55656 cat conftest.err >&5
55657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55658 (exit $ac_status); } &&
55659 { ac_try='test -z "$ac_c_werror_flag"
55660 || test ! -s conftest.err'
55661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55662 (eval $ac_try) 2>&5
55663 ac_status=$?
55664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55665 (exit $ac_status); }; } &&
55666 { ac_try='test -s conftest$ac_exeext'
55667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55668 (eval $ac_try) 2>&5
55669 ac_status=$?
55670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55671 (exit $ac_status); }; }; then
55672 eval "$as_ac_var=yes"
55673 else
55674 echo "$as_me: failed program was:" >&5
55675 sed 's/^/| /' conftest.$ac_ext >&5
55677 eval "$as_ac_var=no"
55679 rm -f conftest.err conftest.$ac_objext \
55680 conftest$ac_exeext conftest.$ac_ext
55682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55684 if test `eval echo '${'$as_ac_var'}'` = yes; then
55685 cat >>confdefs.h <<_ACEOF
55686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55687 _ACEOF
55690 done
55692 else
55694 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55695 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55696 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55697 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55698 echo $ECHO_N "(cached) $ECHO_C" >&6
55699 else
55703 ac_ext=cc
55704 ac_cpp='$CXXCPP $CPPFLAGS'
55705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55709 cat >conftest.$ac_ext <<_ACEOF
55710 /* confdefs.h. */
55711 _ACEOF
55712 cat confdefs.h >>conftest.$ac_ext
55713 cat >>conftest.$ac_ext <<_ACEOF
55714 /* end confdefs.h. */
55715 #include <math.h>
55716 #ifdef HAVE_IEEEFP_H
55717 #include <ieeefp.h>
55718 #endif
55721 main ()
55723 _qfpclass(0);
55725 return 0;
55727 _ACEOF
55728 rm -f conftest.$ac_objext
55729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55730 (eval $ac_compile) 2>conftest.er1
55731 ac_status=$?
55732 grep -v '^ *+' conftest.er1 >conftest.err
55733 rm -f conftest.er1
55734 cat conftest.err >&5
55735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55736 (exit $ac_status); } &&
55737 { ac_try='test -z "$ac_cxx_werror_flag"
55738 || test ! -s conftest.err'
55739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55740 (eval $ac_try) 2>&5
55741 ac_status=$?
55742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55743 (exit $ac_status); }; } &&
55744 { ac_try='test -s conftest.$ac_objext'
55745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55746 (eval $ac_try) 2>&5
55747 ac_status=$?
55748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55749 (exit $ac_status); }; }; then
55750 glibcxx_cv_func__qfpclass_use=yes
55751 else
55752 echo "$as_me: failed program was:" >&5
55753 sed 's/^/| /' conftest.$ac_ext >&5
55755 glibcxx_cv_func__qfpclass_use=no
55757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55758 ac_ext=c
55759 ac_cpp='$CPP $CPPFLAGS'
55760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55768 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55769 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55771 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55773 for ac_func in _qfpclass
55775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55776 echo "$as_me:$LINENO: checking for $ac_func" >&5
55777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55778 if eval "test \"\${$as_ac_var+set}\" = set"; then
55779 echo $ECHO_N "(cached) $ECHO_C" >&6
55780 else
55781 if test x$gcc_no_link = xyes; then
55782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55784 { (exit 1); exit 1; }; }
55786 cat >conftest.$ac_ext <<_ACEOF
55787 /* confdefs.h. */
55788 _ACEOF
55789 cat confdefs.h >>conftest.$ac_ext
55790 cat >>conftest.$ac_ext <<_ACEOF
55791 /* end confdefs.h. */
55792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55794 #define $ac_func innocuous_$ac_func
55796 /* System header to define __stub macros and hopefully few prototypes,
55797 which can conflict with char $ac_func (); below.
55798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55799 <limits.h> exists even on freestanding compilers. */
55801 #ifdef __STDC__
55802 # include <limits.h>
55803 #else
55804 # include <assert.h>
55805 #endif
55807 #undef $ac_func
55809 /* Override any gcc2 internal prototype to avoid an error. */
55810 #ifdef __cplusplus
55811 extern "C"
55813 #endif
55814 /* We use char because int might match the return type of a gcc2
55815 builtin and then its argument prototype would still apply. */
55816 char $ac_func ();
55817 /* The GNU C library defines this for functions which it implements
55818 to always fail with ENOSYS. Some functions are actually named
55819 something starting with __ and the normal name is an alias. */
55820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55821 choke me
55822 #else
55823 char (*f) () = $ac_func;
55824 #endif
55825 #ifdef __cplusplus
55827 #endif
55830 main ()
55832 return f != $ac_func;
55834 return 0;
55836 _ACEOF
55837 rm -f conftest.$ac_objext conftest$ac_exeext
55838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55839 (eval $ac_link) 2>conftest.er1
55840 ac_status=$?
55841 grep -v '^ *+' conftest.er1 >conftest.err
55842 rm -f conftest.er1
55843 cat conftest.err >&5
55844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55845 (exit $ac_status); } &&
55846 { ac_try='test -z "$ac_c_werror_flag"
55847 || test ! -s conftest.err'
55848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55849 (eval $ac_try) 2>&5
55850 ac_status=$?
55851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55852 (exit $ac_status); }; } &&
55853 { ac_try='test -s conftest$ac_exeext'
55854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55855 (eval $ac_try) 2>&5
55856 ac_status=$?
55857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55858 (exit $ac_status); }; }; then
55859 eval "$as_ac_var=yes"
55860 else
55861 echo "$as_me: failed program was:" >&5
55862 sed 's/^/| /' conftest.$ac_ext >&5
55864 eval "$as_ac_var=no"
55866 rm -f conftest.err conftest.$ac_objext \
55867 conftest$ac_exeext conftest.$ac_ext
55869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55871 if test `eval echo '${'$as_ac_var'}'` = yes; then
55872 cat >>confdefs.h <<_ACEOF
55873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55874 _ACEOF
55877 done
55887 echo "$as_me:$LINENO: checking for hypot declaration" >&5
55888 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55889 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55890 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55891 echo $ECHO_N "(cached) $ECHO_C" >&6
55892 else
55896 ac_ext=cc
55897 ac_cpp='$CXXCPP $CPPFLAGS'
55898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55902 cat >conftest.$ac_ext <<_ACEOF
55903 /* confdefs.h. */
55904 _ACEOF
55905 cat confdefs.h >>conftest.$ac_ext
55906 cat >>conftest.$ac_ext <<_ACEOF
55907 /* end confdefs.h. */
55908 #include <math.h>
55910 main ()
55912 hypot(0, 0);
55914 return 0;
55916 _ACEOF
55917 rm -f conftest.$ac_objext
55918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55919 (eval $ac_compile) 2>conftest.er1
55920 ac_status=$?
55921 grep -v '^ *+' conftest.er1 >conftest.err
55922 rm -f conftest.er1
55923 cat conftest.err >&5
55924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55925 (exit $ac_status); } &&
55926 { ac_try='test -z "$ac_cxx_werror_flag"
55927 || test ! -s conftest.err'
55928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55929 (eval $ac_try) 2>&5
55930 ac_status=$?
55931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55932 (exit $ac_status); }; } &&
55933 { ac_try='test -s conftest.$ac_objext'
55934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55935 (eval $ac_try) 2>&5
55936 ac_status=$?
55937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55938 (exit $ac_status); }; }; then
55939 glibcxx_cv_func_hypot_use=yes
55940 else
55941 echo "$as_me: failed program was:" >&5
55942 sed 's/^/| /' conftest.$ac_ext >&5
55944 glibcxx_cv_func_hypot_use=no
55946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55947 ac_ext=c
55948 ac_cpp='$CPP $CPPFLAGS'
55949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55957 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55958 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55960 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55962 for ac_func in hypot
55964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55965 echo "$as_me:$LINENO: checking for $ac_func" >&5
55966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55967 if eval "test \"\${$as_ac_var+set}\" = set"; then
55968 echo $ECHO_N "(cached) $ECHO_C" >&6
55969 else
55970 if test x$gcc_no_link = xyes; then
55971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55973 { (exit 1); exit 1; }; }
55975 cat >conftest.$ac_ext <<_ACEOF
55976 /* confdefs.h. */
55977 _ACEOF
55978 cat confdefs.h >>conftest.$ac_ext
55979 cat >>conftest.$ac_ext <<_ACEOF
55980 /* end confdefs.h. */
55981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55983 #define $ac_func innocuous_$ac_func
55985 /* System header to define __stub macros and hopefully few prototypes,
55986 which can conflict with char $ac_func (); below.
55987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55988 <limits.h> exists even on freestanding compilers. */
55990 #ifdef __STDC__
55991 # include <limits.h>
55992 #else
55993 # include <assert.h>
55994 #endif
55996 #undef $ac_func
55998 /* Override any gcc2 internal prototype to avoid an error. */
55999 #ifdef __cplusplus
56000 extern "C"
56002 #endif
56003 /* We use char because int might match the return type of a gcc2
56004 builtin and then its argument prototype would still apply. */
56005 char $ac_func ();
56006 /* The GNU C library defines this for functions which it implements
56007 to always fail with ENOSYS. Some functions are actually named
56008 something starting with __ and the normal name is an alias. */
56009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56010 choke me
56011 #else
56012 char (*f) () = $ac_func;
56013 #endif
56014 #ifdef __cplusplus
56016 #endif
56019 main ()
56021 return f != $ac_func;
56023 return 0;
56025 _ACEOF
56026 rm -f conftest.$ac_objext conftest$ac_exeext
56027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56028 (eval $ac_link) 2>conftest.er1
56029 ac_status=$?
56030 grep -v '^ *+' conftest.er1 >conftest.err
56031 rm -f conftest.er1
56032 cat conftest.err >&5
56033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56034 (exit $ac_status); } &&
56035 { ac_try='test -z "$ac_c_werror_flag"
56036 || test ! -s conftest.err'
56037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56038 (eval $ac_try) 2>&5
56039 ac_status=$?
56040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56041 (exit $ac_status); }; } &&
56042 { ac_try='test -s conftest$ac_exeext'
56043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56044 (eval $ac_try) 2>&5
56045 ac_status=$?
56046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56047 (exit $ac_status); }; }; then
56048 eval "$as_ac_var=yes"
56049 else
56050 echo "$as_me: failed program was:" >&5
56051 sed 's/^/| /' conftest.$ac_ext >&5
56053 eval "$as_ac_var=no"
56055 rm -f conftest.err conftest.$ac_objext \
56056 conftest$ac_exeext conftest.$ac_ext
56058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56060 if test `eval echo '${'$as_ac_var'}'` = yes; then
56061 cat >>confdefs.h <<_ACEOF
56062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56063 _ACEOF
56066 done
56068 else
56070 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56071 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56072 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56073 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56074 echo $ECHO_N "(cached) $ECHO_C" >&6
56075 else
56079 ac_ext=cc
56080 ac_cpp='$CXXCPP $CPPFLAGS'
56081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56085 cat >conftest.$ac_ext <<_ACEOF
56086 /* confdefs.h. */
56087 _ACEOF
56088 cat confdefs.h >>conftest.$ac_ext
56089 cat >>conftest.$ac_ext <<_ACEOF
56090 /* end confdefs.h. */
56091 #include <math.h>
56093 main ()
56095 _hypot(0, 0);
56097 return 0;
56099 _ACEOF
56100 rm -f conftest.$ac_objext
56101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56102 (eval $ac_compile) 2>conftest.er1
56103 ac_status=$?
56104 grep -v '^ *+' conftest.er1 >conftest.err
56105 rm -f conftest.er1
56106 cat conftest.err >&5
56107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56108 (exit $ac_status); } &&
56109 { ac_try='test -z "$ac_cxx_werror_flag"
56110 || test ! -s conftest.err'
56111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56112 (eval $ac_try) 2>&5
56113 ac_status=$?
56114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56115 (exit $ac_status); }; } &&
56116 { ac_try='test -s conftest.$ac_objext'
56117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56118 (eval $ac_try) 2>&5
56119 ac_status=$?
56120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56121 (exit $ac_status); }; }; then
56122 glibcxx_cv_func__hypot_use=yes
56123 else
56124 echo "$as_me: failed program was:" >&5
56125 sed 's/^/| /' conftest.$ac_ext >&5
56127 glibcxx_cv_func__hypot_use=no
56129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56130 ac_ext=c
56131 ac_cpp='$CPP $CPPFLAGS'
56132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56140 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56141 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56143 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56145 for ac_func in _hypot
56147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56148 echo "$as_me:$LINENO: checking for $ac_func" >&5
56149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56150 if eval "test \"\${$as_ac_var+set}\" = set"; then
56151 echo $ECHO_N "(cached) $ECHO_C" >&6
56152 else
56153 if test x$gcc_no_link = xyes; then
56154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56156 { (exit 1); exit 1; }; }
56158 cat >conftest.$ac_ext <<_ACEOF
56159 /* confdefs.h. */
56160 _ACEOF
56161 cat confdefs.h >>conftest.$ac_ext
56162 cat >>conftest.$ac_ext <<_ACEOF
56163 /* end confdefs.h. */
56164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56166 #define $ac_func innocuous_$ac_func
56168 /* System header to define __stub macros and hopefully few prototypes,
56169 which can conflict with char $ac_func (); below.
56170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56171 <limits.h> exists even on freestanding compilers. */
56173 #ifdef __STDC__
56174 # include <limits.h>
56175 #else
56176 # include <assert.h>
56177 #endif
56179 #undef $ac_func
56181 /* Override any gcc2 internal prototype to avoid an error. */
56182 #ifdef __cplusplus
56183 extern "C"
56185 #endif
56186 /* We use char because int might match the return type of a gcc2
56187 builtin and then its argument prototype would still apply. */
56188 char $ac_func ();
56189 /* The GNU C library defines this for functions which it implements
56190 to always fail with ENOSYS. Some functions are actually named
56191 something starting with __ and the normal name is an alias. */
56192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56193 choke me
56194 #else
56195 char (*f) () = $ac_func;
56196 #endif
56197 #ifdef __cplusplus
56199 #endif
56202 main ()
56204 return f != $ac_func;
56206 return 0;
56208 _ACEOF
56209 rm -f conftest.$ac_objext conftest$ac_exeext
56210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56211 (eval $ac_link) 2>conftest.er1
56212 ac_status=$?
56213 grep -v '^ *+' conftest.er1 >conftest.err
56214 rm -f conftest.er1
56215 cat conftest.err >&5
56216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56217 (exit $ac_status); } &&
56218 { ac_try='test -z "$ac_c_werror_flag"
56219 || test ! -s conftest.err'
56220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56221 (eval $ac_try) 2>&5
56222 ac_status=$?
56223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56224 (exit $ac_status); }; } &&
56225 { ac_try='test -s conftest$ac_exeext'
56226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56227 (eval $ac_try) 2>&5
56228 ac_status=$?
56229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56230 (exit $ac_status); }; }; then
56231 eval "$as_ac_var=yes"
56232 else
56233 echo "$as_me: failed program was:" >&5
56234 sed 's/^/| /' conftest.$ac_ext >&5
56236 eval "$as_ac_var=no"
56238 rm -f conftest.err conftest.$ac_objext \
56239 conftest$ac_exeext conftest.$ac_ext
56241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56243 if test `eval echo '${'$as_ac_var'}'` = yes; then
56244 cat >>confdefs.h <<_ACEOF
56245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56246 _ACEOF
56249 done
56259 echo "$as_me:$LINENO: checking for float trig functions" >&5
56260 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56261 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56262 echo $ECHO_N "(cached) $ECHO_C" >&6
56263 else
56267 ac_ext=cc
56268 ac_cpp='$CXXCPP $CPPFLAGS'
56269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56273 cat >conftest.$ac_ext <<_ACEOF
56274 /* confdefs.h. */
56275 _ACEOF
56276 cat confdefs.h >>conftest.$ac_ext
56277 cat >>conftest.$ac_ext <<_ACEOF
56278 /* end confdefs.h. */
56279 #include <math.h>
56281 main ()
56283 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56285 return 0;
56287 _ACEOF
56288 rm -f conftest.$ac_objext
56289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56290 (eval $ac_compile) 2>conftest.er1
56291 ac_status=$?
56292 grep -v '^ *+' conftest.er1 >conftest.err
56293 rm -f conftest.er1
56294 cat conftest.err >&5
56295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56296 (exit $ac_status); } &&
56297 { ac_try='test -z "$ac_cxx_werror_flag"
56298 || test ! -s conftest.err'
56299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56300 (eval $ac_try) 2>&5
56301 ac_status=$?
56302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56303 (exit $ac_status); }; } &&
56304 { ac_try='test -s conftest.$ac_objext'
56305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56306 (eval $ac_try) 2>&5
56307 ac_status=$?
56308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56309 (exit $ac_status); }; }; then
56310 glibcxx_cv_func_float_trig_use=yes
56311 else
56312 echo "$as_me: failed program was:" >&5
56313 sed 's/^/| /' conftest.$ac_ext >&5
56315 glibcxx_cv_func_float_trig_use=no
56317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56318 ac_ext=c
56319 ac_cpp='$CPP $CPPFLAGS'
56320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56326 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56327 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56328 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56338 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56341 echo "$as_me:$LINENO: checking for $ac_func" >&5
56342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56343 if eval "test \"\${$as_ac_var+set}\" = set"; then
56344 echo $ECHO_N "(cached) $ECHO_C" >&6
56345 else
56346 if test x$gcc_no_link = xyes; then
56347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56349 { (exit 1); exit 1; }; }
56351 cat >conftest.$ac_ext <<_ACEOF
56352 /* confdefs.h. */
56353 _ACEOF
56354 cat confdefs.h >>conftest.$ac_ext
56355 cat >>conftest.$ac_ext <<_ACEOF
56356 /* end confdefs.h. */
56357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56359 #define $ac_func innocuous_$ac_func
56361 /* System header to define __stub macros and hopefully few prototypes,
56362 which can conflict with char $ac_func (); below.
56363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56364 <limits.h> exists even on freestanding compilers. */
56366 #ifdef __STDC__
56367 # include <limits.h>
56368 #else
56369 # include <assert.h>
56370 #endif
56372 #undef $ac_func
56374 /* Override any gcc2 internal prototype to avoid an error. */
56375 #ifdef __cplusplus
56376 extern "C"
56378 #endif
56379 /* We use char because int might match the return type of a gcc2
56380 builtin and then its argument prototype would still apply. */
56381 char $ac_func ();
56382 /* The GNU C library defines this for functions which it implements
56383 to always fail with ENOSYS. Some functions are actually named
56384 something starting with __ and the normal name is an alias. */
56385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56386 choke me
56387 #else
56388 char (*f) () = $ac_func;
56389 #endif
56390 #ifdef __cplusplus
56392 #endif
56395 main ()
56397 return f != $ac_func;
56399 return 0;
56401 _ACEOF
56402 rm -f conftest.$ac_objext conftest$ac_exeext
56403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56404 (eval $ac_link) 2>conftest.er1
56405 ac_status=$?
56406 grep -v '^ *+' conftest.er1 >conftest.err
56407 rm -f conftest.er1
56408 cat conftest.err >&5
56409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56410 (exit $ac_status); } &&
56411 { ac_try='test -z "$ac_c_werror_flag"
56412 || test ! -s conftest.err'
56413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56414 (eval $ac_try) 2>&5
56415 ac_status=$?
56416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56417 (exit $ac_status); }; } &&
56418 { ac_try='test -s conftest$ac_exeext'
56419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56420 (eval $ac_try) 2>&5
56421 ac_status=$?
56422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56423 (exit $ac_status); }; }; then
56424 eval "$as_ac_var=yes"
56425 else
56426 echo "$as_me: failed program was:" >&5
56427 sed 's/^/| /' conftest.$ac_ext >&5
56429 eval "$as_ac_var=no"
56431 rm -f conftest.err conftest.$ac_objext \
56432 conftest$ac_exeext conftest.$ac_ext
56434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56436 if test `eval echo '${'$as_ac_var'}'` = yes; then
56437 cat >>confdefs.h <<_ACEOF
56438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56439 _ACEOF
56442 done
56444 else
56445 echo "$as_me:$LINENO: checking for _float trig functions" >&5
56446 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
56447 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
56448 echo $ECHO_N "(cached) $ECHO_C" >&6
56449 else
56453 ac_ext=cc
56454 ac_cpp='$CXXCPP $CPPFLAGS'
56455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56459 cat >conftest.$ac_ext <<_ACEOF
56460 /* confdefs.h. */
56461 _ACEOF
56462 cat confdefs.h >>conftest.$ac_ext
56463 cat >>conftest.$ac_ext <<_ACEOF
56464 /* end confdefs.h. */
56465 #include <math.h>
56467 main ()
56469 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56471 return 0;
56473 _ACEOF
56474 rm -f conftest.$ac_objext
56475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56476 (eval $ac_compile) 2>conftest.er1
56477 ac_status=$?
56478 grep -v '^ *+' conftest.er1 >conftest.err
56479 rm -f conftest.er1
56480 cat conftest.err >&5
56481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56482 (exit $ac_status); } &&
56483 { ac_try='test -z "$ac_cxx_werror_flag"
56484 || test ! -s conftest.err'
56485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56486 (eval $ac_try) 2>&5
56487 ac_status=$?
56488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56489 (exit $ac_status); }; } &&
56490 { ac_try='test -s conftest.$ac_objext'
56491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56492 (eval $ac_try) 2>&5
56493 ac_status=$?
56494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56495 (exit $ac_status); }; }; then
56496 glibcxx_cv_func__float_trig_use=yes
56497 else
56498 echo "$as_me: failed program was:" >&5
56499 sed 's/^/| /' conftest.$ac_ext >&5
56501 glibcxx_cv_func__float_trig_use=no
56503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56504 ac_ext=c
56505 ac_cpp='$CPP $CPPFLAGS'
56506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
56513 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
56514 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56524 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56527 echo "$as_me:$LINENO: checking for $ac_func" >&5
56528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56529 if eval "test \"\${$as_ac_var+set}\" = set"; then
56530 echo $ECHO_N "(cached) $ECHO_C" >&6
56531 else
56532 if test x$gcc_no_link = xyes; then
56533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56535 { (exit 1); exit 1; }; }
56537 cat >conftest.$ac_ext <<_ACEOF
56538 /* confdefs.h. */
56539 _ACEOF
56540 cat confdefs.h >>conftest.$ac_ext
56541 cat >>conftest.$ac_ext <<_ACEOF
56542 /* end confdefs.h. */
56543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56545 #define $ac_func innocuous_$ac_func
56547 /* System header to define __stub macros and hopefully few prototypes,
56548 which can conflict with char $ac_func (); below.
56549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56550 <limits.h> exists even on freestanding compilers. */
56552 #ifdef __STDC__
56553 # include <limits.h>
56554 #else
56555 # include <assert.h>
56556 #endif
56558 #undef $ac_func
56560 /* Override any gcc2 internal prototype to avoid an error. */
56561 #ifdef __cplusplus
56562 extern "C"
56564 #endif
56565 /* We use char because int might match the return type of a gcc2
56566 builtin and then its argument prototype would still apply. */
56567 char $ac_func ();
56568 /* The GNU C library defines this for functions which it implements
56569 to always fail with ENOSYS. Some functions are actually named
56570 something starting with __ and the normal name is an alias. */
56571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56572 choke me
56573 #else
56574 char (*f) () = $ac_func;
56575 #endif
56576 #ifdef __cplusplus
56578 #endif
56581 main ()
56583 return f != $ac_func;
56585 return 0;
56587 _ACEOF
56588 rm -f conftest.$ac_objext conftest$ac_exeext
56589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56590 (eval $ac_link) 2>conftest.er1
56591 ac_status=$?
56592 grep -v '^ *+' conftest.er1 >conftest.err
56593 rm -f conftest.er1
56594 cat conftest.err >&5
56595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56596 (exit $ac_status); } &&
56597 { ac_try='test -z "$ac_c_werror_flag"
56598 || test ! -s conftest.err'
56599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56600 (eval $ac_try) 2>&5
56601 ac_status=$?
56602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56603 (exit $ac_status); }; } &&
56604 { ac_try='test -s conftest$ac_exeext'
56605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56606 (eval $ac_try) 2>&5
56607 ac_status=$?
56608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56609 (exit $ac_status); }; }; then
56610 eval "$as_ac_var=yes"
56611 else
56612 echo "$as_me: failed program was:" >&5
56613 sed 's/^/| /' conftest.$ac_ext >&5
56615 eval "$as_ac_var=no"
56617 rm -f conftest.err conftest.$ac_objext \
56618 conftest$ac_exeext conftest.$ac_ext
56620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56622 if test `eval echo '${'$as_ac_var'}'` = yes; then
56623 cat >>confdefs.h <<_ACEOF
56624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56625 _ACEOF
56628 done
56646 echo "$as_me:$LINENO: checking for float round functions" >&5
56647 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56648 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56649 echo $ECHO_N "(cached) $ECHO_C" >&6
56650 else
56654 ac_ext=cc
56655 ac_cpp='$CXXCPP $CPPFLAGS'
56656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56660 cat >conftest.$ac_ext <<_ACEOF
56661 /* confdefs.h. */
56662 _ACEOF
56663 cat confdefs.h >>conftest.$ac_ext
56664 cat >>conftest.$ac_ext <<_ACEOF
56665 /* end confdefs.h. */
56666 #include <math.h>
56668 main ()
56670 ceilf (0); floorf (0);
56672 return 0;
56674 _ACEOF
56675 rm -f conftest.$ac_objext
56676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56677 (eval $ac_compile) 2>conftest.er1
56678 ac_status=$?
56679 grep -v '^ *+' conftest.er1 >conftest.err
56680 rm -f conftest.er1
56681 cat conftest.err >&5
56682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56683 (exit $ac_status); } &&
56684 { ac_try='test -z "$ac_cxx_werror_flag"
56685 || test ! -s conftest.err'
56686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56687 (eval $ac_try) 2>&5
56688 ac_status=$?
56689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56690 (exit $ac_status); }; } &&
56691 { ac_try='test -s conftest.$ac_objext'
56692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56693 (eval $ac_try) 2>&5
56694 ac_status=$?
56695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56696 (exit $ac_status); }; }; then
56697 glibcxx_cv_func_float_round_use=yes
56698 else
56699 echo "$as_me: failed program was:" >&5
56700 sed 's/^/| /' conftest.$ac_ext >&5
56702 glibcxx_cv_func_float_round_use=no
56704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56705 ac_ext=c
56706 ac_cpp='$CPP $CPPFLAGS'
56707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56713 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56714 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56715 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56718 for ac_func in ceilf floorf
56720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56721 echo "$as_me:$LINENO: checking for $ac_func" >&5
56722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56723 if eval "test \"\${$as_ac_var+set}\" = set"; then
56724 echo $ECHO_N "(cached) $ECHO_C" >&6
56725 else
56726 if test x$gcc_no_link = xyes; then
56727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56729 { (exit 1); exit 1; }; }
56731 cat >conftest.$ac_ext <<_ACEOF
56732 /* confdefs.h. */
56733 _ACEOF
56734 cat confdefs.h >>conftest.$ac_ext
56735 cat >>conftest.$ac_ext <<_ACEOF
56736 /* end confdefs.h. */
56737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56739 #define $ac_func innocuous_$ac_func
56741 /* System header to define __stub macros and hopefully few prototypes,
56742 which can conflict with char $ac_func (); below.
56743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56744 <limits.h> exists even on freestanding compilers. */
56746 #ifdef __STDC__
56747 # include <limits.h>
56748 #else
56749 # include <assert.h>
56750 #endif
56752 #undef $ac_func
56754 /* Override any gcc2 internal prototype to avoid an error. */
56755 #ifdef __cplusplus
56756 extern "C"
56758 #endif
56759 /* We use char because int might match the return type of a gcc2
56760 builtin and then its argument prototype would still apply. */
56761 char $ac_func ();
56762 /* The GNU C library defines this for functions which it implements
56763 to always fail with ENOSYS. Some functions are actually named
56764 something starting with __ and the normal name is an alias. */
56765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56766 choke me
56767 #else
56768 char (*f) () = $ac_func;
56769 #endif
56770 #ifdef __cplusplus
56772 #endif
56775 main ()
56777 return f != $ac_func;
56779 return 0;
56781 _ACEOF
56782 rm -f conftest.$ac_objext conftest$ac_exeext
56783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56784 (eval $ac_link) 2>conftest.er1
56785 ac_status=$?
56786 grep -v '^ *+' conftest.er1 >conftest.err
56787 rm -f conftest.er1
56788 cat conftest.err >&5
56789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56790 (exit $ac_status); } &&
56791 { ac_try='test -z "$ac_c_werror_flag"
56792 || test ! -s conftest.err'
56793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56794 (eval $ac_try) 2>&5
56795 ac_status=$?
56796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56797 (exit $ac_status); }; } &&
56798 { ac_try='test -s conftest$ac_exeext'
56799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56800 (eval $ac_try) 2>&5
56801 ac_status=$?
56802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56803 (exit $ac_status); }; }; then
56804 eval "$as_ac_var=yes"
56805 else
56806 echo "$as_me: failed program was:" >&5
56807 sed 's/^/| /' conftest.$ac_ext >&5
56809 eval "$as_ac_var=no"
56811 rm -f conftest.err conftest.$ac_objext \
56812 conftest$ac_exeext conftest.$ac_ext
56814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56816 if test `eval echo '${'$as_ac_var'}'` = yes; then
56817 cat >>confdefs.h <<_ACEOF
56818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56819 _ACEOF
56822 done
56824 else
56825 echo "$as_me:$LINENO: checking for _float round functions" >&5
56826 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
56827 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
56828 echo $ECHO_N "(cached) $ECHO_C" >&6
56829 else
56833 ac_ext=cc
56834 ac_cpp='$CXXCPP $CPPFLAGS'
56835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56839 cat >conftest.$ac_ext <<_ACEOF
56840 /* confdefs.h. */
56841 _ACEOF
56842 cat confdefs.h >>conftest.$ac_ext
56843 cat >>conftest.$ac_ext <<_ACEOF
56844 /* end confdefs.h. */
56845 #include <math.h>
56847 main ()
56849 _ceilf (0); _floorf (0);
56851 return 0;
56853 _ACEOF
56854 rm -f conftest.$ac_objext
56855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56856 (eval $ac_compile) 2>conftest.er1
56857 ac_status=$?
56858 grep -v '^ *+' conftest.er1 >conftest.err
56859 rm -f conftest.er1
56860 cat conftest.err >&5
56861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56862 (exit $ac_status); } &&
56863 { ac_try='test -z "$ac_cxx_werror_flag"
56864 || test ! -s conftest.err'
56865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56866 (eval $ac_try) 2>&5
56867 ac_status=$?
56868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56869 (exit $ac_status); }; } &&
56870 { ac_try='test -s conftest.$ac_objext'
56871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56872 (eval $ac_try) 2>&5
56873 ac_status=$?
56874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56875 (exit $ac_status); }; }; then
56876 glibcxx_cv_func__float_round_use=yes
56877 else
56878 echo "$as_me: failed program was:" >&5
56879 sed 's/^/| /' conftest.$ac_ext >&5
56881 glibcxx_cv_func__float_round_use=no
56883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56884 ac_ext=c
56885 ac_cpp='$CPP $CPPFLAGS'
56886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56892 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
56893 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
56894 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56897 for ac_func in _ceilf _floorf
56899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56900 echo "$as_me:$LINENO: checking for $ac_func" >&5
56901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56902 if eval "test \"\${$as_ac_var+set}\" = set"; then
56903 echo $ECHO_N "(cached) $ECHO_C" >&6
56904 else
56905 if test x$gcc_no_link = xyes; then
56906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56908 { (exit 1); exit 1; }; }
56910 cat >conftest.$ac_ext <<_ACEOF
56911 /* confdefs.h. */
56912 _ACEOF
56913 cat confdefs.h >>conftest.$ac_ext
56914 cat >>conftest.$ac_ext <<_ACEOF
56915 /* end confdefs.h. */
56916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56918 #define $ac_func innocuous_$ac_func
56920 /* System header to define __stub macros and hopefully few prototypes,
56921 which can conflict with char $ac_func (); below.
56922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56923 <limits.h> exists even on freestanding compilers. */
56925 #ifdef __STDC__
56926 # include <limits.h>
56927 #else
56928 # include <assert.h>
56929 #endif
56931 #undef $ac_func
56933 /* Override any gcc2 internal prototype to avoid an error. */
56934 #ifdef __cplusplus
56935 extern "C"
56937 #endif
56938 /* We use char because int might match the return type of a gcc2
56939 builtin and then its argument prototype would still apply. */
56940 char $ac_func ();
56941 /* The GNU C library defines this for functions which it implements
56942 to always fail with ENOSYS. Some functions are actually named
56943 something starting with __ and the normal name is an alias. */
56944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56945 choke me
56946 #else
56947 char (*f) () = $ac_func;
56948 #endif
56949 #ifdef __cplusplus
56951 #endif
56954 main ()
56956 return f != $ac_func;
56958 return 0;
56960 _ACEOF
56961 rm -f conftest.$ac_objext conftest$ac_exeext
56962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56963 (eval $ac_link) 2>conftest.er1
56964 ac_status=$?
56965 grep -v '^ *+' conftest.er1 >conftest.err
56966 rm -f conftest.er1
56967 cat conftest.err >&5
56968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56969 (exit $ac_status); } &&
56970 { ac_try='test -z "$ac_c_werror_flag"
56971 || test ! -s conftest.err'
56972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56973 (eval $ac_try) 2>&5
56974 ac_status=$?
56975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56976 (exit $ac_status); }; } &&
56977 { ac_try='test -s conftest$ac_exeext'
56978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56979 (eval $ac_try) 2>&5
56980 ac_status=$?
56981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56982 (exit $ac_status); }; }; then
56983 eval "$as_ac_var=yes"
56984 else
56985 echo "$as_me: failed program was:" >&5
56986 sed 's/^/| /' conftest.$ac_ext >&5
56988 eval "$as_ac_var=no"
56990 rm -f conftest.err conftest.$ac_objext \
56991 conftest$ac_exeext conftest.$ac_ext
56993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56995 if test `eval echo '${'$as_ac_var'}'` = yes; then
56996 cat >>confdefs.h <<_ACEOF
56997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56998 _ACEOF
57001 done
57013 echo "$as_me:$LINENO: checking for expf declaration" >&5
57014 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57015 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57016 if test "${glibcxx_cv_func_expf_use+set}" = set; then
57017 echo $ECHO_N "(cached) $ECHO_C" >&6
57018 else
57022 ac_ext=cc
57023 ac_cpp='$CXXCPP $CPPFLAGS'
57024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57028 cat >conftest.$ac_ext <<_ACEOF
57029 /* confdefs.h. */
57030 _ACEOF
57031 cat confdefs.h >>conftest.$ac_ext
57032 cat >>conftest.$ac_ext <<_ACEOF
57033 /* end confdefs.h. */
57034 #include <math.h>
57035 #ifdef HAVE_IEEEFP_H
57036 #include <ieeefp.h>
57037 #endif
57040 main ()
57042 expf(0);
57044 return 0;
57046 _ACEOF
57047 rm -f conftest.$ac_objext
57048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57049 (eval $ac_compile) 2>conftest.er1
57050 ac_status=$?
57051 grep -v '^ *+' conftest.er1 >conftest.err
57052 rm -f conftest.er1
57053 cat conftest.err >&5
57054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57055 (exit $ac_status); } &&
57056 { ac_try='test -z "$ac_cxx_werror_flag"
57057 || test ! -s conftest.err'
57058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57059 (eval $ac_try) 2>&5
57060 ac_status=$?
57061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57062 (exit $ac_status); }; } &&
57063 { ac_try='test -s conftest.$ac_objext'
57064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57065 (eval $ac_try) 2>&5
57066 ac_status=$?
57067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57068 (exit $ac_status); }; }; then
57069 glibcxx_cv_func_expf_use=yes
57070 else
57071 echo "$as_me: failed program was:" >&5
57072 sed 's/^/| /' conftest.$ac_ext >&5
57074 glibcxx_cv_func_expf_use=no
57076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57077 ac_ext=c
57078 ac_cpp='$CPP $CPPFLAGS'
57079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57088 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57090 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57092 for ac_func in expf
57094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57095 echo "$as_me:$LINENO: checking for $ac_func" >&5
57096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57097 if eval "test \"\${$as_ac_var+set}\" = set"; then
57098 echo $ECHO_N "(cached) $ECHO_C" >&6
57099 else
57100 if test x$gcc_no_link = xyes; then
57101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57103 { (exit 1); exit 1; }; }
57105 cat >conftest.$ac_ext <<_ACEOF
57106 /* confdefs.h. */
57107 _ACEOF
57108 cat confdefs.h >>conftest.$ac_ext
57109 cat >>conftest.$ac_ext <<_ACEOF
57110 /* end confdefs.h. */
57111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57113 #define $ac_func innocuous_$ac_func
57115 /* System header to define __stub macros and hopefully few prototypes,
57116 which can conflict with char $ac_func (); below.
57117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57118 <limits.h> exists even on freestanding compilers. */
57120 #ifdef __STDC__
57121 # include <limits.h>
57122 #else
57123 # include <assert.h>
57124 #endif
57126 #undef $ac_func
57128 /* Override any gcc2 internal prototype to avoid an error. */
57129 #ifdef __cplusplus
57130 extern "C"
57132 #endif
57133 /* We use char because int might match the return type of a gcc2
57134 builtin and then its argument prototype would still apply. */
57135 char $ac_func ();
57136 /* The GNU C library defines this for functions which it implements
57137 to always fail with ENOSYS. Some functions are actually named
57138 something starting with __ and the normal name is an alias. */
57139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57140 choke me
57141 #else
57142 char (*f) () = $ac_func;
57143 #endif
57144 #ifdef __cplusplus
57146 #endif
57149 main ()
57151 return f != $ac_func;
57153 return 0;
57155 _ACEOF
57156 rm -f conftest.$ac_objext conftest$ac_exeext
57157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57158 (eval $ac_link) 2>conftest.er1
57159 ac_status=$?
57160 grep -v '^ *+' conftest.er1 >conftest.err
57161 rm -f conftest.er1
57162 cat conftest.err >&5
57163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57164 (exit $ac_status); } &&
57165 { ac_try='test -z "$ac_c_werror_flag"
57166 || test ! -s conftest.err'
57167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57168 (eval $ac_try) 2>&5
57169 ac_status=$?
57170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57171 (exit $ac_status); }; } &&
57172 { ac_try='test -s conftest$ac_exeext'
57173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57174 (eval $ac_try) 2>&5
57175 ac_status=$?
57176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57177 (exit $ac_status); }; }; then
57178 eval "$as_ac_var=yes"
57179 else
57180 echo "$as_me: failed program was:" >&5
57181 sed 's/^/| /' conftest.$ac_ext >&5
57183 eval "$as_ac_var=no"
57185 rm -f conftest.err conftest.$ac_objext \
57186 conftest$ac_exeext conftest.$ac_ext
57188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57190 if test `eval echo '${'$as_ac_var'}'` = yes; then
57191 cat >>confdefs.h <<_ACEOF
57192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57193 _ACEOF
57196 done
57198 else
57200 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57201 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57202 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57203 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57204 echo $ECHO_N "(cached) $ECHO_C" >&6
57205 else
57209 ac_ext=cc
57210 ac_cpp='$CXXCPP $CPPFLAGS'
57211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57215 cat >conftest.$ac_ext <<_ACEOF
57216 /* confdefs.h. */
57217 _ACEOF
57218 cat confdefs.h >>conftest.$ac_ext
57219 cat >>conftest.$ac_ext <<_ACEOF
57220 /* end confdefs.h. */
57221 #include <math.h>
57222 #ifdef HAVE_IEEEFP_H
57223 #include <ieeefp.h>
57224 #endif
57227 main ()
57229 _expf(0);
57231 return 0;
57233 _ACEOF
57234 rm -f conftest.$ac_objext
57235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57236 (eval $ac_compile) 2>conftest.er1
57237 ac_status=$?
57238 grep -v '^ *+' conftest.er1 >conftest.err
57239 rm -f conftest.er1
57240 cat conftest.err >&5
57241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57242 (exit $ac_status); } &&
57243 { ac_try='test -z "$ac_cxx_werror_flag"
57244 || test ! -s conftest.err'
57245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57246 (eval $ac_try) 2>&5
57247 ac_status=$?
57248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57249 (exit $ac_status); }; } &&
57250 { ac_try='test -s conftest.$ac_objext'
57251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57252 (eval $ac_try) 2>&5
57253 ac_status=$?
57254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57255 (exit $ac_status); }; }; then
57256 glibcxx_cv_func__expf_use=yes
57257 else
57258 echo "$as_me: failed program was:" >&5
57259 sed 's/^/| /' conftest.$ac_ext >&5
57261 glibcxx_cv_func__expf_use=no
57263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57264 ac_ext=c
57265 ac_cpp='$CPP $CPPFLAGS'
57266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57274 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57275 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57277 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57279 for ac_func in _expf
57281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57282 echo "$as_me:$LINENO: checking for $ac_func" >&5
57283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57284 if eval "test \"\${$as_ac_var+set}\" = set"; then
57285 echo $ECHO_N "(cached) $ECHO_C" >&6
57286 else
57287 if test x$gcc_no_link = xyes; then
57288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57290 { (exit 1); exit 1; }; }
57292 cat >conftest.$ac_ext <<_ACEOF
57293 /* confdefs.h. */
57294 _ACEOF
57295 cat confdefs.h >>conftest.$ac_ext
57296 cat >>conftest.$ac_ext <<_ACEOF
57297 /* end confdefs.h. */
57298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57300 #define $ac_func innocuous_$ac_func
57302 /* System header to define __stub macros and hopefully few prototypes,
57303 which can conflict with char $ac_func (); below.
57304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57305 <limits.h> exists even on freestanding compilers. */
57307 #ifdef __STDC__
57308 # include <limits.h>
57309 #else
57310 # include <assert.h>
57311 #endif
57313 #undef $ac_func
57315 /* Override any gcc2 internal prototype to avoid an error. */
57316 #ifdef __cplusplus
57317 extern "C"
57319 #endif
57320 /* We use char because int might match the return type of a gcc2
57321 builtin and then its argument prototype would still apply. */
57322 char $ac_func ();
57323 /* The GNU C library defines this for functions which it implements
57324 to always fail with ENOSYS. Some functions are actually named
57325 something starting with __ and the normal name is an alias. */
57326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57327 choke me
57328 #else
57329 char (*f) () = $ac_func;
57330 #endif
57331 #ifdef __cplusplus
57333 #endif
57336 main ()
57338 return f != $ac_func;
57340 return 0;
57342 _ACEOF
57343 rm -f conftest.$ac_objext conftest$ac_exeext
57344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57345 (eval $ac_link) 2>conftest.er1
57346 ac_status=$?
57347 grep -v '^ *+' conftest.er1 >conftest.err
57348 rm -f conftest.er1
57349 cat conftest.err >&5
57350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57351 (exit $ac_status); } &&
57352 { ac_try='test -z "$ac_c_werror_flag"
57353 || test ! -s conftest.err'
57354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57355 (eval $ac_try) 2>&5
57356 ac_status=$?
57357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57358 (exit $ac_status); }; } &&
57359 { ac_try='test -s conftest$ac_exeext'
57360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57361 (eval $ac_try) 2>&5
57362 ac_status=$?
57363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57364 (exit $ac_status); }; }; then
57365 eval "$as_ac_var=yes"
57366 else
57367 echo "$as_me: failed program was:" >&5
57368 sed 's/^/| /' conftest.$ac_ext >&5
57370 eval "$as_ac_var=no"
57372 rm -f conftest.err conftest.$ac_objext \
57373 conftest$ac_exeext conftest.$ac_ext
57375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57377 if test `eval echo '${'$as_ac_var'}'` = yes; then
57378 cat >>confdefs.h <<_ACEOF
57379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57380 _ACEOF
57383 done
57393 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57394 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57395 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57396 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57397 echo $ECHO_N "(cached) $ECHO_C" >&6
57398 else
57402 ac_ext=cc
57403 ac_cpp='$CXXCPP $CPPFLAGS'
57404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57408 cat >conftest.$ac_ext <<_ACEOF
57409 /* confdefs.h. */
57410 _ACEOF
57411 cat confdefs.h >>conftest.$ac_ext
57412 cat >>conftest.$ac_ext <<_ACEOF
57413 /* end confdefs.h. */
57414 #include <math.h>
57415 #ifdef HAVE_IEEEFP_H
57416 #include <ieeefp.h>
57417 #endif
57420 main ()
57422 isnanf(0);
57424 return 0;
57426 _ACEOF
57427 rm -f conftest.$ac_objext
57428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57429 (eval $ac_compile) 2>conftest.er1
57430 ac_status=$?
57431 grep -v '^ *+' conftest.er1 >conftest.err
57432 rm -f conftest.er1
57433 cat conftest.err >&5
57434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57435 (exit $ac_status); } &&
57436 { ac_try='test -z "$ac_cxx_werror_flag"
57437 || test ! -s conftest.err'
57438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57439 (eval $ac_try) 2>&5
57440 ac_status=$?
57441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57442 (exit $ac_status); }; } &&
57443 { ac_try='test -s conftest.$ac_objext'
57444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57445 (eval $ac_try) 2>&5
57446 ac_status=$?
57447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57448 (exit $ac_status); }; }; then
57449 glibcxx_cv_func_isnanf_use=yes
57450 else
57451 echo "$as_me: failed program was:" >&5
57452 sed 's/^/| /' conftest.$ac_ext >&5
57454 glibcxx_cv_func_isnanf_use=no
57456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57457 ac_ext=c
57458 ac_cpp='$CPP $CPPFLAGS'
57459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57468 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57470 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57472 for ac_func in isnanf
57474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57475 echo "$as_me:$LINENO: checking for $ac_func" >&5
57476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57477 if eval "test \"\${$as_ac_var+set}\" = set"; then
57478 echo $ECHO_N "(cached) $ECHO_C" >&6
57479 else
57480 if test x$gcc_no_link = xyes; then
57481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57483 { (exit 1); exit 1; }; }
57485 cat >conftest.$ac_ext <<_ACEOF
57486 /* confdefs.h. */
57487 _ACEOF
57488 cat confdefs.h >>conftest.$ac_ext
57489 cat >>conftest.$ac_ext <<_ACEOF
57490 /* end confdefs.h. */
57491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57493 #define $ac_func innocuous_$ac_func
57495 /* System header to define __stub macros and hopefully few prototypes,
57496 which can conflict with char $ac_func (); below.
57497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57498 <limits.h> exists even on freestanding compilers. */
57500 #ifdef __STDC__
57501 # include <limits.h>
57502 #else
57503 # include <assert.h>
57504 #endif
57506 #undef $ac_func
57508 /* Override any gcc2 internal prototype to avoid an error. */
57509 #ifdef __cplusplus
57510 extern "C"
57512 #endif
57513 /* We use char because int might match the return type of a gcc2
57514 builtin and then its argument prototype would still apply. */
57515 char $ac_func ();
57516 /* The GNU C library defines this for functions which it implements
57517 to always fail with ENOSYS. Some functions are actually named
57518 something starting with __ and the normal name is an alias. */
57519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57520 choke me
57521 #else
57522 char (*f) () = $ac_func;
57523 #endif
57524 #ifdef __cplusplus
57526 #endif
57529 main ()
57531 return f != $ac_func;
57533 return 0;
57535 _ACEOF
57536 rm -f conftest.$ac_objext conftest$ac_exeext
57537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57538 (eval $ac_link) 2>conftest.er1
57539 ac_status=$?
57540 grep -v '^ *+' conftest.er1 >conftest.err
57541 rm -f conftest.er1
57542 cat conftest.err >&5
57543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57544 (exit $ac_status); } &&
57545 { ac_try='test -z "$ac_c_werror_flag"
57546 || test ! -s conftest.err'
57547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57548 (eval $ac_try) 2>&5
57549 ac_status=$?
57550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57551 (exit $ac_status); }; } &&
57552 { ac_try='test -s conftest$ac_exeext'
57553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57554 (eval $ac_try) 2>&5
57555 ac_status=$?
57556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57557 (exit $ac_status); }; }; then
57558 eval "$as_ac_var=yes"
57559 else
57560 echo "$as_me: failed program was:" >&5
57561 sed 's/^/| /' conftest.$ac_ext >&5
57563 eval "$as_ac_var=no"
57565 rm -f conftest.err conftest.$ac_objext \
57566 conftest$ac_exeext conftest.$ac_ext
57568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57570 if test `eval echo '${'$as_ac_var'}'` = yes; then
57571 cat >>confdefs.h <<_ACEOF
57572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57573 _ACEOF
57576 done
57578 else
57580 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57581 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57582 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57583 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57584 echo $ECHO_N "(cached) $ECHO_C" >&6
57585 else
57589 ac_ext=cc
57590 ac_cpp='$CXXCPP $CPPFLAGS'
57591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57595 cat >conftest.$ac_ext <<_ACEOF
57596 /* confdefs.h. */
57597 _ACEOF
57598 cat confdefs.h >>conftest.$ac_ext
57599 cat >>conftest.$ac_ext <<_ACEOF
57600 /* end confdefs.h. */
57601 #include <math.h>
57602 #ifdef HAVE_IEEEFP_H
57603 #include <ieeefp.h>
57604 #endif
57607 main ()
57609 _isnanf(0);
57611 return 0;
57613 _ACEOF
57614 rm -f conftest.$ac_objext
57615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57616 (eval $ac_compile) 2>conftest.er1
57617 ac_status=$?
57618 grep -v '^ *+' conftest.er1 >conftest.err
57619 rm -f conftest.er1
57620 cat conftest.err >&5
57621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57622 (exit $ac_status); } &&
57623 { ac_try='test -z "$ac_cxx_werror_flag"
57624 || test ! -s conftest.err'
57625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57626 (eval $ac_try) 2>&5
57627 ac_status=$?
57628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57629 (exit $ac_status); }; } &&
57630 { ac_try='test -s conftest.$ac_objext'
57631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57632 (eval $ac_try) 2>&5
57633 ac_status=$?
57634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57635 (exit $ac_status); }; }; then
57636 glibcxx_cv_func__isnanf_use=yes
57637 else
57638 echo "$as_me: failed program was:" >&5
57639 sed 's/^/| /' conftest.$ac_ext >&5
57641 glibcxx_cv_func__isnanf_use=no
57643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57644 ac_ext=c
57645 ac_cpp='$CPP $CPPFLAGS'
57646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57654 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57655 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57657 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57659 for ac_func in _isnanf
57661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57662 echo "$as_me:$LINENO: checking for $ac_func" >&5
57663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57664 if eval "test \"\${$as_ac_var+set}\" = set"; then
57665 echo $ECHO_N "(cached) $ECHO_C" >&6
57666 else
57667 if test x$gcc_no_link = xyes; then
57668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57670 { (exit 1); exit 1; }; }
57672 cat >conftest.$ac_ext <<_ACEOF
57673 /* confdefs.h. */
57674 _ACEOF
57675 cat confdefs.h >>conftest.$ac_ext
57676 cat >>conftest.$ac_ext <<_ACEOF
57677 /* end confdefs.h. */
57678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57680 #define $ac_func innocuous_$ac_func
57682 /* System header to define __stub macros and hopefully few prototypes,
57683 which can conflict with char $ac_func (); below.
57684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57685 <limits.h> exists even on freestanding compilers. */
57687 #ifdef __STDC__
57688 # include <limits.h>
57689 #else
57690 # include <assert.h>
57691 #endif
57693 #undef $ac_func
57695 /* Override any gcc2 internal prototype to avoid an error. */
57696 #ifdef __cplusplus
57697 extern "C"
57699 #endif
57700 /* We use char because int might match the return type of a gcc2
57701 builtin and then its argument prototype would still apply. */
57702 char $ac_func ();
57703 /* The GNU C library defines this for functions which it implements
57704 to always fail with ENOSYS. Some functions are actually named
57705 something starting with __ and the normal name is an alias. */
57706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57707 choke me
57708 #else
57709 char (*f) () = $ac_func;
57710 #endif
57711 #ifdef __cplusplus
57713 #endif
57716 main ()
57718 return f != $ac_func;
57720 return 0;
57722 _ACEOF
57723 rm -f conftest.$ac_objext conftest$ac_exeext
57724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57725 (eval $ac_link) 2>conftest.er1
57726 ac_status=$?
57727 grep -v '^ *+' conftest.er1 >conftest.err
57728 rm -f conftest.er1
57729 cat conftest.err >&5
57730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57731 (exit $ac_status); } &&
57732 { ac_try='test -z "$ac_c_werror_flag"
57733 || test ! -s conftest.err'
57734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57735 (eval $ac_try) 2>&5
57736 ac_status=$?
57737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57738 (exit $ac_status); }; } &&
57739 { ac_try='test -s conftest$ac_exeext'
57740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57741 (eval $ac_try) 2>&5
57742 ac_status=$?
57743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57744 (exit $ac_status); }; }; then
57745 eval "$as_ac_var=yes"
57746 else
57747 echo "$as_me: failed program was:" >&5
57748 sed 's/^/| /' conftest.$ac_ext >&5
57750 eval "$as_ac_var=no"
57752 rm -f conftest.err conftest.$ac_objext \
57753 conftest$ac_exeext conftest.$ac_ext
57755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57757 if test `eval echo '${'$as_ac_var'}'` = yes; then
57758 cat >>confdefs.h <<_ACEOF
57759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57760 _ACEOF
57763 done
57773 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57774 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57775 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57776 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57777 echo $ECHO_N "(cached) $ECHO_C" >&6
57778 else
57782 ac_ext=cc
57783 ac_cpp='$CXXCPP $CPPFLAGS'
57784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57788 cat >conftest.$ac_ext <<_ACEOF
57789 /* confdefs.h. */
57790 _ACEOF
57791 cat confdefs.h >>conftest.$ac_ext
57792 cat >>conftest.$ac_ext <<_ACEOF
57793 /* end confdefs.h. */
57794 #include <math.h>
57795 #ifdef HAVE_IEEEFP_H
57796 #include <ieeefp.h>
57797 #endif
57800 main ()
57802 isinff(0);
57804 return 0;
57806 _ACEOF
57807 rm -f conftest.$ac_objext
57808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57809 (eval $ac_compile) 2>conftest.er1
57810 ac_status=$?
57811 grep -v '^ *+' conftest.er1 >conftest.err
57812 rm -f conftest.er1
57813 cat conftest.err >&5
57814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57815 (exit $ac_status); } &&
57816 { ac_try='test -z "$ac_cxx_werror_flag"
57817 || test ! -s conftest.err'
57818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57819 (eval $ac_try) 2>&5
57820 ac_status=$?
57821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57822 (exit $ac_status); }; } &&
57823 { ac_try='test -s conftest.$ac_objext'
57824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57825 (eval $ac_try) 2>&5
57826 ac_status=$?
57827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57828 (exit $ac_status); }; }; then
57829 glibcxx_cv_func_isinff_use=yes
57830 else
57831 echo "$as_me: failed program was:" >&5
57832 sed 's/^/| /' conftest.$ac_ext >&5
57834 glibcxx_cv_func_isinff_use=no
57836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57837 ac_ext=c
57838 ac_cpp='$CPP $CPPFLAGS'
57839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57848 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57850 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57852 for ac_func in isinff
57854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57855 echo "$as_me:$LINENO: checking for $ac_func" >&5
57856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57857 if eval "test \"\${$as_ac_var+set}\" = set"; then
57858 echo $ECHO_N "(cached) $ECHO_C" >&6
57859 else
57860 if test x$gcc_no_link = xyes; then
57861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57863 { (exit 1); exit 1; }; }
57865 cat >conftest.$ac_ext <<_ACEOF
57866 /* confdefs.h. */
57867 _ACEOF
57868 cat confdefs.h >>conftest.$ac_ext
57869 cat >>conftest.$ac_ext <<_ACEOF
57870 /* end confdefs.h. */
57871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57873 #define $ac_func innocuous_$ac_func
57875 /* System header to define __stub macros and hopefully few prototypes,
57876 which can conflict with char $ac_func (); below.
57877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57878 <limits.h> exists even on freestanding compilers. */
57880 #ifdef __STDC__
57881 # include <limits.h>
57882 #else
57883 # include <assert.h>
57884 #endif
57886 #undef $ac_func
57888 /* Override any gcc2 internal prototype to avoid an error. */
57889 #ifdef __cplusplus
57890 extern "C"
57892 #endif
57893 /* We use char because int might match the return type of a gcc2
57894 builtin and then its argument prototype would still apply. */
57895 char $ac_func ();
57896 /* The GNU C library defines this for functions which it implements
57897 to always fail with ENOSYS. Some functions are actually named
57898 something starting with __ and the normal name is an alias. */
57899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57900 choke me
57901 #else
57902 char (*f) () = $ac_func;
57903 #endif
57904 #ifdef __cplusplus
57906 #endif
57909 main ()
57911 return f != $ac_func;
57913 return 0;
57915 _ACEOF
57916 rm -f conftest.$ac_objext conftest$ac_exeext
57917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57918 (eval $ac_link) 2>conftest.er1
57919 ac_status=$?
57920 grep -v '^ *+' conftest.er1 >conftest.err
57921 rm -f conftest.er1
57922 cat conftest.err >&5
57923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57924 (exit $ac_status); } &&
57925 { ac_try='test -z "$ac_c_werror_flag"
57926 || test ! -s conftest.err'
57927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57928 (eval $ac_try) 2>&5
57929 ac_status=$?
57930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57931 (exit $ac_status); }; } &&
57932 { ac_try='test -s conftest$ac_exeext'
57933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57934 (eval $ac_try) 2>&5
57935 ac_status=$?
57936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57937 (exit $ac_status); }; }; then
57938 eval "$as_ac_var=yes"
57939 else
57940 echo "$as_me: failed program was:" >&5
57941 sed 's/^/| /' conftest.$ac_ext >&5
57943 eval "$as_ac_var=no"
57945 rm -f conftest.err conftest.$ac_objext \
57946 conftest$ac_exeext conftest.$ac_ext
57948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57950 if test `eval echo '${'$as_ac_var'}'` = yes; then
57951 cat >>confdefs.h <<_ACEOF
57952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57953 _ACEOF
57956 done
57958 else
57960 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57961 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57962 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57963 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57964 echo $ECHO_N "(cached) $ECHO_C" >&6
57965 else
57969 ac_ext=cc
57970 ac_cpp='$CXXCPP $CPPFLAGS'
57971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57975 cat >conftest.$ac_ext <<_ACEOF
57976 /* confdefs.h. */
57977 _ACEOF
57978 cat confdefs.h >>conftest.$ac_ext
57979 cat >>conftest.$ac_ext <<_ACEOF
57980 /* end confdefs.h. */
57981 #include <math.h>
57982 #ifdef HAVE_IEEEFP_H
57983 #include <ieeefp.h>
57984 #endif
57987 main ()
57989 _isinff(0);
57991 return 0;
57993 _ACEOF
57994 rm -f conftest.$ac_objext
57995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57996 (eval $ac_compile) 2>conftest.er1
57997 ac_status=$?
57998 grep -v '^ *+' conftest.er1 >conftest.err
57999 rm -f conftest.er1
58000 cat conftest.err >&5
58001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58002 (exit $ac_status); } &&
58003 { ac_try='test -z "$ac_cxx_werror_flag"
58004 || test ! -s conftest.err'
58005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58006 (eval $ac_try) 2>&5
58007 ac_status=$?
58008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58009 (exit $ac_status); }; } &&
58010 { ac_try='test -s conftest.$ac_objext'
58011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58012 (eval $ac_try) 2>&5
58013 ac_status=$?
58014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58015 (exit $ac_status); }; }; then
58016 glibcxx_cv_func__isinff_use=yes
58017 else
58018 echo "$as_me: failed program was:" >&5
58019 sed 's/^/| /' conftest.$ac_ext >&5
58021 glibcxx_cv_func__isinff_use=no
58023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58024 ac_ext=c
58025 ac_cpp='$CPP $CPPFLAGS'
58026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58034 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58035 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58037 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58039 for ac_func in _isinff
58041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58042 echo "$as_me:$LINENO: checking for $ac_func" >&5
58043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58044 if eval "test \"\${$as_ac_var+set}\" = set"; then
58045 echo $ECHO_N "(cached) $ECHO_C" >&6
58046 else
58047 if test x$gcc_no_link = xyes; then
58048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58050 { (exit 1); exit 1; }; }
58052 cat >conftest.$ac_ext <<_ACEOF
58053 /* confdefs.h. */
58054 _ACEOF
58055 cat confdefs.h >>conftest.$ac_ext
58056 cat >>conftest.$ac_ext <<_ACEOF
58057 /* end confdefs.h. */
58058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58060 #define $ac_func innocuous_$ac_func
58062 /* System header to define __stub macros and hopefully few prototypes,
58063 which can conflict with char $ac_func (); below.
58064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58065 <limits.h> exists even on freestanding compilers. */
58067 #ifdef __STDC__
58068 # include <limits.h>
58069 #else
58070 # include <assert.h>
58071 #endif
58073 #undef $ac_func
58075 /* Override any gcc2 internal prototype to avoid an error. */
58076 #ifdef __cplusplus
58077 extern "C"
58079 #endif
58080 /* We use char because int might match the return type of a gcc2
58081 builtin and then its argument prototype would still apply. */
58082 char $ac_func ();
58083 /* The GNU C library defines this for functions which it implements
58084 to always fail with ENOSYS. Some functions are actually named
58085 something starting with __ and the normal name is an alias. */
58086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58087 choke me
58088 #else
58089 char (*f) () = $ac_func;
58090 #endif
58091 #ifdef __cplusplus
58093 #endif
58096 main ()
58098 return f != $ac_func;
58100 return 0;
58102 _ACEOF
58103 rm -f conftest.$ac_objext conftest$ac_exeext
58104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58105 (eval $ac_link) 2>conftest.er1
58106 ac_status=$?
58107 grep -v '^ *+' conftest.er1 >conftest.err
58108 rm -f conftest.er1
58109 cat conftest.err >&5
58110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58111 (exit $ac_status); } &&
58112 { ac_try='test -z "$ac_c_werror_flag"
58113 || test ! -s conftest.err'
58114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58115 (eval $ac_try) 2>&5
58116 ac_status=$?
58117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58118 (exit $ac_status); }; } &&
58119 { ac_try='test -s conftest$ac_exeext'
58120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58121 (eval $ac_try) 2>&5
58122 ac_status=$?
58123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58124 (exit $ac_status); }; }; then
58125 eval "$as_ac_var=yes"
58126 else
58127 echo "$as_me: failed program was:" >&5
58128 sed 's/^/| /' conftest.$ac_ext >&5
58130 eval "$as_ac_var=no"
58132 rm -f conftest.err conftest.$ac_objext \
58133 conftest$ac_exeext conftest.$ac_ext
58135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58137 if test `eval echo '${'$as_ac_var'}'` = yes; then
58138 cat >>confdefs.h <<_ACEOF
58139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58140 _ACEOF
58143 done
58153 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58154 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58155 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58156 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58157 echo $ECHO_N "(cached) $ECHO_C" >&6
58158 else
58162 ac_ext=cc
58163 ac_cpp='$CXXCPP $CPPFLAGS'
58164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58168 cat >conftest.$ac_ext <<_ACEOF
58169 /* confdefs.h. */
58170 _ACEOF
58171 cat confdefs.h >>conftest.$ac_ext
58172 cat >>conftest.$ac_ext <<_ACEOF
58173 /* end confdefs.h. */
58174 #include <math.h>
58176 main ()
58178 atan2f(0, 0);
58180 return 0;
58182 _ACEOF
58183 rm -f conftest.$ac_objext
58184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58185 (eval $ac_compile) 2>conftest.er1
58186 ac_status=$?
58187 grep -v '^ *+' conftest.er1 >conftest.err
58188 rm -f conftest.er1
58189 cat conftest.err >&5
58190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58191 (exit $ac_status); } &&
58192 { ac_try='test -z "$ac_cxx_werror_flag"
58193 || test ! -s conftest.err'
58194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58195 (eval $ac_try) 2>&5
58196 ac_status=$?
58197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58198 (exit $ac_status); }; } &&
58199 { ac_try='test -s conftest.$ac_objext'
58200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58201 (eval $ac_try) 2>&5
58202 ac_status=$?
58203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58204 (exit $ac_status); }; }; then
58205 glibcxx_cv_func_atan2f_use=yes
58206 else
58207 echo "$as_me: failed program was:" >&5
58208 sed 's/^/| /' conftest.$ac_ext >&5
58210 glibcxx_cv_func_atan2f_use=no
58212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58213 ac_ext=c
58214 ac_cpp='$CPP $CPPFLAGS'
58215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58224 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58226 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58228 for ac_func in atan2f
58230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58231 echo "$as_me:$LINENO: checking for $ac_func" >&5
58232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58233 if eval "test \"\${$as_ac_var+set}\" = set"; then
58234 echo $ECHO_N "(cached) $ECHO_C" >&6
58235 else
58236 if test x$gcc_no_link = xyes; then
58237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58239 { (exit 1); exit 1; }; }
58241 cat >conftest.$ac_ext <<_ACEOF
58242 /* confdefs.h. */
58243 _ACEOF
58244 cat confdefs.h >>conftest.$ac_ext
58245 cat >>conftest.$ac_ext <<_ACEOF
58246 /* end confdefs.h. */
58247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58249 #define $ac_func innocuous_$ac_func
58251 /* System header to define __stub macros and hopefully few prototypes,
58252 which can conflict with char $ac_func (); below.
58253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58254 <limits.h> exists even on freestanding compilers. */
58256 #ifdef __STDC__
58257 # include <limits.h>
58258 #else
58259 # include <assert.h>
58260 #endif
58262 #undef $ac_func
58264 /* Override any gcc2 internal prototype to avoid an error. */
58265 #ifdef __cplusplus
58266 extern "C"
58268 #endif
58269 /* We use char because int might match the return type of a gcc2
58270 builtin and then its argument prototype would still apply. */
58271 char $ac_func ();
58272 /* The GNU C library defines this for functions which it implements
58273 to always fail with ENOSYS. Some functions are actually named
58274 something starting with __ and the normal name is an alias. */
58275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58276 choke me
58277 #else
58278 char (*f) () = $ac_func;
58279 #endif
58280 #ifdef __cplusplus
58282 #endif
58285 main ()
58287 return f != $ac_func;
58289 return 0;
58291 _ACEOF
58292 rm -f conftest.$ac_objext conftest$ac_exeext
58293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58294 (eval $ac_link) 2>conftest.er1
58295 ac_status=$?
58296 grep -v '^ *+' conftest.er1 >conftest.err
58297 rm -f conftest.er1
58298 cat conftest.err >&5
58299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58300 (exit $ac_status); } &&
58301 { ac_try='test -z "$ac_c_werror_flag"
58302 || test ! -s conftest.err'
58303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58304 (eval $ac_try) 2>&5
58305 ac_status=$?
58306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58307 (exit $ac_status); }; } &&
58308 { ac_try='test -s conftest$ac_exeext'
58309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58310 (eval $ac_try) 2>&5
58311 ac_status=$?
58312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58313 (exit $ac_status); }; }; then
58314 eval "$as_ac_var=yes"
58315 else
58316 echo "$as_me: failed program was:" >&5
58317 sed 's/^/| /' conftest.$ac_ext >&5
58319 eval "$as_ac_var=no"
58321 rm -f conftest.err conftest.$ac_objext \
58322 conftest$ac_exeext conftest.$ac_ext
58324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58326 if test `eval echo '${'$as_ac_var'}'` = yes; then
58327 cat >>confdefs.h <<_ACEOF
58328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58329 _ACEOF
58332 done
58334 else
58336 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58337 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58338 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58339 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58340 echo $ECHO_N "(cached) $ECHO_C" >&6
58341 else
58345 ac_ext=cc
58346 ac_cpp='$CXXCPP $CPPFLAGS'
58347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58351 cat >conftest.$ac_ext <<_ACEOF
58352 /* confdefs.h. */
58353 _ACEOF
58354 cat confdefs.h >>conftest.$ac_ext
58355 cat >>conftest.$ac_ext <<_ACEOF
58356 /* end confdefs.h. */
58357 #include <math.h>
58359 main ()
58361 _atan2f(0, 0);
58363 return 0;
58365 _ACEOF
58366 rm -f conftest.$ac_objext
58367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58368 (eval $ac_compile) 2>conftest.er1
58369 ac_status=$?
58370 grep -v '^ *+' conftest.er1 >conftest.err
58371 rm -f conftest.er1
58372 cat conftest.err >&5
58373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58374 (exit $ac_status); } &&
58375 { ac_try='test -z "$ac_cxx_werror_flag"
58376 || test ! -s conftest.err'
58377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58378 (eval $ac_try) 2>&5
58379 ac_status=$?
58380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58381 (exit $ac_status); }; } &&
58382 { ac_try='test -s conftest.$ac_objext'
58383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58384 (eval $ac_try) 2>&5
58385 ac_status=$?
58386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58387 (exit $ac_status); }; }; then
58388 glibcxx_cv_func__atan2f_use=yes
58389 else
58390 echo "$as_me: failed program was:" >&5
58391 sed 's/^/| /' conftest.$ac_ext >&5
58393 glibcxx_cv_func__atan2f_use=no
58395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58396 ac_ext=c
58397 ac_cpp='$CPP $CPPFLAGS'
58398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58407 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58409 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58411 for ac_func in _atan2f
58413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58414 echo "$as_me:$LINENO: checking for $ac_func" >&5
58415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58416 if eval "test \"\${$as_ac_var+set}\" = set"; then
58417 echo $ECHO_N "(cached) $ECHO_C" >&6
58418 else
58419 if test x$gcc_no_link = xyes; then
58420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58422 { (exit 1); exit 1; }; }
58424 cat >conftest.$ac_ext <<_ACEOF
58425 /* confdefs.h. */
58426 _ACEOF
58427 cat confdefs.h >>conftest.$ac_ext
58428 cat >>conftest.$ac_ext <<_ACEOF
58429 /* end confdefs.h. */
58430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58432 #define $ac_func innocuous_$ac_func
58434 /* System header to define __stub macros and hopefully few prototypes,
58435 which can conflict with char $ac_func (); below.
58436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58437 <limits.h> exists even on freestanding compilers. */
58439 #ifdef __STDC__
58440 # include <limits.h>
58441 #else
58442 # include <assert.h>
58443 #endif
58445 #undef $ac_func
58447 /* Override any gcc2 internal prototype to avoid an error. */
58448 #ifdef __cplusplus
58449 extern "C"
58451 #endif
58452 /* We use char because int might match the return type of a gcc2
58453 builtin and then its argument prototype would still apply. */
58454 char $ac_func ();
58455 /* The GNU C library defines this for functions which it implements
58456 to always fail with ENOSYS. Some functions are actually named
58457 something starting with __ and the normal name is an alias. */
58458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58459 choke me
58460 #else
58461 char (*f) () = $ac_func;
58462 #endif
58463 #ifdef __cplusplus
58465 #endif
58468 main ()
58470 return f != $ac_func;
58472 return 0;
58474 _ACEOF
58475 rm -f conftest.$ac_objext conftest$ac_exeext
58476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58477 (eval $ac_link) 2>conftest.er1
58478 ac_status=$?
58479 grep -v '^ *+' conftest.er1 >conftest.err
58480 rm -f conftest.er1
58481 cat conftest.err >&5
58482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58483 (exit $ac_status); } &&
58484 { ac_try='test -z "$ac_c_werror_flag"
58485 || test ! -s conftest.err'
58486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58487 (eval $ac_try) 2>&5
58488 ac_status=$?
58489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58490 (exit $ac_status); }; } &&
58491 { ac_try='test -s conftest$ac_exeext'
58492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58493 (eval $ac_try) 2>&5
58494 ac_status=$?
58495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58496 (exit $ac_status); }; }; then
58497 eval "$as_ac_var=yes"
58498 else
58499 echo "$as_me: failed program was:" >&5
58500 sed 's/^/| /' conftest.$ac_ext >&5
58502 eval "$as_ac_var=no"
58504 rm -f conftest.err conftest.$ac_objext \
58505 conftest$ac_exeext conftest.$ac_ext
58507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58509 if test `eval echo '${'$as_ac_var'}'` = yes; then
58510 cat >>confdefs.h <<_ACEOF
58511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58512 _ACEOF
58515 done
58525 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58526 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58527 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58528 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58529 echo $ECHO_N "(cached) $ECHO_C" >&6
58530 else
58534 ac_ext=cc
58535 ac_cpp='$CXXCPP $CPPFLAGS'
58536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58540 cat >conftest.$ac_ext <<_ACEOF
58541 /* confdefs.h. */
58542 _ACEOF
58543 cat confdefs.h >>conftest.$ac_ext
58544 cat >>conftest.$ac_ext <<_ACEOF
58545 /* end confdefs.h. */
58546 #include <math.h>
58547 #ifdef HAVE_IEEEFP_H
58548 #include <ieeefp.h>
58549 #endif
58552 main ()
58554 fabsf(0);
58556 return 0;
58558 _ACEOF
58559 rm -f conftest.$ac_objext
58560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58561 (eval $ac_compile) 2>conftest.er1
58562 ac_status=$?
58563 grep -v '^ *+' conftest.er1 >conftest.err
58564 rm -f conftest.er1
58565 cat conftest.err >&5
58566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58567 (exit $ac_status); } &&
58568 { ac_try='test -z "$ac_cxx_werror_flag"
58569 || test ! -s conftest.err'
58570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58571 (eval $ac_try) 2>&5
58572 ac_status=$?
58573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58574 (exit $ac_status); }; } &&
58575 { ac_try='test -s conftest.$ac_objext'
58576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58577 (eval $ac_try) 2>&5
58578 ac_status=$?
58579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58580 (exit $ac_status); }; }; then
58581 glibcxx_cv_func_fabsf_use=yes
58582 else
58583 echo "$as_me: failed program was:" >&5
58584 sed 's/^/| /' conftest.$ac_ext >&5
58586 glibcxx_cv_func_fabsf_use=no
58588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58589 ac_ext=c
58590 ac_cpp='$CPP $CPPFLAGS'
58591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58600 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58602 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58604 for ac_func in fabsf
58606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58607 echo "$as_me:$LINENO: checking for $ac_func" >&5
58608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58609 if eval "test \"\${$as_ac_var+set}\" = set"; then
58610 echo $ECHO_N "(cached) $ECHO_C" >&6
58611 else
58612 if test x$gcc_no_link = xyes; then
58613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58615 { (exit 1); exit 1; }; }
58617 cat >conftest.$ac_ext <<_ACEOF
58618 /* confdefs.h. */
58619 _ACEOF
58620 cat confdefs.h >>conftest.$ac_ext
58621 cat >>conftest.$ac_ext <<_ACEOF
58622 /* end confdefs.h. */
58623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58625 #define $ac_func innocuous_$ac_func
58627 /* System header to define __stub macros and hopefully few prototypes,
58628 which can conflict with char $ac_func (); below.
58629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58630 <limits.h> exists even on freestanding compilers. */
58632 #ifdef __STDC__
58633 # include <limits.h>
58634 #else
58635 # include <assert.h>
58636 #endif
58638 #undef $ac_func
58640 /* Override any gcc2 internal prototype to avoid an error. */
58641 #ifdef __cplusplus
58642 extern "C"
58644 #endif
58645 /* We use char because int might match the return type of a gcc2
58646 builtin and then its argument prototype would still apply. */
58647 char $ac_func ();
58648 /* The GNU C library defines this for functions which it implements
58649 to always fail with ENOSYS. Some functions are actually named
58650 something starting with __ and the normal name is an alias. */
58651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58652 choke me
58653 #else
58654 char (*f) () = $ac_func;
58655 #endif
58656 #ifdef __cplusplus
58658 #endif
58661 main ()
58663 return f != $ac_func;
58665 return 0;
58667 _ACEOF
58668 rm -f conftest.$ac_objext conftest$ac_exeext
58669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58670 (eval $ac_link) 2>conftest.er1
58671 ac_status=$?
58672 grep -v '^ *+' conftest.er1 >conftest.err
58673 rm -f conftest.er1
58674 cat conftest.err >&5
58675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58676 (exit $ac_status); } &&
58677 { ac_try='test -z "$ac_c_werror_flag"
58678 || test ! -s conftest.err'
58679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58680 (eval $ac_try) 2>&5
58681 ac_status=$?
58682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58683 (exit $ac_status); }; } &&
58684 { ac_try='test -s conftest$ac_exeext'
58685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58686 (eval $ac_try) 2>&5
58687 ac_status=$?
58688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58689 (exit $ac_status); }; }; then
58690 eval "$as_ac_var=yes"
58691 else
58692 echo "$as_me: failed program was:" >&5
58693 sed 's/^/| /' conftest.$ac_ext >&5
58695 eval "$as_ac_var=no"
58697 rm -f conftest.err conftest.$ac_objext \
58698 conftest$ac_exeext conftest.$ac_ext
58700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58702 if test `eval echo '${'$as_ac_var'}'` = yes; then
58703 cat >>confdefs.h <<_ACEOF
58704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58705 _ACEOF
58708 done
58710 else
58712 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58713 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58714 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58715 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58716 echo $ECHO_N "(cached) $ECHO_C" >&6
58717 else
58721 ac_ext=cc
58722 ac_cpp='$CXXCPP $CPPFLAGS'
58723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58727 cat >conftest.$ac_ext <<_ACEOF
58728 /* confdefs.h. */
58729 _ACEOF
58730 cat confdefs.h >>conftest.$ac_ext
58731 cat >>conftest.$ac_ext <<_ACEOF
58732 /* end confdefs.h. */
58733 #include <math.h>
58734 #ifdef HAVE_IEEEFP_H
58735 #include <ieeefp.h>
58736 #endif
58739 main ()
58741 _fabsf(0);
58743 return 0;
58745 _ACEOF
58746 rm -f conftest.$ac_objext
58747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58748 (eval $ac_compile) 2>conftest.er1
58749 ac_status=$?
58750 grep -v '^ *+' conftest.er1 >conftest.err
58751 rm -f conftest.er1
58752 cat conftest.err >&5
58753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58754 (exit $ac_status); } &&
58755 { ac_try='test -z "$ac_cxx_werror_flag"
58756 || test ! -s conftest.err'
58757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58758 (eval $ac_try) 2>&5
58759 ac_status=$?
58760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58761 (exit $ac_status); }; } &&
58762 { ac_try='test -s conftest.$ac_objext'
58763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58764 (eval $ac_try) 2>&5
58765 ac_status=$?
58766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58767 (exit $ac_status); }; }; then
58768 glibcxx_cv_func__fabsf_use=yes
58769 else
58770 echo "$as_me: failed program was:" >&5
58771 sed 's/^/| /' conftest.$ac_ext >&5
58773 glibcxx_cv_func__fabsf_use=no
58775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58776 ac_ext=c
58777 ac_cpp='$CPP $CPPFLAGS'
58778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58786 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58787 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58789 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58791 for ac_func in _fabsf
58793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58794 echo "$as_me:$LINENO: checking for $ac_func" >&5
58795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58796 if eval "test \"\${$as_ac_var+set}\" = set"; then
58797 echo $ECHO_N "(cached) $ECHO_C" >&6
58798 else
58799 if test x$gcc_no_link = xyes; then
58800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58802 { (exit 1); exit 1; }; }
58804 cat >conftest.$ac_ext <<_ACEOF
58805 /* confdefs.h. */
58806 _ACEOF
58807 cat confdefs.h >>conftest.$ac_ext
58808 cat >>conftest.$ac_ext <<_ACEOF
58809 /* end confdefs.h. */
58810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58812 #define $ac_func innocuous_$ac_func
58814 /* System header to define __stub macros and hopefully few prototypes,
58815 which can conflict with char $ac_func (); below.
58816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58817 <limits.h> exists even on freestanding compilers. */
58819 #ifdef __STDC__
58820 # include <limits.h>
58821 #else
58822 # include <assert.h>
58823 #endif
58825 #undef $ac_func
58827 /* Override any gcc2 internal prototype to avoid an error. */
58828 #ifdef __cplusplus
58829 extern "C"
58831 #endif
58832 /* We use char because int might match the return type of a gcc2
58833 builtin and then its argument prototype would still apply. */
58834 char $ac_func ();
58835 /* The GNU C library defines this for functions which it implements
58836 to always fail with ENOSYS. Some functions are actually named
58837 something starting with __ and the normal name is an alias. */
58838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58839 choke me
58840 #else
58841 char (*f) () = $ac_func;
58842 #endif
58843 #ifdef __cplusplus
58845 #endif
58848 main ()
58850 return f != $ac_func;
58852 return 0;
58854 _ACEOF
58855 rm -f conftest.$ac_objext conftest$ac_exeext
58856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58857 (eval $ac_link) 2>conftest.er1
58858 ac_status=$?
58859 grep -v '^ *+' conftest.er1 >conftest.err
58860 rm -f conftest.er1
58861 cat conftest.err >&5
58862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58863 (exit $ac_status); } &&
58864 { ac_try='test -z "$ac_c_werror_flag"
58865 || test ! -s conftest.err'
58866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58867 (eval $ac_try) 2>&5
58868 ac_status=$?
58869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58870 (exit $ac_status); }; } &&
58871 { ac_try='test -s conftest$ac_exeext'
58872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58873 (eval $ac_try) 2>&5
58874 ac_status=$?
58875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58876 (exit $ac_status); }; }; then
58877 eval "$as_ac_var=yes"
58878 else
58879 echo "$as_me: failed program was:" >&5
58880 sed 's/^/| /' conftest.$ac_ext >&5
58882 eval "$as_ac_var=no"
58884 rm -f conftest.err conftest.$ac_objext \
58885 conftest$ac_exeext conftest.$ac_ext
58887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58889 if test `eval echo '${'$as_ac_var'}'` = yes; then
58890 cat >>confdefs.h <<_ACEOF
58891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58892 _ACEOF
58895 done
58905 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58906 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58907 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58908 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58909 echo $ECHO_N "(cached) $ECHO_C" >&6
58910 else
58914 ac_ext=cc
58915 ac_cpp='$CXXCPP $CPPFLAGS'
58916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58920 cat >conftest.$ac_ext <<_ACEOF
58921 /* confdefs.h. */
58922 _ACEOF
58923 cat confdefs.h >>conftest.$ac_ext
58924 cat >>conftest.$ac_ext <<_ACEOF
58925 /* end confdefs.h. */
58926 #include <math.h>
58928 main ()
58930 fmodf(0, 0);
58932 return 0;
58934 _ACEOF
58935 rm -f conftest.$ac_objext
58936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58937 (eval $ac_compile) 2>conftest.er1
58938 ac_status=$?
58939 grep -v '^ *+' conftest.er1 >conftest.err
58940 rm -f conftest.er1
58941 cat conftest.err >&5
58942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58943 (exit $ac_status); } &&
58944 { ac_try='test -z "$ac_cxx_werror_flag"
58945 || test ! -s conftest.err'
58946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58947 (eval $ac_try) 2>&5
58948 ac_status=$?
58949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58950 (exit $ac_status); }; } &&
58951 { ac_try='test -s conftest.$ac_objext'
58952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58953 (eval $ac_try) 2>&5
58954 ac_status=$?
58955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58956 (exit $ac_status); }; }; then
58957 glibcxx_cv_func_fmodf_use=yes
58958 else
58959 echo "$as_me: failed program was:" >&5
58960 sed 's/^/| /' conftest.$ac_ext >&5
58962 glibcxx_cv_func_fmodf_use=no
58964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58965 ac_ext=c
58966 ac_cpp='$CPP $CPPFLAGS'
58967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58976 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58978 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58980 for ac_func in fmodf
58982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58983 echo "$as_me:$LINENO: checking for $ac_func" >&5
58984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58985 if eval "test \"\${$as_ac_var+set}\" = set"; then
58986 echo $ECHO_N "(cached) $ECHO_C" >&6
58987 else
58988 if test x$gcc_no_link = xyes; then
58989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58991 { (exit 1); exit 1; }; }
58993 cat >conftest.$ac_ext <<_ACEOF
58994 /* confdefs.h. */
58995 _ACEOF
58996 cat confdefs.h >>conftest.$ac_ext
58997 cat >>conftest.$ac_ext <<_ACEOF
58998 /* end confdefs.h. */
58999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59001 #define $ac_func innocuous_$ac_func
59003 /* System header to define __stub macros and hopefully few prototypes,
59004 which can conflict with char $ac_func (); below.
59005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59006 <limits.h> exists even on freestanding compilers. */
59008 #ifdef __STDC__
59009 # include <limits.h>
59010 #else
59011 # include <assert.h>
59012 #endif
59014 #undef $ac_func
59016 /* Override any gcc2 internal prototype to avoid an error. */
59017 #ifdef __cplusplus
59018 extern "C"
59020 #endif
59021 /* We use char because int might match the return type of a gcc2
59022 builtin and then its argument prototype would still apply. */
59023 char $ac_func ();
59024 /* The GNU C library defines this for functions which it implements
59025 to always fail with ENOSYS. Some functions are actually named
59026 something starting with __ and the normal name is an alias. */
59027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59028 choke me
59029 #else
59030 char (*f) () = $ac_func;
59031 #endif
59032 #ifdef __cplusplus
59034 #endif
59037 main ()
59039 return f != $ac_func;
59041 return 0;
59043 _ACEOF
59044 rm -f conftest.$ac_objext conftest$ac_exeext
59045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59046 (eval $ac_link) 2>conftest.er1
59047 ac_status=$?
59048 grep -v '^ *+' conftest.er1 >conftest.err
59049 rm -f conftest.er1
59050 cat conftest.err >&5
59051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59052 (exit $ac_status); } &&
59053 { ac_try='test -z "$ac_c_werror_flag"
59054 || test ! -s conftest.err'
59055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59056 (eval $ac_try) 2>&5
59057 ac_status=$?
59058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59059 (exit $ac_status); }; } &&
59060 { ac_try='test -s conftest$ac_exeext'
59061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59062 (eval $ac_try) 2>&5
59063 ac_status=$?
59064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59065 (exit $ac_status); }; }; then
59066 eval "$as_ac_var=yes"
59067 else
59068 echo "$as_me: failed program was:" >&5
59069 sed 's/^/| /' conftest.$ac_ext >&5
59071 eval "$as_ac_var=no"
59073 rm -f conftest.err conftest.$ac_objext \
59074 conftest$ac_exeext conftest.$ac_ext
59076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59078 if test `eval echo '${'$as_ac_var'}'` = yes; then
59079 cat >>confdefs.h <<_ACEOF
59080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59081 _ACEOF
59084 done
59086 else
59088 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59089 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59090 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59091 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59092 echo $ECHO_N "(cached) $ECHO_C" >&6
59093 else
59097 ac_ext=cc
59098 ac_cpp='$CXXCPP $CPPFLAGS'
59099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59103 cat >conftest.$ac_ext <<_ACEOF
59104 /* confdefs.h. */
59105 _ACEOF
59106 cat confdefs.h >>conftest.$ac_ext
59107 cat >>conftest.$ac_ext <<_ACEOF
59108 /* end confdefs.h. */
59109 #include <math.h>
59111 main ()
59113 _fmodf(0, 0);
59115 return 0;
59117 _ACEOF
59118 rm -f conftest.$ac_objext
59119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59120 (eval $ac_compile) 2>conftest.er1
59121 ac_status=$?
59122 grep -v '^ *+' conftest.er1 >conftest.err
59123 rm -f conftest.er1
59124 cat conftest.err >&5
59125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59126 (exit $ac_status); } &&
59127 { ac_try='test -z "$ac_cxx_werror_flag"
59128 || test ! -s conftest.err'
59129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59130 (eval $ac_try) 2>&5
59131 ac_status=$?
59132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59133 (exit $ac_status); }; } &&
59134 { ac_try='test -s conftest.$ac_objext'
59135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59136 (eval $ac_try) 2>&5
59137 ac_status=$?
59138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59139 (exit $ac_status); }; }; then
59140 glibcxx_cv_func__fmodf_use=yes
59141 else
59142 echo "$as_me: failed program was:" >&5
59143 sed 's/^/| /' conftest.$ac_ext >&5
59145 glibcxx_cv_func__fmodf_use=no
59147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59148 ac_ext=c
59149 ac_cpp='$CPP $CPPFLAGS'
59150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59158 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59159 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59161 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59163 for ac_func in _fmodf
59165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59166 echo "$as_me:$LINENO: checking for $ac_func" >&5
59167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59168 if eval "test \"\${$as_ac_var+set}\" = set"; then
59169 echo $ECHO_N "(cached) $ECHO_C" >&6
59170 else
59171 if test x$gcc_no_link = xyes; then
59172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59174 { (exit 1); exit 1; }; }
59176 cat >conftest.$ac_ext <<_ACEOF
59177 /* confdefs.h. */
59178 _ACEOF
59179 cat confdefs.h >>conftest.$ac_ext
59180 cat >>conftest.$ac_ext <<_ACEOF
59181 /* end confdefs.h. */
59182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59184 #define $ac_func innocuous_$ac_func
59186 /* System header to define __stub macros and hopefully few prototypes,
59187 which can conflict with char $ac_func (); below.
59188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59189 <limits.h> exists even on freestanding compilers. */
59191 #ifdef __STDC__
59192 # include <limits.h>
59193 #else
59194 # include <assert.h>
59195 #endif
59197 #undef $ac_func
59199 /* Override any gcc2 internal prototype to avoid an error. */
59200 #ifdef __cplusplus
59201 extern "C"
59203 #endif
59204 /* We use char because int might match the return type of a gcc2
59205 builtin and then its argument prototype would still apply. */
59206 char $ac_func ();
59207 /* The GNU C library defines this for functions which it implements
59208 to always fail with ENOSYS. Some functions are actually named
59209 something starting with __ and the normal name is an alias. */
59210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59211 choke me
59212 #else
59213 char (*f) () = $ac_func;
59214 #endif
59215 #ifdef __cplusplus
59217 #endif
59220 main ()
59222 return f != $ac_func;
59224 return 0;
59226 _ACEOF
59227 rm -f conftest.$ac_objext conftest$ac_exeext
59228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59229 (eval $ac_link) 2>conftest.er1
59230 ac_status=$?
59231 grep -v '^ *+' conftest.er1 >conftest.err
59232 rm -f conftest.er1
59233 cat conftest.err >&5
59234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59235 (exit $ac_status); } &&
59236 { ac_try='test -z "$ac_c_werror_flag"
59237 || test ! -s conftest.err'
59238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59239 (eval $ac_try) 2>&5
59240 ac_status=$?
59241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59242 (exit $ac_status); }; } &&
59243 { ac_try='test -s conftest$ac_exeext'
59244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59245 (eval $ac_try) 2>&5
59246 ac_status=$?
59247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59248 (exit $ac_status); }; }; then
59249 eval "$as_ac_var=yes"
59250 else
59251 echo "$as_me: failed program was:" >&5
59252 sed 's/^/| /' conftest.$ac_ext >&5
59254 eval "$as_ac_var=no"
59256 rm -f conftest.err conftest.$ac_objext \
59257 conftest$ac_exeext conftest.$ac_ext
59259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59261 if test `eval echo '${'$as_ac_var'}'` = yes; then
59262 cat >>confdefs.h <<_ACEOF
59263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59264 _ACEOF
59267 done
59277 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59278 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59279 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59280 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59281 echo $ECHO_N "(cached) $ECHO_C" >&6
59282 else
59286 ac_ext=cc
59287 ac_cpp='$CXXCPP $CPPFLAGS'
59288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59292 cat >conftest.$ac_ext <<_ACEOF
59293 /* confdefs.h. */
59294 _ACEOF
59295 cat confdefs.h >>conftest.$ac_ext
59296 cat >>conftest.$ac_ext <<_ACEOF
59297 /* end confdefs.h. */
59298 #include <math.h>
59300 main ()
59302 frexpf(0, 0);
59304 return 0;
59306 _ACEOF
59307 rm -f conftest.$ac_objext
59308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59309 (eval $ac_compile) 2>conftest.er1
59310 ac_status=$?
59311 grep -v '^ *+' conftest.er1 >conftest.err
59312 rm -f conftest.er1
59313 cat conftest.err >&5
59314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59315 (exit $ac_status); } &&
59316 { ac_try='test -z "$ac_cxx_werror_flag"
59317 || test ! -s conftest.err'
59318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59319 (eval $ac_try) 2>&5
59320 ac_status=$?
59321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59322 (exit $ac_status); }; } &&
59323 { ac_try='test -s conftest.$ac_objext'
59324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59325 (eval $ac_try) 2>&5
59326 ac_status=$?
59327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59328 (exit $ac_status); }; }; then
59329 glibcxx_cv_func_frexpf_use=yes
59330 else
59331 echo "$as_me: failed program was:" >&5
59332 sed 's/^/| /' conftest.$ac_ext >&5
59334 glibcxx_cv_func_frexpf_use=no
59336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59337 ac_ext=c
59338 ac_cpp='$CPP $CPPFLAGS'
59339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59347 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59348 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59350 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59352 for ac_func in frexpf
59354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59355 echo "$as_me:$LINENO: checking for $ac_func" >&5
59356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59357 if eval "test \"\${$as_ac_var+set}\" = set"; then
59358 echo $ECHO_N "(cached) $ECHO_C" >&6
59359 else
59360 if test x$gcc_no_link = xyes; then
59361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59363 { (exit 1); exit 1; }; }
59365 cat >conftest.$ac_ext <<_ACEOF
59366 /* confdefs.h. */
59367 _ACEOF
59368 cat confdefs.h >>conftest.$ac_ext
59369 cat >>conftest.$ac_ext <<_ACEOF
59370 /* end confdefs.h. */
59371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59373 #define $ac_func innocuous_$ac_func
59375 /* System header to define __stub macros and hopefully few prototypes,
59376 which can conflict with char $ac_func (); below.
59377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59378 <limits.h> exists even on freestanding compilers. */
59380 #ifdef __STDC__
59381 # include <limits.h>
59382 #else
59383 # include <assert.h>
59384 #endif
59386 #undef $ac_func
59388 /* Override any gcc2 internal prototype to avoid an error. */
59389 #ifdef __cplusplus
59390 extern "C"
59392 #endif
59393 /* We use char because int might match the return type of a gcc2
59394 builtin and then its argument prototype would still apply. */
59395 char $ac_func ();
59396 /* The GNU C library defines this for functions which it implements
59397 to always fail with ENOSYS. Some functions are actually named
59398 something starting with __ and the normal name is an alias. */
59399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59400 choke me
59401 #else
59402 char (*f) () = $ac_func;
59403 #endif
59404 #ifdef __cplusplus
59406 #endif
59409 main ()
59411 return f != $ac_func;
59413 return 0;
59415 _ACEOF
59416 rm -f conftest.$ac_objext conftest$ac_exeext
59417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59418 (eval $ac_link) 2>conftest.er1
59419 ac_status=$?
59420 grep -v '^ *+' conftest.er1 >conftest.err
59421 rm -f conftest.er1
59422 cat conftest.err >&5
59423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59424 (exit $ac_status); } &&
59425 { ac_try='test -z "$ac_c_werror_flag"
59426 || test ! -s conftest.err'
59427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59428 (eval $ac_try) 2>&5
59429 ac_status=$?
59430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59431 (exit $ac_status); }; } &&
59432 { ac_try='test -s conftest$ac_exeext'
59433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59434 (eval $ac_try) 2>&5
59435 ac_status=$?
59436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59437 (exit $ac_status); }; }; then
59438 eval "$as_ac_var=yes"
59439 else
59440 echo "$as_me: failed program was:" >&5
59441 sed 's/^/| /' conftest.$ac_ext >&5
59443 eval "$as_ac_var=no"
59445 rm -f conftest.err conftest.$ac_objext \
59446 conftest$ac_exeext conftest.$ac_ext
59448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59450 if test `eval echo '${'$as_ac_var'}'` = yes; then
59451 cat >>confdefs.h <<_ACEOF
59452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59453 _ACEOF
59456 done
59458 else
59460 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59461 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59462 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59463 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59464 echo $ECHO_N "(cached) $ECHO_C" >&6
59465 else
59469 ac_ext=cc
59470 ac_cpp='$CXXCPP $CPPFLAGS'
59471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59475 cat >conftest.$ac_ext <<_ACEOF
59476 /* confdefs.h. */
59477 _ACEOF
59478 cat confdefs.h >>conftest.$ac_ext
59479 cat >>conftest.$ac_ext <<_ACEOF
59480 /* end confdefs.h. */
59481 #include <math.h>
59483 main ()
59485 _frexpf(0, 0);
59487 return 0;
59489 _ACEOF
59490 rm -f conftest.$ac_objext
59491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59492 (eval $ac_compile) 2>conftest.er1
59493 ac_status=$?
59494 grep -v '^ *+' conftest.er1 >conftest.err
59495 rm -f conftest.er1
59496 cat conftest.err >&5
59497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59498 (exit $ac_status); } &&
59499 { ac_try='test -z "$ac_cxx_werror_flag"
59500 || test ! -s conftest.err'
59501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59502 (eval $ac_try) 2>&5
59503 ac_status=$?
59504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59505 (exit $ac_status); }; } &&
59506 { ac_try='test -s conftest.$ac_objext'
59507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59508 (eval $ac_try) 2>&5
59509 ac_status=$?
59510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59511 (exit $ac_status); }; }; then
59512 glibcxx_cv_func__frexpf_use=yes
59513 else
59514 echo "$as_me: failed program was:" >&5
59515 sed 's/^/| /' conftest.$ac_ext >&5
59517 glibcxx_cv_func__frexpf_use=no
59519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59520 ac_ext=c
59521 ac_cpp='$CPP $CPPFLAGS'
59522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59531 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59533 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59535 for ac_func in _frexpf
59537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59538 echo "$as_me:$LINENO: checking for $ac_func" >&5
59539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59540 if eval "test \"\${$as_ac_var+set}\" = set"; then
59541 echo $ECHO_N "(cached) $ECHO_C" >&6
59542 else
59543 if test x$gcc_no_link = xyes; then
59544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59546 { (exit 1); exit 1; }; }
59548 cat >conftest.$ac_ext <<_ACEOF
59549 /* confdefs.h. */
59550 _ACEOF
59551 cat confdefs.h >>conftest.$ac_ext
59552 cat >>conftest.$ac_ext <<_ACEOF
59553 /* end confdefs.h. */
59554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59556 #define $ac_func innocuous_$ac_func
59558 /* System header to define __stub macros and hopefully few prototypes,
59559 which can conflict with char $ac_func (); below.
59560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59561 <limits.h> exists even on freestanding compilers. */
59563 #ifdef __STDC__
59564 # include <limits.h>
59565 #else
59566 # include <assert.h>
59567 #endif
59569 #undef $ac_func
59571 /* Override any gcc2 internal prototype to avoid an error. */
59572 #ifdef __cplusplus
59573 extern "C"
59575 #endif
59576 /* We use char because int might match the return type of a gcc2
59577 builtin and then its argument prototype would still apply. */
59578 char $ac_func ();
59579 /* The GNU C library defines this for functions which it implements
59580 to always fail with ENOSYS. Some functions are actually named
59581 something starting with __ and the normal name is an alias. */
59582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59583 choke me
59584 #else
59585 char (*f) () = $ac_func;
59586 #endif
59587 #ifdef __cplusplus
59589 #endif
59592 main ()
59594 return f != $ac_func;
59596 return 0;
59598 _ACEOF
59599 rm -f conftest.$ac_objext conftest$ac_exeext
59600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59601 (eval $ac_link) 2>conftest.er1
59602 ac_status=$?
59603 grep -v '^ *+' conftest.er1 >conftest.err
59604 rm -f conftest.er1
59605 cat conftest.err >&5
59606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59607 (exit $ac_status); } &&
59608 { ac_try='test -z "$ac_c_werror_flag"
59609 || test ! -s conftest.err'
59610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59611 (eval $ac_try) 2>&5
59612 ac_status=$?
59613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59614 (exit $ac_status); }; } &&
59615 { ac_try='test -s conftest$ac_exeext'
59616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59617 (eval $ac_try) 2>&5
59618 ac_status=$?
59619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59620 (exit $ac_status); }; }; then
59621 eval "$as_ac_var=yes"
59622 else
59623 echo "$as_me: failed program was:" >&5
59624 sed 's/^/| /' conftest.$ac_ext >&5
59626 eval "$as_ac_var=no"
59628 rm -f conftest.err conftest.$ac_objext \
59629 conftest$ac_exeext conftest.$ac_ext
59631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59633 if test `eval echo '${'$as_ac_var'}'` = yes; then
59634 cat >>confdefs.h <<_ACEOF
59635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59636 _ACEOF
59639 done
59649 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59650 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59651 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59652 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59653 echo $ECHO_N "(cached) $ECHO_C" >&6
59654 else
59658 ac_ext=cc
59659 ac_cpp='$CXXCPP $CPPFLAGS'
59660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59664 cat >conftest.$ac_ext <<_ACEOF
59665 /* confdefs.h. */
59666 _ACEOF
59667 cat confdefs.h >>conftest.$ac_ext
59668 cat >>conftest.$ac_ext <<_ACEOF
59669 /* end confdefs.h. */
59670 #include <math.h>
59672 main ()
59674 hypotf(0, 0);
59676 return 0;
59678 _ACEOF
59679 rm -f conftest.$ac_objext
59680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59681 (eval $ac_compile) 2>conftest.er1
59682 ac_status=$?
59683 grep -v '^ *+' conftest.er1 >conftest.err
59684 rm -f conftest.er1
59685 cat conftest.err >&5
59686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59687 (exit $ac_status); } &&
59688 { ac_try='test -z "$ac_cxx_werror_flag"
59689 || test ! -s conftest.err'
59690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59691 (eval $ac_try) 2>&5
59692 ac_status=$?
59693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59694 (exit $ac_status); }; } &&
59695 { ac_try='test -s conftest.$ac_objext'
59696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59697 (eval $ac_try) 2>&5
59698 ac_status=$?
59699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59700 (exit $ac_status); }; }; then
59701 glibcxx_cv_func_hypotf_use=yes
59702 else
59703 echo "$as_me: failed program was:" >&5
59704 sed 's/^/| /' conftest.$ac_ext >&5
59706 glibcxx_cv_func_hypotf_use=no
59708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59709 ac_ext=c
59710 ac_cpp='$CPP $CPPFLAGS'
59711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59720 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59722 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59724 for ac_func in hypotf
59726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59727 echo "$as_me:$LINENO: checking for $ac_func" >&5
59728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59729 if eval "test \"\${$as_ac_var+set}\" = set"; then
59730 echo $ECHO_N "(cached) $ECHO_C" >&6
59731 else
59732 if test x$gcc_no_link = xyes; then
59733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59735 { (exit 1); exit 1; }; }
59737 cat >conftest.$ac_ext <<_ACEOF
59738 /* confdefs.h. */
59739 _ACEOF
59740 cat confdefs.h >>conftest.$ac_ext
59741 cat >>conftest.$ac_ext <<_ACEOF
59742 /* end confdefs.h. */
59743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59745 #define $ac_func innocuous_$ac_func
59747 /* System header to define __stub macros and hopefully few prototypes,
59748 which can conflict with char $ac_func (); below.
59749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59750 <limits.h> exists even on freestanding compilers. */
59752 #ifdef __STDC__
59753 # include <limits.h>
59754 #else
59755 # include <assert.h>
59756 #endif
59758 #undef $ac_func
59760 /* Override any gcc2 internal prototype to avoid an error. */
59761 #ifdef __cplusplus
59762 extern "C"
59764 #endif
59765 /* We use char because int might match the return type of a gcc2
59766 builtin and then its argument prototype would still apply. */
59767 char $ac_func ();
59768 /* The GNU C library defines this for functions which it implements
59769 to always fail with ENOSYS. Some functions are actually named
59770 something starting with __ and the normal name is an alias. */
59771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59772 choke me
59773 #else
59774 char (*f) () = $ac_func;
59775 #endif
59776 #ifdef __cplusplus
59778 #endif
59781 main ()
59783 return f != $ac_func;
59785 return 0;
59787 _ACEOF
59788 rm -f conftest.$ac_objext conftest$ac_exeext
59789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59790 (eval $ac_link) 2>conftest.er1
59791 ac_status=$?
59792 grep -v '^ *+' conftest.er1 >conftest.err
59793 rm -f conftest.er1
59794 cat conftest.err >&5
59795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59796 (exit $ac_status); } &&
59797 { ac_try='test -z "$ac_c_werror_flag"
59798 || test ! -s conftest.err'
59799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59800 (eval $ac_try) 2>&5
59801 ac_status=$?
59802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59803 (exit $ac_status); }; } &&
59804 { ac_try='test -s conftest$ac_exeext'
59805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59806 (eval $ac_try) 2>&5
59807 ac_status=$?
59808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59809 (exit $ac_status); }; }; then
59810 eval "$as_ac_var=yes"
59811 else
59812 echo "$as_me: failed program was:" >&5
59813 sed 's/^/| /' conftest.$ac_ext >&5
59815 eval "$as_ac_var=no"
59817 rm -f conftest.err conftest.$ac_objext \
59818 conftest$ac_exeext conftest.$ac_ext
59820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59822 if test `eval echo '${'$as_ac_var'}'` = yes; then
59823 cat >>confdefs.h <<_ACEOF
59824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59825 _ACEOF
59828 done
59830 else
59832 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59833 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59834 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59835 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59836 echo $ECHO_N "(cached) $ECHO_C" >&6
59837 else
59841 ac_ext=cc
59842 ac_cpp='$CXXCPP $CPPFLAGS'
59843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59847 cat >conftest.$ac_ext <<_ACEOF
59848 /* confdefs.h. */
59849 _ACEOF
59850 cat confdefs.h >>conftest.$ac_ext
59851 cat >>conftest.$ac_ext <<_ACEOF
59852 /* end confdefs.h. */
59853 #include <math.h>
59855 main ()
59857 _hypotf(0, 0);
59859 return 0;
59861 _ACEOF
59862 rm -f conftest.$ac_objext
59863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59864 (eval $ac_compile) 2>conftest.er1
59865 ac_status=$?
59866 grep -v '^ *+' conftest.er1 >conftest.err
59867 rm -f conftest.er1
59868 cat conftest.err >&5
59869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59870 (exit $ac_status); } &&
59871 { ac_try='test -z "$ac_cxx_werror_flag"
59872 || test ! -s conftest.err'
59873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59874 (eval $ac_try) 2>&5
59875 ac_status=$?
59876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59877 (exit $ac_status); }; } &&
59878 { ac_try='test -s conftest.$ac_objext'
59879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59880 (eval $ac_try) 2>&5
59881 ac_status=$?
59882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59883 (exit $ac_status); }; }; then
59884 glibcxx_cv_func__hypotf_use=yes
59885 else
59886 echo "$as_me: failed program was:" >&5
59887 sed 's/^/| /' conftest.$ac_ext >&5
59889 glibcxx_cv_func__hypotf_use=no
59891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59892 ac_ext=c
59893 ac_cpp='$CPP $CPPFLAGS'
59894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59902 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59903 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59905 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59907 for ac_func in _hypotf
59909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59910 echo "$as_me:$LINENO: checking for $ac_func" >&5
59911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59912 if eval "test \"\${$as_ac_var+set}\" = set"; then
59913 echo $ECHO_N "(cached) $ECHO_C" >&6
59914 else
59915 if test x$gcc_no_link = xyes; then
59916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59918 { (exit 1); exit 1; }; }
59920 cat >conftest.$ac_ext <<_ACEOF
59921 /* confdefs.h. */
59922 _ACEOF
59923 cat confdefs.h >>conftest.$ac_ext
59924 cat >>conftest.$ac_ext <<_ACEOF
59925 /* end confdefs.h. */
59926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59928 #define $ac_func innocuous_$ac_func
59930 /* System header to define __stub macros and hopefully few prototypes,
59931 which can conflict with char $ac_func (); below.
59932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59933 <limits.h> exists even on freestanding compilers. */
59935 #ifdef __STDC__
59936 # include <limits.h>
59937 #else
59938 # include <assert.h>
59939 #endif
59941 #undef $ac_func
59943 /* Override any gcc2 internal prototype to avoid an error. */
59944 #ifdef __cplusplus
59945 extern "C"
59947 #endif
59948 /* We use char because int might match the return type of a gcc2
59949 builtin and then its argument prototype would still apply. */
59950 char $ac_func ();
59951 /* The GNU C library defines this for functions which it implements
59952 to always fail with ENOSYS. Some functions are actually named
59953 something starting with __ and the normal name is an alias. */
59954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59955 choke me
59956 #else
59957 char (*f) () = $ac_func;
59958 #endif
59959 #ifdef __cplusplus
59961 #endif
59964 main ()
59966 return f != $ac_func;
59968 return 0;
59970 _ACEOF
59971 rm -f conftest.$ac_objext conftest$ac_exeext
59972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59973 (eval $ac_link) 2>conftest.er1
59974 ac_status=$?
59975 grep -v '^ *+' conftest.er1 >conftest.err
59976 rm -f conftest.er1
59977 cat conftest.err >&5
59978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59979 (exit $ac_status); } &&
59980 { ac_try='test -z "$ac_c_werror_flag"
59981 || test ! -s conftest.err'
59982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59983 (eval $ac_try) 2>&5
59984 ac_status=$?
59985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59986 (exit $ac_status); }; } &&
59987 { ac_try='test -s conftest$ac_exeext'
59988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59989 (eval $ac_try) 2>&5
59990 ac_status=$?
59991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59992 (exit $ac_status); }; }; then
59993 eval "$as_ac_var=yes"
59994 else
59995 echo "$as_me: failed program was:" >&5
59996 sed 's/^/| /' conftest.$ac_ext >&5
59998 eval "$as_ac_var=no"
60000 rm -f conftest.err conftest.$ac_objext \
60001 conftest$ac_exeext conftest.$ac_ext
60003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60005 if test `eval echo '${'$as_ac_var'}'` = yes; then
60006 cat >>confdefs.h <<_ACEOF
60007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60008 _ACEOF
60011 done
60021 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60022 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60023 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60024 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60025 echo $ECHO_N "(cached) $ECHO_C" >&6
60026 else
60030 ac_ext=cc
60031 ac_cpp='$CXXCPP $CPPFLAGS'
60032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60036 cat >conftest.$ac_ext <<_ACEOF
60037 /* confdefs.h. */
60038 _ACEOF
60039 cat confdefs.h >>conftest.$ac_ext
60040 cat >>conftest.$ac_ext <<_ACEOF
60041 /* end confdefs.h. */
60042 #include <math.h>
60044 main ()
60046 ldexpf(0, 0);
60048 return 0;
60050 _ACEOF
60051 rm -f conftest.$ac_objext
60052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60053 (eval $ac_compile) 2>conftest.er1
60054 ac_status=$?
60055 grep -v '^ *+' conftest.er1 >conftest.err
60056 rm -f conftest.er1
60057 cat conftest.err >&5
60058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60059 (exit $ac_status); } &&
60060 { ac_try='test -z "$ac_cxx_werror_flag"
60061 || test ! -s conftest.err'
60062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60063 (eval $ac_try) 2>&5
60064 ac_status=$?
60065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60066 (exit $ac_status); }; } &&
60067 { ac_try='test -s conftest.$ac_objext'
60068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60069 (eval $ac_try) 2>&5
60070 ac_status=$?
60071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60072 (exit $ac_status); }; }; then
60073 glibcxx_cv_func_ldexpf_use=yes
60074 else
60075 echo "$as_me: failed program was:" >&5
60076 sed 's/^/| /' conftest.$ac_ext >&5
60078 glibcxx_cv_func_ldexpf_use=no
60080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60081 ac_ext=c
60082 ac_cpp='$CPP $CPPFLAGS'
60083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60092 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60094 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60096 for ac_func in ldexpf
60098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60099 echo "$as_me:$LINENO: checking for $ac_func" >&5
60100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60101 if eval "test \"\${$as_ac_var+set}\" = set"; then
60102 echo $ECHO_N "(cached) $ECHO_C" >&6
60103 else
60104 if test x$gcc_no_link = xyes; then
60105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60107 { (exit 1); exit 1; }; }
60109 cat >conftest.$ac_ext <<_ACEOF
60110 /* confdefs.h. */
60111 _ACEOF
60112 cat confdefs.h >>conftest.$ac_ext
60113 cat >>conftest.$ac_ext <<_ACEOF
60114 /* end confdefs.h. */
60115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60117 #define $ac_func innocuous_$ac_func
60119 /* System header to define __stub macros and hopefully few prototypes,
60120 which can conflict with char $ac_func (); below.
60121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60122 <limits.h> exists even on freestanding compilers. */
60124 #ifdef __STDC__
60125 # include <limits.h>
60126 #else
60127 # include <assert.h>
60128 #endif
60130 #undef $ac_func
60132 /* Override any gcc2 internal prototype to avoid an error. */
60133 #ifdef __cplusplus
60134 extern "C"
60136 #endif
60137 /* We use char because int might match the return type of a gcc2
60138 builtin and then its argument prototype would still apply. */
60139 char $ac_func ();
60140 /* The GNU C library defines this for functions which it implements
60141 to always fail with ENOSYS. Some functions are actually named
60142 something starting with __ and the normal name is an alias. */
60143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60144 choke me
60145 #else
60146 char (*f) () = $ac_func;
60147 #endif
60148 #ifdef __cplusplus
60150 #endif
60153 main ()
60155 return f != $ac_func;
60157 return 0;
60159 _ACEOF
60160 rm -f conftest.$ac_objext conftest$ac_exeext
60161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60162 (eval $ac_link) 2>conftest.er1
60163 ac_status=$?
60164 grep -v '^ *+' conftest.er1 >conftest.err
60165 rm -f conftest.er1
60166 cat conftest.err >&5
60167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60168 (exit $ac_status); } &&
60169 { ac_try='test -z "$ac_c_werror_flag"
60170 || test ! -s conftest.err'
60171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60172 (eval $ac_try) 2>&5
60173 ac_status=$?
60174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60175 (exit $ac_status); }; } &&
60176 { ac_try='test -s conftest$ac_exeext'
60177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60178 (eval $ac_try) 2>&5
60179 ac_status=$?
60180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60181 (exit $ac_status); }; }; then
60182 eval "$as_ac_var=yes"
60183 else
60184 echo "$as_me: failed program was:" >&5
60185 sed 's/^/| /' conftest.$ac_ext >&5
60187 eval "$as_ac_var=no"
60189 rm -f conftest.err conftest.$ac_objext \
60190 conftest$ac_exeext conftest.$ac_ext
60192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60194 if test `eval echo '${'$as_ac_var'}'` = yes; then
60195 cat >>confdefs.h <<_ACEOF
60196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60197 _ACEOF
60200 done
60202 else
60204 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60205 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60206 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60207 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60208 echo $ECHO_N "(cached) $ECHO_C" >&6
60209 else
60213 ac_ext=cc
60214 ac_cpp='$CXXCPP $CPPFLAGS'
60215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60219 cat >conftest.$ac_ext <<_ACEOF
60220 /* confdefs.h. */
60221 _ACEOF
60222 cat confdefs.h >>conftest.$ac_ext
60223 cat >>conftest.$ac_ext <<_ACEOF
60224 /* end confdefs.h. */
60225 #include <math.h>
60227 main ()
60229 _ldexpf(0, 0);
60231 return 0;
60233 _ACEOF
60234 rm -f conftest.$ac_objext
60235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60236 (eval $ac_compile) 2>conftest.er1
60237 ac_status=$?
60238 grep -v '^ *+' conftest.er1 >conftest.err
60239 rm -f conftest.er1
60240 cat conftest.err >&5
60241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60242 (exit $ac_status); } &&
60243 { ac_try='test -z "$ac_cxx_werror_flag"
60244 || test ! -s conftest.err'
60245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60246 (eval $ac_try) 2>&5
60247 ac_status=$?
60248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60249 (exit $ac_status); }; } &&
60250 { ac_try='test -s conftest.$ac_objext'
60251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60252 (eval $ac_try) 2>&5
60253 ac_status=$?
60254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60255 (exit $ac_status); }; }; then
60256 glibcxx_cv_func__ldexpf_use=yes
60257 else
60258 echo "$as_me: failed program was:" >&5
60259 sed 's/^/| /' conftest.$ac_ext >&5
60261 glibcxx_cv_func__ldexpf_use=no
60263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60264 ac_ext=c
60265 ac_cpp='$CPP $CPPFLAGS'
60266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60274 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60275 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60277 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60279 for ac_func in _ldexpf
60281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60282 echo "$as_me:$LINENO: checking for $ac_func" >&5
60283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60284 if eval "test \"\${$as_ac_var+set}\" = set"; then
60285 echo $ECHO_N "(cached) $ECHO_C" >&6
60286 else
60287 if test x$gcc_no_link = xyes; then
60288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60290 { (exit 1); exit 1; }; }
60292 cat >conftest.$ac_ext <<_ACEOF
60293 /* confdefs.h. */
60294 _ACEOF
60295 cat confdefs.h >>conftest.$ac_ext
60296 cat >>conftest.$ac_ext <<_ACEOF
60297 /* end confdefs.h. */
60298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60300 #define $ac_func innocuous_$ac_func
60302 /* System header to define __stub macros and hopefully few prototypes,
60303 which can conflict with char $ac_func (); below.
60304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60305 <limits.h> exists even on freestanding compilers. */
60307 #ifdef __STDC__
60308 # include <limits.h>
60309 #else
60310 # include <assert.h>
60311 #endif
60313 #undef $ac_func
60315 /* Override any gcc2 internal prototype to avoid an error. */
60316 #ifdef __cplusplus
60317 extern "C"
60319 #endif
60320 /* We use char because int might match the return type of a gcc2
60321 builtin and then its argument prototype would still apply. */
60322 char $ac_func ();
60323 /* The GNU C library defines this for functions which it implements
60324 to always fail with ENOSYS. Some functions are actually named
60325 something starting with __ and the normal name is an alias. */
60326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60327 choke me
60328 #else
60329 char (*f) () = $ac_func;
60330 #endif
60331 #ifdef __cplusplus
60333 #endif
60336 main ()
60338 return f != $ac_func;
60340 return 0;
60342 _ACEOF
60343 rm -f conftest.$ac_objext conftest$ac_exeext
60344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60345 (eval $ac_link) 2>conftest.er1
60346 ac_status=$?
60347 grep -v '^ *+' conftest.er1 >conftest.err
60348 rm -f conftest.er1
60349 cat conftest.err >&5
60350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60351 (exit $ac_status); } &&
60352 { ac_try='test -z "$ac_c_werror_flag"
60353 || test ! -s conftest.err'
60354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60355 (eval $ac_try) 2>&5
60356 ac_status=$?
60357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60358 (exit $ac_status); }; } &&
60359 { ac_try='test -s conftest$ac_exeext'
60360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60361 (eval $ac_try) 2>&5
60362 ac_status=$?
60363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60364 (exit $ac_status); }; }; then
60365 eval "$as_ac_var=yes"
60366 else
60367 echo "$as_me: failed program was:" >&5
60368 sed 's/^/| /' conftest.$ac_ext >&5
60370 eval "$as_ac_var=no"
60372 rm -f conftest.err conftest.$ac_objext \
60373 conftest$ac_exeext conftest.$ac_ext
60375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60377 if test `eval echo '${'$as_ac_var'}'` = yes; then
60378 cat >>confdefs.h <<_ACEOF
60379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60380 _ACEOF
60383 done
60393 echo "$as_me:$LINENO: checking for logf declaration" >&5
60394 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60395 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60396 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60397 echo $ECHO_N "(cached) $ECHO_C" >&6
60398 else
60402 ac_ext=cc
60403 ac_cpp='$CXXCPP $CPPFLAGS'
60404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60408 cat >conftest.$ac_ext <<_ACEOF
60409 /* confdefs.h. */
60410 _ACEOF
60411 cat confdefs.h >>conftest.$ac_ext
60412 cat >>conftest.$ac_ext <<_ACEOF
60413 /* end confdefs.h. */
60414 #include <math.h>
60415 #ifdef HAVE_IEEEFP_H
60416 #include <ieeefp.h>
60417 #endif
60420 main ()
60422 logf(0);
60424 return 0;
60426 _ACEOF
60427 rm -f conftest.$ac_objext
60428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60429 (eval $ac_compile) 2>conftest.er1
60430 ac_status=$?
60431 grep -v '^ *+' conftest.er1 >conftest.err
60432 rm -f conftest.er1
60433 cat conftest.err >&5
60434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60435 (exit $ac_status); } &&
60436 { ac_try='test -z "$ac_cxx_werror_flag"
60437 || test ! -s conftest.err'
60438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60439 (eval $ac_try) 2>&5
60440 ac_status=$?
60441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60442 (exit $ac_status); }; } &&
60443 { ac_try='test -s conftest.$ac_objext'
60444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60445 (eval $ac_try) 2>&5
60446 ac_status=$?
60447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60448 (exit $ac_status); }; }; then
60449 glibcxx_cv_func_logf_use=yes
60450 else
60451 echo "$as_me: failed program was:" >&5
60452 sed 's/^/| /' conftest.$ac_ext >&5
60454 glibcxx_cv_func_logf_use=no
60456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60457 ac_ext=c
60458 ac_cpp='$CPP $CPPFLAGS'
60459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60468 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60470 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60472 for ac_func in logf
60474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60475 echo "$as_me:$LINENO: checking for $ac_func" >&5
60476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60477 if eval "test \"\${$as_ac_var+set}\" = set"; then
60478 echo $ECHO_N "(cached) $ECHO_C" >&6
60479 else
60480 if test x$gcc_no_link = xyes; then
60481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60483 { (exit 1); exit 1; }; }
60485 cat >conftest.$ac_ext <<_ACEOF
60486 /* confdefs.h. */
60487 _ACEOF
60488 cat confdefs.h >>conftest.$ac_ext
60489 cat >>conftest.$ac_ext <<_ACEOF
60490 /* end confdefs.h. */
60491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60493 #define $ac_func innocuous_$ac_func
60495 /* System header to define __stub macros and hopefully few prototypes,
60496 which can conflict with char $ac_func (); below.
60497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60498 <limits.h> exists even on freestanding compilers. */
60500 #ifdef __STDC__
60501 # include <limits.h>
60502 #else
60503 # include <assert.h>
60504 #endif
60506 #undef $ac_func
60508 /* Override any gcc2 internal prototype to avoid an error. */
60509 #ifdef __cplusplus
60510 extern "C"
60512 #endif
60513 /* We use char because int might match the return type of a gcc2
60514 builtin and then its argument prototype would still apply. */
60515 char $ac_func ();
60516 /* The GNU C library defines this for functions which it implements
60517 to always fail with ENOSYS. Some functions are actually named
60518 something starting with __ and the normal name is an alias. */
60519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60520 choke me
60521 #else
60522 char (*f) () = $ac_func;
60523 #endif
60524 #ifdef __cplusplus
60526 #endif
60529 main ()
60531 return f != $ac_func;
60533 return 0;
60535 _ACEOF
60536 rm -f conftest.$ac_objext conftest$ac_exeext
60537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60538 (eval $ac_link) 2>conftest.er1
60539 ac_status=$?
60540 grep -v '^ *+' conftest.er1 >conftest.err
60541 rm -f conftest.er1
60542 cat conftest.err >&5
60543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60544 (exit $ac_status); } &&
60545 { ac_try='test -z "$ac_c_werror_flag"
60546 || test ! -s conftest.err'
60547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60548 (eval $ac_try) 2>&5
60549 ac_status=$?
60550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60551 (exit $ac_status); }; } &&
60552 { ac_try='test -s conftest$ac_exeext'
60553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60554 (eval $ac_try) 2>&5
60555 ac_status=$?
60556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60557 (exit $ac_status); }; }; then
60558 eval "$as_ac_var=yes"
60559 else
60560 echo "$as_me: failed program was:" >&5
60561 sed 's/^/| /' conftest.$ac_ext >&5
60563 eval "$as_ac_var=no"
60565 rm -f conftest.err conftest.$ac_objext \
60566 conftest$ac_exeext conftest.$ac_ext
60568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60570 if test `eval echo '${'$as_ac_var'}'` = yes; then
60571 cat >>confdefs.h <<_ACEOF
60572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60573 _ACEOF
60576 done
60578 else
60580 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60581 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60582 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60583 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60584 echo $ECHO_N "(cached) $ECHO_C" >&6
60585 else
60589 ac_ext=cc
60590 ac_cpp='$CXXCPP $CPPFLAGS'
60591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60595 cat >conftest.$ac_ext <<_ACEOF
60596 /* confdefs.h. */
60597 _ACEOF
60598 cat confdefs.h >>conftest.$ac_ext
60599 cat >>conftest.$ac_ext <<_ACEOF
60600 /* end confdefs.h. */
60601 #include <math.h>
60602 #ifdef HAVE_IEEEFP_H
60603 #include <ieeefp.h>
60604 #endif
60607 main ()
60609 _logf(0);
60611 return 0;
60613 _ACEOF
60614 rm -f conftest.$ac_objext
60615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60616 (eval $ac_compile) 2>conftest.er1
60617 ac_status=$?
60618 grep -v '^ *+' conftest.er1 >conftest.err
60619 rm -f conftest.er1
60620 cat conftest.err >&5
60621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60622 (exit $ac_status); } &&
60623 { ac_try='test -z "$ac_cxx_werror_flag"
60624 || test ! -s conftest.err'
60625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60626 (eval $ac_try) 2>&5
60627 ac_status=$?
60628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60629 (exit $ac_status); }; } &&
60630 { ac_try='test -s conftest.$ac_objext'
60631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60632 (eval $ac_try) 2>&5
60633 ac_status=$?
60634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60635 (exit $ac_status); }; }; then
60636 glibcxx_cv_func__logf_use=yes
60637 else
60638 echo "$as_me: failed program was:" >&5
60639 sed 's/^/| /' conftest.$ac_ext >&5
60641 glibcxx_cv_func__logf_use=no
60643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60644 ac_ext=c
60645 ac_cpp='$CPP $CPPFLAGS'
60646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60654 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60655 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60657 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60659 for ac_func in _logf
60661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60662 echo "$as_me:$LINENO: checking for $ac_func" >&5
60663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60664 if eval "test \"\${$as_ac_var+set}\" = set"; then
60665 echo $ECHO_N "(cached) $ECHO_C" >&6
60666 else
60667 if test x$gcc_no_link = xyes; then
60668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60670 { (exit 1); exit 1; }; }
60672 cat >conftest.$ac_ext <<_ACEOF
60673 /* confdefs.h. */
60674 _ACEOF
60675 cat confdefs.h >>conftest.$ac_ext
60676 cat >>conftest.$ac_ext <<_ACEOF
60677 /* end confdefs.h. */
60678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60680 #define $ac_func innocuous_$ac_func
60682 /* System header to define __stub macros and hopefully few prototypes,
60683 which can conflict with char $ac_func (); below.
60684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60685 <limits.h> exists even on freestanding compilers. */
60687 #ifdef __STDC__
60688 # include <limits.h>
60689 #else
60690 # include <assert.h>
60691 #endif
60693 #undef $ac_func
60695 /* Override any gcc2 internal prototype to avoid an error. */
60696 #ifdef __cplusplus
60697 extern "C"
60699 #endif
60700 /* We use char because int might match the return type of a gcc2
60701 builtin and then its argument prototype would still apply. */
60702 char $ac_func ();
60703 /* The GNU C library defines this for functions which it implements
60704 to always fail with ENOSYS. Some functions are actually named
60705 something starting with __ and the normal name is an alias. */
60706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60707 choke me
60708 #else
60709 char (*f) () = $ac_func;
60710 #endif
60711 #ifdef __cplusplus
60713 #endif
60716 main ()
60718 return f != $ac_func;
60720 return 0;
60722 _ACEOF
60723 rm -f conftest.$ac_objext conftest$ac_exeext
60724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60725 (eval $ac_link) 2>conftest.er1
60726 ac_status=$?
60727 grep -v '^ *+' conftest.er1 >conftest.err
60728 rm -f conftest.er1
60729 cat conftest.err >&5
60730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60731 (exit $ac_status); } &&
60732 { ac_try='test -z "$ac_c_werror_flag"
60733 || test ! -s conftest.err'
60734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60735 (eval $ac_try) 2>&5
60736 ac_status=$?
60737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60738 (exit $ac_status); }; } &&
60739 { ac_try='test -s conftest$ac_exeext'
60740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60741 (eval $ac_try) 2>&5
60742 ac_status=$?
60743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60744 (exit $ac_status); }; }; then
60745 eval "$as_ac_var=yes"
60746 else
60747 echo "$as_me: failed program was:" >&5
60748 sed 's/^/| /' conftest.$ac_ext >&5
60750 eval "$as_ac_var=no"
60752 rm -f conftest.err conftest.$ac_objext \
60753 conftest$ac_exeext conftest.$ac_ext
60755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60757 if test `eval echo '${'$as_ac_var'}'` = yes; then
60758 cat >>confdefs.h <<_ACEOF
60759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60760 _ACEOF
60763 done
60773 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60774 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60775 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60776 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60777 echo $ECHO_N "(cached) $ECHO_C" >&6
60778 else
60782 ac_ext=cc
60783 ac_cpp='$CXXCPP $CPPFLAGS'
60784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60788 cat >conftest.$ac_ext <<_ACEOF
60789 /* confdefs.h. */
60790 _ACEOF
60791 cat confdefs.h >>conftest.$ac_ext
60792 cat >>conftest.$ac_ext <<_ACEOF
60793 /* end confdefs.h. */
60794 #include <math.h>
60795 #ifdef HAVE_IEEEFP_H
60796 #include <ieeefp.h>
60797 #endif
60800 main ()
60802 log10f(0);
60804 return 0;
60806 _ACEOF
60807 rm -f conftest.$ac_objext
60808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60809 (eval $ac_compile) 2>conftest.er1
60810 ac_status=$?
60811 grep -v '^ *+' conftest.er1 >conftest.err
60812 rm -f conftest.er1
60813 cat conftest.err >&5
60814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60815 (exit $ac_status); } &&
60816 { ac_try='test -z "$ac_cxx_werror_flag"
60817 || test ! -s conftest.err'
60818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60819 (eval $ac_try) 2>&5
60820 ac_status=$?
60821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60822 (exit $ac_status); }; } &&
60823 { ac_try='test -s conftest.$ac_objext'
60824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60825 (eval $ac_try) 2>&5
60826 ac_status=$?
60827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60828 (exit $ac_status); }; }; then
60829 glibcxx_cv_func_log10f_use=yes
60830 else
60831 echo "$as_me: failed program was:" >&5
60832 sed 's/^/| /' conftest.$ac_ext >&5
60834 glibcxx_cv_func_log10f_use=no
60836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60837 ac_ext=c
60838 ac_cpp='$CPP $CPPFLAGS'
60839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60848 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60850 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60852 for ac_func in log10f
60854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60855 echo "$as_me:$LINENO: checking for $ac_func" >&5
60856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60857 if eval "test \"\${$as_ac_var+set}\" = set"; then
60858 echo $ECHO_N "(cached) $ECHO_C" >&6
60859 else
60860 if test x$gcc_no_link = xyes; then
60861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60863 { (exit 1); exit 1; }; }
60865 cat >conftest.$ac_ext <<_ACEOF
60866 /* confdefs.h. */
60867 _ACEOF
60868 cat confdefs.h >>conftest.$ac_ext
60869 cat >>conftest.$ac_ext <<_ACEOF
60870 /* end confdefs.h. */
60871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60873 #define $ac_func innocuous_$ac_func
60875 /* System header to define __stub macros and hopefully few prototypes,
60876 which can conflict with char $ac_func (); below.
60877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60878 <limits.h> exists even on freestanding compilers. */
60880 #ifdef __STDC__
60881 # include <limits.h>
60882 #else
60883 # include <assert.h>
60884 #endif
60886 #undef $ac_func
60888 /* Override any gcc2 internal prototype to avoid an error. */
60889 #ifdef __cplusplus
60890 extern "C"
60892 #endif
60893 /* We use char because int might match the return type of a gcc2
60894 builtin and then its argument prototype would still apply. */
60895 char $ac_func ();
60896 /* The GNU C library defines this for functions which it implements
60897 to always fail with ENOSYS. Some functions are actually named
60898 something starting with __ and the normal name is an alias. */
60899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60900 choke me
60901 #else
60902 char (*f) () = $ac_func;
60903 #endif
60904 #ifdef __cplusplus
60906 #endif
60909 main ()
60911 return f != $ac_func;
60913 return 0;
60915 _ACEOF
60916 rm -f conftest.$ac_objext conftest$ac_exeext
60917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60918 (eval $ac_link) 2>conftest.er1
60919 ac_status=$?
60920 grep -v '^ *+' conftest.er1 >conftest.err
60921 rm -f conftest.er1
60922 cat conftest.err >&5
60923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60924 (exit $ac_status); } &&
60925 { ac_try='test -z "$ac_c_werror_flag"
60926 || test ! -s conftest.err'
60927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60928 (eval $ac_try) 2>&5
60929 ac_status=$?
60930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60931 (exit $ac_status); }; } &&
60932 { ac_try='test -s conftest$ac_exeext'
60933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60934 (eval $ac_try) 2>&5
60935 ac_status=$?
60936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60937 (exit $ac_status); }; }; then
60938 eval "$as_ac_var=yes"
60939 else
60940 echo "$as_me: failed program was:" >&5
60941 sed 's/^/| /' conftest.$ac_ext >&5
60943 eval "$as_ac_var=no"
60945 rm -f conftest.err conftest.$ac_objext \
60946 conftest$ac_exeext conftest.$ac_ext
60948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60950 if test `eval echo '${'$as_ac_var'}'` = yes; then
60951 cat >>confdefs.h <<_ACEOF
60952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60953 _ACEOF
60956 done
60958 else
60960 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60961 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60962 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60963 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60964 echo $ECHO_N "(cached) $ECHO_C" >&6
60965 else
60969 ac_ext=cc
60970 ac_cpp='$CXXCPP $CPPFLAGS'
60971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60975 cat >conftest.$ac_ext <<_ACEOF
60976 /* confdefs.h. */
60977 _ACEOF
60978 cat confdefs.h >>conftest.$ac_ext
60979 cat >>conftest.$ac_ext <<_ACEOF
60980 /* end confdefs.h. */
60981 #include <math.h>
60982 #ifdef HAVE_IEEEFP_H
60983 #include <ieeefp.h>
60984 #endif
60987 main ()
60989 _log10f(0);
60991 return 0;
60993 _ACEOF
60994 rm -f conftest.$ac_objext
60995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60996 (eval $ac_compile) 2>conftest.er1
60997 ac_status=$?
60998 grep -v '^ *+' conftest.er1 >conftest.err
60999 rm -f conftest.er1
61000 cat conftest.err >&5
61001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61002 (exit $ac_status); } &&
61003 { ac_try='test -z "$ac_cxx_werror_flag"
61004 || test ! -s conftest.err'
61005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61006 (eval $ac_try) 2>&5
61007 ac_status=$?
61008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61009 (exit $ac_status); }; } &&
61010 { ac_try='test -s conftest.$ac_objext'
61011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61012 (eval $ac_try) 2>&5
61013 ac_status=$?
61014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61015 (exit $ac_status); }; }; then
61016 glibcxx_cv_func__log10f_use=yes
61017 else
61018 echo "$as_me: failed program was:" >&5
61019 sed 's/^/| /' conftest.$ac_ext >&5
61021 glibcxx_cv_func__log10f_use=no
61023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61024 ac_ext=c
61025 ac_cpp='$CPP $CPPFLAGS'
61026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61034 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61035 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61037 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61039 for ac_func in _log10f
61041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61042 echo "$as_me:$LINENO: checking for $ac_func" >&5
61043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61044 if eval "test \"\${$as_ac_var+set}\" = set"; then
61045 echo $ECHO_N "(cached) $ECHO_C" >&6
61046 else
61047 if test x$gcc_no_link = xyes; then
61048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61050 { (exit 1); exit 1; }; }
61052 cat >conftest.$ac_ext <<_ACEOF
61053 /* confdefs.h. */
61054 _ACEOF
61055 cat confdefs.h >>conftest.$ac_ext
61056 cat >>conftest.$ac_ext <<_ACEOF
61057 /* end confdefs.h. */
61058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61060 #define $ac_func innocuous_$ac_func
61062 /* System header to define __stub macros and hopefully few prototypes,
61063 which can conflict with char $ac_func (); below.
61064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61065 <limits.h> exists even on freestanding compilers. */
61067 #ifdef __STDC__
61068 # include <limits.h>
61069 #else
61070 # include <assert.h>
61071 #endif
61073 #undef $ac_func
61075 /* Override any gcc2 internal prototype to avoid an error. */
61076 #ifdef __cplusplus
61077 extern "C"
61079 #endif
61080 /* We use char because int might match the return type of a gcc2
61081 builtin and then its argument prototype would still apply. */
61082 char $ac_func ();
61083 /* The GNU C library defines this for functions which it implements
61084 to always fail with ENOSYS. Some functions are actually named
61085 something starting with __ and the normal name is an alias. */
61086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61087 choke me
61088 #else
61089 char (*f) () = $ac_func;
61090 #endif
61091 #ifdef __cplusplus
61093 #endif
61096 main ()
61098 return f != $ac_func;
61100 return 0;
61102 _ACEOF
61103 rm -f conftest.$ac_objext conftest$ac_exeext
61104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61105 (eval $ac_link) 2>conftest.er1
61106 ac_status=$?
61107 grep -v '^ *+' conftest.er1 >conftest.err
61108 rm -f conftest.er1
61109 cat conftest.err >&5
61110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61111 (exit $ac_status); } &&
61112 { ac_try='test -z "$ac_c_werror_flag"
61113 || test ! -s conftest.err'
61114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61115 (eval $ac_try) 2>&5
61116 ac_status=$?
61117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61118 (exit $ac_status); }; } &&
61119 { ac_try='test -s conftest$ac_exeext'
61120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61121 (eval $ac_try) 2>&5
61122 ac_status=$?
61123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61124 (exit $ac_status); }; }; then
61125 eval "$as_ac_var=yes"
61126 else
61127 echo "$as_me: failed program was:" >&5
61128 sed 's/^/| /' conftest.$ac_ext >&5
61130 eval "$as_ac_var=no"
61132 rm -f conftest.err conftest.$ac_objext \
61133 conftest$ac_exeext conftest.$ac_ext
61135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61137 if test `eval echo '${'$as_ac_var'}'` = yes; then
61138 cat >>confdefs.h <<_ACEOF
61139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61140 _ACEOF
61143 done
61153 echo "$as_me:$LINENO: checking for modff declaration" >&5
61154 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61155 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61156 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61157 echo $ECHO_N "(cached) $ECHO_C" >&6
61158 else
61162 ac_ext=cc
61163 ac_cpp='$CXXCPP $CPPFLAGS'
61164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61168 cat >conftest.$ac_ext <<_ACEOF
61169 /* confdefs.h. */
61170 _ACEOF
61171 cat confdefs.h >>conftest.$ac_ext
61172 cat >>conftest.$ac_ext <<_ACEOF
61173 /* end confdefs.h. */
61174 #include <math.h>
61176 main ()
61178 modff(0, 0);
61180 return 0;
61182 _ACEOF
61183 rm -f conftest.$ac_objext
61184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61185 (eval $ac_compile) 2>conftest.er1
61186 ac_status=$?
61187 grep -v '^ *+' conftest.er1 >conftest.err
61188 rm -f conftest.er1
61189 cat conftest.err >&5
61190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61191 (exit $ac_status); } &&
61192 { ac_try='test -z "$ac_cxx_werror_flag"
61193 || test ! -s conftest.err'
61194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61195 (eval $ac_try) 2>&5
61196 ac_status=$?
61197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61198 (exit $ac_status); }; } &&
61199 { ac_try='test -s conftest.$ac_objext'
61200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61201 (eval $ac_try) 2>&5
61202 ac_status=$?
61203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61204 (exit $ac_status); }; }; then
61205 glibcxx_cv_func_modff_use=yes
61206 else
61207 echo "$as_me: failed program was:" >&5
61208 sed 's/^/| /' conftest.$ac_ext >&5
61210 glibcxx_cv_func_modff_use=no
61212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61213 ac_ext=c
61214 ac_cpp='$CPP $CPPFLAGS'
61215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61224 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61226 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61228 for ac_func in modff
61230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61231 echo "$as_me:$LINENO: checking for $ac_func" >&5
61232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61233 if eval "test \"\${$as_ac_var+set}\" = set"; then
61234 echo $ECHO_N "(cached) $ECHO_C" >&6
61235 else
61236 if test x$gcc_no_link = xyes; then
61237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61239 { (exit 1); exit 1; }; }
61241 cat >conftest.$ac_ext <<_ACEOF
61242 /* confdefs.h. */
61243 _ACEOF
61244 cat confdefs.h >>conftest.$ac_ext
61245 cat >>conftest.$ac_ext <<_ACEOF
61246 /* end confdefs.h. */
61247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61249 #define $ac_func innocuous_$ac_func
61251 /* System header to define __stub macros and hopefully few prototypes,
61252 which can conflict with char $ac_func (); below.
61253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61254 <limits.h> exists even on freestanding compilers. */
61256 #ifdef __STDC__
61257 # include <limits.h>
61258 #else
61259 # include <assert.h>
61260 #endif
61262 #undef $ac_func
61264 /* Override any gcc2 internal prototype to avoid an error. */
61265 #ifdef __cplusplus
61266 extern "C"
61268 #endif
61269 /* We use char because int might match the return type of a gcc2
61270 builtin and then its argument prototype would still apply. */
61271 char $ac_func ();
61272 /* The GNU C library defines this for functions which it implements
61273 to always fail with ENOSYS. Some functions are actually named
61274 something starting with __ and the normal name is an alias. */
61275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61276 choke me
61277 #else
61278 char (*f) () = $ac_func;
61279 #endif
61280 #ifdef __cplusplus
61282 #endif
61285 main ()
61287 return f != $ac_func;
61289 return 0;
61291 _ACEOF
61292 rm -f conftest.$ac_objext conftest$ac_exeext
61293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61294 (eval $ac_link) 2>conftest.er1
61295 ac_status=$?
61296 grep -v '^ *+' conftest.er1 >conftest.err
61297 rm -f conftest.er1
61298 cat conftest.err >&5
61299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61300 (exit $ac_status); } &&
61301 { ac_try='test -z "$ac_c_werror_flag"
61302 || test ! -s conftest.err'
61303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61304 (eval $ac_try) 2>&5
61305 ac_status=$?
61306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61307 (exit $ac_status); }; } &&
61308 { ac_try='test -s conftest$ac_exeext'
61309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61310 (eval $ac_try) 2>&5
61311 ac_status=$?
61312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61313 (exit $ac_status); }; }; then
61314 eval "$as_ac_var=yes"
61315 else
61316 echo "$as_me: failed program was:" >&5
61317 sed 's/^/| /' conftest.$ac_ext >&5
61319 eval "$as_ac_var=no"
61321 rm -f conftest.err conftest.$ac_objext \
61322 conftest$ac_exeext conftest.$ac_ext
61324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61326 if test `eval echo '${'$as_ac_var'}'` = yes; then
61327 cat >>confdefs.h <<_ACEOF
61328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61329 _ACEOF
61332 done
61334 else
61336 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61337 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61338 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61339 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61340 echo $ECHO_N "(cached) $ECHO_C" >&6
61341 else
61345 ac_ext=cc
61346 ac_cpp='$CXXCPP $CPPFLAGS'
61347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61351 cat >conftest.$ac_ext <<_ACEOF
61352 /* confdefs.h. */
61353 _ACEOF
61354 cat confdefs.h >>conftest.$ac_ext
61355 cat >>conftest.$ac_ext <<_ACEOF
61356 /* end confdefs.h. */
61357 #include <math.h>
61359 main ()
61361 _modff(0, 0);
61363 return 0;
61365 _ACEOF
61366 rm -f conftest.$ac_objext
61367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61368 (eval $ac_compile) 2>conftest.er1
61369 ac_status=$?
61370 grep -v '^ *+' conftest.er1 >conftest.err
61371 rm -f conftest.er1
61372 cat conftest.err >&5
61373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61374 (exit $ac_status); } &&
61375 { ac_try='test -z "$ac_cxx_werror_flag"
61376 || test ! -s conftest.err'
61377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61378 (eval $ac_try) 2>&5
61379 ac_status=$?
61380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61381 (exit $ac_status); }; } &&
61382 { ac_try='test -s conftest.$ac_objext'
61383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61384 (eval $ac_try) 2>&5
61385 ac_status=$?
61386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61387 (exit $ac_status); }; }; then
61388 glibcxx_cv_func__modff_use=yes
61389 else
61390 echo "$as_me: failed program was:" >&5
61391 sed 's/^/| /' conftest.$ac_ext >&5
61393 glibcxx_cv_func__modff_use=no
61395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61396 ac_ext=c
61397 ac_cpp='$CPP $CPPFLAGS'
61398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61407 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61409 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61411 for ac_func in _modff
61413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61414 echo "$as_me:$LINENO: checking for $ac_func" >&5
61415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61416 if eval "test \"\${$as_ac_var+set}\" = set"; then
61417 echo $ECHO_N "(cached) $ECHO_C" >&6
61418 else
61419 if test x$gcc_no_link = xyes; then
61420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61422 { (exit 1); exit 1; }; }
61424 cat >conftest.$ac_ext <<_ACEOF
61425 /* confdefs.h. */
61426 _ACEOF
61427 cat confdefs.h >>conftest.$ac_ext
61428 cat >>conftest.$ac_ext <<_ACEOF
61429 /* end confdefs.h. */
61430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61432 #define $ac_func innocuous_$ac_func
61434 /* System header to define __stub macros and hopefully few prototypes,
61435 which can conflict with char $ac_func (); below.
61436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61437 <limits.h> exists even on freestanding compilers. */
61439 #ifdef __STDC__
61440 # include <limits.h>
61441 #else
61442 # include <assert.h>
61443 #endif
61445 #undef $ac_func
61447 /* Override any gcc2 internal prototype to avoid an error. */
61448 #ifdef __cplusplus
61449 extern "C"
61451 #endif
61452 /* We use char because int might match the return type of a gcc2
61453 builtin and then its argument prototype would still apply. */
61454 char $ac_func ();
61455 /* The GNU C library defines this for functions which it implements
61456 to always fail with ENOSYS. Some functions are actually named
61457 something starting with __ and the normal name is an alias. */
61458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61459 choke me
61460 #else
61461 char (*f) () = $ac_func;
61462 #endif
61463 #ifdef __cplusplus
61465 #endif
61468 main ()
61470 return f != $ac_func;
61472 return 0;
61474 _ACEOF
61475 rm -f conftest.$ac_objext conftest$ac_exeext
61476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61477 (eval $ac_link) 2>conftest.er1
61478 ac_status=$?
61479 grep -v '^ *+' conftest.er1 >conftest.err
61480 rm -f conftest.er1
61481 cat conftest.err >&5
61482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61483 (exit $ac_status); } &&
61484 { ac_try='test -z "$ac_c_werror_flag"
61485 || test ! -s conftest.err'
61486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61487 (eval $ac_try) 2>&5
61488 ac_status=$?
61489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61490 (exit $ac_status); }; } &&
61491 { ac_try='test -s conftest$ac_exeext'
61492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61493 (eval $ac_try) 2>&5
61494 ac_status=$?
61495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61496 (exit $ac_status); }; }; then
61497 eval "$as_ac_var=yes"
61498 else
61499 echo "$as_me: failed program was:" >&5
61500 sed 's/^/| /' conftest.$ac_ext >&5
61502 eval "$as_ac_var=no"
61504 rm -f conftest.err conftest.$ac_objext \
61505 conftest$ac_exeext conftest.$ac_ext
61507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61509 if test `eval echo '${'$as_ac_var'}'` = yes; then
61510 cat >>confdefs.h <<_ACEOF
61511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61512 _ACEOF
61515 done
61525 echo "$as_me:$LINENO: checking for modf declaration" >&5
61526 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
61527 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61528 if test "${glibcxx_cv_func_modf_use+set}" = set; then
61529 echo $ECHO_N "(cached) $ECHO_C" >&6
61530 else
61534 ac_ext=cc
61535 ac_cpp='$CXXCPP $CPPFLAGS'
61536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61540 cat >conftest.$ac_ext <<_ACEOF
61541 /* confdefs.h. */
61542 _ACEOF
61543 cat confdefs.h >>conftest.$ac_ext
61544 cat >>conftest.$ac_ext <<_ACEOF
61545 /* end confdefs.h. */
61546 #include <math.h>
61548 main ()
61550 modf(0, 0);
61552 return 0;
61554 _ACEOF
61555 rm -f conftest.$ac_objext
61556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61557 (eval $ac_compile) 2>conftest.er1
61558 ac_status=$?
61559 grep -v '^ *+' conftest.er1 >conftest.err
61560 rm -f conftest.er1
61561 cat conftest.err >&5
61562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61563 (exit $ac_status); } &&
61564 { ac_try='test -z "$ac_cxx_werror_flag"
61565 || test ! -s conftest.err'
61566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61567 (eval $ac_try) 2>&5
61568 ac_status=$?
61569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61570 (exit $ac_status); }; } &&
61571 { ac_try='test -s conftest.$ac_objext'
61572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61573 (eval $ac_try) 2>&5
61574 ac_status=$?
61575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61576 (exit $ac_status); }; }; then
61577 glibcxx_cv_func_modf_use=yes
61578 else
61579 echo "$as_me: failed program was:" >&5
61580 sed 's/^/| /' conftest.$ac_ext >&5
61582 glibcxx_cv_func_modf_use=no
61584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61585 ac_ext=c
61586 ac_cpp='$CPP $CPPFLAGS'
61587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
61596 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
61598 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61600 for ac_func in modf
61602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61603 echo "$as_me:$LINENO: checking for $ac_func" >&5
61604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61605 if eval "test \"\${$as_ac_var+set}\" = set"; then
61606 echo $ECHO_N "(cached) $ECHO_C" >&6
61607 else
61608 if test x$gcc_no_link = xyes; then
61609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61611 { (exit 1); exit 1; }; }
61613 cat >conftest.$ac_ext <<_ACEOF
61614 /* confdefs.h. */
61615 _ACEOF
61616 cat confdefs.h >>conftest.$ac_ext
61617 cat >>conftest.$ac_ext <<_ACEOF
61618 /* end confdefs.h. */
61619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61621 #define $ac_func innocuous_$ac_func
61623 /* System header to define __stub macros and hopefully few prototypes,
61624 which can conflict with char $ac_func (); below.
61625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61626 <limits.h> exists even on freestanding compilers. */
61628 #ifdef __STDC__
61629 # include <limits.h>
61630 #else
61631 # include <assert.h>
61632 #endif
61634 #undef $ac_func
61636 /* Override any gcc2 internal prototype to avoid an error. */
61637 #ifdef __cplusplus
61638 extern "C"
61640 #endif
61641 /* We use char because int might match the return type of a gcc2
61642 builtin and then its argument prototype would still apply. */
61643 char $ac_func ();
61644 /* The GNU C library defines this for functions which it implements
61645 to always fail with ENOSYS. Some functions are actually named
61646 something starting with __ and the normal name is an alias. */
61647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61648 choke me
61649 #else
61650 char (*f) () = $ac_func;
61651 #endif
61652 #ifdef __cplusplus
61654 #endif
61657 main ()
61659 return f != $ac_func;
61661 return 0;
61663 _ACEOF
61664 rm -f conftest.$ac_objext conftest$ac_exeext
61665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61666 (eval $ac_link) 2>conftest.er1
61667 ac_status=$?
61668 grep -v '^ *+' conftest.er1 >conftest.err
61669 rm -f conftest.er1
61670 cat conftest.err >&5
61671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61672 (exit $ac_status); } &&
61673 { ac_try='test -z "$ac_c_werror_flag"
61674 || test ! -s conftest.err'
61675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61676 (eval $ac_try) 2>&5
61677 ac_status=$?
61678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61679 (exit $ac_status); }; } &&
61680 { ac_try='test -s conftest$ac_exeext'
61681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61682 (eval $ac_try) 2>&5
61683 ac_status=$?
61684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61685 (exit $ac_status); }; }; then
61686 eval "$as_ac_var=yes"
61687 else
61688 echo "$as_me: failed program was:" >&5
61689 sed 's/^/| /' conftest.$ac_ext >&5
61691 eval "$as_ac_var=no"
61693 rm -f conftest.err conftest.$ac_objext \
61694 conftest$ac_exeext conftest.$ac_ext
61696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61698 if test `eval echo '${'$as_ac_var'}'` = yes; then
61699 cat >>confdefs.h <<_ACEOF
61700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61701 _ACEOF
61704 done
61706 else
61708 echo "$as_me:$LINENO: checking for _modf declaration" >&5
61709 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
61710 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61711 if test "${glibcxx_cv_func__modf_use+set}" = set; then
61712 echo $ECHO_N "(cached) $ECHO_C" >&6
61713 else
61717 ac_ext=cc
61718 ac_cpp='$CXXCPP $CPPFLAGS'
61719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61723 cat >conftest.$ac_ext <<_ACEOF
61724 /* confdefs.h. */
61725 _ACEOF
61726 cat confdefs.h >>conftest.$ac_ext
61727 cat >>conftest.$ac_ext <<_ACEOF
61728 /* end confdefs.h. */
61729 #include <math.h>
61731 main ()
61733 _modf(0, 0);
61735 return 0;
61737 _ACEOF
61738 rm -f conftest.$ac_objext
61739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61740 (eval $ac_compile) 2>conftest.er1
61741 ac_status=$?
61742 grep -v '^ *+' conftest.er1 >conftest.err
61743 rm -f conftest.er1
61744 cat conftest.err >&5
61745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61746 (exit $ac_status); } &&
61747 { ac_try='test -z "$ac_cxx_werror_flag"
61748 || test ! -s conftest.err'
61749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61750 (eval $ac_try) 2>&5
61751 ac_status=$?
61752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61753 (exit $ac_status); }; } &&
61754 { ac_try='test -s conftest.$ac_objext'
61755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61756 (eval $ac_try) 2>&5
61757 ac_status=$?
61758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61759 (exit $ac_status); }; }; then
61760 glibcxx_cv_func__modf_use=yes
61761 else
61762 echo "$as_me: failed program was:" >&5
61763 sed 's/^/| /' conftest.$ac_ext >&5
61765 glibcxx_cv_func__modf_use=no
61767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61768 ac_ext=c
61769 ac_cpp='$CPP $CPPFLAGS'
61770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
61779 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
61781 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61783 for ac_func in _modf
61785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61786 echo "$as_me:$LINENO: checking for $ac_func" >&5
61787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61788 if eval "test \"\${$as_ac_var+set}\" = set"; then
61789 echo $ECHO_N "(cached) $ECHO_C" >&6
61790 else
61791 if test x$gcc_no_link = xyes; then
61792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61794 { (exit 1); exit 1; }; }
61796 cat >conftest.$ac_ext <<_ACEOF
61797 /* confdefs.h. */
61798 _ACEOF
61799 cat confdefs.h >>conftest.$ac_ext
61800 cat >>conftest.$ac_ext <<_ACEOF
61801 /* end confdefs.h. */
61802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61804 #define $ac_func innocuous_$ac_func
61806 /* System header to define __stub macros and hopefully few prototypes,
61807 which can conflict with char $ac_func (); below.
61808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61809 <limits.h> exists even on freestanding compilers. */
61811 #ifdef __STDC__
61812 # include <limits.h>
61813 #else
61814 # include <assert.h>
61815 #endif
61817 #undef $ac_func
61819 /* Override any gcc2 internal prototype to avoid an error. */
61820 #ifdef __cplusplus
61821 extern "C"
61823 #endif
61824 /* We use char because int might match the return type of a gcc2
61825 builtin and then its argument prototype would still apply. */
61826 char $ac_func ();
61827 /* The GNU C library defines this for functions which it implements
61828 to always fail with ENOSYS. Some functions are actually named
61829 something starting with __ and the normal name is an alias. */
61830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61831 choke me
61832 #else
61833 char (*f) () = $ac_func;
61834 #endif
61835 #ifdef __cplusplus
61837 #endif
61840 main ()
61842 return f != $ac_func;
61844 return 0;
61846 _ACEOF
61847 rm -f conftest.$ac_objext conftest$ac_exeext
61848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61849 (eval $ac_link) 2>conftest.er1
61850 ac_status=$?
61851 grep -v '^ *+' conftest.er1 >conftest.err
61852 rm -f conftest.er1
61853 cat conftest.err >&5
61854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61855 (exit $ac_status); } &&
61856 { ac_try='test -z "$ac_c_werror_flag"
61857 || test ! -s conftest.err'
61858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61859 (eval $ac_try) 2>&5
61860 ac_status=$?
61861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61862 (exit $ac_status); }; } &&
61863 { ac_try='test -s conftest$ac_exeext'
61864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61865 (eval $ac_try) 2>&5
61866 ac_status=$?
61867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61868 (exit $ac_status); }; }; then
61869 eval "$as_ac_var=yes"
61870 else
61871 echo "$as_me: failed program was:" >&5
61872 sed 's/^/| /' conftest.$ac_ext >&5
61874 eval "$as_ac_var=no"
61876 rm -f conftest.err conftest.$ac_objext \
61877 conftest$ac_exeext conftest.$ac_ext
61879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61881 if test `eval echo '${'$as_ac_var'}'` = yes; then
61882 cat >>confdefs.h <<_ACEOF
61883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61884 _ACEOF
61887 done
61897 echo "$as_me:$LINENO: checking for powf declaration" >&5
61898 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61899 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61900 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61901 echo $ECHO_N "(cached) $ECHO_C" >&6
61902 else
61906 ac_ext=cc
61907 ac_cpp='$CXXCPP $CPPFLAGS'
61908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61912 cat >conftest.$ac_ext <<_ACEOF
61913 /* confdefs.h. */
61914 _ACEOF
61915 cat confdefs.h >>conftest.$ac_ext
61916 cat >>conftest.$ac_ext <<_ACEOF
61917 /* end confdefs.h. */
61918 #include <math.h>
61920 main ()
61922 powf(0, 0);
61924 return 0;
61926 _ACEOF
61927 rm -f conftest.$ac_objext
61928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61929 (eval $ac_compile) 2>conftest.er1
61930 ac_status=$?
61931 grep -v '^ *+' conftest.er1 >conftest.err
61932 rm -f conftest.er1
61933 cat conftest.err >&5
61934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61935 (exit $ac_status); } &&
61936 { ac_try='test -z "$ac_cxx_werror_flag"
61937 || test ! -s conftest.err'
61938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61939 (eval $ac_try) 2>&5
61940 ac_status=$?
61941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61942 (exit $ac_status); }; } &&
61943 { ac_try='test -s conftest.$ac_objext'
61944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61945 (eval $ac_try) 2>&5
61946 ac_status=$?
61947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61948 (exit $ac_status); }; }; then
61949 glibcxx_cv_func_powf_use=yes
61950 else
61951 echo "$as_me: failed program was:" >&5
61952 sed 's/^/| /' conftest.$ac_ext >&5
61954 glibcxx_cv_func_powf_use=no
61956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61957 ac_ext=c
61958 ac_cpp='$CPP $CPPFLAGS'
61959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61968 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61970 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61972 for ac_func in powf
61974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61975 echo "$as_me:$LINENO: checking for $ac_func" >&5
61976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61977 if eval "test \"\${$as_ac_var+set}\" = set"; then
61978 echo $ECHO_N "(cached) $ECHO_C" >&6
61979 else
61980 if test x$gcc_no_link = xyes; then
61981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61983 { (exit 1); exit 1; }; }
61985 cat >conftest.$ac_ext <<_ACEOF
61986 /* confdefs.h. */
61987 _ACEOF
61988 cat confdefs.h >>conftest.$ac_ext
61989 cat >>conftest.$ac_ext <<_ACEOF
61990 /* end confdefs.h. */
61991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61993 #define $ac_func innocuous_$ac_func
61995 /* System header to define __stub macros and hopefully few prototypes,
61996 which can conflict with char $ac_func (); below.
61997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61998 <limits.h> exists even on freestanding compilers. */
62000 #ifdef __STDC__
62001 # include <limits.h>
62002 #else
62003 # include <assert.h>
62004 #endif
62006 #undef $ac_func
62008 /* Override any gcc2 internal prototype to avoid an error. */
62009 #ifdef __cplusplus
62010 extern "C"
62012 #endif
62013 /* We use char because int might match the return type of a gcc2
62014 builtin and then its argument prototype would still apply. */
62015 char $ac_func ();
62016 /* The GNU C library defines this for functions which it implements
62017 to always fail with ENOSYS. Some functions are actually named
62018 something starting with __ and the normal name is an alias. */
62019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62020 choke me
62021 #else
62022 char (*f) () = $ac_func;
62023 #endif
62024 #ifdef __cplusplus
62026 #endif
62029 main ()
62031 return f != $ac_func;
62033 return 0;
62035 _ACEOF
62036 rm -f conftest.$ac_objext conftest$ac_exeext
62037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62038 (eval $ac_link) 2>conftest.er1
62039 ac_status=$?
62040 grep -v '^ *+' conftest.er1 >conftest.err
62041 rm -f conftest.er1
62042 cat conftest.err >&5
62043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62044 (exit $ac_status); } &&
62045 { ac_try='test -z "$ac_c_werror_flag"
62046 || test ! -s conftest.err'
62047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62048 (eval $ac_try) 2>&5
62049 ac_status=$?
62050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62051 (exit $ac_status); }; } &&
62052 { ac_try='test -s conftest$ac_exeext'
62053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62054 (eval $ac_try) 2>&5
62055 ac_status=$?
62056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62057 (exit $ac_status); }; }; then
62058 eval "$as_ac_var=yes"
62059 else
62060 echo "$as_me: failed program was:" >&5
62061 sed 's/^/| /' conftest.$ac_ext >&5
62063 eval "$as_ac_var=no"
62065 rm -f conftest.err conftest.$ac_objext \
62066 conftest$ac_exeext conftest.$ac_ext
62068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62070 if test `eval echo '${'$as_ac_var'}'` = yes; then
62071 cat >>confdefs.h <<_ACEOF
62072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62073 _ACEOF
62076 done
62078 else
62080 echo "$as_me:$LINENO: checking for _powf declaration" >&5
62081 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
62082 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62083 if test "${glibcxx_cv_func__powf_use+set}" = set; then
62084 echo $ECHO_N "(cached) $ECHO_C" >&6
62085 else
62089 ac_ext=cc
62090 ac_cpp='$CXXCPP $CPPFLAGS'
62091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62095 cat >conftest.$ac_ext <<_ACEOF
62096 /* confdefs.h. */
62097 _ACEOF
62098 cat confdefs.h >>conftest.$ac_ext
62099 cat >>conftest.$ac_ext <<_ACEOF
62100 /* end confdefs.h. */
62101 #include <math.h>
62103 main ()
62105 _powf(0, 0);
62107 return 0;
62109 _ACEOF
62110 rm -f conftest.$ac_objext
62111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62112 (eval $ac_compile) 2>conftest.er1
62113 ac_status=$?
62114 grep -v '^ *+' conftest.er1 >conftest.err
62115 rm -f conftest.er1
62116 cat conftest.err >&5
62117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62118 (exit $ac_status); } &&
62119 { ac_try='test -z "$ac_cxx_werror_flag"
62120 || test ! -s conftest.err'
62121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62122 (eval $ac_try) 2>&5
62123 ac_status=$?
62124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62125 (exit $ac_status); }; } &&
62126 { ac_try='test -s conftest.$ac_objext'
62127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62128 (eval $ac_try) 2>&5
62129 ac_status=$?
62130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62131 (exit $ac_status); }; }; then
62132 glibcxx_cv_func__powf_use=yes
62133 else
62134 echo "$as_me: failed program was:" >&5
62135 sed 's/^/| /' conftest.$ac_ext >&5
62137 glibcxx_cv_func__powf_use=no
62139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62140 ac_ext=c
62141 ac_cpp='$CPP $CPPFLAGS'
62142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
62151 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
62153 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62155 for ac_func in _powf
62157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62158 echo "$as_me:$LINENO: checking for $ac_func" >&5
62159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62160 if eval "test \"\${$as_ac_var+set}\" = set"; then
62161 echo $ECHO_N "(cached) $ECHO_C" >&6
62162 else
62163 if test x$gcc_no_link = xyes; then
62164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62166 { (exit 1); exit 1; }; }
62168 cat >conftest.$ac_ext <<_ACEOF
62169 /* confdefs.h. */
62170 _ACEOF
62171 cat confdefs.h >>conftest.$ac_ext
62172 cat >>conftest.$ac_ext <<_ACEOF
62173 /* end confdefs.h. */
62174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62176 #define $ac_func innocuous_$ac_func
62178 /* System header to define __stub macros and hopefully few prototypes,
62179 which can conflict with char $ac_func (); below.
62180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62181 <limits.h> exists even on freestanding compilers. */
62183 #ifdef __STDC__
62184 # include <limits.h>
62185 #else
62186 # include <assert.h>
62187 #endif
62189 #undef $ac_func
62191 /* Override any gcc2 internal prototype to avoid an error. */
62192 #ifdef __cplusplus
62193 extern "C"
62195 #endif
62196 /* We use char because int might match the return type of a gcc2
62197 builtin and then its argument prototype would still apply. */
62198 char $ac_func ();
62199 /* The GNU C library defines this for functions which it implements
62200 to always fail with ENOSYS. Some functions are actually named
62201 something starting with __ and the normal name is an alias. */
62202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62203 choke me
62204 #else
62205 char (*f) () = $ac_func;
62206 #endif
62207 #ifdef __cplusplus
62209 #endif
62212 main ()
62214 return f != $ac_func;
62216 return 0;
62218 _ACEOF
62219 rm -f conftest.$ac_objext conftest$ac_exeext
62220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62221 (eval $ac_link) 2>conftest.er1
62222 ac_status=$?
62223 grep -v '^ *+' conftest.er1 >conftest.err
62224 rm -f conftest.er1
62225 cat conftest.err >&5
62226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62227 (exit $ac_status); } &&
62228 { ac_try='test -z "$ac_c_werror_flag"
62229 || test ! -s conftest.err'
62230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62231 (eval $ac_try) 2>&5
62232 ac_status=$?
62233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62234 (exit $ac_status); }; } &&
62235 { ac_try='test -s conftest$ac_exeext'
62236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62237 (eval $ac_try) 2>&5
62238 ac_status=$?
62239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62240 (exit $ac_status); }; }; then
62241 eval "$as_ac_var=yes"
62242 else
62243 echo "$as_me: failed program was:" >&5
62244 sed 's/^/| /' conftest.$ac_ext >&5
62246 eval "$as_ac_var=no"
62248 rm -f conftest.err conftest.$ac_objext \
62249 conftest$ac_exeext conftest.$ac_ext
62251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62253 if test `eval echo '${'$as_ac_var'}'` = yes; then
62254 cat >>confdefs.h <<_ACEOF
62255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62256 _ACEOF
62259 done
62269 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62270 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62271 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62272 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62273 echo $ECHO_N "(cached) $ECHO_C" >&6
62274 else
62278 ac_ext=cc
62279 ac_cpp='$CXXCPP $CPPFLAGS'
62280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62284 cat >conftest.$ac_ext <<_ACEOF
62285 /* confdefs.h. */
62286 _ACEOF
62287 cat confdefs.h >>conftest.$ac_ext
62288 cat >>conftest.$ac_ext <<_ACEOF
62289 /* end confdefs.h. */
62290 #include <math.h>
62291 #ifdef HAVE_IEEEFP_H
62292 #include <ieeefp.h>
62293 #endif
62296 main ()
62298 sqrtf(0);
62300 return 0;
62302 _ACEOF
62303 rm -f conftest.$ac_objext
62304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62305 (eval $ac_compile) 2>conftest.er1
62306 ac_status=$?
62307 grep -v '^ *+' conftest.er1 >conftest.err
62308 rm -f conftest.er1
62309 cat conftest.err >&5
62310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62311 (exit $ac_status); } &&
62312 { ac_try='test -z "$ac_cxx_werror_flag"
62313 || test ! -s conftest.err'
62314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62315 (eval $ac_try) 2>&5
62316 ac_status=$?
62317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62318 (exit $ac_status); }; } &&
62319 { ac_try='test -s conftest.$ac_objext'
62320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62321 (eval $ac_try) 2>&5
62322 ac_status=$?
62323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62324 (exit $ac_status); }; }; then
62325 glibcxx_cv_func_sqrtf_use=yes
62326 else
62327 echo "$as_me: failed program was:" >&5
62328 sed 's/^/| /' conftest.$ac_ext >&5
62330 glibcxx_cv_func_sqrtf_use=no
62332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62333 ac_ext=c
62334 ac_cpp='$CPP $CPPFLAGS'
62335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62344 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62346 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62348 for ac_func in sqrtf
62350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62351 echo "$as_me:$LINENO: checking for $ac_func" >&5
62352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62353 if eval "test \"\${$as_ac_var+set}\" = set"; then
62354 echo $ECHO_N "(cached) $ECHO_C" >&6
62355 else
62356 if test x$gcc_no_link = xyes; then
62357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62359 { (exit 1); exit 1; }; }
62361 cat >conftest.$ac_ext <<_ACEOF
62362 /* confdefs.h. */
62363 _ACEOF
62364 cat confdefs.h >>conftest.$ac_ext
62365 cat >>conftest.$ac_ext <<_ACEOF
62366 /* end confdefs.h. */
62367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62369 #define $ac_func innocuous_$ac_func
62371 /* System header to define __stub macros and hopefully few prototypes,
62372 which can conflict with char $ac_func (); below.
62373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62374 <limits.h> exists even on freestanding compilers. */
62376 #ifdef __STDC__
62377 # include <limits.h>
62378 #else
62379 # include <assert.h>
62380 #endif
62382 #undef $ac_func
62384 /* Override any gcc2 internal prototype to avoid an error. */
62385 #ifdef __cplusplus
62386 extern "C"
62388 #endif
62389 /* We use char because int might match the return type of a gcc2
62390 builtin and then its argument prototype would still apply. */
62391 char $ac_func ();
62392 /* The GNU C library defines this for functions which it implements
62393 to always fail with ENOSYS. Some functions are actually named
62394 something starting with __ and the normal name is an alias. */
62395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62396 choke me
62397 #else
62398 char (*f) () = $ac_func;
62399 #endif
62400 #ifdef __cplusplus
62402 #endif
62405 main ()
62407 return f != $ac_func;
62409 return 0;
62411 _ACEOF
62412 rm -f conftest.$ac_objext conftest$ac_exeext
62413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62414 (eval $ac_link) 2>conftest.er1
62415 ac_status=$?
62416 grep -v '^ *+' conftest.er1 >conftest.err
62417 rm -f conftest.er1
62418 cat conftest.err >&5
62419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62420 (exit $ac_status); } &&
62421 { ac_try='test -z "$ac_c_werror_flag"
62422 || test ! -s conftest.err'
62423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62424 (eval $ac_try) 2>&5
62425 ac_status=$?
62426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62427 (exit $ac_status); }; } &&
62428 { ac_try='test -s conftest$ac_exeext'
62429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62430 (eval $ac_try) 2>&5
62431 ac_status=$?
62432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62433 (exit $ac_status); }; }; then
62434 eval "$as_ac_var=yes"
62435 else
62436 echo "$as_me: failed program was:" >&5
62437 sed 's/^/| /' conftest.$ac_ext >&5
62439 eval "$as_ac_var=no"
62441 rm -f conftest.err conftest.$ac_objext \
62442 conftest$ac_exeext conftest.$ac_ext
62444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62446 if test `eval echo '${'$as_ac_var'}'` = yes; then
62447 cat >>confdefs.h <<_ACEOF
62448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62449 _ACEOF
62452 done
62454 else
62456 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62457 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62458 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62459 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62460 echo $ECHO_N "(cached) $ECHO_C" >&6
62461 else
62465 ac_ext=cc
62466 ac_cpp='$CXXCPP $CPPFLAGS'
62467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62471 cat >conftest.$ac_ext <<_ACEOF
62472 /* confdefs.h. */
62473 _ACEOF
62474 cat confdefs.h >>conftest.$ac_ext
62475 cat >>conftest.$ac_ext <<_ACEOF
62476 /* end confdefs.h. */
62477 #include <math.h>
62478 #ifdef HAVE_IEEEFP_H
62479 #include <ieeefp.h>
62480 #endif
62483 main ()
62485 _sqrtf(0);
62487 return 0;
62489 _ACEOF
62490 rm -f conftest.$ac_objext
62491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62492 (eval $ac_compile) 2>conftest.er1
62493 ac_status=$?
62494 grep -v '^ *+' conftest.er1 >conftest.err
62495 rm -f conftest.er1
62496 cat conftest.err >&5
62497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62498 (exit $ac_status); } &&
62499 { ac_try='test -z "$ac_cxx_werror_flag"
62500 || test ! -s conftest.err'
62501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62502 (eval $ac_try) 2>&5
62503 ac_status=$?
62504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62505 (exit $ac_status); }; } &&
62506 { ac_try='test -s conftest.$ac_objext'
62507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62508 (eval $ac_try) 2>&5
62509 ac_status=$?
62510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62511 (exit $ac_status); }; }; then
62512 glibcxx_cv_func__sqrtf_use=yes
62513 else
62514 echo "$as_me: failed program was:" >&5
62515 sed 's/^/| /' conftest.$ac_ext >&5
62517 glibcxx_cv_func__sqrtf_use=no
62519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62520 ac_ext=c
62521 ac_cpp='$CPP $CPPFLAGS'
62522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62531 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62533 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62535 for ac_func in _sqrtf
62537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62538 echo "$as_me:$LINENO: checking for $ac_func" >&5
62539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62540 if eval "test \"\${$as_ac_var+set}\" = set"; then
62541 echo $ECHO_N "(cached) $ECHO_C" >&6
62542 else
62543 if test x$gcc_no_link = xyes; then
62544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62546 { (exit 1); exit 1; }; }
62548 cat >conftest.$ac_ext <<_ACEOF
62549 /* confdefs.h. */
62550 _ACEOF
62551 cat confdefs.h >>conftest.$ac_ext
62552 cat >>conftest.$ac_ext <<_ACEOF
62553 /* end confdefs.h. */
62554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62556 #define $ac_func innocuous_$ac_func
62558 /* System header to define __stub macros and hopefully few prototypes,
62559 which can conflict with char $ac_func (); below.
62560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62561 <limits.h> exists even on freestanding compilers. */
62563 #ifdef __STDC__
62564 # include <limits.h>
62565 #else
62566 # include <assert.h>
62567 #endif
62569 #undef $ac_func
62571 /* Override any gcc2 internal prototype to avoid an error. */
62572 #ifdef __cplusplus
62573 extern "C"
62575 #endif
62576 /* We use char because int might match the return type of a gcc2
62577 builtin and then its argument prototype would still apply. */
62578 char $ac_func ();
62579 /* The GNU C library defines this for functions which it implements
62580 to always fail with ENOSYS. Some functions are actually named
62581 something starting with __ and the normal name is an alias. */
62582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62583 choke me
62584 #else
62585 char (*f) () = $ac_func;
62586 #endif
62587 #ifdef __cplusplus
62589 #endif
62592 main ()
62594 return f != $ac_func;
62596 return 0;
62598 _ACEOF
62599 rm -f conftest.$ac_objext conftest$ac_exeext
62600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62601 (eval $ac_link) 2>conftest.er1
62602 ac_status=$?
62603 grep -v '^ *+' conftest.er1 >conftest.err
62604 rm -f conftest.er1
62605 cat conftest.err >&5
62606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62607 (exit $ac_status); } &&
62608 { ac_try='test -z "$ac_c_werror_flag"
62609 || test ! -s conftest.err'
62610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62611 (eval $ac_try) 2>&5
62612 ac_status=$?
62613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62614 (exit $ac_status); }; } &&
62615 { ac_try='test -s conftest$ac_exeext'
62616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62617 (eval $ac_try) 2>&5
62618 ac_status=$?
62619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62620 (exit $ac_status); }; }; then
62621 eval "$as_ac_var=yes"
62622 else
62623 echo "$as_me: failed program was:" >&5
62624 sed 's/^/| /' conftest.$ac_ext >&5
62626 eval "$as_ac_var=no"
62628 rm -f conftest.err conftest.$ac_objext \
62629 conftest$ac_exeext conftest.$ac_ext
62631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62633 if test `eval echo '${'$as_ac_var'}'` = yes; then
62634 cat >>confdefs.h <<_ACEOF
62635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62636 _ACEOF
62639 done
62649 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62650 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62651 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62652 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62653 echo $ECHO_N "(cached) $ECHO_C" >&6
62654 else
62658 ac_ext=cc
62659 ac_cpp='$CXXCPP $CPPFLAGS'
62660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62664 cat >conftest.$ac_ext <<_ACEOF
62665 /* confdefs.h. */
62666 _ACEOF
62667 cat confdefs.h >>conftest.$ac_ext
62668 cat >>conftest.$ac_ext <<_ACEOF
62669 /* end confdefs.h. */
62670 #include <math.h>
62672 main ()
62674 sincosf(0, 0, 0);
62676 return 0;
62678 _ACEOF
62679 rm -f conftest.$ac_objext
62680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62681 (eval $ac_compile) 2>conftest.er1
62682 ac_status=$?
62683 grep -v '^ *+' conftest.er1 >conftest.err
62684 rm -f conftest.er1
62685 cat conftest.err >&5
62686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62687 (exit $ac_status); } &&
62688 { ac_try='test -z "$ac_cxx_werror_flag"
62689 || test ! -s conftest.err'
62690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62691 (eval $ac_try) 2>&5
62692 ac_status=$?
62693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62694 (exit $ac_status); }; } &&
62695 { ac_try='test -s conftest.$ac_objext'
62696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62697 (eval $ac_try) 2>&5
62698 ac_status=$?
62699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62700 (exit $ac_status); }; }; then
62701 glibcxx_cv_func_sincosf_use=yes
62702 else
62703 echo "$as_me: failed program was:" >&5
62704 sed 's/^/| /' conftest.$ac_ext >&5
62706 glibcxx_cv_func_sincosf_use=no
62708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62709 ac_ext=c
62710 ac_cpp='$CPP $CPPFLAGS'
62711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62720 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62722 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62724 for ac_func in sincosf
62726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62727 echo "$as_me:$LINENO: checking for $ac_func" >&5
62728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62729 if eval "test \"\${$as_ac_var+set}\" = set"; then
62730 echo $ECHO_N "(cached) $ECHO_C" >&6
62731 else
62732 if test x$gcc_no_link = xyes; then
62733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62735 { (exit 1); exit 1; }; }
62737 cat >conftest.$ac_ext <<_ACEOF
62738 /* confdefs.h. */
62739 _ACEOF
62740 cat confdefs.h >>conftest.$ac_ext
62741 cat >>conftest.$ac_ext <<_ACEOF
62742 /* end confdefs.h. */
62743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62745 #define $ac_func innocuous_$ac_func
62747 /* System header to define __stub macros and hopefully few prototypes,
62748 which can conflict with char $ac_func (); below.
62749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62750 <limits.h> exists even on freestanding compilers. */
62752 #ifdef __STDC__
62753 # include <limits.h>
62754 #else
62755 # include <assert.h>
62756 #endif
62758 #undef $ac_func
62760 /* Override any gcc2 internal prototype to avoid an error. */
62761 #ifdef __cplusplus
62762 extern "C"
62764 #endif
62765 /* We use char because int might match the return type of a gcc2
62766 builtin and then its argument prototype would still apply. */
62767 char $ac_func ();
62768 /* The GNU C library defines this for functions which it implements
62769 to always fail with ENOSYS. Some functions are actually named
62770 something starting with __ and the normal name is an alias. */
62771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62772 choke me
62773 #else
62774 char (*f) () = $ac_func;
62775 #endif
62776 #ifdef __cplusplus
62778 #endif
62781 main ()
62783 return f != $ac_func;
62785 return 0;
62787 _ACEOF
62788 rm -f conftest.$ac_objext conftest$ac_exeext
62789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62790 (eval $ac_link) 2>conftest.er1
62791 ac_status=$?
62792 grep -v '^ *+' conftest.er1 >conftest.err
62793 rm -f conftest.er1
62794 cat conftest.err >&5
62795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62796 (exit $ac_status); } &&
62797 { ac_try='test -z "$ac_c_werror_flag"
62798 || test ! -s conftest.err'
62799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62800 (eval $ac_try) 2>&5
62801 ac_status=$?
62802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62803 (exit $ac_status); }; } &&
62804 { ac_try='test -s conftest$ac_exeext'
62805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62806 (eval $ac_try) 2>&5
62807 ac_status=$?
62808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62809 (exit $ac_status); }; }; then
62810 eval "$as_ac_var=yes"
62811 else
62812 echo "$as_me: failed program was:" >&5
62813 sed 's/^/| /' conftest.$ac_ext >&5
62815 eval "$as_ac_var=no"
62817 rm -f conftest.err conftest.$ac_objext \
62818 conftest$ac_exeext conftest.$ac_ext
62820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62822 if test `eval echo '${'$as_ac_var'}'` = yes; then
62823 cat >>confdefs.h <<_ACEOF
62824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62825 _ACEOF
62828 done
62830 else
62832 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62833 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62834 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62835 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62836 echo $ECHO_N "(cached) $ECHO_C" >&6
62837 else
62841 ac_ext=cc
62842 ac_cpp='$CXXCPP $CPPFLAGS'
62843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62847 cat >conftest.$ac_ext <<_ACEOF
62848 /* confdefs.h. */
62849 _ACEOF
62850 cat confdefs.h >>conftest.$ac_ext
62851 cat >>conftest.$ac_ext <<_ACEOF
62852 /* end confdefs.h. */
62853 #include <math.h>
62855 main ()
62857 _sincosf(0, 0, 0);
62859 return 0;
62861 _ACEOF
62862 rm -f conftest.$ac_objext
62863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62864 (eval $ac_compile) 2>conftest.er1
62865 ac_status=$?
62866 grep -v '^ *+' conftest.er1 >conftest.err
62867 rm -f conftest.er1
62868 cat conftest.err >&5
62869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62870 (exit $ac_status); } &&
62871 { ac_try='test -z "$ac_cxx_werror_flag"
62872 || test ! -s conftest.err'
62873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62874 (eval $ac_try) 2>&5
62875 ac_status=$?
62876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62877 (exit $ac_status); }; } &&
62878 { ac_try='test -s conftest.$ac_objext'
62879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62880 (eval $ac_try) 2>&5
62881 ac_status=$?
62882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62883 (exit $ac_status); }; }; then
62884 glibcxx_cv_func__sincosf_use=yes
62885 else
62886 echo "$as_me: failed program was:" >&5
62887 sed 's/^/| /' conftest.$ac_ext >&5
62889 glibcxx_cv_func__sincosf_use=no
62891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62892 ac_ext=c
62893 ac_cpp='$CPP $CPPFLAGS'
62894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62902 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62903 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62905 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62907 for ac_func in _sincosf
62909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62910 echo "$as_me:$LINENO: checking for $ac_func" >&5
62911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62912 if eval "test \"\${$as_ac_var+set}\" = set"; then
62913 echo $ECHO_N "(cached) $ECHO_C" >&6
62914 else
62915 if test x$gcc_no_link = xyes; then
62916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62918 { (exit 1); exit 1; }; }
62920 cat >conftest.$ac_ext <<_ACEOF
62921 /* confdefs.h. */
62922 _ACEOF
62923 cat confdefs.h >>conftest.$ac_ext
62924 cat >>conftest.$ac_ext <<_ACEOF
62925 /* end confdefs.h. */
62926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62928 #define $ac_func innocuous_$ac_func
62930 /* System header to define __stub macros and hopefully few prototypes,
62931 which can conflict with char $ac_func (); below.
62932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62933 <limits.h> exists even on freestanding compilers. */
62935 #ifdef __STDC__
62936 # include <limits.h>
62937 #else
62938 # include <assert.h>
62939 #endif
62941 #undef $ac_func
62943 /* Override any gcc2 internal prototype to avoid an error. */
62944 #ifdef __cplusplus
62945 extern "C"
62947 #endif
62948 /* We use char because int might match the return type of a gcc2
62949 builtin and then its argument prototype would still apply. */
62950 char $ac_func ();
62951 /* The GNU C library defines this for functions which it implements
62952 to always fail with ENOSYS. Some functions are actually named
62953 something starting with __ and the normal name is an alias. */
62954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62955 choke me
62956 #else
62957 char (*f) () = $ac_func;
62958 #endif
62959 #ifdef __cplusplus
62961 #endif
62964 main ()
62966 return f != $ac_func;
62968 return 0;
62970 _ACEOF
62971 rm -f conftest.$ac_objext conftest$ac_exeext
62972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62973 (eval $ac_link) 2>conftest.er1
62974 ac_status=$?
62975 grep -v '^ *+' conftest.er1 >conftest.err
62976 rm -f conftest.er1
62977 cat conftest.err >&5
62978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62979 (exit $ac_status); } &&
62980 { ac_try='test -z "$ac_c_werror_flag"
62981 || test ! -s conftest.err'
62982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62983 (eval $ac_try) 2>&5
62984 ac_status=$?
62985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62986 (exit $ac_status); }; } &&
62987 { ac_try='test -s conftest$ac_exeext'
62988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62989 (eval $ac_try) 2>&5
62990 ac_status=$?
62991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62992 (exit $ac_status); }; }; then
62993 eval "$as_ac_var=yes"
62994 else
62995 echo "$as_me: failed program was:" >&5
62996 sed 's/^/| /' conftest.$ac_ext >&5
62998 eval "$as_ac_var=no"
63000 rm -f conftest.err conftest.$ac_objext \
63001 conftest$ac_exeext conftest.$ac_ext
63003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63005 if test `eval echo '${'$as_ac_var'}'` = yes; then
63006 cat >>confdefs.h <<_ACEOF
63007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63008 _ACEOF
63011 done
63021 echo "$as_me:$LINENO: checking for finitef declaration" >&5
63022 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
63023 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63024 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
63025 echo $ECHO_N "(cached) $ECHO_C" >&6
63026 else
63030 ac_ext=cc
63031 ac_cpp='$CXXCPP $CPPFLAGS'
63032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63036 cat >conftest.$ac_ext <<_ACEOF
63037 /* confdefs.h. */
63038 _ACEOF
63039 cat confdefs.h >>conftest.$ac_ext
63040 cat >>conftest.$ac_ext <<_ACEOF
63041 /* end confdefs.h. */
63042 #include <math.h>
63043 #ifdef HAVE_IEEEFP_H
63044 #include <ieeefp.h>
63045 #endif
63048 main ()
63050 finitef(0);
63052 return 0;
63054 _ACEOF
63055 rm -f conftest.$ac_objext
63056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63057 (eval $ac_compile) 2>conftest.er1
63058 ac_status=$?
63059 grep -v '^ *+' conftest.er1 >conftest.err
63060 rm -f conftest.er1
63061 cat conftest.err >&5
63062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63063 (exit $ac_status); } &&
63064 { ac_try='test -z "$ac_cxx_werror_flag"
63065 || test ! -s conftest.err'
63066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63067 (eval $ac_try) 2>&5
63068 ac_status=$?
63069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63070 (exit $ac_status); }; } &&
63071 { ac_try='test -s conftest.$ac_objext'
63072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63073 (eval $ac_try) 2>&5
63074 ac_status=$?
63075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63076 (exit $ac_status); }; }; then
63077 glibcxx_cv_func_finitef_use=yes
63078 else
63079 echo "$as_me: failed program was:" >&5
63080 sed 's/^/| /' conftest.$ac_ext >&5
63082 glibcxx_cv_func_finitef_use=no
63084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63085 ac_ext=c
63086 ac_cpp='$CPP $CPPFLAGS'
63087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
63096 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
63098 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63100 for ac_func in finitef
63102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63103 echo "$as_me:$LINENO: checking for $ac_func" >&5
63104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63105 if eval "test \"\${$as_ac_var+set}\" = set"; then
63106 echo $ECHO_N "(cached) $ECHO_C" >&6
63107 else
63108 if test x$gcc_no_link = xyes; then
63109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63111 { (exit 1); exit 1; }; }
63113 cat >conftest.$ac_ext <<_ACEOF
63114 /* confdefs.h. */
63115 _ACEOF
63116 cat confdefs.h >>conftest.$ac_ext
63117 cat >>conftest.$ac_ext <<_ACEOF
63118 /* end confdefs.h. */
63119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63121 #define $ac_func innocuous_$ac_func
63123 /* System header to define __stub macros and hopefully few prototypes,
63124 which can conflict with char $ac_func (); below.
63125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63126 <limits.h> exists even on freestanding compilers. */
63128 #ifdef __STDC__
63129 # include <limits.h>
63130 #else
63131 # include <assert.h>
63132 #endif
63134 #undef $ac_func
63136 /* Override any gcc2 internal prototype to avoid an error. */
63137 #ifdef __cplusplus
63138 extern "C"
63140 #endif
63141 /* We use char because int might match the return type of a gcc2
63142 builtin and then its argument prototype would still apply. */
63143 char $ac_func ();
63144 /* The GNU C library defines this for functions which it implements
63145 to always fail with ENOSYS. Some functions are actually named
63146 something starting with __ and the normal name is an alias. */
63147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63148 choke me
63149 #else
63150 char (*f) () = $ac_func;
63151 #endif
63152 #ifdef __cplusplus
63154 #endif
63157 main ()
63159 return f != $ac_func;
63161 return 0;
63163 _ACEOF
63164 rm -f conftest.$ac_objext conftest$ac_exeext
63165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63166 (eval $ac_link) 2>conftest.er1
63167 ac_status=$?
63168 grep -v '^ *+' conftest.er1 >conftest.err
63169 rm -f conftest.er1
63170 cat conftest.err >&5
63171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63172 (exit $ac_status); } &&
63173 { ac_try='test -z "$ac_c_werror_flag"
63174 || test ! -s conftest.err'
63175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63176 (eval $ac_try) 2>&5
63177 ac_status=$?
63178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63179 (exit $ac_status); }; } &&
63180 { ac_try='test -s conftest$ac_exeext'
63181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63182 (eval $ac_try) 2>&5
63183 ac_status=$?
63184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63185 (exit $ac_status); }; }; then
63186 eval "$as_ac_var=yes"
63187 else
63188 echo "$as_me: failed program was:" >&5
63189 sed 's/^/| /' conftest.$ac_ext >&5
63191 eval "$as_ac_var=no"
63193 rm -f conftest.err conftest.$ac_objext \
63194 conftest$ac_exeext conftest.$ac_ext
63196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63198 if test `eval echo '${'$as_ac_var'}'` = yes; then
63199 cat >>confdefs.h <<_ACEOF
63200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63201 _ACEOF
63204 done
63206 else
63208 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
63209 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
63210 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63211 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
63212 echo $ECHO_N "(cached) $ECHO_C" >&6
63213 else
63217 ac_ext=cc
63218 ac_cpp='$CXXCPP $CPPFLAGS'
63219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63223 cat >conftest.$ac_ext <<_ACEOF
63224 /* confdefs.h. */
63225 _ACEOF
63226 cat confdefs.h >>conftest.$ac_ext
63227 cat >>conftest.$ac_ext <<_ACEOF
63228 /* end confdefs.h. */
63229 #include <math.h>
63230 #ifdef HAVE_IEEEFP_H
63231 #include <ieeefp.h>
63232 #endif
63235 main ()
63237 _finitef(0);
63239 return 0;
63241 _ACEOF
63242 rm -f conftest.$ac_objext
63243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63244 (eval $ac_compile) 2>conftest.er1
63245 ac_status=$?
63246 grep -v '^ *+' conftest.er1 >conftest.err
63247 rm -f conftest.er1
63248 cat conftest.err >&5
63249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63250 (exit $ac_status); } &&
63251 { ac_try='test -z "$ac_cxx_werror_flag"
63252 || test ! -s conftest.err'
63253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63254 (eval $ac_try) 2>&5
63255 ac_status=$?
63256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63257 (exit $ac_status); }; } &&
63258 { ac_try='test -s conftest.$ac_objext'
63259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63260 (eval $ac_try) 2>&5
63261 ac_status=$?
63262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63263 (exit $ac_status); }; }; then
63264 glibcxx_cv_func__finitef_use=yes
63265 else
63266 echo "$as_me: failed program was:" >&5
63267 sed 's/^/| /' conftest.$ac_ext >&5
63269 glibcxx_cv_func__finitef_use=no
63271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63272 ac_ext=c
63273 ac_cpp='$CPP $CPPFLAGS'
63274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63282 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63283 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63285 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63287 for ac_func in _finitef
63289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63290 echo "$as_me:$LINENO: checking for $ac_func" >&5
63291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63292 if eval "test \"\${$as_ac_var+set}\" = set"; then
63293 echo $ECHO_N "(cached) $ECHO_C" >&6
63294 else
63295 if test x$gcc_no_link = xyes; then
63296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63298 { (exit 1); exit 1; }; }
63300 cat >conftest.$ac_ext <<_ACEOF
63301 /* confdefs.h. */
63302 _ACEOF
63303 cat confdefs.h >>conftest.$ac_ext
63304 cat >>conftest.$ac_ext <<_ACEOF
63305 /* end confdefs.h. */
63306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63308 #define $ac_func innocuous_$ac_func
63310 /* System header to define __stub macros and hopefully few prototypes,
63311 which can conflict with char $ac_func (); below.
63312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63313 <limits.h> exists even on freestanding compilers. */
63315 #ifdef __STDC__
63316 # include <limits.h>
63317 #else
63318 # include <assert.h>
63319 #endif
63321 #undef $ac_func
63323 /* Override any gcc2 internal prototype to avoid an error. */
63324 #ifdef __cplusplus
63325 extern "C"
63327 #endif
63328 /* We use char because int might match the return type of a gcc2
63329 builtin and then its argument prototype would still apply. */
63330 char $ac_func ();
63331 /* The GNU C library defines this for functions which it implements
63332 to always fail with ENOSYS. Some functions are actually named
63333 something starting with __ and the normal name is an alias. */
63334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63335 choke me
63336 #else
63337 char (*f) () = $ac_func;
63338 #endif
63339 #ifdef __cplusplus
63341 #endif
63344 main ()
63346 return f != $ac_func;
63348 return 0;
63350 _ACEOF
63351 rm -f conftest.$ac_objext conftest$ac_exeext
63352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63353 (eval $ac_link) 2>conftest.er1
63354 ac_status=$?
63355 grep -v '^ *+' conftest.er1 >conftest.err
63356 rm -f conftest.er1
63357 cat conftest.err >&5
63358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63359 (exit $ac_status); } &&
63360 { ac_try='test -z "$ac_c_werror_flag"
63361 || test ! -s conftest.err'
63362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63363 (eval $ac_try) 2>&5
63364 ac_status=$?
63365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63366 (exit $ac_status); }; } &&
63367 { ac_try='test -s conftest$ac_exeext'
63368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63369 (eval $ac_try) 2>&5
63370 ac_status=$?
63371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63372 (exit $ac_status); }; }; then
63373 eval "$as_ac_var=yes"
63374 else
63375 echo "$as_me: failed program was:" >&5
63376 sed 's/^/| /' conftest.$ac_ext >&5
63378 eval "$as_ac_var=no"
63380 rm -f conftest.err conftest.$ac_objext \
63381 conftest$ac_exeext conftest.$ac_ext
63383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63385 if test `eval echo '${'$as_ac_var'}'` = yes; then
63386 cat >>confdefs.h <<_ACEOF
63387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63388 _ACEOF
63391 done
63401 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63402 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63403 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63404 echo $ECHO_N "(cached) $ECHO_C" >&6
63405 else
63409 ac_ext=cc
63410 ac_cpp='$CXXCPP $CPPFLAGS'
63411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63415 cat >conftest.$ac_ext <<_ACEOF
63416 /* confdefs.h. */
63417 _ACEOF
63418 cat confdefs.h >>conftest.$ac_ext
63419 cat >>conftest.$ac_ext <<_ACEOF
63420 /* end confdefs.h. */
63421 #include <math.h>
63423 main ()
63425 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63427 return 0;
63429 _ACEOF
63430 rm -f conftest.$ac_objext
63431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63432 (eval $ac_compile) 2>conftest.er1
63433 ac_status=$?
63434 grep -v '^ *+' conftest.er1 >conftest.err
63435 rm -f conftest.er1
63436 cat conftest.err >&5
63437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63438 (exit $ac_status); } &&
63439 { ac_try='test -z "$ac_cxx_werror_flag"
63440 || test ! -s conftest.err'
63441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63442 (eval $ac_try) 2>&5
63443 ac_status=$?
63444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63445 (exit $ac_status); }; } &&
63446 { ac_try='test -s conftest.$ac_objext'
63447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63448 (eval $ac_try) 2>&5
63449 ac_status=$?
63450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63451 (exit $ac_status); }; }; then
63452 glibcxx_cv_func_long_double_trig_use=yes
63453 else
63454 echo "$as_me: failed program was:" >&5
63455 sed 's/^/| /' conftest.$ac_ext >&5
63457 glibcxx_cv_func_long_double_trig_use=no
63459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63460 ac_ext=c
63461 ac_cpp='$CPP $CPPFLAGS'
63462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63468 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63469 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63470 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63480 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63483 echo "$as_me:$LINENO: checking for $ac_func" >&5
63484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63485 if eval "test \"\${$as_ac_var+set}\" = set"; then
63486 echo $ECHO_N "(cached) $ECHO_C" >&6
63487 else
63488 if test x$gcc_no_link = xyes; then
63489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63491 { (exit 1); exit 1; }; }
63493 cat >conftest.$ac_ext <<_ACEOF
63494 /* confdefs.h. */
63495 _ACEOF
63496 cat confdefs.h >>conftest.$ac_ext
63497 cat >>conftest.$ac_ext <<_ACEOF
63498 /* end confdefs.h. */
63499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63501 #define $ac_func innocuous_$ac_func
63503 /* System header to define __stub macros and hopefully few prototypes,
63504 which can conflict with char $ac_func (); below.
63505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63506 <limits.h> exists even on freestanding compilers. */
63508 #ifdef __STDC__
63509 # include <limits.h>
63510 #else
63511 # include <assert.h>
63512 #endif
63514 #undef $ac_func
63516 /* Override any gcc2 internal prototype to avoid an error. */
63517 #ifdef __cplusplus
63518 extern "C"
63520 #endif
63521 /* We use char because int might match the return type of a gcc2
63522 builtin and then its argument prototype would still apply. */
63523 char $ac_func ();
63524 /* The GNU C library defines this for functions which it implements
63525 to always fail with ENOSYS. Some functions are actually named
63526 something starting with __ and the normal name is an alias. */
63527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63528 choke me
63529 #else
63530 char (*f) () = $ac_func;
63531 #endif
63532 #ifdef __cplusplus
63534 #endif
63537 main ()
63539 return f != $ac_func;
63541 return 0;
63543 _ACEOF
63544 rm -f conftest.$ac_objext conftest$ac_exeext
63545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63546 (eval $ac_link) 2>conftest.er1
63547 ac_status=$?
63548 grep -v '^ *+' conftest.er1 >conftest.err
63549 rm -f conftest.er1
63550 cat conftest.err >&5
63551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63552 (exit $ac_status); } &&
63553 { ac_try='test -z "$ac_c_werror_flag"
63554 || test ! -s conftest.err'
63555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63556 (eval $ac_try) 2>&5
63557 ac_status=$?
63558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63559 (exit $ac_status); }; } &&
63560 { ac_try='test -s conftest$ac_exeext'
63561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63562 (eval $ac_try) 2>&5
63563 ac_status=$?
63564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63565 (exit $ac_status); }; }; then
63566 eval "$as_ac_var=yes"
63567 else
63568 echo "$as_me: failed program was:" >&5
63569 sed 's/^/| /' conftest.$ac_ext >&5
63571 eval "$as_ac_var=no"
63573 rm -f conftest.err conftest.$ac_objext \
63574 conftest$ac_exeext conftest.$ac_ext
63576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63578 if test `eval echo '${'$as_ac_var'}'` = yes; then
63579 cat >>confdefs.h <<_ACEOF
63580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63581 _ACEOF
63584 done
63586 else
63587 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
63588 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
63589 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
63590 echo $ECHO_N "(cached) $ECHO_C" >&6
63591 else
63595 ac_ext=cc
63596 ac_cpp='$CXXCPP $CPPFLAGS'
63597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63601 cat >conftest.$ac_ext <<_ACEOF
63602 /* confdefs.h. */
63603 _ACEOF
63604 cat confdefs.h >>conftest.$ac_ext
63605 cat >>conftest.$ac_ext <<_ACEOF
63606 /* end confdefs.h. */
63607 #include <math.h>
63609 main ()
63611 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63613 return 0;
63615 _ACEOF
63616 rm -f conftest.$ac_objext
63617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63618 (eval $ac_compile) 2>conftest.er1
63619 ac_status=$?
63620 grep -v '^ *+' conftest.er1 >conftest.err
63621 rm -f conftest.er1
63622 cat conftest.err >&5
63623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63624 (exit $ac_status); } &&
63625 { ac_try='test -z "$ac_cxx_werror_flag"
63626 || test ! -s conftest.err'
63627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63628 (eval $ac_try) 2>&5
63629 ac_status=$?
63630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63631 (exit $ac_status); }; } &&
63632 { ac_try='test -s conftest.$ac_objext'
63633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63634 (eval $ac_try) 2>&5
63635 ac_status=$?
63636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63637 (exit $ac_status); }; }; then
63638 glibcxx_cv_func__long_double_trig_use=yes
63639 else
63640 echo "$as_me: failed program was:" >&5
63641 sed 's/^/| /' conftest.$ac_ext >&5
63643 glibcxx_cv_func__long_double_trig_use=no
63645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63646 ac_ext=c
63647 ac_cpp='$CPP $CPPFLAGS'
63648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63654 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
63655 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
63656 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63666 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63669 echo "$as_me:$LINENO: checking for $ac_func" >&5
63670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63671 if eval "test \"\${$as_ac_var+set}\" = set"; then
63672 echo $ECHO_N "(cached) $ECHO_C" >&6
63673 else
63674 if test x$gcc_no_link = xyes; then
63675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63677 { (exit 1); exit 1; }; }
63679 cat >conftest.$ac_ext <<_ACEOF
63680 /* confdefs.h. */
63681 _ACEOF
63682 cat confdefs.h >>conftest.$ac_ext
63683 cat >>conftest.$ac_ext <<_ACEOF
63684 /* end confdefs.h. */
63685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63687 #define $ac_func innocuous_$ac_func
63689 /* System header to define __stub macros and hopefully few prototypes,
63690 which can conflict with char $ac_func (); below.
63691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63692 <limits.h> exists even on freestanding compilers. */
63694 #ifdef __STDC__
63695 # include <limits.h>
63696 #else
63697 # include <assert.h>
63698 #endif
63700 #undef $ac_func
63702 /* Override any gcc2 internal prototype to avoid an error. */
63703 #ifdef __cplusplus
63704 extern "C"
63706 #endif
63707 /* We use char because int might match the return type of a gcc2
63708 builtin and then its argument prototype would still apply. */
63709 char $ac_func ();
63710 /* The GNU C library defines this for functions which it implements
63711 to always fail with ENOSYS. Some functions are actually named
63712 something starting with __ and the normal name is an alias. */
63713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63714 choke me
63715 #else
63716 char (*f) () = $ac_func;
63717 #endif
63718 #ifdef __cplusplus
63720 #endif
63723 main ()
63725 return f != $ac_func;
63727 return 0;
63729 _ACEOF
63730 rm -f conftest.$ac_objext conftest$ac_exeext
63731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63732 (eval $ac_link) 2>conftest.er1
63733 ac_status=$?
63734 grep -v '^ *+' conftest.er1 >conftest.err
63735 rm -f conftest.er1
63736 cat conftest.err >&5
63737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63738 (exit $ac_status); } &&
63739 { ac_try='test -z "$ac_c_werror_flag"
63740 || test ! -s conftest.err'
63741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63742 (eval $ac_try) 2>&5
63743 ac_status=$?
63744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63745 (exit $ac_status); }; } &&
63746 { ac_try='test -s conftest$ac_exeext'
63747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63748 (eval $ac_try) 2>&5
63749 ac_status=$?
63750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63751 (exit $ac_status); }; }; then
63752 eval "$as_ac_var=yes"
63753 else
63754 echo "$as_me: failed program was:" >&5
63755 sed 's/^/| /' conftest.$ac_ext >&5
63757 eval "$as_ac_var=no"
63759 rm -f conftest.err conftest.$ac_objext \
63760 conftest$ac_exeext conftest.$ac_ext
63762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63764 if test `eval echo '${'$as_ac_var'}'` = yes; then
63765 cat >>confdefs.h <<_ACEOF
63766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63767 _ACEOF
63770 done
63788 echo "$as_me:$LINENO: checking for long double round functions" >&5
63789 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63790 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63791 echo $ECHO_N "(cached) $ECHO_C" >&6
63792 else
63796 ac_ext=cc
63797 ac_cpp='$CXXCPP $CPPFLAGS'
63798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63802 cat >conftest.$ac_ext <<_ACEOF
63803 /* confdefs.h. */
63804 _ACEOF
63805 cat confdefs.h >>conftest.$ac_ext
63806 cat >>conftest.$ac_ext <<_ACEOF
63807 /* end confdefs.h. */
63808 #include <math.h>
63810 main ()
63812 ceill (0); floorl (0);
63814 return 0;
63816 _ACEOF
63817 rm -f conftest.$ac_objext
63818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63819 (eval $ac_compile) 2>conftest.er1
63820 ac_status=$?
63821 grep -v '^ *+' conftest.er1 >conftest.err
63822 rm -f conftest.er1
63823 cat conftest.err >&5
63824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63825 (exit $ac_status); } &&
63826 { ac_try='test -z "$ac_cxx_werror_flag"
63827 || test ! -s conftest.err'
63828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63829 (eval $ac_try) 2>&5
63830 ac_status=$?
63831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63832 (exit $ac_status); }; } &&
63833 { ac_try='test -s conftest.$ac_objext'
63834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63835 (eval $ac_try) 2>&5
63836 ac_status=$?
63837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63838 (exit $ac_status); }; }; then
63839 glibcxx_cv_func_long_double_round_use=yes
63840 else
63841 echo "$as_me: failed program was:" >&5
63842 sed 's/^/| /' conftest.$ac_ext >&5
63844 glibcxx_cv_func_long_double_round_use=no
63846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63847 ac_ext=c
63848 ac_cpp='$CPP $CPPFLAGS'
63849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63855 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63856 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63857 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63860 for ac_func in ceill floorl
63862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63863 echo "$as_me:$LINENO: checking for $ac_func" >&5
63864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63865 if eval "test \"\${$as_ac_var+set}\" = set"; then
63866 echo $ECHO_N "(cached) $ECHO_C" >&6
63867 else
63868 if test x$gcc_no_link = xyes; then
63869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63871 { (exit 1); exit 1; }; }
63873 cat >conftest.$ac_ext <<_ACEOF
63874 /* confdefs.h. */
63875 _ACEOF
63876 cat confdefs.h >>conftest.$ac_ext
63877 cat >>conftest.$ac_ext <<_ACEOF
63878 /* end confdefs.h. */
63879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63881 #define $ac_func innocuous_$ac_func
63883 /* System header to define __stub macros and hopefully few prototypes,
63884 which can conflict with char $ac_func (); below.
63885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63886 <limits.h> exists even on freestanding compilers. */
63888 #ifdef __STDC__
63889 # include <limits.h>
63890 #else
63891 # include <assert.h>
63892 #endif
63894 #undef $ac_func
63896 /* Override any gcc2 internal prototype to avoid an error. */
63897 #ifdef __cplusplus
63898 extern "C"
63900 #endif
63901 /* We use char because int might match the return type of a gcc2
63902 builtin and then its argument prototype would still apply. */
63903 char $ac_func ();
63904 /* The GNU C library defines this for functions which it implements
63905 to always fail with ENOSYS. Some functions are actually named
63906 something starting with __ and the normal name is an alias. */
63907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63908 choke me
63909 #else
63910 char (*f) () = $ac_func;
63911 #endif
63912 #ifdef __cplusplus
63914 #endif
63917 main ()
63919 return f != $ac_func;
63921 return 0;
63923 _ACEOF
63924 rm -f conftest.$ac_objext conftest$ac_exeext
63925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63926 (eval $ac_link) 2>conftest.er1
63927 ac_status=$?
63928 grep -v '^ *+' conftest.er1 >conftest.err
63929 rm -f conftest.er1
63930 cat conftest.err >&5
63931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63932 (exit $ac_status); } &&
63933 { ac_try='test -z "$ac_c_werror_flag"
63934 || test ! -s conftest.err'
63935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63936 (eval $ac_try) 2>&5
63937 ac_status=$?
63938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63939 (exit $ac_status); }; } &&
63940 { ac_try='test -s conftest$ac_exeext'
63941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63942 (eval $ac_try) 2>&5
63943 ac_status=$?
63944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63945 (exit $ac_status); }; }; then
63946 eval "$as_ac_var=yes"
63947 else
63948 echo "$as_me: failed program was:" >&5
63949 sed 's/^/| /' conftest.$ac_ext >&5
63951 eval "$as_ac_var=no"
63953 rm -f conftest.err conftest.$ac_objext \
63954 conftest$ac_exeext conftest.$ac_ext
63956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63958 if test `eval echo '${'$as_ac_var'}'` = yes; then
63959 cat >>confdefs.h <<_ACEOF
63960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63961 _ACEOF
63964 done
63966 else
63967 echo "$as_me:$LINENO: checking for _long double round functions" >&5
63968 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
63969 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
63970 echo $ECHO_N "(cached) $ECHO_C" >&6
63971 else
63975 ac_ext=cc
63976 ac_cpp='$CXXCPP $CPPFLAGS'
63977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63981 cat >conftest.$ac_ext <<_ACEOF
63982 /* confdefs.h. */
63983 _ACEOF
63984 cat confdefs.h >>conftest.$ac_ext
63985 cat >>conftest.$ac_ext <<_ACEOF
63986 /* end confdefs.h. */
63987 #include <math.h>
63989 main ()
63991 _ceill (0); _floorl (0);
63993 return 0;
63995 _ACEOF
63996 rm -f conftest.$ac_objext
63997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63998 (eval $ac_compile) 2>conftest.er1
63999 ac_status=$?
64000 grep -v '^ *+' conftest.er1 >conftest.err
64001 rm -f conftest.er1
64002 cat conftest.err >&5
64003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64004 (exit $ac_status); } &&
64005 { ac_try='test -z "$ac_cxx_werror_flag"
64006 || test ! -s conftest.err'
64007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64008 (eval $ac_try) 2>&5
64009 ac_status=$?
64010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64011 (exit $ac_status); }; } &&
64012 { ac_try='test -s conftest.$ac_objext'
64013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64014 (eval $ac_try) 2>&5
64015 ac_status=$?
64016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64017 (exit $ac_status); }; }; then
64018 glibcxx_cv_func__long_double_round_use=yes
64019 else
64020 echo "$as_me: failed program was:" >&5
64021 sed 's/^/| /' conftest.$ac_ext >&5
64023 glibcxx_cv_func__long_double_round_use=no
64025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64026 ac_ext=c
64027 ac_cpp='$CPP $CPPFLAGS'
64028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64034 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
64035 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
64036 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64039 for ac_func in _ceill _floorl
64041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64042 echo "$as_me:$LINENO: checking for $ac_func" >&5
64043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64044 if eval "test \"\${$as_ac_var+set}\" = set"; then
64045 echo $ECHO_N "(cached) $ECHO_C" >&6
64046 else
64047 if test x$gcc_no_link = xyes; then
64048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64050 { (exit 1); exit 1; }; }
64052 cat >conftest.$ac_ext <<_ACEOF
64053 /* confdefs.h. */
64054 _ACEOF
64055 cat confdefs.h >>conftest.$ac_ext
64056 cat >>conftest.$ac_ext <<_ACEOF
64057 /* end confdefs.h. */
64058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64060 #define $ac_func innocuous_$ac_func
64062 /* System header to define __stub macros and hopefully few prototypes,
64063 which can conflict with char $ac_func (); below.
64064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64065 <limits.h> exists even on freestanding compilers. */
64067 #ifdef __STDC__
64068 # include <limits.h>
64069 #else
64070 # include <assert.h>
64071 #endif
64073 #undef $ac_func
64075 /* Override any gcc2 internal prototype to avoid an error. */
64076 #ifdef __cplusplus
64077 extern "C"
64079 #endif
64080 /* We use char because int might match the return type of a gcc2
64081 builtin and then its argument prototype would still apply. */
64082 char $ac_func ();
64083 /* The GNU C library defines this for functions which it implements
64084 to always fail with ENOSYS. Some functions are actually named
64085 something starting with __ and the normal name is an alias. */
64086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64087 choke me
64088 #else
64089 char (*f) () = $ac_func;
64090 #endif
64091 #ifdef __cplusplus
64093 #endif
64096 main ()
64098 return f != $ac_func;
64100 return 0;
64102 _ACEOF
64103 rm -f conftest.$ac_objext conftest$ac_exeext
64104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64105 (eval $ac_link) 2>conftest.er1
64106 ac_status=$?
64107 grep -v '^ *+' conftest.er1 >conftest.err
64108 rm -f conftest.er1
64109 cat conftest.err >&5
64110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64111 (exit $ac_status); } &&
64112 { ac_try='test -z "$ac_c_werror_flag"
64113 || test ! -s conftest.err'
64114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64115 (eval $ac_try) 2>&5
64116 ac_status=$?
64117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64118 (exit $ac_status); }; } &&
64119 { ac_try='test -s conftest$ac_exeext'
64120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64121 (eval $ac_try) 2>&5
64122 ac_status=$?
64123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64124 (exit $ac_status); }; }; then
64125 eval "$as_ac_var=yes"
64126 else
64127 echo "$as_me: failed program was:" >&5
64128 sed 's/^/| /' conftest.$ac_ext >&5
64130 eval "$as_ac_var=no"
64132 rm -f conftest.err conftest.$ac_objext \
64133 conftest$ac_exeext conftest.$ac_ext
64135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64137 if test `eval echo '${'$as_ac_var'}'` = yes; then
64138 cat >>confdefs.h <<_ACEOF
64139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64140 _ACEOF
64143 done
64155 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
64156 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
64157 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64158 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
64159 echo $ECHO_N "(cached) $ECHO_C" >&6
64160 else
64164 ac_ext=cc
64165 ac_cpp='$CXXCPP $CPPFLAGS'
64166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64170 cat >conftest.$ac_ext <<_ACEOF
64171 /* confdefs.h. */
64172 _ACEOF
64173 cat confdefs.h >>conftest.$ac_ext
64174 cat >>conftest.$ac_ext <<_ACEOF
64175 /* end confdefs.h. */
64176 #include <math.h>
64177 #ifdef HAVE_IEEEFP_H
64178 #include <ieeefp.h>
64179 #endif
64182 main ()
64184 isnanl(0);
64186 return 0;
64188 _ACEOF
64189 rm -f conftest.$ac_objext
64190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64191 (eval $ac_compile) 2>conftest.er1
64192 ac_status=$?
64193 grep -v '^ *+' conftest.er1 >conftest.err
64194 rm -f conftest.er1
64195 cat conftest.err >&5
64196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64197 (exit $ac_status); } &&
64198 { ac_try='test -z "$ac_cxx_werror_flag"
64199 || test ! -s conftest.err'
64200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64201 (eval $ac_try) 2>&5
64202 ac_status=$?
64203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64204 (exit $ac_status); }; } &&
64205 { ac_try='test -s conftest.$ac_objext'
64206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64207 (eval $ac_try) 2>&5
64208 ac_status=$?
64209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64210 (exit $ac_status); }; }; then
64211 glibcxx_cv_func_isnanl_use=yes
64212 else
64213 echo "$as_me: failed program was:" >&5
64214 sed 's/^/| /' conftest.$ac_ext >&5
64216 glibcxx_cv_func_isnanl_use=no
64218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64219 ac_ext=c
64220 ac_cpp='$CPP $CPPFLAGS'
64221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64229 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
64230 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
64232 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64234 for ac_func in isnanl
64236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64237 echo "$as_me:$LINENO: checking for $ac_func" >&5
64238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64239 if eval "test \"\${$as_ac_var+set}\" = set"; then
64240 echo $ECHO_N "(cached) $ECHO_C" >&6
64241 else
64242 if test x$gcc_no_link = xyes; then
64243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64245 { (exit 1); exit 1; }; }
64247 cat >conftest.$ac_ext <<_ACEOF
64248 /* confdefs.h. */
64249 _ACEOF
64250 cat confdefs.h >>conftest.$ac_ext
64251 cat >>conftest.$ac_ext <<_ACEOF
64252 /* end confdefs.h. */
64253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64255 #define $ac_func innocuous_$ac_func
64257 /* System header to define __stub macros and hopefully few prototypes,
64258 which can conflict with char $ac_func (); below.
64259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64260 <limits.h> exists even on freestanding compilers. */
64262 #ifdef __STDC__
64263 # include <limits.h>
64264 #else
64265 # include <assert.h>
64266 #endif
64268 #undef $ac_func
64270 /* Override any gcc2 internal prototype to avoid an error. */
64271 #ifdef __cplusplus
64272 extern "C"
64274 #endif
64275 /* We use char because int might match the return type of a gcc2
64276 builtin and then its argument prototype would still apply. */
64277 char $ac_func ();
64278 /* The GNU C library defines this for functions which it implements
64279 to always fail with ENOSYS. Some functions are actually named
64280 something starting with __ and the normal name is an alias. */
64281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64282 choke me
64283 #else
64284 char (*f) () = $ac_func;
64285 #endif
64286 #ifdef __cplusplus
64288 #endif
64291 main ()
64293 return f != $ac_func;
64295 return 0;
64297 _ACEOF
64298 rm -f conftest.$ac_objext conftest$ac_exeext
64299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64300 (eval $ac_link) 2>conftest.er1
64301 ac_status=$?
64302 grep -v '^ *+' conftest.er1 >conftest.err
64303 rm -f conftest.er1
64304 cat conftest.err >&5
64305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64306 (exit $ac_status); } &&
64307 { ac_try='test -z "$ac_c_werror_flag"
64308 || test ! -s conftest.err'
64309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64310 (eval $ac_try) 2>&5
64311 ac_status=$?
64312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64313 (exit $ac_status); }; } &&
64314 { ac_try='test -s conftest$ac_exeext'
64315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64316 (eval $ac_try) 2>&5
64317 ac_status=$?
64318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64319 (exit $ac_status); }; }; then
64320 eval "$as_ac_var=yes"
64321 else
64322 echo "$as_me: failed program was:" >&5
64323 sed 's/^/| /' conftest.$ac_ext >&5
64325 eval "$as_ac_var=no"
64327 rm -f conftest.err conftest.$ac_objext \
64328 conftest$ac_exeext conftest.$ac_ext
64330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64332 if test `eval echo '${'$as_ac_var'}'` = yes; then
64333 cat >>confdefs.h <<_ACEOF
64334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64335 _ACEOF
64338 done
64340 else
64342 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64343 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64344 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64345 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64346 echo $ECHO_N "(cached) $ECHO_C" >&6
64347 else
64351 ac_ext=cc
64352 ac_cpp='$CXXCPP $CPPFLAGS'
64353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64357 cat >conftest.$ac_ext <<_ACEOF
64358 /* confdefs.h. */
64359 _ACEOF
64360 cat confdefs.h >>conftest.$ac_ext
64361 cat >>conftest.$ac_ext <<_ACEOF
64362 /* end confdefs.h. */
64363 #include <math.h>
64364 #ifdef HAVE_IEEEFP_H
64365 #include <ieeefp.h>
64366 #endif
64369 main ()
64371 _isnanl(0);
64373 return 0;
64375 _ACEOF
64376 rm -f conftest.$ac_objext
64377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64378 (eval $ac_compile) 2>conftest.er1
64379 ac_status=$?
64380 grep -v '^ *+' conftest.er1 >conftest.err
64381 rm -f conftest.er1
64382 cat conftest.err >&5
64383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64384 (exit $ac_status); } &&
64385 { ac_try='test -z "$ac_cxx_werror_flag"
64386 || test ! -s conftest.err'
64387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64388 (eval $ac_try) 2>&5
64389 ac_status=$?
64390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64391 (exit $ac_status); }; } &&
64392 { ac_try='test -s conftest.$ac_objext'
64393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64394 (eval $ac_try) 2>&5
64395 ac_status=$?
64396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64397 (exit $ac_status); }; }; then
64398 glibcxx_cv_func__isnanl_use=yes
64399 else
64400 echo "$as_me: failed program was:" >&5
64401 sed 's/^/| /' conftest.$ac_ext >&5
64403 glibcxx_cv_func__isnanl_use=no
64405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64406 ac_ext=c
64407 ac_cpp='$CPP $CPPFLAGS'
64408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64417 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64419 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64421 for ac_func in _isnanl
64423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64424 echo "$as_me:$LINENO: checking for $ac_func" >&5
64425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64426 if eval "test \"\${$as_ac_var+set}\" = set"; then
64427 echo $ECHO_N "(cached) $ECHO_C" >&6
64428 else
64429 if test x$gcc_no_link = xyes; then
64430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64432 { (exit 1); exit 1; }; }
64434 cat >conftest.$ac_ext <<_ACEOF
64435 /* confdefs.h. */
64436 _ACEOF
64437 cat confdefs.h >>conftest.$ac_ext
64438 cat >>conftest.$ac_ext <<_ACEOF
64439 /* end confdefs.h. */
64440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64442 #define $ac_func innocuous_$ac_func
64444 /* System header to define __stub macros and hopefully few prototypes,
64445 which can conflict with char $ac_func (); below.
64446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64447 <limits.h> exists even on freestanding compilers. */
64449 #ifdef __STDC__
64450 # include <limits.h>
64451 #else
64452 # include <assert.h>
64453 #endif
64455 #undef $ac_func
64457 /* Override any gcc2 internal prototype to avoid an error. */
64458 #ifdef __cplusplus
64459 extern "C"
64461 #endif
64462 /* We use char because int might match the return type of a gcc2
64463 builtin and then its argument prototype would still apply. */
64464 char $ac_func ();
64465 /* The GNU C library defines this for functions which it implements
64466 to always fail with ENOSYS. Some functions are actually named
64467 something starting with __ and the normal name is an alias. */
64468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64469 choke me
64470 #else
64471 char (*f) () = $ac_func;
64472 #endif
64473 #ifdef __cplusplus
64475 #endif
64478 main ()
64480 return f != $ac_func;
64482 return 0;
64484 _ACEOF
64485 rm -f conftest.$ac_objext conftest$ac_exeext
64486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64487 (eval $ac_link) 2>conftest.er1
64488 ac_status=$?
64489 grep -v '^ *+' conftest.er1 >conftest.err
64490 rm -f conftest.er1
64491 cat conftest.err >&5
64492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64493 (exit $ac_status); } &&
64494 { ac_try='test -z "$ac_c_werror_flag"
64495 || test ! -s conftest.err'
64496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64497 (eval $ac_try) 2>&5
64498 ac_status=$?
64499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64500 (exit $ac_status); }; } &&
64501 { ac_try='test -s conftest$ac_exeext'
64502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64503 (eval $ac_try) 2>&5
64504 ac_status=$?
64505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64506 (exit $ac_status); }; }; then
64507 eval "$as_ac_var=yes"
64508 else
64509 echo "$as_me: failed program was:" >&5
64510 sed 's/^/| /' conftest.$ac_ext >&5
64512 eval "$as_ac_var=no"
64514 rm -f conftest.err conftest.$ac_objext \
64515 conftest$ac_exeext conftest.$ac_ext
64517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64519 if test `eval echo '${'$as_ac_var'}'` = yes; then
64520 cat >>confdefs.h <<_ACEOF
64521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64522 _ACEOF
64525 done
64535 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
64536 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
64537 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64538 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
64539 echo $ECHO_N "(cached) $ECHO_C" >&6
64540 else
64544 ac_ext=cc
64545 ac_cpp='$CXXCPP $CPPFLAGS'
64546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64550 cat >conftest.$ac_ext <<_ACEOF
64551 /* confdefs.h. */
64552 _ACEOF
64553 cat confdefs.h >>conftest.$ac_ext
64554 cat >>conftest.$ac_ext <<_ACEOF
64555 /* end confdefs.h. */
64556 #include <math.h>
64557 #ifdef HAVE_IEEEFP_H
64558 #include <ieeefp.h>
64559 #endif
64562 main ()
64564 isinfl(0);
64566 return 0;
64568 _ACEOF
64569 rm -f conftest.$ac_objext
64570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64571 (eval $ac_compile) 2>conftest.er1
64572 ac_status=$?
64573 grep -v '^ *+' conftest.er1 >conftest.err
64574 rm -f conftest.er1
64575 cat conftest.err >&5
64576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64577 (exit $ac_status); } &&
64578 { ac_try='test -z "$ac_cxx_werror_flag"
64579 || test ! -s conftest.err'
64580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64581 (eval $ac_try) 2>&5
64582 ac_status=$?
64583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64584 (exit $ac_status); }; } &&
64585 { ac_try='test -s conftest.$ac_objext'
64586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64587 (eval $ac_try) 2>&5
64588 ac_status=$?
64589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64590 (exit $ac_status); }; }; then
64591 glibcxx_cv_func_isinfl_use=yes
64592 else
64593 echo "$as_me: failed program was:" >&5
64594 sed 's/^/| /' conftest.$ac_ext >&5
64596 glibcxx_cv_func_isinfl_use=no
64598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64599 ac_ext=c
64600 ac_cpp='$CPP $CPPFLAGS'
64601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
64610 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
64612 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64614 for ac_func in isinfl
64616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64617 echo "$as_me:$LINENO: checking for $ac_func" >&5
64618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64619 if eval "test \"\${$as_ac_var+set}\" = set"; then
64620 echo $ECHO_N "(cached) $ECHO_C" >&6
64621 else
64622 if test x$gcc_no_link = xyes; then
64623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64625 { (exit 1); exit 1; }; }
64627 cat >conftest.$ac_ext <<_ACEOF
64628 /* confdefs.h. */
64629 _ACEOF
64630 cat confdefs.h >>conftest.$ac_ext
64631 cat >>conftest.$ac_ext <<_ACEOF
64632 /* end confdefs.h. */
64633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64635 #define $ac_func innocuous_$ac_func
64637 /* System header to define __stub macros and hopefully few prototypes,
64638 which can conflict with char $ac_func (); below.
64639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64640 <limits.h> exists even on freestanding compilers. */
64642 #ifdef __STDC__
64643 # include <limits.h>
64644 #else
64645 # include <assert.h>
64646 #endif
64648 #undef $ac_func
64650 /* Override any gcc2 internal prototype to avoid an error. */
64651 #ifdef __cplusplus
64652 extern "C"
64654 #endif
64655 /* We use char because int might match the return type of a gcc2
64656 builtin and then its argument prototype would still apply. */
64657 char $ac_func ();
64658 /* The GNU C library defines this for functions which it implements
64659 to always fail with ENOSYS. Some functions are actually named
64660 something starting with __ and the normal name is an alias. */
64661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64662 choke me
64663 #else
64664 char (*f) () = $ac_func;
64665 #endif
64666 #ifdef __cplusplus
64668 #endif
64671 main ()
64673 return f != $ac_func;
64675 return 0;
64677 _ACEOF
64678 rm -f conftest.$ac_objext conftest$ac_exeext
64679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64680 (eval $ac_link) 2>conftest.er1
64681 ac_status=$?
64682 grep -v '^ *+' conftest.er1 >conftest.err
64683 rm -f conftest.er1
64684 cat conftest.err >&5
64685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64686 (exit $ac_status); } &&
64687 { ac_try='test -z "$ac_c_werror_flag"
64688 || test ! -s conftest.err'
64689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64690 (eval $ac_try) 2>&5
64691 ac_status=$?
64692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64693 (exit $ac_status); }; } &&
64694 { ac_try='test -s conftest$ac_exeext'
64695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64696 (eval $ac_try) 2>&5
64697 ac_status=$?
64698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64699 (exit $ac_status); }; }; then
64700 eval "$as_ac_var=yes"
64701 else
64702 echo "$as_me: failed program was:" >&5
64703 sed 's/^/| /' conftest.$ac_ext >&5
64705 eval "$as_ac_var=no"
64707 rm -f conftest.err conftest.$ac_objext \
64708 conftest$ac_exeext conftest.$ac_ext
64710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64712 if test `eval echo '${'$as_ac_var'}'` = yes; then
64713 cat >>confdefs.h <<_ACEOF
64714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64715 _ACEOF
64718 done
64720 else
64722 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64723 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64724 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64725 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64726 echo $ECHO_N "(cached) $ECHO_C" >&6
64727 else
64731 ac_ext=cc
64732 ac_cpp='$CXXCPP $CPPFLAGS'
64733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64737 cat >conftest.$ac_ext <<_ACEOF
64738 /* confdefs.h. */
64739 _ACEOF
64740 cat confdefs.h >>conftest.$ac_ext
64741 cat >>conftest.$ac_ext <<_ACEOF
64742 /* end confdefs.h. */
64743 #include <math.h>
64744 #ifdef HAVE_IEEEFP_H
64745 #include <ieeefp.h>
64746 #endif
64749 main ()
64751 _isinfl(0);
64753 return 0;
64755 _ACEOF
64756 rm -f conftest.$ac_objext
64757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64758 (eval $ac_compile) 2>conftest.er1
64759 ac_status=$?
64760 grep -v '^ *+' conftest.er1 >conftest.err
64761 rm -f conftest.er1
64762 cat conftest.err >&5
64763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64764 (exit $ac_status); } &&
64765 { ac_try='test -z "$ac_cxx_werror_flag"
64766 || test ! -s conftest.err'
64767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64768 (eval $ac_try) 2>&5
64769 ac_status=$?
64770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64771 (exit $ac_status); }; } &&
64772 { ac_try='test -s conftest.$ac_objext'
64773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64774 (eval $ac_try) 2>&5
64775 ac_status=$?
64776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64777 (exit $ac_status); }; }; then
64778 glibcxx_cv_func__isinfl_use=yes
64779 else
64780 echo "$as_me: failed program was:" >&5
64781 sed 's/^/| /' conftest.$ac_ext >&5
64783 glibcxx_cv_func__isinfl_use=no
64785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64786 ac_ext=c
64787 ac_cpp='$CPP $CPPFLAGS'
64788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64796 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64797 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64799 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64801 for ac_func in _isinfl
64803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64804 echo "$as_me:$LINENO: checking for $ac_func" >&5
64805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64806 if eval "test \"\${$as_ac_var+set}\" = set"; then
64807 echo $ECHO_N "(cached) $ECHO_C" >&6
64808 else
64809 if test x$gcc_no_link = xyes; then
64810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64812 { (exit 1); exit 1; }; }
64814 cat >conftest.$ac_ext <<_ACEOF
64815 /* confdefs.h. */
64816 _ACEOF
64817 cat confdefs.h >>conftest.$ac_ext
64818 cat >>conftest.$ac_ext <<_ACEOF
64819 /* end confdefs.h. */
64820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64822 #define $ac_func innocuous_$ac_func
64824 /* System header to define __stub macros and hopefully few prototypes,
64825 which can conflict with char $ac_func (); below.
64826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64827 <limits.h> exists even on freestanding compilers. */
64829 #ifdef __STDC__
64830 # include <limits.h>
64831 #else
64832 # include <assert.h>
64833 #endif
64835 #undef $ac_func
64837 /* Override any gcc2 internal prototype to avoid an error. */
64838 #ifdef __cplusplus
64839 extern "C"
64841 #endif
64842 /* We use char because int might match the return type of a gcc2
64843 builtin and then its argument prototype would still apply. */
64844 char $ac_func ();
64845 /* The GNU C library defines this for functions which it implements
64846 to always fail with ENOSYS. Some functions are actually named
64847 something starting with __ and the normal name is an alias. */
64848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64849 choke me
64850 #else
64851 char (*f) () = $ac_func;
64852 #endif
64853 #ifdef __cplusplus
64855 #endif
64858 main ()
64860 return f != $ac_func;
64862 return 0;
64864 _ACEOF
64865 rm -f conftest.$ac_objext conftest$ac_exeext
64866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64867 (eval $ac_link) 2>conftest.er1
64868 ac_status=$?
64869 grep -v '^ *+' conftest.er1 >conftest.err
64870 rm -f conftest.er1
64871 cat conftest.err >&5
64872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64873 (exit $ac_status); } &&
64874 { ac_try='test -z "$ac_c_werror_flag"
64875 || test ! -s conftest.err'
64876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64877 (eval $ac_try) 2>&5
64878 ac_status=$?
64879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64880 (exit $ac_status); }; } &&
64881 { ac_try='test -s conftest$ac_exeext'
64882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64883 (eval $ac_try) 2>&5
64884 ac_status=$?
64885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64886 (exit $ac_status); }; }; then
64887 eval "$as_ac_var=yes"
64888 else
64889 echo "$as_me: failed program was:" >&5
64890 sed 's/^/| /' conftest.$ac_ext >&5
64892 eval "$as_ac_var=no"
64894 rm -f conftest.err conftest.$ac_objext \
64895 conftest$ac_exeext conftest.$ac_ext
64897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64899 if test `eval echo '${'$as_ac_var'}'` = yes; then
64900 cat >>confdefs.h <<_ACEOF
64901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64902 _ACEOF
64905 done
64915 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64916 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64917 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64918 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64919 echo $ECHO_N "(cached) $ECHO_C" >&6
64920 else
64924 ac_ext=cc
64925 ac_cpp='$CXXCPP $CPPFLAGS'
64926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64930 cat >conftest.$ac_ext <<_ACEOF
64931 /* confdefs.h. */
64932 _ACEOF
64933 cat confdefs.h >>conftest.$ac_ext
64934 cat >>conftest.$ac_ext <<_ACEOF
64935 /* end confdefs.h. */
64936 #include <math.h>
64938 main ()
64940 copysignl(0, 0);
64942 return 0;
64944 _ACEOF
64945 rm -f conftest.$ac_objext
64946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64947 (eval $ac_compile) 2>conftest.er1
64948 ac_status=$?
64949 grep -v '^ *+' conftest.er1 >conftest.err
64950 rm -f conftest.er1
64951 cat conftest.err >&5
64952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64953 (exit $ac_status); } &&
64954 { ac_try='test -z "$ac_cxx_werror_flag"
64955 || test ! -s conftest.err'
64956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64957 (eval $ac_try) 2>&5
64958 ac_status=$?
64959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64960 (exit $ac_status); }; } &&
64961 { ac_try='test -s conftest.$ac_objext'
64962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64963 (eval $ac_try) 2>&5
64964 ac_status=$?
64965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64966 (exit $ac_status); }; }; then
64967 glibcxx_cv_func_copysignl_use=yes
64968 else
64969 echo "$as_me: failed program was:" >&5
64970 sed 's/^/| /' conftest.$ac_ext >&5
64972 glibcxx_cv_func_copysignl_use=no
64974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64975 ac_ext=c
64976 ac_cpp='$CPP $CPPFLAGS'
64977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64986 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64988 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64990 for ac_func in copysignl
64992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64993 echo "$as_me:$LINENO: checking for $ac_func" >&5
64994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64995 if eval "test \"\${$as_ac_var+set}\" = set"; then
64996 echo $ECHO_N "(cached) $ECHO_C" >&6
64997 else
64998 if test x$gcc_no_link = xyes; then
64999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65001 { (exit 1); exit 1; }; }
65003 cat >conftest.$ac_ext <<_ACEOF
65004 /* confdefs.h. */
65005 _ACEOF
65006 cat confdefs.h >>conftest.$ac_ext
65007 cat >>conftest.$ac_ext <<_ACEOF
65008 /* end confdefs.h. */
65009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65011 #define $ac_func innocuous_$ac_func
65013 /* System header to define __stub macros and hopefully few prototypes,
65014 which can conflict with char $ac_func (); below.
65015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65016 <limits.h> exists even on freestanding compilers. */
65018 #ifdef __STDC__
65019 # include <limits.h>
65020 #else
65021 # include <assert.h>
65022 #endif
65024 #undef $ac_func
65026 /* Override any gcc2 internal prototype to avoid an error. */
65027 #ifdef __cplusplus
65028 extern "C"
65030 #endif
65031 /* We use char because int might match the return type of a gcc2
65032 builtin and then its argument prototype would still apply. */
65033 char $ac_func ();
65034 /* The GNU C library defines this for functions which it implements
65035 to always fail with ENOSYS. Some functions are actually named
65036 something starting with __ and the normal name is an alias. */
65037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65038 choke me
65039 #else
65040 char (*f) () = $ac_func;
65041 #endif
65042 #ifdef __cplusplus
65044 #endif
65047 main ()
65049 return f != $ac_func;
65051 return 0;
65053 _ACEOF
65054 rm -f conftest.$ac_objext conftest$ac_exeext
65055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65056 (eval $ac_link) 2>conftest.er1
65057 ac_status=$?
65058 grep -v '^ *+' conftest.er1 >conftest.err
65059 rm -f conftest.er1
65060 cat conftest.err >&5
65061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65062 (exit $ac_status); } &&
65063 { ac_try='test -z "$ac_c_werror_flag"
65064 || test ! -s conftest.err'
65065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65066 (eval $ac_try) 2>&5
65067 ac_status=$?
65068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65069 (exit $ac_status); }; } &&
65070 { ac_try='test -s conftest$ac_exeext'
65071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65072 (eval $ac_try) 2>&5
65073 ac_status=$?
65074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65075 (exit $ac_status); }; }; then
65076 eval "$as_ac_var=yes"
65077 else
65078 echo "$as_me: failed program was:" >&5
65079 sed 's/^/| /' conftest.$ac_ext >&5
65081 eval "$as_ac_var=no"
65083 rm -f conftest.err conftest.$ac_objext \
65084 conftest$ac_exeext conftest.$ac_ext
65086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65088 if test `eval echo '${'$as_ac_var'}'` = yes; then
65089 cat >>confdefs.h <<_ACEOF
65090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65091 _ACEOF
65094 done
65096 else
65098 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
65099 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
65100 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
65101 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
65102 echo $ECHO_N "(cached) $ECHO_C" >&6
65103 else
65107 ac_ext=cc
65108 ac_cpp='$CXXCPP $CPPFLAGS'
65109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65113 cat >conftest.$ac_ext <<_ACEOF
65114 /* confdefs.h. */
65115 _ACEOF
65116 cat confdefs.h >>conftest.$ac_ext
65117 cat >>conftest.$ac_ext <<_ACEOF
65118 /* end confdefs.h. */
65119 #include <math.h>
65121 main ()
65123 _copysignl(0, 0);
65125 return 0;
65127 _ACEOF
65128 rm -f conftest.$ac_objext
65129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65130 (eval $ac_compile) 2>conftest.er1
65131 ac_status=$?
65132 grep -v '^ *+' conftest.er1 >conftest.err
65133 rm -f conftest.er1
65134 cat conftest.err >&5
65135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65136 (exit $ac_status); } &&
65137 { ac_try='test -z "$ac_cxx_werror_flag"
65138 || test ! -s conftest.err'
65139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65140 (eval $ac_try) 2>&5
65141 ac_status=$?
65142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65143 (exit $ac_status); }; } &&
65144 { ac_try='test -s conftest.$ac_objext'
65145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65146 (eval $ac_try) 2>&5
65147 ac_status=$?
65148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65149 (exit $ac_status); }; }; then
65150 glibcxx_cv_func__copysignl_use=yes
65151 else
65152 echo "$as_me: failed program was:" >&5
65153 sed 's/^/| /' conftest.$ac_ext >&5
65155 glibcxx_cv_func__copysignl_use=no
65157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65158 ac_ext=c
65159 ac_cpp='$CPP $CPPFLAGS'
65160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65168 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
65169 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
65171 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
65173 for ac_func in _copysignl
65175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65176 echo "$as_me:$LINENO: checking for $ac_func" >&5
65177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65178 if eval "test \"\${$as_ac_var+set}\" = set"; then
65179 echo $ECHO_N "(cached) $ECHO_C" >&6
65180 else
65181 if test x$gcc_no_link = xyes; then
65182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65184 { (exit 1); exit 1; }; }
65186 cat >conftest.$ac_ext <<_ACEOF
65187 /* confdefs.h. */
65188 _ACEOF
65189 cat confdefs.h >>conftest.$ac_ext
65190 cat >>conftest.$ac_ext <<_ACEOF
65191 /* end confdefs.h. */
65192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65194 #define $ac_func innocuous_$ac_func
65196 /* System header to define __stub macros and hopefully few prototypes,
65197 which can conflict with char $ac_func (); below.
65198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65199 <limits.h> exists even on freestanding compilers. */
65201 #ifdef __STDC__
65202 # include <limits.h>
65203 #else
65204 # include <assert.h>
65205 #endif
65207 #undef $ac_func
65209 /* Override any gcc2 internal prototype to avoid an error. */
65210 #ifdef __cplusplus
65211 extern "C"
65213 #endif
65214 /* We use char because int might match the return type of a gcc2
65215 builtin and then its argument prototype would still apply. */
65216 char $ac_func ();
65217 /* The GNU C library defines this for functions which it implements
65218 to always fail with ENOSYS. Some functions are actually named
65219 something starting with __ and the normal name is an alias. */
65220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65221 choke me
65222 #else
65223 char (*f) () = $ac_func;
65224 #endif
65225 #ifdef __cplusplus
65227 #endif
65230 main ()
65232 return f != $ac_func;
65234 return 0;
65236 _ACEOF
65237 rm -f conftest.$ac_objext conftest$ac_exeext
65238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65239 (eval $ac_link) 2>conftest.er1
65240 ac_status=$?
65241 grep -v '^ *+' conftest.er1 >conftest.err
65242 rm -f conftest.er1
65243 cat conftest.err >&5
65244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65245 (exit $ac_status); } &&
65246 { ac_try='test -z "$ac_c_werror_flag"
65247 || test ! -s conftest.err'
65248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65249 (eval $ac_try) 2>&5
65250 ac_status=$?
65251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65252 (exit $ac_status); }; } &&
65253 { ac_try='test -s conftest$ac_exeext'
65254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65255 (eval $ac_try) 2>&5
65256 ac_status=$?
65257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65258 (exit $ac_status); }; }; then
65259 eval "$as_ac_var=yes"
65260 else
65261 echo "$as_me: failed program was:" >&5
65262 sed 's/^/| /' conftest.$ac_ext >&5
65264 eval "$as_ac_var=no"
65266 rm -f conftest.err conftest.$ac_objext \
65267 conftest$ac_exeext conftest.$ac_ext
65269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65271 if test `eval echo '${'$as_ac_var'}'` = yes; then
65272 cat >>confdefs.h <<_ACEOF
65273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65274 _ACEOF
65277 done
65287 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65288 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65289 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65290 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65291 echo $ECHO_N "(cached) $ECHO_C" >&6
65292 else
65296 ac_ext=cc
65297 ac_cpp='$CXXCPP $CPPFLAGS'
65298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65302 cat >conftest.$ac_ext <<_ACEOF
65303 /* confdefs.h. */
65304 _ACEOF
65305 cat confdefs.h >>conftest.$ac_ext
65306 cat >>conftest.$ac_ext <<_ACEOF
65307 /* end confdefs.h. */
65308 #include <math.h>
65310 main ()
65312 atan2l(0, 0);
65314 return 0;
65316 _ACEOF
65317 rm -f conftest.$ac_objext
65318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65319 (eval $ac_compile) 2>conftest.er1
65320 ac_status=$?
65321 grep -v '^ *+' conftest.er1 >conftest.err
65322 rm -f conftest.er1
65323 cat conftest.err >&5
65324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65325 (exit $ac_status); } &&
65326 { ac_try='test -z "$ac_cxx_werror_flag"
65327 || test ! -s conftest.err'
65328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65329 (eval $ac_try) 2>&5
65330 ac_status=$?
65331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65332 (exit $ac_status); }; } &&
65333 { ac_try='test -s conftest.$ac_objext'
65334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65335 (eval $ac_try) 2>&5
65336 ac_status=$?
65337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65338 (exit $ac_status); }; }; then
65339 glibcxx_cv_func_atan2l_use=yes
65340 else
65341 echo "$as_me: failed program was:" >&5
65342 sed 's/^/| /' conftest.$ac_ext >&5
65344 glibcxx_cv_func_atan2l_use=no
65346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65347 ac_ext=c
65348 ac_cpp='$CPP $CPPFLAGS'
65349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65358 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65360 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65362 for ac_func in atan2l
65364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65365 echo "$as_me:$LINENO: checking for $ac_func" >&5
65366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65367 if eval "test \"\${$as_ac_var+set}\" = set"; then
65368 echo $ECHO_N "(cached) $ECHO_C" >&6
65369 else
65370 if test x$gcc_no_link = xyes; then
65371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65373 { (exit 1); exit 1; }; }
65375 cat >conftest.$ac_ext <<_ACEOF
65376 /* confdefs.h. */
65377 _ACEOF
65378 cat confdefs.h >>conftest.$ac_ext
65379 cat >>conftest.$ac_ext <<_ACEOF
65380 /* end confdefs.h. */
65381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65383 #define $ac_func innocuous_$ac_func
65385 /* System header to define __stub macros and hopefully few prototypes,
65386 which can conflict with char $ac_func (); below.
65387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65388 <limits.h> exists even on freestanding compilers. */
65390 #ifdef __STDC__
65391 # include <limits.h>
65392 #else
65393 # include <assert.h>
65394 #endif
65396 #undef $ac_func
65398 /* Override any gcc2 internal prototype to avoid an error. */
65399 #ifdef __cplusplus
65400 extern "C"
65402 #endif
65403 /* We use char because int might match the return type of a gcc2
65404 builtin and then its argument prototype would still apply. */
65405 char $ac_func ();
65406 /* The GNU C library defines this for functions which it implements
65407 to always fail with ENOSYS. Some functions are actually named
65408 something starting with __ and the normal name is an alias. */
65409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65410 choke me
65411 #else
65412 char (*f) () = $ac_func;
65413 #endif
65414 #ifdef __cplusplus
65416 #endif
65419 main ()
65421 return f != $ac_func;
65423 return 0;
65425 _ACEOF
65426 rm -f conftest.$ac_objext conftest$ac_exeext
65427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65428 (eval $ac_link) 2>conftest.er1
65429 ac_status=$?
65430 grep -v '^ *+' conftest.er1 >conftest.err
65431 rm -f conftest.er1
65432 cat conftest.err >&5
65433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65434 (exit $ac_status); } &&
65435 { ac_try='test -z "$ac_c_werror_flag"
65436 || test ! -s conftest.err'
65437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65438 (eval $ac_try) 2>&5
65439 ac_status=$?
65440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65441 (exit $ac_status); }; } &&
65442 { ac_try='test -s conftest$ac_exeext'
65443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65444 (eval $ac_try) 2>&5
65445 ac_status=$?
65446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65447 (exit $ac_status); }; }; then
65448 eval "$as_ac_var=yes"
65449 else
65450 echo "$as_me: failed program was:" >&5
65451 sed 's/^/| /' conftest.$ac_ext >&5
65453 eval "$as_ac_var=no"
65455 rm -f conftest.err conftest.$ac_objext \
65456 conftest$ac_exeext conftest.$ac_ext
65458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65460 if test `eval echo '${'$as_ac_var'}'` = yes; then
65461 cat >>confdefs.h <<_ACEOF
65462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65463 _ACEOF
65466 done
65468 else
65470 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
65471 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
65472 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65473 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
65474 echo $ECHO_N "(cached) $ECHO_C" >&6
65475 else
65479 ac_ext=cc
65480 ac_cpp='$CXXCPP $CPPFLAGS'
65481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65485 cat >conftest.$ac_ext <<_ACEOF
65486 /* confdefs.h. */
65487 _ACEOF
65488 cat confdefs.h >>conftest.$ac_ext
65489 cat >>conftest.$ac_ext <<_ACEOF
65490 /* end confdefs.h. */
65491 #include <math.h>
65493 main ()
65495 _atan2l(0, 0);
65497 return 0;
65499 _ACEOF
65500 rm -f conftest.$ac_objext
65501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65502 (eval $ac_compile) 2>conftest.er1
65503 ac_status=$?
65504 grep -v '^ *+' conftest.er1 >conftest.err
65505 rm -f conftest.er1
65506 cat conftest.err >&5
65507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65508 (exit $ac_status); } &&
65509 { ac_try='test -z "$ac_cxx_werror_flag"
65510 || test ! -s conftest.err'
65511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65512 (eval $ac_try) 2>&5
65513 ac_status=$?
65514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65515 (exit $ac_status); }; } &&
65516 { ac_try='test -s conftest.$ac_objext'
65517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65518 (eval $ac_try) 2>&5
65519 ac_status=$?
65520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65521 (exit $ac_status); }; }; then
65522 glibcxx_cv_func__atan2l_use=yes
65523 else
65524 echo "$as_me: failed program was:" >&5
65525 sed 's/^/| /' conftest.$ac_ext >&5
65527 glibcxx_cv_func__atan2l_use=no
65529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65530 ac_ext=c
65531 ac_cpp='$CPP $CPPFLAGS'
65532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65540 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
65541 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
65543 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65545 for ac_func in _atan2l
65547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65548 echo "$as_me:$LINENO: checking for $ac_func" >&5
65549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65550 if eval "test \"\${$as_ac_var+set}\" = set"; then
65551 echo $ECHO_N "(cached) $ECHO_C" >&6
65552 else
65553 if test x$gcc_no_link = xyes; then
65554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65556 { (exit 1); exit 1; }; }
65558 cat >conftest.$ac_ext <<_ACEOF
65559 /* confdefs.h. */
65560 _ACEOF
65561 cat confdefs.h >>conftest.$ac_ext
65562 cat >>conftest.$ac_ext <<_ACEOF
65563 /* end confdefs.h. */
65564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65566 #define $ac_func innocuous_$ac_func
65568 /* System header to define __stub macros and hopefully few prototypes,
65569 which can conflict with char $ac_func (); below.
65570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65571 <limits.h> exists even on freestanding compilers. */
65573 #ifdef __STDC__
65574 # include <limits.h>
65575 #else
65576 # include <assert.h>
65577 #endif
65579 #undef $ac_func
65581 /* Override any gcc2 internal prototype to avoid an error. */
65582 #ifdef __cplusplus
65583 extern "C"
65585 #endif
65586 /* We use char because int might match the return type of a gcc2
65587 builtin and then its argument prototype would still apply. */
65588 char $ac_func ();
65589 /* The GNU C library defines this for functions which it implements
65590 to always fail with ENOSYS. Some functions are actually named
65591 something starting with __ and the normal name is an alias. */
65592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65593 choke me
65594 #else
65595 char (*f) () = $ac_func;
65596 #endif
65597 #ifdef __cplusplus
65599 #endif
65602 main ()
65604 return f != $ac_func;
65606 return 0;
65608 _ACEOF
65609 rm -f conftest.$ac_objext conftest$ac_exeext
65610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65611 (eval $ac_link) 2>conftest.er1
65612 ac_status=$?
65613 grep -v '^ *+' conftest.er1 >conftest.err
65614 rm -f conftest.er1
65615 cat conftest.err >&5
65616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65617 (exit $ac_status); } &&
65618 { ac_try='test -z "$ac_c_werror_flag"
65619 || test ! -s conftest.err'
65620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65621 (eval $ac_try) 2>&5
65622 ac_status=$?
65623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65624 (exit $ac_status); }; } &&
65625 { ac_try='test -s conftest$ac_exeext'
65626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65627 (eval $ac_try) 2>&5
65628 ac_status=$?
65629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65630 (exit $ac_status); }; }; then
65631 eval "$as_ac_var=yes"
65632 else
65633 echo "$as_me: failed program was:" >&5
65634 sed 's/^/| /' conftest.$ac_ext >&5
65636 eval "$as_ac_var=no"
65638 rm -f conftest.err conftest.$ac_objext \
65639 conftest$ac_exeext conftest.$ac_ext
65641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65643 if test `eval echo '${'$as_ac_var'}'` = yes; then
65644 cat >>confdefs.h <<_ACEOF
65645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65646 _ACEOF
65649 done
65659 echo "$as_me:$LINENO: checking for expl declaration" >&5
65660 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
65661 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65662 if test "${glibcxx_cv_func_expl_use+set}" = set; then
65663 echo $ECHO_N "(cached) $ECHO_C" >&6
65664 else
65668 ac_ext=cc
65669 ac_cpp='$CXXCPP $CPPFLAGS'
65670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65674 cat >conftest.$ac_ext <<_ACEOF
65675 /* confdefs.h. */
65676 _ACEOF
65677 cat confdefs.h >>conftest.$ac_ext
65678 cat >>conftest.$ac_ext <<_ACEOF
65679 /* end confdefs.h. */
65680 #include <math.h>
65681 #ifdef HAVE_IEEEFP_H
65682 #include <ieeefp.h>
65683 #endif
65686 main ()
65688 expl(0);
65690 return 0;
65692 _ACEOF
65693 rm -f conftest.$ac_objext
65694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65695 (eval $ac_compile) 2>conftest.er1
65696 ac_status=$?
65697 grep -v '^ *+' conftest.er1 >conftest.err
65698 rm -f conftest.er1
65699 cat conftest.err >&5
65700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65701 (exit $ac_status); } &&
65702 { ac_try='test -z "$ac_cxx_werror_flag"
65703 || test ! -s conftest.err'
65704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65705 (eval $ac_try) 2>&5
65706 ac_status=$?
65707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65708 (exit $ac_status); }; } &&
65709 { ac_try='test -s conftest.$ac_objext'
65710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65711 (eval $ac_try) 2>&5
65712 ac_status=$?
65713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65714 (exit $ac_status); }; }; then
65715 glibcxx_cv_func_expl_use=yes
65716 else
65717 echo "$as_me: failed program was:" >&5
65718 sed 's/^/| /' conftest.$ac_ext >&5
65720 glibcxx_cv_func_expl_use=no
65722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65723 ac_ext=c
65724 ac_cpp='$CPP $CPPFLAGS'
65725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65734 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65736 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65738 for ac_func in expl
65740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65741 echo "$as_me:$LINENO: checking for $ac_func" >&5
65742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65743 if eval "test \"\${$as_ac_var+set}\" = set"; then
65744 echo $ECHO_N "(cached) $ECHO_C" >&6
65745 else
65746 if test x$gcc_no_link = xyes; then
65747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65749 { (exit 1); exit 1; }; }
65751 cat >conftest.$ac_ext <<_ACEOF
65752 /* confdefs.h. */
65753 _ACEOF
65754 cat confdefs.h >>conftest.$ac_ext
65755 cat >>conftest.$ac_ext <<_ACEOF
65756 /* end confdefs.h. */
65757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65759 #define $ac_func innocuous_$ac_func
65761 /* System header to define __stub macros and hopefully few prototypes,
65762 which can conflict with char $ac_func (); below.
65763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65764 <limits.h> exists even on freestanding compilers. */
65766 #ifdef __STDC__
65767 # include <limits.h>
65768 #else
65769 # include <assert.h>
65770 #endif
65772 #undef $ac_func
65774 /* Override any gcc2 internal prototype to avoid an error. */
65775 #ifdef __cplusplus
65776 extern "C"
65778 #endif
65779 /* We use char because int might match the return type of a gcc2
65780 builtin and then its argument prototype would still apply. */
65781 char $ac_func ();
65782 /* The GNU C library defines this for functions which it implements
65783 to always fail with ENOSYS. Some functions are actually named
65784 something starting with __ and the normal name is an alias. */
65785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65786 choke me
65787 #else
65788 char (*f) () = $ac_func;
65789 #endif
65790 #ifdef __cplusplus
65792 #endif
65795 main ()
65797 return f != $ac_func;
65799 return 0;
65801 _ACEOF
65802 rm -f conftest.$ac_objext conftest$ac_exeext
65803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65804 (eval $ac_link) 2>conftest.er1
65805 ac_status=$?
65806 grep -v '^ *+' conftest.er1 >conftest.err
65807 rm -f conftest.er1
65808 cat conftest.err >&5
65809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65810 (exit $ac_status); } &&
65811 { ac_try='test -z "$ac_c_werror_flag"
65812 || test ! -s conftest.err'
65813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65814 (eval $ac_try) 2>&5
65815 ac_status=$?
65816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65817 (exit $ac_status); }; } &&
65818 { ac_try='test -s conftest$ac_exeext'
65819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65820 (eval $ac_try) 2>&5
65821 ac_status=$?
65822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65823 (exit $ac_status); }; }; then
65824 eval "$as_ac_var=yes"
65825 else
65826 echo "$as_me: failed program was:" >&5
65827 sed 's/^/| /' conftest.$ac_ext >&5
65829 eval "$as_ac_var=no"
65831 rm -f conftest.err conftest.$ac_objext \
65832 conftest$ac_exeext conftest.$ac_ext
65834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65836 if test `eval echo '${'$as_ac_var'}'` = yes; then
65837 cat >>confdefs.h <<_ACEOF
65838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65839 _ACEOF
65842 done
65844 else
65846 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65847 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65848 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65849 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65850 echo $ECHO_N "(cached) $ECHO_C" >&6
65851 else
65855 ac_ext=cc
65856 ac_cpp='$CXXCPP $CPPFLAGS'
65857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65861 cat >conftest.$ac_ext <<_ACEOF
65862 /* confdefs.h. */
65863 _ACEOF
65864 cat confdefs.h >>conftest.$ac_ext
65865 cat >>conftest.$ac_ext <<_ACEOF
65866 /* end confdefs.h. */
65867 #include <math.h>
65868 #ifdef HAVE_IEEEFP_H
65869 #include <ieeefp.h>
65870 #endif
65873 main ()
65875 _expl(0);
65877 return 0;
65879 _ACEOF
65880 rm -f conftest.$ac_objext
65881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65882 (eval $ac_compile) 2>conftest.er1
65883 ac_status=$?
65884 grep -v '^ *+' conftest.er1 >conftest.err
65885 rm -f conftest.er1
65886 cat conftest.err >&5
65887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65888 (exit $ac_status); } &&
65889 { ac_try='test -z "$ac_cxx_werror_flag"
65890 || test ! -s conftest.err'
65891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65892 (eval $ac_try) 2>&5
65893 ac_status=$?
65894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65895 (exit $ac_status); }; } &&
65896 { ac_try='test -s conftest.$ac_objext'
65897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65898 (eval $ac_try) 2>&5
65899 ac_status=$?
65900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65901 (exit $ac_status); }; }; then
65902 glibcxx_cv_func__expl_use=yes
65903 else
65904 echo "$as_me: failed program was:" >&5
65905 sed 's/^/| /' conftest.$ac_ext >&5
65907 glibcxx_cv_func__expl_use=no
65909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65910 ac_ext=c
65911 ac_cpp='$CPP $CPPFLAGS'
65912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65921 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65923 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65925 for ac_func in _expl
65927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65928 echo "$as_me:$LINENO: checking for $ac_func" >&5
65929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65930 if eval "test \"\${$as_ac_var+set}\" = set"; then
65931 echo $ECHO_N "(cached) $ECHO_C" >&6
65932 else
65933 if test x$gcc_no_link = xyes; then
65934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65936 { (exit 1); exit 1; }; }
65938 cat >conftest.$ac_ext <<_ACEOF
65939 /* confdefs.h. */
65940 _ACEOF
65941 cat confdefs.h >>conftest.$ac_ext
65942 cat >>conftest.$ac_ext <<_ACEOF
65943 /* end confdefs.h. */
65944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65946 #define $ac_func innocuous_$ac_func
65948 /* System header to define __stub macros and hopefully few prototypes,
65949 which can conflict with char $ac_func (); below.
65950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65951 <limits.h> exists even on freestanding compilers. */
65953 #ifdef __STDC__
65954 # include <limits.h>
65955 #else
65956 # include <assert.h>
65957 #endif
65959 #undef $ac_func
65961 /* Override any gcc2 internal prototype to avoid an error. */
65962 #ifdef __cplusplus
65963 extern "C"
65965 #endif
65966 /* We use char because int might match the return type of a gcc2
65967 builtin and then its argument prototype would still apply. */
65968 char $ac_func ();
65969 /* The GNU C library defines this for functions which it implements
65970 to always fail with ENOSYS. Some functions are actually named
65971 something starting with __ and the normal name is an alias. */
65972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65973 choke me
65974 #else
65975 char (*f) () = $ac_func;
65976 #endif
65977 #ifdef __cplusplus
65979 #endif
65982 main ()
65984 return f != $ac_func;
65986 return 0;
65988 _ACEOF
65989 rm -f conftest.$ac_objext conftest$ac_exeext
65990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65991 (eval $ac_link) 2>conftest.er1
65992 ac_status=$?
65993 grep -v '^ *+' conftest.er1 >conftest.err
65994 rm -f conftest.er1
65995 cat conftest.err >&5
65996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65997 (exit $ac_status); } &&
65998 { ac_try='test -z "$ac_c_werror_flag"
65999 || test ! -s conftest.err'
66000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66001 (eval $ac_try) 2>&5
66002 ac_status=$?
66003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66004 (exit $ac_status); }; } &&
66005 { ac_try='test -s conftest$ac_exeext'
66006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66007 (eval $ac_try) 2>&5
66008 ac_status=$?
66009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66010 (exit $ac_status); }; }; then
66011 eval "$as_ac_var=yes"
66012 else
66013 echo "$as_me: failed program was:" >&5
66014 sed 's/^/| /' conftest.$ac_ext >&5
66016 eval "$as_ac_var=no"
66018 rm -f conftest.err conftest.$ac_objext \
66019 conftest$ac_exeext conftest.$ac_ext
66021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66023 if test `eval echo '${'$as_ac_var'}'` = yes; then
66024 cat >>confdefs.h <<_ACEOF
66025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66026 _ACEOF
66029 done
66039 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
66040 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
66041 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
66042 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
66043 echo $ECHO_N "(cached) $ECHO_C" >&6
66044 else
66048 ac_ext=cc
66049 ac_cpp='$CXXCPP $CPPFLAGS'
66050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66054 cat >conftest.$ac_ext <<_ACEOF
66055 /* confdefs.h. */
66056 _ACEOF
66057 cat confdefs.h >>conftest.$ac_ext
66058 cat >>conftest.$ac_ext <<_ACEOF
66059 /* end confdefs.h. */
66060 #include <math.h>
66061 #ifdef HAVE_IEEEFP_H
66062 #include <ieeefp.h>
66063 #endif
66066 main ()
66068 fabsl(0);
66070 return 0;
66072 _ACEOF
66073 rm -f conftest.$ac_objext
66074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66075 (eval $ac_compile) 2>conftest.er1
66076 ac_status=$?
66077 grep -v '^ *+' conftest.er1 >conftest.err
66078 rm -f conftest.er1
66079 cat conftest.err >&5
66080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66081 (exit $ac_status); } &&
66082 { ac_try='test -z "$ac_cxx_werror_flag"
66083 || test ! -s conftest.err'
66084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66085 (eval $ac_try) 2>&5
66086 ac_status=$?
66087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66088 (exit $ac_status); }; } &&
66089 { ac_try='test -s conftest.$ac_objext'
66090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66091 (eval $ac_try) 2>&5
66092 ac_status=$?
66093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66094 (exit $ac_status); }; }; then
66095 glibcxx_cv_func_fabsl_use=yes
66096 else
66097 echo "$as_me: failed program was:" >&5
66098 sed 's/^/| /' conftest.$ac_ext >&5
66100 glibcxx_cv_func_fabsl_use=no
66102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66103 ac_ext=c
66104 ac_cpp='$CPP $CPPFLAGS'
66105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
66114 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
66116 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
66118 for ac_func in fabsl
66120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66121 echo "$as_me:$LINENO: checking for $ac_func" >&5
66122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66123 if eval "test \"\${$as_ac_var+set}\" = set"; then
66124 echo $ECHO_N "(cached) $ECHO_C" >&6
66125 else
66126 if test x$gcc_no_link = xyes; then
66127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66129 { (exit 1); exit 1; }; }
66131 cat >conftest.$ac_ext <<_ACEOF
66132 /* confdefs.h. */
66133 _ACEOF
66134 cat confdefs.h >>conftest.$ac_ext
66135 cat >>conftest.$ac_ext <<_ACEOF
66136 /* end confdefs.h. */
66137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66139 #define $ac_func innocuous_$ac_func
66141 /* System header to define __stub macros and hopefully few prototypes,
66142 which can conflict with char $ac_func (); below.
66143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66144 <limits.h> exists even on freestanding compilers. */
66146 #ifdef __STDC__
66147 # include <limits.h>
66148 #else
66149 # include <assert.h>
66150 #endif
66152 #undef $ac_func
66154 /* Override any gcc2 internal prototype to avoid an error. */
66155 #ifdef __cplusplus
66156 extern "C"
66158 #endif
66159 /* We use char because int might match the return type of a gcc2
66160 builtin and then its argument prototype would still apply. */
66161 char $ac_func ();
66162 /* The GNU C library defines this for functions which it implements
66163 to always fail with ENOSYS. Some functions are actually named
66164 something starting with __ and the normal name is an alias. */
66165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66166 choke me
66167 #else
66168 char (*f) () = $ac_func;
66169 #endif
66170 #ifdef __cplusplus
66172 #endif
66175 main ()
66177 return f != $ac_func;
66179 return 0;
66181 _ACEOF
66182 rm -f conftest.$ac_objext conftest$ac_exeext
66183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66184 (eval $ac_link) 2>conftest.er1
66185 ac_status=$?
66186 grep -v '^ *+' conftest.er1 >conftest.err
66187 rm -f conftest.er1
66188 cat conftest.err >&5
66189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66190 (exit $ac_status); } &&
66191 { ac_try='test -z "$ac_c_werror_flag"
66192 || test ! -s conftest.err'
66193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66194 (eval $ac_try) 2>&5
66195 ac_status=$?
66196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66197 (exit $ac_status); }; } &&
66198 { ac_try='test -s conftest$ac_exeext'
66199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66200 (eval $ac_try) 2>&5
66201 ac_status=$?
66202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66203 (exit $ac_status); }; }; then
66204 eval "$as_ac_var=yes"
66205 else
66206 echo "$as_me: failed program was:" >&5
66207 sed 's/^/| /' conftest.$ac_ext >&5
66209 eval "$as_ac_var=no"
66211 rm -f conftest.err conftest.$ac_objext \
66212 conftest$ac_exeext conftest.$ac_ext
66214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66216 if test `eval echo '${'$as_ac_var'}'` = yes; then
66217 cat >>confdefs.h <<_ACEOF
66218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66219 _ACEOF
66222 done
66224 else
66226 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
66227 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
66228 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66229 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
66230 echo $ECHO_N "(cached) $ECHO_C" >&6
66231 else
66235 ac_ext=cc
66236 ac_cpp='$CXXCPP $CPPFLAGS'
66237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66241 cat >conftest.$ac_ext <<_ACEOF
66242 /* confdefs.h. */
66243 _ACEOF
66244 cat confdefs.h >>conftest.$ac_ext
66245 cat >>conftest.$ac_ext <<_ACEOF
66246 /* end confdefs.h. */
66247 #include <math.h>
66248 #ifdef HAVE_IEEEFP_H
66249 #include <ieeefp.h>
66250 #endif
66253 main ()
66255 _fabsl(0);
66257 return 0;
66259 _ACEOF
66260 rm -f conftest.$ac_objext
66261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66262 (eval $ac_compile) 2>conftest.er1
66263 ac_status=$?
66264 grep -v '^ *+' conftest.er1 >conftest.err
66265 rm -f conftest.er1
66266 cat conftest.err >&5
66267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66268 (exit $ac_status); } &&
66269 { ac_try='test -z "$ac_cxx_werror_flag"
66270 || test ! -s conftest.err'
66271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66272 (eval $ac_try) 2>&5
66273 ac_status=$?
66274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66275 (exit $ac_status); }; } &&
66276 { ac_try='test -s conftest.$ac_objext'
66277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66278 (eval $ac_try) 2>&5
66279 ac_status=$?
66280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66281 (exit $ac_status); }; }; then
66282 glibcxx_cv_func__fabsl_use=yes
66283 else
66284 echo "$as_me: failed program was:" >&5
66285 sed 's/^/| /' conftest.$ac_ext >&5
66287 glibcxx_cv_func__fabsl_use=no
66289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66290 ac_ext=c
66291 ac_cpp='$CPP $CPPFLAGS'
66292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66301 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66303 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66305 for ac_func in _fabsl
66307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66308 echo "$as_me:$LINENO: checking for $ac_func" >&5
66309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66310 if eval "test \"\${$as_ac_var+set}\" = set"; then
66311 echo $ECHO_N "(cached) $ECHO_C" >&6
66312 else
66313 if test x$gcc_no_link = xyes; then
66314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66316 { (exit 1); exit 1; }; }
66318 cat >conftest.$ac_ext <<_ACEOF
66319 /* confdefs.h. */
66320 _ACEOF
66321 cat confdefs.h >>conftest.$ac_ext
66322 cat >>conftest.$ac_ext <<_ACEOF
66323 /* end confdefs.h. */
66324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66326 #define $ac_func innocuous_$ac_func
66328 /* System header to define __stub macros and hopefully few prototypes,
66329 which can conflict with char $ac_func (); below.
66330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66331 <limits.h> exists even on freestanding compilers. */
66333 #ifdef __STDC__
66334 # include <limits.h>
66335 #else
66336 # include <assert.h>
66337 #endif
66339 #undef $ac_func
66341 /* Override any gcc2 internal prototype to avoid an error. */
66342 #ifdef __cplusplus
66343 extern "C"
66345 #endif
66346 /* We use char because int might match the return type of a gcc2
66347 builtin and then its argument prototype would still apply. */
66348 char $ac_func ();
66349 /* The GNU C library defines this for functions which it implements
66350 to always fail with ENOSYS. Some functions are actually named
66351 something starting with __ and the normal name is an alias. */
66352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66353 choke me
66354 #else
66355 char (*f) () = $ac_func;
66356 #endif
66357 #ifdef __cplusplus
66359 #endif
66362 main ()
66364 return f != $ac_func;
66366 return 0;
66368 _ACEOF
66369 rm -f conftest.$ac_objext conftest$ac_exeext
66370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66371 (eval $ac_link) 2>conftest.er1
66372 ac_status=$?
66373 grep -v '^ *+' conftest.er1 >conftest.err
66374 rm -f conftest.er1
66375 cat conftest.err >&5
66376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66377 (exit $ac_status); } &&
66378 { ac_try='test -z "$ac_c_werror_flag"
66379 || test ! -s conftest.err'
66380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66381 (eval $ac_try) 2>&5
66382 ac_status=$?
66383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66384 (exit $ac_status); }; } &&
66385 { ac_try='test -s conftest$ac_exeext'
66386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66387 (eval $ac_try) 2>&5
66388 ac_status=$?
66389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66390 (exit $ac_status); }; }; then
66391 eval "$as_ac_var=yes"
66392 else
66393 echo "$as_me: failed program was:" >&5
66394 sed 's/^/| /' conftest.$ac_ext >&5
66396 eval "$as_ac_var=no"
66398 rm -f conftest.err conftest.$ac_objext \
66399 conftest$ac_exeext conftest.$ac_ext
66401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66403 if test `eval echo '${'$as_ac_var'}'` = yes; then
66404 cat >>confdefs.h <<_ACEOF
66405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66406 _ACEOF
66409 done
66419 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66420 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66421 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66422 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66423 echo $ECHO_N "(cached) $ECHO_C" >&6
66424 else
66428 ac_ext=cc
66429 ac_cpp='$CXXCPP $CPPFLAGS'
66430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66434 cat >conftest.$ac_ext <<_ACEOF
66435 /* confdefs.h. */
66436 _ACEOF
66437 cat confdefs.h >>conftest.$ac_ext
66438 cat >>conftest.$ac_ext <<_ACEOF
66439 /* end confdefs.h. */
66440 #include <math.h>
66442 main ()
66444 fmodl(0, 0);
66446 return 0;
66448 _ACEOF
66449 rm -f conftest.$ac_objext
66450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66451 (eval $ac_compile) 2>conftest.er1
66452 ac_status=$?
66453 grep -v '^ *+' conftest.er1 >conftest.err
66454 rm -f conftest.er1
66455 cat conftest.err >&5
66456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66457 (exit $ac_status); } &&
66458 { ac_try='test -z "$ac_cxx_werror_flag"
66459 || test ! -s conftest.err'
66460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66461 (eval $ac_try) 2>&5
66462 ac_status=$?
66463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66464 (exit $ac_status); }; } &&
66465 { ac_try='test -s conftest.$ac_objext'
66466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66467 (eval $ac_try) 2>&5
66468 ac_status=$?
66469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66470 (exit $ac_status); }; }; then
66471 glibcxx_cv_func_fmodl_use=yes
66472 else
66473 echo "$as_me: failed program was:" >&5
66474 sed 's/^/| /' conftest.$ac_ext >&5
66476 glibcxx_cv_func_fmodl_use=no
66478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66479 ac_ext=c
66480 ac_cpp='$CPP $CPPFLAGS'
66481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66489 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
66490 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
66492 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66494 for ac_func in fmodl
66496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66497 echo "$as_me:$LINENO: checking for $ac_func" >&5
66498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66499 if eval "test \"\${$as_ac_var+set}\" = set"; then
66500 echo $ECHO_N "(cached) $ECHO_C" >&6
66501 else
66502 if test x$gcc_no_link = xyes; then
66503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66505 { (exit 1); exit 1; }; }
66507 cat >conftest.$ac_ext <<_ACEOF
66508 /* confdefs.h. */
66509 _ACEOF
66510 cat confdefs.h >>conftest.$ac_ext
66511 cat >>conftest.$ac_ext <<_ACEOF
66512 /* end confdefs.h. */
66513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66515 #define $ac_func innocuous_$ac_func
66517 /* System header to define __stub macros and hopefully few prototypes,
66518 which can conflict with char $ac_func (); below.
66519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66520 <limits.h> exists even on freestanding compilers. */
66522 #ifdef __STDC__
66523 # include <limits.h>
66524 #else
66525 # include <assert.h>
66526 #endif
66528 #undef $ac_func
66530 /* Override any gcc2 internal prototype to avoid an error. */
66531 #ifdef __cplusplus
66532 extern "C"
66534 #endif
66535 /* We use char because int might match the return type of a gcc2
66536 builtin and then its argument prototype would still apply. */
66537 char $ac_func ();
66538 /* The GNU C library defines this for functions which it implements
66539 to always fail with ENOSYS. Some functions are actually named
66540 something starting with __ and the normal name is an alias. */
66541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66542 choke me
66543 #else
66544 char (*f) () = $ac_func;
66545 #endif
66546 #ifdef __cplusplus
66548 #endif
66551 main ()
66553 return f != $ac_func;
66555 return 0;
66557 _ACEOF
66558 rm -f conftest.$ac_objext conftest$ac_exeext
66559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66560 (eval $ac_link) 2>conftest.er1
66561 ac_status=$?
66562 grep -v '^ *+' conftest.er1 >conftest.err
66563 rm -f conftest.er1
66564 cat conftest.err >&5
66565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66566 (exit $ac_status); } &&
66567 { ac_try='test -z "$ac_c_werror_flag"
66568 || test ! -s conftest.err'
66569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66570 (eval $ac_try) 2>&5
66571 ac_status=$?
66572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66573 (exit $ac_status); }; } &&
66574 { ac_try='test -s conftest$ac_exeext'
66575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66576 (eval $ac_try) 2>&5
66577 ac_status=$?
66578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66579 (exit $ac_status); }; }; then
66580 eval "$as_ac_var=yes"
66581 else
66582 echo "$as_me: failed program was:" >&5
66583 sed 's/^/| /' conftest.$ac_ext >&5
66585 eval "$as_ac_var=no"
66587 rm -f conftest.err conftest.$ac_objext \
66588 conftest$ac_exeext conftest.$ac_ext
66590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66592 if test `eval echo '${'$as_ac_var'}'` = yes; then
66593 cat >>confdefs.h <<_ACEOF
66594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66595 _ACEOF
66598 done
66600 else
66602 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
66603 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
66604 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66605 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
66606 echo $ECHO_N "(cached) $ECHO_C" >&6
66607 else
66611 ac_ext=cc
66612 ac_cpp='$CXXCPP $CPPFLAGS'
66613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66617 cat >conftest.$ac_ext <<_ACEOF
66618 /* confdefs.h. */
66619 _ACEOF
66620 cat confdefs.h >>conftest.$ac_ext
66621 cat >>conftest.$ac_ext <<_ACEOF
66622 /* end confdefs.h. */
66623 #include <math.h>
66625 main ()
66627 _fmodl(0, 0);
66629 return 0;
66631 _ACEOF
66632 rm -f conftest.$ac_objext
66633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66634 (eval $ac_compile) 2>conftest.er1
66635 ac_status=$?
66636 grep -v '^ *+' conftest.er1 >conftest.err
66637 rm -f conftest.er1
66638 cat conftest.err >&5
66639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66640 (exit $ac_status); } &&
66641 { ac_try='test -z "$ac_cxx_werror_flag"
66642 || test ! -s conftest.err'
66643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66644 (eval $ac_try) 2>&5
66645 ac_status=$?
66646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66647 (exit $ac_status); }; } &&
66648 { ac_try='test -s conftest.$ac_objext'
66649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66650 (eval $ac_try) 2>&5
66651 ac_status=$?
66652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66653 (exit $ac_status); }; }; then
66654 glibcxx_cv_func__fmodl_use=yes
66655 else
66656 echo "$as_me: failed program was:" >&5
66657 sed 's/^/| /' conftest.$ac_ext >&5
66659 glibcxx_cv_func__fmodl_use=no
66661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66662 ac_ext=c
66663 ac_cpp='$CPP $CPPFLAGS'
66664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66672 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
66673 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
66675 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66677 for ac_func in _fmodl
66679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66680 echo "$as_me:$LINENO: checking for $ac_func" >&5
66681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66682 if eval "test \"\${$as_ac_var+set}\" = set"; then
66683 echo $ECHO_N "(cached) $ECHO_C" >&6
66684 else
66685 if test x$gcc_no_link = xyes; then
66686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66688 { (exit 1); exit 1; }; }
66690 cat >conftest.$ac_ext <<_ACEOF
66691 /* confdefs.h. */
66692 _ACEOF
66693 cat confdefs.h >>conftest.$ac_ext
66694 cat >>conftest.$ac_ext <<_ACEOF
66695 /* end confdefs.h. */
66696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66698 #define $ac_func innocuous_$ac_func
66700 /* System header to define __stub macros and hopefully few prototypes,
66701 which can conflict with char $ac_func (); below.
66702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66703 <limits.h> exists even on freestanding compilers. */
66705 #ifdef __STDC__
66706 # include <limits.h>
66707 #else
66708 # include <assert.h>
66709 #endif
66711 #undef $ac_func
66713 /* Override any gcc2 internal prototype to avoid an error. */
66714 #ifdef __cplusplus
66715 extern "C"
66717 #endif
66718 /* We use char because int might match the return type of a gcc2
66719 builtin and then its argument prototype would still apply. */
66720 char $ac_func ();
66721 /* The GNU C library defines this for functions which it implements
66722 to always fail with ENOSYS. Some functions are actually named
66723 something starting with __ and the normal name is an alias. */
66724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66725 choke me
66726 #else
66727 char (*f) () = $ac_func;
66728 #endif
66729 #ifdef __cplusplus
66731 #endif
66734 main ()
66736 return f != $ac_func;
66738 return 0;
66740 _ACEOF
66741 rm -f conftest.$ac_objext conftest$ac_exeext
66742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66743 (eval $ac_link) 2>conftest.er1
66744 ac_status=$?
66745 grep -v '^ *+' conftest.er1 >conftest.err
66746 rm -f conftest.er1
66747 cat conftest.err >&5
66748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66749 (exit $ac_status); } &&
66750 { ac_try='test -z "$ac_c_werror_flag"
66751 || test ! -s conftest.err'
66752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66753 (eval $ac_try) 2>&5
66754 ac_status=$?
66755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66756 (exit $ac_status); }; } &&
66757 { ac_try='test -s conftest$ac_exeext'
66758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66759 (eval $ac_try) 2>&5
66760 ac_status=$?
66761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66762 (exit $ac_status); }; }; then
66763 eval "$as_ac_var=yes"
66764 else
66765 echo "$as_me: failed program was:" >&5
66766 sed 's/^/| /' conftest.$ac_ext >&5
66768 eval "$as_ac_var=no"
66770 rm -f conftest.err conftest.$ac_objext \
66771 conftest$ac_exeext conftest.$ac_ext
66773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66775 if test `eval echo '${'$as_ac_var'}'` = yes; then
66776 cat >>confdefs.h <<_ACEOF
66777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66778 _ACEOF
66781 done
66791 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66792 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66793 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66794 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66795 echo $ECHO_N "(cached) $ECHO_C" >&6
66796 else
66800 ac_ext=cc
66801 ac_cpp='$CXXCPP $CPPFLAGS'
66802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66806 cat >conftest.$ac_ext <<_ACEOF
66807 /* confdefs.h. */
66808 _ACEOF
66809 cat confdefs.h >>conftest.$ac_ext
66810 cat >>conftest.$ac_ext <<_ACEOF
66811 /* end confdefs.h. */
66812 #include <math.h>
66814 main ()
66816 frexpl(0, 0);
66818 return 0;
66820 _ACEOF
66821 rm -f conftest.$ac_objext
66822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66823 (eval $ac_compile) 2>conftest.er1
66824 ac_status=$?
66825 grep -v '^ *+' conftest.er1 >conftest.err
66826 rm -f conftest.er1
66827 cat conftest.err >&5
66828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66829 (exit $ac_status); } &&
66830 { ac_try='test -z "$ac_cxx_werror_flag"
66831 || test ! -s conftest.err'
66832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66833 (eval $ac_try) 2>&5
66834 ac_status=$?
66835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66836 (exit $ac_status); }; } &&
66837 { ac_try='test -s conftest.$ac_objext'
66838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66839 (eval $ac_try) 2>&5
66840 ac_status=$?
66841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66842 (exit $ac_status); }; }; then
66843 glibcxx_cv_func_frexpl_use=yes
66844 else
66845 echo "$as_me: failed program was:" >&5
66846 sed 's/^/| /' conftest.$ac_ext >&5
66848 glibcxx_cv_func_frexpl_use=no
66850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66851 ac_ext=c
66852 ac_cpp='$CPP $CPPFLAGS'
66853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66862 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66864 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66866 for ac_func in frexpl
66868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66869 echo "$as_me:$LINENO: checking for $ac_func" >&5
66870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66871 if eval "test \"\${$as_ac_var+set}\" = set"; then
66872 echo $ECHO_N "(cached) $ECHO_C" >&6
66873 else
66874 if test x$gcc_no_link = xyes; then
66875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66877 { (exit 1); exit 1; }; }
66879 cat >conftest.$ac_ext <<_ACEOF
66880 /* confdefs.h. */
66881 _ACEOF
66882 cat confdefs.h >>conftest.$ac_ext
66883 cat >>conftest.$ac_ext <<_ACEOF
66884 /* end confdefs.h. */
66885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66887 #define $ac_func innocuous_$ac_func
66889 /* System header to define __stub macros and hopefully few prototypes,
66890 which can conflict with char $ac_func (); below.
66891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66892 <limits.h> exists even on freestanding compilers. */
66894 #ifdef __STDC__
66895 # include <limits.h>
66896 #else
66897 # include <assert.h>
66898 #endif
66900 #undef $ac_func
66902 /* Override any gcc2 internal prototype to avoid an error. */
66903 #ifdef __cplusplus
66904 extern "C"
66906 #endif
66907 /* We use char because int might match the return type of a gcc2
66908 builtin and then its argument prototype would still apply. */
66909 char $ac_func ();
66910 /* The GNU C library defines this for functions which it implements
66911 to always fail with ENOSYS. Some functions are actually named
66912 something starting with __ and the normal name is an alias. */
66913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66914 choke me
66915 #else
66916 char (*f) () = $ac_func;
66917 #endif
66918 #ifdef __cplusplus
66920 #endif
66923 main ()
66925 return f != $ac_func;
66927 return 0;
66929 _ACEOF
66930 rm -f conftest.$ac_objext conftest$ac_exeext
66931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66932 (eval $ac_link) 2>conftest.er1
66933 ac_status=$?
66934 grep -v '^ *+' conftest.er1 >conftest.err
66935 rm -f conftest.er1
66936 cat conftest.err >&5
66937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66938 (exit $ac_status); } &&
66939 { ac_try='test -z "$ac_c_werror_flag"
66940 || test ! -s conftest.err'
66941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66942 (eval $ac_try) 2>&5
66943 ac_status=$?
66944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66945 (exit $ac_status); }; } &&
66946 { ac_try='test -s conftest$ac_exeext'
66947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66948 (eval $ac_try) 2>&5
66949 ac_status=$?
66950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66951 (exit $ac_status); }; }; then
66952 eval "$as_ac_var=yes"
66953 else
66954 echo "$as_me: failed program was:" >&5
66955 sed 's/^/| /' conftest.$ac_ext >&5
66957 eval "$as_ac_var=no"
66959 rm -f conftest.err conftest.$ac_objext \
66960 conftest$ac_exeext conftest.$ac_ext
66962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66964 if test `eval echo '${'$as_ac_var'}'` = yes; then
66965 cat >>confdefs.h <<_ACEOF
66966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66967 _ACEOF
66970 done
66972 else
66974 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66975 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66976 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66977 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66978 echo $ECHO_N "(cached) $ECHO_C" >&6
66979 else
66983 ac_ext=cc
66984 ac_cpp='$CXXCPP $CPPFLAGS'
66985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66989 cat >conftest.$ac_ext <<_ACEOF
66990 /* confdefs.h. */
66991 _ACEOF
66992 cat confdefs.h >>conftest.$ac_ext
66993 cat >>conftest.$ac_ext <<_ACEOF
66994 /* end confdefs.h. */
66995 #include <math.h>
66997 main ()
66999 _frexpl(0, 0);
67001 return 0;
67003 _ACEOF
67004 rm -f conftest.$ac_objext
67005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67006 (eval $ac_compile) 2>conftest.er1
67007 ac_status=$?
67008 grep -v '^ *+' conftest.er1 >conftest.err
67009 rm -f conftest.er1
67010 cat conftest.err >&5
67011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67012 (exit $ac_status); } &&
67013 { ac_try='test -z "$ac_cxx_werror_flag"
67014 || test ! -s conftest.err'
67015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67016 (eval $ac_try) 2>&5
67017 ac_status=$?
67018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67019 (exit $ac_status); }; } &&
67020 { ac_try='test -s conftest.$ac_objext'
67021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67022 (eval $ac_try) 2>&5
67023 ac_status=$?
67024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67025 (exit $ac_status); }; }; then
67026 glibcxx_cv_func__frexpl_use=yes
67027 else
67028 echo "$as_me: failed program was:" >&5
67029 sed 's/^/| /' conftest.$ac_ext >&5
67031 glibcxx_cv_func__frexpl_use=no
67033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67034 ac_ext=c
67035 ac_cpp='$CPP $CPPFLAGS'
67036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
67045 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
67047 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67049 for ac_func in _frexpl
67051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67052 echo "$as_me:$LINENO: checking for $ac_func" >&5
67053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67054 if eval "test \"\${$as_ac_var+set}\" = set"; then
67055 echo $ECHO_N "(cached) $ECHO_C" >&6
67056 else
67057 if test x$gcc_no_link = xyes; then
67058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67060 { (exit 1); exit 1; }; }
67062 cat >conftest.$ac_ext <<_ACEOF
67063 /* confdefs.h. */
67064 _ACEOF
67065 cat confdefs.h >>conftest.$ac_ext
67066 cat >>conftest.$ac_ext <<_ACEOF
67067 /* end confdefs.h. */
67068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67070 #define $ac_func innocuous_$ac_func
67072 /* System header to define __stub macros and hopefully few prototypes,
67073 which can conflict with char $ac_func (); below.
67074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67075 <limits.h> exists even on freestanding compilers. */
67077 #ifdef __STDC__
67078 # include <limits.h>
67079 #else
67080 # include <assert.h>
67081 #endif
67083 #undef $ac_func
67085 /* Override any gcc2 internal prototype to avoid an error. */
67086 #ifdef __cplusplus
67087 extern "C"
67089 #endif
67090 /* We use char because int might match the return type of a gcc2
67091 builtin and then its argument prototype would still apply. */
67092 char $ac_func ();
67093 /* The GNU C library defines this for functions which it implements
67094 to always fail with ENOSYS. Some functions are actually named
67095 something starting with __ and the normal name is an alias. */
67096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67097 choke me
67098 #else
67099 char (*f) () = $ac_func;
67100 #endif
67101 #ifdef __cplusplus
67103 #endif
67106 main ()
67108 return f != $ac_func;
67110 return 0;
67112 _ACEOF
67113 rm -f conftest.$ac_objext conftest$ac_exeext
67114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67115 (eval $ac_link) 2>conftest.er1
67116 ac_status=$?
67117 grep -v '^ *+' conftest.er1 >conftest.err
67118 rm -f conftest.er1
67119 cat conftest.err >&5
67120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67121 (exit $ac_status); } &&
67122 { ac_try='test -z "$ac_c_werror_flag"
67123 || test ! -s conftest.err'
67124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67125 (eval $ac_try) 2>&5
67126 ac_status=$?
67127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67128 (exit $ac_status); }; } &&
67129 { ac_try='test -s conftest$ac_exeext'
67130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67131 (eval $ac_try) 2>&5
67132 ac_status=$?
67133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67134 (exit $ac_status); }; }; then
67135 eval "$as_ac_var=yes"
67136 else
67137 echo "$as_me: failed program was:" >&5
67138 sed 's/^/| /' conftest.$ac_ext >&5
67140 eval "$as_ac_var=no"
67142 rm -f conftest.err conftest.$ac_objext \
67143 conftest$ac_exeext conftest.$ac_ext
67145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67147 if test `eval echo '${'$as_ac_var'}'` = yes; then
67148 cat >>confdefs.h <<_ACEOF
67149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67150 _ACEOF
67153 done
67163 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
67164 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
67165 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
67166 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
67167 echo $ECHO_N "(cached) $ECHO_C" >&6
67168 else
67172 ac_ext=cc
67173 ac_cpp='$CXXCPP $CPPFLAGS'
67174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67178 cat >conftest.$ac_ext <<_ACEOF
67179 /* confdefs.h. */
67180 _ACEOF
67181 cat confdefs.h >>conftest.$ac_ext
67182 cat >>conftest.$ac_ext <<_ACEOF
67183 /* end confdefs.h. */
67184 #include <math.h>
67186 main ()
67188 hypotl(0, 0);
67190 return 0;
67192 _ACEOF
67193 rm -f conftest.$ac_objext
67194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67195 (eval $ac_compile) 2>conftest.er1
67196 ac_status=$?
67197 grep -v '^ *+' conftest.er1 >conftest.err
67198 rm -f conftest.er1
67199 cat conftest.err >&5
67200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67201 (exit $ac_status); } &&
67202 { ac_try='test -z "$ac_cxx_werror_flag"
67203 || test ! -s conftest.err'
67204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67205 (eval $ac_try) 2>&5
67206 ac_status=$?
67207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67208 (exit $ac_status); }; } &&
67209 { ac_try='test -s conftest.$ac_objext'
67210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67211 (eval $ac_try) 2>&5
67212 ac_status=$?
67213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67214 (exit $ac_status); }; }; then
67215 glibcxx_cv_func_hypotl_use=yes
67216 else
67217 echo "$as_me: failed program was:" >&5
67218 sed 's/^/| /' conftest.$ac_ext >&5
67220 glibcxx_cv_func_hypotl_use=no
67222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67223 ac_ext=c
67224 ac_cpp='$CPP $CPPFLAGS'
67225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67234 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67236 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67238 for ac_func in hypotl
67240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67241 echo "$as_me:$LINENO: checking for $ac_func" >&5
67242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67243 if eval "test \"\${$as_ac_var+set}\" = set"; then
67244 echo $ECHO_N "(cached) $ECHO_C" >&6
67245 else
67246 if test x$gcc_no_link = xyes; then
67247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67249 { (exit 1); exit 1; }; }
67251 cat >conftest.$ac_ext <<_ACEOF
67252 /* confdefs.h. */
67253 _ACEOF
67254 cat confdefs.h >>conftest.$ac_ext
67255 cat >>conftest.$ac_ext <<_ACEOF
67256 /* end confdefs.h. */
67257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67259 #define $ac_func innocuous_$ac_func
67261 /* System header to define __stub macros and hopefully few prototypes,
67262 which can conflict with char $ac_func (); below.
67263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67264 <limits.h> exists even on freestanding compilers. */
67266 #ifdef __STDC__
67267 # include <limits.h>
67268 #else
67269 # include <assert.h>
67270 #endif
67272 #undef $ac_func
67274 /* Override any gcc2 internal prototype to avoid an error. */
67275 #ifdef __cplusplus
67276 extern "C"
67278 #endif
67279 /* We use char because int might match the return type of a gcc2
67280 builtin and then its argument prototype would still apply. */
67281 char $ac_func ();
67282 /* The GNU C library defines this for functions which it implements
67283 to always fail with ENOSYS. Some functions are actually named
67284 something starting with __ and the normal name is an alias. */
67285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67286 choke me
67287 #else
67288 char (*f) () = $ac_func;
67289 #endif
67290 #ifdef __cplusplus
67292 #endif
67295 main ()
67297 return f != $ac_func;
67299 return 0;
67301 _ACEOF
67302 rm -f conftest.$ac_objext conftest$ac_exeext
67303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67304 (eval $ac_link) 2>conftest.er1
67305 ac_status=$?
67306 grep -v '^ *+' conftest.er1 >conftest.err
67307 rm -f conftest.er1
67308 cat conftest.err >&5
67309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67310 (exit $ac_status); } &&
67311 { ac_try='test -z "$ac_c_werror_flag"
67312 || test ! -s conftest.err'
67313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67314 (eval $ac_try) 2>&5
67315 ac_status=$?
67316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67317 (exit $ac_status); }; } &&
67318 { ac_try='test -s conftest$ac_exeext'
67319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67320 (eval $ac_try) 2>&5
67321 ac_status=$?
67322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67323 (exit $ac_status); }; }; then
67324 eval "$as_ac_var=yes"
67325 else
67326 echo "$as_me: failed program was:" >&5
67327 sed 's/^/| /' conftest.$ac_ext >&5
67329 eval "$as_ac_var=no"
67331 rm -f conftest.err conftest.$ac_objext \
67332 conftest$ac_exeext conftest.$ac_ext
67334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67336 if test `eval echo '${'$as_ac_var'}'` = yes; then
67337 cat >>confdefs.h <<_ACEOF
67338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67339 _ACEOF
67342 done
67344 else
67346 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67347 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67348 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67349 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67350 echo $ECHO_N "(cached) $ECHO_C" >&6
67351 else
67355 ac_ext=cc
67356 ac_cpp='$CXXCPP $CPPFLAGS'
67357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67361 cat >conftest.$ac_ext <<_ACEOF
67362 /* confdefs.h. */
67363 _ACEOF
67364 cat confdefs.h >>conftest.$ac_ext
67365 cat >>conftest.$ac_ext <<_ACEOF
67366 /* end confdefs.h. */
67367 #include <math.h>
67369 main ()
67371 _hypotl(0, 0);
67373 return 0;
67375 _ACEOF
67376 rm -f conftest.$ac_objext
67377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67378 (eval $ac_compile) 2>conftest.er1
67379 ac_status=$?
67380 grep -v '^ *+' conftest.er1 >conftest.err
67381 rm -f conftest.er1
67382 cat conftest.err >&5
67383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67384 (exit $ac_status); } &&
67385 { ac_try='test -z "$ac_cxx_werror_flag"
67386 || test ! -s conftest.err'
67387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67388 (eval $ac_try) 2>&5
67389 ac_status=$?
67390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67391 (exit $ac_status); }; } &&
67392 { ac_try='test -s conftest.$ac_objext'
67393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67394 (eval $ac_try) 2>&5
67395 ac_status=$?
67396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67397 (exit $ac_status); }; }; then
67398 glibcxx_cv_func__hypotl_use=yes
67399 else
67400 echo "$as_me: failed program was:" >&5
67401 sed 's/^/| /' conftest.$ac_ext >&5
67403 glibcxx_cv_func__hypotl_use=no
67405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67406 ac_ext=c
67407 ac_cpp='$CPP $CPPFLAGS'
67408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67417 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67419 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67421 for ac_func in _hypotl
67423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67424 echo "$as_me:$LINENO: checking for $ac_func" >&5
67425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67426 if eval "test \"\${$as_ac_var+set}\" = set"; then
67427 echo $ECHO_N "(cached) $ECHO_C" >&6
67428 else
67429 if test x$gcc_no_link = xyes; then
67430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67432 { (exit 1); exit 1; }; }
67434 cat >conftest.$ac_ext <<_ACEOF
67435 /* confdefs.h. */
67436 _ACEOF
67437 cat confdefs.h >>conftest.$ac_ext
67438 cat >>conftest.$ac_ext <<_ACEOF
67439 /* end confdefs.h. */
67440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67442 #define $ac_func innocuous_$ac_func
67444 /* System header to define __stub macros and hopefully few prototypes,
67445 which can conflict with char $ac_func (); below.
67446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67447 <limits.h> exists even on freestanding compilers. */
67449 #ifdef __STDC__
67450 # include <limits.h>
67451 #else
67452 # include <assert.h>
67453 #endif
67455 #undef $ac_func
67457 /* Override any gcc2 internal prototype to avoid an error. */
67458 #ifdef __cplusplus
67459 extern "C"
67461 #endif
67462 /* We use char because int might match the return type of a gcc2
67463 builtin and then its argument prototype would still apply. */
67464 char $ac_func ();
67465 /* The GNU C library defines this for functions which it implements
67466 to always fail with ENOSYS. Some functions are actually named
67467 something starting with __ and the normal name is an alias. */
67468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67469 choke me
67470 #else
67471 char (*f) () = $ac_func;
67472 #endif
67473 #ifdef __cplusplus
67475 #endif
67478 main ()
67480 return f != $ac_func;
67482 return 0;
67484 _ACEOF
67485 rm -f conftest.$ac_objext conftest$ac_exeext
67486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67487 (eval $ac_link) 2>conftest.er1
67488 ac_status=$?
67489 grep -v '^ *+' conftest.er1 >conftest.err
67490 rm -f conftest.er1
67491 cat conftest.err >&5
67492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67493 (exit $ac_status); } &&
67494 { ac_try='test -z "$ac_c_werror_flag"
67495 || test ! -s conftest.err'
67496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67497 (eval $ac_try) 2>&5
67498 ac_status=$?
67499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67500 (exit $ac_status); }; } &&
67501 { ac_try='test -s conftest$ac_exeext'
67502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67503 (eval $ac_try) 2>&5
67504 ac_status=$?
67505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67506 (exit $ac_status); }; }; then
67507 eval "$as_ac_var=yes"
67508 else
67509 echo "$as_me: failed program was:" >&5
67510 sed 's/^/| /' conftest.$ac_ext >&5
67512 eval "$as_ac_var=no"
67514 rm -f conftest.err conftest.$ac_objext \
67515 conftest$ac_exeext conftest.$ac_ext
67517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67519 if test `eval echo '${'$as_ac_var'}'` = yes; then
67520 cat >>confdefs.h <<_ACEOF
67521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67522 _ACEOF
67525 done
67535 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
67536 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
67537 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67538 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
67539 echo $ECHO_N "(cached) $ECHO_C" >&6
67540 else
67544 ac_ext=cc
67545 ac_cpp='$CXXCPP $CPPFLAGS'
67546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67550 cat >conftest.$ac_ext <<_ACEOF
67551 /* confdefs.h. */
67552 _ACEOF
67553 cat confdefs.h >>conftest.$ac_ext
67554 cat >>conftest.$ac_ext <<_ACEOF
67555 /* end confdefs.h. */
67556 #include <math.h>
67558 main ()
67560 ldexpl(0, 0);
67562 return 0;
67564 _ACEOF
67565 rm -f conftest.$ac_objext
67566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67567 (eval $ac_compile) 2>conftest.er1
67568 ac_status=$?
67569 grep -v '^ *+' conftest.er1 >conftest.err
67570 rm -f conftest.er1
67571 cat conftest.err >&5
67572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67573 (exit $ac_status); } &&
67574 { ac_try='test -z "$ac_cxx_werror_flag"
67575 || test ! -s conftest.err'
67576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67577 (eval $ac_try) 2>&5
67578 ac_status=$?
67579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67580 (exit $ac_status); }; } &&
67581 { ac_try='test -s conftest.$ac_objext'
67582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67583 (eval $ac_try) 2>&5
67584 ac_status=$?
67585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67586 (exit $ac_status); }; }; then
67587 glibcxx_cv_func_ldexpl_use=yes
67588 else
67589 echo "$as_me: failed program was:" >&5
67590 sed 's/^/| /' conftest.$ac_ext >&5
67592 glibcxx_cv_func_ldexpl_use=no
67594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67595 ac_ext=c
67596 ac_cpp='$CPP $CPPFLAGS'
67597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67605 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
67606 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
67608 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67610 for ac_func in ldexpl
67612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67613 echo "$as_me:$LINENO: checking for $ac_func" >&5
67614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67615 if eval "test \"\${$as_ac_var+set}\" = set"; then
67616 echo $ECHO_N "(cached) $ECHO_C" >&6
67617 else
67618 if test x$gcc_no_link = xyes; then
67619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67621 { (exit 1); exit 1; }; }
67623 cat >conftest.$ac_ext <<_ACEOF
67624 /* confdefs.h. */
67625 _ACEOF
67626 cat confdefs.h >>conftest.$ac_ext
67627 cat >>conftest.$ac_ext <<_ACEOF
67628 /* end confdefs.h. */
67629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67631 #define $ac_func innocuous_$ac_func
67633 /* System header to define __stub macros and hopefully few prototypes,
67634 which can conflict with char $ac_func (); below.
67635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67636 <limits.h> exists even on freestanding compilers. */
67638 #ifdef __STDC__
67639 # include <limits.h>
67640 #else
67641 # include <assert.h>
67642 #endif
67644 #undef $ac_func
67646 /* Override any gcc2 internal prototype to avoid an error. */
67647 #ifdef __cplusplus
67648 extern "C"
67650 #endif
67651 /* We use char because int might match the return type of a gcc2
67652 builtin and then its argument prototype would still apply. */
67653 char $ac_func ();
67654 /* The GNU C library defines this for functions which it implements
67655 to always fail with ENOSYS. Some functions are actually named
67656 something starting with __ and the normal name is an alias. */
67657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67658 choke me
67659 #else
67660 char (*f) () = $ac_func;
67661 #endif
67662 #ifdef __cplusplus
67664 #endif
67667 main ()
67669 return f != $ac_func;
67671 return 0;
67673 _ACEOF
67674 rm -f conftest.$ac_objext conftest$ac_exeext
67675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67676 (eval $ac_link) 2>conftest.er1
67677 ac_status=$?
67678 grep -v '^ *+' conftest.er1 >conftest.err
67679 rm -f conftest.er1
67680 cat conftest.err >&5
67681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67682 (exit $ac_status); } &&
67683 { ac_try='test -z "$ac_c_werror_flag"
67684 || test ! -s conftest.err'
67685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67686 (eval $ac_try) 2>&5
67687 ac_status=$?
67688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67689 (exit $ac_status); }; } &&
67690 { ac_try='test -s conftest$ac_exeext'
67691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67692 (eval $ac_try) 2>&5
67693 ac_status=$?
67694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67695 (exit $ac_status); }; }; then
67696 eval "$as_ac_var=yes"
67697 else
67698 echo "$as_me: failed program was:" >&5
67699 sed 's/^/| /' conftest.$ac_ext >&5
67701 eval "$as_ac_var=no"
67703 rm -f conftest.err conftest.$ac_objext \
67704 conftest$ac_exeext conftest.$ac_ext
67706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67708 if test `eval echo '${'$as_ac_var'}'` = yes; then
67709 cat >>confdefs.h <<_ACEOF
67710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67711 _ACEOF
67714 done
67716 else
67718 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
67719 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
67720 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67721 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
67722 echo $ECHO_N "(cached) $ECHO_C" >&6
67723 else
67727 ac_ext=cc
67728 ac_cpp='$CXXCPP $CPPFLAGS'
67729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67733 cat >conftest.$ac_ext <<_ACEOF
67734 /* confdefs.h. */
67735 _ACEOF
67736 cat confdefs.h >>conftest.$ac_ext
67737 cat >>conftest.$ac_ext <<_ACEOF
67738 /* end confdefs.h. */
67739 #include <math.h>
67741 main ()
67743 _ldexpl(0, 0);
67745 return 0;
67747 _ACEOF
67748 rm -f conftest.$ac_objext
67749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67750 (eval $ac_compile) 2>conftest.er1
67751 ac_status=$?
67752 grep -v '^ *+' conftest.er1 >conftest.err
67753 rm -f conftest.er1
67754 cat conftest.err >&5
67755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67756 (exit $ac_status); } &&
67757 { ac_try='test -z "$ac_cxx_werror_flag"
67758 || test ! -s conftest.err'
67759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67760 (eval $ac_try) 2>&5
67761 ac_status=$?
67762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67763 (exit $ac_status); }; } &&
67764 { ac_try='test -s conftest.$ac_objext'
67765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67766 (eval $ac_try) 2>&5
67767 ac_status=$?
67768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67769 (exit $ac_status); }; }; then
67770 glibcxx_cv_func__ldexpl_use=yes
67771 else
67772 echo "$as_me: failed program was:" >&5
67773 sed 's/^/| /' conftest.$ac_ext >&5
67775 glibcxx_cv_func__ldexpl_use=no
67777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67778 ac_ext=c
67779 ac_cpp='$CPP $CPPFLAGS'
67780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67788 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67789 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67791 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67793 for ac_func in _ldexpl
67795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67796 echo "$as_me:$LINENO: checking for $ac_func" >&5
67797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67798 if eval "test \"\${$as_ac_var+set}\" = set"; then
67799 echo $ECHO_N "(cached) $ECHO_C" >&6
67800 else
67801 if test x$gcc_no_link = xyes; then
67802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67804 { (exit 1); exit 1; }; }
67806 cat >conftest.$ac_ext <<_ACEOF
67807 /* confdefs.h. */
67808 _ACEOF
67809 cat confdefs.h >>conftest.$ac_ext
67810 cat >>conftest.$ac_ext <<_ACEOF
67811 /* end confdefs.h. */
67812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67814 #define $ac_func innocuous_$ac_func
67816 /* System header to define __stub macros and hopefully few prototypes,
67817 which can conflict with char $ac_func (); below.
67818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67819 <limits.h> exists even on freestanding compilers. */
67821 #ifdef __STDC__
67822 # include <limits.h>
67823 #else
67824 # include <assert.h>
67825 #endif
67827 #undef $ac_func
67829 /* Override any gcc2 internal prototype to avoid an error. */
67830 #ifdef __cplusplus
67831 extern "C"
67833 #endif
67834 /* We use char because int might match the return type of a gcc2
67835 builtin and then its argument prototype would still apply. */
67836 char $ac_func ();
67837 /* The GNU C library defines this for functions which it implements
67838 to always fail with ENOSYS. Some functions are actually named
67839 something starting with __ and the normal name is an alias. */
67840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67841 choke me
67842 #else
67843 char (*f) () = $ac_func;
67844 #endif
67845 #ifdef __cplusplus
67847 #endif
67850 main ()
67852 return f != $ac_func;
67854 return 0;
67856 _ACEOF
67857 rm -f conftest.$ac_objext conftest$ac_exeext
67858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67859 (eval $ac_link) 2>conftest.er1
67860 ac_status=$?
67861 grep -v '^ *+' conftest.er1 >conftest.err
67862 rm -f conftest.er1
67863 cat conftest.err >&5
67864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67865 (exit $ac_status); } &&
67866 { ac_try='test -z "$ac_c_werror_flag"
67867 || test ! -s conftest.err'
67868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67869 (eval $ac_try) 2>&5
67870 ac_status=$?
67871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67872 (exit $ac_status); }; } &&
67873 { ac_try='test -s conftest$ac_exeext'
67874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67875 (eval $ac_try) 2>&5
67876 ac_status=$?
67877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67878 (exit $ac_status); }; }; then
67879 eval "$as_ac_var=yes"
67880 else
67881 echo "$as_me: failed program was:" >&5
67882 sed 's/^/| /' conftest.$ac_ext >&5
67884 eval "$as_ac_var=no"
67886 rm -f conftest.err conftest.$ac_objext \
67887 conftest$ac_exeext conftest.$ac_ext
67889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67891 if test `eval echo '${'$as_ac_var'}'` = yes; then
67892 cat >>confdefs.h <<_ACEOF
67893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67894 _ACEOF
67897 done
67907 echo "$as_me:$LINENO: checking for logl declaration" >&5
67908 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67909 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67910 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67911 echo $ECHO_N "(cached) $ECHO_C" >&6
67912 else
67916 ac_ext=cc
67917 ac_cpp='$CXXCPP $CPPFLAGS'
67918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67922 cat >conftest.$ac_ext <<_ACEOF
67923 /* confdefs.h. */
67924 _ACEOF
67925 cat confdefs.h >>conftest.$ac_ext
67926 cat >>conftest.$ac_ext <<_ACEOF
67927 /* end confdefs.h. */
67928 #include <math.h>
67929 #ifdef HAVE_IEEEFP_H
67930 #include <ieeefp.h>
67931 #endif
67934 main ()
67936 logl(0);
67938 return 0;
67940 _ACEOF
67941 rm -f conftest.$ac_objext
67942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67943 (eval $ac_compile) 2>conftest.er1
67944 ac_status=$?
67945 grep -v '^ *+' conftest.er1 >conftest.err
67946 rm -f conftest.er1
67947 cat conftest.err >&5
67948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67949 (exit $ac_status); } &&
67950 { ac_try='test -z "$ac_cxx_werror_flag"
67951 || test ! -s conftest.err'
67952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67953 (eval $ac_try) 2>&5
67954 ac_status=$?
67955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67956 (exit $ac_status); }; } &&
67957 { ac_try='test -s conftest.$ac_objext'
67958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67959 (eval $ac_try) 2>&5
67960 ac_status=$?
67961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67962 (exit $ac_status); }; }; then
67963 glibcxx_cv_func_logl_use=yes
67964 else
67965 echo "$as_me: failed program was:" >&5
67966 sed 's/^/| /' conftest.$ac_ext >&5
67968 glibcxx_cv_func_logl_use=no
67970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67971 ac_ext=c
67972 ac_cpp='$CPP $CPPFLAGS'
67973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67982 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67984 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67986 for ac_func in logl
67988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67989 echo "$as_me:$LINENO: checking for $ac_func" >&5
67990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67991 if eval "test \"\${$as_ac_var+set}\" = set"; then
67992 echo $ECHO_N "(cached) $ECHO_C" >&6
67993 else
67994 if test x$gcc_no_link = xyes; then
67995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67997 { (exit 1); exit 1; }; }
67999 cat >conftest.$ac_ext <<_ACEOF
68000 /* confdefs.h. */
68001 _ACEOF
68002 cat confdefs.h >>conftest.$ac_ext
68003 cat >>conftest.$ac_ext <<_ACEOF
68004 /* end confdefs.h. */
68005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68007 #define $ac_func innocuous_$ac_func
68009 /* System header to define __stub macros and hopefully few prototypes,
68010 which can conflict with char $ac_func (); below.
68011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68012 <limits.h> exists even on freestanding compilers. */
68014 #ifdef __STDC__
68015 # include <limits.h>
68016 #else
68017 # include <assert.h>
68018 #endif
68020 #undef $ac_func
68022 /* Override any gcc2 internal prototype to avoid an error. */
68023 #ifdef __cplusplus
68024 extern "C"
68026 #endif
68027 /* We use char because int might match the return type of a gcc2
68028 builtin and then its argument prototype would still apply. */
68029 char $ac_func ();
68030 /* The GNU C library defines this for functions which it implements
68031 to always fail with ENOSYS. Some functions are actually named
68032 something starting with __ and the normal name is an alias. */
68033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68034 choke me
68035 #else
68036 char (*f) () = $ac_func;
68037 #endif
68038 #ifdef __cplusplus
68040 #endif
68043 main ()
68045 return f != $ac_func;
68047 return 0;
68049 _ACEOF
68050 rm -f conftest.$ac_objext conftest$ac_exeext
68051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68052 (eval $ac_link) 2>conftest.er1
68053 ac_status=$?
68054 grep -v '^ *+' conftest.er1 >conftest.err
68055 rm -f conftest.er1
68056 cat conftest.err >&5
68057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68058 (exit $ac_status); } &&
68059 { ac_try='test -z "$ac_c_werror_flag"
68060 || test ! -s conftest.err'
68061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68062 (eval $ac_try) 2>&5
68063 ac_status=$?
68064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68065 (exit $ac_status); }; } &&
68066 { ac_try='test -s conftest$ac_exeext'
68067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68068 (eval $ac_try) 2>&5
68069 ac_status=$?
68070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68071 (exit $ac_status); }; }; then
68072 eval "$as_ac_var=yes"
68073 else
68074 echo "$as_me: failed program was:" >&5
68075 sed 's/^/| /' conftest.$ac_ext >&5
68077 eval "$as_ac_var=no"
68079 rm -f conftest.err conftest.$ac_objext \
68080 conftest$ac_exeext conftest.$ac_ext
68082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68084 if test `eval echo '${'$as_ac_var'}'` = yes; then
68085 cat >>confdefs.h <<_ACEOF
68086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68087 _ACEOF
68090 done
68092 else
68094 echo "$as_me:$LINENO: checking for _logl declaration" >&5
68095 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
68096 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68097 if test "${glibcxx_cv_func__logl_use+set}" = set; then
68098 echo $ECHO_N "(cached) $ECHO_C" >&6
68099 else
68103 ac_ext=cc
68104 ac_cpp='$CXXCPP $CPPFLAGS'
68105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68109 cat >conftest.$ac_ext <<_ACEOF
68110 /* confdefs.h. */
68111 _ACEOF
68112 cat confdefs.h >>conftest.$ac_ext
68113 cat >>conftest.$ac_ext <<_ACEOF
68114 /* end confdefs.h. */
68115 #include <math.h>
68116 #ifdef HAVE_IEEEFP_H
68117 #include <ieeefp.h>
68118 #endif
68121 main ()
68123 _logl(0);
68125 return 0;
68127 _ACEOF
68128 rm -f conftest.$ac_objext
68129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68130 (eval $ac_compile) 2>conftest.er1
68131 ac_status=$?
68132 grep -v '^ *+' conftest.er1 >conftest.err
68133 rm -f conftest.er1
68134 cat conftest.err >&5
68135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68136 (exit $ac_status); } &&
68137 { ac_try='test -z "$ac_cxx_werror_flag"
68138 || test ! -s conftest.err'
68139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68140 (eval $ac_try) 2>&5
68141 ac_status=$?
68142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68143 (exit $ac_status); }; } &&
68144 { ac_try='test -s conftest.$ac_objext'
68145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68146 (eval $ac_try) 2>&5
68147 ac_status=$?
68148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68149 (exit $ac_status); }; }; then
68150 glibcxx_cv_func__logl_use=yes
68151 else
68152 echo "$as_me: failed program was:" >&5
68153 sed 's/^/| /' conftest.$ac_ext >&5
68155 glibcxx_cv_func__logl_use=no
68157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68158 ac_ext=c
68159 ac_cpp='$CPP $CPPFLAGS'
68160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68168 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
68169 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
68171 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68173 for ac_func in _logl
68175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68176 echo "$as_me:$LINENO: checking for $ac_func" >&5
68177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68178 if eval "test \"\${$as_ac_var+set}\" = set"; then
68179 echo $ECHO_N "(cached) $ECHO_C" >&6
68180 else
68181 if test x$gcc_no_link = xyes; then
68182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68184 { (exit 1); exit 1; }; }
68186 cat >conftest.$ac_ext <<_ACEOF
68187 /* confdefs.h. */
68188 _ACEOF
68189 cat confdefs.h >>conftest.$ac_ext
68190 cat >>conftest.$ac_ext <<_ACEOF
68191 /* end confdefs.h. */
68192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68194 #define $ac_func innocuous_$ac_func
68196 /* System header to define __stub macros and hopefully few prototypes,
68197 which can conflict with char $ac_func (); below.
68198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68199 <limits.h> exists even on freestanding compilers. */
68201 #ifdef __STDC__
68202 # include <limits.h>
68203 #else
68204 # include <assert.h>
68205 #endif
68207 #undef $ac_func
68209 /* Override any gcc2 internal prototype to avoid an error. */
68210 #ifdef __cplusplus
68211 extern "C"
68213 #endif
68214 /* We use char because int might match the return type of a gcc2
68215 builtin and then its argument prototype would still apply. */
68216 char $ac_func ();
68217 /* The GNU C library defines this for functions which it implements
68218 to always fail with ENOSYS. Some functions are actually named
68219 something starting with __ and the normal name is an alias. */
68220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68221 choke me
68222 #else
68223 char (*f) () = $ac_func;
68224 #endif
68225 #ifdef __cplusplus
68227 #endif
68230 main ()
68232 return f != $ac_func;
68234 return 0;
68236 _ACEOF
68237 rm -f conftest.$ac_objext conftest$ac_exeext
68238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68239 (eval $ac_link) 2>conftest.er1
68240 ac_status=$?
68241 grep -v '^ *+' conftest.er1 >conftest.err
68242 rm -f conftest.er1
68243 cat conftest.err >&5
68244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68245 (exit $ac_status); } &&
68246 { ac_try='test -z "$ac_c_werror_flag"
68247 || test ! -s conftest.err'
68248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68249 (eval $ac_try) 2>&5
68250 ac_status=$?
68251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68252 (exit $ac_status); }; } &&
68253 { ac_try='test -s conftest$ac_exeext'
68254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68255 (eval $ac_try) 2>&5
68256 ac_status=$?
68257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68258 (exit $ac_status); }; }; then
68259 eval "$as_ac_var=yes"
68260 else
68261 echo "$as_me: failed program was:" >&5
68262 sed 's/^/| /' conftest.$ac_ext >&5
68264 eval "$as_ac_var=no"
68266 rm -f conftest.err conftest.$ac_objext \
68267 conftest$ac_exeext conftest.$ac_ext
68269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68271 if test `eval echo '${'$as_ac_var'}'` = yes; then
68272 cat >>confdefs.h <<_ACEOF
68273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68274 _ACEOF
68277 done
68287 echo "$as_me:$LINENO: checking for log10l declaration" >&5
68288 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68289 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68290 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68291 echo $ECHO_N "(cached) $ECHO_C" >&6
68292 else
68296 ac_ext=cc
68297 ac_cpp='$CXXCPP $CPPFLAGS'
68298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68302 cat >conftest.$ac_ext <<_ACEOF
68303 /* confdefs.h. */
68304 _ACEOF
68305 cat confdefs.h >>conftest.$ac_ext
68306 cat >>conftest.$ac_ext <<_ACEOF
68307 /* end confdefs.h. */
68308 #include <math.h>
68309 #ifdef HAVE_IEEEFP_H
68310 #include <ieeefp.h>
68311 #endif
68314 main ()
68316 log10l(0);
68318 return 0;
68320 _ACEOF
68321 rm -f conftest.$ac_objext
68322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68323 (eval $ac_compile) 2>conftest.er1
68324 ac_status=$?
68325 grep -v '^ *+' conftest.er1 >conftest.err
68326 rm -f conftest.er1
68327 cat conftest.err >&5
68328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68329 (exit $ac_status); } &&
68330 { ac_try='test -z "$ac_cxx_werror_flag"
68331 || test ! -s conftest.err'
68332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68333 (eval $ac_try) 2>&5
68334 ac_status=$?
68335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68336 (exit $ac_status); }; } &&
68337 { ac_try='test -s conftest.$ac_objext'
68338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68339 (eval $ac_try) 2>&5
68340 ac_status=$?
68341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68342 (exit $ac_status); }; }; then
68343 glibcxx_cv_func_log10l_use=yes
68344 else
68345 echo "$as_me: failed program was:" >&5
68346 sed 's/^/| /' conftest.$ac_ext >&5
68348 glibcxx_cv_func_log10l_use=no
68350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68351 ac_ext=c
68352 ac_cpp='$CPP $CPPFLAGS'
68353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68362 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68364 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68366 for ac_func in log10l
68368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68369 echo "$as_me:$LINENO: checking for $ac_func" >&5
68370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68371 if eval "test \"\${$as_ac_var+set}\" = set"; then
68372 echo $ECHO_N "(cached) $ECHO_C" >&6
68373 else
68374 if test x$gcc_no_link = xyes; then
68375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68377 { (exit 1); exit 1; }; }
68379 cat >conftest.$ac_ext <<_ACEOF
68380 /* confdefs.h. */
68381 _ACEOF
68382 cat confdefs.h >>conftest.$ac_ext
68383 cat >>conftest.$ac_ext <<_ACEOF
68384 /* end confdefs.h. */
68385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68387 #define $ac_func innocuous_$ac_func
68389 /* System header to define __stub macros and hopefully few prototypes,
68390 which can conflict with char $ac_func (); below.
68391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68392 <limits.h> exists even on freestanding compilers. */
68394 #ifdef __STDC__
68395 # include <limits.h>
68396 #else
68397 # include <assert.h>
68398 #endif
68400 #undef $ac_func
68402 /* Override any gcc2 internal prototype to avoid an error. */
68403 #ifdef __cplusplus
68404 extern "C"
68406 #endif
68407 /* We use char because int might match the return type of a gcc2
68408 builtin and then its argument prototype would still apply. */
68409 char $ac_func ();
68410 /* The GNU C library defines this for functions which it implements
68411 to always fail with ENOSYS. Some functions are actually named
68412 something starting with __ and the normal name is an alias. */
68413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68414 choke me
68415 #else
68416 char (*f) () = $ac_func;
68417 #endif
68418 #ifdef __cplusplus
68420 #endif
68423 main ()
68425 return f != $ac_func;
68427 return 0;
68429 _ACEOF
68430 rm -f conftest.$ac_objext conftest$ac_exeext
68431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68432 (eval $ac_link) 2>conftest.er1
68433 ac_status=$?
68434 grep -v '^ *+' conftest.er1 >conftest.err
68435 rm -f conftest.er1
68436 cat conftest.err >&5
68437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68438 (exit $ac_status); } &&
68439 { ac_try='test -z "$ac_c_werror_flag"
68440 || test ! -s conftest.err'
68441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68442 (eval $ac_try) 2>&5
68443 ac_status=$?
68444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68445 (exit $ac_status); }; } &&
68446 { ac_try='test -s conftest$ac_exeext'
68447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68448 (eval $ac_try) 2>&5
68449 ac_status=$?
68450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68451 (exit $ac_status); }; }; then
68452 eval "$as_ac_var=yes"
68453 else
68454 echo "$as_me: failed program was:" >&5
68455 sed 's/^/| /' conftest.$ac_ext >&5
68457 eval "$as_ac_var=no"
68459 rm -f conftest.err conftest.$ac_objext \
68460 conftest$ac_exeext conftest.$ac_ext
68462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68464 if test `eval echo '${'$as_ac_var'}'` = yes; then
68465 cat >>confdefs.h <<_ACEOF
68466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68467 _ACEOF
68470 done
68472 else
68474 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
68475 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
68476 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68477 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
68478 echo $ECHO_N "(cached) $ECHO_C" >&6
68479 else
68483 ac_ext=cc
68484 ac_cpp='$CXXCPP $CPPFLAGS'
68485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68489 cat >conftest.$ac_ext <<_ACEOF
68490 /* confdefs.h. */
68491 _ACEOF
68492 cat confdefs.h >>conftest.$ac_ext
68493 cat >>conftest.$ac_ext <<_ACEOF
68494 /* end confdefs.h. */
68495 #include <math.h>
68496 #ifdef HAVE_IEEEFP_H
68497 #include <ieeefp.h>
68498 #endif
68501 main ()
68503 _log10l(0);
68505 return 0;
68507 _ACEOF
68508 rm -f conftest.$ac_objext
68509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68510 (eval $ac_compile) 2>conftest.er1
68511 ac_status=$?
68512 grep -v '^ *+' conftest.er1 >conftest.err
68513 rm -f conftest.er1
68514 cat conftest.err >&5
68515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68516 (exit $ac_status); } &&
68517 { ac_try='test -z "$ac_cxx_werror_flag"
68518 || test ! -s conftest.err'
68519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68520 (eval $ac_try) 2>&5
68521 ac_status=$?
68522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68523 (exit $ac_status); }; } &&
68524 { ac_try='test -s conftest.$ac_objext'
68525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68526 (eval $ac_try) 2>&5
68527 ac_status=$?
68528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68529 (exit $ac_status); }; }; then
68530 glibcxx_cv_func__log10l_use=yes
68531 else
68532 echo "$as_me: failed program was:" >&5
68533 sed 's/^/| /' conftest.$ac_ext >&5
68535 glibcxx_cv_func__log10l_use=no
68537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68538 ac_ext=c
68539 ac_cpp='$CPP $CPPFLAGS'
68540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68548 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
68549 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
68551 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68553 for ac_func in _log10l
68555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68556 echo "$as_me:$LINENO: checking for $ac_func" >&5
68557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68558 if eval "test \"\${$as_ac_var+set}\" = set"; then
68559 echo $ECHO_N "(cached) $ECHO_C" >&6
68560 else
68561 if test x$gcc_no_link = xyes; then
68562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68564 { (exit 1); exit 1; }; }
68566 cat >conftest.$ac_ext <<_ACEOF
68567 /* confdefs.h. */
68568 _ACEOF
68569 cat confdefs.h >>conftest.$ac_ext
68570 cat >>conftest.$ac_ext <<_ACEOF
68571 /* end confdefs.h. */
68572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68574 #define $ac_func innocuous_$ac_func
68576 /* System header to define __stub macros and hopefully few prototypes,
68577 which can conflict with char $ac_func (); below.
68578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68579 <limits.h> exists even on freestanding compilers. */
68581 #ifdef __STDC__
68582 # include <limits.h>
68583 #else
68584 # include <assert.h>
68585 #endif
68587 #undef $ac_func
68589 /* Override any gcc2 internal prototype to avoid an error. */
68590 #ifdef __cplusplus
68591 extern "C"
68593 #endif
68594 /* We use char because int might match the return type of a gcc2
68595 builtin and then its argument prototype would still apply. */
68596 char $ac_func ();
68597 /* The GNU C library defines this for functions which it implements
68598 to always fail with ENOSYS. Some functions are actually named
68599 something starting with __ and the normal name is an alias. */
68600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68601 choke me
68602 #else
68603 char (*f) () = $ac_func;
68604 #endif
68605 #ifdef __cplusplus
68607 #endif
68610 main ()
68612 return f != $ac_func;
68614 return 0;
68616 _ACEOF
68617 rm -f conftest.$ac_objext conftest$ac_exeext
68618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68619 (eval $ac_link) 2>conftest.er1
68620 ac_status=$?
68621 grep -v '^ *+' conftest.er1 >conftest.err
68622 rm -f conftest.er1
68623 cat conftest.err >&5
68624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68625 (exit $ac_status); } &&
68626 { ac_try='test -z "$ac_c_werror_flag"
68627 || test ! -s conftest.err'
68628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68629 (eval $ac_try) 2>&5
68630 ac_status=$?
68631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68632 (exit $ac_status); }; } &&
68633 { ac_try='test -s conftest$ac_exeext'
68634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68635 (eval $ac_try) 2>&5
68636 ac_status=$?
68637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68638 (exit $ac_status); }; }; then
68639 eval "$as_ac_var=yes"
68640 else
68641 echo "$as_me: failed program was:" >&5
68642 sed 's/^/| /' conftest.$ac_ext >&5
68644 eval "$as_ac_var=no"
68646 rm -f conftest.err conftest.$ac_objext \
68647 conftest$ac_exeext conftest.$ac_ext
68649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68651 if test `eval echo '${'$as_ac_var'}'` = yes; then
68652 cat >>confdefs.h <<_ACEOF
68653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68654 _ACEOF
68657 done
68667 echo "$as_me:$LINENO: checking for modfl declaration" >&5
68668 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
68669 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68670 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
68671 echo $ECHO_N "(cached) $ECHO_C" >&6
68672 else
68676 ac_ext=cc
68677 ac_cpp='$CXXCPP $CPPFLAGS'
68678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68682 cat >conftest.$ac_ext <<_ACEOF
68683 /* confdefs.h. */
68684 _ACEOF
68685 cat confdefs.h >>conftest.$ac_ext
68686 cat >>conftest.$ac_ext <<_ACEOF
68687 /* end confdefs.h. */
68688 #include <math.h>
68690 main ()
68692 modfl(0, 0);
68694 return 0;
68696 _ACEOF
68697 rm -f conftest.$ac_objext
68698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68699 (eval $ac_compile) 2>conftest.er1
68700 ac_status=$?
68701 grep -v '^ *+' conftest.er1 >conftest.err
68702 rm -f conftest.er1
68703 cat conftest.err >&5
68704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68705 (exit $ac_status); } &&
68706 { ac_try='test -z "$ac_cxx_werror_flag"
68707 || test ! -s conftest.err'
68708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68709 (eval $ac_try) 2>&5
68710 ac_status=$?
68711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68712 (exit $ac_status); }; } &&
68713 { ac_try='test -s conftest.$ac_objext'
68714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68715 (eval $ac_try) 2>&5
68716 ac_status=$?
68717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68718 (exit $ac_status); }; }; then
68719 glibcxx_cv_func_modfl_use=yes
68720 else
68721 echo "$as_me: failed program was:" >&5
68722 sed 's/^/| /' conftest.$ac_ext >&5
68724 glibcxx_cv_func_modfl_use=no
68726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68727 ac_ext=c
68728 ac_cpp='$CPP $CPPFLAGS'
68729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68738 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68740 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68742 for ac_func in modfl
68744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68745 echo "$as_me:$LINENO: checking for $ac_func" >&5
68746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68747 if eval "test \"\${$as_ac_var+set}\" = set"; then
68748 echo $ECHO_N "(cached) $ECHO_C" >&6
68749 else
68750 if test x$gcc_no_link = xyes; then
68751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68753 { (exit 1); exit 1; }; }
68755 cat >conftest.$ac_ext <<_ACEOF
68756 /* confdefs.h. */
68757 _ACEOF
68758 cat confdefs.h >>conftest.$ac_ext
68759 cat >>conftest.$ac_ext <<_ACEOF
68760 /* end confdefs.h. */
68761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68763 #define $ac_func innocuous_$ac_func
68765 /* System header to define __stub macros and hopefully few prototypes,
68766 which can conflict with char $ac_func (); below.
68767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68768 <limits.h> exists even on freestanding compilers. */
68770 #ifdef __STDC__
68771 # include <limits.h>
68772 #else
68773 # include <assert.h>
68774 #endif
68776 #undef $ac_func
68778 /* Override any gcc2 internal prototype to avoid an error. */
68779 #ifdef __cplusplus
68780 extern "C"
68782 #endif
68783 /* We use char because int might match the return type of a gcc2
68784 builtin and then its argument prototype would still apply. */
68785 char $ac_func ();
68786 /* The GNU C library defines this for functions which it implements
68787 to always fail with ENOSYS. Some functions are actually named
68788 something starting with __ and the normal name is an alias. */
68789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68790 choke me
68791 #else
68792 char (*f) () = $ac_func;
68793 #endif
68794 #ifdef __cplusplus
68796 #endif
68799 main ()
68801 return f != $ac_func;
68803 return 0;
68805 _ACEOF
68806 rm -f conftest.$ac_objext conftest$ac_exeext
68807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68808 (eval $ac_link) 2>conftest.er1
68809 ac_status=$?
68810 grep -v '^ *+' conftest.er1 >conftest.err
68811 rm -f conftest.er1
68812 cat conftest.err >&5
68813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68814 (exit $ac_status); } &&
68815 { ac_try='test -z "$ac_c_werror_flag"
68816 || test ! -s conftest.err'
68817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68818 (eval $ac_try) 2>&5
68819 ac_status=$?
68820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68821 (exit $ac_status); }; } &&
68822 { ac_try='test -s conftest$ac_exeext'
68823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68824 (eval $ac_try) 2>&5
68825 ac_status=$?
68826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68827 (exit $ac_status); }; }; then
68828 eval "$as_ac_var=yes"
68829 else
68830 echo "$as_me: failed program was:" >&5
68831 sed 's/^/| /' conftest.$ac_ext >&5
68833 eval "$as_ac_var=no"
68835 rm -f conftest.err conftest.$ac_objext \
68836 conftest$ac_exeext conftest.$ac_ext
68838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68840 if test `eval echo '${'$as_ac_var'}'` = yes; then
68841 cat >>confdefs.h <<_ACEOF
68842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68843 _ACEOF
68846 done
68848 else
68850 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68851 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68852 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68853 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68854 echo $ECHO_N "(cached) $ECHO_C" >&6
68855 else
68859 ac_ext=cc
68860 ac_cpp='$CXXCPP $CPPFLAGS'
68861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68865 cat >conftest.$ac_ext <<_ACEOF
68866 /* confdefs.h. */
68867 _ACEOF
68868 cat confdefs.h >>conftest.$ac_ext
68869 cat >>conftest.$ac_ext <<_ACEOF
68870 /* end confdefs.h. */
68871 #include <math.h>
68873 main ()
68875 _modfl(0, 0);
68877 return 0;
68879 _ACEOF
68880 rm -f conftest.$ac_objext
68881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68882 (eval $ac_compile) 2>conftest.er1
68883 ac_status=$?
68884 grep -v '^ *+' conftest.er1 >conftest.err
68885 rm -f conftest.er1
68886 cat conftest.err >&5
68887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68888 (exit $ac_status); } &&
68889 { ac_try='test -z "$ac_cxx_werror_flag"
68890 || test ! -s conftest.err'
68891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68892 (eval $ac_try) 2>&5
68893 ac_status=$?
68894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68895 (exit $ac_status); }; } &&
68896 { ac_try='test -s conftest.$ac_objext'
68897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68898 (eval $ac_try) 2>&5
68899 ac_status=$?
68900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68901 (exit $ac_status); }; }; then
68902 glibcxx_cv_func__modfl_use=yes
68903 else
68904 echo "$as_me: failed program was:" >&5
68905 sed 's/^/| /' conftest.$ac_ext >&5
68907 glibcxx_cv_func__modfl_use=no
68909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68910 ac_ext=c
68911 ac_cpp='$CPP $CPPFLAGS'
68912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68921 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68923 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68925 for ac_func in _modfl
68927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68928 echo "$as_me:$LINENO: checking for $ac_func" >&5
68929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68930 if eval "test \"\${$as_ac_var+set}\" = set"; then
68931 echo $ECHO_N "(cached) $ECHO_C" >&6
68932 else
68933 if test x$gcc_no_link = xyes; then
68934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68936 { (exit 1); exit 1; }; }
68938 cat >conftest.$ac_ext <<_ACEOF
68939 /* confdefs.h. */
68940 _ACEOF
68941 cat confdefs.h >>conftest.$ac_ext
68942 cat >>conftest.$ac_ext <<_ACEOF
68943 /* end confdefs.h. */
68944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68946 #define $ac_func innocuous_$ac_func
68948 /* System header to define __stub macros and hopefully few prototypes,
68949 which can conflict with char $ac_func (); below.
68950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68951 <limits.h> exists even on freestanding compilers. */
68953 #ifdef __STDC__
68954 # include <limits.h>
68955 #else
68956 # include <assert.h>
68957 #endif
68959 #undef $ac_func
68961 /* Override any gcc2 internal prototype to avoid an error. */
68962 #ifdef __cplusplus
68963 extern "C"
68965 #endif
68966 /* We use char because int might match the return type of a gcc2
68967 builtin and then its argument prototype would still apply. */
68968 char $ac_func ();
68969 /* The GNU C library defines this for functions which it implements
68970 to always fail with ENOSYS. Some functions are actually named
68971 something starting with __ and the normal name is an alias. */
68972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68973 choke me
68974 #else
68975 char (*f) () = $ac_func;
68976 #endif
68977 #ifdef __cplusplus
68979 #endif
68982 main ()
68984 return f != $ac_func;
68986 return 0;
68988 _ACEOF
68989 rm -f conftest.$ac_objext conftest$ac_exeext
68990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68991 (eval $ac_link) 2>conftest.er1
68992 ac_status=$?
68993 grep -v '^ *+' conftest.er1 >conftest.err
68994 rm -f conftest.er1
68995 cat conftest.err >&5
68996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68997 (exit $ac_status); } &&
68998 { ac_try='test -z "$ac_c_werror_flag"
68999 || test ! -s conftest.err'
69000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69001 (eval $ac_try) 2>&5
69002 ac_status=$?
69003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69004 (exit $ac_status); }; } &&
69005 { ac_try='test -s conftest$ac_exeext'
69006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69007 (eval $ac_try) 2>&5
69008 ac_status=$?
69009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69010 (exit $ac_status); }; }; then
69011 eval "$as_ac_var=yes"
69012 else
69013 echo "$as_me: failed program was:" >&5
69014 sed 's/^/| /' conftest.$ac_ext >&5
69016 eval "$as_ac_var=no"
69018 rm -f conftest.err conftest.$ac_objext \
69019 conftest$ac_exeext conftest.$ac_ext
69021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69023 if test `eval echo '${'$as_ac_var'}'` = yes; then
69024 cat >>confdefs.h <<_ACEOF
69025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69026 _ACEOF
69029 done
69039 echo "$as_me:$LINENO: checking for powl declaration" >&5
69040 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
69041 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69042 if test "${glibcxx_cv_func_powl_use+set}" = set; then
69043 echo $ECHO_N "(cached) $ECHO_C" >&6
69044 else
69048 ac_ext=cc
69049 ac_cpp='$CXXCPP $CPPFLAGS'
69050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69054 cat >conftest.$ac_ext <<_ACEOF
69055 /* confdefs.h. */
69056 _ACEOF
69057 cat confdefs.h >>conftest.$ac_ext
69058 cat >>conftest.$ac_ext <<_ACEOF
69059 /* end confdefs.h. */
69060 #include <math.h>
69062 main ()
69064 powl(0, 0);
69066 return 0;
69068 _ACEOF
69069 rm -f conftest.$ac_objext
69070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69071 (eval $ac_compile) 2>conftest.er1
69072 ac_status=$?
69073 grep -v '^ *+' conftest.er1 >conftest.err
69074 rm -f conftest.er1
69075 cat conftest.err >&5
69076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69077 (exit $ac_status); } &&
69078 { ac_try='test -z "$ac_cxx_werror_flag"
69079 || test ! -s conftest.err'
69080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69081 (eval $ac_try) 2>&5
69082 ac_status=$?
69083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69084 (exit $ac_status); }; } &&
69085 { ac_try='test -s conftest.$ac_objext'
69086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69087 (eval $ac_try) 2>&5
69088 ac_status=$?
69089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69090 (exit $ac_status); }; }; then
69091 glibcxx_cv_func_powl_use=yes
69092 else
69093 echo "$as_me: failed program was:" >&5
69094 sed 's/^/| /' conftest.$ac_ext >&5
69096 glibcxx_cv_func_powl_use=no
69098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69099 ac_ext=c
69100 ac_cpp='$CPP $CPPFLAGS'
69101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
69110 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
69112 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69114 for ac_func in powl
69116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69117 echo "$as_me:$LINENO: checking for $ac_func" >&5
69118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69119 if eval "test \"\${$as_ac_var+set}\" = set"; then
69120 echo $ECHO_N "(cached) $ECHO_C" >&6
69121 else
69122 if test x$gcc_no_link = xyes; then
69123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69125 { (exit 1); exit 1; }; }
69127 cat >conftest.$ac_ext <<_ACEOF
69128 /* confdefs.h. */
69129 _ACEOF
69130 cat confdefs.h >>conftest.$ac_ext
69131 cat >>conftest.$ac_ext <<_ACEOF
69132 /* end confdefs.h. */
69133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69135 #define $ac_func innocuous_$ac_func
69137 /* System header to define __stub macros and hopefully few prototypes,
69138 which can conflict with char $ac_func (); below.
69139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69140 <limits.h> exists even on freestanding compilers. */
69142 #ifdef __STDC__
69143 # include <limits.h>
69144 #else
69145 # include <assert.h>
69146 #endif
69148 #undef $ac_func
69150 /* Override any gcc2 internal prototype to avoid an error. */
69151 #ifdef __cplusplus
69152 extern "C"
69154 #endif
69155 /* We use char because int might match the return type of a gcc2
69156 builtin and then its argument prototype would still apply. */
69157 char $ac_func ();
69158 /* The GNU C library defines this for functions which it implements
69159 to always fail with ENOSYS. Some functions are actually named
69160 something starting with __ and the normal name is an alias. */
69161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69162 choke me
69163 #else
69164 char (*f) () = $ac_func;
69165 #endif
69166 #ifdef __cplusplus
69168 #endif
69171 main ()
69173 return f != $ac_func;
69175 return 0;
69177 _ACEOF
69178 rm -f conftest.$ac_objext conftest$ac_exeext
69179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69180 (eval $ac_link) 2>conftest.er1
69181 ac_status=$?
69182 grep -v '^ *+' conftest.er1 >conftest.err
69183 rm -f conftest.er1
69184 cat conftest.err >&5
69185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69186 (exit $ac_status); } &&
69187 { ac_try='test -z "$ac_c_werror_flag"
69188 || test ! -s conftest.err'
69189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69190 (eval $ac_try) 2>&5
69191 ac_status=$?
69192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69193 (exit $ac_status); }; } &&
69194 { ac_try='test -s conftest$ac_exeext'
69195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69196 (eval $ac_try) 2>&5
69197 ac_status=$?
69198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69199 (exit $ac_status); }; }; then
69200 eval "$as_ac_var=yes"
69201 else
69202 echo "$as_me: failed program was:" >&5
69203 sed 's/^/| /' conftest.$ac_ext >&5
69205 eval "$as_ac_var=no"
69207 rm -f conftest.err conftest.$ac_objext \
69208 conftest$ac_exeext conftest.$ac_ext
69210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69212 if test `eval echo '${'$as_ac_var'}'` = yes; then
69213 cat >>confdefs.h <<_ACEOF
69214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69215 _ACEOF
69218 done
69220 else
69222 echo "$as_me:$LINENO: checking for _powl declaration" >&5
69223 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
69224 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69225 if test "${glibcxx_cv_func__powl_use+set}" = set; then
69226 echo $ECHO_N "(cached) $ECHO_C" >&6
69227 else
69231 ac_ext=cc
69232 ac_cpp='$CXXCPP $CPPFLAGS'
69233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69237 cat >conftest.$ac_ext <<_ACEOF
69238 /* confdefs.h. */
69239 _ACEOF
69240 cat confdefs.h >>conftest.$ac_ext
69241 cat >>conftest.$ac_ext <<_ACEOF
69242 /* end confdefs.h. */
69243 #include <math.h>
69245 main ()
69247 _powl(0, 0);
69249 return 0;
69251 _ACEOF
69252 rm -f conftest.$ac_objext
69253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69254 (eval $ac_compile) 2>conftest.er1
69255 ac_status=$?
69256 grep -v '^ *+' conftest.er1 >conftest.err
69257 rm -f conftest.er1
69258 cat conftest.err >&5
69259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69260 (exit $ac_status); } &&
69261 { ac_try='test -z "$ac_cxx_werror_flag"
69262 || test ! -s conftest.err'
69263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69264 (eval $ac_try) 2>&5
69265 ac_status=$?
69266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69267 (exit $ac_status); }; } &&
69268 { ac_try='test -s conftest.$ac_objext'
69269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69270 (eval $ac_try) 2>&5
69271 ac_status=$?
69272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69273 (exit $ac_status); }; }; then
69274 glibcxx_cv_func__powl_use=yes
69275 else
69276 echo "$as_me: failed program was:" >&5
69277 sed 's/^/| /' conftest.$ac_ext >&5
69279 glibcxx_cv_func__powl_use=no
69281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69282 ac_ext=c
69283 ac_cpp='$CPP $CPPFLAGS'
69284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69293 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69295 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69297 for ac_func in _powl
69299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69300 echo "$as_me:$LINENO: checking for $ac_func" >&5
69301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69302 if eval "test \"\${$as_ac_var+set}\" = set"; then
69303 echo $ECHO_N "(cached) $ECHO_C" >&6
69304 else
69305 if test x$gcc_no_link = xyes; then
69306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69308 { (exit 1); exit 1; }; }
69310 cat >conftest.$ac_ext <<_ACEOF
69311 /* confdefs.h. */
69312 _ACEOF
69313 cat confdefs.h >>conftest.$ac_ext
69314 cat >>conftest.$ac_ext <<_ACEOF
69315 /* end confdefs.h. */
69316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69318 #define $ac_func innocuous_$ac_func
69320 /* System header to define __stub macros and hopefully few prototypes,
69321 which can conflict with char $ac_func (); below.
69322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69323 <limits.h> exists even on freestanding compilers. */
69325 #ifdef __STDC__
69326 # include <limits.h>
69327 #else
69328 # include <assert.h>
69329 #endif
69331 #undef $ac_func
69333 /* Override any gcc2 internal prototype to avoid an error. */
69334 #ifdef __cplusplus
69335 extern "C"
69337 #endif
69338 /* We use char because int might match the return type of a gcc2
69339 builtin and then its argument prototype would still apply. */
69340 char $ac_func ();
69341 /* The GNU C library defines this for functions which it implements
69342 to always fail with ENOSYS. Some functions are actually named
69343 something starting with __ and the normal name is an alias. */
69344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69345 choke me
69346 #else
69347 char (*f) () = $ac_func;
69348 #endif
69349 #ifdef __cplusplus
69351 #endif
69354 main ()
69356 return f != $ac_func;
69358 return 0;
69360 _ACEOF
69361 rm -f conftest.$ac_objext conftest$ac_exeext
69362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69363 (eval $ac_link) 2>conftest.er1
69364 ac_status=$?
69365 grep -v '^ *+' conftest.er1 >conftest.err
69366 rm -f conftest.er1
69367 cat conftest.err >&5
69368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69369 (exit $ac_status); } &&
69370 { ac_try='test -z "$ac_c_werror_flag"
69371 || test ! -s conftest.err'
69372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69373 (eval $ac_try) 2>&5
69374 ac_status=$?
69375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69376 (exit $ac_status); }; } &&
69377 { ac_try='test -s conftest$ac_exeext'
69378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69379 (eval $ac_try) 2>&5
69380 ac_status=$?
69381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69382 (exit $ac_status); }; }; then
69383 eval "$as_ac_var=yes"
69384 else
69385 echo "$as_me: failed program was:" >&5
69386 sed 's/^/| /' conftest.$ac_ext >&5
69388 eval "$as_ac_var=no"
69390 rm -f conftest.err conftest.$ac_objext \
69391 conftest$ac_exeext conftest.$ac_ext
69393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69395 if test `eval echo '${'$as_ac_var'}'` = yes; then
69396 cat >>confdefs.h <<_ACEOF
69397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69398 _ACEOF
69401 done
69411 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69412 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69413 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69414 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69415 echo $ECHO_N "(cached) $ECHO_C" >&6
69416 else
69420 ac_ext=cc
69421 ac_cpp='$CXXCPP $CPPFLAGS'
69422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69426 cat >conftest.$ac_ext <<_ACEOF
69427 /* confdefs.h. */
69428 _ACEOF
69429 cat confdefs.h >>conftest.$ac_ext
69430 cat >>conftest.$ac_ext <<_ACEOF
69431 /* end confdefs.h. */
69432 #include <math.h>
69433 #ifdef HAVE_IEEEFP_H
69434 #include <ieeefp.h>
69435 #endif
69438 main ()
69440 sqrtl(0);
69442 return 0;
69444 _ACEOF
69445 rm -f conftest.$ac_objext
69446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69447 (eval $ac_compile) 2>conftest.er1
69448 ac_status=$?
69449 grep -v '^ *+' conftest.er1 >conftest.err
69450 rm -f conftest.er1
69451 cat conftest.err >&5
69452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69453 (exit $ac_status); } &&
69454 { ac_try='test -z "$ac_cxx_werror_flag"
69455 || test ! -s conftest.err'
69456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69457 (eval $ac_try) 2>&5
69458 ac_status=$?
69459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69460 (exit $ac_status); }; } &&
69461 { ac_try='test -s conftest.$ac_objext'
69462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69463 (eval $ac_try) 2>&5
69464 ac_status=$?
69465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69466 (exit $ac_status); }; }; then
69467 glibcxx_cv_func_sqrtl_use=yes
69468 else
69469 echo "$as_me: failed program was:" >&5
69470 sed 's/^/| /' conftest.$ac_ext >&5
69472 glibcxx_cv_func_sqrtl_use=no
69474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69475 ac_ext=c
69476 ac_cpp='$CPP $CPPFLAGS'
69477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
69486 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
69488 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69490 for ac_func in sqrtl
69492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69493 echo "$as_me:$LINENO: checking for $ac_func" >&5
69494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69495 if eval "test \"\${$as_ac_var+set}\" = set"; then
69496 echo $ECHO_N "(cached) $ECHO_C" >&6
69497 else
69498 if test x$gcc_no_link = xyes; then
69499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69501 { (exit 1); exit 1; }; }
69503 cat >conftest.$ac_ext <<_ACEOF
69504 /* confdefs.h. */
69505 _ACEOF
69506 cat confdefs.h >>conftest.$ac_ext
69507 cat >>conftest.$ac_ext <<_ACEOF
69508 /* end confdefs.h. */
69509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69511 #define $ac_func innocuous_$ac_func
69513 /* System header to define __stub macros and hopefully few prototypes,
69514 which can conflict with char $ac_func (); below.
69515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69516 <limits.h> exists even on freestanding compilers. */
69518 #ifdef __STDC__
69519 # include <limits.h>
69520 #else
69521 # include <assert.h>
69522 #endif
69524 #undef $ac_func
69526 /* Override any gcc2 internal prototype to avoid an error. */
69527 #ifdef __cplusplus
69528 extern "C"
69530 #endif
69531 /* We use char because int might match the return type of a gcc2
69532 builtin and then its argument prototype would still apply. */
69533 char $ac_func ();
69534 /* The GNU C library defines this for functions which it implements
69535 to always fail with ENOSYS. Some functions are actually named
69536 something starting with __ and the normal name is an alias. */
69537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69538 choke me
69539 #else
69540 char (*f) () = $ac_func;
69541 #endif
69542 #ifdef __cplusplus
69544 #endif
69547 main ()
69549 return f != $ac_func;
69551 return 0;
69553 _ACEOF
69554 rm -f conftest.$ac_objext conftest$ac_exeext
69555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69556 (eval $ac_link) 2>conftest.er1
69557 ac_status=$?
69558 grep -v '^ *+' conftest.er1 >conftest.err
69559 rm -f conftest.er1
69560 cat conftest.err >&5
69561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69562 (exit $ac_status); } &&
69563 { ac_try='test -z "$ac_c_werror_flag"
69564 || test ! -s conftest.err'
69565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69566 (eval $ac_try) 2>&5
69567 ac_status=$?
69568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69569 (exit $ac_status); }; } &&
69570 { ac_try='test -s conftest$ac_exeext'
69571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69572 (eval $ac_try) 2>&5
69573 ac_status=$?
69574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69575 (exit $ac_status); }; }; then
69576 eval "$as_ac_var=yes"
69577 else
69578 echo "$as_me: failed program was:" >&5
69579 sed 's/^/| /' conftest.$ac_ext >&5
69581 eval "$as_ac_var=no"
69583 rm -f conftest.err conftest.$ac_objext \
69584 conftest$ac_exeext conftest.$ac_ext
69586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69588 if test `eval echo '${'$as_ac_var'}'` = yes; then
69589 cat >>confdefs.h <<_ACEOF
69590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69591 _ACEOF
69594 done
69596 else
69598 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
69599 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
69600 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69601 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
69602 echo $ECHO_N "(cached) $ECHO_C" >&6
69603 else
69607 ac_ext=cc
69608 ac_cpp='$CXXCPP $CPPFLAGS'
69609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69613 cat >conftest.$ac_ext <<_ACEOF
69614 /* confdefs.h. */
69615 _ACEOF
69616 cat confdefs.h >>conftest.$ac_ext
69617 cat >>conftest.$ac_ext <<_ACEOF
69618 /* end confdefs.h. */
69619 #include <math.h>
69620 #ifdef HAVE_IEEEFP_H
69621 #include <ieeefp.h>
69622 #endif
69625 main ()
69627 _sqrtl(0);
69629 return 0;
69631 _ACEOF
69632 rm -f conftest.$ac_objext
69633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69634 (eval $ac_compile) 2>conftest.er1
69635 ac_status=$?
69636 grep -v '^ *+' conftest.er1 >conftest.err
69637 rm -f conftest.er1
69638 cat conftest.err >&5
69639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69640 (exit $ac_status); } &&
69641 { ac_try='test -z "$ac_cxx_werror_flag"
69642 || test ! -s conftest.err'
69643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69644 (eval $ac_try) 2>&5
69645 ac_status=$?
69646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69647 (exit $ac_status); }; } &&
69648 { ac_try='test -s conftest.$ac_objext'
69649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69650 (eval $ac_try) 2>&5
69651 ac_status=$?
69652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69653 (exit $ac_status); }; }; then
69654 glibcxx_cv_func__sqrtl_use=yes
69655 else
69656 echo "$as_me: failed program was:" >&5
69657 sed 's/^/| /' conftest.$ac_ext >&5
69659 glibcxx_cv_func__sqrtl_use=no
69661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69662 ac_ext=c
69663 ac_cpp='$CPP $CPPFLAGS'
69664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69672 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
69673 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
69675 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69677 for ac_func in _sqrtl
69679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69680 echo "$as_me:$LINENO: checking for $ac_func" >&5
69681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69682 if eval "test \"\${$as_ac_var+set}\" = set"; then
69683 echo $ECHO_N "(cached) $ECHO_C" >&6
69684 else
69685 if test x$gcc_no_link = xyes; then
69686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69688 { (exit 1); exit 1; }; }
69690 cat >conftest.$ac_ext <<_ACEOF
69691 /* confdefs.h. */
69692 _ACEOF
69693 cat confdefs.h >>conftest.$ac_ext
69694 cat >>conftest.$ac_ext <<_ACEOF
69695 /* end confdefs.h. */
69696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69698 #define $ac_func innocuous_$ac_func
69700 /* System header to define __stub macros and hopefully few prototypes,
69701 which can conflict with char $ac_func (); below.
69702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69703 <limits.h> exists even on freestanding compilers. */
69705 #ifdef __STDC__
69706 # include <limits.h>
69707 #else
69708 # include <assert.h>
69709 #endif
69711 #undef $ac_func
69713 /* Override any gcc2 internal prototype to avoid an error. */
69714 #ifdef __cplusplus
69715 extern "C"
69717 #endif
69718 /* We use char because int might match the return type of a gcc2
69719 builtin and then its argument prototype would still apply. */
69720 char $ac_func ();
69721 /* The GNU C library defines this for functions which it implements
69722 to always fail with ENOSYS. Some functions are actually named
69723 something starting with __ and the normal name is an alias. */
69724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69725 choke me
69726 #else
69727 char (*f) () = $ac_func;
69728 #endif
69729 #ifdef __cplusplus
69731 #endif
69734 main ()
69736 return f != $ac_func;
69738 return 0;
69740 _ACEOF
69741 rm -f conftest.$ac_objext conftest$ac_exeext
69742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69743 (eval $ac_link) 2>conftest.er1
69744 ac_status=$?
69745 grep -v '^ *+' conftest.er1 >conftest.err
69746 rm -f conftest.er1
69747 cat conftest.err >&5
69748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69749 (exit $ac_status); } &&
69750 { ac_try='test -z "$ac_c_werror_flag"
69751 || test ! -s conftest.err'
69752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69753 (eval $ac_try) 2>&5
69754 ac_status=$?
69755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69756 (exit $ac_status); }; } &&
69757 { ac_try='test -s conftest$ac_exeext'
69758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69759 (eval $ac_try) 2>&5
69760 ac_status=$?
69761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69762 (exit $ac_status); }; }; then
69763 eval "$as_ac_var=yes"
69764 else
69765 echo "$as_me: failed program was:" >&5
69766 sed 's/^/| /' conftest.$ac_ext >&5
69768 eval "$as_ac_var=no"
69770 rm -f conftest.err conftest.$ac_objext \
69771 conftest$ac_exeext conftest.$ac_ext
69773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69775 if test `eval echo '${'$as_ac_var'}'` = yes; then
69776 cat >>confdefs.h <<_ACEOF
69777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69778 _ACEOF
69781 done
69791 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69792 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69793 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69794 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69795 echo $ECHO_N "(cached) $ECHO_C" >&6
69796 else
69800 ac_ext=cc
69801 ac_cpp='$CXXCPP $CPPFLAGS'
69802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69806 cat >conftest.$ac_ext <<_ACEOF
69807 /* confdefs.h. */
69808 _ACEOF
69809 cat confdefs.h >>conftest.$ac_ext
69810 cat >>conftest.$ac_ext <<_ACEOF
69811 /* end confdefs.h. */
69812 #include <math.h>
69814 main ()
69816 sincosl(0, 0, 0);
69818 return 0;
69820 _ACEOF
69821 rm -f conftest.$ac_objext
69822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69823 (eval $ac_compile) 2>conftest.er1
69824 ac_status=$?
69825 grep -v '^ *+' conftest.er1 >conftest.err
69826 rm -f conftest.er1
69827 cat conftest.err >&5
69828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69829 (exit $ac_status); } &&
69830 { ac_try='test -z "$ac_cxx_werror_flag"
69831 || test ! -s conftest.err'
69832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69833 (eval $ac_try) 2>&5
69834 ac_status=$?
69835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69836 (exit $ac_status); }; } &&
69837 { ac_try='test -s conftest.$ac_objext'
69838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69839 (eval $ac_try) 2>&5
69840 ac_status=$?
69841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69842 (exit $ac_status); }; }; then
69843 glibcxx_cv_func_sincosl_use=yes
69844 else
69845 echo "$as_me: failed program was:" >&5
69846 sed 's/^/| /' conftest.$ac_ext >&5
69848 glibcxx_cv_func_sincosl_use=no
69850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69851 ac_ext=c
69852 ac_cpp='$CPP $CPPFLAGS'
69853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69862 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69864 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69866 for ac_func in sincosl
69868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69869 echo "$as_me:$LINENO: checking for $ac_func" >&5
69870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69871 if eval "test \"\${$as_ac_var+set}\" = set"; then
69872 echo $ECHO_N "(cached) $ECHO_C" >&6
69873 else
69874 if test x$gcc_no_link = xyes; then
69875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69877 { (exit 1); exit 1; }; }
69879 cat >conftest.$ac_ext <<_ACEOF
69880 /* confdefs.h. */
69881 _ACEOF
69882 cat confdefs.h >>conftest.$ac_ext
69883 cat >>conftest.$ac_ext <<_ACEOF
69884 /* end confdefs.h. */
69885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69887 #define $ac_func innocuous_$ac_func
69889 /* System header to define __stub macros and hopefully few prototypes,
69890 which can conflict with char $ac_func (); below.
69891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69892 <limits.h> exists even on freestanding compilers. */
69894 #ifdef __STDC__
69895 # include <limits.h>
69896 #else
69897 # include <assert.h>
69898 #endif
69900 #undef $ac_func
69902 /* Override any gcc2 internal prototype to avoid an error. */
69903 #ifdef __cplusplus
69904 extern "C"
69906 #endif
69907 /* We use char because int might match the return type of a gcc2
69908 builtin and then its argument prototype would still apply. */
69909 char $ac_func ();
69910 /* The GNU C library defines this for functions which it implements
69911 to always fail with ENOSYS. Some functions are actually named
69912 something starting with __ and the normal name is an alias. */
69913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69914 choke me
69915 #else
69916 char (*f) () = $ac_func;
69917 #endif
69918 #ifdef __cplusplus
69920 #endif
69923 main ()
69925 return f != $ac_func;
69927 return 0;
69929 _ACEOF
69930 rm -f conftest.$ac_objext conftest$ac_exeext
69931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69932 (eval $ac_link) 2>conftest.er1
69933 ac_status=$?
69934 grep -v '^ *+' conftest.er1 >conftest.err
69935 rm -f conftest.er1
69936 cat conftest.err >&5
69937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69938 (exit $ac_status); } &&
69939 { ac_try='test -z "$ac_c_werror_flag"
69940 || test ! -s conftest.err'
69941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69942 (eval $ac_try) 2>&5
69943 ac_status=$?
69944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69945 (exit $ac_status); }; } &&
69946 { ac_try='test -s conftest$ac_exeext'
69947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69948 (eval $ac_try) 2>&5
69949 ac_status=$?
69950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69951 (exit $ac_status); }; }; then
69952 eval "$as_ac_var=yes"
69953 else
69954 echo "$as_me: failed program was:" >&5
69955 sed 's/^/| /' conftest.$ac_ext >&5
69957 eval "$as_ac_var=no"
69959 rm -f conftest.err conftest.$ac_objext \
69960 conftest$ac_exeext conftest.$ac_ext
69962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69964 if test `eval echo '${'$as_ac_var'}'` = yes; then
69965 cat >>confdefs.h <<_ACEOF
69966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69967 _ACEOF
69970 done
69972 else
69974 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69975 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69976 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69977 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69978 echo $ECHO_N "(cached) $ECHO_C" >&6
69979 else
69983 ac_ext=cc
69984 ac_cpp='$CXXCPP $CPPFLAGS'
69985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69989 cat >conftest.$ac_ext <<_ACEOF
69990 /* confdefs.h. */
69991 _ACEOF
69992 cat confdefs.h >>conftest.$ac_ext
69993 cat >>conftest.$ac_ext <<_ACEOF
69994 /* end confdefs.h. */
69995 #include <math.h>
69997 main ()
69999 _sincosl(0, 0, 0);
70001 return 0;
70003 _ACEOF
70004 rm -f conftest.$ac_objext
70005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70006 (eval $ac_compile) 2>conftest.er1
70007 ac_status=$?
70008 grep -v '^ *+' conftest.er1 >conftest.err
70009 rm -f conftest.er1
70010 cat conftest.err >&5
70011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70012 (exit $ac_status); } &&
70013 { ac_try='test -z "$ac_cxx_werror_flag"
70014 || test ! -s conftest.err'
70015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70016 (eval $ac_try) 2>&5
70017 ac_status=$?
70018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70019 (exit $ac_status); }; } &&
70020 { ac_try='test -s conftest.$ac_objext'
70021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70022 (eval $ac_try) 2>&5
70023 ac_status=$?
70024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70025 (exit $ac_status); }; }; then
70026 glibcxx_cv_func__sincosl_use=yes
70027 else
70028 echo "$as_me: failed program was:" >&5
70029 sed 's/^/| /' conftest.$ac_ext >&5
70031 glibcxx_cv_func__sincosl_use=no
70033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70034 ac_ext=c
70035 ac_cpp='$CPP $CPPFLAGS'
70036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
70045 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
70047 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70049 for ac_func in _sincosl
70051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70052 echo "$as_me:$LINENO: checking for $ac_func" >&5
70053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70054 if eval "test \"\${$as_ac_var+set}\" = set"; then
70055 echo $ECHO_N "(cached) $ECHO_C" >&6
70056 else
70057 if test x$gcc_no_link = xyes; then
70058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70060 { (exit 1); exit 1; }; }
70062 cat >conftest.$ac_ext <<_ACEOF
70063 /* confdefs.h. */
70064 _ACEOF
70065 cat confdefs.h >>conftest.$ac_ext
70066 cat >>conftest.$ac_ext <<_ACEOF
70067 /* end confdefs.h. */
70068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70070 #define $ac_func innocuous_$ac_func
70072 /* System header to define __stub macros and hopefully few prototypes,
70073 which can conflict with char $ac_func (); below.
70074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70075 <limits.h> exists even on freestanding compilers. */
70077 #ifdef __STDC__
70078 # include <limits.h>
70079 #else
70080 # include <assert.h>
70081 #endif
70083 #undef $ac_func
70085 /* Override any gcc2 internal prototype to avoid an error. */
70086 #ifdef __cplusplus
70087 extern "C"
70089 #endif
70090 /* We use char because int might match the return type of a gcc2
70091 builtin and then its argument prototype would still apply. */
70092 char $ac_func ();
70093 /* The GNU C library defines this for functions which it implements
70094 to always fail with ENOSYS. Some functions are actually named
70095 something starting with __ and the normal name is an alias. */
70096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70097 choke me
70098 #else
70099 char (*f) () = $ac_func;
70100 #endif
70101 #ifdef __cplusplus
70103 #endif
70106 main ()
70108 return f != $ac_func;
70110 return 0;
70112 _ACEOF
70113 rm -f conftest.$ac_objext conftest$ac_exeext
70114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70115 (eval $ac_link) 2>conftest.er1
70116 ac_status=$?
70117 grep -v '^ *+' conftest.er1 >conftest.err
70118 rm -f conftest.er1
70119 cat conftest.err >&5
70120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70121 (exit $ac_status); } &&
70122 { ac_try='test -z "$ac_c_werror_flag"
70123 || test ! -s conftest.err'
70124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70125 (eval $ac_try) 2>&5
70126 ac_status=$?
70127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70128 (exit $ac_status); }; } &&
70129 { ac_try='test -s conftest$ac_exeext'
70130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70131 (eval $ac_try) 2>&5
70132 ac_status=$?
70133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70134 (exit $ac_status); }; }; then
70135 eval "$as_ac_var=yes"
70136 else
70137 echo "$as_me: failed program was:" >&5
70138 sed 's/^/| /' conftest.$ac_ext >&5
70140 eval "$as_ac_var=no"
70142 rm -f conftest.err conftest.$ac_objext \
70143 conftest$ac_exeext conftest.$ac_ext
70145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70147 if test `eval echo '${'$as_ac_var'}'` = yes; then
70148 cat >>confdefs.h <<_ACEOF
70149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70150 _ACEOF
70153 done
70163 echo "$as_me:$LINENO: checking for finitel declaration" >&5
70164 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
70165 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70166 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
70167 echo $ECHO_N "(cached) $ECHO_C" >&6
70168 else
70172 ac_ext=cc
70173 ac_cpp='$CXXCPP $CPPFLAGS'
70174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70178 cat >conftest.$ac_ext <<_ACEOF
70179 /* confdefs.h. */
70180 _ACEOF
70181 cat confdefs.h >>conftest.$ac_ext
70182 cat >>conftest.$ac_ext <<_ACEOF
70183 /* end confdefs.h. */
70184 #include <math.h>
70185 #ifdef HAVE_IEEEFP_H
70186 #include <ieeefp.h>
70187 #endif
70190 main ()
70192 finitel(0);
70194 return 0;
70196 _ACEOF
70197 rm -f conftest.$ac_objext
70198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70199 (eval $ac_compile) 2>conftest.er1
70200 ac_status=$?
70201 grep -v '^ *+' conftest.er1 >conftest.err
70202 rm -f conftest.er1
70203 cat conftest.err >&5
70204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70205 (exit $ac_status); } &&
70206 { ac_try='test -z "$ac_cxx_werror_flag"
70207 || test ! -s conftest.err'
70208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70209 (eval $ac_try) 2>&5
70210 ac_status=$?
70211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70212 (exit $ac_status); }; } &&
70213 { ac_try='test -s conftest.$ac_objext'
70214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70215 (eval $ac_try) 2>&5
70216 ac_status=$?
70217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70218 (exit $ac_status); }; }; then
70219 glibcxx_cv_func_finitel_use=yes
70220 else
70221 echo "$as_me: failed program was:" >&5
70222 sed 's/^/| /' conftest.$ac_ext >&5
70224 glibcxx_cv_func_finitel_use=no
70226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70227 ac_ext=c
70228 ac_cpp='$CPP $CPPFLAGS'
70229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70238 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70240 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70242 for ac_func in finitel
70244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70245 echo "$as_me:$LINENO: checking for $ac_func" >&5
70246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70247 if eval "test \"\${$as_ac_var+set}\" = set"; then
70248 echo $ECHO_N "(cached) $ECHO_C" >&6
70249 else
70250 if test x$gcc_no_link = xyes; then
70251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70253 { (exit 1); exit 1; }; }
70255 cat >conftest.$ac_ext <<_ACEOF
70256 /* confdefs.h. */
70257 _ACEOF
70258 cat confdefs.h >>conftest.$ac_ext
70259 cat >>conftest.$ac_ext <<_ACEOF
70260 /* end confdefs.h. */
70261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70263 #define $ac_func innocuous_$ac_func
70265 /* System header to define __stub macros and hopefully few prototypes,
70266 which can conflict with char $ac_func (); below.
70267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70268 <limits.h> exists even on freestanding compilers. */
70270 #ifdef __STDC__
70271 # include <limits.h>
70272 #else
70273 # include <assert.h>
70274 #endif
70276 #undef $ac_func
70278 /* Override any gcc2 internal prototype to avoid an error. */
70279 #ifdef __cplusplus
70280 extern "C"
70282 #endif
70283 /* We use char because int might match the return type of a gcc2
70284 builtin and then its argument prototype would still apply. */
70285 char $ac_func ();
70286 /* The GNU C library defines this for functions which it implements
70287 to always fail with ENOSYS. Some functions are actually named
70288 something starting with __ and the normal name is an alias. */
70289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70290 choke me
70291 #else
70292 char (*f) () = $ac_func;
70293 #endif
70294 #ifdef __cplusplus
70296 #endif
70299 main ()
70301 return f != $ac_func;
70303 return 0;
70305 _ACEOF
70306 rm -f conftest.$ac_objext conftest$ac_exeext
70307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70308 (eval $ac_link) 2>conftest.er1
70309 ac_status=$?
70310 grep -v '^ *+' conftest.er1 >conftest.err
70311 rm -f conftest.er1
70312 cat conftest.err >&5
70313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70314 (exit $ac_status); } &&
70315 { ac_try='test -z "$ac_c_werror_flag"
70316 || test ! -s conftest.err'
70317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70318 (eval $ac_try) 2>&5
70319 ac_status=$?
70320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70321 (exit $ac_status); }; } &&
70322 { ac_try='test -s conftest$ac_exeext'
70323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70324 (eval $ac_try) 2>&5
70325 ac_status=$?
70326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70327 (exit $ac_status); }; }; then
70328 eval "$as_ac_var=yes"
70329 else
70330 echo "$as_me: failed program was:" >&5
70331 sed 's/^/| /' conftest.$ac_ext >&5
70333 eval "$as_ac_var=no"
70335 rm -f conftest.err conftest.$ac_objext \
70336 conftest$ac_exeext conftest.$ac_ext
70338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70340 if test `eval echo '${'$as_ac_var'}'` = yes; then
70341 cat >>confdefs.h <<_ACEOF
70342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70343 _ACEOF
70346 done
70348 else
70350 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70351 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70352 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70353 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70354 echo $ECHO_N "(cached) $ECHO_C" >&6
70355 else
70359 ac_ext=cc
70360 ac_cpp='$CXXCPP $CPPFLAGS'
70361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70365 cat >conftest.$ac_ext <<_ACEOF
70366 /* confdefs.h. */
70367 _ACEOF
70368 cat confdefs.h >>conftest.$ac_ext
70369 cat >>conftest.$ac_ext <<_ACEOF
70370 /* end confdefs.h. */
70371 #include <math.h>
70372 #ifdef HAVE_IEEEFP_H
70373 #include <ieeefp.h>
70374 #endif
70377 main ()
70379 _finitel(0);
70381 return 0;
70383 _ACEOF
70384 rm -f conftest.$ac_objext
70385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70386 (eval $ac_compile) 2>conftest.er1
70387 ac_status=$?
70388 grep -v '^ *+' conftest.er1 >conftest.err
70389 rm -f conftest.er1
70390 cat conftest.err >&5
70391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70392 (exit $ac_status); } &&
70393 { ac_try='test -z "$ac_cxx_werror_flag"
70394 || test ! -s conftest.err'
70395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70396 (eval $ac_try) 2>&5
70397 ac_status=$?
70398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70399 (exit $ac_status); }; } &&
70400 { ac_try='test -s conftest.$ac_objext'
70401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70402 (eval $ac_try) 2>&5
70403 ac_status=$?
70404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70405 (exit $ac_status); }; }; then
70406 glibcxx_cv_func__finitel_use=yes
70407 else
70408 echo "$as_me: failed program was:" >&5
70409 sed 's/^/| /' conftest.$ac_ext >&5
70411 glibcxx_cv_func__finitel_use=no
70413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70414 ac_ext=c
70415 ac_cpp='$CPP $CPPFLAGS'
70416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70424 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70425 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70427 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70429 for ac_func in _finitel
70431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70432 echo "$as_me:$LINENO: checking for $ac_func" >&5
70433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70434 if eval "test \"\${$as_ac_var+set}\" = set"; then
70435 echo $ECHO_N "(cached) $ECHO_C" >&6
70436 else
70437 if test x$gcc_no_link = xyes; then
70438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70440 { (exit 1); exit 1; }; }
70442 cat >conftest.$ac_ext <<_ACEOF
70443 /* confdefs.h. */
70444 _ACEOF
70445 cat confdefs.h >>conftest.$ac_ext
70446 cat >>conftest.$ac_ext <<_ACEOF
70447 /* end confdefs.h. */
70448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70450 #define $ac_func innocuous_$ac_func
70452 /* System header to define __stub macros and hopefully few prototypes,
70453 which can conflict with char $ac_func (); below.
70454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70455 <limits.h> exists even on freestanding compilers. */
70457 #ifdef __STDC__
70458 # include <limits.h>
70459 #else
70460 # include <assert.h>
70461 #endif
70463 #undef $ac_func
70465 /* Override any gcc2 internal prototype to avoid an error. */
70466 #ifdef __cplusplus
70467 extern "C"
70469 #endif
70470 /* We use char because int might match the return type of a gcc2
70471 builtin and then its argument prototype would still apply. */
70472 char $ac_func ();
70473 /* The GNU C library defines this for functions which it implements
70474 to always fail with ENOSYS. Some functions are actually named
70475 something starting with __ and the normal name is an alias. */
70476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70477 choke me
70478 #else
70479 char (*f) () = $ac_func;
70480 #endif
70481 #ifdef __cplusplus
70483 #endif
70486 main ()
70488 return f != $ac_func;
70490 return 0;
70492 _ACEOF
70493 rm -f conftest.$ac_objext conftest$ac_exeext
70494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70495 (eval $ac_link) 2>conftest.er1
70496 ac_status=$?
70497 grep -v '^ *+' conftest.er1 >conftest.err
70498 rm -f conftest.er1
70499 cat conftest.err >&5
70500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70501 (exit $ac_status); } &&
70502 { ac_try='test -z "$ac_c_werror_flag"
70503 || test ! -s conftest.err'
70504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70505 (eval $ac_try) 2>&5
70506 ac_status=$?
70507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70508 (exit $ac_status); }; } &&
70509 { ac_try='test -s conftest$ac_exeext'
70510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70511 (eval $ac_try) 2>&5
70512 ac_status=$?
70513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70514 (exit $ac_status); }; }; then
70515 eval "$as_ac_var=yes"
70516 else
70517 echo "$as_me: failed program was:" >&5
70518 sed 's/^/| /' conftest.$ac_ext >&5
70520 eval "$as_ac_var=no"
70522 rm -f conftest.err conftest.$ac_objext \
70523 conftest$ac_exeext conftest.$ac_ext
70525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70527 if test `eval echo '${'$as_ac_var'}'` = yes; then
70528 cat >>confdefs.h <<_ACEOF
70529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70530 _ACEOF
70533 done
70542 LIBS="$ac_save_LIBS"
70543 CXXFLAGS="$ac_save_CXXFLAGS"
70547 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70548 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70549 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70550 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70551 echo $ECHO_N "(cached) $ECHO_C" >&6
70552 else
70556 ac_ext=cc
70557 ac_cpp='$CXXCPP $CPPFLAGS'
70558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70562 cat >conftest.$ac_ext <<_ACEOF
70563 /* confdefs.h. */
70564 _ACEOF
70565 cat confdefs.h >>conftest.$ac_ext
70566 cat >>conftest.$ac_ext <<_ACEOF
70567 /* end confdefs.h. */
70568 #include <math.h>
70570 main ()
70572 __builtin_abs(0);
70574 return 0;
70576 _ACEOF
70577 rm -f conftest.$ac_objext
70578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70579 (eval $ac_compile) 2>conftest.er1
70580 ac_status=$?
70581 grep -v '^ *+' conftest.er1 >conftest.err
70582 rm -f conftest.er1
70583 cat conftest.err >&5
70584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70585 (exit $ac_status); } &&
70586 { ac_try='test -z "$ac_cxx_werror_flag"
70587 || test ! -s conftest.err'
70588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70589 (eval $ac_try) 2>&5
70590 ac_status=$?
70591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70592 (exit $ac_status); }; } &&
70593 { ac_try='test -s conftest.$ac_objext'
70594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70595 (eval $ac_try) 2>&5
70596 ac_status=$?
70597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70598 (exit $ac_status); }; }; then
70599 glibcxx_cv_func___builtin_abs_use=yes
70600 else
70601 echo "$as_me: failed program was:" >&5
70602 sed 's/^/| /' conftest.$ac_ext >&5
70604 glibcxx_cv_func___builtin_abs_use=no
70606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70607 ac_ext=c
70608 ac_cpp='$CPP $CPPFLAGS'
70609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70617 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70618 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70619 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70620 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70621 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70622 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70623 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70624 echo $ECHO_N "(cached) $ECHO_C" >&6
70625 else
70627 if test x$gcc_no_link = xyes; then
70628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70630 { (exit 1); exit 1; }; }
70632 cat >conftest.$ac_ext <<_ACEOF
70633 /* confdefs.h. */
70634 _ACEOF
70635 cat confdefs.h >>conftest.$ac_ext
70636 cat >>conftest.$ac_ext <<_ACEOF
70637 /* end confdefs.h. */
70638 #include <math.h>
70640 main ()
70642 __builtin_abs(0);
70644 return 0;
70646 _ACEOF
70647 rm -f conftest.$ac_objext conftest$ac_exeext
70648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70649 (eval $ac_link) 2>conftest.er1
70650 ac_status=$?
70651 grep -v '^ *+' conftest.er1 >conftest.err
70652 rm -f conftest.er1
70653 cat conftest.err >&5
70654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70655 (exit $ac_status); } &&
70656 { ac_try='test -z "$ac_c_werror_flag"
70657 || test ! -s conftest.err'
70658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70659 (eval $ac_try) 2>&5
70660 ac_status=$?
70661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70662 (exit $ac_status); }; } &&
70663 { ac_try='test -s conftest$ac_exeext'
70664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70665 (eval $ac_try) 2>&5
70666 ac_status=$?
70667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70668 (exit $ac_status); }; }; then
70669 glibcxx_cv_func___builtin_abs_link=yes
70670 else
70671 echo "$as_me: failed program was:" >&5
70672 sed 's/^/| /' conftest.$ac_ext >&5
70674 glibcxx_cv_func___builtin_abs_link=no
70676 rm -f conftest.err conftest.$ac_objext \
70677 conftest$ac_exeext conftest.$ac_ext
70682 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70683 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70685 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70687 cat >>confdefs.h <<\_ACEOF
70688 #define HAVE___BUILTIN_ABS 1
70689 _ACEOF
70696 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70697 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70698 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70699 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70700 echo $ECHO_N "(cached) $ECHO_C" >&6
70701 else
70705 ac_ext=cc
70706 ac_cpp='$CXXCPP $CPPFLAGS'
70707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70711 cat >conftest.$ac_ext <<_ACEOF
70712 /* confdefs.h. */
70713 _ACEOF
70714 cat confdefs.h >>conftest.$ac_ext
70715 cat >>conftest.$ac_ext <<_ACEOF
70716 /* end confdefs.h. */
70717 #include <math.h>
70719 main ()
70721 __builtin_fabsf(0);
70723 return 0;
70725 _ACEOF
70726 rm -f conftest.$ac_objext
70727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70728 (eval $ac_compile) 2>conftest.er1
70729 ac_status=$?
70730 grep -v '^ *+' conftest.er1 >conftest.err
70731 rm -f conftest.er1
70732 cat conftest.err >&5
70733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70734 (exit $ac_status); } &&
70735 { ac_try='test -z "$ac_cxx_werror_flag"
70736 || test ! -s conftest.err'
70737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70738 (eval $ac_try) 2>&5
70739 ac_status=$?
70740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70741 (exit $ac_status); }; } &&
70742 { ac_try='test -s conftest.$ac_objext'
70743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70744 (eval $ac_try) 2>&5
70745 ac_status=$?
70746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70747 (exit $ac_status); }; }; then
70748 glibcxx_cv_func___builtin_fabsf_use=yes
70749 else
70750 echo "$as_me: failed program was:" >&5
70751 sed 's/^/| /' conftest.$ac_ext >&5
70753 glibcxx_cv_func___builtin_fabsf_use=no
70755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70756 ac_ext=c
70757 ac_cpp='$CPP $CPPFLAGS'
70758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70766 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70767 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70768 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70769 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70770 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70771 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70772 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70773 echo $ECHO_N "(cached) $ECHO_C" >&6
70774 else
70776 if test x$gcc_no_link = xyes; then
70777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70779 { (exit 1); exit 1; }; }
70781 cat >conftest.$ac_ext <<_ACEOF
70782 /* confdefs.h. */
70783 _ACEOF
70784 cat confdefs.h >>conftest.$ac_ext
70785 cat >>conftest.$ac_ext <<_ACEOF
70786 /* end confdefs.h. */
70787 #include <math.h>
70789 main ()
70791 __builtin_fabsf(0);
70793 return 0;
70795 _ACEOF
70796 rm -f conftest.$ac_objext conftest$ac_exeext
70797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70798 (eval $ac_link) 2>conftest.er1
70799 ac_status=$?
70800 grep -v '^ *+' conftest.er1 >conftest.err
70801 rm -f conftest.er1
70802 cat conftest.err >&5
70803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70804 (exit $ac_status); } &&
70805 { ac_try='test -z "$ac_c_werror_flag"
70806 || test ! -s conftest.err'
70807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70808 (eval $ac_try) 2>&5
70809 ac_status=$?
70810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70811 (exit $ac_status); }; } &&
70812 { ac_try='test -s conftest$ac_exeext'
70813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70814 (eval $ac_try) 2>&5
70815 ac_status=$?
70816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70817 (exit $ac_status); }; }; then
70818 glibcxx_cv_func___builtin_fabsf_link=yes
70819 else
70820 echo "$as_me: failed program was:" >&5
70821 sed 's/^/| /' conftest.$ac_ext >&5
70823 glibcxx_cv_func___builtin_fabsf_link=no
70825 rm -f conftest.err conftest.$ac_objext \
70826 conftest$ac_exeext conftest.$ac_ext
70831 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70832 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70834 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70836 cat >>confdefs.h <<\_ACEOF
70837 #define HAVE___BUILTIN_FABSF 1
70838 _ACEOF
70845 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70846 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70847 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70848 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70849 echo $ECHO_N "(cached) $ECHO_C" >&6
70850 else
70854 ac_ext=cc
70855 ac_cpp='$CXXCPP $CPPFLAGS'
70856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70860 cat >conftest.$ac_ext <<_ACEOF
70861 /* confdefs.h. */
70862 _ACEOF
70863 cat confdefs.h >>conftest.$ac_ext
70864 cat >>conftest.$ac_ext <<_ACEOF
70865 /* end confdefs.h. */
70866 #include <math.h>
70868 main ()
70870 __builtin_fabs(0);
70872 return 0;
70874 _ACEOF
70875 rm -f conftest.$ac_objext
70876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70877 (eval $ac_compile) 2>conftest.er1
70878 ac_status=$?
70879 grep -v '^ *+' conftest.er1 >conftest.err
70880 rm -f conftest.er1
70881 cat conftest.err >&5
70882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70883 (exit $ac_status); } &&
70884 { ac_try='test -z "$ac_cxx_werror_flag"
70885 || test ! -s conftest.err'
70886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70887 (eval $ac_try) 2>&5
70888 ac_status=$?
70889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70890 (exit $ac_status); }; } &&
70891 { ac_try='test -s conftest.$ac_objext'
70892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70893 (eval $ac_try) 2>&5
70894 ac_status=$?
70895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70896 (exit $ac_status); }; }; then
70897 glibcxx_cv_func___builtin_fabs_use=yes
70898 else
70899 echo "$as_me: failed program was:" >&5
70900 sed 's/^/| /' conftest.$ac_ext >&5
70902 glibcxx_cv_func___builtin_fabs_use=no
70904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70905 ac_ext=c
70906 ac_cpp='$CPP $CPPFLAGS'
70907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70915 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70916 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70917 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70918 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70919 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70920 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70921 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70922 echo $ECHO_N "(cached) $ECHO_C" >&6
70923 else
70925 if test x$gcc_no_link = xyes; then
70926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70928 { (exit 1); exit 1; }; }
70930 cat >conftest.$ac_ext <<_ACEOF
70931 /* confdefs.h. */
70932 _ACEOF
70933 cat confdefs.h >>conftest.$ac_ext
70934 cat >>conftest.$ac_ext <<_ACEOF
70935 /* end confdefs.h. */
70936 #include <math.h>
70938 main ()
70940 __builtin_fabs(0);
70942 return 0;
70944 _ACEOF
70945 rm -f conftest.$ac_objext conftest$ac_exeext
70946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70947 (eval $ac_link) 2>conftest.er1
70948 ac_status=$?
70949 grep -v '^ *+' conftest.er1 >conftest.err
70950 rm -f conftest.er1
70951 cat conftest.err >&5
70952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70953 (exit $ac_status); } &&
70954 { ac_try='test -z "$ac_c_werror_flag"
70955 || test ! -s conftest.err'
70956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70957 (eval $ac_try) 2>&5
70958 ac_status=$?
70959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70960 (exit $ac_status); }; } &&
70961 { ac_try='test -s conftest$ac_exeext'
70962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70963 (eval $ac_try) 2>&5
70964 ac_status=$?
70965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70966 (exit $ac_status); }; }; then
70967 glibcxx_cv_func___builtin_fabs_link=yes
70968 else
70969 echo "$as_me: failed program was:" >&5
70970 sed 's/^/| /' conftest.$ac_ext >&5
70972 glibcxx_cv_func___builtin_fabs_link=no
70974 rm -f conftest.err conftest.$ac_objext \
70975 conftest$ac_exeext conftest.$ac_ext
70980 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70981 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70983 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70985 cat >>confdefs.h <<\_ACEOF
70986 #define HAVE___BUILTIN_FABS 1
70987 _ACEOF
70994 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70995 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70996 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70997 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70998 echo $ECHO_N "(cached) $ECHO_C" >&6
70999 else
71003 ac_ext=cc
71004 ac_cpp='$CXXCPP $CPPFLAGS'
71005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71009 cat >conftest.$ac_ext <<_ACEOF
71010 /* confdefs.h. */
71011 _ACEOF
71012 cat confdefs.h >>conftest.$ac_ext
71013 cat >>conftest.$ac_ext <<_ACEOF
71014 /* end confdefs.h. */
71015 #include <math.h>
71017 main ()
71019 __builtin_fabsl(0);
71021 return 0;
71023 _ACEOF
71024 rm -f conftest.$ac_objext
71025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71026 (eval $ac_compile) 2>conftest.er1
71027 ac_status=$?
71028 grep -v '^ *+' conftest.er1 >conftest.err
71029 rm -f conftest.er1
71030 cat conftest.err >&5
71031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71032 (exit $ac_status); } &&
71033 { ac_try='test -z "$ac_cxx_werror_flag"
71034 || test ! -s conftest.err'
71035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71036 (eval $ac_try) 2>&5
71037 ac_status=$?
71038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71039 (exit $ac_status); }; } &&
71040 { ac_try='test -s conftest.$ac_objext'
71041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71042 (eval $ac_try) 2>&5
71043 ac_status=$?
71044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71045 (exit $ac_status); }; }; then
71046 glibcxx_cv_func___builtin_fabsl_use=yes
71047 else
71048 echo "$as_me: failed program was:" >&5
71049 sed 's/^/| /' conftest.$ac_ext >&5
71051 glibcxx_cv_func___builtin_fabsl_use=no
71053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71054 ac_ext=c
71055 ac_cpp='$CPP $CPPFLAGS'
71056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71064 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71065 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71066 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71067 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71068 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71069 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71070 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71071 echo $ECHO_N "(cached) $ECHO_C" >&6
71072 else
71074 if test x$gcc_no_link = xyes; then
71075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71077 { (exit 1); exit 1; }; }
71079 cat >conftest.$ac_ext <<_ACEOF
71080 /* confdefs.h. */
71081 _ACEOF
71082 cat confdefs.h >>conftest.$ac_ext
71083 cat >>conftest.$ac_ext <<_ACEOF
71084 /* end confdefs.h. */
71085 #include <math.h>
71087 main ()
71089 __builtin_fabsl(0);
71091 return 0;
71093 _ACEOF
71094 rm -f conftest.$ac_objext conftest$ac_exeext
71095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71096 (eval $ac_link) 2>conftest.er1
71097 ac_status=$?
71098 grep -v '^ *+' conftest.er1 >conftest.err
71099 rm -f conftest.er1
71100 cat conftest.err >&5
71101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71102 (exit $ac_status); } &&
71103 { ac_try='test -z "$ac_c_werror_flag"
71104 || test ! -s conftest.err'
71105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71106 (eval $ac_try) 2>&5
71107 ac_status=$?
71108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71109 (exit $ac_status); }; } &&
71110 { ac_try='test -s conftest$ac_exeext'
71111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71112 (eval $ac_try) 2>&5
71113 ac_status=$?
71114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71115 (exit $ac_status); }; }; then
71116 glibcxx_cv_func___builtin_fabsl_link=yes
71117 else
71118 echo "$as_me: failed program was:" >&5
71119 sed 's/^/| /' conftest.$ac_ext >&5
71121 glibcxx_cv_func___builtin_fabsl_link=no
71123 rm -f conftest.err conftest.$ac_objext \
71124 conftest$ac_exeext conftest.$ac_ext
71129 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71130 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71132 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71134 cat >>confdefs.h <<\_ACEOF
71135 #define HAVE___BUILTIN_FABSL 1
71136 _ACEOF
71143 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71144 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71145 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71146 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71147 echo $ECHO_N "(cached) $ECHO_C" >&6
71148 else
71152 ac_ext=cc
71153 ac_cpp='$CXXCPP $CPPFLAGS'
71154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71158 cat >conftest.$ac_ext <<_ACEOF
71159 /* confdefs.h. */
71160 _ACEOF
71161 cat confdefs.h >>conftest.$ac_ext
71162 cat >>conftest.$ac_ext <<_ACEOF
71163 /* end confdefs.h. */
71164 #include <math.h>
71166 main ()
71168 __builtin_labs(0);
71170 return 0;
71172 _ACEOF
71173 rm -f conftest.$ac_objext
71174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71175 (eval $ac_compile) 2>conftest.er1
71176 ac_status=$?
71177 grep -v '^ *+' conftest.er1 >conftest.err
71178 rm -f conftest.er1
71179 cat conftest.err >&5
71180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71181 (exit $ac_status); } &&
71182 { ac_try='test -z "$ac_cxx_werror_flag"
71183 || test ! -s conftest.err'
71184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71185 (eval $ac_try) 2>&5
71186 ac_status=$?
71187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71188 (exit $ac_status); }; } &&
71189 { ac_try='test -s conftest.$ac_objext'
71190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71191 (eval $ac_try) 2>&5
71192 ac_status=$?
71193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71194 (exit $ac_status); }; }; then
71195 glibcxx_cv_func___builtin_labs_use=yes
71196 else
71197 echo "$as_me: failed program was:" >&5
71198 sed 's/^/| /' conftest.$ac_ext >&5
71200 glibcxx_cv_func___builtin_labs_use=no
71202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71203 ac_ext=c
71204 ac_cpp='$CPP $CPPFLAGS'
71205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71213 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71214 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71215 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71216 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71217 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71218 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71219 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71220 echo $ECHO_N "(cached) $ECHO_C" >&6
71221 else
71223 if test x$gcc_no_link = xyes; then
71224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71226 { (exit 1); exit 1; }; }
71228 cat >conftest.$ac_ext <<_ACEOF
71229 /* confdefs.h. */
71230 _ACEOF
71231 cat confdefs.h >>conftest.$ac_ext
71232 cat >>conftest.$ac_ext <<_ACEOF
71233 /* end confdefs.h. */
71234 #include <math.h>
71236 main ()
71238 __builtin_labs(0);
71240 return 0;
71242 _ACEOF
71243 rm -f conftest.$ac_objext conftest$ac_exeext
71244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71245 (eval $ac_link) 2>conftest.er1
71246 ac_status=$?
71247 grep -v '^ *+' conftest.er1 >conftest.err
71248 rm -f conftest.er1
71249 cat conftest.err >&5
71250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71251 (exit $ac_status); } &&
71252 { ac_try='test -z "$ac_c_werror_flag"
71253 || test ! -s conftest.err'
71254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71255 (eval $ac_try) 2>&5
71256 ac_status=$?
71257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71258 (exit $ac_status); }; } &&
71259 { ac_try='test -s conftest$ac_exeext'
71260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71261 (eval $ac_try) 2>&5
71262 ac_status=$?
71263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71264 (exit $ac_status); }; }; then
71265 glibcxx_cv_func___builtin_labs_link=yes
71266 else
71267 echo "$as_me: failed program was:" >&5
71268 sed 's/^/| /' conftest.$ac_ext >&5
71270 glibcxx_cv_func___builtin_labs_link=no
71272 rm -f conftest.err conftest.$ac_objext \
71273 conftest$ac_exeext conftest.$ac_ext
71278 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71279 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71281 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71283 cat >>confdefs.h <<\_ACEOF
71284 #define HAVE___BUILTIN_LABS 1
71285 _ACEOF
71293 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71294 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71295 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71296 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71297 echo $ECHO_N "(cached) $ECHO_C" >&6
71298 else
71302 ac_ext=cc
71303 ac_cpp='$CXXCPP $CPPFLAGS'
71304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71308 cat >conftest.$ac_ext <<_ACEOF
71309 /* confdefs.h. */
71310 _ACEOF
71311 cat confdefs.h >>conftest.$ac_ext
71312 cat >>conftest.$ac_ext <<_ACEOF
71313 /* end confdefs.h. */
71314 #include <math.h>
71316 main ()
71318 __builtin_sqrtf(0);
71320 return 0;
71322 _ACEOF
71323 rm -f conftest.$ac_objext
71324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71325 (eval $ac_compile) 2>conftest.er1
71326 ac_status=$?
71327 grep -v '^ *+' conftest.er1 >conftest.err
71328 rm -f conftest.er1
71329 cat conftest.err >&5
71330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71331 (exit $ac_status); } &&
71332 { ac_try='test -z "$ac_cxx_werror_flag"
71333 || test ! -s conftest.err'
71334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71335 (eval $ac_try) 2>&5
71336 ac_status=$?
71337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71338 (exit $ac_status); }; } &&
71339 { ac_try='test -s conftest.$ac_objext'
71340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71341 (eval $ac_try) 2>&5
71342 ac_status=$?
71343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71344 (exit $ac_status); }; }; then
71345 glibcxx_cv_func___builtin_sqrtf_use=yes
71346 else
71347 echo "$as_me: failed program was:" >&5
71348 sed 's/^/| /' conftest.$ac_ext >&5
71350 glibcxx_cv_func___builtin_sqrtf_use=no
71352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71353 ac_ext=c
71354 ac_cpp='$CPP $CPPFLAGS'
71355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71363 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71364 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71365 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71366 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71367 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71368 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71369 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71370 echo $ECHO_N "(cached) $ECHO_C" >&6
71371 else
71373 if test x$gcc_no_link = xyes; then
71374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71376 { (exit 1); exit 1; }; }
71378 cat >conftest.$ac_ext <<_ACEOF
71379 /* confdefs.h. */
71380 _ACEOF
71381 cat confdefs.h >>conftest.$ac_ext
71382 cat >>conftest.$ac_ext <<_ACEOF
71383 /* end confdefs.h. */
71384 #include <math.h>
71386 main ()
71388 __builtin_sqrtf(0);
71390 return 0;
71392 _ACEOF
71393 rm -f conftest.$ac_objext conftest$ac_exeext
71394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71395 (eval $ac_link) 2>conftest.er1
71396 ac_status=$?
71397 grep -v '^ *+' conftest.er1 >conftest.err
71398 rm -f conftest.er1
71399 cat conftest.err >&5
71400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71401 (exit $ac_status); } &&
71402 { ac_try='test -z "$ac_c_werror_flag"
71403 || test ! -s conftest.err'
71404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71405 (eval $ac_try) 2>&5
71406 ac_status=$?
71407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71408 (exit $ac_status); }; } &&
71409 { ac_try='test -s conftest$ac_exeext'
71410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71411 (eval $ac_try) 2>&5
71412 ac_status=$?
71413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71414 (exit $ac_status); }; }; then
71415 glibcxx_cv_func___builtin_sqrtf_link=yes
71416 else
71417 echo "$as_me: failed program was:" >&5
71418 sed 's/^/| /' conftest.$ac_ext >&5
71420 glibcxx_cv_func___builtin_sqrtf_link=no
71422 rm -f conftest.err conftest.$ac_objext \
71423 conftest$ac_exeext conftest.$ac_ext
71428 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71429 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71431 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71433 cat >>confdefs.h <<\_ACEOF
71434 #define HAVE___BUILTIN_SQRTF 1
71435 _ACEOF
71442 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71443 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71444 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71445 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71446 echo $ECHO_N "(cached) $ECHO_C" >&6
71447 else
71451 ac_ext=cc
71452 ac_cpp='$CXXCPP $CPPFLAGS'
71453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71457 cat >conftest.$ac_ext <<_ACEOF
71458 /* confdefs.h. */
71459 _ACEOF
71460 cat confdefs.h >>conftest.$ac_ext
71461 cat >>conftest.$ac_ext <<_ACEOF
71462 /* end confdefs.h. */
71463 #include <math.h>
71465 main ()
71467 __builtin_sqrt(0);
71469 return 0;
71471 _ACEOF
71472 rm -f conftest.$ac_objext
71473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71474 (eval $ac_compile) 2>conftest.er1
71475 ac_status=$?
71476 grep -v '^ *+' conftest.er1 >conftest.err
71477 rm -f conftest.er1
71478 cat conftest.err >&5
71479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71480 (exit $ac_status); } &&
71481 { ac_try='test -z "$ac_cxx_werror_flag"
71482 || test ! -s conftest.err'
71483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71484 (eval $ac_try) 2>&5
71485 ac_status=$?
71486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71487 (exit $ac_status); }; } &&
71488 { ac_try='test -s conftest.$ac_objext'
71489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71490 (eval $ac_try) 2>&5
71491 ac_status=$?
71492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71493 (exit $ac_status); }; }; then
71494 glibcxx_cv_func___builtin_sqrt_use=yes
71495 else
71496 echo "$as_me: failed program was:" >&5
71497 sed 's/^/| /' conftest.$ac_ext >&5
71499 glibcxx_cv_func___builtin_sqrt_use=no
71501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71502 ac_ext=c
71503 ac_cpp='$CPP $CPPFLAGS'
71504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71512 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71513 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71514 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71515 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71516 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71517 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71518 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71519 echo $ECHO_N "(cached) $ECHO_C" >&6
71520 else
71522 if test x$gcc_no_link = xyes; then
71523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71525 { (exit 1); exit 1; }; }
71527 cat >conftest.$ac_ext <<_ACEOF
71528 /* confdefs.h. */
71529 _ACEOF
71530 cat confdefs.h >>conftest.$ac_ext
71531 cat >>conftest.$ac_ext <<_ACEOF
71532 /* end confdefs.h. */
71533 #include <math.h>
71535 main ()
71537 __builtin_sqrt(0);
71539 return 0;
71541 _ACEOF
71542 rm -f conftest.$ac_objext conftest$ac_exeext
71543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71544 (eval $ac_link) 2>conftest.er1
71545 ac_status=$?
71546 grep -v '^ *+' conftest.er1 >conftest.err
71547 rm -f conftest.er1
71548 cat conftest.err >&5
71549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71550 (exit $ac_status); } &&
71551 { ac_try='test -z "$ac_c_werror_flag"
71552 || test ! -s conftest.err'
71553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71554 (eval $ac_try) 2>&5
71555 ac_status=$?
71556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71557 (exit $ac_status); }; } &&
71558 { ac_try='test -s conftest$ac_exeext'
71559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71560 (eval $ac_try) 2>&5
71561 ac_status=$?
71562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71563 (exit $ac_status); }; }; then
71564 glibcxx_cv_func___builtin_sqrt_link=yes
71565 else
71566 echo "$as_me: failed program was:" >&5
71567 sed 's/^/| /' conftest.$ac_ext >&5
71569 glibcxx_cv_func___builtin_sqrt_link=no
71571 rm -f conftest.err conftest.$ac_objext \
71572 conftest$ac_exeext conftest.$ac_ext
71577 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71578 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71580 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71582 cat >>confdefs.h <<\_ACEOF
71583 #define HAVE___BUILTIN_SQRT 1
71584 _ACEOF
71591 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71592 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71593 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71594 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71595 echo $ECHO_N "(cached) $ECHO_C" >&6
71596 else
71600 ac_ext=cc
71601 ac_cpp='$CXXCPP $CPPFLAGS'
71602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71606 cat >conftest.$ac_ext <<_ACEOF
71607 /* confdefs.h. */
71608 _ACEOF
71609 cat confdefs.h >>conftest.$ac_ext
71610 cat >>conftest.$ac_ext <<_ACEOF
71611 /* end confdefs.h. */
71612 #include <math.h>
71614 main ()
71616 __builtin_sqrtl(0);
71618 return 0;
71620 _ACEOF
71621 rm -f conftest.$ac_objext
71622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71623 (eval $ac_compile) 2>conftest.er1
71624 ac_status=$?
71625 grep -v '^ *+' conftest.er1 >conftest.err
71626 rm -f conftest.er1
71627 cat conftest.err >&5
71628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71629 (exit $ac_status); } &&
71630 { ac_try='test -z "$ac_cxx_werror_flag"
71631 || test ! -s conftest.err'
71632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71633 (eval $ac_try) 2>&5
71634 ac_status=$?
71635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71636 (exit $ac_status); }; } &&
71637 { ac_try='test -s conftest.$ac_objext'
71638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71639 (eval $ac_try) 2>&5
71640 ac_status=$?
71641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71642 (exit $ac_status); }; }; then
71643 glibcxx_cv_func___builtin_sqrtl_use=yes
71644 else
71645 echo "$as_me: failed program was:" >&5
71646 sed 's/^/| /' conftest.$ac_ext >&5
71648 glibcxx_cv_func___builtin_sqrtl_use=no
71650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71651 ac_ext=c
71652 ac_cpp='$CPP $CPPFLAGS'
71653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71661 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71662 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71663 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71664 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71665 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71666 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71667 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71668 echo $ECHO_N "(cached) $ECHO_C" >&6
71669 else
71671 if test x$gcc_no_link = xyes; then
71672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71674 { (exit 1); exit 1; }; }
71676 cat >conftest.$ac_ext <<_ACEOF
71677 /* confdefs.h. */
71678 _ACEOF
71679 cat confdefs.h >>conftest.$ac_ext
71680 cat >>conftest.$ac_ext <<_ACEOF
71681 /* end confdefs.h. */
71682 #include <math.h>
71684 main ()
71686 __builtin_sqrtl(0);
71688 return 0;
71690 _ACEOF
71691 rm -f conftest.$ac_objext conftest$ac_exeext
71692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71693 (eval $ac_link) 2>conftest.er1
71694 ac_status=$?
71695 grep -v '^ *+' conftest.er1 >conftest.err
71696 rm -f conftest.er1
71697 cat conftest.err >&5
71698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71699 (exit $ac_status); } &&
71700 { ac_try='test -z "$ac_c_werror_flag"
71701 || test ! -s conftest.err'
71702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71703 (eval $ac_try) 2>&5
71704 ac_status=$?
71705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71706 (exit $ac_status); }; } &&
71707 { ac_try='test -s conftest$ac_exeext'
71708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71709 (eval $ac_try) 2>&5
71710 ac_status=$?
71711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71712 (exit $ac_status); }; }; then
71713 glibcxx_cv_func___builtin_sqrtl_link=yes
71714 else
71715 echo "$as_me: failed program was:" >&5
71716 sed 's/^/| /' conftest.$ac_ext >&5
71718 glibcxx_cv_func___builtin_sqrtl_link=no
71720 rm -f conftest.err conftest.$ac_objext \
71721 conftest$ac_exeext conftest.$ac_ext
71726 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71727 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71729 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71731 cat >>confdefs.h <<\_ACEOF
71732 #define HAVE___BUILTIN_SQRTL 1
71733 _ACEOF
71741 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71742 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71743 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71744 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71745 echo $ECHO_N "(cached) $ECHO_C" >&6
71746 else
71750 ac_ext=cc
71751 ac_cpp='$CXXCPP $CPPFLAGS'
71752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71756 cat >conftest.$ac_ext <<_ACEOF
71757 /* confdefs.h. */
71758 _ACEOF
71759 cat confdefs.h >>conftest.$ac_ext
71760 cat >>conftest.$ac_ext <<_ACEOF
71761 /* end confdefs.h. */
71762 #include <math.h>
71764 main ()
71766 __builtin_sinf(0);
71768 return 0;
71770 _ACEOF
71771 rm -f conftest.$ac_objext
71772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71773 (eval $ac_compile) 2>conftest.er1
71774 ac_status=$?
71775 grep -v '^ *+' conftest.er1 >conftest.err
71776 rm -f conftest.er1
71777 cat conftest.err >&5
71778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71779 (exit $ac_status); } &&
71780 { ac_try='test -z "$ac_cxx_werror_flag"
71781 || test ! -s conftest.err'
71782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71783 (eval $ac_try) 2>&5
71784 ac_status=$?
71785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71786 (exit $ac_status); }; } &&
71787 { ac_try='test -s conftest.$ac_objext'
71788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71789 (eval $ac_try) 2>&5
71790 ac_status=$?
71791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71792 (exit $ac_status); }; }; then
71793 glibcxx_cv_func___builtin_sinf_use=yes
71794 else
71795 echo "$as_me: failed program was:" >&5
71796 sed 's/^/| /' conftest.$ac_ext >&5
71798 glibcxx_cv_func___builtin_sinf_use=no
71800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71801 ac_ext=c
71802 ac_cpp='$CPP $CPPFLAGS'
71803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71811 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71812 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71813 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71814 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71815 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71816 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71817 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71818 echo $ECHO_N "(cached) $ECHO_C" >&6
71819 else
71821 if test x$gcc_no_link = xyes; then
71822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71824 { (exit 1); exit 1; }; }
71826 cat >conftest.$ac_ext <<_ACEOF
71827 /* confdefs.h. */
71828 _ACEOF
71829 cat confdefs.h >>conftest.$ac_ext
71830 cat >>conftest.$ac_ext <<_ACEOF
71831 /* end confdefs.h. */
71832 #include <math.h>
71834 main ()
71836 __builtin_sinf(0);
71838 return 0;
71840 _ACEOF
71841 rm -f conftest.$ac_objext conftest$ac_exeext
71842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71843 (eval $ac_link) 2>conftest.er1
71844 ac_status=$?
71845 grep -v '^ *+' conftest.er1 >conftest.err
71846 rm -f conftest.er1
71847 cat conftest.err >&5
71848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71849 (exit $ac_status); } &&
71850 { ac_try='test -z "$ac_c_werror_flag"
71851 || test ! -s conftest.err'
71852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71853 (eval $ac_try) 2>&5
71854 ac_status=$?
71855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71856 (exit $ac_status); }; } &&
71857 { ac_try='test -s conftest$ac_exeext'
71858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71859 (eval $ac_try) 2>&5
71860 ac_status=$?
71861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71862 (exit $ac_status); }; }; then
71863 glibcxx_cv_func___builtin_sinf_link=yes
71864 else
71865 echo "$as_me: failed program was:" >&5
71866 sed 's/^/| /' conftest.$ac_ext >&5
71868 glibcxx_cv_func___builtin_sinf_link=no
71870 rm -f conftest.err conftest.$ac_objext \
71871 conftest$ac_exeext conftest.$ac_ext
71876 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71877 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71879 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71881 cat >>confdefs.h <<\_ACEOF
71882 #define HAVE___BUILTIN_SINF 1
71883 _ACEOF
71890 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71891 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71892 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71893 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71894 echo $ECHO_N "(cached) $ECHO_C" >&6
71895 else
71899 ac_ext=cc
71900 ac_cpp='$CXXCPP $CPPFLAGS'
71901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71905 cat >conftest.$ac_ext <<_ACEOF
71906 /* confdefs.h. */
71907 _ACEOF
71908 cat confdefs.h >>conftest.$ac_ext
71909 cat >>conftest.$ac_ext <<_ACEOF
71910 /* end confdefs.h. */
71911 #include <math.h>
71913 main ()
71915 __builtin_sin(0);
71917 return 0;
71919 _ACEOF
71920 rm -f conftest.$ac_objext
71921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71922 (eval $ac_compile) 2>conftest.er1
71923 ac_status=$?
71924 grep -v '^ *+' conftest.er1 >conftest.err
71925 rm -f conftest.er1
71926 cat conftest.err >&5
71927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71928 (exit $ac_status); } &&
71929 { ac_try='test -z "$ac_cxx_werror_flag"
71930 || test ! -s conftest.err'
71931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71932 (eval $ac_try) 2>&5
71933 ac_status=$?
71934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71935 (exit $ac_status); }; } &&
71936 { ac_try='test -s conftest.$ac_objext'
71937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71938 (eval $ac_try) 2>&5
71939 ac_status=$?
71940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71941 (exit $ac_status); }; }; then
71942 glibcxx_cv_func___builtin_sin_use=yes
71943 else
71944 echo "$as_me: failed program was:" >&5
71945 sed 's/^/| /' conftest.$ac_ext >&5
71947 glibcxx_cv_func___builtin_sin_use=no
71949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71950 ac_ext=c
71951 ac_cpp='$CPP $CPPFLAGS'
71952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71960 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71961 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71962 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71963 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71964 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71965 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71966 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71967 echo $ECHO_N "(cached) $ECHO_C" >&6
71968 else
71970 if test x$gcc_no_link = xyes; then
71971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71973 { (exit 1); exit 1; }; }
71975 cat >conftest.$ac_ext <<_ACEOF
71976 /* confdefs.h. */
71977 _ACEOF
71978 cat confdefs.h >>conftest.$ac_ext
71979 cat >>conftest.$ac_ext <<_ACEOF
71980 /* end confdefs.h. */
71981 #include <math.h>
71983 main ()
71985 __builtin_sin(0);
71987 return 0;
71989 _ACEOF
71990 rm -f conftest.$ac_objext conftest$ac_exeext
71991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71992 (eval $ac_link) 2>conftest.er1
71993 ac_status=$?
71994 grep -v '^ *+' conftest.er1 >conftest.err
71995 rm -f conftest.er1
71996 cat conftest.err >&5
71997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71998 (exit $ac_status); } &&
71999 { ac_try='test -z "$ac_c_werror_flag"
72000 || test ! -s conftest.err'
72001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72002 (eval $ac_try) 2>&5
72003 ac_status=$?
72004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72005 (exit $ac_status); }; } &&
72006 { ac_try='test -s conftest$ac_exeext'
72007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72008 (eval $ac_try) 2>&5
72009 ac_status=$?
72010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72011 (exit $ac_status); }; }; then
72012 glibcxx_cv_func___builtin_sin_link=yes
72013 else
72014 echo "$as_me: failed program was:" >&5
72015 sed 's/^/| /' conftest.$ac_ext >&5
72017 glibcxx_cv_func___builtin_sin_link=no
72019 rm -f conftest.err conftest.$ac_objext \
72020 conftest$ac_exeext conftest.$ac_ext
72025 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
72026 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
72028 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
72030 cat >>confdefs.h <<\_ACEOF
72031 #define HAVE___BUILTIN_SIN 1
72032 _ACEOF
72039 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72040 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72041 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72042 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72043 echo $ECHO_N "(cached) $ECHO_C" >&6
72044 else
72048 ac_ext=cc
72049 ac_cpp='$CXXCPP $CPPFLAGS'
72050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72054 cat >conftest.$ac_ext <<_ACEOF
72055 /* confdefs.h. */
72056 _ACEOF
72057 cat confdefs.h >>conftest.$ac_ext
72058 cat >>conftest.$ac_ext <<_ACEOF
72059 /* end confdefs.h. */
72060 #include <math.h>
72062 main ()
72064 __builtin_sinl(0);
72066 return 0;
72068 _ACEOF
72069 rm -f conftest.$ac_objext
72070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72071 (eval $ac_compile) 2>conftest.er1
72072 ac_status=$?
72073 grep -v '^ *+' conftest.er1 >conftest.err
72074 rm -f conftest.er1
72075 cat conftest.err >&5
72076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72077 (exit $ac_status); } &&
72078 { ac_try='test -z "$ac_cxx_werror_flag"
72079 || test ! -s conftest.err'
72080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72081 (eval $ac_try) 2>&5
72082 ac_status=$?
72083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72084 (exit $ac_status); }; } &&
72085 { ac_try='test -s conftest.$ac_objext'
72086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72087 (eval $ac_try) 2>&5
72088 ac_status=$?
72089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72090 (exit $ac_status); }; }; then
72091 glibcxx_cv_func___builtin_sinl_use=yes
72092 else
72093 echo "$as_me: failed program was:" >&5
72094 sed 's/^/| /' conftest.$ac_ext >&5
72096 glibcxx_cv_func___builtin_sinl_use=no
72098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72099 ac_ext=c
72100 ac_cpp='$CPP $CPPFLAGS'
72101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72109 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72110 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72111 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72112 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72113 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72114 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72115 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72116 echo $ECHO_N "(cached) $ECHO_C" >&6
72117 else
72119 if test x$gcc_no_link = xyes; then
72120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72122 { (exit 1); exit 1; }; }
72124 cat >conftest.$ac_ext <<_ACEOF
72125 /* confdefs.h. */
72126 _ACEOF
72127 cat confdefs.h >>conftest.$ac_ext
72128 cat >>conftest.$ac_ext <<_ACEOF
72129 /* end confdefs.h. */
72130 #include <math.h>
72132 main ()
72134 __builtin_sinl(0);
72136 return 0;
72138 _ACEOF
72139 rm -f conftest.$ac_objext conftest$ac_exeext
72140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72141 (eval $ac_link) 2>conftest.er1
72142 ac_status=$?
72143 grep -v '^ *+' conftest.er1 >conftest.err
72144 rm -f conftest.er1
72145 cat conftest.err >&5
72146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72147 (exit $ac_status); } &&
72148 { ac_try='test -z "$ac_c_werror_flag"
72149 || test ! -s conftest.err'
72150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72151 (eval $ac_try) 2>&5
72152 ac_status=$?
72153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72154 (exit $ac_status); }; } &&
72155 { ac_try='test -s conftest$ac_exeext'
72156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72157 (eval $ac_try) 2>&5
72158 ac_status=$?
72159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72160 (exit $ac_status); }; }; then
72161 glibcxx_cv_func___builtin_sinl_link=yes
72162 else
72163 echo "$as_me: failed program was:" >&5
72164 sed 's/^/| /' conftest.$ac_ext >&5
72166 glibcxx_cv_func___builtin_sinl_link=no
72168 rm -f conftest.err conftest.$ac_objext \
72169 conftest$ac_exeext conftest.$ac_ext
72174 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72175 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72177 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72179 cat >>confdefs.h <<\_ACEOF
72180 #define HAVE___BUILTIN_SINL 1
72181 _ACEOF
72189 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72190 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72191 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72192 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72193 echo $ECHO_N "(cached) $ECHO_C" >&6
72194 else
72198 ac_ext=cc
72199 ac_cpp='$CXXCPP $CPPFLAGS'
72200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72204 cat >conftest.$ac_ext <<_ACEOF
72205 /* confdefs.h. */
72206 _ACEOF
72207 cat confdefs.h >>conftest.$ac_ext
72208 cat >>conftest.$ac_ext <<_ACEOF
72209 /* end confdefs.h. */
72210 #include <math.h>
72212 main ()
72214 __builtin_cosf(0);
72216 return 0;
72218 _ACEOF
72219 rm -f conftest.$ac_objext
72220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72221 (eval $ac_compile) 2>conftest.er1
72222 ac_status=$?
72223 grep -v '^ *+' conftest.er1 >conftest.err
72224 rm -f conftest.er1
72225 cat conftest.err >&5
72226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72227 (exit $ac_status); } &&
72228 { ac_try='test -z "$ac_cxx_werror_flag"
72229 || test ! -s conftest.err'
72230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72231 (eval $ac_try) 2>&5
72232 ac_status=$?
72233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72234 (exit $ac_status); }; } &&
72235 { ac_try='test -s conftest.$ac_objext'
72236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72237 (eval $ac_try) 2>&5
72238 ac_status=$?
72239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72240 (exit $ac_status); }; }; then
72241 glibcxx_cv_func___builtin_cosf_use=yes
72242 else
72243 echo "$as_me: failed program was:" >&5
72244 sed 's/^/| /' conftest.$ac_ext >&5
72246 glibcxx_cv_func___builtin_cosf_use=no
72248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72249 ac_ext=c
72250 ac_cpp='$CPP $CPPFLAGS'
72251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72259 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72260 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72261 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72262 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72263 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72264 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72265 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72266 echo $ECHO_N "(cached) $ECHO_C" >&6
72267 else
72269 if test x$gcc_no_link = xyes; then
72270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72272 { (exit 1); exit 1; }; }
72274 cat >conftest.$ac_ext <<_ACEOF
72275 /* confdefs.h. */
72276 _ACEOF
72277 cat confdefs.h >>conftest.$ac_ext
72278 cat >>conftest.$ac_ext <<_ACEOF
72279 /* end confdefs.h. */
72280 #include <math.h>
72282 main ()
72284 __builtin_cosf(0);
72286 return 0;
72288 _ACEOF
72289 rm -f conftest.$ac_objext conftest$ac_exeext
72290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72291 (eval $ac_link) 2>conftest.er1
72292 ac_status=$?
72293 grep -v '^ *+' conftest.er1 >conftest.err
72294 rm -f conftest.er1
72295 cat conftest.err >&5
72296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72297 (exit $ac_status); } &&
72298 { ac_try='test -z "$ac_c_werror_flag"
72299 || test ! -s conftest.err'
72300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72301 (eval $ac_try) 2>&5
72302 ac_status=$?
72303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72304 (exit $ac_status); }; } &&
72305 { ac_try='test -s conftest$ac_exeext'
72306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72307 (eval $ac_try) 2>&5
72308 ac_status=$?
72309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72310 (exit $ac_status); }; }; then
72311 glibcxx_cv_func___builtin_cosf_link=yes
72312 else
72313 echo "$as_me: failed program was:" >&5
72314 sed 's/^/| /' conftest.$ac_ext >&5
72316 glibcxx_cv_func___builtin_cosf_link=no
72318 rm -f conftest.err conftest.$ac_objext \
72319 conftest$ac_exeext conftest.$ac_ext
72324 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72325 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72327 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72329 cat >>confdefs.h <<\_ACEOF
72330 #define HAVE___BUILTIN_COSF 1
72331 _ACEOF
72338 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72339 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72340 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72341 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72342 echo $ECHO_N "(cached) $ECHO_C" >&6
72343 else
72347 ac_ext=cc
72348 ac_cpp='$CXXCPP $CPPFLAGS'
72349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72353 cat >conftest.$ac_ext <<_ACEOF
72354 /* confdefs.h. */
72355 _ACEOF
72356 cat confdefs.h >>conftest.$ac_ext
72357 cat >>conftest.$ac_ext <<_ACEOF
72358 /* end confdefs.h. */
72359 #include <math.h>
72361 main ()
72363 __builtin_cos(0);
72365 return 0;
72367 _ACEOF
72368 rm -f conftest.$ac_objext
72369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72370 (eval $ac_compile) 2>conftest.er1
72371 ac_status=$?
72372 grep -v '^ *+' conftest.er1 >conftest.err
72373 rm -f conftest.er1
72374 cat conftest.err >&5
72375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72376 (exit $ac_status); } &&
72377 { ac_try='test -z "$ac_cxx_werror_flag"
72378 || test ! -s conftest.err'
72379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72380 (eval $ac_try) 2>&5
72381 ac_status=$?
72382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72383 (exit $ac_status); }; } &&
72384 { ac_try='test -s conftest.$ac_objext'
72385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72386 (eval $ac_try) 2>&5
72387 ac_status=$?
72388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72389 (exit $ac_status); }; }; then
72390 glibcxx_cv_func___builtin_cos_use=yes
72391 else
72392 echo "$as_me: failed program was:" >&5
72393 sed 's/^/| /' conftest.$ac_ext >&5
72395 glibcxx_cv_func___builtin_cos_use=no
72397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72398 ac_ext=c
72399 ac_cpp='$CPP $CPPFLAGS'
72400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72408 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72409 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72410 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72411 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72412 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72413 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72414 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72415 echo $ECHO_N "(cached) $ECHO_C" >&6
72416 else
72418 if test x$gcc_no_link = xyes; then
72419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72421 { (exit 1); exit 1; }; }
72423 cat >conftest.$ac_ext <<_ACEOF
72424 /* confdefs.h. */
72425 _ACEOF
72426 cat confdefs.h >>conftest.$ac_ext
72427 cat >>conftest.$ac_ext <<_ACEOF
72428 /* end confdefs.h. */
72429 #include <math.h>
72431 main ()
72433 __builtin_cos(0);
72435 return 0;
72437 _ACEOF
72438 rm -f conftest.$ac_objext conftest$ac_exeext
72439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72440 (eval $ac_link) 2>conftest.er1
72441 ac_status=$?
72442 grep -v '^ *+' conftest.er1 >conftest.err
72443 rm -f conftest.er1
72444 cat conftest.err >&5
72445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72446 (exit $ac_status); } &&
72447 { ac_try='test -z "$ac_c_werror_flag"
72448 || test ! -s conftest.err'
72449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72450 (eval $ac_try) 2>&5
72451 ac_status=$?
72452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72453 (exit $ac_status); }; } &&
72454 { ac_try='test -s conftest$ac_exeext'
72455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72456 (eval $ac_try) 2>&5
72457 ac_status=$?
72458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72459 (exit $ac_status); }; }; then
72460 glibcxx_cv_func___builtin_cos_link=yes
72461 else
72462 echo "$as_me: failed program was:" >&5
72463 sed 's/^/| /' conftest.$ac_ext >&5
72465 glibcxx_cv_func___builtin_cos_link=no
72467 rm -f conftest.err conftest.$ac_objext \
72468 conftest$ac_exeext conftest.$ac_ext
72473 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72474 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72476 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72478 cat >>confdefs.h <<\_ACEOF
72479 #define HAVE___BUILTIN_COS 1
72480 _ACEOF
72487 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72488 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72489 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72490 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72491 echo $ECHO_N "(cached) $ECHO_C" >&6
72492 else
72496 ac_ext=cc
72497 ac_cpp='$CXXCPP $CPPFLAGS'
72498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72502 cat >conftest.$ac_ext <<_ACEOF
72503 /* confdefs.h. */
72504 _ACEOF
72505 cat confdefs.h >>conftest.$ac_ext
72506 cat >>conftest.$ac_ext <<_ACEOF
72507 /* end confdefs.h. */
72508 #include <math.h>
72510 main ()
72512 __builtin_cosl(0);
72514 return 0;
72516 _ACEOF
72517 rm -f conftest.$ac_objext
72518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72519 (eval $ac_compile) 2>conftest.er1
72520 ac_status=$?
72521 grep -v '^ *+' conftest.er1 >conftest.err
72522 rm -f conftest.er1
72523 cat conftest.err >&5
72524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72525 (exit $ac_status); } &&
72526 { ac_try='test -z "$ac_cxx_werror_flag"
72527 || test ! -s conftest.err'
72528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72529 (eval $ac_try) 2>&5
72530 ac_status=$?
72531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72532 (exit $ac_status); }; } &&
72533 { ac_try='test -s conftest.$ac_objext'
72534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72535 (eval $ac_try) 2>&5
72536 ac_status=$?
72537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72538 (exit $ac_status); }; }; then
72539 glibcxx_cv_func___builtin_cosl_use=yes
72540 else
72541 echo "$as_me: failed program was:" >&5
72542 sed 's/^/| /' conftest.$ac_ext >&5
72544 glibcxx_cv_func___builtin_cosl_use=no
72546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72547 ac_ext=c
72548 ac_cpp='$CPP $CPPFLAGS'
72549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72557 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72558 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72559 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72560 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72561 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72562 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72563 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72564 echo $ECHO_N "(cached) $ECHO_C" >&6
72565 else
72567 if test x$gcc_no_link = xyes; then
72568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72570 { (exit 1); exit 1; }; }
72572 cat >conftest.$ac_ext <<_ACEOF
72573 /* confdefs.h. */
72574 _ACEOF
72575 cat confdefs.h >>conftest.$ac_ext
72576 cat >>conftest.$ac_ext <<_ACEOF
72577 /* end confdefs.h. */
72578 #include <math.h>
72580 main ()
72582 __builtin_cosl(0);
72584 return 0;
72586 _ACEOF
72587 rm -f conftest.$ac_objext conftest$ac_exeext
72588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72589 (eval $ac_link) 2>conftest.er1
72590 ac_status=$?
72591 grep -v '^ *+' conftest.er1 >conftest.err
72592 rm -f conftest.er1
72593 cat conftest.err >&5
72594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72595 (exit $ac_status); } &&
72596 { ac_try='test -z "$ac_c_werror_flag"
72597 || test ! -s conftest.err'
72598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72599 (eval $ac_try) 2>&5
72600 ac_status=$?
72601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72602 (exit $ac_status); }; } &&
72603 { ac_try='test -s conftest$ac_exeext'
72604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72605 (eval $ac_try) 2>&5
72606 ac_status=$?
72607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72608 (exit $ac_status); }; }; then
72609 glibcxx_cv_func___builtin_cosl_link=yes
72610 else
72611 echo "$as_me: failed program was:" >&5
72612 sed 's/^/| /' conftest.$ac_ext >&5
72614 glibcxx_cv_func___builtin_cosl_link=no
72616 rm -f conftest.err conftest.$ac_objext \
72617 conftest$ac_exeext conftest.$ac_ext
72622 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72623 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72625 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72627 cat >>confdefs.h <<\_ACEOF
72628 #define HAVE___BUILTIN_COSL 1
72629 _ACEOF
72638 echo "$as_me:$LINENO: checking for main in -lm" >&5
72639 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72640 if test "${ac_cv_lib_m_main+set}" = set; then
72641 echo $ECHO_N "(cached) $ECHO_C" >&6
72642 else
72643 ac_check_lib_save_LIBS=$LIBS
72644 LIBS="-lm $LIBS"
72645 if test x$gcc_no_link = xyes; then
72646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72648 { (exit 1); exit 1; }; }
72650 cat >conftest.$ac_ext <<_ACEOF
72651 /* confdefs.h. */
72652 _ACEOF
72653 cat confdefs.h >>conftest.$ac_ext
72654 cat >>conftest.$ac_ext <<_ACEOF
72655 /* end confdefs.h. */
72659 main ()
72661 main ();
72663 return 0;
72665 _ACEOF
72666 rm -f conftest.$ac_objext conftest$ac_exeext
72667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72668 (eval $ac_link) 2>conftest.er1
72669 ac_status=$?
72670 grep -v '^ *+' conftest.er1 >conftest.err
72671 rm -f conftest.er1
72672 cat conftest.err >&5
72673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72674 (exit $ac_status); } &&
72675 { ac_try='test -z "$ac_c_werror_flag"
72676 || test ! -s conftest.err'
72677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72678 (eval $ac_try) 2>&5
72679 ac_status=$?
72680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72681 (exit $ac_status); }; } &&
72682 { ac_try='test -s conftest$ac_exeext'
72683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72684 (eval $ac_try) 2>&5
72685 ac_status=$?
72686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72687 (exit $ac_status); }; }; then
72688 ac_cv_lib_m_main=yes
72689 else
72690 echo "$as_me: failed program was:" >&5
72691 sed 's/^/| /' conftest.$ac_ext >&5
72693 ac_cv_lib_m_main=no
72695 rm -f conftest.err conftest.$ac_objext \
72696 conftest$ac_exeext conftest.$ac_ext
72697 LIBS=$ac_check_lib_save_LIBS
72699 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72700 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72701 if test $ac_cv_lib_m_main = yes; then
72702 cat >>confdefs.h <<_ACEOF
72703 #define HAVE_LIBM 1
72704 _ACEOF
72706 LIBS="-lm $LIBS"
72711 for ac_func in copysignf
72713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72714 echo "$as_me:$LINENO: checking for $ac_func" >&5
72715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72716 if eval "test \"\${$as_ac_var+set}\" = set"; then
72717 echo $ECHO_N "(cached) $ECHO_C" >&6
72718 else
72719 if test x$gcc_no_link = xyes; then
72720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72722 { (exit 1); exit 1; }; }
72724 cat >conftest.$ac_ext <<_ACEOF
72725 /* confdefs.h. */
72726 _ACEOF
72727 cat confdefs.h >>conftest.$ac_ext
72728 cat >>conftest.$ac_ext <<_ACEOF
72729 /* end confdefs.h. */
72730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72732 #define $ac_func innocuous_$ac_func
72734 /* System header to define __stub macros and hopefully few prototypes,
72735 which can conflict with char $ac_func (); below.
72736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72737 <limits.h> exists even on freestanding compilers. */
72739 #ifdef __STDC__
72740 # include <limits.h>
72741 #else
72742 # include <assert.h>
72743 #endif
72745 #undef $ac_func
72747 /* Override any gcc2 internal prototype to avoid an error. */
72748 #ifdef __cplusplus
72749 extern "C"
72751 #endif
72752 /* We use char because int might match the return type of a gcc2
72753 builtin and then its argument prototype would still apply. */
72754 char $ac_func ();
72755 /* The GNU C library defines this for functions which it implements
72756 to always fail with ENOSYS. Some functions are actually named
72757 something starting with __ and the normal name is an alias. */
72758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72759 choke me
72760 #else
72761 char (*f) () = $ac_func;
72762 #endif
72763 #ifdef __cplusplus
72765 #endif
72768 main ()
72770 return f != $ac_func;
72772 return 0;
72774 _ACEOF
72775 rm -f conftest.$ac_objext conftest$ac_exeext
72776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72777 (eval $ac_link) 2>conftest.er1
72778 ac_status=$?
72779 grep -v '^ *+' conftest.er1 >conftest.err
72780 rm -f conftest.er1
72781 cat conftest.err >&5
72782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72783 (exit $ac_status); } &&
72784 { ac_try='test -z "$ac_c_werror_flag"
72785 || test ! -s conftest.err'
72786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72787 (eval $ac_try) 2>&5
72788 ac_status=$?
72789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72790 (exit $ac_status); }; } &&
72791 { ac_try='test -s conftest$ac_exeext'
72792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72793 (eval $ac_try) 2>&5
72794 ac_status=$?
72795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72796 (exit $ac_status); }; }; then
72797 eval "$as_ac_var=yes"
72798 else
72799 echo "$as_me: failed program was:" >&5
72800 sed 's/^/| /' conftest.$ac_ext >&5
72802 eval "$as_ac_var=no"
72804 rm -f conftest.err conftest.$ac_objext \
72805 conftest$ac_exeext conftest.$ac_ext
72807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72809 if test `eval echo '${'$as_ac_var'}'` = yes; then
72810 cat >>confdefs.h <<_ACEOF
72811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72812 _ACEOF
72814 else
72815 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72817 done
72821 for ac_func in __signbit
72823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72824 echo "$as_me:$LINENO: checking for $ac_func" >&5
72825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72826 if eval "test \"\${$as_ac_var+set}\" = set"; then
72827 echo $ECHO_N "(cached) $ECHO_C" >&6
72828 else
72829 if test x$gcc_no_link = xyes; then
72830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72832 { (exit 1); exit 1; }; }
72834 cat >conftest.$ac_ext <<_ACEOF
72835 /* confdefs.h. */
72836 _ACEOF
72837 cat confdefs.h >>conftest.$ac_ext
72838 cat >>conftest.$ac_ext <<_ACEOF
72839 /* end confdefs.h. */
72840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72842 #define $ac_func innocuous_$ac_func
72844 /* System header to define __stub macros and hopefully few prototypes,
72845 which can conflict with char $ac_func (); below.
72846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72847 <limits.h> exists even on freestanding compilers. */
72849 #ifdef __STDC__
72850 # include <limits.h>
72851 #else
72852 # include <assert.h>
72853 #endif
72855 #undef $ac_func
72857 /* Override any gcc2 internal prototype to avoid an error. */
72858 #ifdef __cplusplus
72859 extern "C"
72861 #endif
72862 /* We use char because int might match the return type of a gcc2
72863 builtin and then its argument prototype would still apply. */
72864 char $ac_func ();
72865 /* The GNU C library defines this for functions which it implements
72866 to always fail with ENOSYS. Some functions are actually named
72867 something starting with __ and the normal name is an alias. */
72868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72869 choke me
72870 #else
72871 char (*f) () = $ac_func;
72872 #endif
72873 #ifdef __cplusplus
72875 #endif
72878 main ()
72880 return f != $ac_func;
72882 return 0;
72884 _ACEOF
72885 rm -f conftest.$ac_objext conftest$ac_exeext
72886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72887 (eval $ac_link) 2>conftest.er1
72888 ac_status=$?
72889 grep -v '^ *+' conftest.er1 >conftest.err
72890 rm -f conftest.er1
72891 cat conftest.err >&5
72892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72893 (exit $ac_status); } &&
72894 { ac_try='test -z "$ac_c_werror_flag"
72895 || test ! -s conftest.err'
72896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72897 (eval $ac_try) 2>&5
72898 ac_status=$?
72899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72900 (exit $ac_status); }; } &&
72901 { ac_try='test -s conftest$ac_exeext'
72902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72903 (eval $ac_try) 2>&5
72904 ac_status=$?
72905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72906 (exit $ac_status); }; }; then
72907 eval "$as_ac_var=yes"
72908 else
72909 echo "$as_me: failed program was:" >&5
72910 sed 's/^/| /' conftest.$ac_ext >&5
72912 eval "$as_ac_var=no"
72914 rm -f conftest.err conftest.$ac_objext \
72915 conftest$ac_exeext conftest.$ac_ext
72917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72919 if test `eval echo '${'$as_ac_var'}'` = yes; then
72920 cat >>confdefs.h <<_ACEOF
72921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72922 _ACEOF
72924 else
72925 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72927 done
72931 for ac_func in __signbitf
72933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72934 echo "$as_me:$LINENO: checking for $ac_func" >&5
72935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72936 if eval "test \"\${$as_ac_var+set}\" = set"; then
72937 echo $ECHO_N "(cached) $ECHO_C" >&6
72938 else
72939 if test x$gcc_no_link = xyes; then
72940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72942 { (exit 1); exit 1; }; }
72944 cat >conftest.$ac_ext <<_ACEOF
72945 /* confdefs.h. */
72946 _ACEOF
72947 cat confdefs.h >>conftest.$ac_ext
72948 cat >>conftest.$ac_ext <<_ACEOF
72949 /* end confdefs.h. */
72950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72952 #define $ac_func innocuous_$ac_func
72954 /* System header to define __stub macros and hopefully few prototypes,
72955 which can conflict with char $ac_func (); below.
72956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72957 <limits.h> exists even on freestanding compilers. */
72959 #ifdef __STDC__
72960 # include <limits.h>
72961 #else
72962 # include <assert.h>
72963 #endif
72965 #undef $ac_func
72967 /* Override any gcc2 internal prototype to avoid an error. */
72968 #ifdef __cplusplus
72969 extern "C"
72971 #endif
72972 /* We use char because int might match the return type of a gcc2
72973 builtin and then its argument prototype would still apply. */
72974 char $ac_func ();
72975 /* The GNU C library defines this for functions which it implements
72976 to always fail with ENOSYS. Some functions are actually named
72977 something starting with __ and the normal name is an alias. */
72978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72979 choke me
72980 #else
72981 char (*f) () = $ac_func;
72982 #endif
72983 #ifdef __cplusplus
72985 #endif
72988 main ()
72990 return f != $ac_func;
72992 return 0;
72994 _ACEOF
72995 rm -f conftest.$ac_objext conftest$ac_exeext
72996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72997 (eval $ac_link) 2>conftest.er1
72998 ac_status=$?
72999 grep -v '^ *+' conftest.er1 >conftest.err
73000 rm -f conftest.er1
73001 cat conftest.err >&5
73002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73003 (exit $ac_status); } &&
73004 { ac_try='test -z "$ac_c_werror_flag"
73005 || test ! -s conftest.err'
73006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73007 (eval $ac_try) 2>&5
73008 ac_status=$?
73009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73010 (exit $ac_status); }; } &&
73011 { ac_try='test -s conftest$ac_exeext'
73012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73013 (eval $ac_try) 2>&5
73014 ac_status=$?
73015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73016 (exit $ac_status); }; }; then
73017 eval "$as_ac_var=yes"
73018 else
73019 echo "$as_me: failed program was:" >&5
73020 sed 's/^/| /' conftest.$ac_ext >&5
73022 eval "$as_ac_var=no"
73024 rm -f conftest.err conftest.$ac_objext \
73025 conftest$ac_exeext conftest.$ac_ext
73027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73029 if test `eval echo '${'$as_ac_var'}'` = yes; then
73030 cat >>confdefs.h <<_ACEOF
73031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73032 _ACEOF
73034 else
73035 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
73037 done
73040 if test x$ac_cv_func_copysignl = x"yes"; then
73042 for ac_func in __signbitl
73044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73045 echo "$as_me:$LINENO: checking for $ac_func" >&5
73046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73047 if eval "test \"\${$as_ac_var+set}\" = set"; then
73048 echo $ECHO_N "(cached) $ECHO_C" >&6
73049 else
73050 if test x$gcc_no_link = xyes; then
73051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73053 { (exit 1); exit 1; }; }
73055 cat >conftest.$ac_ext <<_ACEOF
73056 /* confdefs.h. */
73057 _ACEOF
73058 cat confdefs.h >>conftest.$ac_ext
73059 cat >>conftest.$ac_ext <<_ACEOF
73060 /* end confdefs.h. */
73061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73063 #define $ac_func innocuous_$ac_func
73065 /* System header to define __stub macros and hopefully few prototypes,
73066 which can conflict with char $ac_func (); below.
73067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73068 <limits.h> exists even on freestanding compilers. */
73070 #ifdef __STDC__
73071 # include <limits.h>
73072 #else
73073 # include <assert.h>
73074 #endif
73076 #undef $ac_func
73078 /* Override any gcc2 internal prototype to avoid an error. */
73079 #ifdef __cplusplus
73080 extern "C"
73082 #endif
73083 /* We use char because int might match the return type of a gcc2
73084 builtin and then its argument prototype would still apply. */
73085 char $ac_func ();
73086 /* The GNU C library defines this for functions which it implements
73087 to always fail with ENOSYS. Some functions are actually named
73088 something starting with __ and the normal name is an alias. */
73089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73090 choke me
73091 #else
73092 char (*f) () = $ac_func;
73093 #endif
73094 #ifdef __cplusplus
73096 #endif
73099 main ()
73101 return f != $ac_func;
73103 return 0;
73105 _ACEOF
73106 rm -f conftest.$ac_objext conftest$ac_exeext
73107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73108 (eval $ac_link) 2>conftest.er1
73109 ac_status=$?
73110 grep -v '^ *+' conftest.er1 >conftest.err
73111 rm -f conftest.er1
73112 cat conftest.err >&5
73113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73114 (exit $ac_status); } &&
73115 { ac_try='test -z "$ac_c_werror_flag"
73116 || test ! -s conftest.err'
73117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73118 (eval $ac_try) 2>&5
73119 ac_status=$?
73120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73121 (exit $ac_status); }; } &&
73122 { ac_try='test -s conftest$ac_exeext'
73123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73124 (eval $ac_try) 2>&5
73125 ac_status=$?
73126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73127 (exit $ac_status); }; }; then
73128 eval "$as_ac_var=yes"
73129 else
73130 echo "$as_me: failed program was:" >&5
73131 sed 's/^/| /' conftest.$ac_ext >&5
73133 eval "$as_ac_var=no"
73135 rm -f conftest.err conftest.$ac_objext \
73136 conftest$ac_exeext conftest.$ac_ext
73138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73140 if test `eval echo '${'$as_ac_var'}'` = yes; then
73141 cat >>confdefs.h <<_ACEOF
73142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73143 _ACEOF
73145 else
73146 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73148 done
73152 # Used in libmath/Makefile.am.
73153 if test -n "$LIBMATHOBJS"; then
73154 need_libmath=yes
73160 enable_iconv=no
73161 # Only continue checking if the ISO C99 headers exist and support is on.
73162 if test x"$enable_wchar_t" = xyes; then
73164 # Use iconv for wchar_t to char conversions. As such, check for
73165 # X/Open Portability Guide, version 2 features (XPG2).
73166 if test "${ac_cv_header_iconv_h+set}" = set; then
73167 echo "$as_me:$LINENO: checking for iconv.h" >&5
73168 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73169 if test "${ac_cv_header_iconv_h+set}" = set; then
73170 echo $ECHO_N "(cached) $ECHO_C" >&6
73172 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73173 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73174 else
73175 # Is the header compilable?
73176 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73177 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73178 cat >conftest.$ac_ext <<_ACEOF
73179 /* confdefs.h. */
73180 _ACEOF
73181 cat confdefs.h >>conftest.$ac_ext
73182 cat >>conftest.$ac_ext <<_ACEOF
73183 /* end confdefs.h. */
73184 $ac_includes_default
73185 #include <iconv.h>
73186 _ACEOF
73187 rm -f conftest.$ac_objext
73188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73189 (eval $ac_compile) 2>conftest.er1
73190 ac_status=$?
73191 grep -v '^ *+' conftest.er1 >conftest.err
73192 rm -f conftest.er1
73193 cat conftest.err >&5
73194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73195 (exit $ac_status); } &&
73196 { ac_try='test -z "$ac_c_werror_flag"
73197 || test ! -s conftest.err'
73198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73199 (eval $ac_try) 2>&5
73200 ac_status=$?
73201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73202 (exit $ac_status); }; } &&
73203 { ac_try='test -s conftest.$ac_objext'
73204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73205 (eval $ac_try) 2>&5
73206 ac_status=$?
73207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73208 (exit $ac_status); }; }; then
73209 ac_header_compiler=yes
73210 else
73211 echo "$as_me: failed program was:" >&5
73212 sed 's/^/| /' conftest.$ac_ext >&5
73214 ac_header_compiler=no
73216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73218 echo "${ECHO_T}$ac_header_compiler" >&6
73220 # Is the header present?
73221 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73222 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73223 cat >conftest.$ac_ext <<_ACEOF
73224 /* confdefs.h. */
73225 _ACEOF
73226 cat confdefs.h >>conftest.$ac_ext
73227 cat >>conftest.$ac_ext <<_ACEOF
73228 /* end confdefs.h. */
73229 #include <iconv.h>
73230 _ACEOF
73231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73232 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73233 ac_status=$?
73234 grep -v '^ *+' conftest.er1 >conftest.err
73235 rm -f conftest.er1
73236 cat conftest.err >&5
73237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73238 (exit $ac_status); } >/dev/null; then
73239 if test -s conftest.err; then
73240 ac_cpp_err=$ac_c_preproc_warn_flag
73241 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73242 else
73243 ac_cpp_err=
73245 else
73246 ac_cpp_err=yes
73248 if test -z "$ac_cpp_err"; then
73249 ac_header_preproc=yes
73250 else
73251 echo "$as_me: failed program was:" >&5
73252 sed 's/^/| /' conftest.$ac_ext >&5
73254 ac_header_preproc=no
73256 rm -f conftest.err conftest.$ac_ext
73257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73258 echo "${ECHO_T}$ac_header_preproc" >&6
73260 # So? What about this header?
73261 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73262 yes:no: )
73263 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73264 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73265 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73266 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73267 ac_header_preproc=yes
73269 no:yes:* )
73270 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73271 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73272 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73273 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73274 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73275 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73276 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73277 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73278 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73279 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73280 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73281 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73283 cat <<\_ASBOX
73284 ## ----------------------------------------- ##
73285 ## Report this to the package-unused lists. ##
73286 ## ----------------------------------------- ##
73287 _ASBOX
73289 sed "s/^/$as_me: WARNING: /" >&2
73291 esac
73292 echo "$as_me:$LINENO: checking for iconv.h" >&5
73293 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73294 if test "${ac_cv_header_iconv_h+set}" = set; then
73295 echo $ECHO_N "(cached) $ECHO_C" >&6
73296 else
73297 ac_cv_header_iconv_h=$ac_header_preproc
73299 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73300 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73303 if test $ac_cv_header_iconv_h = yes; then
73304 ac_has_iconv_h=yes
73305 else
73306 ac_has_iconv_h=no
73310 if test "${ac_cv_header_langinfo_h+set}" = set; then
73311 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73312 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73313 if test "${ac_cv_header_langinfo_h+set}" = set; then
73314 echo $ECHO_N "(cached) $ECHO_C" >&6
73316 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73317 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73318 else
73319 # Is the header compilable?
73320 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73321 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73322 cat >conftest.$ac_ext <<_ACEOF
73323 /* confdefs.h. */
73324 _ACEOF
73325 cat confdefs.h >>conftest.$ac_ext
73326 cat >>conftest.$ac_ext <<_ACEOF
73327 /* end confdefs.h. */
73328 $ac_includes_default
73329 #include <langinfo.h>
73330 _ACEOF
73331 rm -f conftest.$ac_objext
73332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73333 (eval $ac_compile) 2>conftest.er1
73334 ac_status=$?
73335 grep -v '^ *+' conftest.er1 >conftest.err
73336 rm -f conftest.er1
73337 cat conftest.err >&5
73338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73339 (exit $ac_status); } &&
73340 { ac_try='test -z "$ac_c_werror_flag"
73341 || test ! -s conftest.err'
73342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73343 (eval $ac_try) 2>&5
73344 ac_status=$?
73345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73346 (exit $ac_status); }; } &&
73347 { ac_try='test -s conftest.$ac_objext'
73348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73349 (eval $ac_try) 2>&5
73350 ac_status=$?
73351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73352 (exit $ac_status); }; }; then
73353 ac_header_compiler=yes
73354 else
73355 echo "$as_me: failed program was:" >&5
73356 sed 's/^/| /' conftest.$ac_ext >&5
73358 ac_header_compiler=no
73360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73362 echo "${ECHO_T}$ac_header_compiler" >&6
73364 # Is the header present?
73365 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73366 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73367 cat >conftest.$ac_ext <<_ACEOF
73368 /* confdefs.h. */
73369 _ACEOF
73370 cat confdefs.h >>conftest.$ac_ext
73371 cat >>conftest.$ac_ext <<_ACEOF
73372 /* end confdefs.h. */
73373 #include <langinfo.h>
73374 _ACEOF
73375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73377 ac_status=$?
73378 grep -v '^ *+' conftest.er1 >conftest.err
73379 rm -f conftest.er1
73380 cat conftest.err >&5
73381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73382 (exit $ac_status); } >/dev/null; then
73383 if test -s conftest.err; then
73384 ac_cpp_err=$ac_c_preproc_warn_flag
73385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73386 else
73387 ac_cpp_err=
73389 else
73390 ac_cpp_err=yes
73392 if test -z "$ac_cpp_err"; then
73393 ac_header_preproc=yes
73394 else
73395 echo "$as_me: failed program was:" >&5
73396 sed 's/^/| /' conftest.$ac_ext >&5
73398 ac_header_preproc=no
73400 rm -f conftest.err conftest.$ac_ext
73401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73402 echo "${ECHO_T}$ac_header_preproc" >&6
73404 # So? What about this header?
73405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73406 yes:no: )
73407 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73408 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73409 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73410 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73411 ac_header_preproc=yes
73413 no:yes:* )
73414 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73415 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73416 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73417 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73418 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73419 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73420 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73421 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73422 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73423 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73424 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73425 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73427 cat <<\_ASBOX
73428 ## ----------------------------------------- ##
73429 ## Report this to the package-unused lists. ##
73430 ## ----------------------------------------- ##
73431 _ASBOX
73433 sed "s/^/$as_me: WARNING: /" >&2
73435 esac
73436 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73437 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73438 if test "${ac_cv_header_langinfo_h+set}" = set; then
73439 echo $ECHO_N "(cached) $ECHO_C" >&6
73440 else
73441 ac_cv_header_langinfo_h=$ac_header_preproc
73443 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73444 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73447 if test $ac_cv_header_langinfo_h = yes; then
73448 ac_has_langinfo_h=yes
73449 else
73450 ac_has_langinfo_h=no
73455 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73456 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73457 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73458 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73459 echo $ECHO_N "(cached) $ECHO_C" >&6
73460 else
73461 ac_check_lib_save_LIBS=$LIBS
73462 LIBS="-liconv $LIBS"
73463 if test x$gcc_no_link = xyes; then
73464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73466 { (exit 1); exit 1; }; }
73468 cat >conftest.$ac_ext <<_ACEOF
73469 /* confdefs.h. */
73470 _ACEOF
73471 cat confdefs.h >>conftest.$ac_ext
73472 cat >>conftest.$ac_ext <<_ACEOF
73473 /* end confdefs.h. */
73475 /* Override any gcc2 internal prototype to avoid an error. */
73476 #ifdef __cplusplus
73477 extern "C"
73478 #endif
73479 /* We use char because int might match the return type of a gcc2
73480 builtin and then its argument prototype would still apply. */
73481 char iconv ();
73483 main ()
73485 iconv ();
73487 return 0;
73489 _ACEOF
73490 rm -f conftest.$ac_objext conftest$ac_exeext
73491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73492 (eval $ac_link) 2>conftest.er1
73493 ac_status=$?
73494 grep -v '^ *+' conftest.er1 >conftest.err
73495 rm -f conftest.er1
73496 cat conftest.err >&5
73497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73498 (exit $ac_status); } &&
73499 { ac_try='test -z "$ac_c_werror_flag"
73500 || test ! -s conftest.err'
73501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73502 (eval $ac_try) 2>&5
73503 ac_status=$?
73504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73505 (exit $ac_status); }; } &&
73506 { ac_try='test -s conftest$ac_exeext'
73507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73508 (eval $ac_try) 2>&5
73509 ac_status=$?
73510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73511 (exit $ac_status); }; }; then
73512 ac_cv_lib_iconv_iconv=yes
73513 else
73514 echo "$as_me: failed program was:" >&5
73515 sed 's/^/| /' conftest.$ac_ext >&5
73517 ac_cv_lib_iconv_iconv=no
73519 rm -f conftest.err conftest.$ac_objext \
73520 conftest$ac_exeext conftest.$ac_ext
73521 LIBS=$ac_check_lib_save_LIBS
73523 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73524 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73525 if test $ac_cv_lib_iconv_iconv = yes; then
73526 LIBICONV="-liconv"
73529 ac_save_LIBS="$LIBS"
73530 LIBS="$LIBS $LIBICONV"
73537 for ac_func in iconv_open iconv_close iconv nl_langinfo
73539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73540 echo "$as_me:$LINENO: checking for $ac_func" >&5
73541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73542 if eval "test \"\${$as_ac_var+set}\" = set"; then
73543 echo $ECHO_N "(cached) $ECHO_C" >&6
73544 else
73545 if test x$gcc_no_link = xyes; then
73546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73548 { (exit 1); exit 1; }; }
73550 cat >conftest.$ac_ext <<_ACEOF
73551 /* confdefs.h. */
73552 _ACEOF
73553 cat confdefs.h >>conftest.$ac_ext
73554 cat >>conftest.$ac_ext <<_ACEOF
73555 /* end confdefs.h. */
73556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73558 #define $ac_func innocuous_$ac_func
73560 /* System header to define __stub macros and hopefully few prototypes,
73561 which can conflict with char $ac_func (); below.
73562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73563 <limits.h> exists even on freestanding compilers. */
73565 #ifdef __STDC__
73566 # include <limits.h>
73567 #else
73568 # include <assert.h>
73569 #endif
73571 #undef $ac_func
73573 /* Override any gcc2 internal prototype to avoid an error. */
73574 #ifdef __cplusplus
73575 extern "C"
73577 #endif
73578 /* We use char because int might match the return type of a gcc2
73579 builtin and then its argument prototype would still apply. */
73580 char $ac_func ();
73581 /* The GNU C library defines this for functions which it implements
73582 to always fail with ENOSYS. Some functions are actually named
73583 something starting with __ and the normal name is an alias. */
73584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73585 choke me
73586 #else
73587 char (*f) () = $ac_func;
73588 #endif
73589 #ifdef __cplusplus
73591 #endif
73594 main ()
73596 return f != $ac_func;
73598 return 0;
73600 _ACEOF
73601 rm -f conftest.$ac_objext conftest$ac_exeext
73602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73603 (eval $ac_link) 2>conftest.er1
73604 ac_status=$?
73605 grep -v '^ *+' conftest.er1 >conftest.err
73606 rm -f conftest.er1
73607 cat conftest.err >&5
73608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73609 (exit $ac_status); } &&
73610 { ac_try='test -z "$ac_c_werror_flag"
73611 || test ! -s conftest.err'
73612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73613 (eval $ac_try) 2>&5
73614 ac_status=$?
73615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73616 (exit $ac_status); }; } &&
73617 { ac_try='test -s conftest$ac_exeext'
73618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73619 (eval $ac_try) 2>&5
73620 ac_status=$?
73621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73622 (exit $ac_status); }; }; then
73623 eval "$as_ac_var=yes"
73624 else
73625 echo "$as_me: failed program was:" >&5
73626 sed 's/^/| /' conftest.$ac_ext >&5
73628 eval "$as_ac_var=no"
73630 rm -f conftest.err conftest.$ac_objext \
73631 conftest$ac_exeext conftest.$ac_ext
73633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73635 if test `eval echo '${'$as_ac_var'}'` = yes; then
73636 cat >>confdefs.h <<_ACEOF
73637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73638 _ACEOF
73639 ac_XPG2funcs=yes
73640 else
73641 ac_XPG2funcs=no
73643 done
73646 LIBS="$ac_save_LIBS"
73648 if test x"$ac_has_iconv_h" = xyes &&
73649 test x"$ac_has_langinfo_h" = xyes &&
73650 test x"$ac_XPG2funcs" = xyes;
73651 then
73653 cat >>confdefs.h <<\_ACEOF
73654 #define _GLIBCXX_USE_ICONV 1
73655 _ACEOF
73657 enable_iconv=yes
73660 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73661 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73662 echo "$as_me:$LINENO: result: $enable_iconv" >&5
73663 echo "${ECHO_T}$enable_iconv" >&6
73666 ac_test_CXXFLAGS="${CXXFLAGS+set}"
73667 ac_save_CXXFLAGS="$CXXFLAGS"
73668 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73671 echo "$as_me:$LINENO: checking for strtold declaration" >&5
73672 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73673 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73674 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73675 echo $ECHO_N "(cached) $ECHO_C" >&6
73676 else
73680 ac_ext=cc
73681 ac_cpp='$CXXCPP $CPPFLAGS'
73682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73686 cat >conftest.$ac_ext <<_ACEOF
73687 /* confdefs.h. */
73688 _ACEOF
73689 cat confdefs.h >>conftest.$ac_ext
73690 cat >>conftest.$ac_ext <<_ACEOF
73691 /* end confdefs.h. */
73692 #include <stdlib.h>
73694 main ()
73696 strtold(0, 0);
73698 return 0;
73700 _ACEOF
73701 rm -f conftest.$ac_objext
73702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73703 (eval $ac_compile) 2>conftest.er1
73704 ac_status=$?
73705 grep -v '^ *+' conftest.er1 >conftest.err
73706 rm -f conftest.er1
73707 cat conftest.err >&5
73708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73709 (exit $ac_status); } &&
73710 { ac_try='test -z "$ac_cxx_werror_flag"
73711 || test ! -s conftest.err'
73712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73713 (eval $ac_try) 2>&5
73714 ac_status=$?
73715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73716 (exit $ac_status); }; } &&
73717 { ac_try='test -s conftest.$ac_objext'
73718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73719 (eval $ac_try) 2>&5
73720 ac_status=$?
73721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73722 (exit $ac_status); }; }; then
73723 glibcxx_cv_func_strtold_use=yes
73724 else
73725 echo "$as_me: failed program was:" >&5
73726 sed 's/^/| /' conftest.$ac_ext >&5
73728 glibcxx_cv_func_strtold_use=no
73730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73731 ac_ext=c
73732 ac_cpp='$CPP $CPPFLAGS'
73733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73741 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73742 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73743 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73745 for ac_func in strtold
73747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73748 echo "$as_me:$LINENO: checking for $ac_func" >&5
73749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73750 if eval "test \"\${$as_ac_var+set}\" = set"; then
73751 echo $ECHO_N "(cached) $ECHO_C" >&6
73752 else
73753 if test x$gcc_no_link = xyes; then
73754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73756 { (exit 1); exit 1; }; }
73758 cat >conftest.$ac_ext <<_ACEOF
73759 /* confdefs.h. */
73760 _ACEOF
73761 cat confdefs.h >>conftest.$ac_ext
73762 cat >>conftest.$ac_ext <<_ACEOF
73763 /* end confdefs.h. */
73764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73766 #define $ac_func innocuous_$ac_func
73768 /* System header to define __stub macros and hopefully few prototypes,
73769 which can conflict with char $ac_func (); below.
73770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73771 <limits.h> exists even on freestanding compilers. */
73773 #ifdef __STDC__
73774 # include <limits.h>
73775 #else
73776 # include <assert.h>
73777 #endif
73779 #undef $ac_func
73781 /* Override any gcc2 internal prototype to avoid an error. */
73782 #ifdef __cplusplus
73783 extern "C"
73785 #endif
73786 /* We use char because int might match the return type of a gcc2
73787 builtin and then its argument prototype would still apply. */
73788 char $ac_func ();
73789 /* The GNU C library defines this for functions which it implements
73790 to always fail with ENOSYS. Some functions are actually named
73791 something starting with __ and the normal name is an alias. */
73792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73793 choke me
73794 #else
73795 char (*f) () = $ac_func;
73796 #endif
73797 #ifdef __cplusplus
73799 #endif
73802 main ()
73804 return f != $ac_func;
73806 return 0;
73808 _ACEOF
73809 rm -f conftest.$ac_objext conftest$ac_exeext
73810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73811 (eval $ac_link) 2>conftest.er1
73812 ac_status=$?
73813 grep -v '^ *+' conftest.er1 >conftest.err
73814 rm -f conftest.er1
73815 cat conftest.err >&5
73816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73817 (exit $ac_status); } &&
73818 { ac_try='test -z "$ac_c_werror_flag"
73819 || test ! -s conftest.err'
73820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73821 (eval $ac_try) 2>&5
73822 ac_status=$?
73823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73824 (exit $ac_status); }; } &&
73825 { ac_try='test -s conftest$ac_exeext'
73826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73827 (eval $ac_try) 2>&5
73828 ac_status=$?
73829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73830 (exit $ac_status); }; }; then
73831 eval "$as_ac_var=yes"
73832 else
73833 echo "$as_me: failed program was:" >&5
73834 sed 's/^/| /' conftest.$ac_ext >&5
73836 eval "$as_ac_var=no"
73838 rm -f conftest.err conftest.$ac_objext \
73839 conftest$ac_exeext conftest.$ac_ext
73841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73843 if test `eval echo '${'$as_ac_var'}'` = yes; then
73844 cat >>confdefs.h <<_ACEOF
73845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73846 _ACEOF
73849 done
73857 echo "$as_me:$LINENO: checking for strtof declaration" >&5
73858 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73859 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73860 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73861 echo $ECHO_N "(cached) $ECHO_C" >&6
73862 else
73866 ac_ext=cc
73867 ac_cpp='$CXXCPP $CPPFLAGS'
73868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73872 cat >conftest.$ac_ext <<_ACEOF
73873 /* confdefs.h. */
73874 _ACEOF
73875 cat confdefs.h >>conftest.$ac_ext
73876 cat >>conftest.$ac_ext <<_ACEOF
73877 /* end confdefs.h. */
73878 #include <stdlib.h>
73880 main ()
73882 strtof(0, 0);
73884 return 0;
73886 _ACEOF
73887 rm -f conftest.$ac_objext
73888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73889 (eval $ac_compile) 2>conftest.er1
73890 ac_status=$?
73891 grep -v '^ *+' conftest.er1 >conftest.err
73892 rm -f conftest.er1
73893 cat conftest.err >&5
73894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73895 (exit $ac_status); } &&
73896 { ac_try='test -z "$ac_cxx_werror_flag"
73897 || test ! -s conftest.err'
73898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73899 (eval $ac_try) 2>&5
73900 ac_status=$?
73901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73902 (exit $ac_status); }; } &&
73903 { ac_try='test -s conftest.$ac_objext'
73904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73905 (eval $ac_try) 2>&5
73906 ac_status=$?
73907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73908 (exit $ac_status); }; }; then
73909 glibcxx_cv_func_strtof_use=yes
73910 else
73911 echo "$as_me: failed program was:" >&5
73912 sed 's/^/| /' conftest.$ac_ext >&5
73914 glibcxx_cv_func_strtof_use=no
73916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73917 ac_ext=c
73918 ac_cpp='$CPP $CPPFLAGS'
73919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73927 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73928 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73929 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73931 for ac_func in strtof
73933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73934 echo "$as_me:$LINENO: checking for $ac_func" >&5
73935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73936 if eval "test \"\${$as_ac_var+set}\" = set"; then
73937 echo $ECHO_N "(cached) $ECHO_C" >&6
73938 else
73939 if test x$gcc_no_link = xyes; then
73940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73942 { (exit 1); exit 1; }; }
73944 cat >conftest.$ac_ext <<_ACEOF
73945 /* confdefs.h. */
73946 _ACEOF
73947 cat confdefs.h >>conftest.$ac_ext
73948 cat >>conftest.$ac_ext <<_ACEOF
73949 /* end confdefs.h. */
73950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73952 #define $ac_func innocuous_$ac_func
73954 /* System header to define __stub macros and hopefully few prototypes,
73955 which can conflict with char $ac_func (); below.
73956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73957 <limits.h> exists even on freestanding compilers. */
73959 #ifdef __STDC__
73960 # include <limits.h>
73961 #else
73962 # include <assert.h>
73963 #endif
73965 #undef $ac_func
73967 /* Override any gcc2 internal prototype to avoid an error. */
73968 #ifdef __cplusplus
73969 extern "C"
73971 #endif
73972 /* We use char because int might match the return type of a gcc2
73973 builtin and then its argument prototype would still apply. */
73974 char $ac_func ();
73975 /* The GNU C library defines this for functions which it implements
73976 to always fail with ENOSYS. Some functions are actually named
73977 something starting with __ and the normal name is an alias. */
73978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73979 choke me
73980 #else
73981 char (*f) () = $ac_func;
73982 #endif
73983 #ifdef __cplusplus
73985 #endif
73988 main ()
73990 return f != $ac_func;
73992 return 0;
73994 _ACEOF
73995 rm -f conftest.$ac_objext conftest$ac_exeext
73996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73997 (eval $ac_link) 2>conftest.er1
73998 ac_status=$?
73999 grep -v '^ *+' conftest.er1 >conftest.err
74000 rm -f conftest.er1
74001 cat conftest.err >&5
74002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74003 (exit $ac_status); } &&
74004 { ac_try='test -z "$ac_c_werror_flag"
74005 || test ! -s conftest.err'
74006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74007 (eval $ac_try) 2>&5
74008 ac_status=$?
74009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74010 (exit $ac_status); }; } &&
74011 { ac_try='test -s conftest$ac_exeext'
74012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74013 (eval $ac_try) 2>&5
74014 ac_status=$?
74015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74016 (exit $ac_status); }; }; then
74017 eval "$as_ac_var=yes"
74018 else
74019 echo "$as_me: failed program was:" >&5
74020 sed 's/^/| /' conftest.$ac_ext >&5
74022 eval "$as_ac_var=no"
74024 rm -f conftest.err conftest.$ac_objext \
74025 conftest$ac_exeext conftest.$ac_ext
74027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74029 if test `eval echo '${'$as_ac_var'}'` = yes; then
74030 cat >>confdefs.h <<_ACEOF
74031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74032 _ACEOF
74035 done
74043 CXXFLAGS="$ac_save_CXXFLAGS"
74046 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
74047 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
74048 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74049 echo $ECHO_N "(cached) $ECHO_C" >&6
74050 else
74052 if test x$gcc_no_link = xyes; then
74053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74055 { (exit 1); exit 1; }; }
74057 cat >conftest.$ac_ext <<_ACEOF
74058 /* confdefs.h. */
74059 _ACEOF
74060 cat confdefs.h >>conftest.$ac_ext
74061 cat >>conftest.$ac_ext <<_ACEOF
74062 /* end confdefs.h. */
74063 #include <sys/stat.h>
74065 main ()
74067 struct stat buffer;
74068 fstat(0, &buffer);
74069 S_ISREG(buffer.st_mode);
74071 return 0;
74073 _ACEOF
74074 rm -f conftest.$ac_objext conftest$ac_exeext
74075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74076 (eval $ac_link) 2>conftest.er1
74077 ac_status=$?
74078 grep -v '^ *+' conftest.er1 >conftest.err
74079 rm -f conftest.er1
74080 cat conftest.err >&5
74081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74082 (exit $ac_status); } &&
74083 { ac_try='test -z "$ac_c_werror_flag"
74084 || test ! -s conftest.err'
74085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74086 (eval $ac_try) 2>&5
74087 ac_status=$?
74088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74089 (exit $ac_status); }; } &&
74090 { ac_try='test -s conftest$ac_exeext'
74091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74092 (eval $ac_try) 2>&5
74093 ac_status=$?
74094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74095 (exit $ac_status); }; }; then
74096 glibcxx_cv_S_ISREG=yes
74097 else
74098 echo "$as_me: failed program was:" >&5
74099 sed 's/^/| /' conftest.$ac_ext >&5
74101 glibcxx_cv_S_ISREG=no
74103 rm -f conftest.err conftest.$ac_objext \
74104 conftest$ac_exeext conftest.$ac_ext
74108 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74109 echo $ECHO_N "(cached) $ECHO_C" >&6
74110 else
74112 if test x$gcc_no_link = xyes; then
74113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74115 { (exit 1); exit 1; }; }
74117 cat >conftest.$ac_ext <<_ACEOF
74118 /* confdefs.h. */
74119 _ACEOF
74120 cat confdefs.h >>conftest.$ac_ext
74121 cat >>conftest.$ac_ext <<_ACEOF
74122 /* end confdefs.h. */
74123 #include <sys/stat.h>
74125 main ()
74127 struct stat buffer;
74128 fstat(0, &buffer);
74129 S_IFREG & buffer.st_mode;
74131 return 0;
74133 _ACEOF
74134 rm -f conftest.$ac_objext conftest$ac_exeext
74135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74136 (eval $ac_link) 2>conftest.er1
74137 ac_status=$?
74138 grep -v '^ *+' conftest.er1 >conftest.err
74139 rm -f conftest.er1
74140 cat conftest.err >&5
74141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74142 (exit $ac_status); } &&
74143 { ac_try='test -z "$ac_c_werror_flag"
74144 || test ! -s conftest.err'
74145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74146 (eval $ac_try) 2>&5
74147 ac_status=$?
74148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74149 (exit $ac_status); }; } &&
74150 { ac_try='test -s conftest$ac_exeext'
74151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74152 (eval $ac_try) 2>&5
74153 ac_status=$?
74154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74155 (exit $ac_status); }; }; then
74156 glibcxx_cv_S_IFREG=yes
74157 else
74158 echo "$as_me: failed program was:" >&5
74159 sed 's/^/| /' conftest.$ac_ext >&5
74161 glibcxx_cv_S_IFREG=no
74163 rm -f conftest.err conftest.$ac_objext \
74164 conftest$ac_exeext conftest.$ac_ext
74168 res=no
74169 if test $glibcxx_cv_S_ISREG = yes; then
74171 cat >>confdefs.h <<\_ACEOF
74172 #define HAVE_S_ISREG 1
74173 _ACEOF
74175 res=S_ISREG
74176 elif test $glibcxx_cv_S_IFREG = yes; then
74178 cat >>confdefs.h <<\_ACEOF
74179 #define HAVE_S_IFREG 1
74180 _ACEOF
74182 res=S_IFREG
74184 echo "$as_me:$LINENO: result: $res" >&5
74185 echo "${ECHO_T}$res" >&6
74187 cat >>confdefs.h <<\_ACEOF
74188 #define HAVE_WRITEV 1
74189 _ACEOF
74193 *-freebsd*)
74210 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74211 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74212 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74213 sys/time.h unistd.h
74215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74217 echo "$as_me:$LINENO: checking for $ac_header" >&5
74218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74220 echo $ECHO_N "(cached) $ECHO_C" >&6
74222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74224 else
74225 # Is the header compilable?
74226 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74227 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74228 cat >conftest.$ac_ext <<_ACEOF
74229 /* confdefs.h. */
74230 _ACEOF
74231 cat confdefs.h >>conftest.$ac_ext
74232 cat >>conftest.$ac_ext <<_ACEOF
74233 /* end confdefs.h. */
74234 $ac_includes_default
74235 #include <$ac_header>
74236 _ACEOF
74237 rm -f conftest.$ac_objext
74238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74239 (eval $ac_compile) 2>conftest.er1
74240 ac_status=$?
74241 grep -v '^ *+' conftest.er1 >conftest.err
74242 rm -f conftest.er1
74243 cat conftest.err >&5
74244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74245 (exit $ac_status); } &&
74246 { ac_try='test -z "$ac_c_werror_flag"
74247 || test ! -s conftest.err'
74248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74249 (eval $ac_try) 2>&5
74250 ac_status=$?
74251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74252 (exit $ac_status); }; } &&
74253 { ac_try='test -s conftest.$ac_objext'
74254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74255 (eval $ac_try) 2>&5
74256 ac_status=$?
74257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74258 (exit $ac_status); }; }; then
74259 ac_header_compiler=yes
74260 else
74261 echo "$as_me: failed program was:" >&5
74262 sed 's/^/| /' conftest.$ac_ext >&5
74264 ac_header_compiler=no
74266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74268 echo "${ECHO_T}$ac_header_compiler" >&6
74270 # Is the header present?
74271 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74272 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74273 cat >conftest.$ac_ext <<_ACEOF
74274 /* confdefs.h. */
74275 _ACEOF
74276 cat confdefs.h >>conftest.$ac_ext
74277 cat >>conftest.$ac_ext <<_ACEOF
74278 /* end confdefs.h. */
74279 #include <$ac_header>
74280 _ACEOF
74281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74283 ac_status=$?
74284 grep -v '^ *+' conftest.er1 >conftest.err
74285 rm -f conftest.er1
74286 cat conftest.err >&5
74287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74288 (exit $ac_status); } >/dev/null; then
74289 if test -s conftest.err; then
74290 ac_cpp_err=$ac_c_preproc_warn_flag
74291 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74292 else
74293 ac_cpp_err=
74295 else
74296 ac_cpp_err=yes
74298 if test -z "$ac_cpp_err"; then
74299 ac_header_preproc=yes
74300 else
74301 echo "$as_me: failed program was:" >&5
74302 sed 's/^/| /' conftest.$ac_ext >&5
74304 ac_header_preproc=no
74306 rm -f conftest.err conftest.$ac_ext
74307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74308 echo "${ECHO_T}$ac_header_preproc" >&6
74310 # So? What about this header?
74311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74312 yes:no: )
74313 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74314 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74316 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74317 ac_header_preproc=yes
74319 no:yes:* )
74320 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74321 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74322 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74323 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74324 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74325 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74326 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
74327 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
74328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74330 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74331 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74333 cat <<\_ASBOX
74334 ## ----------------------------------------- ##
74335 ## Report this to the package-unused lists. ##
74336 ## ----------------------------------------- ##
74337 _ASBOX
74339 sed "s/^/$as_me: WARNING: /" >&2
74341 esac
74342 echo "$as_me:$LINENO: checking for $ac_header" >&5
74343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74345 echo $ECHO_N "(cached) $ECHO_C" >&6
74346 else
74347 eval "$as_ac_Header=\$ac_header_preproc"
74349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74354 cat >>confdefs.h <<_ACEOF
74355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74356 _ACEOF
74360 done
74362 SECTION_FLAGS='-ffunction-sections -fdata-sections'
74365 # If we're not using GNU ld, then there's no point in even trying these
74366 # tests. Check for that first. We should have already tested for gld
74367 # by now (in libtool), but require it now just to be safe...
74368 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74369 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74373 # The name set by libtool depends on the version of libtool. Shame on us
74374 # for depending on an impl detail, but c'est la vie. Older versions used
74375 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74376 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74377 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
74378 # set (hence we're using an older libtool), then set it.
74379 if test x${with_gnu_ld+set} != xset; then
74380 if test x${ac_cv_prog_gnu_ld+set} != xset; then
74381 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
74382 with_gnu_ld=no
74383 else
74384 with_gnu_ld=$ac_cv_prog_gnu_ld
74388 # Start by getting the version number. I think the libtool test already
74389 # does some of this, but throws away the result.
74391 ldver=`$LD --version 2>/dev/null | head -1 | \
74392 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74394 glibcxx_gnu_ld_version=`echo $ldver | \
74395 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74397 # Set --gc-sections.
74398 if test x"$with_gnu_ld" = x"yes"; then
74399 # GNU ld it is! Joy and bunny rabbits!
74401 # All these tests are for C++, but run with the "C" compiler driver.
74402 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
74403 ac_test_CFLAGS="${CFLAGS+set}"
74404 ac_save_CFLAGS="$CFLAGS"
74405 CFLAGS='-x c++ -Werror -Wl,--gc-sections'
74407 # Check for -Wl,--gc-sections
74408 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74409 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74410 if test x$gcc_no_link = xyes; then
74411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74413 { (exit 1); exit 1; }; }
74415 cat >conftest.$ac_ext <<_ACEOF
74416 /* confdefs.h. */
74417 _ACEOF
74418 cat confdefs.h >>conftest.$ac_ext
74419 cat >>conftest.$ac_ext <<_ACEOF
74420 /* end confdefs.h. */
74421 int one(void) { return 1; }
74422 int two(void) { return 2; }
74425 main ()
74427 two();
74429 return 0;
74431 _ACEOF
74432 rm -f conftest.$ac_objext conftest$ac_exeext
74433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74434 (eval $ac_link) 2>conftest.er1
74435 ac_status=$?
74436 grep -v '^ *+' conftest.er1 >conftest.err
74437 rm -f conftest.er1
74438 cat conftest.err >&5
74439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74440 (exit $ac_status); } &&
74441 { ac_try='test -z "$ac_c_werror_flag"
74442 || test ! -s conftest.err'
74443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74444 (eval $ac_try) 2>&5
74445 ac_status=$?
74446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74447 (exit $ac_status); }; } &&
74448 { ac_try='test -s conftest$ac_exeext'
74449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74450 (eval $ac_try) 2>&5
74451 ac_status=$?
74452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74453 (exit $ac_status); }; }; then
74454 ac_gcsections=yes
74455 else
74456 echo "$as_me: failed program was:" >&5
74457 sed 's/^/| /' conftest.$ac_ext >&5
74459 ac_gcsections=no
74461 rm -f conftest.err conftest.$ac_objext \
74462 conftest$ac_exeext conftest.$ac_ext
74463 if test "$ac_gcsections" = "yes"; then
74464 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74466 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
74467 echo "${ECHO_T}$ac_gcsections" >&6
74469 if test "$ac_test_CFLAGS" = set; then
74470 CFLAGS="$ac_save_CFLAGS"
74471 else
74472 # this is the suspicious part
74473 CFLAGS=''
74477 # Set -z,relro.
74478 # Note this is only for shared objects.
74479 ac_ld_relro=no
74480 if test x"$with_gnu_ld" = x"yes"; then
74481 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
74482 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
74483 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
74484 if test -n "$cxx_z_relo"; then
74485 OPT_LDFLAGS="-Wl,-z,relro"
74486 ac_ld_relro=yes
74488 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
74489 echo "${ECHO_T}$ac_ld_relro" >&6
74492 # Set linker optimization flags.
74493 if test x"$with_gnu_ld" = x"yes"; then
74494 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74502 echo "$as_me:$LINENO: checking for main in -lm" >&5
74503 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74504 if test "${ac_cv_lib_m_main+set}" = set; then
74505 echo $ECHO_N "(cached) $ECHO_C" >&6
74506 else
74507 ac_check_lib_save_LIBS=$LIBS
74508 LIBS="-lm $LIBS"
74509 if test x$gcc_no_link = xyes; then
74510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74512 { (exit 1); exit 1; }; }
74514 cat >conftest.$ac_ext <<_ACEOF
74515 /* confdefs.h. */
74516 _ACEOF
74517 cat confdefs.h >>conftest.$ac_ext
74518 cat >>conftest.$ac_ext <<_ACEOF
74519 /* end confdefs.h. */
74523 main ()
74525 main ();
74527 return 0;
74529 _ACEOF
74530 rm -f conftest.$ac_objext conftest$ac_exeext
74531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74532 (eval $ac_link) 2>conftest.er1
74533 ac_status=$?
74534 grep -v '^ *+' conftest.er1 >conftest.err
74535 rm -f conftest.er1
74536 cat conftest.err >&5
74537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74538 (exit $ac_status); } &&
74539 { ac_try='test -z "$ac_c_werror_flag"
74540 || test ! -s conftest.err'
74541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74542 (eval $ac_try) 2>&5
74543 ac_status=$?
74544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74545 (exit $ac_status); }; } &&
74546 { ac_try='test -s conftest$ac_exeext'
74547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74548 (eval $ac_try) 2>&5
74549 ac_status=$?
74550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74551 (exit $ac_status); }; }; then
74552 ac_cv_lib_m_main=yes
74553 else
74554 echo "$as_me: failed program was:" >&5
74555 sed 's/^/| /' conftest.$ac_ext >&5
74557 ac_cv_lib_m_main=no
74559 rm -f conftest.err conftest.$ac_objext \
74560 conftest$ac_exeext conftest.$ac_ext
74561 LIBS=$ac_check_lib_save_LIBS
74563 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74564 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74565 if test $ac_cv_lib_m_main = yes; then
74566 cat >>confdefs.h <<_ACEOF
74567 #define HAVE_LIBM 1
74568 _ACEOF
74570 LIBS="-lm $LIBS"
74575 for ac_func in copysignf
74577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74578 echo "$as_me:$LINENO: checking for $ac_func" >&5
74579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74580 if eval "test \"\${$as_ac_var+set}\" = set"; then
74581 echo $ECHO_N "(cached) $ECHO_C" >&6
74582 else
74583 if test x$gcc_no_link = xyes; then
74584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74586 { (exit 1); exit 1; }; }
74588 cat >conftest.$ac_ext <<_ACEOF
74589 /* confdefs.h. */
74590 _ACEOF
74591 cat confdefs.h >>conftest.$ac_ext
74592 cat >>conftest.$ac_ext <<_ACEOF
74593 /* end confdefs.h. */
74594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74596 #define $ac_func innocuous_$ac_func
74598 /* System header to define __stub macros and hopefully few prototypes,
74599 which can conflict with char $ac_func (); below.
74600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74601 <limits.h> exists even on freestanding compilers. */
74603 #ifdef __STDC__
74604 # include <limits.h>
74605 #else
74606 # include <assert.h>
74607 #endif
74609 #undef $ac_func
74611 /* Override any gcc2 internal prototype to avoid an error. */
74612 #ifdef __cplusplus
74613 extern "C"
74615 #endif
74616 /* We use char because int might match the return type of a gcc2
74617 builtin and then its argument prototype would still apply. */
74618 char $ac_func ();
74619 /* The GNU C library defines this for functions which it implements
74620 to always fail with ENOSYS. Some functions are actually named
74621 something starting with __ and the normal name is an alias. */
74622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74623 choke me
74624 #else
74625 char (*f) () = $ac_func;
74626 #endif
74627 #ifdef __cplusplus
74629 #endif
74632 main ()
74634 return f != $ac_func;
74636 return 0;
74638 _ACEOF
74639 rm -f conftest.$ac_objext conftest$ac_exeext
74640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74641 (eval $ac_link) 2>conftest.er1
74642 ac_status=$?
74643 grep -v '^ *+' conftest.er1 >conftest.err
74644 rm -f conftest.er1
74645 cat conftest.err >&5
74646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74647 (exit $ac_status); } &&
74648 { ac_try='test -z "$ac_c_werror_flag"
74649 || test ! -s conftest.err'
74650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74651 (eval $ac_try) 2>&5
74652 ac_status=$?
74653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74654 (exit $ac_status); }; } &&
74655 { ac_try='test -s conftest$ac_exeext'
74656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74657 (eval $ac_try) 2>&5
74658 ac_status=$?
74659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74660 (exit $ac_status); }; }; then
74661 eval "$as_ac_var=yes"
74662 else
74663 echo "$as_me: failed program was:" >&5
74664 sed 's/^/| /' conftest.$ac_ext >&5
74666 eval "$as_ac_var=no"
74668 rm -f conftest.err conftest.$ac_objext \
74669 conftest$ac_exeext conftest.$ac_ext
74671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74673 if test `eval echo '${'$as_ac_var'}'` = yes; then
74674 cat >>confdefs.h <<_ACEOF
74675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74676 _ACEOF
74678 else
74679 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74681 done
74685 for ac_func in __signbit
74687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74688 echo "$as_me:$LINENO: checking for $ac_func" >&5
74689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74690 if eval "test \"\${$as_ac_var+set}\" = set"; then
74691 echo $ECHO_N "(cached) $ECHO_C" >&6
74692 else
74693 if test x$gcc_no_link = xyes; then
74694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74696 { (exit 1); exit 1; }; }
74698 cat >conftest.$ac_ext <<_ACEOF
74699 /* confdefs.h. */
74700 _ACEOF
74701 cat confdefs.h >>conftest.$ac_ext
74702 cat >>conftest.$ac_ext <<_ACEOF
74703 /* end confdefs.h. */
74704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74706 #define $ac_func innocuous_$ac_func
74708 /* System header to define __stub macros and hopefully few prototypes,
74709 which can conflict with char $ac_func (); below.
74710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74711 <limits.h> exists even on freestanding compilers. */
74713 #ifdef __STDC__
74714 # include <limits.h>
74715 #else
74716 # include <assert.h>
74717 #endif
74719 #undef $ac_func
74721 /* Override any gcc2 internal prototype to avoid an error. */
74722 #ifdef __cplusplus
74723 extern "C"
74725 #endif
74726 /* We use char because int might match the return type of a gcc2
74727 builtin and then its argument prototype would still apply. */
74728 char $ac_func ();
74729 /* The GNU C library defines this for functions which it implements
74730 to always fail with ENOSYS. Some functions are actually named
74731 something starting with __ and the normal name is an alias. */
74732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74733 choke me
74734 #else
74735 char (*f) () = $ac_func;
74736 #endif
74737 #ifdef __cplusplus
74739 #endif
74742 main ()
74744 return f != $ac_func;
74746 return 0;
74748 _ACEOF
74749 rm -f conftest.$ac_objext conftest$ac_exeext
74750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74751 (eval $ac_link) 2>conftest.er1
74752 ac_status=$?
74753 grep -v '^ *+' conftest.er1 >conftest.err
74754 rm -f conftest.er1
74755 cat conftest.err >&5
74756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74757 (exit $ac_status); } &&
74758 { ac_try='test -z "$ac_c_werror_flag"
74759 || test ! -s conftest.err'
74760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74761 (eval $ac_try) 2>&5
74762 ac_status=$?
74763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74764 (exit $ac_status); }; } &&
74765 { ac_try='test -s conftest$ac_exeext'
74766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74767 (eval $ac_try) 2>&5
74768 ac_status=$?
74769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74770 (exit $ac_status); }; }; then
74771 eval "$as_ac_var=yes"
74772 else
74773 echo "$as_me: failed program was:" >&5
74774 sed 's/^/| /' conftest.$ac_ext >&5
74776 eval "$as_ac_var=no"
74778 rm -f conftest.err conftest.$ac_objext \
74779 conftest$ac_exeext conftest.$ac_ext
74781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74783 if test `eval echo '${'$as_ac_var'}'` = yes; then
74784 cat >>confdefs.h <<_ACEOF
74785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74786 _ACEOF
74788 else
74789 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74791 done
74795 for ac_func in __signbitf
74797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74798 echo "$as_me:$LINENO: checking for $ac_func" >&5
74799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74800 if eval "test \"\${$as_ac_var+set}\" = set"; then
74801 echo $ECHO_N "(cached) $ECHO_C" >&6
74802 else
74803 if test x$gcc_no_link = xyes; then
74804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74806 { (exit 1); exit 1; }; }
74808 cat >conftest.$ac_ext <<_ACEOF
74809 /* confdefs.h. */
74810 _ACEOF
74811 cat confdefs.h >>conftest.$ac_ext
74812 cat >>conftest.$ac_ext <<_ACEOF
74813 /* end confdefs.h. */
74814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74816 #define $ac_func innocuous_$ac_func
74818 /* System header to define __stub macros and hopefully few prototypes,
74819 which can conflict with char $ac_func (); below.
74820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74821 <limits.h> exists even on freestanding compilers. */
74823 #ifdef __STDC__
74824 # include <limits.h>
74825 #else
74826 # include <assert.h>
74827 #endif
74829 #undef $ac_func
74831 /* Override any gcc2 internal prototype to avoid an error. */
74832 #ifdef __cplusplus
74833 extern "C"
74835 #endif
74836 /* We use char because int might match the return type of a gcc2
74837 builtin and then its argument prototype would still apply. */
74838 char $ac_func ();
74839 /* The GNU C library defines this for functions which it implements
74840 to always fail with ENOSYS. Some functions are actually named
74841 something starting with __ and the normal name is an alias. */
74842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74843 choke me
74844 #else
74845 char (*f) () = $ac_func;
74846 #endif
74847 #ifdef __cplusplus
74849 #endif
74852 main ()
74854 return f != $ac_func;
74856 return 0;
74858 _ACEOF
74859 rm -f conftest.$ac_objext conftest$ac_exeext
74860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74861 (eval $ac_link) 2>conftest.er1
74862 ac_status=$?
74863 grep -v '^ *+' conftest.er1 >conftest.err
74864 rm -f conftest.er1
74865 cat conftest.err >&5
74866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74867 (exit $ac_status); } &&
74868 { ac_try='test -z "$ac_c_werror_flag"
74869 || test ! -s conftest.err'
74870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74871 (eval $ac_try) 2>&5
74872 ac_status=$?
74873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74874 (exit $ac_status); }; } &&
74875 { ac_try='test -s conftest$ac_exeext'
74876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74877 (eval $ac_try) 2>&5
74878 ac_status=$?
74879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74880 (exit $ac_status); }; }; then
74881 eval "$as_ac_var=yes"
74882 else
74883 echo "$as_me: failed program was:" >&5
74884 sed 's/^/| /' conftest.$ac_ext >&5
74886 eval "$as_ac_var=no"
74888 rm -f conftest.err conftest.$ac_objext \
74889 conftest$ac_exeext conftest.$ac_ext
74891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74893 if test `eval echo '${'$as_ac_var'}'` = yes; then
74894 cat >>confdefs.h <<_ACEOF
74895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74896 _ACEOF
74898 else
74899 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74901 done
74904 if test x$ac_cv_func_copysignl = x"yes"; then
74906 for ac_func in __signbitl
74908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74909 echo "$as_me:$LINENO: checking for $ac_func" >&5
74910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74911 if eval "test \"\${$as_ac_var+set}\" = set"; then
74912 echo $ECHO_N "(cached) $ECHO_C" >&6
74913 else
74914 if test x$gcc_no_link = xyes; then
74915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74917 { (exit 1); exit 1; }; }
74919 cat >conftest.$ac_ext <<_ACEOF
74920 /* confdefs.h. */
74921 _ACEOF
74922 cat confdefs.h >>conftest.$ac_ext
74923 cat >>conftest.$ac_ext <<_ACEOF
74924 /* end confdefs.h. */
74925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74927 #define $ac_func innocuous_$ac_func
74929 /* System header to define __stub macros and hopefully few prototypes,
74930 which can conflict with char $ac_func (); below.
74931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74932 <limits.h> exists even on freestanding compilers. */
74934 #ifdef __STDC__
74935 # include <limits.h>
74936 #else
74937 # include <assert.h>
74938 #endif
74940 #undef $ac_func
74942 /* Override any gcc2 internal prototype to avoid an error. */
74943 #ifdef __cplusplus
74944 extern "C"
74946 #endif
74947 /* We use char because int might match the return type of a gcc2
74948 builtin and then its argument prototype would still apply. */
74949 char $ac_func ();
74950 /* The GNU C library defines this for functions which it implements
74951 to always fail with ENOSYS. Some functions are actually named
74952 something starting with __ and the normal name is an alias. */
74953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74954 choke me
74955 #else
74956 char (*f) () = $ac_func;
74957 #endif
74958 #ifdef __cplusplus
74960 #endif
74963 main ()
74965 return f != $ac_func;
74967 return 0;
74969 _ACEOF
74970 rm -f conftest.$ac_objext conftest$ac_exeext
74971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74972 (eval $ac_link) 2>conftest.er1
74973 ac_status=$?
74974 grep -v '^ *+' conftest.er1 >conftest.err
74975 rm -f conftest.er1
74976 cat conftest.err >&5
74977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74978 (exit $ac_status); } &&
74979 { ac_try='test -z "$ac_c_werror_flag"
74980 || test ! -s conftest.err'
74981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74982 (eval $ac_try) 2>&5
74983 ac_status=$?
74984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74985 (exit $ac_status); }; } &&
74986 { ac_try='test -s conftest$ac_exeext'
74987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74988 (eval $ac_try) 2>&5
74989 ac_status=$?
74990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74991 (exit $ac_status); }; }; then
74992 eval "$as_ac_var=yes"
74993 else
74994 echo "$as_me: failed program was:" >&5
74995 sed 's/^/| /' conftest.$ac_ext >&5
74997 eval "$as_ac_var=no"
74999 rm -f conftest.err conftest.$ac_objext \
75000 conftest$ac_exeext conftest.$ac_ext
75002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75004 if test `eval echo '${'$as_ac_var'}'` = yes; then
75005 cat >>confdefs.h <<_ACEOF
75006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75007 _ACEOF
75009 else
75010 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75012 done
75016 # Used in libmath/Makefile.am.
75017 if test -n "$LIBMATHOBJS"; then
75018 need_libmath=yes
75024 enable_iconv=no
75025 # Only continue checking if the ISO C99 headers exist and support is on.
75026 if test x"$enable_wchar_t" = xyes; then
75028 # Use iconv for wchar_t to char conversions. As such, check for
75029 # X/Open Portability Guide, version 2 features (XPG2).
75030 if test "${ac_cv_header_iconv_h+set}" = set; then
75031 echo "$as_me:$LINENO: checking for iconv.h" >&5
75032 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75033 if test "${ac_cv_header_iconv_h+set}" = set; then
75034 echo $ECHO_N "(cached) $ECHO_C" >&6
75036 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75037 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75038 else
75039 # Is the header compilable?
75040 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75041 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75042 cat >conftest.$ac_ext <<_ACEOF
75043 /* confdefs.h. */
75044 _ACEOF
75045 cat confdefs.h >>conftest.$ac_ext
75046 cat >>conftest.$ac_ext <<_ACEOF
75047 /* end confdefs.h. */
75048 $ac_includes_default
75049 #include <iconv.h>
75050 _ACEOF
75051 rm -f conftest.$ac_objext
75052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75053 (eval $ac_compile) 2>conftest.er1
75054 ac_status=$?
75055 grep -v '^ *+' conftest.er1 >conftest.err
75056 rm -f conftest.er1
75057 cat conftest.err >&5
75058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75059 (exit $ac_status); } &&
75060 { ac_try='test -z "$ac_c_werror_flag"
75061 || test ! -s conftest.err'
75062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75063 (eval $ac_try) 2>&5
75064 ac_status=$?
75065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75066 (exit $ac_status); }; } &&
75067 { ac_try='test -s conftest.$ac_objext'
75068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75069 (eval $ac_try) 2>&5
75070 ac_status=$?
75071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75072 (exit $ac_status); }; }; then
75073 ac_header_compiler=yes
75074 else
75075 echo "$as_me: failed program was:" >&5
75076 sed 's/^/| /' conftest.$ac_ext >&5
75078 ac_header_compiler=no
75080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75081 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75082 echo "${ECHO_T}$ac_header_compiler" >&6
75084 # Is the header present?
75085 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75086 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75087 cat >conftest.$ac_ext <<_ACEOF
75088 /* confdefs.h. */
75089 _ACEOF
75090 cat confdefs.h >>conftest.$ac_ext
75091 cat >>conftest.$ac_ext <<_ACEOF
75092 /* end confdefs.h. */
75093 #include <iconv.h>
75094 _ACEOF
75095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75097 ac_status=$?
75098 grep -v '^ *+' conftest.er1 >conftest.err
75099 rm -f conftest.er1
75100 cat conftest.err >&5
75101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75102 (exit $ac_status); } >/dev/null; then
75103 if test -s conftest.err; then
75104 ac_cpp_err=$ac_c_preproc_warn_flag
75105 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75106 else
75107 ac_cpp_err=
75109 else
75110 ac_cpp_err=yes
75112 if test -z "$ac_cpp_err"; then
75113 ac_header_preproc=yes
75114 else
75115 echo "$as_me: failed program was:" >&5
75116 sed 's/^/| /' conftest.$ac_ext >&5
75118 ac_header_preproc=no
75120 rm -f conftest.err conftest.$ac_ext
75121 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75122 echo "${ECHO_T}$ac_header_preproc" >&6
75124 # So? What about this header?
75125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75126 yes:no: )
75127 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75128 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75129 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
75130 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
75131 ac_header_preproc=yes
75133 no:yes:* )
75134 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75135 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75136 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
75137 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
75138 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
75139 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
75140 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
75141 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
75142 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75143 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75144 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
75145 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
75147 cat <<\_ASBOX
75148 ## ----------------------------------------- ##
75149 ## Report this to the package-unused lists. ##
75150 ## ----------------------------------------- ##
75151 _ASBOX
75153 sed "s/^/$as_me: WARNING: /" >&2
75155 esac
75156 echo "$as_me:$LINENO: checking for iconv.h" >&5
75157 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75158 if test "${ac_cv_header_iconv_h+set}" = set; then
75159 echo $ECHO_N "(cached) $ECHO_C" >&6
75160 else
75161 ac_cv_header_iconv_h=$ac_header_preproc
75163 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75164 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75167 if test $ac_cv_header_iconv_h = yes; then
75168 ac_has_iconv_h=yes
75169 else
75170 ac_has_iconv_h=no
75174 if test "${ac_cv_header_langinfo_h+set}" = set; then
75175 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75176 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75177 if test "${ac_cv_header_langinfo_h+set}" = set; then
75178 echo $ECHO_N "(cached) $ECHO_C" >&6
75180 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75181 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75182 else
75183 # Is the header compilable?
75184 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
75185 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
75186 cat >conftest.$ac_ext <<_ACEOF
75187 /* confdefs.h. */
75188 _ACEOF
75189 cat confdefs.h >>conftest.$ac_ext
75190 cat >>conftest.$ac_ext <<_ACEOF
75191 /* end confdefs.h. */
75192 $ac_includes_default
75193 #include <langinfo.h>
75194 _ACEOF
75195 rm -f conftest.$ac_objext
75196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75197 (eval $ac_compile) 2>conftest.er1
75198 ac_status=$?
75199 grep -v '^ *+' conftest.er1 >conftest.err
75200 rm -f conftest.er1
75201 cat conftest.err >&5
75202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75203 (exit $ac_status); } &&
75204 { ac_try='test -z "$ac_c_werror_flag"
75205 || test ! -s conftest.err'
75206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75207 (eval $ac_try) 2>&5
75208 ac_status=$?
75209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75210 (exit $ac_status); }; } &&
75211 { ac_try='test -s conftest.$ac_objext'
75212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75213 (eval $ac_try) 2>&5
75214 ac_status=$?
75215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75216 (exit $ac_status); }; }; then
75217 ac_header_compiler=yes
75218 else
75219 echo "$as_me: failed program was:" >&5
75220 sed 's/^/| /' conftest.$ac_ext >&5
75222 ac_header_compiler=no
75224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75226 echo "${ECHO_T}$ac_header_compiler" >&6
75228 # Is the header present?
75229 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75230 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75231 cat >conftest.$ac_ext <<_ACEOF
75232 /* confdefs.h. */
75233 _ACEOF
75234 cat confdefs.h >>conftest.$ac_ext
75235 cat >>conftest.$ac_ext <<_ACEOF
75236 /* end confdefs.h. */
75237 #include <langinfo.h>
75238 _ACEOF
75239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75241 ac_status=$?
75242 grep -v '^ *+' conftest.er1 >conftest.err
75243 rm -f conftest.er1
75244 cat conftest.err >&5
75245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75246 (exit $ac_status); } >/dev/null; then
75247 if test -s conftest.err; then
75248 ac_cpp_err=$ac_c_preproc_warn_flag
75249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75250 else
75251 ac_cpp_err=
75253 else
75254 ac_cpp_err=yes
75256 if test -z "$ac_cpp_err"; then
75257 ac_header_preproc=yes
75258 else
75259 echo "$as_me: failed program was:" >&5
75260 sed 's/^/| /' conftest.$ac_ext >&5
75262 ac_header_preproc=no
75264 rm -f conftest.err conftest.$ac_ext
75265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75266 echo "${ECHO_T}$ac_header_preproc" >&6
75268 # So? What about this header?
75269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75270 yes:no: )
75271 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75272 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75273 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75274 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75275 ac_header_preproc=yes
75277 no:yes:* )
75278 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75279 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75280 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75281 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75282 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75283 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75284 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
75285 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
75286 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75287 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75288 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75289 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75291 cat <<\_ASBOX
75292 ## ----------------------------------------- ##
75293 ## Report this to the package-unused lists. ##
75294 ## ----------------------------------------- ##
75295 _ASBOX
75297 sed "s/^/$as_me: WARNING: /" >&2
75299 esac
75300 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75301 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75302 if test "${ac_cv_header_langinfo_h+set}" = set; then
75303 echo $ECHO_N "(cached) $ECHO_C" >&6
75304 else
75305 ac_cv_header_langinfo_h=$ac_header_preproc
75307 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75308 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75311 if test $ac_cv_header_langinfo_h = yes; then
75312 ac_has_langinfo_h=yes
75313 else
75314 ac_has_langinfo_h=no
75319 # Check for existence of libiconv.a providing XPG2 wchar_t support.
75320 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75321 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75322 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75323 echo $ECHO_N "(cached) $ECHO_C" >&6
75324 else
75325 ac_check_lib_save_LIBS=$LIBS
75326 LIBS="-liconv $LIBS"
75327 if test x$gcc_no_link = xyes; then
75328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75330 { (exit 1); exit 1; }; }
75332 cat >conftest.$ac_ext <<_ACEOF
75333 /* confdefs.h. */
75334 _ACEOF
75335 cat confdefs.h >>conftest.$ac_ext
75336 cat >>conftest.$ac_ext <<_ACEOF
75337 /* end confdefs.h. */
75339 /* Override any gcc2 internal prototype to avoid an error. */
75340 #ifdef __cplusplus
75341 extern "C"
75342 #endif
75343 /* We use char because int might match the return type of a gcc2
75344 builtin and then its argument prototype would still apply. */
75345 char iconv ();
75347 main ()
75349 iconv ();
75351 return 0;
75353 _ACEOF
75354 rm -f conftest.$ac_objext conftest$ac_exeext
75355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75356 (eval $ac_link) 2>conftest.er1
75357 ac_status=$?
75358 grep -v '^ *+' conftest.er1 >conftest.err
75359 rm -f conftest.er1
75360 cat conftest.err >&5
75361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75362 (exit $ac_status); } &&
75363 { ac_try='test -z "$ac_c_werror_flag"
75364 || test ! -s conftest.err'
75365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75366 (eval $ac_try) 2>&5
75367 ac_status=$?
75368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75369 (exit $ac_status); }; } &&
75370 { ac_try='test -s conftest$ac_exeext'
75371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75372 (eval $ac_try) 2>&5
75373 ac_status=$?
75374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75375 (exit $ac_status); }; }; then
75376 ac_cv_lib_iconv_iconv=yes
75377 else
75378 echo "$as_me: failed program was:" >&5
75379 sed 's/^/| /' conftest.$ac_ext >&5
75381 ac_cv_lib_iconv_iconv=no
75383 rm -f conftest.err conftest.$ac_objext \
75384 conftest$ac_exeext conftest.$ac_ext
75385 LIBS=$ac_check_lib_save_LIBS
75387 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75388 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75389 if test $ac_cv_lib_iconv_iconv = yes; then
75390 LIBICONV="-liconv"
75393 ac_save_LIBS="$LIBS"
75394 LIBS="$LIBS $LIBICONV"
75401 for ac_func in iconv_open iconv_close iconv nl_langinfo
75403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75404 echo "$as_me:$LINENO: checking for $ac_func" >&5
75405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75406 if eval "test \"\${$as_ac_var+set}\" = set"; then
75407 echo $ECHO_N "(cached) $ECHO_C" >&6
75408 else
75409 if test x$gcc_no_link = xyes; then
75410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75412 { (exit 1); exit 1; }; }
75414 cat >conftest.$ac_ext <<_ACEOF
75415 /* confdefs.h. */
75416 _ACEOF
75417 cat confdefs.h >>conftest.$ac_ext
75418 cat >>conftest.$ac_ext <<_ACEOF
75419 /* end confdefs.h. */
75420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75422 #define $ac_func innocuous_$ac_func
75424 /* System header to define __stub macros and hopefully few prototypes,
75425 which can conflict with char $ac_func (); below.
75426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75427 <limits.h> exists even on freestanding compilers. */
75429 #ifdef __STDC__
75430 # include <limits.h>
75431 #else
75432 # include <assert.h>
75433 #endif
75435 #undef $ac_func
75437 /* Override any gcc2 internal prototype to avoid an error. */
75438 #ifdef __cplusplus
75439 extern "C"
75441 #endif
75442 /* We use char because int might match the return type of a gcc2
75443 builtin and then its argument prototype would still apply. */
75444 char $ac_func ();
75445 /* The GNU C library defines this for functions which it implements
75446 to always fail with ENOSYS. Some functions are actually named
75447 something starting with __ and the normal name is an alias. */
75448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75449 choke me
75450 #else
75451 char (*f) () = $ac_func;
75452 #endif
75453 #ifdef __cplusplus
75455 #endif
75458 main ()
75460 return f != $ac_func;
75462 return 0;
75464 _ACEOF
75465 rm -f conftest.$ac_objext conftest$ac_exeext
75466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75467 (eval $ac_link) 2>conftest.er1
75468 ac_status=$?
75469 grep -v '^ *+' conftest.er1 >conftest.err
75470 rm -f conftest.er1
75471 cat conftest.err >&5
75472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75473 (exit $ac_status); } &&
75474 { ac_try='test -z "$ac_c_werror_flag"
75475 || test ! -s conftest.err'
75476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75477 (eval $ac_try) 2>&5
75478 ac_status=$?
75479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75480 (exit $ac_status); }; } &&
75481 { ac_try='test -s conftest$ac_exeext'
75482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75483 (eval $ac_try) 2>&5
75484 ac_status=$?
75485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75486 (exit $ac_status); }; }; then
75487 eval "$as_ac_var=yes"
75488 else
75489 echo "$as_me: failed program was:" >&5
75490 sed 's/^/| /' conftest.$ac_ext >&5
75492 eval "$as_ac_var=no"
75494 rm -f conftest.err conftest.$ac_objext \
75495 conftest$ac_exeext conftest.$ac_ext
75497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75499 if test `eval echo '${'$as_ac_var'}'` = yes; then
75500 cat >>confdefs.h <<_ACEOF
75501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75502 _ACEOF
75503 ac_XPG2funcs=yes
75504 else
75505 ac_XPG2funcs=no
75507 done
75510 LIBS="$ac_save_LIBS"
75512 if test x"$ac_has_iconv_h" = xyes &&
75513 test x"$ac_has_langinfo_h" = xyes &&
75514 test x"$ac_XPG2funcs" = xyes;
75515 then
75517 cat >>confdefs.h <<\_ACEOF
75518 #define _GLIBCXX_USE_ICONV 1
75519 _ACEOF
75521 enable_iconv=yes
75524 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75525 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75526 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75527 echo "${ECHO_T}$enable_iconv" >&6
75529 cat >>confdefs.h <<\_ACEOF
75530 #define HAVE_LC_MESSAGES 1
75531 _ACEOF
75533 cat >>confdefs.h <<\_ACEOF
75534 #define HAVE_GETPAGESIZE 1
75535 _ACEOF
75537 cat >>confdefs.h <<\_ACEOF
75538 #define HAVE_SETENV 1
75539 _ACEOF
75541 cat >>confdefs.h <<\_ACEOF
75542 #define HAVE_SIGSETJMP 1
75543 _ACEOF
75545 cat >>confdefs.h <<\_ACEOF
75546 #define HAVE_COPYSIGN 1
75547 _ACEOF
75549 cat >>confdefs.h <<\_ACEOF
75550 #define HAVE_COPYSIGNF 1
75551 _ACEOF
75553 cat >>confdefs.h <<\_ACEOF
75554 #define HAVE_FINITEF 1
75555 _ACEOF
75557 cat >>confdefs.h <<\_ACEOF
75558 #define HAVE_FINITE 1
75559 _ACEOF
75561 cat >>confdefs.h <<\_ACEOF
75562 #define HAVE_FREXPF 1
75563 _ACEOF
75565 cat >>confdefs.h <<\_ACEOF
75566 #define HAVE_HYPOT 1
75567 _ACEOF
75569 cat >>confdefs.h <<\_ACEOF
75570 #define HAVE_HYPOTF 1
75571 _ACEOF
75573 cat >>confdefs.h <<\_ACEOF
75574 #define HAVE_ISINF 1
75575 _ACEOF
75577 cat >>confdefs.h <<\_ACEOF
75578 #define HAVE_ISNAN 1
75579 _ACEOF
75581 cat >>confdefs.h <<\_ACEOF
75582 #define HAVE_ISNANF 1
75583 _ACEOF
75586 cat >>confdefs.h <<\_ACEOF
75587 #define HAVE_MMAP 1
75588 _ACEOF
75590 cat >>confdefs.h <<\_ACEOF
75591 #define HAVE_ACOSF 1
75592 _ACEOF
75594 cat >>confdefs.h <<\_ACEOF
75595 #define HAVE_ASINF 1
75596 _ACEOF
75598 cat >>confdefs.h <<\_ACEOF
75599 #define HAVE_ATAN2F 1
75600 _ACEOF
75602 cat >>confdefs.h <<\_ACEOF
75603 #define HAVE_ATANF 1
75604 _ACEOF
75606 cat >>confdefs.h <<\_ACEOF
75607 #define HAVE_CEILF 1
75608 _ACEOF
75610 cat >>confdefs.h <<\_ACEOF
75611 #define HAVE_COPYSIGN 1
75612 _ACEOF
75614 cat >>confdefs.h <<\_ACEOF
75615 #define HAVE_COPYSIGNF 1
75616 _ACEOF
75618 cat >>confdefs.h <<\_ACEOF
75619 #define HAVE_COSF 1
75620 _ACEOF
75622 cat >>confdefs.h <<\_ACEOF
75623 #define HAVE_COSHF 1
75624 _ACEOF
75626 cat >>confdefs.h <<\_ACEOF
75627 #define HAVE_EXPF 1
75628 _ACEOF
75630 cat >>confdefs.h <<\_ACEOF
75631 #define HAVE_FABSF 1
75632 _ACEOF
75634 cat >>confdefs.h <<\_ACEOF
75635 #define HAVE_FLOORF 1
75636 _ACEOF
75638 cat >>confdefs.h <<\_ACEOF
75639 #define HAVE_FMODF 1
75640 _ACEOF
75642 cat >>confdefs.h <<\_ACEOF
75643 #define HAVE_FREXPF 1
75644 _ACEOF
75646 cat >>confdefs.h <<\_ACEOF
75647 #define HAVE_LDEXPF 1
75648 _ACEOF
75650 cat >>confdefs.h <<\_ACEOF
75651 #define HAVE_LOG10F 1
75652 _ACEOF
75654 cat >>confdefs.h <<\_ACEOF
75655 #define HAVE_LOGF 1
75656 _ACEOF
75658 cat >>confdefs.h <<\_ACEOF
75659 #define HAVE_MODFF 1
75660 _ACEOF
75662 cat >>confdefs.h <<\_ACEOF
75663 #define HAVE_POWF 1
75664 _ACEOF
75666 cat >>confdefs.h <<\_ACEOF
75667 #define HAVE_SINF 1
75668 _ACEOF
75670 cat >>confdefs.h <<\_ACEOF
75671 #define HAVE_SINHF 1
75672 _ACEOF
75674 cat >>confdefs.h <<\_ACEOF
75675 #define HAVE_SQRTF 1
75676 _ACEOF
75678 cat >>confdefs.h <<\_ACEOF
75679 #define HAVE_TANF 1
75680 _ACEOF
75682 cat >>confdefs.h <<\_ACEOF
75683 #define HAVE_TANHF 1
75684 _ACEOF
75686 if test x"long_double_math_on_this_cpu" = x"yes"; then
75687 cat >>confdefs.h <<\_ACEOF
75688 #define HAVE_FINITEL 1
75689 _ACEOF
75691 cat >>confdefs.h <<\_ACEOF
75692 #define HAVE_ISINFL 1
75693 _ACEOF
75695 cat >>confdefs.h <<\_ACEOF
75696 #define HAVE_ISNANL 1
75697 _ACEOF
75701 *-hpux*)
75714 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75715 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75716 fp.h locale.h float.h inttypes.h
75718 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75720 echo "$as_me:$LINENO: checking for $ac_header" >&5
75721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75723 echo $ECHO_N "(cached) $ECHO_C" >&6
75725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75727 else
75728 # Is the header compilable?
75729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75731 cat >conftest.$ac_ext <<_ACEOF
75732 /* confdefs.h. */
75733 _ACEOF
75734 cat confdefs.h >>conftest.$ac_ext
75735 cat >>conftest.$ac_ext <<_ACEOF
75736 /* end confdefs.h. */
75737 $ac_includes_default
75738 #include <$ac_header>
75739 _ACEOF
75740 rm -f conftest.$ac_objext
75741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75742 (eval $ac_compile) 2>conftest.er1
75743 ac_status=$?
75744 grep -v '^ *+' conftest.er1 >conftest.err
75745 rm -f conftest.er1
75746 cat conftest.err >&5
75747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75748 (exit $ac_status); } &&
75749 { ac_try='test -z "$ac_c_werror_flag"
75750 || test ! -s conftest.err'
75751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75752 (eval $ac_try) 2>&5
75753 ac_status=$?
75754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75755 (exit $ac_status); }; } &&
75756 { ac_try='test -s conftest.$ac_objext'
75757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75758 (eval $ac_try) 2>&5
75759 ac_status=$?
75760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75761 (exit $ac_status); }; }; then
75762 ac_header_compiler=yes
75763 else
75764 echo "$as_me: failed program was:" >&5
75765 sed 's/^/| /' conftest.$ac_ext >&5
75767 ac_header_compiler=no
75769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75771 echo "${ECHO_T}$ac_header_compiler" >&6
75773 # Is the header present?
75774 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75776 cat >conftest.$ac_ext <<_ACEOF
75777 /* confdefs.h. */
75778 _ACEOF
75779 cat confdefs.h >>conftest.$ac_ext
75780 cat >>conftest.$ac_ext <<_ACEOF
75781 /* end confdefs.h. */
75782 #include <$ac_header>
75783 _ACEOF
75784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75786 ac_status=$?
75787 grep -v '^ *+' conftest.er1 >conftest.err
75788 rm -f conftest.er1
75789 cat conftest.err >&5
75790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75791 (exit $ac_status); } >/dev/null; then
75792 if test -s conftest.err; then
75793 ac_cpp_err=$ac_c_preproc_warn_flag
75794 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75795 else
75796 ac_cpp_err=
75798 else
75799 ac_cpp_err=yes
75801 if test -z "$ac_cpp_err"; then
75802 ac_header_preproc=yes
75803 else
75804 echo "$as_me: failed program was:" >&5
75805 sed 's/^/| /' conftest.$ac_ext >&5
75807 ac_header_preproc=no
75809 rm -f conftest.err conftest.$ac_ext
75810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75811 echo "${ECHO_T}$ac_header_preproc" >&6
75813 # So? What about this header?
75814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75815 yes:no: )
75816 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75817 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75819 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75820 ac_header_preproc=yes
75822 no:yes:* )
75823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75827 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75828 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75829 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75830 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75833 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75834 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75836 cat <<\_ASBOX
75837 ## ----------------------------------------- ##
75838 ## Report this to the package-unused lists. ##
75839 ## ----------------------------------------- ##
75840 _ASBOX
75842 sed "s/^/$as_me: WARNING: /" >&2
75844 esac
75845 echo "$as_me:$LINENO: checking for $ac_header" >&5
75846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75848 echo $ECHO_N "(cached) $ECHO_C" >&6
75849 else
75850 eval "$as_ac_Header=\$ac_header_preproc"
75852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75857 cat >>confdefs.h <<_ACEOF
75858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75859 _ACEOF
75863 done
75865 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75868 # If we're not using GNU ld, then there's no point in even trying these
75869 # tests. Check for that first. We should have already tested for gld
75870 # by now (in libtool), but require it now just to be safe...
75871 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75872 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75876 # The name set by libtool depends on the version of libtool. Shame on us
75877 # for depending on an impl detail, but c'est la vie. Older versions used
75878 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75879 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75880 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75881 # set (hence we're using an older libtool), then set it.
75882 if test x${with_gnu_ld+set} != xset; then
75883 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75884 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75885 with_gnu_ld=no
75886 else
75887 with_gnu_ld=$ac_cv_prog_gnu_ld
75891 # Start by getting the version number. I think the libtool test already
75892 # does some of this, but throws away the result.
75894 ldver=`$LD --version 2>/dev/null | head -1 | \
75895 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75897 glibcxx_gnu_ld_version=`echo $ldver | \
75898 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75900 # Set --gc-sections.
75901 if test x"$with_gnu_ld" = x"yes"; then
75902 # GNU ld it is! Joy and bunny rabbits!
75904 # All these tests are for C++, but run with the "C" compiler driver.
75905 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
75906 ac_test_CFLAGS="${CFLAGS+set}"
75907 ac_save_CFLAGS="$CFLAGS"
75908 CFLAGS='-x c++ -Werror -Wl,--gc-sections'
75910 # Check for -Wl,--gc-sections
75911 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75912 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75913 if test x$gcc_no_link = xyes; then
75914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75916 { (exit 1); exit 1; }; }
75918 cat >conftest.$ac_ext <<_ACEOF
75919 /* confdefs.h. */
75920 _ACEOF
75921 cat confdefs.h >>conftest.$ac_ext
75922 cat >>conftest.$ac_ext <<_ACEOF
75923 /* end confdefs.h. */
75924 int one(void) { return 1; }
75925 int two(void) { return 2; }
75928 main ()
75930 two();
75932 return 0;
75934 _ACEOF
75935 rm -f conftest.$ac_objext conftest$ac_exeext
75936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75937 (eval $ac_link) 2>conftest.er1
75938 ac_status=$?
75939 grep -v '^ *+' conftest.er1 >conftest.err
75940 rm -f conftest.er1
75941 cat conftest.err >&5
75942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75943 (exit $ac_status); } &&
75944 { ac_try='test -z "$ac_c_werror_flag"
75945 || test ! -s conftest.err'
75946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75947 (eval $ac_try) 2>&5
75948 ac_status=$?
75949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75950 (exit $ac_status); }; } &&
75951 { ac_try='test -s conftest$ac_exeext'
75952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75953 (eval $ac_try) 2>&5
75954 ac_status=$?
75955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75956 (exit $ac_status); }; }; then
75957 ac_gcsections=yes
75958 else
75959 echo "$as_me: failed program was:" >&5
75960 sed 's/^/| /' conftest.$ac_ext >&5
75962 ac_gcsections=no
75964 rm -f conftest.err conftest.$ac_objext \
75965 conftest$ac_exeext conftest.$ac_ext
75966 if test "$ac_gcsections" = "yes"; then
75967 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75969 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75970 echo "${ECHO_T}$ac_gcsections" >&6
75972 if test "$ac_test_CFLAGS" = set; then
75973 CFLAGS="$ac_save_CFLAGS"
75974 else
75975 # this is the suspicious part
75976 CFLAGS=''
75980 # Set -z,relro.
75981 # Note this is only for shared objects.
75982 ac_ld_relro=no
75983 if test x"$with_gnu_ld" = x"yes"; then
75984 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75985 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75986 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75987 if test -n "$cxx_z_relo"; then
75988 OPT_LDFLAGS="-Wl,-z,relro"
75989 ac_ld_relro=yes
75991 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75992 echo "${ECHO_T}$ac_ld_relro" >&6
75995 # Set linker optimization flags.
75996 if test x"$with_gnu_ld" = x"yes"; then
75997 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76005 echo "$as_me:$LINENO: checking for main in -lm" >&5
76006 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76007 if test "${ac_cv_lib_m_main+set}" = set; then
76008 echo $ECHO_N "(cached) $ECHO_C" >&6
76009 else
76010 ac_check_lib_save_LIBS=$LIBS
76011 LIBS="-lm $LIBS"
76012 if test x$gcc_no_link = xyes; then
76013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76015 { (exit 1); exit 1; }; }
76017 cat >conftest.$ac_ext <<_ACEOF
76018 /* confdefs.h. */
76019 _ACEOF
76020 cat confdefs.h >>conftest.$ac_ext
76021 cat >>conftest.$ac_ext <<_ACEOF
76022 /* end confdefs.h. */
76026 main ()
76028 main ();
76030 return 0;
76032 _ACEOF
76033 rm -f conftest.$ac_objext conftest$ac_exeext
76034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76035 (eval $ac_link) 2>conftest.er1
76036 ac_status=$?
76037 grep -v '^ *+' conftest.er1 >conftest.err
76038 rm -f conftest.er1
76039 cat conftest.err >&5
76040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76041 (exit $ac_status); } &&
76042 { ac_try='test -z "$ac_c_werror_flag"
76043 || test ! -s conftest.err'
76044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76045 (eval $ac_try) 2>&5
76046 ac_status=$?
76047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76048 (exit $ac_status); }; } &&
76049 { ac_try='test -s conftest$ac_exeext'
76050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76051 (eval $ac_try) 2>&5
76052 ac_status=$?
76053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76054 (exit $ac_status); }; }; then
76055 ac_cv_lib_m_main=yes
76056 else
76057 echo "$as_me: failed program was:" >&5
76058 sed 's/^/| /' conftest.$ac_ext >&5
76060 ac_cv_lib_m_main=no
76062 rm -f conftest.err conftest.$ac_objext \
76063 conftest$ac_exeext conftest.$ac_ext
76064 LIBS=$ac_check_lib_save_LIBS
76066 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76067 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76068 if test $ac_cv_lib_m_main = yes; then
76069 cat >>confdefs.h <<_ACEOF
76070 #define HAVE_LIBM 1
76071 _ACEOF
76073 LIBS="-lm $LIBS"
76078 for ac_func in copysignf
76080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76081 echo "$as_me:$LINENO: checking for $ac_func" >&5
76082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76083 if eval "test \"\${$as_ac_var+set}\" = set"; then
76084 echo $ECHO_N "(cached) $ECHO_C" >&6
76085 else
76086 if test x$gcc_no_link = xyes; then
76087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76089 { (exit 1); exit 1; }; }
76091 cat >conftest.$ac_ext <<_ACEOF
76092 /* confdefs.h. */
76093 _ACEOF
76094 cat confdefs.h >>conftest.$ac_ext
76095 cat >>conftest.$ac_ext <<_ACEOF
76096 /* end confdefs.h. */
76097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76099 #define $ac_func innocuous_$ac_func
76101 /* System header to define __stub macros and hopefully few prototypes,
76102 which can conflict with char $ac_func (); below.
76103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76104 <limits.h> exists even on freestanding compilers. */
76106 #ifdef __STDC__
76107 # include <limits.h>
76108 #else
76109 # include <assert.h>
76110 #endif
76112 #undef $ac_func
76114 /* Override any gcc2 internal prototype to avoid an error. */
76115 #ifdef __cplusplus
76116 extern "C"
76118 #endif
76119 /* We use char because int might match the return type of a gcc2
76120 builtin and then its argument prototype would still apply. */
76121 char $ac_func ();
76122 /* The GNU C library defines this for functions which it implements
76123 to always fail with ENOSYS. Some functions are actually named
76124 something starting with __ and the normal name is an alias. */
76125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76126 choke me
76127 #else
76128 char (*f) () = $ac_func;
76129 #endif
76130 #ifdef __cplusplus
76132 #endif
76135 main ()
76137 return f != $ac_func;
76139 return 0;
76141 _ACEOF
76142 rm -f conftest.$ac_objext conftest$ac_exeext
76143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76144 (eval $ac_link) 2>conftest.er1
76145 ac_status=$?
76146 grep -v '^ *+' conftest.er1 >conftest.err
76147 rm -f conftest.er1
76148 cat conftest.err >&5
76149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76150 (exit $ac_status); } &&
76151 { ac_try='test -z "$ac_c_werror_flag"
76152 || test ! -s conftest.err'
76153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76154 (eval $ac_try) 2>&5
76155 ac_status=$?
76156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76157 (exit $ac_status); }; } &&
76158 { ac_try='test -s conftest$ac_exeext'
76159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76160 (eval $ac_try) 2>&5
76161 ac_status=$?
76162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76163 (exit $ac_status); }; }; then
76164 eval "$as_ac_var=yes"
76165 else
76166 echo "$as_me: failed program was:" >&5
76167 sed 's/^/| /' conftest.$ac_ext >&5
76169 eval "$as_ac_var=no"
76171 rm -f conftest.err conftest.$ac_objext \
76172 conftest$ac_exeext conftest.$ac_ext
76174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76176 if test `eval echo '${'$as_ac_var'}'` = yes; then
76177 cat >>confdefs.h <<_ACEOF
76178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76179 _ACEOF
76181 else
76182 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76184 done
76188 for ac_func in __signbit
76190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76191 echo "$as_me:$LINENO: checking for $ac_func" >&5
76192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76193 if eval "test \"\${$as_ac_var+set}\" = set"; then
76194 echo $ECHO_N "(cached) $ECHO_C" >&6
76195 else
76196 if test x$gcc_no_link = xyes; then
76197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76199 { (exit 1); exit 1; }; }
76201 cat >conftest.$ac_ext <<_ACEOF
76202 /* confdefs.h. */
76203 _ACEOF
76204 cat confdefs.h >>conftest.$ac_ext
76205 cat >>conftest.$ac_ext <<_ACEOF
76206 /* end confdefs.h. */
76207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76209 #define $ac_func innocuous_$ac_func
76211 /* System header to define __stub macros and hopefully few prototypes,
76212 which can conflict with char $ac_func (); below.
76213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76214 <limits.h> exists even on freestanding compilers. */
76216 #ifdef __STDC__
76217 # include <limits.h>
76218 #else
76219 # include <assert.h>
76220 #endif
76222 #undef $ac_func
76224 /* Override any gcc2 internal prototype to avoid an error. */
76225 #ifdef __cplusplus
76226 extern "C"
76228 #endif
76229 /* We use char because int might match the return type of a gcc2
76230 builtin and then its argument prototype would still apply. */
76231 char $ac_func ();
76232 /* The GNU C library defines this for functions which it implements
76233 to always fail with ENOSYS. Some functions are actually named
76234 something starting with __ and the normal name is an alias. */
76235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76236 choke me
76237 #else
76238 char (*f) () = $ac_func;
76239 #endif
76240 #ifdef __cplusplus
76242 #endif
76245 main ()
76247 return f != $ac_func;
76249 return 0;
76251 _ACEOF
76252 rm -f conftest.$ac_objext conftest$ac_exeext
76253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76254 (eval $ac_link) 2>conftest.er1
76255 ac_status=$?
76256 grep -v '^ *+' conftest.er1 >conftest.err
76257 rm -f conftest.er1
76258 cat conftest.err >&5
76259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76260 (exit $ac_status); } &&
76261 { ac_try='test -z "$ac_c_werror_flag"
76262 || test ! -s conftest.err'
76263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76264 (eval $ac_try) 2>&5
76265 ac_status=$?
76266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76267 (exit $ac_status); }; } &&
76268 { ac_try='test -s conftest$ac_exeext'
76269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76270 (eval $ac_try) 2>&5
76271 ac_status=$?
76272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76273 (exit $ac_status); }; }; then
76274 eval "$as_ac_var=yes"
76275 else
76276 echo "$as_me: failed program was:" >&5
76277 sed 's/^/| /' conftest.$ac_ext >&5
76279 eval "$as_ac_var=no"
76281 rm -f conftest.err conftest.$ac_objext \
76282 conftest$ac_exeext conftest.$ac_ext
76284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76286 if test `eval echo '${'$as_ac_var'}'` = yes; then
76287 cat >>confdefs.h <<_ACEOF
76288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76289 _ACEOF
76291 else
76292 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76294 done
76298 for ac_func in __signbitf
76300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76301 echo "$as_me:$LINENO: checking for $ac_func" >&5
76302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76303 if eval "test \"\${$as_ac_var+set}\" = set"; then
76304 echo $ECHO_N "(cached) $ECHO_C" >&6
76305 else
76306 if test x$gcc_no_link = xyes; then
76307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76309 { (exit 1); exit 1; }; }
76311 cat >conftest.$ac_ext <<_ACEOF
76312 /* confdefs.h. */
76313 _ACEOF
76314 cat confdefs.h >>conftest.$ac_ext
76315 cat >>conftest.$ac_ext <<_ACEOF
76316 /* end confdefs.h. */
76317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76319 #define $ac_func innocuous_$ac_func
76321 /* System header to define __stub macros and hopefully few prototypes,
76322 which can conflict with char $ac_func (); below.
76323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76324 <limits.h> exists even on freestanding compilers. */
76326 #ifdef __STDC__
76327 # include <limits.h>
76328 #else
76329 # include <assert.h>
76330 #endif
76332 #undef $ac_func
76334 /* Override any gcc2 internal prototype to avoid an error. */
76335 #ifdef __cplusplus
76336 extern "C"
76338 #endif
76339 /* We use char because int might match the return type of a gcc2
76340 builtin and then its argument prototype would still apply. */
76341 char $ac_func ();
76342 /* The GNU C library defines this for functions which it implements
76343 to always fail with ENOSYS. Some functions are actually named
76344 something starting with __ and the normal name is an alias. */
76345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76346 choke me
76347 #else
76348 char (*f) () = $ac_func;
76349 #endif
76350 #ifdef __cplusplus
76352 #endif
76355 main ()
76357 return f != $ac_func;
76359 return 0;
76361 _ACEOF
76362 rm -f conftest.$ac_objext conftest$ac_exeext
76363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76364 (eval $ac_link) 2>conftest.er1
76365 ac_status=$?
76366 grep -v '^ *+' conftest.er1 >conftest.err
76367 rm -f conftest.er1
76368 cat conftest.err >&5
76369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76370 (exit $ac_status); } &&
76371 { ac_try='test -z "$ac_c_werror_flag"
76372 || test ! -s conftest.err'
76373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76374 (eval $ac_try) 2>&5
76375 ac_status=$?
76376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76377 (exit $ac_status); }; } &&
76378 { ac_try='test -s conftest$ac_exeext'
76379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76380 (eval $ac_try) 2>&5
76381 ac_status=$?
76382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76383 (exit $ac_status); }; }; then
76384 eval "$as_ac_var=yes"
76385 else
76386 echo "$as_me: failed program was:" >&5
76387 sed 's/^/| /' conftest.$ac_ext >&5
76389 eval "$as_ac_var=no"
76391 rm -f conftest.err conftest.$ac_objext \
76392 conftest$ac_exeext conftest.$ac_ext
76394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76396 if test `eval echo '${'$as_ac_var'}'` = yes; then
76397 cat >>confdefs.h <<_ACEOF
76398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76399 _ACEOF
76401 else
76402 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76404 done
76407 if test x$ac_cv_func_copysignl = x"yes"; then
76409 for ac_func in __signbitl
76411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76412 echo "$as_me:$LINENO: checking for $ac_func" >&5
76413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76414 if eval "test \"\${$as_ac_var+set}\" = set"; then
76415 echo $ECHO_N "(cached) $ECHO_C" >&6
76416 else
76417 if test x$gcc_no_link = xyes; then
76418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76420 { (exit 1); exit 1; }; }
76422 cat >conftest.$ac_ext <<_ACEOF
76423 /* confdefs.h. */
76424 _ACEOF
76425 cat confdefs.h >>conftest.$ac_ext
76426 cat >>conftest.$ac_ext <<_ACEOF
76427 /* end confdefs.h. */
76428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76430 #define $ac_func innocuous_$ac_func
76432 /* System header to define __stub macros and hopefully few prototypes,
76433 which can conflict with char $ac_func (); below.
76434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76435 <limits.h> exists even on freestanding compilers. */
76437 #ifdef __STDC__
76438 # include <limits.h>
76439 #else
76440 # include <assert.h>
76441 #endif
76443 #undef $ac_func
76445 /* Override any gcc2 internal prototype to avoid an error. */
76446 #ifdef __cplusplus
76447 extern "C"
76449 #endif
76450 /* We use char because int might match the return type of a gcc2
76451 builtin and then its argument prototype would still apply. */
76452 char $ac_func ();
76453 /* The GNU C library defines this for functions which it implements
76454 to always fail with ENOSYS. Some functions are actually named
76455 something starting with __ and the normal name is an alias. */
76456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76457 choke me
76458 #else
76459 char (*f) () = $ac_func;
76460 #endif
76461 #ifdef __cplusplus
76463 #endif
76466 main ()
76468 return f != $ac_func;
76470 return 0;
76472 _ACEOF
76473 rm -f conftest.$ac_objext conftest$ac_exeext
76474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76475 (eval $ac_link) 2>conftest.er1
76476 ac_status=$?
76477 grep -v '^ *+' conftest.er1 >conftest.err
76478 rm -f conftest.er1
76479 cat conftest.err >&5
76480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76481 (exit $ac_status); } &&
76482 { ac_try='test -z "$ac_c_werror_flag"
76483 || test ! -s conftest.err'
76484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76485 (eval $ac_try) 2>&5
76486 ac_status=$?
76487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76488 (exit $ac_status); }; } &&
76489 { ac_try='test -s conftest$ac_exeext'
76490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76491 (eval $ac_try) 2>&5
76492 ac_status=$?
76493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76494 (exit $ac_status); }; }; then
76495 eval "$as_ac_var=yes"
76496 else
76497 echo "$as_me: failed program was:" >&5
76498 sed 's/^/| /' conftest.$ac_ext >&5
76500 eval "$as_ac_var=no"
76502 rm -f conftest.err conftest.$ac_objext \
76503 conftest$ac_exeext conftest.$ac_ext
76505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76507 if test `eval echo '${'$as_ac_var'}'` = yes; then
76508 cat >>confdefs.h <<_ACEOF
76509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76510 _ACEOF
76512 else
76513 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76515 done
76519 # Used in libmath/Makefile.am.
76520 if test -n "$LIBMATHOBJS"; then
76521 need_libmath=yes
76527 enable_iconv=no
76528 # Only continue checking if the ISO C99 headers exist and support is on.
76529 if test x"$enable_wchar_t" = xyes; then
76531 # Use iconv for wchar_t to char conversions. As such, check for
76532 # X/Open Portability Guide, version 2 features (XPG2).
76533 if test "${ac_cv_header_iconv_h+set}" = set; then
76534 echo "$as_me:$LINENO: checking for iconv.h" >&5
76535 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76536 if test "${ac_cv_header_iconv_h+set}" = set; then
76537 echo $ECHO_N "(cached) $ECHO_C" >&6
76539 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76540 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76541 else
76542 # Is the header compilable?
76543 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76544 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76545 cat >conftest.$ac_ext <<_ACEOF
76546 /* confdefs.h. */
76547 _ACEOF
76548 cat confdefs.h >>conftest.$ac_ext
76549 cat >>conftest.$ac_ext <<_ACEOF
76550 /* end confdefs.h. */
76551 $ac_includes_default
76552 #include <iconv.h>
76553 _ACEOF
76554 rm -f conftest.$ac_objext
76555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76556 (eval $ac_compile) 2>conftest.er1
76557 ac_status=$?
76558 grep -v '^ *+' conftest.er1 >conftest.err
76559 rm -f conftest.er1
76560 cat conftest.err >&5
76561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76562 (exit $ac_status); } &&
76563 { ac_try='test -z "$ac_c_werror_flag"
76564 || test ! -s conftest.err'
76565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76566 (eval $ac_try) 2>&5
76567 ac_status=$?
76568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76569 (exit $ac_status); }; } &&
76570 { ac_try='test -s conftest.$ac_objext'
76571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76572 (eval $ac_try) 2>&5
76573 ac_status=$?
76574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76575 (exit $ac_status); }; }; then
76576 ac_header_compiler=yes
76577 else
76578 echo "$as_me: failed program was:" >&5
76579 sed 's/^/| /' conftest.$ac_ext >&5
76581 ac_header_compiler=no
76583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76585 echo "${ECHO_T}$ac_header_compiler" >&6
76587 # Is the header present?
76588 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76589 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76590 cat >conftest.$ac_ext <<_ACEOF
76591 /* confdefs.h. */
76592 _ACEOF
76593 cat confdefs.h >>conftest.$ac_ext
76594 cat >>conftest.$ac_ext <<_ACEOF
76595 /* end confdefs.h. */
76596 #include <iconv.h>
76597 _ACEOF
76598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76600 ac_status=$?
76601 grep -v '^ *+' conftest.er1 >conftest.err
76602 rm -f conftest.er1
76603 cat conftest.err >&5
76604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76605 (exit $ac_status); } >/dev/null; then
76606 if test -s conftest.err; then
76607 ac_cpp_err=$ac_c_preproc_warn_flag
76608 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76609 else
76610 ac_cpp_err=
76612 else
76613 ac_cpp_err=yes
76615 if test -z "$ac_cpp_err"; then
76616 ac_header_preproc=yes
76617 else
76618 echo "$as_me: failed program was:" >&5
76619 sed 's/^/| /' conftest.$ac_ext >&5
76621 ac_header_preproc=no
76623 rm -f conftest.err conftest.$ac_ext
76624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76625 echo "${ECHO_T}$ac_header_preproc" >&6
76627 # So? What about this header?
76628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76629 yes:no: )
76630 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76631 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76632 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76633 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76634 ac_header_preproc=yes
76636 no:yes:* )
76637 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76638 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76639 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76640 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76641 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76642 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76643 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76644 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76645 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76646 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76647 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76648 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76650 cat <<\_ASBOX
76651 ## ----------------------------------------- ##
76652 ## Report this to the package-unused lists. ##
76653 ## ----------------------------------------- ##
76654 _ASBOX
76656 sed "s/^/$as_me: WARNING: /" >&2
76658 esac
76659 echo "$as_me:$LINENO: checking for iconv.h" >&5
76660 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76661 if test "${ac_cv_header_iconv_h+set}" = set; then
76662 echo $ECHO_N "(cached) $ECHO_C" >&6
76663 else
76664 ac_cv_header_iconv_h=$ac_header_preproc
76666 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76667 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76670 if test $ac_cv_header_iconv_h = yes; then
76671 ac_has_iconv_h=yes
76672 else
76673 ac_has_iconv_h=no
76677 if test "${ac_cv_header_langinfo_h+set}" = set; then
76678 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76679 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76680 if test "${ac_cv_header_langinfo_h+set}" = set; then
76681 echo $ECHO_N "(cached) $ECHO_C" >&6
76683 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76684 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76685 else
76686 # Is the header compilable?
76687 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76688 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76689 cat >conftest.$ac_ext <<_ACEOF
76690 /* confdefs.h. */
76691 _ACEOF
76692 cat confdefs.h >>conftest.$ac_ext
76693 cat >>conftest.$ac_ext <<_ACEOF
76694 /* end confdefs.h. */
76695 $ac_includes_default
76696 #include <langinfo.h>
76697 _ACEOF
76698 rm -f conftest.$ac_objext
76699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76700 (eval $ac_compile) 2>conftest.er1
76701 ac_status=$?
76702 grep -v '^ *+' conftest.er1 >conftest.err
76703 rm -f conftest.er1
76704 cat conftest.err >&5
76705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76706 (exit $ac_status); } &&
76707 { ac_try='test -z "$ac_c_werror_flag"
76708 || test ! -s conftest.err'
76709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76710 (eval $ac_try) 2>&5
76711 ac_status=$?
76712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76713 (exit $ac_status); }; } &&
76714 { ac_try='test -s conftest.$ac_objext'
76715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76716 (eval $ac_try) 2>&5
76717 ac_status=$?
76718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76719 (exit $ac_status); }; }; then
76720 ac_header_compiler=yes
76721 else
76722 echo "$as_me: failed program was:" >&5
76723 sed 's/^/| /' conftest.$ac_ext >&5
76725 ac_header_compiler=no
76727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76729 echo "${ECHO_T}$ac_header_compiler" >&6
76731 # Is the header present?
76732 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76733 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76734 cat >conftest.$ac_ext <<_ACEOF
76735 /* confdefs.h. */
76736 _ACEOF
76737 cat confdefs.h >>conftest.$ac_ext
76738 cat >>conftest.$ac_ext <<_ACEOF
76739 /* end confdefs.h. */
76740 #include <langinfo.h>
76741 _ACEOF
76742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76743 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76744 ac_status=$?
76745 grep -v '^ *+' conftest.er1 >conftest.err
76746 rm -f conftest.er1
76747 cat conftest.err >&5
76748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76749 (exit $ac_status); } >/dev/null; then
76750 if test -s conftest.err; then
76751 ac_cpp_err=$ac_c_preproc_warn_flag
76752 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76753 else
76754 ac_cpp_err=
76756 else
76757 ac_cpp_err=yes
76759 if test -z "$ac_cpp_err"; then
76760 ac_header_preproc=yes
76761 else
76762 echo "$as_me: failed program was:" >&5
76763 sed 's/^/| /' conftest.$ac_ext >&5
76765 ac_header_preproc=no
76767 rm -f conftest.err conftest.$ac_ext
76768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76769 echo "${ECHO_T}$ac_header_preproc" >&6
76771 # So? What about this header?
76772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76773 yes:no: )
76774 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76775 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76776 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76777 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76778 ac_header_preproc=yes
76780 no:yes:* )
76781 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76782 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76783 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76784 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76785 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76786 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76787 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76788 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76789 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76790 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76791 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76792 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76794 cat <<\_ASBOX
76795 ## ----------------------------------------- ##
76796 ## Report this to the package-unused lists. ##
76797 ## ----------------------------------------- ##
76798 _ASBOX
76800 sed "s/^/$as_me: WARNING: /" >&2
76802 esac
76803 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76804 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76805 if test "${ac_cv_header_langinfo_h+set}" = set; then
76806 echo $ECHO_N "(cached) $ECHO_C" >&6
76807 else
76808 ac_cv_header_langinfo_h=$ac_header_preproc
76810 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76811 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76814 if test $ac_cv_header_langinfo_h = yes; then
76815 ac_has_langinfo_h=yes
76816 else
76817 ac_has_langinfo_h=no
76822 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76823 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76824 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76825 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76826 echo $ECHO_N "(cached) $ECHO_C" >&6
76827 else
76828 ac_check_lib_save_LIBS=$LIBS
76829 LIBS="-liconv $LIBS"
76830 if test x$gcc_no_link = xyes; then
76831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76833 { (exit 1); exit 1; }; }
76835 cat >conftest.$ac_ext <<_ACEOF
76836 /* confdefs.h. */
76837 _ACEOF
76838 cat confdefs.h >>conftest.$ac_ext
76839 cat >>conftest.$ac_ext <<_ACEOF
76840 /* end confdefs.h. */
76842 /* Override any gcc2 internal prototype to avoid an error. */
76843 #ifdef __cplusplus
76844 extern "C"
76845 #endif
76846 /* We use char because int might match the return type of a gcc2
76847 builtin and then its argument prototype would still apply. */
76848 char iconv ();
76850 main ()
76852 iconv ();
76854 return 0;
76856 _ACEOF
76857 rm -f conftest.$ac_objext conftest$ac_exeext
76858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76859 (eval $ac_link) 2>conftest.er1
76860 ac_status=$?
76861 grep -v '^ *+' conftest.er1 >conftest.err
76862 rm -f conftest.er1
76863 cat conftest.err >&5
76864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76865 (exit $ac_status); } &&
76866 { ac_try='test -z "$ac_c_werror_flag"
76867 || test ! -s conftest.err'
76868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76869 (eval $ac_try) 2>&5
76870 ac_status=$?
76871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76872 (exit $ac_status); }; } &&
76873 { ac_try='test -s conftest$ac_exeext'
76874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76875 (eval $ac_try) 2>&5
76876 ac_status=$?
76877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76878 (exit $ac_status); }; }; then
76879 ac_cv_lib_iconv_iconv=yes
76880 else
76881 echo "$as_me: failed program was:" >&5
76882 sed 's/^/| /' conftest.$ac_ext >&5
76884 ac_cv_lib_iconv_iconv=no
76886 rm -f conftest.err conftest.$ac_objext \
76887 conftest$ac_exeext conftest.$ac_ext
76888 LIBS=$ac_check_lib_save_LIBS
76890 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76891 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76892 if test $ac_cv_lib_iconv_iconv = yes; then
76893 LIBICONV="-liconv"
76896 ac_save_LIBS="$LIBS"
76897 LIBS="$LIBS $LIBICONV"
76904 for ac_func in iconv_open iconv_close iconv nl_langinfo
76906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76907 echo "$as_me:$LINENO: checking for $ac_func" >&5
76908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76909 if eval "test \"\${$as_ac_var+set}\" = set"; then
76910 echo $ECHO_N "(cached) $ECHO_C" >&6
76911 else
76912 if test x$gcc_no_link = xyes; then
76913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76915 { (exit 1); exit 1; }; }
76917 cat >conftest.$ac_ext <<_ACEOF
76918 /* confdefs.h. */
76919 _ACEOF
76920 cat confdefs.h >>conftest.$ac_ext
76921 cat >>conftest.$ac_ext <<_ACEOF
76922 /* end confdefs.h. */
76923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76925 #define $ac_func innocuous_$ac_func
76927 /* System header to define __stub macros and hopefully few prototypes,
76928 which can conflict with char $ac_func (); below.
76929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76930 <limits.h> exists even on freestanding compilers. */
76932 #ifdef __STDC__
76933 # include <limits.h>
76934 #else
76935 # include <assert.h>
76936 #endif
76938 #undef $ac_func
76940 /* Override any gcc2 internal prototype to avoid an error. */
76941 #ifdef __cplusplus
76942 extern "C"
76944 #endif
76945 /* We use char because int might match the return type of a gcc2
76946 builtin and then its argument prototype would still apply. */
76947 char $ac_func ();
76948 /* The GNU C library defines this for functions which it implements
76949 to always fail with ENOSYS. Some functions are actually named
76950 something starting with __ and the normal name is an alias. */
76951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76952 choke me
76953 #else
76954 char (*f) () = $ac_func;
76955 #endif
76956 #ifdef __cplusplus
76958 #endif
76961 main ()
76963 return f != $ac_func;
76965 return 0;
76967 _ACEOF
76968 rm -f conftest.$ac_objext conftest$ac_exeext
76969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76970 (eval $ac_link) 2>conftest.er1
76971 ac_status=$?
76972 grep -v '^ *+' conftest.er1 >conftest.err
76973 rm -f conftest.er1
76974 cat conftest.err >&5
76975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76976 (exit $ac_status); } &&
76977 { ac_try='test -z "$ac_c_werror_flag"
76978 || test ! -s conftest.err'
76979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76980 (eval $ac_try) 2>&5
76981 ac_status=$?
76982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76983 (exit $ac_status); }; } &&
76984 { ac_try='test -s conftest$ac_exeext'
76985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76986 (eval $ac_try) 2>&5
76987 ac_status=$?
76988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76989 (exit $ac_status); }; }; then
76990 eval "$as_ac_var=yes"
76991 else
76992 echo "$as_me: failed program was:" >&5
76993 sed 's/^/| /' conftest.$ac_ext >&5
76995 eval "$as_ac_var=no"
76997 rm -f conftest.err conftest.$ac_objext \
76998 conftest$ac_exeext conftest.$ac_ext
77000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77002 if test `eval echo '${'$as_ac_var'}'` = yes; then
77003 cat >>confdefs.h <<_ACEOF
77004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77005 _ACEOF
77006 ac_XPG2funcs=yes
77007 else
77008 ac_XPG2funcs=no
77010 done
77013 LIBS="$ac_save_LIBS"
77015 if test x"$ac_has_iconv_h" = xyes &&
77016 test x"$ac_has_langinfo_h" = xyes &&
77017 test x"$ac_XPG2funcs" = xyes;
77018 then
77020 cat >>confdefs.h <<\_ACEOF
77021 #define _GLIBCXX_USE_ICONV 1
77022 _ACEOF
77024 enable_iconv=yes
77027 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
77028 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
77029 echo "$as_me:$LINENO: result: $enable_iconv" >&5
77030 echo "${ECHO_T}$enable_iconv" >&6
77032 cat >>confdefs.h <<\_ACEOF
77033 #define HAVE_COPYSIGN 1
77034 _ACEOF
77036 cat >>confdefs.h <<\_ACEOF
77037 #define HAVE_COPYSIGNF 1
77038 _ACEOF
77040 cat >>confdefs.h <<\_ACEOF
77041 #define HAVE_FREXPF 1
77042 _ACEOF
77044 cat >>confdefs.h <<\_ACEOF
77045 #define HAVE_HYPOT 1
77046 _ACEOF
77048 case "$target" in
77049 *-hpux10*)
77050 cat >>confdefs.h <<\_ACEOF
77051 #define HAVE_FINITE 1
77052 _ACEOF
77054 cat >>confdefs.h <<\_ACEOF
77055 #define HAVE_FINITEF 1
77056 _ACEOF
77058 cat >>confdefs.h <<\_ACEOF
77059 #define HAVE_ISINF 1
77060 _ACEOF
77062 cat >>confdefs.h <<\_ACEOF
77063 #define HAVE_ISINFF 1
77064 _ACEOF
77066 cat >>confdefs.h <<\_ACEOF
77067 #define HAVE_ISNAN 1
77068 _ACEOF
77070 cat >>confdefs.h <<\_ACEOF
77071 #define HAVE_ISNANF 1
77072 _ACEOF
77075 esac
77077 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
77093 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77094 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77095 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
77097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77099 echo "$as_me:$LINENO: checking for $ac_header" >&5
77100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77102 echo $ECHO_N "(cached) $ECHO_C" >&6
77104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77106 else
77107 # Is the header compilable?
77108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77110 cat >conftest.$ac_ext <<_ACEOF
77111 /* confdefs.h. */
77112 _ACEOF
77113 cat confdefs.h >>conftest.$ac_ext
77114 cat >>conftest.$ac_ext <<_ACEOF
77115 /* end confdefs.h. */
77116 $ac_includes_default
77117 #include <$ac_header>
77118 _ACEOF
77119 rm -f conftest.$ac_objext
77120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77121 (eval $ac_compile) 2>conftest.er1
77122 ac_status=$?
77123 grep -v '^ *+' conftest.er1 >conftest.err
77124 rm -f conftest.er1
77125 cat conftest.err >&5
77126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77127 (exit $ac_status); } &&
77128 { ac_try='test -z "$ac_c_werror_flag"
77129 || test ! -s conftest.err'
77130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77131 (eval $ac_try) 2>&5
77132 ac_status=$?
77133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77134 (exit $ac_status); }; } &&
77135 { ac_try='test -s conftest.$ac_objext'
77136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77137 (eval $ac_try) 2>&5
77138 ac_status=$?
77139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77140 (exit $ac_status); }; }; then
77141 ac_header_compiler=yes
77142 else
77143 echo "$as_me: failed program was:" >&5
77144 sed 's/^/| /' conftest.$ac_ext >&5
77146 ac_header_compiler=no
77148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77150 echo "${ECHO_T}$ac_header_compiler" >&6
77152 # Is the header present?
77153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77155 cat >conftest.$ac_ext <<_ACEOF
77156 /* confdefs.h. */
77157 _ACEOF
77158 cat confdefs.h >>conftest.$ac_ext
77159 cat >>conftest.$ac_ext <<_ACEOF
77160 /* end confdefs.h. */
77161 #include <$ac_header>
77162 _ACEOF
77163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77164 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77165 ac_status=$?
77166 grep -v '^ *+' conftest.er1 >conftest.err
77167 rm -f conftest.er1
77168 cat conftest.err >&5
77169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77170 (exit $ac_status); } >/dev/null; then
77171 if test -s conftest.err; then
77172 ac_cpp_err=$ac_c_preproc_warn_flag
77173 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77174 else
77175 ac_cpp_err=
77177 else
77178 ac_cpp_err=yes
77180 if test -z "$ac_cpp_err"; then
77181 ac_header_preproc=yes
77182 else
77183 echo "$as_me: failed program was:" >&5
77184 sed 's/^/| /' conftest.$ac_ext >&5
77186 ac_header_preproc=no
77188 rm -f conftest.err conftest.$ac_ext
77189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77190 echo "${ECHO_T}$ac_header_preproc" >&6
77192 # So? What about this header?
77193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77194 yes:no: )
77195 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77199 ac_header_preproc=yes
77201 no:yes:* )
77202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77206 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77208 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77209 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77212 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77215 cat <<\_ASBOX
77216 ## ----------------------------------------- ##
77217 ## Report this to the package-unused lists. ##
77218 ## ----------------------------------------- ##
77219 _ASBOX
77221 sed "s/^/$as_me: WARNING: /" >&2
77223 esac
77224 echo "$as_me:$LINENO: checking for $ac_header" >&5
77225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77227 echo $ECHO_N "(cached) $ECHO_C" >&6
77228 else
77229 eval "$as_ac_Header=\$ac_header_preproc"
77231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77236 cat >>confdefs.h <<_ACEOF
77237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77238 _ACEOF
77242 done
77244 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77247 # If we're not using GNU ld, then there's no point in even trying these
77248 # tests. Check for that first. We should have already tested for gld
77249 # by now (in libtool), but require it now just to be safe...
77250 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77251 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77255 # The name set by libtool depends on the version of libtool. Shame on us
77256 # for depending on an impl detail, but c'est la vie. Older versions used
77257 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77258 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77259 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77260 # set (hence we're using an older libtool), then set it.
77261 if test x${with_gnu_ld+set} != xset; then
77262 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77263 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77264 with_gnu_ld=no
77265 else
77266 with_gnu_ld=$ac_cv_prog_gnu_ld
77270 # Start by getting the version number. I think the libtool test already
77271 # does some of this, but throws away the result.
77273 ldver=`$LD --version 2>/dev/null | head -1 | \
77274 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77276 glibcxx_gnu_ld_version=`echo $ldver | \
77277 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77279 # Set --gc-sections.
77280 if test x"$with_gnu_ld" = x"yes"; then
77281 # GNU ld it is! Joy and bunny rabbits!
77283 # All these tests are for C++, but run with the "C" compiler driver.
77284 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
77285 ac_test_CFLAGS="${CFLAGS+set}"
77286 ac_save_CFLAGS="$CFLAGS"
77287 CFLAGS='-x c++ -Werror -Wl,--gc-sections'
77289 # Check for -Wl,--gc-sections
77290 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77291 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77292 if test x$gcc_no_link = xyes; then
77293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77295 { (exit 1); exit 1; }; }
77297 cat >conftest.$ac_ext <<_ACEOF
77298 /* confdefs.h. */
77299 _ACEOF
77300 cat confdefs.h >>conftest.$ac_ext
77301 cat >>conftest.$ac_ext <<_ACEOF
77302 /* end confdefs.h. */
77303 int one(void) { return 1; }
77304 int two(void) { return 2; }
77307 main ()
77309 two();
77311 return 0;
77313 _ACEOF
77314 rm -f conftest.$ac_objext conftest$ac_exeext
77315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77316 (eval $ac_link) 2>conftest.er1
77317 ac_status=$?
77318 grep -v '^ *+' conftest.er1 >conftest.err
77319 rm -f conftest.er1
77320 cat conftest.err >&5
77321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77322 (exit $ac_status); } &&
77323 { ac_try='test -z "$ac_c_werror_flag"
77324 || test ! -s conftest.err'
77325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77326 (eval $ac_try) 2>&5
77327 ac_status=$?
77328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77329 (exit $ac_status); }; } &&
77330 { ac_try='test -s conftest$ac_exeext'
77331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77332 (eval $ac_try) 2>&5
77333 ac_status=$?
77334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77335 (exit $ac_status); }; }; then
77336 ac_gcsections=yes
77337 else
77338 echo "$as_me: failed program was:" >&5
77339 sed 's/^/| /' conftest.$ac_ext >&5
77341 ac_gcsections=no
77343 rm -f conftest.err conftest.$ac_objext \
77344 conftest$ac_exeext conftest.$ac_ext
77345 if test "$ac_gcsections" = "yes"; then
77346 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77348 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77349 echo "${ECHO_T}$ac_gcsections" >&6
77351 if test "$ac_test_CFLAGS" = set; then
77352 CFLAGS="$ac_save_CFLAGS"
77353 else
77354 # this is the suspicious part
77355 CFLAGS=''
77359 # Set -z,relro.
77360 # Note this is only for shared objects.
77361 ac_ld_relro=no
77362 if test x"$with_gnu_ld" = x"yes"; then
77363 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77364 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77365 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77366 if test -n "$cxx_z_relo"; then
77367 OPT_LDFLAGS="-Wl,-z,relro"
77368 ac_ld_relro=yes
77370 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77371 echo "${ECHO_T}$ac_ld_relro" >&6
77374 # Set linker optimization flags.
77375 if test x"$with_gnu_ld" = x"yes"; then
77376 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77384 echo "$as_me:$LINENO: checking for main in -lm" >&5
77385 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77386 if test "${ac_cv_lib_m_main+set}" = set; then
77387 echo $ECHO_N "(cached) $ECHO_C" >&6
77388 else
77389 ac_check_lib_save_LIBS=$LIBS
77390 LIBS="-lm $LIBS"
77391 if test x$gcc_no_link = xyes; then
77392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77394 { (exit 1); exit 1; }; }
77396 cat >conftest.$ac_ext <<_ACEOF
77397 /* confdefs.h. */
77398 _ACEOF
77399 cat confdefs.h >>conftest.$ac_ext
77400 cat >>conftest.$ac_ext <<_ACEOF
77401 /* end confdefs.h. */
77405 main ()
77407 main ();
77409 return 0;
77411 _ACEOF
77412 rm -f conftest.$ac_objext conftest$ac_exeext
77413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77414 (eval $ac_link) 2>conftest.er1
77415 ac_status=$?
77416 grep -v '^ *+' conftest.er1 >conftest.err
77417 rm -f conftest.er1
77418 cat conftest.err >&5
77419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77420 (exit $ac_status); } &&
77421 { ac_try='test -z "$ac_c_werror_flag"
77422 || test ! -s conftest.err'
77423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77424 (eval $ac_try) 2>&5
77425 ac_status=$?
77426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77427 (exit $ac_status); }; } &&
77428 { ac_try='test -s conftest$ac_exeext'
77429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77430 (eval $ac_try) 2>&5
77431 ac_status=$?
77432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77433 (exit $ac_status); }; }; then
77434 ac_cv_lib_m_main=yes
77435 else
77436 echo "$as_me: failed program was:" >&5
77437 sed 's/^/| /' conftest.$ac_ext >&5
77439 ac_cv_lib_m_main=no
77441 rm -f conftest.err conftest.$ac_objext \
77442 conftest$ac_exeext conftest.$ac_ext
77443 LIBS=$ac_check_lib_save_LIBS
77445 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77446 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77447 if test $ac_cv_lib_m_main = yes; then
77448 cat >>confdefs.h <<_ACEOF
77449 #define HAVE_LIBM 1
77450 _ACEOF
77452 LIBS="-lm $LIBS"
77457 for ac_func in copysignf
77459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77460 echo "$as_me:$LINENO: checking for $ac_func" >&5
77461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77462 if eval "test \"\${$as_ac_var+set}\" = set"; then
77463 echo $ECHO_N "(cached) $ECHO_C" >&6
77464 else
77465 if test x$gcc_no_link = xyes; then
77466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77468 { (exit 1); exit 1; }; }
77470 cat >conftest.$ac_ext <<_ACEOF
77471 /* confdefs.h. */
77472 _ACEOF
77473 cat confdefs.h >>conftest.$ac_ext
77474 cat >>conftest.$ac_ext <<_ACEOF
77475 /* end confdefs.h. */
77476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77478 #define $ac_func innocuous_$ac_func
77480 /* System header to define __stub macros and hopefully few prototypes,
77481 which can conflict with char $ac_func (); below.
77482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77483 <limits.h> exists even on freestanding compilers. */
77485 #ifdef __STDC__
77486 # include <limits.h>
77487 #else
77488 # include <assert.h>
77489 #endif
77491 #undef $ac_func
77493 /* Override any gcc2 internal prototype to avoid an error. */
77494 #ifdef __cplusplus
77495 extern "C"
77497 #endif
77498 /* We use char because int might match the return type of a gcc2
77499 builtin and then its argument prototype would still apply. */
77500 char $ac_func ();
77501 /* The GNU C library defines this for functions which it implements
77502 to always fail with ENOSYS. Some functions are actually named
77503 something starting with __ and the normal name is an alias. */
77504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77505 choke me
77506 #else
77507 char (*f) () = $ac_func;
77508 #endif
77509 #ifdef __cplusplus
77511 #endif
77514 main ()
77516 return f != $ac_func;
77518 return 0;
77520 _ACEOF
77521 rm -f conftest.$ac_objext conftest$ac_exeext
77522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77523 (eval $ac_link) 2>conftest.er1
77524 ac_status=$?
77525 grep -v '^ *+' conftest.er1 >conftest.err
77526 rm -f conftest.er1
77527 cat conftest.err >&5
77528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77529 (exit $ac_status); } &&
77530 { ac_try='test -z "$ac_c_werror_flag"
77531 || test ! -s conftest.err'
77532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77533 (eval $ac_try) 2>&5
77534 ac_status=$?
77535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77536 (exit $ac_status); }; } &&
77537 { ac_try='test -s conftest$ac_exeext'
77538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77539 (eval $ac_try) 2>&5
77540 ac_status=$?
77541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77542 (exit $ac_status); }; }; then
77543 eval "$as_ac_var=yes"
77544 else
77545 echo "$as_me: failed program was:" >&5
77546 sed 's/^/| /' conftest.$ac_ext >&5
77548 eval "$as_ac_var=no"
77550 rm -f conftest.err conftest.$ac_objext \
77551 conftest$ac_exeext conftest.$ac_ext
77553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77555 if test `eval echo '${'$as_ac_var'}'` = yes; then
77556 cat >>confdefs.h <<_ACEOF
77557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77558 _ACEOF
77560 else
77561 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77563 done
77567 for ac_func in __signbit
77569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77570 echo "$as_me:$LINENO: checking for $ac_func" >&5
77571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77572 if eval "test \"\${$as_ac_var+set}\" = set"; then
77573 echo $ECHO_N "(cached) $ECHO_C" >&6
77574 else
77575 if test x$gcc_no_link = xyes; then
77576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77578 { (exit 1); exit 1; }; }
77580 cat >conftest.$ac_ext <<_ACEOF
77581 /* confdefs.h. */
77582 _ACEOF
77583 cat confdefs.h >>conftest.$ac_ext
77584 cat >>conftest.$ac_ext <<_ACEOF
77585 /* end confdefs.h. */
77586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77588 #define $ac_func innocuous_$ac_func
77590 /* System header to define __stub macros and hopefully few prototypes,
77591 which can conflict with char $ac_func (); below.
77592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77593 <limits.h> exists even on freestanding compilers. */
77595 #ifdef __STDC__
77596 # include <limits.h>
77597 #else
77598 # include <assert.h>
77599 #endif
77601 #undef $ac_func
77603 /* Override any gcc2 internal prototype to avoid an error. */
77604 #ifdef __cplusplus
77605 extern "C"
77607 #endif
77608 /* We use char because int might match the return type of a gcc2
77609 builtin and then its argument prototype would still apply. */
77610 char $ac_func ();
77611 /* The GNU C library defines this for functions which it implements
77612 to always fail with ENOSYS. Some functions are actually named
77613 something starting with __ and the normal name is an alias. */
77614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77615 choke me
77616 #else
77617 char (*f) () = $ac_func;
77618 #endif
77619 #ifdef __cplusplus
77621 #endif
77624 main ()
77626 return f != $ac_func;
77628 return 0;
77630 _ACEOF
77631 rm -f conftest.$ac_objext conftest$ac_exeext
77632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77633 (eval $ac_link) 2>conftest.er1
77634 ac_status=$?
77635 grep -v '^ *+' conftest.er1 >conftest.err
77636 rm -f conftest.er1
77637 cat conftest.err >&5
77638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77639 (exit $ac_status); } &&
77640 { ac_try='test -z "$ac_c_werror_flag"
77641 || test ! -s conftest.err'
77642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77643 (eval $ac_try) 2>&5
77644 ac_status=$?
77645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77646 (exit $ac_status); }; } &&
77647 { ac_try='test -s conftest$ac_exeext'
77648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77649 (eval $ac_try) 2>&5
77650 ac_status=$?
77651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77652 (exit $ac_status); }; }; then
77653 eval "$as_ac_var=yes"
77654 else
77655 echo "$as_me: failed program was:" >&5
77656 sed 's/^/| /' conftest.$ac_ext >&5
77658 eval "$as_ac_var=no"
77660 rm -f conftest.err conftest.$ac_objext \
77661 conftest$ac_exeext conftest.$ac_ext
77663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77665 if test `eval echo '${'$as_ac_var'}'` = yes; then
77666 cat >>confdefs.h <<_ACEOF
77667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77668 _ACEOF
77670 else
77671 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77673 done
77677 for ac_func in __signbitf
77679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77680 echo "$as_me:$LINENO: checking for $ac_func" >&5
77681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77682 if eval "test \"\${$as_ac_var+set}\" = set"; then
77683 echo $ECHO_N "(cached) $ECHO_C" >&6
77684 else
77685 if test x$gcc_no_link = xyes; then
77686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77688 { (exit 1); exit 1; }; }
77690 cat >conftest.$ac_ext <<_ACEOF
77691 /* confdefs.h. */
77692 _ACEOF
77693 cat confdefs.h >>conftest.$ac_ext
77694 cat >>conftest.$ac_ext <<_ACEOF
77695 /* end confdefs.h. */
77696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77698 #define $ac_func innocuous_$ac_func
77700 /* System header to define __stub macros and hopefully few prototypes,
77701 which can conflict with char $ac_func (); below.
77702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77703 <limits.h> exists even on freestanding compilers. */
77705 #ifdef __STDC__
77706 # include <limits.h>
77707 #else
77708 # include <assert.h>
77709 #endif
77711 #undef $ac_func
77713 /* Override any gcc2 internal prototype to avoid an error. */
77714 #ifdef __cplusplus
77715 extern "C"
77717 #endif
77718 /* We use char because int might match the return type of a gcc2
77719 builtin and then its argument prototype would still apply. */
77720 char $ac_func ();
77721 /* The GNU C library defines this for functions which it implements
77722 to always fail with ENOSYS. Some functions are actually named
77723 something starting with __ and the normal name is an alias. */
77724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77725 choke me
77726 #else
77727 char (*f) () = $ac_func;
77728 #endif
77729 #ifdef __cplusplus
77731 #endif
77734 main ()
77736 return f != $ac_func;
77738 return 0;
77740 _ACEOF
77741 rm -f conftest.$ac_objext conftest$ac_exeext
77742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77743 (eval $ac_link) 2>conftest.er1
77744 ac_status=$?
77745 grep -v '^ *+' conftest.er1 >conftest.err
77746 rm -f conftest.er1
77747 cat conftest.err >&5
77748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77749 (exit $ac_status); } &&
77750 { ac_try='test -z "$ac_c_werror_flag"
77751 || test ! -s conftest.err'
77752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77753 (eval $ac_try) 2>&5
77754 ac_status=$?
77755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77756 (exit $ac_status); }; } &&
77757 { ac_try='test -s conftest$ac_exeext'
77758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77759 (eval $ac_try) 2>&5
77760 ac_status=$?
77761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77762 (exit $ac_status); }; }; then
77763 eval "$as_ac_var=yes"
77764 else
77765 echo "$as_me: failed program was:" >&5
77766 sed 's/^/| /' conftest.$ac_ext >&5
77768 eval "$as_ac_var=no"
77770 rm -f conftest.err conftest.$ac_objext \
77771 conftest$ac_exeext conftest.$ac_ext
77773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77775 if test `eval echo '${'$as_ac_var'}'` = yes; then
77776 cat >>confdefs.h <<_ACEOF
77777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77778 _ACEOF
77780 else
77781 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77783 done
77786 if test x$ac_cv_func_copysignl = x"yes"; then
77788 for ac_func in __signbitl
77790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77791 echo "$as_me:$LINENO: checking for $ac_func" >&5
77792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77793 if eval "test \"\${$as_ac_var+set}\" = set"; then
77794 echo $ECHO_N "(cached) $ECHO_C" >&6
77795 else
77796 if test x$gcc_no_link = xyes; then
77797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77799 { (exit 1); exit 1; }; }
77801 cat >conftest.$ac_ext <<_ACEOF
77802 /* confdefs.h. */
77803 _ACEOF
77804 cat confdefs.h >>conftest.$ac_ext
77805 cat >>conftest.$ac_ext <<_ACEOF
77806 /* end confdefs.h. */
77807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77809 #define $ac_func innocuous_$ac_func
77811 /* System header to define __stub macros and hopefully few prototypes,
77812 which can conflict with char $ac_func (); below.
77813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77814 <limits.h> exists even on freestanding compilers. */
77816 #ifdef __STDC__
77817 # include <limits.h>
77818 #else
77819 # include <assert.h>
77820 #endif
77822 #undef $ac_func
77824 /* Override any gcc2 internal prototype to avoid an error. */
77825 #ifdef __cplusplus
77826 extern "C"
77828 #endif
77829 /* We use char because int might match the return type of a gcc2
77830 builtin and then its argument prototype would still apply. */
77831 char $ac_func ();
77832 /* The GNU C library defines this for functions which it implements
77833 to always fail with ENOSYS. Some functions are actually named
77834 something starting with __ and the normal name is an alias. */
77835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77836 choke me
77837 #else
77838 char (*f) () = $ac_func;
77839 #endif
77840 #ifdef __cplusplus
77842 #endif
77845 main ()
77847 return f != $ac_func;
77849 return 0;
77851 _ACEOF
77852 rm -f conftest.$ac_objext conftest$ac_exeext
77853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77854 (eval $ac_link) 2>conftest.er1
77855 ac_status=$?
77856 grep -v '^ *+' conftest.er1 >conftest.err
77857 rm -f conftest.er1
77858 cat conftest.err >&5
77859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77860 (exit $ac_status); } &&
77861 { ac_try='test -z "$ac_c_werror_flag"
77862 || test ! -s conftest.err'
77863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77864 (eval $ac_try) 2>&5
77865 ac_status=$?
77866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77867 (exit $ac_status); }; } &&
77868 { ac_try='test -s conftest$ac_exeext'
77869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77870 (eval $ac_try) 2>&5
77871 ac_status=$?
77872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77873 (exit $ac_status); }; }; then
77874 eval "$as_ac_var=yes"
77875 else
77876 echo "$as_me: failed program was:" >&5
77877 sed 's/^/| /' conftest.$ac_ext >&5
77879 eval "$as_ac_var=no"
77881 rm -f conftest.err conftest.$ac_objext \
77882 conftest$ac_exeext conftest.$ac_ext
77884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77886 if test `eval echo '${'$as_ac_var'}'` = yes; then
77887 cat >>confdefs.h <<_ACEOF
77888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77889 _ACEOF
77891 else
77892 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77894 done
77898 # Used in libmath/Makefile.am.
77899 if test -n "$LIBMATHOBJS"; then
77900 need_libmath=yes
77906 enable_iconv=no
77907 # Only continue checking if the ISO C99 headers exist and support is on.
77908 if test x"$enable_wchar_t" = xyes; then
77910 # Use iconv for wchar_t to char conversions. As such, check for
77911 # X/Open Portability Guide, version 2 features (XPG2).
77912 if test "${ac_cv_header_iconv_h+set}" = set; then
77913 echo "$as_me:$LINENO: checking for iconv.h" >&5
77914 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77915 if test "${ac_cv_header_iconv_h+set}" = set; then
77916 echo $ECHO_N "(cached) $ECHO_C" >&6
77918 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77919 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77920 else
77921 # Is the header compilable?
77922 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77923 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77924 cat >conftest.$ac_ext <<_ACEOF
77925 /* confdefs.h. */
77926 _ACEOF
77927 cat confdefs.h >>conftest.$ac_ext
77928 cat >>conftest.$ac_ext <<_ACEOF
77929 /* end confdefs.h. */
77930 $ac_includes_default
77931 #include <iconv.h>
77932 _ACEOF
77933 rm -f conftest.$ac_objext
77934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77935 (eval $ac_compile) 2>conftest.er1
77936 ac_status=$?
77937 grep -v '^ *+' conftest.er1 >conftest.err
77938 rm -f conftest.er1
77939 cat conftest.err >&5
77940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77941 (exit $ac_status); } &&
77942 { ac_try='test -z "$ac_c_werror_flag"
77943 || test ! -s conftest.err'
77944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77945 (eval $ac_try) 2>&5
77946 ac_status=$?
77947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77948 (exit $ac_status); }; } &&
77949 { ac_try='test -s conftest.$ac_objext'
77950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77951 (eval $ac_try) 2>&5
77952 ac_status=$?
77953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77954 (exit $ac_status); }; }; then
77955 ac_header_compiler=yes
77956 else
77957 echo "$as_me: failed program was:" >&5
77958 sed 's/^/| /' conftest.$ac_ext >&5
77960 ac_header_compiler=no
77962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77964 echo "${ECHO_T}$ac_header_compiler" >&6
77966 # Is the header present?
77967 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77968 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77969 cat >conftest.$ac_ext <<_ACEOF
77970 /* confdefs.h. */
77971 _ACEOF
77972 cat confdefs.h >>conftest.$ac_ext
77973 cat >>conftest.$ac_ext <<_ACEOF
77974 /* end confdefs.h. */
77975 #include <iconv.h>
77976 _ACEOF
77977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77978 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77979 ac_status=$?
77980 grep -v '^ *+' conftest.er1 >conftest.err
77981 rm -f conftest.er1
77982 cat conftest.err >&5
77983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77984 (exit $ac_status); } >/dev/null; then
77985 if test -s conftest.err; then
77986 ac_cpp_err=$ac_c_preproc_warn_flag
77987 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77988 else
77989 ac_cpp_err=
77991 else
77992 ac_cpp_err=yes
77994 if test -z "$ac_cpp_err"; then
77995 ac_header_preproc=yes
77996 else
77997 echo "$as_me: failed program was:" >&5
77998 sed 's/^/| /' conftest.$ac_ext >&5
78000 ac_header_preproc=no
78002 rm -f conftest.err conftest.$ac_ext
78003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78004 echo "${ECHO_T}$ac_header_preproc" >&6
78006 # So? What about this header?
78007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78008 yes:no: )
78009 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78010 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78011 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78012 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78013 ac_header_preproc=yes
78015 no:yes:* )
78016 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
78017 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
78018 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
78019 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
78020 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
78021 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
78022 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
78023 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
78024 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
78025 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
78026 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
78027 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
78029 cat <<\_ASBOX
78030 ## ----------------------------------------- ##
78031 ## Report this to the package-unused lists. ##
78032 ## ----------------------------------------- ##
78033 _ASBOX
78035 sed "s/^/$as_me: WARNING: /" >&2
78037 esac
78038 echo "$as_me:$LINENO: checking for iconv.h" >&5
78039 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78040 if test "${ac_cv_header_iconv_h+set}" = set; then
78041 echo $ECHO_N "(cached) $ECHO_C" >&6
78042 else
78043 ac_cv_header_iconv_h=$ac_header_preproc
78045 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78046 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78049 if test $ac_cv_header_iconv_h = yes; then
78050 ac_has_iconv_h=yes
78051 else
78052 ac_has_iconv_h=no
78056 if test "${ac_cv_header_langinfo_h+set}" = set; then
78057 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78058 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78059 if test "${ac_cv_header_langinfo_h+set}" = set; then
78060 echo $ECHO_N "(cached) $ECHO_C" >&6
78062 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78063 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78064 else
78065 # Is the header compilable?
78066 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78067 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78068 cat >conftest.$ac_ext <<_ACEOF
78069 /* confdefs.h. */
78070 _ACEOF
78071 cat confdefs.h >>conftest.$ac_ext
78072 cat >>conftest.$ac_ext <<_ACEOF
78073 /* end confdefs.h. */
78074 $ac_includes_default
78075 #include <langinfo.h>
78076 _ACEOF
78077 rm -f conftest.$ac_objext
78078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78079 (eval $ac_compile) 2>conftest.er1
78080 ac_status=$?
78081 grep -v '^ *+' conftest.er1 >conftest.err
78082 rm -f conftest.er1
78083 cat conftest.err >&5
78084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78085 (exit $ac_status); } &&
78086 { ac_try='test -z "$ac_c_werror_flag"
78087 || test ! -s conftest.err'
78088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78089 (eval $ac_try) 2>&5
78090 ac_status=$?
78091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78092 (exit $ac_status); }; } &&
78093 { ac_try='test -s conftest.$ac_objext'
78094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78095 (eval $ac_try) 2>&5
78096 ac_status=$?
78097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78098 (exit $ac_status); }; }; then
78099 ac_header_compiler=yes
78100 else
78101 echo "$as_me: failed program was:" >&5
78102 sed 's/^/| /' conftest.$ac_ext >&5
78104 ac_header_compiler=no
78106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78107 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78108 echo "${ECHO_T}$ac_header_compiler" >&6
78110 # Is the header present?
78111 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78112 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78113 cat >conftest.$ac_ext <<_ACEOF
78114 /* confdefs.h. */
78115 _ACEOF
78116 cat confdefs.h >>conftest.$ac_ext
78117 cat >>conftest.$ac_ext <<_ACEOF
78118 /* end confdefs.h. */
78119 #include <langinfo.h>
78120 _ACEOF
78121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78123 ac_status=$?
78124 grep -v '^ *+' conftest.er1 >conftest.err
78125 rm -f conftest.er1
78126 cat conftest.err >&5
78127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78128 (exit $ac_status); } >/dev/null; then
78129 if test -s conftest.err; then
78130 ac_cpp_err=$ac_c_preproc_warn_flag
78131 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78132 else
78133 ac_cpp_err=
78135 else
78136 ac_cpp_err=yes
78138 if test -z "$ac_cpp_err"; then
78139 ac_header_preproc=yes
78140 else
78141 echo "$as_me: failed program was:" >&5
78142 sed 's/^/| /' conftest.$ac_ext >&5
78144 ac_header_preproc=no
78146 rm -f conftest.err conftest.$ac_ext
78147 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78148 echo "${ECHO_T}$ac_header_preproc" >&6
78150 # So? What about this header?
78151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78152 yes:no: )
78153 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78154 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78155 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78156 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78157 ac_header_preproc=yes
78159 no:yes:* )
78160 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78161 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78162 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78163 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78164 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78165 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78166 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78167 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78168 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78169 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78170 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78171 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78173 cat <<\_ASBOX
78174 ## ----------------------------------------- ##
78175 ## Report this to the package-unused lists. ##
78176 ## ----------------------------------------- ##
78177 _ASBOX
78179 sed "s/^/$as_me: WARNING: /" >&2
78181 esac
78182 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78183 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78184 if test "${ac_cv_header_langinfo_h+set}" = set; then
78185 echo $ECHO_N "(cached) $ECHO_C" >&6
78186 else
78187 ac_cv_header_langinfo_h=$ac_header_preproc
78189 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78190 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78193 if test $ac_cv_header_langinfo_h = yes; then
78194 ac_has_langinfo_h=yes
78195 else
78196 ac_has_langinfo_h=no
78201 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78202 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78203 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78204 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78205 echo $ECHO_N "(cached) $ECHO_C" >&6
78206 else
78207 ac_check_lib_save_LIBS=$LIBS
78208 LIBS="-liconv $LIBS"
78209 if test x$gcc_no_link = xyes; then
78210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78212 { (exit 1); exit 1; }; }
78214 cat >conftest.$ac_ext <<_ACEOF
78215 /* confdefs.h. */
78216 _ACEOF
78217 cat confdefs.h >>conftest.$ac_ext
78218 cat >>conftest.$ac_ext <<_ACEOF
78219 /* end confdefs.h. */
78221 /* Override any gcc2 internal prototype to avoid an error. */
78222 #ifdef __cplusplus
78223 extern "C"
78224 #endif
78225 /* We use char because int might match the return type of a gcc2
78226 builtin and then its argument prototype would still apply. */
78227 char iconv ();
78229 main ()
78231 iconv ();
78233 return 0;
78235 _ACEOF
78236 rm -f conftest.$ac_objext conftest$ac_exeext
78237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78238 (eval $ac_link) 2>conftest.er1
78239 ac_status=$?
78240 grep -v '^ *+' conftest.er1 >conftest.err
78241 rm -f conftest.er1
78242 cat conftest.err >&5
78243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78244 (exit $ac_status); } &&
78245 { ac_try='test -z "$ac_c_werror_flag"
78246 || test ! -s conftest.err'
78247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78248 (eval $ac_try) 2>&5
78249 ac_status=$?
78250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78251 (exit $ac_status); }; } &&
78252 { ac_try='test -s conftest$ac_exeext'
78253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78254 (eval $ac_try) 2>&5
78255 ac_status=$?
78256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78257 (exit $ac_status); }; }; then
78258 ac_cv_lib_iconv_iconv=yes
78259 else
78260 echo "$as_me: failed program was:" >&5
78261 sed 's/^/| /' conftest.$ac_ext >&5
78263 ac_cv_lib_iconv_iconv=no
78265 rm -f conftest.err conftest.$ac_objext \
78266 conftest$ac_exeext conftest.$ac_ext
78267 LIBS=$ac_check_lib_save_LIBS
78269 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78270 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78271 if test $ac_cv_lib_iconv_iconv = yes; then
78272 LIBICONV="-liconv"
78275 ac_save_LIBS="$LIBS"
78276 LIBS="$LIBS $LIBICONV"
78283 for ac_func in iconv_open iconv_close iconv nl_langinfo
78285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78286 echo "$as_me:$LINENO: checking for $ac_func" >&5
78287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78288 if eval "test \"\${$as_ac_var+set}\" = set"; then
78289 echo $ECHO_N "(cached) $ECHO_C" >&6
78290 else
78291 if test x$gcc_no_link = xyes; then
78292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78294 { (exit 1); exit 1; }; }
78296 cat >conftest.$ac_ext <<_ACEOF
78297 /* confdefs.h. */
78298 _ACEOF
78299 cat confdefs.h >>conftest.$ac_ext
78300 cat >>conftest.$ac_ext <<_ACEOF
78301 /* end confdefs.h. */
78302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78304 #define $ac_func innocuous_$ac_func
78306 /* System header to define __stub macros and hopefully few prototypes,
78307 which can conflict with char $ac_func (); below.
78308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78309 <limits.h> exists even on freestanding compilers. */
78311 #ifdef __STDC__
78312 # include <limits.h>
78313 #else
78314 # include <assert.h>
78315 #endif
78317 #undef $ac_func
78319 /* Override any gcc2 internal prototype to avoid an error. */
78320 #ifdef __cplusplus
78321 extern "C"
78323 #endif
78324 /* We use char because int might match the return type of a gcc2
78325 builtin and then its argument prototype would still apply. */
78326 char $ac_func ();
78327 /* The GNU C library defines this for functions which it implements
78328 to always fail with ENOSYS. Some functions are actually named
78329 something starting with __ and the normal name is an alias. */
78330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78331 choke me
78332 #else
78333 char (*f) () = $ac_func;
78334 #endif
78335 #ifdef __cplusplus
78337 #endif
78340 main ()
78342 return f != $ac_func;
78344 return 0;
78346 _ACEOF
78347 rm -f conftest.$ac_objext conftest$ac_exeext
78348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78349 (eval $ac_link) 2>conftest.er1
78350 ac_status=$?
78351 grep -v '^ *+' conftest.er1 >conftest.err
78352 rm -f conftest.er1
78353 cat conftest.err >&5
78354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78355 (exit $ac_status); } &&
78356 { ac_try='test -z "$ac_c_werror_flag"
78357 || test ! -s conftest.err'
78358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78359 (eval $ac_try) 2>&5
78360 ac_status=$?
78361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78362 (exit $ac_status); }; } &&
78363 { ac_try='test -s conftest$ac_exeext'
78364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78365 (eval $ac_try) 2>&5
78366 ac_status=$?
78367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78368 (exit $ac_status); }; }; then
78369 eval "$as_ac_var=yes"
78370 else
78371 echo "$as_me: failed program was:" >&5
78372 sed 's/^/| /' conftest.$ac_ext >&5
78374 eval "$as_ac_var=no"
78376 rm -f conftest.err conftest.$ac_objext \
78377 conftest$ac_exeext conftest.$ac_ext
78379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78381 if test `eval echo '${'$as_ac_var'}'` = yes; then
78382 cat >>confdefs.h <<_ACEOF
78383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78384 _ACEOF
78385 ac_XPG2funcs=yes
78386 else
78387 ac_XPG2funcs=no
78389 done
78392 LIBS="$ac_save_LIBS"
78394 if test x"$ac_has_iconv_h" = xyes &&
78395 test x"$ac_has_langinfo_h" = xyes &&
78396 test x"$ac_XPG2funcs" = xyes;
78397 then
78399 cat >>confdefs.h <<\_ACEOF
78400 #define _GLIBCXX_USE_ICONV 1
78401 _ACEOF
78403 enable_iconv=yes
78406 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78407 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78408 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78409 echo "${ECHO_T}$enable_iconv" >&6
78412 # For LFS.
78413 cat >>confdefs.h <<\_ACEOF
78414 #define HAVE_INT64_T 1
78415 _ACEOF
78417 case "$target" in
78418 *-uclinux*)
78419 # Don't enable LFS with uClibc
78422 cat >>confdefs.h <<\_ACEOF
78423 #define _GLIBCXX_USE_LFS 1
78424 _ACEOF
78426 esac
78428 # For showmanyc_helper().
78431 for ac_header in sys/ioctl.h sys/filio.h
78433 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78435 echo "$as_me:$LINENO: checking for $ac_header" >&5
78436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78438 echo $ECHO_N "(cached) $ECHO_C" >&6
78440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78442 else
78443 # Is the header compilable?
78444 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78446 cat >conftest.$ac_ext <<_ACEOF
78447 /* confdefs.h. */
78448 _ACEOF
78449 cat confdefs.h >>conftest.$ac_ext
78450 cat >>conftest.$ac_ext <<_ACEOF
78451 /* end confdefs.h. */
78452 $ac_includes_default
78453 #include <$ac_header>
78454 _ACEOF
78455 rm -f conftest.$ac_objext
78456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78457 (eval $ac_compile) 2>conftest.er1
78458 ac_status=$?
78459 grep -v '^ *+' conftest.er1 >conftest.err
78460 rm -f conftest.er1
78461 cat conftest.err >&5
78462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78463 (exit $ac_status); } &&
78464 { ac_try='test -z "$ac_c_werror_flag"
78465 || test ! -s conftest.err'
78466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78467 (eval $ac_try) 2>&5
78468 ac_status=$?
78469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78470 (exit $ac_status); }; } &&
78471 { ac_try='test -s conftest.$ac_objext'
78472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78473 (eval $ac_try) 2>&5
78474 ac_status=$?
78475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78476 (exit $ac_status); }; }; then
78477 ac_header_compiler=yes
78478 else
78479 echo "$as_me: failed program was:" >&5
78480 sed 's/^/| /' conftest.$ac_ext >&5
78482 ac_header_compiler=no
78484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78486 echo "${ECHO_T}$ac_header_compiler" >&6
78488 # Is the header present?
78489 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78491 cat >conftest.$ac_ext <<_ACEOF
78492 /* confdefs.h. */
78493 _ACEOF
78494 cat confdefs.h >>conftest.$ac_ext
78495 cat >>conftest.$ac_ext <<_ACEOF
78496 /* end confdefs.h. */
78497 #include <$ac_header>
78498 _ACEOF
78499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78500 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78501 ac_status=$?
78502 grep -v '^ *+' conftest.er1 >conftest.err
78503 rm -f conftest.er1
78504 cat conftest.err >&5
78505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78506 (exit $ac_status); } >/dev/null; then
78507 if test -s conftest.err; then
78508 ac_cpp_err=$ac_c_preproc_warn_flag
78509 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78510 else
78511 ac_cpp_err=
78513 else
78514 ac_cpp_err=yes
78516 if test -z "$ac_cpp_err"; then
78517 ac_header_preproc=yes
78518 else
78519 echo "$as_me: failed program was:" >&5
78520 sed 's/^/| /' conftest.$ac_ext >&5
78522 ac_header_preproc=no
78524 rm -f conftest.err conftest.$ac_ext
78525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78526 echo "${ECHO_T}$ac_header_preproc" >&6
78528 # So? What about this header?
78529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78530 yes:no: )
78531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78534 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78535 ac_header_preproc=yes
78537 no:yes:* )
78538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78542 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78543 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78544 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78545 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78548 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78551 cat <<\_ASBOX
78552 ## ----------------------------------------- ##
78553 ## Report this to the package-unused lists. ##
78554 ## ----------------------------------------- ##
78555 _ASBOX
78557 sed "s/^/$as_me: WARNING: /" >&2
78559 esac
78560 echo "$as_me:$LINENO: checking for $ac_header" >&5
78561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78563 echo $ECHO_N "(cached) $ECHO_C" >&6
78564 else
78565 eval "$as_ac_Header=\$ac_header_preproc"
78567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78572 cat >>confdefs.h <<_ACEOF
78573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78574 _ACEOF
78578 done
78581 echo "$as_me:$LINENO: checking for poll" >&5
78582 echo $ECHO_N "checking for poll... $ECHO_C" >&6
78583 if test "${glibcxx_cv_POLL+set}" = set; then
78584 echo $ECHO_N "(cached) $ECHO_C" >&6
78585 else
78587 if test x$gcc_no_link = xyes; then
78588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78590 { (exit 1); exit 1; }; }
78592 cat >conftest.$ac_ext <<_ACEOF
78593 /* confdefs.h. */
78594 _ACEOF
78595 cat confdefs.h >>conftest.$ac_ext
78596 cat >>conftest.$ac_ext <<_ACEOF
78597 /* end confdefs.h. */
78598 #include <poll.h>
78600 main ()
78602 struct pollfd pfd[1];
78603 pfd[0].events = POLLIN;
78604 poll(pfd, 1, 0);
78606 return 0;
78608 _ACEOF
78609 rm -f conftest.$ac_objext conftest$ac_exeext
78610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78611 (eval $ac_link) 2>conftest.er1
78612 ac_status=$?
78613 grep -v '^ *+' conftest.er1 >conftest.err
78614 rm -f conftest.er1
78615 cat conftest.err >&5
78616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78617 (exit $ac_status); } &&
78618 { ac_try='test -z "$ac_c_werror_flag"
78619 || test ! -s conftest.err'
78620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78621 (eval $ac_try) 2>&5
78622 ac_status=$?
78623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78624 (exit $ac_status); }; } &&
78625 { ac_try='test -s conftest$ac_exeext'
78626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78627 (eval $ac_try) 2>&5
78628 ac_status=$?
78629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78630 (exit $ac_status); }; }; then
78631 glibcxx_cv_POLL=yes
78632 else
78633 echo "$as_me: failed program was:" >&5
78634 sed 's/^/| /' conftest.$ac_ext >&5
78636 glibcxx_cv_POLL=no
78638 rm -f conftest.err conftest.$ac_objext \
78639 conftest$ac_exeext conftest.$ac_ext
78643 if test $glibcxx_cv_POLL = yes; then
78645 cat >>confdefs.h <<\_ACEOF
78646 #define HAVE_POLL 1
78647 _ACEOF
78650 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
78651 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
78654 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
78655 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
78656 if test "${glibcxx_cv_S_ISREG+set}" = set; then
78657 echo $ECHO_N "(cached) $ECHO_C" >&6
78658 else
78660 if test x$gcc_no_link = xyes; then
78661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78663 { (exit 1); exit 1; }; }
78665 cat >conftest.$ac_ext <<_ACEOF
78666 /* confdefs.h. */
78667 _ACEOF
78668 cat confdefs.h >>conftest.$ac_ext
78669 cat >>conftest.$ac_ext <<_ACEOF
78670 /* end confdefs.h. */
78671 #include <sys/stat.h>
78673 main ()
78675 struct stat buffer;
78676 fstat(0, &buffer);
78677 S_ISREG(buffer.st_mode);
78679 return 0;
78681 _ACEOF
78682 rm -f conftest.$ac_objext conftest$ac_exeext
78683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78684 (eval $ac_link) 2>conftest.er1
78685 ac_status=$?
78686 grep -v '^ *+' conftest.er1 >conftest.err
78687 rm -f conftest.er1
78688 cat conftest.err >&5
78689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78690 (exit $ac_status); } &&
78691 { ac_try='test -z "$ac_c_werror_flag"
78692 || test ! -s conftest.err'
78693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78694 (eval $ac_try) 2>&5
78695 ac_status=$?
78696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78697 (exit $ac_status); }; } &&
78698 { ac_try='test -s conftest$ac_exeext'
78699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78700 (eval $ac_try) 2>&5
78701 ac_status=$?
78702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78703 (exit $ac_status); }; }; then
78704 glibcxx_cv_S_ISREG=yes
78705 else
78706 echo "$as_me: failed program was:" >&5
78707 sed 's/^/| /' conftest.$ac_ext >&5
78709 glibcxx_cv_S_ISREG=no
78711 rm -f conftest.err conftest.$ac_objext \
78712 conftest$ac_exeext conftest.$ac_ext
78716 if test "${glibcxx_cv_S_IFREG+set}" = set; then
78717 echo $ECHO_N "(cached) $ECHO_C" >&6
78718 else
78720 if test x$gcc_no_link = xyes; then
78721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78723 { (exit 1); exit 1; }; }
78725 cat >conftest.$ac_ext <<_ACEOF
78726 /* confdefs.h. */
78727 _ACEOF
78728 cat confdefs.h >>conftest.$ac_ext
78729 cat >>conftest.$ac_ext <<_ACEOF
78730 /* end confdefs.h. */
78731 #include <sys/stat.h>
78733 main ()
78735 struct stat buffer;
78736 fstat(0, &buffer);
78737 S_IFREG & buffer.st_mode;
78739 return 0;
78741 _ACEOF
78742 rm -f conftest.$ac_objext conftest$ac_exeext
78743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78744 (eval $ac_link) 2>conftest.er1
78745 ac_status=$?
78746 grep -v '^ *+' conftest.er1 >conftest.err
78747 rm -f conftest.er1
78748 cat conftest.err >&5
78749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78750 (exit $ac_status); } &&
78751 { ac_try='test -z "$ac_c_werror_flag"
78752 || test ! -s conftest.err'
78753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78754 (eval $ac_try) 2>&5
78755 ac_status=$?
78756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78757 (exit $ac_status); }; } &&
78758 { ac_try='test -s conftest$ac_exeext'
78759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78760 (eval $ac_try) 2>&5
78761 ac_status=$?
78762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78763 (exit $ac_status); }; }; then
78764 glibcxx_cv_S_IFREG=yes
78765 else
78766 echo "$as_me: failed program was:" >&5
78767 sed 's/^/| /' conftest.$ac_ext >&5
78769 glibcxx_cv_S_IFREG=no
78771 rm -f conftest.err conftest.$ac_objext \
78772 conftest$ac_exeext conftest.$ac_ext
78776 res=no
78777 if test $glibcxx_cv_S_ISREG = yes; then
78779 cat >>confdefs.h <<\_ACEOF
78780 #define HAVE_S_ISREG 1
78781 _ACEOF
78783 res=S_ISREG
78784 elif test $glibcxx_cv_S_IFREG = yes; then
78786 cat >>confdefs.h <<\_ACEOF
78787 #define HAVE_S_IFREG 1
78788 _ACEOF
78790 res=S_IFREG
78792 echo "$as_me:$LINENO: result: $res" >&5
78793 echo "${ECHO_T}$res" >&6
78796 # For xsputn_2().
78798 for ac_header in sys/uio.h
78800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78802 echo "$as_me:$LINENO: checking for $ac_header" >&5
78803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78805 echo $ECHO_N "(cached) $ECHO_C" >&6
78807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78809 else
78810 # Is the header compilable?
78811 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78813 cat >conftest.$ac_ext <<_ACEOF
78814 /* confdefs.h. */
78815 _ACEOF
78816 cat confdefs.h >>conftest.$ac_ext
78817 cat >>conftest.$ac_ext <<_ACEOF
78818 /* end confdefs.h. */
78819 $ac_includes_default
78820 #include <$ac_header>
78821 _ACEOF
78822 rm -f conftest.$ac_objext
78823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78824 (eval $ac_compile) 2>conftest.er1
78825 ac_status=$?
78826 grep -v '^ *+' conftest.er1 >conftest.err
78827 rm -f conftest.er1
78828 cat conftest.err >&5
78829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78830 (exit $ac_status); } &&
78831 { ac_try='test -z "$ac_c_werror_flag"
78832 || test ! -s conftest.err'
78833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78834 (eval $ac_try) 2>&5
78835 ac_status=$?
78836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78837 (exit $ac_status); }; } &&
78838 { ac_try='test -s conftest.$ac_objext'
78839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78840 (eval $ac_try) 2>&5
78841 ac_status=$?
78842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78843 (exit $ac_status); }; }; then
78844 ac_header_compiler=yes
78845 else
78846 echo "$as_me: failed program was:" >&5
78847 sed 's/^/| /' conftest.$ac_ext >&5
78849 ac_header_compiler=no
78851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78853 echo "${ECHO_T}$ac_header_compiler" >&6
78855 # Is the header present?
78856 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78858 cat >conftest.$ac_ext <<_ACEOF
78859 /* confdefs.h. */
78860 _ACEOF
78861 cat confdefs.h >>conftest.$ac_ext
78862 cat >>conftest.$ac_ext <<_ACEOF
78863 /* end confdefs.h. */
78864 #include <$ac_header>
78865 _ACEOF
78866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78868 ac_status=$?
78869 grep -v '^ *+' conftest.er1 >conftest.err
78870 rm -f conftest.er1
78871 cat conftest.err >&5
78872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78873 (exit $ac_status); } >/dev/null; then
78874 if test -s conftest.err; then
78875 ac_cpp_err=$ac_c_preproc_warn_flag
78876 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78877 else
78878 ac_cpp_err=
78880 else
78881 ac_cpp_err=yes
78883 if test -z "$ac_cpp_err"; then
78884 ac_header_preproc=yes
78885 else
78886 echo "$as_me: failed program was:" >&5
78887 sed 's/^/| /' conftest.$ac_ext >&5
78889 ac_header_preproc=no
78891 rm -f conftest.err conftest.$ac_ext
78892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78893 echo "${ECHO_T}$ac_header_preproc" >&6
78895 # So? What about this header?
78896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78897 yes:no: )
78898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78902 ac_header_preproc=yes
78904 no:yes:* )
78905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78909 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78911 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78912 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78915 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78918 cat <<\_ASBOX
78919 ## ----------------------------------------- ##
78920 ## Report this to the package-unused lists. ##
78921 ## ----------------------------------------- ##
78922 _ASBOX
78924 sed "s/^/$as_me: WARNING: /" >&2
78926 esac
78927 echo "$as_me:$LINENO: checking for $ac_header" >&5
78928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78930 echo $ECHO_N "(cached) $ECHO_C" >&6
78931 else
78932 eval "$as_ac_Header=\$ac_header_preproc"
78934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78939 cat >>confdefs.h <<_ACEOF
78940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78941 _ACEOF
78945 done
78948 echo "$as_me:$LINENO: checking for writev" >&5
78949 echo $ECHO_N "checking for writev... $ECHO_C" >&6
78950 if test "${glibcxx_cv_WRITEV+set}" = set; then
78951 echo $ECHO_N "(cached) $ECHO_C" >&6
78952 else
78954 if test x$gcc_no_link = xyes; then
78955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78957 { (exit 1); exit 1; }; }
78959 cat >conftest.$ac_ext <<_ACEOF
78960 /* confdefs.h. */
78961 _ACEOF
78962 cat confdefs.h >>conftest.$ac_ext
78963 cat >>conftest.$ac_ext <<_ACEOF
78964 /* end confdefs.h. */
78965 #include <sys/uio.h>
78967 main ()
78969 struct iovec iov[2];
78970 writev(0, iov, 0);
78972 return 0;
78974 _ACEOF
78975 rm -f conftest.$ac_objext conftest$ac_exeext
78976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78977 (eval $ac_link) 2>conftest.er1
78978 ac_status=$?
78979 grep -v '^ *+' conftest.er1 >conftest.err
78980 rm -f conftest.er1
78981 cat conftest.err >&5
78982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78983 (exit $ac_status); } &&
78984 { ac_try='test -z "$ac_c_werror_flag"
78985 || test ! -s conftest.err'
78986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78987 (eval $ac_try) 2>&5
78988 ac_status=$?
78989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78990 (exit $ac_status); }; } &&
78991 { ac_try='test -s conftest$ac_exeext'
78992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78993 (eval $ac_try) 2>&5
78994 ac_status=$?
78995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78996 (exit $ac_status); }; }; then
78997 glibcxx_cv_WRITEV=yes
78998 else
78999 echo "$as_me: failed program was:" >&5
79000 sed 's/^/| /' conftest.$ac_ext >&5
79002 glibcxx_cv_WRITEV=no
79004 rm -f conftest.err conftest.$ac_objext \
79005 conftest$ac_exeext conftest.$ac_ext
79009 if test $glibcxx_cv_WRITEV = yes; then
79011 cat >>confdefs.h <<\_ACEOF
79012 #define HAVE_WRITEV 1
79013 _ACEOF
79016 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
79017 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
79020 cat >>confdefs.h <<\_ACEOF
79021 #define HAVE_ACOSF 1
79022 _ACEOF
79024 cat >>confdefs.h <<\_ACEOF
79025 #define HAVE_ASINF 1
79026 _ACEOF
79028 cat >>confdefs.h <<\_ACEOF
79029 #define HAVE_ATANF 1
79030 _ACEOF
79032 cat >>confdefs.h <<\_ACEOF
79033 #define HAVE_ATAN2F 1
79034 _ACEOF
79036 cat >>confdefs.h <<\_ACEOF
79037 #define HAVE_CEILF 1
79038 _ACEOF
79040 cat >>confdefs.h <<\_ACEOF
79041 #define HAVE_COPYSIGN 1
79042 _ACEOF
79044 cat >>confdefs.h <<\_ACEOF
79045 #define HAVE_COPYSIGNF 1
79046 _ACEOF
79048 cat >>confdefs.h <<\_ACEOF
79049 #define HAVE_COSF 1
79050 _ACEOF
79052 cat >>confdefs.h <<\_ACEOF
79053 #define HAVE_COSHF 1
79054 _ACEOF
79056 cat >>confdefs.h <<\_ACEOF
79057 #define HAVE_EXPF 1
79058 _ACEOF
79060 cat >>confdefs.h <<\_ACEOF
79061 #define HAVE_FABSF 1
79062 _ACEOF
79064 cat >>confdefs.h <<\_ACEOF
79065 #define HAVE_FINITE 1
79066 _ACEOF
79068 cat >>confdefs.h <<\_ACEOF
79069 #define HAVE_FINITEF 1
79070 _ACEOF
79072 cat >>confdefs.h <<\_ACEOF
79073 #define HAVE_FLOORF 1
79074 _ACEOF
79076 cat >>confdefs.h <<\_ACEOF
79077 #define HAVE_FMODF 1
79078 _ACEOF
79080 cat >>confdefs.h <<\_ACEOF
79081 #define HAVE_FREXPF 1
79082 _ACEOF
79084 cat >>confdefs.h <<\_ACEOF
79085 #define HAVE_HYPOT 1
79086 _ACEOF
79088 cat >>confdefs.h <<\_ACEOF
79089 #define HAVE_HYPOTF 1
79090 _ACEOF
79092 cat >>confdefs.h <<\_ACEOF
79093 #define HAVE_ISINF 1
79094 _ACEOF
79096 cat >>confdefs.h <<\_ACEOF
79097 #define HAVE_ISINFF 1
79098 _ACEOF
79100 cat >>confdefs.h <<\_ACEOF
79101 #define HAVE_ISNAN 1
79102 _ACEOF
79104 cat >>confdefs.h <<\_ACEOF
79105 #define HAVE_ISNANF 1
79106 _ACEOF
79108 cat >>confdefs.h <<\_ACEOF
79109 #define HAVE_LOGF 1
79110 _ACEOF
79112 cat >>confdefs.h <<\_ACEOF
79113 #define HAVE_LOG10F 1
79114 _ACEOF
79116 cat >>confdefs.h <<\_ACEOF
79117 #define HAVE_MODFF 1
79118 _ACEOF
79120 cat >>confdefs.h <<\_ACEOF
79121 #define HAVE_SINF 1
79122 _ACEOF
79124 cat >>confdefs.h <<\_ACEOF
79125 #define HAVE_SINHF 1
79126 _ACEOF
79128 cat >>confdefs.h <<\_ACEOF
79129 #define HAVE_SINCOS 1
79130 _ACEOF
79132 cat >>confdefs.h <<\_ACEOF
79133 #define HAVE_SINCOSF 1
79134 _ACEOF
79136 cat >>confdefs.h <<\_ACEOF
79137 #define HAVE_SQRTF 1
79138 _ACEOF
79140 cat >>confdefs.h <<\_ACEOF
79141 #define HAVE_TANF 1
79142 _ACEOF
79144 cat >>confdefs.h <<\_ACEOF
79145 #define HAVE_TANHF 1
79146 _ACEOF
79148 if test x"long_double_math_on_this_cpu" = x"yes"; then
79149 cat >>confdefs.h <<\_ACEOF
79150 #define HAVE_ACOSL 1
79151 _ACEOF
79153 cat >>confdefs.h <<\_ACEOF
79154 #define HAVE_ASINL 1
79155 _ACEOF
79157 cat >>confdefs.h <<\_ACEOF
79158 #define HAVE_ATANL 1
79159 _ACEOF
79161 cat >>confdefs.h <<\_ACEOF
79162 #define HAVE_ATAN2L 1
79163 _ACEOF
79165 cat >>confdefs.h <<\_ACEOF
79166 #define HAVE_CEILL 1
79167 _ACEOF
79169 cat >>confdefs.h <<\_ACEOF
79170 #define HAVE_COPYSIGNL 1
79171 _ACEOF
79173 cat >>confdefs.h <<\_ACEOF
79174 #define HAVE_COSL 1
79175 _ACEOF
79177 cat >>confdefs.h <<\_ACEOF
79178 #define HAVE_COSHL 1
79179 _ACEOF
79181 cat >>confdefs.h <<\_ACEOF
79182 #define HAVE_EXPL 1
79183 _ACEOF
79185 cat >>confdefs.h <<\_ACEOF
79186 #define HAVE_FABSL 1
79187 _ACEOF
79189 cat >>confdefs.h <<\_ACEOF
79190 #define HAVE_FINITEL 1
79191 _ACEOF
79193 cat >>confdefs.h <<\_ACEOF
79194 #define HAVE_FLOORL 1
79195 _ACEOF
79197 cat >>confdefs.h <<\_ACEOF
79198 #define HAVE_FMODL 1
79199 _ACEOF
79201 cat >>confdefs.h <<\_ACEOF
79202 #define HAVE_FREXPL 1
79203 _ACEOF
79205 cat >>confdefs.h <<\_ACEOF
79206 #define HAVE_HYPOTL 1
79207 _ACEOF
79209 cat >>confdefs.h <<\_ACEOF
79210 #define HAVE_ISINFL 1
79211 _ACEOF
79213 cat >>confdefs.h <<\_ACEOF
79214 #define HAVE_ISNANL 1
79215 _ACEOF
79217 cat >>confdefs.h <<\_ACEOF
79218 #define HAVE_LOGL 1
79219 _ACEOF
79221 cat >>confdefs.h <<\_ACEOF
79222 #define HAVE_LOG10L 1
79223 _ACEOF
79225 cat >>confdefs.h <<\_ACEOF
79226 #define HAVE_MODFL 1
79227 _ACEOF
79229 cat >>confdefs.h <<\_ACEOF
79230 #define HAVE_POWL 1
79231 _ACEOF
79233 cat >>confdefs.h <<\_ACEOF
79234 #define HAVE_SINL 1
79235 _ACEOF
79237 cat >>confdefs.h <<\_ACEOF
79238 #define HAVE_SINHL 1
79239 _ACEOF
79241 cat >>confdefs.h <<\_ACEOF
79242 #define HAVE_SINCOSL 1
79243 _ACEOF
79245 cat >>confdefs.h <<\_ACEOF
79246 #define HAVE_SQRTL 1
79247 _ACEOF
79249 cat >>confdefs.h <<\_ACEOF
79250 #define HAVE_TANL 1
79251 _ACEOF
79253 cat >>confdefs.h <<\_ACEOF
79254 #define HAVE_TANHL 1
79255 _ACEOF
79259 *-mingw32*)
79263 for ac_header in sys/types.h locale.h float.h
79265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79267 echo "$as_me:$LINENO: checking for $ac_header" >&5
79268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79270 echo $ECHO_N "(cached) $ECHO_C" >&6
79272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79274 else
79275 # Is the header compilable?
79276 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79277 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79278 cat >conftest.$ac_ext <<_ACEOF
79279 /* confdefs.h. */
79280 _ACEOF
79281 cat confdefs.h >>conftest.$ac_ext
79282 cat >>conftest.$ac_ext <<_ACEOF
79283 /* end confdefs.h. */
79284 $ac_includes_default
79285 #include <$ac_header>
79286 _ACEOF
79287 rm -f conftest.$ac_objext
79288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79289 (eval $ac_compile) 2>conftest.er1
79290 ac_status=$?
79291 grep -v '^ *+' conftest.er1 >conftest.err
79292 rm -f conftest.er1
79293 cat conftest.err >&5
79294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79295 (exit $ac_status); } &&
79296 { ac_try='test -z "$ac_c_werror_flag"
79297 || test ! -s conftest.err'
79298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79299 (eval $ac_try) 2>&5
79300 ac_status=$?
79301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79302 (exit $ac_status); }; } &&
79303 { ac_try='test -s conftest.$ac_objext'
79304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79305 (eval $ac_try) 2>&5
79306 ac_status=$?
79307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79308 (exit $ac_status); }; }; then
79309 ac_header_compiler=yes
79310 else
79311 echo "$as_me: failed program was:" >&5
79312 sed 's/^/| /' conftest.$ac_ext >&5
79314 ac_header_compiler=no
79316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79318 echo "${ECHO_T}$ac_header_compiler" >&6
79320 # Is the header present?
79321 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79323 cat >conftest.$ac_ext <<_ACEOF
79324 /* confdefs.h. */
79325 _ACEOF
79326 cat confdefs.h >>conftest.$ac_ext
79327 cat >>conftest.$ac_ext <<_ACEOF
79328 /* end confdefs.h. */
79329 #include <$ac_header>
79330 _ACEOF
79331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79333 ac_status=$?
79334 grep -v '^ *+' conftest.er1 >conftest.err
79335 rm -f conftest.er1
79336 cat conftest.err >&5
79337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79338 (exit $ac_status); } >/dev/null; then
79339 if test -s conftest.err; then
79340 ac_cpp_err=$ac_c_preproc_warn_flag
79341 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79342 else
79343 ac_cpp_err=
79345 else
79346 ac_cpp_err=yes
79348 if test -z "$ac_cpp_err"; then
79349 ac_header_preproc=yes
79350 else
79351 echo "$as_me: failed program was:" >&5
79352 sed 's/^/| /' conftest.$ac_ext >&5
79354 ac_header_preproc=no
79356 rm -f conftest.err conftest.$ac_ext
79357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79358 echo "${ECHO_T}$ac_header_preproc" >&6
79360 # So? What about this header?
79361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79362 yes:no: )
79363 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79364 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79366 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79367 ac_header_preproc=yes
79369 no:yes:* )
79370 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79371 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79372 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79373 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79374 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79375 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79376 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79377 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79380 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79381 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79383 cat <<\_ASBOX
79384 ## ----------------------------------------- ##
79385 ## Report this to the package-unused lists. ##
79386 ## ----------------------------------------- ##
79387 _ASBOX
79389 sed "s/^/$as_me: WARNING: /" >&2
79391 esac
79392 echo "$as_me:$LINENO: checking for $ac_header" >&5
79393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79395 echo $ECHO_N "(cached) $ECHO_C" >&6
79396 else
79397 eval "$as_ac_Header=\$ac_header_preproc"
79399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79404 cat >>confdefs.h <<_ACEOF
79405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79406 _ACEOF
79410 done
79413 # If we're not using GNU ld, then there's no point in even trying these
79414 # tests. Check for that first. We should have already tested for gld
79415 # by now (in libtool), but require it now just to be safe...
79416 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79417 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79421 # The name set by libtool depends on the version of libtool. Shame on us
79422 # for depending on an impl detail, but c'est la vie. Older versions used
79423 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79424 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79425 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79426 # set (hence we're using an older libtool), then set it.
79427 if test x${with_gnu_ld+set} != xset; then
79428 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79429 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79430 with_gnu_ld=no
79431 else
79432 with_gnu_ld=$ac_cv_prog_gnu_ld
79436 # Start by getting the version number. I think the libtool test already
79437 # does some of this, but throws away the result.
79439 ldver=`$LD --version 2>/dev/null | head -1 | \
79440 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79442 glibcxx_gnu_ld_version=`echo $ldver | \
79443 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79445 # Set --gc-sections.
79446 if test x"$with_gnu_ld" = x"yes"; then
79447 # GNU ld it is! Joy and bunny rabbits!
79449 # All these tests are for C++, but run with the "C" compiler driver.
79450 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
79451 ac_test_CFLAGS="${CFLAGS+set}"
79452 ac_save_CFLAGS="$CFLAGS"
79453 CFLAGS='-x c++ -Werror -Wl,--gc-sections'
79455 # Check for -Wl,--gc-sections
79456 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79457 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79458 if test x$gcc_no_link = xyes; then
79459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79461 { (exit 1); exit 1; }; }
79463 cat >conftest.$ac_ext <<_ACEOF
79464 /* confdefs.h. */
79465 _ACEOF
79466 cat confdefs.h >>conftest.$ac_ext
79467 cat >>conftest.$ac_ext <<_ACEOF
79468 /* end confdefs.h. */
79469 int one(void) { return 1; }
79470 int two(void) { return 2; }
79473 main ()
79475 two();
79477 return 0;
79479 _ACEOF
79480 rm -f conftest.$ac_objext conftest$ac_exeext
79481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79482 (eval $ac_link) 2>conftest.er1
79483 ac_status=$?
79484 grep -v '^ *+' conftest.er1 >conftest.err
79485 rm -f conftest.er1
79486 cat conftest.err >&5
79487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79488 (exit $ac_status); } &&
79489 { ac_try='test -z "$ac_c_werror_flag"
79490 || test ! -s conftest.err'
79491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79492 (eval $ac_try) 2>&5
79493 ac_status=$?
79494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79495 (exit $ac_status); }; } &&
79496 { ac_try='test -s conftest$ac_exeext'
79497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79498 (eval $ac_try) 2>&5
79499 ac_status=$?
79500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79501 (exit $ac_status); }; }; then
79502 ac_gcsections=yes
79503 else
79504 echo "$as_me: failed program was:" >&5
79505 sed 's/^/| /' conftest.$ac_ext >&5
79507 ac_gcsections=no
79509 rm -f conftest.err conftest.$ac_objext \
79510 conftest$ac_exeext conftest.$ac_ext
79511 if test "$ac_gcsections" = "yes"; then
79512 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79514 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
79515 echo "${ECHO_T}$ac_gcsections" >&6
79517 if test "$ac_test_CFLAGS" = set; then
79518 CFLAGS="$ac_save_CFLAGS"
79519 else
79520 # this is the suspicious part
79521 CFLAGS=''
79525 # Set -z,relro.
79526 # Note this is only for shared objects.
79527 ac_ld_relro=no
79528 if test x"$with_gnu_ld" = x"yes"; then
79529 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
79530 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
79531 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
79532 if test -n "$cxx_z_relo"; then
79533 OPT_LDFLAGS="-Wl,-z,relro"
79534 ac_ld_relro=yes
79536 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
79537 echo "${ECHO_T}$ac_ld_relro" >&6
79540 # Set linker optimization flags.
79541 if test x"$with_gnu_ld" = x"yes"; then
79542 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79550 echo "$as_me:$LINENO: checking for main in -lm" >&5
79551 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79552 if test "${ac_cv_lib_m_main+set}" = set; then
79553 echo $ECHO_N "(cached) $ECHO_C" >&6
79554 else
79555 ac_check_lib_save_LIBS=$LIBS
79556 LIBS="-lm $LIBS"
79557 if test x$gcc_no_link = xyes; then
79558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79560 { (exit 1); exit 1; }; }
79562 cat >conftest.$ac_ext <<_ACEOF
79563 /* confdefs.h. */
79564 _ACEOF
79565 cat confdefs.h >>conftest.$ac_ext
79566 cat >>conftest.$ac_ext <<_ACEOF
79567 /* end confdefs.h. */
79571 main ()
79573 main ();
79575 return 0;
79577 _ACEOF
79578 rm -f conftest.$ac_objext conftest$ac_exeext
79579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79580 (eval $ac_link) 2>conftest.er1
79581 ac_status=$?
79582 grep -v '^ *+' conftest.er1 >conftest.err
79583 rm -f conftest.er1
79584 cat conftest.err >&5
79585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79586 (exit $ac_status); } &&
79587 { ac_try='test -z "$ac_c_werror_flag"
79588 || test ! -s conftest.err'
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); }; } &&
79594 { ac_try='test -s conftest$ac_exeext'
79595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79596 (eval $ac_try) 2>&5
79597 ac_status=$?
79598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79599 (exit $ac_status); }; }; then
79600 ac_cv_lib_m_main=yes
79601 else
79602 echo "$as_me: failed program was:" >&5
79603 sed 's/^/| /' conftest.$ac_ext >&5
79605 ac_cv_lib_m_main=no
79607 rm -f conftest.err conftest.$ac_objext \
79608 conftest$ac_exeext conftest.$ac_ext
79609 LIBS=$ac_check_lib_save_LIBS
79611 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79612 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79613 if test $ac_cv_lib_m_main = yes; then
79614 cat >>confdefs.h <<_ACEOF
79615 #define HAVE_LIBM 1
79616 _ACEOF
79618 LIBS="-lm $LIBS"
79623 for ac_func in copysignf
79625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79626 echo "$as_me:$LINENO: checking for $ac_func" >&5
79627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79628 if eval "test \"\${$as_ac_var+set}\" = set"; then
79629 echo $ECHO_N "(cached) $ECHO_C" >&6
79630 else
79631 if test x$gcc_no_link = xyes; then
79632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79634 { (exit 1); exit 1; }; }
79636 cat >conftest.$ac_ext <<_ACEOF
79637 /* confdefs.h. */
79638 _ACEOF
79639 cat confdefs.h >>conftest.$ac_ext
79640 cat >>conftest.$ac_ext <<_ACEOF
79641 /* end confdefs.h. */
79642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79644 #define $ac_func innocuous_$ac_func
79646 /* System header to define __stub macros and hopefully few prototypes,
79647 which can conflict with char $ac_func (); below.
79648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79649 <limits.h> exists even on freestanding compilers. */
79651 #ifdef __STDC__
79652 # include <limits.h>
79653 #else
79654 # include <assert.h>
79655 #endif
79657 #undef $ac_func
79659 /* Override any gcc2 internal prototype to avoid an error. */
79660 #ifdef __cplusplus
79661 extern "C"
79663 #endif
79664 /* We use char because int might match the return type of a gcc2
79665 builtin and then its argument prototype would still apply. */
79666 char $ac_func ();
79667 /* The GNU C library defines this for functions which it implements
79668 to always fail with ENOSYS. Some functions are actually named
79669 something starting with __ and the normal name is an alias. */
79670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79671 choke me
79672 #else
79673 char (*f) () = $ac_func;
79674 #endif
79675 #ifdef __cplusplus
79677 #endif
79680 main ()
79682 return f != $ac_func;
79684 return 0;
79686 _ACEOF
79687 rm -f conftest.$ac_objext conftest$ac_exeext
79688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79689 (eval $ac_link) 2>conftest.er1
79690 ac_status=$?
79691 grep -v '^ *+' conftest.er1 >conftest.err
79692 rm -f conftest.er1
79693 cat conftest.err >&5
79694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79695 (exit $ac_status); } &&
79696 { ac_try='test -z "$ac_c_werror_flag"
79697 || test ! -s conftest.err'
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); }; } &&
79703 { ac_try='test -s conftest$ac_exeext'
79704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79705 (eval $ac_try) 2>&5
79706 ac_status=$?
79707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79708 (exit $ac_status); }; }; then
79709 eval "$as_ac_var=yes"
79710 else
79711 echo "$as_me: failed program was:" >&5
79712 sed 's/^/| /' conftest.$ac_ext >&5
79714 eval "$as_ac_var=no"
79716 rm -f conftest.err conftest.$ac_objext \
79717 conftest$ac_exeext conftest.$ac_ext
79719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79721 if test `eval echo '${'$as_ac_var'}'` = yes; then
79722 cat >>confdefs.h <<_ACEOF
79723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79724 _ACEOF
79726 else
79727 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79729 done
79733 for ac_func in __signbit
79735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79736 echo "$as_me:$LINENO: checking for $ac_func" >&5
79737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79738 if eval "test \"\${$as_ac_var+set}\" = set"; then
79739 echo $ECHO_N "(cached) $ECHO_C" >&6
79740 else
79741 if test x$gcc_no_link = xyes; then
79742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79744 { (exit 1); exit 1; }; }
79746 cat >conftest.$ac_ext <<_ACEOF
79747 /* confdefs.h. */
79748 _ACEOF
79749 cat confdefs.h >>conftest.$ac_ext
79750 cat >>conftest.$ac_ext <<_ACEOF
79751 /* end confdefs.h. */
79752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79754 #define $ac_func innocuous_$ac_func
79756 /* System header to define __stub macros and hopefully few prototypes,
79757 which can conflict with char $ac_func (); below.
79758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79759 <limits.h> exists even on freestanding compilers. */
79761 #ifdef __STDC__
79762 # include <limits.h>
79763 #else
79764 # include <assert.h>
79765 #endif
79767 #undef $ac_func
79769 /* Override any gcc2 internal prototype to avoid an error. */
79770 #ifdef __cplusplus
79771 extern "C"
79773 #endif
79774 /* We use char because int might match the return type of a gcc2
79775 builtin and then its argument prototype would still apply. */
79776 char $ac_func ();
79777 /* The GNU C library defines this for functions which it implements
79778 to always fail with ENOSYS. Some functions are actually named
79779 something starting with __ and the normal name is an alias. */
79780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79781 choke me
79782 #else
79783 char (*f) () = $ac_func;
79784 #endif
79785 #ifdef __cplusplus
79787 #endif
79790 main ()
79792 return f != $ac_func;
79794 return 0;
79796 _ACEOF
79797 rm -f conftest.$ac_objext conftest$ac_exeext
79798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79799 (eval $ac_link) 2>conftest.er1
79800 ac_status=$?
79801 grep -v '^ *+' conftest.er1 >conftest.err
79802 rm -f conftest.er1
79803 cat conftest.err >&5
79804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79805 (exit $ac_status); } &&
79806 { ac_try='test -z "$ac_c_werror_flag"
79807 || test ! -s conftest.err'
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); }; } &&
79813 { ac_try='test -s conftest$ac_exeext'
79814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79815 (eval $ac_try) 2>&5
79816 ac_status=$?
79817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79818 (exit $ac_status); }; }; then
79819 eval "$as_ac_var=yes"
79820 else
79821 echo "$as_me: failed program was:" >&5
79822 sed 's/^/| /' conftest.$ac_ext >&5
79824 eval "$as_ac_var=no"
79826 rm -f conftest.err conftest.$ac_objext \
79827 conftest$ac_exeext conftest.$ac_ext
79829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79831 if test `eval echo '${'$as_ac_var'}'` = yes; then
79832 cat >>confdefs.h <<_ACEOF
79833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79834 _ACEOF
79836 else
79837 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79839 done
79843 for ac_func in __signbitf
79845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79846 echo "$as_me:$LINENO: checking for $ac_func" >&5
79847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79848 if eval "test \"\${$as_ac_var+set}\" = set"; then
79849 echo $ECHO_N "(cached) $ECHO_C" >&6
79850 else
79851 if test x$gcc_no_link = xyes; then
79852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79854 { (exit 1); exit 1; }; }
79856 cat >conftest.$ac_ext <<_ACEOF
79857 /* confdefs.h. */
79858 _ACEOF
79859 cat confdefs.h >>conftest.$ac_ext
79860 cat >>conftest.$ac_ext <<_ACEOF
79861 /* end confdefs.h. */
79862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79864 #define $ac_func innocuous_$ac_func
79866 /* System header to define __stub macros and hopefully few prototypes,
79867 which can conflict with char $ac_func (); below.
79868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79869 <limits.h> exists even on freestanding compilers. */
79871 #ifdef __STDC__
79872 # include <limits.h>
79873 #else
79874 # include <assert.h>
79875 #endif
79877 #undef $ac_func
79879 /* Override any gcc2 internal prototype to avoid an error. */
79880 #ifdef __cplusplus
79881 extern "C"
79883 #endif
79884 /* We use char because int might match the return type of a gcc2
79885 builtin and then its argument prototype would still apply. */
79886 char $ac_func ();
79887 /* The GNU C library defines this for functions which it implements
79888 to always fail with ENOSYS. Some functions are actually named
79889 something starting with __ and the normal name is an alias. */
79890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79891 choke me
79892 #else
79893 char (*f) () = $ac_func;
79894 #endif
79895 #ifdef __cplusplus
79897 #endif
79900 main ()
79902 return f != $ac_func;
79904 return 0;
79906 _ACEOF
79907 rm -f conftest.$ac_objext conftest$ac_exeext
79908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79909 (eval $ac_link) 2>conftest.er1
79910 ac_status=$?
79911 grep -v '^ *+' conftest.er1 >conftest.err
79912 rm -f conftest.er1
79913 cat conftest.err >&5
79914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79915 (exit $ac_status); } &&
79916 { ac_try='test -z "$ac_c_werror_flag"
79917 || test ! -s conftest.err'
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); }; } &&
79923 { ac_try='test -s conftest$ac_exeext'
79924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79925 (eval $ac_try) 2>&5
79926 ac_status=$?
79927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79928 (exit $ac_status); }; }; then
79929 eval "$as_ac_var=yes"
79930 else
79931 echo "$as_me: failed program was:" >&5
79932 sed 's/^/| /' conftest.$ac_ext >&5
79934 eval "$as_ac_var=no"
79936 rm -f conftest.err conftest.$ac_objext \
79937 conftest$ac_exeext conftest.$ac_ext
79939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79941 if test `eval echo '${'$as_ac_var'}'` = yes; then
79942 cat >>confdefs.h <<_ACEOF
79943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79944 _ACEOF
79946 else
79947 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79949 done
79952 if test x$ac_cv_func_copysignl = x"yes"; then
79954 for ac_func in __signbitl
79956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79957 echo "$as_me:$LINENO: checking for $ac_func" >&5
79958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79959 if eval "test \"\${$as_ac_var+set}\" = set"; then
79960 echo $ECHO_N "(cached) $ECHO_C" >&6
79961 else
79962 if test x$gcc_no_link = xyes; then
79963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79965 { (exit 1); exit 1; }; }
79967 cat >conftest.$ac_ext <<_ACEOF
79968 /* confdefs.h. */
79969 _ACEOF
79970 cat confdefs.h >>conftest.$ac_ext
79971 cat >>conftest.$ac_ext <<_ACEOF
79972 /* end confdefs.h. */
79973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79975 #define $ac_func innocuous_$ac_func
79977 /* System header to define __stub macros and hopefully few prototypes,
79978 which can conflict with char $ac_func (); below.
79979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79980 <limits.h> exists even on freestanding compilers. */
79982 #ifdef __STDC__
79983 # include <limits.h>
79984 #else
79985 # include <assert.h>
79986 #endif
79988 #undef $ac_func
79990 /* Override any gcc2 internal prototype to avoid an error. */
79991 #ifdef __cplusplus
79992 extern "C"
79994 #endif
79995 /* We use char because int might match the return type of a gcc2
79996 builtin and then its argument prototype would still apply. */
79997 char $ac_func ();
79998 /* The GNU C library defines this for functions which it implements
79999 to always fail with ENOSYS. Some functions are actually named
80000 something starting with __ and the normal name is an alias. */
80001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80002 choke me
80003 #else
80004 char (*f) () = $ac_func;
80005 #endif
80006 #ifdef __cplusplus
80008 #endif
80011 main ()
80013 return f != $ac_func;
80015 return 0;
80017 _ACEOF
80018 rm -f conftest.$ac_objext conftest$ac_exeext
80019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80020 (eval $ac_link) 2>conftest.er1
80021 ac_status=$?
80022 grep -v '^ *+' conftest.er1 >conftest.err
80023 rm -f conftest.er1
80024 cat conftest.err >&5
80025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80026 (exit $ac_status); } &&
80027 { ac_try='test -z "$ac_c_werror_flag"
80028 || test ! -s conftest.err'
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); }; } &&
80034 { ac_try='test -s conftest$ac_exeext'
80035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80036 (eval $ac_try) 2>&5
80037 ac_status=$?
80038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80039 (exit $ac_status); }; }; then
80040 eval "$as_ac_var=yes"
80041 else
80042 echo "$as_me: failed program was:" >&5
80043 sed 's/^/| /' conftest.$ac_ext >&5
80045 eval "$as_ac_var=no"
80047 rm -f conftest.err conftest.$ac_objext \
80048 conftest$ac_exeext conftest.$ac_ext
80050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80052 if test `eval echo '${'$as_ac_var'}'` = yes; then
80053 cat >>confdefs.h <<_ACEOF
80054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80055 _ACEOF
80057 else
80058 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80060 done
80064 # Used in libmath/Makefile.am.
80065 if test -n "$LIBMATHOBJS"; then
80066 need_libmath=yes
80072 enable_iconv=no
80073 # Only continue checking if the ISO C99 headers exist and support is on.
80074 if test x"$enable_wchar_t" = xyes; then
80076 # Use iconv for wchar_t to char conversions. As such, check for
80077 # X/Open Portability Guide, version 2 features (XPG2).
80078 if test "${ac_cv_header_iconv_h+set}" = set; then
80079 echo "$as_me:$LINENO: checking for iconv.h" >&5
80080 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80081 if test "${ac_cv_header_iconv_h+set}" = set; then
80082 echo $ECHO_N "(cached) $ECHO_C" >&6
80084 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80085 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80086 else
80087 # Is the header compilable?
80088 echo "$as_me:$LINENO: checking iconv.h usability" >&5
80089 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
80090 cat >conftest.$ac_ext <<_ACEOF
80091 /* confdefs.h. */
80092 _ACEOF
80093 cat confdefs.h >>conftest.$ac_ext
80094 cat >>conftest.$ac_ext <<_ACEOF
80095 /* end confdefs.h. */
80096 $ac_includes_default
80097 #include <iconv.h>
80098 _ACEOF
80099 rm -f conftest.$ac_objext
80100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80101 (eval $ac_compile) 2>conftest.er1
80102 ac_status=$?
80103 grep -v '^ *+' conftest.er1 >conftest.err
80104 rm -f conftest.er1
80105 cat conftest.err >&5
80106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80107 (exit $ac_status); } &&
80108 { ac_try='test -z "$ac_c_werror_flag"
80109 || test ! -s conftest.err'
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); }; } &&
80115 { ac_try='test -s conftest.$ac_objext'
80116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80117 (eval $ac_try) 2>&5
80118 ac_status=$?
80119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80120 (exit $ac_status); }; }; then
80121 ac_header_compiler=yes
80122 else
80123 echo "$as_me: failed program was:" >&5
80124 sed 's/^/| /' conftest.$ac_ext >&5
80126 ac_header_compiler=no
80128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80130 echo "${ECHO_T}$ac_header_compiler" >&6
80132 # Is the header present?
80133 echo "$as_me:$LINENO: checking iconv.h presence" >&5
80134 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
80135 cat >conftest.$ac_ext <<_ACEOF
80136 /* confdefs.h. */
80137 _ACEOF
80138 cat confdefs.h >>conftest.$ac_ext
80139 cat >>conftest.$ac_ext <<_ACEOF
80140 /* end confdefs.h. */
80141 #include <iconv.h>
80142 _ACEOF
80143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80145 ac_status=$?
80146 grep -v '^ *+' conftest.er1 >conftest.err
80147 rm -f conftest.er1
80148 cat conftest.err >&5
80149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80150 (exit $ac_status); } >/dev/null; then
80151 if test -s conftest.err; then
80152 ac_cpp_err=$ac_c_preproc_warn_flag
80153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80154 else
80155 ac_cpp_err=
80157 else
80158 ac_cpp_err=yes
80160 if test -z "$ac_cpp_err"; then
80161 ac_header_preproc=yes
80162 else
80163 echo "$as_me: failed program was:" >&5
80164 sed 's/^/| /' conftest.$ac_ext >&5
80166 ac_header_preproc=no
80168 rm -f conftest.err conftest.$ac_ext
80169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80170 echo "${ECHO_T}$ac_header_preproc" >&6
80172 # So? What about this header?
80173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80174 yes:no: )
80175 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
80176 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80177 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
80178 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
80179 ac_header_preproc=yes
80181 no:yes:* )
80182 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
80183 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
80184 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
80185 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
80186 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
80187 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
80188 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
80189 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
80190 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
80191 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
80192 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
80193 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
80195 cat <<\_ASBOX
80196 ## ----------------------------------------- ##
80197 ## Report this to the package-unused lists. ##
80198 ## ----------------------------------------- ##
80199 _ASBOX
80201 sed "s/^/$as_me: WARNING: /" >&2
80203 esac
80204 echo "$as_me:$LINENO: checking for iconv.h" >&5
80205 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80206 if test "${ac_cv_header_iconv_h+set}" = set; then
80207 echo $ECHO_N "(cached) $ECHO_C" >&6
80208 else
80209 ac_cv_header_iconv_h=$ac_header_preproc
80211 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80212 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80215 if test $ac_cv_header_iconv_h = yes; then
80216 ac_has_iconv_h=yes
80217 else
80218 ac_has_iconv_h=no
80222 if test "${ac_cv_header_langinfo_h+set}" = set; then
80223 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80224 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80225 if test "${ac_cv_header_langinfo_h+set}" = set; then
80226 echo $ECHO_N "(cached) $ECHO_C" >&6
80228 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80229 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80230 else
80231 # Is the header compilable?
80232 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
80233 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
80234 cat >conftest.$ac_ext <<_ACEOF
80235 /* confdefs.h. */
80236 _ACEOF
80237 cat confdefs.h >>conftest.$ac_ext
80238 cat >>conftest.$ac_ext <<_ACEOF
80239 /* end confdefs.h. */
80240 $ac_includes_default
80241 #include <langinfo.h>
80242 _ACEOF
80243 rm -f conftest.$ac_objext
80244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80245 (eval $ac_compile) 2>conftest.er1
80246 ac_status=$?
80247 grep -v '^ *+' conftest.er1 >conftest.err
80248 rm -f conftest.er1
80249 cat conftest.err >&5
80250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80251 (exit $ac_status); } &&
80252 { ac_try='test -z "$ac_c_werror_flag"
80253 || test ! -s conftest.err'
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); }; } &&
80259 { ac_try='test -s conftest.$ac_objext'
80260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80261 (eval $ac_try) 2>&5
80262 ac_status=$?
80263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80264 (exit $ac_status); }; }; then
80265 ac_header_compiler=yes
80266 else
80267 echo "$as_me: failed program was:" >&5
80268 sed 's/^/| /' conftest.$ac_ext >&5
80270 ac_header_compiler=no
80272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80273 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80274 echo "${ECHO_T}$ac_header_compiler" >&6
80276 # Is the header present?
80277 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80278 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80279 cat >conftest.$ac_ext <<_ACEOF
80280 /* confdefs.h. */
80281 _ACEOF
80282 cat confdefs.h >>conftest.$ac_ext
80283 cat >>conftest.$ac_ext <<_ACEOF
80284 /* end confdefs.h. */
80285 #include <langinfo.h>
80286 _ACEOF
80287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80288 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80289 ac_status=$?
80290 grep -v '^ *+' conftest.er1 >conftest.err
80291 rm -f conftest.er1
80292 cat conftest.err >&5
80293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80294 (exit $ac_status); } >/dev/null; then
80295 if test -s conftest.err; then
80296 ac_cpp_err=$ac_c_preproc_warn_flag
80297 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80298 else
80299 ac_cpp_err=
80301 else
80302 ac_cpp_err=yes
80304 if test -z "$ac_cpp_err"; then
80305 ac_header_preproc=yes
80306 else
80307 echo "$as_me: failed program was:" >&5
80308 sed 's/^/| /' conftest.$ac_ext >&5
80310 ac_header_preproc=no
80312 rm -f conftest.err conftest.$ac_ext
80313 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80314 echo "${ECHO_T}$ac_header_preproc" >&6
80316 # So? What about this header?
80317 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80318 yes:no: )
80319 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
80320 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80321 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
80322 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
80323 ac_header_preproc=yes
80325 no:yes:* )
80326 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
80327 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
80328 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
80329 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
80330 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
80331 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
80332 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
80333 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
80334 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
80335 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
80336 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
80337 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
80339 cat <<\_ASBOX
80340 ## ----------------------------------------- ##
80341 ## Report this to the package-unused lists. ##
80342 ## ----------------------------------------- ##
80343 _ASBOX
80345 sed "s/^/$as_me: WARNING: /" >&2
80347 esac
80348 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80349 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80350 if test "${ac_cv_header_langinfo_h+set}" = set; then
80351 echo $ECHO_N "(cached) $ECHO_C" >&6
80352 else
80353 ac_cv_header_langinfo_h=$ac_header_preproc
80355 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80356 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80359 if test $ac_cv_header_langinfo_h = yes; then
80360 ac_has_langinfo_h=yes
80361 else
80362 ac_has_langinfo_h=no
80367 # Check for existence of libiconv.a providing XPG2 wchar_t support.
80368 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80369 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80370 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80371 echo $ECHO_N "(cached) $ECHO_C" >&6
80372 else
80373 ac_check_lib_save_LIBS=$LIBS
80374 LIBS="-liconv $LIBS"
80375 if test x$gcc_no_link = xyes; then
80376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80378 { (exit 1); exit 1; }; }
80380 cat >conftest.$ac_ext <<_ACEOF
80381 /* confdefs.h. */
80382 _ACEOF
80383 cat confdefs.h >>conftest.$ac_ext
80384 cat >>conftest.$ac_ext <<_ACEOF
80385 /* end confdefs.h. */
80387 /* Override any gcc2 internal prototype to avoid an error. */
80388 #ifdef __cplusplus
80389 extern "C"
80390 #endif
80391 /* We use char because int might match the return type of a gcc2
80392 builtin and then its argument prototype would still apply. */
80393 char iconv ();
80395 main ()
80397 iconv ();
80399 return 0;
80401 _ACEOF
80402 rm -f conftest.$ac_objext conftest$ac_exeext
80403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80404 (eval $ac_link) 2>conftest.er1
80405 ac_status=$?
80406 grep -v '^ *+' conftest.er1 >conftest.err
80407 rm -f conftest.er1
80408 cat conftest.err >&5
80409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80410 (exit $ac_status); } &&
80411 { ac_try='test -z "$ac_c_werror_flag"
80412 || test ! -s conftest.err'
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); }; } &&
80418 { ac_try='test -s conftest$ac_exeext'
80419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80420 (eval $ac_try) 2>&5
80421 ac_status=$?
80422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80423 (exit $ac_status); }; }; then
80424 ac_cv_lib_iconv_iconv=yes
80425 else
80426 echo "$as_me: failed program was:" >&5
80427 sed 's/^/| /' conftest.$ac_ext >&5
80429 ac_cv_lib_iconv_iconv=no
80431 rm -f conftest.err conftest.$ac_objext \
80432 conftest$ac_exeext conftest.$ac_ext
80433 LIBS=$ac_check_lib_save_LIBS
80435 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80436 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80437 if test $ac_cv_lib_iconv_iconv = yes; then
80438 LIBICONV="-liconv"
80441 ac_save_LIBS="$LIBS"
80442 LIBS="$LIBS $LIBICONV"
80449 for ac_func in iconv_open iconv_close iconv nl_langinfo
80451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80452 echo "$as_me:$LINENO: checking for $ac_func" >&5
80453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80454 if eval "test \"\${$as_ac_var+set}\" = set"; then
80455 echo $ECHO_N "(cached) $ECHO_C" >&6
80456 else
80457 if test x$gcc_no_link = xyes; then
80458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80460 { (exit 1); exit 1; }; }
80462 cat >conftest.$ac_ext <<_ACEOF
80463 /* confdefs.h. */
80464 _ACEOF
80465 cat confdefs.h >>conftest.$ac_ext
80466 cat >>conftest.$ac_ext <<_ACEOF
80467 /* end confdefs.h. */
80468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80470 #define $ac_func innocuous_$ac_func
80472 /* System header to define __stub macros and hopefully few prototypes,
80473 which can conflict with char $ac_func (); below.
80474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80475 <limits.h> exists even on freestanding compilers. */
80477 #ifdef __STDC__
80478 # include <limits.h>
80479 #else
80480 # include <assert.h>
80481 #endif
80483 #undef $ac_func
80485 /* Override any gcc2 internal prototype to avoid an error. */
80486 #ifdef __cplusplus
80487 extern "C"
80489 #endif
80490 /* We use char because int might match the return type of a gcc2
80491 builtin and then its argument prototype would still apply. */
80492 char $ac_func ();
80493 /* The GNU C library defines this for functions which it implements
80494 to always fail with ENOSYS. Some functions are actually named
80495 something starting with __ and the normal name is an alias. */
80496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80497 choke me
80498 #else
80499 char (*f) () = $ac_func;
80500 #endif
80501 #ifdef __cplusplus
80503 #endif
80506 main ()
80508 return f != $ac_func;
80510 return 0;
80512 _ACEOF
80513 rm -f conftest.$ac_objext conftest$ac_exeext
80514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80515 (eval $ac_link) 2>conftest.er1
80516 ac_status=$?
80517 grep -v '^ *+' conftest.er1 >conftest.err
80518 rm -f conftest.er1
80519 cat conftest.err >&5
80520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80521 (exit $ac_status); } &&
80522 { ac_try='test -z "$ac_c_werror_flag"
80523 || test ! -s conftest.err'
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); }; } &&
80529 { ac_try='test -s conftest$ac_exeext'
80530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80531 (eval $ac_try) 2>&5
80532 ac_status=$?
80533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80534 (exit $ac_status); }; }; then
80535 eval "$as_ac_var=yes"
80536 else
80537 echo "$as_me: failed program was:" >&5
80538 sed 's/^/| /' conftest.$ac_ext >&5
80540 eval "$as_ac_var=no"
80542 rm -f conftest.err conftest.$ac_objext \
80543 conftest$ac_exeext conftest.$ac_ext
80545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80547 if test `eval echo '${'$as_ac_var'}'` = yes; then
80548 cat >>confdefs.h <<_ACEOF
80549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80550 _ACEOF
80551 ac_XPG2funcs=yes
80552 else
80553 ac_XPG2funcs=no
80555 done
80558 LIBS="$ac_save_LIBS"
80560 if test x"$ac_has_iconv_h" = xyes &&
80561 test x"$ac_has_langinfo_h" = xyes &&
80562 test x"$ac_XPG2funcs" = xyes;
80563 then
80565 cat >>confdefs.h <<\_ACEOF
80566 #define _GLIBCXX_USE_ICONV 1
80567 _ACEOF
80569 enable_iconv=yes
80572 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
80573 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
80574 echo "$as_me:$LINENO: result: $enable_iconv" >&5
80575 echo "${ECHO_T}$enable_iconv" >&6
80578 *-netbsd*)
80591 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
80592 machine/endian.h machine/param.h sys/machine.h sys/types.h \
80593 fp.h locale.h float.h inttypes.h
80595 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80597 echo "$as_me:$LINENO: checking for $ac_header" >&5
80598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80600 echo $ECHO_N "(cached) $ECHO_C" >&6
80602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80604 else
80605 # Is the header compilable?
80606 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80607 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80608 cat >conftest.$ac_ext <<_ACEOF
80609 /* confdefs.h. */
80610 _ACEOF
80611 cat confdefs.h >>conftest.$ac_ext
80612 cat >>conftest.$ac_ext <<_ACEOF
80613 /* end confdefs.h. */
80614 $ac_includes_default
80615 #include <$ac_header>
80616 _ACEOF
80617 rm -f conftest.$ac_objext
80618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80619 (eval $ac_compile) 2>conftest.er1
80620 ac_status=$?
80621 grep -v '^ *+' conftest.er1 >conftest.err
80622 rm -f conftest.er1
80623 cat conftest.err >&5
80624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80625 (exit $ac_status); } &&
80626 { ac_try='test -z "$ac_c_werror_flag"
80627 || test ! -s conftest.err'
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); }; } &&
80633 { ac_try='test -s conftest.$ac_objext'
80634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80635 (eval $ac_try) 2>&5
80636 ac_status=$?
80637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80638 (exit $ac_status); }; }; then
80639 ac_header_compiler=yes
80640 else
80641 echo "$as_me: failed program was:" >&5
80642 sed 's/^/| /' conftest.$ac_ext >&5
80644 ac_header_compiler=no
80646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80648 echo "${ECHO_T}$ac_header_compiler" >&6
80650 # Is the header present?
80651 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80652 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80653 cat >conftest.$ac_ext <<_ACEOF
80654 /* confdefs.h. */
80655 _ACEOF
80656 cat confdefs.h >>conftest.$ac_ext
80657 cat >>conftest.$ac_ext <<_ACEOF
80658 /* end confdefs.h. */
80659 #include <$ac_header>
80660 _ACEOF
80661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80662 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80663 ac_status=$?
80664 grep -v '^ *+' conftest.er1 >conftest.err
80665 rm -f conftest.er1
80666 cat conftest.err >&5
80667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80668 (exit $ac_status); } >/dev/null; then
80669 if test -s conftest.err; then
80670 ac_cpp_err=$ac_c_preproc_warn_flag
80671 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80672 else
80673 ac_cpp_err=
80675 else
80676 ac_cpp_err=yes
80678 if test -z "$ac_cpp_err"; then
80679 ac_header_preproc=yes
80680 else
80681 echo "$as_me: failed program was:" >&5
80682 sed 's/^/| /' conftest.$ac_ext >&5
80684 ac_header_preproc=no
80686 rm -f conftest.err conftest.$ac_ext
80687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80688 echo "${ECHO_T}$ac_header_preproc" >&6
80690 # So? What about this header?
80691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80692 yes:no: )
80693 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80694 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80696 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80697 ac_header_preproc=yes
80699 no:yes:* )
80700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80704 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80705 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80706 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80707 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80710 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80711 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80713 cat <<\_ASBOX
80714 ## ----------------------------------------- ##
80715 ## Report this to the package-unused lists. ##
80716 ## ----------------------------------------- ##
80717 _ASBOX
80719 sed "s/^/$as_me: WARNING: /" >&2
80721 esac
80722 echo "$as_me:$LINENO: checking for $ac_header" >&5
80723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80725 echo $ECHO_N "(cached) $ECHO_C" >&6
80726 else
80727 eval "$as_ac_Header=\$ac_header_preproc"
80729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80734 cat >>confdefs.h <<_ACEOF
80735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80736 _ACEOF
80740 done
80742 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80745 # If we're not using GNU ld, then there's no point in even trying these
80746 # tests. Check for that first. We should have already tested for gld
80747 # by now (in libtool), but require it now just to be safe...
80748 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80749 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80753 # The name set by libtool depends on the version of libtool. Shame on us
80754 # for depending on an impl detail, but c'est la vie. Older versions used
80755 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80756 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80757 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80758 # set (hence we're using an older libtool), then set it.
80759 if test x${with_gnu_ld+set} != xset; then
80760 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80761 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80762 with_gnu_ld=no
80763 else
80764 with_gnu_ld=$ac_cv_prog_gnu_ld
80768 # Start by getting the version number. I think the libtool test already
80769 # does some of this, but throws away the result.
80771 ldver=`$LD --version 2>/dev/null | head -1 | \
80772 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80774 glibcxx_gnu_ld_version=`echo $ldver | \
80775 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80777 # Set --gc-sections.
80778 if test x"$with_gnu_ld" = x"yes"; then
80779 # GNU ld it is! Joy and bunny rabbits!
80781 # All these tests are for C++, but run with the "C" compiler driver.
80782 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
80783 ac_test_CFLAGS="${CFLAGS+set}"
80784 ac_save_CFLAGS="$CFLAGS"
80785 CFLAGS='-x c++ -Werror -Wl,--gc-sections'
80787 # Check for -Wl,--gc-sections
80788 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80789 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80790 if test x$gcc_no_link = xyes; then
80791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80793 { (exit 1); exit 1; }; }
80795 cat >conftest.$ac_ext <<_ACEOF
80796 /* confdefs.h. */
80797 _ACEOF
80798 cat confdefs.h >>conftest.$ac_ext
80799 cat >>conftest.$ac_ext <<_ACEOF
80800 /* end confdefs.h. */
80801 int one(void) { return 1; }
80802 int two(void) { return 2; }
80805 main ()
80807 two();
80809 return 0;
80811 _ACEOF
80812 rm -f conftest.$ac_objext conftest$ac_exeext
80813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80814 (eval $ac_link) 2>conftest.er1
80815 ac_status=$?
80816 grep -v '^ *+' conftest.er1 >conftest.err
80817 rm -f conftest.er1
80818 cat conftest.err >&5
80819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80820 (exit $ac_status); } &&
80821 { ac_try='test -z "$ac_c_werror_flag"
80822 || test ! -s conftest.err'
80823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80824 (eval $ac_try) 2>&5
80825 ac_status=$?
80826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80827 (exit $ac_status); }; } &&
80828 { ac_try='test -s conftest$ac_exeext'
80829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80830 (eval $ac_try) 2>&5
80831 ac_status=$?
80832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80833 (exit $ac_status); }; }; then
80834 ac_gcsections=yes
80835 else
80836 echo "$as_me: failed program was:" >&5
80837 sed 's/^/| /' conftest.$ac_ext >&5
80839 ac_gcsections=no
80841 rm -f conftest.err conftest.$ac_objext \
80842 conftest$ac_exeext conftest.$ac_ext
80843 if test "$ac_gcsections" = "yes"; then
80844 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80846 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
80847 echo "${ECHO_T}$ac_gcsections" >&6
80849 if test "$ac_test_CFLAGS" = set; then
80850 CFLAGS="$ac_save_CFLAGS"
80851 else
80852 # this is the suspicious part
80853 CFLAGS=''
80857 # Set -z,relro.
80858 # Note this is only for shared objects.
80859 ac_ld_relro=no
80860 if test x"$with_gnu_ld" = x"yes"; then
80861 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80862 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80863 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80864 if test -n "$cxx_z_relo"; then
80865 OPT_LDFLAGS="-Wl,-z,relro"
80866 ac_ld_relro=yes
80868 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80869 echo "${ECHO_T}$ac_ld_relro" >&6
80872 # Set linker optimization flags.
80873 if test x"$with_gnu_ld" = x"yes"; then
80874 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80882 echo "$as_me:$LINENO: checking for main in -lm" >&5
80883 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80884 if test "${ac_cv_lib_m_main+set}" = set; then
80885 echo $ECHO_N "(cached) $ECHO_C" >&6
80886 else
80887 ac_check_lib_save_LIBS=$LIBS
80888 LIBS="-lm $LIBS"
80889 if test x$gcc_no_link = xyes; then
80890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80892 { (exit 1); exit 1; }; }
80894 cat >conftest.$ac_ext <<_ACEOF
80895 /* confdefs.h. */
80896 _ACEOF
80897 cat confdefs.h >>conftest.$ac_ext
80898 cat >>conftest.$ac_ext <<_ACEOF
80899 /* end confdefs.h. */
80903 main ()
80905 main ();
80907 return 0;
80909 _ACEOF
80910 rm -f conftest.$ac_objext conftest$ac_exeext
80911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80912 (eval $ac_link) 2>conftest.er1
80913 ac_status=$?
80914 grep -v '^ *+' conftest.er1 >conftest.err
80915 rm -f conftest.er1
80916 cat conftest.err >&5
80917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80918 (exit $ac_status); } &&
80919 { ac_try='test -z "$ac_c_werror_flag"
80920 || test ! -s conftest.err'
80921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80922 (eval $ac_try) 2>&5
80923 ac_status=$?
80924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80925 (exit $ac_status); }; } &&
80926 { ac_try='test -s conftest$ac_exeext'
80927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80928 (eval $ac_try) 2>&5
80929 ac_status=$?
80930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80931 (exit $ac_status); }; }; then
80932 ac_cv_lib_m_main=yes
80933 else
80934 echo "$as_me: failed program was:" >&5
80935 sed 's/^/| /' conftest.$ac_ext >&5
80937 ac_cv_lib_m_main=no
80939 rm -f conftest.err conftest.$ac_objext \
80940 conftest$ac_exeext conftest.$ac_ext
80941 LIBS=$ac_check_lib_save_LIBS
80943 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80944 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80945 if test $ac_cv_lib_m_main = yes; then
80946 cat >>confdefs.h <<_ACEOF
80947 #define HAVE_LIBM 1
80948 _ACEOF
80950 LIBS="-lm $LIBS"
80955 for ac_func in copysignf
80957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80958 echo "$as_me:$LINENO: checking for $ac_func" >&5
80959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80960 if eval "test \"\${$as_ac_var+set}\" = set"; then
80961 echo $ECHO_N "(cached) $ECHO_C" >&6
80962 else
80963 if test x$gcc_no_link = xyes; then
80964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80966 { (exit 1); exit 1; }; }
80968 cat >conftest.$ac_ext <<_ACEOF
80969 /* confdefs.h. */
80970 _ACEOF
80971 cat confdefs.h >>conftest.$ac_ext
80972 cat >>conftest.$ac_ext <<_ACEOF
80973 /* end confdefs.h. */
80974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80976 #define $ac_func innocuous_$ac_func
80978 /* System header to define __stub macros and hopefully few prototypes,
80979 which can conflict with char $ac_func (); below.
80980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80981 <limits.h> exists even on freestanding compilers. */
80983 #ifdef __STDC__
80984 # include <limits.h>
80985 #else
80986 # include <assert.h>
80987 #endif
80989 #undef $ac_func
80991 /* Override any gcc2 internal prototype to avoid an error. */
80992 #ifdef __cplusplus
80993 extern "C"
80995 #endif
80996 /* We use char because int might match the return type of a gcc2
80997 builtin and then its argument prototype would still apply. */
80998 char $ac_func ();
80999 /* The GNU C library defines this for functions which it implements
81000 to always fail with ENOSYS. Some functions are actually named
81001 something starting with __ and the normal name is an alias. */
81002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81003 choke me
81004 #else
81005 char (*f) () = $ac_func;
81006 #endif
81007 #ifdef __cplusplus
81009 #endif
81012 main ()
81014 return f != $ac_func;
81016 return 0;
81018 _ACEOF
81019 rm -f conftest.$ac_objext conftest$ac_exeext
81020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81021 (eval $ac_link) 2>conftest.er1
81022 ac_status=$?
81023 grep -v '^ *+' conftest.er1 >conftest.err
81024 rm -f conftest.er1
81025 cat conftest.err >&5
81026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81027 (exit $ac_status); } &&
81028 { ac_try='test -z "$ac_c_werror_flag"
81029 || test ! -s conftest.err'
81030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81031 (eval $ac_try) 2>&5
81032 ac_status=$?
81033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81034 (exit $ac_status); }; } &&
81035 { ac_try='test -s conftest$ac_exeext'
81036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81037 (eval $ac_try) 2>&5
81038 ac_status=$?
81039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81040 (exit $ac_status); }; }; then
81041 eval "$as_ac_var=yes"
81042 else
81043 echo "$as_me: failed program was:" >&5
81044 sed 's/^/| /' conftest.$ac_ext >&5
81046 eval "$as_ac_var=no"
81048 rm -f conftest.err conftest.$ac_objext \
81049 conftest$ac_exeext conftest.$ac_ext
81051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81053 if test `eval echo '${'$as_ac_var'}'` = yes; then
81054 cat >>confdefs.h <<_ACEOF
81055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81056 _ACEOF
81058 else
81059 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81061 done
81065 for ac_func in __signbit
81067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81068 echo "$as_me:$LINENO: checking for $ac_func" >&5
81069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81070 if eval "test \"\${$as_ac_var+set}\" = set"; then
81071 echo $ECHO_N "(cached) $ECHO_C" >&6
81072 else
81073 if test x$gcc_no_link = xyes; then
81074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81076 { (exit 1); exit 1; }; }
81078 cat >conftest.$ac_ext <<_ACEOF
81079 /* confdefs.h. */
81080 _ACEOF
81081 cat confdefs.h >>conftest.$ac_ext
81082 cat >>conftest.$ac_ext <<_ACEOF
81083 /* end confdefs.h. */
81084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81086 #define $ac_func innocuous_$ac_func
81088 /* System header to define __stub macros and hopefully few prototypes,
81089 which can conflict with char $ac_func (); below.
81090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81091 <limits.h> exists even on freestanding compilers. */
81093 #ifdef __STDC__
81094 # include <limits.h>
81095 #else
81096 # include <assert.h>
81097 #endif
81099 #undef $ac_func
81101 /* Override any gcc2 internal prototype to avoid an error. */
81102 #ifdef __cplusplus
81103 extern "C"
81105 #endif
81106 /* We use char because int might match the return type of a gcc2
81107 builtin and then its argument prototype would still apply. */
81108 char $ac_func ();
81109 /* The GNU C library defines this for functions which it implements
81110 to always fail with ENOSYS. Some functions are actually named
81111 something starting with __ and the normal name is an alias. */
81112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81113 choke me
81114 #else
81115 char (*f) () = $ac_func;
81116 #endif
81117 #ifdef __cplusplus
81119 #endif
81122 main ()
81124 return f != $ac_func;
81126 return 0;
81128 _ACEOF
81129 rm -f conftest.$ac_objext conftest$ac_exeext
81130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81131 (eval $ac_link) 2>conftest.er1
81132 ac_status=$?
81133 grep -v '^ *+' conftest.er1 >conftest.err
81134 rm -f conftest.er1
81135 cat conftest.err >&5
81136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81137 (exit $ac_status); } &&
81138 { ac_try='test -z "$ac_c_werror_flag"
81139 || test ! -s conftest.err'
81140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81141 (eval $ac_try) 2>&5
81142 ac_status=$?
81143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81144 (exit $ac_status); }; } &&
81145 { ac_try='test -s conftest$ac_exeext'
81146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81147 (eval $ac_try) 2>&5
81148 ac_status=$?
81149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81150 (exit $ac_status); }; }; then
81151 eval "$as_ac_var=yes"
81152 else
81153 echo "$as_me: failed program was:" >&5
81154 sed 's/^/| /' conftest.$ac_ext >&5
81156 eval "$as_ac_var=no"
81158 rm -f conftest.err conftest.$ac_objext \
81159 conftest$ac_exeext conftest.$ac_ext
81161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81163 if test `eval echo '${'$as_ac_var'}'` = yes; then
81164 cat >>confdefs.h <<_ACEOF
81165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81166 _ACEOF
81168 else
81169 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81171 done
81175 for ac_func in __signbitf
81177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81178 echo "$as_me:$LINENO: checking for $ac_func" >&5
81179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81180 if eval "test \"\${$as_ac_var+set}\" = set"; then
81181 echo $ECHO_N "(cached) $ECHO_C" >&6
81182 else
81183 if test x$gcc_no_link = xyes; then
81184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81186 { (exit 1); exit 1; }; }
81188 cat >conftest.$ac_ext <<_ACEOF
81189 /* confdefs.h. */
81190 _ACEOF
81191 cat confdefs.h >>conftest.$ac_ext
81192 cat >>conftest.$ac_ext <<_ACEOF
81193 /* end confdefs.h. */
81194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81196 #define $ac_func innocuous_$ac_func
81198 /* System header to define __stub macros and hopefully few prototypes,
81199 which can conflict with char $ac_func (); below.
81200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81201 <limits.h> exists even on freestanding compilers. */
81203 #ifdef __STDC__
81204 # include <limits.h>
81205 #else
81206 # include <assert.h>
81207 #endif
81209 #undef $ac_func
81211 /* Override any gcc2 internal prototype to avoid an error. */
81212 #ifdef __cplusplus
81213 extern "C"
81215 #endif
81216 /* We use char because int might match the return type of a gcc2
81217 builtin and then its argument prototype would still apply. */
81218 char $ac_func ();
81219 /* The GNU C library defines this for functions which it implements
81220 to always fail with ENOSYS. Some functions are actually named
81221 something starting with __ and the normal name is an alias. */
81222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81223 choke me
81224 #else
81225 char (*f) () = $ac_func;
81226 #endif
81227 #ifdef __cplusplus
81229 #endif
81232 main ()
81234 return f != $ac_func;
81236 return 0;
81238 _ACEOF
81239 rm -f conftest.$ac_objext conftest$ac_exeext
81240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81241 (eval $ac_link) 2>conftest.er1
81242 ac_status=$?
81243 grep -v '^ *+' conftest.er1 >conftest.err
81244 rm -f conftest.er1
81245 cat conftest.err >&5
81246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81247 (exit $ac_status); } &&
81248 { ac_try='test -z "$ac_c_werror_flag"
81249 || test ! -s conftest.err'
81250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81251 (eval $ac_try) 2>&5
81252 ac_status=$?
81253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81254 (exit $ac_status); }; } &&
81255 { ac_try='test -s conftest$ac_exeext'
81256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81257 (eval $ac_try) 2>&5
81258 ac_status=$?
81259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81260 (exit $ac_status); }; }; then
81261 eval "$as_ac_var=yes"
81262 else
81263 echo "$as_me: failed program was:" >&5
81264 sed 's/^/| /' conftest.$ac_ext >&5
81266 eval "$as_ac_var=no"
81268 rm -f conftest.err conftest.$ac_objext \
81269 conftest$ac_exeext conftest.$ac_ext
81271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81273 if test `eval echo '${'$as_ac_var'}'` = yes; then
81274 cat >>confdefs.h <<_ACEOF
81275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81276 _ACEOF
81278 else
81279 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81281 done
81284 if test x$ac_cv_func_copysignl = x"yes"; then
81286 for ac_func in __signbitl
81288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81289 echo "$as_me:$LINENO: checking for $ac_func" >&5
81290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81291 if eval "test \"\${$as_ac_var+set}\" = set"; then
81292 echo $ECHO_N "(cached) $ECHO_C" >&6
81293 else
81294 if test x$gcc_no_link = xyes; then
81295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81297 { (exit 1); exit 1; }; }
81299 cat >conftest.$ac_ext <<_ACEOF
81300 /* confdefs.h. */
81301 _ACEOF
81302 cat confdefs.h >>conftest.$ac_ext
81303 cat >>conftest.$ac_ext <<_ACEOF
81304 /* end confdefs.h. */
81305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81307 #define $ac_func innocuous_$ac_func
81309 /* System header to define __stub macros and hopefully few prototypes,
81310 which can conflict with char $ac_func (); below.
81311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81312 <limits.h> exists even on freestanding compilers. */
81314 #ifdef __STDC__
81315 # include <limits.h>
81316 #else
81317 # include <assert.h>
81318 #endif
81320 #undef $ac_func
81322 /* Override any gcc2 internal prototype to avoid an error. */
81323 #ifdef __cplusplus
81324 extern "C"
81326 #endif
81327 /* We use char because int might match the return type of a gcc2
81328 builtin and then its argument prototype would still apply. */
81329 char $ac_func ();
81330 /* The GNU C library defines this for functions which it implements
81331 to always fail with ENOSYS. Some functions are actually named
81332 something starting with __ and the normal name is an alias. */
81333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81334 choke me
81335 #else
81336 char (*f) () = $ac_func;
81337 #endif
81338 #ifdef __cplusplus
81340 #endif
81343 main ()
81345 return f != $ac_func;
81347 return 0;
81349 _ACEOF
81350 rm -f conftest.$ac_objext conftest$ac_exeext
81351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81352 (eval $ac_link) 2>conftest.er1
81353 ac_status=$?
81354 grep -v '^ *+' conftest.er1 >conftest.err
81355 rm -f conftest.er1
81356 cat conftest.err >&5
81357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81358 (exit $ac_status); } &&
81359 { ac_try='test -z "$ac_c_werror_flag"
81360 || test ! -s conftest.err'
81361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81362 (eval $ac_try) 2>&5
81363 ac_status=$?
81364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81365 (exit $ac_status); }; } &&
81366 { ac_try='test -s conftest$ac_exeext'
81367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81368 (eval $ac_try) 2>&5
81369 ac_status=$?
81370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81371 (exit $ac_status); }; }; then
81372 eval "$as_ac_var=yes"
81373 else
81374 echo "$as_me: failed program was:" >&5
81375 sed 's/^/| /' conftest.$ac_ext >&5
81377 eval "$as_ac_var=no"
81379 rm -f conftest.err conftest.$ac_objext \
81380 conftest$ac_exeext conftest.$ac_ext
81382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81384 if test `eval echo '${'$as_ac_var'}'` = yes; then
81385 cat >>confdefs.h <<_ACEOF
81386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81387 _ACEOF
81389 else
81390 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81392 done
81396 # Used in libmath/Makefile.am.
81397 if test -n "$LIBMATHOBJS"; then
81398 need_libmath=yes
81404 enable_iconv=no
81405 # Only continue checking if the ISO C99 headers exist and support is on.
81406 if test x"$enable_wchar_t" = xyes; then
81408 # Use iconv for wchar_t to char conversions. As such, check for
81409 # X/Open Portability Guide, version 2 features (XPG2).
81410 if test "${ac_cv_header_iconv_h+set}" = set; then
81411 echo "$as_me:$LINENO: checking for iconv.h" >&5
81412 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81413 if test "${ac_cv_header_iconv_h+set}" = set; then
81414 echo $ECHO_N "(cached) $ECHO_C" >&6
81416 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81417 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81418 else
81419 # Is the header compilable?
81420 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81421 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81422 cat >conftest.$ac_ext <<_ACEOF
81423 /* confdefs.h. */
81424 _ACEOF
81425 cat confdefs.h >>conftest.$ac_ext
81426 cat >>conftest.$ac_ext <<_ACEOF
81427 /* end confdefs.h. */
81428 $ac_includes_default
81429 #include <iconv.h>
81430 _ACEOF
81431 rm -f conftest.$ac_objext
81432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81433 (eval $ac_compile) 2>conftest.er1
81434 ac_status=$?
81435 grep -v '^ *+' conftest.er1 >conftest.err
81436 rm -f conftest.er1
81437 cat conftest.err >&5
81438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81439 (exit $ac_status); } &&
81440 { ac_try='test -z "$ac_c_werror_flag"
81441 || test ! -s conftest.err'
81442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81443 (eval $ac_try) 2>&5
81444 ac_status=$?
81445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81446 (exit $ac_status); }; } &&
81447 { ac_try='test -s conftest.$ac_objext'
81448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81449 (eval $ac_try) 2>&5
81450 ac_status=$?
81451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81452 (exit $ac_status); }; }; then
81453 ac_header_compiler=yes
81454 else
81455 echo "$as_me: failed program was:" >&5
81456 sed 's/^/| /' conftest.$ac_ext >&5
81458 ac_header_compiler=no
81460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81461 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81462 echo "${ECHO_T}$ac_header_compiler" >&6
81464 # Is the header present?
81465 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81466 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81467 cat >conftest.$ac_ext <<_ACEOF
81468 /* confdefs.h. */
81469 _ACEOF
81470 cat confdefs.h >>conftest.$ac_ext
81471 cat >>conftest.$ac_ext <<_ACEOF
81472 /* end confdefs.h. */
81473 #include <iconv.h>
81474 _ACEOF
81475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81476 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81477 ac_status=$?
81478 grep -v '^ *+' conftest.er1 >conftest.err
81479 rm -f conftest.er1
81480 cat conftest.err >&5
81481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81482 (exit $ac_status); } >/dev/null; then
81483 if test -s conftest.err; then
81484 ac_cpp_err=$ac_c_preproc_warn_flag
81485 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81486 else
81487 ac_cpp_err=
81489 else
81490 ac_cpp_err=yes
81492 if test -z "$ac_cpp_err"; then
81493 ac_header_preproc=yes
81494 else
81495 echo "$as_me: failed program was:" >&5
81496 sed 's/^/| /' conftest.$ac_ext >&5
81498 ac_header_preproc=no
81500 rm -f conftest.err conftest.$ac_ext
81501 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81502 echo "${ECHO_T}$ac_header_preproc" >&6
81504 # So? What about this header?
81505 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81506 yes:no: )
81507 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81508 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81509 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81510 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81511 ac_header_preproc=yes
81513 no:yes:* )
81514 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81515 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81516 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81517 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81518 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81519 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81520 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81521 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81522 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81523 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81524 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81525 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81527 cat <<\_ASBOX
81528 ## ----------------------------------------- ##
81529 ## Report this to the package-unused lists. ##
81530 ## ----------------------------------------- ##
81531 _ASBOX
81533 sed "s/^/$as_me: WARNING: /" >&2
81535 esac
81536 echo "$as_me:$LINENO: checking for iconv.h" >&5
81537 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81538 if test "${ac_cv_header_iconv_h+set}" = set; then
81539 echo $ECHO_N "(cached) $ECHO_C" >&6
81540 else
81541 ac_cv_header_iconv_h=$ac_header_preproc
81543 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81544 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81547 if test $ac_cv_header_iconv_h = yes; then
81548 ac_has_iconv_h=yes
81549 else
81550 ac_has_iconv_h=no
81554 if test "${ac_cv_header_langinfo_h+set}" = set; then
81555 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81556 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81557 if test "${ac_cv_header_langinfo_h+set}" = set; then
81558 echo $ECHO_N "(cached) $ECHO_C" >&6
81560 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81561 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81562 else
81563 # Is the header compilable?
81564 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81565 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81566 cat >conftest.$ac_ext <<_ACEOF
81567 /* confdefs.h. */
81568 _ACEOF
81569 cat confdefs.h >>conftest.$ac_ext
81570 cat >>conftest.$ac_ext <<_ACEOF
81571 /* end confdefs.h. */
81572 $ac_includes_default
81573 #include <langinfo.h>
81574 _ACEOF
81575 rm -f conftest.$ac_objext
81576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81577 (eval $ac_compile) 2>conftest.er1
81578 ac_status=$?
81579 grep -v '^ *+' conftest.er1 >conftest.err
81580 rm -f conftest.er1
81581 cat conftest.err >&5
81582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81583 (exit $ac_status); } &&
81584 { ac_try='test -z "$ac_c_werror_flag"
81585 || test ! -s conftest.err'
81586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81587 (eval $ac_try) 2>&5
81588 ac_status=$?
81589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81590 (exit $ac_status); }; } &&
81591 { ac_try='test -s conftest.$ac_objext'
81592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81593 (eval $ac_try) 2>&5
81594 ac_status=$?
81595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81596 (exit $ac_status); }; }; then
81597 ac_header_compiler=yes
81598 else
81599 echo "$as_me: failed program was:" >&5
81600 sed 's/^/| /' conftest.$ac_ext >&5
81602 ac_header_compiler=no
81604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81605 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81606 echo "${ECHO_T}$ac_header_compiler" >&6
81608 # Is the header present?
81609 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81610 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81611 cat >conftest.$ac_ext <<_ACEOF
81612 /* confdefs.h. */
81613 _ACEOF
81614 cat confdefs.h >>conftest.$ac_ext
81615 cat >>conftest.$ac_ext <<_ACEOF
81616 /* end confdefs.h. */
81617 #include <langinfo.h>
81618 _ACEOF
81619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81620 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81621 ac_status=$?
81622 grep -v '^ *+' conftest.er1 >conftest.err
81623 rm -f conftest.er1
81624 cat conftest.err >&5
81625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81626 (exit $ac_status); } >/dev/null; then
81627 if test -s conftest.err; then
81628 ac_cpp_err=$ac_c_preproc_warn_flag
81629 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81630 else
81631 ac_cpp_err=
81633 else
81634 ac_cpp_err=yes
81636 if test -z "$ac_cpp_err"; then
81637 ac_header_preproc=yes
81638 else
81639 echo "$as_me: failed program was:" >&5
81640 sed 's/^/| /' conftest.$ac_ext >&5
81642 ac_header_preproc=no
81644 rm -f conftest.err conftest.$ac_ext
81645 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81646 echo "${ECHO_T}$ac_header_preproc" >&6
81648 # So? What about this header?
81649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81650 yes:no: )
81651 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81652 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81653 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81654 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81655 ac_header_preproc=yes
81657 no:yes:* )
81658 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81659 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81660 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81661 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81662 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81663 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81664 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81665 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81666 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81667 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81668 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81669 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81671 cat <<\_ASBOX
81672 ## ----------------------------------------- ##
81673 ## Report this to the package-unused lists. ##
81674 ## ----------------------------------------- ##
81675 _ASBOX
81677 sed "s/^/$as_me: WARNING: /" >&2
81679 esac
81680 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81681 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81682 if test "${ac_cv_header_langinfo_h+set}" = set; then
81683 echo $ECHO_N "(cached) $ECHO_C" >&6
81684 else
81685 ac_cv_header_langinfo_h=$ac_header_preproc
81687 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81688 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81691 if test $ac_cv_header_langinfo_h = yes; then
81692 ac_has_langinfo_h=yes
81693 else
81694 ac_has_langinfo_h=no
81699 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81700 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81701 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81702 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81703 echo $ECHO_N "(cached) $ECHO_C" >&6
81704 else
81705 ac_check_lib_save_LIBS=$LIBS
81706 LIBS="-liconv $LIBS"
81707 if test x$gcc_no_link = xyes; then
81708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81710 { (exit 1); exit 1; }; }
81712 cat >conftest.$ac_ext <<_ACEOF
81713 /* confdefs.h. */
81714 _ACEOF
81715 cat confdefs.h >>conftest.$ac_ext
81716 cat >>conftest.$ac_ext <<_ACEOF
81717 /* end confdefs.h. */
81719 /* Override any gcc2 internal prototype to avoid an error. */
81720 #ifdef __cplusplus
81721 extern "C"
81722 #endif
81723 /* We use char because int might match the return type of a gcc2
81724 builtin and then its argument prototype would still apply. */
81725 char iconv ();
81727 main ()
81729 iconv ();
81731 return 0;
81733 _ACEOF
81734 rm -f conftest.$ac_objext conftest$ac_exeext
81735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81736 (eval $ac_link) 2>conftest.er1
81737 ac_status=$?
81738 grep -v '^ *+' conftest.er1 >conftest.err
81739 rm -f conftest.er1
81740 cat conftest.err >&5
81741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81742 (exit $ac_status); } &&
81743 { ac_try='test -z "$ac_c_werror_flag"
81744 || test ! -s conftest.err'
81745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81746 (eval $ac_try) 2>&5
81747 ac_status=$?
81748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81749 (exit $ac_status); }; } &&
81750 { ac_try='test -s conftest$ac_exeext'
81751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81752 (eval $ac_try) 2>&5
81753 ac_status=$?
81754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81755 (exit $ac_status); }; }; then
81756 ac_cv_lib_iconv_iconv=yes
81757 else
81758 echo "$as_me: failed program was:" >&5
81759 sed 's/^/| /' conftest.$ac_ext >&5
81761 ac_cv_lib_iconv_iconv=no
81763 rm -f conftest.err conftest.$ac_objext \
81764 conftest$ac_exeext conftest.$ac_ext
81765 LIBS=$ac_check_lib_save_LIBS
81767 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81768 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81769 if test $ac_cv_lib_iconv_iconv = yes; then
81770 LIBICONV="-liconv"
81773 ac_save_LIBS="$LIBS"
81774 LIBS="$LIBS $LIBICONV"
81781 for ac_func in iconv_open iconv_close iconv nl_langinfo
81783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81784 echo "$as_me:$LINENO: checking for $ac_func" >&5
81785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81786 if eval "test \"\${$as_ac_var+set}\" = set"; then
81787 echo $ECHO_N "(cached) $ECHO_C" >&6
81788 else
81789 if test x$gcc_no_link = xyes; then
81790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81792 { (exit 1); exit 1; }; }
81794 cat >conftest.$ac_ext <<_ACEOF
81795 /* confdefs.h. */
81796 _ACEOF
81797 cat confdefs.h >>conftest.$ac_ext
81798 cat >>conftest.$ac_ext <<_ACEOF
81799 /* end confdefs.h. */
81800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81802 #define $ac_func innocuous_$ac_func
81804 /* System header to define __stub macros and hopefully few prototypes,
81805 which can conflict with char $ac_func (); below.
81806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81807 <limits.h> exists even on freestanding compilers. */
81809 #ifdef __STDC__
81810 # include <limits.h>
81811 #else
81812 # include <assert.h>
81813 #endif
81815 #undef $ac_func
81817 /* Override any gcc2 internal prototype to avoid an error. */
81818 #ifdef __cplusplus
81819 extern "C"
81821 #endif
81822 /* We use char because int might match the return type of a gcc2
81823 builtin and then its argument prototype would still apply. */
81824 char $ac_func ();
81825 /* The GNU C library defines this for functions which it implements
81826 to always fail with ENOSYS. Some functions are actually named
81827 something starting with __ and the normal name is an alias. */
81828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81829 choke me
81830 #else
81831 char (*f) () = $ac_func;
81832 #endif
81833 #ifdef __cplusplus
81835 #endif
81838 main ()
81840 return f != $ac_func;
81842 return 0;
81844 _ACEOF
81845 rm -f conftest.$ac_objext conftest$ac_exeext
81846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81847 (eval $ac_link) 2>conftest.er1
81848 ac_status=$?
81849 grep -v '^ *+' conftest.er1 >conftest.err
81850 rm -f conftest.er1
81851 cat conftest.err >&5
81852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81853 (exit $ac_status); } &&
81854 { ac_try='test -z "$ac_c_werror_flag"
81855 || test ! -s conftest.err'
81856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81857 (eval $ac_try) 2>&5
81858 ac_status=$?
81859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81860 (exit $ac_status); }; } &&
81861 { ac_try='test -s conftest$ac_exeext'
81862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81863 (eval $ac_try) 2>&5
81864 ac_status=$?
81865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81866 (exit $ac_status); }; }; then
81867 eval "$as_ac_var=yes"
81868 else
81869 echo "$as_me: failed program was:" >&5
81870 sed 's/^/| /' conftest.$ac_ext >&5
81872 eval "$as_ac_var=no"
81874 rm -f conftest.err conftest.$ac_objext \
81875 conftest$ac_exeext conftest.$ac_ext
81877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81879 if test `eval echo '${'$as_ac_var'}'` = yes; then
81880 cat >>confdefs.h <<_ACEOF
81881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81882 _ACEOF
81883 ac_XPG2funcs=yes
81884 else
81885 ac_XPG2funcs=no
81887 done
81890 LIBS="$ac_save_LIBS"
81892 if test x"$ac_has_iconv_h" = xyes &&
81893 test x"$ac_has_langinfo_h" = xyes &&
81894 test x"$ac_XPG2funcs" = xyes;
81895 then
81897 cat >>confdefs.h <<\_ACEOF
81898 #define _GLIBCXX_USE_ICONV 1
81899 _ACEOF
81901 enable_iconv=yes
81904 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81905 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81906 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81907 echo "${ECHO_T}$enable_iconv" >&6
81909 cat >>confdefs.h <<\_ACEOF
81910 #define HAVE_COPYSIGN 1
81911 _ACEOF
81913 cat >>confdefs.h <<\_ACEOF
81914 #define HAVE_COPYSIGNF 1
81915 _ACEOF
81917 cat >>confdefs.h <<\_ACEOF
81918 #define HAVE_FINITEF 1
81919 _ACEOF
81921 cat >>confdefs.h <<\_ACEOF
81922 #define HAVE_FINITE 1
81923 _ACEOF
81925 cat >>confdefs.h <<\_ACEOF
81926 #define HAVE_FREXPF 1
81927 _ACEOF
81929 cat >>confdefs.h <<\_ACEOF
81930 #define HAVE_HYPOTF 1
81931 _ACEOF
81933 cat >>confdefs.h <<\_ACEOF
81934 #define HAVE_ISINF 1
81935 _ACEOF
81937 cat >>confdefs.h <<\_ACEOF
81938 #define HAVE_ISINFF 1
81939 _ACEOF
81941 cat >>confdefs.h <<\_ACEOF
81942 #define HAVE_ISNAN 1
81943 _ACEOF
81945 cat >>confdefs.h <<\_ACEOF
81946 #define HAVE_ISNANF 1
81947 _ACEOF
81949 if test x"long_double_math_on_this_cpu" = x"yes"; then
81950 cat >>confdefs.h <<\_ACEOF
81951 #define HAVE_FINITEL 1
81952 _ACEOF
81954 cat >>confdefs.h <<\_ACEOF
81955 #define HAVE_ISINFL 1
81956 _ACEOF
81958 cat >>confdefs.h <<\_ACEOF
81959 #define HAVE_ISNANL 1
81960 _ACEOF
81964 *-netware)
81973 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81974 sys/types.h locale.h float.h inttypes.h
81976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81978 echo "$as_me:$LINENO: checking for $ac_header" >&5
81979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81981 echo $ECHO_N "(cached) $ECHO_C" >&6
81983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81985 else
81986 # Is the header compilable?
81987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81989 cat >conftest.$ac_ext <<_ACEOF
81990 /* confdefs.h. */
81991 _ACEOF
81992 cat confdefs.h >>conftest.$ac_ext
81993 cat >>conftest.$ac_ext <<_ACEOF
81994 /* end confdefs.h. */
81995 $ac_includes_default
81996 #include <$ac_header>
81997 _ACEOF
81998 rm -f conftest.$ac_objext
81999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82000 (eval $ac_compile) 2>conftest.er1
82001 ac_status=$?
82002 grep -v '^ *+' conftest.er1 >conftest.err
82003 rm -f conftest.er1
82004 cat conftest.err >&5
82005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82006 (exit $ac_status); } &&
82007 { ac_try='test -z "$ac_c_werror_flag"
82008 || test ! -s conftest.err'
82009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82010 (eval $ac_try) 2>&5
82011 ac_status=$?
82012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82013 (exit $ac_status); }; } &&
82014 { ac_try='test -s conftest.$ac_objext'
82015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82016 (eval $ac_try) 2>&5
82017 ac_status=$?
82018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82019 (exit $ac_status); }; }; then
82020 ac_header_compiler=yes
82021 else
82022 echo "$as_me: failed program was:" >&5
82023 sed 's/^/| /' conftest.$ac_ext >&5
82025 ac_header_compiler=no
82027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82029 echo "${ECHO_T}$ac_header_compiler" >&6
82031 # Is the header present?
82032 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82033 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82034 cat >conftest.$ac_ext <<_ACEOF
82035 /* confdefs.h. */
82036 _ACEOF
82037 cat confdefs.h >>conftest.$ac_ext
82038 cat >>conftest.$ac_ext <<_ACEOF
82039 /* end confdefs.h. */
82040 #include <$ac_header>
82041 _ACEOF
82042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82044 ac_status=$?
82045 grep -v '^ *+' conftest.er1 >conftest.err
82046 rm -f conftest.er1
82047 cat conftest.err >&5
82048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82049 (exit $ac_status); } >/dev/null; then
82050 if test -s conftest.err; then
82051 ac_cpp_err=$ac_c_preproc_warn_flag
82052 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82053 else
82054 ac_cpp_err=
82056 else
82057 ac_cpp_err=yes
82059 if test -z "$ac_cpp_err"; then
82060 ac_header_preproc=yes
82061 else
82062 echo "$as_me: failed program was:" >&5
82063 sed 's/^/| /' conftest.$ac_ext >&5
82065 ac_header_preproc=no
82067 rm -f conftest.err conftest.$ac_ext
82068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82069 echo "${ECHO_T}$ac_header_preproc" >&6
82071 # So? What about this header?
82072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82073 yes:no: )
82074 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82075 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82077 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82078 ac_header_preproc=yes
82080 no:yes:* )
82081 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82082 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82083 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82084 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82085 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82086 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82087 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82088 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82091 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82092 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82094 cat <<\_ASBOX
82095 ## ----------------------------------------- ##
82096 ## Report this to the package-unused lists. ##
82097 ## ----------------------------------------- ##
82098 _ASBOX
82100 sed "s/^/$as_me: WARNING: /" >&2
82102 esac
82103 echo "$as_me:$LINENO: checking for $ac_header" >&5
82104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82106 echo $ECHO_N "(cached) $ECHO_C" >&6
82107 else
82108 eval "$as_ac_Header=\$ac_header_preproc"
82110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82115 cat >>confdefs.h <<_ACEOF
82116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82117 _ACEOF
82121 done
82123 SECTION_FLAGS='-ffunction-sections -fdata-sections'
82126 # If we're not using GNU ld, then there's no point in even trying these
82127 # tests. Check for that first. We should have already tested for gld
82128 # by now (in libtool), but require it now just to be safe...
82129 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82130 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82134 # The name set by libtool depends on the version of libtool. Shame on us
82135 # for depending on an impl detail, but c'est la vie. Older versions used
82136 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82137 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82138 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82139 # set (hence we're using an older libtool), then set it.
82140 if test x${with_gnu_ld+set} != xset; then
82141 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82142 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82143 with_gnu_ld=no
82144 else
82145 with_gnu_ld=$ac_cv_prog_gnu_ld
82149 # Start by getting the version number. I think the libtool test already
82150 # does some of this, but throws away the result.
82152 ldver=`$LD --version 2>/dev/null | head -1 | \
82153 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82155 glibcxx_gnu_ld_version=`echo $ldver | \
82156 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82158 # Set --gc-sections.
82159 if test x"$with_gnu_ld" = x"yes"; then
82160 # GNU ld it is! Joy and bunny rabbits!
82162 # All these tests are for C++, but run with the "C" compiler driver.
82163 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
82164 ac_test_CFLAGS="${CFLAGS+set}"
82165 ac_save_CFLAGS="$CFLAGS"
82166 CFLAGS='-x c++ -Werror -Wl,--gc-sections'
82168 # Check for -Wl,--gc-sections
82169 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82170 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82171 if test x$gcc_no_link = xyes; then
82172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82174 { (exit 1); exit 1; }; }
82176 cat >conftest.$ac_ext <<_ACEOF
82177 /* confdefs.h. */
82178 _ACEOF
82179 cat confdefs.h >>conftest.$ac_ext
82180 cat >>conftest.$ac_ext <<_ACEOF
82181 /* end confdefs.h. */
82182 int one(void) { return 1; }
82183 int two(void) { return 2; }
82186 main ()
82188 two();
82190 return 0;
82192 _ACEOF
82193 rm -f conftest.$ac_objext conftest$ac_exeext
82194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82195 (eval $ac_link) 2>conftest.er1
82196 ac_status=$?
82197 grep -v '^ *+' conftest.er1 >conftest.err
82198 rm -f conftest.er1
82199 cat conftest.err >&5
82200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82201 (exit $ac_status); } &&
82202 { ac_try='test -z "$ac_c_werror_flag"
82203 || test ! -s conftest.err'
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); }; } &&
82209 { ac_try='test -s conftest$ac_exeext'
82210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82211 (eval $ac_try) 2>&5
82212 ac_status=$?
82213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82214 (exit $ac_status); }; }; then
82215 ac_gcsections=yes
82216 else
82217 echo "$as_me: failed program was:" >&5
82218 sed 's/^/| /' conftest.$ac_ext >&5
82220 ac_gcsections=no
82222 rm -f conftest.err conftest.$ac_objext \
82223 conftest$ac_exeext conftest.$ac_ext
82224 if test "$ac_gcsections" = "yes"; then
82225 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82227 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
82228 echo "${ECHO_T}$ac_gcsections" >&6
82230 if test "$ac_test_CFLAGS" = set; then
82231 CFLAGS="$ac_save_CFLAGS"
82232 else
82233 # this is the suspicious part
82234 CFLAGS=''
82238 # Set -z,relro.
82239 # Note this is only for shared objects.
82240 ac_ld_relro=no
82241 if test x"$with_gnu_ld" = x"yes"; then
82242 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
82243 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
82244 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
82245 if test -n "$cxx_z_relo"; then
82246 OPT_LDFLAGS="-Wl,-z,relro"
82247 ac_ld_relro=yes
82249 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
82250 echo "${ECHO_T}$ac_ld_relro" >&6
82253 # Set linker optimization flags.
82254 if test x"$with_gnu_ld" = x"yes"; then
82255 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82263 echo "$as_me:$LINENO: checking for main in -lm" >&5
82264 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82265 if test "${ac_cv_lib_m_main+set}" = set; then
82266 echo $ECHO_N "(cached) $ECHO_C" >&6
82267 else
82268 ac_check_lib_save_LIBS=$LIBS
82269 LIBS="-lm $LIBS"
82270 if test x$gcc_no_link = xyes; then
82271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82273 { (exit 1); exit 1; }; }
82275 cat >conftest.$ac_ext <<_ACEOF
82276 /* confdefs.h. */
82277 _ACEOF
82278 cat confdefs.h >>conftest.$ac_ext
82279 cat >>conftest.$ac_ext <<_ACEOF
82280 /* end confdefs.h. */
82284 main ()
82286 main ();
82288 return 0;
82290 _ACEOF
82291 rm -f conftest.$ac_objext conftest$ac_exeext
82292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82293 (eval $ac_link) 2>conftest.er1
82294 ac_status=$?
82295 grep -v '^ *+' conftest.er1 >conftest.err
82296 rm -f conftest.er1
82297 cat conftest.err >&5
82298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82299 (exit $ac_status); } &&
82300 { ac_try='test -z "$ac_c_werror_flag"
82301 || test ! -s conftest.err'
82302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82303 (eval $ac_try) 2>&5
82304 ac_status=$?
82305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82306 (exit $ac_status); }; } &&
82307 { ac_try='test -s conftest$ac_exeext'
82308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82309 (eval $ac_try) 2>&5
82310 ac_status=$?
82311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82312 (exit $ac_status); }; }; then
82313 ac_cv_lib_m_main=yes
82314 else
82315 echo "$as_me: failed program was:" >&5
82316 sed 's/^/| /' conftest.$ac_ext >&5
82318 ac_cv_lib_m_main=no
82320 rm -f conftest.err conftest.$ac_objext \
82321 conftest$ac_exeext conftest.$ac_ext
82322 LIBS=$ac_check_lib_save_LIBS
82324 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82325 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82326 if test $ac_cv_lib_m_main = yes; then
82327 cat >>confdefs.h <<_ACEOF
82328 #define HAVE_LIBM 1
82329 _ACEOF
82331 LIBS="-lm $LIBS"
82336 for ac_func in copysignf
82338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82339 echo "$as_me:$LINENO: checking for $ac_func" >&5
82340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82341 if eval "test \"\${$as_ac_var+set}\" = set"; then
82342 echo $ECHO_N "(cached) $ECHO_C" >&6
82343 else
82344 if test x$gcc_no_link = xyes; then
82345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82347 { (exit 1); exit 1; }; }
82349 cat >conftest.$ac_ext <<_ACEOF
82350 /* confdefs.h. */
82351 _ACEOF
82352 cat confdefs.h >>conftest.$ac_ext
82353 cat >>conftest.$ac_ext <<_ACEOF
82354 /* end confdefs.h. */
82355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82357 #define $ac_func innocuous_$ac_func
82359 /* System header to define __stub macros and hopefully few prototypes,
82360 which can conflict with char $ac_func (); below.
82361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82362 <limits.h> exists even on freestanding compilers. */
82364 #ifdef __STDC__
82365 # include <limits.h>
82366 #else
82367 # include <assert.h>
82368 #endif
82370 #undef $ac_func
82372 /* Override any gcc2 internal prototype to avoid an error. */
82373 #ifdef __cplusplus
82374 extern "C"
82376 #endif
82377 /* We use char because int might match the return type of a gcc2
82378 builtin and then its argument prototype would still apply. */
82379 char $ac_func ();
82380 /* The GNU C library defines this for functions which it implements
82381 to always fail with ENOSYS. Some functions are actually named
82382 something starting with __ and the normal name is an alias. */
82383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82384 choke me
82385 #else
82386 char (*f) () = $ac_func;
82387 #endif
82388 #ifdef __cplusplus
82390 #endif
82393 main ()
82395 return f != $ac_func;
82397 return 0;
82399 _ACEOF
82400 rm -f conftest.$ac_objext conftest$ac_exeext
82401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82402 (eval $ac_link) 2>conftest.er1
82403 ac_status=$?
82404 grep -v '^ *+' conftest.er1 >conftest.err
82405 rm -f conftest.er1
82406 cat conftest.err >&5
82407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82408 (exit $ac_status); } &&
82409 { ac_try='test -z "$ac_c_werror_flag"
82410 || test ! -s conftest.err'
82411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82412 (eval $ac_try) 2>&5
82413 ac_status=$?
82414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82415 (exit $ac_status); }; } &&
82416 { ac_try='test -s conftest$ac_exeext'
82417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82418 (eval $ac_try) 2>&5
82419 ac_status=$?
82420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82421 (exit $ac_status); }; }; then
82422 eval "$as_ac_var=yes"
82423 else
82424 echo "$as_me: failed program was:" >&5
82425 sed 's/^/| /' conftest.$ac_ext >&5
82427 eval "$as_ac_var=no"
82429 rm -f conftest.err conftest.$ac_objext \
82430 conftest$ac_exeext conftest.$ac_ext
82432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82434 if test `eval echo '${'$as_ac_var'}'` = yes; then
82435 cat >>confdefs.h <<_ACEOF
82436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82437 _ACEOF
82439 else
82440 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82442 done
82446 for ac_func in __signbit
82448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82449 echo "$as_me:$LINENO: checking for $ac_func" >&5
82450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82451 if eval "test \"\${$as_ac_var+set}\" = set"; then
82452 echo $ECHO_N "(cached) $ECHO_C" >&6
82453 else
82454 if test x$gcc_no_link = xyes; then
82455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82457 { (exit 1); exit 1; }; }
82459 cat >conftest.$ac_ext <<_ACEOF
82460 /* confdefs.h. */
82461 _ACEOF
82462 cat confdefs.h >>conftest.$ac_ext
82463 cat >>conftest.$ac_ext <<_ACEOF
82464 /* end confdefs.h. */
82465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82467 #define $ac_func innocuous_$ac_func
82469 /* System header to define __stub macros and hopefully few prototypes,
82470 which can conflict with char $ac_func (); below.
82471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82472 <limits.h> exists even on freestanding compilers. */
82474 #ifdef __STDC__
82475 # include <limits.h>
82476 #else
82477 # include <assert.h>
82478 #endif
82480 #undef $ac_func
82482 /* Override any gcc2 internal prototype to avoid an error. */
82483 #ifdef __cplusplus
82484 extern "C"
82486 #endif
82487 /* We use char because int might match the return type of a gcc2
82488 builtin and then its argument prototype would still apply. */
82489 char $ac_func ();
82490 /* The GNU C library defines this for functions which it implements
82491 to always fail with ENOSYS. Some functions are actually named
82492 something starting with __ and the normal name is an alias. */
82493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82494 choke me
82495 #else
82496 char (*f) () = $ac_func;
82497 #endif
82498 #ifdef __cplusplus
82500 #endif
82503 main ()
82505 return f != $ac_func;
82507 return 0;
82509 _ACEOF
82510 rm -f conftest.$ac_objext conftest$ac_exeext
82511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82512 (eval $ac_link) 2>conftest.er1
82513 ac_status=$?
82514 grep -v '^ *+' conftest.er1 >conftest.err
82515 rm -f conftest.er1
82516 cat conftest.err >&5
82517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82518 (exit $ac_status); } &&
82519 { ac_try='test -z "$ac_c_werror_flag"
82520 || test ! -s conftest.err'
82521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82522 (eval $ac_try) 2>&5
82523 ac_status=$?
82524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82525 (exit $ac_status); }; } &&
82526 { ac_try='test -s conftest$ac_exeext'
82527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82528 (eval $ac_try) 2>&5
82529 ac_status=$?
82530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82531 (exit $ac_status); }; }; then
82532 eval "$as_ac_var=yes"
82533 else
82534 echo "$as_me: failed program was:" >&5
82535 sed 's/^/| /' conftest.$ac_ext >&5
82537 eval "$as_ac_var=no"
82539 rm -f conftest.err conftest.$ac_objext \
82540 conftest$ac_exeext conftest.$ac_ext
82542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82544 if test `eval echo '${'$as_ac_var'}'` = yes; then
82545 cat >>confdefs.h <<_ACEOF
82546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82547 _ACEOF
82549 else
82550 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82552 done
82556 for ac_func in __signbitf
82558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82559 echo "$as_me:$LINENO: checking for $ac_func" >&5
82560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82561 if eval "test \"\${$as_ac_var+set}\" = set"; then
82562 echo $ECHO_N "(cached) $ECHO_C" >&6
82563 else
82564 if test x$gcc_no_link = xyes; then
82565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82567 { (exit 1); exit 1; }; }
82569 cat >conftest.$ac_ext <<_ACEOF
82570 /* confdefs.h. */
82571 _ACEOF
82572 cat confdefs.h >>conftest.$ac_ext
82573 cat >>conftest.$ac_ext <<_ACEOF
82574 /* end confdefs.h. */
82575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82577 #define $ac_func innocuous_$ac_func
82579 /* System header to define __stub macros and hopefully few prototypes,
82580 which can conflict with char $ac_func (); below.
82581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82582 <limits.h> exists even on freestanding compilers. */
82584 #ifdef __STDC__
82585 # include <limits.h>
82586 #else
82587 # include <assert.h>
82588 #endif
82590 #undef $ac_func
82592 /* Override any gcc2 internal prototype to avoid an error. */
82593 #ifdef __cplusplus
82594 extern "C"
82596 #endif
82597 /* We use char because int might match the return type of a gcc2
82598 builtin and then its argument prototype would still apply. */
82599 char $ac_func ();
82600 /* The GNU C library defines this for functions which it implements
82601 to always fail with ENOSYS. Some functions are actually named
82602 something starting with __ and the normal name is an alias. */
82603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82604 choke me
82605 #else
82606 char (*f) () = $ac_func;
82607 #endif
82608 #ifdef __cplusplus
82610 #endif
82613 main ()
82615 return f != $ac_func;
82617 return 0;
82619 _ACEOF
82620 rm -f conftest.$ac_objext conftest$ac_exeext
82621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82622 (eval $ac_link) 2>conftest.er1
82623 ac_status=$?
82624 grep -v '^ *+' conftest.er1 >conftest.err
82625 rm -f conftest.er1
82626 cat conftest.err >&5
82627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82628 (exit $ac_status); } &&
82629 { ac_try='test -z "$ac_c_werror_flag"
82630 || test ! -s conftest.err'
82631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82632 (eval $ac_try) 2>&5
82633 ac_status=$?
82634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82635 (exit $ac_status); }; } &&
82636 { ac_try='test -s conftest$ac_exeext'
82637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82638 (eval $ac_try) 2>&5
82639 ac_status=$?
82640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82641 (exit $ac_status); }; }; then
82642 eval "$as_ac_var=yes"
82643 else
82644 echo "$as_me: failed program was:" >&5
82645 sed 's/^/| /' conftest.$ac_ext >&5
82647 eval "$as_ac_var=no"
82649 rm -f conftest.err conftest.$ac_objext \
82650 conftest$ac_exeext conftest.$ac_ext
82652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82654 if test `eval echo '${'$as_ac_var'}'` = yes; then
82655 cat >>confdefs.h <<_ACEOF
82656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82657 _ACEOF
82659 else
82660 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82662 done
82665 if test x$ac_cv_func_copysignl = x"yes"; then
82667 for ac_func in __signbitl
82669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82670 echo "$as_me:$LINENO: checking for $ac_func" >&5
82671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82672 if eval "test \"\${$as_ac_var+set}\" = set"; then
82673 echo $ECHO_N "(cached) $ECHO_C" >&6
82674 else
82675 if test x$gcc_no_link = xyes; then
82676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82678 { (exit 1); exit 1; }; }
82680 cat >conftest.$ac_ext <<_ACEOF
82681 /* confdefs.h. */
82682 _ACEOF
82683 cat confdefs.h >>conftest.$ac_ext
82684 cat >>conftest.$ac_ext <<_ACEOF
82685 /* end confdefs.h. */
82686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82688 #define $ac_func innocuous_$ac_func
82690 /* System header to define __stub macros and hopefully few prototypes,
82691 which can conflict with char $ac_func (); below.
82692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82693 <limits.h> exists even on freestanding compilers. */
82695 #ifdef __STDC__
82696 # include <limits.h>
82697 #else
82698 # include <assert.h>
82699 #endif
82701 #undef $ac_func
82703 /* Override any gcc2 internal prototype to avoid an error. */
82704 #ifdef __cplusplus
82705 extern "C"
82707 #endif
82708 /* We use char because int might match the return type of a gcc2
82709 builtin and then its argument prototype would still apply. */
82710 char $ac_func ();
82711 /* The GNU C library defines this for functions which it implements
82712 to always fail with ENOSYS. Some functions are actually named
82713 something starting with __ and the normal name is an alias. */
82714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82715 choke me
82716 #else
82717 char (*f) () = $ac_func;
82718 #endif
82719 #ifdef __cplusplus
82721 #endif
82724 main ()
82726 return f != $ac_func;
82728 return 0;
82730 _ACEOF
82731 rm -f conftest.$ac_objext conftest$ac_exeext
82732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82733 (eval $ac_link) 2>conftest.er1
82734 ac_status=$?
82735 grep -v '^ *+' conftest.er1 >conftest.err
82736 rm -f conftest.er1
82737 cat conftest.err >&5
82738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82739 (exit $ac_status); } &&
82740 { ac_try='test -z "$ac_c_werror_flag"
82741 || test ! -s conftest.err'
82742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82743 (eval $ac_try) 2>&5
82744 ac_status=$?
82745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82746 (exit $ac_status); }; } &&
82747 { ac_try='test -s conftest$ac_exeext'
82748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82749 (eval $ac_try) 2>&5
82750 ac_status=$?
82751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82752 (exit $ac_status); }; }; then
82753 eval "$as_ac_var=yes"
82754 else
82755 echo "$as_me: failed program was:" >&5
82756 sed 's/^/| /' conftest.$ac_ext >&5
82758 eval "$as_ac_var=no"
82760 rm -f conftest.err conftest.$ac_objext \
82761 conftest$ac_exeext conftest.$ac_ext
82763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82765 if test `eval echo '${'$as_ac_var'}'` = yes; then
82766 cat >>confdefs.h <<_ACEOF
82767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82768 _ACEOF
82770 else
82771 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82773 done
82777 # Used in libmath/Makefile.am.
82778 if test -n "$LIBMATHOBJS"; then
82779 need_libmath=yes
82785 enable_iconv=no
82786 # Only continue checking if the ISO C99 headers exist and support is on.
82787 if test x"$enable_wchar_t" = xyes; then
82789 # Use iconv for wchar_t to char conversions. As such, check for
82790 # X/Open Portability Guide, version 2 features (XPG2).
82791 if test "${ac_cv_header_iconv_h+set}" = set; then
82792 echo "$as_me:$LINENO: checking for iconv.h" >&5
82793 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82794 if test "${ac_cv_header_iconv_h+set}" = set; then
82795 echo $ECHO_N "(cached) $ECHO_C" >&6
82797 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82798 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82799 else
82800 # Is the header compilable?
82801 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82802 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82803 cat >conftest.$ac_ext <<_ACEOF
82804 /* confdefs.h. */
82805 _ACEOF
82806 cat confdefs.h >>conftest.$ac_ext
82807 cat >>conftest.$ac_ext <<_ACEOF
82808 /* end confdefs.h. */
82809 $ac_includes_default
82810 #include <iconv.h>
82811 _ACEOF
82812 rm -f conftest.$ac_objext
82813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82814 (eval $ac_compile) 2>conftest.er1
82815 ac_status=$?
82816 grep -v '^ *+' conftest.er1 >conftest.err
82817 rm -f conftest.er1
82818 cat conftest.err >&5
82819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82820 (exit $ac_status); } &&
82821 { ac_try='test -z "$ac_c_werror_flag"
82822 || test ! -s conftest.err'
82823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82824 (eval $ac_try) 2>&5
82825 ac_status=$?
82826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82827 (exit $ac_status); }; } &&
82828 { ac_try='test -s conftest.$ac_objext'
82829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82830 (eval $ac_try) 2>&5
82831 ac_status=$?
82832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82833 (exit $ac_status); }; }; then
82834 ac_header_compiler=yes
82835 else
82836 echo "$as_me: failed program was:" >&5
82837 sed 's/^/| /' conftest.$ac_ext >&5
82839 ac_header_compiler=no
82841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82842 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82843 echo "${ECHO_T}$ac_header_compiler" >&6
82845 # Is the header present?
82846 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82847 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82848 cat >conftest.$ac_ext <<_ACEOF
82849 /* confdefs.h. */
82850 _ACEOF
82851 cat confdefs.h >>conftest.$ac_ext
82852 cat >>conftest.$ac_ext <<_ACEOF
82853 /* end confdefs.h. */
82854 #include <iconv.h>
82855 _ACEOF
82856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82857 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82858 ac_status=$?
82859 grep -v '^ *+' conftest.er1 >conftest.err
82860 rm -f conftest.er1
82861 cat conftest.err >&5
82862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82863 (exit $ac_status); } >/dev/null; then
82864 if test -s conftest.err; then
82865 ac_cpp_err=$ac_c_preproc_warn_flag
82866 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82867 else
82868 ac_cpp_err=
82870 else
82871 ac_cpp_err=yes
82873 if test -z "$ac_cpp_err"; then
82874 ac_header_preproc=yes
82875 else
82876 echo "$as_me: failed program was:" >&5
82877 sed 's/^/| /' conftest.$ac_ext >&5
82879 ac_header_preproc=no
82881 rm -f conftest.err conftest.$ac_ext
82882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82883 echo "${ECHO_T}$ac_header_preproc" >&6
82885 # So? What about this header?
82886 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82887 yes:no: )
82888 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82889 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82890 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82891 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82892 ac_header_preproc=yes
82894 no:yes:* )
82895 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82896 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82897 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82898 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82899 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82900 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82901 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82902 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82903 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82904 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82905 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82906 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82908 cat <<\_ASBOX
82909 ## ----------------------------------------- ##
82910 ## Report this to the package-unused lists. ##
82911 ## ----------------------------------------- ##
82912 _ASBOX
82914 sed "s/^/$as_me: WARNING: /" >&2
82916 esac
82917 echo "$as_me:$LINENO: checking for iconv.h" >&5
82918 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82919 if test "${ac_cv_header_iconv_h+set}" = set; then
82920 echo $ECHO_N "(cached) $ECHO_C" >&6
82921 else
82922 ac_cv_header_iconv_h=$ac_header_preproc
82924 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82925 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82928 if test $ac_cv_header_iconv_h = yes; then
82929 ac_has_iconv_h=yes
82930 else
82931 ac_has_iconv_h=no
82935 if test "${ac_cv_header_langinfo_h+set}" = set; then
82936 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82937 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82938 if test "${ac_cv_header_langinfo_h+set}" = set; then
82939 echo $ECHO_N "(cached) $ECHO_C" >&6
82941 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82942 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82943 else
82944 # Is the header compilable?
82945 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82946 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82947 cat >conftest.$ac_ext <<_ACEOF
82948 /* confdefs.h. */
82949 _ACEOF
82950 cat confdefs.h >>conftest.$ac_ext
82951 cat >>conftest.$ac_ext <<_ACEOF
82952 /* end confdefs.h. */
82953 $ac_includes_default
82954 #include <langinfo.h>
82955 _ACEOF
82956 rm -f conftest.$ac_objext
82957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82958 (eval $ac_compile) 2>conftest.er1
82959 ac_status=$?
82960 grep -v '^ *+' conftest.er1 >conftest.err
82961 rm -f conftest.er1
82962 cat conftest.err >&5
82963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82964 (exit $ac_status); } &&
82965 { ac_try='test -z "$ac_c_werror_flag"
82966 || test ! -s conftest.err'
82967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82968 (eval $ac_try) 2>&5
82969 ac_status=$?
82970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82971 (exit $ac_status); }; } &&
82972 { ac_try='test -s conftest.$ac_objext'
82973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82974 (eval $ac_try) 2>&5
82975 ac_status=$?
82976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82977 (exit $ac_status); }; }; then
82978 ac_header_compiler=yes
82979 else
82980 echo "$as_me: failed program was:" >&5
82981 sed 's/^/| /' conftest.$ac_ext >&5
82983 ac_header_compiler=no
82985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82987 echo "${ECHO_T}$ac_header_compiler" >&6
82989 # Is the header present?
82990 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82991 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82992 cat >conftest.$ac_ext <<_ACEOF
82993 /* confdefs.h. */
82994 _ACEOF
82995 cat confdefs.h >>conftest.$ac_ext
82996 cat >>conftest.$ac_ext <<_ACEOF
82997 /* end confdefs.h. */
82998 #include <langinfo.h>
82999 _ACEOF
83000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83002 ac_status=$?
83003 grep -v '^ *+' conftest.er1 >conftest.err
83004 rm -f conftest.er1
83005 cat conftest.err >&5
83006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83007 (exit $ac_status); } >/dev/null; then
83008 if test -s conftest.err; then
83009 ac_cpp_err=$ac_c_preproc_warn_flag
83010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83011 else
83012 ac_cpp_err=
83014 else
83015 ac_cpp_err=yes
83017 if test -z "$ac_cpp_err"; then
83018 ac_header_preproc=yes
83019 else
83020 echo "$as_me: failed program was:" >&5
83021 sed 's/^/| /' conftest.$ac_ext >&5
83023 ac_header_preproc=no
83025 rm -f conftest.err conftest.$ac_ext
83026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83027 echo "${ECHO_T}$ac_header_preproc" >&6
83029 # So? What about this header?
83030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83031 yes:no: )
83032 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
83033 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83034 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
83035 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
83036 ac_header_preproc=yes
83038 no:yes:* )
83039 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
83040 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
83041 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
83042 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
83043 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
83044 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
83045 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
83046 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
83047 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
83048 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
83049 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
83050 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
83052 cat <<\_ASBOX
83053 ## ----------------------------------------- ##
83054 ## Report this to the package-unused lists. ##
83055 ## ----------------------------------------- ##
83056 _ASBOX
83058 sed "s/^/$as_me: WARNING: /" >&2
83060 esac
83061 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83062 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83063 if test "${ac_cv_header_langinfo_h+set}" = set; then
83064 echo $ECHO_N "(cached) $ECHO_C" >&6
83065 else
83066 ac_cv_header_langinfo_h=$ac_header_preproc
83068 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83069 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83072 if test $ac_cv_header_langinfo_h = yes; then
83073 ac_has_langinfo_h=yes
83074 else
83075 ac_has_langinfo_h=no
83080 # Check for existence of libiconv.a providing XPG2 wchar_t support.
83081 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
83082 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
83083 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
83084 echo $ECHO_N "(cached) $ECHO_C" >&6
83085 else
83086 ac_check_lib_save_LIBS=$LIBS
83087 LIBS="-liconv $LIBS"
83088 if test x$gcc_no_link = xyes; then
83089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83091 { (exit 1); exit 1; }; }
83093 cat >conftest.$ac_ext <<_ACEOF
83094 /* confdefs.h. */
83095 _ACEOF
83096 cat confdefs.h >>conftest.$ac_ext
83097 cat >>conftest.$ac_ext <<_ACEOF
83098 /* end confdefs.h. */
83100 /* Override any gcc2 internal prototype to avoid an error. */
83101 #ifdef __cplusplus
83102 extern "C"
83103 #endif
83104 /* We use char because int might match the return type of a gcc2
83105 builtin and then its argument prototype would still apply. */
83106 char iconv ();
83108 main ()
83110 iconv ();
83112 return 0;
83114 _ACEOF
83115 rm -f conftest.$ac_objext conftest$ac_exeext
83116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83117 (eval $ac_link) 2>conftest.er1
83118 ac_status=$?
83119 grep -v '^ *+' conftest.er1 >conftest.err
83120 rm -f conftest.er1
83121 cat conftest.err >&5
83122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83123 (exit $ac_status); } &&
83124 { ac_try='test -z "$ac_c_werror_flag"
83125 || test ! -s conftest.err'
83126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83127 (eval $ac_try) 2>&5
83128 ac_status=$?
83129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83130 (exit $ac_status); }; } &&
83131 { ac_try='test -s conftest$ac_exeext'
83132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83133 (eval $ac_try) 2>&5
83134 ac_status=$?
83135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83136 (exit $ac_status); }; }; then
83137 ac_cv_lib_iconv_iconv=yes
83138 else
83139 echo "$as_me: failed program was:" >&5
83140 sed 's/^/| /' conftest.$ac_ext >&5
83142 ac_cv_lib_iconv_iconv=no
83144 rm -f conftest.err conftest.$ac_objext \
83145 conftest$ac_exeext conftest.$ac_ext
83146 LIBS=$ac_check_lib_save_LIBS
83148 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
83149 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
83150 if test $ac_cv_lib_iconv_iconv = yes; then
83151 LIBICONV="-liconv"
83154 ac_save_LIBS="$LIBS"
83155 LIBS="$LIBS $LIBICONV"
83162 for ac_func in iconv_open iconv_close iconv nl_langinfo
83164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83165 echo "$as_me:$LINENO: checking for $ac_func" >&5
83166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83167 if eval "test \"\${$as_ac_var+set}\" = set"; then
83168 echo $ECHO_N "(cached) $ECHO_C" >&6
83169 else
83170 if test x$gcc_no_link = xyes; then
83171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83173 { (exit 1); exit 1; }; }
83175 cat >conftest.$ac_ext <<_ACEOF
83176 /* confdefs.h. */
83177 _ACEOF
83178 cat confdefs.h >>conftest.$ac_ext
83179 cat >>conftest.$ac_ext <<_ACEOF
83180 /* end confdefs.h. */
83181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83183 #define $ac_func innocuous_$ac_func
83185 /* System header to define __stub macros and hopefully few prototypes,
83186 which can conflict with char $ac_func (); below.
83187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83188 <limits.h> exists even on freestanding compilers. */
83190 #ifdef __STDC__
83191 # include <limits.h>
83192 #else
83193 # include <assert.h>
83194 #endif
83196 #undef $ac_func
83198 /* Override any gcc2 internal prototype to avoid an error. */
83199 #ifdef __cplusplus
83200 extern "C"
83202 #endif
83203 /* We use char because int might match the return type of a gcc2
83204 builtin and then its argument prototype would still apply. */
83205 char $ac_func ();
83206 /* The GNU C library defines this for functions which it implements
83207 to always fail with ENOSYS. Some functions are actually named
83208 something starting with __ and the normal name is an alias. */
83209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83210 choke me
83211 #else
83212 char (*f) () = $ac_func;
83213 #endif
83214 #ifdef __cplusplus
83216 #endif
83219 main ()
83221 return f != $ac_func;
83223 return 0;
83225 _ACEOF
83226 rm -f conftest.$ac_objext conftest$ac_exeext
83227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83228 (eval $ac_link) 2>conftest.er1
83229 ac_status=$?
83230 grep -v '^ *+' conftest.er1 >conftest.err
83231 rm -f conftest.er1
83232 cat conftest.err >&5
83233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83234 (exit $ac_status); } &&
83235 { ac_try='test -z "$ac_c_werror_flag"
83236 || test ! -s conftest.err'
83237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83238 (eval $ac_try) 2>&5
83239 ac_status=$?
83240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83241 (exit $ac_status); }; } &&
83242 { ac_try='test -s conftest$ac_exeext'
83243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83244 (eval $ac_try) 2>&5
83245 ac_status=$?
83246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83247 (exit $ac_status); }; }; then
83248 eval "$as_ac_var=yes"
83249 else
83250 echo "$as_me: failed program was:" >&5
83251 sed 's/^/| /' conftest.$ac_ext >&5
83253 eval "$as_ac_var=no"
83255 rm -f conftest.err conftest.$ac_objext \
83256 conftest$ac_exeext conftest.$ac_ext
83258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83260 if test `eval echo '${'$as_ac_var'}'` = yes; then
83261 cat >>confdefs.h <<_ACEOF
83262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83263 _ACEOF
83264 ac_XPG2funcs=yes
83265 else
83266 ac_XPG2funcs=no
83268 done
83271 LIBS="$ac_save_LIBS"
83273 if test x"$ac_has_iconv_h" = xyes &&
83274 test x"$ac_has_langinfo_h" = xyes &&
83275 test x"$ac_XPG2funcs" = xyes;
83276 then
83278 cat >>confdefs.h <<\_ACEOF
83279 #define _GLIBCXX_USE_ICONV 1
83280 _ACEOF
83282 enable_iconv=yes
83285 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
83286 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
83287 echo "$as_me:$LINENO: result: $enable_iconv" >&5
83288 echo "${ECHO_T}$enable_iconv" >&6
83290 cat >>confdefs.h <<\_ACEOF
83291 #define HAVE_HYPOT 1
83292 _ACEOF
83294 cat >>confdefs.h <<\_ACEOF
83295 #define HAVE_ISINF 1
83296 _ACEOF
83298 cat >>confdefs.h <<\_ACEOF
83299 #define HAVE_ISNAN 1
83300 _ACEOF
83303 # For showmanyc_helper().
83306 for ac_header in sys/ioctl.h sys/filio.h
83308 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83310 echo "$as_me:$LINENO: checking for $ac_header" >&5
83311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83313 echo $ECHO_N "(cached) $ECHO_C" >&6
83315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83317 else
83318 # Is the header compilable?
83319 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83320 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83321 cat >conftest.$ac_ext <<_ACEOF
83322 /* confdefs.h. */
83323 _ACEOF
83324 cat confdefs.h >>conftest.$ac_ext
83325 cat >>conftest.$ac_ext <<_ACEOF
83326 /* end confdefs.h. */
83327 $ac_includes_default
83328 #include <$ac_header>
83329 _ACEOF
83330 rm -f conftest.$ac_objext
83331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83332 (eval $ac_compile) 2>conftest.er1
83333 ac_status=$?
83334 grep -v '^ *+' conftest.er1 >conftest.err
83335 rm -f conftest.er1
83336 cat conftest.err >&5
83337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83338 (exit $ac_status); } &&
83339 { ac_try='test -z "$ac_c_werror_flag"
83340 || test ! -s conftest.err'
83341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83342 (eval $ac_try) 2>&5
83343 ac_status=$?
83344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83345 (exit $ac_status); }; } &&
83346 { ac_try='test -s conftest.$ac_objext'
83347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83348 (eval $ac_try) 2>&5
83349 ac_status=$?
83350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83351 (exit $ac_status); }; }; then
83352 ac_header_compiler=yes
83353 else
83354 echo "$as_me: failed program was:" >&5
83355 sed 's/^/| /' conftest.$ac_ext >&5
83357 ac_header_compiler=no
83359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83361 echo "${ECHO_T}$ac_header_compiler" >&6
83363 # Is the header present?
83364 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83365 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83366 cat >conftest.$ac_ext <<_ACEOF
83367 /* confdefs.h. */
83368 _ACEOF
83369 cat confdefs.h >>conftest.$ac_ext
83370 cat >>conftest.$ac_ext <<_ACEOF
83371 /* end confdefs.h. */
83372 #include <$ac_header>
83373 _ACEOF
83374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83376 ac_status=$?
83377 grep -v '^ *+' conftest.er1 >conftest.err
83378 rm -f conftest.er1
83379 cat conftest.err >&5
83380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83381 (exit $ac_status); } >/dev/null; then
83382 if test -s conftest.err; then
83383 ac_cpp_err=$ac_c_preproc_warn_flag
83384 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83385 else
83386 ac_cpp_err=
83388 else
83389 ac_cpp_err=yes
83391 if test -z "$ac_cpp_err"; then
83392 ac_header_preproc=yes
83393 else
83394 echo "$as_me: failed program was:" >&5
83395 sed 's/^/| /' conftest.$ac_ext >&5
83397 ac_header_preproc=no
83399 rm -f conftest.err conftest.$ac_ext
83400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83401 echo "${ECHO_T}$ac_header_preproc" >&6
83403 # So? What about this header?
83404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83405 yes:no: )
83406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83409 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83410 ac_header_preproc=yes
83412 no:yes:* )
83413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83417 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83418 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83419 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83420 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83423 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83424 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83426 cat <<\_ASBOX
83427 ## ----------------------------------------- ##
83428 ## Report this to the package-unused lists. ##
83429 ## ----------------------------------------- ##
83430 _ASBOX
83432 sed "s/^/$as_me: WARNING: /" >&2
83434 esac
83435 echo "$as_me:$LINENO: checking for $ac_header" >&5
83436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83438 echo $ECHO_N "(cached) $ECHO_C" >&6
83439 else
83440 eval "$as_ac_Header=\$ac_header_preproc"
83442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83447 cat >>confdefs.h <<_ACEOF
83448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83449 _ACEOF
83453 done
83456 echo "$as_me:$LINENO: checking for poll" >&5
83457 echo $ECHO_N "checking for poll... $ECHO_C" >&6
83458 if test "${glibcxx_cv_POLL+set}" = set; then
83459 echo $ECHO_N "(cached) $ECHO_C" >&6
83460 else
83462 if test x$gcc_no_link = xyes; then
83463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83465 { (exit 1); exit 1; }; }
83467 cat >conftest.$ac_ext <<_ACEOF
83468 /* confdefs.h. */
83469 _ACEOF
83470 cat confdefs.h >>conftest.$ac_ext
83471 cat >>conftest.$ac_ext <<_ACEOF
83472 /* end confdefs.h. */
83473 #include <poll.h>
83475 main ()
83477 struct pollfd pfd[1];
83478 pfd[0].events = POLLIN;
83479 poll(pfd, 1, 0);
83481 return 0;
83483 _ACEOF
83484 rm -f conftest.$ac_objext conftest$ac_exeext
83485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83486 (eval $ac_link) 2>conftest.er1
83487 ac_status=$?
83488 grep -v '^ *+' conftest.er1 >conftest.err
83489 rm -f conftest.er1
83490 cat conftest.err >&5
83491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83492 (exit $ac_status); } &&
83493 { ac_try='test -z "$ac_c_werror_flag"
83494 || test ! -s conftest.err'
83495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83496 (eval $ac_try) 2>&5
83497 ac_status=$?
83498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83499 (exit $ac_status); }; } &&
83500 { ac_try='test -s conftest$ac_exeext'
83501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83502 (eval $ac_try) 2>&5
83503 ac_status=$?
83504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83505 (exit $ac_status); }; }; then
83506 glibcxx_cv_POLL=yes
83507 else
83508 echo "$as_me: failed program was:" >&5
83509 sed 's/^/| /' conftest.$ac_ext >&5
83511 glibcxx_cv_POLL=no
83513 rm -f conftest.err conftest.$ac_objext \
83514 conftest$ac_exeext conftest.$ac_ext
83518 if test $glibcxx_cv_POLL = yes; then
83520 cat >>confdefs.h <<\_ACEOF
83521 #define HAVE_POLL 1
83522 _ACEOF
83525 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
83526 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
83529 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
83530 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
83531 if test "${glibcxx_cv_S_ISREG+set}" = set; then
83532 echo $ECHO_N "(cached) $ECHO_C" >&6
83533 else
83535 if test x$gcc_no_link = xyes; then
83536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83538 { (exit 1); exit 1; }; }
83540 cat >conftest.$ac_ext <<_ACEOF
83541 /* confdefs.h. */
83542 _ACEOF
83543 cat confdefs.h >>conftest.$ac_ext
83544 cat >>conftest.$ac_ext <<_ACEOF
83545 /* end confdefs.h. */
83546 #include <sys/stat.h>
83548 main ()
83550 struct stat buffer;
83551 fstat(0, &buffer);
83552 S_ISREG(buffer.st_mode);
83554 return 0;
83556 _ACEOF
83557 rm -f conftest.$ac_objext conftest$ac_exeext
83558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83559 (eval $ac_link) 2>conftest.er1
83560 ac_status=$?
83561 grep -v '^ *+' conftest.er1 >conftest.err
83562 rm -f conftest.er1
83563 cat conftest.err >&5
83564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83565 (exit $ac_status); } &&
83566 { ac_try='test -z "$ac_c_werror_flag"
83567 || test ! -s conftest.err'
83568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83569 (eval $ac_try) 2>&5
83570 ac_status=$?
83571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83572 (exit $ac_status); }; } &&
83573 { ac_try='test -s conftest$ac_exeext'
83574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83575 (eval $ac_try) 2>&5
83576 ac_status=$?
83577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83578 (exit $ac_status); }; }; then
83579 glibcxx_cv_S_ISREG=yes
83580 else
83581 echo "$as_me: failed program was:" >&5
83582 sed 's/^/| /' conftest.$ac_ext >&5
83584 glibcxx_cv_S_ISREG=no
83586 rm -f conftest.err conftest.$ac_objext \
83587 conftest$ac_exeext conftest.$ac_ext
83591 if test "${glibcxx_cv_S_IFREG+set}" = set; then
83592 echo $ECHO_N "(cached) $ECHO_C" >&6
83593 else
83595 if test x$gcc_no_link = xyes; then
83596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83598 { (exit 1); exit 1; }; }
83600 cat >conftest.$ac_ext <<_ACEOF
83601 /* confdefs.h. */
83602 _ACEOF
83603 cat confdefs.h >>conftest.$ac_ext
83604 cat >>conftest.$ac_ext <<_ACEOF
83605 /* end confdefs.h. */
83606 #include <sys/stat.h>
83608 main ()
83610 struct stat buffer;
83611 fstat(0, &buffer);
83612 S_IFREG & buffer.st_mode;
83614 return 0;
83616 _ACEOF
83617 rm -f conftest.$ac_objext conftest$ac_exeext
83618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83619 (eval $ac_link) 2>conftest.er1
83620 ac_status=$?
83621 grep -v '^ *+' conftest.er1 >conftest.err
83622 rm -f conftest.er1
83623 cat conftest.err >&5
83624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83625 (exit $ac_status); } &&
83626 { ac_try='test -z "$ac_c_werror_flag"
83627 || test ! -s conftest.err'
83628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83629 (eval $ac_try) 2>&5
83630 ac_status=$?
83631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83632 (exit $ac_status); }; } &&
83633 { ac_try='test -s conftest$ac_exeext'
83634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83635 (eval $ac_try) 2>&5
83636 ac_status=$?
83637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83638 (exit $ac_status); }; }; then
83639 glibcxx_cv_S_IFREG=yes
83640 else
83641 echo "$as_me: failed program was:" >&5
83642 sed 's/^/| /' conftest.$ac_ext >&5
83644 glibcxx_cv_S_IFREG=no
83646 rm -f conftest.err conftest.$ac_objext \
83647 conftest$ac_exeext conftest.$ac_ext
83651 res=no
83652 if test $glibcxx_cv_S_ISREG = yes; then
83654 cat >>confdefs.h <<\_ACEOF
83655 #define HAVE_S_ISREG 1
83656 _ACEOF
83658 res=S_ISREG
83659 elif test $glibcxx_cv_S_IFREG = yes; then
83661 cat >>confdefs.h <<\_ACEOF
83662 #define HAVE_S_IFREG 1
83663 _ACEOF
83665 res=S_IFREG
83667 echo "$as_me:$LINENO: result: $res" >&5
83668 echo "${ECHO_T}$res" >&6
83671 # For xsputn_2().
83673 for ac_header in sys/uio.h
83675 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83677 echo "$as_me:$LINENO: checking for $ac_header" >&5
83678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83680 echo $ECHO_N "(cached) $ECHO_C" >&6
83682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83684 else
83685 # Is the header compilable?
83686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83688 cat >conftest.$ac_ext <<_ACEOF
83689 /* confdefs.h. */
83690 _ACEOF
83691 cat confdefs.h >>conftest.$ac_ext
83692 cat >>conftest.$ac_ext <<_ACEOF
83693 /* end confdefs.h. */
83694 $ac_includes_default
83695 #include <$ac_header>
83696 _ACEOF
83697 rm -f conftest.$ac_objext
83698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83699 (eval $ac_compile) 2>conftest.er1
83700 ac_status=$?
83701 grep -v '^ *+' conftest.er1 >conftest.err
83702 rm -f conftest.er1
83703 cat conftest.err >&5
83704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83705 (exit $ac_status); } &&
83706 { ac_try='test -z "$ac_c_werror_flag"
83707 || test ! -s conftest.err'
83708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83709 (eval $ac_try) 2>&5
83710 ac_status=$?
83711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83712 (exit $ac_status); }; } &&
83713 { ac_try='test -s conftest.$ac_objext'
83714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83715 (eval $ac_try) 2>&5
83716 ac_status=$?
83717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83718 (exit $ac_status); }; }; then
83719 ac_header_compiler=yes
83720 else
83721 echo "$as_me: failed program was:" >&5
83722 sed 's/^/| /' conftest.$ac_ext >&5
83724 ac_header_compiler=no
83726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83728 echo "${ECHO_T}$ac_header_compiler" >&6
83730 # Is the header present?
83731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83733 cat >conftest.$ac_ext <<_ACEOF
83734 /* confdefs.h. */
83735 _ACEOF
83736 cat confdefs.h >>conftest.$ac_ext
83737 cat >>conftest.$ac_ext <<_ACEOF
83738 /* end confdefs.h. */
83739 #include <$ac_header>
83740 _ACEOF
83741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83743 ac_status=$?
83744 grep -v '^ *+' conftest.er1 >conftest.err
83745 rm -f conftest.er1
83746 cat conftest.err >&5
83747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83748 (exit $ac_status); } >/dev/null; then
83749 if test -s conftest.err; then
83750 ac_cpp_err=$ac_c_preproc_warn_flag
83751 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83752 else
83753 ac_cpp_err=
83755 else
83756 ac_cpp_err=yes
83758 if test -z "$ac_cpp_err"; then
83759 ac_header_preproc=yes
83760 else
83761 echo "$as_me: failed program was:" >&5
83762 sed 's/^/| /' conftest.$ac_ext >&5
83764 ac_header_preproc=no
83766 rm -f conftest.err conftest.$ac_ext
83767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83768 echo "${ECHO_T}$ac_header_preproc" >&6
83770 # So? What about this header?
83771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83772 yes:no: )
83773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83777 ac_header_preproc=yes
83779 no:yes:* )
83780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83793 cat <<\_ASBOX
83794 ## ----------------------------------------- ##
83795 ## Report this to the package-unused lists. ##
83796 ## ----------------------------------------- ##
83797 _ASBOX
83799 sed "s/^/$as_me: WARNING: /" >&2
83801 esac
83802 echo "$as_me:$LINENO: checking for $ac_header" >&5
83803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83805 echo $ECHO_N "(cached) $ECHO_C" >&6
83806 else
83807 eval "$as_ac_Header=\$ac_header_preproc"
83809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83814 cat >>confdefs.h <<_ACEOF
83815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83816 _ACEOF
83820 done
83823 echo "$as_me:$LINENO: checking for writev" >&5
83824 echo $ECHO_N "checking for writev... $ECHO_C" >&6
83825 if test "${glibcxx_cv_WRITEV+set}" = set; then
83826 echo $ECHO_N "(cached) $ECHO_C" >&6
83827 else
83829 if test x$gcc_no_link = xyes; then
83830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83832 { (exit 1); exit 1; }; }
83834 cat >conftest.$ac_ext <<_ACEOF
83835 /* confdefs.h. */
83836 _ACEOF
83837 cat confdefs.h >>conftest.$ac_ext
83838 cat >>conftest.$ac_ext <<_ACEOF
83839 /* end confdefs.h. */
83840 #include <sys/uio.h>
83842 main ()
83844 struct iovec iov[2];
83845 writev(0, iov, 0);
83847 return 0;
83849 _ACEOF
83850 rm -f conftest.$ac_objext conftest$ac_exeext
83851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83852 (eval $ac_link) 2>conftest.er1
83853 ac_status=$?
83854 grep -v '^ *+' conftest.er1 >conftest.err
83855 rm -f conftest.er1
83856 cat conftest.err >&5
83857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83858 (exit $ac_status); } &&
83859 { ac_try='test -z "$ac_c_werror_flag"
83860 || test ! -s conftest.err'
83861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83862 (eval $ac_try) 2>&5
83863 ac_status=$?
83864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83865 (exit $ac_status); }; } &&
83866 { ac_try='test -s conftest$ac_exeext'
83867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83868 (eval $ac_try) 2>&5
83869 ac_status=$?
83870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83871 (exit $ac_status); }; }; then
83872 glibcxx_cv_WRITEV=yes
83873 else
83874 echo "$as_me: failed program was:" >&5
83875 sed 's/^/| /' conftest.$ac_ext >&5
83877 glibcxx_cv_WRITEV=no
83879 rm -f conftest.err conftest.$ac_objext \
83880 conftest$ac_exeext conftest.$ac_ext
83884 if test $glibcxx_cv_WRITEV = yes; then
83886 cat >>confdefs.h <<\_ACEOF
83887 #define HAVE_WRITEV 1
83888 _ACEOF
83891 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
83892 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
83895 *-qnx6.1* | *-qnx6.2*)
83896 SECTION_FLAGS='-ffunction-sections -fdata-sections'
83899 # If we're not using GNU ld, then there's no point in even trying these
83900 # tests. Check for that first. We should have already tested for gld
83901 # by now (in libtool), but require it now just to be safe...
83902 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83903 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83907 # The name set by libtool depends on the version of libtool. Shame on us
83908 # for depending on an impl detail, but c'est la vie. Older versions used
83909 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83910 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83911 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
83912 # set (hence we're using an older libtool), then set it.
83913 if test x${with_gnu_ld+set} != xset; then
83914 if test x${ac_cv_prog_gnu_ld+set} != xset; then
83915 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
83916 with_gnu_ld=no
83917 else
83918 with_gnu_ld=$ac_cv_prog_gnu_ld
83922 # Start by getting the version number. I think the libtool test already
83923 # does some of this, but throws away the result.
83925 ldver=`$LD --version 2>/dev/null | head -1 | \
83926 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83928 glibcxx_gnu_ld_version=`echo $ldver | \
83929 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83931 # Set --gc-sections.
83932 if test x"$with_gnu_ld" = x"yes"; then
83933 # GNU ld it is! Joy and bunny rabbits!
83935 # All these tests are for C++, but run with the "C" compiler driver.
83936 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
83937 ac_test_CFLAGS="${CFLAGS+set}"
83938 ac_save_CFLAGS="$CFLAGS"
83939 CFLAGS='-x c++ -Werror -Wl,--gc-sections'
83941 # Check for -Wl,--gc-sections
83942 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83943 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83944 if test x$gcc_no_link = xyes; then
83945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83947 { (exit 1); exit 1; }; }
83949 cat >conftest.$ac_ext <<_ACEOF
83950 /* confdefs.h. */
83951 _ACEOF
83952 cat confdefs.h >>conftest.$ac_ext
83953 cat >>conftest.$ac_ext <<_ACEOF
83954 /* end confdefs.h. */
83955 int one(void) { return 1; }
83956 int two(void) { return 2; }
83959 main ()
83961 two();
83963 return 0;
83965 _ACEOF
83966 rm -f conftest.$ac_objext conftest$ac_exeext
83967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83968 (eval $ac_link) 2>conftest.er1
83969 ac_status=$?
83970 grep -v '^ *+' conftest.er1 >conftest.err
83971 rm -f conftest.er1
83972 cat conftest.err >&5
83973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83974 (exit $ac_status); } &&
83975 { ac_try='test -z "$ac_c_werror_flag"
83976 || test ! -s conftest.err'
83977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83978 (eval $ac_try) 2>&5
83979 ac_status=$?
83980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83981 (exit $ac_status); }; } &&
83982 { ac_try='test -s conftest$ac_exeext'
83983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83984 (eval $ac_try) 2>&5
83985 ac_status=$?
83986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83987 (exit $ac_status); }; }; then
83988 ac_gcsections=yes
83989 else
83990 echo "$as_me: failed program was:" >&5
83991 sed 's/^/| /' conftest.$ac_ext >&5
83993 ac_gcsections=no
83995 rm -f conftest.err conftest.$ac_objext \
83996 conftest$ac_exeext conftest.$ac_ext
83997 if test "$ac_gcsections" = "yes"; then
83998 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
84000 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
84001 echo "${ECHO_T}$ac_gcsections" >&6
84003 if test "$ac_test_CFLAGS" = set; then
84004 CFLAGS="$ac_save_CFLAGS"
84005 else
84006 # this is the suspicious part
84007 CFLAGS=''
84011 # Set -z,relro.
84012 # Note this is only for shared objects.
84013 ac_ld_relro=no
84014 if test x"$with_gnu_ld" = x"yes"; then
84015 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
84016 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
84017 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
84018 if test -n "$cxx_z_relo"; then
84019 OPT_LDFLAGS="-Wl,-z,relro"
84020 ac_ld_relro=yes
84022 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
84023 echo "${ECHO_T}$ac_ld_relro" >&6
84026 # Set linker optimization flags.
84027 if test x"$with_gnu_ld" = x"yes"; then
84028 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
84036 echo "$as_me:$LINENO: checking for main in -lm" >&5
84037 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84038 if test "${ac_cv_lib_m_main+set}" = set; then
84039 echo $ECHO_N "(cached) $ECHO_C" >&6
84040 else
84041 ac_check_lib_save_LIBS=$LIBS
84042 LIBS="-lm $LIBS"
84043 if test x$gcc_no_link = xyes; then
84044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84046 { (exit 1); exit 1; }; }
84048 cat >conftest.$ac_ext <<_ACEOF
84049 /* confdefs.h. */
84050 _ACEOF
84051 cat confdefs.h >>conftest.$ac_ext
84052 cat >>conftest.$ac_ext <<_ACEOF
84053 /* end confdefs.h. */
84057 main ()
84059 main ();
84061 return 0;
84063 _ACEOF
84064 rm -f conftest.$ac_objext conftest$ac_exeext
84065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84066 (eval $ac_link) 2>conftest.er1
84067 ac_status=$?
84068 grep -v '^ *+' conftest.er1 >conftest.err
84069 rm -f conftest.er1
84070 cat conftest.err >&5
84071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84072 (exit $ac_status); } &&
84073 { ac_try='test -z "$ac_c_werror_flag"
84074 || test ! -s conftest.err'
84075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84076 (eval $ac_try) 2>&5
84077 ac_status=$?
84078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84079 (exit $ac_status); }; } &&
84080 { ac_try='test -s conftest$ac_exeext'
84081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84082 (eval $ac_try) 2>&5
84083 ac_status=$?
84084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84085 (exit $ac_status); }; }; then
84086 ac_cv_lib_m_main=yes
84087 else
84088 echo "$as_me: failed program was:" >&5
84089 sed 's/^/| /' conftest.$ac_ext >&5
84091 ac_cv_lib_m_main=no
84093 rm -f conftest.err conftest.$ac_objext \
84094 conftest$ac_exeext conftest.$ac_ext
84095 LIBS=$ac_check_lib_save_LIBS
84097 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84098 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84099 if test $ac_cv_lib_m_main = yes; then
84100 cat >>confdefs.h <<_ACEOF
84101 #define HAVE_LIBM 1
84102 _ACEOF
84104 LIBS="-lm $LIBS"
84109 for ac_func in copysignf
84111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84112 echo "$as_me:$LINENO: checking for $ac_func" >&5
84113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84114 if eval "test \"\${$as_ac_var+set}\" = set"; then
84115 echo $ECHO_N "(cached) $ECHO_C" >&6
84116 else
84117 if test x$gcc_no_link = xyes; then
84118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84120 { (exit 1); exit 1; }; }
84122 cat >conftest.$ac_ext <<_ACEOF
84123 /* confdefs.h. */
84124 _ACEOF
84125 cat confdefs.h >>conftest.$ac_ext
84126 cat >>conftest.$ac_ext <<_ACEOF
84127 /* end confdefs.h. */
84128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84130 #define $ac_func innocuous_$ac_func
84132 /* System header to define __stub macros and hopefully few prototypes,
84133 which can conflict with char $ac_func (); below.
84134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84135 <limits.h> exists even on freestanding compilers. */
84137 #ifdef __STDC__
84138 # include <limits.h>
84139 #else
84140 # include <assert.h>
84141 #endif
84143 #undef $ac_func
84145 /* Override any gcc2 internal prototype to avoid an error. */
84146 #ifdef __cplusplus
84147 extern "C"
84149 #endif
84150 /* We use char because int might match the return type of a gcc2
84151 builtin and then its argument prototype would still apply. */
84152 char $ac_func ();
84153 /* The GNU C library defines this for functions which it implements
84154 to always fail with ENOSYS. Some functions are actually named
84155 something starting with __ and the normal name is an alias. */
84156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84157 choke me
84158 #else
84159 char (*f) () = $ac_func;
84160 #endif
84161 #ifdef __cplusplus
84163 #endif
84166 main ()
84168 return f != $ac_func;
84170 return 0;
84172 _ACEOF
84173 rm -f conftest.$ac_objext conftest$ac_exeext
84174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84175 (eval $ac_link) 2>conftest.er1
84176 ac_status=$?
84177 grep -v '^ *+' conftest.er1 >conftest.err
84178 rm -f conftest.er1
84179 cat conftest.err >&5
84180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84181 (exit $ac_status); } &&
84182 { ac_try='test -z "$ac_c_werror_flag"
84183 || test ! -s conftest.err'
84184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84185 (eval $ac_try) 2>&5
84186 ac_status=$?
84187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84188 (exit $ac_status); }; } &&
84189 { ac_try='test -s conftest$ac_exeext'
84190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84191 (eval $ac_try) 2>&5
84192 ac_status=$?
84193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84194 (exit $ac_status); }; }; then
84195 eval "$as_ac_var=yes"
84196 else
84197 echo "$as_me: failed program was:" >&5
84198 sed 's/^/| /' conftest.$ac_ext >&5
84200 eval "$as_ac_var=no"
84202 rm -f conftest.err conftest.$ac_objext \
84203 conftest$ac_exeext conftest.$ac_ext
84205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84207 if test `eval echo '${'$as_ac_var'}'` = yes; then
84208 cat >>confdefs.h <<_ACEOF
84209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84210 _ACEOF
84212 else
84213 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84215 done
84219 for ac_func in __signbit
84221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84222 echo "$as_me:$LINENO: checking for $ac_func" >&5
84223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84224 if eval "test \"\${$as_ac_var+set}\" = set"; then
84225 echo $ECHO_N "(cached) $ECHO_C" >&6
84226 else
84227 if test x$gcc_no_link = xyes; then
84228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84230 { (exit 1); exit 1; }; }
84232 cat >conftest.$ac_ext <<_ACEOF
84233 /* confdefs.h. */
84234 _ACEOF
84235 cat confdefs.h >>conftest.$ac_ext
84236 cat >>conftest.$ac_ext <<_ACEOF
84237 /* end confdefs.h. */
84238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84240 #define $ac_func innocuous_$ac_func
84242 /* System header to define __stub macros and hopefully few prototypes,
84243 which can conflict with char $ac_func (); below.
84244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84245 <limits.h> exists even on freestanding compilers. */
84247 #ifdef __STDC__
84248 # include <limits.h>
84249 #else
84250 # include <assert.h>
84251 #endif
84253 #undef $ac_func
84255 /* Override any gcc2 internal prototype to avoid an error. */
84256 #ifdef __cplusplus
84257 extern "C"
84259 #endif
84260 /* We use char because int might match the return type of a gcc2
84261 builtin and then its argument prototype would still apply. */
84262 char $ac_func ();
84263 /* The GNU C library defines this for functions which it implements
84264 to always fail with ENOSYS. Some functions are actually named
84265 something starting with __ and the normal name is an alias. */
84266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84267 choke me
84268 #else
84269 char (*f) () = $ac_func;
84270 #endif
84271 #ifdef __cplusplus
84273 #endif
84276 main ()
84278 return f != $ac_func;
84280 return 0;
84282 _ACEOF
84283 rm -f conftest.$ac_objext conftest$ac_exeext
84284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84285 (eval $ac_link) 2>conftest.er1
84286 ac_status=$?
84287 grep -v '^ *+' conftest.er1 >conftest.err
84288 rm -f conftest.er1
84289 cat conftest.err >&5
84290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84291 (exit $ac_status); } &&
84292 { ac_try='test -z "$ac_c_werror_flag"
84293 || test ! -s conftest.err'
84294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84295 (eval $ac_try) 2>&5
84296 ac_status=$?
84297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84298 (exit $ac_status); }; } &&
84299 { ac_try='test -s conftest$ac_exeext'
84300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84301 (eval $ac_try) 2>&5
84302 ac_status=$?
84303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84304 (exit $ac_status); }; }; then
84305 eval "$as_ac_var=yes"
84306 else
84307 echo "$as_me: failed program was:" >&5
84308 sed 's/^/| /' conftest.$ac_ext >&5
84310 eval "$as_ac_var=no"
84312 rm -f conftest.err conftest.$ac_objext \
84313 conftest$ac_exeext conftest.$ac_ext
84315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84317 if test `eval echo '${'$as_ac_var'}'` = yes; then
84318 cat >>confdefs.h <<_ACEOF
84319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84320 _ACEOF
84322 else
84323 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84325 done
84329 for ac_func in __signbitf
84331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84332 echo "$as_me:$LINENO: checking for $ac_func" >&5
84333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84334 if eval "test \"\${$as_ac_var+set}\" = set"; then
84335 echo $ECHO_N "(cached) $ECHO_C" >&6
84336 else
84337 if test x$gcc_no_link = xyes; then
84338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84340 { (exit 1); exit 1; }; }
84342 cat >conftest.$ac_ext <<_ACEOF
84343 /* confdefs.h. */
84344 _ACEOF
84345 cat confdefs.h >>conftest.$ac_ext
84346 cat >>conftest.$ac_ext <<_ACEOF
84347 /* end confdefs.h. */
84348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84350 #define $ac_func innocuous_$ac_func
84352 /* System header to define __stub macros and hopefully few prototypes,
84353 which can conflict with char $ac_func (); below.
84354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84355 <limits.h> exists even on freestanding compilers. */
84357 #ifdef __STDC__
84358 # include <limits.h>
84359 #else
84360 # include <assert.h>
84361 #endif
84363 #undef $ac_func
84365 /* Override any gcc2 internal prototype to avoid an error. */
84366 #ifdef __cplusplus
84367 extern "C"
84369 #endif
84370 /* We use char because int might match the return type of a gcc2
84371 builtin and then its argument prototype would still apply. */
84372 char $ac_func ();
84373 /* The GNU C library defines this for functions which it implements
84374 to always fail with ENOSYS. Some functions are actually named
84375 something starting with __ and the normal name is an alias. */
84376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84377 choke me
84378 #else
84379 char (*f) () = $ac_func;
84380 #endif
84381 #ifdef __cplusplus
84383 #endif
84386 main ()
84388 return f != $ac_func;
84390 return 0;
84392 _ACEOF
84393 rm -f conftest.$ac_objext conftest$ac_exeext
84394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84395 (eval $ac_link) 2>conftest.er1
84396 ac_status=$?
84397 grep -v '^ *+' conftest.er1 >conftest.err
84398 rm -f conftest.er1
84399 cat conftest.err >&5
84400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84401 (exit $ac_status); } &&
84402 { ac_try='test -z "$ac_c_werror_flag"
84403 || test ! -s conftest.err'
84404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84405 (eval $ac_try) 2>&5
84406 ac_status=$?
84407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84408 (exit $ac_status); }; } &&
84409 { ac_try='test -s conftest$ac_exeext'
84410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84411 (eval $ac_try) 2>&5
84412 ac_status=$?
84413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84414 (exit $ac_status); }; }; then
84415 eval "$as_ac_var=yes"
84416 else
84417 echo "$as_me: failed program was:" >&5
84418 sed 's/^/| /' conftest.$ac_ext >&5
84420 eval "$as_ac_var=no"
84422 rm -f conftest.err conftest.$ac_objext \
84423 conftest$ac_exeext conftest.$ac_ext
84425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84427 if test `eval echo '${'$as_ac_var'}'` = yes; then
84428 cat >>confdefs.h <<_ACEOF
84429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84430 _ACEOF
84432 else
84433 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84435 done
84438 if test x$ac_cv_func_copysignl = x"yes"; then
84440 for ac_func in __signbitl
84442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84443 echo "$as_me:$LINENO: checking for $ac_func" >&5
84444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84445 if eval "test \"\${$as_ac_var+set}\" = set"; then
84446 echo $ECHO_N "(cached) $ECHO_C" >&6
84447 else
84448 if test x$gcc_no_link = xyes; then
84449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84451 { (exit 1); exit 1; }; }
84453 cat >conftest.$ac_ext <<_ACEOF
84454 /* confdefs.h. */
84455 _ACEOF
84456 cat confdefs.h >>conftest.$ac_ext
84457 cat >>conftest.$ac_ext <<_ACEOF
84458 /* end confdefs.h. */
84459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84461 #define $ac_func innocuous_$ac_func
84463 /* System header to define __stub macros and hopefully few prototypes,
84464 which can conflict with char $ac_func (); below.
84465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84466 <limits.h> exists even on freestanding compilers. */
84468 #ifdef __STDC__
84469 # include <limits.h>
84470 #else
84471 # include <assert.h>
84472 #endif
84474 #undef $ac_func
84476 /* Override any gcc2 internal prototype to avoid an error. */
84477 #ifdef __cplusplus
84478 extern "C"
84480 #endif
84481 /* We use char because int might match the return type of a gcc2
84482 builtin and then its argument prototype would still apply. */
84483 char $ac_func ();
84484 /* The GNU C library defines this for functions which it implements
84485 to always fail with ENOSYS. Some functions are actually named
84486 something starting with __ and the normal name is an alias. */
84487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84488 choke me
84489 #else
84490 char (*f) () = $ac_func;
84491 #endif
84492 #ifdef __cplusplus
84494 #endif
84497 main ()
84499 return f != $ac_func;
84501 return 0;
84503 _ACEOF
84504 rm -f conftest.$ac_objext conftest$ac_exeext
84505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84506 (eval $ac_link) 2>conftest.er1
84507 ac_status=$?
84508 grep -v '^ *+' conftest.er1 >conftest.err
84509 rm -f conftest.er1
84510 cat conftest.err >&5
84511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84512 (exit $ac_status); } &&
84513 { ac_try='test -z "$ac_c_werror_flag"
84514 || test ! -s conftest.err'
84515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84516 (eval $ac_try) 2>&5
84517 ac_status=$?
84518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84519 (exit $ac_status); }; } &&
84520 { ac_try='test -s conftest$ac_exeext'
84521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84522 (eval $ac_try) 2>&5
84523 ac_status=$?
84524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84525 (exit $ac_status); }; }; then
84526 eval "$as_ac_var=yes"
84527 else
84528 echo "$as_me: failed program was:" >&5
84529 sed 's/^/| /' conftest.$ac_ext >&5
84531 eval "$as_ac_var=no"
84533 rm -f conftest.err conftest.$ac_objext \
84534 conftest$ac_exeext conftest.$ac_ext
84536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84538 if test `eval echo '${'$as_ac_var'}'` = yes; then
84539 cat >>confdefs.h <<_ACEOF
84540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84541 _ACEOF
84543 else
84544 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84546 done
84550 # Used in libmath/Makefile.am.
84551 if test -n "$LIBMATHOBJS"; then
84552 need_libmath=yes
84558 enable_iconv=no
84559 # Only continue checking if the ISO C99 headers exist and support is on.
84560 if test x"$enable_wchar_t" = xyes; then
84562 # Use iconv for wchar_t to char conversions. As such, check for
84563 # X/Open Portability Guide, version 2 features (XPG2).
84564 if test "${ac_cv_header_iconv_h+set}" = set; then
84565 echo "$as_me:$LINENO: checking for iconv.h" >&5
84566 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84567 if test "${ac_cv_header_iconv_h+set}" = set; then
84568 echo $ECHO_N "(cached) $ECHO_C" >&6
84570 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84571 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84572 else
84573 # Is the header compilable?
84574 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84575 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84576 cat >conftest.$ac_ext <<_ACEOF
84577 /* confdefs.h. */
84578 _ACEOF
84579 cat confdefs.h >>conftest.$ac_ext
84580 cat >>conftest.$ac_ext <<_ACEOF
84581 /* end confdefs.h. */
84582 $ac_includes_default
84583 #include <iconv.h>
84584 _ACEOF
84585 rm -f conftest.$ac_objext
84586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84587 (eval $ac_compile) 2>conftest.er1
84588 ac_status=$?
84589 grep -v '^ *+' conftest.er1 >conftest.err
84590 rm -f conftest.er1
84591 cat conftest.err >&5
84592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84593 (exit $ac_status); } &&
84594 { ac_try='test -z "$ac_c_werror_flag"
84595 || test ! -s conftest.err'
84596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84597 (eval $ac_try) 2>&5
84598 ac_status=$?
84599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84600 (exit $ac_status); }; } &&
84601 { ac_try='test -s conftest.$ac_objext'
84602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84603 (eval $ac_try) 2>&5
84604 ac_status=$?
84605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84606 (exit $ac_status); }; }; then
84607 ac_header_compiler=yes
84608 else
84609 echo "$as_me: failed program was:" >&5
84610 sed 's/^/| /' conftest.$ac_ext >&5
84612 ac_header_compiler=no
84614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84616 echo "${ECHO_T}$ac_header_compiler" >&6
84618 # Is the header present?
84619 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84620 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84621 cat >conftest.$ac_ext <<_ACEOF
84622 /* confdefs.h. */
84623 _ACEOF
84624 cat confdefs.h >>conftest.$ac_ext
84625 cat >>conftest.$ac_ext <<_ACEOF
84626 /* end confdefs.h. */
84627 #include <iconv.h>
84628 _ACEOF
84629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84631 ac_status=$?
84632 grep -v '^ *+' conftest.er1 >conftest.err
84633 rm -f conftest.er1
84634 cat conftest.err >&5
84635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84636 (exit $ac_status); } >/dev/null; then
84637 if test -s conftest.err; then
84638 ac_cpp_err=$ac_c_preproc_warn_flag
84639 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84640 else
84641 ac_cpp_err=
84643 else
84644 ac_cpp_err=yes
84646 if test -z "$ac_cpp_err"; then
84647 ac_header_preproc=yes
84648 else
84649 echo "$as_me: failed program was:" >&5
84650 sed 's/^/| /' conftest.$ac_ext >&5
84652 ac_header_preproc=no
84654 rm -f conftest.err conftest.$ac_ext
84655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84656 echo "${ECHO_T}$ac_header_preproc" >&6
84658 # So? What about this header?
84659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84660 yes:no: )
84661 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84662 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84663 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84664 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84665 ac_header_preproc=yes
84667 no:yes:* )
84668 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84669 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84670 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84671 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84672 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84673 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84674 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84675 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84676 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84677 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84678 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84679 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84681 cat <<\_ASBOX
84682 ## ----------------------------------------- ##
84683 ## Report this to the package-unused lists. ##
84684 ## ----------------------------------------- ##
84685 _ASBOX
84687 sed "s/^/$as_me: WARNING: /" >&2
84689 esac
84690 echo "$as_me:$LINENO: checking for iconv.h" >&5
84691 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84692 if test "${ac_cv_header_iconv_h+set}" = set; then
84693 echo $ECHO_N "(cached) $ECHO_C" >&6
84694 else
84695 ac_cv_header_iconv_h=$ac_header_preproc
84697 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84698 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84701 if test $ac_cv_header_iconv_h = yes; then
84702 ac_has_iconv_h=yes
84703 else
84704 ac_has_iconv_h=no
84708 if test "${ac_cv_header_langinfo_h+set}" = set; then
84709 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84710 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84711 if test "${ac_cv_header_langinfo_h+set}" = set; then
84712 echo $ECHO_N "(cached) $ECHO_C" >&6
84714 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84715 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84716 else
84717 # Is the header compilable?
84718 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84719 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84720 cat >conftest.$ac_ext <<_ACEOF
84721 /* confdefs.h. */
84722 _ACEOF
84723 cat confdefs.h >>conftest.$ac_ext
84724 cat >>conftest.$ac_ext <<_ACEOF
84725 /* end confdefs.h. */
84726 $ac_includes_default
84727 #include <langinfo.h>
84728 _ACEOF
84729 rm -f conftest.$ac_objext
84730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84731 (eval $ac_compile) 2>conftest.er1
84732 ac_status=$?
84733 grep -v '^ *+' conftest.er1 >conftest.err
84734 rm -f conftest.er1
84735 cat conftest.err >&5
84736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84737 (exit $ac_status); } &&
84738 { ac_try='test -z "$ac_c_werror_flag"
84739 || test ! -s conftest.err'
84740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84741 (eval $ac_try) 2>&5
84742 ac_status=$?
84743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84744 (exit $ac_status); }; } &&
84745 { ac_try='test -s conftest.$ac_objext'
84746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84747 (eval $ac_try) 2>&5
84748 ac_status=$?
84749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84750 (exit $ac_status); }; }; then
84751 ac_header_compiler=yes
84752 else
84753 echo "$as_me: failed program was:" >&5
84754 sed 's/^/| /' conftest.$ac_ext >&5
84756 ac_header_compiler=no
84758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84760 echo "${ECHO_T}$ac_header_compiler" >&6
84762 # Is the header present?
84763 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84764 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84765 cat >conftest.$ac_ext <<_ACEOF
84766 /* confdefs.h. */
84767 _ACEOF
84768 cat confdefs.h >>conftest.$ac_ext
84769 cat >>conftest.$ac_ext <<_ACEOF
84770 /* end confdefs.h. */
84771 #include <langinfo.h>
84772 _ACEOF
84773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84774 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84775 ac_status=$?
84776 grep -v '^ *+' conftest.er1 >conftest.err
84777 rm -f conftest.er1
84778 cat conftest.err >&5
84779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84780 (exit $ac_status); } >/dev/null; then
84781 if test -s conftest.err; then
84782 ac_cpp_err=$ac_c_preproc_warn_flag
84783 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84784 else
84785 ac_cpp_err=
84787 else
84788 ac_cpp_err=yes
84790 if test -z "$ac_cpp_err"; then
84791 ac_header_preproc=yes
84792 else
84793 echo "$as_me: failed program was:" >&5
84794 sed 's/^/| /' conftest.$ac_ext >&5
84796 ac_header_preproc=no
84798 rm -f conftest.err conftest.$ac_ext
84799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84800 echo "${ECHO_T}$ac_header_preproc" >&6
84802 # So? What about this header?
84803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84804 yes:no: )
84805 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84806 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84807 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84808 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84809 ac_header_preproc=yes
84811 no:yes:* )
84812 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84813 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84814 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84815 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84816 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84817 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84818 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84819 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84820 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84821 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84822 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84823 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84825 cat <<\_ASBOX
84826 ## ----------------------------------------- ##
84827 ## Report this to the package-unused lists. ##
84828 ## ----------------------------------------- ##
84829 _ASBOX
84831 sed "s/^/$as_me: WARNING: /" >&2
84833 esac
84834 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84835 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84836 if test "${ac_cv_header_langinfo_h+set}" = set; then
84837 echo $ECHO_N "(cached) $ECHO_C" >&6
84838 else
84839 ac_cv_header_langinfo_h=$ac_header_preproc
84841 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84842 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84845 if test $ac_cv_header_langinfo_h = yes; then
84846 ac_has_langinfo_h=yes
84847 else
84848 ac_has_langinfo_h=no
84853 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84854 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84855 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84856 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84857 echo $ECHO_N "(cached) $ECHO_C" >&6
84858 else
84859 ac_check_lib_save_LIBS=$LIBS
84860 LIBS="-liconv $LIBS"
84861 if test x$gcc_no_link = xyes; then
84862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84864 { (exit 1); exit 1; }; }
84866 cat >conftest.$ac_ext <<_ACEOF
84867 /* confdefs.h. */
84868 _ACEOF
84869 cat confdefs.h >>conftest.$ac_ext
84870 cat >>conftest.$ac_ext <<_ACEOF
84871 /* end confdefs.h. */
84873 /* Override any gcc2 internal prototype to avoid an error. */
84874 #ifdef __cplusplus
84875 extern "C"
84876 #endif
84877 /* We use char because int might match the return type of a gcc2
84878 builtin and then its argument prototype would still apply. */
84879 char iconv ();
84881 main ()
84883 iconv ();
84885 return 0;
84887 _ACEOF
84888 rm -f conftest.$ac_objext conftest$ac_exeext
84889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84890 (eval $ac_link) 2>conftest.er1
84891 ac_status=$?
84892 grep -v '^ *+' conftest.er1 >conftest.err
84893 rm -f conftest.er1
84894 cat conftest.err >&5
84895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84896 (exit $ac_status); } &&
84897 { ac_try='test -z "$ac_c_werror_flag"
84898 || test ! -s conftest.err'
84899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84900 (eval $ac_try) 2>&5
84901 ac_status=$?
84902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84903 (exit $ac_status); }; } &&
84904 { ac_try='test -s conftest$ac_exeext'
84905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84906 (eval $ac_try) 2>&5
84907 ac_status=$?
84908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84909 (exit $ac_status); }; }; then
84910 ac_cv_lib_iconv_iconv=yes
84911 else
84912 echo "$as_me: failed program was:" >&5
84913 sed 's/^/| /' conftest.$ac_ext >&5
84915 ac_cv_lib_iconv_iconv=no
84917 rm -f conftest.err conftest.$ac_objext \
84918 conftest$ac_exeext conftest.$ac_ext
84919 LIBS=$ac_check_lib_save_LIBS
84921 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84922 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84923 if test $ac_cv_lib_iconv_iconv = yes; then
84924 LIBICONV="-liconv"
84927 ac_save_LIBS="$LIBS"
84928 LIBS="$LIBS $LIBICONV"
84935 for ac_func in iconv_open iconv_close iconv nl_langinfo
84937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84938 echo "$as_me:$LINENO: checking for $ac_func" >&5
84939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84940 if eval "test \"\${$as_ac_var+set}\" = set"; then
84941 echo $ECHO_N "(cached) $ECHO_C" >&6
84942 else
84943 if test x$gcc_no_link = xyes; then
84944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84946 { (exit 1); exit 1; }; }
84948 cat >conftest.$ac_ext <<_ACEOF
84949 /* confdefs.h. */
84950 _ACEOF
84951 cat confdefs.h >>conftest.$ac_ext
84952 cat >>conftest.$ac_ext <<_ACEOF
84953 /* end confdefs.h. */
84954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84956 #define $ac_func innocuous_$ac_func
84958 /* System header to define __stub macros and hopefully few prototypes,
84959 which can conflict with char $ac_func (); below.
84960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84961 <limits.h> exists even on freestanding compilers. */
84963 #ifdef __STDC__
84964 # include <limits.h>
84965 #else
84966 # include <assert.h>
84967 #endif
84969 #undef $ac_func
84971 /* Override any gcc2 internal prototype to avoid an error. */
84972 #ifdef __cplusplus
84973 extern "C"
84975 #endif
84976 /* We use char because int might match the return type of a gcc2
84977 builtin and then its argument prototype would still apply. */
84978 char $ac_func ();
84979 /* The GNU C library defines this for functions which it implements
84980 to always fail with ENOSYS. Some functions are actually named
84981 something starting with __ and the normal name is an alias. */
84982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84983 choke me
84984 #else
84985 char (*f) () = $ac_func;
84986 #endif
84987 #ifdef __cplusplus
84989 #endif
84992 main ()
84994 return f != $ac_func;
84996 return 0;
84998 _ACEOF
84999 rm -f conftest.$ac_objext conftest$ac_exeext
85000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85001 (eval $ac_link) 2>conftest.er1
85002 ac_status=$?
85003 grep -v '^ *+' conftest.er1 >conftest.err
85004 rm -f conftest.er1
85005 cat conftest.err >&5
85006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85007 (exit $ac_status); } &&
85008 { ac_try='test -z "$ac_c_werror_flag"
85009 || test ! -s conftest.err'
85010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85011 (eval $ac_try) 2>&5
85012 ac_status=$?
85013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85014 (exit $ac_status); }; } &&
85015 { ac_try='test -s conftest$ac_exeext'
85016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85017 (eval $ac_try) 2>&5
85018 ac_status=$?
85019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85020 (exit $ac_status); }; }; then
85021 eval "$as_ac_var=yes"
85022 else
85023 echo "$as_me: failed program was:" >&5
85024 sed 's/^/| /' conftest.$ac_ext >&5
85026 eval "$as_ac_var=no"
85028 rm -f conftest.err conftest.$ac_objext \
85029 conftest$ac_exeext conftest.$ac_ext
85031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85033 if test `eval echo '${'$as_ac_var'}'` = yes; then
85034 cat >>confdefs.h <<_ACEOF
85035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85036 _ACEOF
85037 ac_XPG2funcs=yes
85038 else
85039 ac_XPG2funcs=no
85041 done
85044 LIBS="$ac_save_LIBS"
85046 if test x"$ac_has_iconv_h" = xyes &&
85047 test x"$ac_has_langinfo_h" = xyes &&
85048 test x"$ac_XPG2funcs" = xyes;
85049 then
85051 cat >>confdefs.h <<\_ACEOF
85052 #define _GLIBCXX_USE_ICONV 1
85053 _ACEOF
85055 enable_iconv=yes
85058 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85059 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85060 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85061 echo "${ECHO_T}$enable_iconv" >&6
85063 cat >>confdefs.h <<\_ACEOF
85064 #define HAVE_COSF 1
85065 _ACEOF
85067 cat >>confdefs.h <<\_ACEOF
85068 #define HAVE_COSL 1
85069 _ACEOF
85071 cat >>confdefs.h <<\_ACEOF
85072 #define HAVE_COSHF 1
85073 _ACEOF
85075 cat >>confdefs.h <<\_ACEOF
85076 #define HAVE_COSHL 1
85077 _ACEOF
85079 cat >>confdefs.h <<\_ACEOF
85080 #define HAVE_LOGF 1
85081 _ACEOF
85083 cat >>confdefs.h <<\_ACEOF
85084 #define HAVE_LOGL 1
85085 _ACEOF
85087 cat >>confdefs.h <<\_ACEOF
85088 #define HAVE_LOG10F 1
85089 _ACEOF
85091 cat >>confdefs.h <<\_ACEOF
85092 #define HAVE_LOG10L 1
85093 _ACEOF
85095 cat >>confdefs.h <<\_ACEOF
85096 #define HAVE_SINF 1
85097 _ACEOF
85099 cat >>confdefs.h <<\_ACEOF
85100 #define HAVE_SINL 1
85101 _ACEOF
85103 cat >>confdefs.h <<\_ACEOF
85104 #define HAVE_SINHF 1
85105 _ACEOF
85107 cat >>confdefs.h <<\_ACEOF
85108 #define HAVE_SINHL 1
85109 _ACEOF
85112 *-solaris*)
85113 case "$target" in
85114 # *-solaris2.5)
85115 # os_include_dir="os/solaris/solaris2.5"
85116 # ;;
85117 # *-solaris2.6)
85118 # os_include_dir="os/solaris/solaris2.6"
85119 # ;;
85120 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
85121 cat >>confdefs.h <<\_ACEOF
85122 #define HAVE_GETPAGESIZE 1
85123 _ACEOF
85125 cat >>confdefs.h <<\_ACEOF
85126 #define HAVE_SIGSETJMP 1
85127 _ACEOF
85129 cat >>confdefs.h <<\_ACEOF
85130 #define HAVE_MBSTATE_T 1
85131 _ACEOF
85133 cat >>confdefs.h <<\_ACEOF
85134 #define HAVE_POLL 1
85135 _ACEOF
85137 cat >>confdefs.h <<\_ACEOF
85138 #define HAVE_S_ISREG 1
85139 _ACEOF
85141 cat >>confdefs.h <<\_ACEOF
85142 #define HAVE_LC_MESSAGES 1
85143 _ACEOF
85145 cat >>confdefs.h <<\_ACEOF
85146 #define HAVE_FINITE 1
85147 _ACEOF
85149 cat >>confdefs.h <<\_ACEOF
85150 #define HAVE_FPCLASS 1
85151 _ACEOF
85153 cat >>confdefs.h <<\_ACEOF
85154 #define HAVE_GETPAGESIZE 1
85155 _ACEOF
85157 cat >>confdefs.h <<\_ACEOF
85158 #define HAVE_NL_LANGINFO 1
85159 _ACEOF
85161 cat >>confdefs.h <<\_ACEOF
85162 #define HAVE_ICONV 1
85163 _ACEOF
85165 cat >>confdefs.h <<\_ACEOF
85166 #define HAVE_ICONV_CLOSE 1
85167 _ACEOF
85169 cat >>confdefs.h <<\_ACEOF
85170 #define HAVE_ICONV_OPEN 1
85171 _ACEOF
85173 # Look for the pieces required for wchar_t support in order to
85174 # get all the right HAVE_* macros defined.
85177 enable_iconv=no
85178 # Only continue checking if the ISO C99 headers exist and support is on.
85179 if test x"$enable_wchar_t" = xyes; then
85181 # Use iconv for wchar_t to char conversions. As such, check for
85182 # X/Open Portability Guide, version 2 features (XPG2).
85183 if test "${ac_cv_header_iconv_h+set}" = set; then
85184 echo "$as_me:$LINENO: checking for iconv.h" >&5
85185 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85186 if test "${ac_cv_header_iconv_h+set}" = set; then
85187 echo $ECHO_N "(cached) $ECHO_C" >&6
85189 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85190 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85191 else
85192 # Is the header compilable?
85193 echo "$as_me:$LINENO: checking iconv.h usability" >&5
85194 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
85195 cat >conftest.$ac_ext <<_ACEOF
85196 /* confdefs.h. */
85197 _ACEOF
85198 cat confdefs.h >>conftest.$ac_ext
85199 cat >>conftest.$ac_ext <<_ACEOF
85200 /* end confdefs.h. */
85201 $ac_includes_default
85202 #include <iconv.h>
85203 _ACEOF
85204 rm -f conftest.$ac_objext
85205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85206 (eval $ac_compile) 2>conftest.er1
85207 ac_status=$?
85208 grep -v '^ *+' conftest.er1 >conftest.err
85209 rm -f conftest.er1
85210 cat conftest.err >&5
85211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85212 (exit $ac_status); } &&
85213 { ac_try='test -z "$ac_c_werror_flag"
85214 || test ! -s conftest.err'
85215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85216 (eval $ac_try) 2>&5
85217 ac_status=$?
85218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85219 (exit $ac_status); }; } &&
85220 { ac_try='test -s conftest.$ac_objext'
85221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85222 (eval $ac_try) 2>&5
85223 ac_status=$?
85224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85225 (exit $ac_status); }; }; then
85226 ac_header_compiler=yes
85227 else
85228 echo "$as_me: failed program was:" >&5
85229 sed 's/^/| /' conftest.$ac_ext >&5
85231 ac_header_compiler=no
85233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85235 echo "${ECHO_T}$ac_header_compiler" >&6
85237 # Is the header present?
85238 echo "$as_me:$LINENO: checking iconv.h presence" >&5
85239 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
85240 cat >conftest.$ac_ext <<_ACEOF
85241 /* confdefs.h. */
85242 _ACEOF
85243 cat confdefs.h >>conftest.$ac_ext
85244 cat >>conftest.$ac_ext <<_ACEOF
85245 /* end confdefs.h. */
85246 #include <iconv.h>
85247 _ACEOF
85248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85250 ac_status=$?
85251 grep -v '^ *+' conftest.er1 >conftest.err
85252 rm -f conftest.er1
85253 cat conftest.err >&5
85254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85255 (exit $ac_status); } >/dev/null; then
85256 if test -s conftest.err; then
85257 ac_cpp_err=$ac_c_preproc_warn_flag
85258 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85259 else
85260 ac_cpp_err=
85262 else
85263 ac_cpp_err=yes
85265 if test -z "$ac_cpp_err"; then
85266 ac_header_preproc=yes
85267 else
85268 echo "$as_me: failed program was:" >&5
85269 sed 's/^/| /' conftest.$ac_ext >&5
85271 ac_header_preproc=no
85273 rm -f conftest.err conftest.$ac_ext
85274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85275 echo "${ECHO_T}$ac_header_preproc" >&6
85277 # So? What about this header?
85278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85279 yes:no: )
85280 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
85281 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85282 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
85283 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
85284 ac_header_preproc=yes
85286 no:yes:* )
85287 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
85288 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
85289 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
85290 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
85291 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
85292 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
85293 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
85294 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
85295 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
85296 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
85297 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
85298 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
85300 cat <<\_ASBOX
85301 ## ----------------------------------------- ##
85302 ## Report this to the package-unused lists. ##
85303 ## ----------------------------------------- ##
85304 _ASBOX
85306 sed "s/^/$as_me: WARNING: /" >&2
85308 esac
85309 echo "$as_me:$LINENO: checking for iconv.h" >&5
85310 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85311 if test "${ac_cv_header_iconv_h+set}" = set; then
85312 echo $ECHO_N "(cached) $ECHO_C" >&6
85313 else
85314 ac_cv_header_iconv_h=$ac_header_preproc
85316 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85317 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85320 if test $ac_cv_header_iconv_h = yes; then
85321 ac_has_iconv_h=yes
85322 else
85323 ac_has_iconv_h=no
85327 if test "${ac_cv_header_langinfo_h+set}" = set; then
85328 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85329 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85330 if test "${ac_cv_header_langinfo_h+set}" = set; then
85331 echo $ECHO_N "(cached) $ECHO_C" >&6
85333 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85334 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85335 else
85336 # Is the header compilable?
85337 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
85338 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
85339 cat >conftest.$ac_ext <<_ACEOF
85340 /* confdefs.h. */
85341 _ACEOF
85342 cat confdefs.h >>conftest.$ac_ext
85343 cat >>conftest.$ac_ext <<_ACEOF
85344 /* end confdefs.h. */
85345 $ac_includes_default
85346 #include <langinfo.h>
85347 _ACEOF
85348 rm -f conftest.$ac_objext
85349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85350 (eval $ac_compile) 2>conftest.er1
85351 ac_status=$?
85352 grep -v '^ *+' conftest.er1 >conftest.err
85353 rm -f conftest.er1
85354 cat conftest.err >&5
85355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85356 (exit $ac_status); } &&
85357 { ac_try='test -z "$ac_c_werror_flag"
85358 || test ! -s conftest.err'
85359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85360 (eval $ac_try) 2>&5
85361 ac_status=$?
85362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85363 (exit $ac_status); }; } &&
85364 { ac_try='test -s conftest.$ac_objext'
85365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85366 (eval $ac_try) 2>&5
85367 ac_status=$?
85368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85369 (exit $ac_status); }; }; then
85370 ac_header_compiler=yes
85371 else
85372 echo "$as_me: failed program was:" >&5
85373 sed 's/^/| /' conftest.$ac_ext >&5
85375 ac_header_compiler=no
85377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85379 echo "${ECHO_T}$ac_header_compiler" >&6
85381 # Is the header present?
85382 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
85383 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
85384 cat >conftest.$ac_ext <<_ACEOF
85385 /* confdefs.h. */
85386 _ACEOF
85387 cat confdefs.h >>conftest.$ac_ext
85388 cat >>conftest.$ac_ext <<_ACEOF
85389 /* end confdefs.h. */
85390 #include <langinfo.h>
85391 _ACEOF
85392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85394 ac_status=$?
85395 grep -v '^ *+' conftest.er1 >conftest.err
85396 rm -f conftest.er1
85397 cat conftest.err >&5
85398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85399 (exit $ac_status); } >/dev/null; then
85400 if test -s conftest.err; then
85401 ac_cpp_err=$ac_c_preproc_warn_flag
85402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85403 else
85404 ac_cpp_err=
85406 else
85407 ac_cpp_err=yes
85409 if test -z "$ac_cpp_err"; then
85410 ac_header_preproc=yes
85411 else
85412 echo "$as_me: failed program was:" >&5
85413 sed 's/^/| /' conftest.$ac_ext >&5
85415 ac_header_preproc=no
85417 rm -f conftest.err conftest.$ac_ext
85418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85419 echo "${ECHO_T}$ac_header_preproc" >&6
85421 # So? What about this header?
85422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85423 yes:no: )
85424 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
85425 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85426 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
85427 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
85428 ac_header_preproc=yes
85430 no:yes:* )
85431 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
85432 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
85433 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
85434 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
85435 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
85436 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
85437 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
85438 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
85439 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85440 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85441 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85442 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85444 cat <<\_ASBOX
85445 ## ----------------------------------------- ##
85446 ## Report this to the package-unused lists. ##
85447 ## ----------------------------------------- ##
85448 _ASBOX
85450 sed "s/^/$as_me: WARNING: /" >&2
85452 esac
85453 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85454 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85455 if test "${ac_cv_header_langinfo_h+set}" = set; then
85456 echo $ECHO_N "(cached) $ECHO_C" >&6
85457 else
85458 ac_cv_header_langinfo_h=$ac_header_preproc
85460 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85461 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85464 if test $ac_cv_header_langinfo_h = yes; then
85465 ac_has_langinfo_h=yes
85466 else
85467 ac_has_langinfo_h=no
85472 # Check for existence of libiconv.a providing XPG2 wchar_t support.
85473 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85474 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85475 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85476 echo $ECHO_N "(cached) $ECHO_C" >&6
85477 else
85478 ac_check_lib_save_LIBS=$LIBS
85479 LIBS="-liconv $LIBS"
85480 if test x$gcc_no_link = xyes; then
85481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85483 { (exit 1); exit 1; }; }
85485 cat >conftest.$ac_ext <<_ACEOF
85486 /* confdefs.h. */
85487 _ACEOF
85488 cat confdefs.h >>conftest.$ac_ext
85489 cat >>conftest.$ac_ext <<_ACEOF
85490 /* end confdefs.h. */
85492 /* Override any gcc2 internal prototype to avoid an error. */
85493 #ifdef __cplusplus
85494 extern "C"
85495 #endif
85496 /* We use char because int might match the return type of a gcc2
85497 builtin and then its argument prototype would still apply. */
85498 char iconv ();
85500 main ()
85502 iconv ();
85504 return 0;
85506 _ACEOF
85507 rm -f conftest.$ac_objext conftest$ac_exeext
85508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85509 (eval $ac_link) 2>conftest.er1
85510 ac_status=$?
85511 grep -v '^ *+' conftest.er1 >conftest.err
85512 rm -f conftest.er1
85513 cat conftest.err >&5
85514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85515 (exit $ac_status); } &&
85516 { ac_try='test -z "$ac_c_werror_flag"
85517 || test ! -s conftest.err'
85518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85519 (eval $ac_try) 2>&5
85520 ac_status=$?
85521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85522 (exit $ac_status); }; } &&
85523 { ac_try='test -s conftest$ac_exeext'
85524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85525 (eval $ac_try) 2>&5
85526 ac_status=$?
85527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85528 (exit $ac_status); }; }; then
85529 ac_cv_lib_iconv_iconv=yes
85530 else
85531 echo "$as_me: failed program was:" >&5
85532 sed 's/^/| /' conftest.$ac_ext >&5
85534 ac_cv_lib_iconv_iconv=no
85536 rm -f conftest.err conftest.$ac_objext \
85537 conftest$ac_exeext conftest.$ac_ext
85538 LIBS=$ac_check_lib_save_LIBS
85540 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85541 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85542 if test $ac_cv_lib_iconv_iconv = yes; then
85543 LIBICONV="-liconv"
85546 ac_save_LIBS="$LIBS"
85547 LIBS="$LIBS $LIBICONV"
85554 for ac_func in iconv_open iconv_close iconv nl_langinfo
85556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85557 echo "$as_me:$LINENO: checking for $ac_func" >&5
85558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85559 if eval "test \"\${$as_ac_var+set}\" = set"; then
85560 echo $ECHO_N "(cached) $ECHO_C" >&6
85561 else
85562 if test x$gcc_no_link = xyes; then
85563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85565 { (exit 1); exit 1; }; }
85567 cat >conftest.$ac_ext <<_ACEOF
85568 /* confdefs.h. */
85569 _ACEOF
85570 cat confdefs.h >>conftest.$ac_ext
85571 cat >>conftest.$ac_ext <<_ACEOF
85572 /* end confdefs.h. */
85573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85575 #define $ac_func innocuous_$ac_func
85577 /* System header to define __stub macros and hopefully few prototypes,
85578 which can conflict with char $ac_func (); below.
85579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85580 <limits.h> exists even on freestanding compilers. */
85582 #ifdef __STDC__
85583 # include <limits.h>
85584 #else
85585 # include <assert.h>
85586 #endif
85588 #undef $ac_func
85590 /* Override any gcc2 internal prototype to avoid an error. */
85591 #ifdef __cplusplus
85592 extern "C"
85594 #endif
85595 /* We use char because int might match the return type of a gcc2
85596 builtin and then its argument prototype would still apply. */
85597 char $ac_func ();
85598 /* The GNU C library defines this for functions which it implements
85599 to always fail with ENOSYS. Some functions are actually named
85600 something starting with __ and the normal name is an alias. */
85601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85602 choke me
85603 #else
85604 char (*f) () = $ac_func;
85605 #endif
85606 #ifdef __cplusplus
85608 #endif
85611 main ()
85613 return f != $ac_func;
85615 return 0;
85617 _ACEOF
85618 rm -f conftest.$ac_objext conftest$ac_exeext
85619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85620 (eval $ac_link) 2>conftest.er1
85621 ac_status=$?
85622 grep -v '^ *+' conftest.er1 >conftest.err
85623 rm -f conftest.er1
85624 cat conftest.err >&5
85625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85626 (exit $ac_status); } &&
85627 { ac_try='test -z "$ac_c_werror_flag"
85628 || test ! -s conftest.err'
85629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85630 (eval $ac_try) 2>&5
85631 ac_status=$?
85632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85633 (exit $ac_status); }; } &&
85634 { ac_try='test -s conftest$ac_exeext'
85635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85636 (eval $ac_try) 2>&5
85637 ac_status=$?
85638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85639 (exit $ac_status); }; }; then
85640 eval "$as_ac_var=yes"
85641 else
85642 echo "$as_me: failed program was:" >&5
85643 sed 's/^/| /' conftest.$ac_ext >&5
85645 eval "$as_ac_var=no"
85647 rm -f conftest.err conftest.$ac_objext \
85648 conftest$ac_exeext conftest.$ac_ext
85650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85652 if test `eval echo '${'$as_ac_var'}'` = yes; then
85653 cat >>confdefs.h <<_ACEOF
85654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85655 _ACEOF
85656 ac_XPG2funcs=yes
85657 else
85658 ac_XPG2funcs=no
85660 done
85663 LIBS="$ac_save_LIBS"
85665 if test x"$ac_has_iconv_h" = xyes &&
85666 test x"$ac_has_langinfo_h" = xyes &&
85667 test x"$ac_XPG2funcs" = xyes;
85668 then
85670 cat >>confdefs.h <<\_ACEOF
85671 #define _GLIBCXX_USE_ICONV 1
85672 _ACEOF
85674 enable_iconv=yes
85677 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85678 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85679 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85680 echo "${ECHO_T}$enable_iconv" >&6
85682 # All of the dependencies for wide character support are here, so
85683 # turn it on. This requires some syncronization with the
85684 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
85685 cat >>confdefs.h <<\_ACEOF
85686 #define _GLIBCXX_USE_WCHAR_T 1
85687 _ACEOF
85689 # Are these tested for even when cross?
85690 cat >>confdefs.h <<\_ACEOF
85691 #define HAVE_FLOAT_H 1
85692 _ACEOF
85694 cat >>confdefs.h <<\_ACEOF
85695 #define HAVE_IEEEFP_H 1
85696 _ACEOF
85698 cat >>confdefs.h <<\_ACEOF
85699 #define HAVE_INTTYPES_H 1
85700 _ACEOF
85702 cat >>confdefs.h <<\_ACEOF
85703 #define HAVE_LOCALE_H 1
85704 _ACEOF
85706 cat >>confdefs.h <<\_ACEOF
85707 #define HAVE_NAN_H 1
85708 _ACEOF
85710 cat >>confdefs.h <<\_ACEOF
85711 #define HAVE_SYS_FILIO_H 1
85712 _ACEOF
85714 cat >>confdefs.h <<\_ACEOF
85715 #define HAVE_SYS_IOCTL_H 1
85716 _ACEOF
85718 cat >>confdefs.h <<\_ACEOF
85719 #define HAVE_SYS_ISA_DEFS_H 1
85720 _ACEOF
85722 cat >>confdefs.h <<\_ACEOF
85723 #define HAVE_SYS_RESOURCE_H 1
85724 _ACEOF
85726 cat >>confdefs.h <<\_ACEOF
85727 #define HAVE_SYS_TIME_H 1
85728 _ACEOF
85730 cat >>confdefs.h <<\_ACEOF
85731 #define HAVE_SYS_TYPES_H 1
85732 _ACEOF
85734 cat >>confdefs.h <<\_ACEOF
85735 #define HAVE_UNISTD_H 1
85736 _ACEOF
85738 cat >>confdefs.h <<\_ACEOF
85739 #define HAVE_WCHAR_H 1
85740 _ACEOF
85742 cat >>confdefs.h <<\_ACEOF
85743 #define HAVE_WCTYPE_H 1
85744 _ACEOF
85746 cat >>confdefs.h <<\_ACEOF
85747 #define HAVE_LIBM 1
85748 _ACEOF
85751 esac
85752 case "$target" in
85753 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
85754 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
85755 cat >>confdefs.h <<\_ACEOF
85756 #define HAVE___BUILTIN_ABS 1
85757 _ACEOF
85759 cat >>confdefs.h <<\_ACEOF
85760 #define HAVE___BUILTIN_LABS 1
85761 _ACEOF
85763 cat >>confdefs.h <<\_ACEOF
85764 #define HAVE___BUILTIN_FABS 1
85765 _ACEOF
85767 cat >>confdefs.h <<\_ACEOF
85768 #define HAVE___BUILTIN_FABSF 1
85769 _ACEOF
85771 cat >>confdefs.h <<\_ACEOF
85772 #define HAVE___BUILTIN_FABSL 1
85773 _ACEOF
85775 cat >>confdefs.h <<\_ACEOF
85776 #define HAVE___BUILTIN_COS 1
85777 _ACEOF
85779 cat >>confdefs.h <<\_ACEOF
85780 #define HAVE___BUILTIN_COSF 1
85781 _ACEOF
85783 cat >>confdefs.h <<\_ACEOF
85784 #define HAVE___BUILTIN_SIN 1
85785 _ACEOF
85787 cat >>confdefs.h <<\_ACEOF
85788 #define HAVE___BUILTIN_SINF 1
85789 _ACEOF
85792 esac
85793 case "$target" in
85794 *-*-solaris2.10)
85795 # These two C99 functions are present only in Solaris >= 10
85796 cat >>confdefs.h <<\_ACEOF
85797 #define HAVE_STRTOF 1
85798 _ACEOF
85800 cat >>confdefs.h <<\_ACEOF
85801 #define HAVE_STRTOLD 1
85802 _ACEOF
85805 esac
85806 cat >>confdefs.h <<\_ACEOF
85807 #define HAVE_MMAP 1
85808 _ACEOF
85810 cat >>confdefs.h <<\_ACEOF
85811 #define HAVE_COPYSIGN 1
85812 _ACEOF
85814 cat >>confdefs.h <<\_ACEOF
85815 #define HAVE_ISNAN 1
85816 _ACEOF
85818 cat >>confdefs.h <<\_ACEOF
85819 #define HAVE_ISNANF 1
85820 _ACEOF
85822 cat >>confdefs.h <<\_ACEOF
85823 #define HAVE_MODFF 1
85824 _ACEOF
85826 cat >>confdefs.h <<\_ACEOF
85827 #define HAVE_HYPOT 1
85828 _ACEOF
85831 *-tpf)
85840 for ac_header in nan.h endian.h machine/endian.h \
85841 sys/param.h sys/types.h locale.h float.h inttypes.h
85843 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85845 echo "$as_me:$LINENO: checking for $ac_header" >&5
85846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85848 echo $ECHO_N "(cached) $ECHO_C" >&6
85850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85852 else
85853 # Is the header compilable?
85854 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85855 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85856 cat >conftest.$ac_ext <<_ACEOF
85857 /* confdefs.h. */
85858 _ACEOF
85859 cat confdefs.h >>conftest.$ac_ext
85860 cat >>conftest.$ac_ext <<_ACEOF
85861 /* end confdefs.h. */
85862 $ac_includes_default
85863 #include <$ac_header>
85864 _ACEOF
85865 rm -f conftest.$ac_objext
85866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85867 (eval $ac_compile) 2>conftest.er1
85868 ac_status=$?
85869 grep -v '^ *+' conftest.er1 >conftest.err
85870 rm -f conftest.er1
85871 cat conftest.err >&5
85872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85873 (exit $ac_status); } &&
85874 { ac_try='test -z "$ac_c_werror_flag"
85875 || test ! -s conftest.err'
85876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85877 (eval $ac_try) 2>&5
85878 ac_status=$?
85879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85880 (exit $ac_status); }; } &&
85881 { ac_try='test -s conftest.$ac_objext'
85882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85883 (eval $ac_try) 2>&5
85884 ac_status=$?
85885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85886 (exit $ac_status); }; }; then
85887 ac_header_compiler=yes
85888 else
85889 echo "$as_me: failed program was:" >&5
85890 sed 's/^/| /' conftest.$ac_ext >&5
85892 ac_header_compiler=no
85894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85896 echo "${ECHO_T}$ac_header_compiler" >&6
85898 # Is the header present?
85899 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85900 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85901 cat >conftest.$ac_ext <<_ACEOF
85902 /* confdefs.h. */
85903 _ACEOF
85904 cat confdefs.h >>conftest.$ac_ext
85905 cat >>conftest.$ac_ext <<_ACEOF
85906 /* end confdefs.h. */
85907 #include <$ac_header>
85908 _ACEOF
85909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85910 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85911 ac_status=$?
85912 grep -v '^ *+' conftest.er1 >conftest.err
85913 rm -f conftest.er1
85914 cat conftest.err >&5
85915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85916 (exit $ac_status); } >/dev/null; then
85917 if test -s conftest.err; then
85918 ac_cpp_err=$ac_c_preproc_warn_flag
85919 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85920 else
85921 ac_cpp_err=
85923 else
85924 ac_cpp_err=yes
85926 if test -z "$ac_cpp_err"; then
85927 ac_header_preproc=yes
85928 else
85929 echo "$as_me: failed program was:" >&5
85930 sed 's/^/| /' conftest.$ac_ext >&5
85932 ac_header_preproc=no
85934 rm -f conftest.err conftest.$ac_ext
85935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85936 echo "${ECHO_T}$ac_header_preproc" >&6
85938 # So? What about this header?
85939 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85940 yes:no: )
85941 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85942 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85944 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85945 ac_header_preproc=yes
85947 no:yes:* )
85948 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85949 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85950 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85951 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85952 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85953 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85954 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85955 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85958 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85959 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85961 cat <<\_ASBOX
85962 ## ----------------------------------------- ##
85963 ## Report this to the package-unused lists. ##
85964 ## ----------------------------------------- ##
85965 _ASBOX
85967 sed "s/^/$as_me: WARNING: /" >&2
85969 esac
85970 echo "$as_me:$LINENO: checking for $ac_header" >&5
85971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85973 echo $ECHO_N "(cached) $ECHO_C" >&6
85974 else
85975 eval "$as_ac_Header=\$ac_header_preproc"
85977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85982 cat >>confdefs.h <<_ACEOF
85983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85984 _ACEOF
85988 done
85990 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85993 # If we're not using GNU ld, then there's no point in even trying these
85994 # tests. Check for that first. We should have already tested for gld
85995 # by now (in libtool), but require it now just to be safe...
85996 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85997 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86001 # The name set by libtool depends on the version of libtool. Shame on us
86002 # for depending on an impl detail, but c'est la vie. Older versions used
86003 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86004 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86005 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86006 # set (hence we're using an older libtool), then set it.
86007 if test x${with_gnu_ld+set} != xset; then
86008 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86009 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86010 with_gnu_ld=no
86011 else
86012 with_gnu_ld=$ac_cv_prog_gnu_ld
86016 # Start by getting the version number. I think the libtool test already
86017 # does some of this, but throws away the result.
86019 ldver=`$LD --version 2>/dev/null | head -1 | \
86020 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
86022 glibcxx_gnu_ld_version=`echo $ldver | \
86023 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86025 # Set --gc-sections.
86026 if test x"$with_gnu_ld" = x"yes"; then
86027 # GNU ld it is! Joy and bunny rabbits!
86029 # All these tests are for C++, but run with the "C" compiler driver.
86030 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
86031 ac_test_CFLAGS="${CFLAGS+set}"
86032 ac_save_CFLAGS="$CFLAGS"
86033 CFLAGS='-x c++ -Werror -Wl,--gc-sections'
86035 # Check for -Wl,--gc-sections
86036 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86037 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86038 if test x$gcc_no_link = xyes; then
86039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86041 { (exit 1); exit 1; }; }
86043 cat >conftest.$ac_ext <<_ACEOF
86044 /* confdefs.h. */
86045 _ACEOF
86046 cat confdefs.h >>conftest.$ac_ext
86047 cat >>conftest.$ac_ext <<_ACEOF
86048 /* end confdefs.h. */
86049 int one(void) { return 1; }
86050 int two(void) { return 2; }
86053 main ()
86055 two();
86057 return 0;
86059 _ACEOF
86060 rm -f conftest.$ac_objext conftest$ac_exeext
86061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86062 (eval $ac_link) 2>conftest.er1
86063 ac_status=$?
86064 grep -v '^ *+' conftest.er1 >conftest.err
86065 rm -f conftest.er1
86066 cat conftest.err >&5
86067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86068 (exit $ac_status); } &&
86069 { ac_try='test -z "$ac_c_werror_flag"
86070 || test ! -s conftest.err'
86071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86072 (eval $ac_try) 2>&5
86073 ac_status=$?
86074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86075 (exit $ac_status); }; } &&
86076 { ac_try='test -s conftest$ac_exeext'
86077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86078 (eval $ac_try) 2>&5
86079 ac_status=$?
86080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86081 (exit $ac_status); }; }; then
86082 ac_gcsections=yes
86083 else
86084 echo "$as_me: failed program was:" >&5
86085 sed 's/^/| /' conftest.$ac_ext >&5
86087 ac_gcsections=no
86089 rm -f conftest.err conftest.$ac_objext \
86090 conftest$ac_exeext conftest.$ac_ext
86091 if test "$ac_gcsections" = "yes"; then
86092 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86094 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86095 echo "${ECHO_T}$ac_gcsections" >&6
86097 if test "$ac_test_CFLAGS" = set; then
86098 CFLAGS="$ac_save_CFLAGS"
86099 else
86100 # this is the suspicious part
86101 CFLAGS=''
86105 # Set -z,relro.
86106 # Note this is only for shared objects.
86107 ac_ld_relro=no
86108 if test x"$with_gnu_ld" = x"yes"; then
86109 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86110 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86111 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86112 if test -n "$cxx_z_relo"; then
86113 OPT_LDFLAGS="-Wl,-z,relro"
86114 ac_ld_relro=yes
86116 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86117 echo "${ECHO_T}$ac_ld_relro" >&6
86120 # Set linker optimization flags.
86121 if test x"$with_gnu_ld" = x"yes"; then
86122 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86130 echo "$as_me:$LINENO: checking for main in -lm" >&5
86131 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86132 if test "${ac_cv_lib_m_main+set}" = set; then
86133 echo $ECHO_N "(cached) $ECHO_C" >&6
86134 else
86135 ac_check_lib_save_LIBS=$LIBS
86136 LIBS="-lm $LIBS"
86137 if test x$gcc_no_link = xyes; then
86138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86140 { (exit 1); exit 1; }; }
86142 cat >conftest.$ac_ext <<_ACEOF
86143 /* confdefs.h. */
86144 _ACEOF
86145 cat confdefs.h >>conftest.$ac_ext
86146 cat >>conftest.$ac_ext <<_ACEOF
86147 /* end confdefs.h. */
86151 main ()
86153 main ();
86155 return 0;
86157 _ACEOF
86158 rm -f conftest.$ac_objext conftest$ac_exeext
86159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86160 (eval $ac_link) 2>conftest.er1
86161 ac_status=$?
86162 grep -v '^ *+' conftest.er1 >conftest.err
86163 rm -f conftest.er1
86164 cat conftest.err >&5
86165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86166 (exit $ac_status); } &&
86167 { ac_try='test -z "$ac_c_werror_flag"
86168 || test ! -s conftest.err'
86169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86170 (eval $ac_try) 2>&5
86171 ac_status=$?
86172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86173 (exit $ac_status); }; } &&
86174 { ac_try='test -s conftest$ac_exeext'
86175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86176 (eval $ac_try) 2>&5
86177 ac_status=$?
86178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86179 (exit $ac_status); }; }; then
86180 ac_cv_lib_m_main=yes
86181 else
86182 echo "$as_me: failed program was:" >&5
86183 sed 's/^/| /' conftest.$ac_ext >&5
86185 ac_cv_lib_m_main=no
86187 rm -f conftest.err conftest.$ac_objext \
86188 conftest$ac_exeext conftest.$ac_ext
86189 LIBS=$ac_check_lib_save_LIBS
86191 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86192 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86193 if test $ac_cv_lib_m_main = yes; then
86194 cat >>confdefs.h <<_ACEOF
86195 #define HAVE_LIBM 1
86196 _ACEOF
86198 LIBS="-lm $LIBS"
86203 for ac_func in copysignf
86205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86206 echo "$as_me:$LINENO: checking for $ac_func" >&5
86207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86208 if eval "test \"\${$as_ac_var+set}\" = set"; then
86209 echo $ECHO_N "(cached) $ECHO_C" >&6
86210 else
86211 if test x$gcc_no_link = xyes; then
86212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86214 { (exit 1); exit 1; }; }
86216 cat >conftest.$ac_ext <<_ACEOF
86217 /* confdefs.h. */
86218 _ACEOF
86219 cat confdefs.h >>conftest.$ac_ext
86220 cat >>conftest.$ac_ext <<_ACEOF
86221 /* end confdefs.h. */
86222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86224 #define $ac_func innocuous_$ac_func
86226 /* System header to define __stub macros and hopefully few prototypes,
86227 which can conflict with char $ac_func (); below.
86228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86229 <limits.h> exists even on freestanding compilers. */
86231 #ifdef __STDC__
86232 # include <limits.h>
86233 #else
86234 # include <assert.h>
86235 #endif
86237 #undef $ac_func
86239 /* Override any gcc2 internal prototype to avoid an error. */
86240 #ifdef __cplusplus
86241 extern "C"
86243 #endif
86244 /* We use char because int might match the return type of a gcc2
86245 builtin and then its argument prototype would still apply. */
86246 char $ac_func ();
86247 /* The GNU C library defines this for functions which it implements
86248 to always fail with ENOSYS. Some functions are actually named
86249 something starting with __ and the normal name is an alias. */
86250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86251 choke me
86252 #else
86253 char (*f) () = $ac_func;
86254 #endif
86255 #ifdef __cplusplus
86257 #endif
86260 main ()
86262 return f != $ac_func;
86264 return 0;
86266 _ACEOF
86267 rm -f conftest.$ac_objext conftest$ac_exeext
86268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86269 (eval $ac_link) 2>conftest.er1
86270 ac_status=$?
86271 grep -v '^ *+' conftest.er1 >conftest.err
86272 rm -f conftest.er1
86273 cat conftest.err >&5
86274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86275 (exit $ac_status); } &&
86276 { ac_try='test -z "$ac_c_werror_flag"
86277 || test ! -s conftest.err'
86278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86279 (eval $ac_try) 2>&5
86280 ac_status=$?
86281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86282 (exit $ac_status); }; } &&
86283 { ac_try='test -s conftest$ac_exeext'
86284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86285 (eval $ac_try) 2>&5
86286 ac_status=$?
86287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86288 (exit $ac_status); }; }; then
86289 eval "$as_ac_var=yes"
86290 else
86291 echo "$as_me: failed program was:" >&5
86292 sed 's/^/| /' conftest.$ac_ext >&5
86294 eval "$as_ac_var=no"
86296 rm -f conftest.err conftest.$ac_objext \
86297 conftest$ac_exeext conftest.$ac_ext
86299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86301 if test `eval echo '${'$as_ac_var'}'` = yes; then
86302 cat >>confdefs.h <<_ACEOF
86303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86304 _ACEOF
86306 else
86307 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86309 done
86313 for ac_func in __signbit
86315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86316 echo "$as_me:$LINENO: checking for $ac_func" >&5
86317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86318 if eval "test \"\${$as_ac_var+set}\" = set"; then
86319 echo $ECHO_N "(cached) $ECHO_C" >&6
86320 else
86321 if test x$gcc_no_link = xyes; then
86322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86324 { (exit 1); exit 1; }; }
86326 cat >conftest.$ac_ext <<_ACEOF
86327 /* confdefs.h. */
86328 _ACEOF
86329 cat confdefs.h >>conftest.$ac_ext
86330 cat >>conftest.$ac_ext <<_ACEOF
86331 /* end confdefs.h. */
86332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86334 #define $ac_func innocuous_$ac_func
86336 /* System header to define __stub macros and hopefully few prototypes,
86337 which can conflict with char $ac_func (); below.
86338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86339 <limits.h> exists even on freestanding compilers. */
86341 #ifdef __STDC__
86342 # include <limits.h>
86343 #else
86344 # include <assert.h>
86345 #endif
86347 #undef $ac_func
86349 /* Override any gcc2 internal prototype to avoid an error. */
86350 #ifdef __cplusplus
86351 extern "C"
86353 #endif
86354 /* We use char because int might match the return type of a gcc2
86355 builtin and then its argument prototype would still apply. */
86356 char $ac_func ();
86357 /* The GNU C library defines this for functions which it implements
86358 to always fail with ENOSYS. Some functions are actually named
86359 something starting with __ and the normal name is an alias. */
86360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86361 choke me
86362 #else
86363 char (*f) () = $ac_func;
86364 #endif
86365 #ifdef __cplusplus
86367 #endif
86370 main ()
86372 return f != $ac_func;
86374 return 0;
86376 _ACEOF
86377 rm -f conftest.$ac_objext conftest$ac_exeext
86378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86379 (eval $ac_link) 2>conftest.er1
86380 ac_status=$?
86381 grep -v '^ *+' conftest.er1 >conftest.err
86382 rm -f conftest.er1
86383 cat conftest.err >&5
86384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86385 (exit $ac_status); } &&
86386 { ac_try='test -z "$ac_c_werror_flag"
86387 || test ! -s conftest.err'
86388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86389 (eval $ac_try) 2>&5
86390 ac_status=$?
86391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86392 (exit $ac_status); }; } &&
86393 { ac_try='test -s conftest$ac_exeext'
86394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86395 (eval $ac_try) 2>&5
86396 ac_status=$?
86397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86398 (exit $ac_status); }; }; then
86399 eval "$as_ac_var=yes"
86400 else
86401 echo "$as_me: failed program was:" >&5
86402 sed 's/^/| /' conftest.$ac_ext >&5
86404 eval "$as_ac_var=no"
86406 rm -f conftest.err conftest.$ac_objext \
86407 conftest$ac_exeext conftest.$ac_ext
86409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86411 if test `eval echo '${'$as_ac_var'}'` = yes; then
86412 cat >>confdefs.h <<_ACEOF
86413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86414 _ACEOF
86416 else
86417 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86419 done
86423 for ac_func in __signbitf
86425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86426 echo "$as_me:$LINENO: checking for $ac_func" >&5
86427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86428 if eval "test \"\${$as_ac_var+set}\" = set"; then
86429 echo $ECHO_N "(cached) $ECHO_C" >&6
86430 else
86431 if test x$gcc_no_link = xyes; then
86432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86434 { (exit 1); exit 1; }; }
86436 cat >conftest.$ac_ext <<_ACEOF
86437 /* confdefs.h. */
86438 _ACEOF
86439 cat confdefs.h >>conftest.$ac_ext
86440 cat >>conftest.$ac_ext <<_ACEOF
86441 /* end confdefs.h. */
86442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86444 #define $ac_func innocuous_$ac_func
86446 /* System header to define __stub macros and hopefully few prototypes,
86447 which can conflict with char $ac_func (); below.
86448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86449 <limits.h> exists even on freestanding compilers. */
86451 #ifdef __STDC__
86452 # include <limits.h>
86453 #else
86454 # include <assert.h>
86455 #endif
86457 #undef $ac_func
86459 /* Override any gcc2 internal prototype to avoid an error. */
86460 #ifdef __cplusplus
86461 extern "C"
86463 #endif
86464 /* We use char because int might match the return type of a gcc2
86465 builtin and then its argument prototype would still apply. */
86466 char $ac_func ();
86467 /* The GNU C library defines this for functions which it implements
86468 to always fail with ENOSYS. Some functions are actually named
86469 something starting with __ and the normal name is an alias. */
86470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86471 choke me
86472 #else
86473 char (*f) () = $ac_func;
86474 #endif
86475 #ifdef __cplusplus
86477 #endif
86480 main ()
86482 return f != $ac_func;
86484 return 0;
86486 _ACEOF
86487 rm -f conftest.$ac_objext conftest$ac_exeext
86488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86489 (eval $ac_link) 2>conftest.er1
86490 ac_status=$?
86491 grep -v '^ *+' conftest.er1 >conftest.err
86492 rm -f conftest.er1
86493 cat conftest.err >&5
86494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86495 (exit $ac_status); } &&
86496 { ac_try='test -z "$ac_c_werror_flag"
86497 || test ! -s conftest.err'
86498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86499 (eval $ac_try) 2>&5
86500 ac_status=$?
86501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86502 (exit $ac_status); }; } &&
86503 { ac_try='test -s conftest$ac_exeext'
86504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86505 (eval $ac_try) 2>&5
86506 ac_status=$?
86507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86508 (exit $ac_status); }; }; then
86509 eval "$as_ac_var=yes"
86510 else
86511 echo "$as_me: failed program was:" >&5
86512 sed 's/^/| /' conftest.$ac_ext >&5
86514 eval "$as_ac_var=no"
86516 rm -f conftest.err conftest.$ac_objext \
86517 conftest$ac_exeext conftest.$ac_ext
86519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86521 if test `eval echo '${'$as_ac_var'}'` = yes; then
86522 cat >>confdefs.h <<_ACEOF
86523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86524 _ACEOF
86526 else
86527 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86529 done
86532 if test x$ac_cv_func_copysignl = x"yes"; then
86534 for ac_func in __signbitl
86536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86537 echo "$as_me:$LINENO: checking for $ac_func" >&5
86538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86539 if eval "test \"\${$as_ac_var+set}\" = set"; then
86540 echo $ECHO_N "(cached) $ECHO_C" >&6
86541 else
86542 if test x$gcc_no_link = xyes; then
86543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86545 { (exit 1); exit 1; }; }
86547 cat >conftest.$ac_ext <<_ACEOF
86548 /* confdefs.h. */
86549 _ACEOF
86550 cat confdefs.h >>conftest.$ac_ext
86551 cat >>conftest.$ac_ext <<_ACEOF
86552 /* end confdefs.h. */
86553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86555 #define $ac_func innocuous_$ac_func
86557 /* System header to define __stub macros and hopefully few prototypes,
86558 which can conflict with char $ac_func (); below.
86559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86560 <limits.h> exists even on freestanding compilers. */
86562 #ifdef __STDC__
86563 # include <limits.h>
86564 #else
86565 # include <assert.h>
86566 #endif
86568 #undef $ac_func
86570 /* Override any gcc2 internal prototype to avoid an error. */
86571 #ifdef __cplusplus
86572 extern "C"
86574 #endif
86575 /* We use char because int might match the return type of a gcc2
86576 builtin and then its argument prototype would still apply. */
86577 char $ac_func ();
86578 /* The GNU C library defines this for functions which it implements
86579 to always fail with ENOSYS. Some functions are actually named
86580 something starting with __ and the normal name is an alias. */
86581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86582 choke me
86583 #else
86584 char (*f) () = $ac_func;
86585 #endif
86586 #ifdef __cplusplus
86588 #endif
86591 main ()
86593 return f != $ac_func;
86595 return 0;
86597 _ACEOF
86598 rm -f conftest.$ac_objext conftest$ac_exeext
86599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86600 (eval $ac_link) 2>conftest.er1
86601 ac_status=$?
86602 grep -v '^ *+' conftest.er1 >conftest.err
86603 rm -f conftest.er1
86604 cat conftest.err >&5
86605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86606 (exit $ac_status); } &&
86607 { ac_try='test -z "$ac_c_werror_flag"
86608 || test ! -s conftest.err'
86609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86610 (eval $ac_try) 2>&5
86611 ac_status=$?
86612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86613 (exit $ac_status); }; } &&
86614 { ac_try='test -s conftest$ac_exeext'
86615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86616 (eval $ac_try) 2>&5
86617 ac_status=$?
86618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86619 (exit $ac_status); }; }; then
86620 eval "$as_ac_var=yes"
86621 else
86622 echo "$as_me: failed program was:" >&5
86623 sed 's/^/| /' conftest.$ac_ext >&5
86625 eval "$as_ac_var=no"
86627 rm -f conftest.err conftest.$ac_objext \
86628 conftest$ac_exeext conftest.$ac_ext
86630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86632 if test `eval echo '${'$as_ac_var'}'` = yes; then
86633 cat >>confdefs.h <<_ACEOF
86634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86635 _ACEOF
86637 else
86638 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86640 done
86644 # Used in libmath/Makefile.am.
86645 if test -n "$LIBMATHOBJS"; then
86646 need_libmath=yes
86652 enable_iconv=no
86653 # Only continue checking if the ISO C99 headers exist and support is on.
86654 if test x"$enable_wchar_t" = xyes; then
86656 # Use iconv for wchar_t to char conversions. As such, check for
86657 # X/Open Portability Guide, version 2 features (XPG2).
86658 if test "${ac_cv_header_iconv_h+set}" = set; then
86659 echo "$as_me:$LINENO: checking for iconv.h" >&5
86660 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86661 if test "${ac_cv_header_iconv_h+set}" = set; then
86662 echo $ECHO_N "(cached) $ECHO_C" >&6
86664 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86665 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86666 else
86667 # Is the header compilable?
86668 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86669 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86670 cat >conftest.$ac_ext <<_ACEOF
86671 /* confdefs.h. */
86672 _ACEOF
86673 cat confdefs.h >>conftest.$ac_ext
86674 cat >>conftest.$ac_ext <<_ACEOF
86675 /* end confdefs.h. */
86676 $ac_includes_default
86677 #include <iconv.h>
86678 _ACEOF
86679 rm -f conftest.$ac_objext
86680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86681 (eval $ac_compile) 2>conftest.er1
86682 ac_status=$?
86683 grep -v '^ *+' conftest.er1 >conftest.err
86684 rm -f conftest.er1
86685 cat conftest.err >&5
86686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86687 (exit $ac_status); } &&
86688 { ac_try='test -z "$ac_c_werror_flag"
86689 || test ! -s conftest.err'
86690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86691 (eval $ac_try) 2>&5
86692 ac_status=$?
86693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86694 (exit $ac_status); }; } &&
86695 { ac_try='test -s conftest.$ac_objext'
86696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86697 (eval $ac_try) 2>&5
86698 ac_status=$?
86699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86700 (exit $ac_status); }; }; then
86701 ac_header_compiler=yes
86702 else
86703 echo "$as_me: failed program was:" >&5
86704 sed 's/^/| /' conftest.$ac_ext >&5
86706 ac_header_compiler=no
86708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86710 echo "${ECHO_T}$ac_header_compiler" >&6
86712 # Is the header present?
86713 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86714 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86715 cat >conftest.$ac_ext <<_ACEOF
86716 /* confdefs.h. */
86717 _ACEOF
86718 cat confdefs.h >>conftest.$ac_ext
86719 cat >>conftest.$ac_ext <<_ACEOF
86720 /* end confdefs.h. */
86721 #include <iconv.h>
86722 _ACEOF
86723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86725 ac_status=$?
86726 grep -v '^ *+' conftest.er1 >conftest.err
86727 rm -f conftest.er1
86728 cat conftest.err >&5
86729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86730 (exit $ac_status); } >/dev/null; then
86731 if test -s conftest.err; then
86732 ac_cpp_err=$ac_c_preproc_warn_flag
86733 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86734 else
86735 ac_cpp_err=
86737 else
86738 ac_cpp_err=yes
86740 if test -z "$ac_cpp_err"; then
86741 ac_header_preproc=yes
86742 else
86743 echo "$as_me: failed program was:" >&5
86744 sed 's/^/| /' conftest.$ac_ext >&5
86746 ac_header_preproc=no
86748 rm -f conftest.err conftest.$ac_ext
86749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86750 echo "${ECHO_T}$ac_header_preproc" >&6
86752 # So? What about this header?
86753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86754 yes:no: )
86755 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86756 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86757 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86758 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86759 ac_header_preproc=yes
86761 no:yes:* )
86762 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86763 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86764 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86765 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86766 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86767 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86768 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86769 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86770 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86771 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86772 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86773 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86775 cat <<\_ASBOX
86776 ## ----------------------------------------- ##
86777 ## Report this to the package-unused lists. ##
86778 ## ----------------------------------------- ##
86779 _ASBOX
86781 sed "s/^/$as_me: WARNING: /" >&2
86783 esac
86784 echo "$as_me:$LINENO: checking for iconv.h" >&5
86785 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86786 if test "${ac_cv_header_iconv_h+set}" = set; then
86787 echo $ECHO_N "(cached) $ECHO_C" >&6
86788 else
86789 ac_cv_header_iconv_h=$ac_header_preproc
86791 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86792 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86795 if test $ac_cv_header_iconv_h = yes; then
86796 ac_has_iconv_h=yes
86797 else
86798 ac_has_iconv_h=no
86802 if test "${ac_cv_header_langinfo_h+set}" = set; then
86803 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86804 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86805 if test "${ac_cv_header_langinfo_h+set}" = set; then
86806 echo $ECHO_N "(cached) $ECHO_C" >&6
86808 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86809 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86810 else
86811 # Is the header compilable?
86812 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86813 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86814 cat >conftest.$ac_ext <<_ACEOF
86815 /* confdefs.h. */
86816 _ACEOF
86817 cat confdefs.h >>conftest.$ac_ext
86818 cat >>conftest.$ac_ext <<_ACEOF
86819 /* end confdefs.h. */
86820 $ac_includes_default
86821 #include <langinfo.h>
86822 _ACEOF
86823 rm -f conftest.$ac_objext
86824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86825 (eval $ac_compile) 2>conftest.er1
86826 ac_status=$?
86827 grep -v '^ *+' conftest.er1 >conftest.err
86828 rm -f conftest.er1
86829 cat conftest.err >&5
86830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86831 (exit $ac_status); } &&
86832 { ac_try='test -z "$ac_c_werror_flag"
86833 || test ! -s conftest.err'
86834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86835 (eval $ac_try) 2>&5
86836 ac_status=$?
86837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86838 (exit $ac_status); }; } &&
86839 { ac_try='test -s conftest.$ac_objext'
86840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86841 (eval $ac_try) 2>&5
86842 ac_status=$?
86843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86844 (exit $ac_status); }; }; then
86845 ac_header_compiler=yes
86846 else
86847 echo "$as_me: failed program was:" >&5
86848 sed 's/^/| /' conftest.$ac_ext >&5
86850 ac_header_compiler=no
86852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86854 echo "${ECHO_T}$ac_header_compiler" >&6
86856 # Is the header present?
86857 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86858 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86859 cat >conftest.$ac_ext <<_ACEOF
86860 /* confdefs.h. */
86861 _ACEOF
86862 cat confdefs.h >>conftest.$ac_ext
86863 cat >>conftest.$ac_ext <<_ACEOF
86864 /* end confdefs.h. */
86865 #include <langinfo.h>
86866 _ACEOF
86867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86869 ac_status=$?
86870 grep -v '^ *+' conftest.er1 >conftest.err
86871 rm -f conftest.er1
86872 cat conftest.err >&5
86873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86874 (exit $ac_status); } >/dev/null; then
86875 if test -s conftest.err; then
86876 ac_cpp_err=$ac_c_preproc_warn_flag
86877 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86878 else
86879 ac_cpp_err=
86881 else
86882 ac_cpp_err=yes
86884 if test -z "$ac_cpp_err"; then
86885 ac_header_preproc=yes
86886 else
86887 echo "$as_me: failed program was:" >&5
86888 sed 's/^/| /' conftest.$ac_ext >&5
86890 ac_header_preproc=no
86892 rm -f conftest.err conftest.$ac_ext
86893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86894 echo "${ECHO_T}$ac_header_preproc" >&6
86896 # So? What about this header?
86897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86898 yes:no: )
86899 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86900 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86901 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86902 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86903 ac_header_preproc=yes
86905 no:yes:* )
86906 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86907 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86908 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86909 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86910 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86911 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86912 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86913 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86914 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86915 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86916 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86917 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86919 cat <<\_ASBOX
86920 ## ----------------------------------------- ##
86921 ## Report this to the package-unused lists. ##
86922 ## ----------------------------------------- ##
86923 _ASBOX
86925 sed "s/^/$as_me: WARNING: /" >&2
86927 esac
86928 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86929 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86930 if test "${ac_cv_header_langinfo_h+set}" = set; then
86931 echo $ECHO_N "(cached) $ECHO_C" >&6
86932 else
86933 ac_cv_header_langinfo_h=$ac_header_preproc
86935 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86936 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86939 if test $ac_cv_header_langinfo_h = yes; then
86940 ac_has_langinfo_h=yes
86941 else
86942 ac_has_langinfo_h=no
86947 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86948 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86949 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86950 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86951 echo $ECHO_N "(cached) $ECHO_C" >&6
86952 else
86953 ac_check_lib_save_LIBS=$LIBS
86954 LIBS="-liconv $LIBS"
86955 if test x$gcc_no_link = xyes; then
86956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86958 { (exit 1); exit 1; }; }
86960 cat >conftest.$ac_ext <<_ACEOF
86961 /* confdefs.h. */
86962 _ACEOF
86963 cat confdefs.h >>conftest.$ac_ext
86964 cat >>conftest.$ac_ext <<_ACEOF
86965 /* end confdefs.h. */
86967 /* Override any gcc2 internal prototype to avoid an error. */
86968 #ifdef __cplusplus
86969 extern "C"
86970 #endif
86971 /* We use char because int might match the return type of a gcc2
86972 builtin and then its argument prototype would still apply. */
86973 char iconv ();
86975 main ()
86977 iconv ();
86979 return 0;
86981 _ACEOF
86982 rm -f conftest.$ac_objext conftest$ac_exeext
86983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86984 (eval $ac_link) 2>conftest.er1
86985 ac_status=$?
86986 grep -v '^ *+' conftest.er1 >conftest.err
86987 rm -f conftest.er1
86988 cat conftest.err >&5
86989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86990 (exit $ac_status); } &&
86991 { ac_try='test -z "$ac_c_werror_flag"
86992 || test ! -s conftest.err'
86993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86994 (eval $ac_try) 2>&5
86995 ac_status=$?
86996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86997 (exit $ac_status); }; } &&
86998 { ac_try='test -s conftest$ac_exeext'
86999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87000 (eval $ac_try) 2>&5
87001 ac_status=$?
87002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87003 (exit $ac_status); }; }; then
87004 ac_cv_lib_iconv_iconv=yes
87005 else
87006 echo "$as_me: failed program was:" >&5
87007 sed 's/^/| /' conftest.$ac_ext >&5
87009 ac_cv_lib_iconv_iconv=no
87011 rm -f conftest.err conftest.$ac_objext \
87012 conftest$ac_exeext conftest.$ac_ext
87013 LIBS=$ac_check_lib_save_LIBS
87015 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
87016 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
87017 if test $ac_cv_lib_iconv_iconv = yes; then
87018 LIBICONV="-liconv"
87021 ac_save_LIBS="$LIBS"
87022 LIBS="$LIBS $LIBICONV"
87029 for ac_func in iconv_open iconv_close iconv nl_langinfo
87031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87032 echo "$as_me:$LINENO: checking for $ac_func" >&5
87033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87034 if eval "test \"\${$as_ac_var+set}\" = set"; then
87035 echo $ECHO_N "(cached) $ECHO_C" >&6
87036 else
87037 if test x$gcc_no_link = xyes; then
87038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87040 { (exit 1); exit 1; }; }
87042 cat >conftest.$ac_ext <<_ACEOF
87043 /* confdefs.h. */
87044 _ACEOF
87045 cat confdefs.h >>conftest.$ac_ext
87046 cat >>conftest.$ac_ext <<_ACEOF
87047 /* end confdefs.h. */
87048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87050 #define $ac_func innocuous_$ac_func
87052 /* System header to define __stub macros and hopefully few prototypes,
87053 which can conflict with char $ac_func (); below.
87054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87055 <limits.h> exists even on freestanding compilers. */
87057 #ifdef __STDC__
87058 # include <limits.h>
87059 #else
87060 # include <assert.h>
87061 #endif
87063 #undef $ac_func
87065 /* Override any gcc2 internal prototype to avoid an error. */
87066 #ifdef __cplusplus
87067 extern "C"
87069 #endif
87070 /* We use char because int might match the return type of a gcc2
87071 builtin and then its argument prototype would still apply. */
87072 char $ac_func ();
87073 /* The GNU C library defines this for functions which it implements
87074 to always fail with ENOSYS. Some functions are actually named
87075 something starting with __ and the normal name is an alias. */
87076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87077 choke me
87078 #else
87079 char (*f) () = $ac_func;
87080 #endif
87081 #ifdef __cplusplus
87083 #endif
87086 main ()
87088 return f != $ac_func;
87090 return 0;
87092 _ACEOF
87093 rm -f conftest.$ac_objext conftest$ac_exeext
87094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87095 (eval $ac_link) 2>conftest.er1
87096 ac_status=$?
87097 grep -v '^ *+' conftest.er1 >conftest.err
87098 rm -f conftest.er1
87099 cat conftest.err >&5
87100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87101 (exit $ac_status); } &&
87102 { ac_try='test -z "$ac_c_werror_flag"
87103 || test ! -s conftest.err'
87104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87105 (eval $ac_try) 2>&5
87106 ac_status=$?
87107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87108 (exit $ac_status); }; } &&
87109 { ac_try='test -s conftest$ac_exeext'
87110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87111 (eval $ac_try) 2>&5
87112 ac_status=$?
87113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87114 (exit $ac_status); }; }; then
87115 eval "$as_ac_var=yes"
87116 else
87117 echo "$as_me: failed program was:" >&5
87118 sed 's/^/| /' conftest.$ac_ext >&5
87120 eval "$as_ac_var=no"
87122 rm -f conftest.err conftest.$ac_objext \
87123 conftest$ac_exeext conftest.$ac_ext
87125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87127 if test `eval echo '${'$as_ac_var'}'` = yes; then
87128 cat >>confdefs.h <<_ACEOF
87129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87130 _ACEOF
87131 ac_XPG2funcs=yes
87132 else
87133 ac_XPG2funcs=no
87135 done
87138 LIBS="$ac_save_LIBS"
87140 if test x"$ac_has_iconv_h" = xyes &&
87141 test x"$ac_has_langinfo_h" = xyes &&
87142 test x"$ac_XPG2funcs" = xyes;
87143 then
87145 cat >>confdefs.h <<\_ACEOF
87146 #define _GLIBCXX_USE_ICONV 1
87147 _ACEOF
87149 enable_iconv=yes
87152 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
87153 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
87154 echo "$as_me:$LINENO: result: $enable_iconv" >&5
87155 echo "${ECHO_T}$enable_iconv" >&6
87157 cat >>confdefs.h <<\_ACEOF
87158 #define HAVE_COPYSIGN 1
87159 _ACEOF
87161 cat >>confdefs.h <<\_ACEOF
87162 #define HAVE_COPYSIGNF 1
87163 _ACEOF
87165 cat >>confdefs.h <<\_ACEOF
87166 #define HAVE_FINITE 1
87167 _ACEOF
87169 cat >>confdefs.h <<\_ACEOF
87170 #define HAVE_FINITEF 1
87171 _ACEOF
87173 cat >>confdefs.h <<\_ACEOF
87174 #define HAVE_FREXPF 1
87175 _ACEOF
87177 cat >>confdefs.h <<\_ACEOF
87178 #define HAVE_HYPOTF 1
87179 _ACEOF
87181 cat >>confdefs.h <<\_ACEOF
87182 #define HAVE_ISINF 1
87183 _ACEOF
87185 cat >>confdefs.h <<\_ACEOF
87186 #define HAVE_ISINFF 1
87187 _ACEOF
87189 cat >>confdefs.h <<\_ACEOF
87190 #define HAVE_ISNAN 1
87191 _ACEOF
87193 cat >>confdefs.h <<\_ACEOF
87194 #define HAVE_ISNANF 1
87195 _ACEOF
87197 cat >>confdefs.h <<\_ACEOF
87198 #define HAVE_SINCOS 1
87199 _ACEOF
87201 cat >>confdefs.h <<\_ACEOF
87202 #define HAVE_SINCOSF 1
87203 _ACEOF
87205 if test x"long_double_math_on_this_cpu" = x"yes"; then
87206 cat >>confdefs.h <<\_ACEOF
87207 #define HAVE_FINITEL 1
87208 _ACEOF
87210 cat >>confdefs.h <<\_ACEOF
87211 #define HAVE_HYPOTL 1
87212 _ACEOF
87214 cat >>confdefs.h <<\_ACEOF
87215 #define HAVE_ISINFL 1
87216 _ACEOF
87218 cat >>confdefs.h <<\_ACEOF
87219 #define HAVE_ISNANL 1
87220 _ACEOF
87224 *-vxworks)
87225 cat >>confdefs.h <<\_ACEOF
87226 #define HAVE_MMAP 1
87227 _ACEOF
87229 cat >>confdefs.h <<\_ACEOF
87230 #define HAVE_ACOSF 1
87231 _ACEOF
87233 cat >>confdefs.h <<\_ACEOF
87234 #define HAVE_ASINF 1
87235 _ACEOF
87237 cat >>confdefs.h <<\_ACEOF
87238 #define HAVE_ATAN2F 1
87239 _ACEOF
87241 cat >>confdefs.h <<\_ACEOF
87242 #define HAVE_ATANF 1
87243 _ACEOF
87245 cat >>confdefs.h <<\_ACEOF
87246 #define HAVE_CEILF 1
87247 _ACEOF
87249 cat >>confdefs.h <<\_ACEOF
87250 #define HAVE_COSF 1
87251 _ACEOF
87253 cat >>confdefs.h <<\_ACEOF
87254 #define HAVE_COSHF 1
87255 _ACEOF
87257 cat >>confdefs.h <<\_ACEOF
87258 #define HAVE_EXPF 1
87259 _ACEOF
87261 cat >>confdefs.h <<\_ACEOF
87262 #define HAVE_FABSF 1
87263 _ACEOF
87265 cat >>confdefs.h <<\_ACEOF
87266 #define HAVE_FLOORF 1
87267 _ACEOF
87269 cat >>confdefs.h <<\_ACEOF
87270 #define HAVE_FMODF 1
87271 _ACEOF
87273 cat >>confdefs.h <<\_ACEOF
87274 #define HAVE_HYPOT 1
87275 _ACEOF
87277 cat >>confdefs.h <<\_ACEOF
87278 #define HAVE_LOG10F 1
87279 _ACEOF
87281 cat >>confdefs.h <<\_ACEOF
87282 #define HAVE_LOGF 1
87283 _ACEOF
87285 cat >>confdefs.h <<\_ACEOF
87286 #define HAVE_POWF 1
87287 _ACEOF
87289 cat >>confdefs.h <<\_ACEOF
87290 #define HAVE_SINF 1
87291 _ACEOF
87293 cat >>confdefs.h <<\_ACEOF
87294 #define HAVE_SINHF 1
87295 _ACEOF
87297 cat >>confdefs.h <<\_ACEOF
87298 #define HAVE_SQRTF 1
87299 _ACEOF
87301 cat >>confdefs.h <<\_ACEOF
87302 #define HAVE_TANF 1
87303 _ACEOF
87305 cat >>confdefs.h <<\_ACEOF
87306 #define HAVE_TANHF 1
87307 _ACEOF
87310 *-windiss*)
87311 cat >>confdefs.h <<\_ACEOF
87312 #define HAVE_ACOSF 1
87313 _ACEOF
87315 cat >>confdefs.h <<\_ACEOF
87316 #define HAVE_ACOSL 1
87317 _ACEOF
87319 cat >>confdefs.h <<\_ACEOF
87320 #define HAVE_ASINF 1
87321 _ACEOF
87323 cat >>confdefs.h <<\_ACEOF
87324 #define HAVE_ASINL 1
87325 _ACEOF
87327 cat >>confdefs.h <<\_ACEOF
87328 #define HAVE_ATAN2F 1
87329 _ACEOF
87331 cat >>confdefs.h <<\_ACEOF
87332 #define HAVE_ATAN2L 1
87333 _ACEOF
87335 cat >>confdefs.h <<\_ACEOF
87336 #define HAVE_ATANF 1
87337 _ACEOF
87339 cat >>confdefs.h <<\_ACEOF
87340 #define HAVE_ATANL 1
87341 _ACEOF
87343 cat >>confdefs.h <<\_ACEOF
87344 #define HAVE_CEILF 1
87345 _ACEOF
87347 cat >>confdefs.h <<\_ACEOF
87348 #define HAVE_CEILL 1
87349 _ACEOF
87351 cat >>confdefs.h <<\_ACEOF
87352 #define HAVE_COPYSIGN 1
87353 _ACEOF
87355 cat >>confdefs.h <<\_ACEOF
87356 #define HAVE_COPYSIGNF 1
87357 _ACEOF
87359 cat >>confdefs.h <<\_ACEOF
87360 #define HAVE_COSF 1
87361 _ACEOF
87363 cat >>confdefs.h <<\_ACEOF
87364 #define HAVE_COSL 1
87365 _ACEOF
87367 cat >>confdefs.h <<\_ACEOF
87368 #define HAVE_COSHF 1
87369 _ACEOF
87371 cat >>confdefs.h <<\_ACEOF
87372 #define HAVE_COSHL 1
87373 _ACEOF
87375 cat >>confdefs.h <<\_ACEOF
87376 #define HAVE_EXPF 1
87377 _ACEOF
87379 cat >>confdefs.h <<\_ACEOF
87380 #define HAVE_EXPL 1
87381 _ACEOF
87383 cat >>confdefs.h <<\_ACEOF
87384 #define HAVE_FABSF 1
87385 _ACEOF
87387 cat >>confdefs.h <<\_ACEOF
87388 #define HAVE_FABSL 1
87389 _ACEOF
87391 cat >>confdefs.h <<\_ACEOF
87392 #define HAVE_FLOORF 1
87393 _ACEOF
87395 cat >>confdefs.h <<\_ACEOF
87396 #define HAVE_FLOORL 1
87397 _ACEOF
87399 cat >>confdefs.h <<\_ACEOF
87400 #define HAVE_FMODF 1
87401 _ACEOF
87403 cat >>confdefs.h <<\_ACEOF
87404 #define HAVE_FMODL 1
87405 _ACEOF
87407 cat >>confdefs.h <<\_ACEOF
87408 #define HAVE_FREXPF 1
87409 _ACEOF
87411 cat >>confdefs.h <<\_ACEOF
87412 #define HAVE_FREXPL 1
87413 _ACEOF
87415 cat >>confdefs.h <<\_ACEOF
87416 #define HAVE_LDEXPF 1
87417 _ACEOF
87419 cat >>confdefs.h <<\_ACEOF
87420 #define HAVE_LDEXPL 1
87421 _ACEOF
87423 cat >>confdefs.h <<\_ACEOF
87424 #define HAVE_LOG10F 1
87425 _ACEOF
87427 cat >>confdefs.h <<\_ACEOF
87428 #define HAVE_LOG10L 1
87429 _ACEOF
87431 cat >>confdefs.h <<\_ACEOF
87432 #define HAVE_LOGF 1
87433 _ACEOF
87435 cat >>confdefs.h <<\_ACEOF
87436 #define HAVE_MODFF 1
87437 _ACEOF
87439 cat >>confdefs.h <<\_ACEOF
87440 #define HAVE_MODFL 1
87441 _ACEOF
87443 cat >>confdefs.h <<\_ACEOF
87444 #define HAVE_POWF 1
87445 _ACEOF
87447 cat >>confdefs.h <<\_ACEOF
87448 #define HAVE_POWL 1
87449 _ACEOF
87451 cat >>confdefs.h <<\_ACEOF
87452 #define HAVE_SINF 1
87453 _ACEOF
87455 cat >>confdefs.h <<\_ACEOF
87456 #define HAVE_SINL 1
87457 _ACEOF
87459 cat >>confdefs.h <<\_ACEOF
87460 #define HAVE_SINHF 1
87461 _ACEOF
87463 cat >>confdefs.h <<\_ACEOF
87464 #define HAVE_SINHL 1
87465 _ACEOF
87467 cat >>confdefs.h <<\_ACEOF
87468 #define HAVE_SQRTF 1
87469 _ACEOF
87471 cat >>confdefs.h <<\_ACEOF
87472 #define HAVE_SQRTL 1
87473 _ACEOF
87475 cat >>confdefs.h <<\_ACEOF
87476 #define HAVE_TANF 1
87477 _ACEOF
87479 cat >>confdefs.h <<\_ACEOF
87480 #define HAVE_TANL 1
87481 _ACEOF
87483 cat >>confdefs.h <<\_ACEOF
87484 #define HAVE_TANHF 1
87485 _ACEOF
87487 cat >>confdefs.h <<\_ACEOF
87488 #define HAVE_TANHL 1
87489 _ACEOF
87493 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
87494 echo "$as_me: error: No support for this host/target combination." >&2;}
87495 { (exit 1); exit 1; }; }
87497 esac
87501 # At some point, we should differentiate between architectures
87502 # like x86, which have long double versions, and alpha/powerpc/etc.,
87503 # which don't. For the time being, punt.
87504 if test x"long_double_math_on_this_cpu" = x"yes"; then
87505 cat >>confdefs.h <<\_ACEOF
87506 #define HAVE_ACOSL 1
87507 _ACEOF
87509 cat >>confdefs.h <<\_ACEOF
87510 #define HAVE_ASINL 1
87511 _ACEOF
87513 cat >>confdefs.h <<\_ACEOF
87514 #define HAVE_ATAN2L 1
87515 _ACEOF
87517 cat >>confdefs.h <<\_ACEOF
87518 #define HAVE_ATANL 1
87519 _ACEOF
87521 cat >>confdefs.h <<\_ACEOF
87522 #define HAVE_CEILL 1
87523 _ACEOF
87525 cat >>confdefs.h <<\_ACEOF
87526 #define HAVE_COPYSIGNL 1
87527 _ACEOF
87529 cat >>confdefs.h <<\_ACEOF
87530 #define HAVE_COSL 1
87531 _ACEOF
87533 cat >>confdefs.h <<\_ACEOF
87534 #define HAVE_COSHL 1
87535 _ACEOF
87537 cat >>confdefs.h <<\_ACEOF
87538 #define HAVE_EXPL 1
87539 _ACEOF
87541 cat >>confdefs.h <<\_ACEOF
87542 #define HAVE_FABSL 1
87543 _ACEOF
87545 cat >>confdefs.h <<\_ACEOF
87546 #define HAVE_FLOORL 1
87547 _ACEOF
87549 cat >>confdefs.h <<\_ACEOF
87550 #define HAVE_FMODL 1
87551 _ACEOF
87553 cat >>confdefs.h <<\_ACEOF
87554 #define HAVE_FREXPL 1
87555 _ACEOF
87557 cat >>confdefs.h <<\_ACEOF
87558 #define HAVE_LDEXPL 1
87559 _ACEOF
87561 cat >>confdefs.h <<\_ACEOF
87562 #define HAVE_LOG10L 1
87563 _ACEOF
87565 cat >>confdefs.h <<\_ACEOF
87566 #define HAVE_LOGL 1
87567 _ACEOF
87569 cat >>confdefs.h <<\_ACEOF
87570 #define HAVE_MODFL 1
87571 _ACEOF
87573 cat >>confdefs.h <<\_ACEOF
87574 #define HAVE_POWL 1
87575 _ACEOF
87577 cat >>confdefs.h <<\_ACEOF
87578 #define HAVE_SINCOSL 1
87579 _ACEOF
87581 cat >>confdefs.h <<\_ACEOF
87582 #define HAVE_SINL 1
87583 _ACEOF
87585 cat >>confdefs.h <<\_ACEOF
87586 #define HAVE_SINHL 1
87587 _ACEOF
87589 cat >>confdefs.h <<\_ACEOF
87590 #define HAVE_SQRTL 1
87591 _ACEOF
87593 cat >>confdefs.h <<\_ACEOF
87594 #define HAVE_TANL 1
87595 _ACEOF
87597 cat >>confdefs.h <<\_ACEOF
87598 #define HAVE_TANHL 1
87599 _ACEOF
87605 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
87608 # Check whether --enable-symvers or --disable-symvers was given.
87609 if test "${enable_symvers+set}" = set; then
87610 enableval="$enable_symvers"
87612 case "$enableval" in
87613 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
87614 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
87615 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
87616 { (exit 1); exit 1; }; } ;;
87617 esac
87619 else
87620 enable_symvers=yes
87624 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
87625 # don't know enough about $LD to do tricks...
87628 # Turn a 'yes' into a suitable default.
87629 if test x$enable_symvers = xyes ; then
87630 if test $enable_shared = no || test "x$LD" = x ; then
87631 enable_symvers=no
87632 else
87633 if test $with_gnu_ld = yes ; then
87634 enable_symvers=gnu
87635 else
87636 case ${target_os} in
87637 darwin*)
87638 enable_symvers=darwin ;;
87640 enable_symvers=no ;;
87641 esac
87646 # Check to see if 'darwin' or 'darwin-export' can win.
87647 if test x$enable_symvers = xdarwin-export ; then
87648 enable_symvers=darwin
87651 # Check to see if 'gnu' can win.
87652 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
87653 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
87654 echo "$as_me:$LINENO: checking for shared libgcc" >&5
87655 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
87656 ac_save_CFLAGS="$CFLAGS"
87657 CFLAGS=' -lgcc_s'
87658 if test x$gcc_no_link = xyes; then
87659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87661 { (exit 1); exit 1; }; }
87663 cat >conftest.$ac_ext <<_ACEOF
87664 /* confdefs.h. */
87665 _ACEOF
87666 cat confdefs.h >>conftest.$ac_ext
87667 cat >>conftest.$ac_ext <<_ACEOF
87668 /* end confdefs.h. */
87671 main ()
87673 return 0;
87675 return 0;
87677 _ACEOF
87678 rm -f conftest.$ac_objext conftest$ac_exeext
87679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87680 (eval $ac_link) 2>conftest.er1
87681 ac_status=$?
87682 grep -v '^ *+' conftest.er1 >conftest.err
87683 rm -f conftest.er1
87684 cat conftest.err >&5
87685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87686 (exit $ac_status); } &&
87687 { ac_try='test -z "$ac_c_werror_flag"
87688 || test ! -s conftest.err'
87689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87690 (eval $ac_try) 2>&5
87691 ac_status=$?
87692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87693 (exit $ac_status); }; } &&
87694 { ac_try='test -s conftest$ac_exeext'
87695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87696 (eval $ac_try) 2>&5
87697 ac_status=$?
87698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87699 (exit $ac_status); }; }; then
87700 glibcxx_shared_libgcc=yes
87701 else
87702 echo "$as_me: failed program was:" >&5
87703 sed 's/^/| /' conftest.$ac_ext >&5
87705 glibcxx_shared_libgcc=no
87707 rm -f conftest.err conftest.$ac_objext \
87708 conftest$ac_exeext conftest.$ac_ext
87709 CFLAGS="$ac_save_CFLAGS"
87710 if test $glibcxx_shared_libgcc = no; then
87711 cat > conftest.c <<EOF
87712 int main (void) { return 0; }
87714 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
87715 -shared -shared-libgcc -o conftest.so \
87716 conftest.c -v 2>&1 >/dev/null \
87717 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
87718 rm -f conftest.c conftest.so
87719 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
87720 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
87721 if test x$gcc_no_link = xyes; then
87722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87724 { (exit 1); exit 1; }; }
87726 cat >conftest.$ac_ext <<_ACEOF
87727 /* confdefs.h. */
87728 _ACEOF
87729 cat confdefs.h >>conftest.$ac_ext
87730 cat >>conftest.$ac_ext <<_ACEOF
87731 /* end confdefs.h. */
87734 main ()
87736 return 0;
87738 return 0;
87740 _ACEOF
87741 rm -f conftest.$ac_objext conftest$ac_exeext
87742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87743 (eval $ac_link) 2>conftest.er1
87744 ac_status=$?
87745 grep -v '^ *+' conftest.er1 >conftest.err
87746 rm -f conftest.er1
87747 cat conftest.err >&5
87748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87749 (exit $ac_status); } &&
87750 { ac_try='test -z "$ac_c_werror_flag"
87751 || test ! -s conftest.err'
87752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87753 (eval $ac_try) 2>&5
87754 ac_status=$?
87755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87756 (exit $ac_status); }; } &&
87757 { ac_try='test -s conftest$ac_exeext'
87758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87759 (eval $ac_try) 2>&5
87760 ac_status=$?
87761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87762 (exit $ac_status); }; }; then
87763 glibcxx_shared_libgcc=yes
87764 else
87765 echo "$as_me: failed program was:" >&5
87766 sed 's/^/| /' conftest.$ac_ext >&5
87769 rm -f conftest.err conftest.$ac_objext \
87770 conftest$ac_exeext conftest.$ac_ext
87771 CFLAGS="$ac_save_CFLAGS"
87774 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
87775 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
87777 # For GNU ld, we need at least this version. The format is described in
87778 # GLIBCXX_CHECK_LINKER_FEATURES above.
87779 glibcxx_min_gnu_ld_version=21400
87781 # If no shared libgcc, can't win.
87782 if test $glibcxx_shared_libgcc != yes; then
87783 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87784 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87785 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
87786 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
87787 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87788 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87789 enable_symvers=no
87790 elif test $with_gnu_ld != yes ; then
87791 # just fail for now
87792 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87793 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87794 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
87795 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
87796 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87797 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87798 enable_symvers=no
87799 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
87800 # The right tools, the right setup, but too old. Fallbacks?
87801 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
87802 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
87803 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
87804 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
87805 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
87806 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
87807 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
87808 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
87809 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87810 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87811 enable_symvers=no
87815 # Everything parsed; figure out what file to use.
87816 case $enable_symvers in
87818 SYMVER_FILE=config/abi/pre/none.ver
87820 gnu)
87821 SYMVER_FILE=config/abi/pre/gnu.ver
87823 cat >>confdefs.h <<\_ACEOF
87824 #define _GLIBCXX_SYMVER_GNU 1
87825 _ACEOF
87828 gnu-versioned-namespace)
87829 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
87831 cat >>confdefs.h <<\_ACEOF
87832 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
87833 _ACEOF
87836 darwin)
87837 SYMVER_FILE=config/abi/pre/gnu.ver
87839 cat >>confdefs.h <<\_ACEOF
87840 #define _GLIBCXX_SYMVER_DARWIN 1
87841 _ACEOF
87844 esac
87846 if test x$enable_symvers != xno ; then
87848 cat >>confdefs.h <<\_ACEOF
87849 #define _GLIBCXX_SYMVER 1
87850 _ACEOF
87860 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
87861 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
87863 # Now, set up compatibility support, if any.
87864 # In addition, need this to deal with std::size_t mangling in
87865 # src/compatibility.cc. In a perfect world, could use
87866 # typeid(std::size_t).name()[0] to do direct substitution.
87867 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
87868 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
87869 ac_save_CFLAGS="$CFLAGS"
87870 CFLAGS="-Werror"
87871 cat >conftest.$ac_ext <<_ACEOF
87872 /* confdefs.h. */
87873 _ACEOF
87874 cat confdefs.h >>conftest.$ac_ext
87875 cat >>conftest.$ac_ext <<_ACEOF
87876 /* end confdefs.h. */
87879 main ()
87881 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
87883 return 0;
87885 _ACEOF
87886 rm -f conftest.$ac_objext
87887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87888 (eval $ac_compile) 2>conftest.er1
87889 ac_status=$?
87890 grep -v '^ *+' conftest.er1 >conftest.err
87891 rm -f conftest.er1
87892 cat conftest.err >&5
87893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87894 (exit $ac_status); } &&
87895 { ac_try='test -z "$ac_c_werror_flag"
87896 || test ! -s conftest.err'
87897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87898 (eval $ac_try) 2>&5
87899 ac_status=$?
87900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87901 (exit $ac_status); }; } &&
87902 { ac_try='test -s conftest.$ac_objext'
87903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87904 (eval $ac_try) 2>&5
87905 ac_status=$?
87906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87907 (exit $ac_status); }; }; then
87908 glibcxx_size_t_is_i=yes
87909 else
87910 echo "$as_me: failed program was:" >&5
87911 sed 's/^/| /' conftest.$ac_ext >&5
87913 glibcxx_size_t_is_i=no
87915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87916 CFLAGS=$ac_save_CFLAGS
87917 if test "$glibcxx_size_t_is_i" = yes; then
87919 cat >>confdefs.h <<\_ACEOF
87920 #define _GLIBCXX_SIZE_T_IS_UINT 1
87921 _ACEOF
87924 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
87925 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
87927 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
87928 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
87929 ac_save_CFLAGS="$CFLAGS"
87930 CFLAGS="-Werror"
87931 cat >conftest.$ac_ext <<_ACEOF
87932 /* confdefs.h. */
87933 _ACEOF
87934 cat confdefs.h >>conftest.$ac_ext
87935 cat >>conftest.$ac_ext <<_ACEOF
87936 /* end confdefs.h. */
87939 main ()
87941 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
87943 return 0;
87945 _ACEOF
87946 rm -f conftest.$ac_objext
87947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87948 (eval $ac_compile) 2>conftest.er1
87949 ac_status=$?
87950 grep -v '^ *+' conftest.er1 >conftest.err
87951 rm -f conftest.er1
87952 cat conftest.err >&5
87953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87954 (exit $ac_status); } &&
87955 { ac_try='test -z "$ac_c_werror_flag"
87956 || test ! -s conftest.err'
87957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87958 (eval $ac_try) 2>&5
87959 ac_status=$?
87960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87961 (exit $ac_status); }; } &&
87962 { ac_try='test -s conftest.$ac_objext'
87963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87964 (eval $ac_try) 2>&5
87965 ac_status=$?
87966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87967 (exit $ac_status); }; }; then
87968 glibcxx_ptrdiff_t_is_i=yes
87969 else
87970 echo "$as_me: failed program was:" >&5
87971 sed 's/^/| /' conftest.$ac_ext >&5
87973 glibcxx_ptrdiff_t_is_i=no
87975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87976 CFLAGS=$ac_save_CFLAGS
87977 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
87979 cat >>confdefs.h <<\_ACEOF
87980 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
87981 _ACEOF
87984 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
87985 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
87988 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
87990 if $GLIBCXX_IS_NATIVE ; then
87991 # Do checks for resource limit functions.
87993 setrlimit_have_headers=yes
87997 for ac_header in unistd.h sys/time.h sys/resource.h
87999 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88001 echo "$as_me:$LINENO: checking for $ac_header" >&5
88002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88004 echo $ECHO_N "(cached) $ECHO_C" >&6
88006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88008 else
88009 # Is the header compilable?
88010 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88011 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88012 cat >conftest.$ac_ext <<_ACEOF
88013 /* confdefs.h. */
88014 _ACEOF
88015 cat confdefs.h >>conftest.$ac_ext
88016 cat >>conftest.$ac_ext <<_ACEOF
88017 /* end confdefs.h. */
88018 $ac_includes_default
88019 #include <$ac_header>
88020 _ACEOF
88021 rm -f conftest.$ac_objext
88022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88023 (eval $ac_compile) 2>conftest.er1
88024 ac_status=$?
88025 grep -v '^ *+' conftest.er1 >conftest.err
88026 rm -f conftest.er1
88027 cat conftest.err >&5
88028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88029 (exit $ac_status); } &&
88030 { ac_try='test -z "$ac_c_werror_flag"
88031 || test ! -s conftest.err'
88032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88033 (eval $ac_try) 2>&5
88034 ac_status=$?
88035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88036 (exit $ac_status); }; } &&
88037 { ac_try='test -s conftest.$ac_objext'
88038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88039 (eval $ac_try) 2>&5
88040 ac_status=$?
88041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88042 (exit $ac_status); }; }; then
88043 ac_header_compiler=yes
88044 else
88045 echo "$as_me: failed program was:" >&5
88046 sed 's/^/| /' conftest.$ac_ext >&5
88048 ac_header_compiler=no
88050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88051 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88052 echo "${ECHO_T}$ac_header_compiler" >&6
88054 # Is the header present?
88055 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88056 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88057 cat >conftest.$ac_ext <<_ACEOF
88058 /* confdefs.h. */
88059 _ACEOF
88060 cat confdefs.h >>conftest.$ac_ext
88061 cat >>conftest.$ac_ext <<_ACEOF
88062 /* end confdefs.h. */
88063 #include <$ac_header>
88064 _ACEOF
88065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88067 ac_status=$?
88068 grep -v '^ *+' conftest.er1 >conftest.err
88069 rm -f conftest.er1
88070 cat conftest.err >&5
88071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88072 (exit $ac_status); } >/dev/null; then
88073 if test -s conftest.err; then
88074 ac_cpp_err=$ac_c_preproc_warn_flag
88075 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88076 else
88077 ac_cpp_err=
88079 else
88080 ac_cpp_err=yes
88082 if test -z "$ac_cpp_err"; then
88083 ac_header_preproc=yes
88084 else
88085 echo "$as_me: failed program was:" >&5
88086 sed 's/^/| /' conftest.$ac_ext >&5
88088 ac_header_preproc=no
88090 rm -f conftest.err conftest.$ac_ext
88091 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88092 echo "${ECHO_T}$ac_header_preproc" >&6
88094 # So? What about this header?
88095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88096 yes:no: )
88097 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88098 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88100 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88101 ac_header_preproc=yes
88103 no:yes:* )
88104 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88105 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88106 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88107 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88108 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88109 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88110 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88111 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88113 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88114 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88115 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88117 cat <<\_ASBOX
88118 ## ----------------------------------------- ##
88119 ## Report this to the package-unused lists. ##
88120 ## ----------------------------------------- ##
88121 _ASBOX
88123 sed "s/^/$as_me: WARNING: /" >&2
88125 esac
88126 echo "$as_me:$LINENO: checking for $ac_header" >&5
88127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88129 echo $ECHO_N "(cached) $ECHO_C" >&6
88130 else
88131 eval "$as_ac_Header=\$ac_header_preproc"
88133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88138 cat >>confdefs.h <<_ACEOF
88139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88140 _ACEOF
88142 else
88143 setrlimit_have_headers=no
88146 done
88148 # If don't have the headers, then we can't run the tests now, and we
88149 # won't be seeing any of these during testsuite compilation.
88150 if test $setrlimit_have_headers = yes; then
88151 # Can't do these in a loop, else the resulting syntax is wrong.
88153 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
88154 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
88155 cat >conftest.$ac_ext <<_ACEOF
88156 /* confdefs.h. */
88157 _ACEOF
88158 cat confdefs.h >>conftest.$ac_ext
88159 cat >>conftest.$ac_ext <<_ACEOF
88160 /* end confdefs.h. */
88161 #include <unistd.h>
88162 #include <sys/time.h>
88163 #include <sys/resource.h>
88166 main ()
88168 int f = RLIMIT_DATA ;
88170 return 0;
88172 _ACEOF
88173 rm -f conftest.$ac_objext
88174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88175 (eval $ac_compile) 2>conftest.er1
88176 ac_status=$?
88177 grep -v '^ *+' conftest.er1 >conftest.err
88178 rm -f conftest.er1
88179 cat conftest.err >&5
88180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88181 (exit $ac_status); } &&
88182 { ac_try='test -z "$ac_c_werror_flag"
88183 || test ! -s conftest.err'
88184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88185 (eval $ac_try) 2>&5
88186 ac_status=$?
88187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88188 (exit $ac_status); }; } &&
88189 { ac_try='test -s conftest.$ac_objext'
88190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88191 (eval $ac_try) 2>&5
88192 ac_status=$?
88193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88194 (exit $ac_status); }; }; then
88195 glibcxx_mresult=1
88196 else
88197 echo "$as_me: failed program was:" >&5
88198 sed 's/^/| /' conftest.$ac_ext >&5
88200 glibcxx_mresult=0
88202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88204 cat >>confdefs.h <<_ACEOF
88205 #define HAVE_LIMIT_DATA $glibcxx_mresult
88206 _ACEOF
88208 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88209 echo "$as_me:$LINENO: result: $res" >&5
88210 echo "${ECHO_T}$res" >&6
88213 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
88214 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
88215 cat >conftest.$ac_ext <<_ACEOF
88216 /* confdefs.h. */
88217 _ACEOF
88218 cat confdefs.h >>conftest.$ac_ext
88219 cat >>conftest.$ac_ext <<_ACEOF
88220 /* end confdefs.h. */
88221 #include <unistd.h>
88222 #include <sys/time.h>
88223 #include <sys/resource.h>
88226 main ()
88228 int f = RLIMIT_RSS ;
88230 return 0;
88232 _ACEOF
88233 rm -f conftest.$ac_objext
88234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88235 (eval $ac_compile) 2>conftest.er1
88236 ac_status=$?
88237 grep -v '^ *+' conftest.er1 >conftest.err
88238 rm -f conftest.er1
88239 cat conftest.err >&5
88240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88241 (exit $ac_status); } &&
88242 { ac_try='test -z "$ac_c_werror_flag"
88243 || test ! -s conftest.err'
88244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88245 (eval $ac_try) 2>&5
88246 ac_status=$?
88247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88248 (exit $ac_status); }; } &&
88249 { ac_try='test -s conftest.$ac_objext'
88250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88251 (eval $ac_try) 2>&5
88252 ac_status=$?
88253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88254 (exit $ac_status); }; }; then
88255 glibcxx_mresult=1
88256 else
88257 echo "$as_me: failed program was:" >&5
88258 sed 's/^/| /' conftest.$ac_ext >&5
88260 glibcxx_mresult=0
88262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88264 cat >>confdefs.h <<_ACEOF
88265 #define HAVE_LIMIT_RSS $glibcxx_mresult
88266 _ACEOF
88268 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88269 echo "$as_me:$LINENO: result: $res" >&5
88270 echo "${ECHO_T}$res" >&6
88273 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
88274 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
88275 cat >conftest.$ac_ext <<_ACEOF
88276 /* confdefs.h. */
88277 _ACEOF
88278 cat confdefs.h >>conftest.$ac_ext
88279 cat >>conftest.$ac_ext <<_ACEOF
88280 /* end confdefs.h. */
88281 #include <unistd.h>
88282 #include <sys/time.h>
88283 #include <sys/resource.h>
88286 main ()
88288 int f = RLIMIT_VMEM ;
88290 return 0;
88292 _ACEOF
88293 rm -f conftest.$ac_objext
88294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88295 (eval $ac_compile) 2>conftest.er1
88296 ac_status=$?
88297 grep -v '^ *+' conftest.er1 >conftest.err
88298 rm -f conftest.er1
88299 cat conftest.err >&5
88300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88301 (exit $ac_status); } &&
88302 { ac_try='test -z "$ac_c_werror_flag"
88303 || test ! -s conftest.err'
88304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88305 (eval $ac_try) 2>&5
88306 ac_status=$?
88307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88308 (exit $ac_status); }; } &&
88309 { ac_try='test -s conftest.$ac_objext'
88310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88311 (eval $ac_try) 2>&5
88312 ac_status=$?
88313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88314 (exit $ac_status); }; }; then
88315 glibcxx_mresult=1
88316 else
88317 echo "$as_me: failed program was:" >&5
88318 sed 's/^/| /' conftest.$ac_ext >&5
88320 glibcxx_mresult=0
88322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88324 cat >>confdefs.h <<_ACEOF
88325 #define HAVE_LIMIT_VMEM $glibcxx_mresult
88326 _ACEOF
88328 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88329 echo "$as_me:$LINENO: result: $res" >&5
88330 echo "${ECHO_T}$res" >&6
88333 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
88334 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
88335 cat >conftest.$ac_ext <<_ACEOF
88336 /* confdefs.h. */
88337 _ACEOF
88338 cat confdefs.h >>conftest.$ac_ext
88339 cat >>conftest.$ac_ext <<_ACEOF
88340 /* end confdefs.h. */
88341 #include <unistd.h>
88342 #include <sys/time.h>
88343 #include <sys/resource.h>
88346 main ()
88348 int f = RLIMIT_AS ;
88350 return 0;
88352 _ACEOF
88353 rm -f conftest.$ac_objext
88354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88355 (eval $ac_compile) 2>conftest.er1
88356 ac_status=$?
88357 grep -v '^ *+' conftest.er1 >conftest.err
88358 rm -f conftest.er1
88359 cat conftest.err >&5
88360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88361 (exit $ac_status); } &&
88362 { ac_try='test -z "$ac_c_werror_flag"
88363 || test ! -s conftest.err'
88364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88365 (eval $ac_try) 2>&5
88366 ac_status=$?
88367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88368 (exit $ac_status); }; } &&
88369 { ac_try='test -s conftest.$ac_objext'
88370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88371 (eval $ac_try) 2>&5
88372 ac_status=$?
88373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88374 (exit $ac_status); }; }; then
88375 glibcxx_mresult=1
88376 else
88377 echo "$as_me: failed program was:" >&5
88378 sed 's/^/| /' conftest.$ac_ext >&5
88380 glibcxx_mresult=0
88382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88384 cat >>confdefs.h <<_ACEOF
88385 #define HAVE_LIMIT_AS $glibcxx_mresult
88386 _ACEOF
88388 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88389 echo "$as_me:$LINENO: result: $res" >&5
88390 echo "${ECHO_T}$res" >&6
88393 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
88394 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
88395 cat >conftest.$ac_ext <<_ACEOF
88396 /* confdefs.h. */
88397 _ACEOF
88398 cat confdefs.h >>conftest.$ac_ext
88399 cat >>conftest.$ac_ext <<_ACEOF
88400 /* end confdefs.h. */
88401 #include <unistd.h>
88402 #include <sys/time.h>
88403 #include <sys/resource.h>
88406 main ()
88408 int f = RLIMIT_FSIZE ;
88410 return 0;
88412 _ACEOF
88413 rm -f conftest.$ac_objext
88414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88415 (eval $ac_compile) 2>conftest.er1
88416 ac_status=$?
88417 grep -v '^ *+' conftest.er1 >conftest.err
88418 rm -f conftest.er1
88419 cat conftest.err >&5
88420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88421 (exit $ac_status); } &&
88422 { ac_try='test -z "$ac_c_werror_flag"
88423 || test ! -s conftest.err'
88424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88425 (eval $ac_try) 2>&5
88426 ac_status=$?
88427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88428 (exit $ac_status); }; } &&
88429 { ac_try='test -s conftest.$ac_objext'
88430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88431 (eval $ac_try) 2>&5
88432 ac_status=$?
88433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88434 (exit $ac_status); }; }; then
88435 glibcxx_mresult=1
88436 else
88437 echo "$as_me: failed program was:" >&5
88438 sed 's/^/| /' conftest.$ac_ext >&5
88440 glibcxx_mresult=0
88442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88444 cat >>confdefs.h <<_ACEOF
88445 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
88446 _ACEOF
88448 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88449 echo "$as_me:$LINENO: result: $res" >&5
88450 echo "${ECHO_T}$res" >&6
88453 # Check for rlimit, setrlimit.
88454 if test "${ac_setrlimit+set}" = set; then
88455 echo $ECHO_N "(cached) $ECHO_C" >&6
88456 else
88458 cat >conftest.$ac_ext <<_ACEOF
88459 /* confdefs.h. */
88460 _ACEOF
88461 cat confdefs.h >>conftest.$ac_ext
88462 cat >>conftest.$ac_ext <<_ACEOF
88463 /* end confdefs.h. */
88464 #include <unistd.h>
88465 #include <sys/time.h>
88466 #include <sys/resource.h>
88469 main ()
88471 struct rlimit r;
88472 setrlimit(0, &r);
88474 return 0;
88476 _ACEOF
88477 rm -f conftest.$ac_objext
88478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88479 (eval $ac_compile) 2>conftest.er1
88480 ac_status=$?
88481 grep -v '^ *+' conftest.er1 >conftest.err
88482 rm -f conftest.er1
88483 cat conftest.err >&5
88484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88485 (exit $ac_status); } &&
88486 { ac_try='test -z "$ac_c_werror_flag"
88487 || test ! -s conftest.err'
88488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88489 (eval $ac_try) 2>&5
88490 ac_status=$?
88491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88492 (exit $ac_status); }; } &&
88493 { ac_try='test -s conftest.$ac_objext'
88494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88495 (eval $ac_try) 2>&5
88496 ac_status=$?
88497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88498 (exit $ac_status); }; }; then
88499 ac_setrlimit=yes
88500 else
88501 echo "$as_me: failed program was:" >&5
88502 sed 's/^/| /' conftest.$ac_ext >&5
88504 ac_setrlimit=no
88506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88512 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
88513 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
88514 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
88515 ac_res_limits=yes
88517 cat >>confdefs.h <<\_ACEOF
88518 #define _GLIBCXX_RES_LIMITS 1
88519 _ACEOF
88521 else
88522 ac_res_limits=no
88524 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
88525 echo "${ECHO_T}$ac_res_limits" >&6
88528 # Look for setenv, so that extended locale tests can be performed.
88530 echo "$as_me:$LINENO: checking for setenv declaration" >&5
88531 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
88532 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
88533 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
88534 echo $ECHO_N "(cached) $ECHO_C" >&6
88535 else
88539 ac_ext=cc
88540 ac_cpp='$CXXCPP $CPPFLAGS'
88541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88545 cat >conftest.$ac_ext <<_ACEOF
88546 /* confdefs.h. */
88547 _ACEOF
88548 cat confdefs.h >>conftest.$ac_ext
88549 cat >>conftest.$ac_ext <<_ACEOF
88550 /* end confdefs.h. */
88551 #include <stdlib.h>
88553 main ()
88555 setenv(0, 0, 0);
88557 return 0;
88559 _ACEOF
88560 rm -f conftest.$ac_objext
88561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88562 (eval $ac_compile) 2>conftest.er1
88563 ac_status=$?
88564 grep -v '^ *+' conftest.er1 >conftest.err
88565 rm -f conftest.er1
88566 cat conftest.err >&5
88567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88568 (exit $ac_status); } &&
88569 { ac_try='test -z "$ac_cxx_werror_flag"
88570 || test ! -s conftest.err'
88571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88572 (eval $ac_try) 2>&5
88573 ac_status=$?
88574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88575 (exit $ac_status); }; } &&
88576 { ac_try='test -s conftest.$ac_objext'
88577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88578 (eval $ac_try) 2>&5
88579 ac_status=$?
88580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88581 (exit $ac_status); }; }; then
88582 glibcxx_cv_func_setenv_use=yes
88583 else
88584 echo "$as_me: failed program was:" >&5
88585 sed 's/^/| /' conftest.$ac_ext >&5
88587 glibcxx_cv_func_setenv_use=no
88589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88590 ac_ext=c
88591 ac_cpp='$CPP $CPPFLAGS'
88592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88600 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
88601 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
88602 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
88604 for ac_func in setenv
88606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88607 echo "$as_me:$LINENO: checking for $ac_func" >&5
88608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88609 if eval "test \"\${$as_ac_var+set}\" = set"; then
88610 echo $ECHO_N "(cached) $ECHO_C" >&6
88611 else
88612 if test x$gcc_no_link = xyes; then
88613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88615 { (exit 1); exit 1; }; }
88617 cat >conftest.$ac_ext <<_ACEOF
88618 /* confdefs.h. */
88619 _ACEOF
88620 cat confdefs.h >>conftest.$ac_ext
88621 cat >>conftest.$ac_ext <<_ACEOF
88622 /* end confdefs.h. */
88623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88625 #define $ac_func innocuous_$ac_func
88627 /* System header to define __stub macros and hopefully few prototypes,
88628 which can conflict with char $ac_func (); below.
88629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88630 <limits.h> exists even on freestanding compilers. */
88632 #ifdef __STDC__
88633 # include <limits.h>
88634 #else
88635 # include <assert.h>
88636 #endif
88638 #undef $ac_func
88640 /* Override any gcc2 internal prototype to avoid an error. */
88641 #ifdef __cplusplus
88642 extern "C"
88644 #endif
88645 /* We use char because int might match the return type of a gcc2
88646 builtin and then its argument prototype would still apply. */
88647 char $ac_func ();
88648 /* The GNU C library defines this for functions which it implements
88649 to always fail with ENOSYS. Some functions are actually named
88650 something starting with __ and the normal name is an alias. */
88651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88652 choke me
88653 #else
88654 char (*f) () = $ac_func;
88655 #endif
88656 #ifdef __cplusplus
88658 #endif
88661 main ()
88663 return f != $ac_func;
88665 return 0;
88667 _ACEOF
88668 rm -f conftest.$ac_objext conftest$ac_exeext
88669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88670 (eval $ac_link) 2>conftest.er1
88671 ac_status=$?
88672 grep -v '^ *+' conftest.er1 >conftest.err
88673 rm -f conftest.er1
88674 cat conftest.err >&5
88675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88676 (exit $ac_status); } &&
88677 { ac_try='test -z "$ac_c_werror_flag"
88678 || test ! -s conftest.err'
88679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88680 (eval $ac_try) 2>&5
88681 ac_status=$?
88682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88683 (exit $ac_status); }; } &&
88684 { ac_try='test -s conftest$ac_exeext'
88685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88686 (eval $ac_try) 2>&5
88687 ac_status=$?
88688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88689 (exit $ac_status); }; }; then
88690 eval "$as_ac_var=yes"
88691 else
88692 echo "$as_me: failed program was:" >&5
88693 sed 's/^/| /' conftest.$ac_ext >&5
88695 eval "$as_ac_var=no"
88697 rm -f conftest.err conftest.$ac_objext \
88698 conftest$ac_exeext conftest.$ac_ext
88700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88702 if test `eval echo '${'$as_ac_var'}'` = yes; then
88703 cat >>confdefs.h <<_ACEOF
88704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88705 _ACEOF
88708 done
88714 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
88715 test $enable_symvers != no; then
88716 case "$host" in
88717 *-*-cygwin*)
88718 enable_abi_check=no ;;
88720 enable_abi_check=yes ;;
88721 esac
88722 else
88723 # Only build this as native, since automake does not understand
88724 # CXX_FOR_BUILD.
88725 enable_abi_check=no
88728 # Export file names for ABI checking.
88729 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
88733 # Propagate the target-specific source directories through the build chain.
88734 ATOMICITY_SRCDIR=config/${atomicity_dir}
88735 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
88736 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
88737 OS_INC_SRCDIR=config/${os_include_dir}
88738 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
88745 # Determine cross-compile flags and AM_CONDITIONALs.
88746 #AC_SUBST(GLIBCXX_IS_NATIVE)
88747 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
88748 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
88749 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
88752 if test $is_hosted = yes; then
88753 GLIBCXX_HOSTED_TRUE=
88754 GLIBCXX_HOSTED_FALSE='#'
88755 else
88756 GLIBCXX_HOSTED_TRUE='#'
88757 GLIBCXX_HOSTED_FALSE=
88763 if test $enable_libstdcxx_pch = yes; then
88764 GLIBCXX_BUILD_PCH_TRUE=
88765 GLIBCXX_BUILD_PCH_FALSE='#'
88766 else
88767 GLIBCXX_BUILD_PCH_TRUE='#'
88768 GLIBCXX_BUILD_PCH_FALSE=
88774 if test $enable_cheaders = c; then
88775 GLIBCXX_C_HEADERS_C_TRUE=
88776 GLIBCXX_C_HEADERS_C_FALSE='#'
88777 else
88778 GLIBCXX_C_HEADERS_C_TRUE='#'
88779 GLIBCXX_C_HEADERS_C_FALSE=
88785 if test $enable_cheaders = c_std; then
88786 GLIBCXX_C_HEADERS_C_STD_TRUE=
88787 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
88788 else
88789 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
88790 GLIBCXX_C_HEADERS_C_STD_FALSE=
88796 if test $c_compatibility = yes; then
88797 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
88798 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
88799 else
88800 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
88801 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
88807 if test $enable_libstdcxx_debug = yes; then
88808 GLIBCXX_BUILD_DEBUG_TRUE=
88809 GLIBCXX_BUILD_DEBUG_FALSE='#'
88810 else
88811 GLIBCXX_BUILD_DEBUG_TRUE='#'
88812 GLIBCXX_BUILD_DEBUG_FALSE=
88818 if test $enable_symvers != no; then
88819 ENABLE_SYMVERS_TRUE=
88820 ENABLE_SYMVERS_FALSE='#'
88821 else
88822 ENABLE_SYMVERS_TRUE='#'
88823 ENABLE_SYMVERS_FALSE=
88829 if test $enable_symvers = gnu; then
88830 ENABLE_SYMVERS_GNU_TRUE=
88831 ENABLE_SYMVERS_GNU_FALSE='#'
88832 else
88833 ENABLE_SYMVERS_GNU_TRUE='#'
88834 ENABLE_SYMVERS_GNU_FALSE=
88840 if test $enable_symvers = gnu-versioned-namespace; then
88841 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
88842 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
88843 else
88844 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
88845 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
88851 if test $enable_symvers = darwin; then
88852 ENABLE_SYMVERS_DARWIN_TRUE=
88853 ENABLE_SYMVERS_DARWIN_FALSE='#'
88854 else
88855 ENABLE_SYMVERS_DARWIN_TRUE='#'
88856 ENABLE_SYMVERS_DARWIN_FALSE=
88862 cat >confcache <<\_ACEOF
88863 # This file is a shell script that caches the results of configure
88864 # tests run on this system so they can be shared between configure
88865 # scripts and configure runs, see configure's option --config-cache.
88866 # It is not useful on other systems. If it contains results you don't
88867 # want to keep, you may remove or edit it.
88869 # config.status only pays attention to the cache file if you give it
88870 # the --recheck option to rerun configure.
88872 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88873 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88874 # following values.
88876 _ACEOF
88878 # The following way of writing the cache mishandles newlines in values,
88879 # but we know of no workaround that is simple, portable, and efficient.
88880 # So, don't put newlines in cache variables' values.
88881 # Ultrix sh set writes to stderr and can't be redirected directly,
88882 # and sets the high bit in the cache file unless we assign to the vars.
88884 (set) 2>&1 |
88885 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88886 *ac_space=\ *)
88887 # `set' does not quote correctly, so add quotes (double-quote
88888 # substitution turns \\\\ into \\, and sed turns \\ into \).
88889 sed -n \
88890 "s/'/'\\\\''/g;
88891 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88894 # `set' quotes correctly as required by POSIX, so do not add quotes.
88895 sed -n \
88896 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88898 esac;
88900 sed '
88901 t clear
88902 : clear
88903 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88904 t end
88905 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88906 : end' >>confcache
88907 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88908 if test -w $cache_file; then
88909 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88910 cat confcache >$cache_file
88911 else
88912 echo "not updating unwritable cache $cache_file"
88915 rm -f confcache
88917 if test ${multilib} = yes; then
88918 multilib_arg="--enable-multilib"
88919 else
88920 multilib_arg=
88923 # Export all the install information.
88925 glibcxx_toolexecdir=no
88926 glibcxx_toolexeclibdir=no
88927 glibcxx_prefixdir=$prefix
88929 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
88930 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
88932 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
88933 if test "${with_gxx_include_dir+set}" = set; then
88934 withval="$with_gxx_include_dir"
88935 case "$withval" in
88936 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
88937 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
88938 { (exit 1); exit 1; }; } ;;
88939 no) gxx_include_dir=no ;;
88940 *) gxx_include_dir=$withval ;;
88941 esac
88942 else
88943 gxx_include_dir=no
88945 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88946 echo "${ECHO_T}$gxx_include_dir" >&6
88948 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
88949 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
88950 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
88951 if test "${enable_version_specific_runtime_libs+set}" = set; then
88952 enableval="$enable_version_specific_runtime_libs"
88953 case "$enableval" in
88954 yes) version_specific_libs=yes ;;
88955 no) version_specific_libs=no ;;
88956 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
88957 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
88958 { (exit 1); exit 1; }; };;
88959 esac
88960 else
88961 version_specific_libs=no
88963 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
88964 echo "${ECHO_T}$version_specific_libs" >&6
88966 # Default case for install directory for include files.
88967 if test $version_specific_libs = no && test $gxx_include_dir = no; then
88968 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
88971 # Version-specific runtime libs processing.
88972 if test $version_specific_libs = yes; then
88973 # Need the gcc compiler version to know where to install libraries
88974 # and header files if --enable-version-specific-runtime-libs option
88975 # is selected. FIXME: these variables are misnamed, there are
88976 # no executables installed in _toolexecdir or _toolexeclibdir.
88977 if test x"$gxx_include_dir" = x"no"; then
88978 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
88980 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88981 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
88984 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
88985 # Install a library built with a cross compiler in tooldir, not libdir.
88986 if test x"$glibcxx_toolexecdir" = x"no"; then
88987 if test -n "$with_cross_host" &&
88988 test x"$with_cross_host" != x"no"; then
88989 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
88990 glibcxx_toolexeclibdir='${toolexecdir}/lib'
88991 else
88992 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88993 glibcxx_toolexeclibdir='${libdir}'
88995 multi_os_directory=`$CXX -print-multi-os-directory`
88996 case $multi_os_directory in
88997 .) ;; # Avoid trailing /.
88998 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
88999 esac
89002 echo "$as_me:$LINENO: checking for install location" >&5
89003 echo $ECHO_N "checking for install location... $ECHO_C" >&6
89004 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
89005 echo "${ECHO_T}$gxx_include_dir" >&6
89013 # Export all the include and flag information to Makefiles.
89015 # Used for every C++ compile we perform.
89016 GLIBCXX_INCLUDES="\
89017 -I$glibcxx_builddir/include/$host_alias \
89018 -I$glibcxx_builddir/include \
89019 -I$glibcxx_srcdir/libsupc++"
89021 # For Canadian crosses, pick this up too.
89022 if test $CANADIAN = yes; then
89023 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
89026 # Stuff in the actual top level. Currently only used by libsupc++ to
89027 # get unwind* headers from the gcc dir.
89028 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
89029 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
89031 # Now, export this to all the little Makefiles....
89036 # Optimization flags that are probably a good idea for thrill-seekers. Just
89037 # uncomment the lines below and make, everything else is ready to go...
89038 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
89039 OPTIMIZE_CXXFLAGS=
89042 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
89046 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
89047 grep "enable shared" > /dev/null;
89048 then
89049 LIBSUPCXX_PICFLAGS=-prefer-pic
89050 else
89051 LIBSUPCXX_PICFLAGS=
89055 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
89057 ac_config_files="$ac_config_files scripts/testsuite_flags"
89060 ac_config_commands="$ac_config_commands default"
89063 cat >confcache <<\_ACEOF
89064 # This file is a shell script that caches the results of configure
89065 # tests run on this system so they can be shared between configure
89066 # scripts and configure runs, see configure's option --config-cache.
89067 # It is not useful on other systems. If it contains results you don't
89068 # want to keep, you may remove or edit it.
89070 # config.status only pays attention to the cache file if you give it
89071 # the --recheck option to rerun configure.
89073 # `ac_cv_env_foo' variables (set or unset) will be overridden when
89074 # loading this file, other *unset* `ac_cv_foo' will be assigned the
89075 # following values.
89077 _ACEOF
89079 # The following way of writing the cache mishandles newlines in values,
89080 # but we know of no workaround that is simple, portable, and efficient.
89081 # So, don't put newlines in cache variables' values.
89082 # Ultrix sh set writes to stderr and can't be redirected directly,
89083 # and sets the high bit in the cache file unless we assign to the vars.
89085 (set) 2>&1 |
89086 case `(ac_space=' '; set | grep ac_space) 2>&1` in
89087 *ac_space=\ *)
89088 # `set' does not quote correctly, so add quotes (double-quote
89089 # substitution turns \\\\ into \\, and sed turns \\ into \).
89090 sed -n \
89091 "s/'/'\\\\''/g;
89092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
89095 # `set' quotes correctly as required by POSIX, so do not add quotes.
89096 sed -n \
89097 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
89099 esac;
89101 sed '
89102 t clear
89103 : clear
89104 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
89105 t end
89106 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
89107 : end' >>confcache
89108 if diff $cache_file confcache >/dev/null 2>&1; then :; else
89109 if test -w $cache_file; then
89110 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
89111 cat confcache >$cache_file
89112 else
89113 echo "not updating unwritable cache $cache_file"
89116 rm -f confcache
89118 test "x$prefix" = xNONE && prefix=$ac_default_prefix
89119 # Let make expand exec_prefix.
89120 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
89122 # VPATH may cause trouble with some makes, so we remove $(srcdir),
89123 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
89124 # trailing colons and then remove the whole line if VPATH becomes empty
89125 # (actually we leave an empty line to preserve line numbers).
89126 if test "x$srcdir" = x.; then
89127 ac_vpsub='/^[ ]*VPATH[ ]*=/{
89128 s/:*\$(srcdir):*/:/;
89129 s/:*\${srcdir}:*/:/;
89130 s/:*@srcdir@:*/:/;
89131 s/^\([^=]*=[ ]*\):*/\1/;
89132 s/:*$//;
89133 s/^[^=]*=[ ]*$//;
89137 DEFS=-DHAVE_CONFIG_H
89139 ac_libobjs=
89140 ac_ltlibobjs=
89141 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
89142 # 1. Remove the extension, and $U if already installed.
89143 ac_i=`echo "$ac_i" |
89144 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
89145 # 2. Add them.
89146 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
89147 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
89148 done
89149 LIBOBJS=$ac_libobjs
89151 LTLIBOBJS=$ac_ltlibobjs
89154 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
89155 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
89156 Usually this means the macro was only invoked conditionally." >&5
89157 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
89158 Usually this means the macro was only invoked conditionally." >&2;}
89159 { (exit 1); exit 1; }; }
89161 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
89162 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
89163 Usually this means the macro was only invoked conditionally." >&5
89164 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
89165 Usually this means the macro was only invoked conditionally." >&2;}
89166 { (exit 1); exit 1; }; }
89168 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
89169 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
89170 Usually this means the macro was only invoked conditionally." >&5
89171 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
89172 Usually this means the macro was only invoked conditionally." >&2;}
89173 { (exit 1); exit 1; }; }
89175 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
89176 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
89177 Usually this means the macro was only invoked conditionally." >&5
89178 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
89179 Usually this means the macro was only invoked conditionally." >&2;}
89180 { (exit 1); exit 1; }; }
89182 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
89183 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
89184 Usually this means the macro was only invoked conditionally." >&5
89185 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
89186 Usually this means the macro was only invoked conditionally." >&2;}
89187 { (exit 1); exit 1; }; }
89189 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
89190 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
89191 Usually this means the macro was only invoked conditionally." >&5
89192 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
89193 Usually this means the macro was only invoked conditionally." >&2;}
89194 { (exit 1); exit 1; }; }
89196 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
89197 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
89198 Usually this means the macro was only invoked conditionally." >&5
89199 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
89200 Usually this means the macro was only invoked conditionally." >&2;}
89201 { (exit 1); exit 1; }; }
89203 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
89204 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
89205 Usually this means the macro was only invoked conditionally." >&5
89206 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
89207 Usually this means the macro was only invoked conditionally." >&2;}
89208 { (exit 1); exit 1; }; }
89210 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
89211 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
89212 Usually this means the macro was only invoked conditionally." >&5
89213 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
89214 Usually this means the macro was only invoked conditionally." >&2;}
89215 { (exit 1); exit 1; }; }
89217 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
89218 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
89219 Usually this means the macro was only invoked conditionally." >&5
89220 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
89221 Usually this means the macro was only invoked conditionally." >&2;}
89222 { (exit 1); exit 1; }; }
89224 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
89225 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
89226 Usually this means the macro was only invoked conditionally." >&5
89227 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
89228 Usually this means the macro was only invoked conditionally." >&2;}
89229 { (exit 1); exit 1; }; }
89232 : ${CONFIG_STATUS=./config.status}
89233 ac_clean_files_save=$ac_clean_files
89234 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
89235 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
89236 echo "$as_me: creating $CONFIG_STATUS" >&6;}
89237 cat >$CONFIG_STATUS <<_ACEOF
89238 #! $SHELL
89239 # Generated by $as_me.
89240 # Run this file to recreate the current configuration.
89241 # Compiler output produced by configure, useful for debugging
89242 # configure, is in config.log if it exists.
89244 debug=false
89245 ac_cs_recheck=false
89246 ac_cs_silent=false
89247 SHELL=\${CONFIG_SHELL-$SHELL}
89248 _ACEOF
89250 cat >>$CONFIG_STATUS <<\_ACEOF
89251 ## --------------------- ##
89252 ## M4sh Initialization. ##
89253 ## --------------------- ##
89255 # Be Bourne compatible
89256 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
89257 emulate sh
89258 NULLCMD=:
89259 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
89260 # is contrary to our usage. Disable this feature.
89261 alias -g '${1+"$@"}'='"$@"'
89262 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
89263 set -o posix
89265 DUALCASE=1; export DUALCASE # for MKS sh
89267 # Support unset when possible.
89268 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
89269 as_unset=unset
89270 else
89271 as_unset=false
89275 # Work around bugs in pre-3.0 UWIN ksh.
89276 $as_unset ENV MAIL MAILPATH
89277 PS1='$ '
89278 PS2='> '
89279 PS4='+ '
89281 # NLS nuisances.
89282 for as_var in \
89283 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
89284 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
89285 LC_TELEPHONE LC_TIME
89287 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
89288 eval $as_var=C; export $as_var
89289 else
89290 $as_unset $as_var
89292 done
89294 # Required to use basename.
89295 if expr a : '\(a\)' >/dev/null 2>&1; then
89296 as_expr=expr
89297 else
89298 as_expr=false
89301 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
89302 as_basename=basename
89303 else
89304 as_basename=false
89308 # Name of the executable.
89309 as_me=`$as_basename "$0" ||
89310 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
89311 X"$0" : 'X\(//\)$' \| \
89312 X"$0" : 'X\(/\)$' \| \
89313 . : '\(.\)' 2>/dev/null ||
89314 echo X/"$0" |
89315 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
89316 /^X\/\(\/\/\)$/{ s//\1/; q; }
89317 /^X\/\(\/\).*/{ s//\1/; q; }
89318 s/.*/./; q'`
89321 # PATH needs CR, and LINENO needs CR and PATH.
89322 # Avoid depending upon Character Ranges.
89323 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
89324 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
89325 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
89326 as_cr_digits='0123456789'
89327 as_cr_alnum=$as_cr_Letters$as_cr_digits
89329 # The user is always right.
89330 if test "${PATH_SEPARATOR+set}" != set; then
89331 echo "#! /bin/sh" >conf$$.sh
89332 echo "exit 0" >>conf$$.sh
89333 chmod +x conf$$.sh
89334 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
89335 PATH_SEPARATOR=';'
89336 else
89337 PATH_SEPARATOR=:
89339 rm -f conf$$.sh
89343 as_lineno_1=$LINENO
89344 as_lineno_2=$LINENO
89345 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89346 test "x$as_lineno_1" != "x$as_lineno_2" &&
89347 test "x$as_lineno_3" = "x$as_lineno_2" || {
89348 # Find who we are. Look in the path if we contain no path at all
89349 # relative or not.
89350 case $0 in
89351 *[\\/]* ) as_myself=$0 ;;
89352 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89353 for as_dir in $PATH
89355 IFS=$as_save_IFS
89356 test -z "$as_dir" && as_dir=.
89357 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
89358 done
89361 esac
89362 # We did not find ourselves, most probably we were run as `sh COMMAND'
89363 # in which case we are not to be found in the path.
89364 if test "x$as_myself" = x; then
89365 as_myself=$0
89367 if test ! -f "$as_myself"; then
89368 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
89369 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
89370 { (exit 1); exit 1; }; }
89372 case $CONFIG_SHELL in
89374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89375 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
89377 IFS=$as_save_IFS
89378 test -z "$as_dir" && as_dir=.
89379 for as_base in sh bash ksh sh5; do
89380 case $as_dir in
89382 if ("$as_dir/$as_base" -c '
89383 as_lineno_1=$LINENO
89384 as_lineno_2=$LINENO
89385 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89386 test "x$as_lineno_1" != "x$as_lineno_2" &&
89387 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
89388 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
89389 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
89390 CONFIG_SHELL=$as_dir/$as_base
89391 export CONFIG_SHELL
89392 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
89393 fi;;
89394 esac
89395 done
89396 done
89398 esac
89400 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
89401 # uniformly replaced by the line number. The first 'sed' inserts a
89402 # line-number line before each line; the second 'sed' does the real
89403 # work. The second script uses 'N' to pair each line-number line
89404 # with the numbered line, and appends trailing '-' during
89405 # substitution so that $LINENO is not a special case at line end.
89406 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
89407 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
89408 sed '=' <$as_myself |
89409 sed '
89411 s,$,-,
89412 : loop
89413 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
89414 t loop
89415 s,-$,,
89416 s,^['$as_cr_digits']*\n,,
89417 ' >$as_me.lineno &&
89418 chmod +x $as_me.lineno ||
89419 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
89420 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
89421 { (exit 1); exit 1; }; }
89423 # Don't try to exec as it changes $[0], causing all sort of problems
89424 # (the dirname of $[0] is not the place where we might find the
89425 # original and so on. Autoconf is especially sensible to this).
89426 . ./$as_me.lineno
89427 # Exit status is that of the last command.
89428 exit
89432 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
89433 *c*,-n*) ECHO_N= ECHO_C='
89434 ' ECHO_T=' ' ;;
89435 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
89436 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
89437 esac
89439 if expr a : '\(a\)' >/dev/null 2>&1; then
89440 as_expr=expr
89441 else
89442 as_expr=false
89445 rm -f conf$$ conf$$.exe conf$$.file
89446 echo >conf$$.file
89447 if ln -s conf$$.file conf$$ 2>/dev/null; then
89448 # We could just check for DJGPP; but this test a) works b) is more generic
89449 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
89450 if test -f conf$$.exe; then
89451 # Don't use ln at all; we don't have any links
89452 as_ln_s='cp -p'
89453 else
89454 as_ln_s='ln -s'
89456 elif ln conf$$.file conf$$ 2>/dev/null; then
89457 as_ln_s=ln
89458 else
89459 as_ln_s='cp -p'
89461 rm -f conf$$ conf$$.exe conf$$.file
89463 if mkdir -p . 2>/dev/null; then
89464 as_mkdir_p=:
89465 else
89466 test -d ./-p && rmdir ./-p
89467 as_mkdir_p=false
89470 as_executable_p="test -f"
89472 # Sed expression to map a string onto a valid CPP name.
89473 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
89475 # Sed expression to map a string onto a valid variable name.
89476 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
89479 # IFS
89480 # We need space, tab and new line, in precisely that order.
89481 as_nl='
89483 IFS=" $as_nl"
89485 # CDPATH.
89486 $as_unset CDPATH
89488 exec 6>&1
89490 # Open the log real soon, to keep \$[0] and so on meaningful, and to
89491 # report actual input values of CONFIG_FILES etc. instead of their
89492 # values after options handling. Logging --version etc. is OK.
89493 exec 5>>config.log
89495 echo
89496 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
89497 ## Running $as_me. ##
89498 _ASBOX
89499 } >&5
89500 cat >&5 <<_CSEOF
89502 This file was extended by package-unused $as_me version-unused, which was
89503 generated by GNU Autoconf 2.59. Invocation command line was
89505 CONFIG_FILES = $CONFIG_FILES
89506 CONFIG_HEADERS = $CONFIG_HEADERS
89507 CONFIG_LINKS = $CONFIG_LINKS
89508 CONFIG_COMMANDS = $CONFIG_COMMANDS
89509 $ $0 $@
89511 _CSEOF
89512 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
89513 echo >&5
89514 _ACEOF
89516 # Files that config.status was made for.
89517 if test -n "$ac_config_files"; then
89518 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
89521 if test -n "$ac_config_headers"; then
89522 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
89525 if test -n "$ac_config_links"; then
89526 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
89529 if test -n "$ac_config_commands"; then
89530 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
89533 cat >>$CONFIG_STATUS <<\_ACEOF
89535 ac_cs_usage="\
89536 \`$as_me' instantiates files from templates according to the
89537 current configuration.
89539 Usage: $0 [OPTIONS] [FILE]...
89541 -h, --help print this help, then exit
89542 -V, --version print version number, then exit
89543 -q, --quiet do not print progress messages
89544 -d, --debug don't remove temporary files
89545 --recheck update $as_me by reconfiguring in the same conditions
89546 --file=FILE[:TEMPLATE]
89547 instantiate the configuration file FILE
89548 --header=FILE[:TEMPLATE]
89549 instantiate the configuration header FILE
89551 Configuration files:
89552 $config_files
89554 Configuration headers:
89555 $config_headers
89557 Configuration commands:
89558 $config_commands
89560 Report bugs to <bug-autoconf@gnu.org>."
89561 _ACEOF
89563 cat >>$CONFIG_STATUS <<_ACEOF
89564 ac_cs_version="\\
89565 package-unused config.status version-unused
89566 configured by $0, generated by GNU Autoconf 2.59,
89567 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
89569 Copyright (C) 2003 Free Software Foundation, Inc.
89570 This config.status script is free software; the Free Software Foundation
89571 gives unlimited permission to copy, distribute and modify it."
89572 srcdir=$srcdir
89573 INSTALL="$INSTALL"
89574 _ACEOF
89576 cat >>$CONFIG_STATUS <<\_ACEOF
89577 # If no file are specified by the user, then we need to provide default
89578 # value. By we need to know if files were specified by the user.
89579 ac_need_defaults=:
89580 while test $# != 0
89582 case $1 in
89583 --*=*)
89584 ac_option=`expr "x$1" : 'x\([^=]*\)='`
89585 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
89586 ac_shift=:
89589 ac_option=$1
89590 ac_optarg=$2
89591 ac_shift=shift
89593 *) # This is not an option, so the user has probably given explicit
89594 # arguments.
89595 ac_option=$1
89596 ac_need_defaults=false;;
89597 esac
89599 case $ac_option in
89600 # Handling of the options.
89601 _ACEOF
89602 cat >>$CONFIG_STATUS <<\_ACEOF
89603 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
89604 ac_cs_recheck=: ;;
89605 --version | --vers* | -V )
89606 echo "$ac_cs_version"; exit 0 ;;
89607 --he | --h)
89608 # Conflict between --help and --header
89609 { { echo "$as_me:$LINENO: error: ambiguous option: $1
89610 Try \`$0 --help' for more information." >&5
89611 echo "$as_me: error: ambiguous option: $1
89612 Try \`$0 --help' for more information." >&2;}
89613 { (exit 1); exit 1; }; };;
89614 --help | --hel | -h )
89615 echo "$ac_cs_usage"; exit 0 ;;
89616 --debug | --d* | -d )
89617 debug=: ;;
89618 --file | --fil | --fi | --f )
89619 $ac_shift
89620 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
89621 ac_need_defaults=false;;
89622 --header | --heade | --head | --hea )
89623 $ac_shift
89624 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
89625 ac_need_defaults=false;;
89626 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
89627 | -silent | --silent | --silen | --sile | --sil | --si | --s)
89628 ac_cs_silent=: ;;
89630 # This is an error.
89631 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
89632 Try \`$0 --help' for more information." >&5
89633 echo "$as_me: error: unrecognized option: $1
89634 Try \`$0 --help' for more information." >&2;}
89635 { (exit 1); exit 1; }; } ;;
89637 *) ac_config_targets="$ac_config_targets $1" ;;
89639 esac
89640 shift
89641 done
89643 ac_configure_extra_args=
89645 if $ac_cs_silent; then
89646 exec 6>/dev/null
89647 ac_configure_extra_args="$ac_configure_extra_args --silent"
89650 _ACEOF
89651 cat >>$CONFIG_STATUS <<_ACEOF
89652 if \$ac_cs_recheck; then
89653 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
89654 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
89657 _ACEOF
89659 cat >>$CONFIG_STATUS <<_ACEOF
89661 # INIT-COMMANDS section.
89665 srcdir="$srcdir"
89666 host="$host"
89667 target="$target"
89668 with_multisubdir="$with_multisubdir"
89669 with_multisrctop="$with_multisrctop"
89670 with_target_subdir="$with_target_subdir"
89671 ac_configure_args="${multilib_arg} ${ac_configure_args}"
89672 multi_basedir="$multi_basedir"
89673 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
89674 CC="$CC"
89676 # Variables needed in config.status (file generation) which aren't already
89677 # passed by autoconf.
89678 SUBDIRS="$SUBDIRS"
89681 _ACEOF
89685 cat >>$CONFIG_STATUS <<\_ACEOF
89686 for ac_config_target in $ac_config_targets
89688 case "$ac_config_target" in
89689 # Handling of arguments.
89690 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
89691 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
89692 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
89693 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
89694 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
89695 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
89696 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
89697 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
89698 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
89699 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
89700 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
89701 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
89702 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
89703 { (exit 1); exit 1; }; };;
89704 esac
89705 done
89707 # If the user did not use the arguments to specify the items to instantiate,
89708 # then the envvar interface is used. Set only those that are not.
89709 # We use the long form for the default assignment because of an extremely
89710 # bizarre bug on SunOS 4.1.3.
89711 if $ac_need_defaults; then
89712 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
89713 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
89714 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
89717 # Have a temporary directory for convenience. Make it in the build tree
89718 # simply because there is no reason to put it here, and in addition,
89719 # creating and moving files from /tmp can sometimes cause problems.
89720 # Create a temporary directory, and hook for its removal unless debugging.
89721 $debug ||
89723 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
89724 trap '{ (exit 1); exit 1; }' 1 2 13 15
89727 # Create a (secure) tmp directory for tmp files.
89730 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
89731 test -n "$tmp" && test -d "$tmp"
89732 } ||
89734 tmp=./confstat$$-$RANDOM
89735 (umask 077 && mkdir $tmp)
89736 } ||
89738 echo "$me: cannot create a temporary directory in ." >&2
89739 { (exit 1); exit 1; }
89742 _ACEOF
89744 cat >>$CONFIG_STATUS <<_ACEOF
89747 # CONFIG_FILES section.
89750 # No need to generate the scripts if there are no CONFIG_FILES.
89751 # This happens for instance when ./config.status config.h
89752 if test -n "\$CONFIG_FILES"; then
89753 # Protect against being on the right side of a sed subst in config.status.
89754 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
89755 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
89756 s,@SHELL@,$SHELL,;t t
89757 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
89758 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
89759 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
89760 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
89761 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
89762 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
89763 s,@exec_prefix@,$exec_prefix,;t t
89764 s,@prefix@,$prefix,;t t
89765 s,@program_transform_name@,$program_transform_name,;t t
89766 s,@bindir@,$bindir,;t t
89767 s,@sbindir@,$sbindir,;t t
89768 s,@libexecdir@,$libexecdir,;t t
89769 s,@datadir@,$datadir,;t t
89770 s,@sysconfdir@,$sysconfdir,;t t
89771 s,@sharedstatedir@,$sharedstatedir,;t t
89772 s,@localstatedir@,$localstatedir,;t t
89773 s,@libdir@,$libdir,;t t
89774 s,@includedir@,$includedir,;t t
89775 s,@oldincludedir@,$oldincludedir,;t t
89776 s,@infodir@,$infodir,;t t
89777 s,@mandir@,$mandir,;t t
89778 s,@build_alias@,$build_alias,;t t
89779 s,@host_alias@,$host_alias,;t t
89780 s,@target_alias@,$target_alias,;t t
89781 s,@DEFS@,$DEFS,;t t
89782 s,@ECHO_C@,$ECHO_C,;t t
89783 s,@ECHO_N@,$ECHO_N,;t t
89784 s,@ECHO_T@,$ECHO_T,;t t
89785 s,@LIBS@,$LIBS,;t t
89786 s,@libtool_VERSION@,$libtool_VERSION,;t t
89787 s,@multi_basedir@,$multi_basedir,;t t
89788 s,@build@,$build,;t t
89789 s,@build_cpu@,$build_cpu,;t t
89790 s,@build_vendor@,$build_vendor,;t t
89791 s,@build_os@,$build_os,;t t
89792 s,@host@,$host,;t t
89793 s,@host_cpu@,$host_cpu,;t t
89794 s,@host_vendor@,$host_vendor,;t t
89795 s,@host_os@,$host_os,;t t
89796 s,@target@,$target,;t t
89797 s,@target_cpu@,$target_cpu,;t t
89798 s,@target_vendor@,$target_vendor,;t t
89799 s,@target_os@,$target_os,;t t
89800 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
89801 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
89802 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
89803 s,@CYGPATH_W@,$CYGPATH_W,;t t
89804 s,@PACKAGE@,$PACKAGE,;t t
89805 s,@VERSION@,$VERSION,;t t
89806 s,@ACLOCAL@,$ACLOCAL,;t t
89807 s,@AUTOCONF@,$AUTOCONF,;t t
89808 s,@AUTOMAKE@,$AUTOMAKE,;t t
89809 s,@AUTOHEADER@,$AUTOHEADER,;t t
89810 s,@MAKEINFO@,$MAKEINFO,;t t
89811 s,@install_sh@,$install_sh,;t t
89812 s,@STRIP@,$STRIP,;t t
89813 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
89814 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
89815 s,@mkdir_p@,$mkdir_p,;t t
89816 s,@AWK@,$AWK,;t t
89817 s,@SET_MAKE@,$SET_MAKE,;t t
89818 s,@am__leading_dot@,$am__leading_dot,;t t
89819 s,@AMTAR@,$AMTAR,;t t
89820 s,@am__tar@,$am__tar,;t t
89821 s,@am__untar@,$am__untar,;t t
89822 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
89823 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
89824 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
89825 s,@CC@,$CC,;t t
89826 s,@ac_ct_CC@,$ac_ct_CC,;t t
89827 s,@EXEEXT@,$EXEEXT,;t t
89828 s,@OBJEXT@,$OBJEXT,;t t
89829 s,@CXX@,$CXX,;t t
89830 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
89831 s,@CFLAGS@,$CFLAGS,;t t
89832 s,@CXXFLAGS@,$CXXFLAGS,;t t
89833 s,@LN_S@,$LN_S,;t t
89834 s,@AS@,$AS,;t t
89835 s,@ac_ct_AS@,$ac_ct_AS,;t t
89836 s,@AR@,$AR,;t t
89837 s,@ac_ct_AR@,$ac_ct_AR,;t t
89838 s,@RANLIB@,$RANLIB,;t t
89839 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
89840 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
89841 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
89842 s,@MAINT@,$MAINT,;t t
89843 s,@LIBTOOL@,$LIBTOOL,;t t
89844 s,@CXXCPP@,$CXXCPP,;t t
89845 s,@CPPFLAGS@,$CPPFLAGS,;t t
89846 s,@enable_shared@,$enable_shared,;t t
89847 s,@enable_static@,$enable_static,;t t
89848 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
89849 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
89850 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
89851 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
89852 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
89853 s,@CSTDIO_H@,$CSTDIO_H,;t t
89854 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
89855 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
89856 s,@CPP@,$CPP,;t t
89857 s,@EGREP@,$EGREP,;t t
89858 s,@check_msgfmt@,$check_msgfmt,;t t
89859 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
89860 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
89861 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
89862 s,@USE_NLS@,$USE_NLS,;t t
89863 s,@CLOCALE_H@,$CLOCALE_H,;t t
89864 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
89865 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
89866 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
89867 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
89868 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
89869 s,@CMONEY_CC@,$CMONEY_CC,;t t
89870 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
89871 s,@CTIME_H@,$CTIME_H,;t t
89872 s,@CTIME_CC@,$CTIME_CC,;t t
89873 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
89874 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
89875 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
89876 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
89877 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
89878 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
89879 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
89880 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
89881 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
89882 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
89883 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
89884 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
89885 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
89886 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
89887 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
89888 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
89889 s,@WERROR@,$WERROR,;t t
89890 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
89891 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
89892 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
89893 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
89894 s,@LIBICONV@,$LIBICONV,;t t
89895 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
89896 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
89897 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
89898 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
89899 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
89900 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
89901 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
89902 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
89903 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
89904 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
89905 s,@baseline_dir@,$baseline_dir,;t t
89906 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
89907 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
89908 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
89909 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
89910 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
89911 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
89912 s,@gxx_include_dir@,$gxx_include_dir,;t t
89913 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
89914 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
89915 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
89916 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
89917 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
89918 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
89919 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
89920 s,@LIBOBJS@,$LIBOBJS,;t t
89921 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
89922 CEOF
89924 _ACEOF
89926 cat >>$CONFIG_STATUS <<\_ACEOF
89927 # Split the substitutions into bite-sized pieces for seds with
89928 # small command number limits, like on Digital OSF/1 and HP-UX.
89929 ac_max_sed_lines=48
89930 ac_sed_frag=1 # Number of current file.
89931 ac_beg=1 # First line for current file.
89932 ac_end=$ac_max_sed_lines # Line after last line for current file.
89933 ac_more_lines=:
89934 ac_sed_cmds=
89935 while $ac_more_lines; do
89936 if test $ac_beg -gt 1; then
89937 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89938 else
89939 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89941 if test ! -s $tmp/subs.frag; then
89942 ac_more_lines=false
89943 else
89944 # The purpose of the label and of the branching condition is to
89945 # speed up the sed processing (if there are no `@' at all, there
89946 # is no need to browse any of the substitutions).
89947 # These are the two extra sed commands mentioned above.
89948 (echo ':t
89949 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
89950 if test -z "$ac_sed_cmds"; then
89951 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
89952 else
89953 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
89955 ac_sed_frag=`expr $ac_sed_frag + 1`
89956 ac_beg=$ac_end
89957 ac_end=`expr $ac_end + $ac_max_sed_lines`
89959 done
89960 if test -z "$ac_sed_cmds"; then
89961 ac_sed_cmds=cat
89963 fi # test -n "$CONFIG_FILES"
89965 _ACEOF
89966 cat >>$CONFIG_STATUS <<\_ACEOF
89967 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
89968 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89969 case $ac_file in
89970 - | *:- | *:-:* ) # input from stdin
89971 cat >$tmp/stdin
89972 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89973 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89974 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89975 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89976 * ) ac_file_in=$ac_file.in ;;
89977 esac
89979 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
89980 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89981 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89982 X"$ac_file" : 'X\(//\)[^/]' \| \
89983 X"$ac_file" : 'X\(//\)$' \| \
89984 X"$ac_file" : 'X\(/\)' \| \
89985 . : '\(.\)' 2>/dev/null ||
89986 echo X"$ac_file" |
89987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89988 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89989 /^X\(\/\/\)$/{ s//\1/; q; }
89990 /^X\(\/\).*/{ s//\1/; q; }
89991 s/.*/./; q'`
89992 { if $as_mkdir_p; then
89993 mkdir -p "$ac_dir"
89994 else
89995 as_dir="$ac_dir"
89996 as_dirs=
89997 while test ! -d "$as_dir"; do
89998 as_dirs="$as_dir $as_dirs"
89999 as_dir=`(dirname "$as_dir") 2>/dev/null ||
90000 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90001 X"$as_dir" : 'X\(//\)[^/]' \| \
90002 X"$as_dir" : 'X\(//\)$' \| \
90003 X"$as_dir" : 'X\(/\)' \| \
90004 . : '\(.\)' 2>/dev/null ||
90005 echo X"$as_dir" |
90006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90007 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90008 /^X\(\/\/\)$/{ s//\1/; q; }
90009 /^X\(\/\).*/{ s//\1/; q; }
90010 s/.*/./; q'`
90011 done
90012 test ! -n "$as_dirs" || mkdir $as_dirs
90013 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90014 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90015 { (exit 1); exit 1; }; }; }
90017 ac_builddir=.
90019 if test "$ac_dir" != .; then
90020 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90021 # A "../" for each directory in $ac_dir_suffix.
90022 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90023 else
90024 ac_dir_suffix= ac_top_builddir=
90027 case $srcdir in
90028 .) # No --srcdir option. We are building in place.
90029 ac_srcdir=.
90030 if test -z "$ac_top_builddir"; then
90031 ac_top_srcdir=.
90032 else
90033 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90034 fi ;;
90035 [\\/]* | ?:[\\/]* ) # Absolute path.
90036 ac_srcdir=$srcdir$ac_dir_suffix;
90037 ac_top_srcdir=$srcdir ;;
90038 *) # Relative path.
90039 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90040 ac_top_srcdir=$ac_top_builddir$srcdir ;;
90041 esac
90043 # Do not use `cd foo && pwd` to compute absolute paths, because
90044 # the directories may not exist.
90045 case `pwd` in
90046 .) ac_abs_builddir="$ac_dir";;
90048 case "$ac_dir" in
90049 .) ac_abs_builddir=`pwd`;;
90050 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90051 *) ac_abs_builddir=`pwd`/"$ac_dir";;
90052 esac;;
90053 esac
90054 case $ac_abs_builddir in
90055 .) ac_abs_top_builddir=${ac_top_builddir}.;;
90057 case ${ac_top_builddir}. in
90058 .) ac_abs_top_builddir=$ac_abs_builddir;;
90059 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90060 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90061 esac;;
90062 esac
90063 case $ac_abs_builddir in
90064 .) ac_abs_srcdir=$ac_srcdir;;
90066 case $ac_srcdir in
90067 .) ac_abs_srcdir=$ac_abs_builddir;;
90068 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90069 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90070 esac;;
90071 esac
90072 case $ac_abs_builddir in
90073 .) ac_abs_top_srcdir=$ac_top_srcdir;;
90075 case $ac_top_srcdir in
90076 .) ac_abs_top_srcdir=$ac_abs_builddir;;
90077 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90078 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90079 esac;;
90080 esac
90083 case $INSTALL in
90084 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
90085 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
90086 esac
90088 if test x"$ac_file" != x-; then
90089 { echo "$as_me:$LINENO: creating $ac_file" >&5
90090 echo "$as_me: creating $ac_file" >&6;}
90091 rm -f "$ac_file"
90093 # Let's still pretend it is `configure' which instantiates (i.e., don't
90094 # use $as_me), people would be surprised to read:
90095 # /* config.h. Generated by config.status. */
90096 if test x"$ac_file" = x-; then
90097 configure_input=
90098 else
90099 configure_input="$ac_file. "
90101 configure_input=$configure_input"Generated from `echo $ac_file_in |
90102 sed 's,.*/,,'` by configure."
90104 # First look for the input files in the build tree, otherwise in the
90105 # src tree.
90106 ac_file_inputs=`IFS=:
90107 for f in $ac_file_in; do
90108 case $f in
90109 -) echo $tmp/stdin ;;
90110 [\\/$]*)
90111 # Absolute (can't be DOS-style, as IFS=:)
90112 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
90113 echo "$as_me: error: cannot find input file: $f" >&2;}
90114 { (exit 1); exit 1; }; }
90115 echo "$f";;
90116 *) # Relative
90117 if test -f "$f"; then
90118 # Build tree
90119 echo "$f"
90120 elif test -f "$srcdir/$f"; then
90121 # Source tree
90122 echo "$srcdir/$f"
90123 else
90124 # /dev/null tree
90125 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
90126 echo "$as_me: error: cannot find input file: $f" >&2;}
90127 { (exit 1); exit 1; }; }
90128 fi;;
90129 esac
90130 done` || { (exit 1); exit 1; }
90131 _ACEOF
90132 cat >>$CONFIG_STATUS <<_ACEOF
90133 sed "$ac_vpsub
90134 $extrasub
90135 _ACEOF
90136 cat >>$CONFIG_STATUS <<\_ACEOF
90138 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
90139 s,@configure_input@,$configure_input,;t t
90140 s,@srcdir@,$ac_srcdir,;t t
90141 s,@abs_srcdir@,$ac_abs_srcdir,;t t
90142 s,@top_srcdir@,$ac_top_srcdir,;t t
90143 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
90144 s,@builddir@,$ac_builddir,;t t
90145 s,@abs_builddir@,$ac_abs_builddir,;t t
90146 s,@top_builddir@,$ac_top_builddir,;t t
90147 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
90148 s,@INSTALL@,$ac_INSTALL,;t t
90149 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
90150 rm -f $tmp/stdin
90151 if test x"$ac_file" != x-; then
90152 mv $tmp/out $ac_file
90153 else
90154 cat $tmp/out
90155 rm -f $tmp/out
90158 # Run the commands associated with the file.
90159 case $ac_file in
90160 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
90161 esac
90162 done
90163 _ACEOF
90164 cat >>$CONFIG_STATUS <<\_ACEOF
90167 # CONFIG_HEADER section.
90170 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
90171 # NAME is the cpp macro being defined and VALUE is the value it is being given.
90173 # ac_d sets the value in "#define NAME VALUE" lines.
90174 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
90175 ac_dB='[ ].*$,\1#\2'
90176 ac_dC=' '
90177 ac_dD=',;t'
90178 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
90179 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
90180 ac_uB='$,\1#\2define\3'
90181 ac_uC=' '
90182 ac_uD=',;t'
90184 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
90185 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
90186 case $ac_file in
90187 - | *:- | *:-:* ) # input from stdin
90188 cat >$tmp/stdin
90189 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
90190 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
90191 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
90192 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
90193 * ) ac_file_in=$ac_file.in ;;
90194 esac
90196 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
90197 echo "$as_me: creating $ac_file" >&6;}
90199 # First look for the input files in the build tree, otherwise in the
90200 # src tree.
90201 ac_file_inputs=`IFS=:
90202 for f in $ac_file_in; do
90203 case $f in
90204 -) echo $tmp/stdin ;;
90205 [\\/$]*)
90206 # Absolute (can't be DOS-style, as IFS=:)
90207 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
90208 echo "$as_me: error: cannot find input file: $f" >&2;}
90209 { (exit 1); exit 1; }; }
90210 # Do quote $f, to prevent DOS paths from being IFS'd.
90211 echo "$f";;
90212 *) # Relative
90213 if test -f "$f"; then
90214 # Build tree
90215 echo "$f"
90216 elif test -f "$srcdir/$f"; then
90217 # Source tree
90218 echo "$srcdir/$f"
90219 else
90220 # /dev/null tree
90221 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
90222 echo "$as_me: error: cannot find input file: $f" >&2;}
90223 { (exit 1); exit 1; }; }
90224 fi;;
90225 esac
90226 done` || { (exit 1); exit 1; }
90227 # Remove the trailing spaces.
90228 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
90230 _ACEOF
90232 # Transform confdefs.h into two sed scripts, `conftest.defines' and
90233 # `conftest.undefs', that substitutes the proper values into
90234 # config.h.in to produce config.h. The first handles `#define'
90235 # templates, and the second `#undef' templates.
90236 # And first: Protect against being on the right side of a sed subst in
90237 # config.status. Protect against being in an unquoted here document
90238 # in config.status.
90239 rm -f conftest.defines conftest.undefs
90240 # Using a here document instead of a string reduces the quoting nightmare.
90241 # Putting comments in sed scripts is not portable.
90243 # `end' is used to avoid that the second main sed command (meant for
90244 # 0-ary CPP macros) applies to n-ary macro definitions.
90245 # See the Autoconf documentation for `clear'.
90246 cat >confdef2sed.sed <<\_ACEOF
90247 s/[\\&,]/\\&/g
90248 s,[\\$`],\\&,g
90249 t clear
90250 : clear
90251 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
90252 t end
90253 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
90254 : end
90255 _ACEOF
90256 # If some macros were called several times there might be several times
90257 # the same #defines, which is useless. Nevertheless, we may not want to
90258 # sort them, since we want the *last* AC-DEFINE to be honored.
90259 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
90260 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
90261 rm -f confdef2sed.sed
90263 # This sed command replaces #undef with comments. This is necessary, for
90264 # example, in the case of _POSIX_SOURCE, which is predefined and required
90265 # on some systems where configure will not decide to define it.
90266 cat >>conftest.undefs <<\_ACEOF
90267 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
90268 _ACEOF
90270 # Break up conftest.defines because some shells have a limit on the size
90271 # of here documents, and old seds have small limits too (100 cmds).
90272 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
90273 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
90274 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
90275 echo ' :' >>$CONFIG_STATUS
90276 rm -f conftest.tail
90277 while grep . conftest.defines >/dev/null
90279 # Write a limited-size here document to $tmp/defines.sed.
90280 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
90281 # Speed up: don't consider the non `#define' lines.
90282 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
90283 # Work around the forget-to-reset-the-flag bug.
90284 echo 't clr' >>$CONFIG_STATUS
90285 echo ': clr' >>$CONFIG_STATUS
90286 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
90287 echo 'CEOF
90288 sed -f $tmp/defines.sed $tmp/in >$tmp/out
90289 rm -f $tmp/in
90290 mv $tmp/out $tmp/in
90291 ' >>$CONFIG_STATUS
90292 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
90293 rm -f conftest.defines
90294 mv conftest.tail conftest.defines
90295 done
90296 rm -f conftest.defines
90297 echo ' fi # grep' >>$CONFIG_STATUS
90298 echo >>$CONFIG_STATUS
90300 # Break up conftest.undefs because some shells have a limit on the size
90301 # of here documents, and old seds have small limits too (100 cmds).
90302 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
90303 rm -f conftest.tail
90304 while grep . conftest.undefs >/dev/null
90306 # Write a limited-size here document to $tmp/undefs.sed.
90307 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
90308 # Speed up: don't consider the non `#undef'
90309 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
90310 # Work around the forget-to-reset-the-flag bug.
90311 echo 't clr' >>$CONFIG_STATUS
90312 echo ': clr' >>$CONFIG_STATUS
90313 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
90314 echo 'CEOF
90315 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
90316 rm -f $tmp/in
90317 mv $tmp/out $tmp/in
90318 ' >>$CONFIG_STATUS
90319 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
90320 rm -f conftest.undefs
90321 mv conftest.tail conftest.undefs
90322 done
90323 rm -f conftest.undefs
90325 cat >>$CONFIG_STATUS <<\_ACEOF
90326 # Let's still pretend it is `configure' which instantiates (i.e., don't
90327 # use $as_me), people would be surprised to read:
90328 # /* config.h. Generated by config.status. */
90329 if test x"$ac_file" = x-; then
90330 echo "/* Generated by configure. */" >$tmp/config.h
90331 else
90332 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
90334 cat $tmp/in >>$tmp/config.h
90335 rm -f $tmp/in
90336 if test x"$ac_file" != x-; then
90337 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
90338 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
90339 echo "$as_me: $ac_file is unchanged" >&6;}
90340 else
90341 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
90342 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90343 X"$ac_file" : 'X\(//\)[^/]' \| \
90344 X"$ac_file" : 'X\(//\)$' \| \
90345 X"$ac_file" : 'X\(/\)' \| \
90346 . : '\(.\)' 2>/dev/null ||
90347 echo X"$ac_file" |
90348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90349 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90350 /^X\(\/\/\)$/{ s//\1/; q; }
90351 /^X\(\/\).*/{ s//\1/; q; }
90352 s/.*/./; q'`
90353 { if $as_mkdir_p; then
90354 mkdir -p "$ac_dir"
90355 else
90356 as_dir="$ac_dir"
90357 as_dirs=
90358 while test ! -d "$as_dir"; do
90359 as_dirs="$as_dir $as_dirs"
90360 as_dir=`(dirname "$as_dir") 2>/dev/null ||
90361 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90362 X"$as_dir" : 'X\(//\)[^/]' \| \
90363 X"$as_dir" : 'X\(//\)$' \| \
90364 X"$as_dir" : 'X\(/\)' \| \
90365 . : '\(.\)' 2>/dev/null ||
90366 echo X"$as_dir" |
90367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90368 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90369 /^X\(\/\/\)$/{ s//\1/; q; }
90370 /^X\(\/\).*/{ s//\1/; q; }
90371 s/.*/./; q'`
90372 done
90373 test ! -n "$as_dirs" || mkdir $as_dirs
90374 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90375 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90376 { (exit 1); exit 1; }; }; }
90378 rm -f $ac_file
90379 mv $tmp/config.h $ac_file
90381 else
90382 cat $tmp/config.h
90383 rm -f $tmp/config.h
90385 # Compute $ac_file's index in $config_headers.
90386 _am_stamp_count=1
90387 for _am_header in $config_headers :; do
90388 case $_am_header in
90389 $ac_file | $ac_file:* )
90390 break ;;
90392 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
90393 esac
90394 done
90395 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
90396 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90397 X$ac_file : 'X\(//\)[^/]' \| \
90398 X$ac_file : 'X\(//\)$' \| \
90399 X$ac_file : 'X\(/\)' \| \
90400 . : '\(.\)' 2>/dev/null ||
90401 echo X$ac_file |
90402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90404 /^X\(\/\/\)$/{ s//\1/; q; }
90405 /^X\(\/\).*/{ s//\1/; q; }
90406 s/.*/./; q'`/stamp-h$_am_stamp_count
90407 done
90408 _ACEOF
90409 cat >>$CONFIG_STATUS <<\_ACEOF
90412 # CONFIG_COMMANDS section.
90414 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
90415 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
90416 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
90417 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
90418 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90419 X"$ac_dest" : 'X\(//\)[^/]' \| \
90420 X"$ac_dest" : 'X\(//\)$' \| \
90421 X"$ac_dest" : 'X\(/\)' \| \
90422 . : '\(.\)' 2>/dev/null ||
90423 echo X"$ac_dest" |
90424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90425 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90426 /^X\(\/\/\)$/{ s//\1/; q; }
90427 /^X\(\/\).*/{ s//\1/; q; }
90428 s/.*/./; q'`
90429 { if $as_mkdir_p; then
90430 mkdir -p "$ac_dir"
90431 else
90432 as_dir="$ac_dir"
90433 as_dirs=
90434 while test ! -d "$as_dir"; do
90435 as_dirs="$as_dir $as_dirs"
90436 as_dir=`(dirname "$as_dir") 2>/dev/null ||
90437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90438 X"$as_dir" : 'X\(//\)[^/]' \| \
90439 X"$as_dir" : 'X\(//\)$' \| \
90440 X"$as_dir" : 'X\(/\)' \| \
90441 . : '\(.\)' 2>/dev/null ||
90442 echo X"$as_dir" |
90443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90444 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90445 /^X\(\/\/\)$/{ s//\1/; q; }
90446 /^X\(\/\).*/{ s//\1/; q; }
90447 s/.*/./; q'`
90448 done
90449 test ! -n "$as_dirs" || mkdir $as_dirs
90450 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90451 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90452 { (exit 1); exit 1; }; }; }
90454 ac_builddir=.
90456 if test "$ac_dir" != .; then
90457 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90458 # A "../" for each directory in $ac_dir_suffix.
90459 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90460 else
90461 ac_dir_suffix= ac_top_builddir=
90464 case $srcdir in
90465 .) # No --srcdir option. We are building in place.
90466 ac_srcdir=.
90467 if test -z "$ac_top_builddir"; then
90468 ac_top_srcdir=.
90469 else
90470 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90471 fi ;;
90472 [\\/]* | ?:[\\/]* ) # Absolute path.
90473 ac_srcdir=$srcdir$ac_dir_suffix;
90474 ac_top_srcdir=$srcdir ;;
90475 *) # Relative path.
90476 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90477 ac_top_srcdir=$ac_top_builddir$srcdir ;;
90478 esac
90480 # Do not use `cd foo && pwd` to compute absolute paths, because
90481 # the directories may not exist.
90482 case `pwd` in
90483 .) ac_abs_builddir="$ac_dir";;
90485 case "$ac_dir" in
90486 .) ac_abs_builddir=`pwd`;;
90487 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90488 *) ac_abs_builddir=`pwd`/"$ac_dir";;
90489 esac;;
90490 esac
90491 case $ac_abs_builddir in
90492 .) ac_abs_top_builddir=${ac_top_builddir}.;;
90494 case ${ac_top_builddir}. in
90495 .) ac_abs_top_builddir=$ac_abs_builddir;;
90496 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90497 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90498 esac;;
90499 esac
90500 case $ac_abs_builddir in
90501 .) ac_abs_srcdir=$ac_srcdir;;
90503 case $ac_srcdir in
90504 .) ac_abs_srcdir=$ac_abs_builddir;;
90505 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90506 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90507 esac;;
90508 esac
90509 case $ac_abs_builddir in
90510 .) ac_abs_top_srcdir=$ac_top_srcdir;;
90512 case $ac_top_srcdir in
90513 .) ac_abs_top_srcdir=$ac_abs_builddir;;
90514 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90515 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90516 esac;;
90517 esac
90520 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
90521 echo "$as_me: executing $ac_dest commands" >&6;}
90522 case $ac_dest in
90523 default-1 )
90524 # Only add multilib support code if we just rebuilt the top-level
90525 # Makefile.
90526 case " $CONFIG_FILES " in
90527 *" Makefile "*)
90528 ac_file=Makefile . ${multi_basedir}/config-ml.in
90530 esac ;;
90531 default ) if test -n "$CONFIG_FILES"; then
90532 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
90533 # that multilib installs will end up installed in the correct place.
90534 # The testsuite needs it for multilib-aware ABI baseline files.
90535 # To work around this not being passed down from config-ml.in ->
90536 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
90537 # append it here. Only modify Makefiles that have just been created.
90539 # Also, get rid of this simulated-VPATH thing that automake does.
90540 cat > vpsed << \_EOF
90541 s!`test -f '$<' || echo '$(srcdir)/'`!!
90542 _EOF
90543 for i in $SUBDIRS; do
90544 case $CONFIG_FILES in
90545 *${i}/Makefile*)
90546 #echo "Adding MULTISUBDIR to $i/Makefile"
90547 sed -f vpsed $i/Makefile > tmp
90548 grep '^MULTISUBDIR =' Makefile >> tmp
90549 mv tmp $i/Makefile
90551 esac
90552 done
90553 rm vpsed
90555 (cd include && ${MAKE-make})
90557 esac
90558 done
90559 _ACEOF
90561 cat >>$CONFIG_STATUS <<\_ACEOF
90563 { (exit 0); exit 0; }
90564 _ACEOF
90565 chmod +x $CONFIG_STATUS
90566 ac_clean_files=$ac_clean_files_save
90569 # configure is writing to config.log, and then calls config.status.
90570 # config.status does its own redirection, appending to config.log.
90571 # Unfortunately, on DOS this fails, as config.log is still kept open
90572 # by configure, so config.status won't be able to write to it; its
90573 # output is simply discarded. So we exec the FD to /dev/null,
90574 # effectively closing config.log, so it can be properly (re)opened and
90575 # appended to by config.status. When coming back to configure, we
90576 # need to make the FD available again.
90577 if test "$no_create" != yes; then
90578 ac_cs_success=:
90579 ac_config_status_args=
90580 test "$silent" = yes &&
90581 ac_config_status_args="$ac_config_status_args --quiet"
90582 exec 5>/dev/null
90583 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
90584 exec 5>>config.log
90585 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
90586 # would make configure fail if this is the last instruction.
90587 $ac_cs_success || { (exit 1); exit 1; }